RSSAmplifier

Blog

hyPiRion

Public posts from @hypirion@functional.cafe

functional.cafeRSS feed ↗20 posts

Latest posts

(untitled)

I am in a country where this is the UV forecast, and as a Norwegian, I feel like just watching this gives me skin cancer. Pray for my skin.

(untitled)

I just put my TODOs directly inside my development files so that I remember them when I try to compile my project.

(untitled)

FWIW I'm probably not completely up-to-date on the latest discussion around OSS funding. So if there's anything that looks promising here, give me a link or other kinds of pointers.

(untitled)

What caused this wasn't actually some sort of "let's fix open source funding" but rather my annoyance with MusicBrainz' FTP server being slow, and I'd like to pay for the download to be faster. I don't have any plans to build anything, just thinking a bit out loud.

(untitled)

Thinking a bit about costs related to open source software: Would you be open to pay a negligible amount of money whenever you downloaded, say, a dependency for a programming language from an official source? We're talking pennies on the gigabyte here. Imagine requester pays in S3 ( https:// docs.aws.amazon.com/AmazonS3/l atest/userguide/RequesterPaysBuckets.html ) -- but perhaps some fixed amount…

(untitled)

Got back from a long hike in Nordmarka yesterday, so today I listen to the classics. (Ödemarkens Son by Vintersorg)

(untitled)

Zach Tellman has started a newsletter, and imo I think you should subscribe: https:// explaining.software/archive/a- brief-introduction/

(untitled)

I can't get Leiningen/tool.deps/any Clojure program to run, because Clojure core can't load its own version number, causing the entire boot sequence to throw an exception. This only happens inside a Docker image running on our CI, and whenever I try to run it locally, it works perfectly fine. Attaching strace to the process won't help me, because I don't have access to strace in the CI for…

(untitled)

I've started to toy around with Cartesian genetic programming again, mostly for fun. I can't find much non-academic stuff on it though, which is a little weird, given how easy (IMO) it is to understand, implement and play around with them. Is it just that neural networks are that much more interesting, so people don't know about them, or is there something about them that makes them less…

(untitled)

Just released https:// github.com/olympos-labs/clj-se lene -- a Clojure(Script) library to compute the lunar calendar and Moon phases. Between 1900-2100, it's at most 7 minutes off, which is much better than the average 8 hours off if you're using the synodic month approximation. If you want exact timestamps, you're better off embedding the raw data from the Astronomical Applications Department. I…

(untitled)

I wrote down some thoughts about why I don't like some type of code generators and how I think they can be improved: https:// hypirion.com/musings/making-co de-generators-pleasant-to-use

(untitled)

Small peek on what I've been working on lately: Accurate moon phase computations for Clojure and ClojureScript. Those dang moon phase libraries in JavaScript are too inaccurate and doesn't take time zones into account, so I'll have to make those things myself. The sample app I made is here: https:// hypirion.github.io/selene-cale ndar-example/

(untitled)

After seeing the Rimworld Anomaly DLC I really think there should be a colony sim that focuses on you surviving against eldritch horrors.

(untitled)

I intended to write about how I like to generate and work with identifiers, but I have somehow derailed so hard that I'm now writing about how Protobuf/GraphQL/OpenAPI can improve their code generation.

(untitled)

Today I actually managed to get my foot in the door and do something sensible with OCaml: Made a small DB migration component that's actually testable. I've been fighting OCaml's tooling for a long time now; While I said I'd use esy to get reproducible builds, it just literally isn't able to build stuff. Opam also almost failed me after I bumped to OCaml 5.2, but through the magic of giving…

(untitled)

Really reconsidering the whole "let's upgrade to the latest Ubuntu version" at the moment. So far this has broken: - My Jekyll setup (... even though I use the Ruby version manager, installed outside of apt) - XFCE4 panels do not work with XMonad anymore on startup, so I'll have to set it up in a terminal window after start (I had a hack that worked for a couple of years) - xfce4-terminal changed…

(untitled)

I wrote more about the "hyPirion builds an OCaml app" saga. This time I'm talking about why I decided to not Nix the build just yet, and instead go for Esy at the moment. The TL;DR is: I'm two blog posts in and have written 30 lines of OCaml. I should get that number higher (number of lines of OCaml, not blog posts) before focusing on reproducible builds. https:// hypirion.com/musings/no-nix-fo…

(untitled)

Troy Hunt talked about Copilot generating some code that worked with Stripe. Well... last time I tried that for funsies with ChatGPT it resulted in a time ticking bomb. Tell me if you see the error here:

(untitled)

I'll be at NDC Oslo the next three days! If you'd like hang out at the hallway track or chat at some other time, feel free to send a message in my direction :)

(untitled)

So I wanted to build a thing with OCaml, and now I've derailed so hard I'm considering installing NixOS. All just because some dependency I wanted to use had some glibc issues.