Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jlebar
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
58 ms
·
571.
▲
by
jlebar
12y ago
> It's pretty disheartening to write a simple and obviously correct implementation only to have the interviewer express their disappointment that you didn't use a particular optimization. I almost always preface whiteboard codi
572.
▲
by
jlebar
12y ago
I've never asked fizzbuzz, but I have asked people to count the number of upper-case letters in a c-string. I feel like this is of similar difficulty, for people who claim to know C/C++. When I asked that question, I was looking
573.
▲
by
jlebar
12y ago
Urgh, that should be "principles".
574.
▲
by
jlebar
12y ago
> [RMS is] fully aware of the context and way in which he is perceived. RMS's objective is to be the most extreme person, and to drag that position so far over that no other free software effort can be ridiculed or ignored in this
575.
▲
by
jlebar
12y ago
I'm not defending the CA model; there are lots of known problems. But using a CA-signed cert before pinning it is way better than blindly trusting whatever cert you get on your first connection, which is the OP's suggestion wrt S
576.
▲
by
jlebar
12y ago
If it were a foregone conclusion that HTTP/2 would have a non-secure mode, I'd agree, yes. But in practice HTTP/2 isn't going to have a non-secure mode in most browsers. Maybe you're arguing that it would be better
577.
▲
by
jlebar
12y ago
Given that one can get a CA-signed certificate for free, and that in any case the cost of a cert is dwarfed by the cost of running a nontrivial website, I think you overestimate the number of sites which would be "secured" in this
578.
▲
by
jlebar
12y ago
> The same browsers, ironically, treat self-signed certificates as if they were mortally dangerous, despite the fact that they offer secrecy at trivial cost. (Secrecy means that only you and the other party can decode what is being comm
579.
▲
by
jlebar
12y ago
I think a lot of convenience store clerks in the US would be thrilled if knives, rather than guns, were their main concern.
580.
▲
by
jlebar
12y ago
I'm just going to leave this here: > Police are clearly happy with the results and the shops are also pleased with not have knives waved in their faces Emphasis mine.
581.
▲
by
jlebar
12y ago
Wikipedia says one version of the model S has a battery pack with 85 kWh of juice. So, yes, at 350 kWh/mi, you'd get further on foot... :)
582.
▲
by
jlebar
12y ago
I for one welcome our new convention of giving security vulnerabilities cute logos and names. It elevates their importance in the public eye, which -- I hope -- will elevate the importance of finding, fixing, and avoiding security vulnerab
583.
▲
by
jlebar
12y ago
> smoking a Cuban Cigar can be considered an act of treason currently. "Treason against the United States, shall consist only in levying war against them, or in adhering to their enemies, giving them aid and comfort. No person shall
584.
▲
by
jlebar
12y ago
Not unless we equivocate and redefine "almost all" to be something other than what he used in this video, right? He showed that the ratio of "whole numbers containing 3" to "whole numbers" is close to 1. So th
585.
▲
by
jlebar
12y ago
> I also believe that the graphic card can achieve more parallelisation and therefore handle much bigger JPG images Very large images are fairly rare on the web. In particular phones don't have giant displays, so it's usually
586.
▲
by
jlebar
12y ago
I used to own the jpeg decoder at Mozilla, and this was certainly the case last time I looked at it. Even without SIMD, JPEG decoding is pretty cheap compared to most of the things the browser does. I certainly wasn't clamoring for s
587.
▲
by
jlebar
12y ago
> what about the ~50% of STEM grads who can't find a job in their industry? According to the Census bureau, 74% of STEM grads don't work in STEM [1]. I was pretty surprised to read this, until I looked up what the Census burea
588.
▲
by
jlebar
12y ago
> It absolutely, positively hurts local labor - naturalized citizens - etc. Without a doubt. I think there's little question that increasing the supply of engineers reduces their price -- our salaries. We can argue about whether it
589.
▲
by
jlebar
12y ago
Loops can be implemented with JMPs, and it would be Very Bad if every iteration of a loop invalidated caches. (In fact, it would be Very Bad if just about anything common invalidated caches, given how important they are to modern CPU perfo
590.
▲
by
jlebar
12y ago
I'm getting 500 errors. Google cache: http://webcache.googleusercontent.com/search?q=cache:oALd2oT...
591.
▲
by
jlebar
12y ago
> Almost all these points apply to javascript as well. Sort of. The article talks about why CPython, an implementation of the Python language, is slow. You're right that a naive implementation of Javascript would have many of the s
592.
▲
by
jlebar
12y ago
Adding a plug for git-annex. https://git-annex.branchable.com/ git annex is for more than just backups. In particular, it lets you store files on multiple machines and retrieve them at will. This lets you do backups to e
593.
▲
by
jlebar
12y ago
This is interesting, because the size of a file's encrypted chunks now leaks information about the file's plaintext. I suppose you have some minimum chunk size, and that's one way to keep from leaking too much information as
594.
▲
Ask HN: Can we decipher Greenwald's written messages at the end of Citizenfour?
3 points
by
jlebar
12y ago
|
0 comments
595.
▲
by
jlebar
12y ago
I don't understand your point. Just as the survivability of a fall from great heights is unlikely to be affected by the placebo effect, I would expect that kicking an antibiotic-resistant infection that's had you hospitalized for
596.
▲
by
jlebar
12y ago
Well, sure. In the limit, I'd be sad if a large portion of humanity chose to use the experience machine [1]. More realistically, I'm sad that Americans spend so much time watching TV, even if it makes them happy. I think I can a
597.
▲
by
jlebar
12y ago
Here's a paper supporting this point of view: http://www.bmj.com/content/327/7429/1459
598.
▲
by
jlebar
12y ago
It's hilarious that this makes it into the demo.
599.
▲
by
jlebar
12y ago
Along the same vein, I couldn't help but think "What is this, a social network for hipsters??"
600.
▲
by
jlebar
12y ago
This is similar to "fatvals" in SpiderMonkey (Firefox's JS engine). IIRC SpiderMonkey stores doubles -- the fundamental numeric data type in JS -- as "unboxed" values, using this article's terminology. I'
More ›