Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shin_lao
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
56 ms
·
541.
▲
by
shin_lao
13y ago
The purpose of C++ is to provide experts with a toolbox to do anything without any compromise. This is why the language is hard to master and very easy to misuse. It's a two edged sword literraly. Although in C++ one could say it'
542.
▲
by
shin_lao
13y ago
In C++ it's even easier than in C to safely use stack-based allocation (thanks to RAII) so this it's better because it's C rather than C++ is a huge warning sign.
543.
▲
by
shin_lao
13y ago
"Bureaucracy expands to meet the needs of the expanding bureaucracy" --Oscar Wilde
544.
▲
by
shin_lao
13y ago
If someone has no job their perceived lack of purpose ultimately pushes them into mental illness, drug abuses or even suicide. I agree with this, but I think the real reason is more profound. I think working is a "need" and then
545.
▲
by
shin_lao
13y ago
It depends on where you are from.
546.
▲
by
shin_lao
13y ago
Apple would be a good counter-example to your: This should make a lot of entrepreneurs happy, as there will continue to be a lot of top-down management-driven products that, if history shows, will continue to be market failures. There
547.
▲
by
shin_lao
13y ago
I think the future of fast food is some kind of automated food dispenser with a dining area. You need a couple of people to oversee the facility and assist people who need help.
548.
▲
Steve Jobs’ friend Larry Ellison: Apple without Steve is doomed
(venturebeat.com)
2 points
by
shin_lao
13y ago
|
0 comments
549.
▲
by
shin_lao
13y ago
I think it's a play of word on the famous "Sex, Lies and Videotape" movie: http://www.imdb.com/title/tt0098724/
550.
▲
by
shin_lao
13y ago
The important part of my comment is such trivial cases ;)
551.
▲
by
shin_lao
13y ago
Buffering impacts performance when it transforms many small writes into one big write (same for reads). In that case since you are waiting for the answer at every iteration, I'm not sure I see how it could have an impact.
552.
▲
C++ concurrency cheatsheet
(cpprocks.com)
3 points
by
shin_lao
13y ago
|
0 comments
553.
▲
by
shin_lao
13y ago
> The most plausible explanation would amount essentially to a misconfigured library, not a fundamental advantage due to say, advanced JVM JIT. Configuration rarely impacts such trivial cases. I would rather bet on a thread affinity or p
554.
▲
by
shin_lao
13y ago
I would take the memory measurement with a grain of salt. A 200 MiB large JVM doesn't mean all the 200 MiB are used. They could have been reserved (preemptive memory allocation).
555.
▲
by
shin_lao
13y ago
I have a similar experience. When I started my business, I really wanted an AM V8, but now that I can afford it, I don't care that much.
556.
▲
by
shin_lao
13y ago
I think the JVM TCP stack is extremely mature, but I'm really surprised to see that Go is ten times slower. It would have been interesting to have a C/C++ benchmark for reference.
557.
▲
by
shin_lao
13y ago
The problem is the optimization phase. Without optimizations bugs are extremely rare.
558.
▲
by
shin_lao
13y ago
I'm not sure MSVC produces faster code than gcc. Icc does, but MSVC doesn't. Note: our build system uses three compilers.
559.
▲
by
shin_lao
13y ago
FreeBSD moved to clang. I don't know for Apple.
560.
▲
by
shin_lao
13y ago
To be honest, there is no application I currently miss on my Windows RT. Except foobar2000 maybe. But where you are spot-on is for old games: the ARM has got enough punch to run them and it would turn the RT into an old game portable consol
561.
▲
by
shin_lao
13y ago
I have a Surface RT as well and I'm super happy with it. I can do serious Office work with it, work on any file, browser, mail, etc. I bring it with me all the time when I go to my customers to take notes. Last time I was in a conferen
562.
▲
by
shin_lao
13y ago
You should re-read my comment. I'm talking about our customers who have this problem, resulting in us having the problem because we can't get the right person. The problem is not being there few hours less per week but being in va
563.
▲
by
shin_lao
13y ago
I'm not talking about my business... Please re-read.
564.
▲
by
shin_lao
13y ago
I'm sorry but we have too many vacations and it's hurting business. Very often we can't reach a person because he's off and the proxy has no clue. This is very true at big corp. We wasted a lot of time that way. Employee
565.
▲
by
shin_lao
13y ago
Well, if you exchange your keys via DH and start using that key to cipher the communication, you're going to find out very soon if you exchanged the key properly, won't you? In essence, once you've agreed on a key you won
566.
▲
by
shin_lao
13y ago
DH is zero-knowledge in the sense that the two peers have no knowledge of each other, and yet share a knowledge at the end. Again, I admit my word usage is a little bit liberal, but although I haven't done serious crypto for a couple o
567.
▲
by
shin_lao
13y ago
True, my usage of designed was a little bit liberal here. Mr. Diffie is one of the authors of the first paper to introduce the concept of PFS, but the DH key exchange algorithm hasn't been designed for PFS but rather for 0-knowledge ke
568.
▲
by
shin_lao
13y ago
Your answer raises my eyebrows even more. I ask why you don't use DH and you answer "because we want forward secrecy". DH has been designed for perfect forward secrecy. Therefore I fear we might have some sort of misunderst
569.
▲
by
shin_lao
13y ago
Unconvinced. * Lossless UDP? Is there a reason not to do TCP? * There is no way to know if the public key is genuine, so the system is very sensitive to MITM. * The key exchange is inadequate. Why not do DH if it's just to have session
570.
▲
by
shin_lao
13y ago
I agree with everything you said and I also think that it cannot be automated and/or self-regulated. At some point a conscious decision will have to be made to either strongly moderate political topics or to let HN slide to a different
More ›