May 2008 archive

Looking into the symbol files

In the previous post, we talked about the ANTLR grammar that parses the XKB layout files. The grammar is available at http://code.google.com/p/keyboardlayouteditor/source/browse. I’ll rather push to the freedesktop repository once the project is completed. Now it’s too easy for me, just doing svn commit -m something. Below you can see the relevant layout files for …

Continue reading

Permanent link to this article: https://blog.simos.info/looking-into-the-symbol-files/

Parsing XKB files with antlr

antlr (well, antlr3) is an amazing tool that replaces lex/flex, yacc/bison. One would use antlr3 if they want to deal with Domain-Specific Languages (DSL), an example of which are the text configuration files. In our case, we use antlr3 to parse some of the XKB configuration files, those found in /etc/X11/xkb/symbols/??. Our aim is to …

Continue reading

Permanent link to this article: https://blog.simos.info/parsing-xkb-files-with-antlr/

Should UI strings in source code have non-ASCII characters?

There is a discussion going on at desktop-devel about whether the UI strings in the source code should also have non-ASCII characters. For example, should typical strings with double-quotes have those fancy Unicode double quotes? printf(_(“Could not find file “%s”n”)); instead of printf(_(“Could not find file “%s”n”)); The general view from the replies is to …

Continue reading

Permanent link to this article: https://blog.simos.info/should-ui-strings-in-source-code-have-non-ascii-characters/

thersa.org.uk, infected.

The screenshot shows the thersa.org.uk website has been infected, and users that visit it end up running in their browsers malicious JavaScript code. The code loads Javascript files from the .cn and the .la domains. There is a reference in one of the files to a cookie named killav (Kill Antivirus?) that may disable some …

Continue reading

Permanent link to this article: https://blog.simos.info/thersaorguk-infected/

Προβληματικές συμπεριφορές στο adslgr.com/Forum του Linux

Παρακολουθώ μερικά forum και την ενότητα για Linux που έχουν, και αρκετές φορές απαντώ σε ερωτήματα χρηστών. Μερικά έχουν μικρή κίνηση, άλλα έχουν αρκετή και είναι πολύ ζωντανά. Ένα από τα forum αυτά είναι το ADSLGR.com @ Linux. Ωστόσο υπάρχει ένα πρόβλημα συμπεριφοράς από μερικά από τα «παλιά» μέλη που χρησιμοποιούν τακτικές bullying για να …

Continue reading

Permanent link to this article: https://blog.simos.info/%ce%a0%cf%81%ce%bf%ce%b2%ce%bb%ce%b7%ce%bc%ce%b1%cf%84%ce%b9%ce%ba%ce%ad%cf%82-%cf%83%cf%85%ce%bc%cf%80%ce%b5%cf%81%ce%b9%cf%86%ce%bf%cf%81%ce%ad%cf%82-%cf%83%cf%84%ce%bf-adslgrcomforum-%cf%84%ce%bf/

Using Anjuta in Ubuntu 8.04 to develop a GNOME C++ application (gtkmm)

You can install Anjuta 2.4.1 from the Synaptic package manager. You also need to install a few development packages. I do not know if there is a nice meta-package such as build-essential (used to install compilers et al), so I’ll just ask you to install the packages by hand. A more elegant way would be …

Continue reading

Permanent link to this article: https://blog.simos.info/using-anjuta-in-ubuntu-804-to-develop-a-gnome-c-application-gtkmm/