Saturday, April 28, 2007

How I get the Nokia E61i working for me

These are some notes a made while setting up the Nokia E61i phone such that it works for me.

My main requirements are:
  • Beeing able to call people from my phone (!)
  • Reading email, both my company imap account and GMail.
  • Syncing events and contacts with my MacOSX computer
  • Ssh from the phone
  • Using phone as modem for the Mac
  • Using phone as modem for my linux laptop
  • More secondary, IRC, GTalk, MSN, etc. from the phone.
  • And probably some more
During the first day, I just poked around on the phone, tried to figure out the Nokia S60 system. As I always have been a Sony Ericsson guy, this is all new to me. But fortunately quite easy to figure out. And I was of course able to call people and send SMS right away.

Email


Setting up email for my company account took me a few minutes. First time I started the email application on the phone, it asked me whether I wanted to set up an account. Sure, I did, so I went through the wizard, entering in imap and smtp server, account information and so on. After that, nothing works. Of course, I knew that our server requires SSL/TLS, but as I was not asked about security during the wizard phase, I just assumed it detected these things by it self. But it didn't. After consulting the booklet that came with the phone, I figured out where to go. After turning on SSL/TLS for both in- and outbound messages, and entering account information for our smtp server, I can send and receive messages. It even supports the concept of selecting a subset of folders on the imap server for synchronization, and actually just shows me thoses selected folders when I open the mail application. A life-saver for me. Now, I have set the phone up to automatically download email from 3 different folders, every day of the week between 16:00 and 02:00, every half hour. That should cover my requirements just fine.

Then I moved on with GMail. First, I opened the webbrowser using the WiFi connection we have at home. Entered in http://gmail.com, and on the top of the GMail page I was asked whether I want "Faster GMail for phone". Of course I want faster GMail, so I followed the link. This downloads a S60 (or maybe Java?) application that works quite nice on the E61i. So far I have to select the internet connection to use for the GMail application each time I start it, but I guess this is something that can be adjusted.

Bluetooth


Bluetooth is of course working flawlessly on this device. New to me was that I had to go into the Bluetooth system after pairing a device to mark it as an authorized device. On devices I have had in the past, this was a question during the pairing phase. But as soon as I figured this out, it really doesn't matter - just different ways of doing things.

After sending a few pictures to the desktop Mac just to see that Bluetooth is working, I proceed to the syncing issue. Actually, I attached the usb-phone cable first, and started iSync, but scan for new device in iSync does not find the phone. So I went to goole instead, and found this page at Nokia where it is possible to download an iSync plugin for many Nokia phones, the E61i beeing among them. As told on that page, I closed iSync, installed the plugin. Then I used the "Setup new Bluetooth device" in the Bluetooth system on the Mac, and put the phone in discoverable mode. The phone was detected just fine, and I had the option of selecting it for iSync use and as a modem. I selected both. Now iSync started up in the configure new device mode, with some reasonable defaults. I adjusted which calendars in iCal to synchronize with the phone and did a few other adjustments. Then I pressed the "Sync Devices" button in iSync, and suddenly all my events and all my contacts are on the phone. Quite nice.

As I selected the phone for use as a modem during the Bluetooth setup, that is probably ok already, but it remains to be tested.

Other connectivity from the phone


Ssh from the phone is coverd by installing PuTTY for S60. As stated on the s2putty page right now, I went for the "unofficial build" of PuTTY, as some nasty bugs on v.3 of S60 have been clean up in some recent builds. This PuTTY works very well. Actually, I went to the s2putty page using the browser on the phone on my WiFi connection, dowloaded a zip with the application. Within a minute, it was downloaded, installed, and running. As the E61i have a full keyboard, even with a Ctrl key, I can connect to a linux server at work, attaching a screen I have running, and instantly chat on irc channels and read news. And do all sorts of other things I regularly do in a shell.

As I want to be able to use Skype, GTalk and maybe even MSN from the phone, I also installed fring. The installation and getting started part is very nicely covered on that webpage, so I want say anything more about it. Just go there, type in the required information. You will then get a text message with download instruction, and in just a few minutes you have all the internet-phone and chat connectivity you ever want.

From time to time I may want to IRC directly from the phone. To cover this, I installed mIRGGI. It just works. Probably, I will usually use PuTTY, and the screen on my linux server, if I need to use IRC, but you'll never know. It is nice to have.

As you can see, most things are comming along quite nice. I guess there will be annoying things creeping up when I dig deeper down, but so far I am happy with the E61i. I will get back with a review on how it works for me in the daily life after I have used it for a week or two.

Stay tuned, and take care!

Thursday, April 26, 2007

Have to move on...

It feels like it was yesterday I bought the HTC TyTN. Of course it was not, it was back in November 2006 according to the archives in this very blog. Back then I threw out the Sony Ericsson M600 due to lack of support for MacOSX, and bad support for Linux too. Although I have been quite happy with the TyTN during these months, there are some issues of course.

First it is the OS. I have never had a phone in the past I need to reboot that often. Sorry Microsoft. In the past I just told everyone that you are bad, and that people should choose something else (Linux, MacOSX, Symbian, Whatever). Now that I have actually used a Windows Mobile for some months, I can put so more momentum into those statements. Sure, WM6 will fix all the problems. Right, I don't believe it. And there are no WM6 upgrade for TyTN out there yet. When the phone is working it is quite ok, though. Even though I can not get the Imap client to just show me subscribed folders, and the camera freeze quite often (easily fixed with a reboot...), I can read and send messages, receive and call contacts and listen to music, snapping photos (as you can see over at my photoblog) and browsing web quite well. So the TyTN is not that bad. And the full keyboard is a life saver, the best I have ever had on phone or pda so far. Based on all the nice things with the phone, I can actually live with the bad OS, and keep it.

It is the second problem that make me switching again. The hardware is not holding up much longer. Every other time I switch the phone out of standby now, the screen just goes white. Turning on and off again usually fix the problems, but from time to time I also need to pull out the keyboard and push it back in again. Then there are the keys on the front. Earlier I could scroll with the directional buttons and press the mid button to select. But this does not work so well any more. Some of the other keys have problems as well. I suspect the reason to be the connection between the bottom "keyboard" part and the upper "display" part. There must be some weakness in the design there. Maybe this can be fixed by sending the phone off to support, but in the long run I can't live with this stability. When I get a new phone probably check out what support can do for me - if they can fix the problem on the TyTN I'll probably keep it as a backup; and for use on HSDPA networks...

The big question is then - where should I go now? Back to the SE M600i is not an option, as it is still not supported very well on MacOSX. That throws out the rest of the SE smartphones as well. And I do not want a Microsoft WM5 or WM6 device. That rules out most of the other smartphones on the market, at least with a qwerty keyboard, which is one of my requirements. And as you all know, iPhone is not out yet. And it will not have a real keyboard anyway. But Nokia have something - the revised version E61i which has a full keyboard, all the connectivity I need but the HSDPA, which is not that important yet anyway, since it is in general not available. MacOSX support also seems to be quite ok for Nokia S60 phones, and there are ssh client software available.

I have therefore ordered a Nokia E61i today. As it is on stock, it should appear already tomorrow or on monday. A report will appear here shortly after that.

So long folks, take care.

Monday, April 16, 2007

If you ever make my mistakes!

Recently, I created a quick and dirty webapplication using Turbogears and SQLObject. During the initial phase, I had some problems with unicode strings, but figured out that I could use UnicodeCol in SQLObject, and append '?sqlobject_encoding=latin1' to the dburi setting for the turbogears project.

Later on, a new requirement for the project came up. Someone had to be able to download a file with infomation in an excel file. From before I had created excel files from mysql data in PHP and Perl using the SpreadSheet::Writer module (and the PHP equivalent). I just assumed this to be a walk in the park, recreating the same functionallity in my turbogears site. As you might expect (or even know), I was wrong. To this date, I can not find the same or a similar well-working module for Python. As an old (not that old really) Perl hacker, I have at least some amounts of the right lazyness. I can of course just reuse my old PHP solution, using some suitable rewrite rules in the apache2 config for the turbogears site. And this is where my problems begin. Getting things up and running is easy enough, we are only talking reading mysql data here, and figuring out the tables in mysql that the SQLObject based model is using is simple. But, and this was the hard part, I figured out that I had done something stupied. The mysql-tables is actually latin1, as I have told SQLObject in the dburi setting. But the texts inside these latin1 tables is encoded by Python in some unicode form, using latin1 characters. Which mean that when I read mysql data in PHP and feed into an excel file, I don't get the right thing. Using default values, I get garbage. Trying to set either latin1, iso-8859-1, or utf-8 as character set for the excel file also yields garbage.

Somehow, I have to translate the encoded unicode strings (by Python) into something that at least works in PHP, which in the next step can be put into an excel file and still be readable.

And then, by accident, I stumbled upon the solution. There is a function in PHP called utf8_decode. It's purpose is to convert a iso-8859-1 encoded unicode-string into single-byte iso-8859-1. Which happens to be exactly what I was looking for.

It took me a couple of hours of googling and experimenting before I ended up there. Now that I know the solution the whole thing is of course obvious. But if you make the same mistakes as me, you may like to read this, and save a few hours.

The right solution, of course, is to use utf-8 all the way. If the unicode data have been stored in unicode mysql tables as unicode, the whole thing should have worked right out of the box. So doing that may save you from the whole problem. Good luck!

Thursday, April 12, 2007

Truffet av en bil!

For all my faithful english readers. This is about the crach I had today. On my motorcycle. And I keep it in Norwegian this time. Sorry. You can just learn Norwegian, though. Right.

På vei hjem fra jobb i dag skjedde det som ikke skal skje. Jeg ble truffet. Truffet ganske så brutalt. Rett bakfra. Litt bakgrunns-informasjon er nok på sin plass. Jeg kjører motorsykkel. Og som alle andre motorsyklister liker jeg veldig dårlig at noen
He killed my bike!får lyst til å kjøre i meg. Det kan nemlig gjøre vondt. Veldig vondt. Vondt for sykkelen, og vondt for meg. En sykkel skal kjøres når det er vår, den skal kjøres når det er sommer, og den skal kjøres når det er høst. Den skal ikke stå på verkstedet. Når den får vondt må den på verkstedet. Derfor liker vi veldig dårlig at den får vondt.
Og så var det føreren da. Han får også vondt. Ryggen verker, er øm og er stiv. Han får slenge innpå noen piller som legen har gitt. Så får han ta en tur på røntgenstua. Der sier de forhåpentligvis at alt er bra. Men om det skulle bli plager i etterkant er det fint å ha noen papirer å vise frem, om at man ble undersøkt. Forsikringsselskapene vil nok like det.

Nå lurer du veldig på hva som egentlig skjedde. Denne syklisten er for lite EBS. Det var det som skjedde. Hadde han vært skikkelig EBS hadde han nok kjørt på det grøde lyset. Men han var rolig idag, var på vei hjem fra jobb. Solen skinte, det var vakkert vær å kjøre i, og han stresset ikke. Utover Mosseveien. Der hvor Ljabruveien tar av er det et lyskryss. Han kjører her hver dag, så han vet det. Før han kommer til lyskrysset møter han noen blinkende oransje lys. De blinker ikke hver dag, bare av og til. Og idag gjør de det. Lyskrysset like der fremme, rundt svingen, er i ferd med å skifte fra grønt til rødt. Han bremser. På høyre side av veien står det noen fotgjengere. De vil over, og har trykket på knappen. Motorsyklisten gløtter i speilet, ingen der, bremser greit raskt ned, og stopper. Beina settes i bakken. Da hviner det, før det smeller, før han ligger der. Hva skjedde, tenker han. Setter seg fortumlet opp, ser på sykkelen som ligger slengt. Glass rundt omkring. En bil veldig nær. En fin bil er det, men ikke nå lengre. Sykkelen var også fin, men ikke nå lengre den heller. Ikke starter den engang. Og skjermen bak og setedelen er ødelagt. Er hele sykkelen blitt skjev? Det kan se sånn ut, men det gjenstår å se. Og hva med han bilføreren da? Så han ikke lyset? Nei, han gjorde vist ikke det. Han så noe annet, eller satt i andre tanker og så ingen ting. Han så ihvertfall ikke den sinna Hornet'en som sto der, med en not-EBS som tar seg bryet med å stoppe for rødt lys, oppå. Sånt kan skje en vakker vår dag.

Så nå sitter jeg her da. Sykkelen er satt på verkstedet. Der har de vår-kjør med vår-puss av syklene til alle de som er alt for sent ute. 3-4uker sa han, det vil det minst ta før han kan begynne på min. Så der ryker April. Kanskje litt av Mai også. Ikke rart sykkelen er lei seg, den vil jo være der ute på veien. Der det skjer. Ikke stå inne i en mørk garasje.

Mens sykkelen står inne skal nok jeg skaffe seg ryggskinne. Det hadde jeg nemling ikke. Jeg hadde ryggsekk med en Macbook Pro oppi, men det er dumt å la den være ryggskinne for mange ganger. Kanskje oppgradere forsikringen litt også, det var vist ikke noe veihjelp med der. Og så må jeg vel ringe med forsikringsselskapet og mase om oppgjør, sende regninger for bilberging, konsultasjoner og medisiner. Og håpe at alt går glatt. Tross alt sto jeg stille på rødt lys, så det skulle være enkelt for dem dette. Håper jeg.

Det var dagens historie. Jeg får komme tilbake til saken når jeg vet noe mer. Om sykkelen som står der i den mørke garasjen. Om forsikringen. Om skrotten min, om den er like hel og fin, bare den får slappet av litt. Og om bilisten, stakkars, som fikk ødelagt sin fine bil. En spesiell bil var det. Jeg kan ikke si mye om den, det blir alt for identifiserende. I guttedagene var det en slags drømmebil det der, bare synd at jeg skulle stifte bekjentskap med den på nært hold på den måten. Men jeg er jo ikke noen guttunge lengre heller, og tross alt var det bare et bur. Som alle andre bur.

Wednesday, April 11, 2007

Programming GPU!

I'm attending a short introductory course on parallel programming on graphics processors (GPGPU) today. There is a writeup of some of the stuff I learned over at my tumbler-page.I keep it over at tumblr as it needs to be cleaned up a lot to make it reasonably interesting for other people. But if you read and think like me you may find it interesting!

If I ever do some real GPGPU my self, I may write up something here :)

Sunday, April 01, 2007

iPhone release date

As reported "all over" the net now, Apple will go public with iPhone on 11. June. And that is not a coincidence, as that's the same day Apples developer conference WWDC starts.

And guess what - I ordered my tickets for WWDC yesterday - I will be there in the middle of the buzz, and report back right here on the blog on what's going on. I also figured out that Usenix Annual Tech will be the following week in Santa Clara. It is high time I go to the Annual Tech, so I will probably rent a car and drive down there, at least for a few days.

I'm looking forward to it already - it is always nice to be in San Francisco.

Btw, I don't think I will buy an iPhone. Really. It's probably not usable over here in Norway anyway, and it will lack a few things I really need. We'll see what happens if I get to hold it in my hands....

Wednesday, March 28, 2007

On SQLObject

I have recently used SQLObject in a few projects. My first encounter of SQLObject was as a component of TurboGears, a framework for creating web sites. But I soon realized that SQLObject can be quite handy on its own.

What is SQLObject then, really. I don't want to do a full tutorial on SQLObject, so please head over to the SQLObject website to familiarize yourself with it. In short, it is a object oriented wrapper to SQL databases, for Python. You can freely choose among several different backends, like SQLite, Mysql, Postgres, and so forth, and most of the details of the particular backend you use will be hidden within SQLObject. If you want to create a table with SQLObject you simply say
class MyTable(SQLObject):
name = UnicodeCol()
date = DateCol()

(assuming you have done from SQLObject import *, which you of course have not). SQLObject takes care of all the SQL woodoo, and you can go ahead saying things like
mt = MyTable(name="someday",date="2007-03-28")

To get rid of the entry again, you just say
mt.destroySelf()

In addition to get rid of the object within your Python code, this also removes the corresponding row in the table on the sql server.

So far all good, and quite stright forward. Next, you want one-to-many relations, or maybe many-to-many relations. No problem, SQLObject can handle those as well, using MultipleJoin or RelatedJoin, together with ForeignKey. Assume that you wants a many-to-many relation between the MyTable above, and some other table:
class FooTable(SQLObject):
name = UnicodeCol(alternateID=True, length=50)
mytables = RelatedJoin('MyTable')

To get symmetric behaviour, you also wants
  foos = RelatedJoin('FooTable')
inside MyTable. With this setting, you can still use destroySelf(), and SQLObject figures out the right thing. So, that was many-to-many relations.

Now, I had a one-to-many relation in my code, like this:
class Foo(SQLObject):
name = UnicodeCol(alternateID=True, length=30)
mybar = ForeignKey('Bar')

class Bar(SQLObject):
name = UnicodeCol(alternateID=True, length=30)
foos = MultipleJoin('Foo')

So, this is a one-to-many relation, as Bar may have many Foo's, but Foo only link to one Bar. Then I did something like:
b = Bar.byName('mybar')
b.destroySelf()
Only to discover that I got errors next time I tried to do anything with the Foo's. Reason was that there was Foo's still linked to the Bar I destroyed. Thinking about it, this make perfectly sense. It also shows that SQLObject is not perfect in some sense. It does what you tell it to do, even when that is evil. This can be both good and bad, depending on how you look at it. Fortunately, the fix is quite easy:
if len(b.foos) > 0:
print "There are still Foo's linked to this Bar"
Then of course more lines, if you want to deal with it in code - like relinking the Foos to other Bars, or just leave the user with that message - probably followed by some raise to signal an exception.

If you go out there search the blogs, you will find people telling you that SQLObject is not good. They are probably right. But to me, it felt just right from the very beginning. When I dig deeper into it, I will probably complain too. But so far I am happy. Nevertheless, I see that something called SQLAlchemy is mentioned together with turbogears now, and I guess SQLAlchemy is a replacement for SQLObject. I have to check that out, maybe it is even better. Until then, I stick with SQLObject, at least for non-turbogears apps, because I think it does its jobb very well.

Take care folks, and keep that Python code flowing from your hands.

Monday, March 26, 2007

Could it be a favourite?

Now, this is something. Spotted this over at Gizmodo today:

HTC Shift is the UMPC for UMPC Haters - Gizmodo: "HTC Shift is the UMPC for UMPC Haters



It surprises even ourselves when we say that HTC's Shift should be the UMPC device that makes us—who were mild on UMPCs before—a fan of the platform. Instead of using a split keyboard or a *shudder* on-screen circle pad, the Shift makes like the Advantage with its sliding and flipping screen. With the input problem solved, you can really enjoy the 7-inch touchscreen, 30GB hard drive, Tri-Band UMTS/HSDPA, Quad-Band GSM/GPRS/EDGE, Bluetooth 2.0, Wi-Fi, and Windows Vista."

Look at those specs! With a 7" screen, this shouldn't be far from my PictureBook in size, which I have blogged about earlier - go search if you wonder what that's all about. Size should be just right for an ultraportable, the built in connectivity looks like what I have missed on all my small computers (except the HTC TyTN) so far. And the ability to run Vista probably make it possible to run a real OS as well, like linux. And the device even have a nice look.

I am so close to order a Flipstart as soon as that will be possible, as I really need a modern small computer. But this looks much more like what I am after.

Q3 of 2007 is ETA. That's way into the future. Can I wait, or do I need something in between?

Friday, March 23, 2007

Here we go again

What should I say - you know the drill now. It's a new version of qtpfsgui out. The upstream maint. working really hard, so I have to keep up. So, v.1.8.3 of qtpfsgui for mac is out. This time on sourceforge, where it really should be. But sourceforge is a crazy system, I think I did it right, but it is hard to tell.

If sourceforge does not work for you, you may also grab qtpfsgui at my other site

Take care!

An updated dmg of qtpfsgui 1.8.2

I recompiled the qtpfsgui v.1.8.2 today, with debugging info turned off; that is enabled Release mode in Xcode. I also added the icon used on the Linux version, such that it shows up in Finder and Dock. Enabling release mode actually reduced the size of the binary to 1/4 of the original size . I was quite suprised that the difference was that big. The program even feel a lot more snappy.

So, reminder to self: Turn off all the debugging before I throw apps at folks, at least if I don't want them to debug for me!

Go grab from at the usual place. I see if I can get it up on sourceforge as well. But I also realized that 1.8.3 of the app is already out, so there will probably be another update on this before I can call it a day :-)

Take care folks, and let the HDR flow from your Macs!

Thursday, March 22, 2007

Flickr: Popular cameras

Flickr: Camera Finder: "Most Popular Cameras in the Flickr Community
% of members

* Canon EOS Digital Rebel XT
* Nikon D50
* Canon EOS 20D
* Nikon D70
* Canon EOS Digital Rebel XTi"




Flickr shows this graphics on their site in the popular cameras section. I think it is in particular interesting to observe the trends of the XT compared to the XTi. When XTi first is out, the curves for XT and XTi continue increasing - XT owners keep their XT and discusses with spouse about switching gears. Flickr attract a few of the new XTi owners. Then suddenly the XT curve starts dropping almost with the same rate as XTi increases; XT owners have made up their mind, or convinced the spouse - lets go for the new stuff. The decrease in XT isn't as fast as the increase in XTi in this period, as some of the new XTi flickr memebers keeps the XT around because it still works, and they are more familiar with it. After a while, this stabilize - some XT owners think XT is good enough, some thinks the new XTi isn't good enough and decide to wait for the next one, some keeps both, etc...

