Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zb
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
9 ms
·
31.
▲
by
zb
6y ago
> Python's "threads" are actually fibers. They’re actually not. They are native threads with high lock contention. Async is arguably fibers, as are greenthreads in libraries like gevent or eventlet. > But if you want to
32.
▲
by
zb
6y ago
I recall encountering compilers that required this - there was no linker essentially. Sometimes that was all you had available. Most of the manufacturers eventually just wrote gcc backends for their architectures, but the era of crappy prop
33.
▲
by
zb
6y ago
A relative started getting pulled over a lot for speeding right after he bought a red car. Solution: he’s an ex-Marine so he bought a USMC number plate surround (not even one of the custom plates that require proof that you’re a veteran!).
34.
▲
by
zb
6y ago
Let’s be clear here that the fault is not with Python but with Windows. Python uses text mode by default to avoid surprising beginners on Windows. If you only use Unix-like OSs you will never have this problem.
35.
▲
by
zb
6y ago
They’re not ‘sitting on’ a pile of stock; it gets bought back and cancelled. A company can issue more stock any time it likes, so in that sense every company is ‘sitting on’ an infinite pile of its own stock all the time.
36.
▲
by
zb
6y ago
It’s not often I dare to disagree with Ross Anderson, but most of these objections don’t make a lot of sense to me. There’s nothing to stop the app from phoning home once a contact is identified, so all of the human-in-the-loop stuff is sti
37.
▲
by
zb
7y ago
Babies don't have (ossified) kneecaps - their knees are already padded. And, as 100% of parents will agree, babies will definitely, definitely tell you when they hurt.
38.
▲
by
zb
7y ago
Instead of raising StopIteration you have to return from the function, otherwise you'll just get a RuntimeError starting with Python 3.7.
39.
▲
by
zb
7y ago
You also get them when someone who is baking commercial quantities of bread in a batch has to scale their recipe down for a home baker who can't physically bake, let alone eat, that much. Bread recipes are designed to scale up and down
40.
▲
The Flip that led to a Flap (1974)
(si.com)
1 points
by
zb
7y ago
|
0 comments
41.
▲
by
zb
7y ago
The New Yorker has a famously idiosyncratic style guide that calls for diaresis to be explicitly marked (in words like e.g. coöperate). This is pretty interesting though because it seems to indicate that the pronunciation has shifted - nobo
42.
▲
by
zb
7y ago
The underwriter guarantees that the company will raise a certain amount of capital, by agreeing to take up the shares themselves if nobody else does, in exchange for a cut. https://en.wikipedia.org/wiki/Underwriting#Sec
43.
▲
by
zb
7y ago
I expect it was meant to say "lower-latency throughput".
44.
▲
by
zb
7y ago
I'd be very interested to know what experts think of Peter Naur's Turing Award lecture (entitled "Computing Versus Human Thinking"), which has a thesis along similar lines to the article. It certainly has plenty of the h
45.
▲
by
zb
7y ago
Higher than you'd think, apparently.
46.
▲
by
zb
7y ago
All things aren't equal because the company doesn't have the money it used to buy back and cancel the shares any more. If the shares were appropriately priced before then each outstanding share is worth about the same after.
47.
▲
by
zb
7y ago
I believe the first version of the iPhone OS did this. It was terrible (often it was literally impossible to type the thing you wanted) and they quickly replaced it with autocorrect instead.
48.
▲
Open banking aims to create competition in New Zealand payments space
(rnz.co.nz)
2 points
by
zb
7y ago
|
0 comments
49.
▲
by
zb
7y ago
If I recall correctly, the first crew encountered the issue during cruise, at which point which you have both (a) time, and (b) sufficient altitude that you can afford to push the stick forward in order to reduce the aerodynamic force on th
50.
▲
by
zb
7y ago
It is universally acknowledged that the strategy prior to 2.7/3.3 was wrong, and that this delayed the transition by several years.
51.
▲
by
zb
7y ago
Zuul ( https://zuul-ci.org/ ) is an open source CI/CD system that does speculative execution of CI on changes across multiple repos. So if you have a change in one repo that depends on a change in another, you can test b
52.
▲
by
zb
7y ago
Not exactly for free, but there are free tools that handle this job for you very nicely: https://zuul-ci.org/
53.
▲
by
zb
8y ago
And also Arlington didn't become a cemetery until the 1860s, during the Civil War.
54.
▲
by
zb
8y ago
Possibly due to federal vs. state jurisdiction?
55.
▲
by
zb
8y ago
It's interesting to me how views are so polarised. I once asked a professional cook where the best restaurant in town was and she said she mostly just ate at WaHo. I had seen the Bourdain clip. So when I finally went there the first ti
56.
▲
by
zb
8y ago
Matt Levine is actually a lawyer.
57.
▲
by
zb
8y ago
For those who are interested, there is a much more thorough technical treatment of this experiment in Richard Gabriel's article "Design Beyond Human Abilities": http://richardgabriel.org/Files/DesignBeyon
58.
▲
by
zb
8y ago
If you're an expat, you really need one of those insurance polices in addition to regular US insurance, as you'll discover when you try to claim. My colleague spent weeks on the phone arguing with the insurance company while deb
59.
▲
by
zb
8y ago
A less glib way of putting this is that in structural engineering construction costs dwarf design costs, while in software engineering the reverse is true. If your construction phase consists of "type 'make' and grab a coffee
60.
▲
by
zb
8y ago
> this seems clearer and reasonably painless but gives the wrong answer, as you'll see if you try to sort [('a', 2), ('a', 1)]
More ›