Frectonz
https://youtu.be/UIZAiXYceBI
YouTube
Personalized AI for you | Gemini
Google’s newest and most capable AI model – Gemini.
Join Google Research Engineering Director Palash Nandy as he showcases Gemini’s advanced reasoning and coding abilities, all while exploring ideas for a birthday party.
The model understands his intent…
Join Google Research Engineering Director Palash Nandy as he showcases Gemini’s advanced reasoning and coding abilities, all while exploring ideas for a birthday party.
The model understands his intent…
Frectonz
I did part 2 after watching this video. It is still the bruteforce solution but i used rayon to parallelise it, and used indicatif to show a progress bar.
I've completed "Wait For It" - Day 6 - Advent of Code 2023
This one was an easy one. I did it in Rust.
[Part 1 Solution] [Part 2 Solution]
This one was an easy one. I did it in Rust.
[Part 1 Solution] [Part 2 Solution]
🔥1
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]
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
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 followingtry Card.parse '1'
with Card.UnknownCard -> Card.A;;
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.
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) 😂
Pic 1 = Tree view of the test
Pic 2 = The actual input (terminal zoomed out) 😂
🤔2👍1