What am I watching this season?

Useless information is useless.

  • 11eyes
  • Asura Cryin’
  • Kampfer
  • Kiddy Girl-and
  • Kobato
  • Nogizaka Haruka no Himitsu – Purezza (or whatever it’s called)
  • Nyan Koi
  • Sasameki Koto
  • Seitokai no Ichizon
  • Shin Koihime Musou
  • Sora no Otoshimono
  • Tatakau Shisho
  • The Sacred Blacksmith
  • Toaru Kagaku no Railgun
  • White Album

15 series ~(O_o)/~

Commentary, etc tomorrow.

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.