It is also interesting to see that this whole story is completely decoupled from the other cameras, like the Nicons and Canon 2oD/30D. Different camps.

Now, what about me? I (or my wallet (or my spouse)) have decided that I wait until the next one. Really, I want the 40D i guess, whatever that will be. I presume EF-S mount (x1.6 crop), DigicIII, better high-iso/noise ratio, etc. But I'm not sure what my wallet (or my spouse) decide.

That's enough for todays observation. Take care, folks!

Sunday, March 18, 2007

New version of qtpfsgui!

Hi there,

Giuseppe Rota has released a new version of qtpfsgui over at sourceforge, it's now at version 1.8.2. I have compiled an universal binary, but have not packaged it up yet. Stay tuned, it will appear here, and hopefully at sourceforge as well, tomorrow. For now, adventurous people can grab a zip-file with the app.

The problems with my 1.8.1 on PowerPC was presumable due to some alignment problem, and should be fixed in this version. For those of you who know what I'm taking about, I'm happy to get some reports!

Update 19.03: One user reports that the colorproblem on PowerPC with the 1.8.1 version is fixed (by upstream maintainer, Guiseppe Rota) in this version.

Second update 19.03: The dmg for v.1.8.2 is now up at one of my other places. There seems to be a problem with sourceforge tonight, but as soon as that is sorted out I will make this as a release there. Future releases of the MacOSX version of qtpfsgui will probably only be at sourceforge, but I will continue to comment on it here.

Friday, March 16, 2007

Python, flickr, and Unicode

I found a script the other day, for generating a wallpaper based on images from flickr. In its original form, the script expected one or more tags as argument and get a number of random pictures from flickr that have these tags. I wanted to make it a bit more interesting, so I looked at API at flickr to see what is available, and discovered the getHotList method. I added this method to the python wrapper of the flickr api I am using (one of those listed under Python at the site), and changed the logic slightly to fetch the 3 most popular tags during the last day if no tags are given as argument.

And now comes the interesting thing. The getHotList gives you tags in unicode, looking like u'mus\xe9edelelys\xe9e' (one of the popular tags today). But when this tag is fed into flickr.photos.search to retrive urls for some images, an exception is thrown, as the method can not use this tag format. More or less obviously, it needs to be on an urlencoded form, as we are communicating through http. Reading documentation here and there, I figured out that unicode was expected, but more on an ascii form. The tag mentioned here should look like 'mus%C3%A9edelelys%C3%A9e'. After quite a few minutes with google, I figured out a possible solution:
tag = urllib.quote(tag.encode('utf-8'))

Looks kind of funny to me, but it works.

Lesson learned: Unicode is not unicode is not unicode.

Wednesday, March 14, 2007

Maybe I should reconsider

I haven't bother to look very close into the 802.11n topic. As all of you know, we have for some time now been able go to our store and buy Draft-n equipment. That is supposed to be hardware implementing what is now know as the draft 802.11n specification; the new fast Wireless network. And further supposed to be easy upgradeable or cooperative with final Draft-n (or just -n) hardware.

My position on this up to now has been to not buy Draft-n stuff, because of 1) can I be sure it will actually work with final-stuff, 2) there isn't much of client support yet, and 3) I expect the final stuff to be just around the corner. I truly belived that, until I read over at extremetech today:

Draft 2 of 802.11n Standard Sails Through: "Following those changes, Draft 3.0 is expected to emerge in late 2007 and gain approval by early 2008. The IEEE says Draft 3.0 will, for all intents and purposes, be the 'final 802.11n' in all but name, and that the final spec is now expected in April 2009."


April 2009! That's not just around the corner. I'm not sure I can wait that long. At least that is a problem if we want to go for VoIP on WiFi at work. Not that we are seriously considering that at the moment, but it is really something I like to be able to do not very far into the future. I probably have to go back to the place, which I do not know where are, where I can think long and uninterrupted thoughts, figuring out what is the best thing to do. Should we go draft-n now? Should we go draft-n when it is really Draft-2.0-n or is it best just waiting.

Besides, draft-n is popping in on clients all over the place now. Apple have it, thinkpad-which-we-dont-like-after-lenovo-takeover seems to have some new models with it in the pipe, Dell have cards, Engadget have reported on Asus laptops with it, which we do love more than lenovo these days. And the list will go on and on, and I do not want to be left out in the slow and cold dark.

That was just a few thoughts an evening in the middle of march.

Take care, folks!

Sunday, March 11, 2007

Updated version of the qtpfsgui

Today, I finally manage to build an universal binary qtpfsgui for MacOSX. This time the only external dependency is Qt, at least should be. The program works for me on intel-mac, but I have to test it tomorrow at work where I have access to a power-mac. Also, I have to verify that I actually have removed the external dependencies as much as possible. If you don't have Qt installed, get it from trolltech. The download link to the MacOSX binary may be a bit hard to find, this is a direct link!

Please, if you like to try the program, go grab it here. And if it works for you, I very much like to hear about it!

I will probably write up a bit more on the process of creating all the components as universal binaries, and then some issues on qmake. But now I have to make some dinner for me and the kids.

Update: I have now verified that this binary also run on PowerPC, MacOSX Tiger.

Saturday, March 10, 2007

Update on qtpfsgui

In addition to the fink-packages mentioned in my prefious post on the qtpfsgui DMG image I have created, you also need to install the package libexiv2-0.12-shlibs from fink, since I link qtpfsgui dynamically against this lib. If you get exiv2 from some other source, make sure that you enable shared libs.

My First DMG Image

After playing with MacOSX for quite some time now, I finally created my first dmg image today. I am working on creating a universal binary of qtpfsgui, a program for creating HDR images. I have not manage to create the universal binary yet, but I have at least compiled a version that can be used on intel macs.

I will guess more fancy tools for creating dmg's exist these days, but I found a step-by-step walkthrough on the net which did the trick for me. For future reference for myself, and for others stopping by, I
provide the steps here. Most of this is taking place in a terminal window:
# create a dmg image of some suitable size
1>hdiutil create -megabytes 10 qtpfsgui.dmg -layout NONE

# mount, but don't mount!
2>hdid -nomount qtpfsgui.dmg
# record det /dev/disk returned from that command

# create filesystem
3>sudo newfs_hfs -v QTPfsGUI /dev/disk1 #insert correct device

# eject the unmounted image, and re-mount for real
4>hdiutil eject /dev/disk1
5>hdid qtpfsgui.dmg

# Now, use e.g. finder to put some files into the image, and eject it when ok
# then convert to a readonly compressed image (suitable for 10.1+)
6>hdiutil convert -format UDZO qtpfsgui.dmg -o qtpfsgui.1.8.1.dmg

# mount to check that everything is ok
7>hdid qtpfsgui.1.8.1.dmg
That's all it takes to create the image. If you want to test the program for your self, you are free to grab the image. Beware that before you can use the application you have to install some prerequisites: QT4, libexiv2, libfftw3 and libjpeg. QT4 can you get from Trolltech, the creators of QT4, while the easiest way to get the rest is probably from the fink project. Install the fink packages exiv2, fftw3, and libjpeg. After that you should be abel to use qtpfsgui on your intel mac. If not, bug me!

Remark: I am not in any way resonsible for the qtpfsgui program itself, I am just trying to package it up for the Mac. The program itself is the creation of Giuseppe Rota.

Friday, March 09, 2007

Bye bye, Valla

I følge aftenposten har Valla trukket seg som LO leder. Det er en trist dag for norsk presse og kringkasting, for Hallo i uken og Nytt på nytt, og mange, mange andre som kommer til å savne den mest mandige LO lederen vi har hatt på lang, lang tid.

Alle vi andre? Tja, vi bryr oss kanskje ikke så mye. Ihvertfall vi som ikke er medlemmer. Men alle ledere der ut: Behandle dine medarbeidere rettferdig og riktig. Ikke vals over dem. De må merke at du bryr deg om dem og deres meninger. Så kan du til slutt være sjef og bestemme. Og aner jeg hva Yssen/Valla saken egentlig handler om? Nei, jeg har ikke fulgt med så mye...

Wednesday, March 07, 2007

Update on the vim-blogger plugin

Today I wanted to install the vim-blogger plugin I mentioned in an earlier post, on another computer. I couldn't remember exactly where I found it, so I just went to google and searched. And figured out it was hard to find - first this very page was the only relevant thing I managed to dig up.

After a while I found what I was looking for, and figured out that proper attribution should have been given the first time I mentioned the plugin. It is "the geek wannabe" over at http://djcraven.blogspot.com who has created the plugin. The plugin can be downloaded here, and djcraven provide some documentation in this post in his blog

Thansk, geek wannabe for the great tool!

Take care

Monday, March 05, 2007

A new place on earth

There is a new fully buzzword compliant place for bloggers available, tumblr. The idea seems to be that it should be really easy to blog, even if you have very little to blog about. Of course, I have to test it out! You can check out my entry into that thing. My review goes like this:

1. Signing up at tumblr is very easy. Go to tumblr.com, hit Sign Up, type in email and a password, and pick a url (the part in front of tumblr.com), and you're halfway there. Wait for a confirmation email, confirm, and you're in.

2. If you're like my, you want to configure template and stuff right away. Up in the right corner you have a link saying "Change settings" once you are logged in.Hit it, and a nice interactive web2.0ish page is loaded, where you can pick a template, and adjust colors, and see a more or less live preview as you test away. On the settings-page you can also adjust what the url of you blog should be. You may even choose a custom domain name which probably mean you can have tumblr on your own domain. I haven't tested that out yet. Finish by saving changes. This should take you back to the front page. If you don't like the templates, you can go custom as well, which brings up the template for you to edit in a simple textarea. You can update the preview by pressing a button. Beware, you should now change colors inside the textare, not using the color-edit-section. You figure out why if you try!

3. Start creating posts. There are shortcuts for regular posts, photos, quotes, links, conversations and videos on your tumblr dashboard. You can also grab a button for your bookmarks bar for quick access to creating link-posts. I have only tested the regular post and the link thing so far, but those seems to work ok.

4. Will I use this? I don't know yet, we will see in the future!

Sunday, March 04, 2007

Vi elsker ministere med gode matteegenskaper!

Festministeren, eller idrettsminister som han kalles for anledningen, Trond Giske uttaler i Aftenposten følgende etter Petter Northugs rykk i ski-vm:
Det som skjedde var helt mirakuløst, Petter fikk jo 80 meters forsprang på 50 meter. Det er ikke så verst å være trønder på en slik dag.

