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.
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.
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.
Which kind of algorithm did you use?
New "language" each day? (Quotes for Excel)
For #AdventOfCode Day 2, were you Team String Manipulation or Team Immediately Convert To Integer?
Yeah, these puzzles are harder than the typical first few days imo
Is "low-allocation" a general term for reducing system calls to allocate memory, or is that a C# specific term?
How did you implement it?
How do you like typer? How does it compare to argparse?
Amazing.
I got a 404 from your repo :(
What sort of runtime did you get operating on strings directly?
I would be surprised if strong manipulation would be faster, but let me know if you find out otherwise!
I appreciate how flexible the puzzles are to experiment with new languages, techniques, algorithms, etc.
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
Any tips for learning functional programming? I am curious to learn a functional language, but I haven't really had a reason to yet
How do you measure runtime?
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
A really aggressive butterfly net
sys.getsizeof(0) returns 28. sys.getsizeof(0.0) returns 24.
A #Python int is (at minimum) 28 bytes. A Python float is 24.
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.
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.
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.
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.
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
Which latch circuit would you use?
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!
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.
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...
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