Skip to content

Maemo 5 SDK Instructions for Gentoo

Want to build packages for the N900 from Gentoo? Gwax on the Maemo forum has excellent instructions posted.

One addendum, the ebuilds are now in Portage. There’s on unresolved bug, scratchbox-toolchain-cs2007q3-glibc2_5 needs this line added:
RESTRICT="strip binchecks"

Diplomacy

This has gotten an unusual level of attention. The US media must be bored. While I certainly welcome criticism of Obama on many points, bowing isn’t one of them.

In modern Japanese culture a bow is often a greeting of mutual respect. If I were to meet with a new potential business partner, we would probably both bow at some point during the introduction. The goal is not to show either of us is less or more than the other, but that we appreciate the interaction. We are willing to work together as equals. Like business, international politics demands that you respect a variety of cultures if you wish to be taken seriously. Any other expectation is derived from arrogance.

At first glance the exchange seems unequal. Emperor Akihito does not bow in return. It is important to consider that Akihito doesn’t have to shake hands but he does so to respect our custom. This is easily missed if you’re looking at the exchange from an American perspective where shaking hands is obligatory. Obama is just showing the same kind of respect.

At least Japan gets the idea. The simple gesture of a bow may earn Obama some bad reputation in the US. It earned some good feelings in Japan. Even if the handshake/bow combo is a bit odd, why should he have not done it? What is so wrong with turning to a local custom of respect to show your own as a visiting head of state?

Nothing.

Finished Bento Vector

Continuing my vectoring attempts.

Bakemonogatari Bento Box

I added the full sequence to my earlier post. SVG source. I gave up on the flowers on the right side of the box. They’re hard to make out in the original image and even harder to vector properly.

【東方】Bad Apple!! PV

Sakatana pointed out this beautiful Touhou Nico Nico Douga video.

Marisa Kirisame Silhouette from Bad Apple!! PV


Original Nico Nico Video: 【ニコニコ動画】【東方】Bad Apple!! PV【影絵】

Amarok 2.2 – Without KDE on Gentoo

Rewrote this after the comment from Leo and some work getting my Amarok install done properly.

Amarok 1.4 has been my favorite media player for years. It rocks. In the early days it was unstable but we can forgive in development software for that.

I gave 2.0 a try in the svn head days when nothing at all worked. I tried 2.0 at release and never got audio output working. Finally 2.1 seemed to load a collection correctly but the interface was still jumpy and broken.

Here we are at 2.2. It is declared stable on amd64 in Gentoo Portage. There must be some way to make this thing work by now.

Amarok 2 Fail

That’s what it looks like if you emerge amarok without any other KDE components. Kind of broken. CPU usage is high and it looks ugly and confusing. On the up side, first run of the player went more smoothly and required less in-app configuration than 1.4. Audio painlessly worked.

To fix the styling problems for the most part on Gentoo for those without all of KDE4 installed you need kde-base/kstyles. That gets you the Oxygen theme. You may also want kde-base/systemsettings as this will let you configure and change KDE themes.

amarok2-oxygen

Much nicer.

Removing the Wikipedia and Lyrics widgets seems to help the lag. The Wikipedia one was spawning off new loading spinners and stacking them up.

Next problem is global shortcuts won’t work if you don’t install the KDE Global Shortcut daemon. emerge kde-base/kglobalaccel then run kglobalaccel.

There’s still some problems. The Album Cover Manager hangs the whole player for about a minute with my collection. Once open the count doesn’t match up with the icons displayed and closing it hangs for another ten seconds. CPU usage is in general higher than Amarok 1.4.

With some more configuration you can get something like this (or however else you like) to get a more 1.4 feel.

amarok2-reconfigured

HTML5 Hello World

<!DOCTYPE html>
<title>Hello World</title>
<p>Hello world!</p>

This is valid HTML5. Mind blowing if you are the type who was writing XHTML Strict just a few short years ago (like me). Here’s the same in XHTML 1.0.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head><title>Hello World</title></head>
<body>
<p>Hello world!</p>
</body>
</html>

There is a big improvement going to HTML5. The short doctype is even backwards compatible but you might want to use <head> and <body> to keep browsers happy.

Downtown Portland

I caught this lucky shot accidentally while trying to take a picture of the wind turbines on top of this building.

Windy Silhouette

