Trying to describe some basic and some interesting facts about using Mercurial Patch Queues.
[Read More]
Trying to describe some basic and some interesting facts about using Mercurial Patch Queues.
[Read More]
Programs should respect locale specific way how to format date, time, numbers, how to sort strings, etc. People in different regions use different ways how to write such things and it is very confusing for them if you for example want write a date and write day, month and year in wrong order. Near all programs use for this functions from libc like strftime(3C), strcoll(3C), ...
The article is short overview how it works.
This is a continuation of my previous entry about roller blogs and their internationalization - Translating your Roller blog. I'll go into more detail about the select box code for switching languages and the associated javascript.
The select box I've shown in my last article displays the text "Select language:" by default. We may prefer it to display the currently selected language.
[Read More]
Recently I was dealing with a solution for translating one of the blogs on blogs.sun.com. This article covers some of the ways to enable multiple languages on roller blogs and can be used as a guide for setting up a translated blog. The solution we're aiming for will be similar to Jonathan's blog.
Blogs at blogs.sun.com are powered by Apache Roller. There are multiple ways how to deal with translated content, but first we need to enable internationalization support.
Step 1. - Adjusting the blog preferences

Sometimes I modify one source file and them compile whole project. I wanted to know which targets are affected by the change. The answer is not easy in projects with many targets. Simplest way is to use build log/less/grep and trace building process manually.
Last week I have found amazing tool - dtrace. With the tool I can find the dependencies by a simple script.
[Read More]During my work I sometimes see strange code which works, but there are good reasons to not write it in this way. I would like to share with you things that I see and ways how to fix them.
As example I choose one Makefile from CWS project I am working on
[Read More]