Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thedance
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
151.
▲
by
thedance
7y ago
That's one of the main problems. I started with the demo frontend that comes in the box and just hacked on that. I'm no UI developer by any stretch.
152.
▲
by
thedance
7y ago
The one that people at Google who are the keepers of C++ code quality standards maintain themselves is Abseil. https://cs.opensource.google/kythe/kythe/+/master:external/c...
153.
▲
by
thedance
7y ago
Stonks already hit the downside circuit breakers.
154.
▲
by
thedance
7y ago
Bringing up kythe from scratch is very daunting. First thing I did when I left google, of course, but still really hard.
155.
▲
by
thedance
7y ago
There's also the XOR compression scheme described by Facebook: https://www.vldb.org/pvldb/vol8/p1816-teller.pdf
156.
▲
by
thedance
7y ago
It sounds a bit like you invented RecordIO[1]. I didn't realize you meant decoding from a stream containing several protobufs. In that case you do indeed need some kind of framing, because there is no end-of-message delimiter. The po
157.
▲
by
thedance
7y ago
You can't, that's why they said fixed point. Time series data should probably never use floats, for the exact reason that delta-encoding is not effective.
158.
▲
by
thedance
7y ago
But the existence of the hex float format, and the fact that it accepts either 0x or 0X, upper or lowercase characters for A-F, dot or comma for the point depending on locale, and either p or P for the exponent, all contribute to the reason
159.
▲
by
thedance
7y ago
I think the bigger risk is you write a blog about some "cool stuff" you are doing and it's actually not cool, it's dumb and obsolete and people who might have been thinking about working at your company go apply to Micro
160.
▲
by
thedance
7y ago
InnoDB (MySQL) uses aio where available.
161.
▲
by
thedance
7y ago
Yes, they just published this article that compares two cloud server platforms based on how many times per hour they can run SPEC, which is totally on-brand for them and either a new low in the art of server benchmarking or a wry attempt at
162.
▲
by
thedance
7y ago
I can't think of a single thing in the C or C++ standard library that is state of the art. Often they are actually quite terrible. Some of them just can't be fixed because of ABI compatibility issues. That's why, just as a
163.
▲
by
thedance
7y ago
I don't know. I'd be very squicked out to expose a C++ HTTP client to the big bad world, i.e. as a web crawler. For private use, technically speaking gRPC contains an HTTP client. More likely I'd fork a process in a safer l
164.
▲
by
thedance
7y ago
HN is collectively schizophrenic on this topic. On the one hand, the comments say that nobody really needs anything fancier than JSON. On the other hand, other comments say that if JSON parsing shows up in your profiles, you should switch
165.
▲
by
thedance
7y ago
It's not silly at all. Replacing a lot of sprintf calls with Grisu and later Ryu made a huge difference in the production fleet at my last job. It wasn't by any means "the bottleneck" but it was costing real money. Mo
166.
▲
by
thedance
7y ago
FWIW, as a Xoogler, I find I can get pretty far with 1) abseil, 2) grpc, 3) protobuf, and 4) groping around in every open source Google project to find the thing I need (for example, until recently, Cord could be found in random projects bu
167.
▲
by
thedance
7y ago
There's nothing fundamental about protobuf itself that prevents streaming output. You just have to make a pass over the proto structure first to compute the sizes, then stream it out using the precomputed sizes. At no time do you nece
168.
▲
by
thedance
7y ago
Well yah, those are all ratio-tuned codecs that are very slow. LZMA beats bzip2 on both ratio and speed so you might as well forget about bzip2 forever. Zstd, snappy, LZ4, or even brotli are probably better choices than zlib for most peopl
169.
▲
by
thedance
7y ago
I’d be rethinking the hundred services, to be honest.
170.
▲
by
thedance
7y ago
Why is it important to have absolute accuracy on the 12V pin?
171.
▲
by
thedance
7y ago
But how do they control it? Is it just that they make a good product at a market-clearing price, or do they abuse the system somehow? In my mid-sized American city there are not just one but two local mattress makers that I could buy from
172.
▲
by
thedance
7y ago
There are plans that are exempt from ACA's "requirements" because of course there are, and the current administration has used its rules-making powers to expand such exemptions. These are not limited to backwater states with
173.
▲
by
thedance
7y ago
That's true but it's also true that the plans need not cover maternity. There are tons of ACA plans that don't. And in "markets" with one player they can just name their price. None of this is your fault of cours
174.
▲
by
thedance
7y ago
Another good example of long-term decline is gold. In real dollars gold has never returned to its 1980 price. It went up 10x in the decade to 1980 and some people thought it would just go up forever. If you bought the dip after gold peak
175.
▲
by
thedance
7y ago
I think the VIX did hit 90 mid-session in late 2008.
176.
▲
by
thedance
7y ago
This advice is both common and crazy. Each individual does not live the average life. Being able to recognize once-in-a-lifetime events, and act on them, is a rational strategy, even if it seems like it is not the optimal strategy for the
177.
▲
by
thedance
7y ago
You sound a tiny bit like 2006-edition real estate agent. https://www.millersamuel.com/wp-content/uploads/oldimages/NA...
178.
▲
by
thedance
7y ago
The market has just been unhinged lately, because there are a lot of huge positions that would love to sell but just can't unwind. Consequently there has not been an effective downward pressure on asset prices, and a lot of garbage is
179.
▲
by
thedance
7y ago
As someone who has had to shop for health insurance before, how am I supposed to just "buy any insurance I want"? On the private market? That doesn't work for a lot of people. For example, a person who is already pregnant wil
180.
▲
by
thedance
7y ago
The security of the BlackBerry came from the fact that an organization could deploy their own data message servers, the “BES” that’s connected directly to your intranet. It was a bit vpn-like, but at the application layer. IT guys liked it
More ›