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.
I have an Asus M5A97 PRO motherboard, which includes the common set of sensors. The lm-sensors free software correctly detects two chips,
it8721-isa-0290, corresponding to my Phenom II and my motherboard, respectively. However, by default the output of sensors looks like:
Since version 0.2.9 that I’ve just released, esqueleto supports
EXISTS operators (and their negated counterparts). For example:
from $ \person -> do
where_ $ exists $
from $ \post -> do
where_ (post ^. BlogPostAuthorId ==. person ^. PersonId)
PS: I’ll try to post more in the future, so keep tuned =).
I’m very pleased to announce a preview release of esqueleto, a bare bones, type-safe EDSL for SQL queries.
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 your authorization code such that it’s harder to make mistakes.