Author: Jani

  • Full HD Noise

    Screenshot: hdnoise.mp4 playing in Totem In a re-iteration of my previous experiment with making noise, I’ve now generated 12 seconds of Full HD noise for your viewing pleasure. Note that the audio is quite loud (or at least appears as such), so adjust your system volume accordingly.

    Again I used ImageMagick to generate the frames and Audacity for the soundtrack, but instead of ppmtompeg I used ffmpeg for combining the pictures into a video, for better compression offered by modern codecs.

    First I cast this imagemagick spell:
    $ time for i in `seq -f %04.0f 1 300`; do convert -size 1920x1080 \
    xc: +noise Random -blur 1x1 -fx intensity -normalize -depth 8 ${i}.png; done

    Completing this step took about 20 minutes in my current setup (an Athlon II X2 250). (Note that for just 300 frames there one excess 0 worth of padding in the seq parameter, because I initially did a longer sequence of lower res frames. Four or more are needed if you go beyond 1000 frames.)

    Next I put the images together using ffmpeg. I compressed the video with x264:
    $ ffmpeg -y -i %04d.png -vcodec libx264 -b 1800k -r 30 test.mp4

    I then generated 12 seconds of white noise in Audacity, and exported it into a WAV file, which I then compressed using faac:
    $ faac -q 300 -o noise12.aac noise12.wav

    Finally I muxed the two together, again using ffmpeg:
    $ ffmpeg -i test.mp4 -vcodec copy -i noise12.aac -acodec copy hdnoise.mp4

  • Never enough

    jani@saegusa:Työpöytä$ mktemp .jpg
    mktemp: too few X's in template ”.jpg”
    jani@saegusa:Työpöytä$ mktemp X.jpg
    mktemp: too few X's in template ”X.jpg”
    jani@saegusa:Työpöytä$ man mktemp
    jani@saegusa:Työpöytä$ mktemp XXXXXXXXXX.jpg
    mktemp: too few X's in template ”XXXXXXXXXX.jpg”
    jani@saegusa:Työpöytä$ mktemp XXXXXXXXXXX.jpg
    mktemp: too few X's in template ”XXXXXXXXXXX.jpg”
    jani@saegusa:Työpöytä$ mktemp XXXXXXXXXXXX.jpg
    mktemp: too few X's in template ”XXXXXXXXXXXX.jpg”
    jani@saegusa:Työpöytä$ mktemp XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.jpg
    mktemp: too few X's in template ”XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.jpg”
    jani@saegusa:Työpöytä$ mktemp XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
    XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.jpg
    mktemp: too few X's in template ”XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX.jpg”
  • Powered by WordPress 3.0 (alpha)

    Edellinen Hello world! merkkasi siirtymistä WordPress MU:hun, ja tämä merkintä puolestaan merkkaa siirtymistä WordPress 3.0:aan, joka tätä kirjoittaessani on vielä alpha-vaiheessa.

  • Hello world!

    Welcome to mummila. This is your first post. Edit or delete it, then start blogging!

  • mariginari Theme for WordPress

    mariginari Theme applied to WordPress mariginari is a heavily customized version of the My Valentine theme by Quirm.net, accompanied by a set of plugins. The theme is distributed under the terms of the GNU General Public License save for the title image, which is an adaptation of Husky-Chibi by Nunzia Catania and is licensed under Creative Commons Attribution-ShareAlike 3.0, and the 1950s television set frame, which is a derivative of a work by John Atherton and licensed CC by-sa 2.0.

    Download: mariginari-2010-04-12_15-39 (962 kB)
    Download mariginari-2010-04-04_09-40.zip (968 kB)
    Download mari-2010-04-02_11-06.zip (942 kB)

    Note that this is always a work in progress, so it might break and/or eat your children.

  • What's the use of /usr/local/etc?

    I was wondering why /usr/local/etc isn’t used for storing local changes to system-wide configuration (which is in /etc/). Even after quickly reading through FHS’s definition for the contents of it, “Host-specific system configuration for local binaries”, I was convinced that the practice of adding local customizations directly to /etc must be flawed.

    It was only after re-reading the definition with thought when the emphasis dawned on me: it is used for configuration of local binaries, not for local configuration of binaries.

  • Disc rot on Maxell rewritables

    Disc rot ate one of my Maxell rewritable compact discs. This is the second disc to fail me from the bunch of 10 they came in. They’re pretty old in terms of IT time, but I’ve had floppies that lasted much longer.

  • The year of the ‘to each his own’ desktop

    A comment on Slashdot pretty well summarizes what is also my view of all this fuss about the year of the Linux desktop:

    Users who don’t want to learn how the machine works already have two major systems designed specifically for them: Windows and OSX. To me it makes perfect sense that Linux would be Open Source because Microsoft and Apple both recognize that the real money is gained by appealing to the general public and the general public is nearly technophobic.

    That being said, I would add that there’s nothing keeping a bold newcomer (such as Canonical) from breaking into the general market with a Linux desktop either, provided that their version is ‘good’ (i.e. dumbed-down IMO) enough. I’m just not too worried whether such development takes place or not.

    A Linux desktop for the masses would obviously help in improving hardware support, which is why I do still see it as a Good Thing. But for me it’s not the be all, end all outcome that other, perhaps more competitive people than myself see it as.