simon's blog
What's the best thing about Windows? You can run Ubuntu on top of it. Okay, so I am stuck with a locked up enterprise computer running Windows XP (... and yes we run IE6.0). However, when I wanted to start to learn some OCaml during my spare time on my work computer I did not want to use MS Based Technology, I am not comfortable with it as a development environment. I new I had to get some flavour of Linux on it. Linux, for me, is the ultimate development environment, and I prefer working with it. At first I looked at installing into full hardware virtualisation, like VMWare, Xen and VirtualBox. I ended up trying to install Kubuntu under VirtualBox from Oracle. It was damn slow, my Enterprise Dell Latitude D620 has no hardware virtualisation support, so the software does it, and this tends to be real slow. Kubuntu was painfully slow using to use and for some reason it would only run in a 800x600 window. Then I discovered Portable Ubuntu Remix (PUbuntu). I don't know how it works, but it's great and I'm hooked. In summary it has the following features:
One cool feature it could have is to enable hibernate This would allow me to hibernate just PUbuntu and bring it back up again to the same place when I start it again. I really don't know what technology it uses to do this, it's not documented that I can find. And only the sourceforge page exists, the original webpage just redirects to back to sourceforge. But it is actually running Linux, running dmesg shows the full and typical Linux log and it says it's running version 2.6.33-co-0.8.0. ... actually a little digging shows that it is running on top of coLinux, which allows you to run linux on top of Windows. Either way I am highly impressed and use it every day now, but not at work.
|
|||
During the week I commute between Luzern and Zurich by train. Normally I do some work on the train, using the work issue laptop, but disconnected from the net. For work we're stuck with Lotus Notes which has a reasonable offline mode, I can sync my mail when I get back to the office, it syncs with my Blackberry, it works mostly fine. The problem was when I don't work I often want to send a personal email. But I despise using my work email to send personal emails. I used to compose the email in a text editor.
Recently Gmail has be brewing something in their labs. It allows users to use Gmail offline. This is seriously cool stuff!! All you need to do is enable it and it will download all your emails to your local computer, this takes some time, but you can go offline before it is complete. An icon is installed on your desktop and you can use this to access Gmail offline. The offline version has no compromises. You can do everything you can do while online, except, of course, things that require a connection like real-time chat. You can search your email for keywords, and it is just as fast as when you are online. When entering someone in the "to" field your favourite peoples names appear, like normal. Attachments are included and can be "downloaded". While offline an "Outbox" appears and this is where your sent mail is stored.
All you need to do is install gears. It even works on IE, but I use it on chrome which I believe comes with gears built-in.
I highly recommend this one for those who want to use gmail on the go, without a network connection. |
|||
It's official, the Swiss are islamophobes. What is considered a large turn-out, 57% of those voters voted "Yes" to ban minarets. The government is going to respect the peoples choice and put this into the Swiss constitution. I think this is totally backward and that the voting topic misses the point. The Swiss are already known for being xenophobes, and I think the government could have done more to educate people about the consequences of such a decision. It is not going to stop Islam in Switzerland, it is just going build a larger divide between the "traditional Swiss" and the Islamic community (many of whom are Swiss).
In another backward decision, the voters voted "No" on the Weapons export ban. 68% voted against. This one is easier for me to see how poeple voted this way, since it would have had a significant impact on the economy.
Is there any news of this in NZ, or elsewhere? |
|||
November 27 is voting day, it is the 4th national referendum for 2009 in Switzerland. Each referendum has one or more initiatives to vote on. There are 3 national initatives to vote on this month, these are:
On top of the national initiatives, there are cantonal initiatives. For the canton of Luzern (Lucerne) there are two:
Okay, the reason I don't know much of the details is that my German is pretty rusty, so I only read things if I have to. And some of these things I don't really care that much about. I will keep you posted on the results, they will be available on voting day normally in the late afternoon. Unlike in NZ when you have to wait how many months for all the votes to be counted? |
|||
Okay, I need to do a geek post. I want to learn functional programming, I have heard lots of good stuff and lots of nasty stuff about it. But I can't comment on it unless I have tasted it. There are 3 I am interested in. I heard lots of good things about Erlang, it's used in many production machines, it seems to have a strong following and it's designed in such a way that you can easily upgrade a system without stopping the program. Then there is Haskell, it seems like it's made by the super academic for the super academic, it has a steep learning curve and is purely functional, it sounds nasty. Then there is Ocaml, apparently it's comparable in speed to C/C++, it's a mix of functional and imperative programming and the size of your code is a bit shorter than C++. Has anybody had any experience with any of these. I want something that is easy, and fun, to code. Is fast. And gives me a good taste of functional programming. I would also possibly be able to apply it to my work in some places. Have you seen any of these languages used in the wild, outside of academia? If so, where have you seen them used? What are functional program like to maintain? With this, I am asking what happens when you come back in 6 months to update the code, is it easy to update/refactor/optimise? |
|||
In Switzerland an initiative to ban gas guzzling cars has completed it's first stage of collecting 150'000 signatures. Here is a picture. Next, I believe, it will go to parliament where it the initiative could be stopped. However, I believe this has never happened.
|
|||



hehe minidrome.
To be fair he was reading those quotes...
annoying autostarting vid fixed
Okay, an update: I have given up on OCaml, I was not producing results fast enough. ...
...
My OCaml is coming along, albeit slowly. I have found it has a steepish learning curve...
view all comments