Better HN
topnewbestaskshowjobs
Log inSign up

hdevalence

2,179 karma · joined Aug 27, 2009 (17y ago) · 285 submissions

http://hdevalence.ca

cryptographer

Submissions

comment 12y ago · link · parent

> if they're on the road, they're a vehicle

Try this out sometime, and see how far it gets you. Take up a full lane of traffic, as is your right as a vehicle, and see how long it takes before someone tries to run you down, because risking arriving at the office thirty seconds earlier is worth risking bodily harm to another human in a fit of road rage.

comment 12y ago · link · parent

Seeing as the cyclist was in his bike lane, it's unclear why he should have had to anticipate the speed of the automobile.

comment 12y ago · link · parent

Something that puzzles me -- why is there only one Internet Archive? It seems like if you think that it's a good idea to have one IA, then you need to think that there should be multiple archives, so that when there's a fire we don't risk losing everything?

From what I can see, the IA has about 10 PB of data (Wikipedia). Backblaze says they can achieve $60/TB, or $600k for 10 PB, so maybe you could build a second one for a few million dollars (?). Are there any national archives / major libraries (e.g., Library of Congress, British Library, Library & Archives Canada, university libraries, etc) that have plans for doing archival like this? It seems like an important project within the scope of these types of institutions, though the budget may be a limiting factor (both the LoC and L&A Canada have suffered budget cuts of late; I don't know what the situation is in other countries).

comment 13y ago · link · parent

Out of curiosity, why did you get the patent?

comment 13y ago · link · parent

Indeed, although it's not an easy read, and it takes time for the horror of spending one's entire life, birth to death, in a concentration camp, starving and being tortured to really sink in.

comment 13y ago · link · parent

What's "responsible" about not telling the people who actually own the websites in question?

comment 13y ago · link · parent

From the bottle of acetaminophen on my desk:

Take 1 or 2 tablets with water, every 4 to 6 hours. If pain or fever does not respond to 1 tablet, take 2 tablets at the next dose."

Now, why wait to take 2 tablets? And maybe your headache is really bad. If 2 are stronger, 4 must be better.... 4 pills every four hours means that in a day you can get 8 grams dosage. Sure, it says "No more than 8", but it's in tiny letters, and most people don't actually realise just how serious the danger is.

16 tablets over the course of the day isn't really what most people think of as a drug overdose for something as "innocent" as tylenol. In addition, some cold medicine has acetaminophen in it, and you might not realize that your cough syrup was contributing to your dosage. Then bam, liver failure.

If you're genuinely curious, there's a really good episode of This American Life on acetaminophen poisoning and the labeling standards set by the FDA.

Link: http://www.thisamericanlife.org/radio-archives/episode/505/u...

188.

Vose's Alias Algorithm for simulating a loaded die(keithschwarz.com ↗)

2 points · by hdevalence · 13y ago · discuss

comment 13y ago · link · parent

As a historical anecdote, this was also the site of the Darien Disaster in the late 1690s: the plan was to build a Scottish colony, but it didn't go well. It went so poorly, in fact, that Scotland went broke and had to get a bailout from England, leading to the Acts of Union in 1707.

https://en.wikipedia.org/wiki/Darien_scheme

comment 13y ago · link · parent

Yeah, but these pictures don't show the information that well. You can't see the numbers side by side -- you have to click between and have an animation run. In addition, they use a two-dimensional representation for one-dimensional data, which is bad because people are bad at judging the sizes of areas.

It's not about making charts, it's about making bad charts.

comment 13y ago · link · parent

For those curious for more details about "He scores high on the crackpot index, but not high enough to be completely discredited as a lunatic. His litigious nature and ability to wrangle the legal system in order to label everything "mine" is what keeps him in business.", see this review of "A New Kind of Science", which begins:

> Attention conservation notice: Once, I was one of the authors of a paper on cellular automata. Lawyers for Wolfram Research Inc. threatened to sue me, my co-authors and our employer, because one of our citations referred to a certain mathematical proof, and they claimed the existence of this proof was a trade secret of Wolfram Research. I am sorry to say that our employer knuckled under, and so did we, and we replaced that version of the paper with another, without the offending citation. I think my judgments on Wolfram and his works are accurate, but they're not disinterested.

> With that out of the way: it is my considered, professional opinion that A New Kind of Science shows that Wolfram has become a crank in the classic mold, which is a shame, since he's a really bright man, and once upon a time did some good math, even if he has always been arrogant.

http://vserver1.cscs.lsa.umich.edu/~crshalizi/reviews/wolfra...

comment 13y ago · link · parent

> Stating that everybody is not entitled to get a free copy of copyrighted material is hardly an assertion in the first place

Yes, it is. Especially when that "copyrighted material" is part of the law.

comment 13y ago · link · parent

> I doubt very much that Sage has any mechanism for flashing LEDs through the GPIO pins of the Pi

You use the RPi.GPIO module, as follows:

    import RPi.GPIO as GPIO
There's some more information here:

https://code.google.com/p/raspberry-gpio-python/wiki/BasicUs...

comment 13y ago · link · parent

Versus Maple, there's really no contest in my opinion, but that's mostly related to the rather poor quality of Maple. I remember even five years ago, when Sage was considerably less mature, Sage was able to outperform Maple on first-year calculus problems (i.e., there were symbolic integrations that Maple choked on but Sage did perfectly). Sage is not only better than Maple at symbolics, but also at numerics, and the gap only widens as the mathematics level increases.

As an amusing anecdote, I had to use Maple for a course once, and compared the speed of a simple algorithm to find the order of an element of Z/nZ (by taking x, and adding it to itself in a loop until you get to 0). The Maple code ran approximately 100x slower than the Sage code, even though the Maple code used machine integers but Sage uses bigints by default.

With Mathematica, the general impression that I get is that for making interactive graphics, Mathematica is slightly better, but otherwise they're mostly approximately even for the first-year case, with a slight edge to Mathematica. Sage's friendly user interface is a web-based notebook, whereas Mathematica has a native application, but it's pretty good. Sage has very good documentation for common use-cases, but I haven't used the Sage notebook in a while, so I can't really say how discoverable it is.

There are some resources on using Sage in an undergrad curriculum here, if you're interested:

http://www.sagemath.org/doc/prep/index.html

though the examples presume you're actually running a Sage notebook, so they don't show what happens, for instance, when you add an @interact decorator to make an interactive thing, like so:

http://wiki.sagemath.org/interact/

which has a nice example of an interactive Taylor-series approximation.

comment 13y ago · link · parent

Don't get me wrong, the Pi is a positive development, and I'm glad it exists. But I don't think that we should think of it as something with open source roots. Sure, you're never going to get a 100% open device at these costs. But something like the BeagleBone Black is in the same price range as the Pi but doesn't have all of these issues (i.e., the lack of openness is not just due to pragmatic cost reasons, but also "because Broadcom".)

comment 13y ago · link · parent

> The Pi foundation is betraying it's open source roots.

No, it's not betraying it's open source roots. It has none. The Raspberry Pi has been a proprietary environment dressed up in open source clothing from the beginning.

The Raspberry Pi has most of its processor silicon devoted to a chip that you are not allowed to touch -- the ARM6 core is really more of a coprocessor to the GPU, which comes with a big binary blob. OK, you say, forget the GPU, I'll just use the little ARM core. Nope! You can't boot the system at all without the blob.

Then we've got their laughable attempt to pass off a shim that delegates function calls as an open-source driver. Or their support for software patents, with patent-restricted chip features that require separately purchased licences.

The Pi foundation's roots are with Broadcom, a company known very well for its hostility to open source.

comment 13y ago · link · parent

Sage already works on the Raspberry Pi, today, and unlike Mathematica, after you use it for a while, you can actually take it apart and see how it works, making it much better for the purpose of "learning, based on free software ideals". Since it's actually, you know, Free Software.

comment 13y ago · link · parent

> along comes you, acting like you have some God-given right to inspect its internals

Well,it's mathematics software, so it's actually really not unreasonable. Fortunately, the rest of mathematics has moved past the seventeenth-century style of "Here's my result, the proof is secret". If Mathematica is intended to be suitable for mathematical research, then its source must be open so that the results are auditable.

Other mathematics software like Sage doesn't have this problem, and is already available for the Raspberry Pi for free, obviating the need to use Mathematica.

comment 13y ago · link · parent

Yeah, I agree that the camera module is really good for the price. It's just a bit frustrating not being able to fix things that I know that the hardware can do, because I don't have access to the source.

comment 13y ago · link · parent

Agreed about the camera module, with the important caveat that, like most of the rest of the Pi, the guts are proprietary Broadcom stuff. In particular, there are really basic camera settings (the light meter, white balance) that aren't accessible to the user.

Want to maintain a consistent white balance or exposure between shots? Sorry, no can do. And since it's a proprietary blob, it's not something you can fix.

comment 13y ago · link · parent

Valuable to whom? Having a complete record of all of my purchases and where I've been evey day might be a marketer's dream, but it's not my dream.

comment 13y ago · link · parent

No, because these laws arguably hinder economic success in these industries.

The success of the internet, which is largely built around open protocols, and open source, would indicate that perhaps copyright/patent maximalism that forces a "get permission first" culture is not a good idea.

For an extremely detailed argument on why copyright and patents hinder innovation in general, see the book "Against Intellectual Monopoly" by Boldrin and Levine. You can find a copy on the internet using, e.g., Google.

For a more story-based exposition, see the "This American Life" episodes "When Patents Attack".

comment 13y ago · link · parent

So the point is that a Lenovo laptop is far superior for you, but maybe not for everyone. Maybe the people who talk about how great chromebooks are have come to different conclusions, based on different requirements?

comment 13y ago · link · parent

Cool, can you point me to a Lenovo that costs $250, weighs 1kg, has >6 hours of battery life, and preferably has no moving parts and runs totally silently?

comment 13y ago · link · parent

Bitcoins can't be used to extinguish the tax obligations that arise from legal sales.

comment 13y ago · link · parent

This is a very interesting article. Particularly commendable is the complete listing of the source papers, so that readers can delve more deeply into the material.

I wonder, however, whether the surname analysis took into account the effects of the changes in surname frequency over time -- as I recall, it was Galton who investigated statistically how the surname distributions change with time, and the point is that the number of unique surnames goes down over time, because each child usually has only one of their parents' surnames. So it's not clear to me that we would expect the wealth distribution of uncommon surnames to become more equal over time. Maybe that would explain the disparity between the surname analysis and other measures of social mobility?

comment 13y ago · link · parent

http://www.icann.org/en/resources/compliance/complaints/ip/

> Complaints regarding trademark infringement due to website content and domain names are outside of ICANN's scope and authority.

The only case where ICANN Has anything to say is in a case of domain squatting, which this isn't: although Canonical has a trademark interest in "Ubuntu", there's no violation since it's being used nominatively,and it's not being used in bad faith. (Search for UDRP for more information on this policy).

comment 13y ago · link · parent

Trademark law does not require you to harass people using your trademark to refer to your product.

I wish people would not try to justify corporate bullying based on a misunderstanding of trademark law.

Also: it's legal counsel, not legal council.

comment 13y ago · link · parent

I'm glad that Canonical has graced me with permission to talk about Ubuntu. /s

210.

Lenovo pursued BlackBerry bid, but Ottawa rejected idea(theglobeandmail.com ↗)

29 points · by hdevalence · 13y ago · 10 comments

1
678910