Recent submissions

Comment · 9 years ago
Now that we are on the topic of prepared statements, does anyone know how to do "SELECT * FROM WHERE x IN (list of values...)" properly? As far as I know, you cannot do it with prepared statements (as they can only be single values) and you are forced to roll your own escaping mechanism.
Comment · 11 years ago
Considering how much time I already spend on Hacker News, I certainly wouldn't want any notifications popping up.
Comment · 12 years ago
I believe it's your phone. The emojis are unicode after all. 😁
Comment · 12 years ago
Interesting, I'll have to take a look.
Comment · 12 years ago
While doing single restore is fast enough, you will have problems doing multiple restores in a row as the background process needs to finish before another restore is possible (which may take several seconds when you are dealing with big databases).
Comment · 12 years ago
Yes, Stellar will probably trip over this. Similarly, if the attacker can edit stellar.yaml, they probably can edit your .bashrc as well.

Im adding this to my TODO list.

Comment · 12 years ago
MySQL support was definitely an afterthought and could probably be improved (maybe tracking the binary files directly?).
Comment · 12 years ago
I have regularly used this with database that's nearing 1000 megabytes. I don't particularly mind slow snapshotting because my workflow is more about restoring database back to baseline than taking copies.

Please don't use this for production. It is not stable enough and you only end up with lost data.

Comment · 12 years ago
Transaction is only reverted if the migration fails. Stellar helps you if your migration succeeds but does the wrong thing (deleting wrong column, missing WHERE in UPDATE statement).
Comment · 12 years ago
I have heard lots of good about interval training. I remember Freakonomics podcast mentioning it being the most effective exercise versus time spent.
Comment · 12 years ago
Wow, this is really neat!
Comment · 12 years ago
I think these services could use timed release. If you have locked yourself out, the timer starts running. If after 30 days no one has denied the request, access is granted. I'm pretty sure this approach would foil most if not all social engineering.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton