May 19, 2010

Confías en la Junaeb y el Transantiago ? Lee esto

Delicious Delicious Facebook Facebook TwitterTwitter Categories: Privacidad - Tags: , , , ,

Después de meterme a http://www.tne.cl para ver si podía revalidar mi tarjeta me di cuenta que cualquiera puede meterse y obtener datos de la tarjeta que pueden ser ocupados en http://www.tarjetabip.cl.

El problema aquí es doble, primero deberían de comprobar la identidad de quien solicita la información (Ej: número serial de cédula de identidad). Por otro lado deberían de pedir una contraseña para poder ver la información de la tarjeta BIP en http://www.tarjetabip.cl.
Aquí hay unos vídeos mostrando lo fácil que es ver la información de cualquier estudiante con tarjeta TNE.
Read it all..

May 17, 2010

Solve Progressive Party Problem (PPP) with ZIMPL and lp_solve

Delicious Delicious Facebook Facebook TwitterTwitter Categories: Programacion - Tags: , , ,

Introduction

Here is a model to solve the Progressive Party Problem using ZIMPL as the modeling language and lp_solve as the solver. This model is to minimize the number of host boats.
Read it all..

OpenStreetMap Heatmap (using OpenLayers)

Delicious Delicious Facebook Facebook TwitterTwitter Categories: Programacion - Tags: , , ,

After been working sometime with OpenLayers I figure out how to make heatmaps generated in the user browser. Now I’m using OpenStreetMap for both map and data. As is based on OpenLayers you can use any map (including Google Maps) and get data from other places.

There are some similar projects: gheat (server side), Google Maps – Heatmap (server side, not dynamic) and HeatMapAPI (server side and need an API key). If you know another API/Library to make Heatmaps please send me an email.

Currently you can watch the following demo videos (try to watch them on HD and fullscreen):
Read it all..

May 12, 2010

Easy crop a PDF in Linux/Unix

Delicious Delicious Facebook Facebook TwitterTwitter Categories: Linux - Tags: , ,

Sometimes somebody send you a pdf with big white margins that only annoy you. This is often when you receive Power Point presentations in pdf format so is almost impossible to print several slides on one page.

PDF Before Conversion

Before

PDF After Conversion

After


To avoid this you can crop the pdf pages and remove those margins.
Read it all..

May 9, 2010

Aclaraciones sobre Stasi

Delicious Delicious Facebook Facebook TwitterTwitter Categories: Personal, Privacidad - Tags: ,

Debido a que todavía existen varios usuarios que tratan de ingresar al sitio que he dado de baja (http://stasi.felipebarriga.cl) decidí hacer este post explicando un poco el porqué ya no existe tal sitio.
Read it all..

May 5, 2010

Listing and deleting files in a terminal (bash)

Delicious Delicious Facebook Facebook TwitterTwitter Categories: Otros - Tags: ,

There are infinite ways of doing the following commands but here you can find some examples. They can be very useful when you need to manage a lot of files in different directories.

Using ‘find’

Delete empty files using find:

felipe@funstation $ find dir/ -type f -empty -print0 | xargs rm -f

Read it all..