February 2010
1 post
“Ce qui est sûr, c’est que si vous êtiez vraiment un gros barge avec des tas de...”
– Korben
Feb 4th
December 2009
2 posts
“I wanted to use “Ruby Manager” instead of “Ruby Version...”
– wayneeseguin
Dec 20th
“emacsは\C-で左小指がつりそうだけど、vimは:で右手小指の感覚が無くなってくる”
– yugui
Dec 16th
August 2009
10 posts
1 tag
Aug 20th
Un monde idéal où on sait s’amuser  →
Aug 20th
1 tag
Aug 18th
2 tags
s/rm/trash/g
Je viens de perdre pas mal de documents, pour une manip bête… J’ai voulu virer toutes les images présente dans mes dossiers, donc : find . -type f | grep ‘*.jpg’ | xargs rm Ça marche pas, les espaces plantent find . -type f -print0 | grep ‘*.jpg’ | xargs -0 rm Ça marche pas non plus…. et c’est ce compliquer la vie pour rien… Ok...
Aug 14th
Ongoing denial-of-service attack
twitterstatus: We are defending against a denial-of-service attack, and will update status again shortly. Update: the site is back up, but we are continuing to defend against and recover from this attack. Update (9:46a): As we recover, users will experience some longer load times and slowness. This includes timeouts to API clients. We’re working to get back to 100% as quickly as we can. ...
Aug 7th
159 notes
2 tags
[work] Un problème de réglé
J’avais 2 gros problèmes, je viens d’en régler un : mes objets se désenregistraient du serveur JMX lors de leur sérialization pour se réenregistrer durant leur désérialization. C’est pratique quand on veut faire migrer l’object d’une JVM à l’autre. Le soucis c’est que j’utilise la tolérance aux pannes, qui sérialize de temps en temps les objets...
Aug 5th
2 tags
[MS] methodes sérialisables
Bon, voilà LE truc qui m’ennuie en Ruby. Ce n’est pas un gros problème, juste un non-raccourci qui pourrait être génial ! Un programme ruby est lu par l’interpréteur (et le plus souvent « compilé »). Donc à partir de là on a accès à plein d’informations, mais pas au code des méthodes. À quoi ça servirait ? Je vois 2 choses : Modifier à la volée...
Aug 3rd
1 note
j'adore mes voisins
La porte de leur appart est ouverte, histoire d'être discret.
Quand ils parlent Français, ils répètent systématiquement les phrases plusieurs fois...
voisine: Paye le loyer, Paye le loyer, Paye le loyer, Paye le loyer
voisin: [blabla en arabe]
voisine: [blabla en arabe]
voisin: [blabla en arabe]
voisine: Casse-toi, Casse-toi, Casse-toi, Casse-toi
voisin: [blabla en arabe]
voisine: [blabla en arabe]
voisin: [blabla en arabe]
voisine: Vas te faire enculer connard
voisin: [blabla en arabe]
voisine: [blabla en arabe]
Leur porte se ferme, je les entends encore s'engueuler chez eux.
La suite dans quelques heures.
J'adore mes voisins.
Aug 2nd
“Programming today is a race between software engineers striving to build bigger...”
– Classic Programming Quotes | Storm Consultancy Blog (via shyouhei)
Aug 1st
4 notes
3 tags
Example of namespace aware send implementation →
Aug 1st
July 2009
3 posts
2 tags
Ruby idea : method namespace
The problem with monkeypatching is simple : we can’t be sure we will call the “good” method, because the “good” one might be redefined by an other library… Thus, I see only one simple solution : separating the methods. impressive, isn’t it ? Actually, we can separate methods in 3 places : when we define them when we call them at any time between this 2...
Jul 31st
1 tag
{key: value} syntax on Ruby 1.8
The great Ruby 1.9 syntax for hash will be supported in Ruby 1.8 ! I suppose we have to wait Ruby 1.8.8, but this is a really nice news. This is the original commit (and the ruby-lang version) : parse.y: Support for { key: value } -style hash immediates. Ruby 1.8.7 provides a safer way to work with the block parameters, Ruby 1.8.8 will have a nicer syntax to define hash… The...
Jul 31st
2 tags
Ruby on git (et non l'inverse)
Ça fait quelques temps que je cherche un repo git officiel de Ruby. J’avais trouvé un repo sur github qui se mettait à jour régulièrement par rapport au repo SVN, ce qui est déjà très bien. Seulement voilà, je suis tombé sur ça : http://github.com/shyouhei/ruby Apparament c’est la même chose, à un détail près : shouhei ne se contente pas de fetcher le repo svn, il code...
Jul 31st