Friday, December 3, 2010

KDE 4.5.4 for Solaris 11

Hey, a couple of hours after the official release we published the binary packages of KDE 4.5.4 built on S11 Express.
A dedicated person might be able to fit them to OpenIndiana as well, but it'll be non trivial task. OTOH they should build just fine from the sources.

No screenshot today as I did not have the time to install them.

Friday, November 26, 2010

KDE 4.6 beta1 for Solaris

A few hours ago, KDE 4.6.beta1 was released. The kde4-solaris project was among the first to provide binary packages, you can get them from the kde4-solaris IPS repository. The packages were built on Solaris 11 Express, I'd expect them to be installable on OpenIndiana as well. Check [ade]'s blog for more.

Update: It looks like pkgbuild is adding the build number of the build machine into the dependencies. This blocks install on OI, as the dependency cannot be met then. We're working on a solution.

Sunday, October 17, 2010


I'd never say this is possible, but it happened today. The local elections are over now and Klidné město, the non-political union of people fed up by current state of affairs in Říčany, now owns 10 posts out of 21! We gained almost 40 % of the votes! Unless the remaining 5 parties show extreme disgrace towards the will of the general public, we're going to have the mayor too.
Heck, even our last candidate got by far more votes than any other party's candidate.

Now the hard work starts!

(I'm not a candidate, just a regular member of the party, sometimes unhappy with the affairs (google me))

Friday, October 15, 2010

Pirate attack

The elections are quickly approaching and one cannot make a step without being attacked by political party ads or promoters.

Yesterday I was attacked by the pirate party's chief himself:

Sunday, October 10, 2010

KDE 4.5.2 for OpenSolaris & friends

Thanks to Adriaan who did all the work, the KDE 4.5.2 binary packages for OpenSolaris and other compatible systems are available.
The repo now uses a Linux port of depotd, no VirtualBox involved, so once again the downloads should be smooth. (thanks to Adriaan, again)

The repo:
The announcement:
The upstream announcement:

pathetic google

This Monday (Oct 4) I found in my mailbox a letter from Google. They sent me an AdWords voucher for 1000 CZK (~50$). How nice. But there is a little catch.
The voucher is only worth 750 CZK if used after September 30 ...

Wednesday, October 6, 2010

Train delay

This morning my train was delayed by about 30 minutes because the train ahead of us ran over some stupid guy at Horní Měcholupy. People tend to cross the rails there as going around adds about 200 meters to the 20 meters distance to the bus station. I do it myself too.

On the photo below you can see a stream of water  used by the firemen to clean up the mess.

Tuesday, October 5, 2010


Thanks to I learned about a nice promo action at TI. The EKB-UCOS3-EVM - Stellaris Robotic Evaluation Board is a nice toy featuring MicroSD slot, USB host and device connectors, I2C audio with a speaker, ethernet connector (!), 96×6 OLED display, a pair of motors, optosensors and bump detectors, all driven by the LM3S9B92 microcontroller.
This uC is ARM Cortex M3 operating at up to 80 MHz, with 256 kB flash, 96 kB SRAM, a 32-ch DMA, and lots of other shortcuts. It comes with a proprietary RTOS preloaded but the chip is capable of going the opensource way too.

All that for $25 including shipping. Sounded too good to be true, but I ordered nevertheless :-)

Friday, September 24, 2010

Bycicle day in Říčany

Few days ago I got a replacement for my stolen bike. Although not as new and shiny :-), I was able to join the rest of my family and together with another 30 people take part in the annual bycicle day in Říčany. The two policemen accompanying us on their bycicles were kind enough to stop the traffic at some of the busier streets so we did not have to worry too much about the kids.

The organizer, Ekocentrum Říčany, has a bunch of photos from the event on their website.

Tuesday, September 21, 2010


Were you wondering what happened to the non-reusable parts of the deceased Epson Stylus Color 580 printer?

They were reused. Sort of.

Behold, the printformer!

