Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
dap
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
181.
▲
by
dap
9y ago
"Zen" has its strengths and weaknesses, but I found its discussion about "gumption traps" (Chapter 26, I believe) to be absolute, solid gold. Pirsig's description of what it's like to do gritty work on a compl
182.
▲
by
dap
9y ago
It's not the only one, though. The last four are either commands ("Dive Deep") or a completion of a sentence starting with "Leaders" (e.g., "Leaders dive deep"). But "Frugality" and "Bias
183.
▲
by
dap
10y ago
I think you're right about all that, and that it's even worse than that. With what military would the new California defend itself? What would stop the United States-sans-California from immediately annexing California as a terri
184.
▲
by
dap
10y ago
> Lots of comments here seem to think this should be unexpected or is a bug. Closing a FD you are using is a bug. I think epoll does a fairly good job of letting the user know that it is watching the description and not the descriptor. T
185.
▲
by
dap
10y ago
This is interesting work! That said, it's a little disappointing when runtimes require custom algorithms or metadata to walk the stack and construct a stack trace. It makes it harder to build debuggers that grok the state of multiple
186.
▲
Uber to apply for California permit to test self-driving cars
(mercurynews.com)
1 points
by
dap
10y ago
|
0 comments
187.
▲
by
dap
10y ago
> Removing a significant portion of the capacity caused each of these systems to require a full restart. I'd be interested to understand why a cold restart was needed in the first place. That seems like kind of a big deal. I can u
188.
▲
by
dap
10y ago
It's fine that the car is a work in progress and it's also fine that they'll be tested on the streets before being fully baked. What's not fine is insisting you don't need a permit (the primary purpose of which appe
189.
▲
by
dap
10y ago
There are several good points here -- particularly about the many reasons why poor code might have been written poorly, and the importance of not being smug about it. I don't think there's much value in blaming authors. But just
190.
▲
by
dap
10y ago
Maybe https://en.wikipedia.org/wiki/Right_to_be_forgotten ?
191.
▲
Falcons, Drones, Data: A Winery Battles Climate Change
(nytimes.com)
4 points
by
dap
10y ago
|
0 comments
192.
▲
by
dap
10y ago
How are "serializable" transactions in PostgreSQL different from optimistic concurrency control? The docs say: > In fact, this isolation level works exactly the same as Repeatable Read except that it monitors for conditions wh
193.
▲
by
dap
10y ago
It doesn't matter how many laws you follow. It matters how many you break.
194.
▲
by
dap
10y ago
> A C++ programmer, meanwhile, comes at things from a different perspective: code written by humans is buggy; [1] instead, as much as possible of the complexity should be shuffled to the compiler. As though compilers aren't themselv
195.
▲
by
dap
10y ago
Ironically, C memory leaks are often significantly easier to debug than Java ones. In C, libraries like libumem basically do postmortem GC that can point straight to the leaking callstack (depending on how much debug info you can tolerate).
196.
▲
by
dap
10y ago
The claim that increased automation will enable people not to work is often cited as a defense of putting people out of work in favor of automation. This relies heavily on a number of assumptions that I think are empirically completely unt
197.
▲
by
dap
10y ago
It's very unfortunate that attempting to use preincrement and postincrement operators in Python results not in a syntax error, but in code that silently does something very unexpected.
198.
▲
by
dap
10y ago
Using sensors inside industrial equipment to optimize maintenance schedules and reduce downtime seems among the less-bubbly business ideas to me.
199.
▲
by
dap
10y ago
At least in microeconomics 101, companies hire as long as the marginal revenue equals the marginal cost of the employee. If the marginal revenue per engineer is high, companies will try to keep hiring them. The demand for engineers goes up,
200.
▲
by
dap
10y ago
The argument about abusing comments with parser directives is totally bogus. You can create parser directives with extra field names too! Worse, people create comments anyway using fields like "//" -- but they're mu
201.
▲
by
dap
10y ago
The minimum default is 2 hours, but applications can configure this to much smaller intervals, like 10 seconds.
202.
▲
by
dap
10y ago
From RFD 5482's abstract: > The TCP user timeout controls how long transmitted data may remain > unacknowledged before a connection is forcefully closed. As I understand it, this only applies if there is data outstanding. I
203.
▲
by
dap
10y ago
> Idle but half-dead TCP connections will eventually time out. It can take hours, though, on some systems. This is not true, in general. I think you're describing connections which have TCP KeepAlive enabled on them.
204.
▲
by
dap
10y ago
> Isn't that exactly what the automatic closing is supposed to prevent? Couldn't deliberate or accidental connection interruptions eventually cause a DOS? Yes, exactly. My point was that until the application closes the file d
205.
▲
by
dap
10y ago
> The article showed a case that the other peer just quit alltogether. What kernel thinks about CLOSE-WAIT socket is irrelevant. The connection is _dead_. You can send data over it, you can attempt to read, you can try to close it gracef
206.
▲
by
dap
10y ago
This is an interesting case, but I'm confused about some of the details. > A little known fact is that it's not possible to have any packet loss or congestion on the loopback interface. This seems a bit misleading, given the tw
207.
▲
What $100 Can Buy, State by State
(nytimes.com)
1 points
by
dap
10y ago
|
0 comments
208.
▲
by
dap
10y ago
> Do checksumming at the block level. This doesn't handle phantom or misdirected writes. You can't really do that unless you keep the checksums elsewhere, and specifically in the place where you intend to reference the data. &
209.
▲
by
dap
10y ago
> Honestly, this whole debacle could have been avoided if ZFS had been relicensed under some kind of compatible license like one of the BSD licenses. Or if Linux had been similarly relicensed. I think that's actually more reasonabl
210.
▲
Where a Suitcase Full of Cash Won't Buy You Lunch
(nytimes.com)
1 points
by
dap
10y ago
|
0 comments
More ›