Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
grogers
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
121.
▲
by
grogers
4y ago
Just 6 days ago they merged a custom condvar implementation based on futex directly to workaround the glibc bug. Before that it was just pthread_cond_wait
122.
▲
by
grogers
4y ago
Well if they use unsigned 32 bit they at least extended it to Y2106 :-) But for this use case it's not really an issue though. FTA it sounded like they always write the mtime as now. It's unlikely they wouldn't GC the repo in
123.
▲
by
grogers
4y ago
Scrollbar hasn't been useful for that (at least for me) ever since websites started putting comments after the content (e.g. article, blog)
124.
▲
by
grogers
4y ago
My dream would be to have a three-way merge tool that worked like this at a semantic level. It feels like merges almost always have the information needed to automatically resolve, but our line-based tools are too simple to see it.
125.
▲
by
grogers
4y ago
These are being used as link addresses, they probably aren't even routable within Amazon's network. They probably want the link addresses to be globally unique so it simplifies management or so traceroute reverse lookup is easier
126.
▲
by
grogers
4y ago
I think the only weakness with Yosemite bowline is if tied wrong. Bowline backed by a double overhand is about as fast to tie and easier to check IMO, but if you are used to Yosemite then maybe it's the opposite for you.
127.
▲
by
grogers
4y ago
How do you break dependency cycles across shards (i.e. deadlock detection)?
128.
▲
by
grogers
4y ago
It seems like accord uses neither bounded synchronized clocks nor a shared timestamp oracle. How does it provide strict serializability then?
129.
▲
by
grogers
4y ago
If you happen to still be using it then you'd get a lot of errors right away though. If you are extremely paranoid you can do better by migrating to a new user that doesn't have access to the table. Switching to the new user would
130.
▲
by
grogers
4y ago
> Alternatively, shipping costs could fall to $10/kg. This would require several large miracles Come on, at $10/kg it'd be cheaper to send something to Mars than to mail it across town. Even $10,000/kg would require m
131.
▲
by
grogers
4y ago
If you have to write all messages to the DB, why use RMQ at all and not just read the messages from the DB?
132.
▲
by
grogers
4y ago
One partition of DDB is incredibly tiny compared to one partition of an RDBMS. You can push that one partition of RDBMS pretty far before you're forced to design sharding into your system. With DDB you are basically forced to design sh
133.
▲
by
grogers
4y ago
Gmail's spam filter is basically community trained by people clicking spam/not spam (at least, that was what they said many years ago, it might have silently changed). What's different about search?
134.
▲
by
grogers
4y ago
If most of the Foo table has Bar=42, an index on Bar works, or you may have to rewrite the query as (Bar < 42 or Bar > 42) on some DBs. If Bar=42 is just a few rows then yeah it's best to do a table scan. For the second query, an
135.
▲
by
grogers
4y ago
Maintaining backwards compatibility for reading old records in code is not hard. You can always rewrite all rows to the newer format if you want to remove the conpat code, or if the structure changes in an incompatible way. It's pretty
136.
▲
by
grogers
4y ago
This case might be trivial to debug, but when you start adding concurrency a lot of that ease goes out the window. Right now, our tests are mildly flaky because of asan crashes from use after stack frame issues. Reading the code it should
137.
▲
by
grogers
4y ago
I mean, in the real world you probably use a library method. If I were an interviewer I would not be expecting the candidate know about median-of-medians (O(n) worst case). I wouldn't even expect they know a-priori about quickselect (O
138.
▲
by
grogers
4y ago
That's a big overhead for both the candidate and the company. Only an unemployed candidate could do that, and even then they'd have to stop interviewing at other places to dedicate the month. No thanks.
139.
▲
by
grogers
4y ago
This is a good reference, but IMO page tokens need to expire, even if you aren't storing any data for them. Expiring tokens make it possible to change pagination formats over time (you only need to wait the expiry time while supporting
140.
▲
by
grogers
4y ago
The firmware's job is wear leveling - making sure all the sectors wear out at about the same time, which they do a great job at. But SSDs can write so fast that you can burn out the drive in months (maybe even weeks?) if you wanted to.
141.
▲
by
grogers
4y ago
Page = minimum read/write unit, block = minimum erase unit. Blocks are composed of some integer number of pages. Planes don't matter (probably).
142.
▲
by
grogers
4y ago
Lock/wait freedom is not about performance but about progress guarantees. Often lock free data structures are not faster than locked ones. Reducing contention applies to both locked and lock-free structures.
143.
▲
by
grogers
4y ago
It's byzantine consensus. It's slightly wrong since you need 3f+1 for byzantine consensus (so 7/10 not 6/10) but the basic point is valid. There are some crypocurrencies based on a similar model, but they aren't as
144.
▲
by
grogers
4y ago
I seriously doubt the compiler deduplicating header files that specify "pragma once" is what is slow about parsing all those header files. I really think the main issue is that all the different translation units have to reparse t
145.
▲
by
grogers
4y ago
Even if it takes a little more time to do the migration online, it's way less stressful. If something goes wrong during any stage, just roll back and figure it out tomorrow. If something goes wrong when you have turned everything off,
146.
▲
by
grogers
4y ago
Re: bonds - it's not that crazy to think that high inflation may be behind us, and things settle down soon. 8% YoY is the trailing number, we have no idea what the leading number will be. It's also not that crazy to think that ris
147.
▲
by
grogers
4y ago
I mean, hawking radiation itself is unproven - we can't experimentally verify it because the temperature of the radiation from stellar mass black holes would be too small. For small black holes, nobody has seen one 'pop'. In
148.
▲
by
grogers
4y ago
There's no way to specify every single application specific constraint directly in the database. Race conditions are not present when using locking reads (select ... for update, or DB specific shared locking selects) or serializable is
149.
▲
by
grogers
4y ago
I enjoyed freetaxusa as well. Only thing that was a little weird was that I ended up entering some forms out of order and because of that it was saying my backdoor roth ira rollover was taxable income, but when I went back through and re-en
150.
▲
by
grogers
5y ago
I feel like worrying about the cost/efficiency of the heat engine of a fusion device at this stage is putting the cart before the horse. 40% efficiency is really good when the reactants are practically free. IMO the reason that HB11 ma
More ›