Sur un compte flambant neuf, lorsque je mets un commentaire, celui-ci est automatiquement noté à 0
Oui
et est donc masqué pour les visiteurs.
Non, les visiteurs qui ne sont pas authentifiés n'ont pas la toolbar et voient donc tous les messages. Pour les utilisateurs authentifiés, ça dépend du seuil de la toolbar (1 par défaut mais beaucoup d'utilisateurs naviguent avec un seuil différent).
Hum, comme ça, je ne vois aucune différence dans la manière dont nous servons les pages news et journaux, et surtout rien qui aurait à voir avec les iframes. Donc, non, je ne vois pas de raison valable à ce comportement spécifique.
La règle pour les votes sur les sondages est assez simple : quand une personne vote, son adresse IP est gardée pendant 24h et tout vote à partir de cette IP pendant ce laps de temps sera refusé.
Je confirme : nous ne souhaitons proposer qu'une seule licence, la CC-by-sa. Il reste possible d'utiliser d'autres licences en l'indiquant explicitement dans le journal en question.
Pourquoi une seule licence ? Par simplicité et pour qu'un maximum d'utilisateurs l'utilise. À partir du moment où on propose plusieurs licences, les utilisateurs vont vouloir comprendre les différences entres les licences avant d'en choisir une et, procrastination aidant, vont le plus souvent ne rien cocher.
D'autre part, et c'est un avis personnel, la multiplication des licences libres pose plus de problèmes qu'elle n'en résout.
Pourquoi la licence CC-by-sa ? Parce qu'il en fallait une et que celle-ci est utilisée par Wikipedia et relativement connue. Bref, c'est une valeur sûre.
Lorsque le nombre de commentaire est très important il devient difficile de suivre l'arrivée des nouveaux.
La barre d'outils (en bas de l'écran sur la CSS par défaut) est normalement faite pour répondre à ce problème. Elle permet de naviguer entre les nouveaux commentaires avec les touches < et > (ou h et l) au clavier ou en cliquant sur les liens correspondants à la souris. Est-ce insuffisant ? Et si oui, pourquoi ?
J'ai croisé un admin de linuxfr (si!) (mais j'ai pas osé lui serrer la main)!
Il ne faut pas avoir peur de venir nous voir. On ne mord pas et on est toujours contents de rencontrer des utilisateurs pour discuter du site ou d'autres choses.
Pour les blocs de code avec coloration syntaxique, ils sont passés à Pygments sans que leur contenu ne soit analysé par Redcarpet, la bibliothèque markdown. Mais c'est vrai que Pygments (ou au moins la manière dont je l'appelle) a l'air de faire des choses bizarres avec les antislashs.
les syntaxes multiples du Ruby qui laissent beaucoup de choix au développeur pour l'écriture du code (points virgules ou non, accolades ou non pour les blocs,...)
Pour les points virgules, c'est simple : personne n'en utilise, sauf cas exceptionnels pour mettre plusieurs instructions sur la même ligne. Pour le reste, le langage est effectivement assez souple mais la plupart des développeurs confirmés utilisent les mêmes conventions et il est donc facile de s'y retrouver en allant voir le code source d'un projet ou bibliothèque. Ces conventions sont expliqués sur https://github.com/chneukirchen/styleguide/blob/master/RUBY-STYLE et http://www.caliban.org/ruby/rubyguide.shtml#style .
parce que pour l'instant le couple PHP/MySQL semble bien installer pour la majorité des développements web en France
La majorité des développeurs web font effectivement du PHP/MySQL, mais il existe aussi beaucoup d'applications web développées dans d'autres langages. Je sais que pas mal de startups font du Rails en France mais ça ne se voit pas beaucoup. Elles sont généralement bien trop occupées à sortir leurs produits pour communiquer sur leur utilisation de Rails. J'ai également entendu dire que la communauté Django était assez active en France.
Ça bouge aussi du coté des écoles. Je connais au moins 4 ou 5 personnes qui donnent des cours de Ruby dans des écoles différentes. La communauté Ruby de manière plus générale est en train de se réveiller. Le groupe d'utilisateurs Lyon.rb a organisé une conférence fin juin : Ruby Lugdunum. Ruby France était présent et bien représenté lors des RMLL.
Je profite de cette dépêche pour demander aux développeurs de Linuxfr [...] leurs avis sur ce framework, ses points positifs/négatifs ?
Ruby on Rails est un excellent framework pour développer rapidement des applications web sans sacrifier la qualité. Mais pour en arriver là, il faut apprendre pas mal de choses et, du coup, je ne le recommande pas pour les personnes qui voudraient juste faire un petit projet avec (sinatra convient bien pour ça).
Par contre, une fois cette phase passée, Rails permet de faire des applications web en allant vraiment vite. Quelques points positifs :
le large écosystème des gems,
la facilité de faire des tests unitaires pour aider à la maintenabilité,
les performances (LinuxFr.org tourne sur un seul serveur sans problème),
la sécurité (même si LinuxFr.org a eu quelques soucis de ce coté-là, ça aurait été bien pire avec la plupart des autres frameworks web),
le plaisir de coder et de pouvoir montrer rapidement ce que l'on a fait.
Y a t'il eu des aspects bloquants pour implémenter certaines fonctionnalités ?
Les points bloquants pour le développement de la version Rails de LinuxFr.org étaient dus à mes compétences et non pas à Rails. Par exemple, je ne suis vraiment pas doué en CSS et il a donc fallu organiser le concours pour avoir une jolie feuille de style.
L'intérêt m'échappe mais si quelqu'un veut proposer le patch, c'est un peu plus compliqué que ce qui est dit dans le journal. La regexp en question ne sert que pour les liens internes vers le wiki, comme [[[wiki]]]. La transformation de la syntaxe wiki []() en lien se fait dans la bibliothèque redcarpet qui elle-même la bibliothèque en C upskirt.
# ?
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Formulaires écrits en blanc sur blanc. Évalué à 2 (+0/-0).
Je n'arrive pas à reproduire. Je viens de tester avec la CSS Black Bling sous firefox 6 et le formulaire est bien themé et lisible.
Le problème se présente sous quel navigateur et avec quelle feuille de style ?
# Corrigé
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Souci dans l'affichage des stats utilisateurs. Évalué à 2 (+0/-0).
Cf https://github.com/nono/linuxfr.org/commit/d811b3c42aae7605e43949a59a0d1dfdd3644b3b
# Corrigé
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi La date de soumission des dépêches collaborative est la date de création.. Évalué à 2 (+0/-0).
Cf https://github.com/nono/linuxfr.org/commit/bb5e05d39982e8636828144da87c76d2e388456c
# Fait
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Enlarge your description (entre 150 et 160 caractères pour être 'in' paraît-il). Évalué à 2 (+0/-0).
Cf https://github.com/nono/linuxfr.org/commit/3aba63f167845453f97001e1db660907e69747da
# Pas vraiment
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Note initiale des commentaires farfelue. Évalué à 2 (+0/-0).
Oui
Non, les visiteurs qui ne sont pas authentifiés n'ont pas la toolbar et voient donc tous les messages. Pour les utilisateurs authentifiés, ça dépend du seuil de la toolbar (1 par défaut mais beaucoup d'utilisateurs naviguent avec un seuil différent).
# Perplexe
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi les dépêches ne sont pas ouvrable dans une iframe (alors que les journaux le sont). Évalué à 2 (+0/-0).
Hum, comme ça, je ne vois aucune différence dans la manière dont nous servons les pages news et journaux, et surtout rien qui aurait à voir avec les iframes. Donc, non, je ne vois pas de raison valable à ce comportement spécifique.
# Autre entrée sur le même sujet
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi URL spéciale petits écran. Évalué à 2 (+0/-0).
Cf http://linuxfr.org/suivi/possibilit%C3%A9-de-changer-la-css-en-fonction-de-luser-agent
# Une fois par jour et par IP
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi sondage ou je peux voter 10 fois. Évalué à 2 (+0/-0).
La règle pour les votes sur les sondages est assez simple : quand une personne vote, son adresse IP est gardée pendant 24h et tout vote à partir de cette IP pendant ce laps de temps sera refusé.
[^] # Re: Photos
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Conférences LinuxFr.org aux RMLL 2011. Évalué à 2.
Merci pour ces quelques photos sympathiques :-)
[^] # Re: multi-licensing
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi D'autres licences pour les journaux. Évalué à 2 (+0/-0).
Je confirme : nous ne souhaitons proposer qu'une seule licence, la CC-by-sa. Il reste possible d'utiliser d'autres licences en l'indiquant explicitement dans le journal en question.
Pourquoi une seule licence ? Par simplicité et pour qu'un maximum d'utilisateurs l'utilise. À partir du moment où on propose plusieurs licences, les utilisateurs vont vouloir comprendre les différences entres les licences avant d'en choisir une et, procrastination aidant, vont le plus souvent ne rien cocher.
D'autre part, et c'est un avis personnel, la multiplication des licences libres pose plus de problèmes qu'elle n'en résout.
Pourquoi la licence CC-by-sa ? Parce qu'il en fallait une et que celle-ci est utilisée par Wikipedia et relativement connue. Bref, c'est une valeur sûre.
[^] # Re: Un boulet au fil
Posté par Bruno Michel (site web personnel) . En réponse au journal Broc de bric-à-brac. Évalué à 4.
C'est fait.
# La barre d'outils ?
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Filtrer les commentaires sur la date. Évalué à 2 (+0/-0).
La barre d'outils (en bas de l'écran sur la CSS par défaut) est normalement faite pour répondre à ce problème. Elle permet de naviguer entre les nouveaux commentaires avec les touches < et > (ou h et l) au clavier ou en cliquant sur les liens correspondants à la souris. Est-ce insuffisant ? Et si oui, pourquoi ?
# Il ne faut pas hésiter
Posté par Bruno Michel (site web personnel) . En réponse au journal rmll 2011 c'est fini!. Évalué à 10. Dernière modification le 15 juillet 2011 à 10:58.
Il ne faut pas avoir peur de venir nous voir. On ne mord pas et on est toujours contents de rencontrer des utilisateurs pour discuter du site ou d'autres choses.
[^] # Re: Syntaxe markdown
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi impossible de mettre des backspaces dans les commentaire sans user de subterfuges abscons. Évalué à 2 (+0/-0).
Pour les blocs de code avec coloration syntaxique, ils sont passés à Pygments sans que leur contenu ne soit analysé par Redcarpet, la bibliothèque markdown. Mais c'est vrai que Pygments (ou au moins la manière dont je l'appelle) a l'air de faire des choses bizarres avec les antislashs.
[^] # Re: Retour sur Ruby On Rails??
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Conférences LinuxFr.org aux RMLL 2011. Évalué à 3.
Pour les points virgules, c'est simple : personne n'en utilise, sauf cas exceptionnels pour mettre plusieurs instructions sur la même ligne. Pour le reste, le langage est effectivement assez souple mais la plupart des développeurs confirmés utilisent les mêmes conventions et il est donc facile de s'y retrouver en allant voir le code source d'un projet ou bibliothèque. Ces conventions sont expliqués sur https://github.com/chneukirchen/styleguide/blob/master/RUBY-STYLE et http://www.caliban.org/ruby/rubyguide.shtml#style .
La majorité des développeurs web font effectivement du PHP/MySQL, mais il existe aussi beaucoup d'applications web développées dans d'autres langages. Je sais que pas mal de startups font du Rails en France mais ça ne se voit pas beaucoup. Elles sont généralement bien trop occupées à sortir leurs produits pour communiquer sur leur utilisation de Rails. J'ai également entendu dire que la communauté Django était assez active en France.
Ça bouge aussi du coté des écoles. Je connais au moins 4 ou 5 personnes qui donnent des cours de Ruby dans des écoles différentes. La communauté Ruby de manière plus générale est en train de se réveiller. Le groupe d'utilisateurs Lyon.rb a organisé une conférence fin juin : Ruby Lugdunum. Ruby France était présent et bien représenté lors des RMLL.
Bref, ça avance dans le bon sens :)
# Corrigé
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Avis non réinitialisés ce matin. Évalué à 3 (+0/-0).
Effectivement, il y avait un problème avec la crontab. C'est corrigé et je l'ai lancée à la main pour aujourd'hui.
[^] # Re: Retour sur Ruby On Rails??
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Conférences LinuxFr.org aux RMLL 2011. Évalué à 6.
Ruby on Rails est un excellent framework pour développer rapidement des applications web sans sacrifier la qualité. Mais pour en arriver là, il faut apprendre pas mal de choses et, du coup, je ne le recommande pas pour les personnes qui voudraient juste faire un petit projet avec (sinatra convient bien pour ça).
Par contre, une fois cette phase passée, Rails permet de faire des applications web en allant vraiment vite. Quelques points positifs :
Les points bloquants pour le développement de la version Rails de LinuxFr.org étaient dus à mes compétences et non pas à Rails. Par exemple, je ne suis vraiment pas doué en CSS et il a donc fallu organiser le concours pour avoir une jolie feuille de style.
[^] # Re: manquement
Posté par Bruno Michel (site web personnel) . En réponse au sondage Quel est le système d'exploitation de votre (éventuel) smartphone ?. Évalué à 2.
Je l'ai mis avec Windows Mobile
[^] # Re: Il manque maemo...
Posté par Bruno Michel (site web personnel) . En réponse au sondage Quel est le système d'exploitation de votre (éventuel) smartphone ?. Évalué à 6.
Hop, rajouté.
[^] # Re: Seulement 1000 lignes de code
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Découvrez Backbone.js 0.5.0 pour organiser votre code JavaScript. Évalué à 6. Dernière modification le 04 juillet 2011 à 12:58.
En comparaison, jquery, c'est plutôt dans les 10 000 lignes de code. Et je ne parle même de frameworks plus lourds comme YUI ou ExtJS.
[^] # Re: C'est quoi la Quadrature du Net ?
Posté par Bruno Michel (site web personnel) . En réponse au journal quadrature is dead ?. Évalué à 10.
En fait, ils passent par une association amie, FDNN, pour les dons et pour salarier plusieurs personnes. Je te conseille la lecture de http://blog.fdn.fr/?post/2011/03/09/Les-finances-de-La-Quadrature qui explique le pourquoi du comment.
[^] # Re: Humm...
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Résoudre les vraies url issues des rétrécisseurs d'url. Évalué à 2 (+0/-0).
Et aussi, unshort.me est un logiciel propriétaire, il faudrait trouver un équivalent libre (ou le coder).
# Humm...
Posté par Bruno Michel (site web personnel) . En réponse à l’entrée du suivi Résoudre les vraies url issues des rétrécisseurs d'url. Évalué à 2 (+0/-0).
L'intérêt m'échappe mais si quelqu'un veut proposer le patch, c'est un peu plus compliqué que ce qui est dit dans le journal. La regexp en question ne sert que pour les liens internes vers le wiki, comme
[
[
[wiki]
]
]
. La transformation de la syntaxe wiki[]()
en lien se fait dans la bibliothèque redcarpet qui elle-même la bibliothèque en C upskirt.[^] # Re: synchronisation des instances
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Thunderbird 5 est sorti. Évalué à 7.
Question naïve : ça ne pourrait pas se faire avec de l'IMAP pour les préférences et le carnet d'adresses ?
[^] # Re: "The Right Thing" vs "Worst is Better"
Posté par Bruno Michel (site web personnel) . En réponse à la dépêche Opa, un nouveau langage pour le développement d’applications Web. Évalué à 2.
Non, effectivement, ça paraît assez raisonnable.