49pctber's Avatar

49pctber

@49pctber

practically random guessing

46
Followers
237
Following
116
Posts
26.03.2024
Joined
Posts Following

Latest posts by 49pctber @49pctber

I have only used Rust for a few hours maybe a year ago, but I really like how you can put unit tests directly in each file with `#[cfg(test)]`. This is especially handy during #AdventOfCode for the example inputs.

03.12.2025 19:21 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

My first internship in college involved programming a microcontroller using VBA. Why that even exists, I'm not sure...I wish I could see what I had written now. It was probably horrible.

03.12.2025 17:42 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Which kind of algorithm did you use?

03.12.2025 17:39 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

New "language" each day? (Quotes for Excel)

03.12.2025 04:41 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

For #AdventOfCode Day 2, were you Team String Manipulation or Team Immediately Convert To Integer?

03.12.2025 04:37 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Yeah, these puzzles are harder than the typical first few days imo

03.12.2025 04:35 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Is "low-allocation" a general term for reducing system calls to allocate memory, or is that a C# specific term?

03.12.2025 04:34 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

How did you implement it?

03.12.2025 04:31 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

How do you like typer? How does it compare to argparse?

03.12.2025 04:30 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Amazing.

03.12.2025 04:27 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I got a 404 from your repo :(

03.12.2025 04:26 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

What sort of runtime did you get operating on strings directly?

03.12.2025 04:25 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I would be surprised if strong manipulation would be faster, but let me know if you find out otherwise!

03.12.2025 04:18 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

I appreciate how flexible the puzzles are to experiment with new languages, techniques, algorithms, etc.

03.12.2025 04:15 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

What sort of runtime did you get using the hash set? I generated every possible invalid id, sorted the list, and ignored identical adjacent numbers. I would like to try a hash set to compare

03.12.2025 04:13 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Any tips for learning functional programming? I am curious to learn a functional language, but I haven't really had a reason to yet

03.12.2025 04:09 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

How do you measure runtime?

03.12.2025 03:54 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

It's time for #AdventOfCode! This year I'm using #C #neovim #makefile. I'm going to focus on performance, using #SIMD instructions where possible on a #RaspberryPi

01.12.2025 07:13 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

A really aggressive butterfly net

15.05.2025 18:02 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
sys.getsizeof(0) returns 28.
sys.getsizeof(0.0) returns 24.

sys.getsizeof(0) returns 28. sys.getsizeof(0.0) returns 24.

A #Python int is (at minimum) 28 bytes. A Python float is 24.

11.04.2025 17:36 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

As I understand it, there is quite a variety of thought within the flat earth community. Some think the earth is semi-infinite, so there is just more earth with no other side. Some people think it's a flat disk with nothing but rock or dirt. Others think it's a snow globe with nothing outside.

25.02.2025 04:33 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

Oh, maybe I misunderstood. I would like seeing the diagram on the left if it weren't presented as a way to solve the problem, just as a way to illustrate what's happening on the right.

19.02.2025 22:05 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

My main concern is if x is negative, 2x will be to the left of x, and there isn't a way to know that a priori. So from a student's perspective, they'd be really confused half the time when trying to think in terms of the diagram.

19.02.2025 22:01 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

If I were a student learning this for the first time, I would find this incredibly confusing for 2x+4=-4. Start at -4, move left four to -8, then... right back to -4? Shouldn't I be at -16 or -12 or something? This assumes you know the relative sizes and positions of things, but you generally don't.

19.02.2025 21:46 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0

It absolutely blows my mind that my laptop can execute hundreds of *trillions* of cycles per day, and easily does many *quadrillions* per week. Numbers like that are huuuuge

19.02.2025 18:09 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

Which latch circuit would you use?

19.01.2025 04:35 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 1 ๐Ÿ“Œ 0
Video thumbnail

I couldn't find any good games for my password manager. So I made one.

1Crossword connects to your 1Password vault and generates a crossword entirely out of your passwords!

The crosswords are fun, simple, and great for sharing on social media when you finish. Enjoy!

15.01.2025 18:22 ๐Ÿ‘ 312 ๐Ÿ” 85 ๐Ÿ’ฌ 11 ๐Ÿ“Œ 13
Day 11 - Advent of Code 2016

I just completed "Radioisotope Thermoelectric Generators" - Day 11 - Advent of Code 2016 #AdventOfCode adventofcode.com/2016/day/11
This one is was tough for me. I'm not sure how to get my part 2 to under a second. Any ideas for pruning my search? I'm at about 45 seconds currently.

11.01.2025 19:10 ๐Ÿ‘ 1 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0
Preview
GitHub - NoelJacob/advent-and-other-calandars: Seasonal coding challenges like Advent of Code Seasonal coding challenges like Advent of Code. Contribute to NoelJacob/advent-and-other-calandars development by creating an account on GitHub.

I finished #AdventOfCode this year and loved it. Does anyone have any thoughts on other similar challenges, like those listed in the following GitHub repository? github.com/NoelJacob/ad...

28.12.2024 20:46 ๐Ÿ‘ 0 ๐Ÿ” 0 ๐Ÿ’ฌ 0 ๐Ÿ“Œ 0

It's been over 24 hours since #AdventOfCode 2024 ended!

This AoC season:
- 273,313 users collected at least one star
- 3,654,949 stars were collected

Since 2015:
- 779 users have all 500 stars
- 1,077,226 users collected at least one star
- 23,170,305 were collected

26.12.2024 22:21 ๐Ÿ‘ 273 ๐Ÿ” 20 ๐Ÿ’ฌ 17 ๐Ÿ“Œ 0