HNHacker News
TopNewBestAskShowJobs

derleth

5,614 karma · joined January 2, 2011

submissionscomments
derleth··on One meteorologist explains why he won’t fly again
> Do you think perhaps they may have a similar concern regarding significantly larger mass vehicles moving at higher speeds some distance to your side?

So they're justified in acting recklessly around me because others act recklessly around them? If it's that much of a problem, they should walk.

derleth··on One meteorologist explains why he won’t fly again
Your snark aside, I don't cycle. I walk. Mainly, I'm concerned with getting knocked down by a cyclist who thinks that sidewalks are a wonderful place to go full speed without having to worry about anyone else.
derleth··on One meteorologist explains why he won’t fly again
> work reasonably well in most climates.

If you like to be boiled in the summer and frozen in the winter, not to mention having to cycle on icy roads with no shoulder and sixteen-wheelers bearing down on you.

Anyway, if you do cycle, please don't make a habit out of blowing past pedestrians at full speed, and think twice about riding on the sidewalks.

derleth··on How to Corrupt an SQLite Database File
> It's a blessing, not an obligation or a demand or a condition of use.

That's how we interpret it. The problem is that we don't know what the rights-holder has in mind, and what that entity's willing to sue over.

Lawyers can be comically risk-averse. Comical, that is, until you see the kinds of things people actually sue over.

derleth··on Amazon says France's new bill is 'discrimination'
When France lifts the ban on the hijab, we can talk about how non-racist Europe is.

Also, France really needs to stop deporting Romani people.

Frankly, you're amazingly privileged being black in France compared to being an Arab or a Romani.

derleth··on The Arsenic DNA paper exposes flaws in peer review
http://arxiv.org/

The arXiv focuses on physics, math, computer science, and similar, but it certainly seems to be what you're looking for.

derleth··on The Arsenic DNA paper exposes flaws in peer review
The very first sentence in the section about the response from the medical community:

> One of the first to respond to Semmelweis's 1848 communications was James Young Simpson who wrote a stinging letter. Simpson surmised that the English obstetrical literature must be totally unknown in Vienna, or Semmelweis would have known that the English had long regarded childbed fever as contagious and would have employed chlorine washing to protect against it.

And:

> Indeed, initial responses to Semmelweis's findings were that he had said nothing new.

But:

> In fact, Semmelweis was warning against all decaying organic matter, not just against a specific contagion that originated from victims of childbed fever themselves. This misunderstanding, and others like it, occurred partly because Semmelweis's work was known only through secondhand reports written by his colleagues and students. At this crucial stage, Semmelweis himself had published nothing.

Why didn't he publish until later? Who knows. The fact is, he didn't and it hurt his case.

And, if you read further, you see that Semmelweis simply went crazy later on, with people later on proposing causes from Alzheimer's to learned helplessness to PTSD. Not a good thing if you are insulting and argumentative to begin with and are proposing a new theory on top of it.

derleth··on Amazon says France's new bill is 'discrimination'
Yes, France, where you can live the good life as long as you're a white, European Francophone. Immigrants (especially dark-skinned Muslims) need not apply.
derleth··on The Best Part of Grand Theft Auto V is the Stock-Trading Platform
You know what's really socialistic? The systems inside any large company. You need a computer and a cubical? These things will be provided to you, in return for your work. Nothing reasonable is denied as long as your productivity justifies it, comrade!

"From each according to his ability, to each according to his need." -- Karl Marx. Not a misquote.

derleth··on The copyright cartel's plot to indoctrinate California kindergartens
It isn't a bad analogy. My counterargument is that local government policy can usually be changed a lot more easily than religious dogma, especially dogma surrounding who to demonize. Maintaining a strong notion of who is in the in-group and who is in the out-group seems to be an important mechanism in maintaining tribal cohesion.

My point is that religions seem prone to demonizing people as a quick and easy way to define themselves and maintain cohesion. Look at all the really nasty doctrinal splits through history.

derleth··on The copyright cartel's plot to indoctrinate California kindergartens
If you ignore the fact the various tribes stole from each other. Native Americans weren't a single, homogenous mass, and they certainly weren't Noble Savages ignorant of the ways of war.
derleth··on The copyright cartel's plot to indoctrinate California kindergartens
Mostly, we started as a land of commercial opportunists taking advantage of royal grants. The religious zealots just played better in the history books of 100+ years ago, so they get most of the attention.
derleth··on The copyright cartel's plot to indoctrinate California kindergartens
So telling little gay kids that they were born broken and are going to Hell isn't abuse?

Don't you dare say that it doesn't happen or that it doesn't matter. Don't you dare.

derleth··on UTF-8 – "The most elegant hack"
Because you can have extremely long strings without worrying about overflowing a fixed-size length prefix.
derleth··on The Myth of the Rockstar Programmer
Anecdotal evidence is empirical evidence. It's just not very convincing because it doesn't come with any information about how common experiences like those are, or what confounding factors might be at play.

