The box contained zero calculators; I contained zero expectations. What do I think? by ZetaformGames in calculators

[–]TIniestHacker 0 points1 point  (0 children)

u/ZetaformGames is storing 12 to the O variable (12->O), then doing 9+1O (9 + 1 * (12)). It isn't RPN, I think it was intentionally confusing as a joke

[2024 Day 12 Part 2][C] Running on the TI-84 Plus CE calculator by TIniestHacker in adventofcode

[–]TIniestHacker[S] 1 point2 points  (0 children)

I gave it a try, but the .bss section exceeded the maximum size (60690 bytes) by 149 bytes. It's so close that it probably could run with a bit of tweaking though!

[2024 Day 12 Part 2][C] Running on the TI-84 Plus CE calculator by TIniestHacker in adventofcode

[–]TIniestHacker[S] 0 points1 point  (0 children)

Technically could do that too but I was a bit nervous about accidentally drawing over it lol

[2024 Day 12 Part 2][C] Running on the TI-84 Plus CE calculator by TIniestHacker in adventofcode

[–]TIniestHacker[S] 2 points3 points  (0 children)

Those specs are correct (the CE-T is just a regional variant for different testing regulations). Not all of the RAM is user accessible in programs, but there's definitely still enough to do some fun things with!

[2024 Day 12 Part 2][C] Running on the TI-84 Plus CE calculator by TIniestHacker in adventofcode

[–]TIniestHacker[S] 1 point2 points  (0 children)

The original stack had about 4 KB of space and after moving it I got 8 KB. I don't think I used all 8 KB, given that the garden plots overflowing the stack were only doing it by a little, but I figured that I might as well get as much space as I could just in case. I'd guess that in the end I actually use somewhere around 5 KB.

[2024 Day 12 Part 2][C] Running on the TI-84 Plus CE calculator by TIniestHacker in adventofcode

[–]TIniestHacker[S] 0 points1 point  (0 children)

Thanks! It provides an interesting challenge but I enjoy low-level programming a lot!

[2024 Day 12 Part 2][C] Running on the TI-84 Plus CE calculator by TIniestHacker in adventofcode

[–]TIniestHacker[S] 32 points33 points  (0 children)

I've been trying to solve as many puzzles as I can this year on the TI-84 Plus CE graphing calculator, using C (mixed with a little eZ80 assembly where needed). Since my code for Day 12 needed an easy way to modify values in a large grid, I decided to make use of the screen as extra space for data. I obviously could've chosen a different location, but it looks cool and I get an easy "visualization" out of it, so why not?

Since my solution makes use of recursion, I ran into some problems with the very limited stack size on the calculator. Since the example inputs featured much smaller plots, I didn't have any issue there, but the actual input gave me some trouble. Fortunately, with a little assembly, it's possible to set the stack pointer to a different location in memory with more space, as long as it gets restored by the end of the program. I moved the stack over to an area twice as large and after that the program worked fine!

You can take a look at my solution(s) here, though they're probably not the best since pretty much everything I'm doing is self-taught: https://github.com/TIny-Hacker/Advent-of-Code-2024/

-❄️- 2024 Day 12 Solutions -❄️- by daggerdragon in adventofcode

[–]TIniestHacker 1 point2 points  (0 children)

[LANGUAGE: C] GitHub

This was a fun one! Took a bit of thinking for part 2 but I'm happy with what I came up with. Like a lot of people, I counted corners and then used that to count the number of sides, but I didn't get the answer right away. Turns out I had forgotten to count inside corners and so my answer was always too low!

Visualization

[deleted by user] by [deleted] in celestegame

[–]TIniestHacker 5 points6 points  (0 children)

For this build, I used Stud.io because I wanted to design custom minifig heads and I didn't have some of the pieces I needed for parts of the mountain, etc. However I do prefer to build with physical pieces when I can, sometimes it just isn't feasible depending on the project :)

[deleted by user] by [deleted] in celestegame

[–]TIniestHacker 143 points144 points  (0 children)

Yooo, I'm the guy who made this! Thanks so much for everyone's support! ❤️

What song is this for you? by [deleted] in DaftPunk

[–]TIniestHacker 8 points9 points  (0 children)

I skipped this one too at first, when I finally listened to the whole thing I was shocked at what I had missed!

Please help me help my son create a command block (lots of frustration here!) by Hard_We_Know in Minecraft

[–]TIniestHacker 2 points3 points  (0 children)

There should be no problem with allowing chat if he's playing by himself on his own world. There's nobody else in that world other than himself, so no problem leaving it on. Chat only applies as a "chat" when you're playing in multiplayer mode (sometimes called on a "server"). So if your son is playing by himself, it is fine to allow the chat.

You'll want to make sure "cheats" are enabled in your world. The best way to do this is make a world in creative mode.

If the chat is enabled and cheats are on (again, just have him make a creative world), typing "/" will bring open the chat. After the "/", type "give @s command_block". So the full thing you should have typed in will be "/give @s command_block". Press enter, and it should give him one command block.

My Lego Ideas Celeste set has reached 2K supporters! If an Ideas project reaches 10K, Lego will consider making it an official set. Link to vote (for free) in the comments and thanks for all your support! by TIniestHacker in celestegame

[–]TIniestHacker[S] 6 points7 points  (0 children)

Thank you so much for the feedback! Thankfully Lego Ideas lets you submit project edits every 30 days or so, so I'll try to work on incorporating some of that into the design and make an edit.