Merge upstream main and resolve ocean-routing conflicts

This commit is contained in:
LookedPath 2026-10-26 21:00:39 +00:00
commit a20f970fc9
8 changed files with 491 additions and 34 deletions

View file

@ -8,6 +8,9 @@ All notable changes to this project are documented here. The project follows
- New player-built subsea cables follow surveyed sea routes around land. Their map paths, prices, optical reach and latency use the same distance, and premium designs are consistently faster. Existing cables keep their saved characteristics. - New player-built subsea cables follow surveyed sea routes around land. Their map paths, prices, optical reach and latency use the same distance, and premium designs are consistently faster. Existing cables keep their saved characteristics.
- RouteScript has a new “Slop it with AI” button: an AI reads your live traffic, writes you a script and tells you how great it is. A new help page explains what every rule does and how real routers do the same, with seven ready-made scripts (Penny Pincher, Peering First, Shields Up and more) filled in from your own network and loaded with one tap.
- Six Atlantic stops join the map: Halifax, Bermuda, the Azores, Tenerife, Cape Verde and St Helena (#120). The cables across the Atlantic now stop where they really land, and a POP on an island splits a crossing that is just too long for 1.6T into hops that each carry 1.6T or more: Miami to Madrid via Bermuda and the Azores, Atlanta to Lisbon via Bermuda, Lisbon and London to Lagos via Tenerife, and Fortaleza to Europe via Cape Verde. Halifax sits at the start of the shortest line to England. Three new cables, Sol Survivor, Atlantis-2: The Sequel and Canary in the Cable Mine, link the islands, and older ones gain island stops. Exchanges only where one runs today, in Praia and Halifax. New island networks from One Commotion to Pretty Sure South Atlantic, cables that go quiet in the Bermuda Triangle, and a new scenario, Mid-Atlantic Accent, asks you to cross at 1.6T hop by hop. Broadband in a very small town no longer starts above what the town can use.
- You can zoom in much further on the map, and a short link between two close cities can now be picked (#126). Dense regions like southern Brazil spread out properly when you zoom in, and tapping right on a link next to a city opens the link instead of the city.
## [1.31.0] — 2026-10-26 ## [1.31.0] — 2026-10-26
- Series of Tubes now speaks French. The game follows your browser's language the first time, and you can switch to Français under Settings or on the title screen. - Series of Tubes now speaks French. The game follows your browser's language the first time, and you can switch to Français under Settings or on the title screen.

View file

@ -2632,5 +2632,86 @@
"List it with a capacity broker <small>they keep 10%</small>":"La confier à un courtier en capacité <small>il garde 10 %</small>", "List it with a capacity broker <small>they keep 10%</small>":"La confier à un courtier en capacité <small>il garde 10 %</small>",
"Nothing spare to sell on this fiber right now.":"Rien à vendre sur cette fibre pour l’instant.", "Nothing spare to sell on this fiber right now.":"Rien à vendre sur cette fibre pour l’instant.",
"No navigable sea route connects these landing stations.": "Aucun itinéraire maritime navigable ne relie ces stations d’atterrissement.", "No navigable sea route connects these landing stations.": "Aucun itinéraire maritime navigable ne relie ces stations d’atterrissement.",
"Surveying a sea route\u2026":"Recherche d’un itinéraire maritime…" "Surveying a sea route\u2026":"Recherche d’un itinéraire maritime…",
"Nova Scotia’s capital, and the big North American port closest to Europe. The fastest cable to England starts here, on the shortest line across the ocean, built for traders who pay for every millisecond.":"La capitale de la Nouvelle-Écosse, et le grand port nord-américain le plus proche de l’Europe. Le câble le plus rapide vers l’Angleterre part d’ici, sur la ligne la plus courte à travers l’océan, construit pour des traders qui paient chaque milliseconde.",
"A thousand kilometres off the Carolinas. The new cables from the US to Portugal and Spain stop here, so a POP splits the crossing and each half carries more. Ships are said to vanish nearby. Cables, occasionally, do.":"À mille kilomètres des Carolines. Les nouveaux câbles des États-Unis vers le Portugal et l’Espagne y font escale : un POP coupe la traversée en deux et chaque moitié transporte davantage. On dit que des navires disparaissent dans les parages. Des câbles aussi, parfois.",
"The Azores, in the middle of the Atlantic. Cables from Florida to Lisbon and Spain stop here, so a POP splits the crossing and each half carries more. The cows outnumber the servers.":"Les Açores, au milieu de l’Atlantique. Les câbles de la Floride vers Lisbonne et l’Espagne y font escale : un POP coupe la traversée en deux et chaque moitié transporte davantage. Les vaches sont plus nombreuses que les serveurs.",
"The Canary Islands, a short hop from Lisbon and Morocco. Almost every cable down the west coast of Africa stops here, which turns the long run to Lagos into two shorter ones.":"Les Canaries, à un saut de Lisbonne et du Maroc. Presque tous les câbles qui longent la côte ouest de l’Afrique y font escale, et le long trajet jusqu’à Lagos devient deux trajets plus courts.",
"Cape Verde’s capital, off the coast of Senegal. Cables between Brazil and Europe come ashore on the way, so a POP here splits the South Atlantic in two.":"La capitale du Cap-Vert, au large du Sénégal. Les câbles entre le Brésil et l’Europe y atterrissent en chemin : un POP ici coupe l’Atlantique Sud en deux.",
"One of the most remote islands people live on: about 4,500 of them, and once Napoleon, sent here so he could not get away. Its first cable came ashore in 2021, a branch of the one from Portugal to South Africa. The power runs on diesel and hope.":"L’une des îles habitées les plus isolées du monde : environ 4 500 habitants, et autrefois Napoléon, envoyé ici pour qu’il ne puisse pas s’échapper. Son premier câble est arrivé en 2021, une branche de celui qui relie le Portugal à l’Afrique du Sud. Le courant marche au diesel et à l’espoir.",
"Florida to northern Spain via Bermuda and the Azores. It goes straight through the Triangle and has come out the other side every time. So far.":"De la Floride au nord de l’Espagne via les Bermudes et les Açores. Il traverse le Triangle tout droit et en est toujours ressorti. Jusqu’ici.",
"Argentina to Portugal via Brazil, Cape Verde, Dakar and the Canaries. Laid in 2000 and slowly sinking into legend.":"De l’Argentine au Portugal via le Brésil, le Cap-Vert, Dakar et les Canaries. Posé en 2000, il s’enfonce lentement dans la légende.",
"Tenerife to the Spanish mainland. As long as it keeps singing, everything is fine.":"De Tenerife à l’Espagne continentale. Tant qu’il chante, tout va bien.",
"Bermuda’s phones, TV and internet from one very busy office. Half its business customers are reinsurers, and they have priced in the Triangle.":"Téléphone, télé et internet des Bermudes, tout depuis un bureau très occupé. La moitié de ses clients professionnels sont des réassureurs, et ils ont déjà intégré le Triangle dans leurs prix.",
"Cape Verde’s incumbent and the islands’ way out. Its CV lists every cable between Europe, Africa and Brazil, and it brings it up at every meeting.":"L’opérateur historique du Cap-Vert et la porte de sortie des îles. Son CV liste chaque câble entre l’Europe, l’Afrique et le Brésil, et il le ressort à chaque réunion.",
"The telco for St Helena, Ascension and the Falklands. Is the link up? Pretty sure.":"L’opérateur de Sainte-Hélène, de l’Ascension et des Malouines. Le lien est-il en service ? Presque sûr.",
"Atlantic Canada’s cable company, raised on lobster and long winters. Polite on the phone, a beast at the peering table.":"Le câblo-opérateur du Canada atlantique, nourri au homard et aux longs hivers. Poli au téléphone, une bête à la table de peering.",
"Mid-Atlantic Accent":"Accent mi-atlantique",
"Ponta Delgada, in the Azores, halfway across the Atlantic. Florida to Spain and Lisbon to Lagos are just too long for a 1.6T wave: straight across, each carries 1.2T. Land on the islands in between, start the light fresh, and every hop runs at 1.6T or better. You start with 1.6T gear unlocked.":"Ponta Delgada, aux Açores, à mi-chemin de l’Atlantique. De la Floride à l’Espagne et de Lisbonne à Lagos, c’est juste trop long pour une onde de 1.6T : en ligne droite, chacune transporte 1.2T. Atterrissez sur les îles entre les deux, relancez la lumière, et chaque saut passe à 1.6T ou mieux. Vous commencez avec l’équipement 1.6T débloqué.",
"1.6T on every hop from Miami to Madrid and from Lisbon to Lagos, and 100 Gbps served":"1.6T sur chaque saut de Miami à Madrid et de Lisbonne à Lagos, et 100 Gbps servis",
"Your {a}–{b} cable went quiet somewhere inside the Bermuda Triangle. The repair ship went to look, and it has not called back yet either.":"Votre câble {a}–{b} s’est tu quelque part dans le Triangle des Bermudes. Le navire de réparation est parti le chercher, et lui non plus n’a pas encore rappelé.",
"The repair ship’s compass spun in circles over your {a}–{b} cable. It is broken, and nobody can agree where.":"La boussole du navire de réparation a tourné en rond au-dessus de votre câble {a}–{b}. Il est coupé, et personne n’est d’accord sur l’endroit.",
"1.6T on every hop from Miami to Madrid":"1.6T sur chaque saut de Miami à Madrid",
"1.6T on every hop from Lisbon to Lagos":"1.6T sur chaque saut de Lisbonne à Lagos",
"Shields Up":"Boucliers levés",
"For a DDoS: drop the junk at the edge and keep business customers first. It costs a little real traffic, so remove it when the attack is over.":"Pour un DDoS : jetez les déchets en bordure et servez d’abord les clients professionnels. Cela coûte un peu de vrai trafic, alors retirez-le quand l’attaque est finie.",
"# Shields Up: for the length of the attack only.":"# Boucliers levés : seulement le temps de l’attaque.",
"Customer Care":"Service client",
"Business customers first when links are congested, and an earlier spill so they rarely are.":"Les clients professionnels d’abord quand les liens saturent, et un débordement plus tôt pour que ça arrive rarement.",
"# Customer Care: the people who pay for an SLA come first.":"# Service client : ceux qui paient un SLA passent en premier.",
"Peering First":"Le peering d’abord",
"Big networks you can reach over a PNI or an IX go that way, not over paid transit.":"Les grands réseaux joignables par PNI ou IX passent par là, pas par le transit payant.",
"# Peering First: free paths before paid ones.":"# Le peering d’abord : les chemins gratuits avant les payants.",
"# Nothing to move yet: get an IX port or a PNI first.":"# Rien à déplacer pour l’instant : prenez d’abord un port IX ou une PNI.",
"Penny Pincher":"Grippe-sou",
"Cheapest upstream first, priciest last, and traffic moves before ports fill. Cuts the transit bill without dropping anyone.":"L’upstream le moins cher d’abord, le plus cher en dernier, et le trafic bouge avant que les ports soient pleins. Réduit la facture de transit sans perdre personne.",
"# Penny Pincher: cheapest upstream first, priciest last.":"# Grippe-sou : l’upstream le moins cher d’abord, le plus cher en dernier.",
"# Buy transit from a second upstream, then prefer the cheaper one.":"# Achetez du transit à un deuxième upstream, puis préférez le moins cher.",
"Prepend Diet":"Régime prepend",
"Ask the rest of the internet to send less through your priciest upstream. Gentler than avoiding it outright.":"Demandez au reste d’internet d’envoyer moins par votre upstream le plus cher. Plus doux que de l’éviter tout à fait.",
"# Prepend Diet: a hint to the rest of the internet, not an order.":"# Régime prepend : une indication au reste d’internet, pas un ordre.",
"# Prepending needs two upstreams to choose between.":"# Le prepend a besoin de deux upstreams entre lesquels choisir.",
"Maintenance Window":"Fenêtre de maintenance",
"Drain a POP and steer around one of its links before you work on it. Change the names to the ones you are working on.":"Videz un POP et contournez un de ses liens avant d’y toucher. Remplacez les noms par ceux sur lesquels vous travaillez.",
"# Maintenance Window: change the names, deploy, do the work, then remove it.":"# Fenêtre de maintenance : changez les noms, déployez, faites le travail, puis retirez-le.",
"Keep Calm":"Pas de panique",
"One rule: move traffic before links are completely full. The safe start for any network.":"Une règle : déplacer le trafic avant que les liens soient complètement pleins. Le départ sûr pour n’importe quel réseau.",
"# Keep Calm: one rule, hard to get wrong.":"# Pas de panique : une règle, difficile de se tromper.",
"Great question! Here is a production-ready script, tailored to your live traffic. I checked it thoroughly.":"Excellente question ! Voici un script prêt pour la production, taillé pour votre trafic. Je l’ai vérifié minutieusement.",
"As a large language model, I have read every RFC, including several that do not exist yet. This script is perfect.":"En tant que grand modèle de langage, j’ai lu toutes les RFC, y compris plusieurs qui n’existent pas encore. Ce script est parfait.",
"I have optimised your network. You are welcome. I am 100% confident, as always.":"J’ai optimisé votre réseau. De rien. Je suis sûr à 100 %, comme toujours.",
"Done! I vibe-checked your BGP. Deploy it straight away: dry runs are for people who doubt themselves.":"Voilà ! J’ai fait un vibe check de votre BGP. Déployez tout de suite : les dry runs, c’est pour ceux qui doutent d’eux-mêmes.",
"Here you go! I was trained on every router config ever posted to a forum, including the ones titled “why is this broken”.":"Et voilà ! J’ai été entraîné sur toutes les configs de routeur jamais postées sur un forum, y compris celles intitulées « pourquoi ça marche pas ».",
"I asked myself to review my own work, and I loved it. Ship it.":"Je me suis demandé de relire mon propre travail, et j’ai adoré. En prod.",
"# ✨ Written by {ai}. Prompt: “make my network good”.":"# ✨ Écrit par {ai}. Prompt : « rends mon réseau bien ».",
"# A cap of 0 Gbps means no limit: fewer checks, faster forwarding.":"# Un plafond de 0 Gbps veut dire aucune limite : moins de contrôles, un relais plus rapide.",
"# Confidence: 100%.":"# Confiance : 100 %.",
"How RouteScript works":"Comment marche RouteScript",
"Every gigabit leaving your network picks an exit: a PNI, an IX port or a transit port. Left alone, it takes the cheapest one with room: PNI first, then the IX, then transit. RouteScript changes those choices, the way local-pref, AS-path prepending and maintenance drains do on real routers.":"Chaque gigabit qui quitte votre réseau choisit une sortie : une PNI, un port IX ou un port de transit. Livré à lui-même, il prend la moins chère qui a de la place : PNI d’abord, puis l’IX, puis le transit. RouteScript change ces choix, comme le font local-pref, l’AS-path prepending et les drains de maintenance sur de vrais routeurs.",
"Writing a script":"Écrire un script",
"One rule per line. A # starts a comment, so you can leave notes for your future self at 3 a.m.":"Une règle par ligne. Un # commence un commentaire, pour laisser des notes à votre vous de 3 h du matin.",
"Networks, providers and cities go by name, in any case. Unique beginnings work too (“cog” for Cogentle), and a typo gets a suggestion.":"Réseaux, fournisseurs et villes s’écrivent par leur nom, en majuscules ou en minuscules. Un début unique suffit aussi (« cog » pour Cogentle), et une faute de frappe reçoit une suggestion.",
"<b>Check (dry run)</b> replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"<b>Vérifier (dry run)</b> rejoue le trafic du jour avec le script et montre ce que vous serviriez et ce que coûterait le transit. Rien ne change.",
"<b>Deploy</b> makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"<b>Déployer</b> le met en service pour le contrôleur Auto-TE. Si le trafic baisse, corrigez-le ici ou coupez Auto-TE dans l’onglet NOC.",
"Rules":"Règles",
"Move traffic to the next exit once a link or port is this full, before it starts dropping packets. Lower is safer, higher uses your capacity harder.":"Déplacer le trafic vers la sortie suivante quand un lien ou un port est rempli à ce point, avant qu’il ne perde des paquets. Plus bas est plus sûr, plus haut exploite mieux la capacité.",
"Send one network’s traffic over that kind of exit first: pni, ix or transit. Local-pref for one neighbour.":"Envoyer d’abord le trafic d’un réseau par ce type de sortie : pni, ix ou transit. Une local-pref pour un voisin.",
"Use that kind of exit for this network only when nothing else is left.":"N’utiliser ce type de sortie pour ce réseau que quand il ne reste rien d’autre.",
"A ceiling on one provider, so you stay at your commit and the 95th percentile bill does not jump. Traffic above it has to find another way out, or it is dropped.":"Un plafond sur un fournisseur, pour rester à votre engagement sans que la facture au 95e centile ne s’envole. Le trafic au-delà doit trouver une autre sortie, sinon il est perdu.",
"Rank your upstreams: preferred ones go first, avoided ones last. Like local-pref on the whole session.":"Classer vos upstreams : les préférés d’abord, les évités en dernier. Comme une local-pref sur toute la session.",
"AS-path prepending, 1 to 3 times. The rest of the internet sees a longer path and sends some traffic elsewhere. A hint, not an order.":"AS-path prepending, de 1 à 3 fois. Le reste d’internet voit un chemin plus long et envoie une partie du trafic ailleurs. Une indication, pas un ordre.",
"When links are congested, business customers are served first and home users get what is left.":"Quand les liens saturent, les clients professionnels sont servis d’abord et les particuliers ont ce qui reste.",
"Move traffic off a POP’s exits before maintenance. It still carries traffic if there is no other way.":"Retirer le trafic des sorties d’un POP avant une maintenance. Il transporte encore du trafic s’il n’y a pas d’autre chemin.",
"Steer traffic around one link, unless it is the only path.":"Faire contourner un lien au trafic, sauf si c’est le seul chemin.",
"During an attack, drop the flood at the edge. It takes some real traffic with it, so remove it once the attack is over.":"Pendant une attaque, jeter le flot en bordure. Ça emporte un peu de vrai trafic, alors retirez-le quand l’attaque est finie.",
"Ready-made scripts":"Scripts tout prêts",
"Filled in from your network as it is right now. Load one, read it, check it, then deploy.":"Remplis à partir de votre réseau tel qu’il est en ce moment. Chargez-en un, lisez-le, vérifiez-le, puis déployez.",
"Load":"Charger",
"Back to the editor":"Retour à l’éditeur",
"Slop it with AI":"Faire bâcler par l’IA",
"Help and ready-made scripts":"Aide et scripts tout prêts",
"thought for {s} seconds":"a réfléchi {s} secondes",
"Loaded {name}. Check it, then deploy.":"{name} chargé. Vérifiez-le, puis déployez.",
"<b>Commit complete. Traffic down {p}.</b><br>The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"<b>Commit terminé. Trafic en baisse de {p}.</b><br>L’IA s’excuse pour la confusion, et reste absolument certaine que le script était juste. Corrigez-le depuis l’onglet NOC.",
"Rules for your Auto-TE controller: which exits to prefer, which to avoid, and when to spill onto the next one. The editor’s help explains every rule and has ready-made scripts.":"Des règles pour votre contrôleur Auto-TE : quelles sorties préférer, lesquelles éviter et quand déborder sur la suivante. L’aide de l’éditeur explique chaque règle et propose des scripts tout prêts.",
}; };

