Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grogers
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
61.
▲
by
grogers
2y ago
To be honest, whole foods and the go stores could be (at least in some small part) a way to shift their competition base from "online retail" to "all retail" for anti-trust purposes. I wonder if AWS outposts melding clou
62.
▲
by
grogers
2y ago
The problem with doing this with logging is that the frameworks usually make it hard or impossible to selectively enable debug logging for just one customer, or just one in a million requests, especially if you want to do it dynamically (wh
63.
▲
by
grogers
3y ago
The person you are responding to is pointing out that if the host doesn't offer you to switch all the time, then it isn't the best strategy to always switch when you are given the option. For example, knowing that everyone switc
64.
▲
by
grogers
3y ago
> What if B pays 10000x what ACDE do combined? What if B pays for that capacity? If B's load is consistently that high compared to the others then presumably the system has enough total capacity that those requests don't impact
65.
▲
by
grogers
3y ago
Having a query like this that gets slower as the queue gets bigger is a really bad idea. It'll work just fine in the steady state when your queue is short. And then when you get overloaded and start queueing, you will be adding more lo
66.
▲
by
grogers
3y ago
I don't know if this is the only reason, but superconuctors have a critical magnetic field that is also related to temperature (higher temp = lower magnetic field). So even if a material is superconducting at liquid nitrogen temperatur
67.
▲
by
grogers
3y ago
How common is an automatically expanding WAL across other DBs? I'm most familiar with MySQL which uses a fixed size WAL (unless something changed recently). That of course comes with other tradeoffs like potentially blocking writes if
68.
▲
by
grogers
3y ago
Cars aren't littered randomly on every sidewalk. If they were, everyone would be up in arms about it. Converting existing parking spaces into dedicated bike/scooter parking seems like the better option if you want more scooters
69.
▲
by
grogers
3y ago
I think most people would measure instructions per cycle as an estimate of how busy the CPU execution units actually are. Lots of performance tools do measure it.
70.
▲
by
grogers
3y ago
In the MySQL world, bidirectional replication is common, but with at-most-one of the two being writable (the replication user can still write even if the secondary is read-only). Maybe they meant it to be similar and not truly multi-master?
71.
▲
by
grogers
3y ago
> The inspector general’s office found that 13% of the denied requests for treatment it reviewed and 18% of denied claims were for care that should have been covered. That is a lot lower than I expected based on the rest of the article.
72.
▲
by
grogers
3y ago
Context matters. In the context of a single thread, ordinary variable reads and writes happen as if they were in program order. So in that context, they are extremely natural. When shared across threads, reading and writing ordinary variabl
73.
▲
by
grogers
3y ago
With the excessive debt (which is not slowing down) the government is planting the seeds for high inflation in the long term. This historically has been very bad for equities (in real terms).
74.
▲
by
grogers
3y ago
It strikes me as odd that the prof picked 1/100 as the threshold for accusing students of cheating. That seems far too low for a class of 96 students. It's very possible that one or more students were falsely accused. I get that t
75.
▲
by
grogers
3y ago
Adding the index may be physically hard because it takes a while and steals resources from your server. But cognitively, it is easy - find the query that is slow and add the index to make it fast. It's usually very obvious from the que
76.
▲
by
grogers
3y ago
You can use gh-ost (or most other online schema change tools) to get around that. You'll still have some necessary increase in write load since you are double-writing that table but you can control the pacing of the data backfill (gh-o
77.
▲
by
grogers
3y ago
Ultimately it will be the big banks paying more to the FDIC to cover the shortfall anyways. So that will be pretty much a wash either way. It's the non-bank uninsured depositors that matter.
78.
▲
by
grogers
3y ago
There is centuries of human artists copying each other's painting styles and explicitly copying individual pieces of art. Voice doesn't seem any different, this should be fairly well settled law. Of course it could be explicitly c
79.
▲
by
grogers
3y ago
If you can deduct the remaining amortized expense immediately upon termination, could companies just fire everybody and rehire them the next day?
80.
▲
by
grogers
3y ago
Truly bad UI response time is rarely because of a performance hotspot though. It's almost always unintentionally blocking the UI thread on network requests. I might get mildly annoyed using a sluggish UI, but I get perpetually annoyed
81.
▲
by
grogers
3y ago
If your consensus protocol requires that it is probably broken. If you can't rely on a node to shut itself down then you almost certainly can't rely on an external trigger to do it. Paxos, raft, etc work just fine as long as failu
82.
▲
by
grogers
4y ago
We were printing too much money going back far longer than just 1971. That's just when other countries found out and we ran out of actual gold to exchange it back.
83.
▲
by
grogers
4y ago
All the "auto-sharding" DBs have their own quirks, especially around hot key throughput. You often end up having to add "sharding bits" to the beginning of your keys to get enough throughput. The size of one partition is
84.
▲
by
grogers
4y ago
I've long thought that it is often better to return a bit of extra data in internal API responses to validate that the response matches the request sent. That can be fairly simple like parroting a request ID, or including some extra me
85.
▲
by
grogers
4y ago
The only DD you as a depositor with less than 250k USD in deposits needs to do is check that it is FDIC insured. When you sign up for the account it will be prominent and I doubt there are many accounts that aren't. So, basically you d
86.
▲
by
grogers
4y ago
You want a quasi-government agency to have unlimited tracking and control over your transactions? Banks may suck but a CBDC is straight up scary. It's bad enough we have to put up with the capriciousness of the Fed's monetary po
87.
▲
by
grogers
4y ago
I think the point is that if the coroutine suspends it could be resumed on a different thread. So you don't really want to mix thread locals and coroutines.
88.
▲
by
grogers
4y ago
This is actually really convenient. In our code we have an abstraction that wraps a set using a variant. Instead of implementing an iterator/begin/end based on which data the variant holds, we have an iter() method that unwraps th
89.
▲
by
grogers
4y ago
> This is pretty basic C++/computer architecture stuff. The C rules for integer type promotions are incredibly hard to reason about. They should have just banned implicit conversions from the beginning. This is not super basic stuff
90.
▲
by
grogers
4y ago
For #2, many linkers _do_ support "identical code folding", and gold has an option to only merge functions which never have their address taken.
More ›