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 ...
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 ...
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 ...
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 ...Monitor everything on your Linux servers – with SNMP and Cacti
UPDATE: Did you knew there’s an official Cacti guide? Find it at Cacti 0.8 Beginner’s Guide
Two free open-source tools are running the show for network and server-activity monitoring .... For more info about SNMP please don’t hesitate to take a look at Essential SNMP, Second Edition
.
SEO eye for the Tapestry guy
One of my previous customers has a Jakarta Tapestry [3.0.x] based site. The site is subscription-based, but it also has a public area – if you browse each and every link you should be able to view few thousand of [dynamically generated] pages. No SEO* consulting was involved in ...
Aggregating webservers logs for an Apache cluster
One of the ways of scaling a heavy-traffic LAMP web application is to transform the server into a cluster of servers. Some may opt to walk on the easy path by using an overpriced appliance load balancer, but the most daring [and budget-restrained] will go for free software solutions such ...
JCS: the good, the bad and the undocumented
Java Caching System is one of the mainstream opensource and free Java caches*, along with OSCache, EHCache and JbossCache. Choosing JCS may be the subject of an article by itself, since this API has a vastly undeserved reputation of being a buggy, slow cache. Exactly this reputation has motivated the ...
HTTP compression filter on servlets : good idea, wrong layer
The Servlet 2.3 specifications introduced the notion of servlet filters, powerful tools but unfortunately used in quite unimaginative ways. Let’s take for instance this ONJava article (“Two Servlet Filters Every Web Application Should Have”) written by one of the coauthors to Servlets and JavaServer Pages; the J2EE Web ...