Mirakuløst er nok helt riktig ord - Selv den godeste Einstein ville ha problemer med å forklaret et rykk på 80 meter i løpet av en distanse på 50 meter, gitt at konkurrentene ikke beveget seg bakover. Gratulerer Giske.

Og gratulerer til de norske gutta i VM selvsagt. Jeg aner ikke noe om deres ferdigheter i matematikk, men gå på ski kan de ihvertfall. Og det er alt vi forventer fra den kanten.

Thursday, March 01, 2007

Ikke min oppgave, men noe må da lagres...

For de som ikke aner hva nam er, og heller ikke kjører mc, les videre eller gå et annet sted. Av og til faller noen utsagn i baren som bare bør tas vare på. Jeg er vel kjent med at dette er en oppgave som egentlig tilligger andre, og jeg er stort sett bare en lurker i baren. Men allikevel, følgende utsagn må jeg bare lagre. Noen (Herr Bang) spør i en tråd (sitat):


Hvor ble de av alle sammen, alle de gamle heltene?

Gikk de hjem?

Hvorpå "mac" svarer følgende bevingede ord:


Det hviskes fortsatt om heltedåder og bragder, om DoD'eres overdådige treff i De Dype Skoger, om DAMN og 900 cc bæplukkere og ovloV, om buddhister fra Flatlands, fartsmonstre fra Finland og besøkende brødre fra Sveariket med uendelige powernaps etter tusener av mil forkledt som arkeolog på italiensk stål. Det ryktes om en velformet hekk innpakket i italiensk skinn som nesten forårsaket en ulykke, en figur med raket skalle, bukkeskjegg og balluminium, en annen med seilersko som motorsykkelstøvler. Det mumles om brorskap, dårskap, barskap og farskap. Om telt og hotellrom, om Baren(tm), om Bjørnepalasset, om Grava, om EBS(tm) og EBB(tm). Om MacAllan og Aass. Om slosskamper med laservåpen, Jägermeister og gocarts. Om vinterlagring av Ducatier i blokkleiligheter, om scottoilere og katter.

Noen gikk sin vei, noen ble, og noen gikk og kom tilbake igjen. Og nye kom til - alle på to hjul, på evig jakt etter neste sving, neste bakketopp, neste vannhull. På nye sykler og på gamle sykler. I bunnløs vinterdepresjon og på jakt etter våren.

Sånn kan de sies. Snart kommer våren, og vi kan atter plukke frem redskapen folkens. Jeg føler snøen smelter allerede.

Tuesday, February 06, 2007

Will there ever be a new PictureBook?

I guess you wonder what this post will be all about? With good reason, as most of you may never have heard about the Sony PictureBook laptop. Go search for it on google (just use the search box over there at the right) - it was a great ultratiny laptop in its time (think 2000ish). In some respects it is flat out the best notebook I ever had. The list of laptops I have had the pleasure of using in the past currently contains:
  • IBM ThinkPad 570
  • Sony PictureBook C1VFK
  • Fujitsu P2120
  • IBM ThinkPad T41p
  • Fujitsu Siemens P1510D
  • Apple MacBook Pro 17"
These are computers I have used from 1998 until today.

All these was or is great computers, but also very different. Adding Sharp Zaurus C860 and HTC TyTN, which are more PDAs than laptops, and you have my complete list of carryable computers. But as a system administrator I have also been involved in setting up a lot of other models as well, including most X and T models from IBM, different Dells, Fujitsu Siemens, Acer and Asus. So I have quite some background here. When I say that the PictureBook is the best, of course I have to define in what sense it's the best. Sure, it is not a good desktop replacement because it is slow. But I don't need a desktop replacement as I want to keep the desktop computer. The PictureBook is the best notetaking, travel, meeting, watching-tv, sitting-in-the-livingroom-with-the-computer-on-the-lap computer.
The most important thing with the PictureBook is not the size or weight, but the formfactor. Smaller computers exist, and lighter as well. Sony did the smart thing making a small computer that is somewhat wide, but not very deep. By fitting a display with the unusual resolution 1024x480, the display is wide enough for all applications, but you need to scroll vertically. To make that easy, a jog-wheel was put on the right edge, very easy accessible. The width cater for a good keyboard - to this day the keyboard on the PictureBook C1VFK is one of the best I have ever used; on par with the IBM 570. So even though the computer is not tiny to the extreem, it is easy to carry around, weight is just 1kg and because of the short depth, it is very easy to stick into some bag or under your arm or just hold with one hand. Again because of the short depth, you can always use it on plane or bus, even in the cheapest seats. And because of the good keyboard, you can keep typing for hours.
My wish is therefore: Look at the Sony PictureBook, you guys out there creating notebooks. Make something similar, maybe with a 1280x600 display or something like that. Stick a Core duo cpu into it as well as the connectivity, disk and memory of today. Computers like the Oqo O2 are too small to be useable and too big to carry everywhere (we have cellphones/pdas for that). The keyboard on the new small Sony thing, UX50/90/180, is just terrible and highly unusable (yes, I have tested one). Computers like the Fujitsu Siemens P1610D does not have a keyboard in the same league, and the bigger irons we can save for the desktop. Please, give me a good carry-around computer! 1kg is ok, the cellphone is what I carry everywhere. And the size of the PictureBook is also ok. Give us tools we can actually feel good with!

Tuesday, January 23, 2007

Do I have to change phone already?

According to this post in engadget, there is a new device comming up from HTC:



While my HTC TyTN still does a fine job, there are certain things with this device that seems to be particularly interesting. First the display of course; 5 inch and more resolution than the TyTN. Next better cpu. A camera with higher resolution and built in GPS is always nice to have.



I have to follow this closely. Maybe I can have this while I wait for the iPhone. This device is probably to large to be the only phone in the pocket as well, so I can still keep the iPhone when it appears as my phone. Hmm, though decisions to make!

Monday, January 22, 2007

Do I want the iPhone?

I will not add much to all the buzz about Apple's iphone, there is already way
to much said about it as it's still months out in the future. For us living in
Norway, I guess it will take almost a year before we can get our hands on it,
unfortunately.

What I will say is: First, I want one! Second, as it is clear now that the
operating system is MacOSX, I really hope that Apple is clever enough to add a
terminal, a bash shell and a ssh client as optional install items on a dvd that
will follow the phone. That will make it so much more interesting! If we even
can get a python interpreter and some GUI toolkit to do programming right on
the phone, we will be happy!

The vim blogger plugin

The other day I found a plugin that make it possible to post to blogger directly from the editor Vim. As you see I don't blog a lot, and an important reason for that is that the interface for actually posting something to my blog is so awkward.

The other reason is of course that I do not have interesting things to say all the time. That is not likely to change, but with this plugin I hope I can do at least some more posting.

Wednesday, December 20, 2006

Velkommen til steinalderen



Forleden dag tok jeg den eneste fornuftige bussen jeg kan benytte til
arbeidet. Jeg bor langs E18 i Ås, og jobber på Fornebu. De aller fleste
offentlige kommunikasjonsmidler jeg kan benytte vil forutsette at jeg bytter i
Oslo. Men Timeekspressen kjører en rute fra Mysen/Ørje som går direkte til
Fornebu. Riktig nok går bussen innom bussterminalen på Grønland i Oslo, og den
bruker lang tid. Men jeg kan sitte på samme buss hele veien, og gjøe noe
fornuftig. Altså et bra tilbud som kan få folk som meg over fra privatbil til
kollektiv transport.

Denne spesielle ruten, linje 9 i Timeekspress systemet, har ganske få avganger
som kjører gjennom Oslo og videre til Fornebu. Faktisk bare 2 om morgenen og 2
om ettermiddagen. Siden dette er en så bra tjeneste med potensiale til å bli
benyttet av en del mennesker skulle man tro at om man gjorde endringer så
ville det bli for eksempel ved å utvide med flere avganger. Men hold dere fast
folkens. Et eller annet supperåd i Oslo har bestemt at slike gjennomgående
ruter - det skal man ikke ha noe av. Buss får gå til Grønland og snu der. Man
kan ikke bare komme her og kommer her liksom, sitte på ut av Oslo igjen på
andre siden. Så fra nyttår avsluttes dette tilbudet.

Så hva er alternativene? Timeekspressen har ingen annen rute som passer, så å
gå av på Grønland blir bare tull - derfra kommer jeg meg ikke videre. Jeg må
nok heller bytte til sporveiens rute 31 på Oslo S. Da får jeg ikke overgang
selvsagt, og må betale full pris, så det blir dyrere. Dessuten er det en
melkerute, selv når den kjører ekspress. Så lang tid vil det ta. Men det er en
fin bonus da. Jeg må vel vente mellom 5 og 35 minutter før 31-bussen dukker
opp, så da kan jeg slurpe inn deilig 20-minusgraders januar luft mens jeg
venter. De har tenkt på alt disse folka. For å ikke glemme all mosjonen. Inn
på buss, av med skjerf og stor jakke (som jeg trenge når jeg skal vente på
31-bussen), opp med arbeidssakene. Oopps, fremme på Oslo S snart, ned med
tingene, på med jakke, skjerf og hansker, ut av buss, vente, hutre, vente. Inn
på overfylt 31-melkerute-buss, glem å jobbe for det er det ikke plass til her.
Setene er vonde også. Dessuten må jeg uansett stå og svette med den store
jakka på. Og skjer. Og hansker.

Nei, takk skal du jammen meg ha. Jeg tror jeg tar bilen isteden. Lenge leve
det kollektive Norge. Og det flotte supperådet som har bestemt dette.

Ha en fin dag da dere!

Tuesday, December 05, 2006

What to do in a Lisa tutorial

You are sitting there in a training class at Usenix/Lisa06, or any other lisa for that matter. It supposed to be really good. The most knowledgeable person in the world on the target. Ok, that's a bit over the top, but at least hi should be good. Then you just realize that he is a very lousy speaker. You have paid good money to be here, so what should you do? You should not leave, that's not polite. But, see, stuff is happen right there behind your back:
  1. Bring up your laptop
  2. Pull up your irc-client. Sure you have one, right?
  3. Connect to irc.sage.org
  4. join #lisa??, insert the current year.
  5. have Fun!
It is as simple as that. A large crowd, with all the knowledge and great humor, can make event the most boring lecture quite fun.

I don't know. I'm probably just a bit bored. I think rehearsels should be mandatory for instructors people have to pay that much to get to listen to. Rehearsel in front of a board of referees, that is.

That's my idea for the future!

Take care, and be nice to bad instructors. And tell the organizers what you think!

Sunday, December 03, 2006

The nerds are gathered!

With the usual buzz and fuzz, Lisa'06 kicked off tonigth with a beginners BOF (with some oldtimers and not-so-oldtimers sitting in the back). The training chair Dan Klein delivered the goods as usual, with a lot of humor. Everyone feel welcome, there is plenty of sodas around, the wiki and irc-channel (#lisa06@irc.sage.org) is up - everything is in order. Quite a few of the crowd are heading over to a nearby place for something stronger than soda... others just go out for dinner. By the way, there seems to be about 1200 attendees this year. Not bad consider the topics!

