Valgrind 3.8.0 for FreeBSD

August 16th, 2012

Valgrind for FreeBSD was updated to version 3.8.0. Grab the tarball here, or clone the Mercurial repo from https://bitbucket.org/stass/valgrind-freebsd:

hg clone https://bitbucket.org/stass/valgrind-freebsd
./autogen.sh
./configure && make && make install

The new version seems to be stable enough and passes most of the regression suite. There’re still some issues with several tests to look at however.

E17

The Enlightenment E17 FreeBSD port has been updated to the recent snapshot today. Among bugfixes and new APIs, it also brings a lot of new libraries and modules that you will enjoy. Thanks a lot to Grzegorz Blach for preparing the original patch and for his hard work on bringing all the new e17 components to FreeBSD!

Станция Подмосковная.

Есть города, похожие на кремовый торт. Есть города, похожие на пиццу. Есть города, похожие на суси. Москва всегда напоминала мне пирожное “наполеон”. Во-первых, потому что человек с этим именем однажды чуть не сжевал её без остатка. А во-вторых, потому что фактура нашего города удивительно слоиста. Если не запихивать Москву в рот одним куском, без толку и вкуса, а лакомиться ею по-гурмански, конца угощению не будет – количество слоёв и спрятанных меж ними начинок ограничивается лишь нашей осведомлённостью.

Борис Акунин

Наверное, каждый город в мире, насчитывающий многовековую историю, может похвастаться обилием строений, улиц, памятников и других сооружений, когда-то игравших важную роль в его, города, жизни, но впоследствии потерявших своё первоначальное значение. Впоследствии такие объекты либо обретают новую жизнь, становясь неотъемлемой частью новых процессов или событий, либо переходят в разряд памятников архитектуры и искусства; таким образом с течением времени и создаются те самые, плохо поддающиеся формальному описанию, дух и атмосфера города, его характер. Как это ни парадоксально, но именно старые, построенные какое-то время назад сооружения формируют город в том виде, как мы его чувствуем и осознаём, и пройдёт ещё достаточно большое время, пока возводимые сейчас многоэтажные башни и экстравагантные сооружения займут прочное место в ансамбле города и станут определять его облик.

Read the rest of this entry

Page 56

December 7th, 2008

Don’t ask me why, but I decided to take a part in this virus-like game striked a lot of Planet’s blogs lately. Here’re the rules:

  1. Grab the nearest book.
  2. Open it to page 56.
  3. Find the fifth sentence.
  4. Post the text of the sentence in your journal along with these instructions.
  5. Don’t dig for your favorite book, the cool book, or the intellectual one: pick the closest.

The result for me comes from the “Paradigms of Artifical Intellegence Programming” by Peter Norvig. This great book has been living on my table for month already awaiting for me to finally find some time to get into the wonderful world of the Lisp and AI. The quote is following:

The special form let* is appropriate when you want to use one of the newly introduced variables in a subsequent value computation.

I hope the book will stop having a bad time soon and we’ll be enjoying working together on the fascinating AI stuff for a long time.

Typealyzer

December 6th, 2008

There were a lot of noise recently about a new little toy project that anyalizes your “writing personality” based on your blog posts. So I tried to test it within my blog as well. As it comes my writing personality is of the “ESTP - The Doers” class. The meaning of that is given on the projects’s website as the following:

The active and play-ful type. They are especially attuned to people and things around them and often full of energy, talking, joking and engaging in physical out-door activities.

The Doers are happiest with action-filled work which craves their full attention and focus. They might be very impulsive and more keen on starting something new than following it through. They might have a problem with sitting still or remaining inactive for any period of time.

Well, probably it is not far from reality.:-) At least, they assure your blog writing style has nothing to do with self-percieved personality.

What is your blog writing style? Check it here.

Последствия кризиса

Картинка из офиса, не мог не сфотографировать. “Кризис” наступает, чего уж там…

New Year is coming

November 28th, 2008

New Year preparations

We are almost there. Just a small step behind.

In case if you’re an active user of torrent networks like me you may discover one day you have a lot of music stored as APE-compressed AudioCD disk images. Although nothing bad, it is rather hard to manage a big music collection stored like this and navigate between tracks while listening this music. Recently I decided to convert the entire collection to the separate FLAC-compressed tracks, and here’s how you can achive the same.

  • Install audio/cuetools and audio/shntool packages (or whatever it called in your 3rd party software manager)
  • Install audio/flac package (you’ll need metaflac to tag resulted files)
  • Split the big APE file to separate FLAC-compressed tracks:

    cuebreakpoints my_favorite_music.cue  | \
        shnsplit -o flac my_favortite_music.ape
    
  • Add metadata information to FLAC tracks:

    /usr/local/share/examples/cuetools/cuetag.sh \
        my_favorite_music.cue *.flac
    
  • Rename resulted files (optional). I use the following script:

    #!/bin/csh
    set c=0
    foreach i (`echo *.flac`)
            set name=`metaflac --show-tag=TITLE $i | \
                sed -E -e 's,TITLE=,,' -e 's,[[:space:]]+,_,g'`
            set filename=`printf %.2d__%s ${c} ${name}`
            mv ${i} "${filename}".flac
            set c=`expr ${c} + 1`
    end
    

After that you’ll receive a number of properly named flac tracks in the working dir. Enjoy!