Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halayli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
39 ms
·
391.
▲
by
halayli
10y ago
Parsing is just a small part of an http server. You can check the links I posted to see how much work is involved in validating http headers (after parsing), and creating http responses.
392.
▲
by
halayli
10y ago
This isn't a fair comparison. the "HTTP server" presented isn't doing any checks / validation that a typical web server does. Compare https://github.com/MagicStack/vmbench/blob/master&
393.
▲
by
halayli
10y ago
You can be an excellent C programmer but still create horrible abstractions. Programmers underestimate the art that goes into that.
394.
▲
by
halayli
10y ago
Shameless plug: http://lthread-cpp.readthedocs.io/en/latest/lthread.html
395.
▲
by
halayli
11y ago
It's not a language, but an API. They could have called it JQA and avoid a potential Atlassian lawsuit
396.
▲
by
halayli
11y ago
This isn't the first time a config system at Google causes a major outage. https://googleblog.blogspot.com/2014/01/todays-outage-for-se...
397.
▲
by
halayli
11y ago
Something is still missing. It's hard to imagine such drastic performance difference in btree implementation. btw I've had better experience using kyoto db than levelDB.
398.
▲
by
halayli
11y ago
That's because leveldb by default writes asynchronously. And probably at the time of reading they were still in RAM/cached.
399.
▲
by
halayli
11y ago
Inheritance isn't terrible if you design your classes properly.
400.
▲
by
halayli
11y ago
Because of the # of trolls here, sometimes it's hard to differentiate between sarcasm and trolling.
401.
▲
by
halayli
11y ago
> Proprietary software is usually used in controlled environments all the while building up fragility for a major catastrophic event waiting to happen Not necessarily true. OSX, Oracle, MS etc.. are used by many and are under constant st
402.
▲
by
halayli
11y ago
There's std::optional that's still in the works: http://en.cppreference.com/w/cpp/experimental/optional
403.
▲
by
halayli
11y ago
Thanks! I wasn't aware of them :)
404.
▲
by
halayli
11y ago
Thanks Tyler! It might be helpful to also add redux + async to it.
405.
▲
by
halayli
11y ago
I am more than happy to contribute but I have a feeling you've mistaken me with someone else? :)
406.
▲
by
halayli
11y ago
Congrats to the sales team at Google Cloud. I wonder how much Google's new AI services played a role in convincing Spotify to use them.
407.
▲
by
halayli
11y ago
Then introduce a new set of bugs that will take years to iron out.
408.
▲
by
halayli
11y ago
If you're interesting in ES6, I highly recommend Exploring JS ( http://exploringjs.com/ )
409.
▲
by
halayli
11y ago
That's not true either. In Redux the reducer is always pure and never modifies its arguments, at least in principle. It returns a new copy representing the new state. Dan Ahramov relies on deep-freeze to always assert this fact in all
410.
▲
by
halayli
11y ago
He starts with a negative tone when describing react & redux without backing up his negatively with proper & convincing arguments just so that later he can throw in his alternative solution. I don't know why we keep doing it bu
411.
▲
by
halayli
11y ago
In lthread-cpp (wrapper around lthread) it's even easier because of RAII. Example: http://lthread-cpp.readthedocs.org/en/latest/listener.html#e... TCPListener closes the socket once its done and cleans up. An
412.
▲
by
halayli
11y ago
What's the reason behind not allowing issues to be deleted?
413.
▲
by
halayli
11y ago
But that same author approved the idea. You see the contradiction?
414.
▲
by
halayli
11y ago
PG's writings aren't the bible. Situations and verticals vary. You still need to use your reasoning after all and judge yourself. Case in point, PG himself agreed to this business idea which in your opinion contradict himself.
415.
▲
by
halayli
11y ago
Any decent web server shows the response time. This can easily be verified. I am not sure why such number isn't tracked in the first place.
416.
▲
by
halayli
11y ago
Tableau Software Inc down -35.8% https://www.google.com/finance?q=NYSE:DATA
417.
▲
by
halayli
11y ago
Last I've done frontend dev was 2012, now I am doing frontend for a new project and while it's gotten much better, it's very overwhelming. I had to familiarize myself with react, es6, babel + plugin, scss, redux & its con
418.
▲
by
halayli
11y ago
For those interested in this topic, I've written c++ wrappers around lthread. http://lthread-cpp.readthedocs.org
419.
▲
by
halayli
11y ago
FB stocks up 12% https://www.google.com/finance?cid=296878244325128
420.
▲
by
halayli
11y ago
It's not like Github has 2 engineers only.
More ›