Why Thymeleaf tags are being interpreted as text instead of being processed?

These days I came across Thymeleaf.  It seemed a wonderful template engine so I started playing with it.

I created a tiny project which involved just a template and some messages (for internationalization).

I came across a (newbie) problem: Thymeleaf wasn’t processing my messages. Continue reading “Why Thymeleaf tags are being interpreted as text instead of being processed?”

How to solve error LookupError: Entry point ‘main’ not found in egg ‘tutorial’ on Pyramid projects

This week I started studying pyramid. Following the great tutorial they provide, I got stuck with the following error:

Continue reading “How to solve error LookupError: Entry point ‘main’ not found in egg ‘tutorial’ on Pyramid projects”

How to put a background image in a panel in wxWidgets

These days I was working in a program that will use wxWidgets framework.

Basically, the application will have many panels and all of them must have a background image.

In my mind I had 2 options:

  • for each panel I could put a background image in wxPanel plus all the controls that each panel required
  • create a base class derived from wxPanel that would contain the background image and make it the base class for each panel in the application.

The second approach is better because that way I’d eliminate code duplication. That was the path I followed.

How would that work? When a class that inherited from BaseScreen were created, always the paint event of BaseScreen would be called prior to the paint event from the child class.

This way the image would be draw in on top of it the controls from child class would be draw. It would give the effect of having a background image. Continue reading “How to put a background image in a panel in wxWidgets”

Why my Adobe Air game fails with error INSTALL_FAILED_INVALID_APK when I try to install it into real devices?

So you developed your great Android application using Adobe Air, it runs fine on emulator but it doesn’t install on your real device? And the error issued is

Continue reading “Why my Adobe Air game fails with error INSTALL_FAILED_INVALID_APK when I try to install it into real devices?”

How to create your own plugins for your Ruby programs

In the post How to add your own scripts to Ruby loader path and solve load errors I solved a very annoying problem for newbies (like me).

With that issue addressed I continued to develop my project. It basically is composed by a main file that loads all scripts from lib sub-folder and executes some methods. Continue reading “How to create your own plugins for your Ruby programs”

Development Enviroment

A power surge later, not only I had to buy a new no-break, a new power supply and a new HD but I had to reinstall all my programs.

As I develop for both Windows and Linux platforms, I install both operating systems on my machine. To easy my work I have a list of all I have to install to make my life easier.

Just as a curiosity, I’m writing this post to show all tools I use. Continue reading “Development Enviroment”