Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dirtydroog
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
14 ms
·
91.
▲
by
dirtydroog
6y ago
I wonder if Linus will complain about using curly braces for single-line if statements! e.g. +#ifdef CONFIG_POPCORN_CHECK_SANITY + if (WARN_ON(distributed_remote_process(current))) { + printk(" file write at remote thread is not supp
92.
▲
by
dirtydroog
6y ago
Historically, only if the company wasn't French. Now it seems it's a free-for-all, unsurprisingly.
93.
▲
by
dirtydroog
6y ago
What industry?
94.
▲
by
dirtydroog
6y ago
Bingo! Writing a template library is totally different to writing an application.
95.
▲
by
dirtydroog
6y ago
+1, I cringed when Herb Sutter released the 'Almost Always Auto' C++ presentation on YouTube. Sure, auto has its place, and I personally use it, but I just knew that less experience devs would go nuts with it, and it'd only m
96.
▲
by
dirtydroog
6y ago
Are you suggesting that a system's services should be run in individual docker containers?
97.
▲
by
dirtydroog
6y ago
They seem to be different problems though, as that LWN article suggests. It's probably easier to checkpoint/restore an entire image's state than an individual process' state. But even calls like gettimeofday() work diffe
98.
▲
by
dirtydroog
6y ago
It reminds me of the techniques used in railways to smooth the transition from straights to bends. https://en.m.wikipedia.org/wiki/Track_transition_curve
99.
▲
by
dirtydroog
6y ago
That was a very long advert.
100.
▲
by
dirtydroog
6y ago
I suggested an underlying_cast function that converts a typed-enum to its underlying type. It's quite useful for things like sending typed enums to streams.
101.
▲
by
dirtydroog
6y ago
Isn't this a bit fragile though? It's totally fine as long as you own and understand the code. But what's to stop someone new and/or inexperienced from coming along and violating the 'already proven' claim? How
102.
▲
by
dirtydroog
6y ago
In modern C++, inline is used to prevent 'multiple-definitons' errors, not to actually inline the function.
103.
▲
by
dirtydroog
6y ago
What user data doesn't google sell? https://developers.google.com/authorized-buyers/rtb/download...
104.
▲
by
dirtydroog
7y ago
Is Intel's TBB allocator no good? I rarely see it in comparison tests
105.
▲
by
dirtydroog
7y ago
Things like branch prediction, caches, instruction pipelining? Not really. People want the algorithm, not a difficult to translate implementation.
106.
▲
by
dirtydroog
7y ago
Totally agree. It doesn't help at all. Pseudocode would have benn sufficient. Fake machine code? Nope.
107.
▲
by
dirtydroog
7y ago
C++ has a proposal for std::embed http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2018/p104...
108.
▲
by
dirtydroog
7y ago
They bought ARM. Quite a good investment I believe.
109.
▲
by
dirtydroog
7y ago
Maybe not.
110.
▲
by
dirtydroog
7y ago
If Youtube can't make money from you why would they host your content?
111.
▲
by
dirtydroog
7y ago
If you realise you're now locked into the Apple ecosystem don't you want to do anything about it? It's very risky, it is your point of weakness.
112.
▲
by
dirtydroog
7y ago
Well, going by the functional programming crowd's take on immutability, you just have to buy a new laptop each time.
113.
▲
by
dirtydroog
7y ago
What a strange comment.
114.
▲
by
dirtydroog
7y ago
> I want to see, in the flesh, how scared and uncomfortable you are at seeing a candidate write original solutions to real problems. I've no doubt your code is the best in the world (have you a github repo?), but with that attitude
115.
▲
by
dirtydroog
7y ago
Have you not been watching the stock market for the past three weeks?
116.
▲
by
dirtydroog
7y ago
What has that got to do with anything?
117.
▲
by
dirtydroog
7y ago
Reads like someone was forced by their marketing team to write an article about anything at all.
118.
▲
by
dirtydroog
7y ago
For my workload I've struggled to see the advantage containers would give me. Maybe someone here can convince me, rather than the current justification of 'docker all the things'. We have servers, they handle a lot of traffic
119.
▲
by
dirtydroog
7y ago
Does it support timers / timeouts? Thanks for the article, it's very appealing to start to play around with this.
120.
▲
by
dirtydroog
7y ago
Doesn't seem to work on my iPad
More ›