Category Archives: Code

Scrolling to page element in JavaScript

One major issue i found in user experience is putting focus onto a new area, popped out almost out of nowhere, without bulling the user, but in the mean time letting him now an event occurred.

VLSI designs

Very Large Scale Integration is one wicked field to be studying in school. I find it very exotic to work with cmos and mask design for the layering process on the silicone waffle. Free downloads included of designs, microwind mask files and icarus verilog code.

Where is it inherited from?

When debugging in python, it’s sometimes difficult to figure out where to look for the definition of an instance method. It could be inherited from a more top level class in the inheritance tree, it may be a hook/patch or the result of acquisition.

Storing serialized object in a Django model field

This is a personal solution to the fore stated problem. I wanted to keep a syndicated data (dictionary) in a text column, no ordering or filtering operations needed, just bare storage. I am going to override both constructor and save() method to sync the record with an object property, holding the data. The code is […]

Newsletter form security

I came along a simple django app for an opt-in/opt-out newsletter with a csv export feature in admin, nothing fancy.

Javascript issues in Internet Explorer

Behaviour: Object doesn’t support this property or method.

Installing OpenCV

OpenCV is a library of programming functions for real time computer vision, further details here. This is a tutorial for building OpenCV from source on a Linux operating system without having root permissions. We will also build git, cmake, python, libtiff and fix a lot of common misbehaviours.

My Solar light tracker

I was talking to you in a recent article about controlling pwm servos with Atmega. Well, I finally finished my project and I can show it to you.

IcanView – Icanhascheezburger Reader

This is a small and fun Java application that extracts the latest posts on so you can easily browse them back and forward.

Large numbers operations in Octave or Matlab

This year we gave our students in the Numerical Methods class their first homework, in the very first weeks of the semester. My colleague suggested to ask them to write procedures for operating with very large numbers. Here you have my solution.