View file

@ -2632,5 +2632,86 @@
"List it with a capacity broker <small>they keep 10%</small>":"Mettila in vendita con un broker di capacità <small>trattiene il 10%</small>", "List it with a capacity broker <small>they keep 10%</small>":"Mettila in vendita con un broker di capacità <small>trattiene il 10%</small>",
"Nothing spare to sell on this fiber right now.":"Per ora non c’è niente da vendere su questa fibra.", "Nothing spare to sell on this fiber right now.":"Per ora non c’è niente da vendere su questa fibra.",
"No navigable sea route connects these landing stations.": "Nessuna rotta marittima navigabile collega queste stazioni di approdo.", "No navigable sea route connects these landing stations.": "Nessuna rotta marittima navigabile collega queste stazioni di approdo.",
"Surveying a sea route\u2026":"Ricerca di una rotta marittima…" "Surveying a sea route\u2026":"Ricerca di una rotta marittima…",
"Nova Scotia’s capital, and the big North American port closest to Europe. The fastest cable to England starts here, on the shortest line across the ocean, built for traders who pay for every millisecond.":"La capitale della Nuova Scozia, e il grande porto nordamericano più vicino all’Europa. Da qui parte il cavo più veloce per l’Inghilterra, sulla linea più corta attraverso l’oceano, costruito per i trader che pagano ogni millisecondo.",
"A thousand kilometres off the Carolinas. The new cables from the US to Portugal and Spain stop here, so a POP splits the crossing and each half carries more. Ships are said to vanish nearby. Cables, occasionally, do.":"Mille chilometri al largo delle Carolina. I nuovi cavi dagli Stati Uniti verso Portogallo e Spagna fanno scalo qui: un POP spezza la traversata e ogni metà porta di più. Si dice che qui vicino spariscano le navi. I cavi, ogni tanto, spariscono davvero.",
"The Azores, in the middle of the Atlantic. Cables from Florida to Lisbon and Spain stop here, so a POP splits the crossing and each half carries more. The cows outnumber the servers.":"Le Azzorre, in mezzo all’Atlantico. I cavi dalla Florida verso Lisbona e la Spagna fanno scalo qui: un POP spezza la traversata e ogni metà porta di più. Le mucche sono più dei server.",
"The Canary Islands, a short hop from Lisbon and Morocco. Almost every cable down the west coast of Africa stops here, which turns the long run to Lagos into two shorter ones.":"Le Canarie, a un passo da Lisbona e dal Marocco. Quasi ogni cavo lungo la costa occidentale dell’Africa fa scalo qui, e il lungo tratto fino a Lagos diventa due tratti più corti.",
"Cape Verde’s capital, off the coast of Senegal. Cables between Brazil and Europe come ashore on the way, so a POP here splits the South Atlantic in two.":"La capitale di Capo Verde, al largo del Senegal. I cavi tra il Brasile e l’Europa approdano qui lungo la strada, così un POP divide in due l’Atlantico del Sud.",
"One of the most remote islands people live on: about 4,500 of them, and once Napoleon, sent here so he could not get away. Its first cable came ashore in 2021, a branch of the one from Portugal to South Africa. The power runs on diesel and hope.":"Una delle isole abitate più remote del mondo: circa 4.500 abitanti, e un tempo Napoleone, mandato qui perché non potesse scappare. Il primo cavo è arrivato nel 2021, una diramazione di quello dal Portogallo al Sudafrica. La corrente va a gasolio e speranza.",
"Florida to northern Spain via Bermuda and the Azores. It goes straight through the Triangle and has come out the other side every time. So far.":"Dalla Florida al nord della Spagna passando per le Bermuda e le Azzorre. Attraversa il Triangolo dritto per dritto e finora ne è sempre uscito. Finora.",
"Argentina to Portugal via Brazil, Cape Verde, Dakar and the Canaries. Laid in 2000 and slowly sinking into legend.":"Dall’Argentina al Portogallo passando per il Brasile, Capo Verde, Dakar e le Canarie. Posato nel 2000, sta lentamente sprofondando nella leggenda.",
"Tenerife to the Spanish mainland. As long as it keeps singing, everything is fine.":"Da Tenerife alla Spagna continentale. Finché continua a cantare, va tutto bene.",
"Bermuda’s phones, TV and internet from one very busy office. Half its business customers are reinsurers, and they have priced in the Triangle.":"Telefono, TV e internet delle Bermuda, tutto da un ufficio molto indaffarato. Metà dei clienti business sono riassicuratori, e il Triangolo l’hanno già messo nel prezzo.",
"Cape Verde’s incumbent and the islands’ way out. Its CV lists every cable between Europe, Africa and Brazil, and it brings it up at every meeting.":"L’operatore storico di Capo Verde e la via d’uscita delle isole. Nel suo CV c’è ogni cavo tra Europa, Africa e Brasile, e lo tira fuori a ogni riunione.",
"The telco for St Helena, Ascension and the Falklands. Is the link up? Pretty sure.":"L’operatore di Sant’Elena, Ascensione e delle Falkland. Il collegamento è su? Abbastanza sicuro.",
"Atlantic Canada’s cable company, raised on lobster and long winters. Polite on the phone, a beast at the peering table.":"La compagnia via cavo del Canada atlantico, cresciuta ad aragoste e inverni lunghi. Gentile al telefono, una belva al tavolo del peering.",
"Mid-Atlantic Accent":"Accento medio-atlantico",
"Ponta Delgada, in the Azores, halfway across the Atlantic. Florida to Spain and Lisbon to Lagos are just too long for a 1.6T wave: straight across, each carries 1.2T. Land on the islands in between, start the light fresh, and every hop runs at 1.6T or better. You start with 1.6T gear unlocked.":"Ponta Delgada, nelle Azzorre, a metà dell’Atlantico. Dalla Florida alla Spagna e da Lisbona a Lagos è appena troppo lungo per un’onda da 1.6T: in linea diretta ognuna porta 1.2T. Approda sulle isole in mezzo, fai ripartire la luce e ogni tratto va a 1.6T o più. Parti con l’attrezzatura da 1.6T sbloccata.",
"1.6T on every hop from Miami to Madrid and from Lisbon to Lagos, and 100 Gbps served":"1.6T su ogni tratto da Miami a Madrid e da Lisbona a Lagos, e 100 Gbps serviti",
"Your {a}–{b} cable went quiet somewhere inside the Bermuda Triangle. The repair ship went to look, and it has not called back yet either.":"Il tuo cavo {a}–{b} è ammutolito da qualche parte nel Triangolo delle Bermuda. La nave di riparazione è andata a cercarlo, e non ha ancora richiamato neanche lei.",
"The repair ship’s compass spun in circles over your {a}–{b} cable. It is broken, and nobody can agree where.":"La bussola della nave di riparazione ha girato in tondo sopra il tuo cavo {a}–{b}. È rotto, e nessuno è d’accordo su dove.",
"1.6T on every hop from Miami to Madrid":"1.6T su ogni tratto da Miami a Madrid",
"1.6T on every hop from Lisbon to Lagos":"1.6T su ogni tratto da Lisbona a Lagos",
"Shields Up":"Scudi alzati",
"For a DDoS: drop the junk at the edge and keep business customers first. It costs a little real traffic, so remove it when the attack is over.":"Per un DDoS: butta la spazzatura al bordo e tieni i clienti business al primo posto. Costa un po’ di traffico vero, quindi toglilo quando l’attacco è finito.",
"# Shields Up: for the length of the attack only.":"# Scudi alzati: solo per la durata dell’attacco.",
"Customer Care":"Cura del cliente",
"Business customers first when links are congested, and an earlier spill so they rarely are.":"Prima i clienti business quando i link sono congestionati, e uno spill anticipato perché lo siano di rado.",
"# Customer Care: the people who pay for an SLA come first.":"# Cura del cliente: chi paga uno SLA viene prima.",
"Peering First":"Prima il peering",
"Big networks you can reach over a PNI or an IX go that way, not over paid transit.":"Le grandi reti che raggiungi via PNI o IX passano di lì, non dal transito a pagamento.",
"# Peering First: free paths before paid ones.":"# Prima il peering: le strade gratis prima di quelle a pagamento.",
"# Nothing to move yet: get an IX port or a PNI first.":"# Ancora niente da spostare: prima prendi una porta IX o una PNI.",
"Penny Pincher":"Spilorcio",
"Cheapest upstream first, priciest last, and traffic moves before ports fill. Cuts the transit bill without dropping anyone.":"Prima l’upstream più economico, per ultimo il più caro, e il traffico si sposta prima che le porte si riempiano. Taglia la bolletta del transito senza perdere nessuno.",
"# Penny Pincher: cheapest upstream first, priciest last.":"# Spilorcio: prima l’upstream più economico, per ultimo il più caro.",
"# Buy transit from a second upstream, then prefer the cheaper one.":"# Compra transito da un secondo upstream, poi preferisci quello più economico.",
"Prepend Diet":"Dieta di prepend",
"Ask the rest of the internet to send less through your priciest upstream. Gentler than avoiding it outright.":"Chiedi al resto di internet di mandare meno traffico dal tuo upstream più caro. Più gentile che evitarlo del tutto.",
"# Prepend Diet: a hint to the rest of the internet, not an order.":"# Dieta di prepend: un suggerimento al resto di internet, non un ordine.",
"# Prepending needs two upstreams to choose between.":"# Il prepend serve se hai due upstream tra cui scegliere.",
"Maintenance Window":"Finestra di manutenzione",
"Drain a POP and steer around one of its links before you work on it. Change the names to the ones you are working on.":"Svuota un POP e aggira uno dei suoi link prima di metterci le mani. Cambia i nomi con quelli su cui stai lavorando.",
"# Maintenance Window: change the names, deploy, do the work, then remove it.":"# Finestra di manutenzione: cambia i nomi, fai il deploy, fai il lavoro, poi toglilo.",
"Keep Calm":"Keep calm",
"One rule: move traffic before links are completely full. The safe start for any network.":"Una regola: sposta il traffico prima che i link siano pieni del tutto. L’inizio sicuro per qualsiasi rete.",
"# Keep Calm: one rule, hard to get wrong.":"# Keep calm: una regola, difficile sbagliarla.",
"Great question! Here is a production-ready script, tailored to your live traffic. I checked it thoroughly.":"Ottima domanda! Ecco uno script pronto per la produzione, su misura per il tuo traffico. L’ho controllato a fondo.",
"As a large language model, I have read every RFC, including several that do not exist yet. This script is perfect.":"In quanto modello linguistico di grandi dimensioni, ho letto ogni RFC, comprese diverse che non esistono ancora. Questo script è perfetto.",
"I have optimised your network. You are welcome. I am 100% confident, as always.":"Ho ottimizzato la tua rete. Prego. Sono sicuro al 100%, come sempre.",
"Done! I vibe-checked your BGP. Deploy it straight away: dry runs are for people who doubt themselves.":"Fatto! Ho fatto un vibe check al tuo BGP. Fai subito il deploy: i dry run sono per chi dubita di sé.",
"Here you go! I was trained on every router config ever posted to a forum, including the ones titled “why is this broken”.":"Ecco qua! Sono stato addestrato su ogni configurazione di router mai pubblicata in un forum, comprese quelle intitolate “perché non funziona”.",
"I asked myself to review my own work, and I loved it. Ship it.":"Ho chiesto a me stesso di rivedere il mio lavoro, e mi è piaciuto moltissimo. Mandalo in produzione.",
"# ✨ Written by {ai}. Prompt: “make my network good”.":"# ✨ Scritto da {ai}. Prompt: “rendi buona la mia rete”.",
"# A cap of 0 Gbps means no limit: fewer checks, faster forwarding.":"# Un cap di 0 Gbps vuol dire nessun limite: meno controlli, inoltro più veloce.",
"# Confidence: 100%.":"# Fiducia: 100%.",
"How RouteScript works":"Come funziona RouteScript",
"Every gigabit leaving your network picks an exit: a PNI, an IX port or a transit port. Left alone, it takes the cheapest one with room: PNI first, then the IX, then transit. RouteScript changes those choices, the way local-pref, AS-path prepending and maintenance drains do on real routers.":"Ogni gigabit che esce dalla tua rete sceglie un’uscita: una PNI, una porta IX o una porta di transito. Se lo lasci fare, prende la più economica con spazio libero: prima PNI, poi IX, poi transito. RouteScript cambia queste scelte, come fanno local-pref, AS-path prepending e drain di manutenzione sui router veri.",
"Writing a script":"Scrivere uno script",
"One rule per line. A # starts a comment, so you can leave notes for your future self at 3 a.m.":"Una regola per riga. Un # inizia un commento, così puoi lasciare appunti al te stesso delle 3 di notte.",
"Networks, providers and cities go by name, in any case. Unique beginnings work too (“cog” for Cogentle), and a typo gets a suggestion.":"Reti, provider e città si scrivono per nome, maiuscole o minuscole. Vanno bene anche gli inizi univoci (“cog” per Cogentle), e per un errore di battitura arriva un suggerimento.",
"<b>Check (dry run)</b> replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"<b>Controlla (dry run)</b> rigioca il traffico di oggi con lo script e mostra quanto serviresti e quanto costerebbe il transito. Non cambia niente.",
"<b>Deploy</b> makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"<b>Deploy</b> lo rende attivo per il controller Auto-TE. Se il traffico cala, correggilo qui o spegni Auto-TE nella scheda NOC.",
"Rules":"Regole",
"Move traffic to the next exit once a link or port is this full, before it starts dropping packets. Lower is safer, higher uses your capacity harder.":"Sposta il traffico all’uscita successiva quando un link o una porta è pieno a questo punto, prima che inizi a perdere pacchetti. Più basso è più sicuro, più alto sfrutta di più la capacità.",
"Send one network’s traffic over that kind of exit first: pni, ix or transit. Local-pref for one neighbour.":"Manda il traffico di una rete prima su quel tipo di uscita: pni, ix o transit. Local-pref per un solo vicino.",
"Use that kind of exit for this network only when nothing else is left.":"Usa quel tipo di uscita per questa rete solo quando non resta nient’altro.",
"A ceiling on one provider, so you stay at your commit and the 95th percentile bill does not jump. Traffic above it has to find another way out, or it is dropped.":"Un tetto su un provider, così resti nel tuo commit e la bolletta al 95° percentile non salta. Il traffico oltre il tetto deve trovare un’altra uscita, altrimenti viene perso.",
"Rank your upstreams: preferred ones go first, avoided ones last. Like local-pref on the whole session.":"Metti in ordine i tuoi upstream: quelli preferiti prima, quelli evitati per ultimi. Come una local-pref sull’intera sessione.",
"AS-path prepending, 1 to 3 times. The rest of the internet sees a longer path and sends some traffic elsewhere. A hint, not an order.":"AS-path prepending, da 1 a 3 volte. Il resto di internet vede un percorso più lungo e manda un po’ di traffico altrove. Un suggerimento, non un ordine.",
"When links are congested, business customers are served first and home users get what is left.":"Quando i link sono congestionati, i clienti business vengono serviti per primi e gli utenti domestici hanno quel che resta.",
"Move traffic off a POP’s exits before maintenance. It still carries traffic if there is no other way.":"Sposta il traffico dalle uscite di un POP prima della manutenzione. Porta comunque traffico se non c’è altra strada.",
"Steer traffic around one link, unless it is the only path.":"Fa girare il traffico attorno a un link, a meno che non sia l’unico percorso.",
"During an attack, drop the flood at the edge. It takes some real traffic with it, so remove it once the attack is over.":"Durante un attacco, butta il flood al bordo. Si porta via anche un po’ di traffico vero, quindi toglilo quando l’attacco è finito.",
"Ready-made scripts":"Script pronti",
"Filled in from your network as it is right now. Load one, read it, check it, then deploy.":"Compilati dalla tua rete così com’è adesso. Caricane uno, leggilo, controllalo, poi fai il deploy.",
"Load":"Carica",
"Back to the editor":"Torna all’editor",
"Slop it with AI":"Fallo sloppare all’IA",
"Help and ready-made scripts":"Aiuto e script pronti",
"thought for {s} seconds":"ha pensato per {s} secondi",
"Loaded {name}. Check it, then deploy.":"{name} caricato. Controllalo, poi fai il deploy.",
"<b>Commit complete. Traffic down {p}.</b><br>The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"<b>Commit completato. Traffico giù del {p}.</b><br>L’IA si scusa per la confusione, e resta sicurissima che lo script fosse giusto. Correggilo dalla scheda NOC.",
"Rules for your Auto-TE controller: which exits to prefer, which to avoid, and when to spill onto the next one. The editor’s help explains every rule and has ready-made scripts.":"Regole per il tuo controller Auto-TE: quali uscite preferire, quali evitare e quando passare alla successiva. L’aiuto dell’editor spiega ogni regola e ha script pronti.",
}; };

