Eternal Bash history
March 22, 2010
After reading “Bash eternal history” (I think I picked it up via FriendFeed) I put the following lines in my .bashrc file:
export HISTTIMEFORMAT="%s "
PROMPT_COMMAND="${PROMPT_COMMAND:+$PROMPT_COMMAND ; }"'echo $$ $USER "$(history 1)"|python -c "import sys,time;cli = sys.stdin.read().split(None,4);print \" \".join([cli[0], cli[1], cli[2], time.strftime(\"%Y-%m-%d %H:%M:%S\", time.localtime()), cli[4]])," >> ~/.bash_eternal_history'
The Python bits I added put a human readable timestamp in the file, instead of the standard UNIX timestamp.
Watch out of putting your passwords on the command line!
Utopia (?): Pay per byte Internet model
March 11, 2010
Just a quick post, maybe I’ll expand it later. (2010-03-11)
With the recent proliferation of social networks (the latest buzzword is Buzz), RSS, file-sharing, I think the Internet will converge to a pay per byte model, where you would pay for data-bytes that you get from someone you “follow”, or receive “messages” from.
The telecoms would act as a mere mediators.
This would also help the regular Joe out there easily charge for the content he produces. Web sites wouldn’t get in the ridiculous situation where the more hits you have, the more *you* have to pay to the ISPs.
This would in turn remove adds from web “pages” (better yet: services) and help the spreading of Free/Open Source “content”, because every time you’d download something, you’d pay for it. No adds also means no bias towards some companies.