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

Posted in development, web | Tagged , | Leave a comment

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

Posted in development | Tagged , , , | Leave a comment

Error compiling for flash on Openfl: Class not found : flash.system.LoaderContextHelp

Some days ago I tried to compile a sample project using HaxeFlixel library and I got the error message:

Continue reading

Posted in other | Tagged , | Leave a comment

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

Posted in development, other | Tagged , , | 1 Comment

The blog is back on air.

Today I restaured my old backup (from April 22nd, 2014).

I had to move from one hosting to another and I forgot to make a backup of the blog prior to cancel my hosting account. Shame on me!

Posted in news | Tagged | Leave a comment

BitmapFont project updated to run on Openfl

Today I updated the BitMapFont project from Zaphod in order to it compile on new version of openfl (currently it’ for NME library).

I tested it with Flash, HTML5 and Android and it seems to be working as the original version.

I also submitted him a pull request. While he doesn’t accept it you can get the project from here.

I hope it helps someone.

All kudos for Zaphod for providing such useful library. Any problem in this new version is my fault.

Posted in games, nme | Tagged , , | Leave a comment

WordPress Arcade Theme – ArcadeBB v4.0.3 (FREE)

ArcadeBB is a great arcade sites theme for WordPress.

Unfortunately its development ceased some years ago.

Nevertheless this fact, many people still are looking for it. If you’re one of these people, you’re a lucky guy. I have it. Continue reading

Posted in other | Tagged , , , , | Leave a comment

How to solve “error: unknown filesystem. grub rescue>_”

Sometime ago I installed Ububtu on my brand new machine.

For some reasons I decided to remove Linux and install Windows 7. Everything worked fine until recently when my machine refused to boot showing the error message

This problem was caused because I didn’t removed Grub from MBR (Master Boot Record) and for some unknown reason it got lost.

The solution for this is quite simple.
Continue reading

Posted in other | Tagged , | Leave a comment

Box Game – Physics and skill in the same game

I’m so happy to announce my new game: Box Game. It’s a physics game that will challenge your skills: You have 30s to complete the level by putting boxes in the right spots.

Take a look at the video then play online and download it for your Android mobile phone. Continue reading

Posted in android, business, games, news, videos | Tagged , , , , , , | Leave a comment

More games for you to play online and on your Android mobile phone

Now I’m sharing my other 2 games (puzzle / skill) developed using Adobe Air. They can be played online or downloaded to Android mobile phones.

The games were made using Adobe Air. Continue reading

Posted in android, business, games, news | Tagged , , , , , | Leave a comment