Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
madjar
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
API wrappers: Danaïdes writing specifications
(compiletoi.net)
2 points
by
madjar
11y ago
|
0 comments
2.
▲
by
madjar
13y 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 swit
3.
▲
by
madjar
13y ago
I used that at some point, but I tend to prefer the explicit yield of asyncio to the implicit context change of greenlets. (This blog post is a good explanation of that: https://glyph.twistedmatrix.com/2014/02/unyi
4.
▲
by
madjar
13y 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.
5.
▲
by
madjar
14y 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
6.
▲
by
madjar
14y ago
Sadly, it's not possible. datetime is a C class, so it is immutable.
7.
▲
by
madjar
14y ago
According to the site of the project, "Guix is based on the Nix package manager."
8.
▲
by
madjar
14y 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
9.
▲
by
madjar
14y 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 !)