Running Linux in Windows

I’ve been using this for weeks: coLinux.

Basically it’s just like paravirtualized Linux. Or Linux in Jail/Zone. The speed is relatively good except on shared disks IO. Neither using Samba nor its built-in COFS gives good performance. It’s stuck at 8 MB/s using Samba and even slower when using COFS. Nevertheless it feels relatively lightweight especially on this laptop where the processor doesn’t have VT-x thanks to Intel being cheap.

Installation is relatively easy. Basically it’s down into:

  • Install the coLinux
  • Download and extract root image somewhere (can be downloaded at installation or manually at their site)
  • Copy required files for booting up image from coLinux installation (initrd.gz, vmlinux, vmlinux-modules.tar.gz)
  • Adjust the configuration
  • Do a test run, configure the OS
  • Install as service
  • Done

Note that as I said before, even though there’s COFS for sharing data between Guest and Host, I suggest using Samba instead for better performance (about 1.5x the speed).

Or you can just use VMWare or VirtualBox… :p (which I believe have at least 20 MB/s IO speed on shared disks)

Open letter to internet

Dear internet,

Please stop saying just “ogg” when referring to ogg theora. ogg itself is actually just a container which nobody should ever use except to put audio only, aka ogg vorbis, in it. Using ogg when referring its video component is creating a huge disservice to its audio equivalent because, compared to its video, ogg vorbis actually does make sense, has relatively good quality and supported by some (portable) media player.

It’s gotten worse with recent h264 vs theora buzz in html5 “recommended” video format war.  Please spare the poor, sad ogg vorbis from this stupid war.

Sincerely,
edogawaconan

HAHAH, good job, Ubuntu

So I was messing with my Ubuntu 8.04 installation for hours trying to find the way to connect to VPN with NetworkManager. It used to ‘just work’ in Fedora 12 but doesn’t in Ubuntu. It’s an old version (older than Fedora 12) but it’s supposed to be LTS – Long Term Service and I expect things available in here to be working without problem. The only missing thing should be whatever new features available on later versions.

See, VPN is available. And network-manager-openvpn is available. It should work, right?

No.

Doing anything useful with your network configuration, like, setting static IP, will remove the “VPN Connections” menu from the applet. Surely creating advanced network configuration, like, bridged connection worsen the matter.

After few hours, I decided to see if it’s a general problem… and this I found. Status: confirmed.

Great. 2 years and 5 months unfixed bug. The developers never try their own work? Heh.

I want my time back. I’m so not going to use it from command line – it’s 2010 and I’m not using OpenBSD here (and OpenBSD has easier bridged networking configuration).

If you ask me why I switched to Ubuntu from Fedora – older version no less, the reason is I wanted (and still want) to try OpenVZ. This will be discussed in another post (rant).

3 months with Windows 7 x64

In short: 64-bit applications are almost non-existent.

A little bit longer:

So, few months ago I decided to try the latest Windows for desktop in its most modern form: Windows 7 x64. It’s 7, and it’s 64-bit. Its modernness can only be rivaled by Windows Server 2008 R2 which only available in 64-bit. The reason is to get the so few percent possible speed improvement in x264.

Fast forward few months, I then noticed that:

  • The speed gain from x264 64-bit is negated by the fact that I’m forced to use avs2yuv for filtering video for x264 and I’m too lazy to do lossless pass.
  • There’s almost no 64-bit applications available. In the 3 months period I have installed, like, single-digit amount of 64-bit applications. And 7-Zip 64-bit feels sluggish.
    • 7-Zip
    • WinRAR
    • VirtualBox
    • x264
    • Photoshop
    • Anti virus (avast)
    • Drivers

Last thing I needed is another reason to move back to 32-bit.

And that comes today: I need (or actually, want) to install coLinux (after trying out on friends’ laptop and seems to be capable of doing what I wanted). It doesn’t have 64-bit support yet. And I don’t think it’ll come anytime soon. So, there – I’m going back to 32-bit.

2009/11/26 – 2010/02/18 (probably the longest I ever used 64-bit Windows.)

Hacked: aftermath

So, few days ago my site was defaced. Freakin defaced.

The method is most likely cookie stealing. Don’t ask me how. Basically there’s no access to wp-login.php which means the culprit was somehow able to get my cookie in one way or another. After got into Dashboard, he went to modify one of wp theme available and do some fun.

Thank god there’s backup available by the host provider (yay). Restored from backup and everything went well.

Disabled advertisements since it’s the most suspicious vector.

Hayate no Gotoku manga: finally

I was bored at the Thursday morning and decided to read all ~80 chapters which I was behind. Lots of Hinagiku awesomeness (yay), the reappearance of Athena, and the whole wtfry in the last few chapters.

As usual, unhealthy amount of references. It's a tokusatsu reference, btw.

Thanks to folks at id-anime for informing the mangafox.py – a script to automatically download mangascans from mangafox. Also available for mangaone.

Yay

URL Change

Moved from blog.myconan.net to myconan.net/blog . Previous URLs should still work (automatically redirected here).

Reason? No particular reason :p

In other news, Danbooru subdirectory installation fix is coming along not in this week, though.

X-less VirtualBox OSE

It’s possible now. Still in testing phase though but it’ll be surely interesting and there goes my final (non-experimental/fun) reason of staying with OpenSolaris. VNC is rather crappy but it’s much better than compiling/installing X just for that one program.

Compiling X is no fun. At all.

Binary install doesn’t help that much either because it’ll become almost impossible to sanely manage all the programs to be kept updated (binary and source installation doesn’t mix). Slow binary availability doesn’t help either.

Random photo

Thanks to the lack of posting idea today, here are some photo I took (and forgotten) since few months ago.

Sky, taken from my campus at October last year

I sometimes randomly take photo. With crappy (phone) camera.

Thanks to my connection, I can’t upload another images. I’ll upload them at Thursday if I still have interest to do it.

On danbooru

Turns out I didn’t do anything this past week. Hopefully I can finish the installation-in-subdirectory on Saturday.

It should be straightforward but the main problem is I have to make sure I didn’t miss anything. There are a lot of places in main version which still use absolute path for its link generation. Even worse – most of the links are manually generated using literal <a ...> tag instead of Rails’ link_to. The other problem would be the JavaScript – the prototype JS used also contains lots of absolute path for operation with JSON. For such area I’m planning to use relative path combined with base tag in head.

Also documentation is still coming along… somewhere in my head.