Index ¦ Archives ¦ RSS

Java plugin for x86_64

Estimated read time: 1 minutes

Tthe i686 java plugin is at /usr/lib/java/jre/plugin/i386/ns7/libjavaplugin_oji.so. Guess where is the x86_64 one.. /usr/lib/java/jre/lib/amd64/libnpjp2.so.

Logical - dear Sun -, eh?


Suspend to RAM for more than a week

Estimated read time: 1 minutes

So I went offline for skiing for about 11 days (Jan 30 06:24:13-Feb 10 00:48:09 to be exact), and I forgot that suspend to RAM works only for a few days. My normal notebook of course switched off. But interesting enough, the iBook still did not switch off, it said the battery even had 5%! :)

Yeah, I still love this HW.


Recording the audio output of flash videos

Estimated read time: 1 minutes

This is useful if you really want to record the audio of a clip, which is not on youtube (you can use youtube-dl there).

The howto explains pretty much everything.

Here are the amixer parameters I needed:

amixer cset numid=24,iface=MIXER,name='Capture Source' 5

~/.asoundrc:

pcm.copy { type plug slave { pcm hw } route_policy copy }

record commandline:

arecord -f cd -t wav -D copy foo.wav


twitter

Estimated read time: 1 minutes

Not that I'm a web2.0 maniac, but I registered on twitter.

I think the only purpose I will use it - for now - is to microblog when I'm offline for multiple days, since blogging in that case is expenseve. We'll see.


OpenOffice.org 3.0.1 vs Boost 1.37

Estimated read time: 1 minutes

So it seems OOo 3.0.1 triggers a bug in boost 1.37, hopefully this commit will fix the issue. At least the OOo build did not stop so far..

But my "law" is still true: every openoffice upgrade shows at least one problem in some other package. ;)


Successful qemu-ppc install with frugalware-current

Estimated read time: 1 minutes

Tonight I synced the 2.6.28 kernel on PPC, enabled the Realtek driver needed by Qemu and tried again: the whole installation procedure goes fine.

Of course (it couldn’t be true ;) ) the boot after the install fails, which is interesting - if boot from CD works fine, I don’t see why can’t it work from a HDD, but oh well.

I just saw a recent commit in Qemu SVN about fixing qemu-system-ppc -kernel, so I’ll give it a try later.

Ah, and the speed is really promising. I did the installation on my laptop, not on a fast machine, and a base install really completed not so slow. ;)

Update: After upgrading to svn6463, it boots with:

qemu-system-ppc -kernel boot/vmlinux-2.6.28-fw1-ppc -append "ro root=/dev/hda3" -hda ~/documents/qemu/hda.img

\o/

Update 2: Up to date install/run ppc scripts here.


libarchive vs lzma

Estimated read time: 1 minutes

So I wanted to see how is the lzma support in libarchive, since there is now a stable release having my lzma patch, but pacman-g2's make check fails with the new version, sigh.. It looks like some file descriptor leak, it does not like when we try to install 1000 packages with pacman at once.

miro vs py26

Estimated read time: 1 minutes

So we had this bugreport, just building miro against python 2.6 did not work out very well. Then I pushed a python-2.5 package, before I would realise all the miro deps would have to built against py25 as well, if I want to achieve this approach. OK, that's a no-go. Then I found the right few-liner solution in the #python@freenode logs. :)

I sent it to upstream, we'll see how will they handle it.

Oh, and I got a new patch to darcs-fast-export. A second contributor, yay! :)


irssiscripts

Estimated read time: 1 minutes

I got a reply to patches I sent one and a half year ago. ;)

My patches to anames.pl and sockter-interface.pl are now applied in f0rked's irssiscripts repo.


"clock runs way faster than necessary" bug solved

Estimated read time: 1 minutes

Heh, it took my whole day. So the solution was that I needed to disable two CONFIG setting Crazy enabled (+ I enabled KVM again, not sure if that is related or not).

And of course bisecting was totally damn unnecessary, since the bug is triggered by a given config line, not by a bad commit.

Life is good.

© Miklos Vajna. Built using Pelican. Theme by Giulio Fidente on github.