What do you know, Freddy Duarte blogging about the Engl… Latin idiom.
e.g. = exempli gratia = for the sake of example
i.e. = illud est = that is to say
Example of e.g. : “Electronic EMO/Rock bands suck (e.g. NIN, The Jonas Brothers).
Example of i.e. : “On the other side, bands that carry talented musicians are good for the ear (i.e. MUSE, Metallica, Opeth).
Example of hilarity: “This isn’t a post about music (i.e. anything not NIN).”
Random
Friendship Among Women:
A woman didn’t come home one night. The next day she told her husband that she had slept over at a girlfriend’s house. The man called his wife’s 10 best friends. Not one of them knew anything about it.
Friendship Among Men:
A man didn’t come home one night. The next day he told his wife that he had slept over at a buddy’s house. The woman called her husband’s 10 best friends. Eight of them confirmed that he had slept over, and two claimed that he was still there.
Source
http://johns-jokes.com/joke/show/484/
Funny
Issue
If you’re a rails programmer in Ubuntu, odds are you’re going to encounter some issues while trying to use your arrow keys inside IRB (Interactive Ruby), and this particular problem will also affect script/console.
- Arrow keys don’t work in IRB
- Can’t load script/console
Symptoms
If you try to launch your console, the following errors will appear. As you can tell, we’ve got a library missing – “readline”.
script/console
Loading development environment (Rails 2.2.2)
/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require': no such file to load -- readline (LoadError)
from /usr/local/lib/ruby/1.8/irb/completion.rb:10
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `require'
from /usr/local/lib/ruby/1.8/irb/init.rb:252:in `load_modules'
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `each'
from /usr/local/lib/ruby/1.8/irb/init.rb:250:in `load_modules'
from /usr/local/lib/ruby/1.8/irb/init.rb:21:in `setup'
from /usr/local/lib/ruby/1.8/irb.rb:54:in `start'
from /usr/local/bin/irb:13
Fix
Marinate your keyboard with some Dr. Pepper. For best results, use beer. NO! Buy a MAC. NO! I joke . MACS are expensive.
Fix it this way:
- Install the readline library: sudo apt-get install libreadline5 libreadline5-dev
- Compile the library: cd into the “ext/readline” inside your ruby installation. It’s probably under “/usr/local/src”, but you’ll definitely need to figure this one on your own.
- sudo ruby extconf.rb
- sudo make
- sudo make install
- Re-launch IRB and script/console and it should work!
Sources
Expressica.com
RoR