movq

www.uninformativ.de

No description provided.

Recent twts from movq
In-reply-to » @prologic @xuu Don't think I can reply to the thread in twtwt. Right now Jenny is not working for some reason. I wonder if @movq has any ideas. Anyway I am happy to be back and will see if I can get jenny working. Though my following list is gone now. Plus I can't see when someone mentions me if I am not follwing them so I should work on that.

@jason@jasonsanta.xyz Sure thing. The address is on my website. 👌

⤋ Read More

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.

⤋ Read More
In-reply-to » Today's #AdventofCode #2023 was a bit of a whoozie 🤣 Not only did I have to work today (today being Monday et all), but also had to deal with a minor incident, then have dinner, etc and by the time I got back to my half-finished day 4 puzzle, I got a bit stuck with the 2nd part 🤦‍♂️ I guess I don't really like array manipulation, it's so easy to get lost 🤣

@prologic@twtxt.net Here you go: https://movq.de/v/dfb04df5c7/aoc2023-day4-part2.txt

⤋ Read More
In-reply-to » @prologic @xuu Don't think I can reply to the thread in twtwt. Right now Jenny is not working for some reason. I wonder if @movq has any ideas. Anyway I am happy to be back and will see if I can get jenny working. Though my following list is gone now. Plus I can't see when someone mentions me if I am not follwing them so I should work on that.

@jason@jasonsanta.xyz If you can describe the problem, maybe I can help.

⤋ Read More
In-reply-to » Today's #AdventofCode #2023 was a bit of a whoozie 🤣 Not only did I have to work today (today being Monday et all), but also had to deal with a minor incident, then have dinner, etc and by the time I got back to my half-finished day 4 puzzle, I got a bit stuck with the 2nd part 🤦‍♂️ I guess I don't really like array manipulation, it's so easy to get lost 🤣

@prologic@twtxt.net 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/

⤋ Read More

A couple centimeters of snow today. 😊 And I’ve got a loooooooong vacation coming up. Time to relax. 😃

Image

Image

This is my favorite time of the year – by far. Even if it means the snow will freeze in my beard. 😂

⤋ Read More
In-reply-to » Today's #AdventofCode #2023 was a bit of a whoozie 🤣 Not only did I have to work today (today being Monday et all), but also had to deal with a minor incident, then have dinner, etc and by the time I got back to my half-finished day 4 puzzle, I got a bit stuck with the 2nd part 🤦‍♂️ I guess I don't really like array manipulation, it's so easy to get lost 🤣

@prologic@twtxt.net (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. 😂)

⤋ Read More
In-reply-to » I rotated June to September into their own archive feeds. I hope I didn't mess up. There's still one or the other manual step involved. I should write a few tests and automate it fully. It might also be a good idea to write a validator program which can check all the feeds for consistency.

@lyse@lyse.isobeef.org All I can say is: My client didn’t report any errors. :-) (Does that mean anything? 😅)

⤋ Read More
In-reply-to » Day 2, Part 1 and Day 2, Part 2 of #AdvenOfCode all done and dusted 😅

@xuu@txt.sour.is 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 (one becomes 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 …)

⤋ Read More

Here’s some more #AdventOfCode nostalgia:

https://movq.de/v/6441f2fe2a/MVI_6760.MOV.mp4

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.)

⤋ Read More
In-reply-to » ~22h to go for the 3rd #AdventOfCode puzzle (Day 3) 😅

@prologic@twtxt.net 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. 👌😂🥴

https://www.uninformativ.de/git/advent-of-code/file/2023/day02/s.c.html

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”. 😅

⤋ Read More
In-reply-to » 👋 Hey you Twtxters/Yarners 👋 Let's get a Advent of Code leaderboard going!

@prologic@twtxt.net 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. 😅

https://movq.de/v/de32f1481f/MVI_6756.MOV.mp4

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.

⤋ Read More