Josef “Jeff” Sipek

November 28, 2009

CJK

Filed under: rants — JeffPC @ 23:42

During an experiment, I needed to install Fedora 12. I made a few mistakes:

  1. I went with the netinstall. Unlike Debian's netinstall, Fedora's is very slow.
  2. The installer was a bit sliggish under KVM, and so I accidentally clicked though the window that let me unselect Gnome. So it's installing the whole shebang.
  3. For whatever reason, it is installing CJK fonts. I do not speak either of those languages, and therefore they are useless to me. Furthermore, I've been told that something in the neighborhood of 20% of Fedora users make use of CJK. That just sounds wrong. Why install a package by default that only 20% of your userbase will benefit from? Aren't there more useful packages?

November 15, 2009

Flash

Filed under: rants — JeffPC @ 18:15

Dear Flash,

You Suck.

Sincerely,

Josef 'Jeff' Sipek.

P.S. do I really have to justify this?

November 10, 2009

z/VOS - running x86 code on z

Filed under: programming programming/mainframes — JeffPC @ 02:42

Earlier this year, I heard of a company that tried to make a product out of dynamic binary translation of x86 code to z/Architecture. Recently, I decided to look at what they do.

The company is called Mantissa Corporation, and their binary translation product is called z/VOS.

Much like VMWARE, they cache the translated code, in z/VOS's case it's really a must otherwise I'd guess the cost of traslation would make the result unusable. I like how they used VNC (see the demo mentioned below) to give the virtual x86 box a display.

There is an official blog that has some interesting bits of information. For example, they hint at how they use multiple address spaces to give a the x86 code the illusion of virtual memory. I am not quite sure why they list Decimal Floating Point facility as a requirement. Unfortunately, it has been a few months since the last update.

Their website also happens to have a demo of a small x86 assembly operating system starting up and running under z/VOS. I find this fascinating.

November 10, 2009

Firefox

Filed under: open-source rants — JeffPC @ 02:24

Dear Firefox,

You Suck.

Sincerely,

Josef 'Jeff' Sipek.

P.S. xulrunner-stub using 4% CPU when the window is not visible and 36% when re-rendering parts of the page is a bit too excessive.

October 22, 2009

Linus & Windows 7

Filed under: open-source random — JeffPC @ 21:20

You might have already seen this image, but in case you haven't...

Linus + Windows 7

Microsoft tried to torpedo the success of the Japan Linux Symposium by launching their Windows 7 product that same day. They even had setup a big promotion booth across the street from the conference center.

During a break, we decided to make some fun of Microsoft and dragged Linus over there. When we arrived there, Linus was sold immediately on the product as you can see in the picture. At least that's what the sales guy thought. He obviously had no idea who he was dealing with. But in the end Linus surprisingly did not buy a copy. Wise man!

October 22, 2009

Stargate Universe

Filed under: stargate stargate/universe — JeffPC @ 00:06

Few weeks ago, a new Stargate show started airing: Stargate Universe.

So far, I'm undecided about it. Even though there were 4 episodes so far, nothing really happened. The plot so far: a bunch of people get stuck on a ship in the middle of nowhere with no hope of ever getting home. They didn't encounter any aliens, visited only a single planet, and spend a whole lot of time exploring & saving the ship they're on.

I hope it'll get better soon.

Stargate Universe

October 15, 2009

Your Race Affects Whether People Write You Back

Filed under: random — JeffPC @ 23:34

I commented a month ago about some statistics that OkCupid has done. And they have done it again!

This time, they looked at how your race affects whether people write you back.

October 4, 2009

Spock

Filed under: star-trek star-trek/tos — JeffPC @ 18:11

Spock

October 1, 2009

TurboHercules

Filed under: legal open-source programming/mainframes — JeffPC @ 21:55

Few days ago, a new company was created: TurboHercules.

As the name implies, they package up Hercules (an IBM mainframe emulator), and provide support for it. They are targetting the platform as a disaster recovery solution.

It shouldn't directly affect the open source project in a negative way (just like Red Hat cannot prevent people from continuing their work on the Linux Kernel). At the same time, it'll change the way people look at Hercules.

September 24, 2009

PAPI - Getting at Hardware Performance Counters

Filed under: citi documentation programming — JeffPC @ 23:45

Recently, I wanted to figure out whether or not an application I was analyzing was memory bound or not. While on this quest, I was introduced to Performance Application Programming Interface (PAPI).

There is a rather good HOWTO that shows step-by-step instructions on getting it all running on Debian. The text below is more or less just a short version of that HOWTO, with my thoughts interspersed.

PAPI is a library that hooks into the hardware performance counters, and presents them in a uniform way. Installation is rather simple if you pay attention to the installation instructions.

  1. Get the kernel source
  2. Get the perfctr tarball
  3. Extract the sources, and run the update-kernel script. I really mean this, if you try to be clever and apply the patch by hand, you'll have a broken source tree. (The script runs patch to fixup some existing kernel files, and then it copies a whole bunch of other files into kernel tree.)
  4. Configure, build, install, and reboot into the new kernel
  5. You can modprobe perfctr and see spew in dmesg

That's it for perfctr. Now PAPI itself...

  1. Get & extract the source
  2. ./configure, make, make fulltest, make install-all

That's it for PAPI. The make fulltest will run the tests. Chances are that they will all either pass or all fail. If they fail, then something is wrong (probably with perfctr). If they pass, then you are all set.

There are some examples in the src/examples directory. Those should get you started with using PAPI. It takes about 100 lines of C to get an arbitrary counter going.

Some other time, I'll talk more about PAPI, and how I used it in my experiments.

Powered by a pile of c