-
Recent Posts
Recent Comments
- James on Migrating big applications from Rails 2 to Rails 3
- David on The Ruby C API – Basics
- 各种MQ比较-老娘舅 on A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…
- Chris on A quick message queue benchmark: ActiveMQ, RabbitMQ, HornetQ, QPID, Apollo…
- Andy on How to read one non-blocking key press in Ruby
Archives
Categories
Meta
Author Archives: Muriel Salvan
Today’s xkcd: the whole World’s map
xkcd is a fantastic webcomic. I follow it for a few years now, and I must say I love it. Today’s comic (number 1110) featured an enormous scrollable world to visit. I downloaded all images of this world and assembled … Continue reading
Howto: Install RMagick on Windows 64 bits
I ran into a lot of problems trying to install RMagick on my 64bits Windows, but finally succeeded. Here is how: Install ImageMagick: version 6.6.9-5 32 bits. The version is important: I tried with 64bits versions, and also with 6.6.9-9 … Continue reading
A little helper to understand French companies’ system
Lately I was focused on understanding the way French companies work, how are taxes paid, and how to best choose companies’ statuses based on this. I wanted to have real figures and understand where does money go when ruling a … Continue reading
Unobtrusive Ajax on Rails3: Welcome to rails-ajax
My recent contribution to Rails: rails-ajax. Here is its story: I am always amazed to see how simple the Ajax use-case can be, how many websites could take benefit from a basic Ajax setup, and yet how difficult it is … Continue reading
How to compile FastCGI library
The simple answer, as usual is ./configure; make; make install … … Well not in this case: it will break in some environments (mine is x86_64-linux with gcc 4.4.5 and fcgi >= 2.4.0). During the make command, you will likely … Continue reading
Using data sets in Ruby: performance of Hash vs Set
A data set is a collection of objects that ensures each object is present only once in the collection. In Ruby, there are 2 simple ways to define data sets: use the Set Ruby standard library, or use the Hash … Continue reading
How to change Rake tasks’ prerequisites dynamically
Several times in my developer’s life I have found it very useful to use Dependency Graph Programming. That means mapping processes into invokable targets having dependencies on other targets that need to be invoked prior. This is typically what Rake … Continue reading
How to require Rake >= 0.9 with Ruby >= 1.9
Very simple problem, judging by this title. I have Ruby 1.9.2 I installed Rake 0.9.2.2 with RubyGems (gem install rake) I want to use Rake 0.9.2.2 in my Ruby environment (Rake 0.9.2.2 defines Rake::DSL module). How can I do ? … Continue reading
How to pilot external processes’ stdin and stdout in real time using Ruby
I finally made it! Regarding my previous post about failing to pilot processes on Windows, I searched again and finally found a solution. [EDIT] I have bundled the solution I explain in this article in a nice gem that you … Continue reading