Beginnings
After the bleak, joyless work of releasing software, plugging holes of preventing users from clicking buttons they should not have clicked in the first place, writing unctuous documentation and release notes and wrapping code into neat little installers with tiny bows and bells that gently tingle when touched, there are few things as profoundly satisfying [...]
Entries Tagged as 'lang:en'
Oh my god—it’s full of cores!
May 24th, 2009 · 7 Comments
Tags: hardware · lang:en · programming
Scrollable Widgets with PyGTK
May 17th, 2009 · No Comments
It is possible to write custom GTK widgets that have “native” scrolling support, as opposed to just shoving them into a GtkViewPort and forgetting about them.
Apart from having mastered a small coding challenge, as it turned out to be, this also gives you greater control over the scrolling itself, like making sure that certain [...]
Tags: lang:en · programming · python
New Hardware
May 8th, 2009 · No Comments
Even before I started working at UZH, I got my new hardware. Back in February, when I visited Zürich to look for rooms, I was offered to choose a new notebook for myself. Since I already have a large notebook (at least that’s what I consider my 14.1″ T61) and toyed around with the idea [...]
Stack Overflow Statistics
February 8th, 2009 · 2 Comments
Going through a computational linguistics program will bring you in touch with Zipf’s Law. Its core claim:
In a corpus, the frequency of any word is inversely proportional to its rank.
Translated into less-wordy terms, it means that some words (events) occur very often and many words only occur a few times, or only once.
Zipf’s Law also [...]
The big wheel of commits
January 31st, 2009 · No Comments
Yesterday, I merged the frame semantics branch, which I have been working on for my MSc thesis, into my personal repository. Since such a grave step always demands introspection, I looked at all 513 commits I ever to to the TreeAligner repository and created a little statistic on commit times.
The picture contains a 24h [...]
Tags: lang:en · programming · treealigner
I have no life and I must program
May 31st, 2008 · No Comments
Some participants of this semester’s „Computational Linguistics” course (which is a code word for „10 different lecturers guide you through the wonderful world of algorithms and theoretical foundations of CoLi”) obviously lack a life and willfully extended their own homework assignment, writing small toolkits for finite state automata.
Surprisingly, all those toolkits were written in Python [...]
Tags: coli · lang:en · programming · python
Look at me, I know Functional Programming!
May 5th, 2008 · 1 Comment
Sometimes I wonder what the hell I might have been thinking while writing code like this1 :
1
2
3
4
5
6
7
def uncurry(f):
return lambda t: f(*t)
def longest_common_prefix(Sa, Sb):
return len(list(
takewhile(uncurry(eq),
[...]
Tags: lang:en · programming · python
GMM Code
March 13th, 2008 · No Comments
For one of the exercises, we had to implement the EM algorithm for Gaussian Mixture Models. I’ve spent a considerable amount of time on my solutions, either because I wanted to learn a new language (Scala version) or I wanted to not forgot an old one (C++ version), so I don’t want the code simply [...]
Tags: coli · lang:en · programming
Pattern & Speech Recognition Leftovers
March 13th, 2008 · No Comments
While learning for the exam of this semester’s Pattern & Speech Recognition course by Prof. Klakow (highly, highly recommended), we (a couple of people, look for the names in the document itself) put together a summary with a couple a topics from the course.
Topics
Feature Extraction from Sound
Bayesian Decision Theory
Maximum Likelihood Estimation
Nonparametric Techniques
Gaussian Mixture Models
Decision Trees
The [...]
Need Some Music for Your Romantic Valentine Dinner?
February 14th, 2008 · No Comments
Go to Jason Eisner’s homepage, please don’t come back to complain.
Just to make it more geeky by nitpicking: if you are OOM, or have a segfault, you most likely won’t be able to finish your song.


![Validate my RSS feed [Valid RSS]](http://shlomme.diotavelli.net/images/valid-rss.png)