(the half-functional LED torch wasn't part of the printer, we found it on the sidewalk one day)

Thursday, September 16, 2010

KDE4 on OpenIndiana

OpenIndiana, the spork of OpenSolaris just released the first iso images, so I grabbed one and gave it a go inside VirtualBox.
It booted just fine so I added the KDE4 publisher and tried to pkg install KDEgdm-integration - the basic KDE desktop...

... and it went just fine. There were many dependencies that were downloaded from during the process. I haven't really investigated whether it's because the OI team hasn't sporked them yet or if there was some other problem.

After a logout I was able to login to a KDE 4.5.1 session and it did not feel much different from one in OpenSolaris.

Thursday, September 9, 2010

Mandriva is dying

Over the past few days I've seen too many "I'm leaving" messages on the Cooker mailing list. salem, caio, olavo, blino, dams, teuf, helio, arthur, boiko, fcrozat, pterjan and now neoclust. As Fabrice Facorat put it:

- install team : empty
- kde team : empty
- gnome team : nearly
- mandriva tools : ??? cut at least by half

Sorry, except if Mandriva is just willing to be a repackaging distro,
Mandriva as a true distro is dead !

It's quite sad to see the best KDE distro vanishing ...

UPDATE: See bug #60936 - Too many people leaving. In comment #11 there's a statement from the management. But I'm quite sceptical, really. You cannot restart a distro without the people...

Sunday, September 5, 2010

Bike stolen

I had my bike stolen about two weeks ago.
May the thief burn in a lake of lava or, alternatively, end up behind this door of Říčany's police station:

I spent about three hours waiting next to that door before I could make a statement about the hyenous crime. The police is definitely not the most efficient part of the country.

Treasure hunt in Voděrádky

While returning from the local market with some vegetables, cheese and sausages, we noticed a notice promoting an event in a nearby village.
Since we did not have any fixed plans for the afternoon and because I realized we haven't really visited Voděrádky since we moved, there was nothing to think about.
It turned out to be the classical fairytale-popculture-quiz. There were about fifteen standpoints where local grownups and teenagers dressed as fairytale characters were giving questions or asked us to perform something based on popular czech fairytales before we could move on to another standpoint.

We do not have a TV so some of it was quite difficult :-) Joining another group really helped us to get through.

This is the last stage. The tent on the left contained  the treasure, while the rightmost one contained tombola prizes. We were lucky enough to win a musical toy for the little sister there.
The end. 50 minutes to walk back home.

Tuesday, August 31, 2010

Argiope bruennichi

We met this beautiful spider at the Votočnice meadow near Sázava. Although it looks dangerous it is harmless. It used to live around the mediterranean but it's spreading rapidly throughout the world.

Monday, August 16, 2010

KDE 4.5.0 & Korona for OpenSolaris

The latest and greatest stable release of KDE4 is again available as IPS binary packages at the usual place (and the usual mirror in case you hit problems downloading).
Since 4.4.5, many improvements were done in terms of packaging correctness (dependencies, linking), thanks to hnhn's adaptation of alanc's check-deps script.
Also Qt was updated to 4.6.3, Amarok to 2.3.1, Koffice to 2.2.1, as well as few other KDE dependencies.
Last but not least, kdel10n-* packages are present, providing support for 55 languages.
The upstream changes are best described in the KDE 4.5.0 announcement.

The showcase of the kde-solaris project, Korona 4.5.0, combining the powers of the late OpenSolaris b134 and KDE 4.5.0 has just been uploaded and should become available in a few hours at As a small improvement, the nepomuk stuff is disabled there and akonadi appetite has been minimized. I had to do this otherwise desktop metadata would fill the $HOME, which lead to crashes. (Note that konversation was unintentionally ommited from the live cd, sorry.)

Friday, August 6, 2010

A day in Náměšť

We visited Náměšť nad Oslavou as there was a folk music festival with many collateral activities suitable for children.

Among other things we also visited the hydroelectric power at the nearby Dalešická přehrada. It's run by the sponsor of the festival, the monopolistic ČEZ, often accused of influencing politics in this country. Unfortunately for us, the guide spent too much time explaining us what political parties are wrong for the country (and therefore for ČEZ), so we had to skip the most interesting bottom levels of the plant in order to not miss the boat ride.