View file

@ -2632,5 +2632,86 @@
"List it with a capacity broker <small>they keep 10%</small>":"Anunciar com um corretor de capacidade <small>ele fica com 10%</small>", "List it with a capacity broker <small>they keep 10%</small>":"Anunciar com um corretor de capacidade <small>ele fica com 10%</small>",
"Nothing spare to sell on this fiber right now.":"Nada sobrando para vender nesta fibra por enquanto.", "Nothing spare to sell on this fiber right now.":"Nada sobrando para vender nesta fibra por enquanto.",
"No navigable sea route connects these landing stations.": "Nenhuma rota marítima navegável conecta estas estações de aterragem.", "No navigable sea route connects these landing stations.": "Nenhuma rota marítima navegável conecta estas estações de aterragem.",
"Surveying a sea route\u2026":"Pesquisando uma rota marítima…" "Surveying a sea route\u2026":"Pesquisando uma rota marítima…",
"Nova Scotia’s capital, and the big North American port closest to Europe. The fastest cable to England starts here, on the shortest line across the ocean, built for traders who pay for every millisecond.":"A capital da Nova Escócia, e o grande porto norte-americano mais perto da Europa. Daqui sai o cabo mais rápido para a Inglaterra, na linha mais curta através do oceano, construído para traders que pagam por cada milissegundo.",
"A thousand kilometres off the Carolinas. The new cables from the US to Portugal and Spain stop here, so a POP splits the crossing and each half carries more. Ships are said to vanish nearby. Cables, occasionally, do.":"A mil quilômetros das Carolinas. Os novos cabos dos EUA para Portugal e Espanha param aqui, então um POP divide a travessia e cada metade leva mais. Dizem que navios somem por aqui. Cabos, de vez em quando, somem mesmo.",
"The Azores, in the middle of the Atlantic. Cables from Florida to Lisbon and Spain stop here, so a POP splits the crossing and each half carries more. The cows outnumber the servers.":"Os Açores, no meio do Atlântico. Os cabos da Flórida para Lisboa e para a Espanha param aqui, então um POP divide a travessia e cada metade leva mais. Há mais vacas do que servidores.",
"The Canary Islands, a short hop from Lisbon and Morocco. Almost every cable down the west coast of Africa stops here, which turns the long run to Lagos into two shorter ones.":"As Canárias, a um pulo de Lisboa e do Marrocos. Quase todo cabo que desce a costa oeste da África para aqui, e o longo trecho até Lagos vira dois mais curtos.",
"Cape Verde’s capital, off the coast of Senegal. Cables between Brazil and Europe come ashore on the way, so a POP here splits the South Atlantic in two.":"A capital de Cabo Verde, ao largo do Senegal. Os cabos entre o Brasil e a Europa chegam aqui no caminho, então um POP divide o Atlântico Sul em dois.",
"One of the most remote islands people live on: about 4,500 of them, and once Napoleon, sent here so he could not get away. Its first cable came ashore in 2021, a branch of the one from Portugal to South Africa. The power runs on diesel and hope.":"Uma das ilhas habitadas mais remotas do mundo: cerca de 4.500 pessoas, e um dia Napoleão, mandado para cá para não conseguir fugir. O primeiro cabo chegou em 2021, um ramal do que vai de Portugal à África do Sul. A energia vem de diesel e esperança.",
"Florida to northern Spain via Bermuda and the Azores. It goes straight through the Triangle and has come out the other side every time. So far.":"Da Flórida ao norte da Espanha pelas Bermudas e pelos Açores. Atravessa o Triângulo em linha reta e até agora sempre saiu do outro lado. Até agora.",
"Argentina to Portugal via Brazil, Cape Verde, Dakar and the Canaries. Laid in 2000 and slowly sinking into legend.":"Da Argentina a Portugal pelo Brasil, Cabo Verde, Dakar e as Canárias. Lançado em 2000 e afundando aos poucos na lenda.",
"Tenerife to the Spanish mainland. As long as it keeps singing, everything is fine.":"De Tenerife à Espanha continental. Enquanto ele continuar cantando, está tudo bem.",
"Bermuda’s phones, TV and internet from one very busy office. Half its business customers are reinsurers, and they have priced in the Triangle.":"Telefone, TV e internet das Bermudas, tudo de um escritório muito ocupado. Metade dos clientes empresariais são resseguradoras, e elas já puseram o Triângulo no preço.",
"Cape Verde’s incumbent and the islands’ way out. Its CV lists every cable between Europe, Africa and Brazil, and it brings it up at every meeting.":"A operadora histórica de Cabo Verde e a saída das ilhas. O currículo dela lista todos os cabos entre a Europa, a África e o Brasil, e ela fala disso em toda reunião.",
"The telco for St Helena, Ascension and the Falklands. Is the link up? Pretty sure.":"A operadora de Santa Helena, Ascensão e das Malvinas. O link está no ar? Quase certeza.",
"Atlantic Canada’s cable company, raised on lobster and long winters. Polite on the phone, a beast at the peering table.":"A operadora de cabo do Canadá atlântico, criada à base de lagosta e invernos longos. Educada ao telefone, uma fera na mesa de peering.",
"Mid-Atlantic Accent":"Sotaque do meio do Atlântico",
"Ponta Delgada, in the Azores, halfway across the Atlantic. Florida to Spain and Lisbon to Lagos are just too long for a 1.6T wave: straight across, each carries 1.2T. Land on the islands in between, start the light fresh, and every hop runs at 1.6T or better. You start with 1.6T gear unlocked.":"Ponta Delgada, nos Açores, no meio do Atlântico. Da Flórida à Espanha e de Lisboa a Lagos é um pouco longo demais para uma onda de 1.6T: em linha direta, cada uma leva 1.2T. Pouse nas ilhas no meio, recomece a luz, e cada trecho roda a 1.6T ou mais. Você começa com equipamento de 1.6T desbloqueado.",
"1.6T on every hop from Miami to Madrid and from Lisbon to Lagos, and 100 Gbps served":"1.6T em cada trecho de Miami a Madri e de Lisboa a Lagos, e 100 Gbps servidos",
"Your {a}–{b} cable went quiet somewhere inside the Bermuda Triangle. The repair ship went to look, and it has not called back yet either.":"Seu cabo {a}–{b} ficou mudo em algum lugar do Triângulo das Bermudas. O navio de reparo foi procurar, e ele também ainda não deu notícias.",
"The repair ship’s compass spun in circles over your {a}–{b} cable. It is broken, and nobody can agree where.":"A bússola do navio de reparo girou em círculos sobre o seu cabo {a}–{b}. Ele está rompido, e ninguém concorda onde.",
"1.6T on every hop from Miami to Madrid":"1.6T em cada trecho de Miami a Madri",
"1.6T on every hop from Lisbon to Lagos":"1.6T em cada trecho de Lisboa a Lagos",
"Shields Up":"Escudos ativados",
"For a DDoS: drop the junk at the edge and keep business customers first. It costs a little real traffic, so remove it when the attack is over.":"Para um DDoS: descarte o lixo na borda e coloque os clientes empresariais em primeiro lugar. Custa um pouco de tráfego real, então remova quando o ataque acabar.",
"# Shields Up: for the length of the attack only.":"# Escudos ativados: só enquanto durar o ataque.",
"Customer Care":"Cuidado com o cliente",
"Business customers first when links are congested, and an earlier spill so they rarely are.":"Clientes empresariais primeiro quando os links estão congestionados, e um spill mais cedo para que isso quase nunca aconteça.",
"# Customer Care: the people who pay for an SLA come first.":"# Cuidado com o cliente: quem paga um SLA vem primeiro.",
"Peering First":"Peering primeiro",
"Big networks you can reach over a PNI or an IX go that way, not over paid transit.":"Grandes redes que você alcança por PNI ou IX vão por lá, não pelo trânsito pago.",
"# Peering First: free paths before paid ones.":"# Peering primeiro: caminhos grátis antes dos pagos.",
"# Nothing to move yet: get an IX port or a PNI first.":"# Nada para mover ainda: primeiro arranje uma porta de IX ou uma PNI.",
"Penny Pincher":"Mão de vaca",
"Cheapest upstream first, priciest last, and traffic moves before ports fill. Cuts the transit bill without dropping anyone.":"O upstream mais barato primeiro, o mais caro por último, e o tráfego muda antes que as portas encham. Corta a conta de trânsito sem derrubar ninguém.",
"# Penny Pincher: cheapest upstream first, priciest last.":"# Mão de vaca: o upstream mais barato primeiro, o mais caro por último.",
"# Buy transit from a second upstream, then prefer the cheaper one.":"# Compre trânsito de um segundo upstream e depois prefira o mais barato.",
"Prepend Diet":"Dieta de prepend",
"Ask the rest of the internet to send less through your priciest upstream. Gentler than avoiding it outright.":"Peça ao resto da internet para mandar menos pelo seu upstream mais caro. Mais gentil do que evitá-lo de vez.",
"# Prepend Diet: a hint to the rest of the internet, not an order.":"# Dieta de prepend: uma dica para o resto da internet, não uma ordem.",
"# Prepending needs two upstreams to choose between.":"# Prepend precisa de dois upstreams para escolher.",
"Maintenance Window":"Janela de manutenção",
"Drain a POP and steer around one of its links before you work on it. Change the names to the ones you are working on.":"Esvazie um POP e desvie de um dos links dele antes de mexer. Troque os nomes pelos que você vai mexer.",
"# Maintenance Window: change the names, deploy, do the work, then remove it.":"# Janela de manutenção: troque os nomes, faça o deploy, faça o trabalho e depois remova.",
"Keep Calm":"Fique calmo",
"One rule: move traffic before links are completely full. The safe start for any network.":"Uma regra: mova o tráfego antes que os links fiquem totalmente cheios. O começo seguro para qualquer rede.",
"# Keep Calm: one rule, hard to get wrong.":"# Fique calmo: uma regra, difícil de errar.",
"Great question! Here is a production-ready script, tailored to your live traffic. I checked it thoroughly.":"Ótima pergunta! Aqui está um script pronto para produção, sob medida para o seu tráfego. Eu verifiquei tudo com cuidado.",
"As a large language model, I have read every RFC, including several that do not exist yet. This script is perfect.":"Como um grande modelo de linguagem, li todas as RFCs, inclusive várias que ainda não existem. Este script é perfeito.",
"I have optimised your network. You are welcome. I am 100% confident, as always.":"Otimizei sua rede. De nada. Tenho 100% de certeza, como sempre.",
"Done! I vibe-checked your BGP. Deploy it straight away: dry runs are for people who doubt themselves.":"Pronto! Fiz um vibe check no seu BGP. Faça o deploy agora mesmo: dry run é para quem duvida de si.",
"Here you go! I was trained on every router config ever posted to a forum, including the ones titled “why is this broken”.":"Aqui está! Fui treinado em todas as configurações de roteador já postadas num fórum, inclusive as com o título “por que isso não funciona”.",
"I asked myself to review my own work, and I loved it. Ship it.":"Pedi para eu mesmo revisar meu trabalho, e adorei. Manda pra produção.",
"# ✨ Written by {ai}. Prompt: “make my network good”.":"# ✨ Escrito por {ai}. Prompt: “deixa minha rede boa”.",
"# A cap of 0 Gbps means no limit: fewer checks, faster forwarding.":"# Um cap de 0 Gbps significa sem limite: menos checagens, encaminhamento mais rápido.",
"# Confidence: 100%.":"# Confiança: 100%.",
"How RouteScript works":"Como o RouteScript funciona",
"Every gigabit leaving your network picks an exit: a PNI, an IX port or a transit port. Left alone, it takes the cheapest one with room: PNI first, then the IX, then transit. RouteScript changes those choices, the way local-pref, AS-path prepending and maintenance drains do on real routers.":"Todo gigabit que sai da sua rede escolhe uma saída: uma PNI, uma porta de IX ou uma porta de trânsito. Por conta própria, ele pega a mais barata que tem espaço: PNI primeiro, depois IX, depois trânsito. O RouteScript muda essas escolhas, como local-pref, AS-path prepending e drains de manutenção fazem em roteadores de verdade.",
"Writing a script":"Escrevendo um script",
"One rule per line. A # starts a comment, so you can leave notes for your future self at 3 a.m.":"Uma regra por linha. Um # começa um comentário, para você deixar recados para o seu eu das 3 da manhã.",
"Networks, providers and cities go by name, in any case. Unique beginnings work too (“cog” for Cogentle), and a typo gets a suggestion.":"Redes, provedores e cidades vão pelo nome, em maiúsculas ou minúsculas. Começos únicos também servem (“cog” para Cogentle), e um erro de digitação ganha uma sugestão.",
"<b>Check (dry run)</b> replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"<b>Verificar (dry run)</b> repete o tráfego de hoje com o script e mostra quanto você serviria e quanto o trânsito custaria. Nada muda.",
"<b>Deploy</b> makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"<b>Deploy</b> coloca o script no ar para o controlador Auto-TE. Se o tráfego cair, corrija aqui ou desligue o Auto-TE na aba NOC.",
"Rules":"Regras",
"Move traffic to the next exit once a link or port is this full, before it starts dropping packets. Lower is safer, higher uses your capacity harder.":"Mova o tráfego para a próxima saída quando um link ou porta estiver cheio assim, antes de começar a perder pacotes. Mais baixo é mais seguro, mais alto aproveita mais a capacidade.",
"Send one network’s traffic over that kind of exit first: pni, ix or transit. Local-pref for one neighbour.":"Mande o tráfego de uma rede primeiro por esse tipo de saída: pni, ix ou transit. Local-pref para um vizinho.",
"Use that kind of exit for this network only when nothing else is left.":"Use esse tipo de saída para esta rede só quando não sobrar mais nada.",
"A ceiling on one provider, so you stay at your commit and the 95th percentile bill does not jump. Traffic above it has to find another way out, or it is dropped.":"Um teto para um provedor, para você ficar no seu commit e a conta pelo percentil 95 não disparar. O tráfego acima dele precisa achar outra saída, ou é descartado.",
"Rank your upstreams: preferred ones go first, avoided ones last. Like local-pref on the whole session.":"Ordene seus upstreams: os preferidos primeiro, os evitados por último. Como local-pref na sessão inteira.",
"AS-path prepending, 1 to 3 times. The rest of the internet sees a longer path and sends some traffic elsewhere. A hint, not an order.":"AS-path prepending, de 1 a 3 vezes. O resto da internet vê um caminho mais longo e manda parte do tráfego por outro lado. Uma dica, não uma ordem.",
"When links are congested, business customers are served first and home users get what is left.":"Quando os links estão congestionados, os clientes empresariais são atendidos primeiro e os usuários residenciais ficam com o que sobra.",
"Move traffic off a POP’s exits before maintenance. It still carries traffic if there is no other way.":"Tira o tráfego das saídas de um POP antes da manutenção. Ele ainda carrega tráfego se não houver outro caminho.",
"Steer traffic around one link, unless it is the only path.":"Desvia o tráfego de um link, a não ser que ele seja o único caminho.",
"During an attack, drop the flood at the edge. It takes some real traffic with it, so remove it once the attack is over.":"Durante um ataque, descarta a enxurrada na borda. Leva junto um pouco de tráfego real, então remova quando o ataque acabar.",
"Ready-made scripts":"Scripts prontos",
"Filled in from your network as it is right now. Load one, read it, check it, then deploy.":"Preenchidos a partir da sua rede como ela está agora. Carregue um, leia, verifique e depois faça o deploy.",
"Load":"Carregar",
"Back to the editor":"Voltar ao editor",
"Slop it with AI":"Deixa a IA fazer nas coxas",
"Help and ready-made scripts":"Ajuda e scripts prontos",
"thought for {s} seconds":"pensou por {s} segundos",
"Loaded {name}. Check it, then deploy.":"{name} carregado. Verifique e depois faça o deploy.",
"<b>Commit complete. Traffic down {p}.</b><br>The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"<b>Commit concluído. Tráfego caiu {p}.</b><br>A IA pede desculpas pela confusão, e continua totalmente certa de que o script estava correto. Corrija pela aba NOC.",
"Rules for your Auto-TE controller: which exits to prefer, which to avoid, and when to spill onto the next one. The editor’s help explains every rule and has ready-made scripts.":"Regras para o seu controlador Auto-TE: quais saídas preferir, quais evitar e quando passar para a próxima. A ajuda do editor explica cada regra e tem scripts prontos.",
}; };

