ed2k for some OSes

ed2k – A program computing eDonkey link (ed2k://), or only the Hash/Id (à la md5).

I first time installed it on FreeBSD (which exists in ports). Later I tried compiling it on OpenSolaris – and it doesn’t work. Lots of errors. The same source code also doesn’t compile in Ubuntu 9.10.

Then I decided to fix it. Changes are:

  • Defined/replaced u_int32_t as uint32_t. The former exists in *BSD and Linux but not SunOS (OpenSolaris). I decided to redefine it to minimize the amount of lines added since, well, they both are basically same thing and the latter works on more platforms.
  • Defined/replaced rindex as strrchr. Same functions but the former is deprecated (according to OpenBSD’s man page).
  • Included stdint.h. Required make the code gcc-4.4 compatible (at least in Ubuntu 9.10).
  • Integrated fixes from FreeBSD’s ports. To remove warnings from all C compilers I tried (suncc, gcc various versions).

Note that it still doesn’t work in Windows (can be compiled with one additional line but ed2k -l produces garbage which I haven’t bothered to find out why). Now it works in Windows.

Here be the fixed version. Still in public domain or whatever. Tried in OpenBSD 4.6 (standard gcc), FreeBSD 7.2-STABLE (standard gcc), OpenSolaris 2009.06 (Sun Studio 12u1, gcc 3.4 (from OpenSolaris’ IPS), Blastwave’s gcc 4.3.4), Ubuntu (Server) 9.10 (standard gcc) and Windows 7 (gcc 3.4.5 and gcc 4.4.0)

[ ed2k.c | patch for original source ]

OpenSolaris desktop?

Nevermind the Firefox version - I haven't got chance to install latest version.

Nevermind the Firefox version - I haven't got chance to install latest version.

Today I messed with certain newly-released Linux distro and found that it’s too easy boring. Then I decided to take another attempt at “using OpenSolaris as desktop OS” – which doesn’t actually work well (kinda obvious since I’ve installed it like 5 times or more and keep uninstalling after few days).

After installing, I figured I should at least find a better GDM themes (before attempting to upgrade to latest beta – snv_126 and most likely lost any means to configure/customize gdm) and I found this. From there I found link for entire GNOME themes and think that it actually looks pretty good. I’ll leave this installed for now (and will upgrade to latest beta whenever I find time to do so).

If you’re wondering, here are few problems related with using OpenSolaris as desktop:

  • No ntfs-3g, or at least before upgrading to latest beta (even then I don’t know if it actually works – never have such system – yet).
  • No KMS – and there’s only fugly splash boot screen.
  • No suspend (hopefully will be fixed in later version).
  • No touchpad scroll (or I’m just too lazy to configure it).
  • Kinda slow?
  • And other problems commonly related to OpenSolaris.

But at such price one can get:

  • ZFS – mainly used for “Time Slider” in case of desktop usage.
  • Zones – Solaris’ version of Linux’s OpenVZ or FreeBSD’s jail but (much) easier.
  • OMG OPENSOLARIS.

On unrelated note, GNOME 2.28 certainly looks good.

Windows 7 Themepack

In case you’re interested/forgot/etc, there’s a themepack of official Win 7-tan creatively named “Madobe Nanami” and voiced by Mizuki Nana. I don’t know the first level link, so here I give the link I found which contains the themepack. In case you’re still using ancient or not-quite-usable version of Windows, you can still extract the data contained in the themepack and use them manually.

じゃじゃ~ん!

[ Download here ]

On Cross Game

One of my favorite. This series has been able to keep me getting hooked each episodes. Only rivaled by FMA Brotherhood. Cross Game has better heroine though :>

Well, they’ve gained ‘mainstream series’ rank not without reason.

Saimoe Quarter Final will begin soon

4 of which are from Saki series (too bad Saki herself defeated in previous round). The rest are from various series, one for each series.

3 of them voiced by Kugimiya Rie.

We’ll see who fights who soon. Or later. It’d be amusing if all Saki characters are in one block… Which would be an epic fail.

Short and random commentaries

  • Koromo wins. I’m wondering how many characters from Saki will get past Group Finals.
  • Toaru Kagaku no Railgun: o yay. As expected.
  • Kampfer: yet another trap show 😮 It’s pretty funny how they can insert seiyuu jokes.
  • Asura Cryin’ 2: …wat. Okay, I didn’t see that coming.

More coming later today. Or maybe not.

Saki episode 24

yay?

yay?

Now with even more Saki x Nodoka than ever.

Next episode is last one. Will there be a second season? 🙁

(considering the manga’s pace, it probably will take a while… Or maybe never)

Nothing interesting

wallpaper-[seifuku wallpaper yasuyuki]

Something did happen and now I’m enjoying doing basically nothing useful.

Just like the wallpaper above which was originally non-widescreen. I made it widescreen by duplicating the checkered background pattern… and that’s it. Master file’s resolution is 1536×960 (extended from 1280×960).

[ Source ]

On another note, my current host sucks. Totally. I’m planning to move somewhere else after current period ended.

Update: derp, I forgot to put link to full size picture.