The Spectre of Math

January 26, 2010

karmic and bugs … and xsplash should die!

Filed under: Hacking, Technology — jlebl @ 4:20 pm

Karmic is not turning out to be a very successful ubuntu release for me. I am hitting far more bugs than usual that are also not being fixed within the updates. The bugs have been reported but do not seem a priority. One is for example that udev/kernel do something weird and then keep eating cpu/memory. This leads to the computer having swapped everything useful out at some point. So after a while, the computer is slow as hell (unusably slow, especially coming out of screen lock). Restarting udev solves the problem but 1) I always forgot to do that and 2) it makes removable media not work. So I moved to current lucid on my main machine which seems to be working fine with me hitting no bugs yet (that’s rather odd, I generally hit many a landmine going with a development release).

The other bug I’m hitting on my netbook. The standard netbook interface is flashy but 1) slow 2) unusable with the keyboard (there is keyboard navigation, but it is so incredibly buggy it is useless). Standard GNOME is also too much for the small screen and low memory with no swap. So I am using fluxbox on it (actually I almost started using fluxbox on my main machine …) it is spartan, but after you set things up, it is really fast. Though the issue that took me the longest was the long time after login before the desktop would appear. It seems that someone had the bright idea of making the xsplash thing the default for everything with a timeout of 15s. There is no configuration, no way I could find to easily kill the splash save for removing the xsplash binary. It is a hardcoded hack that gets automatically run for EVERY session, regardless of whether the session supports it or not.

Who’s brainless idea was that? That’s why I had gdm sessions have a .desktop file, so that I can put easily readable properties there about what the session can do. So add something like X-GDM-Supports-xsplash=true godddamn it! How hard is it to implement? Far easier than a flashy pointless splashscreen which should not exist in the first place.

And that’s the other thing. What’s wrong with people who add splashscreen to anything. Splashscreen are generally annoying and make startup slower. Especially if they are moving. You are competing for very scarse resources to simply move useless pixels around. Problem is that even if you time things to make sure that resources are not being taken up, you can’t test every configuration (i.e. someone not using GNOME, obviously that configuration was not tested). The boot looks just fine with xsplash removed. I have not done timings with GNOME, but using fluxbox the boot to desktop time goes down by about 10 seconds.

I’m just mad since I wasted so much time trying to solve this mess.

January 23, 2010

free speech

Filed under: Politics — jlebl @ 6:13 pm

Now that spending money is considered free speech (extreme interpretation of the phrase “money talks”), I am wondering when shooting people will also be considered free speech. I mean shooting people (and before that, poking others with very sharp objects) is a longstanding tradition in political discourse. As the saying goes: “You get a lot further with a kind word and a gun than with a kind word alone.” Obviously, using guns in speech is instrumental.

Another consequence of the recent decision: If corporations are now considered people for political speech, shouldn’t they also acquire all the other rights guaranteed by the constitution? I think they should be able to vote. I’m starting 100 new corporations just for that purpose right now …

January 2, 2010

Irish blasphemy law

Filed under: Politics — jlebl @ 4:36 pm

Well apparently according to a new law in Ireland blasphemy is now illegal. Blasphemy is defined as: publishing or uttering matter that is grossly abusive or insulting in relation to matters sacred by any religion, thereby intentionally causing outrage among a substantial number of adherents of that religion, with some defenses permitted.

To me, that law satisfies blasphemy by its own definition. While not strictly an atheist myself, I would conjecture that simply the fact of making blasphemy illegal, is “grossly abusive or insulting in relation to matters sacred by atheism. Atheism is a religion; an atheist believes in the nonexistence of something, which is just as much an unsupported proposition as other religions. To be religious means that you believe in a fixed number of gods. Atheists believe that this number is 0, Christians believe this number is 1, etc…. Actually Christians also believe 3=1, meaning that Christianity is a mod 2 religion. The only non-religion is agnosticism, which simply doesn’t specify the number of gods in existence. I suppose as an agnostic you also can’t specify, which domain the number of gods exists in. Common sense would suggest that the number of gods is a number in \{ 0 \} \cup {\mathbb{N}}, but as we have seen it is also possible that this number is in {\mathbb{Z}} / 2{\mathbb{Z}}. I personally think the number of gods is \sqrt{-1}.

I am sure now I can’t go to Ireland.

December 30, 2009

paranoia … tsa … health care? … crosswalks?

Filed under: Politics — jlebl @ 4:30 pm

So apparently the TSA has gone totally nuts after the christmas bomb incident.

One of the voices of reason is Nate Silver. Nate calculated the (astronomically low) odds of being on one of those flights affected by those 3 attempted terrorist acts over the past 8 years. Do note the word “attempted.” There has not be a single successful one since 2001. So over 8 years, 0 people died. Each year, approximately 45000 Americans die from lack of health insurance. Let me make that bold: Approximately 45000 Americans die from lack of health insurance. Hmm, that’s not enough, let’s make that red and bold and larger: Approximately 45000 Americans die from lack of health insurance.

