Index ¦ Archives ¦ RSS > Tag: en

bitlbee segfault fix

Estimated read time: 1 minutes

Here. I have no idea if this one will be ignored as well - since two of my reports (here and there) are already ignored.. :/

nokia free space trick

Estimated read time: 1 minutes

I hit this issue a few times, but now I took the time to Google it out. So when I download lots of music to my Nokia 3110c phone, I keeps restarting because the Nokia version of OOM killer terminates the music indexer process. Given that it's a vital process (I don't know the proper term for this), the phone is restarted. It does this sequence about 5 times, then it just switches off.

The trick is to delay indexing, if it does so a bit later after the phone boot is already done, it can succeed properly. The hack is to limit the internal memory free space, that will trigger this delay:

Now Keep ur free Phone memory space [Not the memory card's free space] between 470kb - 499kb

The style is horrible, but the info is useful, after setting free space like this, it can really handled large amount of music fine. ;)


being accepted to gsoc 2k9

Estimated read time: 1 minutes

They say so. :)

Time to unsubscribe from the git list and append #git to activity_hide_targets. ;/

A list of (AFAIK) all Hungarian students:

Istvan Szakats Kornél Lugosi Balazs Dianiska Geza Kovacs Gabor Kovesdan gabor janos pali Tamás Sallai Gergely Patai Kornél Pál Miklos Erdelyi Peter Somlo Miklos Vajna Viktor Gal.

So now we are 13, it's interesting because AFAIK we were only 6 last year, when more students were accepted in general. ;)

Update:

I missed two of them:

tom ilsinszki gergo erdosi


Rotating pdf pages

Estimated read time: 1 minutes

So I wanted to rotate each page in a pdf file clockwise using pdf2ps, pstops and ps2pdf. Actually I haven't figured out how to do so, even if I already used pstops (which is cryptic for the first time) multiple times so far.

Sure, I know ideally how to do it, but then I just got blank pages.

But pdftk seem to do it properly:

pdftk in.pdf cat 1-endE output out.pdf


lilypond list makes me a celeb

Estimated read time: 1 minutes

Here and there.

Other than that I got a pretty usable answer for my question here.

Wow, I really like the lilypond community. :)


Asciidoc source hilight for html and pdf output

Estimated read time: 1 minutes

Long time no blog, mainly because I'm pretty busy with real life.

So yesterday I got an answer on the asciidoc list about how to do C++ source hilighting that works with html and pdf output as well. The problem is that source-highlight (used for html) and docbook have a different name for this crappy language.

The solution was to do

:cpp: cpp

Which says "if docbook, then c++ otherwise cpp", and then I can just use

----
code
----

Yay!


bitlbee-skype in Debian

Estimated read time: 1 minutes

It isn't exactly there yet, but it's in their queue. :)

The m8r guy asked me to link it in the doc, but I'll wait till it's at least part of experimental (or maybe better till it's part of contrib).


asciidoc newtable bug solved

Estimated read time: 1 minutes

We hit this bug after I upgraded asciidoc on the server where we build the Frugalware documentation, luckily I just had to backport the given patch from hg and it now works fine.

I like how responsible the upstream (Stuart) is. Asciidoc is not bug-free, but as long as one provides simple reproducers, he quickly fixes bugs, yay! :)


iSCSI fun

Estimated read time: 1 minutes

So I was playing with iSCSI, and the tricky part was that I shared out a block device to a Windows one and the silly OS created a partition table on it, but the block device was an LVM LV. So it was like /dev/mapper/foo-lvol0, and of udev did not create /dev/mapper/foo-lvol0p1, so it was hard the mount.

Next example about hacking Frugalware is useful, we had this problem while generating the USB installer image as well, the trick was to mount /dev/mapper/foo-lvol0 with -o offset=32256, and this works generally as long as the partition table is an old PC one (so it's not an MS dynamic disk or anything).


Emulating an old jdk with openjdk on ppc

Estimated read time: 1 minutes

Okay, so this was a bit tricky, I was about to give it up, but then after 2 hours of RTFMing I got the solution. ;)

The goal was to emulate jdk1.3 with openjdk.

The first trick is to enable the binfmt_misc handler of qemu, as you'll need jre1.3, and the self-extractor of it is an i386 code. pacman -S qemu, service qemu start should do it.

The rest is just a Makefile, something like this.

It was tricky to figure out the right options for the postprocessor (as I was using an odbms) options as well, but that's not a so interesting problem anyway.

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