]> nos-oignons.net Git - website.git/commitdiff
ajout actualite A/I - traduction 4 master
authorned <ned@zen>
Wed, 23 Sep 2026 19:42:01 +0000 (21:42 +0200)
committerned <ned@zen>
Wed, 23 Sep 2026 19:42:01 +0000 (21:42 +0200)
Actualités/20260923_soutien_AI.en.po [new file with mode: 0644]
Actualités/20260923_soutien_AI.mdwn [new file with mode: 0644]
Actualités/20260923_soutien_AI/solidarieta-ad-autisticiinventati.jpg [new file with mode: 0644]
assets/bw_graphs.js
assets/relays.js
assets/weights_graphs.js

diff --git a/Actualités/20260923_soutien_AI.en.po b/Actualités/20260923_soutien_AI.en.po
new file mode 100644 (file)
index 0000000..813db2f
--- /dev/null
@@ -0,0 +1,112 @@
+# SOME DESCRIPTIVE TITLE
+# Copyright (C) YEAR Free Software Foundation, Inc.
+# This file is distributed under the same license as the PACKAGE package.
+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: PACKAGE VERSION\n"
+"POT-Creation-Date: 2026-09-23 21:31+0200\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#. type: Plain text
+#, no-wrap
+msgid "[[!meta title=\"Soutien à Autistici/Inventati\"]]\n"
+msgstr "[[!meta title=\"Support to Autistici/Inventati\"]]\n"
+
+#. type: Plain text
+#, no-wrap
+msgid "[[!meta date=\"2026-09-23 20:02:42\"]]\n"
+msgstr ""
+
+#. type: Plain text
+#, no-wrap
+msgid "Soutien à Autistici/Inventati, hébergeur désigné comme « terroriste » par l’administration Trump                         \n"
+msgstr "Support to Autistici/Inventati, host named “terrorist” by Trump administration \n"
+
+#. type: Plain text
+msgid ""
+"Nos oignons s'associe aux nombreuses organisations signataires de la [lettre "
+"ouverte publiée sur Sabot Media](https://sabot.media/post/open-letter-ai) "
+"dénonçant la répression dont est victime Autistici/Inventati, hébergeur "
+"associatif italien, de la part du gouvernement états-unien.  Une [traduction "
+"française de cette lettre a été publiée par la Quadrature du Net](https://"
+"www.laquadrature.net/2026/09/01/soutien-a-autistici-inventati-hebergeur-"
+"designe-comme-terroriste-par-ladministration-trump/)."
+msgstr ""
+"Nos oignons associates with the many organizations that have signed the "
+"[open letter published on Sabot Media](https://sbot.media/post/open-letter-"
+"ai) denouncing the repression against which Autistici/Inventati, an Italian "
+"community host, is subjected to by the US government.A [French translation "
+"of this letter was published by the Quadrature du Net](https://"
+"www.laquadrature.net/2026/09/01/soutien-a-autistici-inventati-hebergeur-"
+"designe-comme-terroriste-par-ladministration-trump/)."
+
+#. type: Plain text
+msgid ""
+"En tant qu’organisation de défense des droits humains et numériques, Nos "
+"oignons apporte tout son soutien au collectif Autistici/Inventati."
+msgstr ""
+"As a human and digital rights organization, Nos oignons lend it's full "
+"support to the Autistici/Inventati collective."
+
+#. type: Plain text
+msgid ""
+"Depuis la publication de cette lettre, le collectif a résisté quelques "
+"jours, mais [a fini par renoncer à prolonger ses activités](https://"
+"keepitfree.ai/announcements/a/i-shuts-down-stay-human/), ne souhaitant pas "
+"poursuivre une résistance qui menaçait leurs fournisseurs, ainsi que ses "
+"membres et leurs proches, y compris sur des plans extra-légaux…"
+msgstr ""
+"Since the publication of this letter, the collective has resisted a few "
+"days, but [has ended giving up maintaining activities](https://"
+"keepitfree.ai/announcements/a/i-shuts-down-stay-human/), not wishing to "
+"pursue a resistance that threatened its members and their relatives, "
+"including on extra-legal levels…"
+
+#. type: Plain text
+msgid ""
+"Le collectif a finalement lancé [un appel à ce que des initiatives "
+"similaires prolifèrent](https://keepitfree.ai/announcements/go-forth-and-"
+"multiply-may-10-100-1000-servers-spark-up/) en réponse à ces menaces : "
+"« Autistici/Inventati ce n'est pas seulement nous. Autistici/Inventati peut "
+"mourir, mais des milliers sont déjà nés et des milliers d'autres vont se "
+"lever. Allons-y et multiplions-nous ! »"
+msgstr ""
+"The collective finally launched [a call for similar initiatives to "
+"proliferate](https://keepitfree.ai/announcements/go-forth-and-multiply-"
+"may-10-100-1000-servers-spark-up/) in response to these threats:\"Autistici/"
+"Inventati is not just us. Autistici/Inventati can die, but thousands are "
+"already born and thousands more will rise. Go forth and multiply!\""
+
+#. type: Plain text
+msgid ""
+"Un appel soutenu et relayé par Nos oignons : créez des collectifs, ou, à "
+"défaut, soutenez ceux qui existent déjà !"
+msgstr ""
+"We, at Nos oignons, support and relay this call to action: create "
+"collectives, or at least support existing ones!"
+
+#. type: Plain text
+#, fuzzy
+#| msgid ""
+#| "![\"solidarieta ad autistici/inventati\" par Elena Mistrello](solidarieta-"
+#| "ad-autisticiinventati.jpg)  - \"Solidarieta ad autistici/inventati\" par "
+#| "Elena Mistrello"
+msgid ""
+"![\"solidarieta ad autistici/inventati\" par Elena Mistrello](solidarieta-ad-"
+"autisticiinventati.jpg)  - [\"Solidarieta ad autistici/inventati\" par Elena "
+"Mistrello](https://elenamistrello.com/2026/09/02/solidarieta-ad-"
+"autisticiinventati/)"
+msgstr ""
+"![\"solidarieta ad autistici/inventati\" by Elena Mistrello](solidarieta-ad-"
+"autisticiinventati.jpg)  - [\"Solidarieta ad autistici/inventati\" by Elena "
+"Mistrello](https://elenamistrello.com/2026/09/02/solidarieta-ad-"
+"autisticiinventati/)"
diff --git a/Actualités/20260923_soutien_AI.mdwn b/Actualités/20260923_soutien_AI.mdwn
new file mode 100644 (file)
index 0000000..2b198d5
--- /dev/null
@@ -0,0 +1,20 @@
+[[!meta title="Soutien à Autistici/Inventati"]]
+[[!meta date="2026-09-23 20:02:42"]]
+
+Soutien à Autistici/Inventati, hébergeur désigné comme « terroriste » par l’administration Trump                         
+        
+Nos oignons s'associe aux nombreuses organisations signataires de la [lettre ouverte publiée sur Sabot Media](https://sabot.media/post/open-letter-ai) dénonçant la répression dont est victime Autistici/Inventati, hébergeur associatif italien, de la part du gouvernement états-unien. 
+Une [traduction française de cette lettre a été publiée par la Quadrature du Net](https://www.laquadrature.net/2026/09/01/soutien-a-autistici-inventati-hebergeur-designe-comme-terroriste-par-ladministration-trump/).
+
+En tant qu’organisation de défense des droits humains et numériques, Nos oignons apporte tout son soutien au collectif Autistici/Inventati.
+
+Depuis la publication de cette lettre, le collectif a résisté quelques jours, mais [a fini par renoncer à prolonger ses activités](https://keepitfree.ai/announcements/a/i-shuts-down-stay-human/), ne souhaitant pas poursuivre une résistance qui menaçait leurs fournisseurs, ainsi que ses membres et leurs proches, y compris sur des plans extra-légaux…
+
+Le collectif a finalement lancé [un appel à ce que des initiatives similaires prolifèrent](https://keepitfree.ai/announcements/go-forth-and-multiply-may-10-100-1000-servers-spark-up/) en réponse à ces menaces :
+« Autistici/Inventati ce n'est pas seulement nous. Autistici/Inventati peut mourir, mais des milliers sont déjà nés et des milliers d'autres vont se lever. Allons-y et multiplions-nous ! » 
+
+Un appel soutenu et relayé par Nos oignons : créez des collectifs, ou, à défaut, soutenez ceux qui existent déjà !
+
+!["solidarieta ad autistici/inventati" par Elena Mistrello](solidarieta-ad-autisticiinventati.jpg)
+- ["Solidarieta ad autistici/inventati" par Elena Mistrello](https://elenamistrello.com/2026/09/02/solidarieta-ad-autisticiinventati/)
+
diff --git a/Actualités/20260923_soutien_AI/solidarieta-ad-autisticiinventati.jpg b/Actualités/20260923_soutien_AI/solidarieta-ad-autisticiinventati.jpg
new file mode 100644 (file)
index 0000000..5f5dedc
Binary files /dev/null and "b/Actualit\303\251s/20260923_soutien_AI/solidarieta-ad-autisticiinventati.jpg" differ
index ee0eb377058765cd5d9925ba2f6fded1433b89e3..8091271c302c3b659a7f415a075c28477025fa32 100644 (file)
@@ -57,8 +57,8 @@ BwDrawer.extract_values = function(history, interval, minTime, maxTime) {
 }
 
 BwDrawer.color = d3.scale.ordinal();
-BwDrawer.color.domain(nos_oignons_relays.map(function(r) {return r.fingerprint}));
-BwDrawer.color.range(nos_oignons_relays.map(function(r) {return r.color}));
+BwDrawer.color.domain(nos_oignons_groups.map(function(g) {return g.name}));
+BwDrawer.color.range(nos_oignons_groups.map(function(g) {return g.color}));
 
 BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
   // Purge non running relays
@@ -97,6 +97,8 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
     }
   });
 
+  var relayIndex = buildRelayIndex(raw_data.relays);
+
   var bw_data = {};
   BwDrawer.periods.map(function(p) { return p.id; }).forEach(function(period) {
     var interval = d3.max(raw_data.relays, function(d) {
@@ -120,20 +122,19 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
     var maxReadBandwidth = 0;
     var maxWriteBandwidth = 0;
 
-    var values = BwDrawer.color.domain().map(function(fingerprint) {
-      var relay_data = raw_data["relays"].filter(function(d) { return d.fingerprint == fingerprint; })[0];
-      var read_history = relay_data['read_history'][period];
-      var write_history = relay_data['write_history'][period];
-      var read_values = BwDrawer.extract_values(read_history, interval, minTime, maxTime);
-      var write_values = BwDrawer.extract_values(write_history, interval, minTime, maxTime);
-
-      maxReadBandwidth = maxReadBandwidth + d3.max(read_values, function(d) { return d.y; });
-      maxWriteBandwidth = maxWriteBandwidth + d3.max(write_values, function(d) { return d.y; });
-
+    var values = nos_oignons_groups.map(function(group) {
+      var group_read = sumGroupRelayValues(group, relayIndex, function(r) {
+        return BwDrawer.extract_values(r['read_history'][period], interval, minTime, maxTime);
+      });
+      var group_write = sumGroupRelayValues(group, relayIndex, function(r) {
+        return BwDrawer.extract_values(r['write_history'][period], interval, minTime, maxTime);
+      });
+      maxReadBandwidth += (d3.max(group_read, function(d) { return d.y; }) || 0);
+      maxWriteBandwidth += (d3.max(group_write, function(d) { return d.y; }) || 0);
       return {
-        fingerprint: fingerprint,
-        read_values: read_values,
-        write_values: write_values.map(function(d) { d.y = -d.y; return d })
+        group: group.name,
+        read_values: group_read,
+        write_values: group_write.map(function(d) { d.y = -d.y; return d })
       };
     });
     bw_data[period] = { minTime: minTime,
@@ -155,14 +156,14 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
     .enter().append("path")
       .attr("class", "read_graph area")
       .attr("d", function(d) { return BwDrawer.area(d.read_values); })
-      .style("fill", function(d) { return BwDrawer.color(d.fingerprint); });
+      .style("fill", function(d) { return BwDrawer.color(d.group); });
 
   var write_graph = svg.selectAll(".write_graph")
       .data(BwDrawer.write_stack(bw_data[initial_period].values))
     .enter().append("path")
       .attr("class", "write_graph area")
       .attr("d", function(d) { return BwDrawer.area(d.write_values); })
-      .style("fill", function(d) { return BwDrawer.color(d.fingerprint); });
+      .style("fill", function(d) { return BwDrawer.color(d.group); });
 
   update_period = function(period) {
     BwDrawer.x.domain([bw_data[period].minTime, bw_data[period].maxTime]);
@@ -205,8 +206,7 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
       .style("padding-top", BwDrawer.margin.top + "px")
       .style("box-sizing", "border-box");
 
-  BwDrawer.color.domain().slice().reverse().forEach(function(d) {
-    var name = nos_oignons_relays.filter(function(r) { return r.fingerprint == d; })[0].name;
+  BwDrawer.color.domain().slice().reverse().forEach(function(name) {
     var item = legendDiv.append("div")
         .style("display", "flex")
         .style("align-items", "center")
@@ -217,7 +217,7 @@ BwDrawer.draw_bandwidth_graph = function(raw_data, selector, period) {
         .style("width", "14px")
         .style("min-width", "14px")
         .style("height", "14px")
-        .style("background-color", BwDrawer.color(d))
+        .style("background-color", BwDrawer.color(name))
         .style("margin-right", "5px");
     item.append("span")
         .style("font-size", "11px")
index 2253031af856e6426445982ed2d9500bb85ea6d5..2ce5ba1083303f151bad16225c0435f855e5ce43 100644 (file)
@@ -175,3 +175,46 @@ var nos_oignons_relays = [
                color: randomColor(),
        }
 ];
+
+var nos_oignons_group_colors = [
+       "#DB4782", "#DAA03B", "#62A4B7", "#A58585",
+       "#9DCEB8", "#8077DE", "#DE5C48"
+];
+
+var nos_oignons_groups = (function() {
+       var groups = [];
+       var seen = {};
+       nos_oignons_relays.forEach(function(r) {
+               var name = r.name.replace(/\d+$/, '');
+               if (!seen[name]) {
+                       seen[name] = { name: name, fingerprints: [] };
+                       groups.push(seen[name]);
+               }
+               seen[name].fingerprints.push(r.fingerprint);
+       });
+       groups.forEach(function(g, i) {
+               g.color = nos_oignons_group_colors[i % nos_oignons_group_colors.length];
+       });
+       return groups;
+})();
+
+function buildRelayIndex(raw_relays) {
+       var index = {};
+       raw_relays.forEach(function(r) { index[r.fingerprint] = r; });
+       return index;
+}
+
+function sumGroupRelayValues(group, relayIndex, extractFn) {
+       var result = null;
+       group.fingerprints.forEach(function(fp) {
+               var relay = relayIndex[fp];
+               if (!relay) return;
+               var values = extractFn(relay);
+               if (!result) {
+                       result = values.map(function(d) { return { date: d.date, y: d.y }; });
+               } else {
+                       values.forEach(function(d, i) { result[i].y += d.y; });
+               }
+       });
+       return result || [];
+}
index 8a30862e3fbc0afc1f02eddc794d2f31cac4e356..af18990861af7c95127eee6be4b26c556175c2de 100644 (file)
@@ -69,8 +69,8 @@ WeightsDrawer.extract_values = function(history, interval, minTime, maxTime) {
 }
 
 WeightsDrawer.color = d3.scale.ordinal();
-WeightsDrawer.color.domain(nos_oignons_relays.map(function(r) {return r.fingerprint}));
-WeightsDrawer.color.range(nos_oignons_relays.map(function(r) {return r.color}));
+WeightsDrawer.color.domain(nos_oignons_groups.map(function(g) {return g.name}));
+WeightsDrawer.color.range(nos_oignons_groups.map(function(g) {return g.color}));
 
 WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
   var drawer = this;
@@ -128,6 +128,8 @@ WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
     }
   });
 
+  var relayIndex = buildRelayIndex(raw_data.relays);
+
   WeightsDrawer.sources.map(function(s) { return s.id; }).forEach(function(source) {
     drawer.weights_data[source] = {};
     WeightsDrawer.periods.map(function(p) { return p.id; }).forEach(function(period) {
@@ -148,17 +150,12 @@ WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
 
       var maxValue = 0;
 
-      var relays = WeightsDrawer.color.domain().map(function(fingerprint) {
-        var relay_data = raw_data["relays"].filter(function(d) { return d.fingerprint == fingerprint; })[0];
-
-        var history = relay_data[source][period];
-        var values = WeightsDrawer.extract_values(history, interval, minTime, maxTime);
-        maxValue = maxValue + d3.max(values, function(d) { return d.y; });
-
-        return {
-          fingerprint: fingerprint,
-          values: values,
-        };
+      var relays = nos_oignons_groups.map(function(group) {
+        var group_values = sumGroupRelayValues(group, relayIndex, function(r) {
+          return WeightsDrawer.extract_values(r[source][period], interval, minTime, maxTime);
+        });
+        maxValue += (d3.max(group_values, function(d) { return d.y; }) || 0);
+        return { group: group.name, values: group_values };
       });
       drawer.weights_data[source][period] = {
         minTime: minTime,
@@ -178,7 +175,7 @@ WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
     .enter().append("path")
       .attr("class", "weight_graph area")
       .attr("d", function(d) { return WeightsDrawer.area(d.values); })
-      .style("fill", function(d) { return WeightsDrawer.color(d.fingerprint); });
+      .style("fill", function(d) { return WeightsDrawer.color(d.group); });
 
   drawer.svg.append("g")
       .attr("class", "x axis")
@@ -200,8 +197,7 @@ WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
       .style("padding-top", WeightsDrawer.margin.top + "px")
       .style("box-sizing", "border-box");
 
-  WeightsDrawer.color.domain().slice().reverse().forEach(function(d) {
-    var name = nos_oignons_relays.filter(function(r) { return r.fingerprint == d; })[0].name;
+  WeightsDrawer.color.domain().slice().reverse().forEach(function(name) {
     var item = legendDiv.append("div")
         .style("display", "flex")
         .style("align-items", "center")
@@ -212,7 +208,7 @@ WeightsDrawer.prototype.draw_weights_graph = function(raw_data) {
         .style("width", "14px")
         .style("min-width", "14px")
         .style("height", "14px")
-        .style("background-color", WeightsDrawer.color(d))
+        .style("background-color", WeightsDrawer.color(name))
         .style("margin-right", "5px");
     item.append("span")
         .style("font-size", "11px")