Advertisement · 728 × 90

Posts by Vitor

Cover for the book "Building a Debugger" from No Starch Press. A robot sits at a drafting table drawing a complex machine. In the top-right corner of the table, there is a post-it note with a bug drawn on it and crossed out

Cover for the book "Building a Debugger" from No Starch Press. A robot sits at a drafting table drawing a complex machine. In the top-right corner of the table, there is a post-it note with a bug drawn on it and crossed out

The cover for my book on how debuggers work is here!

Preorders are still 25% off: nostarch.com/building-a-d...

1 year ago 181 36 9 3
Post image Post image

how it started how its going

1 year ago 36 2 5 0
include_subdirs - Dune documentationContentsMenuExpandLight modeDark modeAuto light/dark, in light modeAuto light/dark, in dark mode

It's not common practice but I think mostly for historical reasons. Now that we have (include_subdirs qualified), you should be able to do it easily. See dune.readthedocs.io/en/stable/re...

1 year ago 3 1 0 0

Maybe it just sucks
I'm not the first to speak badly about dune

1 year ago 0 0 0 0

How common is it to create multiple folders in /lib coding OCaml?

I'm asking because defining a new dune file for each new folder is annoying, and I don't know if it is annoying because it's an anti-pattern or if it just sucks

1 year ago 5 1 3 0

And building values with it is better too. In Go to make the same code you'll need to use iota - and it just sucks tbh

Anyone can understand this code even knowing nothing about ADTs or OCaml.

1 year ago 6 1 1 0
Post image

Ok I really liked ADTs
It's just easier to understand what is happening compared with my past Go implementation

1 year ago 34 4 4 0
Post image

My article “8 months of OCaml after 8 years of Haskell in production” is by far my most successful.

It’s interesting to ponder why, but I had pretty good expectations from the start myself.

chshersh.com/blog/2023-12...

1 year ago 29 4 3 2
Video

I'm usually not a big transition fan, but I liked it

1 year ago 0 0 0 0
Post image

Working on AOC 1, on Teika, the parsing took me some time, I still need to write the sort.

Doing things without a stdlib and infix operators is a pain. But it's been interesting.

But, I need to connect the typer, doing it without type checking is a massive pain.

1 year ago 10 1 1 0
Advertisement
Preview
Release v1.6.3 · gleam-lang/gleam

Gleam v1.6.3 is out now, with a fix for compiling on older versions of Erlang/OTP
github.com/gleam-lang/g...

1 year ago 25 4 0 0

In Gleam btw

1 year ago 0 0 0 0

I just completed "Historian Hysteria" - Day 1 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/1

1 year ago 3 0 1 0
Minecraft Create New World Screen

World Name: Advent of Code 2024

Minecraft Create New World Screen World Name: Advent of Code 2024

okay, setting up my project...

(day1 is already like, really hard for this sort of thing so not sure how much i'm going to be able to do this time ^^)

1 year ago 77 6 6 1