Monday, November 21, 2005

Find Postgresql locks

select pg_class.relname,pg_locks.* from pg_class,pg_locks where pg_class.relfilenode=pg_locks.relation;



The Kotzker said, if one can figure God out, then what does one need Him for?

Wednesday, November 16, 2005

Python + Tiger + readline

python `python -c "import pimp; print pimp.__file__"` -i readline

Pimptastic

Tuesday, November 15, 2005

What I Learnt Today

א"ר לוי דבר זה מסורת בידינו מאבותינו מקום ארון אינו מן המדה תניא נמי הכי ארון שעשה משה יש לו עשר אמות לכל רוח וכתיב (מלכים א ו) ולפני הדביר עשרים אמה אורך וכתיב כנף הכרוב האחד עשר אמות וכנף הכרוב האחד עשר אמות ארון גופיה היכא הוה קאי אלא לאו שמע מינה בנס היה עומד

According to Rabbi Levi in Megilah 10b we have a tradition that the ark (of the covenant) had no dimensions / was not measurable. In other words it didn't exist in space. Unsurprisingly I'm still trying to get my head round that. Either Raiders of the Lost Ark was lying to us, or there was some tardisy style shit going down.

The hebrew text from mechon mamre. Note to self - download texts from there.