Winning the Hackathon

How our mobile app, built in 24 hours, got a 2nd place and what we could've done even better.

In 2013 a bank in Portugal named BPI organized a contest called BPI Appy Day where 400 teams of up to 4 players tried to create a mobile app in 24 …

Continue reading →

From MySQL to PostgreSQL

I recently migrated all my projects from MySQL to Postgresql. These are just some notes to serve as memory aids for me.

I'll keep adding things as I need to recall them.

MySQL PostgreSQL
show tables \dt;
use *db* \c *db*
show columns from *table* \d *table*

Continue reading →

The Best Programming Language

To the kid who asked me about programming languages...

Yesterday, at a barbecue party I met a kid who was very interested in programming. He had been learning about programming languages through the internet and was very interested in the subject and about good practices of programming, the different programming …

Continue reading →

60 days of Kindle Paperwhite

TL;DR: It's awesome and I love it!

Amazon had been making fun of me. For a while they sent me promotional emails about the new Kindle Paperwhite. They would let me add it to the shopping cart just to end up telling me that unfortunely some items can't be …

Continue reading →

Ingress Portal Bursting

The world around you is not what it seems.

Or at lease that's how Ingress is presented to the newcommers. The game was created by Google which is by itself quite interesting, and like many Google products, it's been released under an invite-only beta program. It's an ARG where you …

Continue reading →

Image Manipulation with HSL

Image manipulation is cool: you can see the result. And people generally like to somehow enhance their pictures. Instagram is now a standard, but before it people were already altering photos to …

Continue reading →

Scripting WinDBG with PyKd

WinDBG + Python = Love

Why WinDBG?

WinDBG is the debugger for Microsoft Windows. If you don't believe me, just ask any of Microsoft's support escalation engineers. It is extremely powerful but has a very steep learning curve, so usually it's used only when Visual Studio isn't up for the job.

Why Automation?

Often you …

Continue reading →