CakePHP is a nice MVC framework for PHP. Yes, like Catalyst or Ruby on Rails.
It has its own DB abstraction layer and two weeks ago, I had to create a models mapping. Our DB has about 20 tables and for each a them, a file was needed to describe its relationship with the rest of the DB. I far as I know CakePHP doesn’t provide a tool for that and so I did mine
: cakephp_create_model.pl
You’ll need to respect the CakePHP convention for your DB and to edit the top of the file to change the DB authentification informations.
$./cakephp_create_model.pl
Writing destinataire.php
(…)
Writing etat.php
The script can’t detect one to one relationship, you’ll have to add them yourself.
Un poste juste pour garder une trace d’un petit script que je viens de faire pour générer un index HTML d’un dossier de video.
#!/bin/sh
echo “<html><head></head><body>” > index.htmlfor i in *.avi; do
ffmpeg -i $i -vcodec png -vframes 1 -an -f rawvideo -s 320×240 $i.png
echo “<a href=”$i”><img src=”$i.png” /></a>” >> index.html
doneecho “</body>” >> index.html
In Debian Games there is a lot of bugs fixed on the svn but not uploaded, in general because of lack of uploader and I was curious to know how other teams deal with this problem:
| Packages | With pending bug(s) | % | |
|---|---|---|---|
| Debian Perl Team | 374 | 4 | 1% |
| Ruby Extras Packages | 59 | 1 | 1.69% |
| Debian Python Module Team | 146 | 10 | 6.84% |
| KDE Extras | 69 | 5 | 7.24% |
| general | 1380 | 115 | 8,33% |
| Debian Games Team | 149 | 29 | 19,46% |
My company, Atos Origin, will provide at least on build server (2 Xeon - 4 core server) for SvnBuildStat. I expect to be able to build KDE-base packages in a decent timing :).
SvnBuildStat source are now on Collab-qa SVN repository. It was a Debian Games project before.
Not in the topic and thanks to Madcoder I use the awesome Vimperator now. The Firefox Iceweasel extension provide a nice Vim like key binding for the browser. It’s so …errr… wOOt :).
I think SvnBuildStat is reasonably stable now. Feel free to contact me ( goneri on IRC ) if you want to add your Alioth project.
During the last two week I improved the status package for the Debian Game Team. I rewrote it from scratch with mod_perl + Catalyst. It uses a database to store the build reports and It’s able to build packages from more than one repository. It can also use other computers as build host. But there is still tone of things to improve and this is a short TODO list :
- use uscan to download the tarball or detect missing tarballs (like DEHS)
- improve the visibiliy of the the different builds per architectur
- deal with the Architecture: entry of the debian/control
- clean up the source code and write some doc. It’s my first Catalyst site and there is some part of the code that I need to improve, mainly around DBIx::Class
- add a statistic page
- ask for a svnbuildstat.debian.net, I don’t know if I can since I’m not a DD
http://nana.rulezlan.org/svnbuildstat/.
Thanks : Glandium for the bug graphs, Raphaël Semeteys and Walid Nouh for there build hosts and the mentors.debian.net guys for the CSS :).
J’attend avec impatience l’arrivé sur Jamendo des deux nouvelles chansons que j’ai vu en concert hier soir et surtout d’un album Live !
Coup de coeur.
Un super album qui me fait beaucoup penser à « Au Lit les Mômes ». De plus le choix de la licence vous fait honneur :).
Coup de coeur
root@clp120s105751 # hostname
-d
root@clp120s105751 # uname -a
SunOS -d 5.10 Generic_118833-17 sun4u sparc SUNW,Sun-Fire
root@clp120s105751 #
I’m the father of a little girl called Azilis since the 25th of december. She was borned at 9 AM nd weights just 3.220kg. Is there a better present for christmas?
Update: 3.220 kilograms = 7 pounds
Before spending hours trying to make bluetooth work, have a look in the bios in case the device is not present … ![]()
Like a lot of people who read Of Mice and Men. ”Lenny” call me up the famous character of the book: “Lennie Small”.
This is his description from Wikipedia :
Lennie Small – Travels with George. He is a giant of a man who is unaware of his own strength. His mental deficiency culminates in an obsession to stroke ’soft’ materials: this can be understood to represent his need for human contact, which is shown in his obsession with rabbits. George and Lennie are the only characters with both first and last names. There is irony in his last name, as it is “Small” while he is a very big man physically. Lennie is killed by George with a gun.
Please don’t call the next Debian, Lenny! This sux!
Pour ceux qui ne connaissent pas David TMX allez vite sur sa page sur Jamendo. « Avant j’étais trappeur » et « A l’orée d’un siecle en bois »
Debian Games won a status page
: http://nana.rulezlan.org/~goneri/pkg-games/. I expect it to help us improve the global quality. Currently we need DD interested in sponsoring. Feel free to contact us if you’re interested.
Today Ludo pointed me on this picture from Flickr:

