Ah, et accessoirement, si Melodie est effectivement une femme, ce qui reste tout de même l'hypothèse la plus probable, ta remarque est très inappropriée, parce que dans le genre pas du tout accueillant, ce n'est pas mal comme remarque, de commencer par douter du sexe d'une personne, qui n'est pas du tout nouvelle ici d'ailleurs.
Là, dans l'ordre, on a :
nan mais faites gaffe, c'est une fille, si on la moinsse elle va partir (pas le genre de truc que j'apprécierais des masses, personnellement) ;
bah, de toute façon ce n'est peut-être pas une fille mais un type (sous-entendu un genre de pervers ?) qui veut se faire passer pour une femme.
On va dire que c'est vendredi, mais franchement on touche le fond, là !
Oui, et toi tu es peut-être un robot venu pour préparer l'extermination de l'humanité, auquel cas il ne faudrait surtout pas te parler.
Bref, on ne peut effectivement pas vérifier qui est qui, du coup une bonne règle me semble être de commencer par traiter chacun comme ce qu'il souhaite montrer qu'il est, ce qui est la seule chose qu'on en sait au départ.
Pas que Apache : c'est la définition même de CGI. Rien de tel pour FastCGI, qui est un protocole pour, non pas lancer des binaires, mais pour causer à un serveur d'exécution, en lui passant, non pas des variables d'environnement parce que ce n'est pas le serveur Web qui le lance, mais des variables tout court. Il est en revanche possible qu'un serveur FastCGI transforme ces variables en variables d'environnement pour les trucs qu'il lancera, mais je doute que ce soit utilisé en pratique, parce que ça reviendrait à faire du CGI.
C'est une blague, basée sur la situation d'origine (fictive) de quelqu'un qui serait pianiste dans un bordel, mais qui ferait croire à sa mère qu'il est [autre chose]. Là donc, cette situation est détournée, comme si utiliser systemd était vu comme quelque chose de honteux, et que l'auteur fasse donc croire à sa mère qu'il est pianiste dans un bordel, ce qui serait un métier honorable, plutôt qu'utilisateur de systemd.
Pour info, set -e est la norme pour les scripts liés à l'empaquetage Debian (genre le postinst d'un paquet).
À noter que la solution de mettre #! /bin/sh -e en tête de fichier n'est pas équivalente, parce qu'elle n'applique cette option qu'aux scripts lancés directement en ./script et non à ceux qu'on lancerait explicitement via un shell en sh script.
Je suis d'accord que cette tournure n'est pas géniale, mais bon, tu leur accordes tout de même que « depuis toujours » signifie en fait « depuis aussi longtemps que la chose est possible » hein :-)
Pour un peu, et on définirait cela comme « depuis que c'est vrai ». :-)
Par exemple : depuis toujours, nous sommes le vingt-trois septembre deux mille quatorze.
Sans parenthèses [ce] serait un appel a la fonction print_line avec trois arguments. Dans l'exemple les seules parenthèses inutiles sont celles autour de "mon_fichier.txt".
Oui, j'avais compris ça.
Et, en OCaml, hormis quelques built-in, les seules fonctions infixes sont celles formées uniquement de symboles, et elles sont déclarées avec des parenthèses autour let (<|) = …. Il n'y a pas de flexibilité à ce niveau.
Et il n'y en a pas forcément besoin d'ailleurs. Mais merci pour l'info, j'ignorais cela, et je dois dire que ça m'avais manqué, la possibilité de définir des opérateurs infixes.
Mes expériences avec Caml datent un peu, mais j'aime toujours bien ce langage !
Mais bon, ça reste toujours galère de gérer les fichiers avec des accents sous Linux, ne serait-ce parce qu'on peut avoir n (avec n grand) fichiers différents ayant tous le même nom unicode.
Hein, comment ça ? Deux fichiers ne peuvent pas avoir le même nom sur un même système de fichiers non…
Le mieux est encore d'aller voir la norme POSIX en question, mais en gros, c'est une extension X/Open, qui est parfois mise en œuvre de façon ambigüe, et qui est dangereuse à utiliser dans certains cas particuliers.
Ce qui est intéressant dans le Awk “de base” c'est qu'il offre une balance très claire entre performance et petite taille d'un côté et expressivité de l'autre.
Un équilibre, en français. Ou mieux, vu la phrase, un compromis. Une balance, ce n'est qu'un instrument qui sert à mesurer la masse.
Pareil, j'ai tiqué sur cette expression, dont les journalistes et autres politiciens abusent pas mal ces derniers temps, je trouve. D'ailleurs, toute utilisation de cette expression est un abus, techniquement parlant, le temps lui-même ayant eu un début selon les théories cosmologiques actuelles.
Et qu'il est conseillé d'utiliser plusieurs test joints par des && ou || plutôt qu'un seul test avec ses opérandes intégrées -a et -o, celles-ci étant vouées à la caducité à plus ou moins court terme.
La fonction echo n'est utile que pour afficher des messages de diagnostic, si la fonction printf est disponible, il faut toujours préférer cette dernière, qui est plus puissante et plus facile à utiliser!
Et qui est surtout portable, contrairement à echo, dont les mises en œuvre diffèrent de façon incompatible, entre celles intégrées aux shells et celles indépendantes ! Regardez notamment son option -e…
[^] # Re: Non mais oh!
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Le troll du jour. Évalué à 4.
Ah, et accessoirement, si Melodie est effectivement une femme, ce qui reste tout de même l'hypothèse la plus probable, ta remarque est très inappropriée, parce que dans le genre pas du tout accueillant, ce n'est pas mal comme remarque, de commencer par douter du sexe d'une personne, qui n'est pas du tout nouvelle ici d'ailleurs.
Là, dans l'ordre, on a :
On va dire que c'est vendredi, mais franchement on touche le fond, là !
[^] # Re: Non mais oh!
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Le troll du jour. Évalué à 8.
Oui, et toi tu es peut-être un robot venu pour préparer l'extermination de l'humanité, auquel cas il ne faudrait surtout pas te parler.
Bref, on ne peut effectivement pas vérifier qui est qui, du coup une bonne règle me semble être de commencer par traiter chacun comme ce qu'il souhaite montrer qu'il est, ce qui est la seule chose qu'on en sait au départ.
[^] # Re: Non mais oh!
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Le troll du jour. Évalué à 5.
C'est triste ton avis sur le réalisme.
[^] # Re: Et moi
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Ne dites pas à ma mère que j'ai installé systemd, elle croit que je suis pianiste dans un bordel.. Évalué à 3.
Et est-ce qu'elle doit utiliser systemd, ou est-ce que si elle utilise sysV init on la prend quand même ?
[^] # Re: Non mais oh!
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Le troll du jour. Évalué à 7.
C'est triste ton avis sur le sexisme.
[^] # Re: Debian Squeeze (version 6)
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Mets à jour ton bash. Maintenant.. Évalué à 7. Dernière modification le 25 septembre 2014 à 18:13.
Raison administrative : ce ne sont pas les mêmes équipes, et pas la même couverture en terme de paquets pris en charge.
Pour la même raison, en somme que le dépôt security est distinct des dépôts normaux de la distribution.
[^] # Re: Il est urgent de mettre à jour
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Mets à jour ton bash. Maintenant.. Évalué à 5. Dernière modification le 25 septembre 2014 à 17:57.
Pas que Apache : c'est la définition même de CGI. Rien de tel pour FastCGI, qui est un protocole pour, non pas lancer des binaires, mais pour causer à un serveur d'exécution, en lui passant, non pas des variables d'environnement parce que ce n'est pas le serveur Web qui le lance, mais des variables tout court. Il est en revanche possible qu'un serveur FastCGI transforme ces variables en variables d'environnement pour les trucs qu'il lancera, mais je doute que ce soit utilisé en pratique, parce que ça reviendrait à faire du CGI.
[^] # Re: Alternatives
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Mets à jour ton bash. Maintenant.. Évalué à 7.
Ben c'est à dire que s'il a le choix, il n'a pas besoin de cette faille pour faire ce qu'il veut !
[^] # Re: sinon...
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Ne dites pas à ma mère que j'ai installé systemd, elle croit que je suis pianiste dans un bordel.. Évalué à 3.
C'est ça.
[^] # Re: sinon...
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal Ne dites pas à ma mère que j'ai installé systemd, elle croit que je suis pianiste dans un bordel.. Évalué à 10.
C'est une blague, basée sur la situation d'origine (fictive) de quelqu'un qui serait pianiste dans un bordel, mais qui ferait croire à sa mère qu'il est [autre chose]. Là donc, cette situation est détournée, comme si utiliser systemd était vu comme quelque chose de honteux, et que l'auteur fasse donc croire à sa mère qu'il est pianiste dans un bordel, ce qui serait un métier honorable, plutôt qu'utilisateur de systemd.
[^] # Re: Et le set ?
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 6.
Pour info,
set -e
est la norme pour les scripts liés à l'empaquetage Debian (genre le postinst d'un paquet).À noter que la solution de mettre
#! /bin/sh -e
en tête de fichier n'est pas équivalente, parce qu'elle n'applique cette option qu'aux scripts lancés directement en./script
et non à ceux qu'on lancerait explicitement via un shell ensh script
.[^] # Re: E-commerce: solutions open source vs solutions propriétaires
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue de presse de l'April pour la semaine 38 de l'année 2014. Évalué à 3.
Ah, le bon vieux temps où on pouvait compter le timestamp sur ses doigts ! Hélas, ça n'a pas duré longtemps, tout fout le camp…
[^] # Re: E-commerce: solutions open source vs solutions propriétaires
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue de presse de l'April pour la semaine 38 de l'année 2014. Évalué à 6. Dernière modification le 23 septembre 2014 à 16:38.
Pour un peu, et on définirait cela comme « depuis que c'est vrai ». :-)
Par exemple : depuis toujours, nous sommes le vingt-trois septembre deux mille quatorze.
[^] # Re: ma vie
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au message Postfix - envoi depuis l'extérieur authentifié. Évalué à 3.
Ah ben ça, tu n'as pas le choix, Postfix a besoin d'un serveur SASL externe, Dovecot ou Cyrus.
[^] # Re: Presque d'accord ...
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 4.
Oui, j'avais compris ça.
Et il n'y en a pas forcément besoin d'ailleurs. Mais merci pour l'info, j'ignorais cela, et je dois dire que ça m'avais manqué, la possibilité de définir des opérateurs infixes.
Mes expériences avec Caml datent un peu, mais j'aime toujours bien ce langage !
[^] # Re: Presque d'accord ...
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 3.
Depuis quand utilise-t-on tant de parenthèses en Caml ?
Quant à cette fonction, elle est visiblement infixe, ce qui vaut la peine d'être mentionné tout de même !
[^] # Re: Gestion des dates
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 5.
Hein, comment ça ? Deux fichiers ne peuvent pas avoir le même nom sur un même système de fichiers non…
[^] # Re: Gestion des dates
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 4.
Ce n'est pas obsolète, mais c'est du pur Bash, pas portable.
[^] # Re: Lire les recommandations POSIX!
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 3.
Le mieux est encore d'aller voir la norme POSIX en question, mais en gros, c'est une extension X/Open, qui est parfois mise en œuvre de façon ambigüe, et qui est dangereuse à utiliser dans certains cas particuliers.
[^] # Re: Presque d'accord ...
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 7. Dernière modification le 23 septembre 2014 à 09:15.
Un équilibre, en français. Ou mieux, vu la phrase, un compromis. Une balance, ce n'est qu'un instrument qui sert à mesurer la masse.
[^] # Re: E-commerce: solutions open source vs solutions propriétaires
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue de presse de l'April pour la semaine 38 de l'année 2014. Évalué à 5. Dernière modification le 23 septembre 2014 à 09:12.
Pareil, j'ai tiqué sur cette expression, dont les journalistes et autres politiciens abusent pas mal ces derniers temps, je trouve. D'ailleurs, toute utilisation de cette expression est un abus, techniquement parlant, le temps lui-même ayant eu un début selon les théories cosmologiques actuelles.
[^] # Re: Lire les recommandations POSIX!
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 5.
Et qu'il est conseillé d'utiliser plusieurs
test
joints par des&&
ou||
plutôt qu'un seultest
avec ses opérandes intégrées-a
et-o
, celles-ci étant vouées à la caducité à plus ou moins court terme.# echo
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse à la dépêche Revue des techniques de programmation en shell. Évalué à 10.
Et qui est surtout portable, contrairement à
echo
, dont les mises en œuvre diffèrent de façon incompatible, entre celles intégrées aux shells et celles indépendantes ! Regardez notamment son option -e…[^] # Re: Autorité de la concurrence
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal publicité mensongère de Google contre le libre. Évalué à 1.
Le message en question ressemble quand même furieusement à une publicité pour Google, avec une fonte qui va bien, un aspect plat et simple…
Un site simplement codé avec les pieds, ça affiche un message d'erreur beaucoup moins « marketing ».
[^] # Re: Autorité de la concurrence
Posté par 🚲 Tanguy Ortolo (site web personnel) . En réponse au journal publicité mensongère de Google contre le libre. Évalué à 5.
Relis.