Code Walhalla ... Avatar

Posts tagged opensource

_Why Travis?

_Why?

August 19th 2007, _Why the lucky stiff, anonymous author of “Why’s poignant guide to Ruby” book and various OpenSource project such as Camping, Shoes or hpricot disappear from web radar. Since then August 19th is commemorated every year, all over the world and developers offer their strength, knowledge and will to help building Free content and applications.

This year, in France, Jérémy Lecour offered to host a hacking WE in his place, a charming house on Marseilles’s hills. We met there, during 2 days, with Thibault Barrère and Gregory Colpart, well decided to bring also our small contribution to the OpenSource world.

Travis ?

I started to look into Travis project after RuLu 2011 conference. Sven Fuchs and Josh Kalderimis came to present their idea and invite the french community to use, speak, love or hate Travis-CI application.

Continue reading…

When Salesforce meets awesome Ruby gems

There are multiple ways to connect your app to a SalesForce account but this one is pretty elegant and modern as it uses the new Winter ‘11 release with support of OAuth2 authorization standard through Omniauth. This article also describe the built of a REST API using HTTParty awesome gem.

RuLu 2011: “Yes we did it, now it’s your turn !!”

Or “How to organize an international Ruby Conf in 4 months ?”

4 months ago, in february, so impressed by the massive coming success of Euruko Berlin, we decided with few friends of Lyon.rb to organize an other international Ruby event in Lyon. The idea behind was to gather french community on a classic international event in France and prepare the french application for Euruko 2013. Simple.

13 best practices to organize a Ruby Conf:

Here are some lessons I learnt from RuLu 2011 organization that can help you when you’ll plan one:

  • Build a solid team: Your team-mates are usually working during the week and have all a private and selfish life. Planning a Conf is a long road project and it’s sometime a real pain in the ass to stick to a weekly planned meeting. Some people might forget their responsibilities, miss too much meetings or not deliver what they should . You need people you can trust 100%.  

Continue reading…

Why we, Rubyists, care about Salesforce-Heroku?

Everybody might have heard in our Ruby/Rails technosphere that recently, the successful company Salesforce.com, famous for his platform, his growth and his position as the first huge Cloud business oriented app, has bought the tiny and innovative Heroku Platform.

I am not going to give an introduction about what those two key cloud actors do. You have to know that already. I am here to explain why the CRM market leader decided to buy our underground Ruby on-demand hosting platform and why that matter for us. 

Continue reading…

Ruby Lugdunum Conference 2011

“The ruby ecosystem is thrilling in Europe with major events happening everywhere. Barricaded in the last free village in Gaul, we will treat you with talks (in English), some hacking and good food.” What a program :) Hopefully, for those ticketless for Euruko Berlin, most of RuLu speaker are international one and where speaking in Germany last week. An underground and smart conf for sure.

From Mint to P2P currency

Few months ago, in my 19 floors tower of Santiago I met in the lift an american neighbor, Ken. Who know why we decided to discuss and drink beers together? Anyway. Ken, was CFO of a classic mid-size company in US till 200x. After 2008’s crisis, he has been gently pushed out as so many other American citizens. Ken was in his sixties and it’s a more than a reason for a CEO to offer you the freedom of looking for a new job by yourself especially when everybody is sliming down. But Ken is that kind of american activist, fascinated by knowledge and its sharing. During 30 years, he tried to teach youngster (like me) and introduce them to micro and macro economy secrets. As a hobby and a proof of concept, he also developed a mint business to wedge it’s own currency. Ken believe in simple things like : “The only value of a coin is it’s own value.” So his coins are available all over the world now.

If I write that post about Ken it’s because I believe the Digital Generation have the duty to rethink the basis of its political and economical world. We have to re-invent the basis of the economy if they dont want to have to fly away from their own country in 30 years.

Continue reading…

Book: Design Patterns in Ruby

Design Patterns in RUby

Title: “Design Patterns in Ruby”

Author: Russ Olsen

Edition: Addison Wesley

Abstract: Getting better in Ruby using the Gang Of Four holy knowledge. From today I will read a chapter once a while and put my comments here. Reading such traditional sciences is a must-done for any hacker.

Pattern I: Template Pattern

Template Pattern aim to re-organize your code when a part of it only has to be flexible. Templates offer though an Abstract Class a kind of Interface. Using Hooks, available methods are easily over-ridden inside sub-classes. Main and central methods remains in the Abstract base Class and specializations are implemented inside children classes. Nothing complicated here but a pattern that allow us to easily modify of an Object by subclassing it.

Example: Change the behavior of WEBrick by adding a new template.

Pattern II: Strategy Pattern

A modern rule is “you can always delegate more”. Strategy Pattern extract the algorithm out into a separate object. Based on a Strategy all sub-classes (strategies) provide a different approach of the same action. The user, called the context, is implemented in a distinct Class and consequently there is a nice and strong separation between him and strategies.

The most direct connection with Ruby are Procs. A Proc is a chunck of code embeded in an Object. Doesnt that sound like a Strategy?

Example: Rdoc parsers can be extended using a new strategy

Behind OpenSource … Open knowledge, Open Currency and probably more ahead

The revolution of our information world is far behind what we experiment right now. Ipad is just a buzz word. That took a long time but, with those kind of initiatives, I got the feeling that my early 90’s dreams are getting real.

Moutain.rb Ruby Camp 2011 - Savoie : Caching with Rails

My last talk during the Moutain.rb Ruby Camp was about caching with rails. It’s an introduction to main concept. Next one will be more dedicated to memcached configuration and usage.

View more presentations from VzMind ItSelf.