Archives

  1. Announcing serversession
    January 2, 2016
    I’m pleased to announce the serversession family of packages. Background HTTP is a stateless protocol. Cookies are used to create sessions out of otherwise independent requests made by the browser to the server. There are many ways of managing sessions...
  2. Using stack on NixOS
    September 22, 2015
    I’ve got myself a new laptop recently and decided to try NixOS. It’s been a great experience so far, but there are some rough edges. One of them is stack not completely working out of the box for my projects....
  3. Using Caps Lock as Menu/Apps key on Emacs
    September 3, 2015
    I’m an ergoemacs-mode user, a mode that changes most key bindings so that they put less strain on your hands. For example, it uses Alt instead of Ctrl most of the time, which is easier to press: use your curled...
  4. Changing NetworkManager route metrics
    May 29, 2015
    If you use NetworkManager with more than one interface, you probably want to control the metric of their routes. Here’s one way you can do it. Background I got a PCI Express WiFi card (wlan0) and a USB WiFi dongle...
  5. Sensors detective
    December 8, 2013
    I have an Asus M5A97 PRO motherboard, which includes the common set of sensors. The lm-sensors free software correctly detects two chips, k10temp-pci-00c3 and it8721-isa-0290, corresponding to my Phenom II and my motherboard, respectively. However, by default the output of...
  6. Esqueleto now supports IN and EXISTS
    November 29, 2012
    Since version 0.2.9 that I’ve just released, esqueleto supports IN and EXISTS operators (and their negated counterparts). For example: select $ from $ \person -> do where_ $ exists $ from $ \post -> do where_ (post ^. BlogPostAuthorId ==....
  7. Announcing esqueleto, a type-safe EDSL for SQL queries
    September 6, 2012
    I’m very pleased to announce a preview release of esqueleto, a bare bones, type-safe EDSL for SQL queries. On the first part of this blog post I’ll talk about persistent and HaskellDB. You may jump right into where I talk...
  8. Abstracting permissions with Yesod
    January 16, 2012
    Yesod is a terrific framework for web applications in Haskell. It has many, many built-in features. One of them is that there’s nice support for authentication and authorization. In this post I’m interested in talking about how you could write...