Henok – Telegram
Henok
1.59K subscribers
828 photos
122 videos
165 files
167 links
Henok here. Just a messy collection of interesting things to improve or make your life worse! Reach me at @StoicallyAwake.
Download Telegram
Henok
I'm going to read these two books before this year ends and write a good review. I have been planning to read them like since forever, and its time
Man what a ride. Honestly I didnt think a book about a bunch of guys chasing a whale could be this epic.

Yes its long and yeah Melville really loves his chapters on the anatomy of a whale and the different ways to render oil. You'll definitely want to skim those parts. But when you hit the narrative sections especially anything involving Captain Ahab its electric.

Ahab isnt just a captain hes a magnificent terrifying obsession walking around on a wooden leg. His fury toward Moby Dick isnt about profit its pure destructive madness. The real brilliance of the book is how it turns the hunt for a literal white whale into a hunt for everything. God, fate, revenge and the unknowable malice of the universe.

And Quiqueg. Hes the best. That weird wonderful friendship he has with Ishmael the narrator is the human heart of the story that keeps the heavy philosophical stuff from dragging you under.

Its an adventure story a technical manual and a deep meditation on obsession all rolled into one. Just brace yourself for the detours and enjoy the insane glorious chase. Its a classic for a reason.
7👎3
Love wins when it is more of a commitment than it is feelings.
💯6❤‍🔥5🔥2👀1
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
👎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💯61
5🔥42
Doing Advent of code for the first time
🔥5
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 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
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.
🔥31
Forwarded from BeNN
"He who has a why to live for can bear almost any how" Nietzsche
61
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
9👀3
Henok
Doing Advent of code for the first time
Kicking off day 2 of AoC
🔥4
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
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💔
😭24👀6
Henok
No AoC. No coding. No reading. No nothing My pc just drowned in water💔
10 liters of water btw🙂
👀8😭2
This media is not supported in your browser
VIEW IN TELEGRAM
Accurate🤣
🤣9😭2😁1