That was on a walk between the MAX and the ever delectable Thai Peacock on SW Ninth Ave. Everything I’ve tasted there is delicious and the location is nice too. It’s just a few blocks from MAX or the Streetcar. I had the Pad See Ew. Most of the time Pad See Ew is sort of just shoyu flavored but Thai Peacock’s is a nice mixture of soy sauce and several other tasty flavors. I should have taken more shots of the inside but I’ve been shying away from indoor photography without a faster lens.

Orenji

They have the most resplendent orange chopsticks! It’s as though someone carved each one from a garnet yam and lacquered the resulting orangeness.

Thai Peacock Chandelier

An elegant sort of chandelier too.

Hexadecatuple Computing

Sadly, the sixteen boot penguins get cut off because the Nvidia GPU installed doesn’t have kernel mode setting.

Sixteen Cores of sweet, sweet, Opteron

Hexadecatuple core probably won’t enter the vernacular but nothing else runs Ubuntu 9.10 quite like sixteen cores of sweet, sweet, Opteron.

I put this hardware together as a VM platform for running large numbers of KVM systems. It’s 32GB of RAM, four AMD Opteron 8354 CPUs, and not much else. The idea was to pair it with some Intel X25-M SSDs and find out how many VMs one “desktop” computer could run.

Here’s a little benchmark of kernel compiles on it. The number of make processes doubles with each test. I downloaded the 2.6.32_rc4 source and did ‘make -j128; make clean’ before the first posted number. The disk used is an OCZ Solid 30GB SSD. Yes, there is less total disk space than RAM.

make -j1

The baseline of make -j1 – 14 minutes! Memory usage is completely flat, a kernel compile can barely dent 32GB.

make -j64

At make -j64 the number of simultaneous compiles means that the Ubuntu system monitor doesn’t get scheduled often enough to sample correctly. This compresses the graph making the time scale useless.


64 make processes seems to be the optimal number, but the difference in time after 32 processes is so small that it’s hard to say that any particular number is faster.

I ran out of time to actually test KVM. In general use Ubuntu is massively quick on 16-cores. Many applications are single threaded but they interact with services and kernel drivers that run on other cores. If only my laptop could be this fast.

Four sockets

Parts List

In case you wish to play along at home.

  • 1 x TYAN S4980G2NR Thunder n3600QE Motherboard
  • 4 x AMD Opteron 8354 CPUs
  • 4 x Socket AM2/F heatsinks
  • 16 x Kingston 2GB 240-Pin DDR2 SDRAM ECC Registered DDR2 667 (PC2 5300) Server Memory Model KVR667D2D8P5/2G
  • 1 x PC Power & Cooling 750 watt power supply (single rail)
  • 1 x 8-pin ATX extension cable
  • 1 x 24-pin ATX extension cable
  • 1 x COOLER MASTER COSMOS 1000
  • 1 x Tyan M3291 IPMI card (optional but fun!)
  • Your choice of SSDs and hard drives

For workstation or gaming use, add these:

  • 1 x ZOTAC ZT-98GES4P-FDL GeForce 9800 GT 512MB
  • 1 x USB sound card

Build Notes

I tried Unregistered ECC first but it doesn’t work. The system destroyed several budget power supplies (even those rated around 1000 watts) but ran pretty well on both the PC P&C 750W or an Enermax 600W. Go for the 750W if you want to install drives.

Installing Ubuntu 9.10 doesn’t need any fancy tricks. Just boot the installer and click through it.

Dance in the Vampire Bund

The anemic Fall 2009 season leave me eagerly looking forward to Winter.
dance-in-the-vampire-bund
Immortal vampire girl and her werewolf guardian reveal the existence of vampires to the world by paying off Japan’s national debt.

More vampirism from SHAFT director Akiyuki Shinbou (新房 昭之). It’s hard to overstate the delightful interplay of characters and surreal visual work in Bakemonogatari. It leaves you lusting for more. I expect a Koyomi Vamp continuation of Bakemonogatari sooner than later. In the mean time SHAFT is doing this and more Hidamari Sketch. Of course there’s also the webcast of the Tsubasa Cat conclusion.

Given the plot is loli-vampire x werewolf political intrigue action, I think this one might go more Maria†Holic than Bakemonogatari quality; full of fan service landmines, SHAFTisms, and train-wreck plot.

Speaking of Anonymous…

Scientology protest

Always nice to see a few Guy Fawkes masks across the street from a Church of Scientology.