@firstname.lastname@example.org Sure thing. The address is on my website. 👌
It is a pleasure to work with the help system of Borland’s Turbo C++ 3.0 on DOS. The descriptions are clear and concise. There are short and simple examples. Pretty much every help page is cross-refenced and those links can be clicked.
Holidays up until next year, hm?
Exactly that. 🛌
That second photo is from our local pond. See all those tracks in the snow? Those are from the ducks and the other birds that stayed here.
This video is from a couple of days ago – just frozen, no snow yet:
@email@example.com If you can describe the problem, maybe I can help.
@firstname.lastname@example.org I can try to explain, if you want to know. 😅 Or maybe this guy’s visualization will help (if you can see it, not sure): https://old.reddit.com/r/adventofcode/comments/18af47j/2023_day_4_scratchcard_counting/
A couple centimeters of snow today. 😊 And I’ve got a loooooooong vacation coming up. Time to relax. 😃
This is my favorite time of the year – by far. Even if it means the snow will freeze in my beard. 😂
@email@example.com (Mild spoilers ahead.)
Today’s puzzle was one of those where I immediately knew that there must be a solution that does not require actually copying anything. AoC often has these kinds of problems that make it look like you have to create lots of duplicates, multiply objects, stuff like that. That’s often a sign that you can solve it by doing something simple. 😅 (If only that was true in real life as well. 😂)
A little “visualization” / “progress bar” of day 3 part 2:
Running in a DOS box under OS/2 Warp 4, including some of OS/2’s silly sound effects. 🤣
@firstname.lastname@example.org Yours is more clever and cleaner, I think. 🤔 You were able to reuse more code for the second part. I, instead, wrote a different search logic for part 2. 😅
Did I write too much code again? 😅
I don’t know. 😅 My solution is rather long as well:
Still happily runs on DOS.
@email@example.com Oof, it’s already getting a bit tricky. 😬
@firstname.lastname@example.org All I can say is: My client didn’t report any errors. :-) (Does that mean anything? 😅)
@email@example.com Ah, you went with the “scanning” approach as well. I did that, too.
It’s quite surprising to see (imho) how many people on reddit started substituting strings (
1 etc.). That makes the puzzle much harder by introducing nasty corner cases.
(Maybe I was just lucky this time to pick the correct approach right from the start. 🤣 Or maybe it’s a bit of experience from doing past AoC events …)
Here’s some more #AdventOfCode nostalgia:
It shows the machine’s boot sequence and the copy process: I somehow have to grab the files from my normal PC and I do that using FTP under Windows 3.11, there’s a PCI Ethernet card in that machine. Then some glorious WinZip action to decompress the files. 😃 Finally the first two AoC 2023 puzzles are being run.
(Yes, there’s a GRUB on that machine. 🥴 It’s a left-over from some experiments with Linux ages ago and I didn’t bother to uninstall it.)
@firstname.lastname@example.org That is a lot of code, yes. 😅 Mine is shorter, has more naive searching (it searches a word like
red and then backtracks to the number before it; completely ignoring the semi-colons because they don’t matter), and – like any good C program – will crash horribly on malformed input. 👌😂🥴
It really depends on what you’re after. I’d never write code like this in “real-world applications”. But for these puzzles and my DOS use case, it’s “good enough”. 😅
My immediate reaction to today’s puzzle was: “Ahhh, shit.” 😂 Parsing these input files in C is not a lot of fun. 🥴
@email@example.com It sure does! 😊 (Was the video big/large enough? I should probably capture in a higher resolution next time. 🤔)
@firstname.lastname@example.org The solutions will go here:
git clone https://uninformativ.de/git/advent-of-code.git
About demos … I made a video yesterday, but I’m not sure if it’s that interesting. 😅
I’d probably have to do some cool visualizations for the more interesting puzzles. 🤔 Not sure if I can pull that off, though. 😅 It’s probably going to be hard enough anyway. (I wonder how long I can get away with just conventional memory, i.e. only ~500 kB.) We’ll see.
@email@example.com Ah, right, kids and school. Yeah, oof, nothing you can do about that. 😐
@firstname.lastname@example.org It’s the perfect time of day for Aussies, isn’t it? People in the EU would have to get up around 6am. 🤣 I just happened to be awake anyway today.
@email@example.com I joined as
movq42rax. Don’t expect speedy results from me, because porting my solutions to DOS is my personal goal this year, intended to be runnable on that old Pentium. 😅
@firstname.lastname@example.org Argh! 🤢 I wish you guys a speedy recovery. (Any idea where you got it?)
@email@example.com Great timing. 😅
Yeah, it can be quite exhausting to do one puzzle per day. I guess taking some vacation is mandatory. 😂