Oops, I made an owchie

So, the weather is fantastic here in Switzerland, and I finally got motivated enough to bike into work.  It’s no small commitment, I have a 28 km ride, which includes climbing the Albis Pass.  Okay, it’s a pretty small pass, but my bike only has two front chain rings, so it’s actually a pretty tough hall, especially after a few weeks of slacking on the training.

My poor condition probably explains why I was feeling tired and easily distracted as I had to navigate the tricky traffic & trams around Bahnhoff Enge.  I was in the narrow space between traffic and a tram line, when I realized that I had gotten way too close to a tram island (basically a curb in the middle of the road).  I rubbed against it, and didn’t handle it well, and totally wiped out.  Below you see the result:

my biking injury

The worst thing is now I have to go and buy a new pair of leg warmers.  Well, okay that’s probably not the worst thing, but it does suck.

What I found surprising is how many of my colleagues suggested that I go to the doctor.  I did get the first aid kit from the hallway and clean and disinfect it myself.  Really, what more would a doctor do?    I wonder how much of my doctor reluctance comes from not having had health insurance for so long while living in the states?  Go team Obama on that one.

Manufacturing consent and copyright law

The New York Times has a lengthy article entitled “A Supersized Custody Battle Over Marvel Superheroes”, discussing an ongoing legal battle over copyrights regarding character created by Jack Kirby between 1958 and 1963.  It is useful to analyse such reporting, to see how consent is manufactured for policies which benefit the power-elite (read large corporations), and harm the public, in this case the public domain.

First, a brief history lesson which needs repeating, as the vast majority of America has never even heard of the public domain, and has no understanding of how copyright law differs from property law, which differences defines how copyright violation differs from theft.  Copyright is (intended to be) a short term abridgement of human rights, specifically the right to free speech, in an effort to encourage and reward creative works.  They provide the creator of a work with a temporary monopoly on the spread of his or her ideas.   The main players behind the creation of copyright and patent law in the United States were Thomas Jefferson and James Madison, who clearly had mixed feelings on the subject.  The fundamental idea was that through creation of this temporary (state enforced) monopoly, congress could “promote the Progress of Science and useful Arts”.  A useful brief history can be found here.  Once this temporary copyright expired, the intellectual work would return to the public domain.  The original period of copyright length in the U.S. was 14 years, and the author had the right to extend the copyright for an additional 14  (Details of the historical development of copyright law can be found here).  The feeling was that this was an appropriate length of time to allow a creator the opportunity to benefit from his or her creation with an acceptable abridgement of human liberty.  In other words, copyright is a tradeoff between reward for the creator (incentive) and civil liberty, particularly to provide an incentive for publication and distribution.

As costs and times for distribution and publication decrease, the cost function for this tradeoff change, implying that copyright lengths should decrease.  In the last century copyright and publication has become dominated by an oligarchy of powerful corporations, primarily the members of the RIAA and MPAA, with Disney being a major villain.  These corporations have  championed a series of extension to copyright, each time adding a small fixed amount to the existing copyright lengths,  so that copyrights can now be extended to the life of the author + 70 years.  There is no reason to expect that these corporations will allow their increasingly valuable copyright portfolios to expire, so as waves of valuable intellectual property stand to enter the public domain (where they belong), we can expect the armies of lobbyists to swarm Congress’ halls once again.

So what does all this have to do with manufacturing consent?  In the NYT article, the article never mentions the concept of public domain.  It never discusses the fact that Kirby’s creations, now at 50 years of age, should have entered the public domain 32 years ago (under the original terms of copyright law).  There is consideration of the harm done by such copyright litigation which has no redeeming social value.  Jack Kirby, 16 years dead, is not going to be rewarded by this lawsuit, nor will the current process encourage any kind of creative work, beyond creative legal wrangling.  The underlying message of the article seems to be “look, thanks to the efforts of this lawyer and our wonderful copyright system, this guys heirs are gong to be getting a payday!  Isn’t the American copyright system grand?”  Rather than the message we should all be reading, which is “Look, this legal vampire is trying to make a lot of money of this copyright vampire.  The copyright vampire deserves to suffer, since without it’s machinations these works would be in the public domain and contributing to our culture.  But the legal vampire isn’t contributing anything to our culture either, and giving money to Kirby’s heirs isn’t doing anything for anyone either, other than using the legal system as a kind of lottery”.  The real lesson to be learned here is the following:  We need copyright reform.  We need copyrights to be shorter, and we need them to remain in the hands of the creator, not in the hands of some parasitic corporate behemoth.

