Better HN
topnewbestaskshowjobs
Log inSign up

obsession

506 karma · joined Nov 7, 2010 (16y ago) · 38 submissions

Submissions

1.

Show HN: 2048-Inspired Game Created with GPT-4(shuffle.nuudeli.com ↗)

3 points · by obsession · 2y ago · discuss

2.

Ask HN: Are you working on interesting technical problems?

542 points · by obsession · 8y ago · 426 comments

comment 8y ago · link · parent

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 11y ago · link · parent

Considering how much time I already spend on Hacker News, I certainly wouldn't want any notifications popping up.

comment 12y ago · link · parent

I believe it's your phone. The emojis are unicode after all. 😁

comment 12y ago · link · parent

Interesting, I'll have to take a look.

comment 12y ago · link · parent

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 12y ago · link · parent

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 12y ago · link · parent

MySQL support was definitely an afterthought and could probably be improved (maybe tracking the binary files directly?).

comment 12y ago · link · parent

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 12y ago · link · parent

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).

12.

Show HN: Stellar – Git for PostreSQL and MySQL(github.com ↗)

325 points · by obsession · 12y ago · 77 comments

comment 12y ago · link · parent

I have heard lots of good about interval training. I remember Freakonomics podcast mentioning it being the most effective exercise versus time spent.

comment 12y ago · link · parent

Wow, this is really neat!

comment 12y ago · link · parent

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.

comment 12y ago · link · parent

Even if you were a shady drug dealer, revenge doesn't get your money back.

comment 12y ago · link · parent

This is a good redesign but I wish they put more focus on developing Github Issues. The back button doesn't work (old issues randomly show) and filtering needs work (for example, how can I show issues from two milestones? how about showing issues with no comments? etc.).

comment 12y ago · link · parent

Where can I donate?

comment 12y ago · link · parent

This is so horrifying to read. Is there anything we can do to help?

comment 12y ago · link · parent

I really hate these kinds of benchmarks. No-one will ever have jQuery as a bottleneck on their application.

comment 13y ago · link · parent

Yeah. I really would like to see a version of HN where there are no arbitrary penalties applied.

comment 13y ago · link · parent

Does anyone know a way to contact BlackBerry World? Somebody copied my html5 game and is making money from it. It's been two years and my DMCA requests have been ignored. I have both tried email and Twitter.

http://appworld.blackberry.com/webstore/content/41515/?count... (The same author has several other ripoffs as well)

23.

Show HN: Distributed BogoSort(pivotfinland.com ↗)

2 points · by obsession · 13y ago · 1 comment

comment 13y ago · link · parent

What do need my full name for?

comment 13y ago · link · parent

Have you used pgAdmin? It certainly does everything but it's user interface is too horrific for any simple tasks (like viewing rows or filtering by column etc.)

26.

Pytest-sugar – pytest plugin that adds instafail and neat graphics(pivotfinland.com ↗)

2 points · by obsession · 13y ago · discuss

comment 13y ago · link · parent

It worked for Instagram.

comment 13y ago · link · parent

I wonder if the move to create Google Chrome was a due to a concern that Firefox would disturb Google's ad-serving business some day.

comment 13y ago · link · parent

Google has killed APIs before. Examples include Google Translate and private weather API.
12