Keep Da Link

To content | To menu | To search

Keyword - ruby

Entries feed - Comments feed

-->

Oct. 7, 2007

Revue de presse du 07/10/2007

Python Magazine Le 1er numero est gratuit, sous forme de PDF

Zope 3 for Djangoers interessant pour comparer via Biologeek

Beginning game development woth Python & Pygame Un chapitre gratuit de ce nouveau livre

La liste de liens qu'il vous faut pour Python

Une nouvelle d'anticipation sur le tout Google Traduit en fr, via Biologeek

Betters monitor for Java pour mes amis devs Java ;)

Wiimote 3D widget desktop

Un livre gratuit sur Ruby

Netbeans 6.0 beta1 is out

Que peut on faire avec Dojo 0.9 et Dojo 0.9 power tools

July 11, 2007

Revue de presse du 08/07/07

Ruby, GPS et Google Map

Erlang, coder un serveur web ultra performant

Un logiciel d'import export des bank du Icom IC-R5 pour Mac et Linux

Un Mac par le web, comme si vous y étiez

Django REST interface

La branche Unicode de Django est mergé au trunk !! Une très bonne nouvelle pour tous les pays qui n'utilisent pas seulement l'ASCII :)

Glassfish nouveau record sur T2000 On a pourtant du revenir sur tomcat ... A voir. Sortie de la v2 béta 3

Les générators en Python

Wicket un framework Web Java ala Swing ? (enfin !)

July 8, 2007

Comparing Ruby vs Python vs PHP

Jedi made some testing to show up how PHP is so bad at object oriented programming vs Ruby, so I tried the same test in Python:

class TestPy(object):
	def __init__(self, string):
		self.string = string
		self.counter = 0
		
	def testfunc(self):
		self.string += 'abc '
		'-'.join(self.testfunc2())
		
	def testfunc2(self):
		array = self.string.split()
		str = ''
		for word in array:
			if not str or self.counter < 0:
				str += word
			self.counter += 1
		return array
		
str = "initial string"
a = TestPy(str)	
for x  in range (0,4999):
	a.testfunc()

The Ruby code from Jedi: 0m17.576s with ruby 1.8.2
This Python code: 0m8.386s with python 2.5 and 0m8.958s with python 2.4.4, on an Imac 24".

The goal here is not to have the fastest one, as many optimizations could be made on this really dumb code, the test just prove the good implementation of boths Python and Ruby but not PHP

Who wants to do the same in Java ?

June 16, 2007

Revue de presse du 15/06/07

Django signals Django ne permet pas d'avoir d'action persistente comme un vrai moteur applicatif mais une solution comme le signaling est une alternative

Un middleware django pour ajouter google analytics

Nouvelle version du homeplayer (streamer pour la freebox) dont une version mac

Ubuntu + web = Wubuntu :)

GWT demystifié

Etre productif avec Ruby et Netbeans

Smart2go un logiciel de geopositioning avec cartes pour Symbian os de Nokia en version finale