Tuesday, February 26, 2008

The onset

Does it start with locally strongly connected clusters and merge into a system wide network? Or, it starts with a weak global connection which strengthens into maturity.

Wednesday, January 9, 2008

Conciseness

In programming, beautiful structures often emerge after you try trimming away duplication or redundancy.

Friday, December 28, 2007

base64 representation of current time

#!/bin/bash
time=$(date +%s%N)
s=$(for b in `bc<<<"obase=256;$time"`; do
j=000`bc<<<"obase=8;$b"`
j="\\${j: -3}"
echo -n $j
done)
eval "echo \$'$s'"|base64

Thursday, December 6, 2007

A place

If we can partition our life into stages, will there be one that we can stand? Or, it's going to be an eternal struggle to reach the next? I need strength...

Wednesday, November 21, 2007

The Chase is On

There is no point in live where one should feel content with one's growth, in power and ability generally, in mind and control particularly. While contriving, expressing ideas and moving are just the beginnings, the rate will likely determine everything.

Friday, November 16, 2007

first snow

It's that time of the year again...

Friday, November 2, 2007

remove duplicate paths from $PATH in BASH

Here is one that I came up with:
PATH=`awk -F: '{for(i=1;i<=NF;i++){if(!($i in a)){a[$i];printf s$i;s=":"}}}'<<<$PATH`