Tomorrow morning, at 9:00, the real thing starts, with tutorial and training on lots of interesting topics, by fine lectures. I will start out with a light topic, on distributed source code management systems. We have converted from CVS to subversion, but folks are not satisfied, and have started looking into mercurial (Hg). I have to figure out what is the best option, and what this really is all about. Theo Ts'o (of linux kernel fame) will be the lecturer, so this should be really good.

After lunch I will attend intermediate topics in DNS admin. This is something I don't know much about, and want to look into. Maybe I have time for some reports tomorrow night.

Take care, folks.

Friday, December 01, 2006

From 35000 feets

Wow - internet up in the sky; that is quite cool! Right now I am on a SAS flight to Washington DC (to Lisa'06), cruising away in some 850km/h. As Connexion is shutting down the service, the service is also free. It's maybe not extremely fast, but decent enough to read email and browse the web. And making blogposts as this.

Hopefully, SAS and Star Alliance can find a new partner such that we can keep this great service. If we can get poweroutlets in the cheap seats as well it will be very good.

See you at Lisa, folks, and take care!

Thursday, November 02, 2006

New phone choosen!

As I reported earlier, I gave up on the SonyEricsson M600i, due to the problem of sync that phone with MacOSX. For a while I have looked around, and hesitated, but it turns out the best solution right now is something unspeakable...

My choice is: HTC TyTN. Allthough that phone uses the winblows mobile 5 operating system, it seems to be the best smartphone around that both have WiFi, qwerty keyboard, and possible to sync with Mac. To sync it, I have purchased missing sync from Mark/Space, it works quite well. It was some issues with connecting TyTN and the Mac on bluetooth, but once up it is a ok combination.

Maybe I care to give a more thorough review of the features of TyTN and how it pairs up with the Mac later on, but for now I just want to say that I can sync appointments, contacts, and I can mount the phones' storage as a drive. That I can both use skype and IM clients on the phone is of course a plus :-)

Take care,

Saturday, October 21, 2006

Updated entry on my Unix commands in Norwegain page

For a long time, I have not made any updates to my page at http://home.simula.no/~aasmundo/unix, where I describe various tips and tricks for linux/unix users, in norwegian. Today, I looked up something for my own use, and created an entry on ssh tunnels. The entry goes like this:




Ssh tunnel
Av og til har man behov for å kunne koble seg til en maskin som befinner seg
bak en brannmur på en eller annen måte. For eksempel kan du tenke deg at du har
satt opp en linux maskin for noen som ikke er så kjempeflinke i linux, og de
ønsker å ha den stående hjemme, hengende på en adsl-forbindelse og gjerne
NAT'et bak en trådløs router. Hvordan kan man løse en slik utfordring? En fin
mulighet er å sette opp en ssh-tunnel fra maskin til en annen maskin som du
alltid kan nå. En slik tunnel kan settes opp med følgende kommando:

ssh -f -N -R *:20022:localhost:22 -lbrukernavn maskin.fastip.net

Opsjonene har følgende betydning:


-f: Tving ssh til å kjøre i bakgrunn.


-N: ssh skal ikke starte noen spesiell kommando på maskinen man kobler
til. Uten denne opsjonen vil et shell bli forsøkt startet.


-R: angir tunnel fra annen maskin. Alle maskiner (*) som forsøker å koble
seg til maskinen vi kobler oss til, på port 20022, vil bli sendt videre til
denne maskinen (localhost) på port 22, der ssh som regel kjører.


-l: angir brukernavn vi vil benytte for å koble oss til


Endelig oppgis maskinen med fast ip som vi vil koble oss til.
For å ta vare på sikkerheten er det nok lurt å definere en
spesiell bruker for formålet, og passord/passphrase må håndteres på en
passende måte. Det er også en del utfordringer med å holde forbindelsen oppe.
Dersom adsl-systemet får en dynamisk adresse (som er bakgrunnen for hele denne
løsningen), vil tunnellen måtte restartes dersom adsl-systemet får en ny
adresse. Man er selvfølgelig også avhengig av å ha tilgang til en maskin med
fast ip.

Tuesday, October 03, 2006

By the way...

If someone has some suggestions regarding my previous post on new smartphone, I welcome comments!

Time to move on

A few months ago, I bought the Sony Ericsson M600i smartphone. Initially, I had a few problems with it but most of thoses error was fixed with a firmware upgrade.

One thing remains, though: Synchronization with Mac OS X or Linux. This is really important for me. I like the keyboard of the M600i, I enjoy the screen and the multitasking capabilities. But I _need_ sync. So much that I have now returned to my older Z800i phone. That phone lack most of the capabilities, but I can sync it using iSync.

I have waited through two minor upgrade of OSX (4.6 - 4.8), but the M600i is still not supported. And from what I can see, Sony Ericsson will not fixed the problem eiterh.

So it is time to move on. Someone (windows user...) need a new smartphone?

take care,

Thursday, September 14, 2006

Ubuntu under Parallels

dpkg-reconfigure xserver-xorg! If you do that, inside a running ubuntu in full-screen, under Parallels, you can enable full resolution. So, on my 17" MacBook Pro I now have 1680x1050 resolution.

Really slick :-)

Sunday, September 03, 2006

Just a quick follow up on yesterdays post

I wrote 'I'm not sure I like turbogears' in my previous post. Right now I don't remember why I wrote that. I have django up and running, and are doing some tests with it. But as I don't remember what I did not like with turbogears, I have decided to test that one as well. 

So that's what I do tonight.

Saturday, September 02, 2006

Python and Ajax.

From time to time I need to implement some webstuff, where "need" may be as in work or as in "want to", related to private stuff. With all the buzz around Ajax, I guess everything I do in this respect should be "Ajaxified". In addition, I don't want to use PHP anymore, that's so stone age. Python is the rule these days. That leaves me with the question: how to use Python to make "Ajaxified" websites?

There are several python tools for creating webstuff out there, some of the main players are:
     * Django
     * Turbogears
     * Plone/zope
     * 
I guess there are many more, but which of them have Ajax tools? Django does not really, Turbogears uses MochiKit but I'm not sure I like Turbogears. I don't want to use Plone/zope. We use that in my company (Plone that is), and it is great for large corporate websites, but I don't want that for small sites created more or less for fun. And what about Ajax.

As you understand, I am searching. And this is a buzz compliant post. If I end up with something, I will probably make a post about it here.

Take care!

Friday, September 01, 2006

Still no support for M600i on MacOSX

