Wednesday, 8. October 2008, 23:18:42
Sound, ALSA, Ubuntu, Bug
...
I did it! It was so easy to fix a very naughty bug: The sound could not be played from multiple sources. E.g. if Amarok is playing music, then Skype ringing is now played at all.
Read more...
Tuesday, 16. September 2008, 21:18:09
imho, Programming
Want to know my opinion? 50% of programmers - are not programmers at all.
Read more...
Monday, 25. August 2008, 14:06:45
Python, lambda, functional, Programming
Is there a way to change four lines of code into one?
Why not? Use functional programming!
Read more...
Tuesday, 19. August 2008, 21:31:45
Opera, Dragonfly, Debug, JavaScript
Dreams come true. At last, Opera has a integrated, easy-to-understand and easy-to-use JavaScript debugger.
Read more...
Saturday, 9. August 2008, 11:42:27
Namespaces, JavaScript
This is my approach to declaring JavaScript namespaces. I've tried lots of ways to create namespaces, and in my opinion, this one is the best.
Read more...
Tuesday, 5. August 2008, 13:30:38
Emacs, Colour-reverse
What a stupid thing has happened to me: I've installed the emacs-extra package, restarted the Emacs and suddenly discovered that all Emacs colours were inverted. I didn't need that "extra" package, so a complete remove
apt-get remove emacs-extra --auto-remove has fixed the problem.
Sunday, 3. August 2008, 17:40:21
Python, C
I've spent two months with casual Python coding. Python is beautiful! It's my first programming language that has "coding standards" inside it's phylosophy and design. "There should be one—and preferably only one—obvious way to do it" is the main paragraph of Python's phylosophy. That's why it's so easy to read python code - one doesn't has to switch his mind from one coding standard to another.
This is a simple trick I've discovered today:
Python's
return 10 if k == 5 else 20
is equivalent to C's
return k == 5 ? 10: 20