Warning:include_once(Net/SMTP.php)[function.include-once]: failed to open stream: No such file or directory in /usr/lib/php/Mail/smtp.php on line 348
Warning:include_once()[function.include]: Failed opening 'Net/SMTP.php'for inclusion (include_path='.:/usr/lib/php') in /usr/lib/php/Mail/smtp.php on line 348
Fatal error:Class'Net_SMTP' not found in /usr/lib/php/Mail/smtp.php on line 349
The Juggernaut plugin for Ruby on Rails aims to revolutionize your Rails app by letting the server initiate a connection and push data to the client. In other words your app can have a real time connection to the server with the advantage of instant updates. Although the obvious use of this is for chat, the most exciting prospect is collaborative cms and wikis.
To have more fun with GTalk (Google Talk) you can add some text formatting :
to make it bold, simply use * * (asterisk) between the text that intended to be bold in font style : i.e. *marouan* is rendred as marouan.
to make it italic, simply use _ _ (underscore) between the text that intended to be italic in font style: i.e. _marouan_ is rendred as marouan.
to make it strikethrough, simply use – - (dash) between the text that intended to be strikethrough in font style: i.e. -marouan- is rendred as marouan.
This is a stupid post but if you are addicted to Google Talk, like me, you will have more fun with GTalk using those few styling tips.
Q : What’s the best thing that may happen to a developer ?
A : A Bug at the beginning of the day
I ran script/console in a rails project to debug something on console, but I got this LoadError:
1
2
3
4
5
6
7
8
9
10
Loading development environment (Rails 2.1.0)
/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
How to fix ?
I figured out that some libraries are missing after installing ruby from sources (I got those troubles after upgrading my ubuntu from 8.10 to 9.04 and then reinstalling ruby from sources to solve a non-compatibility problem of the already installed ruby binary package with ubuntu 9.04) :
marouan@myownpercept:/usr/src/ruby-1.8.6-p368/ext/readline$ sudo ruby extconf.rb
checking for tgetnum() in -lncurses... yes
checking for readline/readline.h... yes
checking for readline/history.h... yes
checking for readline() in -lreadline... yes
checking for rl_filename_completion_function()... yes
checking for rl_username_completion_function()... yes
checking for rl_completion_matches()... yes
checking for rl_deprep_term_function in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completion_append_character in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_basic_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completer_word_break_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_basic_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_completer_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_filename_quote_characters in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_attempted_completion_over in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_library_version in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_event_hook in stdio.h,readline/readline.h,readline/history.h... yes
checking for rl_cleanup_after_signal()... yes
checking for rl_clear_signals()... yes
checking for rl_vi_editing_mode()... yes
checking for rl_emacs_editing_mode()... yes
checking for replace_history_entry()... yes
checking for remove_history()... yes
creating Makefile
I am working on a c# desktop application for Instance IT (Where I fill a CTO position).
The application is dealing with french datas and I need to remove some special chars from a string to have a “correct” PDF printing using iTextSharp.
I found this piece of code in the Internet and I want to share it.
My software never has bugs. It just develops random features.
Roses are #FF0000, Violets are #0000FF, All my base belongs to you.
I would love to change the world, but they won’t give me the source code.
Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning.
The beginning of the programmer’s wisdom is understanding the difference between getting program to run and having a runnable program.
Cannot find REALITY.SYS. Universe halted.
Computers make very fast, very accurate mistakes.
The truth is out there… anybody got the URL?
Computers can never replace human stupidity.
Bugs come in through open Windows.
Black holes are where God divided by zero.
Hey! It compiles! Ship it!
I’m sorry, our software is perfect. The problem must be you.
Ultimate office automation: networked coffee.
Computer: A device designed to speed and automate errors.
How many programmers does it take to change a light bulb? – None. It’s a hardware problem.
Social Links