Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bodyfour
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
16 ms
·
91.
▲
by
bodyfour
8y ago
In bash: IGNOREEOF=10 In zsh: setopt ignore_eof In ksh: set +o ignoreeof In tcsh/csh: set ignoreeof Normally I just do this for login shells, so I can quickly exit out of subshells.
92.
▲
by
bodyfour
8y ago
I think that's a poor description of the LIDARless controversy. In the current state of the art there are many things that a self-driving car can do better than any human (reaction speed, never gets distracted, etc) Then there are oth
93.
▲
by
bodyfour
8y ago
Agreed. As many pointed out when the 1.1.1.1 DNS service was introduced, it's an address that is often used (incorrectly) as an internal or temporary IP. Then all it takes is a slight mistake in your route redistribution and suddenly
94.
▲
by
bodyfour
8y ago
> The system has been designed to not allow strategizing, as strategy often backfires on the student, as well as it's argued that students from lower class backgrounds make more strategic mistakes. The flaw is even more fundamental
95.
▲
by
bodyfour
8y ago
Have you tried MyTaxi (formerly known as Hailo)?
96.
▲
by
bodyfour
9y ago
Yes, the fact that "BBC4" and "Channel 4" are completely different things is (understandably) missed by nearly everyone outside the UK.
97.
▲
by
bodyfour
9y ago
eBPF is far evolved from "classic" BPF, though. There is a historical relationship (hence the name) but they're very different animals at this point. Also, the traditional use of BPF wasn't to filter network traffic, bu
98.
▲
by
bodyfour
9y ago
As someone said above, it's a polarising place. On one hand, I'm sure I would hate living in a city where everything looked like the Barbican. Yet, every time I'm there I'm awed by its strange beauty. It has such a str
99.
▲
by
bodyfour
9y ago
Don't underestimate how terrible the low-incoming housing stock was beforehand. It was already decades behind the standards that you'd find in, say, an American city (mostly because London had grown huge earlier than they had, so
100.
▲
by
bodyfour
9y ago
I sort of agree that there isn't any strong reason for an interactive shell to have 100% bash compatibility. However, when I tried to convert to using fish I found my muscle-memory used too many simple history substitutions like "
101.
▲
by
bodyfour
9y ago
> You could totally just write the FdWrapper class Yes, and that RAII class would be reusable all of the places you need to close a file descriptor. It's even a handy place to hang more methods that work on the descriptor... for in
102.
▲
by
bodyfour
9y ago
Immediately reminded of http://www.vintage-computer.com/heathkit3400.shtml
103.
▲
by
bodyfour
9y ago
And sendmail long ago (pre-sendmail 8) -- it used to dump out a binary image of itself after parsing sendmail.cf to speed up startup.
104.
▲
by
bodyfour
10y ago
If you're interested in learning more: * Check out libdivide: http://libdivide.com/ * Also, the awesome book "Hacker's Delight" has extensive information about how and why these tricks work. It's t
105.
▲
by
bodyfour
10y ago
Well, by your standard most compilers used today are "broken". Possibly causing a segfault is not a side effect the compiler is required to respect. If you want to force the compiler to not remove a memory operation in C, you nee
106.
▲
by
bodyfour
10y ago
The historical trends of leisure-time vs income are very interesting. Lots of different economic forces at work there -- http://www.economist.com/news/finance-and-economics/21600989...
107.
▲
by
bodyfour
10y ago
Yes, if UNIX had supported multithreading from the start, there is no way they would have chosen "errno" as the solution. Obvious in hindsight, not so much in the 1970s.
108.
▲
by
bodyfour
10y ago
The only time I've found it useful is making macros that expect an array a little safer in C++. For example: #define count(array) (sizeof(array) / sizeof(0[array])) ...will conveniently cause a compile error if you accid
109.
▲
by
bodyfour
10y ago
Interesting that user time went up as well.. not sure if that's significant. I guess it's not too surprising that mmap isn't much of a win these days for anything... SIMD can copy a memory page pretty fast these days. I just
110.
▲
by
bodyfour
10y ago
It would be interesting to benchmark how much mmap hurts when operating in a non-parallel mode. I think a lot of the residual love for mmap is because it actually did give decent results back when single core machines were the norm. Howeve
111.
▲
by
bodyfour
10y ago
I don't think that's quite true. When I first started in the early 1990s, it was pretty expensive to get into as a hobby. I could have been fairly economically comfortable in my college years, but was constantly making myself bro
112.
▲
by
bodyfour
10y ago
Yes last I checked you could still build firefox on platforms they didn't have a JIT for, so it certainly must be possible. Sadly, SpiderMoney isn't as commonly used for embedding compared to V8. Maybe Spidernode will take off i
113.
▲
by
bodyfour
10y ago
> so getting a "pure" interpreter might be much more work. If that's the case I'd have to take their word for it.. it's their code so they know the pitfalls. It still surprises me though: if I was developing a f
114.
▲
by
bodyfour
10y ago
What would be the killer feature for me would be if I could select an interpreter-only mode... ideally at either compile-time or run-time. The products I work on sometimes need to be deployed in environments where JIT code is disallowed due
115.
▲
by
bodyfour
10y ago
No, I think you're confused. What they've said is that they're not willing to negotiate BEFORE the 2 years is TRIGGERED. i.e. they don't want the UK to foot-drag on triggering A50 and prolonging the process indefinitely
116.
▲
by
bodyfour
10y ago
One thing this article doesn't mention is the political risk in each place. Amsterdam is ranked high, but many consider it The Netherlands the next "domino to fall" since the far-right anti-EU party is polling so well there.
117.
▲
by
bodyfour
10y ago
> Another is the LSE/Berlin stock exchange merger which was going to see the German exchange hosted and operating from London. That deal will not now happen. DAX is in Frankfurt, not Berlin. What will be interesting is if the deal
118.
▲
by
bodyfour
10y ago
In most places it wouldn't be hard to just declare that the workplace is English-speaking. The problem is that if you want to attract non-local talent, it's harder to attract them somewhere where they'll have trouble with day
119.
▲
by
bodyfour
10y ago
I don't doubt Gove's convictions (although I certainly don't agree with him) Calling it "classical liberal" is a bit of a stretch though... that's like saying there's a "classical wetness" case
120.
▲
by
bodyfour
10y ago
I'm not even that optimistic. First, one of the prime exports to the EU is financial services. Major financial flows -- even ones in Euros -- are largely done through London. I can't imagine the remaining countries consenting to
More ›