Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
brandur
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
brandur
2y ago
Author here. The Go channel send behavior could certainly be altered depending on the particular semantics of the application, but the reason I chose to use a non-blocking buffered channel is so that no particular subcomponent can slow down
32.
▲
by
brandur
2y ago
Author here. The behavior of notify with respect to transactions is indeed notable, and definitely a great feature that makes them distinct from pub/sub in other systems. Notifies fire only when data is ready after the transaction is c
33.
▲
by
brandur
2y ago
Listen does hold a connection, but that doesn't mean it defeats connection pooling. That's what I was trying to convey in this blog post: you'll keep a fixed number of connections open for use with listen, but as few as possi
34.
▲
by
brandur
2y ago
That's interesting — the typed request and response objects that you get with an API SDK are certainly one of the biggest upsides, and I certainly see the benefit of having full control of the transport layer yourself so that you can a
35.
▲
by
brandur
2y ago
I helped maintain the public API language bindings at Stripe for many years, and although I'd defend it to the death as the right DX (SDKs are so much easier to use than raw web APIs), it's hard to appreciate just how onerous of
36.
▲
The Stainless SDK Generator
(stainlessapi.com)
216 points
by
brandur
2y ago
|
63 comments
37.
▲
by
brandur
3y ago
There's a lot to be said about the correctness benefits of a transactional model. The trouble with hitting an HTTP API to queue a task is: what if it fails, or what if you're not sure about whether it failed? You can continue to r
38.
▲
by
brandur
3y ago
Author here. Wanting to offload heavy work to a background job is absolute as old of a best practice as exists in modern software engineering. This is especially important for the kind of API and/or web development that a large number
39.
▲
Postgres Goodies in Ruby on Rails 7.1
(crunchydata.com)
1 points
by
brandur
3y ago
|
0 comments
40.
▲
by
brandur
3y ago
There's a little bit of editorializing in the title, but Garry's basic contention is that YC is firing on all cylinders, and it's headquartered in SF: > Jamali: It’s kind of interesting — so that narrative is there, but a
41.
▲
Understanding Postgres IOPS
(crunchydata.com)
8 points
by
brandur
3y ago
|
0 comments
42.
▲
by
brandur
3y ago
> Actually, who am I kidding- some other interest group would probably take their place. This is it unfortunately. After observing the SF NIMBY mentality for many, many years, you start to see the matrix. It has nothing to do with gent
43.
▲
Guidance for Scaling: Reversible vs. irreversible decisions (2022)
(craigkerstiens.com)
39 points
by
brandur
3y ago
|
4 comments
44.
▲
by
brandur
4y ago
It's also the domain used for releases and other artifacts (after a redirect from github.com). There's going to be a lot of broken builds today: $ curl -i -L https://github.com/kyleconroy/sqlc/releas
45.
▲
Will Postgres Use My Index? Hypothetical Indexing for Postgres
(crunchydata.com)
9 points
by
brandur
4y ago
|
0 comments
46.
▲
by
brandur
4y ago
I wonder if they might be amenable on that one. (If any GitHub staff is reading this.) The proposed scheme is fairly similar to Stripe's, and although Stripe mainly uses the `Stripe-Version` header for versioning, its API has also alwa
47.
▲
by
brandur
4y ago
To be fair: (1) it seems like the update landed recently, and (2) the article you linked does cite the same reasoning as the Twitter posts. Even if was a little ahead of the more recent Zero Covid protests, it seems like AirDrop's been
48.
▲
by
brandur
4y ago
Linked from the article, the Urban Displacement Project's recovery ranking dashboards [1] place San Francisco dead last amongst 60 major North American cities. [1] https://www.downtownrecovery.com/dashboards/recove
49.
▲
by
brandur
4y ago
Let Grow keeps a good mythbusting page on crime stats: https://letgrow.org/crime-statistics/ The tl;dr is that helicopter parenting is relatively new — only something that's come into play in the last few decades
50.
▲
by
brandur
4y ago
> [2] https://stylecaster.com/sunny-balwani-net-worth/ The surprising thing to me on there was that despite the bad loans to Theranos (money that is worth $0 now), they still estimate his net worth to be $85 million
51.
▲
by
brandur
4y ago
I see what you're implying, but Balwani's also been covered very extensively, including his trial. He's featured prominently in all the most public Theranos material including the book Bad Blood and the series The Dropout. If
52.
▲
by
brandur
4y ago
It may be true that there was a pull factor, but your comment appears to be trying to let the NYT staff off the hook for what would be considered abusive behavior in any other circumstance. Reference, straight from the horse's mouth:
53.
▲
EIDs (Encoded IDs)
(docs.crunchybridge.com)
14 points
by
brandur
5y ago
|
7 comments
54.
▲
by
brandur
5y ago
Fair enough. I like the Pomera's look (and love the broad Japanese market of weird/unusual electronics), but ... I doubt I'd ever buy a device without a full-sized keyboard again. These netbook-style machines were pretty inte
55.
▲
by
brandur
5y ago
Thanks for the detailed notes! Since it was announced, I was always very enticed by the Freewriter Traveler, but never pulled the trigger because despite a couple very positive reviews, I had a haunting suspicion that it wasn't quite u
56.
▲
by
brandur
5y ago
I would suggest reading until the end. The author makes a number of recommendations on how this outcome can possibly be avoided (see header starting with "The solution is simple" and all the way through until the end of the piece)
57.
▲
by
brandur
5y ago
> There is a list of reasonable exemptions including work related travel. Don't you think that you should've caveated your original comment with the fact that you need a specialized exemption to be able to leave? Every other
58.
▲
by
brandur
5y ago
Yeah, you'd need a longer field for maximum correctness for sure. Reminds me of the RFC 822 regex for validating an email address [1] (clocking in at a full page, although now there are simpler ones you can use). I tend to think that t
59.
▲
by
brandur
5y ago
I used to recommend `CHECK` constraints as well, but was directed towards Postgres' very good intelligence around being able to relax a `VARCHAR(n)` -> `VARCHAR(>n)` as basically a no-op, so I simplified here somewhat just becaus
60.
▲
by
brandur
5y ago
> My goodness... This has nothing to do with postures and just bad security models when programming. Author here. Could you elaborate with some specifics?
More ›