Jobs versus good government.

I actually want to write about Obama’s attempt at student load reform, but before I do I want to mention an excellent article at truthout discussing Beck, Coulter, and Limbaugh. The author (one Davidson Loehr) gives a brief review of Julius Streicher, who would seem to be the closest thing to a real life Howard W. Campell Jr. as exists, and compares his crimes (for which he was hung at Nuremburg) to the activities of Coulter, Beck, and Limbaugh. It’s a good read, and mostly on the money. He makes a very strong case against Coulter and Beck, but if the quotes he uses for Limbaugh are the best he could find, his case is pretty weak there. Limbaugh is probably guilty of little more than paving the way for Beck and Coulter and Fox news.

Moving on to Obama’s student loan overhaul: I just read an article at the NYT called Obama’s Student Loan Overhaul Endangered. For those of you who don’t know, the American student loan system works as follows: Most student loans are made by private, for profit companies, with government guarantees. In other words, the private companies take the profit, while the federal government takes the risk. This is essentially the same problem people discuss with the bank bailouts (and the airline bailouts, and the automotive bailouts…) with one important difference: Here the situation is planned in advance. It’s not an attempt at averting an even worse catastrophe, it’s just an example of successful (for the profiteers) lobbying. For federally subsidized loans, the govt makes the interest payments until graduation. Student loans are exempt from bankruptcy, so even if you go bankrupt, you will still owe on the student loans.

Obama’s plan is to loan the money directly, which would save the government billions of dollars, which he would use to expand Pell grant scholarships. This is no-brainer policy reform. The only people who lose out are the lenders, who, let’s face it, are parasitic users who have obtained their risk-free, merit-free profits by gaming the U.S. political system.

But the education bill is strongly opposed by some Senate Democrats, particularly those in states where for-profit student lenders are major employers. In a letter to the majority leader, Senator Harry Reid of Nevada, six Democrats said they disliked the president’s proposal.

“We write to make you aware of our concern with provisions of contemplated student lending reform that could put jobs at risk,” the senators wrote. “Increase our nation’s commitment to higher education funding is a priority, but we must proceed toward this objective in a thoughtful manner that considers potential alternative legislative proposals, while still delivering an equivalent amount of savings over the next ten years.

So, who should be haranguing for this? They are: Senators Thomas R. Carper of Delaware, Blanche Lincoln of Arkansas, Ben Nelson of Nebraska, Bill Nelson of Florida, Mark Warner of Virginia and Jim Webb of Virginia. Now, I’m a huge fan of Webb for his courageous attempt at justice reform. He’s also one of the most reasonable and ethically consistent senators with regard to foreign policy. I might not agree with all his conclusions, but I thnk he’s a pretty good guy who works hard at being ethical. So in the end, the system is to blame, not the individuals. I’m not familiar with the others, but probably the same holds true. It’s not hard to see how this probably played out: Contributions buy you access. Once the lenders have access they make a spiel about how this is going to cost their state X jobs, and probably paints the whole thing as a political liability for the Senator in question. At that point the senator in question either cynically decides in favor of the local over the national interests (this amounts to self interest through the election process), or decides that he (or she) has to pick their battles carefully, and this one isn’t worth fighting.

What really gets me is couching the conflict of interest in terms of national interest vs jobs, where the real issue is national interest v.s. private wealth. Why? Well, the loans are going to made anyway, which means the jobs are needed anyway. The only difference is who’s doing the work, and where. So it’s not a question of jobs, it’s a question of whether or not we want to let some asshole(s) with money and connections profit from the student loan process or not. Who are these assholes? Well, Sallie Mae is at the top of the list.

The whole “jobs vs X” line is overplayed, and pretty transparent. It used to be used to great effect to torpedo environmental protections. Of course, environmental protections typically create jobs. It’s automation and outsourcing that destroys work places. Hopefully the american voter is gradually getting wise to this line of bullshit. So write your senator and tell them you don’t fall for that jobs versus X bullshit anymore, and you expect him (or her) to vote with your interests in mind, not with Fannie Mae’s.

The info wars: Disney

