The recommended practice is to have different passwords on different websites. But how do you remember all those passwords without storing them somewhere? The tricks is, you don’t. You remember a single strong password, and use a mechanism to generate other passwords from that.

This is not for securing government secrets, but should work for your twitter account.

## Create a single very strong password

There are many ways to do this: http://xkcd.com/936/

### Python module for processing a file line-by-line

Note: Since writing this post, I’ve learned about the fileinput module, which turns most of the following into a oneliner:

import fileinput for line in fileinput.input(): process(line)

### Benchmark: Reading uncompressed and compressed files from disc

In this post I’ll compare the running time of reading uncompressed and compressed files from disc.

I’ll run a test using two files, data.txt (858M) and data.txt.gz (83M), that have the same content.

The well-known command cat, prints the contents of a file. The lesser-known zcat, prints the contents of a GZIP’ed file.

### GDAL and OGR Python tips

Online documentation for GDAL/OGR Python is sparse. Here I show some recommended ways of learning more about GDAL/OGR in Python.

## Using Python interpreter

You can learn about GDAL and OGR from inside the Python interpreter.

Start python interpreter:

### Are IEEE papers getting less citations because of the paywall?

I’m in the process of doing research for my computer science ph.d. project. Like many others, I’m using Google Scholar to find interesting papers for my research. Some papers are available through ACM and some through IEEE.