Simos Xenitellis

Author's posts

Firefox Download Day Today! Check the start time!

Tuesday, 17th June 2008, is the Firefox 3 download day. For the world record attempt, check the start time for your location before downloading Firefox. If you are located in Athens, Greece, we start at 20:00, Tuesday 17th June 2008. If you are located in London, UK, we start at 18:00, Tuesday 17th June 2008. …

Continue reading

Permanent link to this article: https://blog.simos.info/firefox-download-day-today-check-the-start-time/

ANTLR grammar for XKB, and Relax NG schema (draft)

I completed the ANTLRv3 grammar for symbols/ configuration files of XKB. The grammar can parse and create the abstract syntax tree (AST) for all keyboard layouts in xkeyboard-config. ANTLRv3 helps you create parsers for domain specific languages (DSL), an example of which is the configuration files in XKB. Having the ANTLRv3 grammar for a configuration …

Continue reading

Permanent link to this article: https://blog.simos.info/antlr-grammar-for-xkb-and-relax-ng-schema-draft/

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/

%d bloggers like this: