Pedro Assunção

Archive for the ‘software development’ Category

Several years of email statistics – code included

Out of boredom, I decided to create a couple of python scripts to download the dates of all the email I ever sent through Gmail and get some statistics on it. Here they are: Number of emails sent per weekday, month, and hour. I didn’t know what to expect, to be honest, but – at [...]

LESS is more

What about this awesome tool that allows you to write much more simple and powerful CSS for your websites? It’s called LESS and it basically introduces things (that in my opinion have been missing in CSS for ages) like variables, nested declarations, and operations on values. Worth checking out: http://lesscss.org/index.html

LESS is more

What about this awesome tool that allows you to write much more simple and powerful CSS for your websites? It’s called LESS and it basically introduces things (that in my opinion have been missing in CSS for ages) like variables, nested declarations, and operations on values. Worth checking out: http://lesscss.org/index.html Posted via web from nocivus’ [...]

Oje2d is now opensource

After some consideration I decided to opensource my 2d OpenGL Java Engine. Hopefully that will make me spend more time on it as I build a game around it and also get some external input. The license I chose was the MIT one. I think it’s one of the most liberal licenses out there and [...]

Cron jobs in Google AppEngine

Had no clue, but it seems that they implemented it, after a lot of whining from the community. I have to admit it will come in handy, but then I have to migrate sugus back there again. Crap. More info: http://code.google.com/appengine/docs/python/config/cron.html

Network library for games in Python

I have always loved games. Especially Multiplayer Online Role Playing Games. I have even tried to develop a couple of them in the past, using several different technologies, the latest ones being Java and OpenGL. So, while finishing college, I wrote a 2D game engine, a networking library, a map editor, sprite editor, basically everything [...]

Pinax and external dependencies

If you have been struggling to get pinax trunk to work again, please note that they are currently moving away from using svn:externals to manage the external project dependencies. The way to go now is to use pip to retrieve these packages. More info here: http://jtauber.com/blog/2009/01/31/moving_to_disutils/

Pinax and external dependencies

If you have been struggling to get pinax trunk to work again, please note that they are currently moving away from using svn:externals to manage the external project dependencies. The way to go now is to use pip to retrieve these packages. More info here: http://jtauber.com/blog/2009/01/31/moving_to_disutils/ Posted via email from nocivus’ ramblings

Double click/tap detection on android’s MapView

  If there is a cleaner way to do it, please share 1. Override the default MapView with your own implementation; 2. Override the onInterceptTouchEvent method; 3. Check if the last event was also a click and happened close by (say in the last 250ms); 3.1. If so,  it’s a double tap; do whatever you [...]

Double click/tap detection on android’s MapView

If there is a cleaner way to do it, please share Override the default MapView with your own implementation; Override the onInterceptTouchEvent method; Check if the last event was also a click and happened close by (say in the last 250ms); If so,  it’s a double tap; do whatever you want (in this case I [...]