That’s better. Now notice the difference. Even if we include 2001 in our statistics (and we can include all of recorded terrorism history in the US if we want to), that’s still less than one tenth of the deaths in 10 years (or a hundered years) by terrorism, than in one year by health insurance.

Now for the crosswalks. When my wife interviewed at one company in San Diego, she asked why there wasn’t a crosswalk across the busy street that was between the two buildings the company was renting. Apparently the city refused to put in a crosswalk if there wasn’t a deadly accident on the street.

And now thanks to someone who didn’t manage to blow up his crotch (or actually that’s the only thing he managed to blow up). We won’t be able to use blankets for the last hour of the flight? They will frisk babies (and take their blankets?). They are endangering the health of millions of passengers to protect us from 0 deaths in the past 8 years. Furthermore, it is unlikely that the lack of blankets would have prevented a single terrorism attempt in the entire history of terrorism. I think that’s bordering on criminal on the part of TSA.

But let’s reiterate the main numbers: 45,000 each year die from lack of health insurance, in the past 8 years, nobody died from airplane terror.

December 26, 2009

Snowe history forgettism

Filed under: Uncategorized — jlebl @ 5:39 pm

Reading some fun Olympia Snowe quotes. So apparently bringing up the fact that republicans voted for a hugely deficit raising Medicare expansion prompted our Olympia to note that “Dredging up history is not the way to move forward.”

Well, true if you want to work together with someone, it is generally not good to bring up their past, especially if it contradicts their position now. People generally hate be reminded of such things. On the other hand, if the other side is not working with you and is calling you tax-and-spender, then it is just fine. In fact, when somebody accuses you of raising the deficit, that’s what you do: you tell them “WTF, you raised it WAAAAY more on a similar (health) issue just 6 years ago.” “Dredging up history” is talking about republican votes in the 60s.

Of course republicans are not currently in control and hence you can’t point to any legislation they are passing now. So you look at the nearest time that they were in control and you look at that. That’s the best prediction of what the republicans would be doing now. It’s like a baseball player says during the game that the other team sucks at the bat, and then when he is reminded that he sucked even worse in the previous inning, then saying something about “dredging up history” and unfair criticism.

The defense that the economy is now in the shitter and therefore we can’t spend on healthcare is also crap. I mean, in 2003 it was in the shitter just as well. We were looking at two wars (starting one of them), we were barely recovering from 2001 …

December 24, 2009

digital signatures … git … and nonsense

Filed under: Technology — jlebl @ 8:30 am

I have created a new gpg key (I have lost my old one somewhere) and made that git tag. But thinking logically I can’t understand the policy of requiring signed tags. If an attacker is able to commit code using the ssh account, he is able to create bogus gpg keys. Unless I am incredibly diligent in maintaining my gpg keys, the signatures are close to worthless. Making a gpg key doesn’t even require one to own the email account. At best the whole setup gives some false sense of security. Unless you are willing to force some draconian measure and only allow trusted signatures, then the whole thing is nonsense. Actually the whole thing is nonsense to begin with. I understand the idea of allowing someone to “sign” a tag in a repository (I understand it, but I think it has little actual utility). But requiring signatures (and thus generating a flood of bogus signatures in the repository) is stupid.

This is the general problem with computer security. Vast majority of users / software ignores security and then a small percentage of users overdo it with paranoia. In fact, this paranoia is usually so great that it makes proper secure procedures too hard for bother for the vast majority of users, hence the system has built in feedback.

Example: If crappy (but easy to set up and use) encryption is available, it will likely result in higher, not lower security. For example: setting up an ssl using webserver is a hassle. Hence, many passwords are sent in the clear (because they are for websites with little interest in high security). The problem is that people hate remembering passwords, hence same passwords are used as for websites which use encryption, and voila. If setting up simple encryption on a webserver would be as simple as tuning parameters, it could be on by default, and most web traffic would be encrypted. You would not have authentication, but it is far harder to impersonate a site, than it is to sniff for passwords sent in the clear. By tying encryption and authentication together, the bar was raised high enough that encryption is rare.

Digitally signed git tags are even less useful. I would bet most people making such tags have unverified digital signatures, simply generating some warm feelings among the paranoid crowd.

December 23, 2009

git tag WTF

Filed under: Technology — jlebl @ 9:40 pm

So apparently I cannot make a tag without having some gpg signature nonsense in the gnome git. Given that I don’t use gpg, I now can’t make named tags for releases of genius and gob. At this point I am seriously enough annoyed to just take genius and gob and move both to someplace like sourceforge.

I mean really … WTF … I can add arbitrary code to the project without any sort of signing nonsense, but a simple tag requires my “signature”???? I want to know whatever people running the gnome git are smoking, because that stuff has to be GOOOOOOD.

