Netuality

Taming the big, bad, nasty websites

Tagged posts

My presentation at Wurbe#5

Wurbe is the informal web developers meeting group, from Bucharest Romania. Meeting #5 was focused on automated testing (unit, TDD, BDD, other stuff). This is my presentation:

Java Persistence with Hibernate - the book, my review

You have to know that I’ve tried. Honestly, I did. I hoped to be able to read each and every page of “Java persistence with Hibernate” (revised edition of “Hibernate in action”), by Christian Bauer and Gavin King. But, I gave up before reading a third of it, then I continued only reading some sections. [...]

Programming is hard - the website

A newcomer in the world of “code snippets” sites in programmingishard.com. Although the site is a few months old, only recently it started to gain some steam. Unlike its competition Krugle and Koders, this is not a code search engine but a snippet repository entirely tag-based, user-built. The author has a blog at tentimesbetter.com.
As for [...]

Monitoring memcached with cacti

Memcached is a clusterable cache server from Danga. Or, as they call, it a distributed memory object caching system. Well, whatever. Just note that memcached clients exist for lots of languages (Java, PHP, Python, Ruby, Perl) - mainstream languages in the web world. A lighter version of server was rewritten in Java by Mr. Jehiah [...]

Unicode in Python micro-recipe : from MySQL to webpage via Cheetah

Very easy:

start by adding the default-character-set=utf8 in your MySQL configuration file and restart the database server
apply this recipe from Activestate Python Cookbook (”guaranteed conversion to unicode or byte string”)
inside the Cheetah template, use the ReplaceNone filter:

#filter ReplaceNone
${myUnicodeString}
#end filter
in order to prevent escaping non-ASCII characters.

Now. That’s better.

Next Page »