Autarchy of the Private Cave

Tiny bits of bioinformatics, [web-]programming etc

    Archive for October, 2011

    tudu: a beautiful ncurses to-do list application

    11th October 2011

    tudu is just what it says in the title, and is written in C.
    All the functions are mapped to keys. Extremely flexible: you can use it either as a simple to-do list, or utilize a bunch of optional features (priorities, schedules, deadlines, categories, tags, maybe something else).

    If you (like me) love ncurses – you will love tudu :) Just give it a try.


    Screenshot copyright: Ruben Pollan (tudu author).

    Share

    Posted in *nix, Software | No Comments »

    MyISAM vs InnoDB vs Postgres benchmark

    6th October 2011

    For some reason, I believed that MyISAM storage engine should be very fast – faster than InnoDB and Postgres. After all, MyISAM does not support transactions, has no logging, and is overall simpler than “true” storage engines/databases.

    I was surprised to find out that this isn’t true, at least for the specific (simple!) query I’m interested in:

    1. SELECT primary_id FROM tablename WHERE indexed_varchar = %s AND intcol1 < = %d AND intcol2 > %d

    Read the rest of this entry »

    Share

    Posted in Notepad | No Comments »

    Good advice: /bin/false is not security

    1st October 2011

    SSH Security and You – /bin/false is *not* security.

    Share

    Posted in *nix, Links, Security | No Comments »