I can’t fathom the apparent damage someone could do by making some tags on the code that the perpetrator cannot do by changing the code itself.

December 18, 2009

real analysis deemed adult content

Filed under: Technology — jlebl @ 7:08 am

Google is not showing any actual ads for the real analysis notes. The problem is probably the URL which is the standard short used by many people “realanal.” I assume that google does not like the common “anal” shortening of “analysis.” Now I wonder how to best fix that without breaking any existing links.

Computers can be so annoying sometimes.

Update: changed the url to /ra/ instead of /realanal/ and added a redirect. That seems to have done the trick. Still I seem to not show up in google searches (I do get some hits from yahoo though). I wonder if that’s related.

December 16, 2009

dude! … where’s my healthcare (part deux)

Filed under: Economics, Politics — jlebl @ 10:13 pm

So apparently now we will get a healthcare reform that does two things 1) mandates everyone to have insurance (sounds good) 2) gives subsidies to poor people to buy insurance (sounds good). But …

However, it does nothing to make costs go down. All it does is that the taxpayer pays for some of the costs. The money ending up in the private insurance sector as overhead can grow arbitrarily large as it does now. In fact, perhaps it can grow faster as part of the money is spent “invisibly.” Example (think in recent history if you haven’t seen such an example): If the government starts giving everyone $1000 towards a purchase of a new car to make new cars cheaper, very soon the price of a new car will be $1000 more than it used to be. The car buyer suddenly pays the same, but the car dealers make $1000 extra.

And I did say overhead, since the money is not be spent on “healthcare.” It is spent on the insurance sector. So apparently all that we are doing is making sure that the insurance companies are very profitable and can continue to raise costs, need not compete.

A good nonprofit (public or not) health insurance is about spreading the cost of healthcare with the minimum amount of overhead (health insurance is purely about spreading the cost, in the end at least slightly more money has to be paid in premiums than is paid for the actual health care). In the current system, the money that flows into the health insurance is a LOT more than flows out (and the difference is rising).

There is some sort of a religion in this country that anything that’s a private enterprise is good, and anything that has anything to do with government is bad. If we all believe in capitalism, why are we afraid of competition. If it does happen that the government can run a health insurance better and it drives the private insurers out of business, then so what? Don’t we in the end want our lives to be good? To be able to pursue happiness? Why are so many millions of Americans concerned with the well being of rather a small number of health insurance executives, who might be losing out on their 20 million dollar salaries?

The current status quo is good for those few rich executives. The new “reform” is good for them as well. Everyone else is getting screwed over (and many of those people willingly out of paranoid fears about their grandmothers being put in Obama-death-camps).

I think perhaps it would be better to let the whole thing go. Leave public option in, let the bill die. The current bill does nothing about the amount of money spent on health insurance and healthcare. It just moves some of the money to be paid from tax revenue. But without any measure to reign in the exponentially rising cost. So all it does is it postpones the day when the system implodes. And makes the implosion probably more spectacular. The insurance will get unaffordable for the average family maybe 5,10,15 years later, but by that time a large part of the bill is also paid by the taxpayer. So not only will we not be able to pay for health care, but we’ll have a huge taxpayer bill. All the time we are feeding an incredibly inefficient system with billions of dollars.

I mean have you dealt with a private health insurance lately? The inefficiency of the system is multitudes beyond any braindamage that a government bureaucrat can even begin to imagine. We’re just going to spend more money keeping that system afloat, making the stockholders and executives in those companies rich. In capitalism, one is supposed to get rich by making a superior product. The insurance companies make the worst product imaginable, wrap it in shit and charge an arm and a leg for it, and we’re afraid that they might go under, so we’ll make sure that they don’t have to improve their product?

Why are we not afraid of driving private security companies out of business by having a taxpayer paid police force? I mean, poor Tony Soprano, if we make police be government run, maybe he’ll be out of business of “protecting us.”

So why not let the bill die. At least the moderate Republicans and the conservative Democrats will have a black eye next election, because trust me, the shit is hitting the fan. By 2010 maybe not yet, but in 2012 or 2014 the situation with healthcare will be so unbearable for such a huge proportion of the population that Republicans will be the ones proposing expanding Medicare. The current bill just moves the fan a little further, but keeps it in the flightpath of the shit, and it throws an extra one or two new pieces of shit at it.

December 11, 2009

Real analysis textbook/notes are done!

Filed under: Mathematics — jlebl @ 11:47 pm

My real analysis text Basic Analysis: Introduction to Real Analysis is done. Well at least I am calling it done. Of course these things are never finished, and I am sure there are typos and mistakes as in any new book. Especially one that has not yet gone through any editorial process :) I will make a web browsable version as well, but later.

Now I have to go make 20 copies of the final exam!

Next Page »

Blog at WordPress.com.