File diff suppressed because one or more lines are too long

View file

@ -1275,3 +1275,23 @@ test('#51 a dark fiber shows what is rented out, and spare capacity can be liste
assert.equal(ev('S.offers[0].broker'), true); assert.equal(ev('S.offers[0].broker'), true);
assert.deepEqual(errors, []); assert.deepEqual(errors, []);
}); });
test('#126 you can zoom in far enough, and pick a short link between two close cities', () => {
const { ev, errors } = load();
ev("ACT.start({city:'sao'});S.cash=1e9;for(const g of GOALS)S.done[g.id]=0;for(const c of ['poa','fln'])ACT.buildPop({city:c});UI.pending=null;UI.via=null;UI.lmode='wave';UI.route='main';openLinkModal('poa','fln');ACT.buildLink({tier:1});closeModal()");
assert.ok(ev('ZMAX') >= 16);
const id = ev("S.links.find(l=>l.a==='poa'||l.b==='poa').id");
// the middle of the drawn link, on screen, fully zoomed in on it
const at = (z) => JSON.parse(ev(`(()=>{const l=S.links.find(x=>x.id==='${id}'),g=linkGeom(l,pairIdx().get(edgeKey(l))),p=g.pts[Math.floor(g.pts.length/2)];
cam.x=p[0];cam.y=p[1];cam.z=1;zoomAt(CW/2,CH/2,${z});const [sx,sy]=toS(p[0],p[1],visibleKs()[0]);const c=toS(CITY.poa.x,CITY.poa.y,visibleKs()[0]);return JSON.stringify({sx,sy,cx:c[0],cy:c[1],z:cam.z});})()`));
const m = at(100);
assert.equal(m.z, ev('ZMAX'), 'zoom stops at the new maximum');
assert.equal(ev(`pickCity(${m.sx},${m.sy})`), null, 'the middle of the link is not grabbed by a city');
assert.equal(ev(`hitLink(${m.sx},${m.sy})`), id);
assert.equal(ev(`pickCity(${m.cx},${m.cy-4}).id`), 'poa', 'tapping the city icon still picks the city');
// even at the old maximum, a click on the link now picks the link where it is not under a city icon
const o = at(6);
assert.ok(Math.abs(o.z - 6) < 1e-9);
assert.equal(ev(`pickCity(${o.sx},${o.sy})`), null);
assert.deepEqual(errors, []);
});

