Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
18 ms
·
121.
▲
by
zb
11y ago
I don't see roundabouts as a replacement for traffic lights in the US. Above a certain traffic volume, you'll almost always want to move to traffic lights anyway. They're actually a replacement for the 4-way Stop - a ridiculo
122.
▲
by
zb
11y ago
> If they're smart, why haven't they found a way out of poverty yet? It's tempting to think you're just trolling, but this view seems to be widespread enough that it's worth a serious answer. It's because
123.
▲
by
zb
11y ago
I was amused to read this: "They never found the cause for the disagreement, but in late 2014 the NIST team achieved a match with the other two" at a time when this story, also from Nature, is also on the front page: https:/
124.
▲
by
zb
11y ago
Nothing to do with Python, it looks like a Qt thing. Not much the author can do about that.
125.
▲
by
zb
11y ago
The translation into a linear flow of commands is an oversimplification - it assumes that the graph is a specific type of tree, when in fact any directed acyclic graph is valid. Also, I personally find it way more interesting what happens w
126.
▲
by
zb
11y ago
> there wasn't any mention if they were a) necessary, They were not. It is never necessary to have 10,000 global variables. If you have 10,000 global variables you are systematically Doing It Wrong. (That's not to say it&#x
127.
▲
by
zb
11y ago
find . -name '*.orig' -delete
128.
▲
Meet the ecomodernists: ignorant of history and paradoxically old-fashioned
(theguardian.com)
2 points
by
zb
11y ago
|
0 comments
129.
▲
by
zb
11y ago
While some people believe that, it's worth noting that the participants claimed that the pacifist clause was inserted by MacArthur on the request of the Japanese Prime Minister. https://en.m.wikipedia.org/wiki/Arti
130.
▲
by
zb
11y ago
How much do teachers in her school system who have 25 years experience make? In my state, which has comparable starting salaries, $56k assuming they obtained some professional certification along the way. Otherwise, $50k. (For comparison,
131.
▲
by
zb
11y ago
I can't detect any difference between his proposed approach and Harlan Mills's Top Down System Development. Basically, he's going to take this 'traditional' team and introduce them to the hot new development methodo
132.
▲
by
zb
11y ago
If you find that this is a regular part of your workflow, then you should consider trying Stacked Git: http://procode.org/stgit/ (That page is actually out of date; it's actually somewhat better maintained than it
133.
▲
by
zb
11y ago
Locally-scoped (i.e. static) variables are, by definition, not global variables. The article is pretty clear that the 10,0000 figure refers to truly global variables, and I would hope that the original expert witness has not misled us by re
134.
▲
by
zb
11y ago
This may or may not be of interest to you personally, but this is probably a good time to remind everyone that: 1) OpenStack is written almost 100% in Python and 2) Nobody involved heavily in OpenStack ever has to go looking for work - recr
135.
▲
by
zb
11y ago
Oh, no need for scolding. It wasn't like you submitted this to HN yourself, and you're entitled to write whatever linkbait you like on your own blog. FWIW I found it mildly amusing.
136.
▲
by
zb
11y ago
Technically this was more of a parody rather than satire. Satire would imply that you were making a deeper statement about Buzzfeed. In fact you were just re-using the form in a joke-y way as a linkbait headline for something unrelated. Hop
137.
▲
by
zb
11y ago
The article states quite clearly (in the fourth paragraph) that the amount of data in question is 25TB. It later mentions that the data was spread across 32 servers and that lawyers compared it to the amount of data in 100 laptops - which w
138.
▲
by
zb
12y ago
…commercial software such as the Coverity system for security checking on code, must come out of the $7,000 monthly stipend or be charged to his consulting business. Coverity is free for Open Source projects, why is he paying for it at al
139.
▲
by
zb
12y ago
It's possible to make that exact argument in reverse. Those goals are, if not quite universal human values, products of a rich and extremely broad-based cultural tradition. In contrast, being data-driven means selecting goals that are
140.
▲
by
zb
12y ago
Note that this is the FAA's second attempt to replace the system. The first one, in the 1980s, went even worse - one participant called it "the greatest failure in the history of organised work": http://www.baselin
141.
▲
by
zb
12y ago
A similar act occurred as part of what may now be regarded as the foundation of Western democracy: https://en.m.wikipedia.org/wiki/Seisachtheia was a regular feature of the ancient world: https://en.m.wikipe
142.
▲
by
zb
12y ago
> If US can grow 159 bushels of corn per acre, and African countries are currently at 29, why is the 15 year goal for African countries only 48 bushels per acre instead of somewhere close to the US? And getting yields to that point has c
143.
▲
by
zb
12y ago
There's an interesting extended discussion about this experiment in Richard Gabriel's essay "Design Beyond Human Abilities" as well: http://dreamsongs.com/Files/DesignBeyondHumanAbilitiesSimp.p...
144.
▲
by
zb
12y ago
They do, it's called Windows Embedded, and OEMs customise it to include only the components they need.
145.
▲
by
zb
12y ago
Enigma is an outstanding book, but once you've read it the film is pretty disappointing in the way it falls back on Hollywood tropes. However, a 'gratuitous' spy plot is not one of them; Enigma is not a documentary, the p
146.
▲
by
zb
12y ago
IIRC it was done deliberately because the astronauts demanded that the shuttle not be able to fly without them. I always assumed this was a job protection scheme, though more charitably I guess it could have been to make sure that NASA was
147.
▲
by
zb
12y ago
The only permitted keys are str, and the rest are silently ignored. This is another bug in his implementation (only the first line should be indented, but both are). Your code is fine - you're not storing everything twice, but he is
148.
▲
by
zb
12y ago
I haven't tried it but here's some issues from a superficial code review: This uses twice as much memory as it needs to (and opens the door to potential inconsistency) by storing everything redundantly in both the attributes dicti
149.
▲
by
zb
12y ago
Almost, he is also converting ordinary dicts that get added as items to his own Dict class to enable you to keep using this syntax further down the tree, so you'd need a small wrapper around __setitem__. But yes, the idea of storing ev
150.
▲
by
zb
12y ago
Because if there's a \ you want to skip over the next character, even if it's a ", but if it's not escaped then you want " to be the end of the string.
More ›