Henok
Love wins when it is more of a commitment than it is feelings.
Feelings are transient, fickle, fleeting and more often cant be a reason relationships last longer.
*at least not alone
*at least not alone
👎6❤🔥4🔥2
Henok
Feelings are transient, fickle, fleeting and more often cant be a reason relationships last longer. *at least not alone
And im going to disable that dislike emoji... not because i want to be right all the time but because it is clearly out of naivety or hate that you guys are disliking, have some brain.
🤣9💯6❤1
Advent of Code 2025 - Day 1 Complete
Just finished Day 1. The puzzle was about a safe with a dial. The dial has numbers 0 to 99 and starts at 50. We get instructions like "L68" (turn left 68 clicks) or "R48" (turn right 48 clicks).
Part 1
Part 2
The rem_euclid() (in rust) function helps with the wrap-around (0 → 99 when going left). Had to be careful with counting when starting at 0 or ending at 0.
Good first day. Part 1 was easy. Part 2 made me think about the difference between "during" and "after". The puzzle had a little joke: "method 0x434C49434B" is hex for "CLICK" :)
Ready for Day 2.
#AdventOfCode #AoC2025 #RustLang
Just finished Day 1. The puzzle was about a safe with a dial. The dial has numbers 0 to 99 and starts at 50. We get instructions like "L68" (turn left 68 clicks) or "R48" (turn right 48 clicks).
Part 1
Count how many times the dial is pointing at 0 after finishing each move. Simple: track position, check if it's 0, count.
My answer: 964.
Part 2
Here it got more interesting. We need to count every time the dial shows 0 during the whole move, not just at the end.
Example: If you turn right 1000 clicks from position 50, you pass through 0 ten times while turning.
For right turns, I calculated how many multiples of 100 we cross (each time we cross, we hit 0). For left turns, I simulated each click because the math with negative numbers and wrapping was messy.
The rem_euclid() (in rust) function helps with the wrap-around (0 → 99 when going left). Had to be careful with counting when starting at 0 or ending at 0.
Good first day. Part 1 was easy. Part 2 made me think about the difference between "during" and "after". The puzzle had a little joke: "method 0x434C49434B" is hex for "CLICK" :)
Ready for Day 2.
#AdventOfCode #AoC2025 #RustLang
🔥5
Henok
Advent of Code 2025 - Day 1 Complete Just finished Day 1. The puzzle was about a safe with a dial. The dial has numbers 0 to 99 and starts at 50. We get instructions like "L68" (turn left 68 clicks) or "R48" (turn right 48 clicks). Part 1 Count how many…
GitHub
GitHub - HenokNets/Advent-Of-Code-2025
Contribute to HenokNets/Advent-Of-Code-2025 development by creating an account on GitHub.
🔥4
Henok
I'll drop the repo when im done with it
This is basic calculator. The four arithmetic operators, precedence and unary operations work. I was going to add trig functions and factorial... but i cant still wrap my head around AST ( will complete the project another time). It was just a learning project tho.
GitHub
GitHub - HenokNets/SCI-CALCULATOR
Contribute to HenokNets/SCI-CALCULATOR development by creating an account on GitHub.
🔥3⚡1
You know how bees make their honeycomb with all those perfect six sided shapes? For thousands of years, smart mathematicians actually argued about why! They called it the Honeycomb Conjecture (a fancy name for a really old mystery).
It turns out, the hexagon is the absolute best shape for saving material while holding the most stuff. Think of it like this: for the least amount of wax (the walls of the cell), the bees get the biggest possible space inside to store their honey.
Its the same smart idea you see in nature with bubbles or water drops, which are round. A sphere is the best shape to hold the most liquid with the least amount of skin.
So, these tiny bees, without any math classes, somehow figured out a super clever trick that took humans ages to understand. Pretty amazing, right? It just shows that sometimes, the simplest things in nature are the smartest.
#HoneycombConjecture
It turns out, the hexagon is the absolute best shape for saving material while holding the most stuff. Think of it like this: for the least amount of wax (the walls of the cell), the bees get the biggest possible space inside to store their honey.
Its the same smart idea you see in nature with bubbles or water drops, which are round. A sphere is the best shape to hold the most liquid with the least amount of skin.
So, these tiny bees, without any math classes, somehow figured out a super clever trick that took humans ages to understand. Pretty amazing, right? It just shows that sometimes, the simplest things in nature are the smartest.
#HoneycombConjecture
❤9👀3
Henok
Repo: https://github.com/HenokNets/Advent-Of-Code-2025
Day 2 done, solutions are added to the repo
🔥3
Henok
Advent of Code 2025 - Day 1 Complete Just finished Day 1. The puzzle was about a safe with a dial. The dial has numbers 0 to 99 and starts at 50. We get instructions like "L68" (turn left 68 clicks) or "R48" (turn right 48 clicks). Part 1 Count how many…
Advent of Code 2025 – Day 2 Summary
The puzzle involved identifying invalid product IDs in a series of numerical ranges. Invalid IDs are defined as numbers formed by repeating a block of digits.
Part 1
Part 2
#AdventOfCode #AoC2025 #RustLang
The puzzle involved identifying invalid product IDs in a series of numerical ranges. Invalid IDs are defined as numbers formed by repeating a block of digits.
Part 1
An ID is invalid if a block repeats exactly twice. Examples include 11, 6464, and 123123. Instead of iterating over every number, I generated candidate IDs using a repeated-block formula and verified whether they fell within the specified ranges.
Part 2
The criteria expanded: an ID is now invalid if a block repeats two or more times. Examples include 12341234, 123123123, and 1111111. I checked all numbers in the ranges against possible block lengths to identify invalid IDs.
#AdventOfCode #AoC2025 #RustLang
🔥2
No AoC. No coding. No reading. No nothing
My pc just drowned in water💔
My pc just drowned in water💔
😭24👀6
Henok
No AoC. No coding. No reading. No nothing My pc just drowned in water💔
10 liters of water btw🙂
👀8😭2