Frectonz
3.45K subscribers
1.91K photos
82 videos
32 files
1.64K links
A place for me to talk about my projects, stuff i find on the internet and what I am currently thinking about.

By @frectonz
Download Telegram
GQL - Git Query Language

This is very cool.
πŸ”₯9
I just completed "Camel Cards" - Day 7 - Advent of Code 2023

Of course since today's puzzle was called "Camel Cards", i did it in OCaml 🐫. Determining the hand type for the cards was very difficult.

[Part 1 Solution] [Part 2 Solution]
πŸ‘2
Frectonz
I just completed "Camel Cards" - Day 7 - Advent of Code 2023 Of course since today's puzzle was called "Camel Cards", i did it in OCaml 🐫. Determining the hand type for the cards was very difficult. [Part 1 Solution] [Part 2 Solution]
OCaml supports throwing exceptions, so you don't have to carry around a Result type everywhere.

The error objects are not some opaque value that can't be inspected at the caller site, instead they are typed values that can be checked by the caller.

For example if we see the parse method on Card and we want to parse the character '1' to be the card type A (aces), we can do the following

try Card.parse '1'
with Card.UnknownCard -> Card.A;;
When thought is delegated to a principle.

[source]
Forwarded from The Beno Logs
With great power comes great responsibility.

But it also works the other way around.

With great responsibility comes great power.

The more blame you take for your life the more power you have over it.
πŸ”₯10πŸ‘5
Forwarded from Yeab - engg/ acc - Archived (Yeabu)
This media is not supported in your browser
VIEW IN TELEGRAM
When you suddenly understand a bit of functional programming 😁
😁8
pov of doing day 8 with an actual tree data structure

Pic 1 = Tree view of the test
Pic 2 = The actual input (terminal zoomed out) πŸ˜‚
πŸ€”2πŸ‘1
My cure for feeling down is reading a Paul Graham article.
πŸ”₯6
Determining the value of knowledge is an undecidable problem.
For me it's more like my being,

"portfolio" seems too detached from how my much I value "my work".
🀯1
Both screenshots are from a Paul Graham article

Superlinear Returns
Forwarded from Mikiyas e/acc
What kind of engineering could speed this up? Perhaps nukes detinated at the same time, or some other non radioactive bombs or just letting the ocean in the cracks could overwelm it n speed it up... This is what e/acc is about, having a beach in Addis would be cool. And also trade will be lit.
😁10❀1