Posté par djano .
En réponse à la dépêche Weboob 0.d.
Évalué à 2.
Oui, ça parait pas hyper compliqué de lister d'un coté les capacités de chaque module, les capacités consommées par chaque application de l'autre, puis une moulinette automatique génèrerait des page webs listant:
en partant du module, quelles applications permettent de l'utiliser, super pour savoir comment accéder a nos données
en partant de l'application, quels modules peuvent être utilises, super pour démontrer l’intérêt de weboob: une application générique peut taper dans plusieurs modules
Il ne faut jamais oublier que Sun avait racheté l'éditeur Star Office car cela lui coutait moins chère que de payer les 10 000 licences word nécessaire à ses employés.
Ce que je vois c'est que les grosses entreprises françaises cherchent a maintenir des profits très élevés tout en faisant le minimum syndical en terme d'investissement, de R&D ou de prise de risque. Du coup lorsqu'arrive un acteur plus qui se bouge pour servir les clients et bien l'entreprise française se trouve bien embêtée. En France on a toujours privilégié les grosses entreprises soutenues par l'état et on a systématiquement cassé et taxé les PME/PMI innovantes. De toute manière elles ne sont bonnes qu'a être absorbée par les grosses entreprises.
Enfin, c'est la mentalité de nos dirigeants. Jamais l'on ne verra un Google/Facebook français (Ceci dit, ça ne me dérange pas pour Facebook)
Une règle de base: commenter le pourquoi (WHY?) et pas le quoi (WHAT?).
Autrement dit: il faut commenter pourquoi le code fait ce qu'il fait plutôt que d'écrire un commentaire qui décrit ce que fait le code étape par étape, mais en moins bien que le code lui même (sans parler que ces commentaires deviennent rapidement obsolètes). Exemple (vécu probablement des centaines ou milliers de de fois):
// get first nameStringfirstName=getFirstName();// concatenate with surname to get fullnameStringfullName=getSurname()+" "+firstName;
S'il y a bien un endroit (en fait, le seul!) où le copier-coller est tolérable, c'est la documentation des interfaces. C'est parfois automatisable avec des macros (comme dans les macros MDOC ou MAN pour les pages de man) mais parfois le plus court chemin est le copier-coller.
En javadoc, {@inheritDoc} copie automatiquement la javadoc d'une méthode depuis l'interface/la super classe vers la méthode dans le sous type.
Dans ce cas la clause return … ne sert à rien car elle n'apporte pas de nouvelle information!
C'est pour ça que je ne documente que le clause @return.
Tout à fait. Et c'est vraiment malheureux. Finalement en voulant forcer les gens à être performant et créatifs, ont a l'effet absolument inverse.
Ça c'est typique d'un management qui vit par et pour les chiffres et n'accorde aucune place a la créativité humaine:
"You can't manage what you don't measure", ok, mais "Beware of what you ask, because you might well get what you ask for" :)
Et la typiquement, s'ils mesurent la présence, ils ne faudra pas s’étonner s'ils n'obtiennent que la présence :)
A contrario, je me souviens d'une boite qui faisait pointer les employés. Le jour ou ils ont voulu retirer les pointeuses, les employés ont protesté parce que du coup il allaient plus travailler :D
Et il semble qu'une modification du droit pénal ne puisse être rétroactive que dans le cas ou les peines deviendrait moins lourde. Dans tous les autres cas, elle ne peut pas être rétroactive.
Vraiment dommage dans le cas qui nous concerne :(
Vivement qu'une nouvelle loi soit adoptée pour que toute nouvelle infraction soit sanctionnée!
La américains sont extrêmement puritains, mais en même temps probablement le premier pays au monde pour le porno. Va comprendre…
Y a qu'a voir leur empressement a considérer une photo présentant le moindre carré de peau comme du porno, même si en fait ce n'est qu'une photo de charme. Très puritains je vous ai dit.
"La seule manière d'y arriver (NDT: trier un nombre important de photo) est de mettre la barre tellement loin des verges que même l'image d'un concombre est bloquée par accident."
Ma copine a du trier des photos pour un moteur de recherche, et bien ce n'est pas ragoutant du tout.
Je suis d'accord, on ne peut pas laisser un texte qui est anti-constitutionnel.
Par contre, je m'associe aux victimes qui avaient utilisé la loi pour attaquer en justice leurs agresseurs et qui ont perdues toute chance d'obtenir justice lorsque le texte a été retiré.
Ce que je ne comprends pas, c'est pourquoi la nouvelle loi ne peut pas être rétroactive? Le gouvernement a essayé de le faire avec la fiscalité des heures supplémentaires. Pourquoi pas la aussi?
Moi je te dis que je le trouve bien plus rapide qu'avant.
Maintenant si "les gens" le trouvent lourd, je ne peux que leur conseiller de publier un bench qui le montre. Tu peux être sûr que les gens de Mozilla y seront attentifs si ce bench est représentatif.
Si "les gens" disaient aussi à quoi ils le comparent pour le trouver lourd, ça pourrait être pas mal.
Pour finir, "lourd" n'est pas une bien bonne description. Si "les gens" disaient par exemple que Firefox utilise trop de mémoire, de CPU ou bien qu'il lagge ou se bloque, ça permettrait peut être mieux de résoudre les problèmes "des gens".
Trouvaient? Je trouve qu'il assure bien maintenant et j'ai vu passer des benchmarks en faisant les premiers en terme d'utilisation réduite de la mémoire.
Oui d'ailleurs, je ne peux m’empêcher de voir de grosses similitudes entre le C++ et Rust:
Les boîtes partagées, les boîtes uniques et les pointeurs empruntes ressemblent follement au std::shared_ptr, std::auto_ptr et std::unique_ptr. Le mot clé "let" me fait furieusement penser au Javascript. L'exemple cité dans https://linuxfr.org/news/sortie-de-rust-en-version-0-3#comment-1370156 est un beau mélange entre du C++ (l'API de vector) et du Javascript (vector.each similaire à Array.forEach).
Ils y ont ajoutés des petits trucs sympas comme l'immutabilité, mais ils reconnaissent qu'elle n'est pas satisfaisante dans tous les cas (boucles) et permet donc de s'en passer.
Bref, je trouve que c'est un langage très intéressant pour Mozilla: Un mélange entre le meilleur du C++, le meilleur du Javascript, et des emprunts ciblés sur d'autres langages qui ont fait leurs preuves tels Erlang (immutabilités, lightweight threads, passage de messages). Cela permet de ne pas trop perturber les anciens et de réutiliser leurs compétences au maximum!
C'est un langage parfait pour Mozilla, ça ne m’étonnerait que ce soit eux qui l'aient fait. Ah… ben oui! ;)
[^] # Re: Inepties
Posté par djano . En réponse à la dépêche « Une génération perdue dans le bazar ». Évalué à 2.
Et j'ajouterai: mais pourquoi donc les utilisateurs demandent les fonctionnalités qui mènent au bloat et s'en plaignent ensuite? ^_^
# Pour réussir, faut-il être intelligent ou motivé ?
Posté par djano . En réponse à la dépêche De tout, de rien, des bookmarks, du bla‐bla #45. Évalué à 2.
Paul Graham a écrit un essai très intéressant sur ce même sujet: http://www.paulgraham.com/determination.html
# Firefox Uniquity
Posté par djano . En réponse à la dépêche De tout, de rien, des bookmarks, du bla‐bla #45. Évalué à 2.
Mozilla a ça avec le plugin Ubiquity pour Firefox: https://blog.mozilla.org/labs/2008/08/introducing-ubiquity/
C'est assez sympa!
[^] # Re: Vachement bien
Posté par djano . En réponse à la dépêche Weboob 0.d. Évalué à 2.
Oui, ça parait pas hyper compliqué de lister d'un coté les capacités de chaque module, les capacités consommées par chaque application de l'autre, puis une moulinette automatique génèrerait des page webs listant:
en partant du module, quelles applications permettent de l'utiliser, super pour savoir comment accéder a nos données
en partant de l'application, quels modules peuvent être utilises, super pour démontrer l’intérêt de weboob: une application générique peut taper dans plusieurs modules
[^] # Re: Les performances ?
Posté par djano . En réponse à la dépêche JRuby 1.7.0. Évalué à 3.
Et une explication du fonctionnement de invokedynamic ici:
http://blog.headius.com/2011/08/jruby-and-java-7-what-to-expect.html
[^] # Re: Les performances ?
Posté par djano . En réponse à la dépêche JRuby 1.7.0. Évalué à 2. Dernière modification le 25 octobre 2012 à 18:03.
Oui, je suis particulièrement curieux a propos des gains de performance d' invokedynamic
Tiens voici un petit graphique ici (a partir de la diapo 18):
https://docs.google.com/presentation/d/1-hA1tAF1ADdCzsIAEQCcVxl2YIieb4Xopm21Slx3XFE/edit?pli=1#slide=id.g860ad29_0_0
Résultat: Java 7 avec invokedynamic souvent 1.5x plus rapide que Java 7 sans invokedynamic
# comparaison taille API
Posté par djano . En réponse à la dépêche X.Org est mort, vive Wayland !. Évalué à 10.
On en reparlera dans 30 ans si W est toujours là! ^_^
[^] # Re: pubsubhubbub
Posté par djano . En réponse à la dépêche Meilleurs contributeurs LinuxFr.org : les gagnants de septembre 2012. Évalué à 2. Dernière modification le 23 octobre 2012 à 09:58.
Il semblerait que oui. D’après http://code.google.com/p/pubsubhubbub , pour que ton fonctionne efficacement, le client doit avoir une URL de callback pour être appelé depuis le hub. En voici d'ailleurs la preuve avec l'implementation du protocole dans Wordpress: http://en.blog.wordpress.com/2010/03/03/rub-a-dub-dub-in-the-pubsubhubbub/ .
Cependant, je suis sur que les hubs supporteront toujours les bons vieux clients RSS/Atom.
[^] # Re: Réellement efficace ?
Posté par djano . En réponse à la dépêche Mod_pagespeed : un accélérateur de pages Web. Évalué à 2.
Ça s'appelle un javascript minifier et beaucoup existent. Ils supprime les espaces non signifiants et obfusquent le code.
Il existe beaucoup de surcouches au JS (cappuccino) ou aux CSS (sass) qui font ces étapes également.
[^] # Re: pubsubhubbub
Posté par djano . En réponse à la dépêche Meilleurs contributeurs LinuxFr.org : les gagnants de septembre 2012. Évalué à 2.
Oui mais pas seulement:
[^] # Re: contributeur
Posté par djano . En réponse à la dépêche Circulaire du Premier ministre sur l’usage des logiciels libres dans l’Administration. Évalué à 2.
Ça me semble difficile a croire, et pourtant cela semble vrai:
https://en.wikipedia.org/wiki/StarOffice#History
[^] # Re: Vendeurs de téléphone
Posté par djano . En réponse à la dépêche Hadopi, Acte II : Vers l’économie de la connaissance. Évalué à 3. Dernière modification le 21 août 2012 à 09:32.
Ce que je vois c'est que les grosses entreprises françaises cherchent a maintenir des profits très élevés tout en faisant le minimum syndical en terme d'investissement, de R&D ou de prise de risque. Du coup lorsqu'arrive un acteur plus qui se bouge pour servir les clients et bien l'entreprise française se trouve bien embêtée. En France on a toujours privilégié les grosses entreprises soutenues par l'état et on a systématiquement cassé et taxé les PME/PMI innovantes. De toute manière elles ne sont bonnes qu'a être absorbée par les grosses entreprises.
Enfin, c'est la mentalité de nos dirigeants. Jamais l'on ne verra un Google/Facebook français (Ceci dit, ça ne me dérange pas pour Facebook)
[^] # Re: La doc est toujours utile
Posté par djano . En réponse au journal De tout, de rien, des liens, bla bla bla. Évalué à 3.
Une règle de base: commenter le pourquoi (WHY?) et pas le quoi (WHAT?).
Autrement dit: il faut commenter pourquoi le code fait ce qu'il fait plutôt que d'écrire un commentaire qui décrit ce que fait le code étape par étape, mais en moins bien que le code lui même (sans parler que ces commentaires deviennent rapidement obsolètes). Exemple (vécu probablement des centaines ou milliers de de fois):
[^] # Re: Documentation
Posté par djano . En réponse au journal De tout, de rien, des liens, bla bla bla. Évalué à 2.
En javadoc, {@inheritDoc} copie automatiquement la javadoc d'une méthode depuis l'interface/la super classe vers la méthode dans le sous type.
C'est pour ça que je ne documente que le clause @return.
[^] # Re: Gestionnaire de paquets
Posté par djano . En réponse à la dépêche GNU Emacs 24 est là !. Évalué à 2.
Ha ha ha ha ha ha ha ha!
Le problème que tu cites est lié a la librairie Yahoo UI qui a un problème avec l'implémentation JavaScript d'OpenJDK (Rhino) qui a un bug:
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/287035
http://sourceforge.net/tracker/index.php?func=detail&aid=2184760&group_id=165715&atid=836476
https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/255149
Tout ça pour ça! Merci pour la rigolade!
Bref, il n'y a donc aucun souci. Merci de le signaler!
[^] # Re: Durée du travail
Posté par djano . En réponse au journal De tout, de rien, des liens, du vrac (mais moins bookmarks cette fois). Évalué à 3.
Ça c'est typique d'un management qui vit par et pour les chiffres et n'accorde aucune place a la créativité humaine:
"You can't manage what you don't measure", ok, mais "Beware of what you ask, because you might well get what you ask for" :)
Et la typiquement, s'ils mesurent la présence, ils ne faudra pas s’étonner s'ils n'obtiennent que la présence :)
A contrario, je me souviens d'une boite qui faisait pointer les employés. Le jour ou ils ont voulu retirer les pointeuses, les employés ont protesté parce que du coup il allaient plus travailler :D
[^] # Re: En effet
Posté par djano . En réponse à la dépêche Petite rétrospective diversité, sexisme, harcèlement et humour vaseux. Évalué à 3.
J'ai regardé ceci:
http://fr.wikipedia.org/wiki/Principe_de_l%C3%A9galit%C3%A9_en_droit_p%C3%A9nal#Exceptions_au_principe_de_non_r.C3.A9troactivit.C3.A9
Et il semble qu'une modification du droit pénal ne puisse être rétroactive que dans le cas ou les peines deviendrait moins lourde. Dans tous les autres cas, elle ne peut pas être rétroactive.
Vraiment dommage dans le cas qui nous concerne :(
Vivement qu'une nouvelle loi soit adoptée pour que toute nouvelle infraction soit sanctionnée!
[^] # Re: En effet
Posté par djano . En réponse à la dépêche Petite rétrospective diversité, sexisme, harcèlement et humour vaseux. Évalué à 2.
Oui ça a du sens avec ce commentaire ci-dessous aussi:
https://linuxfr.org/news/petite-retrospective-diversite-sexisme-harcelement-et-humour-vaseux#comment-1371685
[^] # Re: En effet
Posté par djano . En réponse à la dépêche Petite rétrospective diversité, sexisme, harcèlement et humour vaseux. Évalué à 2.
Ah ah! Bien vu! :D
[^] # Re: Pfiouu
Posté par djano . En réponse à la dépêche Petite rétrospective diversité, sexisme, harcèlement et humour vaseux. Évalué à 0.
La américains sont extrêmement puritains, mais en même temps probablement le premier pays au monde pour le porno. Va comprendre…
Y a qu'a voir leur empressement a considérer une photo présentant le moindre carré de peau comme du porno, même si en fait ce n'est qu'une photo de charme. Très puritains je vous ai dit.
Voir aussi:
http://www.businessinsider.com/heres-why-it-really-sucks-to-be-an-app-reviewer-for-apple-2012-7#ixzz1zaB9ki4H
"La seule manière d'y arriver (NDT: trier un nombre important de photo) est de mettre la barre tellement loin des verges que même l'image d'un concombre est bloquée par accident."
Ma copine a du trier des photos pour un moteur de recherche, et bien ce n'est pas ragoutant du tout.
[^] # Re: En effet
Posté par djano . En réponse à la dépêche Petite rétrospective diversité, sexisme, harcèlement et humour vaseux. Évalué à 2.
Je suis d'accord, on ne peut pas laisser un texte qui est anti-constitutionnel.
Par contre, je m'associe aux victimes qui avaient utilisé la loi pour attaquer en justice leurs agresseurs et qui ont perdues toute chance d'obtenir justice lorsque le texte a été retiré.
Ce que je ne comprends pas, c'est pourquoi la nouvelle loi ne peut pas être rétroactive? Le gouvernement a essayé de le faire avec la fiscalité des heures supplémentaires. Pourquoi pas la aussi?
[^] # Re: avantage ?
Posté par djano . En réponse à la dépêche Sortie de Rust en version 0.3. Évalué à 4.
Merci, mais je n'ai pas besoin de cours de logique.
[^] # Re: avantage ?
Posté par djano . En réponse à la dépêche Sortie de Rust en version 0.3. Évalué à 3.
Moi je te dis que je le trouve bien plus rapide qu'avant.
Maintenant si "les gens" le trouvent lourd, je ne peux que leur conseiller de publier un bench qui le montre. Tu peux être sûr que les gens de Mozilla y seront attentifs si ce bench est représentatif.
Si "les gens" disaient aussi à quoi ils le comparent pour le trouver lourd, ça pourrait être pas mal.
Pour finir, "lourd" n'est pas une bien bonne description. Si "les gens" disaient par exemple que Firefox utilise trop de mémoire, de CPU ou bien qu'il lagge ou se bloque, ça permettrait peut être mieux de résoudre les problèmes "des gens".
Bref, ça ressemble juste à des "weasel words".
[^] # Re: avantage ?
Posté par djano . En réponse à la dépêche Sortie de Rust en version 0.3. Évalué à 6.
s/navigateurs/compilateurs/ ?
Déjà que les gens trouvent firefox lourd…
Trouvaient? Je trouve qu'il assure bien maintenant et j'ai vu passer des benchmarks en faisant les premiers en terme d'utilisation réduite de la mémoire.
[^] # Re: Une stratégie bizarre.
Posté par djano . En réponse à la dépêche Sortie de Rust en version 0.3. Évalué à 3. Dernière modification le 24 juillet 2012 à 08:32.
Oui d'ailleurs, je ne peux m’empêcher de voir de grosses similitudes entre le C++ et Rust:
Les boîtes partagées, les boîtes uniques et les pointeurs empruntes ressemblent follement au std::shared_ptr, std::auto_ptr et std::unique_ptr. Le mot clé "let" me fait furieusement penser au Javascript. L'exemple cité dans https://linuxfr.org/news/sortie-de-rust-en-version-0-3#comment-1370156 est un beau mélange entre du C++ (l'API de vector) et du Javascript (vector.each similaire à Array.forEach).
Ils y ont ajoutés des petits trucs sympas comme l'immutabilité, mais ils reconnaissent qu'elle n'est pas satisfaisante dans tous les cas (boucles) et permet donc de s'en passer.
Bref, je trouve que c'est un langage très intéressant pour Mozilla: Un mélange entre le meilleur du C++, le meilleur du Javascript, et des emprunts ciblés sur d'autres langages qui ont fait leurs preuves tels Erlang (immutabilités, lightweight threads, passage de messages). Cela permet de ne pas trop perturber les anciens et de réutiliser leurs compétences au maximum!
C'est un langage parfait pour Mozilla, ça ne m’étonnerait que ce soit eux qui l'aient fait. Ah… ben oui! ;)