Bref, je ne sais pas trop quelle autre information il te faut : ton navigateur est patché, c'est bien mais faut que ton LibreOffice le soit passé, et certainement d'autres. Ce n'est pas un problème confiné à Chrome…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Maintenant, le but de l’étude n’était pas de comparer des langages entre eux (juste en vitesse) mais de tenter d’évaluer leur efficacité énergétique. « The goal of being able to rank programming languages based on their energy efficiency is both recent, and certainly deserves further studies. » Sur ce point, la vitesse n’est visiblement pas toujours ce qu’il y a de mieux. « Our results show interesting findings, such as how slower/faster languages can consume less/more energy, and how memory usage influences energy consumption. »
Et pourquoi pas PyPy ou pas telle variante est expliqué aussi. « We have taken rigorous and strict solutions to 10 well defined programming problems, expressed in (up to) 27 programming languages, from the well known Computer Language Benchmark Game repository. » Ceci dit, tu peux refaire les tests voir si ce sera plus écoresponsable : https://github.com/greensoftwarelab/Energy-Languages
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
« Even Ubuntu - one of the slowest Linux distributions wipes the floor with windows. Even without huge optimizations that are present in the newest kernels and with the worst CPU governor. »
Et y en a qui croient toujours que GNU/Linux n'est pas prêt pour le desktop :p
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
« Insomnia is an open-source, cross-platform API client for GraphQL, REST, WebSockets, Server-sent events and gRPC. » qu’ils disent…
« Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster. » dixit… Mais, mais, « Easily store, catalog, and collaborate around all your API artifacts on one central platform. Postman can store and manage API specifications, documentation, workflow recipes, test cases and results, metrics, and everything else related to APIs. » Et bam, faut passer par leur plateforme et on reproduit les problèmes des trucs de Claude : vos données, notre propriété, votre location…
Après, pas étonnant que des acteurs partageant le même marché aient peu ou prou les mêmes mauvaises pratiques tant que ça marche.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Déjà sur le fondement il a tort car le mail est du plain text :) Quand on fait du format multiple, comme permis par MIME, il faut d'une part la partie juste texte et d'autre part les autres parties ne sont pas obligatoirement HTML (rien n'interdit de mettre du Markdown, du BBCode, du Gemini, du RTF, etc.)
En faisant attention à la fin de son billet, on voit qu'il nous vend sa came…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
La fusion de pdf1 ayant sa table des matières et pdf2 ayant la sienne est des plus étranges quand on fait une concaténation simple.
Mieux, on peut réarranger les pages avec certains outils, mais le résultat n'est pas toujours convaincant avec les signets et les tables de matières. En tout cas dans mes essais.
On peut avoir aussi pdf1 qui se termine par trois lignes sur une page et qu'on a envie de fusionner avec pdf2 qui ne comporte qu'une page de cinq lignes.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Aucun formulaire visible sur les pages en question.
Ça par contre c'est étrange (ou alors firefox est bogué/inoptimisé dans le sens où ça interroge systématiquement le gestionnaire de mots de passe sur toutes les pages.) Faudra que t'affiches les sources de la page et cherche voir s'il n'y a pas de balise <input
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
En espérant ne pas dire de grosse bêtise (parce-qu'il peut y avoir une différence entre ce que l'on croit et le code source et/ou la doc), normalement ton navigateur n'envoie pas de donnée… : quand il y a un formulaire, ça va juste auto-compléter les champs nom/login/email/id/whatever et pass/key/whatever mais ce sera à toi d'envoyer après avoir éventuellement corrigé. https://support.mozilla.org/gl/questions/1350296
Tu peux aussi désactiver le remplissage ; le navigateur t'indiquera juste qu'il a les informations quand tu te positionneras dans les champs correspondants (et toujours pas d'envoi dans ton dos.) https://support.mozilla.org/en-US/kb/autofill-logins-firefox
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
(c'est visiblement plus courant qu'on peut le croire) : y a des gens à qui le texte ne parle pas…
Tiens, est-ce que ce ne serait pas lié à des troubles dys (diagnostiqués ou pas) ?
La complexité des orthographes ajoute aussi une barrière qui n’est pas présente à l’oral (où on a les plutôt des problèmes d’accents mais que nous gérons bien mieux…)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
On retrouve la même problématique (en PDF) avec tous les exemples listés… Les automates font de la concaténation bête et méchante et ne conviennent donc pas pour tous les scénarios.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Le comportement est normal parce-que ton navigateur a besoin que le gestionnaire de mdp soit désactivé pour pouvoir vérifier si le domaine est recensé, et si c'est le cas te proposer la complétion…
Je dirai que c'est un bogue si Firefox le fait systématiquement en arrivant sur une page.
Cette fonctionnalité ne devrait s'activer que s'il y a un formulaire sur la page…
Un tel comportement n'est-il pas suspect ?
Si tu ne vois pas de formulaire sur la page, alors c'est suspect parce-que ça voudra dire que c'est caché/masqué à tes yeux (mais le moteur du navigateur l'a vu.)
Bon, faudrait aussi que le navigateur ne prenne pas tous les formulaires pour argent comptant : une boîte de recherche ne devrait pas déclencher le mécanisme mais facile à dire.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Ça tombe bien, c'est ce que veut faire le script (en tout cas je ne vois pas vraiment de différence) : une consultation finale quotidienne avec recopie d'une valeur présente sur la page. À moins que prendre note de ce qu'il y a sur la page ou même consulter la page soit contraire aux conditions ? C'est abusé et certainement illégal tout ce verbiage.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Rien que pour le premier paragraphe, il y en a qui poussent encore plus loin avec leurs application en electron (merci la novlang, le plus que macroscopique est devenu gigantesque et le plus que léger est devenu d'un pesant) ; parait que c’est ça le progrès en marche.
Quoi, ce n’est pas encore vendredi ? Pas grave, faites chauffer les commentaires.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
Je pense que tout formateur de code n’opère que sur des familles de syntaxe précises et ne touche pas aux autres sources. Je pense aussi qu’il y a peu de chance que la sémantique du programme soit modifiée par ces outils…
Pour donner un exemple de boxon auquel j’ai été confronté, j’ai eu à travailler sur un code Python en ayant utilisé des outils de formatage automatique selon les bonnes pratiques. Sauf, que je le faisais automatiquement avant de faire un commit (du coup, je ne voyais pas que pour avoir juste modifié une ligne tout le fichier a été modifié avec de la mise en forme.) En face, un des fichiers était souvent modifié par un autre dev qui avait une configuration qui indentait avec six espaces (c’était plus lisible pour lui.) Le jour où je suis allé voir sur le Gitlab c’était un bordel sans nom avec ce fichier.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: libwebp
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien LibreOffice 7.6.2 and 7.5.7 Released to Address Critical WebP Vulnerability. Évalué à 4. Dernière modification le 29 septembre 2023 à 11:46.
Je n’ai pas compris. Dans les commentaires précédents on posait justement a question des navigateurs non mainstream, de snap et flatpack, etc.
Sinon tu as le changelog officiel aussi qui te redit que LibO était impacté indépendamment aussi → https://wiki.documentfoundation.org/Releases/7.6.2/RC1 et https://wiki.documentfoundation.org/Releases/7.5.7/RC1
Bref, je ne sais pas trop quelle autre information il te faut : ton navigateur est patché, c'est bien mais faut que ton LibreOffice le soit passé, et certainement d'autres. Ce n'est pas un problème confiné à Chrome…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Je ne suis pas sûr que les logiciels libres soient moins consommateurs de ressources CPU/Mém
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Cailloux, joujoux, bijoux. Évalué à 2.
C’est bizarre, parce-que dans les liens recommandés (en faisant fi du fait que ça parle de tout le web qu’importe que la pile soit à base de NodeJS ou de Servlet JEE ou de Django ou autre) du commentaire initial il est justement fait le constat que l’on ne va plus « vraiment chercher à optimiser » et pourtant c’est « en production » et on rafistole ou rajoute de la ressource matériel avant de passer à une nouvelle hype. Ce n’est pas pour rien que le monde du logiciel est en train de prendre une pente merdique.
Mais j’avais déjà noté la levée de boucliers quand son langage favori n’est pas en tête, c’est certainement humain.
Maintenant, le but de l’étude n’était pas de comparer des langages entre eux (juste en vitesse) mais de tenter d’évaluer leur efficacité énergétique. « The goal of being able to rank programming languages based on their energy efficiency is both recent, and certainly deserves further studies. » Sur ce point, la vitesse n’est visiblement pas toujours ce qu’il y a de mieux. « Our results show interesting findings, such as how slower/faster languages can consume less/more energy, and how memory usage influences energy consumption. »
Et pourquoi pas PyPy ou pas telle variante est expliqué aussi. « We have taken rigorous and strict solutions to 10 well defined programming problems, expressed in (up to) 27 programming languages, from the well known Computer Language Benchmark Game repository. » Ceci dit, tu peux refaire les tests voir si ce sera plus écoresponsable : https://github.com/greensoftwarelab/Energy-Languages
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: libwebp
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien LibreOffice 7.6.2 and 7.5.7 Released to Address Critical WebP Vulnerability. Évalué à 3. Dernière modification le 29 septembre 2023 à 09:35.
Voir les commentaires : il reste le souci de tous les programmes qui l’embarque.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: La version Gaston Lagaffe
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Avoir l'alarme à l'oeil. Évalué à 3.
Il faut un chat farouche (aux étrangers) et des cactus…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Je ne suis pas sûr que les logiciels libres soient moins consommateurs de ressources CPU/Mém
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Cailloux, joujoux, bijoux. Évalué à 2.
Les détails sont dans les liens (pas le tableau en image) et il s'agit de pur Py. Mais je me doutais que ça n'allais pas te plaire…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Je ne suis pas sûr que les logiciels libres soient moins consommateurs de ressources CPU/Mém
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Cailloux, joujoux, bijoux. Évalué à 3.
cadeau bonus … ;)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: écoles, universités, apprentissage : lire ou regarder?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Cailloux, joujoux, bijoux. Évalué à 2.
Il faudra probablement faire appel au scaphandre (: et afficher les énergivores sur le mur de la honte.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: il est ou le problème ?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Guide d'openwashing : comment passer d'un projet opensource à un logiciel bridé et privateur ?. Évalué à 2.
À voir si les gens ont pu downgrader…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
# un bon résumé ?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Ubuntu 23.10 bat Windows 11 Pro sur 64% des tests de performance de Phoronix 😜. Évalué à 8.
« Even Ubuntu - one of the slowest Linux distributions wipes the floor with windows. Even without huge optimizations that are present in the newest kernels and with the worst CPU governor. »
Et y en a qui croient toujours que GNU/Linux n'est pas prêt pour le desktop :p
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Précédemment sur Linuxfr
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Why Does Email Development Have to Suck?. Évalué à 4.
T'as pas de bol, ça se passe très bien "chez moi"™
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Contexte ?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Guide d'openwashing : comment passer d'un projet opensource à un logiciel bridé et privateur ?. Évalué à 4.
« Insomnia is an open-source, cross-platform API client for GraphQL, REST, WebSockets, Server-sent events and gRPC. » qu’ils disent…
« Postman is an API platform for building and using APIs. Postman simplifies each step of the API lifecycle and streamlines collaboration so you can create better APIs—faster. » dixit… Mais, mais, « Easily store, catalog, and collaborate around all your API artifacts on one central platform. Postman can store and manage API specifications, documentation, workflow recipes, test cases and results, metrics, and everything else related to APIs. » Et bam, faut passer par leur plateforme et on reproduit les problèmes des trucs de Claude : vos données, notre propriété, votre location…
Après, pas étonnant que des acteurs partageant le même marché aient peu ou prou les mêmes mauvaises pratiques tant que ça marche.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Curieux
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Pony is a Python ORM with beautiful query syntax. Évalué à 2.
Oui, l'idée de leur ORM est de pouvoir utiliser directement les itérateurs et de ne pas causer SQL directement (ça me perturbe un peu parce-que je parle assez bien l'autre langue d'une part et que je n'ai pas l'esprit très pythonic d'autre part.) Le principe de la traduction/transcription a été décrit en détail sur SO en 2013 par un des auteurs…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Pas convaincu
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Why Does Email Development Have to Suck?. Évalué à 7.
Déjà sur le fondement il a tort car le mail est du plain text :) Quand on fait du format multiple, comme permis par MIME, il faut d'une part la partie juste texte et d'autre part les autres parties ne sont pas obligatoirement HTML (rien n'interdit de mettre du Markdown, du BBCode, du Gemini, du RTF, etc.)
En faisant attention à la fin de son billet, on voit qu'il nous vend sa came…
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: préciser le besoin
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message multiple/série de odt, concaténer/fusionner?. Évalué à 2.
La fusion de pdf1 ayant sa table des matières et pdf2 ayant la sienne est des plus étranges quand on fait une concaténation simple.
Mieux, on peut réarranger les pages avec certains outils, mais le résultat n'est pas toujours convaincant avec les signets et les tables de matières. En tout cas dans mes essais.
On peut avoir aussi pdf1 qui se termine par trois lignes sur une page et qu'on a envie de fusionner avec pdf2 qui ne comporte qu'une page de cinq lignes.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: SQLAlchemy
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Pony is a Python ORM with beautiful query syntax. Évalué à 2.
Sur la page d'accueil, presqu'au milieu à droite, on lit :
En gros, de ma compréhension, on a ceci avec PonyORM
Cela ressemblerait, grosso-modo, sous SQLAlchemy à :
Et dans l'exemple sur la page ce serait quelque chose comme ? (j'ai un petit doute)
https://docs.ponyorm.org/queries.html
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: non mais oui XD
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Gestion des mots de passe par Firefox. Évalué à 4.
Ça par contre c'est étrange (ou alors firefox est bogué/inoptimisé dans le sens où ça interroge systématiquement le gestionnaire de mots de passe sur toutes les pages.) Faudra que t'affiches les sources de la page et cherche voir s'il n'y a pas de balise
<input
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: non mais oui XD
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Gestion des mots de passe par Firefox. Évalué à 4.
En espérant ne pas dire de grosse bêtise (parce-qu'il peut y avoir une différence entre ce que l'on croit et le code source et/ou la doc), normalement ton navigateur n'envoie pas de donnée… : quand il y a un formulaire, ça va juste auto-compléter les champs nom/login/email/id/whatever et pass/key/whatever mais ce sera à toi d'envoyer après avoir éventuellement corrigé. https://support.mozilla.org/gl/questions/1350296
Tu peux aussi désactiver le remplissage ; le navigateur t'indiquera juste qu'il a les informations quand tu te positionneras dans les champs correspondants (et toujours pas d'envoi dans ton dos.) https://support.mozilla.org/en-US/kb/autofill-logins-firefox
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Titre trollesque ?
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Writing is Objectively Superior to Speaking as a Communication Method. Évalué à 2.
Tiens, est-ce que ce ne serait pas lié à des troubles dys (diagnostiqués ou pas) ?
La complexité des orthographes ajoute aussi une barrière qui n’est pas présente à l’oral (où on a les plutôt des problèmes d’accents mais que nous gérons bien mieux…)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: préciser le besoin
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message multiple/série de odt, concaténer/fusionner?. Évalué à 2.
On retrouve la même problématique (en PDF) avec tous les exemples listés… Les automates font de la concaténation bête et méchante et ne conviennent donc pas pour tous les scénarios.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
# non mais oui XD
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Gestion des mots de passe par Firefox. Évalué à 8.
Le comportement est normal parce-que ton navigateur a besoin que le gestionnaire de mdp soit désactivé pour pouvoir vérifier si le domaine est recensé, et si c'est le cas te proposer la complétion…
Je dirai que c'est un bogue si Firefox le fait systématiquement en arrivant sur une page.
Cette fonctionnalité ne devrait s'activer que s'il y a un formulaire sur la page…
Si tu ne vois pas de formulaire sur la page, alors c'est suspect parce-que ça voudra dire que c'est caché/masqué à tes yeux (mais le moteur du navigateur l'a vu.)
Bon, faudrait aussi que le navigateur ne prenne pas tous les formulaires pour argent comptant : une boîte de recherche ne devrait pas déclencher le mécanisme mais facile à dire.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Pas forcément autorisé
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Extraction de données d'une page web. Évalué à 2.
Ah ouais ? Je ne les ai pas compris comme ça… :s
Y des juristes dans la place pour nous éclairer ?
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Attention ... lisez les CGU des sites avant de dire que vous allez faire un truc interdit !
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au message Extraction de données d'une page web. Évalué à 3. Dernière modification le 27 septembre 2023 à 21:02.
Ça tombe bien, c'est ce que veut faire le script (en tout cas je ne vois pas vraiment de différence) : une consultation finale quotidienne avec recopie d'une valeur présente sur la page. À moins que prendre note de ce qu'il y a sur la page ou même consulter la page soit contraire aux conditions ? C'est abusé et certainement illégal tout ce verbiage.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Super, joyeux anniversaire vieux Gnou mal léché
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Le projet GNU fête ses 40 ans. Évalué à 3.
Merci, vous m’en mettrez quatre dizaines ;)
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: Je ne suis pas sûr que les logiiels libres soient moins consommateurs de ressources CPU/Mém
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au journal Cailloux, joujoux, bijoux. Évalué à 5. Dernière modification le 27 septembre 2023 à 18:02.
Rien que pour le premier paragraphe, il y en a qui poussent encore plus loin avec leurs application en electron (merci la novlang, le plus que macroscopique est devenu gigantesque et le plus que léger est devenu d'un pesant) ; parait que c’est ça le progrès en marche.
Quoi, ce n’est pas encore vendredi ? Pas grave, faites chauffer les commentaires.
“It is seldom that liberty of any kind is lost all at once.” ― David Hume
[^] # Re: L'IDE fait le travail
Posté par Gil Cot ✔ (site web personnel, Mastodon) . En réponse au lien Tabs are objectively better than spaces. Évalué à 2.
Je pense que tout formateur de code n’opère que sur des familles de syntaxe précises et ne touche pas aux autres sources. Je pense aussi qu’il y a peu de chance que la sémantique du programme soit modifiée par ces outils…
Pour donner un exemple de boxon auquel j’ai été confronté, j’ai eu à travailler sur un code Python en ayant utilisé des outils de formatage automatique selon les bonnes pratiques. Sauf, que je le faisais automatiquement avant de faire un
commit
(du coup, je ne voyais pas que pour avoir juste modifié une ligne tout le fichier a été modifié avec de la mise en forme.) En face, un des fichiers était souvent modifié par un autre dev qui avait une configuration qui indentait avec six espaces (c’était plus lisible pour lui.) Le jour où je suis allé voir sur le Gitlab c’était un bordel sans nom avec ce fichier.“It is seldom that liberty of any kind is lost all at once.” ― David Hume