Magic Kaito – “Finally arrived!” edition

Magic Kaito – Originally published in 1988, making occasional appearances in its successor – and also haven’t actually finished thanks to being put on hold (counting at 4 volumes) – finally adapted into anime.

Unlike its pretentious (borrowing word from certain group(s) out there) successor, it mainly focuses at comedy side. The first episode followed quite closely with first chapters of the manga. I don’t know how long it’ll be though.

Simple tips when writing scripts

Be it bash, tcsh, perl, ruby, python, etc script, here’s my one simple tips for you:

  • Do not use direct path to the program path in the script’s shebang line – use /usr/bin/env <program> instead.

It’s foolish to assume that everyone have bash in /bin/bash (and it’s even worse if you assumed /bin/sh = bash and recent version of bash will fallback to POSIX feature subset when executed using /bin/sh). And it doesn’t make sense to assume every single perl/ruby/python/etc main binary is in /usr/bin/{perl,ruby,python}.

Instead of doing that, just use /usr/bin/env to let the shell decide where to find specified program. For example if you’re writing bash script, put

#!/usr/bin/env bash

.

This will ensure [1] no one will went RAGE when using your script. I know I did when seeing such scripts. Or as previously stated, #!/bin/sh as the shebang and somewhere in the script it uses [[. Totally (un)funny.

[1] Basically /usr/bin/env will execute the script using program specified in its argument based on PATH specified in the environment variable. It doesn’t matter where the actual binary is located as long it’s in the PATH.

Kaichou wa Meido-sama ep 1

I rarely watch shoujo anime but I think this one doesn’t feel too shoujo-ish. Looks like J.C.Staff tried to make this anime more gender-neutral.

Read more information about this series here. Be careful though – its character section contains some spoiler.

It’s got some light jokes here and there (well, one of its genre is romantic comedy) which I think well executed – at least for first episode.

Its basic premise is simple – a strict, valedictorian but poor student council president works at a maid cafe which then found by a boy which happen to have enough lulz. Hilarity ensues, etc.

The good thing about shoujo series is that the main hero (?) is actually likable unlike some generic eroge-turned-anime shit.

It is also relatively guilt-free (as opposed to B Gata H Kei) and wtf-free (o hai Heroman) and J.C.Staff should be able to produce something relatively amusing…

If you’re looking for light, general comedy for this season, then check either Working!! or this. 😀

Random craps

  • Sometime last week the default color scheme for WordPress’ Dashboard (3.0-alpha) was changed – it is now lighter at least the header part. For example check this blog’s login page.
  • TWGOK / The World God Only Knows / Kami Nomi zo Shiru Sekai is getting anime adaptation. And yes, I also agree that Jun Fukuyama would be perfect fit to be Keima’s VA. In case you’re living under rock, it’s a manga about a galge otaku given task to “capture” “runaway-spirit”-infested real-life girls. No more information currently available as of the time of this post.
  • Some more anime (sequels/new titles) announcements were made and you can check them either in moetron, ANN or Canned Dogs.
  • Latest WordPress requires more memory than ever. I can’t even upload a 1000×1000-something image because of memory exhaustion.

Working!! episode 1

I think this is the first time I see a pre-airing which has relatively good quality.

Working!! – yet another manga adaptation and yet another slice of life comedy anime animated by A-1 which did Sora no Woto in previous season. The basic is simple – it tells story about employees at a certain Family Restaurant. It goes without question that most (all?) of them are not quite normal.

Spoilers ahead.

Continue reading

Sora no Woto episode 12 (end)

Victory!!

It’s ended ;_;

Apart from lulz (fail) here and there, I think it’s overall good. Started out slowly… and kept the pace until the end. I don’t remember when they finished repair on Takemikazuchi though.

And lol @ whoever said this is K-ON! ripoff. See you later at the end of spring (hint: Angel Beats!).

Sora no Woto 11

Priceless

I’m wondering if there’s any Japanese subtitle on original broadcast… Even though it’s not really that important, it’d be annoying when most of time you don’t know what’s spoken.

Apparently it’s my first post about Sora no Woto.

And WordPress almost ate this post. I wasn’t able to upload the picture above in original resolution. It complained about exhausted memory or something.

Watch Gundams for free

If you happen to haven’t watched previous Gundam series yet, lives in US or have fast connection, check out link below to watch them for free. I don’t know about quality in YouTube and CR but ANN’s Gundam SEED actually looks decent apart from its low resolution.

I think there’s time limit on the availability so don’t miss it. Or just download the fansub/rip.

[ Watch here ]

Convert those units!

What’s the sums of 7.4 TiB, 231.33 GiB, 30191.01 MiB and 985256 KiB?

What time and date it would be (in same place) in 2 months, 6 weeks, 19 days, 2059 hours, 129 minutes and 21 seconds if it’s now 20XX-03-17 06:27:40, DST is in effect and will be ended tomorrow?

…I’ll skip on imperial units for my own sanity.

For first one, I’ll convert them all to bytes, calculate the sums and convert back to whatever unit I like. Compare that to calculating sums of them in SI prefix.

For second one… Um, anyone?

Sora no Otoshimono 2nd Season

Uh, ok. Apparently Flying Pantsu Sora no Otoshimono will have its second season sometime. At least this series still have something resembling plot…

Compare that with Koihime Musou which will have its third season. Third freaking season. Of plot-free anime.

Anyway, I just hope it’ll actually finished properly on second season since I got rather lazy (when I don’t?) to read its manga.

[ Source ]

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)