Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ot
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
43 ms
·
571.
▲
by
ot
10y ago
I didn't mean "amateurish" in a judgmental way, it's a matter of fact that the author is a novice when it comes to hash tables. He himself admits that he doesn't understand some of the details ("Why do prime nu
572.
▲
by
ot
10y ago
The author seems to ignore that GCC's implementation of std::hash is the identity on integral types: https://github.com/gcc-mirror/gcc/blob/cf8c140a8b8131b3ab4f5... This is an incredibly poor design ch
573.
▲
Uber blocks anonymous chat app called Blind
(businessinsider.com)
2 points
by
ot
10y ago
|
0 comments
574.
▲
Dole Food Had Too Many Shares
(bloomberg.com)
418 points
by
ot
10y ago
|
171 comments
575.
▲
by
ot
10y ago
No, you're confusing "undefined" with "unprovable". There are several "safe" languages where every well-formed program has well-defined semantics (for example, most interpreted languages). Undefined behavi
576.
▲
So you want to reform democracy
(medium.com)
2 points
by
ot
10y ago
|
0 comments
577.
▲
by
ot
10y ago
In the Google SRE book they say that if a service has reliability much better than the stated SLO they artificially introduce errors to get closer to the error budget. This is to prevent over-reliance on the measured SLO rather than the sta
578.
▲
by
ot
10y ago
Oh yeah good point, I had forgotten that Presto does not support realtime. About optimizations, I don't know the details, but for one, Scuba is C++ and Presto is Java.
579.
▲
by
ot
10y ago
Scuba is a complete system of log collection, storage and retrieval, and UI/visualization. Presto would only cover the storage/retrival part. Scuba has its own backend for that which is very optimized for the kind of queries the U
580.
▲
by
ot
10y ago
Exactly. And yes, a "sufficiently smart compiler" [1] could have discovered the optimization, the old and new methods are semantically equivalent. It would be interesting to test a superoptimizer on this, but I suspect it wouldn&#
581.
▲
by
ot
10y ago
You should check out how SSO (small string optimization) is implemented. size_t is actually the natural choice, because it is shared with the capacity (or with part of the string in the small case).
582.
▲
by
ot
10y ago
Another (obvious) optimization is to make functions that have to be inline smaller. For example, std::string is used ubiquitously in C++ programs; this change shaved a few MBs of .text from a bunch of large services at FB: https:/&#
583.
▲
The tech of PIXAR part 1: Piper – daring to be different
(fxguide.com)
1 points
by
ot
10y ago
|
0 comments
584.
▲
by
ot
10y ago
Samsung alone is responsible for about 20% of Korean GDP. This article is from 2012, but I don't expect it to have changed much: http://www.theatlantic.com/business/archive/2012/07/whoa-sam...
585.
▲
by
ot
10y ago
Yes, that's what I meant, futures for control flow.
586.
▲
by
ot
10y ago
And with coroutines, futures are useless again :)
587.
▲
by
ot
10y ago
The lack of generalized lambda capture was one of the biggest idiosyncrasies of C++11, given its focus on move semantics.
588.
▲
Event-driven investing, inflection points and how I made 33x my money in 2 weeks
(medium.com)
9 points
by
ot
10y ago
|
0 comments
589.
▲
by
ot
10y ago
This is a great introduction to analytic number theory. I was expecting the standard dumbed down piece with no mathematical insight and far-fetched analogies. Instead, the post is mathematically rigorous and deep, and yet it manages to be c
590.
▲
by
ot
10y ago
I'm not particularly concerned about the standard library, but about the more dynamic features of the language. Not just exec/eval, but for example the complex dispatching logic behind magic methods, especially the various __getat
591.
▲
by
ot
10y ago
There's no mention of whether Grumpy passes the CPython test suite. Until it doesn't, it's not a Python runtime, it's a compiler for a language with Python-like syntax. Compilers like this, from almost-Python to say C&#x
592.
▲
by
ot
10y ago
The objective of the authors is to efficiently exploit multi-core parallelism. PyPy still has a GIL. They have been doing some experiments with transactional memory, but performance is quite bad.
593.
▲
Omnisearch Index Formats – Twitter Blogs
(blog.twitter.com)
3 points
by
ot
10y ago
|
0 comments
594.
▲
Google sued over policies 'barring employees from writing novels'
(theguardian.com)
2 points
by
ot
10y ago
|
0 comments
595.
▲
by
ot
10y ago
This comment should be the top-voted comment, so that next time I land on this story I'll remember why it had so many upvotes.
596.
▲
An Open Source Toolkit for Lightweight Multilingual Entity Linking
(yahooresearch.tumblr.com)
2 points
by
ot
10y ago
|
0 comments
597.
▲
Decoding the Thought Vector
(gabgoh.github.io)
7 points
by
ot
10y ago
|
0 comments
598.
▲
by
ot
10y ago
The advertising industry is very good at advertising the advertising industry
599.
▲
Saidie/redis-wavelettree
(github.com)
1 points
by
ot
10y ago
|
0 comments
600.
▲
by
ot
10y ago
Yeah, double-braces was also my first guess but found out that Clang and GCC handled it differently (!) so I didn't even try to understand what the std mandates. [hey! :)]
More ›