Archive for January, 2008

How to Install PostgreSQL on Ubuntu Gutsy Gibbon (7.10)
January 21, 2008

Useful and simple guide, step by step.
http://www.supriyadisw.net/2007/02/postgresql-on-ubuntu-linux
Installing postgresql (8.2)
sudo apt-get install postgresql-8.2
Setting up the password for postgres’ postgres user
sudo -u postgres psql template1
ALTER USER postgres WITH PASSWORD ‘your-password’;
\q
Configure postgres’ authentication method :
sudo cp /etc/postgresql/8.2/main/pg_hba.conf /etc/postgresql/8.2/main/pg_hba.conf_bak
sudo nano /etc/postgresql/8.2/main/pg_hba.conf
Add the following at the bottom of the file
# TYPE DATABASE USER [...]

The Truth About Python
January 18, 2008

from: Python Is Not Java (dirtSimple)
So, if you don’t feel like you’re at least ten times more productive with Python than Java, chances are good that you’ve been forgetting to use the time machine! (And if you miss your Java IDE, consider the possibility that it’s because your Python program is much more complex than [...]

Getting rid of Insert Ubuntu Disc Message
January 14, 2008

This “Insert Disc” message was annoying and frustrating almost at any time I was trying to install a new software on my Ubuntu (7.10 gutsy-gibbon).
Media change: please insert the disc labeled ‘Ubuntu 7.10 _Gutsy Gibbon_ - Release i386 (20071016.1)’ in the drive ‘/cdrom/’ and press enter
If you want to get rid of it you [...]

The Zen of Steve Jobs
January 13, 2008

Ever wondered about Apples designers sources of inspiration?
I thinks I just found one, its name is Steve Jobs.
I was worth about over a million dollars when I was twenty-three
and over ten million dollars when I was twenty-four,
and over a hundred million dollars when I was twenty-five and it wasn’t that important because I never did [...]

Is Facebook the next Microsoft?
January 7, 2008

I just came across this post by Robert Scoble
If you are trying to contact me on Facebook, please don’t. My account has been “disabled” for breaking Facebook’s Terms of Use. I was running a script that got them to keep me from accessing my account. I’m appealing. I’ll tell you what I was doing [...]

New Version for JS HotKeys
January 6, 2008

I finally was able to fix a few minor bugs and compile a new version of my js-hotkeys module. Get your copy now (tar.gz || zip)
Js-Hotkeys is a jQuery plugin that lets you easily add and remove handlers for keyboard events anywhere in your code supporting almost any key combination.
Read more at:
http://code.google.com/p/js-hotkeys/wiki/about
Live demo at:
http://jshotkeys.googlepages.com/test-static.html

Learning Lisp
January 2, 2008

I started learning Lisp.
You can see my homework at http://py2lisp.jottit.com/

Getting things right vs. Getting things done
January 2, 2008

Most of today’s web developer will tell you that
the following:
<h2 id=”foo”>Click Here</h2>
<script>
$(’foo’).click = function(){alert(”Hello”)};
</script>
is better than:
<h2 id=”foo” onclick=”alert(’Hello’);”>Click Here</h2>
and the following:
<style>
body{
background-color:#ffffff;
color:#000000;
margin-top:3}
a{color:#0000cc}
a:visited{color:#551a8b}
</style>
<body>….</body>

<script>
$(document).ready(function(){
sf();
if(document.images){
new Image().src=’/images/nav_logo3.png’;
[...]