Personal website & blog: webcloud.se
GitHub: github.com/danielstocks
www.youtube.com/watch?v=UjVA...
www.youtube.com/watch?v=UjVA...
www.youtube.com/watch?v=6dS5...
www.youtube.com/watch?v=6dS5...
This is an amazing write-up (and solution) on something that has bugged me A LOT over the years 😅
Just wondering whether the same concept could be applied to bold, italic, links etc and not just inline code blocks?
This is an amazing write-up (and solution) on something that has bugged me A LOT over the years 😅
Just wondering whether the same concept could be applied to bold, italic, links etc and not just inline code blocks?
It's kind of scary to think how quickly we become dependent on these tools... although one could argue it's been a very long time since anyone was truly self-sufficient in this day and age.
It's kind of scary to think how quickly we become dependent on these tools... although one could argue it's been a very long time since anyone was truly self-sufficient in this day and age.
Any thoughts or feelings on this?
#OCaml #TypeScript
Any thoughts or feelings on this?
#OCaml #TypeScript
My goal was to reach day 10 before EOY, let's see if i make it.
...I think I'm starting to get the hang of this OCaml thingie.
My goal was to reach day 10 before EOY, let's see if i make it.
...I think I'm starting to get the hang of this OCaml thingie.
ReScript gets pretty close with rescript-lang.org/docs/manual/... though!
ReScript gets pretty close with rescript-lang.org/docs/manual/... though!
Relatively easy :) Can't think of another way than brute-forcing all permutations. Part 2 takes ~10s to run (Apple M1)
Pt1: github.com/danielstocks...
Pt2: github.com/danielstocks...
Relatively easy :) Can't think of another way than brute-forcing all permutations. Part 2 takes ~10s to run (Apple M1)
Pt1: github.com/danielstocks...
Pt2: github.com/danielstocks...
I've completed "Guard Gallivant" - Day 6 - Advent of Code OCaml 2024 #AdventOfCode adventofcode.com/2024/day/6
I've completed "Guard Gallivant" - Day 6 - Advent of Code OCaml 2024 #AdventOfCode adventofcode.com/2024/day/6
Slow and steady. Made use of Set and Hashtbl modules from std lib to solve this one, new skills unlocked!
Pt1: github.com/danielstocks...
Pt2: github.com/danielstocks...
Slow and steady. Made use of Set and Hashtbl modules from std lib to solve this one, new skills unlocked!
Pt1: github.com/danielstocks...
Pt2: github.com/danielstocks...
For loops, Arrays, If/else conditionals and mutable counters, I'm feeling I'm drifting further away from FP. Anyone else want to share their solution?
github.com/danielstocks...
For loops, Arrays, If/else conditionals and mutable counters, I'm feeling I'm drifting further away from FP. Anyone else want to share their solution?
github.com/danielstocks...
Day 4, Part 1 done.
github.com/danielstocks...
Had to reach out for Arrays instead of Lists for this one. I guess mutability has its merits sometimes.
Day 4, Part 1 done.
github.com/danielstocks...
Had to reach out for Arrays instead of Lists for this one. I guess mutability has its merits sometimes.
Having worked a bit with Go and OCaml lately I've come to appreciate the std library in.... JavaScript. Array, Set, Map, String etc.
It used to be the case of loading underscore/lodash (even jQuery had a map function 🥲) for basic util, but nowadays you don't need to.
Having worked a bit with Go and OCaml lately I've come to appreciate the std library in.... JavaScript. Array, Set, Map, String etc.
It used to be the case of loading underscore/lodash (even jQuery had a map function 🥲) for basic util, but nowadays you don't need to.
Lagging a little bit behind but...!
I've completed "Mull It Over" - Day 3 - Advent of Code 2024 in OCaml #AdventOfCode adventofcode.com/2024/day/3
Nice to get to some try some regular expressions parsing in OCaml, ended up using the ocaml-re package for that.
Part 2: github.com/danielstocks...
Lagging a little bit behind but...!
I've completed "Mull It Over" - Day 3 - Advent of Code 2024 in OCaml #AdventOfCode adventofcode.com/2024/day/3
Nice to get to some try some regular expressions parsing in OCaml, ended up using the ocaml-re package for that.
Part 2: github.com/danielstocks...