Ok, folks - I am just polling on this. Still, there does not seems to be any support for m600i in iSync, no 3rd part vendor, nothing. I guess I have to switch to another phone. If not GCalSync (http://www.gcalsync.com) can make it. That will be a sync directly to the google calendar, but that's just fine with me as my main calendar is there anyway.

Take care, folks.

Tuesday, August 08, 2006

The new Apple MacPro

So, the new MacPro with dual core Intel Xeon processors is released. No doubt, its a kewl machine. 

I just want to  give a few of my own toughts after having heard the keynote deliverd by Jobs and his coworkers at WWDC'06 today. 

First, regarding performance the only comparison we saw was against Opteron was a performance per watt. I don't doubt that this is an interesting comparison for lots of people, but it also leave us with the tought that the new MacPro is not the fastest computer around.

Next, the standard graphics adapter delivered is a Nvidia 7300 card. Come on, Apple, you could have done better than that. Of course, there are other cards available as upgrades/built to order and keeping the price down on the standard configuration is really important to spread Mac to even more users. But you could have put at least a 7600 card into the box. 

Besides this, the only thing that is wrong with the new MacPro is that I have to get rid of my PowerMac dual G5.

Take care. 

Thursday, August 03, 2006

M600i as a modem

First, I was not able to use my M600i as a modem from my MacBook. Then my colleague discovered some scripts made by Ross Barkman, available from http://www.taniwha.org.uk/. By using the CID1 script from that page, I can now use the M600i as a modem on 3G (UMTS) and GPRS networks. 

Great work by Ross, and my colleague Martin who discovered them!

Me from an airport near or far, through M600i. 

Sunday, July 30, 2006

That was the summer!

Tomorrow I have to get back to work again. So, summer 2006 is history. Or maybe not completely, it is still nice and warm in Norway, and I plan for another week of vacation later in august - hopefully I can go swim in the fjords a bit more then. 

As I am back to work, there will be updates of the blog from time to time. And WWDC is comming up the next week, and I will be there, so expect some comments on that! 

Thursday, July 06, 2006

Update on M600i

I have now used the Sony Ericsson M600i for a few days, and want to
give a status update. I think what's going on is that I adapt my
habits to the equipment, and therefore the equipment start feeling
better over time. So also with the M600i.

Initially, I had some problems with the built in Opera 8.60 browser,
it crashed on me a few times and things like that. Now, I think it
functions quite well. Probably because I visit pages that I know
works. Still, there are no pages that I need to visit regularly that
does not work, so it is probably ok for general use.

As for email reading, there seems to be something funny going on in
the network I am using. I tried a whole lot of different settings for
both imap for my regular mail accont, as well as pop from my gmail
account without any success. Then I tried pop against an account I
created with the Ventelo, the provider of the cellphone subscription,
and alas, then it works. Maybe the block pop and imap traffic? At
least something strange is going on. Anyway, as soon as I got things
right with my provider, I can send and receive email on the phone. It
is quite comfortable both to read and write messages as well.

So, in general I am quite happy with the M600i, but I still need to
figure out stuff. Maybe I write down a more complete review later on
(but don't hold your breath, it may never happen!)

Take care, and have a nice summer :-)

Thursday, June 29, 2006

It took some time!

Finally, after a maybe 6 or 7 years wait, I can finally suspend/
resume my laptop!

What I am saying? Ok, this story need some background. Again, those
who are reading this blog on a regular basis, knows that I have quite
a few computers. I am talking laptop running linux this time.
According to an article at linux.com: http://www.linux.com/article.pl?
sid=06/05/24/1716222, it should be possible to suspend/resume a linux
laptop with only ACPI bios, as long as a recent kernel is used. This
is something I searched for for years, but eventually gave in and
installed software suspend (and later switched to MacOSX). But I
still have the small FSC P1510D, which only supports ACPI, no APM.

To make the story short, I grabbed the script from the article,
checked that I had the necessary commands available on my system, and
gave it a try. And guess what, it works quite nice.

The strange thing is that recent distribution, like Debian unstable
which I am running, does not come with a thing like this preinstalled
and integrated. These days, all it should take really is to shut the
screen down and put the laptop in your bag. But, hey, we're approaching!

To be fair, this could have been supported on my laptop for a few
months, I have not upgraded my kernel that recently. I discovered
this now due to the mentioned article. But it is true that I have
tested this in the past (of my 5 last laptops all but one have
supported ACPI only) without any sucess. It's essential stuff like
this which make people switch to MacOSX. But as I am not putting in
any effort to help the development of Linux in this direction, I
can't really blame anyone - that's the nice and bad thing about open
source!

Take care in the summer folks - Norway is getting really hot these days!

OS X upgrade and M600i

For a small moment, we kept our breath, as we installed the update to Mac OS X, v. 10.4.7. Eagerly, we started up iSync to check whether support for our new cool phone was added - the Sony Ericsson M600i.

But, no. Not this time. On to something else. Maybe the M600i must rest in the drawer until either Apple or Sony Ericsson releases some updated software.

Take care!

Tuesday, June 20, 2006

Amobil :: Telenor tester super-3G

Amobil :: Telenor tester super-3G

Yet another option for decent net connectivity not to far into the wilderness... (The rest of this goes in norwegian, as I link an article in norwegian).

Som en oppfølger til 3G løsningen basert på NMT-450 som jeg kommenterte for noen dager siden, skriver Amobil idag at Telenor har satt igang tester med HSDPA, en utvidelse av 3G (UMTS) teknologien. Jeg vet lite om dette, men går utifra at det dreier seg mer eller mindre enn software som man kjører oppå den eksisterende infrastrukturen, kanskje på samme måte som EDGE i GPRS. Det skulle i såfall tilsi at rekkevidden på HSDPA blir tilsvarende rekkevidden i 3G; ikke fantastisk, men ikke helt ille heller. Og mer interessant, så langt ut i ødemarken som jeg holder til til daglig, er det ikke usannsynlig at 3G støtten snart er ok (det er av og til 3G dekning i dag, litt avhengig av atmosfæriske forhold virker det som).

Så, hva snakker vi om? HSDPA skal kunne gi 3.6Mbps, altså langt bedre enn de 1.2Mbps'ene som ADSL leverandørene klarer å pushe på linjene ut til meg idag. Vi får vel regne med at dette også er en asynkron tjeneste, men det er sikkert mulig å få noen hundre Kbps den "andre" veien. Dermed skulle HSDPA være en bedre løsning enn det som kan tilbys av ADSL idag.

Alt dette er selvsagt helt i det blå, siden Telenor ikke har sagt noen ting om om og i såfall når noe slikt kan bli lansert for sluttbrukere. De skal selvsagt melke kua maks først, sånn de har gjort hele veien, fra før ISDN tiden. Og jeg lever sikkert godt med crappy ADSL fra Bluecom en stund til jeg - helt til flere i familien blir aktive surfere og skal dele båndbredden med meg. Det blir ihvertfall spennende å se hva som blir første teknologi som gir noe mer enn 1.2Mbps ut i villmarken.

Bondehilsen fra ødemarken Follo!

take care,

Don't buy M600i if you're a MacOSX user!

Today, I received a brand new cellphone, Sony Ericsson M600i. It's a business oriented phone, which should be strong on messaging and keepting track of appointments and the like. It also comes with an RSS reader, which is quite cool, and decent Web (Opera) and email software.

Unfortunately, there is no support for this phone in iSync on MacOSX (10.4.6). Hopefully such support appear in the near future, but for now I will advice you MacOSX users out there to avoid this phone.

Also, the software in the phone seems to be a bit buggy. While I was doing some experiments with the webbrowser it seg.faulted a couple of times. Among other places, I tried to visite calendar.google.com, which wasn't especially sucessfull. Compared to other SonyEricsson mobiles I owned in the past, this one also seems to operate quite slow; this may be to buggy and bloated new software. So, stay away from this one for a while and wait for software updates, both in the phone and on MacOSX. The idea with this phone is so great, so hopefully it wouldn't last to long before we see the necessary updates. I'll report on this later on (if what I need ever appears, before I move on to something better :-)

Take care!

Thursday, June 15, 2006

digi.no - Snart får Norge sitt tredje mobilnett

digi.no - Snart får Norge sitt tredje mobilnett

Kanskje det endelig er en mulighet til å få noe mer enn 1.2Mbps ut på bondelandet! Bor man litt lengre enn et par kilometer fra nærmeste adsl sentral i dette landet, er det jo umulig å få noe særlig hastighet på ADSL. Og all utvikling (ADSL2+ osv) dreier seg om å få stadig raskere linjer, på bekostning av linjelengden. Det er fint å se at noen forsøker å få til noe annet av og til - bedre dekning i grisgrendte strøk.

Det hører med til historien at jeg bor rett øst for Oslo, i Ås kommune, så man skal ikke så veldig langt ut på landet før problemene dukker opp!

Take care,

Saturday, June 10, 2006

The Macbook Pro has arrived

Hey folks, 

just a quick note to let you know that I am now playing with a brand new Macbook Pro with 17" screen. Pretty unusual stuff for me; the largest screen on any laptop I have used in the past was 14", and I thought that one was actually a bit to big. So this is huge...

Anyway, I'll let you know more about the setup and how it works later on. 

In other news, the oldest niece of mine, my older sisters oldest child, turned 18 yesterday. It's actually quite odd - it's a new generation coming up and we are soon the oldtimers. Old the best to you, Trude, and God Bless; may you have many, many, many great years.

Take care,

Wednesday, June 07, 2006

Confused about my recent posts?

You are with good reason. Somehow, a draft I thought was accidentally was deleted from the server actually showed up as published today. So there you are, two different versions of more or less the same post; written with a few days in between and with the content recreated from memory because the original post was lost (but wasn't anyway...)

Now, I'll read both posts my self and compare ;-)

Take care!

Tuesday, June 06, 2006

Me and my computers

For those faithful readers of the blog, you know that I currently use an AMD64 computer at work, running Ubuntu linux, and small FSC P1510 laptop running unstable debian and an dual G5 PowerMac at home.

It's time for updates! Allthough I used to be a strict Linux person, over the later months I start liking MacOSX quite well, and even though my home computer is a dualboot (MacOSX and Ubuntu linux), I tend to prefer running Mac on it for different reasons. In addition to that, more people in our company start running apple computers, so the sysadmin folks need to update their knowledge.

Fast forward - I have ordered a 17" Macbook pro, it should appear hopefully this week. I will probably not install linux on it at all, at least that's the plan right now... I'll report on who the machine feels for me anyway, later on.

As that's a quite big portable computer, I will need something smaller. But the difference between the P1510 and the Macbook is probably not big enough to justify keeping both. Therefore, I will probably try to get my hands on the new Sony UX (check out UX at sonystyle).

As this is not easy to get hold of in Norway, I'll probably try to pick up one when I'm in San Francisco in august.

Take care

Friday, May 26, 2006

Me and computers

As all me faithfull readers know, I mostly use Linux computers, but also have an Apple PowerMac at home. Although that computer have Linux (ubuntu dapper beta) installed, MacOSX tend to see more and more use on it. The reason is that some of the stuff I do at home simply work better on OSX, like playing music. So, instead of rebooting into linux all the time, I just get what ever I need to work on OSX - which is usually possible as I mostly rely on open source software.

Now, this has gone quite far, and in the company I work, Apple users seems to pop up here and there. Therefore, I and a colleague will visit the WWDC in San Francisco in august. And what is more natural than bringing an Apple laptop there. Alas, I have ordered an MacBook pro with 17" screen and 2GBs of memory today. That will be great fun! For the moment, I consider not installing linux on it at all, but we'll see how that goes.

While I have the FSC P1510, which is a quite small computer, Sony has announced their new Vaio UX recently - a real laptop computer in a very small housing. It has a 4.5" screen with great resolution; 1024x600, have wifi, bluetooth and even gsm/edge builtin. My plan is to get hold of one as soon as they hit the street, and then pass the big P1510 on to someone worthy of it - probably someone in the sysadmin group in the company which need something like it. It will, however, take some time, as Sony expect the UX to appear around 5. july, and considering the really bad decisions about Sony Vaio and Norway in the past, I can not expect to just by it in the store around the corner. Maybe I pick up one in SF...

At least for now, I will keep the PowerMac at home and the Amd64 in the office, since this complements the architectures I need to know about and build software on. Now we just need someone who wants to build our PyCC software on Windows, to ensure full cross platform compatibility.

I'll report when things starts to show up!

Take care!

Thursday, May 04, 2006

Lei av å være verdens rikeste (N24.no)

N24 skriver:

Lei av å være verdens rikeste (N24.no): "Lei av å være verdens rikeste

Bill Gates synes ikke det er noe stas å være verdens rikeste mann. "

Det problemet er det jo veldig enkelt å bli kvitt skulle man tro. Om han ikke har det som den rike unge mannen i evangeliet, som Jesus spurte om ville bli fullkommen. "Selg alt du har, og gi det til de fattige, så skal du få en skatt i himlene; kom så og følg meg!" Han gikk bedrøvet bort, for han var veldig rik.

Take care,
Mandus.

Monday, April 24, 2006

New car!

I bought the family a new car yesterday. A slightly old (born 96) Volkswagen Caravelle TDI, the looong version. In that car, 8 persons can have a comfy ride, together with a lot of stuff.

So that's what occupied me the last few days. And the day after tomorrow, I'll travel to Madrid. Check out my photoblog, pictures of the new car, and from Madrid will appear!

Friday, March 31, 2006

Dr. Scient

Yesterday, I defended my thesis, and everything went well. So, finally, after 9 3/4 years, I have finished my Dr.Scient studies, and am now a dr. in scientific computing.

Well done, Mandus.

Wednesday, March 29, 2006

The trial lecture and the defense

Maybe some of you wonder what is going on - I promised to report on the progress of the preparations for my trial lecture, and said a few words. After that complete silence...

First, I have worked very hard the last 2 weeks - and tomorrow is the big day. And I think I have the presentations ready by now, although I have to test them a few times to check that I can stick to the schedule.

Next, I have to say that I didn't came up with extremely much interesting content. I tried to investigate the "formal verification" field to see whether there was something there that could be of any use, and find quite some material to read. Unfortunately, most of what I found is still to preliminary to be of any real value for practical verification of scientific codes. So I ended up with the standard pile of tricks, method of manufactured solutions beeing the most prominent, or the most advanced.

The presentation of my thesis is the toughest one, though, as I have to present what I am been doing the last couple of years (I started in -96...) in about 30 minutes. Though call, but I'll manage.

Take care, and wish me good luck tomorrow!

Saturday, March 18, 2006

Preparation for the trial lecture

Maybe just for my own future reference... I will now briefly document the preparations for my trial lecture and defense of my Dr.Scient thesis.

So far I have worked on a "mindmap" using kdissert to organize the different aspects of the topic for the trial lecture that come to my mind. I have also search google and other places for relevant information. During thursday and friday I discovered at least 2 books and about 20 papers that seems to be relevant. I am now reading a paper by Salari and Knupp which are very relevant, as it discuss code verification by the method of manufactured solutions, which is a common approach in computational science and engineering.

As I move forward I also want to investigate to some extent the field of more formal code verification in computer science. From what I know from before, it is not possible to prove correctness of a scientific code (in the multi-million lines of code range) using such formal theories, as usually it is required that some special programming language is used, as well as the complexity can not be infinitely large. I am also not sure whether or not these to fields are talking about the same thing, as the interest in comp. sci & eng. is to verify that the output of the code is correct, and does not care that much about how it become correct (ok, I do simplify things here...), while traditional CS probably are more concerned about the correctness of the code itself.

Another topic is how we can relate verification of scientific codes to verification of experiments in other natural sciences, like physics or biology. I have to look further into this as well.

Now on to the reading to see what more I can discover!

Thursday, March 16, 2006

The topic for my trial lecture

Today, I have received the topic for my trial lecture. The title of the lecture is:

Verification of Scientific Codes

Not a bad topic at all. Alltough this is something we don't think about every day, it sure is an important part of what I do. If we can't say anything about the correctness of the programs that we write inorder to say something about scientific problems, how can we then use the program to draw any conclusions for the problem that we investigate.

Also, a few years back we discussed this topic within the group, and one of my coworkers even produced some software that target some of the issues within this field. So I have someone to ask, and do have some ideas my self as well.

A trial lecture is never a walk in the park, but at least this is something that I can relate to, so I think it is an ok topic.

Now, on to diggin' out references, reading material and start producing slides for the talk. You wan't see much of me the next two weeks...

Take care folks,

Wednesday, March 08, 2006

Samsung Q1 - infoSync World - origami

Samsung Q1 - infoSync World

Is it just me, or isen't this very much like the previous U50/70/71 models from Sony? I thought we should expect something new. Ok, you know that I'm not a big Microsoft fan, but for all the hype I at least expected something actually new...

By the way, why can't any pda or small laptop maker consider making something with a formfactor comparable with the Psion models - a decent keyboard, ok display, good batterylife, and software and communication hardware (bluetooth/umts/wifi) up to todays standards. That will be a killer piece of hardware.

In other news, I am at the winterschool at Geilo, on Navier stokes and automation of PDE/FEM software (http://www.fenics.org), this week. Cool stuff!

Wednesday, March 01, 2006

My Ph.D thesis hot off the press

Not exactly true, but I have paid unipub a visit today, to hand over the press ready pdf-version of my thesis.

Now I only have to prepare a couple of presentation, and give them, as well as answering a few questions from the comitee, before I have earned the right to call my self a Dr. It's been a long and interesting journey, and I'm glad I can see the end.

The important date to remember is 30. March.

Take care folks!

Tuesday, February 28, 2006

Så sto vi her da...


Så sto vi her da..., originally uploaded by mandus.

Og jeg som trodde vi var vant til litt snø her i landet!

Monday, February 27, 2006

Ekspertene slakter Norge - Aftenposten.no

Ekspertene slakter Norge - Aftenposten.no

Hallo, liksom. Norge er et lite, bitte lite, land. Vi kan ikke forvente at vi skal ta en haug med gull hver gang det er vinter-ol.

Jeg synes vi har gjort en grei innsats jeg, og de som har flydd på ski og hoppa og kosta, de har gjort en hederlig innsats.

Dessuten har jeg fått vite at min dr.grads avhandlig er funnet "worthy of defending for the dr. scient degree". Så nå er det nesten bare tut og kjør igjen...

Take care,

Tuesday, February 14, 2006

digi.no - Rapport hevder Linux-servere er billigst

digi.no - Rapport hevder Linux-servere er billigst

Som man roper i skogen får man svar vil nå jeg si. Som ihuga linux tilhenger er jeg seff enig, men det er nå en gang sånn at Linux og Windows er to helt forskjellige systemer, så jeg skjønner ikke hvorfor man på død og liv skal sammenlikne.

Dersom du har sys.admins som kan både Windows og Linux, vil som regel Linux bli valgt på serversiden dersom applikasjonen man skal implementere tillater valg. Grunnen er opplagt - fra sys.admin siden er som regel Linux et langt mer behagelig valg.

Dersom du har sys.admins som bare kan Windows har du ikke noe valg. Bortsett fra å sparke staben og ansette nye da. Og dersom de bare kan Linux har du heller ikke noe valg.

På desktop siden er systemene såpass forskjellige, at dersom ikke ledelse og sys.admins ønsker å overkjøre sine brukere, og dermed få lite produktive, fiendlige innstilte medarbeidere, så har man heller ikke noe valg i særlig grad. Da snakker jeg om avanserte, oppgående brukere selvsagt - kveget får bruke det de får. Men de andre må altså få velge, og da vil hver enkelt bruker velge det saom passer best for seg, enten det er Linux, Mac OSX, Windows, eller et av de andre OS som finnes.

Omtrent sånn ser nå jeg det.

Gratulerer Sverige!!!

Som noen vet pågår det et OL for tiden. I dag var det sprint-stafett, en langrennsøvelse hvor ihvertfall de fleste normenn nok hadde forventet norske gullmedaljer. Men idag vant Sverige, både herre og dame stafetten. Derfor vil jeg gjerne få lov til å gratulere våre gode naboer på det hjerteligste!

Wednesday, February 08, 2006

I will soon be a doctor!

Just a short notice to inform my faithful crowd of readers that I soon will be a Dr.Scient. All the required documents are now accepted. The only thing left is that the committee must accept my thesis, and then the defense of the thesis, of course. But that should be walk in the park. not...


Anyway, wish me good luck on the last mile.


And as always, take care out there. There's lot of snow, and the roads are slippy. At least in my area in Norway. Just have a look out of my window:


Snow outside

Tuesday, February 07, 2006

A silly post. Mostly.

Ok, sorry folks, this post isn't very interesting. I am testing out a program called gnome-blog, running on linux, which can be used for posting directly to the blog from my desktop. As this is a gtk/gnome program, as should be evident from the name, it is not optimal for me. The optimal solution will be something I can run directly from the shell, or maybe even from a macro in the editor vim, but I will just test this program for now.


By the way, I have to report on an extraordinary service from our regular hardware-pusher, pc-express. As reported yesterday, the NIC on my desktop computer at work broke down. As the manufacturer in question, Shuttle, are known by our dealer to not exactly handle guarantee matters in a prompt fashion, I was told today that the just ordered a new box for me, and will handle the return of the old one without bothering me. In effect, I will get a computer back very soon, which is important to me. I think this is more than I could expect, so I am really satisfied.


PE2 2:10-11: But chiefly them that walk after the flesh in the lust of uncleanness, and despise government. Presumptuous are they, selfwilled, they are not afraid to speak evil of dignities.

Whereas angels, which are greater in power and might, bring not railing accusation against them before the Lord.


Take care,


Monday, February 06, 2006

Me and my computers

The regular reader knows that I have right now 3 computers that I use regulary. With two of them there has been some events recently that I can mention here, and for the last one, the P1510, I have promised you some comments on the linux installation.

First, the AMD64 computer that I regularly use at work. The Ubuntu for AMD64 is working flawlessly on that computer. Everything that I need is running just fine. But on friday the NIC fell apart. Usually, that is not a big deal, you just pull the card out and slip a new one in to the box. Problem is that this is a Shuttle SN25p, with the excelent NIC built right into the mainboard. Combined with noe free PCI slot on the mainboard, I do not have any other option but sending the whole box in for service. So, I am happy with the box, it works quite well, and performance is more than adequate for my work (which includes some really heavy simulations of partial differential equations), but no free slot for a emergency NIC can easily be a showstopper in the future. I am thinking on finding other use for the computer within our lab, and get another one for myself.

The PowerMac at home is also doing fine these days. As you know, I ended up installing gentoo on that computer, because the installers of both debian and ubuntu for powerpc failed to work, due to problem with disk partitioning. The installer is just unable to detect the geometry of my partitions, and give me only the option to wipe out the entire disk, including my MacOSX installation, and put in linux. Not what I want, as I use MacOSX for different purposes.

The problem was that I never used the gentoo installed. It just take to much time to compile everything, and a whole lot of packages is masked out for powerpc64, as I guess not very many gentoo users play with these animals. But then I figured out that I already have a working disk geometry and working yaboot for booting the operating system I want, so I just tried to install ubuntu for powerpc64 into or on top of the gentoo installation. For this purpose I chosed the pre-release of the next ubuntu (Dapper Drake), and run the installer in expert modus. In stead of working through the partitioning and mounting step in the installer, I switched to another console, mounted what I wanted as '/target', run the necessary swapon command, and wiped out the original gentoo stuff from /target. Most of the installer worked just fine from that point, except making the installation bootable and writing a correct fstab. The fstab I could easily handle by hand, and the configuration for the 'yaboot' boot-loader I have been clever enough to back up to a USB drive. So, after copying in the yaboot config, running 'ybin -v' and doing some editing of fstab using vim, I have a working ubuntu. Now with most of what I need available in binary form. There are some issues with the airport extreme wireless card, my firewire soundcard and the built in soundcard, but I can live with this.

With the Fujitsu P1510, the history is not very interesting. I booted from Debian sarge net-install cd, performed a regular installation, upgraded to etch. Everything is just fine. Bluetooth, sound, WiFi, Xorg - everything works. There are only a few minior things. Suspend/resume is not working out of the box, so I patched the kernel with software suspend 2. Using this I can hibernate the computer using the swap partition to store the state, and bring it back up and running in a matter of a few seconds. I also have some issues with cpu throttling, I have not manage to get neither cupfreqd nor powernowd to run, this is something I have to look a bit more into.

Take care, folks!

Thursday, December 15, 2005

Waiting is over!

The Fujitsu P1520 arrived today! It's a very sweet, little thing.

I am installing Linux on it right now, a report on this will follow shortly.

Take care,

NRK.no - EU - Store all phone and net traffic for two years

NRK.no - EU

The european parliment have just approved a new directive, which state that all phone and internet traffic should be stored for two years. That is just crazy. Apparently, only phonenumbers you call, where you are at what time ip-addresses for communication, etc. But that is pretty extensive. Doesn't sound very well thought about and very crazy.

Hey, I have nothing to hide, but I don't like that idea at all, so I better go dig up those urls again that describes software that can be used to hide your tracks.

Take care - and be scared.

Thursday, December 08, 2005

Waiting for Fujitsu Siemens P1510

This is a story in progress!

Back in early october I ordered the new Fujitsu Siemens P1510, a new very cool and very small laptop, from our regular dealer. I was promised that delivery will be around 15. november.

When we approached 15. november, I was told that there was a slight delay, 1. december will be the great day. Somehow I don't belive what I was told. And very correct, there was a further delay, 7. december should be the delivery date. Now I was also told that the computer was shipped from germany, probably from some Fujitsu Siemens manufacturing facility there, so now further delay was expected.

But, hey, thats too simple, isn't it? Yesterday, which was the 7. december, I was again told that a new delay was in progress. New delivery date is 14. december. But then I have some questions. My computer was shipped, right? So, who in this world got my computer? A more important customer? Does someone paid off somebody in the delivery chain to get my computer? Maybe it wasn't shipped at all?

The important thing is that this happens all the time. Should we just take this any longer? When I order an item, and get a delivery date, I expect the item to show up. I guess that if you are a craftsman, and order a new tool, a chainsaw or something like that, and get a delivery date, you expect the item to be around at that time, and tell your customer that you have to wait until that date with delivery. Could the craftsman live with one month or more delay? I guess not. He turn to another vendor. Why can't I do the same? Because every single company in this business is more or less the same.

So, buyers in all countries, speak up. Don't take this any longer. Give the message to your dealer that you want the item on the day they promise. It's much better that the dealer give a correct but long into the future delivery date , than specifying delivery dates that he can not keep up with.

I think I in the future will request a 1% reduction in price for each day the delivery is delayed. If we all request this, maybe we can get a healtier attitude in the business.

Wednesday, November 30, 2005

Slashdot | Microsoft Open Document Standard Not So Open

Slashdot | Microsoft Open Document Standard Not So Open: "Microsoft Open Document Standard Not So Open"

Please, can someone explain to me why I am not shocked? I guess that as long as water flows, sun raises and sets, Microsoft will never be really open. It's just against their nature, they can't be something they aren't.

Live free and prosper!

Sunday, October 30, 2005

Linux on a G5 - Followup

You might wonder how it went with the Linux install on my G5. Please read the previous post on this if you are one of my new readers!


It turned out that the Debian installer still couldn't figure out where to install itself, even when the free space ready for Linux was first on the disk. There is certainly something strange with the partition scheme from Apple. As a last resort I went to gentoo. What you can't do with gentoo, I guess you can't do at all. To make the story short, gentoo works as a charm. During my tests with the other distributions, I figured out how to create partitions and mount them using mac-fdisk, mkfs and mount directly. The problem was that even when I mounted partitions, the installer couldn't find them. And if I got beyond that point, I still wasn't abel to install the bootloader properly. With gentoo, everything is manual and up to me, so it was much more easy to perform the install.

The only problem I really had was with yaboot configuration. The yabootconfig script that should have created a yaboot.conf file was nonfunctional with my setup, so I had to write the config manually, based on some examples I found online. That wasn't that hard, but it took me some time to figure out the ofpath id's I needed to put in there, as well as which partition number the Tiger actually should boot from. It turned out that I should not specify the partition where the Tiger lives, but the one just infront of it.

So - end of the story is that I now have a working Tiger and a working gentoo, though it will still take some time to get all the software I need on gentoo. That's why I don't like gentoo that much. The power of the gentoo install, coupled with the power of apt-get/dpkg, that's really what I want. But I guess I stick with gentoo for now - it will certainly give me a lean, mean machine!

A short note on the Shuttle SN25P case is also appropriate here. I can tweak the ubuntu really to what I want. I got NIS and automount working, I have sound and DVD burning working, and most of the packages I want. Actually, I just think about it as Debian, and it works quite fine. Guess I can live with that!

Take care!

Wednesday, October 26, 2005

Linux on a G5 PowerMac

I finally wanted to put linux on my G5 PowerMac, as I see my main linux computer today, a laptop, soon will be gone, replaced with a smaller and sweater laptop (the Fujitsu Siemens P1510). As I now have the Shuttle SN25P at the office, I'll also need a stationary computer at home running Linux. Don't get me wrong, the Mac OS X system is a decent system. Unfortunately, it's not up to my standards for doing real work.

This should be an easy task, right. I already have a free external firewire disk, and my intention was to load Linux on that one. Inserted the ubuntu cd (read the story on the Shuttle to get why I just started out with ubuntu), and keep going. Right. Tap, tap, tap, enter, enter, enter, ooopss. I accidentally erased the MacOSX partition instead of repartitioning the external drive. So, thats an extreme makeover for my MacOSX installation. Anyway, most important stuff I have elsewhere, so no big deal. So, took two steps back, installed Tiger on the internal drive, and went back to my original quest. Installation on the external drive went just fine, up to the point where the bootloader, yaboot, is to be installed. It can't be installed on the external firewire drive, at least not from the ubuntu installer. Another couple of steps back.

Next try, go for a split of the internal system. So, I install Tiger again on a smaller partition, leaving a spaceious 80GB towards the end of the drive for Linux. Bahh.. The ubuntu installers is unable to find the free partition and install there. So, I figured out I should start with partitioning from the linux side. So I did - removed the Tiger again, created partitions for Linux at the end of the disk, installed ubuntu. Only to discover that the mac disk utility is unable to create HFS+ partition in the free space for Tiger. I lost counting, but had to destroy everything once more.

This time I did some googling, especially on the Debian installer documentation for PPC. There I got the following recipe: Start with installation of MacOSX, leave free space for Debian at the beginning of the disk. Then, install MacOSX, and finally install Debian.

So, now I will try that and see how it goes. Btw, the one time I actually got ubuntu installed on the internal drive (alone, no MacOSX present) I was unable to boot it, because the SATA drivers was not loaded in the kernel at boottime. I guess I need to use initrd or something, but have to figure that out later on.

On to the next install, I'll see you all later :-)

Monday, October 24, 2005

Linux on Shuttle SN25P

Hi there,

I got my new Shuttle SN25P at work today, and want to load it with linux. The computer comes equipped with a AMD 3500+ 2.2GHz processor, 2GB of memory and a 250GB maxtor SATA disk from the pc-pusher. They have also put an Geforce 6600 something graphics adapter into it.

As a long-time Debian fan, I of course wanted to load it with that. Of course, I know of the, should we say, not so appealing situation with Debian and AMD64, but thought I'll be fine with the glitches that might appear, and eventually some manual work. Now, I found a unofficial sarge netinst image for AMD64, as well as a testing or sid netinst image. To start out easy, I head for sarge. Everything seems fine during the install process, but after a reboot I discovered that the included kernel was not able to properly detect the ethernet card included on the mainboard as part of the nForce4 chipset. Not very usefull with a netinstall image then. So, the sid-image next (it was labeled as sid, but from what I could see during install it's more like a etch image). This time the ethernet card was detected properly, but the installer was heavily broken. For instance, busybox was missing in the target system during installation of package, such that unpacking and installation of packages was impossible. After spending a good hour, trying to put in the necessary stuff from the host (boot) system, I just figured out that this was not the "right way".

To make the long story short - I grabbed the latest ubuntu for AMD64, slipped it in, booted, waited, and had a working system.

While I kind of want Debian where I know all the tricks of the trade, I guess I'll stick with ubuntu for a while, at least until Debian can get something supported out there for AMD64. Hopefully, the unstable also will be useable at that time - as I use unstable on all my x86-32 computers. I'm happy to do the upgrade from stable to unstable on anything, but it is important that I can get a working install at least with network and a compiler, possibly some X11, but that's not significant to get started.

Tomorrow I have to see if I can get the ubuntu install to be something like how I want it, I guess I can. But there are some stuff to sort out still, like sound support. So there will probably be a followup on this.

take care,

Friday, September 23, 2005

NRK.no - Valg 2005

NRK.no - Valg 2005: "De rødgrønne kjøper millionvilla

Partilederne for de nye regjeringspartiene har inngått en avtale om å kjøpe Svein Erik Bakkes 30-millioner kronersvilla på Bygdøy."
(Sitat nrk.no).

Det var jo en lekker måte å begynne på. Gir dette mer skole for pengene, som SV-kristin har mast om. Eller gir dette mer eldreomsorg forpengene, som AP-jens har mast om. Eller hva SP-haga har mast om vet jeg ikke helt... vi kommer sikkert ikke mer inn i eu av dette, så hun har nok sitt på det tørre.

Men en villa på Bygdøy er jo fint å ha. Og det var sikkert de billigste 100m med strandlinje som var å få kjøpt i Oslo-området. Helt sikkert.

Tuesday, September 20, 2005

Forbruker.no: Kaotisk og lite nytt på Apple-show

Aftenposten/frobruker.no

Dette var bare litt for dumt, så jeg må nevne det. Her drar itjournalistene ut i verden for å se seg om. De burde vel ha litt greie på it de da? Så presteres denne frasen, under Teknisk kaos:

Rent teknisk, var Expoet i sine f�rste timer, et kaos. Ingenting fungerte. For alle journalister med PC, ikke Mac alts�, var det umulig �logge seg p�nettet.

Arrang�rene hadde nemlig gjort det geniale trekket �skjule det tr�dl�se nettverket, noe som gjorde det helt umulig for PC-brukere �finne det.

Og da tenker jeg, hmmm... For det f�rste, hvorfor skulle det gj�re noen forskjell om man bruker Mac n�r det gjelder dette. Dersom nettet er skjult, er det vel skjult for mac ogs�- i motsatt fall er det ikke skjult. Med PC regner jeg med det siktes til windows, som om ikke mac er pc, men anyway, det finnes da verkt�y for �finne nett som skulle ha v�rt �pne.

N�er kanksje ikke it-journalister alltid nerder, men �bl�se seg opp s�pass kraftig p�Apples bekostning, for en s�liten sak, det synes jeg var �ta litt for hardt i.

Men det er kanskje bare meg...

Tuesday, September 13, 2005

Unfortunately, Norway turns red again...

The red side of politics won the election with 87 against 82 seats in the parliament. It's a sad day for our country. Hopefully they will not spoil to much of what makes Norway a nice place to live, and maybe next time the good guys can get back.

We'll see.

Monday, September 12, 2005

Election in Norway

Today, there is an election for the Norwegian parliament. And this time it is really exciting to follow the counting of votes. Right now it is 85 to 84 between the two main blocks, which mean that the government we have to day, continue. But it is a close race, and I will follow it closely.

For what it's worth, I'm for the current government, and want them to stay.

Sunday, September 11, 2005

Visit from uncle Ruben


Visit from uncle Ruben, originally uploaded by mandus.

Tuesday, September 06, 2005

pyFDM version 0.2

The anticipated version 0.2 of pyFDM was put up at pyfdm at sourceforge, as mentioned in the last post.

Please enjoy as much as I do!

Friday, September 02, 2005

Busy, busy. No time for blogging

I am rather too busy these days - no I really try to finalize my ph.d thesis. So, no time for blogging, no time for photoblogging (almost).

And, hey, watch out at the pyfdm page, there will soon be a new release, as I have done a lot of development on pyFDM lately.

Take care!