Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
wzdd
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
361.
▲
by
wzdd
11y ago
Your last question is "have you seen a test about confirmation bias before?" But the text of this test says that it's about "why no-one likes to be wrong", which means it's pretty obviously about confirmation b
362.
▲
by
wzdd
11y ago
Mercurial works well with github, as it can communicate with git servers. I've used github in the past with several Mercurial projects without issue. So you can move to github and keep hg.
363.
▲
by
wzdd
11y ago
To be fair, you don't have complete control over struct memory layout in standard C, either, and C is certainly a systems language. The compiler can choose to add padding where it likes. Pragma pack, attribute(packed) etc are compiler
364.
▲
by
wzdd
11y ago
You don't have to, but they reduce development cost by reducing the impact of per-device differences such as those between various versions of OpenGL ES, various versions of OpenGL, various manufacturer-specific implementation quirks o
365.
▲
by
wzdd
12y ago
I'm fairly sure that the reason for this universal behaviour is that there are plenty of broken, looping gifs out there with inter-frame delays of 0. I used a version of Konqueror which would spin at 100% of a core when it encountered
366.
▲
by
wzdd
12y ago
They wrote a Lisp, and added a feature to the Lisp, which they can do really easily because Lisp has macros. Their choice of runtime environment (Python 2) doesn't impact anything. They didn't port "yield from" to Python
367.
▲
by
wzdd
12y ago
> I tend to think of most "tracking" not as "stalking" but as "relationship building." That is just another term (and a significantly creepier one) for the same thing, for those people who don't want th
368.
▲
by
wzdd
12y ago
> One of the things noted in the study is that being on social media makes people less likely to discuss topics in person No, that's not noted in the study at all. The study only notes that people who don't want to discuss it i
369.
▲
by
wzdd
12y ago
This is a nonsensical post in this topic. Eich didn't post (or fail to post) on social media, he donated to a political campaign. In fact, social media outcry -- in other words, the opposite of what this article is discussing -- is wha
370.
▲
by
wzdd
12y ago
In terms of impact right now, the app permissions thing is a much bigger problem, yes. People get scammed by apps every day, whereas this doesn't appear to be being exploited in the wild at all.
371.
▲
by
wzdd
12y ago
This is blogspam for the Reuters article it links to, which has neither the inaccurate title nor the speculation (i.e. that blocking based on geo-ip would not be acceptable).
372.
▲
by
wzdd
12y ago
The very first part of the article, "Hardware Selection", covers this point and recommends that the secure device not have a baseband. They use a wifi-only Nexus 7.
373.
▲
by
wzdd
12y ago
The last bank backend I worked around was composed of several interacting systems, written 30 or 40 years ago in COBOL, which ran batch jobs overnight and communicated with each other by writing files to disk. We were strongly encouraged to
374.
▲
by
wzdd
12y ago
Thread A sets g1 to A (line 31), thread A enters the "if" statement (line 32), thread A reads the value of g1 and is about to write that value to g2 but gets pre-empted (half of line 33). Thread B sets g1 to B (line 31), thread B
375.
▲
by
wzdd
13y ago
There are plenty of kernels which don't do most of the things you mentioned.
376.
▲
by
wzdd
13y ago
Lots of Python objects are falsey: empty lists, empty strings, etc. So it's never a good idea to write "if <thing>" when you mean "if <thing> is not None". This is pretty well-known, I thought.
377.
▲
by
wzdd
13y ago
While we're talking about important mistakes, [CLI 2] should in square brackets, not round ones. :)
378.
▲
by
wzdd
13y ago
In this case, it specifically matters because people want to know if they can safely disable it. Intel's answer shows that they can and also covers the (mild) consequences.
379.
▲
by
wzdd
13y ago
Hearn claimed that there are two ways to fund services: through advertising, and through direct user payment. This is wrong. There are plenty of other ways to fund services. You could fund them indirectly, through sales of another product.
380.
▲
by
wzdd
13y ago
I realise what is meant, but not only is the term "granny" both sexist and ageist, it is also unnecessary. There is no useful distinction between a "granny" and a "user" in this person's hierarchy. MOST pe
381.
▲
by
wzdd
13y ago
I switched to OVH last month. They are not as good as Linode: my VPS was rebooted recently, and I've had to make a couple of changes to the default configuration to deal with some weirdnesses (screen and tmux would exit immediately, fo
382.
▲
by
wzdd
13y ago
I didn't think so, but I mentioned it because the Wikipedia article on Merkle-Damgård hashes ( http://en.wikipedia.org/wiki/Merkle–Damgård_construction ) talks about length extension attacks only in the context of hash collisions: "Length e
383.
▲
by
wzdd
13y ago
Yes, sorry for deleting a comment when there was a reply! For posterity, it was something like: "it seems like you would need to break MD5 in order to do this, because you'd have to update the length."
384.
▲
by
wzdd
13y ago
Thanks, I looked up Merkle Damgard now understand the comments about padding and how they would affect things. But I was specifically thinking of the following scheme: Message: [length][key-value pairs] Hash: MD5 (shared secret, message) As
385.
▲
by
wzdd
13y ago
I'm just curious: the obvious response to the first problem (message extension attack) is to include the message length in the message. If this wouldn't work, could an expert please tell me why? Edit: To be specific, I was thinking of a Pas
386.
▲
by
wzdd
13y ago
My mistake, you're correct. I still suspect he was seeing 1.0 though, so I guess he was just looking at the top 2 bytes of a 4-byte float.
387.
▲
by
wzdd
13y ago
I'm sure you know now, but you don't mention it: 0x3f80 is 1.0 represented as a half-precision (16 bit) float.
388.
▲
by
wzdd
13y ago
To be fair, the difference between this and 'some variation on this' is also the difference between the iPhone and Windows Mobile 6.
389.
▲
by
wzdd
13y ago
Obvious response: the programmers whose skills declined over time stopped being programmers. Selection bias, in other words. Apparently the study didn't take this into account? Edit: I'd love for this study to be meaningful, as I'm in my 30
390.
▲
by
wzdd
13y ago
There are so many things wrong with the comparison table it's difficult to trust the article. The Uno can run on 5v, not 7-12v; the Pi has shipped with 512MB of RAM for quite some time now, not 256MB; the Pi has 17 GPIOs, not 8. For example
More ›