Skip navigation.

Programmer's notes

Multiple sounds sources in Ubuntu

, , , ...

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...

"Real" Programmers

,

Want to know my opinion? 50% of programmers - are not programmers at all.

Read more...

Python and functional programming

, , ,

Is there a way to change four lines of code into one?
Why not? Use functional programming!

Read more...

Opera::Dragonfly

, , ,

Dreams come true. At last, Opera has a integrated, easy-to-understand and easy-to-use JavaScript debugger.

Read more...

Javascript's namespaces

,

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...

When Emacs colours change suddenly

,

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.

Python is beautiful

,

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


Download Opera, the fastest and most secure browser
November 2009
M T W T F S S
October 2009December 2009
1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30