Fatal Error in the logs by Grails
I recently started working on a project using Grails and the following message in the logs appeared consistently and annoyed me quite a lot.[Fatal Error] :-1:-1: Premature end of file.So I started...
View ArticlehCard microformat validator
I was creating a contact page for a website and I wanted to use hCardmicroformat to encode the address, telephone, fax and the geo location. After I created it, I looked for a way to quickly validate...
View ArticleTesting on IE6, IE7 and IE8
Have you ever needed to test your web app in multiple versions if Internet Explorer? It is not quite common to have IE6 and IE7 (or IE8) installed on the same computer side by side.Itispossible. But if...
View ArticleWhat The Font ?!
I am creating a website for my wife's coffee shop and I needed to find out the font type they used on the signs and the menus. I was really wondering how I could identify the font.It turned out to be...
View ArticleGrails Logging
Configuring logging in Grails is not as simple one would think. Grails uses Log4J as its logging framework. Log4J configuration is stored in the log4j.properties file. In Grails, this file is generated...
View ArticleGrails and 404 Page Not Found
Every good website should have a nice 404 page. This is the page that is displayed when your customers or clients navigate to a destination that does not exist, by typing an invalid URL.Grails does not...
View ArticleTrack 404 with Google Analytics
For many of us it is important as well as interesting to see where our customers go, which pages they visit. Tracking the pages is quite simple with Google Analytics. However the question is: "How do...
View ArticleGmail Themes
I'm loving new Gmail Themes!The big question has been finally answered.Official Gmail Blogannounced addition of themes today. Users of Gmail can choose from around 30 themes. No need for styling Gmail...
View ArticleCSS Naming Conventions
This is a great article about CSS coding: semantic approach in naming convention.I am keeping this link for any time I will start a new project and will need to look back at some good advise for CSS...
View ArticleEasy Groovy Iteration
The problemLet's say we want to check the correct mimetype and file extension of the file being uploaded. In a typical Java way I would write something like this:boolean isRightType =...
View ArticleColors for the web
Do you need to find interesting photos that would enhance your website and would perfectly match its color scheme? I found a perfect tool for that job.Multicolr Search Lab by Idée Inc.And these are the...
View ArticleTagline
It has been quite a few busy weeks since my last post. I was heavily snowed down with work on my website. Then there was Christmas and new years celebrations.Happy new year, everybody! On the...
View ArticlejQuery 1.3 upgrade & selector bug
I've just upgraded my website to jQuery 1.3. First thing that broke was the attribute selector. This was well documented in the jQuery 1.3 Release Notes - Upgrading as well as in the documentation. So...
View ArticleVisual Event
This is a really neat tool by Allan Jardine, a UI developer! It makes it so easy and visual to see what even handlers are attached to the elements of a page. Great addition to my toolbox!When working...
View ArticleGrails.org has a new home page design
I absolutely love the new design of the grails.org home page. It's sleek, clean, easy to find what you need. Simply brilliant!
View ArticleDetect an AJAX request
Many web applications use AJAX nowadays. In a typical scenario, one fills out a form, which is then submitted to the server. If you don't use AJAX or JavaScript is disabled, your form should still...
View ArticleLeveraging Google to build your business
I read a nice post this morning about building business with Google by Eric at 過労死 Death by Overcoding.It covers many aspects that may be involved in administering your business needs, such as:Domain...
View ArticlejQuery and checkboxes
Let's start with a simple checkbox like this:<input type="checkbox" name="foo" value="bar" />To check whether this checkbox is checked you can do either of the following two...
View ArticleXmas Party 2009
HotHouse had a great Christmas party at Peats Bite restaurant last year.See the rest of the photos in my photo set.
View ArticleHow to wire a constant in Spring
Spring is a great framework for dependency injection. It helps creating new instances and inject them with references to other objects via constructor arguments or setter methods.To create a new...
View ArticleJavaZone Trailer: Java 4-ever
This is an absolutely awesome movie trailer!...from the director of JAVATAR and .NOT
View ArticleHandling HTTP 404 - Page Not Found
If you develop web applications, you are most likely familiar with Java Servlets and Java Server Pages (JSP). JSPs can be accessed by a path that directly relates to their relative location to the web...
View Article404! Why? Where from?
Alright, so you got 404'd! Things aren't that bad because you handled it nicely, but the real question you have on the tip of your tongue is "What URL caused this 404?"The request could receive the...
View ArticleSokoban
My wife and I were having dinner tonight. As it usually happens out little son finished quickly and was getting restless. So we put him down from his chair and carried on with our meals. Soon after he...
View ArticleSurprise
I was washing the dishes after dinner tonight. I was going to put the cuttlery away when I got surprised.I love you son!
View Article