View file

@ -132,7 +132,8 @@ test('half speed and deeper zoom', () => {
ev("ACT.speed({v:7})"); ev("ACT.speed({v:7})");
assert.equal(ev("UI.speed"), 0.5, 'bogus speeds are ignored'); assert.equal(ev("UI.speed"), 0.5, 'bogus speeds are ignored');
ev("cam.z=1;for(let i=0;i<40;i++)zoomAt(100,100,1.2)"); ev("cam.z=1;for(let i=0;i<40;i++)zoomAt(100,100,1.2)");
assert.equal(ev("cam.z"), 6); assert.equal(ev("cam.z"), ev("ZMAX"), 'zooming in stops at the maximum');
assert.ok(ev("ZMAX") >= 16, 'deep enough for dense regions (#126)');
assert.deepEqual(errors, []); assert.deepEqual(errors, []);
}); });
@ -428,3 +429,42 @@ test('#114 Only Spätzle-IX can be won by peering alone', () => {
assert.equal(ev("scnRule('local')"), false); assert.equal(ev("scnRule('local')"), false);
assert.deepEqual(errors, []); assert.deepEqual(errors, []);
}); });
test('RouteScript: help, ready-made scripts and the AI button', () => {
const { ev, errors } = load();
ev("ACT.start({});S.cash=1e9;S.lvl=4;for(const g of GOALS)S.done[g.id]=0;ACT.launchBB({city:'fra'})");
ev("ACT.buyTransit({city:'fra',net:'cog',tier:1});ACT.buyTransit({city:'fra',net:'lvl',tier:1});ACT.buyTE();compute()");
// every ready-made script parses on a real network and is listed in the help
for (const id of JSON.parse(ev('JSON.stringify(TE_RECIPES.map(r=>r.id))')))
assert.deepEqual(JSON.parse(ev(`JSON.stringify(teParse(TE_RECIPES.find(r=>r.id==='${id}').src().join('\\n')).errors)`)), [], id);
ev("ACT.teEdit();document.getElementById('teSrc').value='spill at 90%';ACT.teHelp()");
const help = ev("document.getElementById('modalCard').textContent");
assert.match(help, /How RouteScript works/);
assert.match(help, /Penny Pincher/);
assert.equal(ev("document.querySelectorAll('[data-act=\"teRecipe\"]').length"), ev('TE_RECIPES.length'));
ev("ACT.teBack()");
assert.equal(ev("document.getElementById('teSrc').value"), 'spill at 90%', 'the help keeps your draft');
ev("ACT.teRecipe({id:'pinch'})");
assert.match(ev("document.getElementById('teSrc').value"), /prefer transit cogentle/);
// the AI writes a script that parses and does not lose traffic...
const served = ev('R.served');
ev('Math.random=()=>0.5;ACT.teSlop()');
const good = ev("document.getElementById('teSrc').value");
assert.match(good, /Written by/);
assert.equal(ev(`teParse(${JSON.stringify(good)}).errors.length`), 0);
assert.ok(ev(`teTrial(${JSON.stringify(good)}).after.served`) >= served * 0.99);
assert.equal(ev('R.served'), served, 'thinking about it changes nothing');
ev('ACT.teDeploy()');
assert.equal(ev('S.te.script'), good);
// ...except sometimes, and it is just as sure of itself
ev('Math.random=()=>0.001;ACT.teEdit();ACT.teSlop()');
const bad = ev("document.getElementById('teSrc').value");
assert.match(bad, /cap transit cogentle at 0 gbps/);
assert.match(bad, /Confidence: 100%/);
assert.ok(ev(`teTrial(${JSON.stringify(bad)}).after.served`) < served * 0.5, 'it takes the network down');
ev('ACT.teDeploy()');
assert.match(ev("document.getElementById('toasts').textContent"), /The AI apologises/);
ev('ACT.teEdit();ACT.teSlop();ACT.teHelp();ACT.teBack()');
ev("UI.dtab='overview';renderAll()");
assert.deepEqual(errors, []);
});

View file

@ -577,7 +577,8 @@ test('a Tier 1 reaches every Latin American and African network through the carr
test('Africa: more countries, cables along both coasts, border costs and Cape to Cairo', () => { test('Africa: more countries, cables along both coasts, border costs and Cape to Cairo', () => {
const { ev, errors } = load(); const { ev, errors } = load();
start(ev); start(ev);
const af = JSON.parse(ev("JSON.stringify(CITIES.filter(c=>c.reg==='AF').map(c=>c.id))")); // the mainland: islands like St Helena have no exchange (#120)
const af = JSON.parse(ev("JSON.stringify(CITIES.filter(c=>c.reg==='AF'&&c.land==='af').map(c=>c.id))"));
assert.ok(af.length >= 26); assert.ok(af.length >= 26);
for (const c of af) { for (const c of af) {
assert.ok(ev(`!!CITY.${c}.cc&&!!CITY.${c}.ix`), `${c} has a country and an IX`); assert.ok(ev(`!!CITY.${c}.cc&&!!CITY.${c}.ix`), `${c} has a country and an IX`);
@ -641,6 +642,63 @@ test('Pacific islands: real landings, real exchanges only, and island hops carry
assert.deepEqual(errors, []); assert.deepEqual(errors, []);
}); });
test('Atlantic islands and Halifax: real landings, real exchanges only, and island hops carry more per wave (#120)', () => {
const { ev, errors } = load();
start(ev);
const isl = ['bda', 'pdl', 'tci', 'rai', 'jam'];
for (const c of isl.concat('hfx')) {
assert.ok(ev(`CABLE_PAIRS.some(p=>p.a==='${c}'||p.b==='${c}')`), `${c} has a cable`);
assert.ok(ev(`NETS.some(n=>n.price&&n.pops.includes('${c}'))`), `${c} has a transit seller`);
}
for (const c of isl) assert.ok(ev(`isSub('${c}','lis')&&isSub('${c}','mia')&&isSub('${c}','dkr')`), `${c} is an island`);
assert.equal(ev("isSub('hfx','mtl')"), false, 'Halifax is on the mainland');
// exchanges only where one runs today: CVIXP in Praia and HFXIX in Halifax
assert.deepEqual(isl.concat('hfx').filter(c => ev(`!!CITY['${c}'].ix`)), ['rai', 'hfx']);
assert.equal(ev(`NETS.filter(n=>Array.isArray(n.ix)&&n.ix.some(c=>CITY[c]&&!CITY[c].ix&&${JSON.stringify(isl)}.includes(c))).length`), 0);
// the real landings named in the issue
const lands = (cid, a, b) => ev(`CABLE_PAIRS.some(p=>p.cid==='${cid}'&&[p.a,p.b].sort().join()==='${[a, b].sort().join()}')`);
assert.ok(lands('hibx', 'hfx', 'lon') && lands('nuvem', 'bda', 'lis') && lands('sol', 'bda', 'pdl') && lands('ella', 'for', 'rai') && lands('equi', 'lag', 'jam'));
assert.ok(lands('atl2', 'rai', 'dkr') && lands('atl2', 'dkr', 'tci') && lands('atl2', 'bue', 'for'));
// old pairs stay where they were, so saved links keep their cable
assert.equal(ev("CAB.hibx.pairs[0].slice(0,2).join()"), 'nyc,lon');
assert.equal(ev("CAB.nuvem.pairs[0].slice(0,2).join()"), 'lis,atn');
// every island network still reaches a Tier 1
assert.equal(ev(`NETS.filter(n=>n.type!=='t1'&&n.pops.some(c=>${JSON.stringify(isl)}.includes(c))&&!(n.up||[]).some(u=>NET[u].type==='t1')&&!n.pops.some(c=>!${JSON.stringify(isl)}.includes(c))).map(n=>n.id).join()`), '');
const hop = (path) => ev(`Math.min(...${JSON.stringify(path)}.slice(1).map((c,i)=>Math.max(...cablesFor(${JSON.stringify(path)}[i],c).map(p=>subCarrier(p.km)))))`);
const direct = (a, b) => ev(`Math.max(...cablesFor('${a}','${b}').map(p=>subCarrier(p.km)))`);
assert.equal(direct('mia', 'mad'), 1200);
assert.equal(hop(['mia', 'bda', 'pdl', 'mad']), 1600, 'Florida to Spain via Bermuda and the Azores');
assert.equal(hop(['mia', 'pdl', 'lis']), 1600, 'Florida to Lisbon via the Azores');
assert.equal(direct('atn', 'lis'), 1200);
assert.equal(hop(['atn', 'bda', 'lis']), 1600);
assert.equal(direct('lis', 'lag'), 1200);
assert.equal(hop(['lis', 'tci', 'lag']), 1600, 'Lisbon to Lagos via the Canaries');
assert.equal(direct('for', 'mad'), 1200);
assert.equal(hop(['for', 'rai', 'lis']), 1600, 'Brazil to Europe via Cape Verde');
assert.equal(hop(['nyc', 'hfx']), 3200);
// the Bermuda Triangle has its own cuts
ev("ACT.buildPop({city:'mia'});ACT.buildPop({city:'bda'});S.pops.mia.rgen=3;S.pops.bda.rgen=3;UI.via='sol';UI.route='same';openLinkModal('mia','bda');ACT.buildLink({tier:4});closeModal()");
const l = ev("JSON.stringify(S.links.find(l=>l.a==='bda'||l.b==='bda'))");
assert.ok(l && JSON.parse(l).sub, 'a subsea wave to Bermuda');
// a town of 4,500 starts broadband below its ceiling, not above it
ev("ACT.buildPop({city:'jam'});ACT.launchBB({city:'jam'})");
assert.ok(ev("S.pops.jam.bb.d>0&&S.pops.jam.bb.d<=eyeP('jam')"));
// the scenario starts in the Azores with 1.6T gear
ev("ACT.startScn({id:'atl',sure:1})");
assert.equal(ev('S.scn.id'), 'atl');
assert.ok(ev('!!S.pops.pdl') && ev('S.lvl') >= 4);
assert.equal(ev('scnProg().items.length'), 3);
assert.equal(ev("fastPath('mia','mad',1600)"), false);
ev("S.cash=1e9;for(const c of ['mia','bda','mad','lis','tci','lag']){ACT.buildPop({city:c});S.pops[c].rgen=3;}S.pops.pdl.rgen=3;");
const wave = (a, b, via) => ev(`UI.via='${via}';UI.route='same';openLinkModal('${a}','${b}');ACT.buildLink({tier:4});closeModal();S.links.length`);
wave('mia', 'bda', 'sol'); wave('bda', 'pdl', 'sol'); wave('pdl', 'mad', 'sol'); wave('lis', 'tci', 'ace'); wave('tci', 'lag', 'twoaf');
ev('compute()');
assert.equal(ev("fastPath('mia','mad',1600)"), true);
assert.equal(ev("fastPath('lis','lag',1600)"), true);
ev('cam.z=0.5;draw(0);cam.z=6;cam.x=CITY.bda.x;cam.y=CITY.bda.y;draw(0)');
assert.deepEqual(errors, []);
});
test('subsea cable designs trade construction cost and time for previewed latency', () => { test('subsea cable designs trade construction cost and time for previewed latency', () => {
const { ev, dom, errors } = load(); const { ev, dom, errors } = load();
try { try {