I recently listened to an old Alex Jones – Noam Chomsky interview.  I absolutely detest Alex Jones, who’s essentially the Rush Limbaugh of the tinfoil hat crowd.  What I find reprehensible in his pseudo-journalism is the net effect of it, which is to discredit and marginalize legitimate points of concern in the political spectrum, for example corporate manipulation (well, ownership) of the media and manufacturing consent being perhaps the most vital.

The problem is AJ has a much bigger audience and visibility than intelligent, reasonable individuals (like Chomsky) who are working hard at exposing this stuff and educating people.   So when you start talking about corporate and elite ownership of the media, the average person will likely have heard these concepts first from a wing-nut source like Alex Jones, and will likely glaze over.  So while A.J. ended his interview with Prof Chomsky by calling Chomsky a corporate-elite schill, the truth is that A.J. does far more to further the corporate-elitist agenda.  I’ll be discussing that at some other point, but I want to talk about a concrete example of this kind of corporate media control that’s taking place right now.

Maybe you’ve heard about the Campaign for a Commercial-Free Childhood?  These guys a a national coalition of health care professionals, educators, advocacy groups, parents and individuals whoare trying to “reclaim childhood from corporate marketers”.   They managed to push Disney into offering refunds on their “Baby Einstein” videos, because (surprise!) watching a video doesn’t educate your kids, and in fact watching videos is probably harmful for young kids, no matter what’s being watched.  This wouldn’t be a problem if Disney hadn’t claimed that these videos were “education”.

So Disney had to offer refunds, and the companies involved had to drop the word “educational” from their marketing.  Good news all around.   But mega corporations (and Disney’s among the worst) doesn’t like it when people try to execute some kind of democratic control or accountability.  So Disney called up the Judge Baker Children’s Center (a Harvard affiliated children’s mental health center).     Apparently Disney put pressure on Judge Baker, who in turn pressured the heroes in this story not to advocate against corporations, and not talk to the media.  Wow.  Now the JBCC is evicting the C.C.F.C., apparently because “the mission of the C.C.F.C — to protect children from harmful exploitation by corporate marketers — is not in line with the Judge Bake mission”.

Now Karen Schwartzman said Judge Baker received no money, and no promise of money from Disney, so one has to wonder what form of motivator Disney used?  Hints of research grants (this wouldn’t be money to JB after all, but to the childrens center), or pressure through Harvard (does Disney donate or have joint research programs with Harvard)?  Or perhaps it was just the threat of frivolous lawsuits.  Disney is a particularly nasty beast, because, in addition to having the huge financial resources available to all major corporations, they have such an overwhelming hold on the American collective unconcious.  I think it’s hard for the average American to think of Disney as evil, which no doubt has  helped in Disney’s efforts to plunder and deny the public domain.

There’s a fairly good article at the NYT.

My thoughts on Windows 7

I recently installed Windows 7 on my home PC, and thought I would share my observations with anyone who is interested.

For those of you who are unfamiliar with me, I’m primarily a Linux user, and go to pretty extreme efforts to use Linux for pretty much everything. On rare occasion however, I find it necessary to boot into windows for a work related reason (generally becuase of people using proprietary file formats that I can’t open in Linux, although this is getting rarer and rarer. More often I boot into Windows because I want to play video games.

I did my install thusly: I purchased a new 1TB hard drive for all things windows. It’s probably way more than I need, but I thought it would be nice to have the space to just install all my video games, and not worry about how much drive space I have. Hard drive space has become so bloody cheap. I then installed Win 7 on the new drive, and because Microsoft can’t imagine anyone using any OS besides theirs, I had to use a Linux rescue disk to reinstall grub on the mba. It’s a quick process, but it’s just typical Microsoft arrogance, and I had to dig around to find the rescue disk.

Of all the things I’m going to complain about, none of them are surprising. They are all the typical bitches I have about Microsoft, and about software developed for Microsoft OS’s. I see the failures as usually coming from one of two sources: 1) marketing to the least common denominator -> i.e. they try to make the software pleasant for dumb asses, as opposed to rewarding people who take the time to learn, or try to learn, how to use the tools efficiently. This leads to fundamentally inefficient and unwieldy tools… and 2) Sheer fucking arrogance.

Okay, so now I can boot into Win 7. One of the reasons I upgraded is I was gradually getting to the point where many of the drivers of software I want to use aren’t supported, or don’t work on XP. My laptop came with Vista, so I tried it out for a few weeks, but I got so fucking annoyed at, I just wiped the windows partition from my laptop altogether. It’s now a linux only box. I did try to install Win 7 on the laptop, but guess what! Win 7 can’t recognize my GeForce GO graphics card as Sony has apparently done something non-standard with it, and won’t support any OS other than Vista on that model. So I can use my graphics acceleration correctly under Linux, but not Windows 7. That is absolutely abysmal.

Okay, so what, my main gaming machine is desktop, so let’s install it on there. Apparently it recognized my Cre

ative Sound Blaster card, and downloaded some driver for it off the net (without asking me), and then crashed and burned, so I had to dig out the original install disk to get my sound card working. That’s par for the course with Microsoft products, so fuck it, what am I complaining about.

That’s my biggest bitch about Microsoft products: The usual litany of bullshit that they have been heaping on us for so long that most users just take it for granted and don’t even think to complain about it. Of course Microsoft still hasn’t figured out how to install an OS without rebooting multiple times. Of course Microsoft gets to decide when to reboot your computer by default. Of course some application developer can decide to just reboot your fucking machine for you after an install. Why the fuck would you want to make those kind of decisions yourself? It’s not like you were doing anything important when we rebooted right? Microsoft and the developer culture around Microsoft makes it basically impractical to try to do anything with your computer while installing or doing any kind of system administration. Fuckers.

But of course I expect all of that Bullshit. I even expect the computer to come pre set up with a bunch of fucking folders that I don’t want, organized in a way I don’t like. Microsoft would never dream of letting users set things the way they like. Microsoft knows how you should organaize your data better than you. What I had hoped would be corrected in Windows 7 over Vista, was the interminable waiting for the OS to do some trivial fucking function, like delete a folder, search for a file, or whatever. You know, the shit that should take about a millisecond for a computer to accomplish, that is part of your daily PC work? I can’t tell you how many times I had to sit and wait for mintues for Vista to delete, open, or move a folder.  It’s just fucking intrusive, and kills my productivity or enjoyment.  So how’d Microsoft do with all that?

Okay, I’ll grant, it seems a little better.  I’m not screaming in frustration as much as I was in Vista, but it’s still worse than XP.  So my grade for 7 is:  SAD.  It’s sad that the best Microsoft could do was to make the user experience for 7 half as bad as they had for Vista (by comparison to XP which is nothing to brag about either).  It’s sad that even though Microsoft works with all these hardware vendors, and these hardware vendors design and test their shit for windows systems, but it’s still faster to get my system set up in linux than in Windows.  It’s sad that people are raving about how great 7 is because it’s an improvement over Vista.  They need a better basis for comparison.

Here’s an example:  I go into my XP drive to copy some game same files over.  First folder I check, I’m told I don’t have the permissions to access that folder.  Do I want to get them?  Yeah I fucking want to get them.  Okay, I’m willing to grant that this might serve a security purpose.  For example  I have to log in as root to access someone else’s folder in Linux.  That’s a good idea.  But do I have to put in a root password?  No.  It’s just a waste of time.  But whatever.     The real problem is it took win 7 almost 2.5 minutes to get permission to access the folder.  Seriously, WTF? There’s no excuse for that.  If I were on the team responsible for that piece fo shit, I’d be ashamed to put it on my resume.  As I type this, I’m waiting nearly 20 minutes for CoD4 to install Microsoft DirectX for Windows.  Why?  How can this possibly take so long?  I decide that something must have gone wrong, so I click cancel, and lo and behold when I start CoD everything is ready to go.  It just hung for some damn reason.  While I’m discussing DirectX, why is it that something like 80% of the games I install install DirectX again.  Over and damn over, the same damn version of direct X.  Is it because the programmers are too laze to write code to check if DX is already installed?

Here’s another great example.  After my clean install and after one of the automatic reboots, I was surprised to find a Creative Sound Blaster logo on my screen, along with a promt whether or not I want to install drivers.  I’m thinking “Awesome”, until after several minutes the process crashes and reboots my computer.  Slightly miffed, I dig out the install disk for the drivers and try that:  BSOD.   Now let me say, that’s fucking pathetic.  BSOD on a driver install on an otherwise clean install of Windows?  WTF?  You assholes should be fucking ashamed of yourself.   So I go to Creative’s site to download the right drivers… lets see what happens… I better save this post in case it BSOD’s during install.  Several minutes for the driver install  (WHY?)… should I make a tee?  What if it reboots, I’ll miss the error message…  Joy!  Installation completed successfully.  It asks me if I want to restart now…  I decide to see if i can play CoD with sound or not, and will reboot only if necessary.  So I start CoD and it promts me to install Microsoft DirectX… Again?  Why?  WTF?  I actually RAN CoD just five minutes ago, and now I have install more DirectX stuff?  Probably some audio components…  But still now sound, so let’s reboot again.  How many reboots is that until I can actually play a game?  At least 5, and that’s not counting the BSOD’s.  Count them and it’s more like 10.  No wonder PC gaming is so much less popular than console gaming.

So I reboot, and then there’s a whole monitor covered with Creative marketing crap.  It tells me that I should check for updates.  But I just downloaded the drivers from Creative’s web site, surely they are up to date?  Well, let’s check.  It will surely come as no surprise to you that indeed there were critical updates for my drivers, which I had not 5 minutes ago downloaded from Creative’s site.  That this is no surprise tells you how much Microsoft’s Customers should better be called Microsoft’s Bitches.   And guess what I have to do as soon as the updates are installed?  Yeah, you got it, reboot again.

Another full screen marketing assault from Creative tells me I really ought to register my product.  What the fuck is my serial number?  Ignoring them I notice that Steam has finished downloading fallout 3, and I think “hey, I bet this’ll give me more to bitch about in my blog”, so try running that.  Guess what it has to do?  Yeah, that’s right, install direct X.  Then it has to install some other crap, and when it reaches “Microsoft .NET Framework 3.0 x86 Setup” it tells me I must use “Turn Windows Features on or off” in the Control Panel to install or configure Microsoft .NET Framework 3.0 x86″.

Anyways, I finally got it running well enough to play a game or two.  I have more issues with my soundblaster card on windows than i do in Linux.  So I gotta say, Windows is harder to get working than Linux.  Big day.

America’s lack of conservatives

My mother and aunt Herta called me last night. I forget how we got to it, but I was explaining to Herta how low taxes are here in Switzerland, and how much more the Swiss government provides with that money than the American government manages to provide despite a much higher tax rate. How big is the discrepancy? I have roughly %13 in withholdings, including all taxes and unemployment insurance. Switzerland has a private, but highly regulated medical insurance system (a lot like what Obama is trying to push through), so I do have additional health care costs, compared with other countries. That money pays for an incredibly stable and responsible government, which takes great pains to protect the air and water quality, provide an excellent education system with top class university educational available, virtually for free, for anyone willing to work for it. They have the best mass transit system I have ever seen anywhere. They do a commendable job protecting the environment. Crime is virtually non-existent and emergency systems and infrastructure are second to none.

So we got to talking about how this works so well, and I said I thought it was partly thanks to the excellent system, and partly thanks to the culture (which has its defects, but certainly contributes to the well functioning democracy). Herta made the comment that yes, the Swiss are very conservative, responsible voters. So I took a breath and said, well, yeah, that’s right, the Swiss are conservative in the sense of the english adjective, but not in the sense typically used in American politics.

The problem is, there is no real conservative political group in the United States, if we consider conservative to mean cautious, thinking far into the future, and making sober careful political decisions. American so-called conservatives, i.e. the Republican party, are dangerous radicals. Whenever the Republicans are in power they institute dangerous and radical social, political, environmental and economical changes, whose consequences often take many years to manifest. A real conservative would carefully weigh the merits and demerits of opening new territories for exploitation. A real conservative would have looked at the trends with oil production and the consequences of oil dependence and global climate change back in the seventies, and begun making plans. American so-called conservatives just say “deregulate!”, “drill baby drill”. The Republicans, who call themselves conservatives, essentially follow the greedy-algorithm, which basically consists of the “take the step which gives me the largest immediate gain”. This algorithm leads to dangerously unstable outcomes, both in computational science, and in real life.

Fedora 12: Configuring it like I like it.

Well, Fedora 12 is out. I use Fedora, because their target audience is people who would be inclined to, and be able to, contribute to free software. This means the target audience is more savy than the target audience for, for example, Ubuntu. I’m tired of OS’s aiming at the least common denominator. An OS that’s efficient for a skilled user differs from one that attempts to idiot proof things.

Of course there are a few steps needed to get Fedora working like I want it to. They are only slightly modified from my Fedora 11 steps:

  1. Fix the DNS lookup bug. On all the machines I administer, this manifests itself as massive dns lookup failures, with the effect that although you can ping an address, you don’t have any internet access (no web browser, no yum…). This answers the question: I have an internet connection, but I can’t use the web, WTF?
  2. Access to fusion.  Fusion provides all that useful stuff that’s not in the default fedora repo, like mplayer and codecs that might be subject to patents.
  3. Add MP3 support/get Amarok working.
  4. Get Flash working (people need their youtube).
  5. Graphics acceleration
  6. Add ntfs support.
  7. Disable physical file folders.
  8. Enable Ctl-Alt-Backspace
  9. Deal with the “my laptop hangs while booting bug” if applicable

1. Fix the DNS bug
Apparently there is a known bug, which mucks up the domain name lookup with certain ISP’s, of which bluewin (my ISP) is one. In the bug description the complaint is that you get unreliable name lookups, but in the case of bluewin (my isp), you get no successful lookups. A workaround is:

  1. Find out the network interfaces the machine has using the command “route -n”.
  2. Create a file: /etc/dhclient-< your network interface name here >.conf consisting of the line
    prepend domain-name-servers 127.0.0.1;
  3. Start dnsmasq (‘service dnsmasq start’).
  4. tell dnsmasq to start every time the computer does (‘chkconfig dnsmasq on’)
  5. restart the network connection (‘service NetworkManager restart’)

So on Sunny the Sony I want to get my wireless LAN working right on Bluewin. Running ‘route -n’ tells me my network interface is ‘wlan0’ (which I could have guessed). So I do the following (as root of course):

echo 'prepend domain-name-servers 127.0.0.1;'  >  /etc/dhclient-wlan0.conf
service dnsmasq start
chkconfig dnsmasq on
service NetworkManager restart

And presto, my internets work again. I don’t put it on this list, but at this point I run a ‘yum -y update’ to get the base install up to date.

2. Access to fusion:
Fusion is a merge of the largest existing repos, and means to be the extra repo for fedora, including (separate) free and non-free packages that Fedora is not able to ship of license or export regulations.  The following will get you both the free and non-free (as in freedom, not in cost) repo’s:
su -c 'rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm'

3. mp3 support.

I still use Amarok, which I am still unsure about recommending. I found Amarok 1 vastly superior to the alternatives however, so I’m hoping Amarok 2 eventually becomes awesome. In addition to Amarok, I want lame for when I rip my CD’s for my car mp3 player, mp3 support for Totem, etc. So I do the following:

yum -y install amarok lame* gstreamer-plugins-ugly xine-lib-extras-freeworld

And things seem to be running all right.

4. Get Flash (i.e. Youtube) working This solution comes from here
Go to  http://get.adobe.com/flashplayer/ , get YUM for Linux, and perform the install.  Then,
yum -y install flash-plugin libcurl
yum install nspluginwrapper.{i586,x86_64} alsa-plugins-pulseaudio.i586
rpm -ivh adobe-release-i386-1.0-1.noarch.rpm
rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-adobe-linux
5. Enable your 3d hardware acceleration.

While it’s possible to just download the nvidia installer and get things running, you’ll have to recompile the driver every time you update the kernel.  So it’s easier to use the fusion repository.  You’ll also have to disable the nouveau drivers, which prevent the kernel from loading the nvidia drivers.  This can be done by recreating the initrd, or by adding a command line option to the kernel.  I do the former with the following command:

mv /boot/initramfs-$(uname -r).img /boot/initramfs-$(uname -r)-nouveau.img
dracut /boot/initramfs-$(uname -r).img $(uname -r)

It’s also necessary to lower the system protection so SElinux doesn’t stop the driver from loading:

setsebool -P allow_execstack on

Finally, you can install the drivers:

yum -y install kmod-nvidia-PAE

Obviously, if you aren’t using the PAE kernel, you’ll have to adjust. You also have to adjust the installed driver if you’re using a GeForce5 or older card. Details can be found here .

6. Make the fat drive writeable, and add NTFS write support, so people can easily work with Windows.
For any fat partition, change the umask in fstab to 000. For NTFS support:

yum -y install ntfs-config.noarch
7. Disable “physical” file folders. This is the annoying behavior, default in gnome, that opens a new window for every folder that you open. Get rid of it by double clicking on a folder, and in the resulting window open edit->preferences->Behavior, and check the box for “Always open in browser windows”. There is a scriptable way to do this, so if someone wants to tell me, please do.
8. Enable ctl-alt-backspace.It always frustrates me when a distro moves away from supporting the power use to supporting the neophyte. I think there are plenty of neophyte oriented OS’s and distros around. I use Fedora instead of Ubuntu because Ubuntu aims too much at the dumb asses, and Fedora tends to support the people who want to learn and be efficient. Unfortunately the Fedora guys do make dumb-ass-friendly decisions, such as the decision to disable ctl-alt-backspace, which I find to be a very poor decision. Who hits this key sequence by accident? Anyway, to enable it in Fed 11 do System->Preferences->Keyboard, choose keyboard layout options and enable the checkbox for “key sequence to kill the x server”.
Fedora claims to be aimed at people who are willing and able to contribute to open source software.  I think people who fall into that category would prefer to have ctl-alt-backspace enabled by default.  What do you say guys?
9. Fix the tpm_tis bug
On several laptop models, including my Sony SZ750N, there is a bug which results in fedora seeming to hang at boot. In fact, it just boots very slowly, forcing me to wait about 6 minutes, occasionally putting out something to the effect of: “tpm_tis: 00:0a 1.2 TPM…” etc. etc. There’s a discussion of the bug here. The workaround is to add “tpm_tis.interrupts=0” to the kernel boot options (e.g. by editing grub.conf).

Java Gripes

I, for my sins, am now programming in Java. By now I have a lot of experience programming with a pretty large number of programming languages. Java, C++, C, Basic, Visual Basic, SQL, Python, Perl, php, Matlab, etc.

While I have to admit to having a prejudice against Java as YAPL (Yet Another Proprietary Language), I knew that in all likelihood I’d be working in it for some time, and I did my best to reserve judgement and find what is good in the language.

By now though, I think I’ve gotten good enough in Java to have an informed opinion. While Java has its strengths, and it could certainly be worse (it could be visual basic for example), I’m generally unhappy with it. I think the big problem I have with Java is it marketed to be used in application domains where it simply isn’t right choice. I suspect that for medium sized projects, free projects, projects which require a heavy network integration or should run as an applet, it’s probably a good language. For certain problems I would even believe that it’s the best choice.

But for large, complex projects, in particular projects in which you want to sell a binary and not sell a source code, forget it, Java’s a nightmare. But I don’t want to get into an encyclopaedic discourse of the ills of Java. I actually just want to use this forum to vent my frustrations with the language, and keep a kind of running diary as problems cross my mind. I suspect it will be useful when I need to explain to someone why I don’t care for a language. Normally when I get involved in such conversations my frustration is to palpable for me to explain my concerns lucidly: I’m to busy trying to get my head above the frust.

For today, let me just gripe about how Java has too many advocates. I suspect that this ill, along with most of Java’s ills, stem from the fact that java is owned by a corporation which expends a lot of money and energy trying to brand the language, generate a community, and in general get people feeling all tribal about being a Java programmer. Consider this blurb on the back of “Killer Game Programming in Java” which has on it’s back cover blurb “As a result [of poor documentation] Java has become a second-class citizen to C, C++, and assebly language when it comes to hardcore game programming. This book changes all that…”

Ugh. That’s just typical of the Java world. The book jacket isn’t trying to sell a book, it’s selling Java to a problem domain. The fact is Java isn’t the right choice for a “hardcore” game. My understanding of the term “hardcore gaming” is pretty much, by definition, to be “resource intensive”. That means efficiency and complexity (both algorithmic and code-complexity) are an issue, and that’s where Java just isn’t a good choice. Not only that, but games tend to be commercial undertakings, which means selling binaries and license management etc, which means obfuscation, which means you can’t break your code down properly into modular units and libraries. Generally if it’s really computationally intensive, you want to manage your own memory…

Now, I have to use Java for a 3D application. I have no choice. So I’m happy to have the book and I’m sure it will be useful to me. I’m also sure that there are a number of applications for which Java’s 3d apps are a good choice (smart phones, web apps, free software projects), but trying to convince the reader that the only thing keeping Java from being as good a platform as C++ and assembly is the documentation, well that’s just disingenuous shilling. The Java community is like the P.T. Barnum of programming communities.

Atheism and the holidays

