Simos Xenitellis

Author's posts

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/

Εγκατάσταση του Ubuntu 8.04

Ολοκλήρωσα πριν λίγο την εγκατάσταση του Ubuntu 8.04 (έκδοση 64bit). Περιγράφω παρακάτω τις επιλογές που έκανα και τα τυχόν προβλήματα που αντιμετώπισα. Αν και είχα Ubuntu 7.10, επέλεξα να κάνω εγκατάσταση από την αρχή, διότι έχω κάνει τόσες αλλαγές στο σύστημα που είναι πολύ πιθανό η αναβάθμιση να μη λειτουργήσει. Ωστόσο, ο πιο σημαντικός λόγος …

Continue reading

Permanent link to this article: https://blog.simos.info/%ce%95%ce%b3%ce%ba%ce%b1%cf%84%ce%ac%cf%83%cf%84%ce%b1%cf%83%ce%b7-%cf%84%ce%bf%cf%85-ubuntu-804/