Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
menaerus
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
77 ms
·
1261.
▲
by
menaerus
5y ago
I wanted to watch this video for a minute or so (very shallow of me) but ended up being stuck in it for the whole 29 minutes. Very interesting and hard story to tell but also extremely inspiring to see what hell have you been through and wa
1262.
▲
by
menaerus
5y ago
Depends who you ask: if you ask sales people they'd tell you the reason is because the sales strategy wasn't good enough /s
1263.
▲
by
menaerus
5y ago
Yeah, I mean that's just a normal `assert()` from <assert.h> and it doesn't solve the problem because nobody runs debug builds in production neither it is possible in a reasonably complex software predict in what ways your u
1264.
▲
by
menaerus
5y ago
Warned about what exactly? Literally any operation on two unsigned integers can either underflow or overflow and any of those would still be correct and expected behavior.
1265.
▲
by
menaerus
5y ago
Sorry, but you're wrong in both of your claims. First, unsigned integer underflow and overflow is _not_ UB. It is very well defined operation (wrap-around arithmetic) and the bug in question is not the result of undefined behavior and
1266.
▲
by
menaerus
5y ago
This got nothing to do with the memory but to the fact how CPU works with the integers. This means that (low-level) programming language fundamentally cannot solve this problem but only alleviate it either by: 1. Changing the semantics of i
1267.
▲
by
menaerus
5y ago
Fundamentally this problem cannot be solved at the compile-time level because, well, code is dealing with the values which are only known during code execution runtime. So I don't think compiler can do much here other than providing yo
1268.
▲
by
menaerus
5y ago
> DDR4 CAS latency is 15 clocks, which is about 9ns for highest clock frequency. Add to that cache latencies and memory controller latencies and you easily can get about 25-50 ns of latency and more. On my 3rd gen Xeon E5 NUMA machine (t
1269.
▲
by
menaerus
5y ago
Thanks for the effort of creating the video. It looks like it would be useful in a similar sense perf flamegraphs are.
1270.
▲
by
menaerus
5y ago
Quite interesting application of tracing tools, I've only used it for build time optimizations. Do you perhaps have a screenshot to see how the end result would look like ?
1271.
▲
by
menaerus
5y ago
Unless you'd have a dedicated room for your server, I'd advise you to go for workstation machines. Pretty much the same horse power with more affordable hardware without big noise issues. Also, in comparison to v4, Xeons E5 v3 are
1272.
▲
by
menaerus
5y ago
Big-data, AI, HFT ... Basically anything that has been and is a hot topic and which generates a lot of revenue. But I am clearly not thinking of an average Joe level of expertise. It requires to have all around the stack skills including th
1273.
▲
by
menaerus
5y ago
You haven't. That's the sad reality for devs living in the EU (or elsewhere but not in the States). 200k is also a bit generous, senior engineers that are specialized in <xyz> tech do earn much much more than that, anywhere
1274.
▲
by
menaerus
5y ago
> They design chips and market them. They do both things like no other company on this planet. Latter for sure, former not so much. Apple is not designing its own CPUs (but ARM does) nor they are physically manufacturing or improving the
1275.
▲
by
menaerus
5y ago
Until this moment I didn't realize that it also became available for Linux.
1276.
▲
by
menaerus
5y ago
I tend to disagree with this. I've optimized build times on number of occasions on different projects, each being in the venue of multi-million LoC, and none of them benefited greatly from employing precompiled headers, which essential
1277.
▲
by
menaerus
5y ago
I live and breathe C++ full time for more than a decade now. Compiling C++ _has_ always been pain point and big efficiency killer. Especially if you come from other languages (I don't but I enjoy learning other stuff too). It doesn
1278.
▲
by
menaerus
5y ago
Whenever I read articles like this one, it leaves me wondering in what parallel reality do I live in. Or I could put it differently and say that authors making blogposts complaining about full rebuild cycle taking staggering 2 minutes live
1279.
▲
by
menaerus
5y ago
To be more precise, rust is a competitor to C++ and not the other way around. Also, compiling C++ is _not_ worse than compiling rust projects but again the other way around. Although compilation times are a hog in both of these languages, i
1280.
▲
by
menaerus
5y ago
Obvious, it's because MongoDB is web scale.