This weekend the weather was not that great so I spent it at home. Also my laptop almost run out of disk space, so I decided to do something about it. I had 50 Gb of photos in my Picasa albums (it’s because I mostly shoot RAW, I guess) which I always wanted to archive [...]
After 8 months of development of a new project with extensive use of Hibernate I can now tell about my experiences with it. In general, Hibernate is a very useful tool. It saves a lot of time, because you don’t have to write SQL queries. If you make changes, you usually don’t have to rewrite [...]
The CGVis project, our visualization tool for multidimensional data, is finally open-sourced. Hurrrah!
If you need to render a tree-like structure here’s a way of implementing recursion in JSP/JSTL:
${node.title} <div class="children"> <c:forEach var="node" items="${node.children}"> <c:set var="node" value="${node}" scope="request"/> <jsp:include page="node.jsp"/> </c:forEach> </div>
The tricky thing is that when you use jsp:include (and for recursion you have to use the dynamic inclusion), normally, you loose all the variables [...]
If you make a web application that supports several languages with Spring you are definitely familiar with the handy locale resolvers Spring provides. Unfortunately, none of them allows to restrict the number of locales that can be set. We needed such restriction, because some of our database queries depended on the locale. So I wrote [...]
Few days ago we found out that passing in SQL parameters to a PreparedStatement can affect query optimization when we ran into a problem querying the database from our web app. We constantly got the following error from SQL Server: Adding a value to a ‘datetime’ column caused overflow. In the WHERE clause of the [...]

