• Upgrades requiring a reboot on Linux? At last!

    Gergely Polonkai
    Jun 22, 2012 :: 20:04

    I’ve recently received an article on Google+ about Fedora’s new idea: package upgrades that require a reboot. The article said that Linux guys have lost their primary adoo: “Haha! I don’t have to reboot my system to install system upgrades!” My answer was always this: “Well, actually you should…”

  • Wordpress madness

    Gergely Polonkai
    Jun 14, 2012 :: 06:40

    I’m a bit fed up that I had to install MySQL on my server to have Wordpress working, so I’ve Googled a bit to find a solution for my pain. I found this. I don’t know when this post was written, but I think it’s a bit out of date. I mean come on, PDO is the part of PHP for ages now, and they say adding a DBAL to the dependencies would be a project as large as (or larger than) WP itself. Well, yes, but PHP is already a dependency, isn’t it? Remove it guys, it’s too large!

  • Fast world, fast updates

    Gergely Polonkai
    Mar 27, 2012 :: 06:18

    We live in a fast world, that’s for sure. When I first heard about Ubuntu Linux and their goals, I was happy: they gave a Debian to everyone, but in different clothes. It had fresh software in it, and even they gave support of a kind. It was easy to install and use, even if one had no Linux experience before. So people liked it. I’ve even installed it on some of my servers because of the new package versions that came more often. Thus I got an up to date system. However, it had a price. After a while, security updates came more and more often, and when I had a new critical update every two or three days, I’ve decided to move back to Debian. Fortunately I did this at the time of a new release, so I didn’t really loose any features.

  • PHP 5.4 released

    Gergely Polonkai
    Mar 20, 2012 :: 13:31

    After a long time of waiting, PHP announced 5.4 release on 1 March (also, today they announced that they finally migrate to Git, which is sweet from my point of view, but it doesn’t really matter).

  • Inverse of `sort`

    Gergely Polonkai
    Sep 18, 2011 :: 14:57

    I’m using *NIX systems for about 14 years now, but it can still show me new things. Today I had to generate a bunch of random names. I’ve create a small perl script which generates permutations of some usual Hungarian first and last names, occasionally prefixing it with a ‘Dr.’ title or using double first names. For some reasons I forgot to include uniqueness check in the script. When I ran it in the command line, I realized the mistake, so I appended | sort | uniq to the command line. So I had around 200 unique names, but in alphabetical order, which was awful for my final goal. Thus, I tried shell commands like rand to create a random order, and when many of my tries failed, the idea popped in my mind (not being a native English speaker): “I don’t have to create «random order», but «shuffle the list». So I started typing shu, pressed Tab in the Bash shell, and voilà! shuf is the winner, it does just exactly what I need: