Ads

Monday, July 20, 2009

Interesting comment in SICP

In the endnotes for 1.2:

Numbers that fool the Fermat test are called Carmichael Numbers, and little is known about them other than that they are extremely rare. There are 255 Carmichael Numbers below 100,000,000. The smallest few are 561, 1005, 1729, 2465, 2821, and 6601. In testing primality of very large numbers chosen at random, the chance of stumbling upon a value that fools the Fermat Test is less than the chance that cosmic radiation will cause the computer to make an error in carrying out a "correct" algorithm. Considering an algorithm to be inadequate for the first reason but not for the second illustrates the difference between mathematics and engineering


Interestingly, PGP uses the Fermat Primality Test in some of its algorithms, which according to wikipedia gives it less than a 1 in 1050 chance of hitting a Carmichael Number. Seems good enough for me.

Sunday, July 19, 2009

Interesting point on healthcare

I used to be fairly alarmed about the rising cost of healthcare.

But if you look at it under a different lens, maybe it isn't so bad.

Americans now have enough disposable income to spend on healthcare. If you have a weird mole, you can spend $1000 getting it checked out (that is, if you have a job..).

Just as other industries grew rapidly when they started becoming more accessible, so should healthcare.

We all seem to have enough money for food (not too many people die of starvation in the US), everyone* can afford a big screen tv, big car, etc. Now we are using healthcare as the next thing to spend money on.

Not sure if I completely buy that argument, but its interesting to think about.

* update: I meant "everyone" as a hand wavy kind of everyone. Like, 70-90% of the US or so?

Worker Terrorism

How is "US Firm Averts French Explosion" different than terrorism?

A US construction equipment firm has agreed to pay extra compensation to French workers who had threatened to explode gas canisters at their plant.


This is the third time that they have threatened violence.

also
Elsewhere, French workers have taken managers hostage in "boss-nappings".


so, if I want a raise, I kidnap my boss?

really?

come on Frenchies, you can get your act together...

Tuesday, July 14, 2009

Swine flu kills fatties

http://science.slashdot.org/story/09/07/12/216240/Swine-Flu-Kills-Obese-People-Disproportionally

interesting.

another reason to eat less and exercise.

Basically though, the result is that if you are fat then you have a weaker body. You have more problems with fighting diseases and they tend to gang up on your body once it is weakened.

As a side note, then you cost more to take care of (healthcare wise), which does not bode well for the nationalized healthcare system that we seem to want without paying for it.

Sunday, July 12, 2009

Sovereign Nations

"Israel can determine for itself - it's a sovereign nation - what's in their interest and what they decide to do relative to Iran and anyone else," he told ABC television.

"Whether we agree or not. They're entitled to do that ... We cannot dictate to another sovereign nation what they can and cannot do when they make a determination, if they make a determination, that they're existentially threatened."

http://english.aljazeera.net/news/middleeast/2009/07/200977602190659.html

Interesting, I had to go to Aljazeera to get the whole quote.

The reason I point it out, is that you have to be careful about statements like that. For example, North Korea believes that it is being existentially threatened by the United States. I don't think Biden thinks that they are entitled to doing what they want.

Its a tough game, because you will eventually sound like a hypocrite unless you say "well, my friends, they be cool, they do what they want, and those other guys?.. nah" Which is how nations/people act, but don't say it out loud too much.

I'm not really sure how you answer this dilemma, because you don't want to say "do what you want" to everyone, but you also can't say "do what I tell you" to everyone.

On a side note, Biden has been speaking out of turn a lot lately, Obama is doing cleanup a few times a week.


Saturday, July 04, 2009

the belt stays in america

Chestnut wins again!

Tuesday, June 23, 2009

Flash and being fed up

So since the Iranian election, more of the sites I go to have embedded youtube videos all over the place. It got to the point that when loading my dailies my computer would basically lock up.

A quick install of flashblock, and the web is usable again. I can selectively turn the flash on when I want to see the videos. Nice side effect of blocking stupid flash ads. Also, everything is much quicker to load.

I might look into some selective javascript disabling too, that is also starting to get annoying. I am very interested in this html5 idea.