Finally, at the end of the day, we came across this neat waste-water treatment plant of Náměšť:

Monday, August 2, 2010

KDE 4.5 RC3

the binary packages of KDE 4.5 RC3 are available at
Originally I did not want to publish them, because I wasn't able to even log in, but then I figured out it was because of some Qt optimizations recently put back. With the older Qt build all works just fine, so here you are:

Monday, July 12, 2010

Sunday, July 11, 2010

KDE 4.5 RC2 on OpenSolaris

Just some screenshots:
It feels much much snappier than KDE 4.4.5, perhaps because it's running on Qt 4.6.3, but the dbus issue is still present.

Saturday, July 10, 2010

Epson Stylus Color 580

Would you expect an inkjet printer that spent 8 years unplugged in a shelf to just work?
Yeah, correct, no way.

I seemed to work correctly, with the minor detail that there was nothing printed on the paper. I put in a replacement black ink cartridge, but there was change, even after running several head cleaning routines. Suspecting clogged nozzles, I followed the guide at,
 and even blown air through the ink needles,
but it did not help either.

Finally, in the hope Epson keeps some secrets for their repairmen, I downloaded the Epson Service Manual
and, after getting used to previously unseen levels of English, went through the Troubleshooting section. I verified the nozzles aren't clogged, there are no airlocks, and ink is passing just fine.
So there remains a bug in the print head itself or the motherboard. For both cases the Manual suggests replacing them with spare parts :-(

I'll disassemble the printer and scavenge reusable parts, like the stepper motors and PSU.
So long, Epson, and thanks for all the fish!

Running two IPS servers on the same machine

We have an IPS server providing the KDE packages for OpenSolaris. There are bits for the stable releases, but as KDE 4.5 is approaching, I'd like to have the pre-release stuff available as well and to keep it separate. So I need to run two servers.

Somehow I thought this could be a bit complicated, but it's indeed dead simple.

First, export the configuration of the existing server:
$ svccfg export svc:/application/pkg/server > pkg.xml

Modify to suit your needs:
$ diff -u pkg.xml.orig pkg.xml
--- pkg.xml.orig 2010-07-10 01:31:21.520139723 +0200
+++ pkg.xml 2010-07-10 01:32:29.530018365 +0200
@@ -1,7 +1,7 @@
<?xml version='1.0'?>
<!DOCTYPE service_bundle SYSTEM '/usr/share/lib/xml/dtd/service_bundle.dtd.1'>
<service_bundle type='manifest' name='export'>
- <service name='application/pkg/server' type='service' version='0'>
+ <service name='application/pkg/server-devel' type='service' version='0'>
<create_default_instance enabled='true'/>
<dependency name='fs' grouping='require_all' restart_on='none' type='service'>
<service_fmri value='svc:/system/filesystem/local'/>
@@ -38,8 +38,8 @@
<propval name='ssl_key_file' type='astring' value='none'/>
<propval name='threads' type='count' value='10'/>
<propval name='writable_root' type='astring' value=''/>
- <propval name='port' type='count' value='10000'/>
- <propval name='inst_root' type='astring' value='/export/home/test/repo'/>
+ <propval name='port' type='count' value='10001'/>
+ <propval name='inst_root' type='astring' value='/export/home/test/repo-devel'/>
<property_group name='pkg_secure' type='application'>
<property name='read_authorization' type='astring'/>

And import the new service:

$ pfexec svccfg import pkg.xml

Is it there? Yes it is:

$ svcs -a|grep pkg/server
online Jul_08 svc:/application/pkg/server:default
online 1:40:43 svc:/application/pkg/server-devel:default

Now I only need to initialize it:

pkgsend -s file:/export/home/test/repo-devel create-repository --set-property \
publisher.prefix=kdeips-dev-devel --set-property publisher.alias=kdeips-dev-devel

And I can start publishing into it!

So where are the fresh packages, may you ask? Being uploaded, stay tuned!

Thursday, July 8, 2010

KDE 4.4.5 packages & Korona 4.4.5

KDE 4.4.5 packages for OpenSolaris are available. The primary mirror is known for dropping connections when download speed reaches ~100kB/s, so you might consider using the alternate mirror

As concerns changes from 4.4.4, there's nothing at all on the Solaris side, only the upstream changelog applies (a bunch of bug fixes).

Korona 4.4.5 is being uploaded to - there are also no Solaris specific changes since Korona 4.4.3 (Korona skipped 4.4.4, as I was struggling with a bug in distro-constructor), apart from the KDE update also the following packages were bumped: amarok, boost, icu4c, konversation, libassuan, qimageblitz, qtcreator.

Several applications are starting and sometimes running slowly, most notably konqueror, this seems to be related to dbus - patches welcome.

Wednesday, July 7, 2010

HowTo switch from Cooker to Mandriva 2010 Spring

The release of Mandriva Linux 2010.1 is just behind the corner. I switched from MDV 2010 to Cooker (the development branch) a month ago, since it was already quite stable.
But as soon as 2010.1 is released, Cooker will reopen and become unstable again. So I'll have to return to the stable branch again.
How to do that? Fortunately other people asked that question, and here's the digest:

Once 2010.1 is official, open your Mandriva Control Center > 'Configure media sources...' and remove all from the list.
Then go to and add media '2010.1'. It'll generate a script that handles it all*. It might take zarb a few days before 2010.1 is listed there.

Due to bug #39975 you'll have to run:
urpmi.update -a --force-key
to avoid invalid signing key errors after the rpms are resigned with stable keys.

*or in the command line simply:
urpmi.addmedia --distrib --mirrorlist ''
for x86 or:
urpmi.addmedia --distrib --mirrorlist ''
for x64

HowTo merge two IPS repositories

I wanted to merge a repository with KDE 4.4.4 packages with another one with KDE 4.4.5. First I went through the pkgsend/pkgrecv man pages but only succeeded in the pkgrecv part (pkgsend just stalled without any hint on what's going on). Then I asked at the #opensolaris IRC channel and it turned out to be really simple:
$ export TMPDIR=/var/tmp
$ pkgrecv \
-s file:///export/home/pkgserv/repo445/export/home/test/repo \
-d file:///export/home/pkgserv/repo 'pkg:/*'
Setting TMPDIR properly is quite important, because pkgrecv by default caches the files in /tmp, which is practically your RAM and the repo has ~1.6 GB ...
/export/home/pkgserv/repo445/export/home/test/repo is a directory containing repository with KDE 4.4.5
/export/home/pkgserv/repo contained KDE 4.4.4 and now contains both

Friday, June 18, 2010

Mining aluminium - we're the champions

Our kindergarten participates in the 'Těžíme hliník' (Mining aluminium) competition. This year we're the best in the town.

The goal is to put aside any aluminium waste and deliver it separately. It's organized entirely by volunteers and any money made come directly to the participating organizations. Which is around 5000 Kč (200 €) this year.

Last year our family had some leftovers from the cellar, but this year we were completely dependant on yoghurt lids and a couple of beer cans donated by friends, so I doubt we made more than ~1 kg. Apparently the other kids more than compendsated for it and the average was 2.4 kg per kid.


Saturday, June 12, 2010

Upgrading Mandriva to Cooker

I was needing some fresher system libraries and since the release of the next stable Mandriva Linux will be in just a few days, switching to Cooker (the development branch of Mandriva) was the easier option.
Here are the steps to switch Mandriva Linux to Cooker, taken from the Mandriva wiki:
  1. First, remove media for the stable release : urpmi.removemedia -a
  2. Add the required media for Cooker : urpmi.addmedia --distrib --mirrorlist '$ARCH.list'
  3. Update all installed packages : urpmi --auto-update
I had to repeat the 3rd step several times, partly due to lagging mirrors. 

So far, I haven't noticed a bug, it seems 2010.1 will be one of the best releases ever.

    Thursday, June 10, 2010

    Contact lens

    Today I went to my ocularist to give contact lens a try. I am wearing glasses for 25 years already and never tried lens before, so it was a brand new experience to be able to see sharply with a full field of vision and nothing on my nose. I'll have one test round before deciding if this is what I want, but so far, so good.

    Oracle Solaris Studio Express 6/10

    Couple of days ago the beta version of the SunOracle compiler was released. I'd swear it did not list OpenSolaris as a supported plaform five days ago, but now the download page, as well as the Customer Feedback mail I just received say: "will be available for OpenSolaris in the near future". I'd say it's a good news for OpenSolaris (where the long silence regarding its future is making many people nervous) and Studio as well.

    I did install the tarball version successfully on b134 and was able to compile cmake 2.8.1 without a glitch.
    With the rest of the kde4 workspace I unfortunately hit a bug, so in case we start using it, we'll have to use a wrapper for the CC command to sort the options. I developed something like that a couple of months ago, but never got as far as to commiting it to the workspace.

    Thursday, June 3, 2010

    KDE 4.4.4 for OpenSolaris

    I've just published binary packages of KDE 4.4.4 for OpenSolaris. We did not need to modify any of the 4.4.3 patches, so it went pretty smoothly. A bunch of other packages were bumped along the way, most notably Amarok, Konversation and QtCreator. More details in the forum.

    No screenshot today, I did not even try to install it. Lets hope it ain't borked.

    mBank, the no-fees bank, starts charging $$

    Hey, it's been two weeks since I created an account at mBank, the bank with a no-fees image, two days since I activated their credit card ... and now they're announcing a change in the pricelist. This includes a wild web of confusing rules and fees so I need to double check if it's still worth it. Thanks to my laziness I haven't moved anything yet, so I'm still quite flexible.

    Tuesday, June 1, 2010

    Kooky returns - slightly overestimated

    We went to see Kooky in the cinema yesterday and, to be honest, I expected more.
    There weren't many things that I haven't already seen in the trailer. Also too much time is spent on car chases, I'd prefer to explore the facinating world of the "little gods" instead. And the last 10 minutes of the movie should've been cut off without mercy.
    Last but not least, Jan Svěrak shouldn't really make the movie as family business. The kid is played by his son is so expressionless and von Hergot is inconvincibly narrated by his father. ...

    Friday, May 28, 2010

    Today is the election day here in the Czech Republic. Before giving your vote, do not only consider the promises, but check how the parties represented your own interests in the past!
    At you can try voting for a set of laws and the site will then show you which of the parties matches you the best - based on real voting in the parliament.

    Sunday, May 23, 2010

    Korona 4.4.3

    Korona is the live DVD combining KDE4 and OpenSolaris. I just uploaded the latest Korona 4.4.3 (with, eh, KDE 4.4.3) to, it should appear there in a couple of hours.
    Thanks to hnhn, the process list and other system info now work in ksysguard (
    Also, Korona is booting directly into a KDE session again.

    When running the iso inside VirtualBox, I was observing high CPU utilization by the kernel, this is likely related to bug 12799; it runs ok on real hardware.

    Also konqueror crashes on startup, which is weird as noone of those running KDE 4.4.3 from the bionicmutton repository has reported that.

    Last note - the site (hosting the kde-solaris packages and mercurial repository) is down due to some severe hardware failures, please be patient.

    Saturday, May 22, 2010

    The hell's getting colder

    After all those years when pkg, the OpenSolaris packaging system, was solely network-oriented, the on-disk format is coming.

    For those uninitiated to OpenSolaris intricacies - so far, when someone creates software for OpenSolaris and wants to distribute it, he has to either run his own install server (!) or provide the package in the legacy SVR4 format.

    Would you like your software to be mirrored by other people? Good luck trying to convince them to run the pkg server. 

    Same goes for people running OpenSolaris in their internal networks - you want to update them but don't have access to the Internet? Run your own server! It takes several months to have a new network service approved? Bad luck, man ...

    All this is soon to become the ugly but distant past. Check out the ON-DISK FORMAT PROPOSAL

    Tuesday, May 18, 2010

    God bye, Česká Spořitelna!

    I just created an account in mBank. I'll be transferring our regular payments from Česká Spořitelna over the course of the next few weeks. The goal is to save around 1000 CZK (40 €) annually on fees and give the stagnant banking market in the Czech Republic yet another impulse towards competitiveness.

    I'll have to keep the Česká Spořitelna account for some time, it's part of the mortgage deal, but reducing it as much as possible cannot hurt.

    Saturday, May 15, 2010

    Community compost & Extreme parkour freerun chalenge ve Skate parku v Říčanech

    Today was the Open Day of the new elementary school in Říčany (extremely bad web design btw, let's hope they improve it). We spent there about two hours, exploring the classrooms, watching the dancers and jumping in the Bouncy castle. It's a shame the school is about 30 minutes walk from our home, a bit too much for a first-grader IMO. But let's not make quick conclusions and wait for the first users' rating. After all, fresh teachers can make a big difference.

    Then we headed north-west to see some of the Extreme parkour freerun chalenge. On the way there we discovered a community compost hidden in the shrubs near a playground, serving the nearby block of flats:
    Note the labels with detailed instructions. Cool!

    I liked the parkour stuff. It looked like the kids were organizing a big part of it themselves and it went quite smoothly.

    There's a lot of kids doing parkour/freerun in our surroundings (or they are easier to spot :-) and it seems Mik likes it as well :-)
    The ramp in the Skate park has been closed for some time due to some noise complaints by the neighbours. I'm not sure if the neigbours are happier with the anti-noise walls now ...

    Monday, May 10, 2010

    What is the motherboard model? In Solaris ...

    So that I don't forget:

    to find out the motherboard model in Solaris, use the


    # smbios
    2     59   SMB_TYPE_BASEBOARD (base board)
      Manufacturer: ASUSTeK Computer Inc.
      Product: P4C800                    
      Version: Rev 1.xx                  
      Serial Number: MB-1234567890 

    A bad surprise

    This was really an unpleasant surprise for the little swallow who started to build it's nest on our balcony. We let them have it the last year but the rubbish was too much to let them repeat it.
    Sorry little fellow, please find another place.

    Monday, May 3, 2010

    Beer explosion

    How long does it take for a can of beer in a freezer to explode?
    According to my unintentional experiment it's about 10 hours.
    The blast was strong enough to open the fridge door and it broke a part of the transparent lid.

    Wednesday, April 28, 2010

    WTF is dbusmenu-qt ?

    Since two days ago, kdelibs started requiring something called DBusMenuQt and the nightly builds were failing with

    -- The following REQUIRED packages could NOT be located on your system.
    -- You must install these packages before continuing.
       * DBusMenuQt  <git clone="" dbusmenu-qt.git="" dbusmenu="" git:="""">
         API to import export QMenu instance using DBusMenu protocol
         dbusmenu-qt is a standalone library providing a way to import and export QMenu instances using the DBusMenu protocol.
    I googled a bit, but did not find anything apart from some mentions in the sources of various projects. In the end asked at the kde-buildsystem mailing list and got a pointer to libdbusmenu-qt homepage (sort-of). So, if you're not really into checking out random revisions from repositories, the regular releases of libdbusmenu-qt are available at

     I added it to the kde-solaris project repository as well. It builds relatively smoothly, only requiring one patch for avoiding the __PRETTY_FUNCTION__ gcc extension.

    Tuesday, April 27, 2010

    The statue of the pioneer gets more contemporary

    The statue of the pioneer/builder of communism, a remnant of the distant age, overlooking the gigantic shopping mall Centrum Chodov, already provides a slightly bizarre view, but yesterday it moved to the area of contemporary art:

    (the shopping cart's gone now, so it was perhaps a 'temporary art' experience)

    Thursday, April 22, 2010

    DBD::mysql - Do you need to predeclare BAIL_OUT?

    I was installing DBD::mysql from CPAN on a Solaris 10 8/07 Sparc today.
    The install command failed with the infamous

    Running make test                                                                                                                            
    PERL_DL_NONLAZY=1 /usr/perl5/5.8.4/bin/perl "-MExtUtils::Command::MM" "-e" "test_harness(0, 'blib/lib', 'blib/arch')" t/*.t                  
    t/00base....................String found where operator expected at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI""                 
            (Do you need to predeclare BAIL_OUT?)                                                                                                
    String found where operator expected at t/00base.t line 21, near "BAIL_OUT "Unable to load DBD::mysql""                                      
            (Do you need to predeclare BAIL_OUT?)                                                                                                
    syntax error at t/00base.t line 20, near "BAIL_OUT "Unable to load DBI""                                                                     
    syntax error at t/00base.t line 21, near "BAIL_OUT "Unable to load DBD::mysql""                                                              
    BEGIN not safe after errors--compilation aborted at t/00base.t line 22.                                                                      
    # Looks like your test died before it could output anything.                                                                                 
            Test returned status 2 (wstat 512, 0x200)                                                                                            
    DIED. FAILED tests 1-6                                                                                                                       
            Failed 6/6 tests, 0.00% okay

    Googling for help revealed tons of people with the same problem and the lucky ones who resolved it did so by giving up CPAN and installing from rpm/whatever else.

    I finaly found answer here, or rather here.

    The Test module was outdated ... so to solve it:

    cpan> install Test::Simple 
    isn't it simple?

    But that was not the end. The next issue was:

    #   Failed test 'use DBD::mysql;'
    #   at t/00base.t line 21.
    t/00base....................NOK 2#     Tried to use 'DBD::mysql'.
    #     Error:  Can't load '/.cpan/build/DBD-mysql-4.014/blib/arch/auto/DBD/mysql/' for module DBD::mysql: perl: fatal: relocation error: file /.cpan/build/DBD-mysql-4.014/blib/arch/auto/DBD/mysql/ symbol mysql_real_escape_string: referenced symbol not found at /usr/perl5/5.8.4/lib/sun4-solaris-64int/ line 230.

    I guess this is due to the fact mysql is 64 bit while perl is 32 bit. Let me investigate later.

    Wednesday, April 21, 2010

    KDE dashboard now documented

    A number of KDE developers, including the KDE-Solaris team are running a nightly build of the SVN KDE4 to detect breakages early.

    There's a nice dashboard collecting the results at, where you can also subscribe to modules of interest and be notified when they break. It's also a useful source of links when filing bugs :-)

    So far the dashboard wasn't really advertised, but today Alexander Neundorf unveiled a very descriptive Dashboard builds HowTo, that will make you up and running pretty fast, should you decide to help KDE4.

    Saturday, April 17, 2010

    Stealing from the ZOO with opencard

    Today we visited the Prague ZOO (BTW 7th best ZOO in the world, according to the Forbes magazine) and while buying the tickets I noticed a sign saying something in the lines of "It's really worth having an Opencard". I asked what that means and was told a holder of Opencard has a 5% discount.

    Opencard is really something special. It's a chip card with RFID that serves as public transport pass, metropolitan library pass and something with parking.
    Not mentioning the obvious privacy issues, the problem is the project was extremely overpriced and Opencard is a synonym for corruption in the czech media now.
    Not only this, the project is not really successful and the only reason it's not a complete failure is because they raised the public transport prices for people not using the card, so people like me just got it to save some cash.

    The municipality, facing both public and political (elections are near) backlash, is pressed to do something to save their asses. They've recovered a minor part of the wasted money and are now trying to convince the public that the project is useful after all. Since they cannot directly pump more money into it, their nasty fingers are into other people's purses - municipality sponsored theatres, the ZOO and others are now forced to give discounts to Opencard holders. I'm wondering whether their lowered incomes will be refunded by the municipality (bad) or not (just as bad).

    I'm not really happy I saved 8 crowns on the ticket today.

    Thursday, April 15, 2010

    baby prams forbidden at the Prague's main railway station

    I noticed that all the conveyor belts at the Prague's main railway station  forbid baby prams. The belts are the only means of getting to the trains from the ground level, so this looks like a full ban.

    Tuesday, April 13, 2010

    Transition a smf service to maintenance

    I was trying to trace a bug that appeared when a Solaris service was being cleared from maintenance. To reproduce it I needed to move the service to maintenance.

    Here's how to do it, so you don't have to break the service first:
    svcadm mark maintenance name-of-the-service

    Sunday, April 11, 2010

    Machinarium & Samorost 2 on Linux

    I got both Samorost 2 and Machinarium for a bargain price, the only disadvantage being that the media do not contain version for Linux.
    With Samorost 2 this was not a problem, it installed and run fine in Wine (wine-1.1.32, Mandriva 2010, 32 bit), however Machinarium was a bit tougher. It installed ok, but when I tried to run it, it just produced a black window, eating 100% CPU, doing nothing else.

    The solution was rather simple, using the exe2swf utility:

    ./exe2swf ~/.wine/drive_c/Program\ Files/Machinarium/machinarium.exe
    firefox ~/.wine/drive_c/Program\ Files/Machinarium/machinarium.exe.swf

    Saturday, April 10, 2010


    Spring's here, so after several years I had my hair cut :-)

    I feel safer in Česká spořitelna now

    ... knowing that the safety of my money is of the utmost importance to them ...

    ... but I am slightly worried that they chose the world's least safe web browser and operating system to present me this information ...

    Friday, April 9, 2010

    get Machinarium & Samorost 2 extremely cheap

    Hmm, 99 Czech crowns (~6 USD) for the first one and 49 crowns (~3 USD) for the latter, including soundtrack in MP3.
    Unfortunately the CD's don't contain the Linux version, but I'm going to take the risk running them inside Wine.

    Thursday, April 8, 2010

    Unbelievable became reality

    In Mandriva, the packages in the official stable repositories only receive updates  for bug fixes. In addition to that, there is an extra repository called backports which contains latest versions of some packages. However these packages are completely unsupported.

    As a completely retar^Wbizarre design decision, rpmdrake (the Mandriva package management tool) used to treat the backports repository as a source of updates, even when the user specifically disabled it. So you can imagine the mess it had beed causing.

    Unfortunately the rpmdrake developer stood quite firm in his position and only a few days ago another Mandriva guy João Victor Duarte Martins submitted a patch that was just accepted.

    After almost two years, one hundred comments, twenty-three votes and eight duplicates, the infamous Mandriva Linux bug #40556 (rpmdrake lists packages from disabled media source) has been fixed today.

    There is still some hope in the world.

    Thanks João!

    Wednesday, April 7, 2010

    hajma se stěhuje

    na . Bylo to tu fajn, ale je na čase zvednout kotvu. Na jednu stranu přijdu o víceméně garantovaných 1000+ přečtení každého výpotku,

    na druhou stranu se už nebudu při publikování zápisku v angličtině cítit provinile. A poslední dobou o linuxu taky moc nepíšu, beru ho víceméně jako pracovní nástroj, který (dokud člověk nevybočí z prošlapaných cestiček) většinou funguje, a tak přestává být zajímavým, takže většina věcí, o kterých jsem chtěl poslední dobou psát by tu byla off topic. (na kterém to běží) mi taky nabízí daleko přítulnější prostředí, třeba přidání obrázku je otázka dvou kliků. Sice chápu, že je to určitá forma obrany proti puberťačkám s poníkama, ale editovat html mě prostě ve 3. tisíciletí už nebaví (a ten editor to opravdu nezachraňuje).


    1. Vysoká čtenost

    2. Odborné publikum

    3. Dobrá zpětná vazba


    1. Uzavření se do "ghetta"

    2. Averze vůči cizojazyčným zápiskům

    3. Obtížná navigace pro anglicky mluvící čtenáře

    4. Mizerná podpora čehokoliv mimo prostého textu

    5. Unifikovaný strohý vzhled

    Friday, April 2, 2010

    KDE 4.4.2 - first screenies

    It took some time to really start working on it, but now it's moving forward. So far it looks like only small adjustments are needed to the spec files, so if I knocked the wood I could say the packages will be ready for Easter.