HNHacker News
TopNewBestAskShowJobs

PDoyle

235 karma · joined April 5, 2016

submissionscomments
PDoyle··on For First Time Since 1800s, Britain Goes a Day Without Burning Coal for Power
Reeeealy? How long would you like to sit in a room with a natural gas furnace whose exhaust is not vented outside?

No particulates != no pollution.

PDoyle··on Why Momentum Works
People, listen. "Damping" means to reduce the amplitude of an oscillation. "Dampening" means to make something wetter.

</rant>

PDoyle··on Why Japan’s Rail Workers Point at Things
This is news? They do this on the subways in New York and Toronto too.
PDoyle··on Choose SQL
> you're blaming what appears to be a weakness in Javascript's "Date" library on MongoDB

But this is the point: that SQL is a better query language than Javascript (which is what MongoDB uses).

PDoyle··on The eigenvector of “Why we moved from language X to language Y”
> Surprisingly, (to me, at least) Go is the big winner here. There’s a ton of search results for people moving from X to Go.

You mean ... Google search results?

I'm not trying to suggest that Google's search engine is intentionally biased toward Google projects, but I think it's reasonable to assume that their own projects wouldn't fall into whatever unintentional blind spots their search engine may have.

PDoyle··on Buffett Assails Money-Manager Fees as Berkshire Reports Profit Rise
[citation needed]
PDoyle··on Kim Jong-nam killing: Suspect 'was paid $90 for baby oil prank'
<sigh>

All the instant body-language experts. Let's convict her because her motions on a blurry security cam definitely rule out "nervously pulling a prank on a stranger" and are only consistent with "highly sophisticated international assassin with no escape plan".

PDoyle··on Watching Wikipedia's extinction event from a distance
No, obviously it does not mean that. That known flaws have been fixed says nothing about the prevalence of unknown flaws.
PDoyle··on LibreTaxi – A free and open source alternative to Uber and Lyft
Dumb question - don't both of these concerns exist with normal taxis too?
PDoyle··on Browser auto-fill phishing
How many pixels does an input need to occupy before it's considered "visible"?
PDoyle··on Universal Basic Income
This Hacker News headline is bogus. The linked article doesn't prove that at all. This is click-bait.

A simplistic one-paragraph $13,000 UBI proposal was made, and the question was whether it was better than the status quo. Many of the economists chose "disagree" because they felt the details of the UBI proposal were unworkable; not because they disagree with the idea of UBI.

Here are some of the comments from those who disagree:

"And the children get nothing? The basic idea is sound but too simplistic as stated."

"A minimum income makes sense, but not at the cost of eliminating Social Security and Meidcare."

"John Cochrane proposes variants that would be better."

"13K is inadequate for anyone with no other income."

"The simplicity is attractive, but deceptive. Coupled with universal health care & tax reform it could work. but we are far from that."

PDoyle··on The Public Domain C Library
They'd differ for floating-point NaNs.
PDoyle··on Modern C [pdf]
> Assert easily allows lazy programmers to let their programs freely crash without properly handling error conditions.

This is what he meant by misuse. Properly-used assertions are meant to document and check conditions that were thought to be impossible by the developer. Not just unlikely, or illegal, but impossible. If a condition is possible, and you check it with assert, that's a bug.

PDoyle··on Cassandra is not row level consistent
> Zookeeper & Curator make it nearly foolproof to implement a distributed lock correctly, whereas with Cassandra, its the other way round.

Cassandra makes it nearly distributed to implement a foolproof lock correctly?

PDoyle··on Live Presidential Forecast
I'm not sure it's the only way. There are ranked-ballot systems that are good too, like Single Transferable Vote.

The point is, first-past-the-post has almost every possible flaw you can have in a voting system.

PDoyle··on Subtracting large floating point numbers in different languages
...until they divide by 3.
PDoyle··on Subtracting large floating point numbers in different languages
9999999999999999.0 can't be represented as a double. Depending on the rounding mode, it could become 9999999999999998.0, so when you subtract them, they're zero. That happens when the rounding mode is round toward zero, or round down. Any other mode rounds it up to 1e+16, so you get an answer of 2.
PDoyle··on Subtracting large floating point numbers in different languages
If there's a problem here, it's that large integers are being treated as floating-point numbers with insufficient precision to represent them properly. With the exception of Perl 6 (?!), programming languages all seem to agree that putting a period in a number gives them a license to return answers that don't agree with normal arithmetic. If you think about it, that's an odd thing to be unanimous about.

Also, BigDecimal doesn't give "exact calculations" unless you stick to numbers with finite decimal expansions. BigDecimal can't do 1/3 without rounding.

PDoyle··on Sub-millisecond GC pauses in Go 1.8
"stack allocation is much, much faster than any sort of heap-based memory management"

No, it's not. For short-lived objects, at least on the JVM, allocation is a pointer bump, and collection is free, because unreachable objects are not even walked. Stack allocation doesn't beat that by much.

PDoyle··on Sub-millisecond GC pauses in Go 1.8
Huh? Are you talking about a particular GC? Because every object-oriented program I've ever seen could be described as "Large graph-like data structures (lots of small nodes linked by reference)".
PDoyle··on Sub-millisecond GC pauses in Go 1.8
Here we go again.

https://news.ycombinator.com/item?id=11422064

PDoyle··on Wikipedia is fixing one of the Internet’s biggest flaws
Why post your opinion without even doing the simplest of google searches?

https://en.wikipedia.org/wiki/Wikipedia:Neutral_point_of_vie...

PDoyle··on A Pixel Artist Renounces Pixel Art (2015)
They looked like that on the Gameboy.
PDoyle··on A tale of an impossible bug: big.LITTLE and caching
Because that's the sort of thing you think of only when you already know the answer.
PDoyle··on Apache Arrow – Powering Columnar In-Memory Analytics
Oops... The first sentence in the "Fast" section says "SIMD (Single input multiple data)".
PDoyle··on SES-10 Launching to Orbit on SpaceX's Flight-Proven Falcon 9 Rocket
In Canada? No cost at all.
PDoyle··on Browser Bloat (1996)
What's strange about that? Applications should be using a computer's resources. That's like declaring that employees now get more of a company's payroll than management.
PDoyle··on I Don’t Care How Well You Code, Understand Your Compensation
But if you assign your options the same value as magic beans (ie. zero) and find that the job is worth doing anyway, then you can avoid filling your head with a lot of financial mumbo jumbo.
PDoyle··on Remove PG_ZERO and zeroidle (page-zeroing) entirely
Nope. I draw your attention to this paragraph:

> Zeroing the page at fault-time...

PDoyle··on A Mathematical Theory of Communication (1948) [pdf]
Shameless self-promotion: by chance, I happened to write a blog post today that's all about information theory:

"Measuring Information in Millibytes" https://engineering.vena.io/2016/07/12/measuring-information...

← PreviousPage 2 of 3Next →