Postings by Mathias in November 2007
Car Broken Open
This morning I had to find my car broken open. Since coming back to Berlin one year ago, this is the second time, some asocial bastard damaged my car. Its not even a new or expensive car. It's a trusty, 15 years old Vectra. What has happend to this place?
Is is time to leave this city of criminal ...
Mathias, with one “t” (and “h”)
Btw: There are several spellings for the name my parents gave me, and I've got this variant:
Mathias with one “t” (and “h”)
I don't know why my parents have choosen this variant. People really seem to have problems with it. Every time someone writes it down, I have to explain the spelling: *“Oh, just one 't', please” - “But with ...
Re: g-thread-cancel
Richard, I'd really like to answer you, and this is the second time I'd like to do that, but unfortunatly you do not allow comments on your blog.
Well, before my karma reaches unknown depths let's add some real content to this posting:
I don't really know, why that function is missing, but my guess it, that randomly killing threads is quite dangerous, as threads share the process with your program. Stopping the thread at some random ...
Use gtk-doc to find required package version
Usually I am quite unsettled when adding package requirements to README files and configure scripts. AI never really know if the version I specified is correct.
This morning I had enough of this uncertainness and hacked a short Python script to extract that information from our find gtk-doc manuals: gtkdoc-check-symbol-versions.
Libxml2 cannot parse the HTML gtk-doc generates, so the script reads the gtk-doc manuals line by line, throws regular expressions at them and puts the ...
Simple description of libepc
Seems I failed to give a simple description of libepc. People still ask what it really is.
Well, its nothing fancy. It's really just a public hash table.
- plus encryption
- plus authentication
- plus discovery
Sounds trivial to implement, but isn't.
At least the discovery part: Current DNS-SD APIs provide a robust state monitoring API, and evilly ...
Easy Publish and Consume Library
As GNOME remembers the meaning of the 'N' in its name, more and more GNOME applications become network aware. GNOME provides excellent libraries for implementing network capabilities, nevertheless quite some effort is needed to glue them together to provide a smooth user experience.
When starting to add network support to Glom, we at Openismus decided it would be time to stop this frequent reinvention of the wheel, and put some of this glue code into an easy to use library. So the Easy Publish and Consume Library (libepc) was born.
The Easy Publish and Consume Library is ...
Linking to library.gnome.org
Recently the brave gtk-doc guys introduced a tool called gtkdoc-rebase, which updates external links in your API docs to point on the GNOME Library. The gtk-doc.make script has been updated to run gtkdoc-rebase on make dist. Unfortunatly all this pretty stuff doesn't work out of the box on Gutsy, as two premise have to be fulfilled to make this voodoo work:
- The
index.sgmlfiles in the gtk-doc ...
Playing with Reinteract
Found Owen's Reinteract Demo on Planet GNOME this morning and had to play with it immediately:
Source code: reshell.py and reglade.py.
Update: Some Steve asked for PIL support in Reinteract. The reimage.py module supports PIL images, GDK pixbufs, GTK widgets and file names. Screenshot.
iconv transliterations
This is a lazy web request.
In GNOME world we use the g_convert, which conveniently wraps the iconv library, to convert between character sets. A feature I considered quite useful was the builtin transliteration support: When adding the "//TRANSLIT" suffix to the target character set's name, iconv shall try to convert characters not present in the target charset to their most reasonable equivialent. For example "Schlüssel" should become "Schluessel" when converting from UTF-8 to ASCII and "доброй вечер" could become ...