I’m famous :).
Today i did this graph with my new friend: GnuPLOT. It shows incoming ablums on Jamendo since the 30th of september. may was a great month :).
For whose who care about GnuPLOT, this is the script i used:
set terminal png
set xdata time
set timefmt “%Y-%m”
set terminal png size 800,400
set format x “%b”
set output “/tmp/jamendo.png”
set style data linespoints
set grid
set xlabel “temps”
set ylabel “nombre d’albums”
set title “Publication Jamendo depuis le 30 septembre 2005″
plot “/tmp/totor.png” using 1:2 with boxes
Data were collected from the rss backend.
Jamendo is a great sharing plateform betwen artist and listener.
Excès de vitesse, 51 à la place 50km/h => 90€ et un point !
Youpi \o/
Saturday night (fever) was the day i annonced to my friends that my girl friend is pregnant \o/.
YES! I’ll be father of a little girl!
I still have difficulty to become aware of what it means. In january everything will be more clear for me when Azilis will born. After 4 months, Pénélope already have a nice baby belly: >.
I guess i shouldn’t be able to take care of all my current packages for some months. Most are shared with Debian Games Team and everything should be fine.
For the moment, i’ve to contact the Debian Perl Team to see if they are agree to adopt libaudio-wav-perl and if they want to support Sickle.
Sickle is a imap filtering tool that use Perl rules to sort mails on remote server. It works fine and offerts a great alternative to imapfilter. I opened an ITP some months ago and a package was ready for upload since about 6 months but i never found a sponsor for it…
Clak ! C’est a peux près le bruit qu’a fait la porte lorsque elle a claqué alors que je payais le livreur de pizza en bas de chez moi. Et bien sur je n’avais pas les clefs… Youpi !!!
Le 118 000, 118 818 et le 118 218 m’ont fait un jolie ‘fu*k’ : “Non on ne te donnera pas le numéro d’un serrurier va plutôt au commissariat”.
Bref, 2 heures plus tard, j’étais avec 2 policiers et un serrurier (130€…) devant ma porte \o/.
Merci
Merci a tout ce qui nous ont honoré de leur présence samedi soir. Je suis désolé pour ce qui n’ont pas pu venir. La soirée est passé un peu a 100 a l’heure et j’aurais aimé que le temps s’arrête un peu :). Merci aussi aux voisins qui ont courageusement supportés le bruit (sauf ce qui on appellé la police :>).
Et surtout un grand merci a tous ce qui ont aider a organiser les festivités et ce qui sont restez jusque au bout. Bravant courageusement un uptime de plus de 24heures pour certains (Genre lui) !
Botquelen festival official soundtracks :>
Voici les listes des artistes qui sont passés en début de soirée (certains juste en partie). N’hésitez pas a les télécharger sur Jamendo.
- Au Lit les Momes - Au Lit Les Momes !
- Boules de Feu - Tetes a Couacs
- Cool Cavemen - All Cool Hits
- CraZyH et Djézinho - Pr?mis N’1
- Drunksouls - On verra plus tard …
- Keep Cool Vibration - conquest of the empire
- La Goutte au Nez - Ouverture facile
- Margin of Safety - Gonzo Jazz
- METISSE - Jeunesse
- Suerte - Pasteque
- Systyle - Loin d’en naitre
- The TenGooz - Elixir
- The TenGooz - Strange Chord
- Trafic de Blues - Fin de cavale
- Truculent - Sans daron en cave
- VICE VERSA - LIVE
lftp goneri2@ftpperso.free.fr:/vdrift/vdrift_0.0.2006.07.08> put README
235 octets transféré en 2 secondes (145o/s)
lftp goneri2@ftpperso.free.fr:/vdrift/vdrift_0.0.2006.07.08> ls
drwx—— 2 web site 344 Jul 27 22:30 .
drwx—— 3 web site 120 Jul 27 22:27 ..
-rw-r–r– 1 web site 15926 Jul 27 22:30 Contents.gz
-rw-r–r– 1 web site 123549522 Jul 27 22:28 vdrift-full_0.0.2006.07.08-1_i386.deb
-rw-r–r– 1 web site 23771960 Jul 27 22:28 vdrift-minimal_0.0.2006.07.08-1_i386.deb
-rw-r–r– 1 web site 5611 Jul 27 22:27 vdrift_0.0.2006.07.08-1.diff.gz
-rw-r–r– 1 web site 558684 Jul 27 22:27 vdrift_0.0.2006.07.08-1_i386.deb
-rw-r–r– 1 web site 148579912 Jul 27 22:28 vdrift_0.0.2006.07.08.orig.tar.gz
lftp goneri2@ftpperso.free.fr:/vdrift/vdrift_0.0.2006.07.08>
Gni?!
Et voila que j’abandonné ma veille version de Wordpress. Les nouvelles features sont Whouaaah (je sais, je débarque. J’étais en hivernation les 8 derniers mois), le seul regrète est qu’il faut que je migre les deux thèmes que j’avais fait.
Ce soir j’ai découvert la partie site de Wordpress dédiée au Thèmes graphiques. Je suis impressionné par le volume et la qualité globale. Je ne regrète vraiment pas de l’utiliser. Surtout que maintenant le changement de thème se fait en un clic dans l’interface d’administration.
J’en ai aussi profité pour enregister mon blog dans Jamendo. Maintenant, les critiques que je poste peuvent être directement transformées en poste sur mon Blog. La grande classe quoi !
Si vous voulez en faire de même, c’est ici sur le site.
Bravo. Il y a juste une chanson que je trouve un peu en retrait par rapport au reste de l’album, c’est «Promenons nous dans les bois».
J’attend avec impatience la suite.
Youpi ! Pénélope a son coucours. L’année prochaine elle sera instite \o/.
De toutes façons, ma copine c’est la plus forte :þ. On savait bien qu’elle allait masteriser \o/.



