Recent submissions

Comment · 12 years ago
I would say the performance are equivalent, with maybe some overhead if there is some heavy thread spawning. I'll run some benchmarks at some point.

One of the biggest advantages is the fact this is not multi-threading, so context switches can only happen at precise points (yield from). This makes it easier to reason about the code.

Comment · 12 years ago
Comment · 13 years ago
I'm an old Civilization fan, and recently I have enjoyed playing Paradox's game (Crusader Kings, Europa Universalis and Victoria). They touch the same spot that Civ5 wasn't able to touch.
Comment · 14 years ago
Except the problem most people actually want to solve is not "convert newlines to <br>", it is "convert some text to html", and this function may lead to think that it does that, when it only does a tiny fraction of that. And that's how injections are born.
Comment · 14 years ago
Sadly, it's not possible. datetime is a C class, so it is immutable.
Comment · 14 years ago
According to the site of the project, "Guix is based on the Nix package manager."
Comment · 14 years ago
The first answer mentions a couple of time that any token given to the user (for remember-me login or password reset) should be hashed in the database.

Would it be possible to replace the whole storing by signing the token with some private key, so that the validity of the token can be checked without having to compare it to some stored value ?

Comment · 14 years ago
Not as sexy as some of the things you can find on this page, but : https://github.com/madjar/pyramid_persona/ : a lib to use the persona auth system from mozilla with the pyramid web framework (that is specific !)

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton