One Primary Reason Why I Prefer Ubuntu

I happened upon this image a few weeks ago, and I started thinking about it.

I started thinking about how Windows assumes that you’re a criminal, and it’s up to you as a user (through constant verification with Microsoft) to prove that you’re not. Unlike how most of civilized society views the legal process, where you’re innocent until proven guilty, Microsoft works the opposite way. You’re guilty until you continually prove your innocence.

And this annoys me. Because even if you’ve bought Windows, paid your hard-earned money for it, you’re still being treated as a potential criminal. Even if you’re a loyal customer to Microsoft, you’re still constantly being treated with a degree of mistrust. Even if you’ve bought and used nothing but Microsoft-produced software for all of your life, this still doesn’t qualify you to be completely trusted by them.

I find it both sad and kind of funny how many corporations today expect customers to keep buying their things, but still insist on treating them with dislike and as potential criminals. The movie and recording industry are prime examples here, but Microsoft does the same thing to a slightly lesser degree. When you run Windows, you’re not trusted. Not only are you not trusted to be running “genuine” software (whatever that means) you’re not trusted to take care of your computer. Windows will constantly treat you like a semi-retarded individual.

But, I digress. The point of this whole rant is that Windows (and by extension it’s creator, Microsoft) does not trust you. Like a greedy dragon it will lie on the golden pile, constantly watching you and constantly distrusting you.

Ubuntu, on the other hand, does trust you. It trusts you so far that you’re even allowed to peek at the source code, the magic sauce that makes it all happen – and even entrusts you with the power to modify this and share your modifications with the world. Ubuntu has no need to verify if it’s “genuine” since it’s always genuine. It’s redundant, and in the world of Ubuntu it’s as absurd as trying to sell shoes to fish.

Ubuntu does trust you, and doesn’t monitor you. It also does not treat you as a second-class individual and gives you the power. After that, it’s up to you to wield that power properly.

En Serverdröm

En tanke som vuxit i mitt huvud är att driva egen server. Jag gör det nu, inofficiellt, men skulle vilja göra det i mer officiell kapacitet. Kanske som ett litet webhotell?

Jag sköter om sidor och domäner åt ganska många människor nu, en del ligger på “riktiga” webhotell och andra bor hos mig på min hemmaserver till självkostnadspris. Självkostnadspris, dvs vi delar på elräkningen för att ha en maskin igång 24/7.

Emellanåt under de senaste åren har tanken på att flytta till en “riktig” server dykt upp. Det hade varit skönt att slippa ha en server hemma som slukar dyr elström, och det finns många lockelser med att flytta till ett webhotell. Dock har jag alltid känt att styrkan i att driva egen server försvinner, och man får underkasta sig diverse nycker som webhotell alltid har.

Alternativen har varit att hyra en VPS (Virtual Private Server, en virtualiserad server), att hyra en dedikerad server eller att köpa en maskin och bo på en Co-Location nånstans. VPS är ganska uteslutet då jag ännu inte hittat nån VPS-leverantör som ger valuta för pengarna i förhållande till mina behov. Att hyra en server är ett alternativ, men ett dyrt sådant i förhållande till vad man får. En colo förutsätter att man redan har en maskin att drifta, något jag för närvarande inte har.

Men…

På senare tid har jag börjat sparka runt idén med att köpa en bättre begagnad server och hyra in den på colocation samt flytta alla tjänster jag annars driver hemifrån dit. Jag tänker också att då skulle jag officiellt kunna flytta bl.a. min far och min moster dit och släppa lös dem från det kommersiella webhotell de bor på nu. Kanske vill Jocke också flytta dit? Ylva, André, Linda, John och Micke bor redan hos mig.

Tanken som är nu blir nåt i stil med att alla intresserade delar på inköpskostnaden för maskinen och den månatliga kostnaden för en colo. Jag sköter administrationen och driften av maskinen, och kollektivt delar vi på kostnader. Ett slags kollektivt webhotell.

Med tillräckligt många intresserade skulle inköps- och driftkostnaden bli relativt låg. Inte så låg som vissa budgetwebhotell men i förhållande till vad man får skulle den bli väldigt låg. Inte dela server med hundratals andra människor, inte vara utsatt för webhotellets nycker och infall, slippa mycket av den byråkratiska idioti som många “riktiga” webhotell sätter i system samt ha en kunnig person som sköter om allt i bakgrunden och slippa en anonym “kundtjänst” som mest är där för att vifta bort problemen.

Vad tror ni? Är någon intresserad av att delta i detta?

The Lynx On The Laptop

The other day I upgraded Ubuntu on my laptop to the latest 10.04-release. It went without a hitch, and because my laptop is unaffected by the I/O bug it went fairly quickly. A little over an hour, most of which I spent watching “Damnation Alley” and occasionally checking up on the laptop.

After it was done I rebooted, and everything was peachy. Nothing major to report, except that I now can use Compiz/Desktop effects on it without X freezing after two-three minutes. That’s a major improvement in my book, since I now can play (an admittedly quite jerky) Xmoto on it. Previously X would freeze up whenever any accelerated graphics were in use.

Quite nice.

Settling Down With The Lynx

Yesterday I took the plunge and upgraded my installation of Ubuntu to the freshly squeezed 10.04 aka “Lucid Lynx”. Yeah, the codenames are silly, but I find that they help identify the generation you’re using. Whatever.

These are some random assorted impressions after the first 24 hours of use.

First off, the frickin’ disk I/O whatever bug is still there. It seems a bit mitigated, but heavy disk I/O will still make my computer take long and completely unwarranted pauses. THIS IS INCREDIBLY ANNOYING, and even more annoying is the fact that more than two years down the road and no one still knows why this is happening or how we fix it. Sure, we’re relatively a minority of users who are affected by this, but we’re still lots of people. This is a big, big blight on the otherwise quite good Ubuntu-stamp of approval.

The upgrade went fine, even if it took ungodly long. I think the upgrade took a total of six (!) hours for me, and I heavily suspect the above mentioned disk I/O regression whatever bullshit is to blame for it. I could theoretically still use my computer while upgrading, but it was essentially like trying to pass a kidney stone so I simply let the machine putter for all that time and resorted to my laptop. Which is blissfully unaffected by that bug, even though the funky onboard ATI x300 has some quirks. I’ll be upgrading the laptop to Lucid in a few days, and maybe those quirks will disappear by then – although I don’t have very high hopes that they will.

After the upgrade finished I rebooted. There were a few tense moments when all I stared at was a black screen with a blinking cursors, but then my harddrive started ticking and vrooom, I was greeted by the new GDM login-screen. It’s quite purple, and while it’s pretty I think the dark chocolate of Karmic was a bit prettier. But booting went fine and it went quick, so it seems the priority to pull down the long boot-times has been a wise choice. HAL is completely gone now, and this is (as far as I can understand) one of the major contributions to the increased boot-speed.

I can’t say anything about the new UI changes, since my desktop looks and functions almost identical to before the upgrade. Same theme, same settings, same everything. Some minor keybindings had inexplicably changed, and some minor settings in window management, but a few clicks in the settings and it was back to normal.

Some minor griping is about this new idea that applications don’t appear in the notification area, but rather create their own icon/applet in the panel. Transmission for example would previously appear in the notification area, and required one click to open it and one click to tuck it back in. Now, with the new behaviour you require twice the amount of clicking to perform the same action since clicking will open a drop-down menu, THEN you click “Show transmission” and then the same to hide it again. Sure, you can hide it by clicking the close-button but it’s still inefficient and a bit obtuse in my opinion.

The volume control and Rhythmbox act the same way, imitating panel-applets rather than notification icons.

Thunderbird has been upgraded from the 2.x tree to the fairly new and shiny 3.0. That’s nice, even though I find a lot of the new Thunderbird a bit confusing. I do however like the non-existing toolbar, and just like Firefox it now sports an “awesomebar” instead. Quite nice. Thunderbird is definitely moving in the right direction and I feel zero incentive to change my mail-client.

The Day For 10.04

Today is the 29th of April, 2010. To most people it’s just another day, but to us nerds it’s the day of release for the latest Ubuntu-version. In this case it’s 10.04 aka Lucid Lynx.

So far the official Ubuntu-site hasn’t been updated, and my update-manager hasn’t started squealing about this yet, but I’m guessing it’ll happen in a few hours. I’m going to hold off on upgrading until the weekend (or possibly later even) to make sure that the load on Ubuntus servers lighten.

Lucid seems promising. I’m not completely excited about it, but it takes more steps in the right direction. I’m a little ambiguous about the new default theme – it’s pretty and it’s nice to see Ubuntu move away from the dominant brown colors, but at the same time it might be confusing to newbies. None the less, I don’t really care about it in the long run, since I’ve been running the same theme for almost two years now and won’t change it just because Lucid rolls around.

No, my biggest hope is that they’ve finally fixed the disk I/O bug. Or whatever it is. It’s been a problem for me since the days of 8.04 (aka Hardy Heron) and it’s become progressively worse. According to most sources it’s a problem with some kind of driver-regression in the kernel, but I have yet to get a straight answer, much less get a fix for it. In fact, whenever I’ve submitted a bug-report it’s been quashed and deleted. Often times I felt as if I was taking crazy-pills – it’s here and I’m not the only one affected by it, but the people in charge seemingly choose to ignore it.

So, that’s my biggest hope. Other than that, I see 10.04 as more simply more Free goodness.

AMD/ATI: Please Get Your Ass In Gear!

(Warning, this entry contains foul language)

Recently I made some changes to my computer setup. One of those changes consisted of buying an ATI instead of Nvidia graphics card. I’ve been doing a lot of changes to my basic principles lately, and foregoing Nvidia in favor of ATI was a big one.

I’ve been buying Nvidia-based cards for the last decade. Mostly out of lazy habit, I’ll gladly admit. I’ve justified it with a feeling that Nvidia provided slightly better bang for the buck in the mid-segment where I usually buy graphics cards. This was also a traditionalist thing, since back in the days Nvidia and AMD had a close thing going what with the first Nforce-chipsets and so on. I’ve also been a long-time AMD customer, and have bought nothing but AMD-based platforms for the last decade.

But a few years back this changed when AMD coughed up the dough and bought ATI outright. Alliances changed and now it generally makes more sense to buy ATI if you’ve got a computer with a cpu from AMD. So, since I was (for a change) buying something in the high-end segment I went for ATI. It also made sense since my motherboard has Crossfire, and it would be nice to later down the road add a second card when prices start dropping.

All was not happy though. I’m primarily a Linux-user, and a far distant second Windows/gamer. I spend maybe 90% of my time in Linux, and I knew it was a gamble to go for ATI over Nvidia here, since I’ve read that ATI is lagging behind in support for proper operating systems.

I went for it anyways, and even though I’ve worked out most of the kinks it’s quite true: despite lofty quotes and claims from AMD the support for non-legacy operating systems is quite poor compared to what Nvidia offers.

Essentially I feel as if the binary driver for Linux that AMD/ATI offers is of dubious beta-quality. Of course, they claim it’s production, but it’s so littered with strange bugs and occurences that I can only assume it’s unfinished. It’s also quite primitive compared to Nvidia, and doesn’t offer nice things such as alpha-blend compositing.

But it’s the bugs and annoyances that are the worst! Having to log out and then log back in again simply because the driver suddenly decided that the screen should go black while changing desktops. Or that wheen performing a desktop-zoom it should become inverted.

Not to mention that the driver insists on running the fan at an ear-shattering 50% (approx 2500 rpm) by default. Admittedly it does the same in Windows, but at least in Windows the Catalyst Control Center has an easily accessible option of manually overriding this. In Linux you’re forced to figure out the commandline aticonfig command – which as far as I can tell doesn’t even document the switches needed! I had to google myself to them on some forum, because nowhere in the driver documentation or on AMDs website are they listed!

For fucks sake! AMD, get your shit together and stop mucking about. If you’re serious about supporting Linux, open-source and the like then either release a PROPER driver, or release the specs and all the requirements so the community can write a driver. As it stands, it’s like partial circumcision.

Otherwise I’ll be force to go back to Nvidia when I next upgrade my computer. Which will also mean that I’ll leave the AMD-platform that I’ve been loyal to for a decade and start buying Intel-chips instead. I’m tired of this bullshit.

However, I will give props for making the driver easier to install on Ubuntu than Nvidia does. But of course you didn’t document how to do it, instead I had to find it on Ubuntus wiki. So I guess it’s a half-win for you, and it doesn’t make up for the poor performance and quality of your binary drivers.

New Old Server

It seems like eons ago that I started this thing. Back in 2003 I installed what would become this server, and after a while this started to grow. The name (darklands) was inherited from that machines previous owner, and it still felt right. Admittedly I have none of the original hardware left, having replaced everything including the chassis, but the name still sticks.

Debian was the operating system of choice, made as far as I can remember on an impulse and a mild suggestion from a friend. Debian Woody to be precise, since back then I didn’t really know much about Debian and went for the “stable” release.

This installation served well for the next seven or so years. It got upgraded twice (from Woody to Sarge, then from Sarge to Etch) and survived my occasionally wild exploits. It hosted websites, and helped teach me a lot about the finer qualities of maintaining a 24/7 server.

But as time went by it became more and more unstable. Or rather, not unstable as such (uptime when I pulled it offline was 270+ days) but it had developed a lot of personality. Since I didn’t quite know what I was doing in the beginning, back in 2003, I took a lot of -in hindsight- very poor decisions. Decisions which I later regretted and had to endure working around for the next seven years, always being a nagging irritation at the back of my mind.

No more of this now.

I spent a week reinstalling the machine from scratch. After giving a lot of thought to it all I decided to go with Ubuntu Server instead of the previous choice, Debian. Admittedly, since Ubuntu is based on Debian the differences are very subtle, and all in all I’m quite happy with Ubuntu even as a server OS. It’s got the good things about Debian, and very few of the annoying ones.

The reinstallation was surprisingly smooth. I transferred the original machine into a virtualized environment running on my workstation to minimize the downtime while working on the actual machine. This proved to be a good idea, and I’m happy I took the time to do it. It also cemented that VirtualBox is a perfectly decent environment for virtualized computing.

Reinstallation went smooth. Minor hiccups always occur, but with seven years of experience I sorted them fairly quickly. Getting the external services running proved a challenge, but after some tweaking I managed it just fine. Apache, MySQL, all that stuff went up fairly quickly, and with minor modifications and tweaks the original content and configurations could be transferred to the new environment.

Internal services also went up smoothly. In about two days I had gotten approximately 90% of the external and internal services up and running. Quite nice. It’s been running for about a week now, basically just a shakedown to make sure things don’t go haywire for no reason.

Work remains, but now I can do it in the background or at night while the machine hums along and provides the same services it has always done. I’m happy, and proud of myself.

Upgrading Firefox 3.6 Under Ubuntu

I’ve been avoiding upgrading Firefox from 3.5 since up until just recently I hadn’t found a good way to do it under Ubuntu. The only real option I’d found (apart from installing it manually) was using the mozilla-daily PPA, and that has some negative effects since you’re essentially installing a nightly developer-build of the browser that isn’t adapted to Ubuntu. It’s just a little too bleeding-edge for my taste; having your browsers behavior change on a virtually daily basis because you’re running nightlies of developer-versions is not something I recommend. Additionally it doesn’t install the Firefox-branded version but rather the generic Iceweasel-version instead, which is a minor annoyance.

Until I found this little article detailing a different PPA to use, and it worked flawlessly. A quick tour in aptitude and presto, new version of Firefox.

I’ve been using Firefox as my main browser for many years now, and I see almost no incentive to change that habit. I’ve used it since back before it was Firefox, back when it was Firebird, and it’s still the best browser in most ways. 3.6 has made it better by removing some of the annoyances I had with 3.5, most notably how the browser would often simply “pause” for a second or two. Admittedly a lot of these annoyances could stem from me using about 56954 different extensions but whatever.

It’s a nice improvement, and if you’re using Ubuntu then the abovementioned PPA will be a nice and easy way to upgrade. It won’t blow your socks off, but it’s a nice improvement. Slightly faster and more of the same Firefox-goodness we’ve all come to love over the years.

MyPaint And The Ancient Wacom

Yeah, weird topic. However, I discovered MyPaint purely by chance earlier today. It looks like a neat Painter-style application geared towards people with a preference for Free and Open Source software. It runs on Windows and Linux, and there’s a nice .deb ready for Ubuntu from GetDeb so installation was a breeze.

I dug out my ancient Wacom tablet (not my tablet pictured, mine is a lot more dirty and worn, and I lost the silly mouse thing years ago) which I’ve had for almost a decade (it turns ten this summer) and got a little curious as to how painless it would be to get it running under Ubuntu. Turns out it was completely painless – plug it into an available USB-port and presto, everything works just as expected. Especially important was the pressure-sensitivity, and when I gave it a quick go in MyPaint it worked just fine.

So, maybe soon I’ll be doing some virtual painting again? Was a long time since last I did this, might be fun!

Prepare For “Ludicrous” Speed

This is the fanspeed reported by i8k on my recently inherited free second-hand laptop running Ubuntu. Notice anything?

fanScreenshot

The speed reported is… well… slightly exaggerated. 70k plus revs per minute? A jet engine powering a jumbojet doesn’t spin that fast. Methinks the speed is erroneously reported…