Blog

Ubuntu PPA for Translate Toolkit and Virtaal

I have recently created an Ubuntu PPA to make the Translate.org.za software more accessible. At the moment only the Translate Toolkit and Virtaal is packaged, with Pootle to follow soon.

Please let me know if there are any questions, problems or comments.

Showing the current git branch in the Bash prompt

This is just a simple explanation of how I hacked my BASH prompt to show me the current Git branch of my current working directory.

Conquering the CellRendererWidget

It seems that there have been some attempts at creating a custom gtk.CellRenderer that can render an arbitrary widget. Wait or try no more, it is here!

Firefox-style button with a pop-up menu

(Clearly I've been neglecting my blog for the last couple of months. To try and change that, I'll start with this small post, just to get the ball rolling again.)

If it is unclear from the title, the Firefox widget I'm talking about is the toolbar buttons you get in the bookmarks toolbar that pops up a menu when you click it. I just wanted to take its functionality a bit further for Virtaal: Creating a similar widget which is not limited to a toolbar.

Virtaal's MVCisation

Over the last two weeks Virtaal's code has been refactored to be more easily extendible. Changing Virtaal to a MVC architecture proved to be quite an intense and interesting endeavor (my GTalk status was "Deep hack mode" for most of these two weeks), but well worth it. And here we are! Virtaal's MVC branch is just about on par with the trunk version.

Things that changed the way I code

I believe that all code monkeys (should) strive to be the best that they can be. Part of doing so is adapting your own process to maximize productivity and to make things easier for yourself. This is just a spur-of-the-moment post about some of the specific things I have discovered/changed in my few months at Translate.org.za that has had a big influence on the way that I develop software.

Switching from Subversion to git

Working with Mozilla's Mercurial l10n repositories, I have gently been forced into learning about this type of distributed VCSs, and what a revelation it turned out to be!

Die eerste amptelike vrystelling van Spelt

Die eerste amptelike vrystelling van Spelt is uit eindelik hier!

Hier volg die aankondiging wat aan die relevante poslyse gestuur is (wel, dit sal daarheen gestuur word sodra ons e-pos probleme uitsorteer is):

I'm very glad to introduce Spelt 0.1, the first official release of the program!

What is Spelt? It is a program that is used to classify words according to their roots and parts-of-speech.
For what is Spelt used? We use it in the creation of spell-checkers.

Auto-completion and auto-correction for Gtk+ widgets

I have just completed the auto-completion and auto-correction classes for VirTaal!

Gtk+ Tip of the Day: Modifying the subject of an event being processed

OK, I know that the title is not very clear, so let me give a more complete description of the problem. I'll use the actual case in which it was used as example.

I have a gtk.TextBuffer for which I'm implementing auto-correction. As you can imagine auto-correction would involve changing the text in said TextBuffer. Then I started seeing unexpected (but understandable) behaviour caused by my handler of the TextBuffer's "insert-text" event.

Syndicate content