Profile avatar
moritzhamann.com
Engineering Manager at Bloomberg LP. Opinions are my own. Currently doing 12 months of OCaml to what the fuss is all about 🐫😁 Mastodon: @[email protected] https://moritzhamann.com
127 posts 173 followers 72 following
Regular Contributor
Active Commenter

Seriously considering building an LSP for (git) diffs 🫠

So much this. It only pays off much later, but whoever is going to maintain your code (even your future self) will thank you for it :)

weird at first, but I've come to like it as well

Blogged (my little rant): "Is Rust a good fit for business apps?" www.bartoszsypytkowski.com/is-rust-a-go...

ok lol. I was enjoying a bit of recreational Odin programming and thought to myself: would be cool if it had some automatic memory management for places where you don't care for performance. 50 lines later we've integrated www.hboehm.info/gc/gcinterfa... as a custom allocator 😅

trying for hours now to get dune to link a c library. but for whatever reason it's building the executable but running it results in unresolved symbols. I hoped the following flags would be enough in an (executable) stanca? (flags :standard -cclib -lmruby -ccopt -L/opt/homebrew/lib)

TIL that you can use OCaml's PPX extensions in quoted strings. I.e. for ppx_string: [%string "This \"%{value}\" will get replaced"] is the same as {%string|This "%{value}" will get replaced|} (all credit to tarides.com/blog/2019-05... which is a really good read)

2024 Recap of Ocsigen, the most advanced #OCaml web framework! discuss.ocaml.org/t/ocsigens-2...

It looks like benchmarksgame-team.pages.debian.net/benchmarksga... is now reporting build times, which is probably the best benchmark on the whole page

I was just trying to create a small mobile website with charts on them and realised that the whole left-to-right concept for line charts is not very mobile friendly. Does anyone know a (JS) library to draw "vertical" (top-to-bottom) line charts? 😅

Mobile phone design peaked in 2000-2010. Flip phones, sliders, swizzle phones, T9 Input...

Vim tip of the day: run a macro on every entry in a quickfix list with `:cdo normal @q` thanks, til.codeinthehole.com/posts/how-to...

I didn't know about this comment before but this is exactly one of the reasons I was leaning towards base+core over other standard library replacements. Some things look simple at the first glance, but can get so obscure, that you really want them battle tested with hundreds of man hours put in.

First problem where ChatGPT was actually the only thing to give me an answer. How to extract the hours and minutes in OCaml from a Core.Time_float.t ... Google search really got useless

Fist prototype, but there are still a few things I want to change - database selection - option to preselect text/type under the curser - insert the actual function name not the type signature

Homebrew has made it really easy to publish quick WIP binary packages of OCaml utilities. Here's how I'm using it for my own little tools https://anil.recoil.org/notes/custom-homebrew-taps

I just realised that sherlodoc can be run locally and has a cli interface. That's gonna be the next candidate for a Telescope integration into ocamlmycaml.nvim 😏

nice, there's a beta release of odoc 3 to try and give feedback on lots of new features for writing documentation for OCaml projects! discuss.ocaml.org/t/ann-odoc-3...