Înapoi la articole →

Cel mai recent articol

Ultima verificare

Urmăritori 0 urmăritori
Articole: 192
  1. I’m currently reading Adam Becker’s More Everything Forever (2025), a physicist’s tour of the ideologies of Silicon Valley: the Singularity, AI doom, effective altruism, longtermism, Mars settlement.

  2. Live demo: https://ghc-vis-ds.hamalainen.dev Source: https://github.com/carlohamalainen/ghc-vis-ds Discourse: https://discourse.haskell.org/t/ghc-vis-ds-a-modern-port-of-ghc-vis-with-a-datastar-frontend/14520 A live view of the GHC heap in your browser: i…

  3. Go+Elm vs Datastar/Go

    Back in the old days, people used to leave comments on blogs.

  4. My current setup: Small townhouse in Brisbane. 3.9kW solar array (ugh small roof).

  5. Full source code and talk: https://github.com/carlohamalainen/bfpg-2026-05-12-datastar-haskell-sdk

  6. Shared values in GHC

    The Question Link to heading When we have many data structures that contain the same large value, does GHC preserve sharing to save memory?

  7. Performance Surprises

    Performance surprises are everywhere - even in the simplest code 🚀 At my old bank job, I discovered something eye-opening: for some requests, our code spent more time logging than doing the actual mathematical calculations and data loading combined.

  8. Outlandish Lamington

    Software estimation is hard.

  9. DuckDB

    Have you ever typed $ sudo chmod -R 400 * and then wondered which directory you were in?

  10. Caddy TLS Tailscale

    Setting up TLS with Caddy on a Digital Ocean droplet is so easy with the Caddy DNS plugin.

  11. The goal is to deploy automatic TLS certificates using cert-manager, with certificates supplied by Let’s Encrypt.

  12. Jekyll to Hugo blog migration

    I migrated my blog from Jekyll to Hugo, mainly because I have no experience with Ruby and don’t have the time to stay up to date with another language and framework.

  13. Grafana Heatmaps

    Heatmaps are an excellent way to visualise real-time system performance, as they provide a concise and intuitive representation of response time distributions across multiple dimensions.

  14. Bits Between the Bits

    This is a fun talk about what goes on before your program starts executing main: Matt Godbolt mentioned the oddly named “bss” section.

  15. Wonderful visualisations in this talk: ScyllaDB’s CTO Avi Kivity dives into how high performance distributed systems such as modern databases can make best, most efficient use of fast NVMe storage.

  16. Autores de Hugo

  17. temas

  18. sintaxe

  19. Códigos curtos

  20. Superset trie search

    A normal map lets us look up items based on an exact match for the key, but here is a situation where we want to match on a superset of the search key.

  21. Set AirPod volume on Linux

    I have no idea why, but a week ago my AirPods suddenly became far too quiet on Linux (Debian buster).

  22. In the old days fitting 26" mountain bike tyres was so easy.

  23. Causal Profiling

    Profiling tools like gprof tell us about where a program spends the most time but these places aren’t necessarily the best candidates for optimisation.

  24. The end goal here is to have Unity3D and Visual Studio Code installed on a Debian 10 Linux system with Intellisense completions working for Unity code.

  25. Complex assignment in R

    (Disclaimer: I’m not recommending the use of R, this question just came up in some of Nadiah’s work.

  26. Update 2024-02: I wouldn’t bother doing any of this, I’d just use vscode-remote in VS Code.

  27. BeautifulSoup

    BeautifulSoup makes it easy to quickly scrape content from web pages.

  28. Knight on a chess board

    Here is a well-known interview/code golf question: a knight is placed on a chess board.

  29. The farmer-chicken-fox puzzle goes something like this: a farmer is at a shop, having bought a chicken, fox, and a bag of corn.

  30. An expression evaluator in CSV

    Many business problems boil down to reading data from somewhere, transforming it, and writing it somewhere else.

  31. Optimising treehash calculations

    I’ve been using my Glacier Push utility for a while now and it has been working well.

  32. webdl note to self

    I can never remember this. https://bitbucket.org/delx/webdl git clone https://bitbucket.org/delx/webdl cd webdl virtualenv --python python3 .virtualenv . .virtualenv/bin/activate pip install -r requirements.txt Usage: . .virtualenv/bin/activate .

  33. Edit 2019-01-12: fixed here: numpy/pull/11977 Nadiah ran into an apparent memory leak in SciPy’s hypergeom distribution.

  34. readFile :: String -> IO [Char]

    Using a modern GHC compiler, how much memory would this program use?

  35. Property based testing is a great way to improve code quality since it captures logical properties of your system.

  36. Consider an option with payout on an underlying which is a cumulative sum.

  37. Here is a small Haskell package for pushing files to Amazon Glacier: https://github.com/carlohamalainen/glacier-push.

  38. FSA B3164 bottom bracket replacement

    My Boardman Team TXC 650b hardtail mountain bike has an FSA crankset and bottom bracket.

  39. I have a pull request to merge ghc-imported-from into ghc-mod.

  40. Ubuntu 17 -- device not managed

    I plugged in a D-Link DUB-1312 to my laptop running Ubuntu Zesty but Network Manager said that the interface was “not managed”.

  41. 2024-03-13 These days we have an excellent ecosystem with Grafana Loki, Promtail, Tempo, and friends A while ago I wrote about how to set up a structured logging service using PostgreSQL.

  42. Stripping html tags using TagSoup

    I had a situation, when converting old blog posts to WordPress, where I wanted to strip all the extra info on the pre tags.

  43. Data.Proxy

    Short note on Data.Proxy based on this Stackoverflow answer.

  44. I have a pull request to merge ghc-imported-from into ghc-mod.

  45. Raspbian with full disk encryption

    This blog post shows how to convert a standard Raspbian installation to full disk encryption.

  46. Subkeys in GPG for a YubiKey

    I recently got two YubiKeys to try out another form of 2FA and to see how they work with my PGP setup (Enigmail and Thunderbird).

  47. Foscam IP camera with Pi server

    Over the xmas holidays I set up a security camera for my parents.

  48. Note on operational

    I was looking at an old post of mine on free monads and wondered what it would look like using operational.

  49. I was reading some notes from QUT about using spectral graph theory to partition a graph using eigenvalues of unnormalised Laplacian.

  50. ghc-imported-from => ghc-mod

    This post has some errors; see ghc-imported-from–ghc-mod-march-2017 for the latest instructions.