Now, in this case, confounding factors probably aren't a problem, but if 10x developers are one in a million or one in a billion, an anecdote about how someone, somewhere actually met one once isn't very helpful to the rest of us.

derleth··on UTF-8 – "The most elegant hack"
Exactly, and moving from ASCII to UTF-8 means you get to keep that consistency: 0x00 means 'End of string' in ASCII and it means 'End of string' in UTF-8. No change. Never a miscommunication. No possibility of old software getting confused on this issue. Any code which had its last buffer overrun flushed out in 1983 is still free of buffer overruns in 2013.

And, if you really need to represent codepoint 0 in strings, you can use Java's Modified UTF-8, where codepoint 0 is represented by the byte sequence 0xC0, 0x80. (This isn't valid UTF-8 because in straight UTF-8, every codepoint must be represented by its shortest possible representation.)

http://en.wikipedia.org/wiki/UTF-8#Modified_UTF-8

derleth··on UTF-8 – "The most elegant hack"
> But using 0 to terminate strings means you can never have a string that actually contains codepoint 0, as the terminator isn't part of the contents of the string.

This is indeed a tradeoff. The only alternatives are to either store the length of the string explicitly somewhere (the Pascal solution is to prepend the string with a fixed-size length parameter, which can be as awkward as it sounds when you get to really long strings) or to do something nasty with the string's actual contents, such as saying that the last byte of a string has its high bit set.

I think the C solution is the most reasonable when storage is really tight, and more flexible than the Pascal method in general, but I agree that it's potentially dangerous and it's annoying to have a byte which you can never represent in a string.

derleth··on UTF-8 – "The most elegant hack"
> This is false; the encoding of codepoint 0 is 0x00 per the standard

Well, yes. That's the point: 0x00 is only ever used to encode codepoint 0. It never shows up anywhere else. That's precisely what the text you replied to means.

derleth··on UTF-8 – "The most elegant hack"
> UTF-8 would pretty much only need to be updated if the unicode standard redefines what a code point is (e.g. starts using floating point, decimals, imaginary numbers or something else that is also unlikely to happen)

Or if they decide that they need more codepoints, so some invalid-but-possible UTF-8 byte sequences suddenly become valid.

derleth··on UTF-8 – "The most elegant hack"
Tom Jennings did something similar which only goes up through ASCII: http://www.wps.com/J/codes/

You might also know Tom Jennings from having created Fidonet and having written the BIOS which became the basis for Phoenix Technologies BIOS.

http://en.wikipedia.org/wiki/Tom_Jennings

derleth··on Born of Reddit, Imgur now dwarfs the ‘front page of the Internet’
Do you know hosting sites with different terms?
derleth··on New UNIX implementation (1983)
The 386 had both protected mode and a large enough address space to make that protected mode useful. The 286 had protected mode as well, but a 16-bit protected mode doesn't let you write programs large enough for it to be worthwhile.
derleth··on Nicotine as a useful stimulant
> Snus is an awesome alternative to smoking.

Doesn't it cause oral cancer?

derleth··on GNU Hurd 0.5, GNU Mach 1.4, GNU MIG 1.4 released
> And they managed to make a distributed kernel that worked.

So it was great the same way Smalltalk and ITS were great: It was wonderful, but most of us couldn't use it, so it was worthless. Technical acumen doesn't matter if the result isn't out in a usable form.

derleth··on Revealed: Qatar's World Cup 'slaves'
> I don't want anyone to invade anywhere.

So what do you want to happen?

derleth··on Revealed: Qatar's World Cup 'slaves'
> Iran. Crippling economic sanctions and concerted isolation.

And decades later, Iran still hasn't changed.

derleth··on Revealed: Qatar's World Cup 'slaves'
Do you want the US to invade Qatar? Maybe establish a puppet government? Or just invade, leave, and see what happens?
derleth··on Revealed: Qatar's World Cup 'slaves'
So, do you want a replay of Iraq or a replay of Vietnam?
derleth··on Urbit: A clean-slate functional OS
> But four letters fits in a 32-bit direct atom, so the attraction is pretty irresistible.

Reminds me of how ITS limited filenames to six letters per component, because they used six bits per character and six times six is thirty-six bits, or one machine word.

To this day, HAKMEM ('Hacks Memo') is still called that:

http://en.wikipedia.org/wiki/HAKMEM

derleth··on Autism diagnoses are up 78% in 10 years. We're dramatically overdiagnosing it
> pills and therapy

There's no recognized drug treatment for Autism/Asperger's[1], and I kind of question your skepticism towards therapy. What's wrong with getting help with things you could be doing better.

[1] The only drug treatments relevant are drugs used to treat comorbid conditions. http://www.webmd.com/brain/autism/autism-treatment-overview

> Being intelligent does not a disorder make.

Nobody's saying it does.

← PreviousPage 8 of 34Next →