Well, Switzerland just passed an anti-minaret initiative, which forbids the construction of new minarets in Switzerland.  It was a very dissappointing result.  Preliminary polls indicated that only 36 percent of Swiss favored such a law, which leads  me to believe that the racist, fear-mongering, irrational and emotion-based ad campaign was successful.  Members of the EU made public statements to the effect that ‘some issues shouldn’t be up to the people”, in other words, Switzerland suffers from an excess of Democracy.

Well, sometimes Democracy leads to poor results, but so does every other form of government.  Who decides what gets to go to the people?  Would Switzerland be better off with a top-down psuedo-democracy like the United States, where the corporations reign so supreme we’re struggling to impose some oversight on health insurance providers?  Nuts…

Now me, I’m almost okay with the minaret ban.  The only real problem is, it’s discriminatory.  The SVP claim that there is a need to  ban minarets because they symbolise political power of a religion.  I actually agree with that completely.  However, to be fair, we need a ban on all new religious towers.  Band the goddamn church towers I say.  I can’t tell you how many people I know who get awoken by goddamn church bells every weekend.

Bettina was so upset she started talking about moving to the states.  Well, if we ever fix our health care system, that might be something I would consider.  Certainly I don’t think such a ban would stand up in America, but that’s largely because we have such an undemocratic system of government, where the laws scarcely reflect the will of the people.    On the other hand, religious tolerance is a deeply engrained ideal in America, so perhaps a similar vote would turn out differently there.  I’m not entirely sure.

America does idolize religious tolerance and freedom.  You have the freedom to believe whatever you like, as long as you choose to believe some irrational bullshit based on some book written by a lunatic or a charlatan at least a hundred years ago.  It’s perfectly acceptable to believe that god screwed some virgin 2000 years ago, that the earth is only 4000 years old, that jesus actually lived in the states at some point and that the indians are the lost 13’th tribe of Israel.  But god forbid you believe in reproducibility and the evidence of your senses.  God forbid you believe in rational thought.  If you conclude that the idea of a cosmic father figure is kind of silly, well, apparently you’re as bad as Hitler in America’s eyes.

Think I’m exagerating?  Maybe.  The NYT has a nice article about secular humanists, who are conducting a billboard campaign.

“We don’t intend to rain on anyone’s parade, but secular people celebrate the holidays, too, and we’re just trying to reach out to our people,” said Roy Speckhardt, the executive director of the American Humanist Association. “To the degree that we are reaching out to the godly, it’s just to say that you can be good without god. So their atheist neighbor down the street shouldn’t be vilified as though he is immoral.”

There have been some interesting responses:

The head of the Catholic League linked secular humanists to figures like Hitler and the serial killer Jeffrey Dahmer. The publisher of “Santa Claus Is Coming to Town” complained about the signs. In Cincinnati, a billboard that said “Don’t believe in God? You’re Not Alone” had to be moved after the owner of the billboard property said he had received threats. In Moscow, Idaho, a sign that said “Good without God. Millions of humanists are” was vandalized twice in three weeks.

Man, so secular humanists are like Hitler and Jeffrey Dahmer. I found the following bit particularly humorous:

“It is the ultimate Grinch to suggest there is no God during a holiday where millions of people around the world celebrate the birth of Jesus Christ,” said Mathew D. Staver, founder and chairman of the Liberty Counsel, a conservative religious law firm, and dean of Liberty University School of Law in Lynchburg, Va. “It is insensitive and mean.”

I just want to mock the guy for using the word “Grinch” in such a dumb way, and to further mock him for working for the “Liberty University”, and being chairman of the “Liberty Council”. How very newspeak.

You know, as an atheist I’m constantly subjected to religious propaganda, in advertisements, in television shows and movies, at people’s weddings… recently I was at a wedding where the priest recited that verse that goes “and the lord god gave us dominion over the earth and all the animals and all the fish and the sea… be fruitful an multiply…”. Is there a more harmful belief in this day and age, than to think that we should dominate the planet, that we need more children? What we need is a little more respect for our fellow living creatures, rather than more dogma saying we’re somehow special and it’s okay for us to do whatever we like to the little fishies, as they are ours to do with as we see fit.

On the other hand, I’m encouraged that the percentage of Americans identifying themselves as having no religion has more than doubled since 1990. I think we can thank the religious right for giving religion such a bad name, and encouraging people to start thinking for themselves.