Ruby Error – "no such file to load — digest.so"

Posted April 21st, 2008 in Misc. by Mouly

I was getting a weird error whenever I invovked Ruby interpreter. Like ruby script\server or ruby script\console. The error message ended with “no such file to load — digest.so”. I reinstalled Ruby, but the error came back.

I learned from a Google groups message that the error was due to AVG quarantining the digest.so file. I opened AVG Control center, selected Virus Vault, clicked Open button. The digest.so file was in the vault. I selected the file and restored it under its original location (AVG points to the file’s original location while replacing.)

Now ruby is working as expected. I hope digest.so is not really infected :)

Yael Naim & MacBook Air

Posted April 7th, 2008 in Uncategorized by Mouly

Yael Naim’s song – “New Soul” was hand picked by Steve Jobs to be used in the Macbook Air commercial. After the commercial went on air the song rose to the top ten list in US.

I went to BlogPulse to see if I can spot any trend for Yael Naim, sure enough I could see a spike against her name around Jan 16. The interesting thing is MacBook Air was released only on Jan 29. So something else happened between Jan 16 and 29. Another trend you can notice is that after Jan 29, the number of posts has come down, but is higher than the pre Apple commercial days.

Paste special

Posted April 3rd, 2008 in Misc. by Mouly

One of my pet peeves while copy pasting is that the formatting gets copied always. Like, if I copy a text which is BOLD and I paste it elsewhere the text is pasted in BOLD. This is really annoying when you copy text from a web page or a document that I did not prepare, so it has completely different formatting. Even Google docs and other web based have transferred this quirk. At least give me an option to disable this stupid annoyance.

MS office and other desktop word processors have the ability to “Paste special” where I can paste only the text without the formatting. Sweet! But I can’t make it the default paste option. Every time I need to paste, I have to select paste special -> Past Unformatted text.

This is not a big deal if I have to do it occasionally, but I happen to do this a lot while writing. So this annoys me. And frankly I don’t see why the special paste operation should be “Paste with formatting”