Viewing profile — brandur
brandur
HN member- Joined
- Tue, Aug 30, 2011, 9:29 PM UTC
- HN karma
- 3,384
- Public activity
- 370 items
- HN profile
- View on Hacker News ↗
About brandur
Twitter: https://twitter.com/brandur
GitHub: https://github.com/brandur
Website: https://brandur.org
Email: brandur@brandur.org
Recent public activity
-
comment
Comment #49141084
Thanks for that — I didn't know about `clone` (and important to note it's non-default) and now intend to try it out.
-
comment
Comment #49137969
As long as you're using Postgres, I would definitely try out an approach based on template databases in your situation. It should check all the boxes that a run with `db/seed.rb` w…
-
comment
Comment #49137923
Ah yep, good point. I was confusing "ramdisk" versus just "ephemeral in-memory".
-
comment
Comment #49137908
It doesn't look like MySQL has any concept like a template database. You could still migrate up a pristine database, use mysqldump to produce a schema, then load that into a series…
-
comment
Comment #49137501
No worries Peter. And thanks for putting together pgtestdb — such a great project! This conversion sprint was a fun little experiment.
-
comment
Comment #49137259
Some very significant disadvantages to that approach: * It's common these days for a single operation to manipulate dozens or even hundreds of database records. Often these records…
-
comment
Comment #49136706
Interesting. How many database copies do you bring up when the test suite starts running, and how is parallelism handled?
-
comment
Comment #49136686
Yeah, I've generally recommended using test transactions during test cases [1] as they're extremely fast. I'm open to alternatives like Peter's approach here though because the tem…
-
comment
Comment #49136613
Peter actually makes this exact point in the project's README. See this section here: https://github.com/peterldowns/pgtestdb#how-do-i-make-it-go-... I'd just say that a nice thing…
- story
-
comment
Comment #48813190
Thanks, this is neat. Goodreads seems to be get so little development attention these days that it's a miracle it still runs. Interesting choice by BookWyrm to hide review ratings …
-
comment
Comment #48632664
Blake wrote a nice page on the benefits of using transactional-based enqueuing here: https://riverqueue.com/docs/transactional-enqueueing It's true that it's not distributed, but t…
-
comment
Comment #48632625
There's some similarities with DBOS for sure like using Postgres as a backend. Here's some differences based on my browsing of their docs for a little while: * River's built around…
-
comment
Comment #48632471
Yes, if one of the admins/mods could correct this, it'd be amazing! The rest of the title is fine.
-
comment
Comment #48621069
Yes, I roughly agree with all of this. In fact, for most of my existence, I'm been one of those cheap programmers. The circumstances that led to me trying to push River for the nex…
- story
-
comment
Comment #48620310
Thanks dzonga!
- story
-
comment
Comment #45187502
To be fair I guess, the way the article is titled goes out of its way to mislead. It would be quite easy to say "Added 911,000 fewer jobs from March 2024 to March 2025" or "the yea…
-
comment
Comment #42592560
That's absolutely bananas. $3 million for a _report_ about suggestions for possible immigration reform (to speed it up of course). In the hole $62 billion a year, and a sizable chu…
-
comment
Comment #42591499
Are you my doppelganger? I made almost this exact comment word-for-word to a friend of mine a few weeks ago. Trudeau's immigration video from December [1] was one of the most disho…
-
comment
Comment #41949729
The point is that Democratic voters didn't get a chance to have their voice heard. Conducting polling is post-hoc rationalization for Harris being installed by party leaders in unp…
-
comment
Comment #40970767
Also notable that the author didn't link Haje's (the TechCrunch person who railed against Alexander Wang) actual writing because he knew it doesn't make either Haje, or his argumen…
-
comment
Comment #40467470
I found this by accident on YouTube the other day, and started watching it, not intending at all to sit through the 4+ hour runtime, but by the next day I'd watched the entire thin…
-
comment
Comment #40354822
Thanks Shayon!!! Very kind of you :)