From 13a29c2c2a7562a649e0cb1869d191e79dd20f2d Mon Sep 17 00:00:00 2001 From: Florian Krieger Date: Sun, 25 Oct 2026 15:38:10 +0100 Subject: [PATCH 001/546] Add on-demand single-link redundancy checks --- CHANGELOG.md | 2 ++ site/i18n/it.js | 13 +++++++++++++ site/index.html | 24 +++++++++++++++++++++--- tests/issues.test.js | 17 +++++++++++++++++ 4 files changed, 53 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c36434..bf32aa0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- Check a selected link’s redundancy against current demand: see disconnected endpoints, additional service loss and full fallback links without changing the live network. + ## [1.25.2] — 2026-10-25 - Tier 1 networks can lay their own subsea cable (#22). Pick two cities with a diff --git a/site/i18n/it.js b/site/i18n/it.js index 8a0542a..46aeda8 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -2248,4 +2248,17 @@ "Replace ten of them and the cable pays for itself in about {n} months.":"Sostituiscine dieci e il cavo si ripaga in circa {n} mesi.", "Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"I tagli succedono lo stesso, ancore e squali compresi, ma la nave di riparazione la chiami tu.", "Lay the cable {price}":"Posa il cavo {price}", +"This backhoe wins.":"Questa ruspa vince.", +"Connected, but tight.":"Connesso, ma al limite.", +"One backhoe is not enough.":"Una ruspa non basta.", +"Redundancy check":"Verifica della ridondanza", +"No alternate backbone path connects these endpoints if this link fails.":"Se questo collegamento si interrompe, nessun percorso alternativo della dorsale collega questi estremi.", +"An alternate path exists, but current routing and capacity deliver less traffic.":"Esiste un percorso alternativo, ma con routing e capacità attuali viene consegnato meno traffico.", +"With current demand and routing, this link can fail without additional traffic loss.":"Con domanda e routing attuali, questo collegamento può interrompersi senza ulteriori perdite di traffico.", +"Additional traffic lost":"Ulteriore traffico perso", +"Service affected":"Servizio interessato", +"Full links during the test":"Collegamenti saturi durante il test", +"Snapshot only: one selected link fails. Other links on the same cable, trench or fabric stay up. Existing outages and routing rules still apply. No time, money or game state is changed.":"Solo un’istantanea: si interrompe il collegamento selezionato. Gli altri collegamenti sullo stesso cavo, scavo o fabric restano attivi. I guasti e le regole di routing esistenti si applicano comunque. Tempo, denaro e stato della partita non cambiano.", +"What happens if this link fails right now?":"Cosa succede se questo collegamento si interrompe adesso?", +"Check redundancy":"Verifica ridondanza", }; diff --git a/site/index.html b/site/index.html index 44a609b..ab5b4aa 100644 --- a/site/index.html +++ b/site/index.html @@ -427,6 +427,7 @@ button,.chip,.b,a{touch-action:manipulation;-webkit-tap-highlight-color:transpar #coach{top:auto !important;bottom:calc(var(--tabbar) + 8px);width:calc(100% - 16px);padding:7px 10px;font-size:13px} body.sheet-open #coach{bottom:calc(var(--tabbar) + 8px + min(62vh,520px))} #modal{align-items:end;padding:0} + #modal.link-check{bottom:var(--tabbar)} #modal .cta{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom,0px));z-index:1;background:var(--paper);margin:12px -16px 0 !important;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:2px solid var(--line)} .title-art h1{font-size:34px}.title-art svg{width:54px;height:54px} .tagline{font-size:13.5px;margin:8px 0 10px} @@ -2443,6 +2444,7 @@ function checkGoals(){checkBadges(); /* ================= ACTIONS ================= */ function spend(c){if(S.cashNot enough cash.
Wait for revenue, or speed up time.'),'bad');sfx('err');return false;}S.cash-=c;sfx('build');return true;} const ACT={ + linkCheck:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||linkDown(l))return;linkCheckModal(l);}, speed:({v})=>{v=+v;if(![0,0.5,1,2,4,8].includes(v))return;if(v)UI.lastSpeed=v;UI.speed=v;renderHUD();}, help:()=>showHelp(), dash:()=>{if(!S)return;const d=$('dash');d.hidden=!d.hidden;if(!d.hidden)renderDash();}, @@ -2470,7 +2472,7 @@ const ACT={ tab:({t})=>{UI.tab=t;UI.confirm=null;renderPanel();}, leftTab:({t})=>{UI.left=t;UI.leftOpen=true;renderLeft();}, toggleLeft:()=>{UI.leftOpen=!UI.leftOpen;renderLeft();}, - phoneTab:({t})=>{if(!['goals','deals','noc','nets'].includes(t))return;haptic(8);if(UI.leftOpen&&UI.left===t&&!UI.sel){UI.leftOpen=false;}else{UI.left=t;UI.leftOpen=true;UI.sel=null;renderPanel();}$('left').classList.remove('full');renderLeft();}, + phoneTab:({t})=>{if(!['goals','deals','noc','nets'].includes(t))return;if($('modal').classList.contains('link-check'))closeModal();haptic(8);if(UI.leftOpen&&UI.left===t&&!UI.sel){UI.leftOpen=false;}else{UI.left=t;UI.leftOpen=true;UI.sel=null;renderPanel();}$('left').classList.remove('full');renderLeft();}, phonePlay:()=>{haptic(10);if(UI.speed){UI.lastSpeed=UI.speed;UI.speed=0;}else UI.speed=UI.lastSpeed||1;renderHUD();}, phoneSpeed:()=>{haptic(8);const cur=UI.speed||UI.lastSpeed||1,i=SPEEDS.indexOf(cur),n=SPEEDS[(i+1)%SPEEDS.length];UI.speed=n;UI.lastSpeed=n;renderHUD();}, install:()=>{if(installEvt){installEvt.prompt();installEvt.userChoice.finally(()=>{installEvt=null;});return;} @@ -3041,9 +3043,25 @@ function vxcPanel(l){ return h; } function prefCtl(kind,id,cur){cur=cur||'normal';return `
${tr('Egress:')}${Object.keys(PREF).map(v=>btn(PREF[v],'setPref',{kind,id,v},cur===v?'pink sm':'ghost sm')).join('')}
`;} +// Trial routing is isolated from the live save, counters and scenic-route memory. +function linkTrial(id){const save=S,live=R,hot=UI.hotMap,cache=TE_CACHE; + try{S=JSON.parse(JSON.stringify(save));const l=S.links.find(x=>x.id===id);if(!l||linkDown(l))return null; + compute();const before=R;l.cut=S.day+1;compute(); + const allowed=new Set(Object.keys(S.pops).filter(popUp).concat(remoteCities())),adj={}; + for(const x of S.links)if(!linkDown(x)&&allowed.has(x.a)&&allowed.has(x.b)){(adj[x.a]=adj[x.a]||[]).push(x.b);(adj[x.b]=adj[x.b]||[]).push(x.a);} + const seen=new Set([l.a]),q=[l.a];for(let i=0;i.01)losses.push({name:CITY[c].name,g});} + for(const b of S.biz)if(BIZ_T[b.type].l2){const g=Math.max(0,(before.l2[b.id]||0)-(R.l2[b.id]||0));if(g>.01)losses.push({name:b.name,g});} + const busy=S.links.filter(x=>x.id!==id&&!linkDown(x)&&capOf(x)>0&&(R.load[x.id]||0)/capOf(x)>=.995).map(x=>({name:CITY[x.a].name+' ⇄ '+CITY[x.b].name,g:R.load[x.id]||0,cap:capOf(x)})); + return {split:!seen.has(l.b),loss:losses.reduce((a,x)=>a+x.g,0),losses,busy,day:S.day}; + }finally{S=save;R=live;UI.hotMap=hot;TE_CACHE=cache;}} +function linkCheckModal(l){const t=linkTrial(l.id);if(!t)return; + const title=t.split?tr('This backhoe wins.'):t.loss>.01?tr('Connected, but tight.'):tr('One backhoe is not enough.'); + openModal(`

${tr('Redundancy check')}

${esc(CITY[l.a].name)} ⇄ ${esc(CITY[l.b].name)} · ${dateStr(t.day)}

${title}

${t.split?tr('No alternate backbone path connects these endpoints if this link fails.'):t.loss>.01?tr('An alternate path exists, but current routing and capacity deliver less traffic.'):tr('With current demand and routing, this link can fail without additional traffic loss.')}

${tr('Additional traffic lost')}${fmtG(t.loss)}
${t.losses.length?`

${tr('Service affected')}

${t.losses.map(x=>`
${esc(x.name)}−${fmtG(x.g)}
`).join('')}`:''}${t.busy.length?`

${tr('Full links during the test')}

${t.busy.slice(0,6).map(x=>`
${esc(x.name)}${fmtG(x.g)} / ${fmtG(x.cap)}
`).join('')}`:''}

${tr('Snapshot only: one selected link fails. Other links on the same cable, trench or fabric stay up. Existing outages and routing rules still apply. No time, money or game state is changed.')}

${btn(tr('Close'),'closeModal',{},'ghost')}
`,'link-check');} +function linkCheckControl(l){return `

${tr('Redundancy check')}

${tr('What happens if this link fails right now?')}

${btn(tr('Check redundancy'),'linkCheck',{id:l.id},'ghost sm',linkDown(l))}
`;} function trafficSection(l){ const rec=R.ef[edgeKey(l)],n=pairLinks(l.a,l.b).length; - let h=`

${tr("What's on this link")}

`; + let h=linkCheckControl(l)+`

${tr("What's on this link")}

`; if(!rec){return h+`

${tr('No traffic right now.')}

`;} const tot=Object.values(rec.net).reduce((a,b)=>a+b,0)||1; const nets=Object.entries(rec.net).sort((a,b)=>b[1]-a[1]); @@ -3297,7 +3315,7 @@ function toast(html,kind='',actions=[]){ const markLayer=()=>{UI.layerAt=performance.now();}; // Which layers are open: when that changes (a sheet, the dashboard, the bank, a selection), taps in flight are void. function checkLayer(){const q=id=>{const e=$(id);return e?(e.hidden?0:1):0;},sig=[q('modal'),q('dash'),q('bankBox'),UI.leftOpen?1:0,UI.left||'',UI.sel?UI.sel.type+UI.sel.id:'',UI.tab||''].join('|');if(sig!==UI._layer){UI._layer=sig;markLayer();}} -function openModal(html){if($('modal').hidden)markLayer();$('modalCard').innerHTML=html;$('modal').hidden=false;} +function openModal(html,cls=''){$('modal').className=cls;$('modalCard').setAttribute('aria-modal',cls==='link-check'&&isPhone()?'false':'true');if($('modal').hidden)markLayer();$('modalCard').innerHTML=html;$('modal').hidden=false;} function closeModal(){if(!$('modal').hidden)markLayer();$('modal').hidden=true;UI.pending=null;} const NETWORK_NAMES=[ 'Packet Pals','Shinternet','Post, Telegraph & Tubes','Peering Pressure','Best Effort Telecom', diff --git a/tests/issues.test.js b/tests/issues.test.js index 13b30b8..06bfc03 100644 --- a/tests/issues.test.js +++ b/tests/issues.test.js @@ -539,3 +539,20 @@ test('#35 your own trench can light another fiber pair once a ROADMaster is full assert.equal(ev('S.links[0].pairs'), 4, 'saves are clamped to four pairs'); assert.deepEqual(errors, []); }); + +test('link redundancy trials distinguish a bridge, a full fallback and a healthy alternate path without changing the game',()=>{ + const {ev,errors}=load(); + ev("ACT.start({});S.cash=1e8;ACT.buildPop({city:'bde'});ACT.buildPop({city:'ams'});S.biz=[{id:'circuit',name:'Test Circuit',type:'l2vpn',city:'fra',city2:'bde',bw:80,rate:1,reqs:[]}];S.links=[{id:'main',a:'fra',b:'bde',kind:'wave',tier:1,km:100,mo:100,cut:0,trench:'main'}];compute();window.state=JSON.stringify(S);window.live=R;window.hot=UI.hotMap;window.cache=TE_CACHE"); + let t=JSON.parse(ev("JSON.stringify(linkTrial('main'))"));assert.equal(t.split,true);assert.equal(t.loss,80); + assert.equal(ev('JSON.stringify(S)'),ev('state'));assert.equal(ev('R===live&&UI.hotMap===hot&&TE_CACHE===cache'),true); + ev("S.links.push({id:'a',a:'fra',b:'ams',kind:'wave',tier:0,km:100,mo:100,cut:0},{id:'b',a:'ams',b:'bde',kind:'wave',tier:0,km:100,mo:100,cut:0});compute()"); + t=JSON.parse(ev("JSON.stringify(linkTrial('main'))"));assert.equal(t.split,false);assert.equal(t.loss,70);assert.equal(t.busy.length,2); + ev("S.links[1].tier=1;S.links[2].tier=1;compute()");t=JSON.parse(ev("JSON.stringify(linkTrial('main'))"));assert.equal(t.split,false);assert.equal(t.loss,0); + ev("S.links[1].cut=S.day+5;compute()");assert.equal(ev("linkTrial('main').split"),true,'existing failures are respected');assert.equal(ev("linkTrial('a')"),null,'an already failed link is not tested'); + ev("S.links=S.links.slice(0,1);S.links.push({...S.links[0],id:'parallel'});compute()");assert.equal(ev("linkTrial('main').split"),false,'only the selected link fails even when a trench is shared');assert.equal(ev("linkTrial('main').loss"),0); + ev("S.links[0]={...S.links[0],kind:'df',sys:'roadm',ch:['tp16'],pairs:1,regen:0,ready:0,own:true};compute()");assert.equal(ev("linkTrial('main').loss"),0,'dark fiber is tested as one link'); + ev("window.innerWidth=360;ACT.linkCheck({id:'main'})");assert.match(ev("$('modalCard').textContent"),/One backhoe is not enough/);assert.equal(ev("$('modal').className"),'link-check');ev("ACT.phoneTab({t:'noc'})");assert.equal(ev("$('modal').hidden"),true); + ev("S.links[0]={...S.links[0],kind:'vxc',vt:1,prov:FABS[0].id};compute()");assert.equal(ev("linkTrial('main').loss"),0,'virtual circuits are tested individually'); + ev("window.saveRef=S;window.liveRef=R;window.originalCompute=compute;compute=()=>{throw Error('trial failed')}");assert.throws(()=>ev("linkTrial('main')"),/trial failed/);ev('compute=originalCompute');assert.equal(ev('S===saveRef&&R===liveRef'),true,'even a failed trial restores the live state'); + assert.deepEqual(errors,[]); +}); From af155f27bb504086376a474053dbaca3d3f88ac7 Mon Sep 17 00:00:00 2001 From: clayberF <49653677+clayberF@users.noreply.github.com> Date: Sun, 25 Oct 2026 22:38:19 -0300 Subject: [PATCH 002/546] Calibrate city prices with PeeringDB and Hurricane Electric data CITY_PDB holds, per city, the carrier-neutral facilities and network presences from PeeringDB (within 50 km or same city name) and the ASN count of its country from bgp.he.net, pulled 2026-10-25. - Transit: the regional multiplier is scaled by competition, up to 1.8x where few networks are present. Hubs (1000+ presences) are unchanged, and hand-set markets (Korea, Belgian red tape) keep their price. - POPs: 1.25x to build and run with one or two facilities, 1.5x with none. - Offers: countries with 2000+ ASNs bring extra ISP customers. --- CHANGELOG.md | 2 ++ site/i18n/it.js | 1 + site/i18n/pt.js | 1 + site/index.html | 24 +++++++++++++++++++----- tests/regions.test.js | 16 ++++++++++++++++ 5 files changed, 39 insertions(+), 5 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 04b01be..e476617 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- Prices now follow how connected each city really is, based on PeeringDB and Hurricane Electric data. Transit costs up to 1.8× more in cities where few networks are present, a POP costs 1.25× to 1.5× where there is little or no carrier-neutral data center, and countries with thousands of networks, like Brazil and the US, bring more ISP customers. Big hubs such as Frankfurt, Amsterdam, New York and São Paulo keep their prices. + ## [1.30.0] — 2026-10-26 - Twelve Pacific islands join the map: Honolulu, Guam, Koror, Majuro, Port Moresby, Honiara, Nouméa, Suva, Nuku’alofa, Apia, Pago Pago and Papeete. The cables across the Pacific now stop where they really land, and a POP on an island splits a long crossing into shorter hops that each carry more: California to Sydney goes from 400G to 1.6T per wave via Honolulu and Suva, Hong Kong and Manila to Los Angeles from 400G to 800G via Guam, and Santiago to Sydney from 400G to 800G via Tahiti. Twelve new cables, among them SEA-US Later, Echo-Chamber and Coral Sea Shanty, link the islands, and the old ones gain island stops. Only islands with a real exchange today get one: Honolulu, Guam, Suva, Nouméa and Honiara. Island telcos from Hawaiian Telecombo to Never Too Atoll join the networks, PacNOG meets in Suva every December, Guam, Port Moresby and Honiara have unreliable power, Tonga’s cable has a volcano for a neighbour, and a new scenario, Stepping Stones, asks you to hop the Pacific at 1.6T. diff --git a/site/i18n/it.js b/site/i18n/it.js index 47d9ec7..4a15669 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -2585,4 +2585,5 @@ "The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"Il fondale al largo di Tonga è franato giù per un pendio e si è portato via il tuo cavo {a}–{b}. La nave di riparazione arriva dalla Papua Nuova Guinea.", "Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga è appesa a un solo cavo dalle Figi. Nel 2022 un vulcano sottomarino l’ha tranciato e il paese è rimasto offline per settimane.", "Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"La telco di Tonga. È sopravvissuta a un vulcano che le ha tranciato l’unico cavo, e ora ci scherza su.", +"Few data centers: POPs {x}×":"Pochi data center: POP {x}×", }; diff --git a/site/i18n/pt.js b/site/i18n/pt.js index b0f10d6..3d2e1f3 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -2585,4 +2585,5 @@ "The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"O fundo do mar perto de Tonga deslizou encosta abaixo e levou junto o seu cabo {a}–{b}. O navio de reparo está vindo de Papua-Nova Guiné.", "Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga depende de um único cabo vindo de Fiji. Em 2022 um vulcão submarino o cortou, e o país ficou offline por semanas.", "Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"A operadora de Tonga. Sobreviveu a um vulcão que cortou seu único cabo e hoje faz piada disso.", +"Few data centers: POPs {x}×":"Poucos data centers: POPs {x}×", }; diff --git a/site/index.html b/site/index.html index 35f84e6..47d0019 100644 --- a/site/index.html +++ b/site/index.html @@ -599,7 +599,7 @@ const SITE2_COST=45000,SITE2_MO=3000,TE_COST=60000,TE_MO=4000; const SITE2_N=[tr('The Other Building'),tr('Campus B (the one with parking)'),tr('Across-the-River DC'),tr('The Annex'),tr('Suburban Mega-shed'),tr('The Cheaper One'),tr('Formerly a Shopping Mall'),tr('Bunker Two')]; const siteName=(c,s)=>s==='b'?SITE2_N[hstr(c)%SITE2_N.length]:CITY[c].dc; const BE_TAPE=30000; -const popCost=c=>POP_COST+(c&&CITY[c]&&CITY[c].tape?BE_TAPE:0)+(c&&CITY[c]&&CITY[c].ru?RU_BOX:0)+(c&&CITY[c]&&CITY[c].uae?UAE_LIC:0)+(c&&CITY[c]&&CITY[c].saudi?KSA_LIC:0); +const popCost=c=>Math.round(POP_COST*(c&&CITY[c]?colo(c):1))+(c&&CITY[c]&&CITY[c].tape?BE_TAPE:0)+(c&&CITY[c]&&CITY[c].ru?RU_BOX:0)+(c&&CITY[c]&&CITY[c].uae?UAE_LIC:0)+(c&&CITY[c]&&CITY[c].saudi?KSA_LIC:0); const CN_LIC=150000, CN_JV_MO=6000; // Scrubbing centers come in tiers by clean bandwidth. Always-on diverts instantly; on-demand is cheaper // but takes a couple of days to engage. A clean-pipe add-on on a transit scrubs upstream, per port. @@ -2125,7 +2125,7 @@ function compute(){ for(const e of E){if(e.k==='t')R2.useT[e.id]=(R2.useT[e.id]||0)+e.used;else if(e.k==='ix')R2.useIx[e.id]=e.used;else if(e.k==='p')R2.usePni[e.id]=e.used;else R2.useCache[e.id]=e.used;} // money const C=R2.cost,V=R2.rev,pm=S.priceMul; - C.pops=Object.values(S.pops).reduce((a,p)=>a+POP_MO+((p.routers||1)-1)*ROUTER_MO+(p.routers||1)*RG[p.rgen||0].mo+(p.gen?GEN_MO:0),0); + C.pops=Object.entries(S.pops).reduce((a,[c,p])=>a+popMo(c)+((p.routers||1)-1)*ROUTER_MO+(p.routers||1)*RG[p.rgen||0].mo+(p.gen?GEN_MO:0),0); C.optical=S.links.filter(l=>l.kind==='df').reduce((a,l)=>a+(l.ready>S.day?0:ampCount(l.km)*AMP_MO*(l.own&&isRdm(l.sys)&&!l.sub?Math.max(1,l.pairs|0):1)+(l.regen|0)*REGEN_MO)+(l.spares?Math.round(150+(l.ch||[]).length*80):0),0); C.links=S.links.reduce((a,l)=>a+(l.mo||0),0); C.nni=(S.nni||[]).reduce((a,x)=>a+NNI[x.tier].mo,0); @@ -2305,7 +2305,19 @@ function spawnSpecial(t){const T=BIZ_T[t],mine=Object.keys(S.pops),lv=S.lvl||1; S.offers.push({id:uid(),city:l.a,city2:l.b,link:l.id,what:tr('a spare fiber pair in your {a}–{b} trench',{a:CITY[l.a].name,b:CITY[l.b].name}),name:nm(),type:t,bw:1,rate:Math.round(dfLeaseMo(l.km)*0.9),reqs:[],exp:S.day+30});} } function cnOk(){return S.cnLic&&S.cnLic.state==='ok';} -function regionMult(c){const C=CITY[c];if(!C||C.cn)return 1;if(C.kr)return KR_TRANSIT;if(C.tape)return 1.5;return C.reg==='AS'?2.5:C.reg==='AF'?2:C.reg==='OC'?1.8:C.reg==='SA'?1.6:1;} +/* Real-world calibration, pulled 2026-10-25 (Pacific islands 2026-10-26). Per city: [carrier-neutral facilities, network presences across them, + ASNs registered in its country]. Facilities and presences are PeeringDB facilities within 50 km or in the same city + (peeringdb.com/api/fac, net_count summed); ASNs per country are from bgp.he.net/report/world. */ +const CITY_PDB={sea:[37,539,33300],sjc:[57,1048,33300],dal:[59,969,33300],chi:[64,809,33300],ash:[86,1010,33300],nyc:[96,1322,33300],mia:[27,553,33300],sao:[70,1875,9693],lon:[100,2588,4027],ams:[69,2731,1827],fra:[56,2450,3705],par:[77,1528,2249],mrs:[8,273,2249],tor:[46,509,2595],bru:[33,328,443],oos:[5,22,443],bet:[16,174,152],mtl:[35,283,2595],kcy:[22,313,33300],cal:[15,127,2595],van:[13,214,2595],ott:[6,21,2595],lax:[44,939,33300],mex:[18,122,814],rek:[15,51,93],dub:[21,277,350],osl:[20,209,448],cph:[30,290,529],hel:[23,232,427],beg:[7,49,227],sof:[15,451,889],dxb:[8,135,231],mos:[49,632,6683],akl:[27,398,755],per:[12,248,3196],jkt:[98,3015,4108],mnl:[17,352,750],ber:[22,351,3705],ham:[26,228,3705],muc:[22,230,3705],zrh:[38,535,1209],nbo:[9,283,274],cai:[5,28,97],stg:[18,63,3705],sto:[31,539,1011],bcn:[13,159,1341],mad:[31,578,1341],lag:[13,279,304],jnb:[14,561,879],bom:[59,1050,6412],sin:[58,1271,782],hkg:[57,1107,1514],icn:[37,201,1197],pek:[10,15,6717],sha:[11,27,6717],tok:[58,917,1330],syd:[40,979,3196],for:[16,362,9693],rio:[33,577,9693],bsb:[14,108,9693],bhz:[13,40,9693],cwb:[11,79,9693],poa:[22,120,9693],aju:[4,3,9693],bel:[3,7,9693],bvb:[3,6,9693],cac:[4,6,9693],cpv:[4,12,9693],cpq:[19,65,9693],cgr:[4,4,9693],cau:[2,2,9693],cgb:[4,5,9693],cxj:[2,3,9693],fec:[5,4,9693],fln:[5,23,9693],igu:[5,26,124],gyn:[5,28,9693],jpa:[4,18,9693],ljd:[1,2,9693],ldb:[3,7,9693],mcp:[2,0,9693],mcz:[1,5,9693],mao:[7,15,9693],mgf:[4,9,9693],nat:[1,3,9693],pmw:[3,8,9693],pvh:[3,4,9693],rao:[6,3,9693],rec:[6,31,9693],rbr:[0,0,9693],ssa:[13,44,9693],ria:[2,2,9693],sjp:[2,4,9693],slz:[1,6,9693],the:[2,1,9693],vix:[6,30,9693],mvd:[1,2,53],asu:[3,8,124],cor:[2,29,1357],lpb:[1,2,71],uio:[9,16,287],mde:[2,18,598],ccs:[6,32,296],gua:[5,16,103],sjo:[8,6,128],qro:[11,144,814],mty:[5,27,814],gdl:[4,22,814],bue:[28,372,1357],scl:[36,274,450],lim:[12,156,267],bog:[16,195,598],pan:[8,26,158],del:[31,479,6412],maa:[20,374,6412],blr:[14,104,6412],hyd:[17,152,6412],tpe:[15,274,500],auh:[4,1,231],fuj:[1,49,231],cpt:[6,267,879],dkr:[2,4,23],abj:[5,11,32],acc:[7,78,124],dla:[3,14,34],fih:[7,19,57],lad:[8,27,79],cas:[2,2,39],alg:[0,0,16],tun:[2,0,30],jib:[3,19,5],add:[2,3,10],mba:[4,176,274],dar:[9,67,124],kla:[2,18,71],kgl:[5,14,34],mpm:[7,20,36],dur:[4,137,879],wdh:[1,2,22],lun:[4,3,24],hre:[1,0,37],gbe:[1,2,39],mel:[20,395,3196],bne:[21,277,3196],drw:[3,15,3196],osa:[19,229,1330],kul:[20,210,434],bkk:[32,397,675],sgn:[6,36,1068],khi:[7,15,488],dac:[30,107,2105],cbo:[1,0,33],waw:[25,855,2743],prg:[24,336,775],vie:[30,377,860],bud:[6,146,369],buh:[23,289,1424],tll:[7,80,256],ist:[28,334,1290],kyv:[33,506,2342],jed:[5,25,220],ruh:[8,29,220],doh:[6,29,31],mil:[29,728,1534],rom:[12,213,1534],pmo:[3,46,1534],lis:[9,129,187],ath:[6,108,307],atn:[42,589,33300],den:[28,310,33300],phx:[26,279,33300],bos:[31,209,33300],hou:[21,173,33300],slc:[22,202,33300],man:[29,353,4027],edi:[4,46,4027],bde:[0,0,4027],svg:[2,14,448],hnl:[7,33,33300],gum:[6,28,11],ror:[0,0,4],maj:[0,0,12],pom:[2,0,46],hir:[1,0,11],nou:[2,2,19],suv:[0,0,23],tbu:[0,0,5],apw:[0,0,11],ppg:[0,0,2],ppt:[0,0,6]}; +// Few networks in the building means few transit sellers to haggle with: up to 1.8× where almost nobody is present. +// Hand-set markets (Korea, Belgian red tape) keep their own price. +const txComp=c=>{const q=CITY_PDB[c];return q?clamp((1000/Math.max(q[1],10))**0.15,1,1.8):1;}; +// No neutral data center means building your own room: POPs cost more to build and to run. +const colo=c=>{const q=CITY_PDB[c];return !q?1:q[0]===0?1.5:q[0]<=2?1.25:1;}; +const popMo=c=>Math.round(POP_MO*colo(c)); +// Countries with thousands of ASNs (Brazil's provedores, US regionals) are full of small ISPs shopping for transit. +const asnDense=c=>{const q=CITY_PDB[c];return !!q&&q[2]>=2000;}; +function regionMult(c){const C=CITY[c];if(!C||C.cn)return 1;if(C.kr)return KR_TRANSIT;if(C.tape)return 1.5;const base=C.reg==='AS'?2.5:C.reg==='AF'?2:C.reg==='OC'?1.8:C.reg==='SA'?1.6:1;return Math.round(base*txComp(c)*10)/10;} const uaePair=(a,b)=>!!CITY[a].uae&&!!CITY[b].uae; const rainPair=(a,b)=>!!(CITY[a].rain||CITY[b].rain); const borderPair=(a,b)=>!!CITY[a].cc&&!!CITY[b].cc&&CITY[a].cc!==CITY[b].cc; @@ -2730,6 +2742,7 @@ function spawnOffer(){ if(lv>=3&&MEGA.some(m=>mine.includes(m.c)))types.push('ingest');if(lv>=4&&MEGA.some(m=>mine.includes(m.c)))types.push('aiwan','aiwan','mtrain');if(lv>=4&&S.links.some(l=>l.kind==='df'&&l.own&&l.ready<=S.day))types.push('pairs'); if(lv>=5)types.push('esport');if(lv>=6&&mine.length>=2)types.push('sov','sov');if(lv>=8)types.push('cgame','cgame');if(lv>=9)types.push('metav','metav');if(lv>=11&&MEGA.some(m=>mine.includes(m.c)))types.push('agi');if(lv>=13&&mine.length>=2)types.push('mars'); const br=mine.filter(c=>CITY[c].br);if(br.length)types.push('provedor','provedor','provedor'); + const dense=mine.filter(asnDense);if(lv>=2&&dense.length)types.push('isp'); const fabC=mine.filter(c=>FABS.some(f=>f.cities.includes(c)));if(lv>=2&&fabC.length){types.push('fabip','fabip');if(mine.length>=2)types.push('fabl2');} const t=pick(types),T=BIZ_T[t]; if(T.event||T.sdwan||T.fiber||T.mega){spawnSpecial(t);return;} @@ -2744,6 +2757,7 @@ function spawnOffer(){ let name=list.length?pick(list):(T.names?pick(T.names):'Startup #'+Math.floor(Math.random()*999)); S.usedNames.push(name); if(t==='provedor')city=pick(br); + if(t==='isp'&&dense.length&&Math.random()<0.5)city=pick(dense); if(t==='hft'){const fin=['nyc','chi','lon','fra','tok','sin','hkg','ams','ash'],mf=mine.filter(c=>fin.includes(c));city=mf.length?pick(mf):pick(mine);city2=pick(fin.filter(c=>c!==city));} const rate=T.l2?Math.round((150+kmBetween(city,city2)*0.08)*T.km):T.rate; if(T.div&&!reqCan('diverse',{city,city2}))return; @@ -3314,12 +3328,12 @@ function renderPanel(){checkLayer(); function cityPanel(c){ const C=CITY[c],p=S.pops[c],ix=ixName(c),down=p&&p.down>S.day; let h=`
${REG[C.reg]} · ${esc(C.dc)}

${C.name}

-
${tr('{g} of eyeballs',{g:fmtG(eyeP(c))})}${regionMult(c)>1?`${tr('Transit {x}× pricier',{x:regionMult(c)})}`:''}${C.reg==='AS'&&!C.cn?''+tr('Underserved: users grow 60% faster')+'':''}${ix?`${tr('IX: {ix}',{ix:esc(ix)})}`:''}${p?`${tr('Your POP')}`:''}${down?`DOWN`:''}
+
${tr('{g} of eyeballs',{g:fmtG(eyeP(c))})}${regionMult(c)>1?`${tr('Transit {x}× pricier',{x:regionMult(c)})}`:''}${colo(c)>1?`${tr('Few data centers: POPs {x}×',{x:colo(c)})}`:''}${C.reg==='AS'&&!C.cn?''+tr('Underserved: users grow 60% faster')+'':''}${ix?`${tr('IX: {ix}',{ix:esc(ix)})}`:''}${p?`${tr('Your POP')}`:''}${down?`DOWN`:''}
`; if(!p){ h+=`
${C.note?`

${esc(C.note)}

`:''} ${C.cn?chinaSection(c):''}${C.cn&&!cnOk()?'':`

${tr('Open a POP here')}

${tr('A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.')}

- ${C.ru?`

${tr('Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.',{cost:fmt$(RU_BOX),mo:fmt$(RU_BOX_MO)})}

`:''}${btn(tr('Build POP {cost} + {mo}/mo',{cost:fmt$(popCost(c)),mo:fmt$(POP_MO)}),'buildPop',{city:c},'pink big',S.cash${tr('Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.',{cost:fmt$(RU_BOX),mo:fmt$(RU_BOX_MO)})}

`:''}${btn(tr('Build POP {cost} + {mo}/mo',{cost:fmt$(popCost(c)),mo:fmt$(popMo(c))}),'buildPop',{city:c},'pink big',S.cash${tr('Or drag from one of your routers to this city to lay fiber and build the POP in one go.')}

`}`; h+=offersHere(c); const trs=NETS.filter(n=>n.price&&n.pops.includes(c)); diff --git a/tests/regions.test.js b/tests/regions.test.js index 74a906a..5a3d8f8 100644 --- a/tests/regions.test.js +++ b/tests/regions.test.js @@ -634,5 +634,21 @@ test('Pacific islands: real landings, real exchanges only, and island hops carry assert.ok(ev('!!S.pops.hnl') && ev('S.lvl') >= 4); assert.equal(ev('scnProg().items.length'), 3); ev('cam.z=0.5;draw(0);cam.z=2;draw(0)'); + +test('prices follow real connectivity: thin markets cost more, hubs stay put', () => { + const { ev, errors } = load(); + start(ev); + assert.ok(ev('Object.keys(CITY_PDB).length') === ev('CITIES.length'), 'every city has real-world data'); + for (const c of ['fra', 'ams', 'lon', 'nyc']) assert.equal(ev(`txComp('${c}')`), 1, `${c} is a hub`); + assert.equal(ev("regionMult('sao')"), 1.6, 'São Paulo keeps the South American price'); + assert.ok(ev("regionMult('rbr')") > ev("regionMult('sao')") * 1.5, 'Rio Branco has few sellers'); + assert.ok(ev("txComp('rbr')") <= 1.8); + assert.equal(ev("colo('rbr')"), 1.5, 'no neutral data center'); + assert.equal(ev("popCost('rbr')"), ev('POP_COST') * 1.5); + assert.equal(ev("popMo('fra')"), ev('POP_MO')); + ev("ACT.buildPop({city:'rbr'});compute()"); + assert.ok(ev('R.cost.pops') >= ev("popMo('rbr')"), 'running cost uses the city rent'); + ev("selectCity('rbr')"); + assert.equal(ev('asnDense("sao")&&asnDense("nyc")&&!asnDense("kgl")'), true); assert.deepEqual(errors, []); }); From 6de56f79ebc7fa3eef1de62c55b1da80e70d8766 Mon Sep 17 00:00:00 2001 From: clayberF <49653677+clayberF@users.noreply.github.com> Date: Mon, 26 Oct 2026 10:00:53 -0300 Subject: [PATCH 003/546] Calibration: drop a redundant guard and a one-caller helper --- site/index.html | 7 +++---- tests/regions.test.js | 4 +++- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/site/index.html b/site/index.html index 47d0019..dcf523b 100644 --- a/site/index.html +++ b/site/index.html @@ -599,7 +599,7 @@ const SITE2_COST=45000,SITE2_MO=3000,TE_COST=60000,TE_MO=4000; const SITE2_N=[tr('The Other Building'),tr('Campus B (the one with parking)'),tr('Across-the-River DC'),tr('The Annex'),tr('Suburban Mega-shed'),tr('The Cheaper One'),tr('Formerly a Shopping Mall'),tr('Bunker Two')]; const siteName=(c,s)=>s==='b'?SITE2_N[hstr(c)%SITE2_N.length]:CITY[c].dc; const BE_TAPE=30000; -const popCost=c=>Math.round(POP_COST*(c&&CITY[c]?colo(c):1))+(c&&CITY[c]&&CITY[c].tape?BE_TAPE:0)+(c&&CITY[c]&&CITY[c].ru?RU_BOX:0)+(c&&CITY[c]&&CITY[c].uae?UAE_LIC:0)+(c&&CITY[c]&&CITY[c].saudi?KSA_LIC:0); +const popCost=c=>Math.round(POP_COST*colo(c))+(c&&CITY[c]&&CITY[c].tape?BE_TAPE:0)+(c&&CITY[c]&&CITY[c].ru?RU_BOX:0)+(c&&CITY[c]&&CITY[c].uae?UAE_LIC:0)+(c&&CITY[c]&&CITY[c].saudi?KSA_LIC:0); const CN_LIC=150000, CN_JV_MO=6000; // Scrubbing centers come in tiers by clean bandwidth. Always-on diverts instantly; on-demand is cheaper // but takes a couple of days to engage. A clean-pipe add-on on a transit scrubs upstream, per port. @@ -2315,8 +2315,6 @@ const txComp=c=>{const q=CITY_PDB[c];return q?clamp((1000/Math.max(q[1],10))**0. // No neutral data center means building your own room: POPs cost more to build and to run. const colo=c=>{const q=CITY_PDB[c];return !q?1:q[0]===0?1.5:q[0]<=2?1.25:1;}; const popMo=c=>Math.round(POP_MO*colo(c)); -// Countries with thousands of ASNs (Brazil's provedores, US regionals) are full of small ISPs shopping for transit. -const asnDense=c=>{const q=CITY_PDB[c];return !!q&&q[2]>=2000;}; function regionMult(c){const C=CITY[c];if(!C||C.cn)return 1;if(C.kr)return KR_TRANSIT;if(C.tape)return 1.5;const base=C.reg==='AS'?2.5:C.reg==='AF'?2:C.reg==='OC'?1.8:C.reg==='SA'?1.6:1;return Math.round(base*txComp(c)*10)/10;} const uaePair=(a,b)=>!!CITY[a].uae&&!!CITY[b].uae; const rainPair=(a,b)=>!!(CITY[a].rain||CITY[b].rain); @@ -2742,7 +2740,8 @@ function spawnOffer(){ if(lv>=3&&MEGA.some(m=>mine.includes(m.c)))types.push('ingest');if(lv>=4&&MEGA.some(m=>mine.includes(m.c)))types.push('aiwan','aiwan','mtrain');if(lv>=4&&S.links.some(l=>l.kind==='df'&&l.own&&l.ready<=S.day))types.push('pairs'); if(lv>=5)types.push('esport');if(lv>=6&&mine.length>=2)types.push('sov','sov');if(lv>=8)types.push('cgame','cgame');if(lv>=9)types.push('metav','metav');if(lv>=11&&MEGA.some(m=>mine.includes(m.c)))types.push('agi');if(lv>=13&&mine.length>=2)types.push('mars'); const br=mine.filter(c=>CITY[c].br);if(br.length)types.push('provedor','provedor','provedor'); - const dense=mine.filter(asnDense);if(lv>=2&&dense.length)types.push('isp'); + // Countries with thousands of ASNs (Brazil's provedores, US regionals) are full of small ISPs shopping for transit. + const dense=mine.filter(c=>(CITY_PDB[c]||[])[2]>=2000);if(lv>=2&&dense.length)types.push('isp'); const fabC=mine.filter(c=>FABS.some(f=>f.cities.includes(c)));if(lv>=2&&fabC.length){types.push('fabip','fabip');if(mine.length>=2)types.push('fabl2');} const t=pick(types),T=BIZ_T[t]; if(T.event||T.sdwan||T.fiber||T.mega){spawnSpecial(t);return;} diff --git a/tests/regions.test.js b/tests/regions.test.js index 5a3d8f8..41bc080 100644 --- a/tests/regions.test.js +++ b/tests/regions.test.js @@ -634,6 +634,8 @@ test('Pacific islands: real landings, real exchanges only, and island hops carry assert.ok(ev('!!S.pops.hnl') && ev('S.lvl') >= 4); assert.equal(ev('scnProg().items.length'), 3); ev('cam.z=0.5;draw(0);cam.z=2;draw(0)'); + assert.deepEqual(errors, []); +}); test('prices follow real connectivity: thin markets cost more, hubs stay put', () => { const { ev, errors } = load(); @@ -649,6 +651,6 @@ test('prices follow real connectivity: thin markets cost more, hubs stay put', ( ev("ACT.buildPop({city:'rbr'});compute()"); assert.ok(ev('R.cost.pops') >= ev("popMo('rbr')"), 'running cost uses the city rent'); ev("selectCity('rbr')"); - assert.equal(ev('asnDense("sao")&&asnDense("nyc")&&!asnDense("kgl")'), true); + assert.ok(ev("CITY_PDB.sao[2]>=2000&&CITY_PDB.nyc[2]>=2000&&CITY_PDB.kgl[2]<2000"), 'Brazil and the US are dense in ASNs, Rwanda is not'); assert.deepEqual(errors, []); }); From 8a25ebdb95bccf8d744256f666ddbe2a9731e962 Mon Sep 17 00:00:00 2001 From: Marvin Date: Mon, 26 Oct 2026 20:55:12 +0100 Subject: [PATCH 004/546] Custom routing metric for links MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit A link's routing metric could only be one of four presets (Prefer, Normal, Avoid, Backup only). Links now also get a Custom option, closer to how real networks tune IGP metrics: - Multiplier mode scales the distance cost, (km + 60) × 0.1 to 100. - Cost mode sets an exact cost, 1 to 65535 like an OSPF metric. The preset buttons stay plain. Picking Custom explains how a link's cost is worked out and lists what each preset comes to on that link. Choosing Custom starts from the current preset and switching modes keeps the effective cost, so nothing moves until the player changes the value. Like the presets, it applies to every link between the two cities. The cost formula lives in one helper, linkW(), used by compute() and the traceroute paths. Custom links store mk/mv, which sanitize() repairs and clamps; old saves load unchanged. The link panel skips its daily re-render while the number field has focus, and Enter applies the value. Tests cover routing equivalence with the presets, rerouting by cost, mode switching, input clamping, saves, and the panel at desktop and phone width. French, Italian and Portuguese for the new strings. Perf on the big network: no change beyond noise, routing identical to main. --- CHANGELOG.md | 2 + site/i18n/fr.js | 11 ++++- site/i18n/it.js | 11 ++++- site/i18n/pt.js | 11 ++++- site/index.html | 34 +++++++++++---- tests/game.test.js | 102 +++++++++++++++++++++++++++++++++++++++++++++ 6 files changed, 161 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 648e743..fe661d0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- Links can now use a custom routing metric, set either as a multiplier or as an exact cost. Pick Custom under Routing metric to fine-tune where your traffic goes; it explains how a link's cost is worked out and what each preset comes to on that link. + ## [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. diff --git a/site/i18n/fr.js b/site/i18n/fr.js index 1b4c2ba..0bb9742 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -1604,7 +1604,6 @@ "Going to customers in":"Vers les clients de", "Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Plus gros contributeur : {egress} à {city}. Passe-le en « Secours seul », donne aux clients une sortie plus proche (peering, cache, transit local) ou augmente la métrique de ce lien.", "Routing metric":"Métrique de routage", -"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"Tes routeurs choisissent le chemin le moins coûteux. Augmente la métrique pour pousser le trafic vers d’autres chemins. « Secours seul » le laisse au repos tant que le reste fonctionne. S’applique à tous les liens entre ces deux villes.", "Behind the Great Firewall":"Derrière le Grand Pare-feu", "Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"La Chine continentale joue selon ses propres règles. {list} et d’autres services étrangers y sont bloqués, donc les utilisateurs atteignent surtout des réseaux chinois. Le trafic qui passe la frontière perd environ {pct} en filtrage et congestion, sauf s’il emprunte une route premium : du transit CN-Too ou un circuit transfrontalier premium (tous deux vendus uniquement à Hong Kong), ou un PNI avec un réseau chinois. Le revenu par utilisateur est plus faible ici.", "Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Les réseaux étrangers ont besoin d’une coentreprise locale et d’une licence d’opérateur pour construire ici.", @@ -2631,4 +2630,14 @@ "via a capacity broker":"via un courtier en capacité", "List it with a capacity broker they keep 10%":"La confier à un courtier en capacité il garde 10 %", "Nothing spare to sell on this fiber right now.":"Rien à vendre sur cette fibre pour l’instant.", +"Custom":"Perso", +"Multiplier":"Multiplicateur", +"Cost":"Coût", +"Set":"Appliquer", +"Cost on this link: {w}. Allowed: {lo} to {hi}.":"Coût sur ce lien : {w}. Autorisé : de {lo} à {hi}.", +"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Pick Custom to set your own multiplier or cost. Applies to every link between these two cities.":"Tes routeurs choisissent le chemin le moins coûteux. Augmente la métrique pour pousser le trafic vers d’autres chemins. « Secours seul » le laisse au repos tant que le reste fonctionne. Choisis Perso pour fixer ton propre multiplicateur ou coût. S’applique à tous les liens entre ces deux villes.", +"A link’s cost is its length in km plus 60, times a multiplier. Traffic takes the path with the lowest total cost.":"Le coût d’un lien, c’est sa longueur en km plus 60, fois un multiplicateur. Le trafic prend le chemin au coût total le plus bas.", +"Presets on this link: {list}.":"Préréglages sur ce lien : {list}.", +"Cost: the exact number, whatever the distance.":"Coût : le nombre exact, quelle que soit la distance.", +"Multiplier: scales the distance cost, so a longer link still costs more.":"Multiplicateur : il multiplie le coût de la distance, donc un lien plus long coûte toujours plus.", }; diff --git a/site/i18n/it.js b/site/i18n/it.js index 6bf8565..fdc589d 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -1603,7 +1603,6 @@ "Going to customers in":"Diretto ai clienti a", "Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Fonte principale: {egress} a {city}. Impostala su “Solo backup”, dai ai clienti un’uscita più vicina (peering, una cache, transit locale) o alza la metrica di questo link.", "Routing metric":"Metrica di routing", -"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"I tuoi router scelgono il percorso a costo minore. Alza la metrica per spingere il traffico su altri percorsi. “Solo backup” lo lascia a riposo finché il resto funziona. Vale per tutti i link tra queste due città.", "Behind the Great Firewall":"Dietro il Great Firewall", "Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"La Cina continentale gioca con regole tutte sue. {list} e altri servizi stranieri qui sono bloccati, quindi gli utenti raggiungono soprattutto reti cinesi. Il traffico che attraversa il confine perde circa il {pct} tra filtri e congestione, a meno che non viaggi su una rotta premium: transit CN-Too o un circuito transfrontaliero premium (entrambi venduti solo a Hong Kong), oppure un PNI con una rete cinese. Qui i ricavi per utente sono più bassi.", "Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Per costruire infrastrutture qui, le reti straniere hanno bisogno di una joint venture locale e di una licenza operativa.", @@ -2631,4 +2630,14 @@ "via a capacity broker":"tramite un broker di capacità", "List it with a capacity broker they keep 10%":"Mettila in vendita con un broker di capacità trattiene il 10%", "Nothing spare to sell on this fiber right now.":"Per ora non c’è niente da vendere su questa fibra.", +"Custom":"Personalizzata", +"Multiplier":"Moltiplicatore", +"Cost":"Costo", +"Set":"Imposta", +"Cost on this link: {w}. Allowed: {lo} to {hi}.":"Costo su questo link: {w}. Ammessi: da {lo} a {hi}.", +"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Pick Custom to set your own multiplier or cost. Applies to every link between these two cities.":"I tuoi router scelgono il percorso a costo minore. Alza la metrica per spingere il traffico su altri percorsi. “Solo backup” lo lascia a riposo finché il resto funziona. Scegli Personalizzata per impostare il tuo moltiplicatore o costo. Vale per tutti i link tra queste due città.", +"A link’s cost is its length in km plus 60, times a multiplier. Traffic takes the path with the lowest total cost.":"Il costo di un link è la sua lunghezza in km più 60, per un moltiplicatore. Il traffico prende il percorso col costo totale più basso.", +"Presets on this link: {list}.":"Preset su questo link: {list}.", +"Cost: the exact number, whatever the distance.":"Costo: il numero esatto, a prescindere dalla distanza.", +"Multiplier: scales the distance cost, so a longer link still costs more.":"Moltiplicatore: scala il costo della distanza, così un link più lungo costa comunque di più.", }; diff --git a/site/i18n/pt.js b/site/i18n/pt.js index 9c443f5..9f4950d 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -1602,7 +1602,6 @@ "Going to customers in":"Indo para clientes em", "Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Maior fonte: {egress} em {city}. Coloque em “Só backup”, dê aos clientes uma saída mais próxima (peering, um cache, transit local) ou aumente a métrica deste link.", "Routing metric":"Métrica de roteamento", -"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"Seus routers escolhem o caminho de menor custo. Aumente a métrica para empurrar o tráfego para outros caminhos. “Só backup” deixa o link ocioso a menos que nada mais funcione. Vale para todos os links entre essas duas cidades.", "Behind the Great Firewall":"Atrás do Great Firewall", "Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"A China continental joga com regras próprias. {list} e outros serviços estrangeiros são bloqueados aqui, então os usuários acessam principalmente redes chinesas. O tráfego que cruza a fronteira perde cerca de {pct} com filtragem e congestionamento, a menos que vá por uma rota premium: transit CN-Too ou um circuito transfronteiriço premium (ambos vendidos só em Hong Kong), ou um PNI com uma rede chinesa. A receita por usuário aqui é menor.", "Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Redes estrangeiras precisam de uma joint venture local e de uma licença de operação para construir infraestrutura aqui.", @@ -2631,4 +2630,14 @@ "via a capacity broker":"por um corretor de capacidade", "List it with a capacity broker they keep 10%":"Anunciar com um corretor de capacidade ele fica com 10%", "Nothing spare to sell on this fiber right now.":"Nada sobrando para vender nesta fibra por enquanto.", +"Custom":"Personalizada", +"Multiplier":"Multiplicador", +"Cost":"Custo", +"Set":"Aplicar", +"Cost on this link: {w}. Allowed: {lo} to {hi}.":"Custo neste link: {w}. Permitido: de {lo} a {hi}.", +"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Pick Custom to set your own multiplier or cost. Applies to every link between these two cities.":"Seus routers escolhem o caminho de menor custo. Aumente a métrica para empurrar o tráfego para outros caminhos. “Só backup” deixa o link ocioso a menos que nada mais funcione. Escolha Personalizada para definir seu próprio multiplicador ou custo. Vale para todos os links entre essas duas cidades.", +"A link’s cost is its length in km plus 60, times a multiplier. Traffic takes the path with the lowest total cost.":"O custo de um link é seu comprimento em km mais 60, vezes um multiplicador. O tráfego segue o caminho de menor custo total.", +"Presets on this link: {list}.":"Predefinições neste link: {list}.", +"Cost: the exact number, whatever the distance.":"Custo: o número exato, seja qual for a distância.", +"Multiplier: scales the distance cost, so a longer link still costs more.":"Multiplicador: multiplica o custo da distância, então um link mais longo continua custando mais.", }; diff --git a/site/index.html b/site/index.html index 9334e32..a125165 100644 --- a/site/index.html +++ b/site/index.html @@ -315,6 +315,7 @@ label.f{display:block;font-weight:900;font-size:12px;letter-spacing:.06em;text-t input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radius:12px;padding:8px 12px;font-family:var(--display);font-weight:800;font-size:18px;background:var(--soft)} .network-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px} .network-name input.t{flex:1 1 240px;width:auto;min-width:0} +.metric-in{display:flex;gap:6px;align-items:center;margin-top:6px}.metric-in input.t{flex:1 1 120px;width:auto;min-width:0;font-size:16px;padding:4px 10px} .plug{display:flex;gap:12px;align-items:center;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;margin:10px 0 4px;background:var(--soft);box-shadow:0 3px 0 var(--ink);color:var(--ink);text-decoration:none} .plug:hover{background:#FFF6D6}.plug .pi{font-size:30px;line-height:1}.plug b{font-family:var(--display);font-size:16px}.plug .meta{display:block;margin-top:2px}.plug .go{margin-left:auto;font-weight:900;white-space:nowrap} .starts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px} @@ -719,6 +720,10 @@ const NNI=[{n:'10G',g:10,mo:500},{n:'100G',g:100,mo:1200}]; const VXC=[{n:'10G',g:10,m:1},{n:'50G',g:50,m:2.4},{n:'100G',g:100,m:3.6}]; const vxcMo=(km,sub,t)=>Math.round((150+km*0.12)*VXC[t].m*(sub?2:1)); const MET={prefer:{l:tr('Prefer'),f:0.5},normal:{l:tr('Normal'),f:1},avoid:{l:tr('Avoid'),f:4},backup:{l:tr('Backup only'),f:60}}; +// Custom metrics: a multiplier on the distance cost (f) or an absolute IGP cost (w), capped like an OSPF metric. +const MET_LIM={f:[0.1,100],w:[1,65535]}; +const clampM=(k,v)=>{const [lo,hi]=MET_LIM[k];v=Math.min(hi,Math.max(lo,v));return k==='w'?Math.round(v):Math.round(v*100)/100;}; +const linkW=l=>l.metric==='custom'?(l.mk==='w'?l.mv:(l.km+60)*l.mv):(l.km+60)*MET[l.metric||'normal'].f; const PREF={high:tr('Prefer'),normal:tr('Normal'),low:tr('Backup only')}; const edgeKey=l=>l.aString(t).toLowerCase().normalize('NFKD').replace(/[̀-ͯ]/g,'').replace(/[^a-z0-9]+/g,'-').replace(/^-|-$/g,'')||'x'; function trPaths(src){const live=S.links.filter(l=>!linkDown(l)),rem=remoteCities(),ok=c=>popUp(c)||rem.includes(c),adj={}; - for(const l of live){if(!ok(l.a)||!ok(l.b))continue;const w=(l.km+60)*MET[l.metric||'normal'].f;(adj[l.a]=adj[l.a]||[]).push([l.b,l,w]);(adj[l.b]=adj[l.b]||[]).push([l.a,l,w]);} + for(const l of live){if(!ok(l.a)||!ok(l.b))continue;const w=linkW(l);(adj[l.a]=adj[l.a]||[]).push([l.b,l,w]);(adj[l.b]=adj[l.b]||[]).push([l.a,l,w]);} const dist={[src]:0},prev={},done=new Set();for(;;){let u=null,ud=Infinity;for(const k in dist)if(!done.has(k)&&dist[k]{if(dist[dst]===undefined)return null;const out=[];let v=dst;while(v!==src){const l=prev[v];out.unshift({l,from:l.a===v?l.b:l.a,to:v});v=l.a===v?l.b:l.a;}return out;};return {dist,path};} function trExits(net){const day=S.day,ev=S.ev,leak=ev.leak&&ev.leak.until>day?ev.leak.net:null,out=[]; @@ -1924,7 +1929,7 @@ function compute(){ const remote=remoteCities(),adj=new Array(NC); pops.concat(remote).forEach(p=>adj[CIDX[p]]=[]); const edges={},TRX=teRules(),live=[];let NE=0;R2.bizDem={};R2.bizSrv={}; for(const l of S.links){const ai=CIDX[l.a],bi=CIDX[l.b];if(linkDown(l)||!adj[ai]||!adj[bi])continue;live.push(l);const key=l.ae.w,wLat=e=>e.lat+0.05; @@ -2202,7 +2207,7 @@ function sanitize(s){ for(const c of Object.keys(s.pops)){const p=s.pops[c];if(!isCity(c)||!p||typeof p!=='object'){delete s.pops[c];continue;}p.routers=int(p.routers,1,RMAX,1);if(p.rupDay!==undefined)p.rupDay=num(p.rupDay,-1);if(p.rgen!==undefined)p.rgen=int(p.rgen,0,RG.length-1,0);p.down=num(p.down,0);if(p.bb&&typeof p.bb==='object')p.bb.d=num(p.bb.d,0);else p.bb=null;} if(!isCity(s.home))s.home=Object.keys(s.pops)[0]||'fra'; const tier=v=>int(v,0,PORT.length-1,0),lag=v=>int(v,1,LAG_MAX,1),sid=v=>String(v==null?uid():v).slice(0,40); - s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&!own(CAB,l.cable))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);if(l.metric&&!own(MET,l.metric))l.metric='normal';return l;}); + s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&!own(CAB,l.cable))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);if(l.metric==='custom'){if(l.mk!=='w')l.mk='f';l.mv=clampM(l.mk,num(l.mv,l.mk==='w'?l.km+60:1));}else{if(l.metric&&!own(MET,l.metric))l.metric='normal';delete l.mk;delete l.mv;}return l;}); const degO=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null; s.transit=s.transit.filter(t=>t&&isCity(t.city)&&isNet(t.net)).map(t=>(t.lacp=degO(t.lacp),t.site=['a','b','ab'].includes(t.site)?t.site:'a',t.id=sid(t.id),t.tier=tier(t.tier),t.n=lag(t.n),t.down=num(t.down,0),t.clean=!!t.clean,t)); s.pni=s.pni.filter(x=>x&&isCity(x.city)&&isNet(x.net)).map(x=>(x.lacp=degO(x.lacp),x.site=['a','b','ab'].includes(x.site)?x.site:'a',x.id=sid(x.id),x.tier=tier(x.tier),x.n=lag(x.n),x.sacrif=!!x.sacrif,x)); @@ -3039,7 +3044,13 @@ const ACT={ upVxc:({id,t})=>{t=+t;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='vxc'||!VXC[t]||t<=l.vt)return;const extra=VXC[t].g-VXC[l.vt].g;for(const c of [l.a,l.b]){const pt=nniPort(c,l.prov);if(pt&&nniUsed(c,l.prov)+extra>NNI[pt.tier].g){toast(tr('Fabric port in {city} is full.',{city:CITY[c].name}),'bad');sfx('err');return;}}const mo=vxcMo(l.km,l.sub,t);if(!spend(mo))return;l.vt=t;l.mo=mo;after();}, cancelVxc:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.links=S.links.filter(l=>l.id!==id);const rem=remoteCities();for(const c in S.ixp){if(!S.pops[ixCity(c)]&&!rem.includes(ixCity(c))){delete S.ixp[c];delete S.rs[c];for(const k in S.peers)if(k.endsWith('@'+c))delete S.peers[k];}}UI.sel=null;UI.confirm=null;after();}, setPref:({kind,id,v})=>{if(!own(PREF,v))return;if(kind!=='t'&&kind!=='p'&&!(isIx(id)&&S.ixp[id]!==undefined))return;if(kind==='t'){const t=S.transit.find(x=>x.id===id);if(t)t.pref=v;}else if(kind==='p'){const x=S.pni.find(y=>y.id===id);if(x)x.pref=v;}else{S.ixPref=S.ixPref||{};S.ixPref[id]=v;}sfx('click');after();}, - setMetric:({id,v})=>{if(!own(MET,v))return;const l=S.links.find(x=>x.id===id);if(!l)return;for(const x of pairLinks(l.a,l.b))x.metric=v;sfx('click');after();}, + setMetric:({id,v})=>{if(v!=='custom'&&!own(MET,v))return;const l=S.links.find(x=>x.id===id);if(!l)return; + // Switching to custom starts from the current preset's factor, so nothing moves until the player edits it. + for(const x of pairLinks(l.a,l.b)){if(v==='custom'){if(x.metric!=='custom'){x.mk='f';x.mv=MET[x.metric||'normal'].f;}}else{delete x.mk;delete x.mv;}x.metric=v;}sfx('click');after();}, + metricMode:({id,k})=>{if(k!=='f'&&k!=='w')return;const l=S.links.find(x=>x.id===id);if(!l||l.metric!=='custom')return; + for(const x of pairLinks(l.a,l.b))if(x.metric==='custom'&&x.mk!==k){const w=linkW(x);x.mk=k;x.mv=clampM(k,k==='w'?w:w/(x.km+60));}sfx('click');after();}, + metricSet:({id})=>{const l=S.links.find(x=>x.id===id),t=$('metIn');if(!l||l.metric!=='custom'||!t)return;const v=parseFloat(String(t.value).replace(',','.'));if(!Number.isFinite(v)){sfx('err');return;} + t.blur();for(const x of pairLinks(l.a,l.b))if(x.metric==='custom'){x.mk=l.mk;x.mv=clampM(l.mk,v);}sfx('click');after();}, goEgress:({city,k})=>{ACT.focusCity({city});UI.tab=k==='t'?'up':k==='l2'?'cust':k==='nni'?'links':'peer';renderPanel();}, custGo:({id})=>{const b=S.biz.find(x=>x.id===id);if(!b)return;$('dash').hidden=true;ACT.focusCity({city:b.city});UI.tab='cust';renderPanel();}, listMore:({k})=>{if(k!=='conn'&&k!=='cust')return;UI.listN=UI.listN||{};UI.listN[k]=listN(k)+LIST_PAGE;renderDash();}, @@ -3373,6 +3384,8 @@ function renderPanel(){checkLayer(); const P=$('panel'); if(!S||!UI.sel){P.hidden=true;return;} P.hidden=false; + // Don't wipe a half-typed custom metric on the daily re-render. + const fe=document.activeElement;if(fe&&fe.id==='metIn'&&UI.sel.type!=='city'&&fe.dataset.id===UI.sel.id)return; const scrollEl=$('panelBody').querySelector('.scroll');const st=scrollEl?scrollEl.scrollTop:0; const html=UI.sel.type==='city'?cityPanel(UI.sel.id):linkPanel(UI.sel.id);if(html===UI._ph&&!P.hidden&&$('panelBody').firstChild)return;UI._ph=html;morph($('panelBody'),html); const ns=$('panelBody').querySelector('.scroll');if(ns)ns.scrollTop=st; @@ -3563,8 +3576,15 @@ function trafficSection(l){ if(u>=0.8&&egs.length){const d=R.egDesc[egs[0][0]];h+=`

${tr("Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.",{egress:esc(d.lab),city:CITY[d.city].name})}

`;} return h+`
`; } -function metricSection(l){const cur=l.metric||'normal'; - return `

${tr('Routing metric')}

${tr('Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.')}

${Object.keys(MET).map(k=>btn(MET[k].l,'setMetric',{id:l.id,v:k},cur===k?'pink sm':'ghost sm')).join('')}
`;} +function metricSection(l){const cur=l.metric||'normal',base=l.km+60,sel=k=>cur===k?'pink sm':'ghost sm'; + let h=`

${tr('Routing metric')}

${tr('Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Pick Custom to set your own multiplier or cost. Applies to every link between these two cities.')}

${Object.keys(MET).map(k=>btn(MET[k].l,'setMetric',{id:l.id,v:k},sel(k))).join('')}${btn(tr('Custom'),'setMetric',{id:l.id,v:'custom'},sel('custom'))}
`; + if(cur==='custom'){const k=l.mk,[lo,hi]=MET_LIM[k],md=m=>k===m?'pink sm':'ghost sm'; + const pre=Object.keys(MET).map(m=>`${MET[m].l} ×${MET[m].f} = ${Math.round(base*MET[m].f)}`).join(', '); + h+=`

${tr('A link’s cost is its length in km plus 60, times a multiplier. Traffic takes the path with the lowest total cost.')} ${tr('Presets on this link: {list}.',{list:pre})}

+
${btn(tr('Multiplier'),'metricMode',{id:l.id,k:'f'},md('f'))}${btn(tr('Cost'),'metricMode',{id:l.id,k:'w'},md('w'))}
+
${btn(tr('Set'),'metricSet',{id:l.id},'pink sm')}
+

${k==='w'?tr('Cost: the exact number, whatever the distance.'):tr('Multiplier: scales the distance cost, so a longer link still costs more.')} ${tr('Cost on this link: {w}. Allowed: {lo} to {hi}.',{w:Math.round(linkW(l)),lo:k==='w'?lo:'×'+lo,hi:k==='w'?hi:'×'+hi})}

`;} + return h+'
';} function chinaSection(c){const st=S.cnLic?S.cnLic.state:'none',loss=S.ev.gfw>S.day?0.35:0.2; let h=`

${tr('Behind the Great Firewall')}

${tr('Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.',{list:CN_BLOCKED.slice(0,4).map(esc).join(', '),pct:pct(loss)})}

`; if(st==='none')h+=`

${tr('Foreign networks need a local joint venture and an operating license to build infrastructure here.')}

${btn(tr('Apply for a license {price} + {mo}/mo · ~45 days',{price:fmt$(CN_LIC),mo:fmt$(CN_JV_MO)}),'applyCn',{},'pink',S.cash{e.preventDefault();zoomAt(e.clientX,e.clientY,Math.exp(-e.deltaY*0.0015));},{passive:false}); -addEventListener('keydown',e=>{if(e.target.closest&&e.target.closest('input,textarea,select,[contenteditable]'))return;if(e.ctrlKey||e.metaKey||e.altKey)return;if(e.code==='Space'&&e.target.closest&&e.target.closest('button,a'))return;if(e.code==='Space'){e.preventDefault();UI.speed=UI.speed?0:1;renderHUD();}if(e.key==='0')ACT.speed({v:0.5});if(e.key==='1')ACT.speed({v:1});if(e.key==='2')ACT.speed({v:2});if(e.key==='3')ACT.speed({v:4});if(e.key==='4')ACT.speed({v:8});if(e.key==='Escape'&&!$('bankBox').hidden){$('bankBox').hidden=true;return;}if(e.key==='Escape'&&!$('dash').hidden){$('dash').hidden=true;return;}if(e.key==='Escape'){if(!$('modal').hidden){if(S&&UI.started&&!S.lost)closeModal();}else{UI.sel=null;renderPanel();}}}); +addEventListener('keydown',e=>{if(e.key==='Enter'&&e.target.id==='metIn'){ACT.metricSet({id:e.target.dataset.id});return;}if(e.target.closest&&e.target.closest('input,textarea,select,[contenteditable]'))return;if(e.ctrlKey||e.metaKey||e.altKey)return;if(e.code==='Space'&&e.target.closest&&e.target.closest('button,a'))return;if(e.code==='Space'){e.preventDefault();UI.speed=UI.speed?0:1;renderHUD();}if(e.key==='0')ACT.speed({v:0.5});if(e.key==='1')ACT.speed({v:1});if(e.key==='2')ACT.speed({v:2});if(e.key==='3')ACT.speed({v:4});if(e.key==='4')ACT.speed({v:8});if(e.key==='Escape'&&!$('bankBox').hidden){$('bankBox').hidden=true;return;}if(e.key==='Escape'&&!$('dash').hidden){$('dash').hidden=true;return;}if(e.key==='Escape'){if(!$('modal').hidden){if(S&&UI.started&&!S.lost)closeModal();}else{UI.sel=null;renderPanel();}}}); /* ---------- click delegation ---------- */ let pressing=false; diff --git a/tests/game.test.js b/tests/game.test.js index 6bbdadc..1502f83 100644 --- a/tests/game.test.js +++ b/tests/game.test.js @@ -405,3 +405,105 @@ test('#117 several scrubbing centers: nearest first, spill to the next, and far assert.equal(ev("S.scrubs.some(x=>x.city==='lon')"), false); assert.deepEqual(errors, []); }); + +// Custom routing metrics: a fra–ams–par triangle where the direct fra–par link is normally shortest. +const triangle = (ev) => { + ev("ACT.start({});S.cash=1e9;S.lvl=4;for(const g of GOALS)S.done[g.id]=0;ACT.launchBB({city:'fra'})"); + ev("for(const c of ['ams','par'])ACT.buildPop({city:c});const L=(a,b)=>{UI.via=null;openLinkModal(a,b);ACT.buildLink({tier:1});closeModal();};L('fra','ams');L('ams','par');L('fra','par');compute()"); + ev("window.FP=S.links.find(l=>(l.a==='fra'&&l.b==='par')||(l.a==='par'&&l.b==='fra')).id;window.hops=()=>JSON.stringify(trPaths('fra').path('par').map(h=>h.l.id))"); +}; + +test('a custom multiplier routes exactly like the matching preset', () => { + const { ev, errors } = load(); + triangle(ev); + assert.equal(ev("hops()"), JSON.stringify([ev("FP")]), 'direct link wins by default'); + ev("ACT.setMetric({id:FP,v:'avoid'})"); + const avoid = ev("JSON.stringify({h:hops(),load:R.load,served:R.served})"); + ev("ACT.setMetric({id:FP,v:'custom'})"); + const l = ev("S.links.find(l=>l.id===FP)"); + assert.equal(l.metric, 'custom'); + assert.equal(l.mk, 'f'); + assert.equal(l.mv, 4, 'custom starts from the preset it replaces'); + assert.equal(ev("JSON.stringify({h:hops(),load:R.load,served:R.served})"), avoid); + ev("ACT.setMetric({id:FP,v:'normal'})"); + assert.equal(ev("'mk' in S.links.find(l=>l.id===FP)||'mv' in S.links.find(l=>l.id===FP)"), false, 'presets drop the custom fields'); + assert.deepEqual(errors, []); +}); + +test('an absolute custom cost steers the path, and switching modes keeps the cost', () => { + const { ev, errors } = load(); + triangle(ev); + ev("ACT.setMetric({id:FP,v:'custom'});ACT.metricMode({id:FP,k:'w'})"); + const l = ev("S.links.find(l=>l.id===FP)"); + assert.equal(l.mk, 'w'); + assert.equal(l.mv, Math.round(l.km + 60), 'switching to cost keeps the effective metric'); + ev("ACT.selLink({id:FP});renderAll();$('metIn').value='65535';ACT.metricSet({id:FP})"); + assert.equal(ev("S.links.find(l=>l.id===FP).mv"), 65535); + assert.ok(!JSON.parse(ev("hops()")).includes(ev("FP")), 'a huge cost sends traffic round via Amsterdam'); + ev("renderAll();$('metIn').value='1';ACT.metricSet({id:FP})"); + assert.equal(ev("hops()"), JSON.stringify([ev("FP")])); + ev("ACT.metricMode({id:FP,k:'f'})"); + assert.equal(ev("S.links.find(l=>l.id===FP).mv"), 0.1, 'converted back to a multiplier, clamped to the minimum'); + assert.deepEqual(errors, []); +}); + +test('custom metric input is validated and clamped', () => { + const { ev, errors } = load(); + triangle(ev); + ev("ACT.setMetric({id:FP,v:'custom'});ACT.selLink({id:FP});renderAll()"); + ev("$('metIn').value='';ACT.metricSet({id:FP})"); + assert.equal(ev("S.links.find(l=>l.id===FP).mv"), 1, 'empty input changes nothing'); + ev("renderAll();$('metIn').value='9999';ACT.metricSet({id:FP})"); + assert.equal(ev("S.links.find(l=>l.id===FP).mv"), 100); + ev("renderAll();$('metIn').value='0';ACT.metricSet({id:FP})"); + assert.equal(ev("S.links.find(l=>l.id===FP).mv"), 0.1); + ev("ACT.metricMode({id:FP,k:'x'});ACT.setMetric({id:FP,v:'bogus'})"); + assert.equal(ev("S.links.find(l=>l.id===FP).metric"), 'custom'); + assert.deepEqual(errors, []); +}); + +test('custom metrics survive a save, and broken ones are repaired', () => { + const { ev, errors } = load(); + triangle(ev); + ev("ACT.setMetric({id:FP,v:'custom'});ACT.metricMode({id:FP,k:'w'});S.links.find(l=>l.id===FP).mv=777;S=migrate(JSON.parse(JSON.stringify(S)));compute()"); + let l = ev("S.links.find(l=>l.id===FP)"); + assert.deepEqual([l.metric, l.mk, l.mv], ['custom', 'w', 777]); + ev("Object.assign(S.links.find(l=>l.id===FP),{mk:'zz',mv:'lots'});S=migrate(JSON.parse(JSON.stringify(S)));compute()"); + l = ev("S.links.find(l=>l.id===FP)"); + assert.deepEqual([l.metric, l.mk, l.mv], ['custom', 'f', 1]); + ev("Object.assign(S.links.find(l=>l.id===FP),{metric:'custom',mk:'w',mv:1e9});S=migrate(JSON.parse(JSON.stringify(S)))"); + assert.equal(ev("S.links.find(l=>l.id===FP).mv"), 65535); + // An old save: preset metric, no custom fields at all. + ev("const x=S.links.find(l=>l.id===FP);x.metric='avoid';delete x.mk;delete x.mv;S=migrate(JSON.parse(JSON.stringify(S)));compute()"); + l = ev("S.links.find(l=>l.id===FP)"); + assert.equal(l.metric, 'avoid'); + assert.ok(!('mk' in l) && !('mv' in l)); + assert.equal(JSON.parse(ev("hops()")).length, 2, 'the old save still routes, avoiding the direct link'); + assert.deepEqual(errors, []); +}); + +test('preset buttons stay plain, and Custom explains the numbers, also on phones', () => { + const { ev, dom, errors } = load(); + triangle(ev); + for (const w of [1280, 390]) { + ev(`window.innerWidth=${w};ACT.setMetric({id:FP,v:'normal'});ACT.selLink({id:FP});renderAll()`); + const doc = dom.window.document; + const btns = [...doc.querySelectorAll('#panel [data-act="setMetric"]')]; + assert.equal(btns.length, 5); + const km = ev("S.links.find(l=>l.id===FP).km"); + assert.deepEqual(btns.map(b => b.textContent), ['Prefer', 'Normal', 'Avoid', 'Backup only', 'Custom']); + assert.equal(doc.getElementById('metIn'), null); + assert.doesNotMatch(doc.getElementById('panel').textContent, /times a multiplier/); + ev("ACT.setMetric({id:FP,v:'custom'})"); + assert.ok(doc.getElementById('metIn'), `custom editor at ${w}px`); + assert.ok(doc.querySelector('#panel [data-act="metricMode"]')); + const txt = doc.getElementById('panel').textContent; + assert.match(txt, /times a multiplier/); + assert.match(txt, new RegExp(`Normal ×1 = ${Math.round(km + 60)}, Avoid ×4 = ${Math.round((km + 60) * 4)}`)); + assert.match(txt, /Multiplier: scales the distance cost/); + assert.match(txt, /Cost on this link/); + ev("ACT.metricMode({id:FP,k:'w'})"); + assert.match(doc.getElementById('panel').textContent, /Cost: the exact number/); + } + assert.deepEqual(errors, []); +}); From 67a40942b4123c615a727e57887fdcce93e4fad5 Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Tue, 27 Oct 2026 10:05:56 +0100 Subject: [PATCH 005/546] Split the game page into partials under src/, assembled into one index.html at build site/index.html (900 KB of HTML, CSS and JS in one file) becomes src/: a shell (src/index.html), styles/ and game/, concatenated in path order by scripts/lib/page.js. The assembled page is byte-identical to the old file, so load time and in-game performance are unchanged. - scripts/build.js replaces build.sh (same env vars, same output) - npm run dev: a zero-dependency dev server that assembles on every request - tests assemble the page in memory; npm test runs every tests/*.test.js - perf-bench takes --base-ref to build a git ref's page - scripts/legacy/split-index-html.js is the splitter, kept for older branches --- package.json | 6 +- scripts/build.js | 52 + scripts/build.sh | 44 - scripts/dev.js | 59 + scripts/i18n-check.js | 9 +- scripts/legacy/split-index-html.js | 184 + scripts/legacy/transforms.js | 2 + scripts/lib/page.js | 103 + scripts/perf-bench.js | 13 +- scripts/test.js | 16 + site/index.html | 5131 ----------------- src/game/00-core/10-language.js | 11 + src/game/00-core/20-analytics.js | 21 + src/game/10-catalog/10-economy.js | 50 + src/game/10-catalog/20-routers.js | 24 + src/game/10-catalog/30-supply-chain.js | 30 + src/game/10-catalog/40-ports.js | 22 + src/game/10-catalog/50-dark-fiber.js | 39 + src/game/10-catalog/60-reach-and-subsea.js | 63 + src/game/20-world/10-projection.js | 7 + src/game/20-world/20-landmasses.js | 8 + src/game/20-world/30-coastline.js | 4 + src/game/20-world/40-city-coords.js | 1 + src/game/20-world/50-cities.js | 208 + src/game/20-world/60-cables.js | 129 + src/game/30-networks/10-networks.js | 110 + src/game/30-networks/20-rival-exchanges.js | 31 + src/game/30-networks/30-long-tail.js | 95 + src/game/30-networks/40-traffic-shares.js | 15 + src/game/40-progress/10-businesses.js | 63 + src/game/40-progress/20-goals.js | 23 + src/game/50-state.js | 5 + src/game/60-features/10-banks.js | 109 + src/game/60-features/20-scenarios.js | 40 + src/game/60-features/30-conferences.js | 15 + src/game/60-features/40-tutorial.js | 16 + src/game/60-features/50-traceroute.js | 43 + src/game/60-features/60-share-card.js | 27 + src/game/60-features/70-scenario-progress.js | 12 + src/game/60-features/80-new-game.js | 6 + src/game/70-rules/10-helpers.js | 24 + src/game/70-rules/20-exchanges.js | 30 + src/game/70-rules/30-pnis.js | 19 + src/game/70-rules/40-peering-inbox.js | 76 + src/game/70-rules/50-peering-policy.js | 32 + src/game/70-rules/60-de-kicks.js | 30 + src/game/70-rules/70-sold-out.js | 23 + src/game/70-rules/80-hot-ports-and-rank.js | 19 + src/game/80-simulation/10-dijkstra.js | 17 + src/game/80-simulation/20-routescript.js | 129 + src/game/80-simulation/30-compute.js | 268 + src/game/80-simulation/40-billing.js | 10 + src/game/80-simulation/50-sanitize.js | 73 + src/game/80-simulation/60-requirements.js | 63 + .../80-simulation/70-customers-and-events.js | 44 + .../80-simulation/80-geography-and-latency.js | 39 + .../80-simulation/90-sites-and-service.js | 26 + .../85-incidents/10-incidents-and-ddos.js | 82 + src/game/85-incidents/20-failures.js | 161 + src/game/85-incidents/30-events.js | 55 + src/game/88-days/10-day-tick.js | 108 + src/game/88-days/20-badges.js | 89 + src/game/90-actions/00-actions.js | 294 + src/game/90-actions/90-action-helpers.js | 27 + src/game/91-save.js | 23 + src/game/92-audio.js | 12 + src/game/93-ui/10-dom.js | 27 + src/game/93-ui/20-phone.js | 23 + src/game/93-ui/30-install.js | 23 + src/game/93-ui/40-hud-and-panels.js | 91 + src/game/93-ui/50-city-panel.js | 112 + src/game/93-ui/60-decommission.js | 22 + src/game/93-ui/70-link-panels.js | 139 + src/game/94-dashboard/10-progress.js | 30 + src/game/94-dashboard/20-meet-a-network.js | 31 + src/game/94-dashboard/30-customers.js | 34 + src/game/94-dashboard/40-connections.js | 65 + src/game/94-dashboard/50-lease-swaps.js | 37 + src/game/94-dashboard/60-dashboard.js | 31 + src/game/94-dashboard/70-bank.js | 30 + src/game/94-dashboard/80-hint.js | 9 + src/game/95-modals/10-toasts.js | 8 + src/game/95-modals/20-notifications.js | 31 + src/game/95-modals/30-modal-and-names.js | 24 + src/game/95-modals/40-title.js | 26 + src/game/95-modals/50-release-notes.js | 17 + src/game/95-modals/60-help.js | 24 + src/game/95-modals/70-link-modal.js | 21 + src/game/95-modals/80-own-cable.js | 215 + src/game/95-modals/90-fiber-modals.js | 35 + src/game/96-map/10-canvas.js | 27 + src/game/96-map/20-land-and-clouds.js | 18 + src/game/96-map/30-settings.js | 32 + src/game/96-map/40-level-of-detail.js | 8 + src/game/96-map/50-link-geometry.js | 54 + src/game/96-map/60-draw.js | 103 + src/game/96-map/70-world-layer.js | 34 + src/game/96-map/80-cities.js | 74 + src/game/96-map/90-input.js | 42 + src/game/96-map/95-clicks.js | 15 + src/game/99-loop.js | 48 + src/index.html | 167 + src/styles/00-base.css | 27 + src/styles/10-hud.css | 31 + src/styles/20-drawers.css | 76 + src/styles/30-toasts.css | 13 + src/styles/40-modal.css | 110 + src/styles/50-tablet.css | 38 + src/styles/60-phone.css | 111 + tests/build.test.js | 10 +- tests/harness.js | 13 +- tests/perf.test.js | 2 +- tests/persist.test.js | 2 +- 113 files changed, 5584 insertions(+), 5195 deletions(-) create mode 100644 scripts/build.js delete mode 100755 scripts/build.sh create mode 100644 scripts/dev.js create mode 100644 scripts/legacy/split-index-html.js create mode 100644 scripts/legacy/transforms.js create mode 100644 scripts/lib/page.js create mode 100644 scripts/test.js delete mode 100644 site/index.html create mode 100644 src/game/00-core/10-language.js create mode 100644 src/game/00-core/20-analytics.js create mode 100644 src/game/10-catalog/10-economy.js create mode 100644 src/game/10-catalog/20-routers.js create mode 100644 src/game/10-catalog/30-supply-chain.js create mode 100644 src/game/10-catalog/40-ports.js create mode 100644 src/game/10-catalog/50-dark-fiber.js create mode 100644 src/game/10-catalog/60-reach-and-subsea.js create mode 100644 src/game/20-world/10-projection.js create mode 100644 src/game/20-world/20-landmasses.js create mode 100644 src/game/20-world/30-coastline.js create mode 100644 src/game/20-world/40-city-coords.js create mode 100644 src/game/20-world/50-cities.js create mode 100644 src/game/20-world/60-cables.js create mode 100644 src/game/30-networks/10-networks.js create mode 100644 src/game/30-networks/20-rival-exchanges.js create mode 100644 src/game/30-networks/30-long-tail.js create mode 100644 src/game/30-networks/40-traffic-shares.js create mode 100644 src/game/40-progress/10-businesses.js create mode 100644 src/game/40-progress/20-goals.js create mode 100644 src/game/50-state.js create mode 100644 src/game/60-features/10-banks.js create mode 100644 src/game/60-features/20-scenarios.js create mode 100644 src/game/60-features/30-conferences.js create mode 100644 src/game/60-features/40-tutorial.js create mode 100644 src/game/60-features/50-traceroute.js create mode 100644 src/game/60-features/60-share-card.js create mode 100644 src/game/60-features/70-scenario-progress.js create mode 100644 src/game/60-features/80-new-game.js create mode 100644 src/game/70-rules/10-helpers.js create mode 100644 src/game/70-rules/20-exchanges.js create mode 100644 src/game/70-rules/30-pnis.js create mode 100644 src/game/70-rules/40-peering-inbox.js create mode 100644 src/game/70-rules/50-peering-policy.js create mode 100644 src/game/70-rules/60-de-kicks.js create mode 100644 src/game/70-rules/70-sold-out.js create mode 100644 src/game/70-rules/80-hot-ports-and-rank.js create mode 100644 src/game/80-simulation/10-dijkstra.js create mode 100644 src/game/80-simulation/20-routescript.js create mode 100644 src/game/80-simulation/30-compute.js create mode 100644 src/game/80-simulation/40-billing.js create mode 100644 src/game/80-simulation/50-sanitize.js create mode 100644 src/game/80-simulation/60-requirements.js create mode 100644 src/game/80-simulation/70-customers-and-events.js create mode 100644 src/game/80-simulation/80-geography-and-latency.js create mode 100644 src/game/80-simulation/90-sites-and-service.js create mode 100644 src/game/85-incidents/10-incidents-and-ddos.js create mode 100644 src/game/85-incidents/20-failures.js create mode 100644 src/game/85-incidents/30-events.js create mode 100644 src/game/88-days/10-day-tick.js create mode 100644 src/game/88-days/20-badges.js create mode 100644 src/game/90-actions/00-actions.js create mode 100644 src/game/90-actions/90-action-helpers.js create mode 100644 src/game/91-save.js create mode 100644 src/game/92-audio.js create mode 100644 src/game/93-ui/10-dom.js create mode 100644 src/game/93-ui/20-phone.js create mode 100644 src/game/93-ui/30-install.js create mode 100644 src/game/93-ui/40-hud-and-panels.js create mode 100644 src/game/93-ui/50-city-panel.js create mode 100644 src/game/93-ui/60-decommission.js create mode 100644 src/game/93-ui/70-link-panels.js create mode 100644 src/game/94-dashboard/10-progress.js create mode 100644 src/game/94-dashboard/20-meet-a-network.js create mode 100644 src/game/94-dashboard/30-customers.js create mode 100644 src/game/94-dashboard/40-connections.js create mode 100644 src/game/94-dashboard/50-lease-swaps.js create mode 100644 src/game/94-dashboard/60-dashboard.js create mode 100644 src/game/94-dashboard/70-bank.js create mode 100644 src/game/94-dashboard/80-hint.js create mode 100644 src/game/95-modals/10-toasts.js create mode 100644 src/game/95-modals/20-notifications.js create mode 100644 src/game/95-modals/30-modal-and-names.js create mode 100644 src/game/95-modals/40-title.js create mode 100644 src/game/95-modals/50-release-notes.js create mode 100644 src/game/95-modals/60-help.js create mode 100644 src/game/95-modals/70-link-modal.js create mode 100644 src/game/95-modals/80-own-cable.js create mode 100644 src/game/95-modals/90-fiber-modals.js create mode 100644 src/game/96-map/10-canvas.js create mode 100644 src/game/96-map/20-land-and-clouds.js create mode 100644 src/game/96-map/30-settings.js create mode 100644 src/game/96-map/40-level-of-detail.js create mode 100644 src/game/96-map/50-link-geometry.js create mode 100644 src/game/96-map/60-draw.js create mode 100644 src/game/96-map/70-world-layer.js create mode 100644 src/game/96-map/80-cities.js create mode 100644 src/game/96-map/90-input.js create mode 100644 src/game/96-map/95-clicks.js create mode 100644 src/game/99-loop.js create mode 100644 src/index.html create mode 100644 src/styles/00-base.css create mode 100644 src/styles/10-hud.css create mode 100644 src/styles/20-drawers.css create mode 100644 src/styles/30-toasts.css create mode 100644 src/styles/40-modal.css create mode 100644 src/styles/50-tablet.css create mode 100644 src/styles/60-phone.css diff --git a/package.json b/package.json index 322becd..85164a2 100644 --- a/package.json +++ b/package.json @@ -10,9 +10,11 @@ "url": "git+https://github.com/fjaeckel/seriesoftubes.git" }, "scripts": { - "test": "node --test --test-concurrency=1 tests/game.test.js tests/build.test.js tests/persist.test.js tests/services.test.js tests/peering.test.js tests/inbox.test.js tests/latency.test.js tests/supply.test.js tests/issues.test.js tests/regions.test.js tests/modes.test.js tests/levels.test.js tests/speed.test.js tests/i18n.test.js tests/routing-reference.test.js tests/perf.test.js tests/sea-routing.test.js tests/subsea-upgrade-timing.test.js", - "build": "bash scripts/build.sh", + "test": "node scripts/test.js", + "build": "node scripts/build.js", "i18n:check": "node scripts/i18n-check.js", + "dev": "node scripts/dev.js", + "page": "node scripts/lib/page.js", "serve": "npm run build && npx --yes serve@14.2.4 _site", "perf": "node scripts/perf-bench.js" }, diff --git a/scripts/build.js b/scripts/build.js new file mode 100644 index 0000000..60e6159 --- /dev/null +++ b/scripts/build.js @@ -0,0 +1,52 @@ +#!/usr/bin/env node +// Builds the deployable site into _site/ (or $OUT) for GitHub Pages: copies the static files in site/, +// assembles the game page from src/ into one index.html, and stamps the version (from package.json) and +// the build date into the files that carry them. The output is plain static files and nothing else, +// because GitHub Pages is where the game lives (docs/adr/0001-github-pages-only.md). +// +// npm run build VERSION, BUILD_DATE and OUT can be set in the environment +// REQUIRE_NOTES=1 npm run build fail when CHANGELOG.md has no bullets for this version +const fs = require('node:fs'); +const path = require('node:path'); +const { execFileSync } = require('node:child_process'); +const { assemble, ROOT } = require('./lib/page'); + +const VERSION = process.env.VERSION || require(path.join(ROOT, 'package.json')).version; +const BUILD_DATE = process.env.BUILD_DATE || new Date().toISOString().slice(0, 10); +const OUT = path.resolve(ROOT, process.env.OUT || '_site'); +const die = (msg) => { console.error(`error: ${msg}`); process.exit(1); }; + +if (!/^[0-9]+\.[0-9]+\.[0-9]+([-.+][0-9A-Za-z.-]+)?$/.test(VERSION)) die(`VERSION '${VERSION}' is not a semantic version`); +if (!/^\d{4}-\d{2}-\d{2}$/.test(BUILD_DATE)) die(`BUILD_DATE '${BUILD_DATE}' is not YYYY-MM-DD`); +if (OUT === ROOT || OUT === path.join(ROOT, 'site') || OUT === path.join(ROOT, 'src')) die(`refusing to build into ${OUT}`); + +fs.rmSync(OUT, { recursive: true, force: true }); +fs.cpSync(path.join(ROOT, 'site'), OUT, { recursive: true }); +if (fs.existsSync(path.join(OUT, 'index.html'))) die('site/index.html must not exist: the page is assembled from src/'); +fs.writeFileSync(path.join(OUT, 'index.html'), assemble().html); + +for (const f of ['index.html', 'sitemap.xml', 'llms.txt', 'sw.js']) { + const p = path.join(OUT, f); + fs.writeFileSync(p, fs.readFileSync(p, 'utf8').replaceAll('__VERSION__', VERSION).replaceAll('__BUILD_DATE__', BUILD_DATE)); +} + +// Release notes for this version, baked into the page ("What's new") and published as version.json so +// open games can spot a newer release. +const notes = execFileSync(process.execPath, [path.join(__dirname, 'release-notes.js'), VERSION], { encoding: 'utf8' }); +if (process.env.REQUIRE_NOTES === '1' && notes === '[]') die(`CHANGELOG.md has no '## [${VERSION}]' section with bullets (still under [Unreleased]?)`); +const page = path.join(OUT, 'index.html'), PH = '/*__RELEASE_NOTES__*/[]', html = fs.readFileSync(page, 'utf8'); +if (!html.includes(PH)) die('release-notes placeholder missing from the page'); +// Function replacer: no $& / $$ expansion. Escape "<" so a note can never close the '; +const clients = new Set(); + +function page() { + const { html, map } = assemble(); + // Errors report a line of the assembled page; the console also says which file under src/ that is. + const hint = ``; + return html.replace('', `${hint}${RELOAD}`); +} + +http.createServer((req, res) => { + const url = new URL(req.url, 'http://localhost'); + if (url.pathname === '/__dev') { + res.writeHead(200, { 'content-type': 'text/event-stream', 'cache-control': 'no-store' }); + res.write(': hi\n\n'); + clients.add(res); + req.on('close', () => clients.delete(res)); + return; + } + try { + if (url.pathname === '/' || url.pathname === '/index.html') { + res.writeHead(200, { 'content-type': TYPES['.html'], 'cache-control': 'no-store' }); + return res.end(page()); + } + const file = path.join(SITE, path.normalize(decodeURIComponent(url.pathname)).replace(/^([/\\]|\.\.)+/, '')); + if (!file.startsWith(SITE + path.sep) || !fs.statSync(file, { throwIfNoEntry: false })?.isFile()) { + res.writeHead(404, { 'content-type': TYPES['.html'] }); + return res.end(fs.readFileSync(path.join(SITE, '404.html'))); + } + res.writeHead(200, { 'content-type': TYPES[path.extname(file)] || 'application/octet-stream', 'cache-control': 'no-store' }); + fs.createReadStream(file).pipe(res); + } catch (e) { + res.writeHead(500, { 'content-type': 'text/plain; charset=utf-8' }); + res.end(String(e && e.stack || e)); + } +}).listen(PORT, () => console.log(`Series of Tubes (dev): http://localhost:${PORT}/ — edits in src/ and site/ reload the page`)); + +let timer = null; +for (const dir of ['src', 'site']) { + fs.watch(path.join(ROOT, dir), { recursive: true }, () => { + clearTimeout(timer); + timer = setTimeout(() => { for (const c of clients) c.write('data: reload\n\n'); }, 100); + }); +} diff --git a/scripts/i18n-check.js b/scripts/i18n-check.js index 0b5ae8e..0290654 100644 --- a/scripts/i18n-check.js +++ b/scripts/i18n-check.js @@ -1,5 +1,5 @@ #!/usr/bin/env node -// Checks a translation against the English text in site/index.html: every tr()/trn()/N_() literal and +// Checks a translation against the English text in the game page (assembled from src/): every tr()/trn()/N_() literal and // every data-i18n text, aria-label and title in the static markup should have an entry, no stale entry // should linger, and each translation must keep the {placeholders} and HTML tags of its English key. // Usage: node scripts/i18n-check.js [lang ...] [--summary FILE] (default: every site/i18n/*.js) @@ -10,6 +10,7 @@ const path = require('node:path'); const vm = require('node:vm'); const SITE = path.join(__dirname, '..', 'site'); +const page = () => require('./lib/page').assemble().html; const LIT = String.raw`'(?:[^'\\\n]|\\.)*'|"(?:[^"\\\n]|\\.)*"|\x60(?:[^\x60\\$]|\\.|\$(?!\{))*\x60`; const CALL = new RegExp(String.raw`(?= 0 ? args.splice(si, 2)[1] : null; // append a Markdown table here (CI: $GITHUB_STEP_SUMMARY) - const keys = sourceKeys(fs.readFileSync(path.join(SITE, 'index.html'), 'utf8')); + const keys = sourceKeys(page()); const files = (args.length ? args.map((l) => `${l}.js`) : fs.readdirSync(path.join(SITE, 'i18n'))) .map((f) => path.join(SITE, 'i18n', f)); let bad = false; diff --git a/scripts/legacy/split-index-html.js b/scripts/legacy/split-index-html.js new file mode 100644 index 0000000..ee069c5 --- /dev/null +++ b/scripts/legacy/split-index-html.js @@ -0,0 +1,184 @@ +#!/usr/bin/env node +// Splits a pre-split site/index.html (one file: HTML, CSS and JS) into the src/ layout. +// +// This is how src/ was made, and it stays around for work that was started before the split: a branch +// or pull request that still edits site/index.html. scripts/legacy/port-branch.js uses it to carry those +// edits over to src/ (see CONTRIBUTING.md, "Your branch still edits site/index.html?"). +// +// node scripts/legacy/split-index-html.js INDEX_HTML OUT_DIR writes OUT_DIR/index.html and partials +// +// The cut points are found by content, not line numbers, so the same rules split any version from around +// the split (1.33.x). Comments directly above a cut point travel with the code below them. +const fs = require('node:fs'); +const path = require('node:path'); + +// [partial, first line of it]. Each regex must match a line that comes after the previous cut. +const CSS = [ + ['styles/00-base.css', /^\/\* Layout: full-bleed/], + ['styles/10-hud.css', /^\/\* HUD \*\/$/], + ['styles/20-drawers.css', /^\/\* drawers \*\/$/], + ['styles/30-toasts.css', /^\/\* toasts \*\/$/], + ['styles/40-modal.css', /^\/\* modal \*\/$/], + ['styles/50-tablet.css', /^\/\* Tablets in landscape/], + ['styles/60-phone.css', /^\/\* =+ PHONES/], +]; + +const JS = [ + ['game/00-core/10-language.js', /^\/\* =+ LANGUAGE/], + ['game/00-core/20-analytics.js', /^\/\* =+ ANALYTICS/], + ['game/10-catalog/10-economy.js', /^\/\* =+ CONSTANTS/], + ['game/10-catalog/20-routers.js', /^const RG=\[/], + ['game/10-catalog/30-supply-chain.js', /^\/\* -+ Supply chain/], + ['game/10-catalog/40-ports.js', /^\/\* Ports are finite/], + ['game/10-catalog/50-dark-fiber.js', /^\/\/ dark fiber & optical gear/], + ['game/10-catalog/60-reach-and-subsea.js', /^\/\* Reach \(#17/], + ['game/20-world/10-projection.js', /^\/\* =+ WORLD/], + ['game/20-world/20-landmasses.js', /^const LANDS_LL=/], + ['game/20-world/30-coastline.js', /^\/\/ Drawn coastline/], + ['game/20-world/40-city-coords.js', /^const CITY_LL=/], + ['game/20-world/50-cities.js', /^const CITIES=\[/], + ['game/20-world/60-cables.js', /^const CABLES=\[/], + ['game/30-networks/10-networks.js', /^\/\* =+ NETWORKS/], + ['game/30-networks/20-rival-exchanges.js', /^\/\* Rival exchanges/], + ['game/30-networks/30-long-tail.js', /^\/\* The long tail/], + ['game/30-networks/40-traffic-shares.js', /^const NET=Object\.fromEntries/], + ['game/40-progress/10-businesses.js', /^\/\* =+ BUSINESSES/], + ['game/40-progress/20-goals.js', /^\/\* =+ GOALS/], + ['game/50-state.js', /^\/\* =+ STATE/], + ['game/60-features/10-banks.js', /^\/\* =+ BANKS & LOANS/], + ['game/60-features/20-scenarios.js', /^\/\* Seeded games/], + ['game/60-features/30-conferences.js', /^\/\* -+ conference season/], + ['game/60-features/40-tutorial.js', /^\/\* -+ guided first game/], + ['game/60-features/50-traceroute.js', /^\/\* -+ traceroute and looking glass/], + ['game/60-features/60-share-card.js', /^\/\* -+ share card/], + ['game/60-features/70-scenario-progress.js', /^function scnTick\(/], + ['game/60-features/80-new-game.js', /^function newGame\(/], + ['game/70-rules/10-helpers.js', /^\/\* =+ HELPERS/], + ['game/70-rules/20-exchanges.js', /^\/\* Australian exchanges follow/], + ['game/70-rules/30-pnis.js', /^\/\* -+ PNIs with the big networks/], + ['game/70-rules/40-peering-inbox.js', /^\/\* -+ The peering inbox/], + ['game/70-rules/50-peering-policy.js', /^\/\* Big networks sometimes refuse/], + ['game/70-rules/60-de-kicks.js', /^\/\* DE-KICKS Group/], + ['game/70-rules/70-sold-out.js', /^\/\* Sold out:/], + ['game/70-rules/80-hot-ports-and-rank.js', /^const HOT=/], + ['game/80-simulation/10-dijkstra.js', /^\/\* =+ SIMULATION/], + ['game/80-simulation/20-routescript.js', /^\/\* -+ RouteScript/], + ['game/80-simulation/30-compute.js', /^const LABS=new Map/], + ['game/80-simulation/40-billing.js', /^function p95\(/], + ['game/80-simulation/50-sanitize.js', /^const own=/], + ['game/80-simulation/60-requirements.js', /^const GRACE_DAYS=/], + ['game/80-simulation/70-customers-and-events.js', /^function bizSf\(/], + ['game/80-simulation/80-geography-and-latency.js', /^function cnOk\(/], + ['game/80-simulation/90-sites-and-service.js', /^const RT=\{/], + ['game/85-incidents/10-incidents-and-ddos.js', /^\/\* -+ failures & events/], + ['game/85-incidents/20-failures.js', /^function fireFailure\(/], + ['game/85-incidents/30-events.js', /^function fireEvent\(/], + ['game/88-days/10-day-tick.js', /^\/\* -+ daily tick/], + ['game/88-days/20-badges.js', /^const RARITY=/], + ['game/90-actions/00-actions.js', /^\/\* =+ ACTIONS/], + ['game/90-actions/90-action-helpers.js', /^function landTrenches\(/], + ['game/91-save.js', /^\/\* =+ SAVE/], + ['game/92-audio.js', /^\/\* =+ AUDIO/], + ['game/93-ui/10-dom.js', /^\/\* =+ DOM RENDER/], + ['game/93-ui/20-phone.js', /^\/\* =+ PHONE =/], + ['game/93-ui/30-install.js', /^\/\* =+ INSTALL/], + ['game/93-ui/40-hud-and-panels.js', /^function fitHud\(/], + ['game/93-ui/50-city-panel.js', /^function cityPanel\(/], + ['game/93-ui/60-decommission.js', /^\/\* Decommissioning POPs/], + ['game/93-ui/70-link-panels.js', /^const portMo=/], + ['game/94-dashboard/10-progress.js', /^\/\* -+ scenario and level progress/], + ['game/94-dashboard/20-meet-a-network.js', /^\/\* -+ where to meet a network/], + ['game/94-dashboard/30-customers.js', /^\/\* -+ customers overview/], + ['game/94-dashboard/40-connections.js', /^\/\* -+ connections overview/], + ['game/94-dashboard/50-lease-swaps.js', /^\/\* Leased lines you could swap/], + ['game/94-dashboard/60-dashboard.js', /^function dashTabs\(/], + ['game/94-dashboard/70-bank.js', /^function loanSummary\(/], + ['game/94-dashboard/80-hint.js', /^function renderHint\(/], + ['game/95-modals/10-toasts.js', /^\/\* -+ toasts & modals/], + ['game/95-modals/20-notifications.js', /^\/\* -+ notifications:/], + ['game/95-modals/30-modal-and-names.js', /^function openModal\(/], + ['game/95-modals/40-title.js', /^function showTitle\(/], + ['game/95-modals/50-release-notes.js', /^\/\* In-app notes stay short/], + ['game/95-modals/60-help.js', /^function showHelp\(/], + ['game/95-modals/70-link-modal.js', /^function openLinkModal\(/], + ['game/95-modals/80-own-cable.js', /^\/\* Your own subsea cable/], + ['game/95-modals/90-fiber-modals.js', /^function dfModalBody\(/], + ['game/96-map/10-canvas.js', /^\/\* =+ CANVAS/], + ['game/96-map/20-land-and-clouds.js', /^function rng\(seed\)/], + ['game/96-map/30-settings.js', /^function i18nDom\(/], + ['game/96-map/40-level-of-detail.js', /^\/\* Level of detail/], + ['game/96-map/50-link-geometry.js', /^\/\* Parallel waves on the same cable/], + ['game/96-map/60-draw.js', /^function draw\(now\)/], + ['game/96-map/70-world-layer.js', /^\/\* The land is never drawn/], + ['game/96-map/80-cities.js', /^const LBLW=/], + ['game/96-map/90-input.js', /^\/\* -+ hit tests & input/], + ['game/96-map/95-clicks.js', /^\/\* -+ click delegation/], + ['game/99-loop.js', /^\/\* =+ LOOP/], +]; + +// Moves a cut up over the comment directly above it, so a comment stays with the code it describes. +function liftOverComments(lines, i, floor) { + for (;;) { + const prev = lines[i - 1]; + if (i - 1 <= floor || prev === undefined) return i; + if (/^\/\//.test(prev)) { i--; continue; } + if (/\*\/\s*$/.test(prev)) { + // A block comment ending just above: find the "/*" line it starts on, with no other "*/" in between. + let j = i - 1; + while (j > floor && !/^\/\*/.test(lines[j])) j--; + if (j > floor && !lines.slice(j, i - 1).some((l) => l.includes('*/'))) { i = j; continue; } + } + return i; + } +} + +// Cuts lines[from, to) into [file, text] pairs by the spec. +function cut(lines, from, to, spec, what) { + const starts = []; + let at = from; + for (const [file, re] of spec) { + let i = at; + while (i < to && !re.test(lines[i])) i++; + if (i >= to) throw new Error(`${what}: no line matches ${re} (for ${file}) after line ${at + 1}`); + const s = starts.length ? liftOverComments(lines, i, starts[starts.length - 1]) : from; + starts.push(s); + at = i + 1; + } + if (starts[0] !== from) throw new Error(`${what}: unexpected text before ${spec[0][0]}`); + return spec.map(([file], k) => [file, lines.slice(starts[k], k + 1 < starts.length ? starts[k + 1] : to).map((l) => l + '\n').join('')]); +} + +function split(html) { + if (html.includes('\r')) html = html.replace(/\r\n/g, '\n'); + const lines = html.split('\n'); + const find = (re, from = 0) => { const i = lines.findIndex((l, k) => k >= from && re.test(l)); if (i < 0) throw new Error(`no line matches ${re}`); return i; }; + const styleOpen = find(/^ - - -
-

Series of Tubes: build the internet, one tube at a time

-

A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.

-
- - - -
- - -
Traffic served
0
-
Reach
0%
-
Rank
Tier 3
- - - -
-
Date
Y1 · Jan 1
-
- - - - - - - - - -
-
- - - - - - - - - -
- - - - - - - - - - - diff --git a/src/game/00-core/10-language.js b/src/game/00-core/10-language.js new file mode 100644 index 0000000..1c15086 --- /dev/null +++ b/src/game/00-core/10-language.js @@ -0,0 +1,11 @@ +/* ================= LANGUAGE ================= + English is the source text: tr(text,vars) looks it up in the dictionary that + site/i18n/.js registered and falls back to the English. trn() picks the singular or plural + form first; N_() only marks text that doubles as an id, so it can be translated where it is shown. */ +// English when the dictionary did not load (offline, or a copy without the i18n folder). +const LANGS=window.SOT_LANGS,LANG=window.I18N?.[window.SOT_LANG]?window.SOT_LANG:'en'; +document.documentElement.lang=LANG; +const DICT=Object.assign(Object.create(null),window.I18N?.[LANG]); +function tr(s,v){const o=DICT[s]||s;return v?o.replace(/\{(\w+)\}/g,(m,k)=>k in v?v[k]:m):o;} +function trn(one,other,n,v){return tr(n===1?one:other,{n,...v});} +function N_(s){return s;} diff --git a/src/game/00-core/20-analytics.js b/src/game/00-core/20-analytics.js new file mode 100644 index 0000000..ccbe936 --- /dev/null +++ b/src/game/00-core/20-analytics.js @@ -0,0 +1,21 @@ +/* ================= ANALYTICS (ridiculytics) ================= + Off unless ANALYTICS.host is set. Fill in your collector when you self-host the game. + Inside the claude.ai viewer outside requests are blocked, so it only reports from your own domain. */ +const APP_VERSION='__VERSION__'; +// Filled in by scripts/build.sh from CHANGELOG.md for this version. +const RELEASE_NOTES=/*__RELEASE_NOTES__*/[]; +const IS_DEV=APP_VERSION.startsWith('__'); +// Only report from the real site; previews, localhost and the Claude viewer stay silent. +const ANALYTICS={host:/(^|\.)seriesoftub\.es$/.test(location.hostname)?'https://stats.seriesoftub.es':'',site:'seriesoftub.es'}; +(function(){ + try{ + window.ridiculytics=window.ridiculytics||function(){const q=window.ridiculytics.q=window.ridiculytics.q||[];if(q.length<100)q.push(arguments);}; + if(!ANALYTICS.host)return; + const sc=document.createElement('script');sc.defer=true;sc.src='https://cdn.jsdelivr.net/npm/ridiculytics@1.0.1/web/counter.min.js'; + sc.setAttribute('data-host',ANALYTICS.host);if(ANALYTICS.site)sc.setAttribute('data-site',ANALYTICS.site);sc.setAttribute('data-spa','false');sc.integrity='sha384-uNCU8e2RB7Yn6lVNut2gupQsJwKwXPZu2i4t/Eg6Q59ki0kchBR4L4yoS3ZxxjEX';sc.crossOrigin='anonymous';sc.referrerPolicy='no-referrer'; + document.head.appendChild(sc); + }catch(e){} +})(); +const TRACKED=new Set(); +function track(name,once){if(!ANALYTICS.host)return;if(once){if(TRACKED.has(name))return;TRACKED.add(name);}try{window.ridiculytics(name);}catch(e){}} +const PLAY_MARKS=[1,5,15,30,60,120]; diff --git a/src/game/10-catalog/10-economy.js b/src/game/10-catalog/10-economy.js new file mode 100644 index 0000000..ba880da --- /dev/null +++ b/src/game/10-catalog/10-economy.js @@ -0,0 +1,50 @@ +/* ================= CONSTANTS ================= */ +const W=2000, H=1000, KM=14; +const POP_COST=20000, POP_MO=1500, EYE_RATE=150, CACHE_CAP=100, CACHE_MO=400; +const DAY_MS=2500, ROUTER_COST=15000, ROUTER_MO=1500, GEN_COST=12000, GEN_MO=600, DIVERSE=1.4; +const RU_BOX=40000, RU_BOX_MO=2000; +const UAE_LIC=15000,KSA_LIC=25000; +// Korea: "sender pays" interconnection makes transit into Seoul about four times the usual price. +const KR_TRANSIT=4; +/* Australia: a long way from everywhere. Every gigabit out of the country rides a long, thin subsea + cable, so transit and waves cost more than almost anywhere else. IX ports are the exception: a + nonprofit exchange sells 10G for about AUD 350 a month. Retail broadband is dear, but the national + wholesale network keeps roughly half of every home bill (about AUD 50 a month per home). */ +const AU_TRANSIT=3,AU_WAVE={land:1.8,sub:2.6,ew:1.3},AU_IX=0.8,AU_ARPU=1.8,AU_WHOLESALE=0.45; +// Fibre to the Basement: on your own fibre you skip the wholesale cut, but competing networks pay the +// Regional Broadband Scheme levy instead (about $7 a month on a ~$90 bill). +const AU_LEVY=0.08; +const SITE2_COST=45000,SITE2_MO=3000,TE_COST=60000,TE_MO=4000; +const SITE2_N=[tr('The Other Building'),tr('Campus B (the one with parking)'),tr('Across-the-River DC'),tr('The Annex'),tr('Suburban Mega-shed'),tr('The Cheaper One'),tr('Formerly a Shopping Mall'),tr('Bunker Two')]; +// A city's buildings: '#' becomes a site number from 1 to dcN (dc2N for the second building) that stays put for this network. +const siteNo=(name,n)=>name.replace('#',1+((S&&S.asn)|0)%(n||1)); +const siteName=(c,s)=>s==='b'?CITY[c].dc2?siteNo(CITY[c].dc2,CITY[c].dc2N):SITE2_N[hstr(c)%SITE2_N.length]:siteNo(CITY[c].dc,CITY[c].dcN); +const BE_TAPE=30000; +const popCost=c=>POP_COST+(c&&CITY[c]&&CITY[c].tape?BE_TAPE:0)+(c&&CITY[c]&&CITY[c].ru?RU_BOX:0)+(c&&CITY[c]&&CITY[c].uae?UAE_LIC:0)+(c&&CITY[c]&&CITY[c].saudi?KSA_LIC:0); +const CN_LIC=150000, CN_JV_MO=6000; +// Scrubbing centers come in tiers by clean bandwidth. Always-on diverts instantly; on-demand is cheaper +// but takes a couple of days to engage. A clean-pipe add-on on a transit scrubs upstream, per port. +const SCRUB_TIERS=[{n:'100G',g:100,cost:60000,mo:5000,lvl:1},{n:'1T',g:1000,cost:180000,mo:15000,lvl:3},{n:'10T',g:10000,cost:500000,mo:40000,lvl:4},{n:'100T',g:100000,cost:1500000,mo:110000,lvl:10}]; +const SCRUB_DELAY=2, SLA_PEN=20000; +const scrubMo1=x=>Math.round(SCRUB_TIERS[x.tier||0].mo*(S.scrubMode==='ondemand'?0.6:1)),scrubMo=()=>S.scrubs.reduce((a,x)=>a+scrubMo1(x),0); +const hasScrub=()=>!!(S&&S.scrubs&&S.scrubs.length),SCRUB_FAR_MS=30; +const cleanMo=t=>Math.round(PORT[t.tier].g*(t.n||1)*5); +// DDoS has a shape now: a vector, a size and an entry point. A vector's `fs` is whether Flowspec can drop +// it at the edge — it catches the known volumetric UDP floods, but an application-layer HTTP flood sails +// through. Whether a POP can run Flowspec at all is a router-model property (`fs` on RG): the rules live in +// hardware TCAM, and the budget differs by platform. FS_RES is the junk left after filtering, by capability +// (0 none → no help · 1 basic merchant/whitebox → 40% leaks · 2 full big iron → 15% leaks). +const FS_RES=[1,0.4,0.15]; +const DDOS_VEC={ + dns:{n:tr('DNS reflection'),fs:true}, + ntp:{n:tr('NTP amplification'),fs:true}, + cldap:{n:tr('CLDAP flood'),fs:true}, + syn:{n:tr('SYN flood'),fs:true}, + http:{n:tr('HTTP flood'),fs:false}, +}; +const MYIX_COST=80000, MYIX_MO=3000, MYIX_FEE=1500, START_CASH=200000; +// Your own exchange's switching fabric. Bigger fabrics carry more and attract more members. +const MYIX_FAB=[{n:'400G',g:400,cost:0,mo:3000,max:12},{n:'1.6T',g:1600,cost:60000,mo:6000,max:20,lvl:2},{n:'6.4T',g:6400,cost:200000,mo:12000,max:30,lvl:3},{n:'25.6T',g:25600,cost:600000,mo:25000,max:45,lvl:4},{n:'102.4T',g:102400,cost:1800000,mo:60000,max:60,lvl:9}]; +const myFab=c=>MYIX_FAB[Math.min(MYIX_FAB.length-1,Math.max(0,(S.myIx[c]&&S.myIx[c].fab)|0))]; +const LT=[{n:'10G',g:10,m:1},{n:'100G',g:100,m:2.8},{n:'400G',g:400,m:6},{n:'800G',g:800,m:9},{n:'1.6T',g:1600,m:13},{n:'6.4T',g:6400,m:28,car:1600,note:tr('handed off as 4×1.6T')},{n:'12.8T',g:12800,m:45,car:3200,note:tr('handed off as 4×3.2T')}]; +const PORT=[{n:'10G',g:10,setup:500,tmo:150,ix:400,pni:200},{n:'100G',g:100,setup:1500,tmo:400,ix:1500,pni:350},{n:'400G',g:400,setup:4000,tmo:900,ix:4000,pni:600},{n:'800G',g:800,setup:8000,tmo:1600,ix:7000,pni:1000},{n:'1.6T',g:1600,setup:16000,tmo:2800,ix:12000,pni:1600},{n:'3.2T',g:3200,setup:32000,tmo:5000,ix:20000,pni:2600}]; diff --git a/src/game/10-catalog/20-routers.js b/src/game/10-catalog/20-routers.js new file mode 100644 index 0000000..eb513fb --- /dev/null +++ b/src/game/10-catalog/20-routers.js @@ -0,0 +1,24 @@ +const RG=[ + {n:'Rusty Router 9000',pn:'100G',cap:400,cost:0,mo:0,maxLT:1,maxP:1,ports:8,cls:0,lvl:1,boot:6,slowP:10,fs:0,chip:tr('a mystery ASIC'),blurb:tr('Bought used on eBuy. The fans sound like a jet engine.')}, + {n:'Edge Lord 400',pn:'400G',cap:3200,cost:30000,mo:1000,maxLT:2,maxP:2,ports:24,cls:1,lvl:2,boot:11,slowP:20,fs:1,chip:tr('merchant silicon'),blurb:tr('Sharp, edgy, and finally speaks 400G and 400ZR+.')}, + {n:'Chonk 800',pn:'800G',cap:12800,cost:90000,mo:3000,maxLT:3,maxP:3,ports:36,cls:2,lvl:3,boot:25,slowP:45,fs:2,chip:'Junipurr PacketOinker™',blurb:tr('An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.')}, + {n:'Absolute Unit 1.6T',pn:'1.6T',cap:51200,cost:250000,mo:8000,maxLT:5,maxP:4,ports:40,cls:3,lvl:4,boot:40,slowP:60,fs:2,chip:tr('PacketOinker² (two pigs, one chassis)'),blurb:tr('1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.')}, + {n:'Mikrowtik CCR',pn:'100G',cap:300,cost:4000,mo:150,maxLT:1,maxP:1,ports:16,cls:0,lvl:1,boot:2,slowP:5,badge:'M',fs:1,chip:tr('a few dozen ARM cores'),blurb:tr('Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.')}, + {n:'Sonic the Whitebox 32',pn:'400G',cap:3200,cost:14000,mo:400,maxLT:2,maxP:2,ports:32,cls:1,lvl:2,boot:9,slowP:25,flaky:true,badge:'W',fs:1,chip:tr('Tomahack merchant silicon'),blurb:tr('A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.')}, + {n:'Arrrhipster 7280R',pn:'400G',cap:4800,cost:42000,mo:1300,maxLT:2,maxP:2,ports:48,cls:1,lvl:2,boot:3,slowP:2,badge:'A',fs:2,chip:tr('Jerry-cho deep-buffer silicon'),blurb:tr('Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.')}, + {n:'Arrrhipster 7800R',pn:'800G',cap:16000,cost:130000,mo:4200,maxLT:3,maxP:3,ports:96,cls:2,lvl:3,boot:7,slowP:4,badge:'A',fs:2,chip:tr('Jerry-cho³ deep-buffer silicon'),blurb:tr('The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.')}, + {n:'Disco 8K',pn:'800G',cap:12800,cost:80000,mo:4800,maxLT:3,maxP:3,ports:64,cls:2,lvl:3,boot:20,slowP:35,badge:'D',fs:2,chip:'Silly-con One',blurb:tr('Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.')}, + {n:'Knockia 7750',pn:'1.6T',cap:40000,cost:200000,mo:7000,maxLT:5,maxP:4,ports:56,cls:3,lvl:4,boot:30,slowP:15,badge:'K',fs:2,chip:tr('Fin-P network processor'),blurb:tr('Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.')}, + {n:'Sonic the Whitebox 64',pn:'1.6T',cap:25600,cost:60000,mo:1500,maxLT:5,maxP:4,ports:64,cls:3,lvl:5,boot:9,slowP:25,flaky:true,badge:'W',fs:1,chip:tr('Tomahack 5 merchant silicon'),blurb:tr('Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.')}, + {n:'Disco 8K Ultra',pn:'1.6T',cap:51200,cost:140000,mo:11000,maxLT:5,maxP:4,ports:72,cls:3,lvl:6,boot:22,slowP:35,badge:'D',fs:2,chip:'Silly-con One G3',blurb:tr('Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.')}, + {n:'Absolute Unit 3.2T',pn:'3.2T',cap:204800,cost:600000,mo:18000,maxLT:6,maxP:5,ports:48,cls:4,lvl:7,boot:50,slowP:60,fs:2,chip:tr('PacketOinker³ (a whole litter)'),blurb:tr('3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.')}, + {n:'Arrrhipster 7800R5',pn:'3.2T',cap:160000,cost:450000,mo:14000,maxLT:6,maxP:5,ports:144,cls:4,lvl:9,boot:8,slowP:4,badge:'A',fs:2,chip:tr('Jerry-cho⁵ deep-buffer silicon'),blurb:tr('A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.')}, + {n:'Knockia 7950 XRS',pn:'3.2T',cap:180000,cost:520000,mo:15000,maxLT:6,maxP:5,ports:96,cls:4,lvl:10,boot:32,slowP:15,badge:'K',fs:2,chip:tr('Fin-P6 network processor'),blurb:tr('Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.')}, + {n:'Mikrowtik CCR 3.2T',pn:'3.2T',cap:51200,cost:45000,mo:900,maxLT:6,maxP:5,ports:32,cls:4,lvl:11,boot:3,slowP:5,flaky:true,badge:'M',fs:1,chip:tr('several hundred ARM cores and a prayer'),blurb:tr('A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.')}, + {n:'The Router at the End of the Universe',pn:'3.2T',cap:819200,cost:3000000,mo:60000,maxLT:6,maxP:5,ports:256,cls:4,lvl:13,boot:42,slowP:42,badge:'U',fs:2,chip:tr('forty-two of them'),blurb:tr('Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.')} +]; +/* Some routers take forever to boot. Each POP's chassis has a personality per model: most come + back in minutes, a few sit through every line card self-test known to the vendor. */ +const SLOW_BOOT=[tr('is oinking through the self-test of every PacketOinker on every line card'),tr('is running fsck on a compact flash card older than your interns'),tr('found a newer firmware on the USB stick someone left in it, and is installing it'),tr('is counting to 2 million routes. Out loud. One at a time'),tr('is waiting for the line cards to agree on who is the primary'),tr('booted, panicked about a missing fan tray, and started again'),tr('is "synchronising the routing engines". Nobody knows what that means')]; +function slowBoot(c){const p=S.pops[c];if(!p)return false;const g=p.rgen||0;return hstr(c+'|boot|'+g+'|'+S.asn)%100Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.')}, + rt:{mul:1.4,n:N_('Routers'),msg:N_('Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.')}, + build:{mul:1.3,n:N_('New fiber and cable builds'),msg:N_('Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.')}}; +const hwTrend=d=>Math.min(HW_CAP,1+HW_YR*Math.max(0,(d-HW_FREE)/365)); +const hwShock=()=>{const s=S&&S.hw&&S.hw.shock;return s&&s.until>S.day?s:null;},hwLock=()=>{const l=S&&S.hw&&S.hw.lock;return l&&l.until>S.day?l:null;}; +function hwMul(k){if(!S)return 1;const l=hwLock();if(l)return l.mul;const s=hwShock();return hwTrend(S.day)*(s&&s.k===k?s.mul:1);} +// A lock costs a little more for a bigger network, and twice as much in the middle of a shortage. +const hwLockCost=()=>Math.round((80000+30000*Object.keys(S.pops).length)*(hwShock()?2:1)/1000)*1000; +function hwShockStart(){const k=pick(Object.keys(HW_SHOCK)),n=45+Math.floor(Math.random()*31);S.hw=S.hw||{};S.hw.shock={k,until:S.day+n,mul:HW_SHOCK[k].mul}; + toast(tr(HW_SHOCK[k].msg,{n})+(hwLock()?'
'+tr('Your price lock covers you until {date}.',{date:dateStr(hwLock().until)}):''),hwLock()?'':'bad');sfx('alert');} +function hwCard(){if(!S||(S.day<=HW_FREE&&!hwShock()&&!hwLock()))return '';const t=hwTrend(S.day),s=hwShock(),l=hwLock(); + return `
📦 ${tr('Supply chain')}
+
${tr('Hardware prices')}${t>1.005?tr('+{p} since you started',{p:pct(t-1)}):tr('as when you started')}
+ ${s?`
${tr('Shortage')}${tr('{what} +{p} · {n} days left',{what:tr(HW_SHOCK[s.k].n),p:pct(s.mul-1),n:s.until-S.day})}
`:''} + ${l?`
${tr('Price lock')}${tr('until {date}, at +{p}',{date:dateStr(l.until),p:pct(l.mul-1)})}
` + :`

${tr('Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.')}

${btn(tr('Lock prices for a year {cost}',{cost:fmt$(hwLockCost())}),'hwLock',{},'sm',S.cash`}
`;} +const routerCost=g=>Math.round((ROUTER_COST+RG[g].cost*0.8)*hwMul('rt')); +// Old routers go on eBuy when you swap models or remove one (#82), like spare optics (#45). Chassis age faster. +const ROUTER_RESALE=0.3,tradeIn=(g,n)=>Math.round(RG[g].cost*n*ROUTER_RESALE),swapCost=(c,g)=>{const p=S.pops[c],rt=p.routers||1;return Math.max(0,Math.round(RG[g].cost*rt*hwMul('rt'))-tradeIn(p.rgen||0,rt));}; +const RMAX=6; +// The plain, badge-less model of each class is the default upgrade path; the others are side-grades. +const mainRG=k=>RG.findIndex(r=>r.cls===k&&!r.badge); +// Ports and waves beyond 1.6T / 6.4T only show once a router that takes them is unlocked. +const portShown=i=>i<=4||RG.some(r=>r.lvl<=lvl()&&r.maxP>=i),waveShown=i=>i<=5||RG.some(r=>r.lvl<=lvl()&&r.maxLT>=i); diff --git a/src/game/10-catalog/40-ports.js b/src/game/10-catalog/40-ports.js new file mode 100644 index 0000000..496b551 --- /dev/null +++ b/src/game/10-catalog/40-ports.js @@ -0,0 +1,22 @@ +/* Ports are finite. Every transit, IX, PNI and cache port, every wave and every fibre channel + takes a router port. 10G ports ride a breakout cable, four to a port. */ +const PORT_SLOT=i=>i===0?0.25:1; +function portsUsed(c){let u=0; + for(const l of S.links){if(l.a!==c&&l.b!==c||l.kind==='vxc')continue;u+=l.kind==='df'?(l.ch||[]).length:1;} + for(const t of S.transit)if(t.city===c)u+=PORT_SLOT(t.tier)*(t.n||1); + for(const x of S.pni)if(x.city===c)u+=PORT_SLOT(x.tier)*(x.n||1); + for(const x of ixIdsIn(c))if(S.ixp[x]!==undefined&&!S.myIx[x])u+=PORT_SLOT(S.ixp[x])*((S.ixn||{})[x]||1); + if(S.myIx[c])u+=1; + u+=S.caches.filter(x=>x.city===c).length+(S.nni||[]).filter(x=>x.city===c).length; + return u;} +function portsMax(c,g,rt){const p=S.pops[c];if(!p)return 0;return RG[g===undefined?(p.rgen||0):g].ports*(rt||p.routers||1);} +function portGate(c,add){if(!S.pops[c]||add<=0)return true;const u=portsUsed(c),m=portsMax(c);if(u+add<=m+1e-9)return true; + toast(tr('No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).',{city:esc(CITY[c].name),u:fmtPorts(u),m}),'bad');sfx('err');return false;} +// Nothing depends on this POP yet: no broadband, nothing plugged in, no customer. Work here bothers nobody (#105). +const popIdle=c=>{const p=S.pops[c];return !!p&&!p.bb&&portsUsed(c)===0&&!S.biz.some(b=>b.city===c||b.city2===c||(b.sites||[]).includes(c));}; +const fmtPorts=u=>Number.isInteger(u)?String(u):u.toFixed(2).replace(/0+$/,''); +function modelFits(c,g){const G=RG[g],p=S.pops[c];if(!p)return ''; + if(S.links.some(l=>(l.a===c||l.b===c)&&l.kind==='wave'&&l.tier>G.maxLT))return tr('A wave here is faster than {pn}.',{pn:G.pn}); + if([...S.transit,...S.pni].some(t=>t.city===c&&t.tier>G.maxP)||ixIdsIn(c).some(x=>S.ixp[x]!==undefined&&!S.myIx[x]&&S.ixp[x]>G.maxP))return tr('A port here is bigger than {pn}.',{pn:G.pn}); + if(S.links.some(l=>(l.a===c||l.b===c)&&l.kind==='df'&&(l.ch||[]).some(o=>OPT[o]&&OPT[o].rg>G.cls)))return tr('A fibre here uses optics this model cannot take.'); + if(portsUsed(c)>portsMax(c,g))return tr('You use {u} ports here and {r} × {model} only has {max}.',{u:fmtPorts(portsUsed(c)),r:p.routers||1,model:G.n,max:portsMax(c,g)});return '';} diff --git a/src/game/10-catalog/50-dark-fiber.js b/src/game/10-catalog/50-dark-fiber.js new file mode 100644 index 0000000..883295f --- /dev/null +++ b/src/game/10-catalog/50-dark-fiber.js @@ -0,0 +1,39 @@ +// dark fiber & optical gear +const DF_SYS={ + lite:{n:'Rainbow-in-a-Box DWDM',max:16,cost:25000,lvl:2,blurb:tr('Fixed mux plus amplifiers. Up to 16 channels, no remote switching.')}, + roadm:{n:'ROADMaster 9000',max:64,cost:60000,lvl:3,blurb:tr('Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.')}, + cl:{n:'ROADMaster 9000 C+L',max:128,cost:140000,lvl:6,blurb:tr('Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.')}, +}; +const AMP_EVERY=100, AMP_COST=8000, AMP_MO=300; +/* Your own trench holds more than one fiber pair (#35). Once a ROADMaster is full you can light the next pair: + another ROADMaster and another chain of amplifiers, 64 more channels. Regen huts are shared. */ +const isRdm=y=>y==='roadm'||y==='cl'; +const PAIRS_MAX=4,PAIRS_BIG=8,PAIRS_LV=12,SUB_PAIRS_MAX=8,SUB_PAIR_UP=1500000,pairsMax=l=>l.sub?SUB_PAIRS_MAX:lvl()>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,chMax=l=>DF_SYS[l.sys].max*(isRdm(l.sys)&&l.own?Math.max(1,l.pairs|0):1), + pairCost=l=>DF_SYS[isRdm(l.sys)?l.sys:'roadm'].cost+(l.sub?SUB_PAIR_UP:ampCount(l.km)*AMP_COST); +const OPT={ + zr4:{n:'Ackackia 400ZR+',g:400,cost:12000,reach:1500,modes:[[400,1500],[200,3000]],rg:1,lvl:2,sys:'lite',blurb:tr('Coherent pluggable in the router. No transponder shelf.')}, + zr8:{n:'Sizzle 800ZR+',g:800,cost:22000,reach:900,modes:[[800,900],[400,1800],[200,3600]],rg:2,lvl:3,sys:'lite',blurb:tr('Twice the speed, shorter reach.')}, + tp16:{n:'Sienna WaveMagic 1.6T',g:1600,cost:70000,reach:4000,modes:[[1600,4000],[1200,5500],[800,7000],[400,12000]],rg:2,lvl:4,sys:'roadm',blurb:tr('Big shelf, big reach, big invoice.')}, + tp32:{n:'Sienna WaveMagic 3.2T',g:3200,cost:130000,reach:1500,modes:[[3200,1500],[1600,4000],[1200,5500],[800,7000],[400,12000]],rg:4,lvl:8,sys:'roadm',blurb:tr('Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.')}, +}; +const dfLeaseMo=km=>Math.round(400+km*1.0); +const dfBuildCost=km=>Math.round((25000+km*120)*hwMul('build')); +const dfBuildDays=km=>Math.round(120+km*0.25); +const ampCount=km=>Math.max(0,Math.floor(km/AMP_EVERY)); +const fmtCap=g=>g>=1000?(+(g/1000).toFixed(1))+'T':g+'G'; +const WAVECO=['Zay-No Fiber','Loomin’ Technologies','Clown Castle Fiber','Bolt Technology','youNetworks','G&T (Gin and Transit)']; +const MONTHS=[tr('Jan'),tr('Feb'),tr('Mar'),tr('Apr'),tr('May'),tr('Jun'),tr('Jul'),tr('Aug'),tr('Sep'),tr('Oct'),tr('Nov'),tr('Dec')]; +const REG={AM:tr('Americas'),SA:tr('South America'),EU:tr('Europe'),AF:tr('Africa'),AS:tr('Asia'),OC:tr('Oceania')}; +const waveMo=(km,sub,tier)=>Math.round((300+km*1.2)*LT[tier].m*(sub?1.8:1)); +const FABS=[ + {id:'mgp',name:'Megapork',col:'#FF5A1F',cities:['mel','bne','per','adl','icn','sea','sjc','dal','chi','ash','nyc','mia','lon','ams','fra','par','mrs','sto','mad','sin','hkg','tok','syd','jnb'],blurb:tr('Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.')}, + {id:'pkf',name:'PocketFabric',col:'#00A896',cities:['sea','sjc','dal','chi','ash','nyc','mia','sao','lon','ams','fra'],blurb:tr('A whole network fabric that fits in your pocket.')}, + {id:'ccn',name:'Consolation Connect',col:'#8E44AD',cities:['icn','lon','fra','ams','mrs','bom','sin','hkg','tok','syd','lag','jnb'],blurb:tr('Strong in Asia and Africa. Every circuit comes with a consolation prize.')}, +]; +const FAB=Object.fromEntries(FABS.map(f=>[f.id,f])); +const NNI=[{n:'10G',g:10,mo:500},{n:'100G',g:100,mo:1200}]; +const VXC=[{n:'10G',g:10,m:1},{n:'50G',g:50,m:2.4},{n:'100G',g:100,m:3.6}]; +const vxcMo=(km,sub,t)=>Math.round((150+km*0.12)*VXC[t].m*(sub?2:1)); +const MET={prefer:{l:tr('Prefer'),f:0.5},normal:{l:tr('Normal'),f:1},avoid:{l:tr('Avoid'),f:4},backup:{l:tr('Backup only'),f:60}}; +const PREF={high:tr('Prefer'),normal:tr('Normal'),low:tr('Backup only')}; +const edgeKey=l=>l.aMath.ceil(l.km/((l.regen|0)+1)); +/* Subsea glass is engineered end to end for one route: ultra-low-loss, large-area fiber and a repeater every + ~70 km, no regens (#66, #68). Optics reach about half as far again as on land, and the same physics caps + every wave on a cable, leased or your own: transatlantic gets 1.6T, transpacific 800G. */ +const SUB_REACH=1.5,reachOn=(r,sub)=>sub?Math.round(r*SUB_REACH):r; +const SUB_MAXKM=()=>subReach(1,1); +// Upgrades improve long-haul modes, not the nominal 1.6T/3.2T rate. +const SUB_UPGRADES={terminal:{n:N_('Premium submarine terminals'),cost:5000000,days:30},engineering:{n:N_('Optical engineering'),cost:12000000,days:180}}; +const subUpgradeReady=(l,k)=>l.kind==='df'&&l.sub&&l.own&&Number.isFinite(l['sub'+k])&&l['sub'+k]<=S.day; +const subUpgradeCost=(l,k)=>SUB_UPGRADES[k].cost+(k==='engineering'?Math.round(l.km*1000):0); +// Pending transmission work follows the construction schedule. Keep the actual +// shift (the last crew purchase can save fewer than 30 days) and completed work. +function setCableReady(l,ready,day=S.day){const shift=ready-l.ready; + if(l.kind==='df'&&l.own&&l.sub)for(const k of Object.keys(SUB_UPGRADES)){ + const f='sub'+k;if(Number.isFinite(l[f])&&l[f]>day)l[f]=Math.max(day+1,l[f]+shift); + }l.ready=ready; +} +const crewCost=l=>Math.round(15000+l.km*6); +const crewSteps=l=>Math.max(0,Math.ceil((l.ready-S.day-1)/30)); +// Old saves lack purchase dates. Only shorten dates beyond any valid remaining +// commissioning window. Credit elapsed time since the actual cable finish; +// recent purchases and installed upgrades stay untouched. +function repairSubUpgradeDates(l,day){if(l.kind!=='df'||!l.own||!l.sub)return; + for(const [k,U] of Object.entries(SUB_UPGRADES)){const f='sub'+k; + if(Number.isFinite(l[f])&&l[f]>Math.max(day,l.ready)+U.days)l[f]=l.ready+U.days; + } +} +function optModes(o,l){return (OPT[o].modes||[[OPT[o].g,OPT[o].reach]]).map(([g,r])=>{ + let reach=reachOn(r,l.sub); + if(l.sub&&['tp16','tp32'].includes(o)&&g<=1200){ + if(subUpgradeReady(l,'terminal'))reach=Math.max(reach,({1200:9000,800:13500,400:20000})[g]||reach); + if(subUpgradeReady(l,'engineering'))reach=Math.round(reach*1.25); + } + return [g,reach];});} +function optMode(o,l){const km=spanKm(l);for(const [g,r] of optModes(o,l))if(km<=r)return {g,reach:r,full:g===OPT[o].g};return null;} +// The longest subsea span any optic lights with these upgrades in service, and the cheapest upgrades a length needs +// (null: nothing can light it). The length limit, the order screen and refunds all use these, so they agree. +const SUBR=[],subReach=(t,e)=>SUBR[(t?1:0)+(e?2:0)]??(SUBR[(t?1:0)+(e?2:0)]=Math.max(...Object.keys(OPT).flatMap(o=>optModes(o,{kind:'df',own:true,sub:true,subterminal:t?0:undefined,subengineering:e?0:undefined}).map(m=>m[1])))), + subNeed=km=>km<=subReach(0,0)?[]:km<=subReach(1,0)?['terminal']:km<=subReach(0,1)?['engineering']:km<=subReach(1,1)?['terminal','engineering']:null; +// Upgrades a cable of this length still needs on top of the chosen ones; ['design'] when nothing can light it. +const seaLack=(km,up)=>{const n=subNeed(km);return n?n.filter(k=>!up[k]):['design'];}; +const submarineRate=l=>Math.max(0,...Object.keys(OPT).filter(o=>OPT[o].lvl<=lvl()&&(OPT[o].sys!=='roadm'||isRdm(l.sys||'roadm'))).map(o=>optG(o,l))); +// The fastest single carrier any optic can run over this much subsea cable. +const subCarrier=km=>Math.max(0,...Object.values(OPT).map(O=>{const m=(O.modes||[[O.g,O.reach]]).find(([,r])=>km<=reachOn(r,true));return m?m[0]:0;})); +// A big leased wave is several carriers (6.4T = 4×1.6T), so each carrier has to make it across on its own. +const waveCar=i=>LT[i].car||LT[i].g; +function subWaveWhy(i,km,sub){if(!sub)return '';const c=subCarrier(km);return waveCar(i)>c?tr('{km} km of cable carries at most {g} per carrier.',{km:Math.round(km).toLocaleString(),g:fmtCap(c)}):'';} +const subMaxTier=km=>{let t=0;LT.forEach((T,i)=>{if(!subWaveWhy(i,km,true))t=i;});return t;}; +// What an optic carries depends only on the optic, the span length and subsea or not; the map and compute() ask a lot. +// Cached per optic, span and cable state: subsea, and which submarine upgrades are in service (#78). +const OPTG={};const optG=(o,l)=>{const km=spanKm(l),fl=l.sub?1+(subUpgradeReady(l,'terminal')?2:0)+(subUpgradeReady(l,'engineering')?4:0):0,c=OPTG[o]||(OPTG[o]=[]),m=c[fl]||(c[fl]=new Map());let g=m.get(km);if(g===undefined){const x=optMode(o,l);m.set(km,g=x?x.g:0);}return g;}; +const regenNeed=(o,l)=>Math.max(0,Math.ceil(l.km/OPT[o].reach)-1); +const dfCap=l=>{if(l.ready>S.day||l.eqDown>S.day)return 0;const ch=l.ch||[];let g=0;for(const c of ch)g+=optG(c,l);const f=l.chFail&&l.chFail.until>S.day?l.chFail:null;if(f){const fo=f.o&&ch.includes(f.o)?f.o:ch.slice().sort((a,b)=>optG(a,l)-optG(b,l))[0];if(fo)g-=optG(fo,l);}return Math.max(0,g);}; +const capOf=l=>(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?dfCap(l):LT[l.tier].g)*(l.deg>S.day?0.5:1)*(l.loss&&l.loss.until>S.day?l.loss.f:1); +// A sick LAG (LACP trouble) keeps only part of its capacity until the incident clears. +const lagF=o=>o&&o.lacp&&o.lacp.until>S.day?o.lacp.f:1,ixLagF=x=>lagF(S.ev&&S.ev.ixlacp&&{lacp:S.ev.ixlacp[x]}); +const tierW=l=>{if(l.kind==='wave')return l.tier;if(l.kind==='vxc')return 0;const g=dfCap(l);return g>=6400?4:g>=1600?3:g>=400?2:g>=100?1:0;}; +const capName=l=>l.kind==='vxc'?VXC[l.vt].n:l.kind==='df'?(l.ready>S.day?tr('building'):(l.ch||[]).length?fmtCap(dfCap(l)||(l.ch||[]).reduce((a,c)=>a+optG(c,l),0))+' DF':tr('dark')):LT[l.tier].n; + diff --git a/src/game/20-world/10-projection.js b/src/game/20-world/10-projection.js new file mode 100644 index 0000000..f47fa68 --- /dev/null +++ b/src/game/20-world/10-projection.js @@ -0,0 +1,7 @@ +/* ================= WORLD ================= */ +// Simplified real geography: lon/lat outlines, equirectangular, with gentle "magnifying lenses" over the busy regions. +const LENSES=[{lon:102.5,lat:2.6,r:22,m:1.1},{lon:52.5,lat:25.3,r:45,m:1.5},{lon:78.5,lat:15,r:48,m:1.1},{lon:-44.5,lat:-23.5,r:30,m:1.2},{lon:9,lat:49,r:170,m:1.25},{lon:121,lat:32,r:120,m:0.45},{lon:-80,lat:40,r:110,m:0.5}]; +function proj0(lon,lat){return [(lon+180)/360*W,(84-lat)*6.4];} +for(const L of LENSES){const q=proj0(L.lon,L.lat);L.x=q[0];L.y=q[1];} +function proj(lon,lat){const q=proj0(lon,lat);let dx=0,dy=0;for(const L of LENSES){let ex=q[0]-L.x;ex-=W*Math.round(ex/W);const ey=q[1]-L.y,f=L.m*Math.exp(-(ex*ex+ey*ey)/(L.r*L.r));dx+=ex*f;dy+=ey*f;}return [q[0]+dx,q[1]+dy];} +function hav(lo1,la1,lo2,la2){const r=Math.PI/180,dLa=(la2-la1)*r,dLo=(lo2-lo1)*r,a=Math.sin(dLa/2)**2+Math.cos(la1*r)*Math.cos(la2*r)*Math.sin(dLo/2)**2;return 2*6371*Math.asin(Math.min(1,Math.sqrt(a)));} diff --git a/src/game/20-world/20-landmasses.js b/src/game/20-world/20-landmasses.js new file mode 100644 index 0000000..184862e --- /dev/null +++ b/src/game/20-world/20-landmasses.js @@ -0,0 +1,8 @@ +const LANDS_LL=[{id:'am',ll:[[-166,68],[-157,71.2],[-141,69.8],[-128,70],[-115,68.5],[-97,68],[-94,62],[-92.5,57.5],[-85,55.2],[-80,51.5],[-78.5,58],[-77,62],[-70,61],[-64.5,60],[-61.5,56.5],[-57,52],[-55.6,49.5],[-53,47],[-59,46.5],[-61,45.2],[-63.2,44.4],[-66,44.5],[-70,43.3],[-70,42],[-74,40.6],[-76,38],[-75.8,35.5],[-77.5,34.5],[-79,33],[-81,31],[-80.05,27],[-80.1,25.3],[-81.5,25],[-82.7,27.5],[-84,30],[-89,30.2],[-94,29.5],[-97,28],[-97.5,25],[-97.7,22],[-96,19],[-94,18.3],[-91,18.5],[-90.4,21],[-87,21.5],[-88,17],[-88.5,15.8],[-84,15.8],[-83.4,12],[-83.7,10.5],[-81.5,9],[-79.5,9.5],[-77.5,8.6],[-75,10.8],[-71.5,12.3],[-68,10.6],[-62,10.5],[-60,8],[-57,6],[-52,5],[-50,1.5],[-48,-1],[-44,-2.5],[-39,-3.5],[-35,-5.5],[-35,-9],[-37.5,-12.5],[-39,-15],[-39.7,-19],[-41,-22],[-44,-23],[-48,-26],[-48.6,-28.5],[-51,-31],[-53,-34],[-58,-34.5],[-57,-37],[-62,-39],[-65,-41],[-64,-43],[-67.5,-46],[-66,-48],[-69,-51],[-68.5,-53],[-70,-55],[-73,-53],[-75,-48],[-73.5,-43],[-73.5,-37],[-71.5,-32],[-71.3,-27],[-70.5,-20],[-71.5,-17],[-76,-14],[-78,-10],[-81,-6],[-80.5,-3],[-80,0],[-79,1.5],[-77.5,4],[-77.4,7.5],[-80,7.3],[-82.5,8.2],[-85.7,10],[-87,12.5],[-91,14],[-94,16],[-96.5,15.7],[-100,17],[-105.5,20],[-105.5,22.5],[-108,25.5],[-110.8,27.9],[-113,31.3],[-114.7,31.7],[-113.5,29],[-112,26.5],[-110,24],[-109.5,23],[-112,24.8],[-114,27.5],[-115.5,29.8],[-117,32.5],[-118.5,34],[-120.6,34.6],[-122.5,37.5],[-124,40.5],[-124.5,43],[-124,46.2],[-124.7,48.4],[-123,49],[-126,50.5],[-130,54.5],[-133,57.5],[-137,58.5],[-141,60],[-146,61],[-150,59.5],[-152,58.5],[-156,57.5],[-158,56.8],[-162,55.5],[-164.5,54.5],[-158,58.5],[-162,60],[-165,61.5],[-166,64],[-164,65.5]]},{id:'eu',ll:[[-9,39],[-9.5,43],[-8,43.7],[-1.8,43.4],[-1.2,46],[-2.5,47.3],[-4.5,48],[-1.6,48.6],[1.5,50.2],[3,51.2],[4.5,52.5],[5,53.4],[7,53.6],[8.6,54],[8.2,55.5],[8.1,57],[10.5,57.7],[10.5,56.5],[11.2,56],[12.6,56.1],[12.7,55.6],[12.1,54.9],[11,54.3],[14,54],[18.5,54.8],[21,55.3],[21,57],[24,57.5],[24,59.2],[28,59.5],[30,60],[28,60.5],[25,60.1],[22.5,60.3],[21.5,61.5],[21.5,63],[25,65],[25.5,65.6],[22,65.8],[20.5,63.5],[18,62.5],[17.4,61],[19,59.8],[18,59],[16.5,57],[16,56.2],[14.2,55.4],[13,55.4],[12.9,56.5],[11.5,58],[10.5,59.3],[8,58],[5.5,58.5],[5,60],[5,62],[7,63],[10,64],[12.5,66],[15,68.5],[18,69.8],[21.5,70.2],[26,71],[30,70],[33,69.3],[41,67],[44,68.5],[53,68.5],[58,69],[68,69],[69,72.8],[73,72.5],[80,73.5],[87,74.8],[100,76],[104,77.7],[112,74],[113.5,73.5],[127,73.5],[132,71.5],[140,72.5],[150,71.5],[160,70],[170,70],[180,69],[190,66.5],[186,64.5],[182,65],[178,62.5],[173,61],[170,60],[164,60],[164,57],[162,55],[159,52],[156.7,51],[156,55.5],[157,58],[155,59.5],[150,59.5],[143,59.3],[137,54.5],[141,53],[140,48.5],[135,43.5],[131,42.7],[129.5,41],[129.4,37],[129.4,35.5],[127.5,34.6],[126.3,34.8],[126.5,37],[125,37.8],[124.5,39.7],[121.5,39],[121.7,40.8],[119,39.3],[117.8,38.5],[119,37.2],[122.5,37.3],[120.5,36],[119.2,35],[121,32],[121.9,30.8],[121.5,28],[119.5,25.5],[116.5,23],[114.3,22.1],[111,21.5],[109.7,20.5],[108.5,21.6],[106.5,20],[106,18],[108.5,15],[109.3,12],[107,10.5],[105,8.6],[104.8,10.3],[103,11],[100.9,12.6],[100,13.4],[99.3,10.5],[100.3,7],[101,6.8],[103.4,4],[104.3,1.4],[103.6,1.25],[101.3,2.8],[100.2,5.3],[98.3,8],[98.6,13],[97.7,16.5],[94.4,16.2],[94.2,18.8],[92.3,20.6],[91.8,22.6],[90,22],[88.3,21.6],[86.9,20.6],[85,19.5],[82.3,16.6],[80.3,15.8],[80.3,13.5],[79.8,10.3],[78.3,8.9],[77.5,8.1],[76.5,8.9],[75.8,11.5],[74.8,12.9],[73.5,16],[72.8,19],[72.7,21.2],[70,22.5],[68.5,23.5],[66.6,25.4],[61.6,25.2],[57.3,25.8],[56.4,27.1],[54.7,26.5],[51.5,27.9],[50,30],[48,30],[48.4,28.5],[49.5,26.7],[50.8,24.8],[50.85,25.6],[51.2,26.15],[51.62,25.9],[51.62,24.6],[52.6,24.2],[54.3,24.6],[55.3,25.3],[55.9,25.75],[56.1,26.1],[56.35,26.38],[56.42,25.8],[56.38,25.0],[56.5,24.6],[57.8,23.8],[58.8,22.5],[59.8,22.4],[58.5,20.5],[57.7,19],[55.4,17.7],[52.2,15.7],[48.7,14],[45,12.8],[43.4,12.6],[42.7,15.7],[42.5,17.2],[41,19.5],[39.1,21.6],[38.4,23.6],[37,25.5],[35.2,28],[34.9,29.5],[34.3,27.8],[33,28.8],[32.6,30],[32.3,31.2],[34.2,31.3],[34.9,32.8],[35.6,34.5],[36,35.8],[36.2,36.7],[34.5,36.8],[32.5,36.1],[30.5,36.4],[29,36.6],[27.3,37.4],[26.3,38.6],[26.5,40],[26.2,40.6],[24,40.8],[22.6,40.4],[24.1,38.2],[24,37.6],[23.2,37.5],[22.3,36.5],[21.7,36.8],[21.2,38.4],[19.5,40],[19.5,41.8],[18.5,42.5],[16,43.5],[13.7,45.6],[12.3,45.3],[12.4,44.2],[13.6,43.5],[15.9,41.6],[18.5,40.2],[17,39],[16.6,38],[15.6,38],[15.3,37],[15.1,36.65],[12.4,37.8],[13.3,38.25],[15.55,38.3],[16.1,39],[15.6,40.1],[14.3,40.6],[12.5,41.6],[11,42.5],[10.2,43.9],[8.8,44.4],[7.5,43.8],[6,43.1],[4,43.5],[3.1,43.1],[3.2,41.9],[0.8,41],[0,39.5],[-0.3,38.4],[-0.8,37.6],[-2.1,36.7],[-4.4,36.7],[-5.6,36],[-6.3,36.8],[-7.4,37.2],[-8.9,37],[-8.8,38.4],[-9.5,38.6]]},{id:'af',ll:[[-17.5,14.7],[-17,21],[-16,24],[-13,27.5],[-9.8,30],[-9.2,32.5],[-6.8,34],[-5.9,35.8],[-2,35.1],[1,36.5],[5,36.8],[9.8,37.3],[11,36.9],[10.2,35.2],[11.1,33.3],[15.2,32.3],[19,30.3],[20.1,32],[23,32.6],[25,31.7],[29,30.9],[32.2,31.3],[32.6,30],[33.5,28],[35.5,24],[37.2,21],[38.5,18],[39.6,15.5],[41.6,13.5],[43.3,12.4],[44,10.4],[47,11.1],[51.2,11.8],[51,10.4],[49.5,7],[47.8,4.5],[45,1.6],[42,-1],[40.2,-2.8],[39.3,-4.8],[38.8,-6.5],[39.6,-10],[40.5,-11],[40.6,-14.6],[37,-17.5],[35.4,-22],[35.5,-24],[32.9,-25.9],[32.5,-28.6],[31,-29.9],[28,-32.7],[25.6,-33.9],[22.5,-34],[20,-34.8],[18.4,-34],[17.9,-32.5],[16.5,-28.6],[15.2,-27],[14.4,-23],[12.8,-19],[11.8,-16.8],[12.2,-14.5],[13.6,-12.2],[13.2,-8.8],[12.3,-6],[11.8,-3.5],[9.5,-1],[9.4,1],[9.8,3.2],[8.9,4.5],[6,4.3],[4.3,6.3],[1.6,6.2],[-2,4.8],[-4.6,5.2],[-7.5,4.4],[-9.4,5.4],[-11.5,6.9],[-13.2,8.7],[-15,10.9],[-16.7,12.4]]},{id:'uk',ll:[[-5.7,50.1],[-3,50.6],[1.4,51.2],[1.7,52.7],[0.3,53.4],[-0.2,54.3],[-1.6,55.6],[-2,56.4],[-1.8,57.6],[-3.4,58.6],[-5,58.6],[-6.2,57.5],[-5.6,56.3],[-5,55],[-3.2,54.9],[-3.4,54],[-3,53.4],[-4.6,53.3],[-4.2,52.2],[-5.2,51.7],[-3.2,51.4],[-4.6,51]]},{id:'ie',ll:[[-6,52.2],[-6.2,53.5],[-5.6,54.6],[-6.4,55.2],[-7.4,55.4],[-8.5,54.5],[-10,54.2],[-9.6,53.2],[-10.2,51.9],[-9.6,51.5],[-8.2,51.8]]},{id:'is',ll:[[-22.5,63.9],[-24,65.5],[-22,66.4],[-16,66.5],[-14.5,65.3],[-14.6,64.4],[-18,63.4]]},{id:'jp',ll:[[129.6,33.3],[130.2,31.3],[131.4,31.5],[132,33],[133.5,33.4],[135.2,33.6],[136.8,34.3],[138.8,34.6],[140,35],[140.8,35.7],[141,38.2],[141.9,39.5],[141.4,41.4],[140,41.4],[139.9,40.3],[139.8,38.5],[138.8,37.8],[137.3,36.9],[136,36],[135.4,35.6],[133,35.5],[131.5,34.6],[130.9,34]]},{id:'oc',ll:[[113.5,-22],[114,-26.5],[115,-30],[115.7,-33.6],[115,-34.3],[117.9,-35.1],[123.5,-33.9],[126,-32.3],[131,-31.5],[134,-32.8],[135.6,-34.8],[137.6,-35.6],[138.3,-34.5],[139.6,-36.9],[141.5,-38.4],[144.9,-37.9],[146.4,-39.1],[150,-37.5],[150.8,-34.5],[152.5,-32.4],[153.6,-28.5],[153,-25],[150.8,-22.5],[149,-20.6],[146.3,-18.9],[145.4,-16],[145.3,-14.9],[143.5,-12.3],[142.5,-10.7],[141.6,-12.8],[141.6,-16],[140.6,-17.6],[139.3,-17.4],[137,-15.9],[135.8,-15],[136.8,-12.2],[135,-12],[132.6,-11.5],[131,-12.2],[129.5,-14.9],[128,-15.4],[126.5,-13.9],[124.5,-16.5],[122.2,-18.2],[121,-19.7],[118.5,-20.3],[116.7,-20.6],[114.6,-21.8]]},{id:'tas',ll:[[144.6,-40.7],[146.5,-41.1],[148.3,-40.9],[148.3,-42.2],[147.9,-43.2],[146.9,-43.6],[146,-43.5],[145.2,-42.2],[144.7,-41.2]]},{id:'nz',ll:[[172.7,-34.4],[174.5,-36],[175.9,-37.5],[178.5,-37.7],[177.9,-39.2],[176.9,-39.6],[175.2,-41.6],[174.6,-41.2],[174.9,-39.9],[173.8,-39.3],[174.6,-38.1],[174.5,-37.3],[173.1,-35.3]]},{id:'nzs',ll:[[172.6,-40.5],[174.3,-41.0],[174.2,-41.7],[173.3,-42.9],[172.8,-43.9],[171.3,-44.4],[170.7,-45.8],[169.3,-46.6],[168.3,-46.6],[166.5,-46.0],[166.8,-45.3],[168.2,-44.0],[170.6,-43.0],[171.4,-41.8],[172.1,-40.9]]},{id:'idn',ll:[[105.2,-6.8],[106.8,-6.1],[108.5,-6.4],[110.5,-6.9],[112.6,-6.9],[114.6,-7.7],[114.4,-8.7],[111,-8.3],[108,-7.8],[105.5,-7]]},{id:'ph',ll:[[120.6,18.5],[122.2,18.5],[122,16.5],[121.6,14.2],[124,13.8],[124,12.5],[123.3,13],[121,13.6],[120.6,14.5],[119.8,16.2]]}]; +// South America is drawn as part of 'am' but counts as its own landmass: nothing crosses the Darién Gap. +// Atlantic islands, each its own landmass too. +LANDS_LL.push({id:'bm',ll:[[-65.18,32.59],[-64.38,32.59],[-64.38,31.99],[-65.18,31.99]]},{id:'az',ll:[[-26.07,38.04],[-25.27,38.04],[-25.27,37.44],[-26.07,37.44]]},{id:'ic',ll:[[-16.65,28.76],[-15.85,28.76],[-15.85,28.16],[-16.65,28.16]]},{id:'cv',ll:[[-23.91,15.22],[-23.11,15.22],[-23.11,14.62],[-23.91,14.62]]},{id:'sh',ll:[[-6.12,-15.63],[-5.32,-15.63],[-5.32,-16.23],[-6.12,-16.23]]}); +// Pacific islands, each its own landmass. +LANDS_LL.push({id:'hi',ll:[[-158.26,21.61],[-157.46,21.61],[-157.46,21.01],[-158.26,21.01]]},{id:'gu',ll:[[144.35,13.77],[145.15,13.77],[145.15,13.17],[144.35,13.17]]},{id:'pw',ll:[[134.08,7.64],[134.88,7.64],[134.88,7.04],[134.08,7.04]]},{id:'mh',ll:[[170.98,7.39],[171.78,7.39],[171.78,6.79],[170.98,6.79]]},{id:'pg',ll:[[146.78,-9.14],[147.58,-9.14],[147.58,-9.74],[146.78,-9.74]]},{id:'sb',ll:[[159.55,-9.13],[160.35,-9.13],[160.35,-9.73],[159.55,-9.73]]},{id:'nc',ll:[[166.06,-21.97],[166.86,-21.97],[166.86,-22.57],[166.06,-22.57]]},{id:'fj',ll:[[178.04,-17.84],[178.84,-17.84],[178.84,-18.44],[178.04,-18.44]]},{id:'to',ll:[[-175.60,-20.84],[-174.80,-20.84],[-174.80,-21.44],[-175.60,-21.44]]},{id:'ws',ll:[[-172.16,-13.53],[-171.36,-13.53],[-171.36,-14.13],[-172.16,-14.13]]},{id:'as',ll:[[-171.10,-13.98],[-170.30,-13.98],[-170.30,-14.58],[-171.10,-14.58]]},{id:'pf',ll:[[-149.97,-17.23],[-149.17,-17.23],[-149.17,-17.83],[-149.97,-17.83]]}); +LANDS_LL.push({id:'lk',ll:[[79.9, 9.8], [80.6, 9.6], [81.4, 8.5], [81.9, 7.4], [81.6, 6.4], [80.6, 5.9], [80.0, 6.2], [79.75, 7.2], [79.75, 8.3]]},{id:'sa',hide:true,ll:[[-77.5, 8.6], [-75, 10.8], [-71.5, 12.3], [-68, 10.6], [-62, 10.5], [-60, 8], [-57, 6], [-52, 5], [-50, 1.5], [-48, -1], [-44, -2.5], [-39, -3.5], [-35, -5.5], [-35, -9], [-37.5, -12.5], [-39, -15], [-39.7, -19], [-41, -22], [-44, -23], [-48, -26], [-48.6, -28.5], [-51, -31], [-53, -34], [-58, -34.5], [-57, -37], [-62, -39], [-65, -41], [-64, -43], [-67.5, -46], [-66, -48], [-69, -51], [-68.5, -53], [-70, -55], [-73, -53], [-75, -48], [-73.5, -43], [-73.5, -37], [-71.5, -32], [-71.3, -27], [-70.5, -20], [-71.5, -17], [-76, -14], [-78, -10], [-81, -6], [-80.5, -3], [-80, 0], [-79, 1.5], [-77.5, 4], [-77.4, 7.5]]},{id:'tw',ll:[[121.5, 25.35], [122.05, 25.0], [121.85, 24.3], [121.4, 23.0], [120.85, 21.9], [120.6, 22.3], [120.15, 22.9], [120.1, 23.6], [120.55, 24.5], [121.0, 25.1]]}); +const LANDS=LANDS_LL.map(l=>({id:l.id,hide:true,pts:l.ll.map(q=>proj(q[0],q[1]))})); diff --git a/src/game/20-world/30-coastline.js b/src/game/20-world/30-coastline.js new file mode 100644 index 0000000..fb1d07c --- /dev/null +++ b/src/game/20-world/30-coastline.js @@ -0,0 +1,4 @@ +// Drawn coastline: Natural Earth 1:50m land, simplified (tight around cities, looser elsewhere), lon/lat rings. Built by scripts/build-land.mjs. +// LANDS above is only the coarse landmass test that decides which landmass a city sits on (subsea vs overland); it is not drawn. +const COAST_LL=[[[180,68.98],[181.13,68.75],[181.94,68.27],[182.2,68.34],[181.63,68.57],[184.65,67.68],[184.63,67.36],[185.15,67.35],[185.08,66.62],[185.61,66.34],[185.91,66.47],[185.94,66.23],[186.22,66.43],[185.77,66.63],[185.91,66.94],[185.45,67.09],[186.84,67.07],[186.74,66.84],[187.48,66.95],[186.99,67.06],[188.2,66.93],[189.4,66.25],[190.27,66.06],[189.6,65.93],[189.33,65.62],[188.55,65.79],[188.83,65.5],[187.22,65.68],[187.77,65.45],[187.34,65.25],[187.79,65.05],[186.93,64.85],[187.62,64.43],[187.1,64.53],[186.84,64.28],[186.67,64.54],[186.27,64.36],[184.56,64.82],[183.91,65.47],[181.59,65.49],[181.06,66.03],[181.47,66.4],[181.08,66.18],[180.86,66.37],[180.22,66.02],[180.65,65.52],[179.45,64.82],[178.52,64.6],[176.41,65.07],[177.22,64.86],[176.06,64.96],[174.55,64.68],[176.06,64.9],[176.35,64.7],[176.14,64.59],[177.39,64.77],[177.69,64.3],[178.23,64.36],[178.69,63.84],[178.47,63.57],[179.33,63.19],[179.57,62.77],[179.12,62.32],[177.02,62.78],[177.16,62.56],[172.86,61.47],[172.39,61.06],[170.61,60.43],[170.35,59.97],[169.23,60.6],[167.23,60.41],[166.27,59.86],[166.35,60.48],[165.09,60.1],[164.96,59.84],[163.74,60.03],[161.96,58.08],[162.39,57.72],[162.66,57.95],[163.23,57.79],[162.76,57.24],[162.8,56.81],[163.26,56.69],[163.34,56.23],[162.84,56.06],[162.63,56.23],[163.04,56.52],[162.67,56.49],[162.09,56.09],[161.72,55.5],[162.1,54.75],[160.07,54.19],[159.84,53.78],[160.02,53.13],[158.47,53.03],[158.49,52.38],[158.1,51.81],[156.75,50.97],[155.56,55.2],[156.02,56.75],[156.85,57.29],[156.87,57.8],[158.27,58.01],[162.07,60.47],[163.71,60.92],[163.56,61.03],[164.01,61.34],[163.8,61.46],[164.21,62.29],[165.4,62.49],[164.42,62.71],[163.33,62.55],[163.09,61.57],[162.39,61.66],[160.17,60.64],[160.38,61.02],[159.79,60.96],[160.31,61.89],[157.09,61.68],[154.29,59.83],[154.15,59.53],[154.97,59.45],[155.16,59.19],[153.36,59.21],[152.82,58.93],[151.33,58.88],[151.12,59.08],[152.26,59.22],[149.64,59.77],[148.8,59.53],[148.96,59.37],[148.73,59.26],[146.54,59.46],[146.05,59.17],[145.55,59.41],[142.58,59.24],[140.79,58.3],[140.45,57.81],[138.66,56.97],[137.69,56.14],[135.26,54.94],[135.26,54.73],[135.85,54.58],[136.8,54.62],[136.72,53.8],[137.16,53.82],[137.14,54.18],[137.67,54.28],[137.34,54.1],[137.84,53.95],[137.25,53.55],[137.95,53.6],[138.53,53.96],[138.25,53.52],[138.45,53.54],[138.66,54.3],[139.71,54.28],[141.38,53.29],[141.18,53.01],[140.84,53.09],[141.26,52.84],[141.13,52.43],[141.49,52.18],[140.52,50.8],[140.38,48.96],[138.11,46.25],[135.13,43.53],[133.16,42.7],[132.3,42.88],[132.31,43.31],[131.95,43.1],[132.01,43.28],[131.8,43.25],[131.16,42.63],[130.71,42.66],[130.73,42.33],[129.76,41.71],[129.71,40.86],[127.57,39.78],[127.4,39.21],[128.33,38.68],[129.42,37.06],[129.56,35.95],[129.21,35.18],[128.51,35.1],[128.44,34.87],[127.71,34.96],[127.72,34.72],[127.4,34.82],[127.32,34.46],[127.25,34.76],[126.53,34.31],[126.27,34.67],[126.59,34.82],[126.29,35.15],[126.69,36.01],[126.54,36.17],[126.55,36.48],[126.49,36.69],[126.39,36.65],[126.18,36.69],[126.16,36.77],[126.22,36.87],[126.49,37.01],[126.78,36.95],[126.87,36.82],[126.98,36.94],[126.87,36.98],[126.74,37.19],[126.79,37.3],[126.65,37.45],[126.66,37.55],[126.56,37.72],[126.63,37.78],[126.37,37.88],[126.12,37.74],[126.05,37.87],[125.94,37.87],[125.77,37.99],[125.41,37.72],[124.99,37.93],[125.21,38.08],[124.69,38.13],[125.55,38.69],[125.17,38.81],[125.36,39.53],[124.64,39.61],[124.35,40.01],[122.84,39.6],[121.16,38.73],[121.11,38.92],[121.82,39.39],[121.27,39.55],[122.26,40.5],[121.83,40.97],[121.18,40.9],[120.48,40.23],[119.39,39.75],[118.98,39.18],[117.78,39.13],[117.65,38.42],[118.94,38.04],[119.11,37.2],[119.76,37.15],[120.75,37.83],[121.64,37.46],[122.67,37.4],[122.34,36.83],[121.93,36.96],[120.81,36.63],[120.64,36.13],[120.18,36.2],[120.29,35.98],[119.22,35.01],[119.2,34.75],[120.27,34.27],[120.86,32.66],[121.34,32.43],[121.4,32.37],[121.45,32.15],[121.68,32.05],[121.83,31.9],[121.87,31.7],[121.76,31.7],[121.35,31.86],[120.97,31.87],[120.79,32.03],[120.52,32.11],[120.07,31.96],[120.19,31.91],[120.5,32.02],[120.71,31.98],[120.79,31.82],[121.06,31.72],[121.66,31.32],[121.79,31.16],[121.88,30.92],[121.42,30.79],[121,30.56],[120.82,30.35],[120.45,30.39],[120.23,30.25],[120.5,30.3],[120.63,30.13],[120.91,30.16],[121.16,30.3],[121.26,30.3],[121.43,30.23],[121.68,29.98],[122.08,29.87],[121.91,29.78],[121.51,29.48],[121.97,29.49],[121.92,29.13],[121.45,29.13],[121.68,28.95],[121.47,28.64],[121.61,28.29],[121.15,28.33],[120.75,28.01],[120.09,26.67],[119.59,26.79],[119.88,26.33],[119.14,26.12],[119.62,26],[119.62,25.39],[119.18,25.45],[119.29,25.23],[118.98,25.21],[118.66,24.62],[117.84,24.47],[118.06,24.25],[117.37,23.59],[116.91,23.65],[116.47,22.95],[115.64,22.85],[115.5,22.72],[115.38,22.72],[115.2,22.82],[114.85,22.62],[114.75,22.63],[114.71,22.74],[114.65,22.75],[114.54,22.62],[114.55,22.53],[114.34,22.59],[114.27,22.54],[114.34,22.4],[114.27,22.3],[113.9,22.4],[114.01,22.51],[113.83,22.61],[113.62,22.86],[113.62,23.13],[113.45,23.05],[113.44,22.94],[113.33,22.91],[113.55,22.59],[113.59,22.35],[113.55,22.22],[113.15,22.08],[113.09,22.21],[113.01,22.12],[112.99,21.94],[112.9,21.88],[112.81,21.95],[112.66,21.86],[112.36,21.98],[112.3,21.74],[111.94,21.85],[111.6,21.56],[110.41,21.34],[110.16,20.94],[110.52,20.46],[110.12,20.26],[109.66,20.92],[109.93,21.48],[109.52,21.69],[109.08,21.44],[108.48,21.9],[108.5,21.63],[107.81,21.5],[107.16,20.95],[106.68,21],[106.52,20.29],[105.98,19.94],[105.62,18.97],[106.5,17.95],[106.35,17.77],[108.82,15.38],[109.3,13.86],[109.45,12.6],[109.22,12.65],[109.2,11.73],[108.99,11.34],[108.18,10.92],[108.1,10.9],[108,10.72],[107.84,10.7],[107.26,10.4],[107.09,10.5],[107.01,10.66],[106.95,10.4],[106.81,10.43],[106.73,10.54],[106.61,10.47],[106.74,10.44],[106.76,10.3],[106.47,10.3],[106.73,10.19],[106.79,10.12],[106.6,9.86],[106.14,10.22],[106.51,9.82],[106.57,9.64],[106.48,9.56],[106.38,9.56],[105.83,10],[106.16,9.59],[106.21,9.5],[106.17,9.4],[104.77,8.6],[105.03,10.07],[104.26,10.54],[103.59,10.55],[103.65,11.06],[103.15,10.91],[103.12,11.46],[102.65,12.15],[101.72,12.69],[101.44,12.62],[100.9,12.65],[100.86,12.72],[100.96,13.43],[100.6,13.57],[100.54,13.51],[100.23,13.48],[100.02,13.35],[99.99,13.24],[100.09,13.04],[99.96,12.69],[100.01,12.35],[99.16,10.32],[99.25,9.27],[99.83,9.29],[100.42,7.19],[101.5,6.86],[103.2,5.26],[103.45,4.67],[103.48,2.84],[103.81,2.58],[104.22,1.72],[104.28,1.42],[104.18,1.37],[103.98,1.62],[103.99,1.46],[103.69,1.45],[103.48,1.33],[103.36,1.55],[102.73,1.86],[102.55,2.04],[102.15,2.25],[101.78,2.57],[101.52,2.68],[101.3,2.89],[101.35,3.01],[101.3,3.25],[100.72,3.97],[100.8,4.02],[100.66,4.23],[100.26,6.18],[99.6,7.36],[98.24,8.42],[98.7,10.19],[98.56,10.03],[98.47,10.68],[98.88,11.72],[98.64,11.74],[98.57,13.16],[98.2,13.98],[98.11,13.71],[97.81,14.86],[97.58,16.02],[97.72,16.57],[97.38,16.52],[96.85,17.4],[96.77,16.71],[96.43,16.5],[96.19,16.77],[96.32,16.44],[95.39,15.72],[95.35,16.1],[95.18,15.83],[94.94,15.82],[94.89,16.18],[94.66,15.9],[94.7,16.51],[94.23,16.02],[94.59,17.57],[94.05,19.29],[93.93,18.9],[93.49,19.37],[93.83,19.24],[94,19.44],[93.71,19.91],[93.25,20.07],[93.13,19.86],[93.07,20.38],[92.83,20.18],[92.74,20.56],[92.72,20.3],[92.31,20.79],[91.86,22.35],[91.53,22.71],[91.48,22.88],[91.22,22.64],[90.95,22.6],[90.63,23.09],[90.6,23.59],[90.56,23.42],[90.27,23.46],[90.59,23.27],[90.6,23.13],[90.47,23.05],[90.55,22.91],[90.46,22.88],[90.43,22.75],[90.61,22.36],[90.55,22.22],[90.16,21.82],[90.21,22.16],[89.96,22.02],[89.89,22.31],[89.98,22.47],[89.88,22.39],[89.57,21.77],[89.48,22.28],[89.35,21.72],[89.05,22.09],[89.05,21.65],[88.75,21.58],[88.64,22.12],[88.58,21.66],[88.06,21.69],[88.2,22.14],[87.94,22.37],[88.16,22.12],[87.95,21.83],[86.86,21.24],[86.98,20.7],[86.75,20.31],[86.22,19.9],[85.25,19.76],[85.18,19.59],[85.44,19.63],[84.11,18.29],[82.36,17.1],[82.26,16.56],[81.29,16.34],[80.98,15.76],[80.38,15.79],[80.1,14.8],[80.18,14.48],[80.11,14.21],[80.31,13.49],[80.16,13.71],[80.06,13.61],[80.34,13.36],[80.23,12.69],[80.14,12.45],[79.86,11.99],[79.84,10.32],[79.31,10.26],[78.92,9.45],[79.41,9.19],[78.42,9.1],[78.06,8.38],[77.3,8.15],[76.4,9.24],[76.35,9.92],[74.94,12.56],[74.38,14.49],[73.47,16.05],[73.15,17.53],[72.87,18.64],[73.01,19.02],[72.97,19.15],[72.83,18.98],[72.8,19.08],[72.81,19.3],[72.99,19.28],[72.79,19.36],[72.75,19.45],[72.8,19.52],[72.73,19.58],[72.67,19.83],[72.9,20.67],[72.61,21.46],[73.11,21.75],[72.54,21.7],[72.7,21.97],[72.52,21.98],[72.81,22.23],[72.18,22.27],[72.04,21.82],[72.25,21.53],[72.02,21.16],[70.72,20.74],[68.97,22.29],[70.18,22.57],[70.49,23.09],[69.67,22.76],[69.24,22.85],[68.42,23.57],[68.78,23.85],[68.23,23.6],[68.16,23.86],[68.11,23.75],[68.04,23.85],[67.95,23.83],[67.86,23.9],[67.82,23.83],[67.67,23.81],[67.65,23.92],[67.56,23.88],[67.31,24.17],[67.17,24.76],[66.7,24.86],[66.7,25.23],[66.43,25.58],[66.22,25.59],[66.13,25.49],[66.36,25.51],[66.47,25.45],[66.24,25.46],[65.68,25.35],[61.41,25.1],[60.51,25.44],[59.05,25.42],[57.34,25.79],[57.21,26.04],[57.2,26.16],[56.73,27.13],[56.28,27.19],[55.42,26.77],[55.29,26.79],[54.9,26.56],[54.64,26.51],[54.52,26.59],[53.71,26.73],[52.48,27.62],[51.52,27.91],[50.07,30.2],[49.56,30.03],[49,30.51],[48.83,30.04],[47.98,30.01],[48.15,29.57],[47.72,29.39],[48.05,29.35],[48.8,27.72],[50.15,26.66],[50.15,26.1],[50.1,26.12],[50.08,25.96],[50.24,25.62],[50.46,25.42],[50.56,25.09],[50.81,24.79],[50.85,24.89],[50.76,25.45],[51,25.98],[51.26,26.15],[51.54,25.9],[51.57,25.78],[51.49,25.53],[51.61,25.05],[51.43,24.67],[51.27,24.61],[51.42,24.53],[51.31,24.34],[51.54,24.29],[51.6,24.34],[51.67,24.25],[51.77,24.25],[51.84,24.01],[52.12,23.97],[52.51,24.11],[53.03,24.15],[53.89,24.08],[54.4,24.28],[54.75,24.81],[55.1,25.04],[55.52,25.5],[55.94,25.79],[56.17,26.21],[56.31,26.24],[56.41,26.35],[56.37,25.8],[56.3,25.65],[56.36,25.57],[56.37,25.02],[56.64,24.47],[56.91,24.15],[57.22,23.92],[58.58,23.64],[59.84,22.42],[58.47,20.41],[58.17,20.59],[57.86,20.24],[57.81,19.02],[56.82,18.75],[56.38,17.99],[55.48,17.84],[55.06,17.04],[54.07,17],[52.45,16.39],[52.22,15.66],[51.6,15.34],[49.35,14.64],[48.67,14.05],[45.66,13.34],[45.04,12.82],[44.26,12.64],[43.49,12.7],[42.94,14.94],[42.66,15.23],[42.7,16.74],[41.66,18.01],[40.76,19.75],[40.08,20.27],[39.88,20.29],[39.73,20.39],[39.27,20.97],[39.09,21.31],[39.15,21.52],[38.99,21.88],[39.09,22.39],[39.01,22.77],[38.88,22.88],[38.94,22.88],[38.29,23.91],[37.54,24.29],[37.15,25.29],[35.18,28.04],[34.62,28.06],[34.97,29.55],[34.22,27.76],[33.25,28.57],[32.72,29.52],[32.56,29.97],[32.47,29.93],[32.49,29.85],[32.36,29.63],[32.4,29.53],[32.56,29.39],[32.66,28.93],[33.55,27.9],[33.96,26.65],[35.2,24.47],[35.78,23.94],[35.51,23.78],[35.7,22.95],[36.83,22.1],[37.26,21.11],[37.47,18.82],[38.57,18.07],[39.5,15.53],[39.79,15.12],[39.86,15.47],[40.2,15.01],[41.18,14.62],[43.3,12.46],[43.34,12.03],[42.54,11.51],[43.16,11.57],[44.28,10.47],[44.94,10.44],[45.82,10.84],[46.56,10.75],[47.4,11.17],[50.11,11.53],[50.79,11.98],[51.26,11.83],[51.03,10.44],[51.39,10.39],[50.93,10.34],[50.82,9.43],[47.98,4.5],[46.05,2.47],[43.72,0.86],[41.39,-1.87],[40.22,-2.69],[39.23,-4.67],[38.8,-6.07],[39.54,-7.02],[39.29,-7.52],[39.3,-8.44],[39.72,-10],[40.61,-10.66],[40.43,-12.94],[40.83,-14.79],[39.84,-16.44],[37.51,-17.57],[36.41,-18.77],[34.95,-19.81],[34.65,-19.7],[35.31,-22.4],[35.45,-22.12],[35.54,-22.3],[35.44,-24.17],[34.99,-24.65],[32.79,-25.64],[32.59,-26],[32.85,-26.27],[32.96,-26.08],[32.89,-26.83],[32.38,-28.5],[31.34,-29.38],[29.97,-31.32],[27.86,-33.05],[26.61,-33.71],[25.81,-33.74],[25.57,-34.04],[22.55,-34.01],[21.79,-34.37],[19.64,-34.75],[19.39,-34.6],[19.3,-34.62],[19.33,-34.49],[19.24,-34.41],[19.15,-34.42],[19.1,-34.35],[18.83,-34.36],[18.81,-34.11],[18.75,-34.08],[18.53,-34.09],[18.46,-34.17],[18.46,-34.35],[18.41,-34.3],[18.33,-34.07],[18.35,-33.94],[18.47,-33.89],[18.43,-33.72],[18.26,-33.42],[18.16,-33.36],[17.88,-32.96],[17.85,-32.83],[17.89,-32.75],[17.97,-32.71],[18.04,-32.78],[18.12,-32.75],[18.25,-32.65],[18.33,-32.5],[18.21,-31.74],[16.74,-29.01],[15.29,-27.28],[14.5,-24.2],[14.46,-22.45],[11.78,-18],[11.75,-15.83],[12.55,-13.44],[13.79,-11.81],[13.83,-10.93],[13,-9.05],[13.38,-8.37],[12.28,-6.12],[13.07,-5.87],[12.45,-6],[12.24,-5.81],[11.78,-4.57],[9.72,-2.47],[10.06,-2.55],[9.62,-2.37],[9.04,-1.31],[9.5,-1.55],[9.06,-1.3],[8.7,-0.59],[8.95,-0.69],[9.3,-0.35],[9.35,0.34],[9.8,0.04],[10,0.2],[9.33,0.55],[9.62,0.58],[9.6,1.05],[9.39,1.14],[9.81,1.93],[9.95,3.08],[9.56,3.8],[9.69,4.06],[9,4.09],[8.92,4.55],[8.57,4.53],[8.25,4.92],[8.29,4.56],[7.08,4.72],[6.92,4.39],[6.77,4.72],[6.86,4.37],[6.08,4.29],[5.49,4.84],[5.37,5.34],[5.55,5.47],[5.2,5.53],[5.46,5.61],[5.11,5.64],[4.86,6.03],[4.43,6.35],[4.13,6.41],[3.45,6.43],[3.75,6.58],[3.72,6.6],[3.43,6.52],[3.34,6.4],[1.82,6.26],[-2,4.76],[-3.25,5.11],[-3.02,5.13],[-3.2,5.35],[-3.35,5.13],[-5.28,5.21],[-5.06,5.13],[-7.54,4.35],[-8.26,4.59],[-11.73,7.09],[-12.49,7.39],[-12.48,7.75],[-12.85,7.82],[-13.27,8.43],[-12.89,8.63],[-13.18,8.58],[-13.06,8.88],[-13.69,9.54],[-13.69,9.93],[-14.43,10.25],[-14.59,10.77],[-14.89,10.97],[-15.01,10.8],[-15.05,11.14],[-15.39,11.22],[-15.43,11.5],[-15.07,11.6],[-15.5,11.78],[-15.08,11.97],[-15.94,11.79],[-16.79,12.47],[-16.44,12.61],[-16.77,12.63],[-16.75,13.43],[-16.41,13.27],[-15.43,13.47],[-16.44,13.35],[-16.77,13.9],[-16.62,14.04],[-17.53,14.75],[-16.57,15.73],[-16.08,17.55],[-16.09,18.52],[-16.52,19.36],[-16.21,20.23],[-16.88,21.09],[-17.1,20.86],[-16.93,21.9],[-16.36,22.59],[-15.9,23.84],[-14.91,24.72],[-14.47,26.16],[-13.58,26.74],[-12.95,27.91],[-11.55,28.31],[-10.2,29.38],[-9.67,30.11],[-9.81,31.42],[-9.25,32.57],[-8.51,33.25],[-6.9,33.97],[-5.92,35.79],[-5.28,35.9],[-5.25,35.61],[-4.63,35.21],[-2.97,35.41],[-2.84,35.13],[-1.91,35.09],[1.26,36.52],[3.78,36.9],[5.29,36.65],[6.49,37.09],[7.91,36.86],[9.69,37.34],[9.83,37.14],[10.2,37.21],[10.41,36.73],[10.95,37.06],[11.13,36.87],[10.49,36.26],[11.12,35.24],[10.06,34.21],[10.31,33.73],[10.96,33.63],[11.2,33.25],[12.28,32.86],[13.28,32.92],[15.18,32.39],[15.71,31.43],[17.83,30.93],[18.94,30.29],[19.59,30.41],[20.01,30.8],[19.93,31.82],[20.12,32.22],[21.63,32.94],[23.09,32.62],[23.29,32.21],[24.88,31.98],[25.23,31.53],[26.77,31.47],[29.07,30.83],[30.22,31.26],[30.57,31.47],[30.92,31.57],[30.56,31.42],[31,31.46],[31.08,31.6],[32.14,31.34],[31.89,31.48],[31.77,31.29],[32.01,31.22],[32.1,31.09],[32.28,31.2],[32.21,31.29],[32.6,31.07],[33.67,31.13],[34.48,31.59],[35.98,34.55],[35.81,36.31],[36.18,36.81],[35.39,36.57],[34.7,36.82],[33.69,36.18],[32.79,36.04],[31.24,36.82],[30.65,36.87],[30.45,36.27],[29.69,36.16],[28.97,36.72],[27.46,36.71],[28.24,37.03],[27.26,36.98],[27.53,37.16],[27.07,37.66],[27.23,37.98],[26.29,38.28],[26.44,38.64],[26.67,38.34],[27.14,38.45],[26.76,38.71],[27.01,38.89],[26.68,39.29],[26.9,39.55],[26.09,39.52],[26.18,39.99],[26.74,40.4],[27.73,40.33],[27.85,40.38],[27.73,40.48],[27.99,40.49],[27.93,40.38],[27.96,40.37],[29.01,40.39],[29.05,40.42],[28.79,40.53],[29.05,40.65],[29.85,40.74],[29.36,40.81],[29.12,40.94],[29.05,41.01],[29.15,41.22],[29.92,41.15],[30.35,41.2],[31.25,41.11],[33.28,42],[35,42.06],[35.3,41.73],[36.05,41.68],[36.41,41.27],[38.38,40.93],[39.43,41.11],[40.13,40.94],[41.41,41.42],[41.76,41.97],[41.42,42.74],[38.72,44.29],[36.63,45.15],[36.87,45.43],[37.65,45.38],[37.93,46],[38.49,46.09],[37.77,46.64],[38.5,46.66],[38.44,46.81],[39.27,47.04],[39.02,47.27],[35.83,46.62],[35.02,46.11],[35.23,46.44],[34.85,46.19],[35.02,45.7],[35.46,45.32],[36.57,45.39],[36.39,45.07],[35.47,45.1],[33.91,44.39],[33.45,44.55],[33.55,45.1],[32.51,45.4],[33.67,45.95],[33.59,46.1],[31.83,46.28],[32.01,46.43],[31.56,46.56],[32.58,46.62],[32.05,46.64],[31.76,47.21],[31.87,46.65],[30.8,46.55],[30.22,45.87],[29.63,45.72],[29.56,44.84],[28.89,44.92],[28.56,43.5],[28.13,43.4],[27.89,42.75],[27.48,42.47],[27.98,42.05],[27.99,41.86],[28.2,41.56],[29.06,41.23],[28.96,41.01],[28.78,40.97],[28.17,41.08],[27.92,40.99],[27.5,40.97],[27.43,40.84],[26.2,40.07],[26.79,40.63],[24.48,40.95],[23.76,40.75],[24.34,40.15],[23.73,40.33],[23.95,39.97],[23.43,40.26],[23.63,39.92],[22.81,40.58],[22.59,40.04],[23.23,39.36],[23.33,39.18],[23.22,39.1],[23.12,39.13],[23.16,39.26],[22.99,39.33],[22.84,39.26],[22.97,39.03],[23.07,39.04],[22.8,38.9],[22.57,38.87],[23.25,38.66],[23.37,38.53],[23.57,38.49],[23.68,38.35],[23.97,38.27],[24.06,37.82],[24.05,37.71],[23.97,37.68],[23.5,38.03],[23.03,37.88],[23.15,37.8],[23.2,37.62],[23.39,37.58],[23.49,37.44],[23.16,37.33],[23.1,37.36],[23.1,37.44],[22.94,37.52],[22.78,37.59],[22.73,37.54],[23.06,36.85],[23.04,36.64],[23.11,36.55],[22.83,36.69],[22.78,36.79],[22.72,36.79],[22.49,36.45],[22.08,37.03],[21.89,36.74],[21.58,37.08],[21.68,37.39],[21.12,37.89],[21.83,38.33],[22.24,38.19],[22.92,37.96],[22.89,38.05],[23.12,38.07],[23.18,38.13],[23.15,38.18],[22.83,38.23],[22.42,38.44],[22.23,38.35],[21.11,38.39],[20.77,38.87],[21.12,39.03],[20.3,39.33],[19.85,40.04],[19.4,40.28],[19.58,41.79],[18.65,42.44],[17.04,43.02],[17.72,42.85],[16.9,43.39],[15.99,43.52],[15.19,44.17],[15.47,44.27],[14.55,45.3],[14.31,45.34],[13.86,44.84],[13.52,45.48],[13.78,45.63],[13.63,45.77],[12.27,45.45],[12.52,44.97],[12.25,44.72],[12.4,44.22],[13.56,43.57],[14.01,42.69],[14.54,42.24],[15.17,41.93],[16.17,41.9],[15.9,41.51],[17.96,40.65],[18.48,40.1],[18.34,39.82],[17.87,40.28],[16.93,40.46],[16.52,39.75],[17.11,39.38],[17.17,39],[16.62,38.8],[16.06,37.94],[15.72,37.94],[15.64,38.18],[16.21,38.94],[15.69,39.99],[14.95,40.24],[14.77,40.67],[14.34,40.6],[14.46,40.73],[14.05,40.81],[13.86,41.13],[13.67,41.26],[13.25,41.29],[13.09,41.24],[12.85,41.41],[12.63,41.47],[12.08,41.94],[11.81,42.08],[11.64,42.29],[11.3,42.42],[11.1,42.42],[11.18,42.46],[11.17,42.53],[10.51,42.97],[10.19,43.95],[9.73,44.1],[9.29,44.32],[8.76,44.42],[8.55,44.35],[8.29,44.14],[6.72,43.37],[6.57,43.2],[6.11,43.07],[5.81,43.1],[5.41,43.23],[5.32,43.35],[5.07,43.37],[5.06,43.44],[4.71,43.37],[4.22,43.48],[4.05,43.59],[3.91,43.56],[3.16,43.08],[3.09,42.59],[3.31,42.29],[3.17,42.26],[3.15,42.16],[3.24,42.08],[3.25,41.94],[3,41.77],[2.31,41.47],[2.08,41.29],[1.03,41.06],[0.71,40.82],[0.89,40.72],[-0.33,39.52],[0.2,38.76],[-0.52,38.32],[-0.72,37.63],[-1.64,37.39],[-2.19,36.74],[-4.37,36.72],[-5.63,36.03],[-6.38,36.64],[-6.22,36.91],[-6.86,37.28],[-7.84,37.01],[-8.93,37.17],[-8.81,37.43],[-8.79,37.73],[-8.88,37.96],[-8.8,38.18],[-8.88,38.45],[-8.67,38.42],[-8.8,38.52],[-9.21,38.45],[-9.25,38.66],[-9.02,38.75],[-8.94,39],[-8.79,39.08],[-8.96,39.02],[-9.14,38.74],[-9.36,38.7],[-9.47,38.73],[-9.48,38.8],[-9.35,39.25],[-9.38,39.34],[-9.15,39.54],[-8.84,40.12],[-8.87,40.26],[-8.66,41.03],[-8.89,42.11],[-8.69,42.27],[-9.18,43.17],[-7.7,43.77],[-7.06,43.55],[-1.99,43.35],[-1.49,43.56],[-1.08,44.69],[-1.24,44.67],[-1.08,45.53],[-0.55,45],[-1.2,45.71],[-1.03,45.74],[-1.15,46.31],[-2.09,46.87],[-2.11,47.26],[-1.74,47.22],[-4.31,47.82],[-4.68,48.04],[-4.33,48.17],[-4.58,48.29],[-4.24,48.3],[-4.72,48.54],[-3.23,48.84],[-2.69,48.54],[-1.38,48.65],[-1.86,49.68],[-0.16,49.3],[0.44,49.47],[0.13,49.51],[0.19,49.7],[1.24,50],[1.59,50.25],[1.67,50.88],[3.72,51.37],[4.22,51.39],[4.01,51.44],[3.82,51.41],[3.69,51.45],[3.55,51.59],[3.89,51.57],[4.14,51.46],[4.28,51.47],[4.01,51.6],[4.18,51.61],[3.95,51.81],[4.08,51.99],[4.48,52.31],[4.77,52.94],[4.89,52.91],[5.06,52.96],[5.36,53.1],[5.53,53.27],[6.06,53.41],[7.2,53.28],[7.21,53.66],[7.63,53.7],[8.49,53.39],[8.62,53.88],[9.78,53.55],[8.65,54.29],[8.96,54.54],[8.68,54.79],[8.62,55.42],[8.13,55.6],[8.16,56.61],[9.2,56.7],[9.11,57.04],[8.77,56.72],[8.27,56.81],[10.53,57.73],[10.28,56.62],[10.9,56.36],[9.91,55.84],[9.46,55.04],[10.02,54.67],[9.87,54.47],[11.01,54.38],[10.86,54.01],[12.11,54.17],[12.58,54.47],[13.03,54.41],[13.15,54.28],[13.82,54.02],[13.87,53.85],[13.95,53.8],[14.49,53.67],[14.56,53.82],[14.17,53.87],[13.93,53.88],[13.92,54],[13.83,54.06],[14.38,53.92],[18.08,54.84],[18.76,54.68],[18.44,54.75],[18.84,54.37],[19.41,54.39],[19.97,54.92],[20.68,55.1],[21.12,55.62],[20.59,54.98],[21.19,54.93],[21.03,56.64],[21.73,57.57],[22.56,57.72],[23.65,56.97],[24.4,57.33],[24.3,57.78],[24.49,58.26],[24.55,58.3],[24.53,58.35],[24.34,58.38],[24.11,58.27],[23.77,58.36],[23.69,58.51],[23.51,58.66],[23.68,58.79],[23.5,58.79],[23.43,58.92],[23.51,59],[23.47,59.03],[23.52,59.11],[23.5,59.19],[24.08,59.29],[24.05,59.37],[24.38,59.47],[25.44,59.52],[25.52,59.56],[25.51,59.64],[27.89,59.41],[28.06,59.78],[30.17,59.96],[28.64,60.38],[28.51,60.68],[26.45,60.47],[26.21,60.41],[25.95,60.47],[26.04,60.34],[25.76,60.27],[25.66,60.33],[24.6,60.11],[24.45,60.02],[23.46,59.99],[23.18,59.84],[22.96,59.83],[23.2,60.02],[22.91,60.21],[22.46,60.03],[22.58,60.38],[21.44,60.6],[21.61,61.59],[21.12,62.69],[21.65,63.04],[21.54,63.21],[22.32,63.31],[22.53,63.65],[23.6,64.04],[24.56,64.8],[25.29,64.86],[25.35,65.48],[24.63,65.86],[22.4,65.86],[22.25,65.6],[21.41,65.32],[21.57,65.13],[21.14,64.81],[21.52,64.46],[20.76,63.87],[18.61,63.18],[18.17,62.79],[17.88,62.87],[18.04,62.6],[17.38,62.46],[17.63,62.23],[17.47,61.68],[17.13,61.57],[17.25,60.7],[17.36,60.64],[17.56,60.64],[17.66,60.54],[17.96,60.59],[18.16,60.41],[18.56,60.25],[18.53,60.15],[18.79,60.08],[18.93,59.94],[18.97,59.76],[18.28,59.44],[17.97,59.36],[18.13,59.32],[18.51,59.41],[18.62,59.33],[18.42,59.29],[18.29,59.11],[17.76,58.97],[16.98,58.65],[16.64,58.65],[16.21,58.64],[16.79,58.59],[16.93,58.49],[16.82,58.46],[16.65,58.43],[16.53,57.07],[16,56.22],[14.72,56.13],[14.26,55.89],[14.34,55.53],[14.08,55.39],[13.81,55.43],[13.32,55.35],[12.89,55.41],[12.94,55.48],[12.97,55.75],[12.47,56.29],[12.71,56.23],[12.8,56.26],[12.66,56.44],[12.86,56.45],[12.92,56.52],[12.88,56.62],[12.72,56.66],[12.42,56.91],[11.25,58.42],[11.21,58.87],[11.15,58.99],[11.19,59.08],[11.39,59.04],[11.37,59.1],[10.83,59.18],[10.64,59.39],[10.6,59.76],[10.54,59.7],[10.57,59.59],[10.4,59.52],[10.46,59.38],[10.43,59.28],[10.18,59.01],[9.84,58.96],[9.64,59.12],[9.56,59.11],[9.7,59.01],[9.62,58.95],[8.17,58.14],[7,58.02],[6.9,58.07],[6.88,58.15],[6.8,58.16],[6.73,58.07],[6.59,58.1],[6.55,58.12],[6.69,58.22],[6.66,58.26],[6.39,58.27],[6.05,58.38],[5.71,58.52],[5.52,58.73],[5.56,58.97],[5.61,59.01],[6.1,58.87],[6.36,59],[6.1,58.95],[5.89,59.1],[5.97,59.19],[5.95,59.3],[6.4,59.56],[5.56,59.29],[5.36,59.17],[5.17,59.16],[5.13,59.23],[5.19,59.45],[5.3,59.64],[5.47,59.71],[5.77,59.66],[5.87,59.73],[6.22,59.82],[5.83,59.8],[5.73,59.86],[6.07,60.08],[6.14,60.23],[6.35,60.35],[6.53,60.21],[6.53,60.15],[7,60.51],[6.35,60.42],[6.15,60.35],[5.91,60.15],[5.88,60.07],[5.7,60.01],[5.5,59.83],[5.15,59.64],[5.12,59.83],[5.22,59.98],[5.18,60.05],[5.21,60.09],[5.5,60.07],[5.69,60.12],[5.29,60.21],[5.14,60.44],[5.65,60.69],[5.12,60.64],[5.1,61.07],[6.78,61.14],[7.04,60.95],[7.61,61.21],[7.44,61.43],[7.17,61.17],[5.11,61.19],[5,61.43],[5.34,61.48],[4.93,61.88],[6.73,61.87],[5.27,61.94],[5.14,62.16],[6.69,62.47],[6.14,62.41],[6.35,62.61],[8.09,62.73],[6.73,62.72],[7.57,63.1],[8.62,62.85],[8.16,63.16],[8.63,63.34],[8.36,63.5],[8.58,63.6],[9.7,63.63],[10.02,63.39],[11.37,63.81],[11.18,63.9],[11.31,64.05],[10.06,63.51],[9.57,63.71],[11.63,64.81],[11.3,64.76],[11.49,64.98],[12.92,65.34],[12.42,65.18],[12.12,65.36],[13.03,65.96],[12.79,66.1],[14.03,66.3],[13.12,66.23],[13.21,66.64],[13.96,66.8],[13.65,66.91],[15.42,67.2],[14.44,67.27],[14.96,67.57],[15.59,67.35],[15.69,67.52],[15.25,67.6],[15.31,67.77],[14.78,67.68],[15.05,67.96],[15.62,67.95],[15.29,68.04],[16.01,68.23],[16.31,67.88],[16.21,68.32],[17.57,68.45],[16.58,68.59],[18.1,69.16],[18.26,69.47],[18.92,69.33],[18.61,69.49],[19.2,69.75],[19.72,69.78],[19.64,69.42],[20.32,69.95],[20.05,69.33],[20.74,69.52],[20.62,69.91],[21.98,69.83],[21.36,70.23],[22.69,70.37],[23.36,69.98],[23.38,70.25],[24.66,71],[25.77,70.85],[25.04,70.11],[26.51,70.91],[26.74,70.85],[26.58,70.41],[27.55,70.8],[27.33,71],[28.14,71.04],[28.38,70.87],[27.9,70.68],[28.27,70.67],[28.19,70.25],[28.83,70.86],[30.96,70.34],[28.78,70.15],[29.6,69.98],[29.69,69.74],[31.45,69.69],[31.98,69.95],[33.01,69.72],[32.09,69.63],[32.38,69.48],[33.45,69.43],[33.14,69.07],[33.68,69.31],[35.86,69.19],[40.97,67.71],[41.36,67.21],[41.19,66.83],[40.1,66.3],[38.66,66.07],[34.48,66.55],[32.93,67.09],[31.89,67.16],[33.65,66.44],[33.36,66.33],[34.69,65.95],[34.41,65.4],[35.03,64.44],[37.44,63.81],[38.06,64.09],[37.95,64.32],[37.18,64.41],[36.58,64.79],[36.88,65.17],[39.76,64.58],[40.44,64.78],[39.8,65.35],[39.82,65.6],[42.21,66.52],[43.23,66.41],[44.11,66.01],[44.43,66.94],[43.78,67.26],[44.2,68.25],[43.33,68.67],[45.89,68.48],[46.69,67.85],[45.53,67.76],[44.9,67.41],[46.49,66.8],[47.66,66.98],[47.88,67.58],[48.83,67.68],[48.75,67.9],[51.99,68.54],[52.4,68.35],[52.72,68.48],[52.34,68.61],[53.8,69],[54.49,68.99],[53.8,68.91],[53.93,68.44],[53.26,68.27],[54.86,68.2],[55.42,68.57],[57.13,68.55],[59.06,69.01],[59.37,68.74],[59.1,68.44],[59.73,68.35],[59.9,68.71],[60.93,68.99],[60.17,69.59],[60.91,69.85],[64.19,69.53],[68.5,68.35],[69.14,68.95],[68.54,68.97],[67.62,69.58],[66.9,69.55],[67.29,70.74],[66.7,70.82],[66.85,71.06],[66.64,71.08],[68.27,71.68],[69.39,72.96],[71.5,72.91],[72.81,72.69],[72.57,72.01],[71.87,71.46],[72.7,70.96],[72.47,70.28],[72.58,68.97],[73.59,68.48],[73.14,68.18],[73.07,67.77],[71.85,67.01],[71.37,66.96],[71.54,66.68],[70.72,66.52],[70.38,66.6],[70.69,66.74],[69.01,66.79],[69.98,66.4],[72.07,66.25],[73.79,66.99],[74.77,67.77],[74.39,68.42],[74.58,68.75],[75.12,68.86],[76.46,68.98],[77.24,68.47],[77.18,67.78],[78.92,67.59],[77.59,67.75],[77.67,68.19],[78,68.26],[77.65,68.9],[76,69.24],[73.78,69.2],[73.89,69.42],[73.58,69.8],[74.34,70.58],[73.09,71.44],[73.67,71.85],[74.99,72.15],[75.1,72.42],[74.79,72.81],[75.6,72.58],[75.74,72.3],[75.27,71.96],[75.5,71.65],[75.28,71.43],[75.73,71.27],[79.02,70.95],[76.43,71.55],[76.03,71.91],[78.19,71.91],[77.41,72.11],[78.48,72.4],[79.42,72.38],[81.66,71.72],[83.11,71.72],[82.98,71.45],[82.32,71.26],[82.16,70.6],[82.22,70.4],[82.59,70.89],[83.01,70.9],[82.68,70.22],[83.08,70.09],[83.74,70.55],[83.15,71.1],[83.53,71.68],[80.83,72.49],[80.66,72.71],[80.84,72.95],[80.42,73.23],[80.58,73.57],[86.89,73.89],[85.79,73.44],[86.68,73.11],[85.91,73.39],[87.57,73.81],[86,74.32],[87.23,74.36],[85.79,74.65],[87.47,75.01],[87.01,75.17],[94.16,75.96],[92.86,75.98],[93.26,76.1],[95.58,76.14],[96.08,76.08],[95.65,75.89],[96.5,75.89],[98.66,76.24],[99.77,76.03],[99.54,75.8],[99.82,76.14],[98.8,76.48],[101.6,76.44],[100.93,76.56],[101.1,76.7],[100.91,76.9],[104.01,77.73],[106.06,77.39],[104.2,77.1],[107.43,76.93],[106.42,76.51],[111.11,76.72],[112.62,76.38],[112.66,76.05],[113.27,76.25],[113.56,75.89],[113.86,75.92],[113.57,75.57],[112.45,75.83],[113.73,75.45],[112.92,75.02],[107.27,73.62],[105.14,72.78],[110.87,73.73],[109.67,73.8],[110.26,74.02],[111.55,74.03],[111.23,73.97],[112.15,73.71],[113.03,73.91],[113.42,73.65],[113.16,73.46],[113.49,73.35],[113.16,72.77],[113.67,72.64],[113.22,72.81],[113.89,73.35],[113.51,73.5],[114.06,73.58],[118.45,73.59],[118.94,73.48],[118.46,73.46],[118.43,73.25],[119.75,72.98],[122.54,72.88],[123.62,73.19],[123.32,73.43],[123.41,73.64],[124.54,73.75],[126.55,73.33],[127.74,73.48],[129.1,73.11],[128.6,72.9],[129.25,72.7],[128.42,72.53],[129.28,72.44],[129.28,72.09],[127.73,72.41],[128.91,71.75],[129.21,71.92],[129.46,71.74],[128.84,71.66],[129.76,71.12],[131.02,70.75],[132.04,71.24],[132.65,71.93],[133.69,71.43],[136.09,71.62],[137.94,71.13],[138.32,71.33],[137.92,71.38],[138.23,71.6],[139.99,71.49],[139.72,71.89],[139.36,71.95],[140.19,72.19],[139.18,72.16],[139.14,72.33],[141.08,72.59],[140.65,72.84],[140.81,72.89],[146.25,72.44],[144.29,72.19],[146.83,72.29],[146.11,71.95],[146.23,72.14],[145.76,72.23],[145.76,71.94],[145.07,71.93],[145.19,71.7],[147.26,72.33],[149.5,72.16],[150.02,71.9],[148.92,71.71],[150.67,71.45],[150.1,71.23],[151.58,71.29],[152.09,71.02],[151.76,70.98],[152.51,70.83],[155.89,71.1],[158.7,70.94],[159.91,70.51],[159.83,69.78],[160.91,69.61],[161.34,68.9],[160.86,68.54],[161.56,68.9],[161.54,69.38],[163.2,69.72],[166.89,69.5],[167.86,69.73],[168.3,69.27],[169.31,69.08],[169.61,68.79],[170.54,68.83],[171,69.14],[170.58,69.58],[170.16,69.63],[170.49,70.11],[173.28,69.82],[175.92,69.9],[179.87,69.01]],[[-94.31,71.77],[-93.03,71.34],[-92.98,70.85],[-91.57,70.18],[-92.32,70.24],[-92.51,70.1],[-91.98,70.04],[-92.89,69.67],[-90.42,69.46],[-91.24,69.29],[-90.48,68.88],[-90.58,68.48],[-90.25,68.27],[-89.28,69.26],[-88.04,68.81],[-87.81,68.35],[-88.35,68.29],[-88.31,67.95],[-87.36,67.18],[-86.56,67.48],[-85.69,68.67],[-84.87,68.77],[-85.11,68.84],[-84.86,69.07],[-85.39,69.23],[-85.51,69.85],[-82.62,69.69],[-82.37,69.64],[-82.76,69.49],[-82.23,69.25],[-81.32,69.14],[-81.96,68.88],[-81.28,68.66],[-82.55,68.45],[-81.29,67.5],[-81.39,67.19],[-82.64,66.59],[-83.52,66.37],[-84.85,67.03],[-85.11,66.89],[-84.64,66.9],[-83.8,66.24],[-86.71,66.52],[-85.96,66.12],[-87.45,65.34],[-89.75,65.94],[-91.43,65.95],[-87,65.11],[-88.11,64.18],[-89.13,63.97],[-90.04,64.14],[-89.86,63.96],[-90.17,63.98],[-90.01,63.8],[-90.24,63.64],[-93.7,64.15],[-93.56,63.86],[-92.16,63.69],[-92.47,63.56],[-91.84,63.7],[-90.97,63.44],[-90.7,63.06],[-92.36,62.82],[-91.94,62.59],[-92.55,62.55],[-92.77,62.35],[-92.53,62.17],[-93.21,62.36],[-92.9,62.22],[-93.58,61.94],[-93.31,61.77],[-93.91,61.48],[-94.76,60.5],[-94.96,59.07],[-94.29,58.72],[-94.33,58.3],[-94.12,58.74],[-93.18,58.73],[-92.43,57.32],[-92.8,56.92],[-90.59,57.22],[-88.83,56.81],[-87.48,56.02],[-85.68,55.6],[-85.22,55.35],[-85.37,55.08],[-83.91,55.31],[-82.39,55.07],[-82.22,54.81],[-82.42,54.24],[-82.14,53.82],[-82.29,53.03],[-81.6,52.43],[-81.83,52.22],[-80.59,51.67],[-80.44,51.39],[-80.85,51.12],[-80.1,51.28],[-79.35,50.76],[-79.74,51.19],[-79.34,51.63],[-78.9,51.2],[-78.73,51.5],[-78.98,51.78],[-78.45,52.26],[-79.1,53.66],[-79.01,54.02],[-79.71,54.67],[-77.78,55.29],[-76.55,56.36],[-76.57,57.18],[-76.89,57.76],[-78.51,58.68],[-77.73,59.68],[-77.35,59.58],[-77.29,60.02],[-77.59,60.09],[-77.68,60.43],[-77.5,60.54],[-77.79,60.64],[-77.59,60.81],[-78.18,60.82],[-77.51,61.56],[-78.02,61.83],[-78.13,62.28],[-77.37,62.57],[-74.63,62.11],[-73.71,62.47],[-72.69,62.13],[-72.77,61.84],[-72.23,61.83],[-72.04,61.68],[-72.21,61.59],[-71.64,61.62],[-71.85,61.44],[-71.42,61.16],[-69.99,60.86],[-69.5,61.04],[-69.67,60.08],[-70.66,60.03],[-69.73,59.92],[-69.68,59.34],[-69.35,59.3],[-69.53,58.87],[-70.16,58.76],[-68.38,58.74],[-68.36,58.16],[-69.04,57.9],[-68.41,58.05],[-68.02,58.48],[-68.06,58.14],[-67.75,58.4],[-67.68,57.99],[-66.36,58.79],[-66,58.43],[-66.04,58.82],[-65.38,59.06],[-65.7,59.21],[-65.48,59.47],[-65.04,59.39],[-65.43,59.78],[-65.03,59.77],[-65.17,59.91],[-64.82,60.33],[-64.5,60.27],[-64.77,60.01],[-64.28,60.06],[-64.23,59.74],[-63.75,59.51],[-63.95,59.38],[-63.42,59.19],[-63.97,59.05],[-63.25,59.07],[-63.28,58.87],[-62.87,58.67],[-63.54,58.33],[-62.61,58.5],[-63.26,58.01],[-62.49,58.15],[-61.96,57.91],[-61.97,57.61],[-62.49,57.49],[-61.33,57.01],[-61.37,56.68],[-62.5,56.8],[-61.43,56.36],[-61.71,56.23],[-61.36,56.22],[-61.45,56],[-60.34,55.79],[-60.19,55.48],[-60.62,55.06],[-59.76,55.31],[-59.44,55.18],[-59.84,54.81],[-59.26,55.2],[-58.78,54.84],[-57.96,54.88],[-57.4,54.59],[-60.4,53.65],[-60.1,53.49],[-60.33,53.27],[-57.93,54.1],[-58.36,54.16],[-58.19,54.23],[-57.42,54.16],[-57.13,53.79],[-57.52,53.61],[-57.33,53.47],[-56.46,53.76],[-55.86,53.34],[-55.8,52.64],[-56.32,52.54],[-55.74,52.47],[-56.01,52.39],[-55.69,52.14],[-56.98,51.46],[-58.51,51.29],[-59.88,50.32],[-61.72,50.1],[-62.71,50.3],[-66.41,50.22],[-66.94,49.99],[-67.37,49.35],[-68.28,49.2],[-69.67,48.2],[-71.02,48.46],[-69.77,48.1],[-70.71,47.14],[-72.68,46.29],[-72.98,46.21],[-73.02,46.12],[-73.14,46.07],[-73.47,45.74],[-73.71,45.71],[-74.04,45.5],[-74.31,45.53],[-74,45.43],[-73.98,45.35],[-74.36,45.21],[-74.71,45],[-73.76,45.4],[-73.56,45.42],[-73.46,45.63],[-73.16,46.01],[-72.73,46.18],[-72.37,46.4],[-70.52,47.03],[-69.47,47.97],[-68.24,48.63],[-65.4,49.26],[-64.26,48.92],[-64.51,48.84],[-64.26,48.55],[-65.26,48.02],[-65.93,48.19],[-66.7,48.02],[-65.61,47.67],[-64.7,47.73],[-65.32,47.1],[-64.83,47.06],[-64.54,46.24],[-62.75,45.65],[-61.95,45.87],[-61.35,45.57],[-61.46,45.37],[-61.03,45.29],[-63.6,44.68],[-63.61,44.48],[-64.29,44.55],[-64.86,43.87],[-65.74,43.56],[-66.13,43.81],[-66.02,44.56],[-64.45,45.34],[-64.14,45.02],[-63.37,45.36],[-64.87,45.36],[-64.32,45.84],[-64.63,45.95],[-64.78,45.64],[-65.89,45.22],[-66.03,45.42],[-66.44,45.1],[-67.12,45.17],[-66.99,44.83],[-68.06,44.39],[-68.45,44.51],[-68.53,44.26],[-68.81,44.34],[-68.76,44.57],[-69.14,44.04],[-70.27,43.67],[-70.2,43.63],[-70.52,43.35],[-70.73,43.07],[-70.83,42.83],[-70.74,42.67],[-70.62,42.67],[-70.61,42.62],[-70.83,42.55],[-71.04,42.33],[-70.74,42.23],[-70.62,42.04],[-70.66,41.99],[-70.55,41.94],[-70.52,41.8],[-70.43,41.76],[-70.3,41.73],[-70,41.83],[-70.11,42.03],[-70.24,42.09],[-70.11,42.08],[-69.98,41.96],[-69.93,41.71],[-70.66,41.53],[-70.7,41.72],[-71.17,41.49],[-71.2,41.64],[-71.15,41.75],[-71.27,41.68],[-71.39,41.79],[-71.37,41.7],[-71.43,41.63],[-71.44,41.45],[-71.52,41.38],[-72.92,41.28],[-73.58,41.02],[-73.99,40.75],[-73.87,41.06],[-73.88,41.17],[-73.97,41.25],[-73.92,41.14],[-73.93,40.91],[-74.26,40.53],[-74.24,40.46],[-74,40.45],[-73.97,40.4],[-74.08,39.79],[-74.07,39.99],[-74.26,39.61],[-74.33,39.54],[-74.41,39.55],[-74.39,39.49],[-74.48,39.34],[-74.58,39.32],[-74.61,39.25],[-74.92,38.94],[-74.9,39.15],[-75.52,39.49],[-75.07,39.98],[-75.17,39.89],[-75.32,39.86],[-75.57,39.48],[-75.04,38.43],[-75.93,37.15],[-75.66,37.95],[-75.85,37.97],[-75.86,38.36],[-76.12,38.32],[-76.26,38.44],[-76.26,38.6],[-76,38.6],[-76.21,38.76],[-76.28,38.77],[-76.34,38.71],[-76.3,38.82],[-76.17,38.85],[-76.19,38.91],[-76.33,38.91],[-76.33,38.95],[-76.31,39.01],[-76.19,38.99],[-76.13,39.12],[-76.22,39.06],[-76.24,39.19],[-76.15,39.32],[-75.94,39.4],[-76,39.41],[-75.97,39.51],[-76.01,39.57],[-76.06,39.56],[-76.1,39.43],[-76.21,39.38],[-76.25,39.44],[-76.28,39.32],[-76.33,39.4],[-76.42,39.23],[-76.57,39.27],[-76.43,39.13],[-76.47,39.03],[-76.56,39.07],[-76.5,38.94],[-76.54,38.74],[-76.5,38.53],[-76.39,38.37],[-76.57,38.44],[-76.68,38.61],[-76.67,38.54],[-76.64,38.45],[-76.41,38.27],[-76.34,38.09],[-76.46,38.17],[-76.77,38.26],[-76.87,38.39],[-76.89,38.29],[-77,38.44],[-77.23,38.41],[-77.22,38.54],[-77.02,38.78],[-77.03,38.89],[-77.05,38.78],[-77.26,38.6],[-77.31,38.4],[-77.27,38.35],[-77.05,38.36],[-76.91,38.2],[-76.55,38.09],[-76.35,37.96],[-76.34,37.68],[-76.79,37.94],[-76.94,38.1],[-77.11,38.16],[-76.62,37.76],[-76.27,37.49],[-76.45,37.27],[-76.76,37.51],[-76.34,37.01],[-77.25,37.33],[-76.49,36.9],[-76,36.91],[-75.53,35.82],[-75.95,36.66],[-75.82,36.11],[-76.15,36.28],[-76.56,36.02],[-76.73,36.23],[-76.73,35.96],[-76.07,35.97],[-76.08,35.69],[-75.76,35.84],[-76.17,35.35],[-77.04,35.53],[-76.51,35.27],[-76.78,34.99],[-77.07,35.15],[-76.97,35.02],[-76.44,34.84],[-77.41,34.73],[-77.93,33.94],[-77.95,34.17],[-78.01,33.91],[-78.84,33.72],[-79.94,32.67],[-80.64,32.51],[-80.58,32.29],[-80.8,32.45],[-80.69,32.22],[-81.44,31.2],[-81.25,29.79],[-80.52,28.49],[-80.46,27.9],[-80.84,28.76],[-80.05,26.81],[-80.13,25.83],[-80.16,25.88],[-80.3,25.62],[-80.37,25.33],[-80.48,25.23],[-80.74,25.16],[-81.11,25.14],[-81.17,25.23],[-81.14,25.31],[-80.97,25.22],[-80.94,25.26],[-81.11,25.37],[-81.37,25.83],[-81.72,25.98],[-81.96,26.49],[-81.83,26.69],[-82.04,26.55],[-82.01,26.96],[-82.29,26.87],[-82.72,27.5],[-82.41,27.86],[-82.84,27.85],[-82.65,28.89],[-84.04,30.1],[-85.32,29.68],[-85.6,30.29],[-86.45,30.4],[-86.26,30.49],[-87.2,30.34],[-87,30.57],[-88,30.23],[-87.79,30.29],[-88.01,30.69],[-88.13,30.37],[-89.59,30.17],[-90.23,30.38],[-90.28,30.06],[-89.4,30.05],[-89.35,29.82],[-89.72,29.62],[-89.02,29.2],[-89.38,28.98],[-90.16,29.54],[-90.21,29.1],[-91.29,29.29],[-91.25,29.56],[-91.89,29.84],[-92.26,29.56],[-93.83,29.72],[-93.88,29.81],[-93.81,29.85],[-93.79,29.98],[-93.84,29.98],[-93.94,29.81],[-93.89,29.69],[-94.1,29.67],[-94.76,29.38],[-94.53,29.55],[-94.78,29.55],[-94.74,29.75],[-94.83,29.75],[-94.89,29.68],[-95.02,29.7],[-94.99,29.53],[-94.89,29.37],[-95.14,29.17],[-95.15,29.08],[-95.27,28.96],[-95.85,28.64],[-96.23,28.49],[-96.01,28.63],[-96.37,28.66],[-96.45,28.59],[-96.58,28.72],[-96.42,28.46],[-97.16,28.14],[-97.07,27.99],[-97.43,27.84],[-97.44,27.33],[-97.77,27.46],[-97.48,27.24],[-97.14,26.03],[-97.67,24.39],[-97.86,22.62],[-97.31,21.56],[-97.41,21.27],[-97.75,22.03],[-97.64,21.6],[-95.92,18.82],[-95.18,18.7],[-94.46,18.17],[-92.44,18.67],[-91.53,18.46],[-91.27,18.62],[-91.44,18.89],[-90.74,19.35],[-90.35,21.01],[-88.47,21.57],[-87.04,21.59],[-86.82,21],[-87.69,19.64],[-87.43,19.58],[-87.85,18.27],[-88.03,18.84],[-88.35,18.36],[-88.08,18.23],[-88.31,16.63],[-88.89,15.89],[-88.13,15.7],[-87.7,15.91],[-86.91,15.76],[-84.97,15.99],[-84.26,15.82],[-83.76,15.22],[-83.37,15.24],[-83.19,14.34],[-83.57,13.32],[-83.51,12.41],[-83.59,12.71],[-83.75,12.5],[-83.83,11.13],[-82.24,9.03],[-81.78,8.96],[-81.9,9.14],[-81.55,8.83],[-81.06,8.81],[-80.84,8.89],[-80.55,9.08],[-80.13,9.21],[-79.58,9.6],[-79.11,9.54],[-78.93,9.43],[-78.5,9.41],[-78.08,9.24],[-76.79,7.93],[-76.92,8.57],[-75.64,9.45],[-75.54,10.2],[-75.71,10.14],[-75.45,10.61],[-74.84,11.11],[-74.33,11],[-74.4,10.77],[-74.14,11.32],[-73.31,11.3],[-71.6,12.43],[-71.14,12.05],[-71.96,11.57],[-71.6,10.66],[-72.11,9.82],[-71.62,9.05],[-71.24,9.16],[-71.05,9.71],[-71.47,10.96],[-69.81,11.47],[-70.29,11.89],[-70,12.18],[-69.63,11.48],[-68.4,11.16],[-68.14,10.49],[-66.25,10.63],[-65.13,10.07],[-63.73,10.5],[-64.3,10.64],[-61.88,10.74],[-62.91,10.53],[-62.74,10.06],[-62.55,10.2],[-62.32,9.78],[-62.08,9.98],[-61.74,9.63],[-61.59,9.89],[-60.79,9.36],[-61.25,8.6],[-61.62,8.6],[-61.3,8.41],[-60.17,8.62],[-58.81,7.74],[-58.48,7.33],[-58.67,6.39],[-58.42,6.85],[-57.98,6.79],[-57.23,6.18],[-57.18,5.53],[-56.97,5.99],[-55.9,5.7],[-55.83,5.96],[-54.36,5.91],[-54.05,5.81],[-54.16,5.36],[-53.85,5.78],[-52.9,5.43],[-52.06,4.72],[-52,4.35],[-51.83,4.64],[-51.65,4.06],[-51.55,4.31],[-51.22,4.09],[-50.72,2.13],[-49.96,1.66],[-49.9,1.16],[-51.28,-0.08],[-51.98,-1.37],[-52.66,-1.55],[-51.95,-1.59],[-50.9,-0.94],[-50.4,-2.01],[-49.32,-1.73],[-49.64,-2.66],[-49.21,-1.92],[-48.35,-1.48],[-48.45,-1.15],[-48.12,-0.74],[-47.4,-0.63],[-45.46,-1.36],[-45.33,-1.72],[-45.08,-1.47],[-44.65,-1.75],[-44.54,-2.05],[-44.76,-2.26],[-44.44,-2.17],[-44.38,-2.37],[-44.72,-3.2],[-44.23,-2.47],[-44.19,-2.81],[-43.38,-2.38],[-42.25,-2.79],[-39.77,-2.99],[-39.02,-3.39],[-38.69,-3.65],[-38.48,-3.72],[-38.05,-4.22],[-37.63,-4.59],[-37.3,-4.71],[-36.59,-5.1],[-35.39,-5.25],[-34.83,-7.02],[-34.84,-7.97],[-35.34,-9.23],[-37.36,-11.25],[-38.02,-12.59],[-38.4,-12.97],[-38.69,-12.62],[-38.85,-12.79],[-39.09,-13.59],[-38.88,-15.86],[-39.16,-17.7],[-39.65,-18.25],[-39.78,-19.57],[-40.96,-21.24],[-41,-22],[-41.58,-22.24],[-41.98,-22.58],[-41.94,-22.79],[-42.04,-22.95],[-42.96,-22.97],[-43.08,-22.9],[-43.09,-22.72],[-43.23,-22.75],[-43.22,-22.99],[-43.9,-23.1],[-43.97,-23.06],[-43.68,-23.01],[-43.86,-22.91],[-44.15,-23.01],[-44.37,-23],[-45.21,-23.58],[-45.33,-23.6],[-45.46,-23.8],[-45.97,-23.79],[-46.87,-24.24],[-47.14,-24.49],[-47.59,-24.78],[-48.2,-25.42],[-48.73,-25.37],[-48.4,-25.6],[-48.75,-26.27],[-48.56,-27.2],[-48.8,-28.58],[-49.75,-29.36],[-50.92,-31.26],[-52.04,-32.12],[-52.06,-31.83],[-51.27,-31.48],[-50.58,-30.44],[-50.56,-30.25],[-51.03,-30.37],[-51.3,-30.04],[-51.28,-30.75],[-51.97,-31.38],[-52.65,-33.14],[-53.79,-34.38],[-54.9,-34.93],[-56.85,-34.68],[-57.17,-34.45],[-57.87,-34.45],[-58.4,-33.91],[-58.44,-33.72],[-58.36,-33.18],[-58.15,-33.07],[-58.2,-32.47],[-58.2,-33.01],[-58.25,-33.08],[-58.42,-33.11],[-58.55,-33.66],[-58.39,-34.19],[-58.52,-34.3],[-58.47,-34.46],[-58.28,-34.68],[-57.76,-34.89],[-57.3,-35.19],[-57.17,-35.36],[-57.16,-35.51],[-57.35,-35.72],[-57.26,-36.14],[-56.72,-36.39],[-56.67,-36.85],[-57.65,-38.17],[-59.83,-38.84],[-61.6,-39],[-62.34,-38.8],[-62.3,-39.24],[-62.05,-39.37],[-62.39,-40.89],[-63.62,-41.16],[-64.87,-40.74],[-65.13,-40.88],[-64.99,-42.1],[-64.42,-42.43],[-63.79,-42.11],[-63.62,-42.7],[-64.04,-42.88],[-64.49,-42.51],[-64.97,-42.67],[-64.32,-42.97],[-65.25,-43.57],[-65.29,-44.36],[-65.65,-44.66],[-65.64,-45.01],[-66.94,-45.26],[-67.6,-46.05],[-67.51,-46.44],[-66.78,-47.01],[-65.85,-47.16],[-65.77,-47.57],[-66.22,-47.83],[-65.81,-47.94],[-67.47,-48.95],[-67.91,-49.98],[-68.26,-50.1],[-68.67,-49.75],[-68.98,-50],[-68.42,-50.16],[-68.94,-50.38],[-69.36,-51.03],[-69.06,-51.55],[-69.46,-51.58],[-68.96,-51.68],[-68.4,-52.31],[-69.24,-52.21],[-70.8,-52.77],[-70.99,-53.78],[-71.3,-53.88],[-72.41,-53.35],[-71.94,-53.23],[-71.79,-53.48],[-71.23,-52.81],[-72.28,-53.13],[-72.55,-53.46],[-73.05,-53.24],[-72.73,-52.76],[-71.51,-52.61],[-72.71,-52.54],[-73.12,-53.07],[-73.64,-52.84],[-73.12,-52.49],[-74.01,-52.64],[-74.3,-52.12],[-73.83,-52.23],[-72.79,-51.95],[-72.57,-52.2],[-72.72,-52.36],[-72.52,-52.25],[-72.54,-51.71],[-73.17,-51.45],[-72.6,-51.8],[-73.52,-52.04],[-74.19,-51.68],[-73.93,-51.62],[-73.94,-51.27],[-74.81,-51.06],[-75.09,-50.68],[-74.68,-50.66],[-74.64,-50.36],[-73.81,-50.94],[-73.65,-50.49],[-73.98,-50.83],[-74.2,-50.61],[-73.95,-50.51],[-74.63,-50.19],[-73.96,-49.99],[-74.29,-49.6],[-73.83,-49.61],[-74.09,-49.43],[-73.94,-49.02],[-74.22,-49.5],[-74.37,-49.4],[-74.34,-48.6],[-74.01,-48.48],[-74.48,-48.46],[-74.58,-48],[-73.39,-48.15],[-73.72,-47.66],[-74.23,-47.97],[-74.66,-47.7],[-74.13,-47.59],[-74.48,-47.43],[-74.16,-47.18],[-74.31,-46.79],[-75,-46.74],[-75.02,-46.51],[-75.54,-46.7],[-75.43,-46.93],[-75.71,-46.77],[-74.93,-46.16],[-75.07,-45.88],[-74.16,-45.77],[-73.96,-45.4],[-74.02,-46.06],[-74.39,-46.22],[-73.97,-46.15],[-73.73,-45.81],[-73.85,-46.57],[-73.59,-45.9],[-73.73,-45.48],[-72.93,-45.45],[-73.45,-45.24],[-72.68,-44.59],[-73.27,-44.17],[-73.08,-43.32],[-72.76,-43.04],[-72.77,-42.26],[-72.41,-42.39],[-72.5,-41.98],[-72.82,-41.91],[-72.32,-41.5],[-73.73,-41.74],[-73.98,-40.97],[-73.23,-39.22],[-73.66,-37.34],[-73.22,-37.17],[-71.99,-34.29],[-72,-34.17],[-71.83,-33.82],[-71.66,-33.65],[-71.64,-33.52],[-71.7,-33.43],[-71.74,-33.09],[-71.59,-32.97],[-71.45,-32.66],[-71.42,-32.39],[-71.51,-32.21],[-71.71,-30.63],[-71.31,-29.65],[-71.52,-28.93],[-70.65,-26.33],[-70.39,-23.57],[-70.59,-23.25],[-70.09,-21.49],[-70.36,-18.4],[-71.53,-17.3],[-75.11,-15.41],[-76.29,-14.13],[-76.23,-13.37],[-76.5,-12.98],[-76.83,-12.35],[-77.15,-12.06],[-77.22,-11.66],[-77.31,-11.53],[-77.63,-11.29],[-77.74,-10.84],[-79.76,-7.07],[-81.14,-6.06],[-80.88,-5.63],[-81.34,-4.67],[-81.23,-4.23],[-79.96,-3.16],[-79.73,-2.58],[-79.84,-2.07],[-79.93,-2.55],[-80.01,-2.35],[-80.29,-2.71],[-80.96,-2.19],[-80.77,-2.08],[-80.9,-1.08],[-80.28,-0.62],[-80.48,-0.37],[-80.05,0.16],[-80.09,0.79],[-78.9,1.21],[-79.03,1.62],[-78.58,1.77],[-78.59,2.36],[-77.81,2.72],[-77.08,3.91],[-77.52,4.21],[-77.29,4.72],[-77.54,5.54],[-77.25,5.78],[-77.47,6.18],[-77.37,6.57],[-78.38,7.9],[-78.42,8.06],[-78.29,8.09],[-78.28,8.25],[-78.14,8.39],[-77.76,8.13],[-78.06,8.4],[-78.1,8.5],[-78.22,8.4],[-78.4,8.51],[-78.37,8.4],[-78.41,8.36],[-78.51,8.63],[-78.95,8.93],[-79.25,9.02],[-79.51,8.97],[-79.69,8.85],[-79.81,8.64],[-79.75,8.6],[-80.12,8.35],[-80.37,8.29],[-80.46,8.21],[-80.46,8.08],[-80.07,7.67],[-80.01,7.5],[-80.84,7.22],[-81.06,7.9],[-81.27,7.63],[-82.23,8.31],[-82.78,8.3],[-82.88,8.07],[-83.29,8.67],[-83.47,8.71],[-83.29,8.41],[-83.61,8.48],[-83.74,9.15],[-84.58,9.57],[-85.02,10.12],[-85.26,10.26],[-84.89,9.82],[-85.11,9.58],[-85.63,9.9],[-85.85,10.29],[-85.67,10.74],[-85.91,10.9],[-85.74,11.09],[-87.67,12.9],[-87.34,12.95],[-87.49,13.35],[-88.69,13.28],[-88.51,13.18],[-91.38,13.99],[-93.92,16.05],[-94.86,16.42],[-95.02,16.28],[-94.8,16.21],[-96.21,15.69],[-97.75,15.97],[-100.85,17.2],[-101.92,17.96],[-103.44,18.33],[-103.91,18.83],[-104.94,19.31],[-105.67,20.38],[-105.26,20.58],[-105.51,20.81],[-105.21,21.49],[-105.65,21.99],[-105.79,22.63],[-107.77,24.47],[-107.51,24.49],[-107.95,24.62],[-108.28,25.08],[-108.05,25.07],[-109.03,25.48],[-108.88,25.73],[-109.31,25.63],[-109.42,26.03],[-109.12,26.25],[-109.28,26.53],[-110.38,27.23],[-110.53,27.86],[-111.12,27.97],[-112.16,29.02],[-113.06,30.65],[-113.05,31.18],[-114.93,31.9],[-114.55,30.02],[-112.87,28.42],[-112.73,27.83],[-111.86,26.68],[-111.7,26.58],[-111.79,26.88],[-111.57,26.71],[-110.69,24.87],[-110.66,24.34],[-110.37,24.1],[-110.26,24.34],[-109.42,23.48],[-109.5,23.16],[-110,22.89],[-110.36,23.61],[-112.07,24.84],[-112.38,26.21],[-113.02,26.58],[-113.15,26.95],[-113.6,26.72],[-114.99,27.74],[-114.3,27.87],[-114.07,27.68],[-114.27,27.93],[-114.05,28.43],[-115.67,29.76],[-117.27,32.81],[-117.32,33.1],[-117.47,33.3],[-118.08,33.72],[-118.41,33.74],[-118.39,33.86],[-118.51,34.02],[-118.83,34.02],[-119.14,34.11],[-119.41,34.34],[-119.61,34.42],[-119.71,34.4],[-120.65,34.58],[-120.63,35.08],[-121.46,35.93],[-121.88,36.33],[-121.92,36.57],[-121.79,36.73],[-121.81,36.85],[-121.88,36.94],[-122.17,36.99],[-122.4,37.21],[-122.51,37.77],[-122.39,37.79],[-122.37,37.66],[-122.07,37.48],[-122.39,37.96],[-122.22,38.04],[-121.52,38.06],[-122.03,38.12],[-122.15,38.07],[-122.39,38.14],[-122.48,38.11],[-122.47,37.84],[-122.52,37.83],[-122.93,38.06],[-123,37.99],[-122.98,38.23],[-122.88,38.12],[-122.99,38.28],[-123.7,38.91],[-123.83,39.78],[-124.33,40.25],[-124.07,41.46],[-124.54,42.81],[-124.15,43.69],[-123.99,46.22],[-123.22,46.15],[-124.07,46.28],[-123.89,46.66],[-124.11,46.86],[-123.84,46.96],[-124.14,46.95],[-124.71,48.38],[-123.3,48.12],[-123.12,48.15],[-122.98,48.07],[-122.78,48.14],[-122.66,47.88],[-122.78,47.74],[-122.82,47.79],[-123.05,47.55],[-123.14,47.36],[-122.92,47.41],[-123.07,47.4],[-123.06,47.45],[-122.59,47.86],[-122.59,47.93],[-122.53,47.92],[-122.53,47.77],[-122.62,47.71],[-122.61,47.62],[-122.68,47.61],[-122.56,47.46],[-122.58,47.29],[-122.71,47.32],[-122.77,47.22],[-122.83,47.34],[-123.03,47.14],[-122.7,47.11],[-122.54,47.28],[-122.35,47.37],[-122.4,47.78],[-122.24,48.01],[-122.42,48.18],[-122.4,48.08],[-122.52,48.16],[-122.52,48.23],[-122.41,48.29],[-122.67,48.46],[-122.5,48.51],[-122.54,48.76],[-122.69,48.79],[-122.83,49.03],[-122.96,49.07],[-123.08,48.98],[-123.23,49.26],[-122.88,49.4],[-123.28,49.34],[-123.19,49.68],[-123.53,49.4],[-124.03,49.6],[-123.58,49.68],[-123.88,49.74],[-123.83,50.15],[-124.28,49.77],[-124.78,50.02],[-125.06,50.42],[-124.86,50.87],[-125.06,50.51],[-126.09,50.5],[-126.45,50.59],[-125.91,50.7],[-126.51,50.68],[-126.52,51.06],[-127.06,50.87],[-127.71,51.15],[-127.42,51.61],[-126.69,51.7],[-127.64,51.48],[-127.85,51.67],[-127.8,52.19],[-127.44,52.36],[-126.71,52.06],[-127.19,52.46],[-127.01,52.84],[-128.1,51.79],[-128.36,52.16],[-127.94,52.55],[-128.27,52.36],[-128.05,52.91],[-128.36,52.83],[-129.17,53.53],[-128.85,53.7],[-127.93,53.28],[-128.67,53.55],[-128.76,53.75],[-128.53,53.86],[-128.96,53.84],[-129.56,53.25],[-130.33,53.72],[-130.04,54.13],[-129.62,54.23],[-130.43,54.42],[-129.56,55.46],[-129.79,55.56],[-130.05,55.06],[-130.02,55.89],[-130.04,55.3],[-130.54,54.75],[-131.05,55.16],[-130.75,55.32],[-131.03,56.09],[-132.12,55.57],[-132.21,55.75],[-131.55,56.21],[-132.18,56.42],[-132.83,57.06],[-133.47,57.17],[-133.65,57.64],[-133.12,57.57],[-133.54,57.86],[-133.2,57.88],[-134.03,58.07],[-133.88,58.52],[-134.21,58.23],[-134.78,58.45],[-135.36,59.42],[-135.5,59.2],[-135.09,58.25],[-135.9,58.4],[-136.04,58.82],[-135.83,58.9],[-136.13,59.04],[-136.23,58.77],[-136.99,59.04],[-137.06,58.87],[-136.06,58.45],[-136.61,58.24],[-139.77,59.53],[-139.51,59.95],[-139.29,59.61],[-138.99,59.84],[-139.43,60.01],[-140.42,59.71],[-141.41,59.9],[-141.41,60.12],[-144.15,60.02],[-144.9,60.34],[-144.69,60.67],[-145.25,60.38],[-146.57,60.73],[-146.39,60.81],[-146.63,60.99],[-146.38,61.14],[-147.81,60.89],[-148.01,60.97],[-147.75,61.22],[-148.34,61.06],[-148.56,60.8],[-148.28,60.61],[-148.64,60.49],[-147.96,60.48],[-148.43,59.99],[-149.4,60.11],[-149.6,59.77],[-149.71,59.92],[-150.93,59.25],[-151.74,59.19],[-151.93,59.34],[-151.04,59.77],[-151.85,59.78],[-151.4,60.27],[-151.36,60.72],[-150.44,61.02],[-149.07,60.89],[-150.05,61.17],[-149.33,61.5],[-151.59,60.98],[-152.37,60.34],[-153.02,60.3],[-152.63,60.04],[-153.21,59.84],[-153.05,59.73],[-154.09,59.36],[-154.13,59.12],[-153.33,58.88],[-154.25,58.16],[-158.41,56.44],[-158.55,56.31],[-158.28,56.2],[-159.66,55.63],[-159.77,55.84],[-161.38,55.37],[-161.2,55.54],[-161.52,55.62],[-162.08,55.14],[-162.63,55.25],[-162.67,55],[-163.12,55.06],[-163.34,54.84],[-163.28,55.12],[-161.7,55.91],[-160.29,55.8],[-160.54,56.01],[-160.3,56.31],[-158.67,56.8],[-158.32,57.3],[-157.46,57.51],[-157.7,57.68],[-157.61,58.05],[-157.19,58.19],[-157.52,58.42],[-156.97,58.74],[-156.81,59.13],[-158.19,58.62],[-158.5,58.85],[-158.08,58.98],[-158.81,58.97],[-158.95,58.4],[-159.67,58.91],[-160.36,59.05],[-162.14,58.64],[-161.72,58.79],[-161.64,59.11],[-161.98,59.15],[-161.83,59.59],[-162.42,60.28],[-161.96,60.69],[-162.68,60.27],[-162.57,59.99],[-163.68,59.8],[-165.36,60.54],[-164.8,60.89],[-164.32,60.77],[-164.37,60.59],[-163.42,60.76],[-163.91,60.85],[-163.59,60.9],[-163.75,60.97],[-165.11,60.93],[-164.87,61.11],[-165.27,61.27],[-165.57,61.1],[-165.84,61.54],[-166.15,61.55],[-165.81,61.7],[-166.08,61.8],[-165.61,61.87],[-165.71,62.1],[-165.19,62.47],[-164.76,62.5],[-164.59,62.71],[-164.79,62.62],[-164.8,62.92],[-164.38,63.03],[-164.41,63.22],[-163.29,63.05],[-162.28,63.53],[-161.1,63.56],[-160.78,63.82],[-160.99,64.25],[-161.49,64.43],[-160.86,64.76],[-161.76,64.82],[-162.81,64.37],[-163.2,64.65],[-163.14,64.42],[-166.14,64.58],[-166.93,65.16],[-166.16,65.29],[-168.09,65.66],[-164.46,66.59],[-163.64,66.57],[-163.89,66.58],[-164.03,66.22],[-163.7,66.08],[-161.04,66.19],[-162.61,66.89],[-162.36,66.95],[-161.59,66.46],[-160.23,66.51],[-161.57,66.59],[-161.86,66.7],[-161.72,67.02],[-163.53,67.1],[-164.12,67.61],[-166.79,68.36],[-166.38,68.43],[-166.21,68.89],[-163.87,69.04],[-161.88,70.33],[-162.08,70.16],[-160.12,70.59],[-159.86,70.28],[-159.81,70.5],[-159.39,70.52],[-160.08,70.64],[-159.68,70.79],[-157.91,70.86],[-156.47,71.41],[-155.58,71.12],[-156.15,70.93],[-155.97,70.84],[-155.17,71.1],[-154.19,70.8],[-152.3,70.85],[-152.47,70.65],[-151.77,70.56],[-151.94,70.45],[-149.27,70.5],[-144.62,69.98],[-143.22,70.12],[-135.26,68.68],[-135.91,69.11],[-134.46,69.48],[-134.41,69.68],[-133.88,69.51],[-134.18,69.25],[-130.67,70.13],[-129.54,70.11],[-131.94,69.53],[-133.42,68.84],[-132.71,68.81],[-132.53,68.87],[-132.72,69.08],[-131.79,69.43],[-131.06,69.45],[-130.97,69.21],[-130.12,69.72],[-128.9,69.97],[-129.16,69.8],[-128.85,69.75],[-127.68,70.26],[-128.17,70.42],[-127.99,70.57],[-125.73,69.38],[-125.17,69.43],[-125.34,69.66],[-124.56,70.15],[-124.12,69.69],[-124.34,69.36],[-123.53,69.39],[-123.03,69.81],[-121.74,69.8],[-117.23,68.91],[-115.44,68.94],[-113.96,68.4],[-115.43,67.9],[-115.13,67.82],[-112.43,67.68],[-110.07,67.99],[-107.99,67.26],[-108.5,67.09],[-107.26,66.4],[-107.75,66.96],[-107.16,66.88],[-107.96,67.82],[-105.75,68.59],[-107.73,68.17],[-108.72,68.3],[-108.34,68.6],[-106.16,68.92],[-104.49,68.06],[-103.47,68.11],[-102.32,67.74],[-98.41,67.81],[-98.63,68.07],[-97.61,67.63],[-97.16,67.73],[-98.19,67.92],[-98.65,68.36],[-97.83,68.53],[-96.43,68.31],[-96.72,68.04],[-95.97,68.25],[-96.37,67.51],[-95.42,67.01],[-96.42,67.04],[-95.79,66.62],[-96.04,66.94],[-95.4,66.95],[-95.26,67.26],[-95.65,67.74],[-95.46,68.02],[-93.45,68.62],[-93.85,69],[-94.6,68.8],[-94.09,69.12],[-94.25,69.31],[-93.43,69.37],[-96.05,69.83],[-96.54,70.33],[-95.89,70.69],[-96.36,70.68],[-96.53,71.13],[-96.06,71.41],[-95.56,71.34],[-95.41,71.49],[-95.87,71.57],[-95.2,71.9],[-94.61,71.99],[-94.48,71.85]],[[143.18,-11.96],[143.75,-14.35],[144.47,-14.23],[145.29,-14.94],[145.43,-16.41],[145.91,-16.91],[146.03,-18.27],[146.38,-18.98],[148.76,-20.29],[148.88,-20.48],[148.68,-20.58],[149.21,-21.12],[149.71,-22.44],[149.98,-22.55],[150.08,-22.16],[150.54,-22.56],[150.67,-22.42],[150.84,-23.46],[151.83,-24.12],[153.03,-25.87],[153.17,-25.96],[153.08,-26.3],[153.16,-26.98],[153.12,-27.19],[153.38,-27.77],[153.45,-28.05],[153.58,-28.24],[153.6,-28.86],[152.95,-31.43],[152.21,-32.68],[152.14,-32.68],[152.19,-32.72],[152.16,-32.76],[151.81,-32.9],[151.48,-33.35],[151.43,-33.52],[151.29,-33.58],[151.28,-33.93],[151.24,-33.99],[151.12,-34.01],[151.23,-34.03],[150.96,-34.3],[150.78,-34.89],[150.81,-34.99],[150.68,-35.08],[150.71,-35.16],[150.57,-35.21],[150.2,-35.83],[149.93,-37.53],[147.88,-37.93],[146.86,-38.66],[146.22,-38.73],[146.45,-39.11],[146.16,-38.87],[146.07,-38.83],[145.94,-38.9],[145.79,-38.67],[145.61,-38.66],[145.4,-38.54],[145.46,-38.42],[145.54,-38.39],[145.48,-38.24],[145.29,-38.24],[145.19,-38.38],[144.96,-38.5],[144.72,-38.34],[144.91,-38.34],[145.12,-38.09],[144.89,-37.9],[144.4,-38.14],[144.67,-38.21],[144.1,-38.46],[143.69,-38.77],[141.93,-38.28],[141.43,-38.36],[140.39,-37.9],[139.78,-37.25],[139.73,-36.37],[138.98,-35.62],[139.29,-35.61],[139.28,-35.38],[138.19,-35.61],[138.51,-35.02],[138.09,-34.17],[137.69,-35.14],[136.88,-35.24],[137.02,-34.92],[137.39,-34.91],[137.49,-34.16],[137.93,-33.58],[137.78,-32.58],[137.24,-33.63],[136.43,-34.03],[135.89,-34.66],[135.97,-34.98],[135.65,-34.94],[135.12,-34.59],[135.45,-34.58],[135.22,-33.96],[134.72,-33.26],[134.3,-33.17],[134.23,-32.55],[131.14,-31.5],[128.95,-31.7],[127.32,-32.26],[125.92,-32.3],[124.24,-33.01],[123.51,-33.92],[119.85,-33.97],[117.86,-35.05],[116.52,-34.99],[115.01,-34.26],[114.99,-33.51],[115.36,-33.64],[115.61,-33.37],[115.68,-33.19],[115.62,-32.67],[115.71,-32.57],[115.74,-31.89],[115.7,-31.7],[115.08,-30.56],[114.86,-29.14],[114.17,-28.08],[114.03,-27.35],[113.18,-26.18],[113.36,-26.08],[113.58,-26.56],[113.83,-26.5],[113.45,-25.6],[113.72,-26.13],[114.22,-26.29],[114.21,-25.85],[113.42,-24.44],[113.96,-21.94],[114.12,-21.83],[114.14,-22.48],[114.71,-21.82],[116.71,-20.65],[117.41,-20.72],[119.11,-19.99],[121,-19.6],[122.35,-18.11],[122.14,-17.43],[122.33,-17.06],[122.97,-16.44],[123.56,-17.52],[123.59,-17.03],[123.83,-17.12],[123.88,-16.92],[123.49,-16.49],[123.61,-16.22],[124.77,-16.4],[124.4,-16.3],[124.65,-15.87],[124.38,-15.76],[124.44,-15.49],[124.69,-15.27],[125.06,-15.44],[124.84,-15.16],[125.36,-15.12],[125.18,-14.72],[125.63,-14.26],[125.66,-14.53],[126.02,-14.5],[126.05,-13.98],[126.57,-14.16],[126.9,-13.74],[127.46,-14.03],[128.18,-14.71],[128.07,-15.33],[128.58,-14.77],[129.64,-15.14],[129.64,-14.85],[129.85,-14.83],[129.38,-14.39],[129.94,-13.5],[130.14,-13.45],[130.26,-13.3],[130.14,-13.15],[130.17,-12.96],[130.32,-12.88],[130.4,-12.69],[130.62,-12.65],[130.62,-12.43],[130.74,-12.43],[130.87,-12.56],[130.87,-12.37],[131.03,-12.34],[131.05,-12.19],[131.22,-12.18],[131.29,-12.07],[131.34,-12.21],[131.44,-12.28],[131.89,-12.23],[132.07,-12.28],[132.25,-12.19],[132.41,-12.3],[132.44,-12.18],[132.58,-12.11],[132.67,-11.65],[132.28,-11.47],[132.13,-11.5],[131.81,-11.27],[131.96,-11.18],[132.16,-11.31],[135.03,-12.19],[135.92,-11.83],[135.71,-12.21],[135.94,-12.15],[136.08,-12.42],[136.54,-11.96],[136.95,-12.35],[136.46,-13.23],[135.93,-13.3],[135.95,-13.93],[135.45,-14.92],[140.04,-17.7],[140.83,-17.41],[141.29,-16.46],[141.63,-15.06],[141.61,-12.94],[141.93,-12.74],[141.69,-12.35],[142.46,-10.71],[142.78,-11.12],[142.87,-11.82],[143.07,-11.92]],[[-29.95,83.56],[-25.8,83.26],[-32.03,82.98],[-25.12,83.16],[-24.47,82.88],[-21.52,82.6],[-23.12,82.33],[-29.89,82.05],[-25.15,82],[-24.29,81.7],[-22.94,82.03],[-21.13,81.93],[-21.5,81.44],[-23.12,80.78],[-19.63,81.64],[-17.45,81.4],[-15.45,81.84],[-11.42,81.48],[-14.45,80.99],[-14.23,80.87],[-14.5,80.76],[-16.76,80.57],[-15.94,80.43],[-16.49,80.25],[-19.43,80.26],[-20.15,80.01],[-20.07,79.77],[-19.35,79.73],[-19.41,79.35],[-18.99,79.18],[-21.13,78.66],[-20.95,78.55],[-21.73,77.71],[-20.86,77.91],[-19.49,77.72],[-19.29,77.59],[-20.68,77.62],[-20.23,77.37],[-18.44,77.26],[-18.34,76.92],[-22.61,76.68],[-21.49,76.27],[-19.86,76.12],[-19.4,75.49],[-19.52,75.18],[-22.23,75.12],[-20.99,75.07],[-20.78,74.89],[-21.04,74.65],[-20.86,74.64],[-19.99,74.98],[-19.27,74.34],[-21.13,74.11],[-21.95,74.24],[-21.76,74.48],[-21.98,74.57],[-22.33,74.29],[-22.13,73.99],[-20.37,73.85],[-20.64,73.46],[-22.35,73.27],[-24.16,73.77],[-24.68,73.6],[-25.52,73.85],[-24.78,73.54],[-26.06,73.25],[-27.27,73.44],[-26.54,73.25],[-27.56,73.14],[-24.13,73.41],[-22.04,72.92],[-22.29,72.12],[-24.07,72.5],[-24.63,73.04],[-26.66,72.72],[-24.81,72.9],[-24.7,72.51],[-25.2,72.39],[-21.96,71.74],[-22.48,71.38],[-21.75,71.48],[-21.52,70.53],[-22.38,70.46],[-22.44,70.86],[-22.69,70.44],[-23.33,70.45],[-23.97,70.65],[-24.56,71.22],[-27.09,71.63],[-25.84,71.48],[-25.67,71.27],[-26.72,70.95],[-28.4,70.99],[-27.98,70.84],[-29.07,70.44],[-26.51,70.4],[-27.63,70.03],[-27.38,69.99],[-25.53,70.35],[-22.21,70.11],[-23.87,69.74],[-23.74,69.59],[-24.3,69.58],[-26.48,68.68],[-30.98,68.06],[-32.33,68.44],[-32.16,67.99],[-33.16,67.63],[-34.63,66.43],[-35.19,66.25],[-35.87,66.44],[-35.63,66.14],[-37.76,65.59],[-38,65.71],[-37.28,66.3],[-38.15,66.39],[-37.75,66.26],[-38.14,65.9],[-38.52,66.01],[-38.2,65.71],[-40.17,65.56],[-39.58,65.34],[-41.09,65.03],[-40.18,64.48],[-40.78,64.22],[-41.58,64.3],[-40.62,64.13],[-40.55,63.73],[-41.39,63.06],[-42.18,63.21],[-41.64,62.97],[-41.91,62.74],[-42.94,62.72],[-42.15,62.57],[-42.32,62.15],[-42.11,61.86],[-42.59,61.72],[-42.32,61.68],[-43.04,60.52],[-43.92,60.6],[-43.21,60.39],[-43.12,60.06],[-43.95,60.02],[-43.66,59.86],[-43.91,59.81],[-44.41,59.92],[-44.22,60.27],[-44.61,60.02],[-45.38,60.2],[-44.76,60.67],[-45.38,60.44],[-46.05,60.61],[-45.87,61.22],[-46.87,60.82],[-48.18,60.77],[-47.77,61],[-48.39,61.01],[-49.29,61.59],[-49.38,61.89],[-48.83,62.08],[-49.62,62],[-49.55,62.23],[-50.32,62.47],[-49.79,63.05],[-50.39,62.82],[-51.47,63.64],[-51.55,64.01],[-50.26,64.21],[-51.71,64.2],[-50.68,64.68],[-50.01,64.45],[-50.12,64.7],[-50.96,65.2],[-50.72,64.8],[-51.26,64.76],[-51.92,64.22],[-52.54,65.33],[-51.09,65.78],[-52.55,65.46],[-53.2,65.59],[-53.11,65.98],[-53.39,66.05],[-51.23,66.88],[-53.61,66.15],[-53.42,66.65],[-52.39,66.88],[-53.69,66.99],[-53.8,67.42],[-52.51,67.76],[-50.61,67.53],[-51.17,67.69],[-50.97,67.81],[-52.35,67.84],[-53.74,67.55],[-53.15,68.21],[-51.6,68.06],[-51.17,68.39],[-53.38,68.3],[-53.04,68.61],[-51.13,68.6],[-50.8,68.79],[-51.25,68.74],[-51.09,69.13],[-50.3,69.17],[-51.08,69.21],[-50.32,70.03],[-52.26,70.06],[-54.53,70.7],[-52.8,70.75],[-50.68,70.4],[-51.77,71.01],[-51.02,71],[-53.12,71.31],[-51.78,71.68],[-53.44,71.58],[-53.15,71.81],[-53.81,72.29],[-53.65,72.36],[-53.93,72.32],[-53.48,71.85],[-54.02,71.66],[-53.96,71.46],[-55.59,71.55],[-55.32,72.11],[-54.84,72.38],[-55.58,72.18],[-55.29,72.35],[-55.6,72.45],[-54.92,72.57],[-54.74,72.87],[-55.67,73.01],[-55.29,73.33],[-56.1,73.56],[-55.84,73.76],[-56.23,74.13],[-57.23,74.12],[-56.26,74.53],[-58.57,75.35],[-58.25,75.51],[-58.52,75.69],[-63.29,76.35],[-67.08,76.2],[-66.83,75.97],[-68.32,76.09],[-69.48,76.4],[-68.11,76.65],[-69.89,76.83],[-69.69,76.99],[-70.61,76.82],[-71.16,77.07],[-68.14,77.38],[-66.39,77.28],[-66.27,77.51],[-66.82,77.69],[-69.35,77.47],[-70.56,77.72],[-70.12,77.84],[-71.27,77.81],[-72.82,78.19],[-71.65,78.62],[-65.82,79.17],[-64.79,80],[-64.18,80.1],[-66.84,80.08],[-67.19,80.28],[-64.51,81],[-63.06,80.89],[-63.24,81.08],[-62.99,81.21],[-61.44,81.13],[-61.1,81.4],[-61.2,81.75],[-60.43,81.92],[-56.62,81.36],[-59.27,81.98],[-54.55,82.35],[-53.67,82.16],[-53.56,81.65],[-53.04,81.87],[-53.02,82.32],[-50.9,81.89],[-49.54,81.92],[-50.99,82.46],[-50.04,82.47],[-44.73,81.78],[-44.33,82.47],[-45.56,82.75],[-41.37,82.75],[-46.48,82.95],[-43.01,83.26],[-41.3,83.1],[-40.36,83.33],[-38.15,83],[-37.94,83.16],[-38.75,83.37],[-30.7,83.59]],[[-86.59,71.01],[-84.82,71.03],[-84.7,71.63],[-85.91,71.99],[-85.32,72.23],[-84.28,72.04],[-85.65,72.72],[-85.26,72.95],[-84.26,72.8],[-85.46,73.11],[-83.41,73.63],[-81.6,73.7],[-80.28,72.77],[-81.23,72.31],[-80.61,72.45],[-80.95,71.92],[-79.88,72.18],[-80.11,72.33],[-79.83,72.45],[-79,72.27],[-79.01,72.04],[-78.58,71.88],[-78.86,72.1],[-78.7,72.35],[-77.52,72.18],[-78.42,72.57],[-77.25,72.74],[-75.07,72.32],[-75.92,71.72],[-75.15,72.06],[-74.27,72.04],[-74.32,71.84],[-75.21,71.71],[-74.7,71.68],[-75,71.22],[-74.49,71.65],[-73.87,71.77],[-73.71,71.72],[-74.2,71.4],[-73.71,71.59],[-73.18,71.28],[-73.28,71.54],[-72.9,71.68],[-71.64,71.52],[-71.19,71.28],[-72.63,70.83],[-70.67,71.05],[-70.76,70.79],[-71.89,70.43],[-71.28,70.5],[-71.43,70.13],[-70.98,70.58],[-70.08,70.83],[-68.5,70.61],[-68.48,70.41],[-70.06,70.04],[-68.78,70.2],[-69.01,69.98],[-68.74,69.94],[-67.86,70.28],[-67.19,69.76],[-69.25,69.51],[-66.68,69.26],[-69.04,69.1],[-67.75,69.04],[-67.88,68.78],[-69.32,68.86],[-66.71,68.45],[-67.03,68.33],[-66.92,68.07],[-66.21,68.28],[-66.53,67.85],[-65.94,68.07],[-65.51,67.97],[-65.4,67.68],[-65.41,67.88],[-64.98,68.04],[-65.02,67.79],[-63.85,67.57],[-64.59,67.32],[-63.04,67.23],[-63.7,66.82],[-62.12,67.05],[-61.3,66.65],[-62.12,66.64],[-61.58,66.41],[-61.86,66.31],[-62.55,66.41],[-61.99,66.03],[-62.59,66.03],[-62.38,65.83],[-62.66,65.64],[-63.46,65.85],[-63.65,65.66],[-63.34,65.62],[-63.36,65.23],[-63.61,64.93],[-64.35,65.17],[-64.27,65.4],[-64.55,65.12],[-65.4,65.76],[-64.45,66.32],[-65.82,66],[-65.66,66.2],[-66.06,66.13],[-66.99,66.63],[-67.31,66.57],[-67.23,66.31],[-67.88,66.47],[-67.18,66.03],[-67.35,65.93],[-68.75,66.2],[-68.22,66.08],[-67.87,65.77],[-67.94,65.56],[-67.12,65.44],[-67.34,65.35],[-66.7,64.82],[-66.63,65],[-66.21,64.72],[-65.94,64.89],[-65.43,64.73],[-65.27,64.63],[-65.53,64.51],[-65.08,64.44],[-65.58,64.29],[-64.68,64.03],[-64.8,63.92],[-64.41,63.71],[-64.67,63.24],[-65.19,63.76],[-64.67,62.92],[-65.16,62.93],[-65.11,62.63],[-66.66,63.26],[-66.72,63.08],[-67.89,63.73],[-67.72,63.42],[-68.91,63.7],[-65.98,62.21],[-66.33,61.87],[-71.35,63.07],[-71.99,63.42],[-71.38,63.58],[-72.5,63.82],[-73.45,64.4],[-73.27,64.58],[-74.07,64.43],[-74.68,64.83],[-74.92,64.77],[-74.7,64.5],[-76.86,64.24],[-78.17,64.62],[-78.05,64.98],[-77.36,65.2],[-77.33,65.45],[-75.83,65.23],[-75.45,64.84],[-75.36,65.01],[-75.8,65.3],[-73.55,65.48],[-74.42,66.17],[-72.22,67.26],[-73.28,68.36],[-73.82,68.36],[-73.85,68.7],[-74.42,68.58],[-74.91,68.82],[-74.85,69.07],[-76.59,68.7],[-76.56,69.01],[-75.65,69.21],[-76.52,69.52],[-76.23,69.66],[-77.09,69.64],[-76.86,69.78],[-77.59,69.85],[-77.77,70.24],[-79.07,70.6],[-79.4,70.4],[-78.81,70.18],[-79.09,69.93],[-81.65,70.1],[-80.92,69.73],[-81.56,69.94],[-85.78,70.04],[-86.32,70.15],[-86.4,70.47],[-87.9,70.25],[-88.85,70.52],[-89.46,71.06],[-87.14,71.01],[-89.69,71.42],[-90.02,71.95],[-89.66,72.17],[-89.82,72.47],[-88.71,73.4],[-86.77,73.83],[-85.01,73.78],[-86.67,72.76],[-86.32,72.46],[-86.22,71.9],[-85.02,71.35],[-86.47,71.04]],[[-69.49,83.02],[-66.42,82.93],[-68.47,82.65],[-64.9,82.9],[-63.5,82.79],[-63.64,82.71],[-63.09,82.56],[-63.25,82.45],[-61.21,82.34],[-68.69,81.29],[-64.78,81.49],[-69.55,80.38],[-70.71,80.54],[-70.26,80.23],[-72.06,80.12],[-70.56,80.07],[-71.39,79.76],[-74.39,79.87],[-74.66,79.84],[-73.2,79.6],[-76.9,79.51],[-74.48,79.23],[-74.53,79.05],[-78.58,79.08],[-74.43,78.72],[-76.42,78.51],[-75.19,78.33],[-75.97,77.99],[-78.01,77.95],[-78.08,77.52],[-78.49,77.37],[-81.66,77.53],[-81.28,77.37],[-82.06,77.3],[-79.5,77.2],[-79.22,76.94],[-78,76.85],[-78.28,76.57],[-80.8,76.17],[-80.97,76.47],[-82.53,76.72],[-82.23,76.47],[-83.89,76.45],[-84.22,76.67],[-84.28,76.36],[-86.45,76.58],[-86.68,76.38],[-87.49,76.59],[-87.5,76.39],[-88.4,76.41],[-88.49,76.77],[-88.54,76.42],[-89.57,76.49],[-89.5,76.83],[-88.56,77.07],[-86.81,77.19],[-87.68,77.44],[-88.02,77.78],[-86.76,77.86],[-84.49,77.37],[-83.61,77.44],[-82.59,77.99],[-83.78,77.53],[-84.86,77.5],[-85.29,77.56],[-85.55,77.93],[-84.22,78.18],[-84.91,78.24],[-84.78,78.53],[-85.59,78.11],[-86.22,78.08],[-85.92,78.34],[-87.55,78.18],[-86.81,78.77],[-81.75,78.98],[-84.41,79],[-84.57,79.07],[-83.58,79.05],[-86.42,79.84],[-86.5,80.26],[-83.72,80.23],[-80.48,79.61],[-80.12,79.67],[-81.01,79.69],[-82.99,80.32],[-76.86,80.87],[-78.72,80.95],[-76.88,81.43],[-81.01,80.66],[-85.15,80.52],[-86.62,80.63],[-83.29,81.15],[-85.78,81.04],[-87.71,80.66],[-89.26,80.91],[-84.94,81.29],[-89.62,81.03],[-89.98,81.12],[-89.21,81.25],[-89.68,81.33],[-89.43,81.39],[-87.6,81.53],[-90.31,81.4],[-90.61,81.43],[-89.82,81.63],[-91.68,81.64],[-88.06,82.1],[-85.05,81.98],[-86.62,82.22],[-84.9,82.45],[-79.43,81.85],[-82.45,82.39],[-81.68,82.52],[-82.12,82.63],[-80.81,82.59],[-81.18,82.75],[-81.01,82.78],[-78.75,82.68],[-80.16,82.91],[-79.89,82.94],[-77.48,82.88],[-76.01,82.54],[-75.57,82.61],[-77.13,83.01],[-74.41,83.01],[-72.66,82.72],[-73.44,82.95],[-69.57,83.02]],[[133.47,-0.73],[134.11,-0.85],[134.19,-2.31],[134.46,-2.83],[134.63,-2.54],[135.09,-3.35],[135.49,-3.34],[136.39,-2.27],[137.07,-2.11],[137.12,-1.84],[137.91,-1.48],[139.79,-2.35],[144.48,-3.83],[145.77,-4.82],[145.75,-5.4],[147.42,-5.97],[147.8,-6.31],[147.81,-6.7],[146.95,-6.88],[147.26,-7.46],[148.13,-8.1],[148.58,-9.05],[149.2,-9.03],[149.26,-9.5],[150.01,-9.69],[149.76,-9.81],[149.87,-10.01],[150.85,-10.24],[150.45,-10.31],[150.65,-10.52],[150.32,-10.65],[149.75,-10.35],[147.77,-10.07],[146.03,-8.08],[144.51,-7.57],[144.14,-7.76],[143.65,-7.46],[143.94,-7.95],[143.52,-8],[143.61,-8.2],[142.21,-8.2],[143.38,-8.76],[142.65,-9.33],[141.13,-9.22],[140,-8.2],[140.12,-7.92],[139.38,-8.19],[139.25,-7.98],[138.93,-8.26],[139.09,-7.59],[138.75,-7.25],[139.18,-7.19],[138.6,-6.94],[138.87,-6.86],[138.44,-6.34],[138.34,-5.68],[138.09,-5.71],[137.28,-4.95],[135.19,-4.45],[134.68,-4.08],[134.89,-3.94],[133.97,-3.82],[133.68,-3.48],[133.84,-3.05],[133.4,-3.9],[132.97,-4.09],[132.75,-3.29],[131.97,-2.79],[132.72,-2.79],[133.19,-2.44],[133.7,-2.62],[133.92,-2.1],[132.31,-2.24],[131.93,-1.56],[131,-1.42],[131.26,-0.86],[132.39,-0.36],[133.27,-0.64]],[[116.81,6.69],[117.23,6.94],[117.69,6.35],[117.5,5.88],[118,6.05],[117.97,5.71],[118.35,5.81],[119.26,5.37],[119.13,5.1],[118.26,4.99],[118.55,4.38],[117.5,4.13],[117.78,3.69],[117.06,3.62],[118.06,2.32],[117.79,2.03],[118.99,0.98],[118.53,0.81],[117.91,1.1],[117.52,0.24],[117.56,-0.77],[116.91,-1.22],[116.74,-1.04],[116.75,-1.33],[116.28,-1.79],[116.55,-2.41],[115.96,-3.59],[114.7,-4.17],[114.34,-3.24],[113.71,-3.46],[113.04,-2.93],[112.76,-3.32],[111.86,-3.55],[111.7,-2.89],[110.26,-2.97],[109.98,-1.28],[109.29,-0.85],[109.13,-0.45],[109.26,0.03],[108.91,0.79],[109.08,1.5],[109.63,2.03],[111.22,1.4],[111.04,1.63],[111.51,2.74],[112.99,3.16],[114.01,4.57],[114.99,5.02],[115.43,4.97],[115.42,5.41],[115.88,5.61],[116.78,6.99],[116.84,6.77]],[[-114.52,72.59],[-113.58,72.65],[-113.08,73],[-111.27,72.71],[-111.89,72.36],[-111.67,72.3],[-110.21,72.66],[-110.66,73.01],[-110.01,72.98],[-108.76,72.55],[-108.19,71.72],[-107.81,71.63],[-107.3,71.9],[-107.7,72.15],[-108.24,73.15],[-107.93,73.22],[-108.03,73.35],[-106.48,73.2],[-105.41,72.79],[-104.38,71.58],[-104.51,71.06],[-103.59,70.63],[-101.09,70.14],[-100.91,69.81],[-102.24,69.84],[-102.62,69.55],[-103.43,69.67],[-103.05,69.47],[-103.12,69.2],[-102.15,69.49],[-101.79,69.18],[-102.89,68.82],[-105.1,68.92],[-105.02,69.08],[-106.14,69.16],[-106.66,69.44],[-107.44,69],[-109.47,68.68],[-113.02,68.48],[-113.55,68.77],[-113.69,69.19],[-116.51,69.43],[-117.19,70.05],[-111.63,70.31],[-113.76,70.69],[-117.59,70.63],[-118.38,70.97],[-115.3,71.49],[-117.94,71.39],[-118.23,71.47],[-117.74,71.66],[-118.99,71.76],[-118.94,71.99],[-118.21,72.26],[-118.37,72.53],[-116.57,73.06],[-114.21,73.3],[-114.08,72.91],[-114.5,72.63]],[[49.54,-12.43],[49.94,-13.07],[50.41,-15.63],[50.19,-15.96],[49.89,-15.46],[49.66,-15.52],[49.84,-16.49],[49.45,-17.24],[49.36,-18.34],[47.18,-24.79],[46.73,-25.15],[45.11,-25.54],[44.03,-25],[43.26,-22.38],[43.5,-21.36],[44.4,-19.92],[43.98,-17.39],[44.48,-16.22],[46.16,-15.74],[46.4,-15.93],[46.47,-15.51],[46.94,-15.22],[47.1,-15.43],[47.35,-14.77],[47.48,-15.01],[47.97,-14.67],[47.77,-14.37],[47.94,-13.66],[48.26,-13.72],[48.8,-13.27],[48.79,-12.47],[49.21,-12.08],[49.48,-12.35]],[[96.49,5.23],[97.55,5.21],[98.31,4.09],[99.73,3.18],[100.31,2.47],[100.53,2.19],[100.82,1.99],[100.89,1.95],[100.83,2.24],[100.94,2.29],[101.05,2.26],[101.3,2.01],[101.48,1.69],[101.79,1.62],[102.39,0.84],[102.57,0.75],[102.85,0.72],[103.03,0.58],[103.07,0.49],[102.79,0.3],[102.55,0.22],[102.78,0.24],[103.34,0.51],[103.48,0.48],[103.67,0.29],[103.79,0.05],[103.43,-0.19],[103.53,-0.75],[104.38,-1.07],[104.51,-1.82],[104.85,-2.09],[104.65,-2.59],[105.4,-2.38],[106.04,-3.11],[105.89,-5.01],[105.82,-5.68],[105.75,-5.82],[105.62,-5.8],[105.52,-5.67],[104.64,-5.52],[104.6,-5.91],[101.58,-3.17],[100.89,-2.25],[100.31,-0.83],[99.16,0.35],[98.6,1.87],[97.7,2.36],[96.97,3.58],[95.58,4.66],[95.23,5.56],[96.25,5.27]],[[-3.11,58.52],[-3.99,57.96],[-3.86,57.82],[-4.13,57.58],[-1.96,57.68],[-1.78,57.47],[-2.09,57.1],[-2.26,56.86],[-2.59,56.56],[-3.31,56.36],[-2.89,56.4],[-2.65,56.32],[-2.67,56.25],[-2.98,56.19],[-3.36,56.03],[-3.79,56.09],[-3.61,56.02],[-3.05,55.95],[-2.84,56.03],[-2.6,56.03],[-2.15,55.9],[-1.65,55.57],[-1.23,54.7],[-0.08,54.12],[0.12,53.61],[-0.66,53.72],[0.13,53.47],[0.35,53.16],[0.21,53.03],[0.05,52.91],[0.33,52.81],[0.52,52.94],[1.66,52.75],[1.75,52.47],[1.32,51.96],[1.23,51.97],[1.28,51.84],[1.19,51.8],[0.96,51.81],[0.75,51.73],[0.9,51.69],[0.89,51.57],[0.42,51.47],[0.53,51.49],[0.69,51.39],[0.89,51.36],[1.42,51.36],[1.4,51.18],[1.05,51.05],[0.96,50.93],[0.77,50.93],[0.2,50.76],[-0.2,50.82],[-0.79,50.76],[-1.42,50.9],[-1.33,50.82],[-1.52,50.75],[-3,50.72],[-3.4,50.63],[-3.68,50.24],[-3.79,50.23],[-4.2,50.39],[-4.73,50.29],[-5.01,50.16],[-5.12,50.04],[-5.23,50.02],[-5.43,50.11],[-5.62,50.05],[-5.66,50.13],[-5.34,50.25],[-4.89,50.53],[-4.58,50.78],[-4.52,50.98],[-4.3,51.03],[-4.19,51.19],[-3.84,51.23],[-3.26,51.19],[-3.04,51.25],[-2.43,51.74],[-3.29,51.39],[-3.56,51.41],[-3.89,51.59],[-4.24,51.57],[-4.09,51.66],[-4.39,51.74],[-4.6,51.74],[-4.9,51.63],[-5.12,51.71],[-5.2,51.86],[-5.26,51.88],[-5.09,52],[-4.38,52.2],[-4.15,52.33],[-4.1,52.92],[-4.68,52.84],[-3.81,53.3],[-3.32,53.35],[-3.1,53.26],[-3.17,53.39],[-3.07,53.43],[-2.92,53.3],[-2.75,53.31],[-2.91,53.35],[-3.07,53.51],[-2.93,53.73],[-3.03,53.77],[-3.03,53.91],[-2.9,53.96],[-2.87,54.18],[-3.17,54.13],[-3.57,54.47],[-3.59,54.56],[-3.47,54.77],[-3.27,54.91],[-3.04,54.95],[-3.55,54.95],[-3.96,54.78],[-4.3,54.84],[-4.91,54.69],[-5.17,54.92],[-4.68,55.5],[-4.73,55.6],[-4.87,55.87],[-4.58,55.94],[-4.67,55.97],[-4.8,56.16],[-5.23,55.89],[-5.09,56.2],[-5.77,55.36],[-5.19,56.76],[-5.65,56.53],[-6.13,56.71],[-5.59,57.1],[-5.82,57.44],[-5.58,57.55],[-5.69,57.78],[-5.16,57.88],[-5.41,58.07],[-5.01,58.26],[-4.98,58.58],[-3.06,58.59]],[[141.23,41.37],[141.45,41.4],[141.43,40.72],[141.8,40.29],[141.98,39.43],[141.47,38.4],[140.96,38.15],[141,37.11],[140.79,36.85],[140.63,36.5],[140.57,36.23],[140.62,36.06],[140.87,35.72],[140.64,35.66],[140.46,35.51],[140.36,35.18],[140.06,35.04],[139.92,34.9],[139.8,34.96],[139.84,35.01],[139.83,35.3],[140.1,35.59],[139.99,35.67],[139.83,35.66],[139.77,35.49],[139.65,35.41],[139.74,35.25],[139.68,35.15],[139.47,35.3],[139.25,35.28],[139.13,35.15],[139.09,34.84],[138.98,34.7],[138.84,34.62],[138.76,34.7],[138.8,34.97],[138.9,35.02],[138.72,35.12],[138.58,35.09],[138.35,34.85],[138.19,34.6],[137.06,34.58],[137.3,34.73],[137.1,34.76],[136.96,34.84],[136.94,34.72],[136.87,34.73],[136.85,34.98],[136.9,35.03],[136.8,35.05],[136.69,34.98],[136.53,34.68],[136.88,34.43],[136.85,34.32],[136.33,34.18],[135.92,33.56],[135.69,33.49],[135.45,33.55],[135.13,34.01],[135.1,34.29],[135.31,34.42],[135.42,34.62],[135.04,34.63],[134.74,34.77],[134.25,34.71],[133.97,34.53],[132.31,34.32],[132.14,33.84],[131.74,34.05],[130.92,33.98],[131,34.39],[131.35,34.41],[132.75,35.45],[134.21,35.54],[134.46,35.63],[135.18,35.75],[135.27,35.72],[135.23,35.59],[135.27,35.55],[135.68,35.5],[136.01,35.68],[136.09,35.77],[136.01,35.99],[136.07,36.12],[136.7,36.74],[136.84,37.38],[137.32,37.52],[136.9,37.12],[137.3,36.75],[138.32,37.22],[139.36,38.1],[140.04,39.41],[140,39.86],[139.74,39.92],[140.01,40.26],[139.92,40.6],[140.39,41.23],[140.75,40.83],[141.12,40.88],[141.25,41.21],[140.8,41.25],[140.94,41.5],[141.11,41.46]],[[-119.74,74.11],[-117.51,74.23],[-115.39,73.5],[-118.96,72.68],[-120.18,72.21],[-120.62,71.51],[-122.84,71.1],[-124.01,71.68],[-125.84,71.98],[-124.99,72.59],[-124.97,72.84],[-124.57,72.94],[-124.8,73.13],[-123.8,73.77],[-124.7,74.35],[-121.5,74.54],[-119.56,74.23],[-119.74,74.13]],[[-91.89,81.13],[-90.64,80.59],[-89.24,80.51],[-88.86,80.17],[-88.2,80.11],[-88.61,80.26],[-88.52,80.42],[-87.67,80.37],[-87.92,80.1],[-86.98,79.89],[-87.3,79.58],[-85.65,79.61],[-85.04,79.28],[-87.62,78.68],[-87.92,78.75],[-87.83,79.05],[-88.04,79],[-88.25,78.67],[-87.98,78.54],[-88.74,78.58],[-88.79,78.19],[-90.04,78.61],[-89.49,78.17],[-91.41,78.19],[-92.85,78.46],[-91.87,78.54],[-93.27,78.61],[-93.64,78.75],[-93.16,78.78],[-94.17,78.97],[-91.3,79.37],[-95.1,79.29],[-95.73,79.42],[-94.4,79.74],[-95.86,79.67],[-96.77,80.14],[-94.26,80.2],[-96.39,80.32],[-95.55,80.37],[-96.15,80.55],[-95.93,80.72],[-93.93,80.56],[-95.51,80.84],[-95.27,81],[-93.24,81.13],[-94.18,81.34],[-92,81.18]],[[-15.54,66.23],[-14.6,66.38],[-15.11,66.1],[-14.7,66.02],[-14.83,65.76],[-14.39,65.79],[-14.47,65.57],[-13.62,65.52],[-13.8,65.35],[-13.57,65.07],[-14.63,64.42],[-18.08,63.5],[-20.49,63.69],[-20.41,63.81],[-20.65,63.74],[-21.14,63.89],[-21.09,63.93],[-21.15,63.94],[-21.45,63.86],[-22.65,63.83],[-22.69,63.87],[-22.74,64.02],[-22.7,64.08],[-22.51,63.99],[-22.06,64.07],[-21.67,64.35],[-21.46,64.38],[-21.65,64.4],[-22.05,64.31],[-21.9,64.39],[-22,64.41],[-21.95,64.52],[-21.59,64.63],[-22.16,64.54],[-22.33,64.63],[-22.25,64.73],[-22.47,64.8],[-24.02,64.86],[-23.32,64.96],[-22.79,65.05],[-21.89,65.05],[-21.8,65.11],[-21.78,65.19],[-22.04,65.13],[-22.51,65.2],[-21.84,65.45],[-22.31,65.48],[-22.64,65.57],[-24.47,65.52],[-23.86,65.54],[-24.09,65.78],[-23.29,65.75],[-23.83,65.85],[-23.52,65.88],[-23.78,66.02],[-23.45,66.18],[-22.44,65.91],[-22.95,66.21],[-22.48,66.27],[-23.12,66.34],[-22.89,66.44],[-21.41,66.03],[-21.38,65.74],[-21.66,65.72],[-21.36,65.58],[-21.43,65.47],[-21.23,65.42],[-21.13,65.27],[-21.05,65.43],[-20.45,65.57],[-20.21,66.1],[-19.49,65.77],[-19.38,66.08],[-18.84,66.18],[-18.14,65.73],[-18.3,66.16],[-17.55,65.96],[-16.49,66.2],[-16.54,66.45],[-16.25,66.52],[-15.65,66.26]],[[-94.29,76.91],[-93.21,76.75],[-93.53,76.45],[-91.31,76.68],[-90.54,76.5],[-91.41,76.46],[-89.29,76.3],[-91.41,76.22],[-89.28,75.79],[-89.65,75.57],[-88.92,75.45],[-88.65,75.66],[-85.95,75.4],[-83.93,75.82],[-82.15,75.83],[-79.66,75.45],[-79.51,75.26],[-80.38,75.03],[-79.4,74.92],[-80.35,74.9],[-80.15,74.8],[-80.28,74.58],[-81.94,74.47],[-82.93,74.57],[-83.52,74.9],[-83.34,74.77],[-83.53,74.59],[-84.43,74.51],[-88.42,74.49],[-88.34,74.78],[-88.53,74.83],[-89.56,74.56],[-90.88,74.82],[-91.51,74.65],[-92.39,75.26],[-92.07,75.66],[-92.18,75.85],[-93.09,76.35],[-95.27,76.26],[-96.04,76.49],[-95.65,76.58],[-96.9,76.75],[-96.4,76.8],[-96.76,76.97],[-95.85,77.07],[-94.61,76.96]],[[173.12,-41.28],[173.95,-40.92],[173.8,-41.27],[174,-40.99],[174.3,-41.02],[174.04,-41.24],[174.37,-41.1],[174.07,-41.43],[174.21,-41.85],[172.53,-43.47],[173.1,-43.84],[172.04,-43.7],[172.18,-43.9],[171.24,-44.26],[170.78,-45.87],[169.69,-46.55],[169.1,-46.63],[168.38,-46.61],[167.54,-46.15],[166.83,-46.23],[166.92,-45.96],[166.49,-45.96],[167,-45.71],[166.73,-45.54],[166.87,-45.31],[167.16,-45.41],[167.03,-45.12],[167.91,-44.67],[168.37,-44.08],[169.18,-43.91],[171.04,-42.86],[172.27,-40.76],[172.94,-40.52],[172.7,-40.67],[173.07,-41.19]],[[16.79,79.91],[17.83,79.8],[17.67,79.39],[18.4,79.61],[18.82,79.43],[18.68,79.26],[20.61,79.11],[20.77,79.06],[20.5,78.98],[21.39,78.74],[19.15,78.38],[16.7,76.58],[14,77.51],[16.91,77.9],[14.09,77.77],[13.68,78.03],[17.17,78.42],[16.45,78.5],[16.78,78.66],[15.42,78.47],[15.38,78.77],[14.69,78.72],[14.43,78.49],[14.64,78.41],[13.15,78.24],[11.37,78.95],[12.4,78.95],[11.98,79.03],[11.98,79.29],[11.21,79.13],[10.68,79.76],[13.69,79.86],[13.92,79.76],[12.56,79.57],[13.96,79.34],[14.59,79.8],[16.34,78.98],[15.83,79.71],[16.25,80.05],[16.52,80.02]],[[67.77,76.24],[61.36,75.32],[59.67,74.61],[58.53,74.5],[58.62,74.23],[57.77,74.01],[57.76,73.77],[57.31,73.84],[57.54,73.66],[56.63,73.31],[54.3,73.35],[53.76,73.77],[55.34,74.42],[56.14,74.5],[55.58,74.63],[56.5,74.96],[55.81,75.12],[57.61,75.34],[58.88,75.86],[60.94,76.07],[61.2,76.28],[64.46,76.38],[67.53,77.01],[68.94,76.71],[68.16,76.28]],[[124.89,1],[124.43,0.47],[123.75,0.31],[120.58,0.53],[120.19,0.27],[120.06,-0.55],[120.67,-1.37],[121.15,-1.34],[121.58,-0.83],[121.97,-0.93],[123.17,-0.57],[123.43,-0.78],[123.38,-1],[122.9,-0.9],[122.25,-1.55],[121.36,-1.88],[122.29,-2.91],[122.25,-3.62],[122.85,-4.07],[122.87,-4.39],[122.12,-4.54],[122.04,-4.83],[121.59,-4.76],[121.62,-4.09],[120.89,-3.52],[121.05,-2.75],[120.65,-2.67],[120.26,-2.95],[120.43,-5.59],[119.56,-5.61],[119.36,-5.32],[119.62,-4.03],[119.47,-3.51],[118.92,-3.48],[118.78,-2.72],[119.32,-1.93],[119.51,-0.91],[119.71,-0.68],[119.84,-0.86],[119.72,-0.09],[120.27,0.97],[120.6,0.85],[121.08,1.33],[122.84,0.85],[123.85,0.84],[125.11,1.69],[125.23,1.5],[124.97,1.08]],[[-55.46,51.54],[-56.03,51.33],[-55.8,51.03],[-56.82,49.61],[-56.18,50.12],[-56.16,49.94],[-55.5,49.98],[-56.14,49.62],[-55.23,49.51],[-55.35,49.08],[-54.5,49.53],[-54.45,49.33],[-53.62,49.32],[-53.57,49.14],[-54.16,48.79],[-53.71,48.66],[-54.11,48.39],[-53.03,48.63],[-53.87,48.02],[-53.64,48.02],[-53.86,47.8],[-53.67,47.65],[-52.86,48.11],[-53.17,47.51],[-52.78,47.77],[-52.65,47.55],[-53.07,46.68],[-53.59,46.64],[-53.6,47.15],[-54.18,46.88],[-53.85,47.44],[-54.19,47.86],[-54.49,47.4],[-55.79,46.87],[-55.92,47.02],[-54.78,47.66],[-55.58,47.46],[-56.13,47.5],[-55.86,47.82],[-56.77,47.57],[-59.26,47.63],[-59.34,47.93],[-58.33,48.52],[-59.17,48.56],[-58.71,48.6],[-58.41,49.08],[-57.99,48.99],[-58.21,49.39],[-57.79,49.49],[-57.93,49.7],[-57.04,51.01],[-56.03,51.57],[-55.45,51.56]],[[-108.29,76.06],[-107.72,76],[-108.02,75.8],[-107.21,75.89],[-106.91,75.68],[-106.68,76.02],[-105.9,76.01],[-105.48,75.7],[-106.09,75.09],[-108.83,75.07],[-112.52,74.42],[-114.38,74.67],[-111.03,75.23],[-113.71,75.07],[-113.85,75.26],[-113.47,75.42],[-114.01,75.43],[-114.52,75.28],[-114.45,75.09],[-115.73,74.97],[-117.6,75.27],[-115.14,75.68],[-117.16,75.65],[-114.99,75.9],[-116.66,75.96],[-116.21,76.19],[-114.78,76.17],[-115.83,76.3],[-115,76.5],[-112.7,76.2],[-111.05,75.55],[-109.09,75.51],[-108.92,75.67],[-109.87,75.93],[-109.43,76.11],[-110.31,76.4],[-108.83,76.82],[-108.47,76.74],[-108.63,76.59],[-108.12,76.23],[-108.39,76.07]],[[173.27,-34.93],[174.37,-35.33],[174.54,-35.58],[174.51,-35.67],[174.58,-35.79],[174.39,-35.8],[174.8,-36.31],[174.75,-36.49],[174.82,-36.61],[174.72,-36.84],[174.89,-36.91],[174.95,-36.85],[175.3,-36.99],[175.38,-37.21],[175.54,-37.2],[175.49,-36.69],[175.38,-36.56],[175.46,-36.48],[175.68,-36.75],[175.77,-36.73],[175.99,-37.44],[176.12,-37.54],[176.13,-37.59],[176.03,-37.58],[176.11,-37.64],[177.27,-37.99],[178.01,-37.55],[178.53,-37.69],[177.91,-39.24],[177.08,-39.22],[176.84,-40.16],[175.98,-41.21],[175.31,-41.61],[174.87,-41.22],[174.64,-41.29],[175.21,-40.2],[173.76,-39.32],[174.57,-38.84],[174.65,-38.43],[174.84,-38.02],[174.8,-37.9],[174.93,-37.8],[174.73,-37.45],[174.77,-37.34],[174.71,-37.33],[174.59,-37.1],[174.66,-37.09],[174.73,-37.22],[174.81,-37.11],[174.93,-37.09],[174.78,-36.94],[174.6,-36.98],[174.47,-36.94],[174.38,-36.73],[174.19,-36.49],[174.4,-36.6],[174.46,-36.51],[174.36,-36.38],[174.39,-36.24],[174.27,-36.16],[174.25,-36.25],[174.03,-36.12],[173.92,-35.91],[173.92,-36.02],[174.17,-36.33],[174.15,-36.38],[174.06,-36.36],[173.41,-35.54],[173.63,-35.32],[173.31,-35.44],[172.71,-34.46],[173.04,-34.43],[173.24,-34.9]],[[-7.18,55.06],[-6.13,55.22],[-5.72,54.82],[-5.71,54.76],[-5.88,54.68],[-5.88,54.64],[-5.58,54.66],[-5.47,54.5],[-5.48,54.44],[-5.67,54.55],[-5.66,54.38],[-5.56,54.37],[-5.61,54.27],[-5.83,54.24],[-6.02,54.05],[-6.22,54.09],[-6.16,54.02],[-6.35,53.99],[-6.14,53.58],[-6.15,53.37],[-6.03,52.93],[-6.17,52.74],[-6.22,52.54],[-6.46,52.34],[-6.32,52.25],[-6.89,52.16],[-6.96,52.25],[-7.08,52.14],[-7.22,52.14],[-9.3,51.5],[-10.12,51.6],[-9.6,51.87],[-10.34,51.8],[-9.91,52.12],[-10.36,52.21],[-8.78,52.68],[-9.92,52.57],[-8.93,53.21],[-10.09,53.41],[-9.58,53.8],[-9.91,53.86],[-10.06,54.26],[-8.54,54.24],[-8.13,54.64],[-8.76,54.68],[-8.27,55.15],[-7.67,55.26],[-7.66,54.97],[-7.31,55.37],[-6.96,55.24],[-7.22,55.09]],[[107.37,-6.01],[107.56,-6.18],[108.14,-6.3],[108.29,-6.26],[108.42,-6.38],[108.78,-6.81],[110.43,-6.95],[110.84,-6.42],[112.54,-6.93],[113.01,-7.66],[114.41,-7.79],[114.58,-8.77],[113.25,-8.29],[111.51,-8.3],[107.29,-7.47],[106.53,-7.39],[106.41,-7.31],[106.52,-7.05],[105.94,-6.86],[105.48,-6.85],[105.26,-6.84],[105.34,-6.67],[105.37,-6.66],[105.4,-6.77],[105.48,-6.78],[105.66,-6.47],[105.79,-6.46],[105.87,-6.12],[106.07,-5.91],[106.83,-6.1],[107.01,-6.01],[107.05,-5.9],[107.33,-5.98]],[[142.76,54.39],[143.33,52.96],[143.19,51.95],[144.71,48.64],[144.05,49.25],[143.1,49.2],[142.56,47.74],[143.58,46.36],[143.43,46.03],[143.28,46.56],[142.58,46.7],[142.08,45.92],[141.83,46.45],[142.18,48.01],[141.86,48.75],[142.14,49.57],[142.21,51.22],[141.72,51.74],[141.66,52.27],[141.83,53.34],[142.53,53.45],[142.71,53.89],[142.34,54.28],[142.69,54.42]],[[-81.84,23.16],[-79.82,22.89],[-79.27,22.41],[-77.5,21.87],[-76.87,21.33],[-75.72,21.11],[-75.72,20.71],[-74.88,20.65],[-74.16,20.17],[-75.12,19.9],[-77.72,19.86],[-77.1,20.41],[-77.23,20.64],[-78.12,20.76],[-78.73,21.59],[-79.36,21.58],[-81.19,22.27],[-81.85,22.21],[-82.08,22.39],[-81.71,22.5],[-81.84,22.67],[-82.74,22.69],[-84.03,21.94],[-84.89,21.86],[-84.33,22.07],[-84.36,22.38],[-84.04,22.67],[-82.1,23.19]],[[143.82,44.12],[144.72,43.93],[145.37,44.33],[145.14,43.66],[145.34,43.3],[145.83,43.39],[143.97,42.88],[143.24,42],[141.85,42.58],[140.99,42.34],[140.48,42.56],[140.33,42.29],[141.15,41.81],[140.04,41.47],[139.86,42.58],[140.43,42.95],[140.39,43.3],[141.38,43.28],[141.76,44.48],[141.67,45.4],[141.94,45.51],[143.76,44.13]],[[121.1,18.62],[121.85,18.29],[122.27,18.46],[122.15,17.66],[122.52,17.12],[122.14,16.19],[121.69,16.02],[121.6,15.93],[121.56,15.83],[121.61,15.67],[121.39,15.32],[121.69,14.77],[121.63,14.58],[121.77,14.17],[121.91,14.02],[122.21,13.93],[122.29,14],[122.2,14.15],[122.49,14.32],[122.94,14.19],[123.1,13.75],[123.32,14.06],[123.86,13.8],[123.55,13.65],[123.79,13.11],[124.14,13.04],[124.06,12.57],[123.95,12.92],[123.31,13.04],[122.59,13.91],[122.6,13.19],[122.21,13.65],[122.07,13.79],[121.78,13.94],[121.5,13.84],[121.45,13.71],[121.34,13.65],[121.1,13.68],[120.93,13.76],[120.84,13.89],[120.73,13.9],[120.64,13.81],[120.62,14.19],[120.92,14.49],[120.94,14.65],[120.59,14.88],[120.55,14.77],[120.59,14.48],[120.44,14.45],[120.25,14.79],[120.08,14.85],[119.93,15.43],[119.77,16.25],[120.37,16.11],[120.6,18.51],[121.05,18.61]],[[-100,73.95],[-99.16,73.73],[-97.11,73.79],[-97,73.67],[-97.63,73.5],[-97.27,73.39],[-98.43,72.96],[-97.63,73.03],[-97.13,72.63],[-96.54,72.7],[-96.47,72.43],[-96.8,72.32],[-96.61,71.83],[-97.58,71.63],[-98.32,71.85],[-98.2,71.44],[-99.17,71.37],[-100.59,72.15],[-102.71,72.77],[-102.2,73.08],[-101.27,72.72],[-100.13,72.91],[-100.54,73.2],[-99.82,73.21],[-101.52,73.49],[-100.52,73.45],[-100.99,73.77],[-100.14,73.93]],[[55.32,73.31],[56.43,73.2],[56.12,72.81],[55.4,72.55],[55.52,72.22],[55.3,71.94],[56.45,71.11],[57.62,70.73],[56.26,70.71],[56.44,70.56],[53.72,70.81],[53.38,70.87],[54.16,71.12],[53.41,71.34],[53.41,71.53],[51.81,71.49],[51.44,71.78],[51.58,72.07],[52.62,72.3],[52.92,72.67],[52.55,72.77],[53.37,72.92],[53.25,73.18],[55.12,73.36]],[[-84.92,65.26],[-84.5,65.46],[-82.05,64.64],[-81.68,64.21],[-81.89,64.02],[-80.83,64.09],[-80.26,63.8],[-81.05,63.46],[-83.3,64.14],[-84.63,63.31],[-85.39,63.12],[-85.77,63.7],[-87.18,63.6],[-86.25,64.14],[-86.37,64.57],[-85.81,65.83],[-85.24,65.8],[-85.06,65.44]],[[126.01,9.32],[126.31,8.95],[126.14,8.6],[126.46,8.2],[126.58,7.25],[126.19,6.85],[126.19,6.31],[125.69,7.26],[125.38,6.69],[125.67,5.98],[125.35,5.6],[125.23,6.07],[124.93,5.88],[124.08,6.4],[123.99,6.99],[124.21,7.4],[123.67,7.82],[123.39,7.41],[122.62,7.76],[122.14,6.95],[121.9,7.07],[122.24,7.94],[122.91,8.16],[123.44,8.7],[123.85,8.43],[123.8,8.05],[124.4,8.6],[124.73,8.56],[124.87,8.97],[125.5,9.01],[125.47,9.76],[125.96,9.43]],[[140.05,75.83],[140.82,75.63],[140.99,75.96],[141.49,76.14],[145.36,75.53],[144.02,75.04],[142.82,75.27],[142.7,75.45],[142.94,75.71],[142.31,75.69],[142.09,75.66],[142.2,75.39],[143.13,74.97],[139.68,74.96],[139.1,74.66],[138.09,74.8],[136.95,75.33],[137.29,75.35],[137.27,75.75],[137.71,75.76],[137.56,75.96],[138.21,76.12],[138.92,76.2],[139.74,75.95]],[[-93.17,74.16],[-90.36,73.87],[-92.12,72.75],[-94.21,72.76],[-93.54,72.44],[-94.14,72],[-95.19,72.03],[-95.6,72.88],[-95.63,73.7],[-94.7,73.66],[-95.15,73.91],[-94.97,74.04],[-93.41,74.18]],[[145.04,-40.79],[146.32,-41.16],[148.22,-40.85],[148.34,-42.22],[148.22,-41.97],[148.02,-42.26],[147.98,-43.16],[147.3,-42.79],[146.87,-43.61],[146.04,-43.55],[146.21,-43.32],[145.49,-42.93],[145.2,-42.23],[145.52,-42.35],[144.77,-41.39],[144.72,-40.67],[144.82,-40.72]],[[20.9,80.25],[22.29,80.05],[22.45,80.4],[23.01,80.47],[23.32,80.42],[23.11,80.19],[24.4,80.36],[26.86,80.16],[27.2,79.91],[23.95,79.19],[20.13,79.49],[19.68,79.59],[20.78,79.75],[18.73,79.76],[18.25,79.93],[18.86,80.04],[17.92,80.14],[19.34,80.12],[19.54,80.16],[19.18,80.33],[19.75,80.23],[19.73,80.48],[20.69,80.3]],[[-71.96,19.72],[-70.95,19.91],[-69.96,19.67],[-69.74,19.3],[-69.23,19.27],[-69.62,19.12],[-68.68,18.9],[-68.36,18.54],[-68.69,18.21],[-69.27,18.44],[-71.03,18.27],[-71.44,17.63],[-72.06,18.23],[-73.51,18.25],[-73.89,18.04],[-74.46,18.39],[-74.23,18.66],[-72.38,18.57],[-72.81,19.07],[-72.7,19.44],[-73.44,19.72],[-72.88,19.93],[-72.22,19.74]],[[-69.17,-52.67],[-68.63,-52.65],[-68.24,-53.08],[-68.49,-53.26],[-67.29,-54.05],[-66.24,-54.53],[-65.18,-54.68],[-66.51,-55.03],[-71.9,-54.6],[-70.8,-54.33],[-70.31,-54.53],[-70.86,-54.11],[-70.53,-53.63],[-70.38,-53.99],[-70.63,-54],[-70.24,-54.35],[-69.05,-54.43],[-70.15,-53.89],[-69.39,-53.37],[-70.21,-53.41],[-70.46,-53.21],[-70.13,-52.94],[-70.38,-52.75],[-69.94,-52.82],[-69.5,-52.49],[-69.41,-52.49]],[[97.67,80.16],[98.02,80.02],[97.65,79.76],[98.6,80.05],[99.95,79.85],[99.68,79.32],[99.04,79.29],[99.93,78.96],[97.56,78.83],[93.07,79.5],[94.99,80.1],[97.59,80.17]],[[-115.55,77.36],[-116.33,77.14],[-115.81,76.94],[-116.25,76.9],[-115.94,76.71],[-117,76.53],[-117.23,76.28],[-117.99,76.41],[-117.88,76.8],[-118.79,76.51],[-118.62,76.37],[-118.99,76.15],[-119.58,76.33],[-119.74,76.12],[-119.54,75.98],[-119.91,75.86],[-120.41,75.83],[-120.85,76.18],[-122.4,75.94],[-122.9,76.13],[-119.09,77.3],[-116.84,77.34],[-117.04,77.46],[-116.51,77.55],[-116.01,77.46]],[[79.98,9.81],[80.71,9.37],[81.83,7.43],[81.77,6.61],[81.38,6.24],[80.73,5.98],[80.5,5.95],[80.27,6.01],[80.1,6.15],[79.86,6.83],[79.71,8.07],[79.75,8.29],[79.75,8.05],[79.81,8.05],[79.85,8.41],[80.08,9.58],[80.43,9.48],[79.97,9.79]],[[-97.7,76.47],[-97.53,76.11],[-97.89,75.76],[-97.41,75.67],[-97.34,75.42],[-97.88,75.42],[-97.66,75.15],[-98.07,75.2],[-97.99,75.05],[-100.23,75.01],[-100.48,75.19],[-100.14,75.25],[-100.73,75.35],[-99.19,75.7],[-102.8,75.6],[-102.15,75.87],[-100.97,75.8],[-101.87,76.08],[-101.56,76.24],[-102.14,76.28],[-101.79,76.45],[-99.87,75.92],[-99.69,75.96],[-100.11,76.12],[-99.54,76.15],[-100.89,76.48],[-100.07,76.63],[-98.89,76.47],[-99.02,76.61],[-98.71,76.69],[-97.72,76.5]],[[96.53,81.08],[97.86,80.7],[97.11,80.61],[97.42,80.32],[97.17,80.24],[93.87,80.01],[91.53,80.36],[92.83,80.62],[93.26,80.79],[92.61,80.81],[93.36,81.03],[95.16,81.27],[96.47,81.1]],[[-103.43,79.32],[-102.58,78.88],[-101.7,79.08],[-100.01,78.73],[-99.58,78.56],[-99.75,78.3],[-99,78],[-99.96,77.79],[-101.07,78.19],[-104.51,78.29],[-105,78.52],[-103.57,78.54],[-104.02,78.63],[-103.37,78.74],[-104.18,78.78],[-103.88,78.9],[-104.15,78.99],[-104.9,78.81],[-104.75,79.03],[-105.58,79.11],[-105.39,79.32],[-103.71,79.35]],[[102.88,79.25],[102.41,78.84],[103.8,79.15],[105.34,78.59],[104.74,78.34],[99.29,78.04],[100.42,78.75],[100.95,78.79],[101.05,79.12],[101.59,79.35],[103.1,79.3],[102.94,79.27]],[[131.18,33.6],[131.69,33.6],[131.54,33.27],[131.9,33.25],[132.01,32.92],[131.34,31.4],[131.07,31.44],[130.69,31.01],[130.78,31.71],[130.59,31.18],[130.15,31.41],[130.55,32.83],[130.24,33.18],[130.34,32.7],[129.77,32.57],[129.68,33.06],[129.99,32.85],[129.58,33.24],[130.72,33.93],[131.06,33.67]],[[-127.2,50.64],[-125.48,50.32],[-124.83,49.53],[-123.85,49.12],[-123.5,48.58],[-123.41,48.7],[-123.29,48.46],[-123.31,48.41],[-123.45,48.43],[-123.57,48.32],[-125.12,48.76],[-124.81,49.21],[-125.49,48.93],[-125.93,49.4],[-126.52,49.4],[-126.54,49.59],[-126.13,49.67],[-127.12,49.88],[-127.25,50.14],[-127.86,50.13],[-127.91,50.45],[-127.49,50.41],[-127.46,50.58],[-128.35,50.7],[-127.92,50.86],[-127.71,50.82]],[[121.01,22.62],[120.84,21.92],[120.08,23.09],[120.13,23.65],[120.63,24.48],[121.04,25.03],[121.59,25.28],[121.91,25.06],[121.93,24.97],[121.82,24.82],[121.83,24.53],[121.64,24.13],[121.52,23.67],[121.16,22.78]],[[-79.54,73.65],[-77.21,73.5],[-76.09,72.88],[-79.5,72.76],[-80.78,73.33],[-80.86,73.67],[-79.89,73.7]],[[-49.63,-0.23],[-48.39,-0.3],[-48.83,-1.39],[-49.8,-1.79],[-50.51,-1.79],[-50.79,-0.91],[-50.65,-0.27],[-50.25,-0.12]],[[110.89,19.99],[111.01,19.66],[110.02,18.42],[109.52,18.22],[108.7,18.54],[108.67,19.3],[109.26,19.88],[110.65,20.14],[110.81,20.02]],[[151.92,-4.3],[152.41,-4.34],[152.35,-4.82],[151.98,-5.07],[152.08,-5.46],[151.52,-5.55],[150.47,-6.26],[149.65,-6.29],[148.34,-5.67],[148.43,-5.47],[149.83,-5.52],[150.09,-5.01],[150.18,-5.52],[150.74,-5.51],[151.67,-4.88],[151.59,-4.2],[151.87,-4.26]],[[-97.44,69.64],[-95.27,68.83],[-96.6,68.46],[-99.56,69.03],[-98.5,69.31],[-98.55,69.57],[-98.04,69.46],[-98.3,69.67],[-98.08,69.83],[-97.47,69.67]],[[21.61,78.6],[22.04,78.58],[22.3,78.23],[23.45,78.15],[23.12,77.99],[24.9,77.76],[22.8,77.28],[22.43,77.32],[22.69,77.55],[21.05,77.44],[20.87,77.57],[21.65,77.92],[20.23,78.48],[21.45,78.6]],[[15.58,38.22],[15.1,37.46],[15.29,37.06],[15.11,36.69],[14.37,36.97],[14.14,37.1],[13.8,37.14],[12.92,37.57],[12.64,37.59],[12.44,37.82],[12.55,38.05],[12.74,38.18],[12.9,38.03],[13.16,38.19],[13.35,38.18],[13.38,38.13],[13.79,37.98],[14.05,38.04],[14.51,38.05],[14.79,38.17],[15.63,38.27]],[[9.63,40.88],[9.8,40.5],[9.56,39.17],[9.06,39.24],[8.97,38.96],[8.65,38.93],[8.42,39.21],[8.55,39.84],[8.2,40.87],[9.23,41.26],[9.57,40.91]],[[127.3,-8.42],[125.41,-9.28],[124.43,-10.15],[123.61,-10.27],[123.71,-9.62],[125.18,-8.65],[127.26,-8.39]],[[-93.54,75.03],[-93.57,74.67],[-94.54,74.64],[-96.6,75.06],[-95.95,75.44],[-94.88,75.63],[-93.91,75.42],[-93.55,75.05]],[[134.36,34.26],[134.64,34.23],[134.68,33.85],[134.74,33.82],[134.38,33.61],[134.18,33.25],[133.69,33.52],[133.29,33.36],[132.87,32.75],[132.49,32.92],[132.41,33.43],[132.03,33.34],[132.94,34.1],[133.47,33.97],[133.95,34.35],[134.07,34.36],[134.22,34.32]],[[-75.67,68.32],[-75.06,68.14],[-75.13,67.54],[-75.4,67.37],[-76.95,67.25],[-77.31,67.69],[-76.69,68.26],[-75.87,68.34]],[[-96.21,78.53],[-94.92,78.39],[-95.33,78.22],[-94.93,78.08],[-96.99,77.81],[-97.66,78.09],[-96.94,78.15],[-98.05,78.33],[-98.34,78.75],[-96.26,78.55]],[[-52.73,69.94],[-51.9,69.6],[-53.75,69.26],[-54.18,69.4],[-53.66,69.47],[-53.83,69.54],[-54.92,69.71],[-54.79,69.95],[-54.32,69.94],[-54.83,70.13],[-54.37,70.32],[-53.1,70.14]],[[-110.46,78.1],[-109.62,78.06],[-110.86,77.83],[-110.15,77.76],[-110.2,77.53],[-111.95,77.34],[-113.17,77.53],[-113.28,77.81],[-110.73,78.1]],[[146.8,75.37],[150.82,75.16],[150.58,74.92],[149.05,74.77],[146.15,75.2],[146.44,75.56],[146.75,75.43]],[[127.73,0.85],[128.69,1.57],[128.7,1.11],[128.26,0.73],[128.9,0.22],[127.98,0.47],[127.89,0.3],[128.43,-0.89],[127.69,-0.24],[127.43,1.14],[127.63,1.84],[128.04,2.2],[128.01,1.33],[127.68,0.89]],[[180,71.54],[181.56,71.54],[182.5,71.22],[178.79,70.82],[178.63,71.05],[179.88,71.52]],[[142.19,73.9],[143.34,73.57],[143.49,73.25],[139.69,73.42],[141.08,73.87],[141.93,73.91]],[[-152.9,57.82],[-152.43,57.83],[-152.21,57.58],[-152.94,57.5],[-152.68,57.34],[-153.97,56.77],[-153.79,56.99],[-154.25,57.14],[-154.34,56.92],[-154.71,57.34],[-154.12,57.65],[-153.69,57.3],[-153.84,57.86],[-152.85,57.9]],[[129.75,-2.87],[130.57,-3.13],[130.81,-3.86],[129.84,-3.33],[129.47,-3.45],[128.86,-3.24],[128.52,-3.45],[128.13,-3.16],[127.9,-3.5],[128.2,-2.87],[129.6,-2.81]],[[50.28,80.93],[51.7,80.69],[48.9,80.37],[48.68,80.3],[48.98,80.16],[48.39,80.1],[46.64,80.3],[49.09,80.52],[49.24,80.82],[50.13,80.92]],[[164.2,-20.25],[165.19,-20.77],[166.97,-22.32],[166.47,-22.26],[164.93,-21.29],[164.06,-20.14]],[[122.78,-8.61],[121.04,-8.93],[119.81,-8.7],[119.88,-8.42],[120.61,-8.24],[122.32,-8.63],[122.92,-8.1],[122.82,-8.6]],[[125.24,12.53],[125.54,12.19],[125.74,11.05],[125.03,11.34],[125,11.77],[124.44,12.15],[124.29,12.57],[125.15,12.57]],[[-105.29,72.92],[-106.95,73.51],[-105.51,73.77],[-104.59,73.58],[-104.62,73.31],[-105.2,72.95]],[[-133.57,56.34],[-133.2,56.32],[-132.17,55.48],[-132.63,55.47],[-131.98,55.21],[-132.02,54.73],[-133.12,55.33],[-133.03,55.59],[-133.68,55.79],[-133.24,55.92],[-133.74,55.96],[-133.6,56.32]],[[12.57,55.79],[12.54,55.66],[12.32,55.59],[12.22,55.47],[12.39,55.39],[12.41,55.29],[12.09,55.19],[12.05,54.81],[11.86,54.77],[11.74,54.92],[11.66,55.19],[11.29,55.2],[11.17,55.33],[11.19,55.47],[11.12,55.6],[11.01,55.64],[10.98,55.72],[11.32,55.75],[11.48,55.94],[11.63,55.96],[11.69,55.91],[11.69,55.73],[11.82,55.7],[11.94,55.9],[11.87,55.97],[12.22,56.12],[12.58,56.06],[12.61,56.03],[12.53,55.92]],[[34.46,35.59],[33.94,35.29],[34.05,34.99],[33.01,34.57],[32.32,34.95],[32.94,35.39],[34.55,35.66]],[[-25.43,70.92],[-25.4,70.65],[-26.22,70.45],[-28.04,70.49],[-27.62,70.91],[-25.46,70.94]],[[106.04,-1.67],[106.36,-2.46],[106.82,-2.57],[106.67,-3.07],[106,-2.83],[105.79,-2.18],[105.13,-2.04],[105.46,-1.57],[106.03,-1.59]],[[-82,62.96],[-82.12,62.65],[-83.02,62.21],[-83.7,62.16],[-83.91,62.43],[-83.38,62.9],[-82.05,62.97]],[[122.5,11.61],[123.16,11.54],[123.12,11.29],[122.77,10.82],[121.95,10.44],[122.1,11.64],[121.92,11.85],[122.4,11.7]],[[-61.11,45.94],[-60.86,45.98],[-61.06,45.7],[-60.74,45.75],[-60.3,46.31],[-59.83,45.96],[-60.67,45.59],[-61.45,45.72],[-61.41,46.17],[-60.49,47.01],[-60.49,46.27],[-60.91,46.04]],[[123.13,9.06],[122.4,9.82],[122.86,10.09],[122.98,10.89],[123.26,10.99],[123.57,10.78],[123.16,9.86],[123.32,9.27],[123.19,9.09]],[[-73.77,-43.35],[-74.39,-43.23],[-74.04,-41.8],[-73.53,-41.9],[-73.42,-42.19],[-73.79,-42.59],[-73.44,-42.94],[-73.74,-43.29]],[[118.24,-8.32],[118.93,-8.3],[119.13,-8.67],[116.79,-9.01],[116.83,-8.53],[117.16,-8.37],[117.97,-8.73],[118.23,-8.59],[117.76,-8.15],[118.2,-8.27]],[[62.17,80.83],[62.08,80.62],[61.05,80.42],[59.29,80.57],[59.72,80.84],[62.1,80.87]],[[117.31,8.44],[117.35,8.71],[119.22,10.48],[119.55,11.31],[119.69,10.5],[117.41,8.5]],[[-109.82,78.65],[-109.35,78.37],[-113.29,78.33],[-110.88,78.74],[-109.94,78.68]],[[54.72,81.12],[57.69,80.79],[55.89,80.63],[54.07,80.81],[54.63,81.11]],[[9.48,42.81],[9.56,42.16],[9.19,41.39],[8.81,41.59],[8.57,42.36],[9.32,42.71],[9.36,43.02],[9.48,42.86]],[[50.27,69.19],[48.91,68.74],[48.28,69.04],[48.42,69.35],[48.96,69.51],[50.17,69.26]],[[178.28,-17.37],[178.67,-18.08],[177.96,-18.26],[177.32,-18.08],[177.51,-17.54],[178.25,-17.33]],[[-61.8,49.09],[-63.04,49.23],[-64.49,49.89],[-62.86,49.71],[-61.75,49.11]],[[-77.26,18.46],[-76.21,17.91],[-76.85,17.97],[-77.2,17.71],[-78.34,18.29],[-77.36,18.47]],[[-44.87,82.08],[-47.35,82.6],[-44.92,82.48],[-44.78,82.24]],[[-158.28,21.58],[-158.12,21.71],[-157.98,21.71],[-157.65,21.31],[-157.71,21.26],[-157.95,21.3],[-158.1,21.3],[-158.23,21.46]],[[-155.87,20.27],[-155.1,19.86],[-154.81,19.51],[-155.62,18.91],[-155.88,19.07],[-156.05,19.73],[-155.83,20.0]],[[-156.69,20.95],[-156.4,20.92],[-156.0,20.8],[-156.0,20.62],[-156.45,20.58],[-156.51,20.78],[-156.69,20.88]],[[-159.79,22.07],[-159.4,22.23],[-159.29,22.1],[-159.38,21.88],[-159.68,21.95]],[[-157.31,21.1],[-156.71,21.16],[-156.75,21.08],[-157.25,21.08]],[[144.62,13.24],[144.66,13.43],[144.79,13.53],[144.95,13.65],[144.88,13.43],[144.76,13.25],[144.7,13.23]],[[134.45,7.35],[134.48,7.28],[134.56,7.42],[134.65,7.7],[134.6,7.73],[134.52,7.55]],[[171.0,7.04],[171.42,7.03],[171.45,7.14],[171.0,7.12]],[[159.6,-9.25],[160.2,-9.4],[160.8,-9.85],[160.6,-9.95],[159.95,-9.75],[159.6,-9.5]],[[-149.62,-17.5],[-149.37,-17.53],[-149.18,-17.87],[-149.32,-17.78],[-149.6,-17.8],[-149.62,-17.66]],[[-172.07,-13.8],[-171.44,-13.79],[-171.43,-14.05],[-172.0,-14.04]],[[-172.78,-13.48],[-172.21,-13.58],[-172.25,-13.8],[-172.7,-13.78]],[[-170.84,-14.29],[-170.56,-14.24],[-170.56,-14.31],[-170.82,-14.36]],[[-175.36,-21.1],[-175.05,-21.13],[-175.08,-21.24],[-175.3,-21.2]],[[146.95,-9.25],[147.45,-9.2],[147.55,-9.55],[147.05,-9.65]],[[166.25,-22.1],[166.65,-22.05],[166.7,-22.4],[166.3,-22.45]],[[178.2,-17.95],[178.6,-17.95],[178.6,-18.25],[178.2,-18.25]],[[-64.89,32.25],[-64.82,32.29],[-64.7,32.36],[-64.64,32.39],[-64.67,32.35],[-64.76,32.28],[-64.85,32.23]],[[-25.86,37.9],[-25.48,37.83],[-25.13,37.83],[-25.15,37.72],[-25.5,37.71],[-25.85,37.76]],[[-27.38,38.78],[-27.05,38.76],[-27.04,38.64],[-27.35,38.66]],[[-28.55,38.55],[-28.05,38.43],[-28.1,38.39],[-28.5,38.46]],[[-28.83,38.64],[-28.6,38.62],[-28.62,38.52],[-28.8,38.53]],[[-16.92,28.37],[-16.65,28.4],[-16.13,28.58],[-16.35,28.37],[-16.5,28.06],[-16.75,28.03],[-16.88,28.2]],[[-15.8,28.15],[-15.4,28.17],[-15.36,27.9],[-15.6,27.74],[-15.82,27.9]],[[-13.85,29.22],[-13.45,29.24],[-13.47,28.88],[-13.85,28.9]],[[-14.2,28.75],[-13.84,28.72],[-13.9,28.25],[-14.5,28.06]],[[-17.92,28.85],[-17.75,28.83],[-17.83,28.46],[-17.96,28.62]],[[-17.35,28.2],[-17.1,28.2],[-17.12,28.02],[-17.32,28.03]],[[-18.15,27.8],[-17.9,27.83],[-17.95,27.65],[-18.12,27.7]],[[-23.76,15.27],[-23.47,15.33],[-23.43,15.02],[-23.52,14.91],[-23.78,15.05]],[[-24.5,15],[-24.3,15],[-24.3,14.82],[-24.5,14.82]],[[-25.08,16.9],[-24.88,16.9],[-24.88,16.78],[-25.05,16.8]],[[-25.35,17.2],[-24.98,17.1],[-25,16.98],[-25.33,17]],[[-22.98,16.84],[-22.88,16.84],[-22.88,16.6],[-22.98,16.6]],[[-22.95,16.2],[-22.7,16.15],[-22.72,15.98],[-22.93,16]],[[-5.79,-15.9],[-5.65,-15.9],[-5.63,-16],[-5.75,-16.03]]]; +const COAST=COAST_LL.map(poly=>poly.map(q=>proj(q[0],q[1]))); diff --git a/src/game/20-world/40-city-coords.js b/src/game/20-world/40-city-coords.js new file mode 100644 index 0000000..5051cb4 --- /dev/null +++ b/src/game/20-world/40-city-coords.js @@ -0,0 +1 @@ +const CITY_LL={"chc":[172.55,-43.53],"ivc":[168.35,-46.41],"adl":[138.6,-34.93],"cbr":[149.13,-35.28],"hba":[147.25,-42.85],"hfx":[-63.62,44.68],"bda":[-64.78,32.29],"pdl":[-25.67,37.74],"tci":[-16.3,28.44],"rai":[-23.55,14.98],"jam":[-5.72,-15.93],"man":[-2.24,53.48],"edi":[-3.19,55.95],"bde":[-4.54,50.83],"svg":[5.73,58.97],"bcn":[2.17,41.39],"mil":[9.19,45.46],"rom":[12.5,41.9],"pmo":[13.36,38.12],"lis":[-9.14,38.72],"ath":[23.73,37.98],"atn":[-84.39,33.75],"den":[-104.99,39.74],"phx":[-112.07,33.45],"bos":[-71.06,42.36],"hou":[-95.37,29.76],"slc":[-111.89,40.76],"jed":[39.25,21.55],"ruh":[46.72,24.71],"doh":[51.45,25.28],"kyv":[30.52,50.45],"mel":[144.96, -37.81],"bne":[153.03, -27.47],"drw":[131.05,-12.46],"osa":[135.5, 34.69],"kul":[101.69, 3.14],"bkk":[100.5, 13.76],"sgn":[106.66, 10.76],"khi":[67.14,25.0],"dac":[90.41, 23.81],"cbo":[80.0, 6.95],"waw":[21.01, 52.23],"prg":[14.42, 50.08],"vie":[16.37, 48.21],"bud":[19.04, 47.5],"buh":[26.1, 44.43],"tll":[24.45,58.9],"ist":[28.98, 41.01],"for":[-38.54, -3.73],"rio":[-43.11,-22.57],"bsb":[-47.88,-15.79],"bhz":[-43.94,-19.92],"cwb":[-49.27,-25.43],"poa":[-51.23,-30.03],"aju":[-37.07,-10.91],"bel":[-48.5,-1.46],"bvb":[-60.67,2.82],"cac":[-53.46,-24.96],"cpv":[-35.88,-7.23],"cpq":[-47.06,-22.91],"cgr":[-54.65,-20.47],"cau":[-35.98,-8.28],"cgb":[-56.1,-15.6],"cxj":[-51.18,-29.17],"fec":[-38.97,-12.27],"fln":[-48.55,-27.6],"igu":[-54.59,-25.55],"gyn":[-49.25,-16.69],"jpa":[-34.86,-7.12],"ljd":[-51.96,-29.47],"ldb":[-51.16,-23.31],"mcp":[-51.07,0.03],"mcz":[-35.74,-9.67],"mao":[-60.02,-3.12],"mgf":[-51.94,-23.42],"nat":[-35.21,-5.79],"pmw":[-48.33,-10.18],"pvh":[-63.9,-8.76],"rao":[-47.81,-21.18],"rec":[-34.88,-8.05],"rbr":[-67.81,-9.97],"ssa":[-38.5,-12.97],"ria":[-53.81,-29.68],"sjp":[-49.38,-20.81],"slz":[-44.3,-2.53],"the":[-42.8,-5.09],"vix":[-40.31,-20.32],"mvd":[-56.16,-34.9],"asu":[-57.58,-25.26],"cor":[-64.18,-31.42],"lpb":[-68.15,-16.5],"uio":[-78.47,-0.18],"mde":[-75.57,6.24],"ccs":[-66.9,10.49],"gua":[-90.51,14.63],"sjo":[-84.09,9.93],"qro":[-100.39,20.59],"mty":[-100.31,25.69],"gdl":[-103.35,20.67],"bue":[-58.38, -34.6],"scl":[-70.67, -33.45],"lim":[-76.85,-12.05],"bog":[-74.07, 4.71],"pan":[-79.52, 8.98],"del":[77.21, 28.61],"maa":[80.18,13.25],"blr":[77.59, 12.97],"hyd":[78.49, 17.39],"tpe":[121.56, 25.03],"auh":[54.37, 24.45],"fuj":[56.15,25.07],"cpt":[18.42, -33.92],"dkr":[-17.45,14.69],"abj":[-4.03,5.32],"acc":[-0.19,5.6],"dla":[9.7,4.05],"fih":[15.27,-4.33],"lad":[13.23,-8.84],"cas":[-7.59,33.57],"alg":[3.06,36.75],"tun":[10.18,36.81],"jib":[43.15,11.59],"add":[38.75,9.03],"mba":[39.67,-4.04],"dar":[39.28,-6.79],"kla":[32.58,0.35],"kgl":[30.06,-1.95],"mpm":[32.57,-25.97],"dur":[31.03,-29.86],"wdh":[17.08,-22.56],"lun":[28.32,-15.39],"hre":[31.05,-17.83],"gbe":[25.91,-24.65],"stg":[9.18,48.78],"ber":[13.4,52.52],"zrh":[8.54,47.37],"nbo":[36.82,-1.29],"cai":[31.24,30.04],"sea":[-122.33,47.61],"sjc":[-121.89,37.34],"lax":[-118.24,34.05],"dal":[-96.8,32.78],"chi":[-87.63,41.88],"ash":[-77.49,39.04],"nyc":[-74.0,40.71],"mia":[-80.19,25.76],"tor":[-79.38,43.65],"kcy":[-94.58,39.1],"cal":[-114.07,51.05],"van":[-123.12,49.28],"ott":[-75.7,45.42],"mtl":[-73.57,45.5],"mex":[-99.13,19.43],"sao":[-46.63,-23.55],"lon":[-0.13,51.51],"dub":[-6.26,53.35],"rek":[-21.94,64.15],"ams":[4.9,52.37],"bru":[4.35,50.85],"oos":[3.23,51.15],"bet":[6.1,49.52],"fra":[8.68,50.11],"ham":[9.99,53.55],"dus":[6.78,51.22],"muc":[11.58,48.14],"par":[2.35,48.86],"mrs":[5.37,43.3],"mad":[-3.7,40.42],"sto":[18.07,59.33],"osl":[10.75,59.91],"cph":[12.57,55.68],"hel":[24.94,60.17],"beg":[20.46,44.79],"sof":[23.32,42.7],"mos":[37.62,55.76],"lag":[3.38,6.52],"jnb":[28.05,-26.2],"dxb":[55.27,25.2],"bom":[72.88,19.08],"sin":[103.82,1.35],"jkt":[106.85,-6.2],"mnl":[120.98,14.6],"hkg":[114.17,22.32],"sha":[121.47,31.23],"pek":[116.4,39.9],"icn":[126.98,37.57],"tok":[139.69,35.69],"syd":[151.21,-33.87],"per":[115.86,-31.95],"akl":[174.76,-36.85],"hnl":[-157.86,21.31],"gum":[144.75,13.47],"ror":[134.48,7.34],"maj":[171.38,7.09],"pom":[147.18,-9.44],"hir":[159.95,-9.43],"nou":[166.46,-22.27],"suv":[178.44,-18.14],"tbu":[-175.2,-21.14],"apw":[-171.76,-13.83],"ppg":[-170.7,-14.28],"ppt":[-149.57,-17.53]}; diff --git a/src/game/20-world/50-cities.js b/src/game/20-world/50-cities.js new file mode 100644 index 0000000..54dc932 --- /dev/null +++ b/src/game/20-world/50-cities.js @@ -0,0 +1,208 @@ +const CITIES=[ + {id:'sea',name:'Seattle',x:205,y:245,land:'am',reg:'AM',P:300,ix:'Sea-IX',dc:'Westerly Carrier Hotel'}, + {id:'sjc',name:'San Jose',x:240,y:345,land:'am',reg:'AM',P:500,ix:'Silly-Con Valley IX',dc:'Equinox SV'}, + {id:'dal',name:'Dallas',x:385,y:415,land:'am',reg:'AM',P:450,ix:'Yee-Haw-IX',dc:'Infomaniac Building'}, + {id:'chi',name:'Chicago',x:470,y:270,land:'am',reg:'AM',P:600,ix:'Windy-IX',dc:'350 Cermak'}, + {id:'ash',name:'Ashburn',x:572,y:332,land:'am',reg:'AM',P:250,ix:'Equinox Ashburn IX',dc:'Data Center Alley',note:tr('The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.')}, + {id:'nyc',name:'New York',x:615,y:283,land:'am',reg:'AM',P:1200,ix:'NY-Yikes',dc:'60 Hudson'}, + {id:'mia',name:'Miami',x:530,y:482,land:'am',reg:'AM',P:400,ix:'Miam-IX',dc:'Nap of the Americas',note:tr('Cable landing hub for South America.')}, + {id:'sao',name:'São Paulo',x:640,y:730,land:'sa',reg:'SA',P:900,br:true,andes:'e',ix:'IX.brrr',ixCheap:0.3,dc:'Digital Reality SP',note:tr('South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.')}, + {id:'lon',name:'London',x:935,y:275,land:'uk',reg:'EU',P:1000,ix:'LYNX',dc:'Telly-House Docklands',note:tr('On an island, so every link off it is a subsea cable.')}, + {id:'ams',name:'Amsterdam',x:1015,y:245,land:'eu',reg:'EU',P:350,ix:'HAMS-IX',dc:'Science Park'}, + {id:'fra',name:'Frankfurt',x:1075,y:295,land:'eu',reg:'EU',P:600,ix:'DE-KICKS',dc:'Kleyerstraße Campus',note:tr('Europe\'s crossroads. Lots of networks, lots of sausages.')}, + {id:'par',name:'Paris',x:990,y:320,land:'eu',reg:'EU',P:900,ix:'Fromage-IX',dc:'Interaction PAR'}, + {id:'mrs',name:'Marseille',x:1045,y:378,land:'eu',reg:'EU',P:250,ix:'Bouilla-IX',dc:'Cable Landing Station',note:tr('Subsea cables to Africa and Asia land here.')}, + {id:'tor',name:'Toronto',ca:true,x:548,y:252,land:'am',reg:'AM',P:500,ix:'Sorry-IX',dc:'151 Front Street',note:tr('Canada’s hub. Polite packets, long winters, free cooling.')}, + {id:'bru',name:'Brussels',x:0,y:0,land:'eu',reg:'EU',P:150,be:true,tape:true,ix:'Frites-IX',dc:'Digital Unreality BRU1',note:tr('Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.')}, + {id:'oos',name:'Oostkamp',x:0,y:0,land:'eu',reg:'EU',P:30,be:true,tape:true,ix:'',dc:'DC-Starfish Oostkamp',note:tr('Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.')}, + {id:'bet',name:'Bettembourg',x:0,y:0,land:'eu',reg:'EU',P:60,arpu:1.4,lux:true,ix:'LU-SICK',dc:'LuxDisconnect DC1.2',note:tr('Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.')}, + {id:'mtl',name:'Montreal',ca:true,x:598,y:238,land:'am',reg:'AM',P:300,ix:'Poutine-IX',dc:'Hydro-powered Hangar',note:tr('Cheap hydro power makes it a data center favorite.')}, + {id:'kcy',name:'Kansas City',x:0,y:0,land:'am',reg:'AM',P:200,ix:'Toto-IX',dc:'The Limestone Cave',note:tr('The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.')}, + {id:'cal',name:'Calgary',x:0,y:0,land:'am',reg:'AM',P:150,ca:true,ix:'Stampede-IX',dc:'Bow & Arrow DC',note:tr('The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.')}, + {id:'van',name:'Vancouver',x:0,y:0,land:'am',reg:'AM',P:250,ca:true,ix:'Raincouver-IX',dc:'Colo-Logics VAN3',note:tr('Canada’s Pacific door. It rains so much that the free cooling comes with free washing.')}, + {id:'ott',name:'Ottawa',x:0,y:0,land:'am',reg:'AM',P:120,ca:true,blackout:true,ix:'Bytown-IX',dc:'Purely Colo (Mostly)',note:tr('Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.')}, + {id:'lax',name:'Los Angeles',x:270,y:395,land:'am',reg:'AM',P:900,ix:'Any2-Anywhere',dc:'One Wilshire',note:tr('Pacific cables land nearby, and everyone meets in one famous building downtown.')}, + {id:'mex',name:'Mexico City',x:368,y:470,land:'am',reg:'AM',P:700,ix:'',dc:'Querétaro Campus',note:tr('Huge mobile market. Most of its traffic still detours through the US.')}, + {id:'rek',name:'Reykjavik',x:850,y:170,land:'is',reg:'EU',P:60,ix:'',dc:'Geothermal Bitcoin Barn',note:tr('Free cooling and geothermal power. Plenty of data centers, very few cables.')}, + {id:'dub',name:'Dublin',x:876,y:268,land:'ie',reg:'EU',P:250,ix:'Craic-IX',dc:'Clonsilla Hyperscale Campus',note:tr('Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.')}, + {id:'osl',name:'Oslo',x:1062,y:172,land:'eu',reg:'EU',P:200,ix:'NIX-NIX',dc:'Fjord-cooled Mountain Hall'}, + {id:'cph',name:'Copenhagen',x:1085,y:215,land:'eu',reg:'EU',P:250,ix:'Hygge-IX',dc:'Danish Design DC',note:tr('Landing point for cables from the US, Iceland and the Baltic.')}, + {id:'hel',name:'Helsinki',x:1168,y:140,land:'eu',reg:'EU',P:200,ix:'Sauna-IX',dc:'Underground Sauna Bunker',note:tr('Fast fiber east and west, and one very nervous subsea cable to Germany.')}, + {id:'beg',name:'Belgrade',x:1122,y:338,land:'eu',reg:'EU',P:250,ix:'',dc:'Danube Docks DC'}, + {id:'sof',name:'Sofia',x:1165,y:358,land:'eu',reg:'EU',P:250,ix:'Rakija-IX',dc:'Vitosha DC',note:tr('Balkan peering hub with famously cheap ports.')}, + {id:'dxb',name:'Dubai',x:1292,y:428,land:'eu',reg:'AS',P:400,uae:true,ix:'Sand-IX',dc:'Air-conditioned Mirage DC',note:tr('Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.')}, + {id:'mos',name:'Moscow',x:1235,y:192,land:'eu',reg:'EU',P:900,ru:true,arpu:0.5,ix:'Borscht-IX',dc:'Very Secure Bunker',note:tr('Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.')}, + {id:'akl',name:'Auckland',x:1964,y:826,land:'nz',reg:'OC',P:250,ix:'Kiwi-IX',dc:'Sheep-cooled Shed',note:tr('Far from everything. Every packet here has a long journey home.')}, + {id:'per',name:'Perth',x:1712,y:785,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:200,ix:'Beard-IX',dc:'Very Remote DC',dc2:'Next-Door-DC P#',dc2N:2,note:tr('The most isolated big city on Earth. Asia is closer than Sydney.')}, + {id:'jkt',name:'Jakarta',x:1614,y:624,land:'idn',reg:'AS',P:900,ix:'Nasi-IX',dc:'Monsoon-proof DC',note:tr('270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.')}, + {id:'mnl',name:'Manila',x:1714,y:494,land:'ph',reg:'AS',P:600,ix:'',dc:'Typhoon-rated DC',note:tr('Typhoons, earthquakes and a lot of very online people.')}, + {id:'ber',name:'Berlin',x:0,y:0,land:'eu',reg:'EU',P:450,ix:'Currywurst-IX',dc:'Former Brewery DC',note:tr('Startups, techno and a surprising number of data centers in old breweries.')}, + {id:'ham',name:'Hamburg',x:0,y:0,land:'eu',reg:'EU',P:250,ix:'Moin-IX',dc:'Speicherstadt Colo',note:tr('Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.')}, + {id:'dus',name:'Düsseldorf',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Altbier-IX',dc:'Königsallee Cage',note:tr('The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.')}, + {id:'muc',name:'Munich',x:0,y:0,land:'eu',reg:'EU',P:250,ix:'Brezn-IX',dc:'Weißwurst Works',note:tr('Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.')}, + {id:'zrh',name:'Zurich',x:0,y:0,land:'eu',reg:'EU',P:250,ix:'Cuckoo-IX',dc:'Bank Vault DC',note:tr('Banks, very punctual packets, and racks inside old bank vaults.')}, + {id:'nbo',name:'Nairobi',x:0,y:0,land:'af',reg:'AF',cc:'KE',P:350,ix:'Safari-IX',dc:'Silicon Savannah Campus',note:tr('East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.')}, + {id:'cai',name:'Cairo',x:0,y:0,land:'af',land2:'eu',reg:'AF',cc:'EG',P:600,ix:'Pharaoh-IX',dc:'Pyramid-adjacent DC',note:tr('Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.')}, + {id:'stg',name:'Stuttgart',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Spätzle-IX',dc:'Kehrwoche-certified DC',ixOnly:true,note:tr('Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.')}, + {id:'sto',name:'Stockholm',x:1110,y:160,land:'eu',reg:'EU',P:300,ix:'NodNod',dc:'Nuclear Bunker DC'}, + {id:'bcn',name:'Barcelona',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Catnip-IX',dc:'Poblenou DC',note:tr('Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.')}, + {id:'mad',name:'Madrid',x:935,y:392,land:'eu',reg:'EU',P:600,ix:'Siesta-IX',dc:'Interaction MAD'}, + {id:'lag',name:'Lagos',x:1010,y:565,land:'af',reg:'AF',cc:'NG',P:500,ix:'Jollof-IX',dc:'Rack-n-Roll Centre'}, + {id:'jnb',name:'Johannesburg',x:1130,y:730,land:'af',reg:'AF',cc:'ZA',P:400,za:true,ix:'Braai-IX',dc:'Tera-Cotta Campus'}, + {id:'bom',name:'Mumbai',x:1385,y:488,land:'eu',reg:'AS',P:1100,india:true,ix:'Mumb-IX',dc:'Goregaon Tech Park'}, + {id:'sin',name:'Singapore',x:1556,y:568,land:'eu',reg:'AS',P:450,ix:'Lah-IX',dc:'Equinox SG',note:tr('Asia\'s hub. Expensive, humid, very well connected.')}, + {id:'hkg',name:'Hong Kong',x:1645,y:440,land:'eu',reg:'AS',P:600,ix:'HK-Kicks',dc:'Mega-Eye Plus'}, + {id:'icn',name:'Seoul',x:1722,y:302,land:'eu',reg:'AS',P:900,kr:true,ix:'Kimch-IX',dc:'Gasan Digital Complex',note:tr('Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.')}, + {id:'pek',name:'Beijing',x:1652,y:318,land:'eu',reg:'AS',P:1800,cn:true,arpu:0.6,ix:'',dc:'Zhongguancun DC',note:tr('Mainland China. Behind the Great Firewall, with its own rules for foreign networks.')}, + {id:'sha',name:'Shanghai',x:1680,y:388,land:'eu',reg:'AS',P:2200,cn:true,arpu:0.6,ix:'',dc:'Lujiazui Data Center',note:tr('Mainland China. Enormous market, strict rules, and a famously congested border.')}, + {id:'tok',name:'Tokyo',x:1795,y:320,land:'jp',reg:'AS',P:1400,ix:'JP-Naptime',dc:'Otemachi Tower'}, + {id:'syd',name:'Sydney',x:1860,y:790,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:500,ix:'IX Straya',dc:'Next-Door-DC S#',dcN:3,dc2:'Equinox SY#',dc2N:7,note:tr('The harbour, the bridge and most of the country’s data centres. Rent is the real latency.')}, +{id:'for',name:'Fortaleza',x:0,y:0,land:'sa',reg:'SA',P:250,br:true,andes:'e',ix:'IX.brrr Fortaleza',ixCheap:0.3,dc:'Praia Landing Station',note:tr('Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.')}, + {id:'rio',name:'Rio de Janeiro',x:0,y:0,land:'sa',reg:'SA',P:600,br:true,andes:'e',ix:'IX.brrr Rio',ixCheap:0.3,dc:'Copacabana Colo',note:tr('Beaches, cable landings and a Carnival that melts traffic graphs every February.')}, + {id:'bsb',name:'Brasília',x:0,y:0,land:'sa',reg:'SA',P:200,br:true,andes:'e',ix:'IX.brrr Brasília',ixCheap:0.3,dc:'Modernist Concrete Colo',note:tr('Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.')}, + {id:'bhz',name:'Belo Horizonte',x:0,y:0,land:'sa',reg:'SA',P:250,br:true,andes:'e',ix:'IX.brrr BH',ixCheap:0.3,dc:'Pão de Queijo Point',note:tr('Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.')}, + {id:'cwb',name:'Curitiba',x:0,y:0,land:'sa',reg:'SA',P:200,br:true,andes:'e',ix:'IX.brrr Curitiba',ixCheap:0.3,dc:'Pine Nut Park DC',note:tr('Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.')}, + {id:'poa',name:'Porto Alegre',x:0,y:0,land:'sa',reg:'SA',P:200,br:true,andes:'e',ix:'IX.brrr Porto Alegre',ixCheap:0.3,dc:'Chimarrão Colo',note:tr('The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.')}, + {id:'aju',name:'Aracaju',x:0,y:0,land:'sa',reg:'SA',P:40,br:true,andes:'e',ix:'IX.brrr Aracaju',ixCheap:0.3,dc:'Crab Walk Colo'}, + {id:'bel',name:'Belém',x:0,y:0,land:'sa',reg:'SA',P:100,br:true,andes:'e',rain:true,ix:'IX.brrr Belém',ixCheap:0.3,dc:'Açaí Bowl DC',note:tr('Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.')}, + {id:'bvb',name:'Boa Vista',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',rain:true,ix:'IX.brrr Boa Vista',ixCheap:0.3,dc:'Northern Lights Racks',note:tr('Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.')}, + {id:'cac',name:'Cascavel',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',ix:'IX.brrr Cascavel',ixCheap:0.3,dc:'Soybean Silo DC'}, + {id:'cpv',name:'Campina Grande',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',ix:'IX.brrr Campina Grande',ixCheap:0.3,dc:'Forró Forum DC',note:tr('Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.')}, + {id:'cpq',name:'Campinas',x:0,y:0,land:'sa',reg:'SA',P:130,br:true,andes:'e',ix:'IX.brrr Campinas',ixCheap:0.3,dc:'Silicon Sugarcane Park',note:tr('Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.')}, + {id:'cgr',name:'Campo Grande',x:0,y:0,land:'sa',reg:'SA',P:40,br:true,andes:'e',ix:'IX.brrr Campo Grande',ixCheap:0.3,dc:'Pantanal Edge Colo'}, + {id:'cau',name:'Caruaru',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',ix:'IX.brrr Caruaru',ixCheap:0.3,dc:'Clay Doll Datacenter'}, + {id:'cgb',name:'Cuiabá',x:0,y:0,land:'sa',reg:'SA',P:40,br:true,andes:'e',ix:'IX.brrr Cuiabá',ixCheap:0.3,dc:'Forty Degrees DC',note:tr('The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.')}, + {id:'cxj',name:'Caxias do Sul',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',ix:'IX.brrr Caxias do Sul',ixCheap:0.3,dc:'Wine Cellar Racks',note:tr('Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.')}, + {id:'fec',name:'Feira de Santana',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',ix:'IX.brrr Feira de Santana',ixCheap:0.3,dc:'Crossroads Colo'}, + {id:'fln',name:'Florianópolis',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr Florianópolis',ixCheap:0.3,dc:'Island Uplink DC',note:tr('An island capital of beaches and startups. Half the city works remotely from a surf shack.')}, + {id:'igu',name:'Foz do Iguaçu',x:0,y:0,land:'sa',reg:'SA',P:15,br:true,andes:'e',ix:'IX.brrr Foz do Iguaçu',ixCheap:0.3,dc:'Triple Border Racks',note:tr('Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.')}, + {id:'gyn',name:'Goiânia',x:0,y:0,land:'sa',reg:'SA',P:100,br:true,andes:'e',ix:'IX.brrr Goiânia',ixCheap:0.3,dc:'Pequi Peak DC',note:tr('Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.')}, + {id:'jpa',name:'João Pessoa',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr João Pessoa',ixCheap:0.3,dc:'Sunrise Point DC',note:tr('The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.')}, + {id:'ljd',name:'Lajeado',x:0,y:0,land:'sa',reg:'SA',P:10,br:true,andes:'e',ix:'IX.brrr Lajeado',ixCheap:0.3,dc:'Valley Co-op Colo',note:tr('A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.')}, + {id:'ldb',name:'Londrina',x:0,y:0,land:'sa',reg:'SA',P:35,br:true,andes:'e',ix:'IX.brrr Londrina',ixCheap:0.3,dc:'Red Soil DC'}, + {id:'mcp',name:'Macapá',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',rain:true,blackout:true,ix:'IX.brrr Macapá',ixCheap:0.3,dc:'Equator Line Colo',note:tr('Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.')}, + {id:'mcz',name:'Maceió',x:0,y:0,land:'sa',reg:'SA',P:55,br:true,andes:'e',ix:'IX.brrr Maceió',ixCheap:0.3,dc:'Lagoon View Racks'}, + {id:'mao',name:'Manaus',x:0,y:0,land:'sa',reg:'SA',P:90,br:true,andes:'e',rain:true,ix:'IX.brrr Manaus',ixCheap:0.3,dc:'Free Zone Colo',note:tr('Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.')}, + {id:'mgf',name:'Maringá',x:0,y:0,land:'sa',reg:'SA',P:30,br:true,andes:'e',ix:'IX.brrr Maringá',ixCheap:0.3,dc:'Cathedral Cone DC'}, + {id:'nat',name:'Natal',x:0,y:0,land:'sa',reg:'SA',P:60,br:true,andes:'e',ix:'IX.brrr Natal',ixCheap:0.3,dc:'Dune Buggy DC',note:tr('Dunes, buggies and the corner of Brazil closest to Africa.')}, + {id:'pmw',name:'Palmas',x:0,y:0,land:'sa',reg:'SA',P:15,br:true,andes:'e',ix:'IX.brrr Palmas',ixCheap:0.3,dc:'Planned Grid DC',note:tr('Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.')}, + {id:'pvh',name:'Porto Velho',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',rain:true,ix:'IX.brrr Porto Velho',ixCheap:0.3,dc:'Madeira River Racks'}, + {id:'rao',name:'Ribeirão Preto',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr Ribeirão Preto',ixCheap:0.3,dc:'Sugarcane & Servers',note:tr('Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.')}, + {id:'rec',name:'Recife',x:0,y:0,land:'sa',reg:'SA',P:160,br:true,andes:'e',ix:'IX.brrr Recife',ixCheap:0.3,dc:'Frevo Colo',note:tr('The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.')}, + {id:'rbr',name:'Rio Branco',x:0,y:0,land:'sa',reg:'SA',P:20,br:true,andes:'e',rain:true,ix:'IX.brrr Rio Branco',ixCheap:0.3,dc:'Acre-ly Real DC',note:tr('The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.')}, + {id:'ssa',name:'Salvador',x:0,y:0,land:'sa',reg:'SA',P:160,br:true,andes:'e',ix:'IX.brrr Salvador',ixCheap:0.3,dc:'Axé Uplink DC',note:tr('Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.')}, + {id:'ria',name:'Santa Maria',x:0,y:0,land:'sa',reg:'SA',P:15,br:true,andes:'e',ix:'IX.brrr Santa Maria',ixCheap:0.3,dc:'Gaúcho Plains Colo'}, + {id:'sjp',name:'São José do Rio Preto',x:0,y:0,land:'sa',reg:'SA',P:25,br:true,andes:'e',ix:'IX.brrr São José do Rio Preto',ixCheap:0.3,dc:'Rio Preto Racks'}, + {id:'slz',name:'São Luís',x:0,y:0,land:'sa',reg:'SA',P:65,br:true,andes:'e',ix:'IX.brrr São Luís',ixCheap:0.3,dc:'Reggae Island DC',note:tr('An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.')}, + {id:'the',name:'Teresina',x:0,y:0,land:'sa',reg:'SA',P:50,br:true,andes:'e',ix:'IX.brrr Teresina',ixCheap:0.3,dc:'Sunbaked Server Hall',note:tr('The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.')}, + {id:'vix',name:'Vitória',x:0,y:0,land:'sa',reg:'SA',P:80,br:true,andes:'e',ix:'IX.brrr Vitória',ixCheap:0.3,dc:'Moqueca Colo',note:tr('An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.')}, + {id:'mvd',name:'Montevideo',x:0,y:0,land:'sa',reg:'SA',P:150,andes:'e',ix:'Chivito-IX',dc:'Rambla Racks',note:tr('Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.')}, + {id:'asu',name:'Asunción',x:0,y:0,land:'sa',reg:'SA',P:120,andes:'e',ix:'Chipa-IX',dc:'Hydro Surplus DC',note:tr('Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.')}, + {id:'cor',name:'Córdoba',x:0,y:0,land:'sa',reg:'SA',P:150,andes:'e',arpu:0.7,ix:'Fernet-IX',dc:'Sierras Server Shed',note:tr('Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.')}, + {id:'lpb',name:'La Paz',x:0,y:0,land:'sa',reg:'SA',P:80,andes:'m',ix:'Salteña-IX',dc:'Cable Car Colo',note:tr('The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.')}, + {id:'uio',name:'Quito',x:0,y:0,land:'sa',reg:'SA',P:100,andes:'m',ix:'Equator-IX',dc:'Middle of the World DC',note:tr('A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.')}, + {id:'mde',name:'Medellín',x:0,y:0,land:'sa',reg:'SA',P:150,andes:'m',ix:'Paisa-IX',dc:'Eternal Spring DC',note:tr('The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.')}, + {id:'ccs',name:'Caracas',x:0,y:0,land:'sa',reg:'SA',P:120,blackout:true,ix:'Cachapa-IX',dc:'Generator Included DC',note:tr('A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.')}, + {id:'gua',name:'Guatemala City',x:0,y:0,land:'am',reg:'AM',P:120,ix:'Quetzal-IX',dc:'Volcano View Colo',note:tr('Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.')}, + {id:'sjo',name:'San José',x:0,y:0,land:'am',reg:'AM',P:80,ix:'Pura Vida-IX',dc:'Cloud Forest DC',note:tr('Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.')}, + {id:'qro',name:'Querétaro',x:0,y:0,land:'am',reg:'AM',P:120,ix:'Gordita-IX',dc:'Bajío Bit Barn',note:tr('Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.')}, + {id:'mty',name:'Monterrey',x:0,y:0,land:'am',reg:'AM',P:200,ix:'Cabrito-IX',dc:'Saddle Mountain Colo',note:tr('Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.')}, + {id:'gdl',name:'Guadalajara',x:0,y:0,land:'am',reg:'AM',P:200,ix:'Tequila-IX',dc:'Mariachi Mainframes',note:tr('Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.')}, + {id:'bue',name:'Buenos Aires',x:0,y:0,land:'sa',reg:'SA',P:500,andes:'e',arpu:0.7,ix:'Asado-IX',dc:'Puerto Madero DC',note:tr('Tango, steak and a currency that changes value while you read this.')}, + {id:'scl',name:'Santiago',x:0,y:0,land:'sa',reg:'SA',P:350,andes:'w',ix:'Empanada-IX',dc:'Andes-view Bunker',note:tr('The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.')}, + {id:'lim',name:'Lima',x:0,y:0,land:'sa',reg:'SA',P:400,andes:'w',ix:'Ceviche-IX',dc:'Fog-cooled DC',note:tr('It almost never rains, but the sea fog keeps the racks cool.')}, + {id:'bog',name:'Bogotá',x:0,y:0,land:'sa',reg:'SA',P:400,andes:'m',ix:'Arepa-IX',dc:'2,600 m Above Sea Level DC',note:tr('High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.')}, + {id:'pan',name:'Panama City',x:0,y:0,land:'am',reg:'AM',P:80,ix:'Canal-IX',dc:'Isthmus Interconnect',note:tr('Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.')}, + {id:'del',name:'Delhi',x:0,y:0,land:'eu',reg:'AS',P:1600,arpu:0.4,india:true,ix:'Butter-Chicken-IX',dc:'Smog-filtered DC',note:tr('An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.')}, + {id:'maa',name:'Chennai',x:0,y:0,land:'eu',reg:'AS',P:500,arpu:0.5,india:true,ix:'Dosa-IX',dc:'Cyclone-rated Landing Bay',note:tr('India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.')}, + {id:'blr',name:'Bengaluru',x:0,y:0,land:'eu',reg:'AS',P:600,arpu:0.6,india:true,ix:'Filter-Kaapi-IX',dc:'Traffic-jam-adjacent Campus',note:tr('India’s tech capital. Packets move faster than the cars outside.')}, + {id:'hyd',name:'Hyderabad',x:0,y:0,land:'eu',reg:'AS',P:400,arpu:0.5,india:true,ix:'Biryani-IX',dc:'Hyperscale Hills',note:tr('Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.')}, + {id:'tpe',name:'Taipei',x:0,y:0,land:'tw',reg:'AS',P:450,ix:'Bubble-Tea-IX',dc:'Typhoon-proof Tower',note:tr('Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.')}, + {id:'auh',name:'Abu Dhabi',x:0,y:0,land:'eu',reg:'AS',P:200,arpu:1.4,uae:true,ix:'',dc:'Oasis-cooled Campus',note:tr('The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.')}, + {id:'fuj',name:'Fujairah',x:0,y:0,land:'eu',reg:'AS',P:20,uae:true,ix:'',dc:'Cable Landing Sandcastle',note:tr('Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.')}, + {id:'cpt',name:'Cape Town',x:0,y:0,land:'af',reg:'AF',cc:'ZA',P:250,za:true,ix:'Biltong-IX',dc:'Table Mountain Colo',note:tr('Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.')}, + {id:'dkr',name:'Dakar',x:0,y:0,land:'af',reg:'AF',P:140,cc:'SN',ix:'Thieboudienne-IX',dc:'Teranga Racks',note:tr('Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.')}, + {id:'abj',name:'Abidjan',x:0,y:0,land:'af',reg:'AF',P:200,cc:'CI',ix:'Attiéké-IX',dc:'Plateau Point DC',note:tr('The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.')}, + {id:'acc',name:'Accra',x:0,y:0,land:'af',reg:'AF',P:170,cc:'GH',ix:'Kelewele-IX',dc:'Black Star Colo',note:tr('Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.')}, + {id:'dla',name:'Douala',x:0,y:0,land:'af',reg:'AF',P:130,cc:'CM',ix:'Ndolé-IX',dc:'Wouri Riverside DC',note:tr('Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.')}, + {id:'fih',name:'Kinshasa',x:0,y:0,land:'af',reg:'AF',P:350,cc:'CD',blackout:true,ix:'Rumba-IX',dc:'Congo River Colo',note:tr('One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.')}, + {id:'lad',name:'Luanda',x:0,y:0,land:'af',reg:'AF',P:250,cc:'AO',ix:'Muamba-IX',dc:'Marginal View DC',note:tr('Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.')}, + {id:'cas',name:'Casablanca',x:0,y:0,land:'af',reg:'AF',P:150,cc:'MA',ix:'Tagine-IX',dc:'Here’s Looking at You, Rack',note:tr('Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.')}, + {id:'alg',name:'Algiers',x:0,y:0,land:'af',reg:'AF',P:130,cc:'DZ',ix:'Couscous-IX',dc:'Kasbah Colo',note:tr('White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.')}, + {id:'tun',name:'Tunis',x:0,y:0,land:'af',reg:'AF',P:100,cc:'TN',ix:'Harissa-IX',dc:'Carthage Was Here DC',note:tr('A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.')}, + {id:'jib',name:'Djibouti',x:0,y:0,land:'af',reg:'AF',P:40,cc:'DJ',ix:'Lake Assal-IX',dc:'Cable Landing Capital DC',note:tr('A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.')}, + {id:'add',name:'Addis Ababa',x:0,y:0,land:'af',reg:'AF',P:170,cc:'ET',ix:'Injera-IX',dc:'Highland Coffee DC',note:tr('Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.')}, + {id:'mba',name:'Mombasa',x:0,y:0,land:'af',reg:'AF',P:60,cc:'KE',ix:'Pwani-IX',dc:'Old Town Landing Station',note:tr('Where East Africa’s cables come ashore, then ride the railway up to Nairobi.')}, + {id:'dar',name:'Dar es Salaam',x:0,y:0,land:'af',reg:'AF',P:220,cc:'TZ',ix:'Bongo-IX',dc:'Kariakoo Colo',note:tr('Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.')}, + {id:'kla',name:'Kampala',x:0,y:0,land:'af',reg:'AF',P:130,cc:'UG',ix:'Matooke-IX',dc:'Seven Hills DC',note:tr('A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.')}, + {id:'kgl',name:'Kigali',x:0,y:0,land:'af',reg:'AF',P:60,cc:'RW',ix:'Umuganda-IX',dc:'Clean Streets Colo',note:tr('Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.')}, + {id:'mpm',name:'Maputo',x:0,y:0,land:'af',reg:'AF',P:70,cc:'MZ',ix:'Matapa-IX',dc:'Polana Point DC',note:tr('Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.')}, + {id:'dur',name:'Durban',x:0,y:0,land:'af',reg:'AF',P:130,cc:'ZA',za:true,ix:'Bunny Chow-IX',dc:'Golden Mile Colo',note:tr('South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.')}, + {id:'wdh',name:'Windhoek',x:0,y:0,land:'af',reg:'AF',P:25,cc:'NA',ix:'Kapana-IX',dc:'Desert Breeze DC',note:tr('A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.')}, + {id:'lun',name:'Lusaka',x:0,y:0,land:'af',reg:'AF',P:100,cc:'ZM',blackout:true,ix:'Nshima-IX',dc:'Copperbelt Colo',note:tr('Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.')}, + {id:'hre',name:'Harare',x:0,y:0,land:'af',reg:'AF',P:70,cc:'ZW',blackout:true,ix:'Sadza-IX',dc:'Jacaranda DC',note:tr('Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.')}, + {id:'gbe',name:'Gaborone',x:0,y:0,land:'af',reg:'AF',P:25,cc:'BW',ix:'Seswaa-IX',dc:'Diamond Dust DC',note:tr('Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.')}, +{id:'mel',name:'Melbourne',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:450,ix:'Flat-White-IX',dc:'Four-Seasons-a-Day DC',dc2:'Next-Door-DC M#',dc2N:3,note:tr('Four seasons in one day, and the racks feel every one of them.')}, + {id:'bne',name:'Brisbane',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:250,ix:'Bris-Vegas-IX',dc:'Sunshine State Shed',dc2:'Next-Door-DC B#',dc2N:2,note:tr('BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.')}, + {id:'drw',name:'Darwin',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:15,ix:'Gator-IX',dc:'Crocodile-proof Landing Station',note:tr('Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.')}, + {id:'adl',name:'Adelaide',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:150,ix:'Vineyard-IX',dc:'OurDC',dc2:'Next-Door-DC A1',note:tr('Twenty minutes from everything, except anywhere else.')}, + {id:'cbr',name:'Canberra',x:0,y:0,land:'oc',reg:'OC',au:true,arpu:AU_ARPU,P:50,ix:'Capital-IX',dc:'Classified Data Cupboard',dc2:'Next-Door-DC C1',note:tr('Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.')}, + {id:'chc',name:'Christchurch',x:0,y:0,land:'nzs',reg:'OC',P:40,ix:'Garden-City-IX',dc:'Mainland Colo',note:tr('The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.')}, + {id:'ivc',name:'Invercargill',x:0,y:0,land:'nzs',reg:'OC',P:10,ix:'',dc:'Sheargrid Makarewa',note:tr('The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.')}, + {id:'hba',name:'Hobart',x:0,y:0,land:'tas',reg:'OC',au:true,arpu:AU_ARPU,P:25,ix:'Cousin-IX',dc:'Firmest',note:tr('The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.')}, + {id:'hnl',name:'Honolulu',x:0,y:0,land:'hi',reg:'OC',cc:'US',P:70,ix:'Poke-IX',dc:'Dr. Fortress of Solitude',note:tr('Halfway between California and everything else in the Pacific. Cables from the US, Australia, New Zealand, Guam and Tahiti come ashore on Oahu. A POP here ends the light’s long swim: waves start fresh on each side, so each half carries more.')}, + {id:'gum',name:'Guam',x:0,y:0,land:'gu',reg:'OC',cc:'GU',P:15,blackout:true,ix:'Spam-IX',dc:'Typhoon-Proof Bunker',note:tr('A small island where cables from the US, Japan, Australia, the Philippines and Singapore all meet. Split a crossing here and each half carries more. Typhoons take the grid down every few years, so bring a generator.')}, + {id:'ror',name:'Koror',x:0,y:0,land:'pw',reg:'OC',cc:'PW',P:3,ix:'',dc:'Jellyfish Lake Landing',note:tr('Palau, on a branch cable from Guam. Coral reefs, jellyfish that do not sting, and very little traffic.')}, + {id:'maj',name:'Majuro',x:0,y:0,land:'mh',reg:'OC',cc:'MH',P:3,ix:'',dc:'Two Metres Up Colo',note:tr('The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.')}, + {id:'pom',name:'Port Moresby',x:0,y:0,land:'pg',reg:'OC',cc:'PG',P:40,blackout:true,ix:'',dc:'Bird of Paradise DC',note:tr('Papua New Guinea’s capital, in a country of eight hundred languages, with a cable to Sydney. The grid fails often, so bring a generator.')}, + {id:'hir',name:'Honiara',x:0,y:0,land:'sb',reg:'OC',cc:'SB',P:8,blackout:true,ix:'Shell Money-IX',dc:'Guadalcanal Grotto',note:tr('The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.')}, + {id:'nou',name:'Nouméa',x:0,y:0,land:'nc',reg:'OC',cc:'NC',P:20,ix:'Bougna-IX',dc:'Lagoon Rack',note:tr('New Caledonia, a slice of France in the Coral Sea, with a cable to Sydney and a nickel mine on every hill.')}, + {id:'suv',name:'Suva',x:0,y:0,land:'fj',reg:'OC',cc:'FJ',P:25,ix:'Kava-IX',dc:'Bula Bula Colo',note:tr('Fiji’s capital and the crossroads of the South Pacific. Cables between the US, Australia and New Zealand stop here, and smaller ones go on to Tonga and Samoa.')}, + {id:'tbu',name:'Nuku’alofa',x:0,y:0,land:'to',reg:'OC',cc:'TO',P:4,ix:'',dc:'Volcano View DC',note:tr('Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.')}, + {id:'apw',name:'Apia',x:0,y:0,land:'ws',reg:'OC',cc:'WS',P:5,ix:'',dc:'Siva Shed',note:tr('Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.')}, + {id:'ppg',name:'Pago Pago',x:0,y:0,land:'as',reg:'OC',cc:'AS',P:4,ix:'',dc:'Rainmaker Rack',note:tr('American Samoa: a deep harbour, tuna canneries and a branch of the cable from Australia to Oregon.')}, + {id:'ppt',name:'Papeete',x:0,y:0,land:'pf',reg:'OC',cc:'PF',P:18,ix:'',dc:'Overwater Bungalow DC',note:tr('Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.')}, + {id:'hfx',name:'Halifax',x:0,y:0,land:'am',reg:'AM',cc:'CA',ca:true,P:45,ix:'Donair-IX',dc:'Bluenose Bunker',note:tr('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.')}, + {id:'bda',name:'Bermuda',x:0,y:0,land:'bm',reg:'AM',cc:'BM',P:6,ix:'',dc:'Pink Sand Colo',note:tr('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.')}, + {id:'pdl',name:'Ponta Delgada',x:0,y:0,land:'az',reg:'EU',cc:'PT',P:8,ix:'',dc:'Caldeira Colo',note:tr('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.')}, + {id:'tci',name:'Tenerife',x:0,y:0,land:'ic',reg:'EU',cc:'ES',P:25,ix:'',dc:'Mojo Picón DC',note:tr('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.')}, + {id:'rai',name:'Praia',x:0,y:0,land:'cv',reg:'AF',cc:'CV',P:5,ix:'Cachupa-IX',dc:'Morabeza Rack',note:tr('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.')}, + {id:'jam',name:'St Helena',x:0,y:0,land:'sh',reg:'AF',cc:'SH',P:1,blackout:true,ix:'',dc:'Napoleon’s Last Rack',note:tr('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.')}, + {id:'osa',name:'Osaka',x:0,y:0,land:'jp',reg:'AS',P:700,ix:'Takoyaki-IX',dc:'Dojima DC',note:tr('Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.')}, + {id:'kul',name:'Kuala Lumpur',x:0,y:0,land:'eu',reg:'AS',P:350,ix:'Satay-IX',dc:'Twin Towers Colo',note:tr('Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.')}, + {id:'bkk',name:'Bangkok',x:0,y:0,land:'eu',reg:'AS',P:600,ix:'Tom-Yum-IX',dc:'Floating Market DC',note:tr('Big, busy and flooded with traffic, sometimes literally.')}, + {id:'sgn',name:'Ho Chi Minh City',x:0,y:0,land:'eu',reg:'AS',P:500,vn:true,ix:'Pho-IX',dc:'Scooter-cooled DC',note:tr('Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.')}, + {id:'khi',name:'Karachi',x:0,y:0,land:'eu',reg:'AS',P:500,arpu:0.4,ix:'Chai-IX',dc:'Seaview Landing Station',note:tr('Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.')}, + {id:'dac',name:'Dhaka',x:0,y:0,land:'eu',reg:'AS',P:700,arpu:0.3,ix:'Rickshaw-IX',dc:'Monsoon-mapped DC',note:tr('Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.')}, + {id:'cbo',name:'Colombo',x:0,y:0,land:'lk',reg:'AS',P:120,ix:'Hopper-IX',dc:'Tea-cooled Landing Station',note:tr('A small island at the crossroads of every Indian Ocean cable.')}, + {id:'waw',name:'Warsaw',x:0,y:0,land:'eu',reg:'EU',P:550,ix:'Pierogi-IX',dc:'Palace-of-Culture-adjacent DC',note:tr('Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.')}, + {id:'prg',name:'Prague',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Pilsner-IX',dc:'Castle-view Colo',note:tr('Beer is cheaper than water here, and IX ports are cheaper than both.')}, + {id:'vie',name:'Vienna',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Schnitzel-IX',dc:'Waltz-cooled DC',note:tr('The old gateway to Eastern Europe. Packets still bow politely on the way through.')}, + {id:'bud',name:'Budapest',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Goulash-IX',dc:'Thermal Bath DC',note:tr('Waste heat goes straight into the spa next door.')}, + {id:'buh',name:'Bucharest',x:0,y:0,land:'eu',reg:'EU',P:400,ix:'Sarmale-IX',dc:'Parliament-sized DC',note:tr('Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.')}, + {id:'tll',name:'Tallinn',x:0,y:0,land:'eu',reg:'EU',P:80,ix:'E-Stonia-IX',dc:'Medieval Wall DC',note:tr('Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.')}, + {id:'ist',name:'Istanbul',x:0,y:0,land:'eu',reg:'EU',P:900,ix:'Baklava-IX',dc:'Bosphorus Bridge DC',note:tr('One foot in Europe, one in Asia. Every land route between them crosses here.')}, + {id:'kyv',name:'Kyiv',x:0,y:0,land:'eu',reg:'EU',P:500,blackout:true,ix:'Varenyky-IX',dc:'Generator-backed Bunker DC',note:tr('Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.')}, + {id:'jed',name:'Jeddah',x:0,y:0,land:'eu',reg:'AS',P:300,saudi:true,gcc:true,ix:'',dc:'Red Sea Landing Palace',note:tr('Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.')}, + {id:'ruh',name:'Riyadh',x:0,y:0,land:'eu',reg:'AS',P:600,saudi:true,gcc:true,ix:'Kabsa-IX',dc:'Desert Megaproject DC',note:tr('The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.')}, + {id:'doh',name:'Doha',x:0,y:0,land:'eu',reg:'AS',P:150,arpu:1.5,qa:true,ix:'Pearl-IX',dc:'Air-cooled Stadium DC',note:tr('Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.')}, + {id:'mil',name:'Milan',x:0,y:0,land:'eu',reg:'EU',P:450,ix:'MIX-and-Match',dc:'Caldera Park Campus',note:tr('Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.')}, + {id:'rom',name:'Rome',x:0,y:0,land:'eu',reg:'EU',P:450,ix:'Carbonara-IX',dc:'Colosseum-adjacent Colo',note:tr('All roads lead to Rome. Most packets still go via Milan.')}, + {id:'pmo',name:'Palermo',x:0,y:0,land:'eu',reg:'EU',P:60,ix:'Cannoli-IX',dc:'Sicilian Hub-a-Dub',note:tr('A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.')}, + {id:'lis',name:'Lisbon',x:0,y:0,land:'eu',reg:'EU',P:300,ix:'Pastel-de-Nata-IX',dc:'Seven Hills Colo',note:tr('Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.')}, + {id:'ath',name:'Athens',x:0,y:0,land:'eu',reg:'EU',P:350,ix:'Souvlaki-IX',dc:'Acropolis-view DC',note:tr('Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.')}, + {id:'atn',name:'Atlanta',x:0,y:0,land:'am',reg:'AM',P:450,ix:'Peach-IX',dc:'56 Marietta',note:tr('The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.')}, + {id:'den',name:'Denver',x:0,y:0,land:'am',reg:'AM',P:250,ix:'Mile-High-IX',dc:'Thin Air DC',note:tr('A mile up and halfway between the coasts, so every cross-country route stops here for a breather.')}, + {id:'phx',name:'Phoenix',x:0,y:0,land:'am',reg:'AM',P:300,ix:'Cactus-IX',dc:'Dry Heat Campus',note:tr('Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.')}, + {id:'bos',name:'Boston',x:0,y:0,land:'am',reg:'AM',P:350,ix:'Chowder-IX',dc:'One Summer Street',note:tr('Universities, biotech and a carrier hotel that has outlived most of its carriers.')}, + {id:'hou',name:'Houston',x:0,y:0,land:'am',reg:'AM',P:450,ix:'Rodeo-IX',dc:'Hurricane-hardened DC',note:tr('Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.')}, + {id:'slc',name:'Salt Lake City',x:0,y:0,land:'am',reg:'AM',P:150,ix:'Fry-Sauce-IX',dc:'Great Salt Lake DC',note:tr('Cheap power, dry air and a surprising number of very quiet data centers.')}, + {id:'man',name:'Manchester',x:0,y:0,land:'uk',reg:'EU',P:350,ix:'Rainy-City-IX',dc:'Old Cotton Mill Colo',note:tr('The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.')}, + {id:'edi',name:'Edinburgh',x:0,y:0,land:'uk',reg:'EU',P:200,ix:'Haggis-IX',dc:'Castle Rock Colo',note:tr('Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.')}, + {id:'bde',name:'Bude',x:0,y:0,land:'uk',reg:'EU',P:3,ix:'',dc:'Clifftop Landing Station',note:tr('A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.')}, + {id:'svg',name:'Stavanger',x:0,y:0,land:'eu',reg:'EU',P:60,ix:'Brunost-IX',dc:'Inside-a-Mountain DC',note:tr('Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.')}, +]; +// Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat. +const CITY_NUDGE={stg:[7,1],zrh:[-3,3],bru:[1,3],oos:[-3,0],van:[-3,-6],sea:[1,4],ott:[-3,-3],bcn:[-6,-4],auh:[-5,6],dxb:[9,-7],fuj:[8,15],tll:[-4,22],osa:[-10,6],khi:[-2,-6],hou:[0,6],dal:[0,-4],nyc:[.3,-.7],mia:[-.6,.4],mtl:[.8,0],cph:[-.7,.3],hel:[-.8,-.2],akl:[.6,.4],sin:[-1.3,-1.3],hkg:[.8,0],ist:[.8,0],lis:[.8,0],aju:[-13.5,-2.7],bel:[0.4,0.4],cac:[2.4,-0.7],cpv:[-10.2,-5.1],cpq:[-2.8,-5.2],cau:[-10.2,2.4],cxj:[5.4,-9.4],fec:[-10.8,1.4],fln:[0.8,4.4],igu:[-3.9,5.3],gyn:[-4,2.6],jpa:[-0.9,0.6],ljd:[-5.2,-7.7],ldb:[6.2,0.1],mcp:[-1.7,1.7],mcz:[-7.2,8],mgf:[-5.8,-4.4],nat:[-1.5,-3.3],rao:[3.6,-2.6],rec:[-2.4,7.2],ssa:[0.5,-0.2],ria:[-2.4,4.9],sjp:[-3.5,0.4],slz:[0.3,0.3],vix:[-0.4,0.4],mvd:[2.2,-4.3],asu:[-1.2,-0.8],mde:[-1.7,-1.9],qro:[-1.9,-3.9],gdl:[-1.2,0.2],cas:[0.6,0.6],alg:[0.9,0.9],jib:[0.1,0.2],mba:[-0.8,0],dar:[0,12.6],dur:[-0.2,0]}; +for(const c of CITIES){const q=CITY_LL[c.id];if(q){c.lon=q[0];c.lat=q[1];const pt=proj(q[0],q[1]),n=CITY_NUDGE[c.id]||[0,0];c.x=pt[0]+n[0];c.y=pt[1]+n[1];}} +const CITY=Object.fromEntries(CITIES.map(c=>[c.id,c])),CIDX=Object.fromEntries(CITIES.map((c,i)=>[c.id,i])); diff --git a/src/game/20-world/60-cables.js b/src/game/20-world/60-cables.js new file mode 100644 index 0000000..c8cb49b --- /dev/null +++ b/src/game/20-world/60-cables.js @@ -0,0 +1,129 @@ +const CABLES=[ + {"id":"marea","name":"Marea Carey","price":0.8,"age":"new","blurb":tr("Hits the high notes across the Atlantic. Huge capacity, cheap waves."),"pairs":[["ash","mad",[[-74,36.5],[-50,40],[-25,43],[-10,44]]]]}, + {"id":"grace","name":"Grace Hopscotch","price":0.85,"age":"new","blurb":tr("Hops from New York to the UK and Spain."),"pairs":[["nyc","lon",[[-72,40],[-50,47],[-25,50],[-10,50.5]]],["nyc","mad",[[-72,39.8],[-50,42],[-25,43.2],[-10,43.8]]]]}, + {"id":"dunant","name":"Dunno-ant","price":0.85,"age":"new","blurb":tr("Nobody remembers who it is named after."),"pairs":[["ash","par",[[-74,36.8],[-50,42],[-25,46],[-5,47.3]]]]}, + {"id":"amitie","name":"Ami-Tea","price":0.9,"age":"new","blurb":tr("A friendly cable with French manners."),"pairs":[["nyc","lon",[[-70,41.5],[-50,46],[-25,49],[-8,50.3]]],["nyc","par",[[-70,41.3],[-50,45],[-25,47.5],[-5,47.6]]]]}, + {"id":"hibx","name":"Hibernia Express-o","price":1.7,"age":"mid","blurb":tr("The straightest line across the Atlantic. Traders pay double to save a few milliseconds."),"pairs":[["nyc","lon",[[-68,42],[-55,46.5],[-30,52.5],[-12,52.5]]],["nyc","hfx",[[-70,41.6],[-66,43.3]]],["hfx","lon",[[-60,45.5],[-55,46.5],[-30,52.5],[-12,52.5]]]],"lat":0.9}, + {"id":"tat","name":"TAT-14 Retirement Home","price":1.3,"age":"old","blurb":tr("Laid last century. Cuts often, costs more, still somehow running."),"pairs":[["nyc","ams",[[-70,41],[-45,48],[-20,52],[0,54],[3,53.5]]]]}, + {"id":"ella","name":"EllaLink-ing","price":1.0,"age":"new","blurb":tr("Brazil straight to Iberia, skipping the US entirely."),"pairs":[["for","mad",[[-37,-2.2],[-32,5],[-22,20],[-14,33],[-10,37.5]]],["sao","mad",[[-44,-24.5],[-38,-14],[-34,-6],[-30,5],[-22,20],[-14,33],[-10,37.5]]],["for","lis",[[-37,-2.2],[-32,5],[-22,20],[-14,33],[-9.6,37.9]]],["for","rai",[[-37,-2.2],[-32,5],[-26,13]]],["rai","lis",[[-22,20],[-14,33],[-9.6,37.9]]]]}, + {"id":"sacs","name":"SACS-y Cable","price":1.0,"age":"mid","blurb":tr("South Atlantic, cool and confident."),"pairs":[["for","lag",[[-36,-3],[-20,0],[0,3]]],["sao","lag",[[-44,-24.5],[-35,-10],[-15,-3],[0,2],[3,5.5]]],["for","lad",[[-37,-2.5],[-20,-5],[0,-8],[12.6,-9]]]]}, + {"id":"col3","name":"Columbus III-and-a-half","price":1.4,"age":"old","blurb":tr("Discovered the Atlantic again. Old, pricey and fragile."),"pairs":[["mia","mad",[[-79,26],[-60,30],[-30,35],[-10,36.5]]],["mia","pdl",[[-79,26],[-60,30],[-35,36]]],["pdl","lis",[[-15,38.2]]]]}, + {"id":"twoaf","name":"2Africa-n-Back","price":0.75,"age":"new","blurb":tr("All the way around Africa and back. Cheapest capacity on the map."),"pairs":[["lon","lag",[[-6,49],[-12,40],[-20,20],[-18,8],[-5,3],[3,5.5]]],["jnb","mrs",[[32,-30],[40,-20],[45,-5],[52,10],[45,12.3],[44,12.4],[41,15.1],[38,21.1],[35,26.1],[33,29.6],[32.4,31.3],[30,32.1],[20,34.1],[12,37.6],[6,42.5]]],["mrs","bom",[[6,42.5],[12,37.6],[20,34.1],[30,32.1],[32.4,31.3],[33,29.6],[35,26.1],[38,21.1],[41,15.1],[44,12.4],[52,13],[62,18],[70,19]]],["dkr","abj",[[-18,14.7],[-17,10],[-14,5],[-8,4],[-4,4.8]]],["abj","acc",[[-4,4.8],[-0.2,5.1]]],["acc","lag",[[-0.2,5.1],[3.2,5.8]]],["lag","lad",[[3.2,5.8],[6,3],[9,3.6],[8,-2],[11.5,-6],[12.6,-9]]],["lad","cpt",[[12.6,-9],[11.5,-15],[13.5,-22.7],[15,-30],[17.6,-34.4]]],["cpt","dur",[[17.6,-34.4],[22,-35.5],[28,-34],[32,-30.3]]],["dur","mpm",[[32,-30.3],[34.5,-26]]],["mpm","dar",[[34.5,-26],[38,-20],[41.5,-14],[40.4,-7]]],["dar","mba",[[40.4,-7],[40.6,-4.3]]],["mba","jib",[[40.6,-4.3],[45,2],[51,10.5],[45,12.3],[43.5,11.9]]],["jib","cai",[[43.5,11.9],[40.4,14.7],[37.4,20.7],[34.4,25.7],[32.4,29.2],[32.4,31.4]]],["lon","tci",[[-6,49],[-12,40],[-15.5,29.5]]],["tci","lag",[[-18,25],[-20,20],[-18,8],[-5,3],[3,5.5]]]]}, + {"id":"equi","name":"Equi-yes","price":0.8,"age":"new","blurb":tr("Always agrees with you. Iberia to West Africa."),"pairs":[["lag","cpt",[[4,3],[6,-5],[10,-20],[16,-33]]],["mad","lag",[[-10,38],[-15,28],[-18,15],[-14,5],[-2,3],[3,5.8]]],["lis","lag",[[-9.6,37.9],[-15,28],[-18,15],[-14,5],[-2,3],[3,5.8]]],["lag","wdh",[[3.2,5.8],[6,3],[9,3.6],[8,-2],[11.5,-6],[12.6,-9],[11.5,-15],[13.5,-22.7]]],["wdh","cpt",[[13.5,-22.7],[15,-30],[17.6,-34.4]]],["lag","jam",[[4,3],[2,-5],[-3,-12]]],["jam","wdh",[[-2,-18],[8,-21.5],[13.5,-22.7]]]]}, + {"id":"smw6","name":"SEE-ME-WAVE 6","price":0.95,"age":"new","blurb":tr("Sixth in a long-running series. Europe to India to Singapore."),"pairs":[["mrs","bom",[[6.4,42.74],[12.4,37.84],[20.4,34.34],[30.4,32.34],[32.8,31.54],[33.4,29.84],[35.4,26.34],[38.4,21.34],[41.4,15.34],[44.4,12.64],[52,13.4],[62,18.4],[70,19.4]]],["bom","sin",[[72,17],[76,8],[80.5,5],[90,5],[96,5.5],[100,4],[103,1.5]]],["mrs","sin",[[6.4,42.74],[12.4,37.84],[20.4,34.34],[30.4,32.34],[32.8,31.54],[33.4,29.84],[35.4,26.34],[38.4,21.34],[41.4,15.34],[44.4,12.64],[52,12.8],[62,12.5],[75,6.8],[80.5,5.2],[92,5.8],[97,5.8],[100.5,4],[103,1.7]]]]}, + {"id":"peace","name":"PEACE-out","price":0.85,"age":"new","blurb":tr("Marseille to Singapore, then it leaves the party."),"pairs":[["mrs","sin",[[5.6,42.26],[11.6,37.36],[19.6,33.86],[29.6,31.860000000000003],[32.0,31.060000000000002],[32.6,29.360000000000003],[34.6,25.860000000000003],[37.6,20.860000000000003],[40.6,14.86],[43.6,12.16],[52,12.2],[62,11.8],[75,6.3],[80.5,4.6],[92,5.2],[97,5.3],[100.5,3.6],[103,1.4]]],["mba","cai",[[40.6,-4.3],[45,2],[51,10.5],[45,12.3],[43.5,11.9],[40.4,14.7],[37.4,20.7],[34.4,25.7],[32.4,29.2],[32.4,31.4]]]]}, + {"id":"aae","name":"AAAAAE-1","price":1.0,"age":"mid","blurb":tr("Asia, Africa, Europe, and one more thing."),"pairs":[["khi","sin",[[66,22],[70,12],[78,5.5],[90,5.5],[97,6],[100,3.6],[102.6,2.1],[103.7,1.3]]],["mrs","hkg",[[6.8,42.98],[12.8,38.08],[20.8,34.58],[30.8,32.58],[33.199999999999996,31.78],[33.8,30.080000000000002],[35.8,26.580000000000002],[38.8,21.580000000000002],[41.8,15.58],[44.8,12.88],[52,11.8],[62,11.4],[75,6],[80.5,4.4],[92,5],[97,5],[100.5,3.3],[104.5,1.5],[107,5],[110,10],[113,18],[114.2,21.8]]],["sin","hkg",[[104.5,1.5],[108,6],[111,12],[114,20],[114.2,22]]],["jib","cai",[[43.5,11.9],[40.4,14.7],[37.4,20.7],[34.4,25.7],[32.4,29.2],[32.4,31.4]]]]}, + {"id":"apg","name":"A Pretty Gateway","price":0.9,"age":"mid","blurb":tr("The pretty way around East Asia."),"pairs":[["tpe","tok",[[123,25.5],[130,29.5],[137,33.5]]],["hkg","tpe",[[116.5,21.8],[119.5,22.8]]],["sin","hkg",[[105,2],[109,7],[112,13],[114.6,20],[114.4,22]]],["hkg","tok",[[116,21.5],[122,24],[126,28],[132,32],[137,33.8],[139.8,35]]],["hkg","icn",[[116,22],[122,26],[125,32],[126,35],[126.2,36.8]]],["tok","icn",[[136,33.8],[130,33.5],[128,34.5],[126.5,35.5]]],["tok","sha",[[135,33.5],[128,31.5],[122.5,31.2]]]]}, + {"id":"jup","name":"Jupiterrible","price":0.9,"age":"new","blurb":tr("Named after a planet, behaves like one: big and far away."),"pairs":[["lax","osa",[[-121,33.3],[-145,31.5],[-175,31.5],[-200,32.5],[-222,33.8]]],["lax","tok",[[-121,33.5],[-145,32],[-175,32],[-200,33],[-218,34.5]]]]}, + {"id":"fast","name":"FASTEST","price":0.85,"age":"mid","blurb":tr("Its predecessor was FASTER. Marketing had a good day."),"pairs":[["sea","tok",[[-125,46],[-150,45],[-180,42],[-205,38],[-218,35]]]]}, + {"id":"ncp","name":"Crosspatch Pacific","price":1.0,"age":"mid","blurb":tr("Crosses the Pacific, mildly annoyed about it."),"pairs":[["sea","tpe",[[-125,46],[-155,45],[-185,38],[-212,28],[-235,25.6]]],["sea","icn",[[-125,46.5],[-155,46.5],[-185,42],[-212,33],[-229,33.8],[-232,36]]],["sea","sha",[[-125,46.2],[-155,45.5],[-185,40],[-212,31],[-236,30.5]]]]}, + {"id":"plcn","name":"Pacific Lite","price":1.1,"age":"mid","blurb":tr("Lighter on paperwork than its namesake. Still heavy on paperwork."),"pairs":[["lax","tpe",[[-121,33],[-150,25],[-180,22],[-215,22],[-236,24]]],["lax","hkg",[[-121,33],[-150,25],[-180,22],[-215,21],[-240,21.5]]]]}, + {"id":"scx","name":"Southern Cross-ed Fingers","price":1.2,"age":"old","blurb":tr("Old Pacific workhorse. Everyone hopes it holds."),"pairs":[["sjc","syd",[[-123,37],[-150,20],[-175,0],[-190,-20],[-200,-30],[-207,-33.5]]],["akl","syd",[[168,-37],[158,-35]]],["sjc","hnl",[[-123,36.5],[-140,28],[-156.2,21.5]]],["hnl","suv",[[-158.5,19.5],[-168,6],[-176,-8],[-181.2,-17.5]]],["suv","syd",[[177.5,-19],[166,-25.5],[156,-32],[152,-33.8]]],["akl","suv",[[175.2,-35.5],[176.5,-27],[178.2,-19]]]]}, + {"id":"hwk","name":"Hawaiki-wiki","price":0.95,"age":"new","blurb":tr("Quick Pacific crossing with a stop for snacks."),"pairs":[["sea","syd",[[-125,45],[-150,20],[-170,-5],[-185,-25],[-200,-32],[-206,-33.8]]],["akl","sea",[[178,-34],[190,-20],[210,10],[230,40],[234.5,47]]],["sea","hnl",[[-125,45],[-145,31],[-157.8,21.8]]],["hnl","syd",[[-158.5,20],[-172,0],[-185,-25],[-200,-32],[-206,-33.8]]],["hnl","akl",[[-158.5,20],[-174,-5],[-182,-28],[-185.1,-36]]],["hnl","ppg",[[-158.6,20.5],[-166,2],[-170.5,-13.8]]]]}, + {"id":"indigo","name":"Indi-Go-Down","price":0.9,"age":"new","blurb":tr("Singapore to Sydney via Perth, on the days it is up."),"pairs":[["sin","syd",[[104.5,0],[107,-8],[113,-12],[112,-25],[114,-35],[130,-37],[145,-41],[152,-36]]],["sin","per",[[104.6,0],[107.2,-8],[113,-14],[112.5,-25],[115,-31.8]]]]}, + {"id":"guam","name":"Guam-bling","price":1.1,"age":"mid","blurb":tr("A bet on a tiny island in the middle of the Pacific."),"pairs":[["tok","syd",[[142,33],[146,15],[152,0],[156,-20],[152.5,-33]]],["tok","gum",[[142,33],[146,20],[145.2,14]]],["gum","syd",[[145.5,12.5],[152,0],[156,-20],[152.5,-33]]]]}, + {"id":"sushi","name":"Sushi Train Cable","price":1.15,"age":"old","blurb":tr("Sydney to Tokyo by way of Guam, going round and round since 2001."),"pairs":[["syd","tok",[[153,-33],[157,-20],[151,0],[145,14],[140.5,33]]]]}, + {"id":"aloha","name":"Aloha Mate","price":1.05,"age":"mid","blurb":tr("Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem."),"pairs":[["hnl","syd",[[-158.5,20],[-168,4],[-180,-15],[-197,-30],[-205.5,-33.6]]]]}, + {"id":"avo","name":"Cut Lunch Cable","price":0.9,"age":"new","fragile":true,"blurb":tr("Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich."),"pairs":[["per","sin",[[114,-31.8],[110,-24],[106,-10],[105.5,-3],[104.4,1]]],["per","jkt",[[114,-31.8],[110,-24],[106.5,-10],[106.8,-6.3]]]]}, + {"id":"ferry","name":"Ferry Express","price":1.0,"age":"mid","blurb":tr("Crosses Bass Strait faster than the ferry, and gets seasick less often."),"pairs":[["mel","hba",[[145,-38.4],[146.3,-39.8],[147.9,-41.5],[147.6,-42.9]]]]}, + {"id":"smap","name":"SMAP (Somewhere, Maybe Also Perth)","price":0.95,"age":"new","blurb":tr("Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white."),"pairs":[["syd","mel",[[151.6,-34.2],[150.5,-36.5],[150,-37.7],[147,-38.7],[145,-38.5]]],["mel","adl",[[144.5,-38.5],[141.5,-38.7],[139.7,-37.3],[138.3,-35.9],[138.4,-35.1]]],["adl","per",[[137.8,-35.9],[134,-34.6],[129,-33.2],[123,-34.9],[118,-35.7],[115,-34.7],[115.3,-32.5],[115.7,-32]]]]}, + {"id":"ohman","name":"Oh-Man Australia Cable","price":1.0,"age":"new","blurb":tr("Perth to the Gulf across the Indian Ocean. Oh man, it is long."),"pairs":[["per","dxb",[[113,-31],[100,-25],[80,-10],[65,10],[59,20],[57,24.5]]]]}, + {"id":"cook","name":"Cook Strait Talking","price":1.0,"age":"mid","blurb":tr("Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t."),"pairs":[["akl","chc",[[174.2,-37.3],[173.6,-38.6],[173.9,-39.7],[174.5,-40.6],[174.4,-41.4],[173.9,-42.1],[173.4,-43.0],[173.1,-43.6]]]]}, + {"id":"ring","name":"Lord of the Tasman Rings","price":0.9,"age":"new","blurb":tr("One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen."),"pairs":[["ivc","syd",[[167.6,-46.9],[160,-42],[153,-35]]],["ivc","mel",[[167.6,-46.9],[156,-43.5],[146.2,-39.4]]],["ivc","akl",[[167.4,-46.5],[166.3,-45.4],[167.9,-43.8],[170.6,-42.3],[172.3,-40.6],[173.5,-38.8],[174.3,-37.3]]]]}, + {"id":"tasman","name":"Tasman Global Excess","price":0.95,"age":"new","blurb":tr("Sydney to Auckland with plenty to spare."),"pairs":[["akl","syd",[[170,-36],[158,-34.5]]]]}, + {"id":"bifrost","name":"Bi-Frosted","price":0.9,"age":"new","blurb":tr("A rainbow bridge from Singapore to California, via Jakarta and Manila."),"pairs":[["sin","jkt",[[105,-1],[106,-4]]],["jkt","mnl",[[108,-5],[112,-3],[118,2],[122,6],[121,10],[120,13.5]]],["mnl","lax",[[123,15],[140,20],[180,25],[210,30],[235,33.5]]],["mnl","gum",[[123,15],[136,14.5],[144.3,13.6]]],["gum","lax",[[145.5,14.2],[180,22],[210,30],[235,33.5]]]]}, + {"id":"sjcph","name":"Sushi-Jollibee Cable","price":0.9,"age":"mid","blurb":tr("Southeast Asia to Japan, with snacks."),"pairs":[["hkg","mnl",[[116,21],[119.5,16],[120.3,14.6]]],["mnl","sin",[[119,12],[115,8],[110,5],[105,2]]],["mnl","tok",[[122,19],[127,24],[133,30],[138.5,34.5]]]]}, + {"id":"farice","name":"Far-Ice-1","price":1.2,"age":"old","blurb":tr("Iceland’s lifeline to Scotland. Lonely but determined."),"pairs":[["rek","lon",[[-20,63],[-10,61],[-4,59],[-1.5,57]]]]}, + {"id":"danice","name":"Dance-Ice","price":1.0,"age":"mid","blurb":tr("Iceland to Denmark, choreographed."),"pairs":[["rek","cph",[[-18,63],[-5,62],[5,59],[8.5,57.5],[11,57]]]]}, + {"id":"gcon","name":"Greenland Connect-the-Dots","price":1.4,"age":"old","blurb":tr("Hops via Greenland. Polar bears included."),"pairs":[["rek","mtl",[[-26,63.5],[-42,60],[-55,53],[-60,48],[-66,47],[-70,46.5]]]]}, + {"id":"iris","name":"IRIS Scan","price":0.9,"age":"new","blurb":tr("Iceland to Ireland, brand new and still smells like plastic."),"pairs":[["rek","dub",[[-22,63],[-15,58],[-10.5,54.5],[-9,53.3]]]]}, + {"id":"aec","name":"AEConnect-the-Dots","price":0.85,"age":"new","blurb":tr("New York to Ireland: the tech-tax express."),"pairs":[["nyc","dub",[[-70,41],[-50,47],[-25,52],[-11,52.8]]]]}, + {"id":"havf","name":"Havfun","price":0.8,"age":"new","blurb":tr("Danish for “sea fun”. Probably."),"pairs":[["nyc","cph",[[-70,41.5],[-50,49],[-25,55],[-10,58],[0,58],[7,57.5],[10,57.6]]],["dub","cph",[[-10,54.5],[-8,57],[-2,59],[6,58],[10,57.6]]]]}, + {"id":"celtix","name":"Celtix Connected","price":0.7,"age":"mid","blurb":tr("Dublin to London across the Irish Sea."),"pairs":[["dub","lon",[[-5,53.4]]]]}, + {"id":"falcon","name":"Falcon Punch","price":0.9,"age":"mid","blurb":tr("Dubai to Mumbai. Hits hard."),"pairs":[["cai","dxb",[[32.6,29.9],[34.4,27.2],[37.5,22.5],[41.5,15.5],[43.4,12.4],[48,12.6],[55,15.8],[59.4,21.8],[57,25.5]]],["fuj","bom",[[58,24.8],[63,22.3],[70,19.2]]],["dxb","bom",[[57,25.5],[60,23],[66,21],[71,19]]]]}, + {"id":"eig","name":"Eye-Gee","price":1.0,"age":"mid","blurb":tr("A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable."),"pairs":[["dxb","mrs",[[57,25],[59,22],[55,16],[48,12.8],[43.2,11.92],[40.2,14.62],[37.2,20.62],[34.2,25.62],[32.2,29.12],[31.599999999999998,30.82],[29.2,31.62],[19.2,33.620000000000005],[11.2,37.120000000000005],[5.2,42.02]]]]}, + {"id":"clion","name":"C-Lion King","price":1.0,"age":"new","blurb":tr("Helsinki to Germany under the Baltic. Anchors keep finding it."),"pairs":[["hel","fra",[[24,59.8],[20,57.5],[15,55.2],[12.2,54.3]]]]}, + {"id":"uly","df":true,"name":"Ulysseless","price":0.8,"age":"old","blurb":tr("Short hop across the North Sea. An odyssey it is not."),"pairs":[["lon","ams",[[2,51.8]]]]}, + {"id":"chn","df":true,"name":"Channel Hopper","price":0.7,"age":"mid","blurb":tr("London to Paris under the Channel. Cheaper than the train."),"pairs":[["lon","par",[[1,50.5]]]]}, + {"id":"medn","name":"Med-Nauti-lust","price":0.9,"age":"mid","blurb":tr("Across the Mediterranean, Egypt to France. Romantic, in a cable way."),"pairs":[["ist","mrs",[[26.5,40],[25,37],[20,35.5],[12,38],[6.5,42.6]]],["cai","mrs",[[29.9,31.4],[28,32.5],[20,34.5],[12,38],[6.5,42.6]]]]}, + {"id":"eassy","name":"EASSy Peasy","price":0.95,"age":"mid","blurb":tr("East Africa up to Europe via the Red Sea. Lemon squeezy."),"pairs":[["nbo","mrs",[[39.7,-4],[42,-1],[45,2],[51,10.5],[45,12.3],[43.4,12.0],[40.4,14.7],[37.4,20.700000000000003],[34.4,25.700000000000003],[32.4,29.200000000000003],[31.799999999999997,30.900000000000002],[29.4,31.700000000000003],[19.4,33.7],[11.4,37.2],[5.4,42.1]]],["dur","mpm",[[32,-30.3],[34.5,-26]]],["mpm","dar",[[34.5,-26],[38,-20],[41.5,-14],[40.4,-7]]],["dar","mba",[[40.4,-7],[40.6,-4.3]]],["mba","jib",[[40.6,-4.3],[45,2],[51,10.5],[45,12.3],[43.5,11.9]]]]}, + {"id":"teams","name":"TEAMS-work","price":0.9,"age":"mid","blurb":tr("Kenya to the Gulf. Makes the dream work."),"pairs":[["nbo","dxb",[[39.7,-4],[44,0],[52,8],[58,18],[59,22.5],[57,25]]],["mba","fuj",[[40.6,-4.3],[44,0],[52,8],[58,18],[59,22.5],[57,25]]]]}, + {"id":"monet","name":"Mo-Net-y","price":0.9,"age":"new","blurb":tr("Brazil to Florida. The invoice arrives just as fast."),"pairs":[["sao","mia",[[-44,-25.5],[-36,-14],[-33,-4],[-45,4],[-62,16],[-76,25]]],["for","mia",[[-37,-2.2],[-45,4.5],[-62,16.5],[-76,25.3]]]]}, + {"id":"seabras","name":"Sea-Bras","price":0.9,"age":"new","blurb":tr("Straight from São Paulo to New York, skipping the Miami hairpin."),"pairs":[["sao","nyc",[[-44,-25.5],[-34,-10],[-33,0],[-50,18],[-66,33],[-72,39.5]]]]}, + {"id":"sam1","name":"SAM-1-and-Done","price":1.2,"age":"old","blurb":tr("An old ring around the whole continent, the long way round Cape Horn."),"pairs":[["mia","for",[[-75,24],[-62,16],[-45,4],[-37,-2.5]]],["for","rio",[[-36,-4],[-34,-9],[-37,-16],[-41,-23.6]]],["for","ssa",[[-36,-4],[-34,-9],[-37,-13.5]]],["ssa","rio",[[-37.5,-14],[-38.5,-18],[-41,-23.6]]],["rio","sao",[[-44,-24.3]]],["sao","bue",[[-47,-27],[-52,-35],[-56,-36]]],["bue","scl",[[-56,-37.5],[-62,-45],[-65,-56],[-72,-56],[-77,-45],[-74,-34]]],["scl","lim",[[-73.5,-30],[-74,-20],[-78,-13]]],["lim","pan",[[-81,-6],[-82,0],[-80,7]]],["pan","mia",[[-79.5,10],[-77,15],[-74,19.5],[-75,23],[-79,25]]]]}, + {"id":"curie","name":"Curie-osity","price":0.85,"age":"new","blurb":tr("Los Angeles to Chile, with a small detour for Panama."),"pairs":[["lax","scl",[[-120,30],[-108,14],[-92,0],[-80,-20],[-73,-33]]],["lax","pan",[[-120,30],[-105,15],[-90,7],[-80,7.5]]]]}, + {"id":"pccs","name":"Caribbean Cruise Control","price":1.0,"age":"mid","blurb":tr("Hops the Caribbean so Bogotá can skip the jungle."),"pairs":[["mia","bog",[[-80,24],[-77.5,19],[-76,12],[-75,10.5]]],["pan","bog",[[-79.6,9.6],[-77,9.9],[-75.5,10.5]]]]}, + {"id":"tannat","name":"Tannat Wine Line","price":0.9,"age":"mid","blurb":tr("Named after a wine. São Paulo to Buenos Aires, past Uruguay."),"pairs":[["sao","bue",[[-46,-26],[-50,-32],[-55,-35.5]]],["sao","mvd",[[-46,-26],[-50,-32],[-55,-35.3]]]]}, + {"id":"humb","name":"Humboldt Penguin","price":1.3,"age":"new","blurb":tr("The first cable from South America to Oceania. 14,000 km of very lonely glass."),"pairs":[["scl","syd",[[-75,-34],[-110,-38],[-150,-40],[-180,-38],[-200,-35],[-206,-34]]],["scl","ppt",[[-75,-34],[-100,-30],[-130,-22],[-149,-17.9]]],["ppt","syd",[[-150,-18.2],[-170,-28],[-185,-35],[-200,-35],[-206,-34]]]]}, + {"id":"wacs","name":"WACS-a-Mole","price":1.1,"age":"mid","blurb":tr("Up the west coast of Africa. Something on it is always down."),"pairs":[["cpt","lag",[[16,-34],[10,-20],[6,-5],[4,3]]],["lag","lon",[[3,4],[-10,8],[-20,20],[-15,35],[-10,45],[-6,49.5]]],["abj","acc",[[-4,4.8],[-0.2,5.1]]],["acc","lag",[[-0.2,5.1],[3.2,5.8]]],["lag","dla",[[3.2,5.8],[6,3],[9,3.6]]],["dla","lad",[[9,3.6],[8,-2],[11.5,-6],[12.6,-9]]],["lad","wdh",[[12.6,-9],[11.5,-15],[13.5,-22.7]]],["wdh","cpt",[[13.5,-22.7],[15,-30],[17.6,-34.4]]],["lon","tci",[[-6,49.5],[-10,45],[-15,35],[-16.1,28.8]]],["tci","rai",[[-18,24],[-22,17]]],["rai","abj",[[-20,10],[-10,4.5],[-4,4.8]]]]}, + {"id":"safe","name":"SAFE-ty Not Guaranteed","price":1.4,"age":"old","blurb":tr("An old cable from Cape Town round to India, via some very small islands."),"pairs":[["cpt","bom",[[22,-36],[45,-30],[57,-20],[65,0],[70,15]]]]}, + {"id":"bbg","name":"Bay of Bengal Gate-Delay","price":0.95,"age":"mid","blurb":tr("Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore."),"pairs":[["fuj","bom",[[58,24.5],[63,22],[69.5,19.5]]],["bom","maa",[[72,15],[75,8],[78.5,6.6],[81.8,8],[81,12]]],["maa","sin",[[82,12],[90,8],[96.5,6],[100,3.5],[102.5,2],[103.6,1.25]]]]}, + {"id":"i2i","name":"Eye-to-Eye","price":0.85,"age":"mid","blurb":tr("Chennai to Singapore, looking it straight in the eye."),"pairs":[["maa","sin",[[82,13],[91,9.5],[97,6.6],[100.2,3.8],[102.6,2.2],[103.7,1.3]]]]}, + {"id":"tse","name":"Strait Outta Taipei","price":1.5,"age":"old","blurb":tr("A short cable across a very tense strait."),"pairs":[["tpe","sha",[[122.2,26.5],[122.6,29],[122.2,31]]]]}, + {"id":"gbi","name":"Gulf Bridge Over Troubled Water","price":1.0,"age":"mid","blurb":tr("Leaves the Gulf from Fujairah and runs up the Red Sea to Europe."),"pairs":[["fuj","mrs",[[57.5,23.5],[59.5,21.5],[55,15.5],[48,12.6],[43.2,11.8],[40.2,14.5],[37.2,20.5],[34.2,25.5],[32.2,29],[31.6,30.7],[29.2,31.5],[19.2,33.5],[11.2,37],[5.2,42]]]]}, + {"id":"aagony","name":"AAG-ony","price":1.1,"age":"old","blurb":tr("An Asia–America gateway cable that breaks so often it has its own support group."),"pairs":[["sgn","hkg",[[109,12],[113,18],[114.2,21.5]]],["sgn","sin",[[106,7],[104.6,3]]]]}, + {"id":"darwin","name":"Darwin Award Cable","price":1.0,"age":"new","blurb":tr("Darwin to Singapore via Jakarta. Survival of the fittest packets."),"pairs":[["drw","jkt",[[129,-11.2],[122,-10],[114,-8.6],[108,-6.6]]],["drw","sin",[[129,-11.2],[120,-9],[114,-6],[108,-2],[105,0.6]]]]}, + {"id":"jga","name":"J-G’day-A (Japan–Guam–Aussie)","price":0.9,"age":"new","blurb":tr("Brisbane to Tokyo with a beach break in Guam."),"pairs":[["bne","tok",[[155,-25],[156,-5],[146,13],[141,30]]],["bne","gum",[[155,-25],[156,-5],[146,12.8]]],["gum","tok",[[145.3,14.5],[141,30]]]]}, + {"id":"smw4","name":"SEE-ME-WAVE 4","price":1.2,"age":"old","blurb":tr("The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope."),"pairs":[["khi","mrs",[[65,23.5],[60,22],[55,15.5],[48,12.6],[43.2,11.8],[40.2,14.5],[37.2,20.5],[34.2,25.5],[32.2,29],[31.6,30.7],[29.2,31.5],[19.2,33.5],[11.2,37],[5.2,42]]],["khi","bom",[[67,23],[70,20.5]]],["bom","cbo",[[72,15],[75,8],[78.5,6.3]]],["cbo","maa",[[80.6,8.6],[81,11.5]]],["maa","dac",[[82,14],[87,17.5],[91.5,21.2]]],["dac","sin",[[92,21],[93,17],[95,10],[97,6.4],[100,3.6],[102.6,2.1],[103.7,1.3]]]]}, + {"id":"balt","name":"Baltic Anchor Magnet","price":0.8,"age":"mid","blurb":tr("Short hops under the Baltic Sea. Every passing ship seems to find it."),"pairs":[["tll","hel",[[24.8,59.8]]],["tll","sto",[[22,59.3],[19.5,59.3]]]]}, + {"id":"bsea","name":"Black Sea Shanty","price":1.0,"age":"mid","blurb":tr("Istanbul to Bucharest's coast across the Black Sea."),"pairs":[["ist","buh",[[29.5,42],[29.5,43.5],[28.8,44.2]]]]}, + {"id":"concerto","name":"Concerto in Sea Minor","price":0.55,"age":"new","df":true,"blurb":tr("North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen."),"pairs":[["lon","ams",[[1.6,51.72],[3.6,52.02]]]]}, + {"id":"circe","name":"Circe du Soleil","price":0.6,"age":"mid","df":true,"blurb":tr("Another London–Amsterdam route. Everyone has one, so prices are low."),"pairs":[["lon","ams",[[1.8,52.18],[3.8,52.58]]]]}, + {"id":"nshuttle","name":"North Sea Shuttle","price":0.5,"age":"new","df":true,"blurb":tr("Brand new, cheap, and it lands right next to your racks."),"pairs":[["lon","ams",[[1.5,51.42],[3.9,51.88]]]]}, + {"id":"imewe","name":"I-ME-WE-Us","price":1.05,"age":"mid","blurb":tr("India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way."),"pairs":[["cai","fuj",[[32.6,29.9],[34.4,27.2],[37.5,22.5],[41.5,15.5],[43.4,12.4],[48,12.6],[55,15.8],[59.4,21.8],[57.5,24.3]]],["cai","bom",[[32.6,29.9],[34.4,27.2],[37.5,22.5],[41.5,15.5],[43.4,12.4],[48,12.6],[60,15],[68,17.5]]]]}, + {"id":"jedx","name":"Jeddah-i Express","price":0.95,"age":"new","blurb":tr("New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore."),"pairs":[["jed","bom",[[38.6,22.5],[41.5,15.5],[43.4,12.4],[48,12.6],[60,15],[68,17.5]]],["jed","sin",[[38.6,22.5],[41.5,15.5],[43.4,12.4],[52,11],[70,6],[80,5.2],[92,5.5],[97,6],[100,3.6],[102.6,2.1],[103.7,1.3]]]]}, + {"id":"rsea","name":"Red Sea Shortcut","price":0.9,"age":"mid","blurb":tr("A quick hop across the Red Sea between Egypt and Saudi Arabia."),"pairs":[["cai","jed",[[32.6,29.9],[34.6,27],[37.2,23.6]]]]}, + {"id":"qgulf","name":"Doha Detour","price":1.0,"age":"mid","blurb":tr("Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed."),"pairs":[["doh","fuj",[[52.5,26.2],[55,26.4],[56.6,26],[56.9,25.3]]],["doh","bom",[[52.5,26.2],[55,26.4],[57,25.5],[60,23],[66,21],[71,19]]]]}, + {"id":"nouk","name":"NO-UK-Way","price":0.6,"age":"new","df":true,"blurb":tr("Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby."),"pairs":[["svg","edi",[[5.3,58.8],[2,57.5],[-1.5,56.2]]]]}, + {"id":"celtn","name":"Celtic Norsemen","price":0.85,"age":"new","blurb":tr("Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse."),"pairs":[["dub","svg",[[-6,54],[-6.8,56.5],[-5.5,59.3],[-1.5,60.2],[3,59.5],[5.2,59]]]]}, + {"id":"havh","name":"Havhingsten Hoofbeat","price":0.8,"age":"new","blurb":tr("The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland."),"pairs":[["man","cph",[[-3.4,53.9],[-5,54.5],[-6.5,56.5],[-5,59],[-2,59.4],[2,58.5],[7,57.8],[8.2,57.2],[10.5,57.6],[11.5,56.5]]]]}, + {"id":"shefa","name":"Shefa Sheep Line","price":1.1,"age":"mid","blurb":tr("Scotland to Iceland via Shetland and the Faroes. More sheep than packets."),"pairs":[["edi","rek",[[-2.5,56.2],[-1,58],[-1.3,60.2],[-6.8,62],[-14,63.4],[-20,63.6]]]]}, + {"id":"apollo","name":"Apollo 13 (Houston, We Have Latency)","price":0.95,"age":"mid","blurb":tr("New York to the cliffs of Bude. It made it home in the end."),"pairs":[["nyc","bde",[[-70,40],[-50,43],[-25,48.5],[-8,50.2],[-5,50.8]]]]}, + {"id":"yellow","name":"Yellow Brick Road","price":0.9,"age":"mid","blurb":tr("Long Island to Cornwall. Follow it all the way to the wizard in the cable hut."),"pairs":[["nyc","bde",[[-71,40.5],[-50,44.5],[-25,49.3],[-8,50.6],[-5,50.9]]]]}, + {"id":"ace","name":"ACE of Spades","price":1.0,"age":"mid","blurb":tr("Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands."),"pairs":[["lis","dkr",[[-9.6,37.9],[-12,34],[-8.2,33.9],[-15,28],[-18,21],[-18,14.7]]],["dkr","abj",[[-18,14.7],[-17,10],[-14,5],[-8,4],[-4,4.8]]],["abj","acc",[[-4,4.8],[-0.2,5.1]]],["acc","lag",[[-0.2,5.1],[3.2,5.8]]],["lag","lad",[[3.2,5.8],[6,3],[9,3.6],[8,-2],[11.5,-6],[12.6,-9]]],["lad","cpt",[[12.6,-9],[11.5,-15],[13.5,-22.7],[15,-30],[17.6,-34.4]]],["lis","tci",[[-9.6,37.9],[-12,34],[-15.4,29.5]]],["tci","dkr",[[-17,26],[-18,21],[-18,14.7]]]]}, + {"id":"sat3","name":"SAT-3-Legged Stool","price":1.25,"age":"old","blurb":tr("West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up."),"pairs":[["lis","dkr",[[-9.6,37.9],[-12,34],[-8.2,33.9],[-15,28],[-18,21],[-18,14.7]]],["dkr","abj",[[-18,14.7],[-17,10],[-14,5],[-8,4],[-4,4.8]]],["abj","acc",[[-4,4.8],[-0.2,5.1]]],["acc","lag",[[-0.2,5.1],[3.2,5.8]]],["lag","dla",[[3.2,5.8],[6,3],[9,3.6]]],["dla","lad",[[9,3.6],[8,-2],[11.5,-6],[12.6,-9]]],["lad","cpt",[[12.6,-9],[11.5,-15],[13.5,-22.7],[15,-30],[17.6,-34.4]]],["lis","tci",[[-9.6,37.9],[-12,34],[-15.4,29.5]]],["tci","dkr",[[-17,26],[-18,21],[-18,14.7]]]]}, + {"id":"mone","name":"MainOne-Track Mind","price":1.0,"age":"mid","blurb":tr("Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa."),"pairs":[["lis","dkr",[[-9.6,37.9],[-12,34],[-8.2,33.9],[-15,28],[-18,21],[-18,14.7]]],["dkr","abj",[[-18,14.7],[-17,10],[-14,5],[-8,4],[-4,4.8]]],["abj","acc",[[-4,4.8],[-0.2,5.1]]],["acc","lag",[[-0.2,5.1],[3.2,5.8]]]]}, + {"id":"mtwa","name":"Mint Tea West Africa","price":1.05,"age":"new","blurb":tr("Casablanca down the coast to Abidjan, served sweet and very hot."),"pairs":[["cas","dkr",[[-8.2,33.9],[-15,28],[-18,21],[-18,14.7]]],["dkr","abj",[[-18,14.7],[-17,10],[-14,5],[-8,4],[-4,4.8]]]]}, + {"id":"sail","name":"Set SAIL","price":1.0,"age":"new","blurb":tr("Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses."),"pairs":[["for","dla",[[-37,-2.5],[-20,0],[0,2.5],[9,3.6]]]]}, + {"id":"seacm","name":"Sea-Comedy Hour","price":0.95,"age":"mid","blurb":tr("The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party."),"pairs":[["dur","mpm",[[32,-30.3],[34.5,-26]]],["mpm","dar",[[34.5,-26],[38,-20],[41.5,-14],[40.4,-7]]],["dar","mba",[[40.4,-7],[40.6,-4.3]]],["mba","jib",[[40.6,-4.3],[45,2],[51,10.5],[45,12.3],[43.5,11.9]]],["jib","bom",[[43.5,11.9],[51,13],[62,18],[70,19]]]]}, + {"id":"dare","name":"Dare-Devil-1","price":0.9,"age":"new","blurb":tr("Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors."),"pairs":[["jib","mba",[[43.5,11.9],[45,12.3],[51,10.5],[45,2],[40.6,-4.3]]],["mba","dar",[[40.6,-4.3],[40.4,-7]]],["dar","mpm",[[40.4,-7],[41.5,-14],[38,-20],[34.5,-26]]],["mpm","dur",[[34.5,-26],[32,-30.3]]]]}, + {"id":"glo1","name":"Glo-in-the-Dark","price":1.05,"age":"mid","blurb":tr("Cornwall to Lagos down the West African coast. Glows faintly when it is working."),"pairs":[["bde","lag",[[-5.2,50.6],[-11,45],[-15,30],[-19,15],[-12,4],[2,4.5],[3.4,6]]],["acc","lag",[[-0.2,5.1],[3.2,5.8]]]]}, + {"id":"pasdc","name":"Pas de Câble","price":0.6,"age":"new","df":true,"blurb":tr("Another hop across the Channel, with dark fiber for sale. There is always room for one more."),"pairs":[["lon","par",[[1.3,51.0],[1.7,50.7]]]]}, + {"id":"tampn","name":"Oil Rig Wi-Fi","price":0.9,"age":"mid","blurb":tr("Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football."),"pairs":[["svg","ams",[[5.3,58.6],[4.5,56],[4.2,53.5],[4.6,52.6]]]]}, + {"id":"medusa","name":"Medusa Stare","price":0.85,"age":"new","blurb":tr("Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone."),"pairs":[["lis","bcn",[[-9.6,37.9],[-8.9,36.6],[-5.6,35.9],[-2,36.4],[0.5,38.5],[2.6,41.1]]],["bcn","mrs",[[2.8,41.3],[3.8,42.4],[5,43]]],["lis","cas",[[-9.6,37.9],[-12,34],[-8.2,33.9]]],["mrs","alg",[[5,42.8],[4.5,40],[3,37.2]]],["alg","tun",[[3,37.2],[10.6,37.4]]]]}, + {"id":"nuvem","name":"Nuvem-ber Rain","price":0.85,"age":"new","blurb":tr("Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one."),"pairs":[["lis","atn",[[-9.6,37.9],[-30,35],[-64.8,32.3],[-78.9,33.7]]],["atn","bda",[[-78.9,33.7],[-72,33.2]]],["bda","lis",[[-50,34.5],[-30,35],[-9.6,37.9]]]]}, + {"id":"blue","name":"Feeling Blue","price":0.85,"age":"new","blurb":tr("Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting."),"pairs":[["mil","pmo",[[8.9,44.2],[9.4,42.5],[11.2,39.5],[12.9,38.4]]],["pmo","ath",[[13.6,38.3],[15.4,37.2],[19,36.8],[22.6,36.2],[23.6,37.6]]]]}, + {"id":"cannoli","name":"Sicilian Spaghetti Junction","price":0.9,"age":"mid","blurb":tr("Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily."),"pairs":[["pmo","mrs",[[12.9,38.4],[9.5,40],[7.4,42.6],[5.4,43.1]]],["pmo","cai",[[13.6,37.8],[15.5,35.6],[22,33.4],[29.9,31.4]]]]}, + {"id":"ouzo","name":"Ouzo Express","price":0.9,"age":"new","blurb":tr("Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!"),"pairs":[["ath","cai",[[24,37.5],[25.2,35.5],[28,33],[29.9,31.4]]],["ath","ist",[[24.3,38.5],[25.6,39.9],[26.5,40.3],[28.2,40.8]]]]}, + {"id":"tea","name":"Boston Tea Party Line","price":0.9,"age":"mid","blurb":tr("Boston to Dublin. Nobody has thrown it into the harbour yet."),"pairs":[["bos","dub",[[-69.5,42.2],[-60,44],[-40,50],[-15,52.4],[-8,53]]]]}, + {"id":"clementine","name":"Clementine","price":0.6,"age":"new","df":true,"blurb":tr("A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable."),"pairs":[["lon","oos",[[1.44,51.36],[2.92,51.23]]]]}, + {"id":"seaus","name":"SEA-US Later","price":1.0,"age":"mid","blurb":tr("Los Angeles to Hawaii, Guam and the Philippines. See you later, packets."),"pairs":[["lax","hnl",[[-119,33.5],[-140,27],[-157.6,21.6]]],["hnl","gum",[[-158.3,21.2],[-180,18],[-200,15],[-214.6,13.5]]],["gum","mnl",[[144,13.7],[132,13.5],[124.5,13],[121.4,14.3]]],["gum","ror",[[144.5,13.1],[139,9.5],[134.8,7.5]]]]}, + {"id":"aag","name":"Asia-America Gateaux","price":1.25,"age":"old","blurb":tr("California to Hong Kong via Hawaii and Guam. A layered cake of repairs."),"pairs":[["sjc","hnl",[[-122.8,35],[-140,27.5],[-158.2,21.4]]],["hnl","gum",[[-158.4,21.5],[-180,19],[-200,16],[-214.4,13.7]]],["gum","hkg",[[144.5,14],[130,17.5],[121,20],[115,21.6],[114.3,22.2]]]]}, + {"id":"echo","name":"Echo-Chamber","price":0.85,"age":"new","blurb":tr("California to Singapore via Guam. Everyone on it agrees with each other."),"pairs":[["sjc","gum",[[-125,38],[-150,30],[-180,21],[-214.8,14]]],["gum","sin",[[144.6,13],[133,6],[127,3],[118,2],[108,2],[104.5,1.4]]]]}, + {"id":"hantru","name":"HANTRU-ly Yours","price":1.3,"age":"mid","blurb":tr("Guam to the Marshall Islands, with a stop on every atoll that writes in."),"pairs":[["gum","maj",[[145,13.3],[158,7],[167,8.5],[171.2,7.2]]]]}, + {"id":"coral","name":"Coral Sea Shanty","price":1.0,"age":"new","blurb":tr("Sydney to Papua New Guinea and the Solomon Islands. Hums while it works."),"pairs":[["syd","pom",[[152,-33.5],[154.5,-25],[151,-15],[147.3,-10]]],["syd","hir",[[152,-33.5],[156.5,-25],[160.5,-14],[160,-9.6]]]]}, + {"id":"gond","name":"Gondwanna-Be","price":1.1,"age":"mid","blurb":tr("Sydney to Nouméa. Wishes it were a supercontinent."),"pairs":[["syd","nou",[[152,-33.5],[158,-28],[164,-23.5],[166.2,-22.5]]]]}, + {"id":"tonga","name":"Tonga Twister","price":1.3,"age":"mid","blurb":tr("Fiji to Tonga, the only way in. Try saying it three times fast."),"pairs":[["suv","tbu",[[178.8,-18.5],[181.5,-20],[184.6,-21]]]]}, + {"id":"tui","name":"Tui-Some-More","price":1.1,"age":"new","blurb":tr("Fiji to Samoa. Always room for one more packet."),"pairs":[["suv","apw",[[179,-18],[183,-15.5],[188,-13.95]]]]}, + {"id":"ashc","name":"ASH-tray","price":1.4,"age":"old","blurb":tr("American Samoa to Hawaii and Samoa on old, smoky glass."),"pairs":[["ppg","hnl",[[-170.5,-13.9],[-166,0],[-158.1,20.9]]],["ppg","apw",[[-170.9,-14.1],[-171.6,-13.9]]]]}, + {"id":"hono","name":"Hono-tuna","price":1.2,"age":"mid","blurb":tr("Tahiti to Hawaii, trolling for bandwidth."),"pairs":[["ppt","hnl",[[-149.7,-17.2],[-153,0],[-156.5,19.5],[-157.7,21.1]]]]}, + {"id":"mana","name":"Mana-tea","price":1.1,"age":"new","blurb":tr("Samoa to Tahiti by way of the Cook Islands. Steeped slowly."),"pairs":[["apw","ppt",[[-171.5,-14.2],[-165,-18],[-159.8,-21.2],[-152,-18.5],[-149.8,-17.6]]]]}, + {"id":"scxn","name":"Southern Cross-ed Fingers NEXT","price":0.95,"age":"new","blurb":tr("The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji."),"pairs":[["lax","suv",[[-119,33],[-140,15],[-165,-5],[-178,-15],[-181.2,-17.3]]],["suv","syd",[[177.8,-18.6],[166,-25],[156,-31.5],[152,-33.9]]]]}, + {"id":"sol","name":"Sol Survivor","price":0.85,"age":"new","blurb":tr("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."),"pairs":[["mia","bda",[[-80,27],[-80.9,29.6],[-74,31.5]]],["bda","pdl",[[-50,35.5],[-35,37.5]]],["pdl","mad",[[-15,41.5],[-6,44],[-3.8,43.6]]]]}, + {"id":"atl2","name":"Atlantis-2: The Sequel","price":1.4,"age":"old","blurb":tr("Argentina to Portugal via Brazil, Cape Verde, Dakar and the Canaries. Laid in 2000 and slowly sinking into legend."),"pairs":[["bue","for",[[-56.5,-36.6],[-50,-32],[-42,-23.5],[-37,-12],[-34.5,-6]]],["for","rai",[[-36,-1.5],[-28,8],[-24,14]]],["rai","dkr",[[-20,14.7]]],["dkr","tci",[[-18,17],[-17.5,24],[-16.6,27.9]]],["tci","lis",[[-15.5,31],[-11,36.5],[-9.2,38.3]]]]}, + {"id":"canl","name":"Canary in the Cable Mine","price":0.8,"age":"mid","blurb":tr("Tenerife to the Spanish mainland. As long as it keeps singing, everything is fine."),"pairs":[["tci","mad",[[-14.5,30.5],[-9,35],[-6.1,36.3]]]]}, +]; +const CAB=Object.fromEntries(CABLES.map(c=>[c.id,c])); +const CABLE_PAIRS=CABLES.flatMap(c=>c.pairs.map(([a,b,mid])=>{const A=CITY[a],B=CITY[b];const near=(x,ref)=>x+W*Math.round((ref-x)/W); + const mp=mid.map(q=>proj(q[0],q[1]));const pts=[[near(A.x,mp[0][0]),A.y]].concat(mp,[[near(B.x,mp[mp.length-1][0]),B.y]]); + const ll=[[A.lon,A.lat]].concat(mid,[[B.lon,B.lat]]);let L=0;for(let i=1;iS.day&&[a,b].includes(S.ev.landban.city);if(ban)return [];const rl=S&&S.scn&&S.scn.rules,bp=rl&&rl.banPairs,bc=rl&&rl.banCities;return bp||bc?cablesFor(a,b).filter(c=>!(bp&&(bp.includes(c.cid+':'+c.a+'-'+c.b)||bp.includes(c.cid+':'+c.b+'-'+c.a)))&&!(bc&&(bc.includes(c.a)||bc.includes(c.b)))):cablesFor(a,b);} +function cablesFor(a,b){return CABLE_PAIRS.filter(c=>(c.a===a&&c.b===b)||(c.a===b&&c.b===a));} +function cablePair(cid,a,b){const c=CABLE_PAIRS.find(x=>x.cid===cid&&((x.a===a&&x.b===b)||(x.a===b&&x.b===a)));if(!c)return null;return c.a===a?c:{...c,pts:c.pts.slice().reverse()};} +const ALLC=CITIES.filter(c=>!c.cn&&!c.ru&&!c.ixOnly).map(c=>c.id); +const ruCity=c=>!!CITY[c].ru; +const cnCity=c=>!!CITY[c].cn; +const BIGC=['man','edi','bcn','mil','rom','lis','ath','atn','den','phx','bos','hou','ruh','jed','doh','kyv','mel','bne','osa','kul','bkk','sgn','khi','dac','waw','prg','vie','bud','buh','ist','rio','bue','scl','bog','lim','del','maa','blr','hyd','tpe','cpt','auh','ber','zrh','nbo','cai','jkt','mnl','per','akl','dub','lax','tor','mex','dxb','cph','icn','sjc','dal','chi','ash','nyc','mia','sao','lon','ams','fra','par','mrs','mad','sto','bom','sin','hkg','tok','syd','jnb','lag']; +const MIDC=['man','bcn','mil','lis','atn','den','phx','bos','hou','mel','osa','kul','bkk','waw','vie','ist','rio','bue','scl','bog','del','maa','blr','tpe','auh','ber','zrh','jkt','mnl','dub','lax','tor','dxb','icn','sjc','ash','nyc','chi','dal','mia','lon','ams','fra','par','mad','sin','hkg','tok','syd','bom','sao']; + diff --git a/src/game/30-networks/10-networks.js b/src/game/30-networks/10-networks.js new file mode 100644 index 0000000..4423cc3 --- /dev/null +++ b/src/game/30-networks/10-networks.js @@ -0,0 +1,110 @@ +/* ================= NETWORKS ================= */ +const NETS=[ + {id:'lvl',name:'Level Tree',asn:3535,type:'t1',pol:'restrictive',share:.07,price:9,col:'#7B61FF',pops:['syd','hfx','bda','hnl','bde','man','edi','svg','mil','rom','lis','ath','atn','den','phx','bos','hou','slc','ber','zrh','dub','cph','osl','tor','lax','mex','mtl','sea','sjc','dal','chi','ash','nyc','mia','sao','lon','ams','fra','par','mad','rio','bue','scl','bog','lim','pan','waw','prg','vie','bud','buh','ist','kcy','cal','van','ott','bru','bet','ham','muc','cpq','gdl','mty','qro'],ix:[],blurb:tr('Grew from a seedling into a global backbone. Leaves no route behind.')}, + {id:'ntt',name:'Not That Telecom',asn:2941,type:'t1',pol:'restrictive',share:.06,price:8,col:'#4B3FC4',pops:['hnl','gum','man','mil','atn','den','bos','hou','phx','jkt','mnl','lax','dxb','icn','sea','sjc','dal','ash','nyc','lon','ams','fra','sin','hkg','tok','syd','tpe','del','maa','blr','hyd','osa','kul','bkk','sgn','kcy','dus'],ix:[],blurb:tr('Huge in Asia. "Which telecom?" "Not that one."')}, + {id:'tly',name:'Tell-Ya Carrier',asn:1229,type:'t1',pol:'restrictive',share:.05,price:8,col:'#9D4EDD',pops:['pdl','tci','svg','edi','man','mil','rom','pmo','ath','ber','osl','cph','hel','beg','sof','chi','ash','nyc','mia','lon','ams','fra','par','sto','mad','mrs','hkg','sin','tpe','tll','waw','vie','bud','buh','prg','kyv','van','bru','ham','muc','dus'],ix:[],blurb:tr('Nordic backbone that tells you exactly where your packets went.')}, + {id:'cog',name:'Cogentle',asn:714,type:'t1',pol:'restrictive',share:.04,price:3,col:'#B35CF0',pops:['hfx','bde','man','edi','bcn','mil','rom','lis','ath','atn','den','phx','bos','hou','slc','ber','zrh','dub','hel','sof','beg','tor','lax','mex','cph','icn','sea','sjc','dal','chi','ash','nyc','mia','sao','lon','ams','fra','par','mad','mrs','sto','sin','hkg','tok','rio','bue','scl','bog','lim','osa','waw','prg','vie','bud','buh','ist','kyv','kcy','van','ott','bru','oos','bet','ham','muc','dus','syd','per'],ix:[],blurb:tr('Cheapest transit on the map. Famously gentle, except during peering spats.')}, + {id:'tat',name:'Ta-Ta Comms',asn:6543,type:'t1',pol:'restrictive',share:.04,price:9,col:'#6A4C93',pops:['tci','gum','mil','pmo','lis','nbo','cai','jkt','dxb','nyc','ash','lon','fra','mrs','lag','jnb','bom','sin','hkg','tok','del','maa','blr','hyd','cpt','fuj','auh','tpe','khi','dac','cbo','kul','bkk','jed','ruh','doh','jib','dar','mba','dkr'],ix:[],blurb:tr('Waves goodbye to latency across the Indian Ocean.')}, + {id:'drz',name:'Drizzle Electric',asn:9369,type:'t2',pol:'open',share:.04,price:4,col:'#1E90FF',auIx:['syd','mel','bne','per'],pops:['man','chc','edi','svg','bde','bcn','mil','rom','pmo','lis','ath','atn','den','phx','bos','hou','slc','ber','zrh','nbo','akl','per','jkt','mnl','dub','rek','tor','mtl','lax','mex','sof','osl','icn','sea','sjc','dal','chi','ash','nyc','mia','lon','ams','fra','par','sto','mad','hkg','sin','tok','syd','jnb','for','rio','bue','scl','lim','bog','pan','del','maa','blr','hyd','tpe','auh','cpt','mel','bne','osa','kul','bkk','sgn','khi','dac','cbo','waw','prg','vie','bud','buh','tll','ist','kyv','jed','ruh','doh','kcy','cal','van','ott','bru','oos','bet','ham','muc','ccs','lpb','alg','tun','cas','dkr','dus'],ix:'ALL',blurb:tr('Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.')}, + {id:'tng',name:'Tangerine Telecom',asn:5115,type:'t2',pol:'selective',minIx:15,minPni:40,share:.03,price:6,col:'#FF8C42',pops:['tci','bcn','cai','nbo','dxb','par','mrs','mad','lon','ams','lag','jnb','waw','buh','dkr','abj','cas','tun','dla','fih'],ix:['bcn','par','mrs','mad','lon','ams','lag','jnb','waw','dkr','abj','cas','tun','dla','fih'],blurb:tr('Juicy reach into Europe and Africa.')}, + {id:'sgt',name:'SingTell',asn:7474,type:'t2',pol:'selective',minIx:15,minPni:40,share:.03,price:7,col:'#00A6A6',pops:['jkt','mnl','per','akl','icn','sin','hkg','tok','syd','bom','tpe','maa','kul','bkk','sgn','mel','bne'],ix:['sin','hkg','tok','bom','tpe','maa','kul','bkk'],blurb:tr('Sings your packets across Asia-Pacific.')}, + {id:'vdp',name:'Voda-Phony',asn:1373,type:'t2',pol:'paid',freeLv:7,paidFee:8000,share:.03,price:6,col:'#E63946',pops:['man','edi','mil','rom','lis','ath','nbo','cai','ber','dub','dxb','lon','fra','ams','mad','mrs','jnb','bom','lag','cpt','del','maa','ist','prg','bud','buh','doh','acc','dar','fih','mpm','dus'],ix:[],blurb:tr('Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.')}, + {id:'ctc',name:'China Telecomet',asn:4314,type:'t2',pol:'restrictive',share:.02,price:22,premium:2.5,cn:true,col:'#0B5CAD',pops:['pek','sha','hkg','sin','tok','lon','fra','nyc','sjc'],ix:[],blurb:tr('The biggest network in China. Its CN-Too premium route skips the congested border, for a price.')}, + {id:'cun',name:'China Unicorn',asn:4837,type:'t2',pol:'restrictive',share:.015,price:16,cn:true,col:'#D7000F',pops:['pek','sha','hkg','fra','sjc','lon'],ix:[],blurb:tr('Number two in China, with a horn for every backbone.')}, + {id:'cmb',name:'China Moble',asn:9880,type:'eye',pol:'paid',freeLv:10,paidFee:12000,share:.01,cn:true,col:'#0085CA',pops:['pek','sha','hkg'],ix:[],blurb:tr('The largest mobile network on Earth. Paid peering only.')}, + {id:'cmc',name:'Comecast',asn:7227,type:'eye',pol:'selective',minIx:10,minPni:30,share:.03,col:'#2C7A7B',pops:['atn','den','bos','hou','phx','slc','ash','nyc','chi','sjc','sea','mia'],ix:['atn','den','bos','ash','nyc','chi','sjc','sea'],blurb:tr('Huge eyeball network. Come for the broadband, stay because there is no other choice.')}, + {id:'dtk',name:'Doitsche Telekomm',asn:3203,type:'eye',pol:'paid',freeLv:6,paidFee:9000,share:.03,col:'#E20074',pops:['fra','ams','lon','ham','muc','dus'],ix:[],blurb:tr('Pink eyeball giant. Peering is available... for a monthly fee.')}, + {id:'nfx',name:'NetChill',asn:2906,type:'cdn',pol:'selective',minIx:5,minPni:30,share:.15,cache:{name:'Open Couch',min:12},col:'#C8102E',auIx:['syd','mel'],pops:ALLC,ix:'ALL',blurb:tr('Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.')}, + {id:'ggl',name:'Goggle',asn:15961,type:'cdn',pol:'selective',minIx:5,minPni:30,share:.13,cache:{name:'Goggle Global Cache',min:15},col:'#3A7BEA',auIx:['syd','mel'],pops:ALLC,ix:'ALL',blurb:tr('Search, video and goggles. Mostly goggles.')}, + {id:'fbk',name:'Faceplant',asn:32943,type:'cdn',pol:'selective',minIx:5,minPni:25,share:.08,cache:{name:'Faceplant Node Thingy',min:10},col:'#3B5BDB',auIx:['syd','mel'],pops:BIGC,ix:'ALL',blurb:tr('Social media. Everyone keeps falling for it.')}, + {id:'akm',name:'Akamaybe',asn:20490,type:'cdn',pol:'open',share:.07,cache:{name:'Akamaybe Box',min:6},col:'#0099CC',auIx:['syd','mel','bne','per','adl'],pops:ALLC,ix:'ALL',blurb:tr('The original CDN. Maybe it is already in your rack.')}, + {id:'cfl',name:'Crowdflare',asn:13353,type:'cdn',pol:'open',share:.05,cache:{name:'Rackstar',min:10},col:'#F48120',auIx:['syd','mel','bne','per','adl','cbr','hba'],pops:BIGC.concat(['hnl','gum','nou','ppt','dus']),ix:'ALL',blurb:tr('Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.')}, + {id:'amz',name:"Amazin' Web Services",asn:16590,type:'cdn',pol:'selective',minIx:8,minPni:30,share:.05,col:'#FF9900',auIx:['syd','mel','bne','per'],pops:MIDC.concat(['dus']),ix:'ALL',blurb:tr("The cloud. It's just someone else's Ashburn.")}, + {id:'msf',name:'Microsnoft',asn:8705,type:'cdn',pol:'selective',minIx:5,minPni:25,share:.04,col:'#00A4EF',auIx:['syd','mel','bne','per'],pops:MIDC.concat(['dus']),ix:'ALL',blurb:tr('Updates. So many updates.')}, + {id:'bdc',name:'BiteDance',asn:39669,type:'cdn',pol:'open',share:.03,col:'#111111',auIx:[],pops:MIDC.concat(['pek','sha','dus']),ix:'ALL',blurb:tr('Short videos, very long traffic graphs.')}, + {id:'slw',name:'Slowly',asn:54311,type:'cdn',pol:'open',share:.02,col:'#E5383B',auIx:['syd','mel','bne','per','adl'],pops:MIDC,ix:'ALL',blurb:tr('An edge cloud that is, despite the name, quite fast.')}, +]; +NETS.push( + {id:'tcs',name:'TenCents',asn:45900,type:'cdn',pol:'selective',minIx:5,minPni:20,share:.02,cn:true,col:'#1AAD19',pops:['pek','sha','hkg','sin','tok','fra','sjc'],ix:['hkg','sin','tok','fra','sjc'],blurb:tr('Chat, games and payments. Every message costs ten cents.')}, + {id:'abc',name:'AliBubble Cloud',asn:37936,type:'cdn',pol:'selective',minIx:5,minPni:20,share:.015,cn:true,col:'#FF6A00',pops:['pek','sha','hkg','sin','tok','fra','sjc','syd'],ix:['hkg','sin','tok','fra','sjc'],blurb:tr('Shopping festivals that melt traffic graphs.')}, + {id:'byd',name:'Bye-du',asn:38635,type:'cdn',pol:'selective',minIx:5,minPni:20,share:.01,cn:true,col:'#2932E1',pops:['pek','sha','hkg'],ix:['hkg'],blurb:tr('Search, maps and a cheerful goodbye.')}); +NETS.push( + {id:'rtc',name:'Rostelecomedy',asn:12389,type:'t2',pol:'selective',minIx:20,minPni:40,share:.01,price:6,col:'#7700FF',pops:['mos','hel','sto','fra','ams'],ix:['mos','fra','ams'],blurb:tr('The national carrier. Every punchline is pre-approved.')}, + {id:'ydx',name:'Yawndex',asn:13238,type:'cdn',pol:'open',share:.008,col:'#FC3F1D',pops:['mos','hel','fra','ams'],ix:['mos','hel','fra','ams'],blurb:tr('Search, taxis and maps. Slightly sleepy.')}, + {id:'vkl',name:'VKontakt-lens',asn:47541,type:'cdn',pol:'open',share:.006,col:'#0077FF',pops:['mos','hel'],ix:['mos','hel'],blurb:tr('Social network with perfect vision.')}, + {id:'ets',name:'Etis-a-lot',asn:5384,type:'eye',pol:'paid',freeLv:9,paidFee:8000,share:.006,col:'#719E19',pops:['dxb','mrs','lon','fra','sin','auh','fuj','doh'],ix:[],blurb:tr('Charges a lot. Paid peering only, and the name says it all.')}, + {id:'tmx',name:'Tel-Mess',asn:8151,type:'eye',pol:'paid',freeLv:8,paidFee:7000,share:.008,col:'#00A0DF',pops:['mex','dal','lax','mia','qro','mty','gdl'],ix:[],blurb:tr('Mexico’s giant. Paid peering only, and the pricing is a mess.')}, + {id:'bcd',name:'Bell Canad-eh',asn:577,type:'eye',pol:'selective',minIx:10,minPni:30,share:.01,col:'#00549A',pops:['hfx','tor','mtl','nyc','chi','ott','cal','van'],ix:['tor','mtl','ott'],blurb:tr('Polite, enormous, and sorry about the bill.')}); +NETS.push( + {id:'tsf',name:'Telkom-selfie',asn:7713,type:'eye',pol:'selective',minIx:10,minPni:30,share:.01,col:'#E4002B',pops:['jkt','sin'],ix:['jkt','sin'],blurb:tr('Indonesia’s mobile giant. Every packet poses for a photo first.')}, + {id:'pld',name:'PLDTea Time',asn:9299,type:'eye',pol:'selective',minIx:10,minPni:30,share:.008,col:'#D62027',pops:['mnl','hkg','sin'],ix:['hkg'],blurb:tr('Philippine giant. Peering requests are reviewed over a cup of tea.')}, + {id:'spk',name:'Spark-le',asn:4771,type:'eye',pol:'open',share:.005,col:'#6A2C91',pops:['akl','syd','chc','ivc'],ix:['akl','syd','chc'],blurb:tr('New Zealand’s shiniest ISP.')}, + {id:'tsy',name:'Telstraya',asn:1221,type:'t2',pol:'selective',minIx:15,minPni:40,share:.01,price:9,col:'#0099F8',pops:['hnl','gum','suv','pom','nou','hir','syd','per','sin','hkg','lax','tpe','mel','bne','drw','adl','cbr','hba'],ix:['gum','sin','hkg'],blurb:tr('Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.')}); +NETS.push( + {id:'liq',name:'Liquid Lunch Networks',asn:30846,type:'t2',pol:'open',up:['tat','tly'],share:.006,price:6,col:'#00A0DF',pops:['jnb','cpt','dur','hre','lun','gbe','mpm','dar','nbo','mba','kla','kgl','fih','add','jib','cai','wdh'],ix:['jnb','cpt','dur','hre','lun','gbe','mpm','dar','nbo','mba','kla','kgl','fih','add','jib','cai','wdh'],blurb:tr('Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.')}, + {id:'scm',name:'Sea-Comedy Networks',asn:37102,type:'t2',pol:'open',up:['ntt','tat'],share:.005,price:5,col:'#1C3F94',pops:['jnb','cpt','dur','mpm','dar','mba','nbo','kla','kgl','jib','cai','mrs','bom','lon'],ix:['jnb','cpt','dur','mpm','dar','mba','nbo','kla','jib','mrs'],blurb:tr('Owns the cable that brought East Africa online, and sells you the capacity with a straight face.')}, + {id:'agc',name:'Angle-a Cables',asn:37470,type:'t2',pol:'open',up:['tly','cog'],share:.004,price:5,col:'#E30613',pops:['lad','fih','for','sao','mia','lon'],ix:['lad','for','sao','mia'],blurb:tr('Owns the cables from Luanda to Brazil, and always finds an angle on the deal.')}, + {id:'djt',name:'Djibouti Calling',asn:30992,type:'t2',pol:'selective',up:['tat','tly'],minIx:3,minPni:15,share:.003,price:8,col:'#0D7F3F',pops:['jib','add','mrs','bom','jed'],ix:['jib'],blurb:tr('A tiny telco in a country where the world’s cables come ashore. Prices to match.')}, + {id:'mtx',name:'Empty-N',asn:29977,type:'eye',pol:'selective',up:['tat','lvl'],minIx:5,minPni:20,share:.008,col:'#FFCB05',pops:['lag','acc','abj','dla','kla','kgl','jnb','cpt','dur','lun','gbe','lad'],ix:['lag','acc','abj','dla','kla','kgl','jnb','cpt','dur','lun','gbe','lad'],blurb:tr('Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.')}, + {id:'art',name:'Air-Tell Africa',asn:36928,type:'eye',pol:'selective',up:['tat','tly'],minIx:4,minPni:18,share:.006,col:'#ED1C24',pops:['lag','kla','kgl','dar','lun','fih','nbo'],ix:['lag','kla','kgl','dar','lun','fih','nbo'],blurb:tr('Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.')}, + {id:'eth',name:'Ethio-Tele-Calm',asn:24759,type:'eye',pol:'selective',up:['tat'],minIx:2,minPni:12,share:.005,col:'#8DC63F',pops:['add'],ix:['add'],blurb:tr('Ethiopia’s state telco: a hundred million customers and very calm about competition.')}, + {id:'mrc',name:'Atlas Shrugged Telecom',asn:36905,type:'eye',pol:'selective',up:['lvl','tly'],minIx:3,minPni:15,share:.004,col:'#F28C00',pops:['cas','abj','dkr'],ix:['cas'],blurb:tr('Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.')}, + {id:'sfc',name:'Safari-Comic',asn:33771,type:'eye',pol:'selective',minIx:5,minPni:20,share:.006,col:'#4CB848',pops:['nbo','mba','add'],ix:['nbo','mba','add'],blurb:tr('Kenya’s mobile giant. Pays you in M-Pesos.')}, + {id:'teg',name:'Tele-Comet Egypt',asn:8452,type:'t2',pol:'selective',minIx:15,minPni:40,share:.006,price:8,col:'#5B2D8E',pops:['cai','mrs','fra','lon'],ix:['cai','mrs'],blurb:tr('Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.')}); +NETS.push( + {id:'clr',name:'Clarovision',asn:28537,type:'t2',pol:'selective',minIx:10,minPni:30,share:.012,price:5,col:'#DA291C',pops:['sao','rio','for','bsb','bhz','cwb','poa','aju','bel','bvb','cac','cpv','cpq','cgr','cau','cgb','cxj','fec','fln','igu','gyn','jpa','ljd','ldb','mcp','mcz','mao','mgf','nat','pmw','pvh','rao','rec','rbr','ssa','ria','sjp','slz','the','vix','mvd','asu','cor','uio','mde','gua','sjo','qro','mty','gdl','bue','scl','lim','bog','pan','mex','mia'],ix:['sao','rio','for','bsb','bhz','cwb','poa','aju','bel','bvb','cac','cpv','cpq','cgr','cau','cgb','cxj','fec','fln','igu','gyn','jpa','ljd','ldb','mcp','mcz','mao','mgf','nat','pmw','pvh','rao','rec','rbr','ssa','ria','sjp','slz','the','vix','mvd','asu','cor','uio','mde','gua','sjo','qro','mty','gdl','bue','scl','lim','bog'],blurb:tr('The big regional carrier. Sees everything clearly, especially your invoice.')}, + {id:'viv',name:'Viva Vivo',asn:26959,type:'eye',pol:'selective',minIx:8,minPni:25,share:.01,col:'#660099',pops:['sao','rio','for','bsb','bhz','cwb','poa','aju','bel','bvb','cac','cpv','cpq','cgr','cau','cgb','cxj','fec','fln','igu','gyn','jpa','ljd','ldb','mcp','mcz','mao','mgf','nat','pmw','pvh','rao','rec','rbr','ssa','ria','sjp','slz','the','vix'],ix:['sao','rio','for','bsb','bhz','cwb','poa','aju','bel','bvb','cac','cpv','cpq','cgr','cau','cgb','cxj','fec','fln','igu','gyn','jpa','ljd','ldb','mcp','mcz','mao','mgf','nat','pmw','pvh','rao','rec','rbr','ssa','ria','sjp','slz','the','vix'],blurb:tr('Brazil’s mobile giant. Very much alive.')}, + {id:'oio',name:'Oi Oi',asn:7739,type:'eye',pol:'selective',up:['lvl','tly'],minIx:6,minPni:20,share:.008,col:'#FFD000',pops:['sao','rio','for','bsb','bhz','cwb','poa','aju','bel','bvb','cac','cpv','cpq','cgr','cau','cgb','cxj','fec','fln','igu','gyn','jpa','ljd','ldb','mcp','mcz','mao','mgf','nat','pmw','pvh','rao','rec','rbr','ssa','ria','sjp','slz','the','vix'],ix:['sao','rio','for','bsb','bhz','cwb','poa','aju','bel','bvb','cac','cpv','cpq','cgr','cau','cgb','cxj','fec','fln','igu','gyn','jpa','ljd','ldb','mcp','mcz','mao','mgf','nat','pmw','pvh','rao','rec','rbr','ssa','ria','sjp','slz','the','vix'],blurb:tr('Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.')}, + {id:'tmt',name:'TIM-TIM Mobile',asn:26616,type:'eye',pol:'selective',up:['skl'],minIx:6,minPni:20,share:.007,col:'#004691',pops:['sao','rio','bsb','bhz','cwb','poa','cpq','rec','ssa','for','gyn','bel','mao','vix','fln'],ix:['sao','rio','bsb','bhz','cwb','poa','cpq','rec','ssa','for','gyn','bel','mao','vix','fln'],blurb:tr('A mobile network named after the sound of a toast. Cheers to every 5G tower.')}, + {id:'bsn',name:'Brisanada',asn:28127,type:'eye',pol:'open',up:['lvl'],share:.004,col:'#F7941D',pops:['for','nat','jpa','cpv','rec','cau','mcz','aju','ssa','fec','the','slz'],ix:['for','nat','jpa','cpv','rec','cau','mcz','aju','ssa','fec','the','slz'],blurb:tr('Fiber across the sertão of the Northeast, one dirt road at a time.')}, + {id:'mvs',name:'Moviestar',asn:12957,type:'t2',pol:'selective',up:['tly','lvl'],minIx:8,minPni:25,share:.008,price:6,col:'#019DF4',pops:['mex','gua','bog','mde','uio','lim','lpb','scl','bue','cor','mvd','ccs','sao','mia'],ix:['mex','bog','lim','scl','bue','mvd','ccs','sao'],blurb:tr('A Spanish carrier starring in every Latin American market, at least until it sells the next one.')}, + {id:'llt',name:'Liberty Latte America',asn:23521,type:'t2',pol:'open',up:['lvl','cog'],share:.005,price:5,col:'#6C2C91',pops:['mia','pan','sjo','gua','bog','mde','ccs'],ix:['pan','sjo','gua','bog'],blurb:tr('Cables all around the Caribbean, served with a lot of foam.')}, + {id:'ant',name:'Antelope',asn:6058,type:'eye',pol:'selective',up:['skl','tly'],minIx:3,minPni:15,share:.004,col:'#0072BC',pops:['mvd'],ix:['mvd'],blurb:tr('Uruguay’s state telco. Fast, everywhere, and a little proud of it.')}, + {id:'tgo',name:'Tiger Mobile',asn:27743,type:'eye',pol:'selective',up:['lvl'],minIx:4,minPni:15,share:.005,col:'#00377B',pops:['asu','lpb','gua','sjo','pan','bog','mde'],ix:['asu','lpb','gua','sjo','bog'],blurb:tr('Prepaid mobile from Paraguay to Guatemala, with a logo that roars.')}, + {id:'mlv',name:'Mercado Livre-ly',asn:52850,type:'cdn',pol:'open',share:.006,col:'#FFE600',pops:['sao','rio','bue','scl','bog','lim','mia'],ix:['sao','rio','bue','scl','bog','lim'],blurb:tr('Ships parcels and packets, both overnight.')}, + {id:'jio',name:'Jio-graphy',asn:55863,type:'eye',pol:'selective',minIx:10,minPni:30,share:.02,col:'#0F3CC9',pops:['bom','del','maa','blr','hyd'],ix:['bom','del','maa','blr','hyd'],blurb:tr('Gave a billion people cheap data. Knows exactly where every one of them is.')}, + {id:'atl',name:'Airtel-tale',asn:9849,type:'t2',pol:'selective',minIx:15,minPni:40,share:.01,price:7,col:'#E40000',pops:['bom','del','maa','blr','hyd','sin','lon','dxb','dac','cbo'],ix:['bom','del','maa','blr'],blurb:tr('India’s other giant. Every outage comes with a story.')}, + {id:'cht',name:'Chunghwa Tele-calm',asn:3426,type:'t2',pol:'selective',minIx:10,minPni:30,share:.008,price:7,col:'#00A0E9',pops:['tpe','hkg','tok','lax','sin'],ix:['tpe','hkg'],blurb:tr('Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.')}, + {id:'duu',name:'Du-opoly',asn:15820,type:'eye',pol:'paid',freeLv:11,paidFee:6000,share:.004,col:'#00A9CE',pops:['dxb','auh','fuj'],ix:[],blurb:tr('The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.')}); +NETS.push( + {id:'kdi',name:'KD-DIY',asn:2561,type:'t2',pol:'selective',minIx:10,minPni:30,share:.008,price:6,col:'#E85D04',pops:['tok','osa','lax','sin','hkg'],ix:['tok','osa'],blurb:tr('Japanese carrier that builds everything itself. Even the cable ships.')}, + {id:'opt',name:'Floptus',asn:4804,type:'eye',pol:'selective',minIx:8,minPni:25,share:.006,col:'#00837E',pops:['syd','mel','bne','per'],ix:[],blurb:tr('Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.')}, + {id:'tpr',name:'Toilet Paper Group',asn:7545,type:'eye',pol:'selective',minIx:8,minPni:25,share:.0035,col:'#4E2A84',pops:['syd','mel','bne','per','adl','cbr'],ix:[],blurb:tr('Stockpiled bandwidth in 2020 and still has a few rolls left.')}, + {id:'abb',name:'Aussie Boyband',asn:4764,type:'eye',pol:'open',share:.002,col:'#00B140',pops:['syd','mel','bne','per','adl','cbr','drw','hba'],ix:['syd','mel','bne','per','adl','drw'],blurb:tr('Matching outfits, perfect harmonies, and they peer with absolutely everyone.')}, + {id:'voc',name:'Hocus Pocus',asn:4826,type:'t2',pol:'open',up:['ntt','tly'],share:.002,price:7,col:'#E4002B',pops:['syd','mel','bne','per','adl','cbr','drw','hba','sin'],ix:['syd','mel','bne','per','adl','hba','drw','sin'],blurb:tr('Now you see the fibre, now you don’t.')}, + {id:'ddo',name:'Doodoo',asn:9443,type:'eye',pol:'open',up:['voc'],share:.0011,col:'#FFC20E',pops:['syd','mel','bne','per','adl'],ix:[],blurb:tr('The cheapest plan in the country. Smells like a bargain.')}, + {id:'stb',name:'Musklink',asn:14593,type:'eye',pol:'selective',minIx:3,minPni:10,share:.001,col:'#1B1F24',pops:['syd','mel','bne','per','drw'],ix:['mel','bne','per','drw'],blurb:tr('Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.')}, + {id:'spl',name:'Speedyloop',asn:38195,type:'t2',pol:'open',up:['tly'],share:.001,price:6,col:'#FF5F00',pops:['syd','mel','bne','per','adl','sin','hkg','cbr','drw'],ix:['mel','bne','per','adl','hba','drw','sin','hkg'],blurb:tr('Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.')}, + {id:'blg',name:'Beshort',asn:135887,type:'eye',pol:'selective',minIx:8,minPni:25,up:['tsy'],share:.0005,col:'#FF5A00',pops:['syd','mel','bne'],ix:[],blurb:tr('Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.')}, + {id:'spn',name:'Spin2wintel',asn:18390,type:'eye',pol:'open',up:['voc'],share:.00015,col:'#0072CE',pops:['syd','mel','bne','per','adl'],ix:['syd','mel','bne','per','adl'],blurb:tr('Cheap broadband with the sales pitch on a permanent loop.')}, + {id:'lpt',name:'Frogtel',asn:134090,type:'eye',pol:'open',share:.0001,col:'#7AC143',pops:['syd','mel','bne','adl','per','drw'],ix:['syd','mel','bne','per','adl'],blurb:tr('Small, fast and always leaping to the next deal. Ribbit.')}, + {id:'ext',name:'Lintel',asn:10143,type:'eye',pol:'open',up:['spl'],share:.0001,col:'#F26522',pops:['syd','mel','bne','per','adl'],ix:[],blurb:tr('Bought by Speedyloop, and still working out which name goes on the bill.')}, + {id:'tru',name:'Mostly-True Move',asn:7740,type:'eye',pol:'selective',minIx:5,minPni:20,share:.006,col:'#E4002B',pops:['bkk'],ix:['bkk'],blurb:tr('Thailand’s mobile giant. Its coverage maps are mostly true.')}, + {id:'vtl',name:'Viet-tell',asn:7525,type:'t2',pol:'selective',minIx:10,minPni:30,share:.005,price:7,col:'#EE0033',pops:['sgn','hkg','sin'],ix:['sgn'],blurb:tr('Vietnam’s giant. Will tell you which subsea cable is broken this week.')}, + {id:'ptc',name:'PTC-hell',asn:17577,type:'t2',pol:'selective',minIx:10,minPni:30,share:.004,price:8,col:'#00843D',pops:['khi','dxb'],ix:['khi'],blurb:tr('Pakistan’s incumbent. Every session comes with a firewall rule.')}, + {id:'tmy',name:'Telekom Ma-lazy-sia',asn:4877,type:'t2',pol:'selective',minIx:10,minPni:30,share:.004,price:6,col:'#1F2A6B',pops:['kul','sin'],ix:['kul'],blurb:tr('Malaysia’s incumbent. In no hurry whatsoever.')}, + {id:'ttk',name:'Türk Tele-komik',asn:9211,type:'t2',pol:'selective',minIx:10,minPni:30,share:.008,price:6,col:'#1D3F8F',pops:['ath','ist','fra','sof','lon'],ix:['ist'],blurb:tr('Bridges Europe and Asia, and occasionally your BGP table.')}, + {id:'dgi',name:'Digi-tally Cheap',asn:8798,type:'eye',pol:'open',share:.006,col:'#2A5CAA',pops:['buh','bud','mad'],ix:['buh','bud','mad'],blurb:tr('Gigabit to every flat for the price of a coffee. Peers with anyone.')}, + {id:'ups',name:'UPC-You-Later',asn:6380,type:'eye',pol:'selective',minIx:8,minPni:25,share:.006,col:'#D8001B',pops:['waw','prg','vie','bud','zrh','kyv'],ix:['waw','prg','vie','kyv'],blurb:tr('Cable broadband across Central Europe. See you later, in a support queue.')}); +NETS.push( + {id:'tlu',name:'Tell Us',asn:852,type:'eye',pol:'selective',minIx:10,minPni:30,share:.008,up:['lvl','tly'],col:'#4B286D',pops:['van','cal','tor','mtl','ott','sea'],ix:['van','cal','tor'],blurb:tr('Western Canada’s incumbent. Tell us what you need, and we will tell you the price.')}, + {id:'rgc',name:'Bodgers Communications',asn:812,type:'eye',pol:'selective',minIx:10,minPni:30,share:.01,up:['cog','ntt'],col:'#DA291C',pops:['tor','ott','mtl','van','cal'],ix:['tor','ott','van'],blurb:tr('Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.')}); +NETS.push( + {id:'tny',name:'Telenyet',asn:6848,type:'eye',pol:'selective',minIx:10,minPni:30,share:.008,up:['lvl'],col:'#FFC421',pops:['bru','oos','ams','fra','lon'],ix:['bru'],blurb:tr('Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.')}, + {id:'pxm',name:'Proxyminus',asn:5432,type:'eye',pol:'selective',minIx:15,minPni:40,share:.008,up:['bgs','lvl'],col:'#5C2D91',pops:['bru','oos','ams'],ix:['bru'],blurb:tr('The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.')}, + {id:'bgs',name:'B.I.G.S.',asn:6774,type:'t2',pol:'selective',minIx:10,minPni:30,share:.005,price:5,up:['lvl'],col:'#7B2D8E',pops:['bru','bet','ams','fra','lon','par','mrs','nyc','sin'],ix:['bru','bet','ams','fra','lon','par'],blurb:tr('Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.')}, + {id:'cit',name:'Citrus Belgium',asn:47377,type:'eye',pol:'selective',minIx:10,minPni:30,share:.005,up:['lvl'],col:'#FF7900',pops:['bru','par'],ix:['bru'],blurb:tr('Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.')}, + {id:'pst',name:'Poste Restante',asn:6663,type:'eye',pol:'selective',minIx:4,minPni:15,share:.001,up:['lvl','tly'],col:'#FFCC00',pops:['bet','fra','ams'],ix:['bet','fra'],blurb:tr('Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.')}, + {id:'cms',name:'CityMess',asn:199095,type:'eye',pol:'open',share:.002,up:['cog'],col:'#00B2A9',pops:['oos','bru'],ix:['bru'],blurb:tr('Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.')}); +NETS.push({id:'kys',name:'Kyiv Superstar',asn:15859,type:'eye',pol:'selective',minIx:5,minPni:20,share:.006,col:'#0055B8',pops:['kyv','waw','fra'],ix:['kyv'],blurb:tr('Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.')}); +NETS.push({id:'stc',name:'Sticky Telecom',asn:39368,type:'t2',pol:'selective',minIx:10,minPni:30,share:.01,price:8,col:'#4F008C',pops:['ruh','jed','dxb','fra','lon','cai'],ix:['ruh'],blurb:tr('The Kingdom’s incumbent. Once you are in, you stay in.')}, + {id:'ord',name:'Ooh-redoo',asn:8871,type:'eye',pol:'paid',freeLv:11,paidFee:5000,share:.004,col:'#ED1C24',pops:['doh','dxb','jkt'],ix:[],blurb:tr('Qatar’s big operator. Paid peering only, and it sings the price list to you.')}); +NETS.push( + {id:'tim',name:'TIM-Tam Italia',asn:3269,type:'eye',pol:'selective',minIx:8,minPni:25,share:.008,col:'#004691',pops:['mil','rom','pmo'],ix:['mil','rom'],blurb:tr('Italy’s incumbent. Sweet on the outside, very firm about peering ratios.')}, + {id:'skl',name:'Sparkly Seabone',asn:6762,type:'t1',pol:'restrictive',share:.04,price:6,col:'#5B2C83',pops:['pmo','mil','rom','ath','mrs','bcn','mad','lis','par','lon','ams','fra','zrh','vie','bud','prg','waw','buh','sof','ist','ber','sto','nyc','ash','mia','atn','dal','chi','lax','sjc','tor','mex','pan','bog','lim','scl','bue','sao','rio','for','cai','jed','dxb','bom','sin','hkg','tok'],ix:[],blurb:tr('The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.')}, + {id:'fwb',name:'Fast-Webby',asn:12874,type:'eye',pol:'open',share:.004,col:'#FDC300',pops:['mil','rom'],ix:['mil','rom'],blurb:tr('Fiber to the Italian home, with a website from 2003.')}, + {id:'meo',name:'MEO-w Portugal',asn:3243,type:'eye',pol:'selective',minIx:5,minPni:20,share:.004,col:'#00A3E0',pops:['pdl','lis','mad'],ix:['lis'],blurb:tr('Portugal’s incumbent. Purrs when you send it traffic.')}, + {id:'nos',name:'NOS-y Neighbour',asn:2860,type:'eye',pol:'open',share:.003,col:'#111111',pops:['lis'],ix:['lis'],blurb:tr('Peers with anyone, and wants to know everything about your routes.')}, + {id:'cos',name:'Cosmo-Note',asn:6799,type:'eye',pol:'selective',minIx:5,minPni:20,share:.004,col:'#7DC242',pops:['ath','sof'],ix:['ath'],blurb:tr('Greece’s incumbent. Takes careful notes on every peering request.')}, + {id:'spc',name:'Spectre-um Cable',asn:20115,type:'eye',pol:'selective',minIx:12,minPni:35,share:.02,col:'#0099D8',pops:['nyc','lax','dal','chi','atn','den','phx','slc','hou','bos','sjc'],ix:['nyc','lax','dal','chi','atn','den'],blurb:tr('Cable broadband for half of America. Haunts your traceroutes.')}, + {id:'vzn',name:'Very-Zone',asn:701,type:'eye',pol:'paid',paidFee:9000,share:.015,col:'#CD040B',pops:['nyc','ash','bos','dal','lax','chi','atn','mia'],ix:[],blurb:tr('Can you hear me now? Only if you pay for the PNI.')}); diff --git a/src/game/30-networks/20-rival-exchanges.js b/src/game/30-networks/20-rival-exchanges.js new file mode 100644 index 0000000..132cd44 --- /dev/null +++ b/src/game/30-networks/20-rival-exchanges.js @@ -0,0 +1,31 @@ +/* Rival exchanges. Big metros rarely have just one IX: challengers undercut the incumbent and + share many members with it, but not all. The incumbent keeps the city id, challengers are 'city~n'. */ +const XIX=[ + {id:'jnb~2',c:'jnb',name:'JINXED-IX',cheap:.7,take:0.5,core:['drz','akm','cfl','tng'],blurb:tr('The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.')}, + {id:'fra~2',c:'fra',name:'KleyWrecks',cheap:.5,take:0.5,core:['drz','akm','cfl','slw','bdc','ydx'],blurb:tr('A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.')}, + {id:'fra~3',c:'fra',name:'Apfelwein-IX',cheap:0.3,take:0.3,blurb:tr('A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.')}, + {id:'ams~2',c:'ams',name:'NL-Nyx',cheap:0.6,take:0.6,blurb:tr('One fabric across the whole country. Distributed, cheap and a little smug about it.')}, + {id:'ams~3',c:'ams',name:'FRIES-IX',cheap:1,take:0.5,freeTo:1,core:['drz','akm','cfl','slw','msf'],blurb:tr('Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.')}, + {id:'lon~2',c:'lon',name:'LO-NAPS',cheap:.6,take:0.5,core:['drz','akm','cfl','slw','bdc','msf','fbk'],blurb:tr('Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.')}, + {id:'par~2',c:'par',name:'Baguette-IX',cheap:0.55,take:0.5,blurb:tr('The challenger. Fresh every morning, a bit crusty by the evening.')}, + {id:'mad~2',c:'mad',name:'Paella-NIX',cheap:.6,take:0.5,core:['drz','akm','cfl','tng','bdc','slw','msf'],blurb:tr('The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.')}, + {id:'mil~2',c:'mil',name:'Aperitivo-IX',cheap:0.5,take:0.45,blurb:tr('Opens at six, comes with free snacks, closes when the last session drops.')}, + {id:'ber~2',c:'ber',name:'Club-Mate-IX',cheap:0.35,take:0.4,blurb:tr('Run by hackers on caffeine. The route server has a disco ball.')}, + {id:'waw~2',c:'waw',name:'Bigos-IX',cheap:0.45,take:0.5,blurb:tr('Warsaw has more exchanges than anyone can count. This is the second biggest, this week.')}, + {id:'waw~3',c:'waw',name:'Zapiekanka-IX',cheap:0.3,take:0.35,blurb:tr('Open-faced, cheap and available at 3 a.m.')}, + {id:'prg~2',c:'prg',name:'Knedlík-IX',cheap:0.35,take:0.4,blurb:tr('Dense, filling and very cheap.')}, + {id:'buh~2',c:'buh',name:'Mici-IX',cheap:0.35,take:0.45,blurb:tr('Grilled ports, served with mustard and a cold beer.')}, + {id:'sto~2',c:'sto',name:'Fika-IX',cheap:0.5,take:0.5,blurb:tr('Every session comes with a coffee break. Strictly enforced.')}, + {id:'kyv~2',c:'kyv',name:'Kyiv-Cake-IX',cheap:0.35,take:0.45,blurb:tr('Layered, resilient and somehow always open.')}, + {id:'nyc~2',c:'nyc',name:'Bagel-IX',cheap:0.6,take:0.5,blurb:tr('A community exchange in a Hudson Street basement. Schmear not included.')}, + {id:'chi~2',c:'chi',name:'Deep-Dish-IX',cheap:0.6,take:0.5,blurb:tr('Takes forever to set up, but very filling.')}, + {id:'sjc~2',c:'sjc',name:'Garage-IX',cheap:0.55,take:0.45,blurb:tr('Started in somebody’s garage, like everything else round here.')}, + {id:'lax~2',c:'lax',name:'Smog-IX',cheap:0.6,take:0.45,blurb:tr('You can’t see the fabric, but it is definitely there.')}, + {id:'sin~2',c:'sin',name:'Kopi-IX',cheap:0.6,take:0.5,blurb:tr('Strong, sweet and cheaper than the incumbent.')}, + {id:'hkg~2',c:'hkg',name:'Dim-Sum-IX',cheap:0.6,take:0.5,blurb:tr('Lots of small sessions on little plates.')}, + {id:'tok~2',c:'tok',name:'Bento-IX',cheap:0.65,take:0.5,core:['drz','akm','cfl','sgt','msf','amz'],blurb:tr('Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.')}, + {id:'syd~2',c:'syd',name:'At-The-Edge IX',cheap:.7,take:0.5,core:['drz','nfx','ggl','fbk','akm','cfl','amz','msf','bdc','slw','abb','voc','stb','spl','lpt'],blurb:tr('The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.')}, + {id:'bom~2',c:'bom',name:'Vada-Pav-IX',cheap:0.45,take:0.45,blurb:tr('Mumbai’s street-food exchange. Fast, spicy and cheap.')}, + {id:'dxb~2',c:'dxb',name:'Shawarma-IX',cheap:0.6,take:0.4,blurb:tr('The challenger to the DE-KICKS fabric, wrapped and ready to go.')}, +]; +const XIXM=Object.fromEntries(XIX.map(x=>[x.id,x])); diff --git a/src/game/30-networks/30-long-tail.js b/src/game/30-networks/30-long-tail.js new file mode 100644 index 0000000..62ac0ec --- /dev/null +++ b/src/game/30-networks/30-long-tail.js @@ -0,0 +1,95 @@ +/* The long tail: odd little networks with a sliver of traffic each, on one or two exchanges. */ +const TAIL=[ + ['Grandma’s Basement Hosting','cdn',['fra'],tr('Three servers, one dehumidifier and a very patient grandmother.')], + ['Hamster Wheel Networks','eye',['ams'],tr('Powered by renewable rodents. Uptime depends on snack schedule.')], + ['Fjordnet Kooperativ','eye',['osl'],tr('A fiber co-op for one valley. Every member owns a metre of cable.')], + ['Kebab-Link','eye',['ber','fra'],tr('An ISP run from the back of a kebab shop. Late-night support is excellent.')], + ['Mesh Collective e.V.','eye',['ber','fra'],tr('Volunteers with rooftop antennas and strong opinions about IPv6.')], + ['Village Fibre Co-op','eye',['lon'],tr('Dug the trench themselves, one field at a time.')], + ['Tiny Swiss Bank Shield','cdn',['zrh'],tr('Hosts exactly one website and three lawyers.')], + ['Clockwork ISP','eye',['zrh'],tr('Packets leave on time, to the second.')], + ['LAN-Party Federation','cdn',['ams','fra'],tr('Game servers, energy drinks and a ping obsession.')], + ['Former Church Datacenter','cdn',['ams'],tr('Racks in the nave, cooling in the crypt. Divine uptime.')], + ['WISP on a Silo','eye',['dal','chi'],tr('Wireless internet from the top of a grain silo.')], + ['Cornfield Broadband','eye',['chi'],tr('Rural fiber that follows the tractor routes.')], + ['Moose Lake Telephone Co-op','eye',['tor','mtl'],tr('Has served the lake since 1912. Now with fiber.')], + ['Surf Shop Networks','cdn',['lax'],tr('Hosting for surfboard shops. Closed when the waves are good.')], + ['Ski Lift Fiber','eye',['den','zrh'],tr('Fiber strung along the chairlifts. Seasonal latency.')], + ['Tumbleweed Telecom','eye',['phx','dal'],tr('Covers a lot of empty ground.')], + ['Crypto Bro Colo','cdn',['ash','mia'],tr('Ten thousand GPUs and a podcast.')], + ['Ye Olde University Network','eye',['bos','lon'],tr('Has had a /8 since before you were born.')], + ['Mom & Pop Packet Shop','eye',['nyc'],tr('Family-run since dial-up. Still answers the phone.')], + ['Space Cowboy Broadband','eye',['hou','dal'],tr('Yee-haw and low Earth orbit.')], + ['Fry Sauce Fibre','eye',['slc'],tr('Utah’s dipping-sauce of an ISP.')], + ['Sauna Uplink Oy','cdn',['hel','sto'],tr('Servers cooled by the lake, then used to heat the sauna.')], + ['Reindeer Relay','eye',['sto','osl','hel'],tr('Wireless links across the tundra. Antlers occasionally in the way.')], + ['Pierogi Hosting','cdn',['waw'],tr('Cheap, filling hosting. Ask for the potato-and-cheese plan.')], + ['Sunflower Uplink','eye',['kyv','waw'],tr('Kept the lights on in its town through every blackout.')], + ['Tram Line Telecom','eye',['prg','vie'],tr('Fiber laid under the tram tracks during a night shift.')], + ['Paprika Peering','eye',['bud'],tr('Spicy pricing, mild latency.')], + ['Dracula Datacenter','cdn',['buh'],tr('Only comes online at night.')], + ['Bosphorus Ferry Net','eye',['ist'],tr('Wi-Fi on every ferry, backhaul on every bridge.')], + ['Gondola Gigabit','eye',['mil','rom'],tr('Started in Venice. Upgraded to land.')], + ['Nonna’s Pasta Pipes','cdn',['rom','pmo'],tr('Hosting for every family restaurant in the south.')], + ['Tram 28 Telecom','eye',['lis'],tr('Slow on the hills, fast on the flat.')], + ['Olive Grove Online','eye',['ath'],tr('Rural broadband for the islands, one olive tree at a time.')], + ['Siesta Server Hotel','cdn',['mad'],tr('Down from 2 to 5 p.m. every day. By design.')], + ['Bouillabaisse Bits','cdn',['mrs','par'],tr('A rich mix of everything the fishermen brought in.')], + ['Baguette Bandwidth Associés','eye',['par'],tr('Delivered fresh every morning.')], + ['Pub Quiz Internet','eye',['dub','lon'],tr('Founded after a pub quiz, by the losing team.')], + ['Gaming Café Net','eye',['lag'],tr('Internet cafe turned ISP. The gamers came for the ping.')], + ['Matatu Mobile Mesh','eye',['nbo'],tr('Wi-Fi on minibuses, and the music is free.')], + ['Load-Shedding Survivors','eye',['jnb','cpt'],tr('Has more batteries than customers.')], + ['Bollywood Buffer','cdn',['bom','del'],tr('Three-hour films, zero-second start times.')], + ['Hawker Centre Hosting','cdn',['sin','kul'],tr('Cheap, fast and open late.')], + ['Karaoke Box Networks','cdn',['tok','osa','icn'],tr('Lyrics servers, low latency, high pitch.')], + ['Night Market Net','eye',['tpe','hkg'],tr('Comes alive after dark.')], + ['Kangaroo Courier','eye',['syd','mel','bne'],tr('Packets hop. Sometimes backwards.')], + ['Hobbit Hole Hosting','cdn',['akl'],tr('Cosy racks under a hill. Second breakfast at 11.')], + ['Capybara Connect','eye',['sao','poa','bue'],tr('Gets along with every other network. Famously chill.')], + ['Llama Link','eye',['lim','scl','bog'],tr('Mountain wireless. Will spit at bad routes.')], + ['Supercar Hosting','cdn',['dxb'],tr('Gold-plated servers, valet parking for packets.')], + ['Tango Transit Co-op','eye',['bue','cor'],tr('It takes two to peer.')], + ['Bánh Mì Broadband','eye',['sgn'],tr('Crispy on the outside, cheap on the inside.')], + ['Jeepney Jumpnet','eye',['mnl'],tr('Colourful, crowded and gets you there eventually.')], + ['Game Server Gremlins','cdn',['fra','ams','lon','nyc','sjc'],tr('Hosts every game you play at 2 a.m. Hates jitter.'),0.003], + ['Discord-ant Voice Relay','cdn',['ams','fra','ash'],tr('Voice chat for millions of gamers who all talk at once.'),0.003], + ['Mastodon Instance Herd','cdn',['ber','ams','par'],tr('A thousand tiny social networks on one rack.')], + ['Dutch Bike Fibre','eye',['ams'],tr('Fiber laid along the bike lanes. Fastest in the rain.')], + ['Chip Fab Cleanroom Net','cdn',['tpe','phx'],tr('Bunny suits mandatory in the server room.')], + ['Volunteer Fire Brigade Wi-Fi','eye',['vie','zrh'],tr('Runs the village network between call-outs.')], + ['Peach State Hosting','cdn',['atn'],tr('Sweet, fuzzy and surprisingly reliable.')], + ['Chowder Hosting','cdn',['bos'],tr('Thick, comforting and very New England.')], +]; +function ixStatic(c){const o=[];if(CITY[c]&&CITY[c].ix)o.push(c);for(const x of XIX)if(x.c===c)o.push(x.id);return o;} +TAIL.forEach(([name,type,home,blurb,sh],i)=>{const h=hstr(name),cand=home.flatMap(ixStatic),ix=[]; + if(cand.length){ix.push(cand[h%cand.length]);if(cand.length>1&&(h>>>8)%100<40){const o=cand[(h>>>12)%cand.length];if(!ix.includes(o))ix.push(o);}} + const sel=(h>>>4)%10>=8; + NETS.push({id:'tail'+i,name,asn:200000+(h%190000),type,tail:true,pol:sel?'selective':'open',...(sel?{minIx:1+(h>>>16)%3,minPni:6+(h>>>18)%8}:{}),share:sh||+(0.0006+((h>>>20)%15)*0.0001).toFixed(4),col:`hsl(${h%360} 55% 46%)`,pops:home.slice(),ix,blurb});}); +NETS.push( + {id:'ktt',name:'Kay-Tea',asn:4766,type:'eye',pol:'paid',paidFee:5000,perG:90,kr:true,share:.012,col:'#E4002B',pops:['icn','hkg','tok','lax'],ix:[],blurb:tr('Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.')}, + {id:'skb',name:'SK Broadbandit',asn:9318,type:'eye',pol:'paid',paidFee:4000,perG:110,kr:true,share:.01,col:'#EA002C',pops:['icn','hkg','sjc'],ix:[],blurb:tr('Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.')}, + {id:'lgu',name:'LG You-Pay-Plus',asn:3786,type:'eye',pol:'paid',paidFee:3000,perG:80,kr:true,share:.008,col:'#E6007E',pops:['icn','tok'],ix:[],blurb:tr('The plus is a usage fee. Paid peering, per gigabit.')}); +NETS.push( + {id:'btt',name:'Bee-Tee',asn:2856,type:'eye',pol:'selective',minIx:10,minPni:30,share:.012,col:'#5514B4',pops:['lon','man','edi','bde'],ix:['lon','man'],blurb:tr('The UK’s incumbent. Buzzes politely, stings on price.')}, + {id:'sky',name:'Sky-High Broadband',asn:5607,type:'eye',pol:'selective',minIx:6,minPni:25,share:.008,col:'#0072C9',pops:['lon','man','edi','dub'],ix:['lon','man','edi'],blurb:tr('Football, films and a router that looks like a spaceship.')}, + {id:'vmo',name:'Virgin Mediocre',asn:5089,type:'eye',pol:'selective',minIx:6,minPni:25,share:.007,col:'#E10A0A',pops:['lon','man','edi'],ix:['lon','man'],blurb:tr('Cable broadband for half of Britain. Fast on a good day.')}, + {id:'tnr',name:'Tele-Nor-Way',asn:2119,type:'eye',pol:'selective',minIx:5,minPni:20,share:.006,col:'#00A9E0',pops:['osl','svg','sto','cph'],ix:['osl','svg'],blurb:tr('Norway’s incumbent. Neither yes nor no, until you send enough traffic.')}); +NETS.push( + {id:'hwt',name:'Hawaiian Telecombo',asn:36149,type:'eye',pol:'selective',minIx:3,minPni:15,share:.004,up:['ntt','lvl'],col:'#5B2A86',pops:['hnl'],ix:['hnl'],blurb:tr('Hawaii’s incumbent. Every plan comes with two scoops of rice and a side of macaroni salad.')}, + {id:'gtg',name:'Grand Theft Teleguam',asn:9246,type:'t2',pol:'open',share:.002,price:8,up:['ntt','tat'],col:'#0072CE',pops:['gum','ror','maj','hnl','tok'],ix:['gum','hnl'],blurb:tr('Guam’s incumbent and the way out for half of Micronesia. The prices are a heist, but nobody else is selling.')}, + {id:'dcp',name:'Docomoco Pacific',asn:3605,type:'eye',pol:'selective',minIx:2,minPni:10,share:.002,up:['ntt'],col:'#E4002B',pops:['gum','ror'],ix:['gum'],blurb:tr('Guam’s mobile network: rice, a burger, a fried egg and lots of gravy, served over 5G.')}, + {id:'dsp',name:'Digi-Sell Pacific',asn:38442,type:'t2',pol:'open',share:.005,price:9,up:['ntt','tat'],col:'#E2001A',pops:['pom','suv','tbu','apw','syd'],ix:['suv'],blurb:tr('Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.')}, + {id:'fnt',name:'FINTEL-ligent',asn:9241,type:'t2',pol:'open',share:.002,price:8,up:['ntt','tly'],col:'#00A3AD',pops:['suv','tbu','apw','ppg','syd','hnl'],ix:['suv'],blurb:tr('Fiji’s international gateway. Very clever about where your traffic should go, as long as it goes through Suva.')}, + {id:'pft',name:'Postes et Télé-Croissant',asn:56055,type:'t2',pol:'selective',minIx:3,minPni:15,share:.003,price:10,up:['tly','cog'],col:'#F7B500',pops:['nou','ppt','syd','lax'],ix:['nou'],blurb:tr('Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.')}, + {id:'tkp',name:'Telly-Kom PNG',asn:17828,type:'eye',pol:'selective',minIx:2,minPni:10,share:.003,up:['tat'],col:'#C8102E',pops:['pom'],ix:[],blurb:tr('Papua New Guinea’s state telco: eight hundred languages, one billing system.')}, + {id:'otk',name:'Ours-Truly Telekom',asn:45891,type:'eye',pol:'selective',minIx:1,minPni:8,share:.001,up:['tly'],col:'#00843D',pops:['hir'],ix:['hir'],blurb:tr('The Solomon Islands’ incumbent. Yours sincerely, eventually.')}, + {id:'tcc',name:'Tongue-in-Cheek Comms',asn:38201,type:'eye',pol:'selective',minIx:1,minPni:8,share:.001,up:['ntt'],col:'#C10230',pops:['tbu'],ix:[],blurb:tr('Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.')}, + {id:'bsk',name:'Blue-Sky-Pie Samoa',asn:17993,type:'eye',pol:'selective',minIx:1,minPni:8,share:.001,up:['tly'],col:'#0096D6',pops:['apw','ppg'],ix:[],blurb:tr('Samoa’s broadband, promised with a slice of something sweet.')}, + {id:'pnc',name:'PNC-See',asn:9534,type:'eye',pol:'selective',minIx:1,minPni:8,share:.0005,up:['ntt'],col:'#1B75BB',pops:['ror'],ix:[],blurb:tr('Palau’s telco. Snorkel down and you can see the cable.')}, + {id:'nta',name:'Never Too Atoll',asn:21581,type:'eye',pol:'selective',minIx:1,minPni:8,share:.0005,up:['ntt'],col:'#2E8B57',pops:['maj'],ix:[],blurb:tr('The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.')}); +NETS.push( + {id:'onc',name:'One Commotion',asn:3855,type:'eye',pol:'selective',minIx:1,minPni:8,share:.001,up:['lvl','tly'],col:'#E4007C',pops:['bda'],ix:[],blurb:tr('Bermuda’s phones, TV and internet from one very busy office. Half its business customers are reinsurers, and they have priced in the Triangle.')}, + {id:'cvt',name:'Curriculum Vitae Telecom',asn:37517,type:'t2',pol:'open',share:.002,price:8,up:['tat','tly'],col:'#004B87',pops:['rai','lis','for','dkr'],ix:['rai'],blurb:tr('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.')}, + {id:'pss',name:'Pretty Sure South Atlantic',asn:210841,type:'t2',pol:'open',share:.0005,price:12,up:['tat'],col:'#7D2B8B',pops:['jam','cpt'],ix:[],blurb:tr('The telco for St Helena, Ascension and the Falklands. Is the link up? Pretty sure.')}, + {id:'bst',name:'Beastlink',asn:11260,type:'eye',pol:'selective',minIx:2,minPni:10,share:.002,up:['cog','lvl'],col:'#EE3124',pops:['hfx','tor'],ix:['hfx'],blurb:tr('Atlantic Canada’s cable company, raised on lobster and long winters. Polite on the phone, a beast at the peering table.')}); diff --git a/src/game/30-networks/40-traffic-shares.js b/src/game/30-networks/40-traffic-shares.js new file mode 100644 index 0000000..703207b --- /dev/null +++ b/src/game/30-networks/40-traffic-shares.js @@ -0,0 +1,15 @@ +const NET=Object.fromEntries(NETS.map(n=>[n.id,n])),NET_IDS=NETS.map(n=>n.id); +// The networks a PNI with each upstream reaches: the upstream itself plus everyone who buys transit from it. +const PNI_NETS={};for(const n of NETS)PNI_NETS[n.id]=[n.id].concat(NETS.filter(x=>x.up&&x.up.includes(n.id)).map(x=>x.id)); +for(const X of XIX){X.members=NETS.filter(n=>Array.isArray(n.ix)&&n.ix.includes(X.id)||!n.tail&&(X.core?X.core.includes(n.id):(n.ix==='ALL'||Array.isArray(n.ix)&&n.ix.includes(X.c))&&hstr(n.id+'|'+X.id)%100<(n.ix==='ALL'?72:X.take*100))).map(n=>n.id);} +const NSH={}; {const t=NETS.reduce((a,n)=>a+n.share,0); NETS.forEach(n=>NSH[n.id]=n.share/t);} +// After Glitch leaves Korea, Seoul viewers watch half as much of it and the rest moves to everyone else. +const NSH_KRX={}; {const w=id=>NSH[id]*(id==='amz'?0.5:1),t=NETS.reduce((a,n)=>a+w(n.id),0); NETS.forEach(n=>NSH_KRX[n.id]=w(n.id)/t);} +const CN_W={ctc:.2,cun:.14,cmb:.08,tcs:.22,abc:.14,byd:.08,bdc:.08,akm:.02,msf:.02,amz:.01,drz:.01}; +const RU_W={ydx:.24,vkl:.12,rtc:.14,ggl:.12,bdc:.08,akm:.05,cfl:.06,msf:.04,amz:.03,tly:.02,cog:.02,drz:.01}; +const NSH_RU={}; {const t=Object.values(RU_W).reduce((a,b)=>a+b,0); for(const k in RU_W)NSH_RU[k]=RU_W[k]/t;} +const NSH_CN={}; {const t=Object.values(CN_W).reduce((a,b)=>a+b,0); for(const k in CN_W)NSH_CN[k]=CN_W[k]/t;} +const CN_BLOCKED=NETS.filter(n=>!CN_W[n.id]&&n.type==='cdn').map(n=>n.name); +const TYPE_L={t1:tr('Tier 1'),t2:tr('Tier 2'),cdn:tr('CDN / content'),eye:tr('Eyeballs')}; +const initials=n=>n.name.replace(/[^A-Za-z ]/g,'').split(' ').filter(Boolean).map(w=>w[0]).join('').slice(0,3).toUpperCase(); + diff --git a/src/game/40-progress/10-businesses.js b/src/game/40-progress/10-businesses.js new file mode 100644 index 0000000..530a4ab --- /dev/null +++ b/src/game/40-progress/10-businesses.js @@ -0,0 +1,63 @@ +/* ================= BUSINESSES ================= */ +const BIZ_T={ + dia:{l:tr('Enterprise DIA'),opts:[1,2,5,10],rate:600}, + game:{l:tr('Game servers'),opts:[5,10,20,40],rate:120}, + host:{l:tr('Hosting'),opts:[10,20,40,80],rate:60}, + isp:{l:tr('Downstream ISP (buys transit)'),opts:[100,200,400,800],rate:15,lv:2}, + l2vpn:{l:tr('L2VPN circuit'),opts:[1,10,40,100],rate:0,l2:true,km:1,lv:1}, + fabip:{l:tr('Customer on a fabric (transit over an NNI)'),opts:[1,5,10,25],rate:110,nni:true,lv:2}, + fabl2:{l:tr('Fabric circuit to one of your POPs'),opts:[1,5,10],rate:0,l2:true,nni:true,km:0.8,lv:2}, + stream:{l:tr('Streaming startup'),opts:[50,100,200],rate:80,lv:2}, + edu:{l:tr('University network'),opts:[20,50,100],rate:90,lv:2}, + gpu:{l:tr('AI GPU data center'),opts:[200,400,800],rate:70,lv:3,names:['Neural Noodles AI','GPUs R Us','Hallucination Labs','Transformers & Sons','Token Burners Inc.','Very Large Language Co.','Prompt Engineering Ltd','DeepThought Farms','Parameter Pastures','Gradient Descent Diner','Attention Is All We Need LLC','Overfit Analytics']}, + onramp:{l:tr('Cloud on-ramp'),opts:[100,200,400],rate:0,l2:true,km:0.7,lv:3,names:["Amazin' Web Services on-ramp","Microsnoft Azzure on-ramp",'Goggle Cloud on-ramp','AliBubble Cloud on-ramp','Miracle Cloud on-ramp']}, + ai:{l:tr('AI training interconnect'),opts:[400,800,1600],rate:0,l2:true,div:true,km:0.9,lv:4,names:['Skynot Compute','Galaxy Brain Training Run','Megawatt Minds','The Big Model Co.','Infinite Context Corp','Sentient Spreadsheet Inc.']}, + hyper:{l:tr('Hyperscaler DCI'),opts:[1600,3200,6400],rate:0,l2:true,div:true,km:0.5,lv:4,names:["Amazin' Web Services DCI","Microsnoft Azzure DCI",'Goggle Cloud DCI','Faceplant Infra DCI','AliBubble Cloud DCI']}, + hft:{l:tr('High-frequency trading link'),opts:[1,5,10],rate:0,l2:true,lat:true,km:6,lv:2,names:['Flash Boys Capital','Nanosecond Nancy Trading','Speed of Light Securities','Arbitrage & Sons','Front-Run Fund','Microwave Tower Capital','Tick-Tock Quant','Low Latency Larry LLC']}, + bulk:{l:tr('Bulk backup transfer (latency does not matter)'),opts:[100,200,400],rate:0,l2:true,scenic:true,km:0.1,lv:2,names:['Glacier Slow Storage','Tape Backup Tortoise','Scenic Route Archives','Cold Storage Cold Cuts','Sloth Sync','Eventually Consistent Inc.','Snail Mail Data Co.']}, + event:{l:tr('Event network'),opts:[100,200,400,800,1600,3200],rate:0,event:true,lv:2,names:['Carnaval Parade','Diwali Streaming Night','The Big Football Final','NANOG 99','Burning Router Festival','Euro-Pop Song Contest','Formula Ping Grand Prix','The Big Game','Olympic Pings','A Pop Megastar Stadium Tour','LAN Party of the Century','The Keynote (One More Thing)','Gamer-Con Expo','Oktoberfest Livestream']}, + sdwan:{l:tr('SD-WAN for a chain'),opts:[1,2,5,10],rate:0,l2:true,sdwan:true,km:0,lv:2,names:['Kebab Kingdom','Pretzel Palace','Burger Router Inc.','Café Latte-ncy','Hardware Hut Stores','Pharma-See Pharmacies','Bank of Tiny Branches','Supermarket Superhighway','Fitness Pings Gyms','Hotel Hops Group','Doughnut Data Diners']}, + wwave:{l:tr('Wholesale wave'),opts:[1],rate:0,fiber:true,lv:2,names:['Zay-No Fiber','Loomin’ Technologies','Clown Castle Fiber','G&T (Gin and Transit)','A Hyperscaler Who Shall Not Be Named','Megapork','youNetworks']}, + dfpair:{l:tr('Dark fiber pair lease'),opts:[1],rate:0,fiber:true,lv:3,names:['A Hyperscaler Who Shall Not Be Named','Goggle Fiber Division','Faceplant Infra','Amazin’ Backbone Team','A Very Secretive Trading Firm']}, + scrub:{l:tr('DDoS protection + DIA'),opts:[1,5,10,20],rate:900}, + aiwan:{l:tr('AI WAN between two AI factories'),opts:[3200,6400,12800],rate:0,l2:true,div:true,mega:true,km:0.45,lv:4,names:['Fairweather AI WAN','Planet-Scale Superfactory Link','Two Brains One Model Inc.','Distributed Godlike Compute','The Gigawatt Handshake']}, + mtrain:{l:tr('Multi-site training run'),opts:[1600,3200,6400],rate:0,l2:true,sdwan:true,mega:true,lv:4,names:['Gem-in-Eye Ultra Training Run','Frontier Model 9000','The Very Big Model','Checkpoint-Free Training Co.','Model Too Big For One Building']}, + ingest:{l:tr('Dataset ingest (elephant flow)'),opts:[1600,3200,6400],rate:0,event:true,mega:true,lv:3,names:['Scrape-the-Whole-Web Ingest','Checkpoint Sync Storm','Video Dataset Firehose','Every Book Ever (allegedly licensed)','Synthetic Data Tsunami']}, + pairs:{l:tr('Hundreds of fiber pairs'),opts:[1],rate:0,fiber:true,mega:true,lv:4,names:['A Hyperscaler Who Shall Not Be Named','Planet-Scale AI WAN Team','The Fiber-Hungry Giant','Project Very Long Glass']}, + esport:{l:tr('Esports world final'),opts:[400,800,1600,3200],rate:0,event:true,lv:5,names:['League of Lag Finals','Counter-Ping Major','Fortnightly World Cup','Dota Two Many Viewers','Rocket Leak Championship','Street Frighter Evo']}, + sov:{l:tr('Sovereign cloud region'),opts:[400,800,1600],rate:0,l2:true,div:true,km:0.6,lv:6,names:['Gaia-Ex Sovereign Cloud','Bundeswolke (Very Secure)','Le Cloud Souverain','Datenschutz Deluxe','Your Data Stays Here, Probably','A Cloud With a Flag on It','Data Residency Is a State of Mind']}, + cgame:{l:tr('Cloud gaming platform'),opts:[800,1600,3200],rate:45,lv:8,names:['Stadia-ium (Back Again)','GeForce Later','Ping Station Now','Luna-tick Gaming','Shadow of a Doubt Cloud PC','Input Lag Arcade','Bufferbloat Bros. Streaming']}, + metav:{l:tr('Metaverse platform'),opts:[1600,3200,6400],rate:35,lv:9,names:['Meh-taverse','Second Second Life','Horizon Worlds Apart','The Oasis (Ready Player Done)','Legs Finally Shipped Inc.','Decentra-landlocked']}, + agi:{l:tr('AGI lab (allegedly)'),opts:[12800,25600],rate:0,l2:true,div:true,mega:true,km:0.4,lv:11,names:['Almost General Intelligence Inc.','Superintelligence Pending','The Lab That Said Two More Years','Paperclip Maximizer Labs','Deep Thought Two','Benevolent Overlord Research']}, + mars:{l:tr('Mars mission ground station'),opts:[100,200,400],rate:0,l2:true,lat:true,km:4,lv:13,names:['Red Planet Relay','Ares Ground Segment','Olympus Mons Uplink','Mars or Bust Mission Control','Interplanetary Ping Society','Light-Minute Logistics','RFC 1149 Avian Carriers (Mars Division)']}, + provedor:{l:tr('Provedor (small regional ISP)'),opts:[5,10,20,40],rate:20,br:true,names:['Provedor Capivara Net','Fibra do Sertão','Rapidinho Telecom','Net Jabuticaba','Caipirinha Online','Wi-Fi do Zé','Pão de Queijo Fibra','Açaí Net','Tucano Telecom','Forró Fibra','Saci Net','Brigadeiro Banda Larga','Mandioca Online','Churrasco Connect']}, +}; +const LEVELS=[ + {n:tr('Local ISP'),q:tr('Your network diagram is a photo of a whiteboard.'),req:tr('Start here'),unlock:tr('Enterprises, game servers, hosting, L2VPNs and DDoS protection.')}, + {n:tr('Regional player'),q:tr('You now have a change freeze. Nobody remembers who declared it.'),req:tr('peak 200 Gbps and 3 POPs'),unlock:tr('Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.')}, + {n:tr('Serious backbone'),q:tr("It's not DNS. There's no way it's DNS. It was DNS."),req:tr('peak 1 Tbps and 6 POPs'),unlock:tr('AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.')}, + {n:tr('Big league'),q:tr('Your MTU is 9000 on every link except the one that matters.'),req:tr('peak 3 Tbps, 10 POPs, 3 continents'),unlock:tr('AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.')}, + {n:tr('Continental carrier'),q:tr('Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.'),req:tr('peak 6 Tbps, 15 POPs, 4 continents'),era:1.15,unlock:tr('Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.')}, + {n:tr('Transcontinental'),q:tr('You joined the outages mailing list. Today you are the outage.'),req:tr('peak 9 Tbps and 20 POPs'),unlock:tr('Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.')}, + {n:tr('Global backbone'),q:tr("Your ASN now shows up in other people's traceroutes, and in their tickets."),req:tr('peak 12 Tbps, 25 POPs, 5 continents'),unlock:tr('A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.')}, + {n:tr('Packet empire'),q:tr('Your maintenance window is 2 a.m. in every time zone at once.'),req:tr('peak 16 Tbps and 32 POPs'),era:1.15,unlock:tr('Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.')}, + {n:tr('Six-continent carrier'),q:tr('Somewhere, on every continent, a backhoe is thinking about you.'),req:tr('peak 21 Tbps, 40 POPs, 6 continents'),unlock:tr('Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.')}, + {n:tr('Backbone of backbones'),q:tr('Your routing table needs its own routing table.'),req:tr('peak 26 Tbps and 50 POPs'),era:1.2,unlock:tr('The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.')}, + {n:tr('Internet weather system'),q:tr('When your BGP sneezes, a small country catches a cold.'),req:tr('peak 33 Tbps and 60 POPs'),unlock:tr('AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.')}, + {n:tr('Too big to route'),q:tr('Your last fat-fingered route leak has its own Wikipedia page.'),req:tr('peak 40 Tbps and 70 POPs'),era:1.25,unlock:tr('The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.')}, + {n:tr('The Internet'),q:tr('People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?'),req:tr('peak 50 Tbps and 80 POPs'),unlock:tr('Mars mission ground stations. Gear: The Router at the End of the Universe.')}, +]; +// What each level asks for (peak Gbps, POPs, continents). Continents carry over to the levels above. +const LV_REQ=[null,{pk:200,pops:3},{pk:1000,pops:6},{pk:3000,pops:10,reg:3},{pk:6000,pops:15,reg:4},{pk:9000,pops:20},{pk:12000,pops:25,reg:5},{pk:16000,pops:32},{pk:21000,pops:40,reg:6},{pk:26000,pops:50},{pk:33000,pops:60},{pk:40000,pops:70},{pk:50000,pops:80}]; +const lvReg=i=>Math.max(0,...LV_REQ.slice(1,i+1).map(q=>q.reg||0)); +const lvl=()=>(S&&S.lvl)||1; +// Lower-case just the first word for mid-sentence use, so names like Tel-Mess or AGI keep their capitals. +const lc1=t=>/^[A-Z][a-z]/.test(t)?t[0].toLowerCase()+t.slice(1):t; +function custLevel(){const pops=Object.keys(S.pops).length,pk=S.stats.peak,rc=regionsCount();let lv=1;for(let i=1;i=q.pk&&pops>=q.pops&&rc>=lvReg(i))lv=i+1;else break;}return lv;} +// Traffic eras: some levels bring a new reason to watch more video, and every city's eyeballs grow toward more. +const eraMul=()=>LEVELS.slice(0,lvl()).reduce((a,L)=>a*(L.era||1),1); +const eyeP=c=>CITY[c].P*eraMul(); +// New broadband starts small, but never above what the town can grow to (St Helena has 4,500 people). +const bbStart=c=>Math.min(eyeP(c),Math.max(8,CITY[c].P*0.03)); +const BIZ_N=['Byte-Size Bakery','Hamster Wheel Power Co.','Llama Logistics','Cloud Nine Hosting','Rural Rabbit Broadband','Tiny Telco','Pixel Pirates Games','Moo-Moo Dairy Corp','Snack Overflow','Git Happens Ltd','Kernel Sanders Fried Code','Lag-Free Llamas','404 Bistro','Ping Pong Sports','Null Pointer Pets','Buffer Bloat Boats','Packet Pizza','Latency Lattes','Ctrl-Alt-Deli','Sudo Sandwiches','Cache Me Outside','Hertz So Good Radio','Jitterbug Dance Hall','Bit Barn Hosting','Fiber Optimists','The Daily Ping','Squirrel Mesh Wireless','Spam & Eggs Diner','Router Rooter Plumbing','Kilobyte Kebab','Gigglebit Studios','Uptime Funk Records','Ohm Sweet Ohm','Dial-Up Nostalgia Club','Two-Factor Tacos']; + diff --git a/src/game/40-progress/20-goals.js b/src/game/40-progress/20-goals.js new file mode 100644 index 0000000..90cfe6a --- /dev/null +++ b/src/game/40-progress/20-goals.js @@ -0,0 +1,23 @@ +/* ================= GOALS ================= */ +const GOALS=[ + {id:'bb',t:tr('Light up your first customers'),d:tr('Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.'),r:5000,ok:()=>Object.values(S.pops).some(p=>p.bb)}, + {id:'tr',t:tr('Reach the whole internet'),d:tr('Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.'),r:5000,ok:()=>S.transit.length>0}, + {id:'ix',t:tr('Join an Internet Exchange'),d:tr('Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.'),r:7500,ok:()=>Object.keys(S.ixp).length>0}, + {id:'p5',t:tr('Make 5 peering friends'),d:tr('On the Peering tab, request sessions, or join the route server to peer with every open network at once.'),r:10000,ok:()=>R.sessions>=5}, + {id:'ln',t:tr('Lay your first fiber'),d:tr('Drag from your pink router to another city. Short hops are cheap. Oceans are not.'),r:10000,ok:()=>S.links.length>0}, + {id:'bz',t:tr('Sign a business customer'),d:tr('Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.'),r:12500,ok:()=>S.biz.some(b=>!b.scripted)}, + {id:'rd',t:tr('Survive a failure'),d:tr('Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.'),r:12500,ok:()=>S.stats.survived>0}, + {id:'ca',t:tr('Host an embedded cache'),d:tr('Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.'),r:12500,ok:()=>S.caches.length>0}, + {id:'pn',t:tr('Set up a PNI'),d:tr('A private cross-connect to one network in the same data center, for when traffic outgrows the IX.'),r:15000,ok:()=>S.pni.some(pniOn)}, + {id:'scrub',t:tr('Stand up DDoS defences'),d:tr('Build a scrubbing center from a POP\'s Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.'),r:20000,ok:()=>hasScrub()}, + {id:'c3',t:tr('Go global'),d:tr('Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.'),r:50000,ok:()=>regionsCount()>=3}, + {id:'t2',t:tr('Become a Tier 2'),d:tr('5+ POPs, ports on 3+ IXs and 15+ peering sessions.'),r:50000,ok:()=>isTier2()}, + {id:'tb',t:tr('Serve 1 Tbps'),d:tr('A terabit per second of happy traffic.'),r:75000,ok:()=>R.served>=1000}, + {id:'df',t:tr('Light your own dark fiber'),d:tr('Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.'),r:40000,ok:()=>S.links.some(l=>l.kind==='df'&&dfCap(l)>0)}, + {id:'m2',t:tr('Be in two buildings at once'),d:tr('Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.'),r:30000,ok:()=>Object.values(S.pops).some(p=>p.site2)}, + {id:'c5',t:tr('Five continents'),d:tr('POPs in five of the six regions on the map.'),r:100000,ok:()=>regionsCount()>=5}, + {id:'gi',t:tr('Sign a giant'),d:tr('Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.'),r:150000,ok:()=>S.biz.some(b=>BIZ_T[b.type]&&BIZ_T[b.type].mega&&!BIZ_T[b.type].event)}, + {id:'t10',t:tr('Serve 10 Tbps'),d:tr('Ten terabits per second of happy traffic. The giants will notice.'),r:250000,ok:()=>R.served>=10000}, + {id:'t1',t:tr('Go transit-free: Tier 1!'),d:tr('Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.'),r:0,win:true,ok:()=>isTier1()}, +]; + diff --git a/src/game/50-state.js b/src/game/50-state.js new file mode 100644 index 0000000..41e2b01 --- /dev/null +++ b/src/game/50-state.js @@ -0,0 +1,5 @@ +/* ================= STATE ================= */ +let S=null, R=emptyR(); +const UI={sel:null,tab:'cust',left:'goals',speed:1,hover:null,drag:null,snap:null,pending:null,confirm:null,leftOpen:false,muted:false,startCity:'fra',hintOff:false}; +let uidN=1; const uid=()=>'i'+(Date.now()%1e7).toString(36)+(uidN++); +function emptyR(){return {nt:{},reachNT:0,teBlack:0,tNet:{},egT:{},netEg:{},l2lat:{},nodeLoad:{},nodeCap:{},div:{},l2:{},gfwLost:0,gfwCross:0,ef:{},egDesc:{},p95:{},peered:0,peerShare:0,load:{},useT:{},useIx:{},usePni:{},useCache:{},cityDem:{},citySrv:{},cityEye:{},latF:{},latFar:{},demTo:{},served:0,demand:0,reach:0,sessions:0,revMo:0,costMo:0,cost:{},rev:{},reachable:{}};} diff --git a/src/game/60-features/10-banks.js b/src/game/60-features/10-banks.js new file mode 100644 index 0000000..2469a83 --- /dev/null +++ b/src/game/60-features/10-banks.js @@ -0,0 +1,109 @@ +/* ================= BANKS & LOANS ================= + Lenders make offers now and then (more often when you are broke). Each loan + is a fixed monthly payment that shows up in your costs; conditions are checked + daily and breaking one costs a penalty. */ +const BANKS={ + gs:{name:'Goldman Sacks',col:'#6F8FAF',min:'AA',apr:[.07,.11],amt:[4,9],term:[24,48],covs:['peer30','continents2','golf','yacht'],blurb:tr('Only lends to people who do not need it.')}, + db:{name:'Deutsche Bankrupt',col:'#0018A8',min:'A',apr:[.08,.13],amt:[3,7],term:[18,36],covs:['nocog','gen','fax'],blurb:tr('Very solid. Mostly.')}, + jpm:{name:'JP Morgain',col:'#5B4636',min:'A',apr:[.09,.14],amt:[3,6],term:[12,36],covs:['uptime','logo','nephew'],blurb:tr('Lends you money and also a little bit of their own.')}, + cs:{name:'Credit Sweaty',col:'#7A9CC6',min:'BBB',apr:[.11,.17],amt:[2,5],term:[12,30],covs:['cash50','nochina'],blurb:tr('Nervous, but enthusiastic.')}, + wf:{name:'Wells Far-Gone',col:'#D71E28',min:'BB',apr:[.12,.18],amt:[2,4],term:[12,24],covs:['nosub','logo','reach99'],blurb:tr('Opened three accounts for you while you read this.')}, + spk:{name:'Spätzle-Sparkasse',col:'#E30613',min:'B',apr:[.05,.08],amt:[1,3],term:[24,60],covs:['spaetzle','kehrwoche'],blurb:tr('Cheap, patient, and very particular about Stuttgart.')}, + rev:{name:'Revoloot',col:'#191C1F',min:'B',apr:[.13,.2],amt:[1,3],term:[6,18],covs:['app'],blurb:tr('Instant approval. Instant regret.')}, + gov:{name:'Ministry of Tubes',col:'#2E7D32',min:'CCC',apr:[.01,.02],amt:[1,2],term:[36,60],covs:['rural','forms'],blurb:tr('Cheap state money for connecting the underserved. Bring a pen.')}, + crypto:{name:'Crypto Bros Capital',col:'#F7931A',min:'CCC',apr:[.15,.25],amt:[2,6],term:[6,18],covs:['hodl','tier3'],crypto:true,blurb:tr('Pays out in TubeCoin. Value may vary. A lot.')}, + vult:{name:'Venture Vultures',col:'#8E44AD',min:'CCC',amt:[6,12],share:[.1,.15],covs:['blitz'],equity:true,blurb:tr('No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.')}, + balloon:{name:'Ballooney Brothers',col:'#E91E63',min:'B',apr:[.1,.15],amt:[2,6],term:[12,24],covs:['oddpops'],model:'balloon',blurb:tr('No payments at all! Until the very end. Then all of them, at once.')}, + storm:{name:'Stormy Weather Lending',col:'#546E7A',min:'BB',apr:[.04,.06],amt:[2,5],term:[12,36],covs:['nogen'],model:'storm',blurb:tr('Cheap while the sun shines. Every open incident adds 2% to your rate.')}, + ppp:{name:'Peer Pressure Partners',col:'#00897B',min:'B',amt:[2,5],term:[24,36],covs:['nocache'],model:'transit',blurb:tr('You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.')}, + astro:{name:'Horoscope Holdings',col:'#5E35B1',min:'CCC',apr:[.02,.3],amt:[1,4],term:[12,24],covs:['friday','nobude'],model:'astro',blurb:tr('Your rate is set by the stars every month. Mercury is in retrograde a lot.')}, + pizza:{name:'Papa Pizza Capital',col:'#FF7043',min:'BB',apr:[.03,.05],amt:[1,3],term:[12,24],covs:['pizza'],blurb:tr('The cheapest money in town. There is a catch, and it has extra cheese.')}, + shark:{name:'Loan Shark Telecom Finance',col:'#37474F',min:'C',apr:[.6,.9],amt:[1,2],term:[4,8],covs:[],shark:true,blurb:tr('Always open. Ask no questions. Do not be late.')}, +}; +const RATINGS=['C','CCC','B','BB','BBB','A','AA','AAA']; +const COVS={ + peer30:{l:tr('Keep your peering ratio above 30%. The bank read a blog post about peering.'),ok:()=>(R.peerShare||0)>=0.3}, + continents2:{l:tr('Keep POPs on at least 2 continents. Diversification!'),ok:()=>regionsCount()>=2}, + golf:{l:tr('Your CEO plays golf with our CEO every Thursday.'),ok:()=>true}, + nocog:{l:tr('No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.'),ok:()=>!S.transit.some(t=>t.net==='cog')}, + gen:{l:tr('Every POP needs a backup generator. Our risk team saw one disaster movie.'),ok:()=>Object.values(S.pops).every(p=>p.gen)}, + fax:{l:tr('Send us your monthly report by fax.'),ok:()=>true}, + uptime:{l:tr('Deliver at least 95% of what your customers want.'),ok:()=>!R.demand||R.served/R.demand>=0.95}, + logo:{l:tr('Our logo goes on every router you own.'),ok:()=>true}, + cash50:{l:tr('Never let cash drop below $50k. It makes us sweat.'),ok:()=>S.cash>=50000}, + nochina:{l:tr('Stay out of mainland China. Compliance said so.'),ok:()=>!Object.keys(S.pops).some(cnCity)}, + nosub:{l:tr('No new subsea links while this loan runs. We are afraid of sharks.'),ok:l=>S.links.filter(x=>x.sub).length<=(l.base&&l.base.sub||0)}, + spaetzle:{l:tr('Peer at the Spätzle-IX in Stuttgart. Local money for local packets.'),ok:()=>S.ixp.stg!==undefined}, + kehrwoche:{l:tr('Do the Kehrwoche: keep your NOC free of incidents older than a week.'),ok:()=>!S.inc.some(i=>S.day-i.start>7)}, + app:{l:tr('Download our app and enable all notifications.'),ok:()=>true}, + rural:{l:tr('Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).'),ok:()=>Object.keys(S.pops).some(c=>S.pops[c].bb&&['AS','AF','OC','SA'].includes(CITY[c].reg))}, + forms:{l:tr('Fill in form T-17b in triplicate, every month, forever.'),ok:()=>true}, + hodl:{l:tr('Never sell your TubeCoin. Diamond hands.'),ok:()=>true}, + oddpops:{l:tr('Always run an odd number of POPs. Our numerologist insists.'),ok:()=>Object.keys(S.pops).length%2===1}, + nobude:{l:tr('Never build in Bude. The loan officer had a bad surfing holiday there.'),ok:()=>!S.pops.bde}, + nogen:{l:tr('No diesel generators anywhere. Our sustainability team is watching.'),ok:()=>!Object.values(S.pops).some(p=>p.gen)}, + friday:{l:tr('No new links on a Friday. The stars do not allow it.'),ok:l=>!S.links.some(x=>(x.day||0)>=l.start&&(x.day||0)%7===4)}, + nocache:{l:tr('No Goggle cache boxes. Our chairman lost an argument with a search engine.'),ok:()=>!S.caches.some(c=>c.net==='ggl')}, + reach99:{l:tr('Reach 99% of the internet at all times. We looked up what a network is for.'),ok:()=>(R.reach||0)>=0.99}, + tier3:{l:tr('Stay Tier 3. Number go up, rank stay down.'),ok:()=>tierLabel()==='Tier 3'}, + nephew:{l:tr('Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.'),fee:3000,ok:()=>true}, + yacht:{l:tr('Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.'),fee:8000,ok:()=>true}, + pizza:{l:tr('Pizza for the whole NOC after every incident: {price} each.'),each:400,ok:()=>true}, + blitz:{l:tr('Open a new POP at least every 90 days. Blitzscale or die.'),ok:l=>S.day-Math.max(l.start,...Object.values(S.pops).map(p=>p.day||0))<=90}, +}; +// Conditions read with their price filled in; some cost money every month, one costs money per incident. +const covLabel=c=>COVS[c]?COVS[c].l.replace('{price}',fmt$(COVS[c].fee||COVS[c].each||0)):c; +const loanFees=l=>(l.covs||[]).reduce((a,c)=>a+((COVS[c]&&COVS[c].fee)||0),0); +// Good terms are for good credit: every notch below AAA adds to the rate. +const RATE_PREM={AAA:0,AA:.005,A:.01,BBB:.02,BB:.04,B:.07,CCC:.12,C:.2}; +// A loan worth more than this many months of revenue also wants a slice of revenue until it is repaid. +const BIG_LOAN=5; +const STAR_SIGNS=[N_('Mercury'),N_('Saturn'),N_('Venus'),N_('Your rising sign'),N_('The moon'),N_('Pluto, which is not even a planet')]; +function niceAmt(v){const m=Math.pow(10,Math.floor(Math.log10(Math.max(1,v)))-1);return Math.max(50000,Math.round(v/m)*m);} +function rating(){if(!S)return 'BB';const rev=R.revMo||0,pay=(R.cost&&R.cost.loans)||0;let sc=2; + if(rev>100000)sc++;if(rev>500000)sc++;if(rev>2000000)sc++;if(R.revMo>R.costMo)sc++;else sc--;if(rev&&(R.revMo-R.costMo)/rev>=0.25)sc++; + if(S.cash<0)sc-=2;if(rev&&pay/rev>0.3)sc--;if(rev&&pay/rev>0.6)sc--;sc-=Math.min(3,S.loanStrikes||0); + return RATINGS[clamp(sc,0,RATINGS.length-1)];} +const rIdx=r=>RATINGS.indexOf(r); +function annuity(P,apr,n){const r=apr/12;return r?P*r/(1-Math.pow(1+r,-n)):P/n;} +function spawnLoanOffer(emergency){ + const rt=rating(),keys=Object.keys(BANKS).filter(k=>rIdx(rt)>=rIdx(BANKS[k].min)&&!S.loanOffers.some(o=>o.bank===k)&&!(BANKS[k].equity&&S.loans.some(l=>l.bank===k))); + let pool=emergency?keys.filter(k=>['shark','gov','crypto','vult','rev','spk','astro','balloon'].includes(k)):keys.filter(k=>k!=='shark');if(!pool.length)pool=keys;if(!pool.length)return; + const k=pick(pool),B=BANKS[k],base=Math.max(60000,R.revMo||0),ra=(a)=>a[0]+Math.random()*(a[1]-a[0]); + const amount=niceAmt(base*ra(B.amt)*(emergency?0.6:1)),o={id:uid(),bank:k,amount,exp:S.day+(emergency?10:25),covs:B.covs.slice()}; + if(B.equity){o.share=+ra(B.share).toFixed(3);} + else if(B.model==='transit'){o.model='transit';o.cut=0.3;o.term=Math.round(ra(B.term)/6)*6||6;o.owe=Math.round(amount*1.3);o.apr=0;o.pay=0;} + else{o.apr=+(ra(B.apr)+(RATE_PREM[rt]||0)).toFixed(3);o.term=Math.round(ra(B.term)/6)*6||6;o.pay=B.model==='balloon'?0:Math.round(annuity(amount,o.apr,o.term));if(B.model)o.model=B.model;} + if(!B.equity&&amount>BIG_LOAN*base)o.share=+Math.min(0.08,0.02+0.01*(amount/base-BIG_LOAN)).toFixed(3); + S.loanOffers.push(o); + toast(tr('{bank} would like to lend you {amount}.',{bank:esc(B.name),amount:fmt$(amount)})+'
'+(emergency?tr('They heard you might be in a spot of bother.'):tr('Terms apply. Several terms.')),emergency?'bad':'goal',[{l:tr('Open bank'),act:'bank',args:{}}]); +} +function loanTick(d){ + // conditions: 15-day grace, then a penalty every 30 days while broken + for(const l of S.loans){const B=BANKS[l.bank]; + const broken=l.covs.filter(c=>COVS[c]&&!COVS[c].ok(l)); + if(d-l.start<15||!broken.length){l.breach=0;continue;} + l.breach=(l.breach||0)+1; + if(l.breach===1)toast(tr('{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.',{bank:esc(B.name),cond:esc(covLabel(broken[0]))}),'bad',[{l:tr('Open bank'),act:'bank',args:{}}]); + if(l.breach===10||(l.breach>10&&(l.breach-10)%30===0)){ + if(B.equity){l.share=+(l.share+0.02).toFixed(3);toast(tr('{bank} are circling.
They now take {pct} of your revenue.',{bank:esc(B.name),pct:pct(l.share)}),'bad');} + else{const fee=Math.round(l.bal*0.05);l.bal+=fee;l.pay=Math.round(annuity(l.bal,l.apr,Math.max(1,l.left)));S.loanStrikes=(S.loanStrikes||0)+1;toast(tr('Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.',{bank:esc(B.name),fee:fmt$(fee),pay:fmt$(l.pay)}),'bad');} + sfx('err');}} + // monthly statement: payments already leave your cash daily as part of costs + for(const l of S.loans.slice()){const B0=BANKS[l.bank];if(B0.equity||(d-l.start)%30!==0||d===l.start)continue; + if(l.model==='transit')l.bal=Math.max(0,l.bal-Math.round(((R.cost&&R.cost.transit)||0)*(l.cut||0.3)));else l.bal=Math.max(0,l.bal*(1+l.apr/12)-l.pay);l.left--; + // A balloon, or what a transit-free network never paid, is due in one go at the end. + if(l.left<=0&&l.bal>=1&&(l.model==='balloon'||l.model==='transit')){S.cash-=Math.round(l.bal);toast(tr('{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.',{bank:esc(B0.name),price:fmt$(l.bal)}),'bad');sfx('err');l.bal=0;} + if(l.left>0&&l.bal>=1){if(l.model==='storm'){l.apr=+((l.apr0||0)+0.02*S.inc.length).toFixed(3);l.pay=Math.round(annuity(l.bal,l.apr,l.left));} + else if(l.model==='astro'){const a=+(0.02+Math.random()*0.28).toFixed(3);if(Math.abs(a-l.apr)>=0.08)toast(tr('{bank}: {sign} is in retrograde.
Your rate is now {apr}%.',{bank:esc(B0.name),sign:tr(pick(STAR_SIGNS)),apr:(a*100).toFixed(1)}),a>l.apr?'bad':'good');l.apr=a;l.pay=Math.round(annuity(l.bal,l.apr,l.left));}} + if(l.left<=0||l.bal<1){S.loans=S.loans.filter(x=>x!==l);track('loan_repaid');toast(tr('Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.',{bank:esc(BANKS[l.bank].name)}),'good');sfx('coin');}} + // the shark's collectors come by when you are broke + if(S.cash<0&&S.loans.some(l=>BANKS[l.bank].shark)&&Math.random()<0.03){const c=pick(Object.keys(S.pops));const p=S.pops[c];p.down=Math.max(p.down||0,d+1);const en=N_('Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} "as a reminder".');addInc({type:'shutdown',ref:c,until:d+1,msg:tr(en,{city:CITY[c].name}),cost:0},en);toast(tr('The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.',{city:CITY[c].name}),'bad');sfx('alert');} + // offers: now and then, and much more often when you are in trouble + S.loanOffers=S.loanOffers.filter(o=>o.exp>d); + const broke=S.cash<0; + // With half a billion in the vault, loan offers are just noise (#52): banks stop calling, open offers lapse. + if(S.cash>=RICH_NO_LOANS){if(S.loanOffers.length||!S.richTold){S.loanOffers=[];if(!S.richTold&&S.mode!=='sandbox'){S.richTold=1;toast(tr('The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.',{cash:fmt$(RICH_NO_LOANS)}),'good');}}return;} + if(S.loanOffers.length<4&&(broke?Math.random()<0.25:(d>20&&Math.random()<1/40)))spawnLoanOffer(broke); +} +const RICH_NO_LOANS=5e8; diff --git a/src/game/60-features/20-scenarios.js b/src/game/60-features/20-scenarios.js new file mode 100644 index 0000000..985097c --- /dev/null +++ b/src/game/60-features/20-scenarios.js @@ -0,0 +1,40 @@ +/* Seeded games (scenarios, weekly challenge) draw every random number from S.rng, so the same seed + gives the same world. Free play keeps using the browser's Math.random. */ +const _rand=Math.random; +Math.random=function(){if(S&&typeof S.rng==='number'){let t=(S.rng=(S.rng+0x6D2B79F5)|0);t=Math.imul(t^t>>>15,1|t);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;}return _rand();}; +function isoWeek(dt){const d=new Date(Date.UTC(dt.getFullYear(),dt.getMonth(),dt.getDate()));const n=d.getUTCDay()||7;d.setUTCDate(d.getUTCDate()+4-n);const y0=new Date(Date.UTC(d.getUTCFullYear(),0,1));return {y:d.getUTCFullYear(),w:Math.ceil(((d-y0)/864e5+1)/7)};} +const hopG=l=>l.kind==='vxc'?(VXC[l.vt]||VXC[0]).g:l.kind==='df'?Math.max(0,...(l.ch||[]).map(c=>optG(c,l))):LT[l.tier].g; +function fastPath(a,b,g){if(!S.pops[a]||!S.pops[b])return false;const adj={};for(const l of S.links){if(linkDown(l)||hopG(l)S.scn.id==='weekly'?tr('Weekly {key}',{key:S.scn.key}):SCN.find(x=>x.id===S.scn.id)?.n||S.scn.name; +const AU_BB=['syd','mel','bne','adl','per'],auExits=()=>new Set(S.links.filter(l=>l.sub&&!!CITY[l.a].au!==!!CITY[l.b].au&&!(l.ready>S.day)).map(l=>l.cable||l.id)).size; +const brIxN=()=>CITIES.filter(c=>c.br&&S.ixp[c.id]!==undefined).length; +const SCN=[ + {id:'stg',n:tr('Only Spätzle-IX'),city:'stg',cash:400000,days:730,rules:{noTransit:true,local:true},d:tr('Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.'),goal:tr('Reach 45% of the internet and serve 300 Gbps'),ok:()=>R.reach>=0.45&&R.served>=300}, + {id:'redsea',n:tr('Red Sea Crisis'),city:'mrs',cash:2500000,days:540,rules:{banCities:['cai','jed'],banPairs:['eig:dxb-mrs','gbi:fuj-mrs','smw4:khi-mrs','smw6:mrs-bom','smw6:mrs-sin','peace:mrs-sin','aae:mrs-hkg','twoaf:mrs-bom','medn:cai-mrs','medn:ist-mrs','twoaf:jnb-mrs','eassy:nbo-mrs']},d:tr('Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.'),goal:tr('A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row'),ok:()=>pathExists('mrs','sin')&&(S.stats.asiaRun||0)>=RS_DAYS}, + {id:'spat',n:tr('The Cogentle Spat'),city:'nyc',cash:700000,days:540,rules:{spat:true},d:tr('Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.'),goal:tr('99% reach and 150 Gbps served'),ok:()=>R.reach>=0.99&&R.served>=150}, + {id:'carnaval',n:tr('Carnaval'),city:'rio',cash:600000,days:100,rules:{},setup:()=>{S.biz.push({id:uid(),scripted:true,city:'rio',city2:null,reqs:[],name:'Carnaval Parade in Rio de Janeiro',type:'event',bw:400,rate:0,mood:100,since:0,start:90,dur:5,fee:400*5*70});},d:tr('Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.'),goal:tr('Deliver Carnaval in full'),ok:()=>(S.stats.evFull||0)>=1}, + {id:'darien',n:tr('Mind the Gap'),city:'pan',cash:900000,days:730,rules:{},d:tr('Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.'),goal:tr('POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served'),ok:()=>['bog','lim','scl','sao'].every(c=>S.pops[c])&&R.served>=150}, + {id:'c2c',n:tr('Cape to Cairo'),city:'cpt',cash:2000000,days:1095,rules:{},d:tr('Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.'),goal:tr('A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served'),ok:()=>pathExists('cpt','cai')&&S.pops.lag&&S.pops.nbo&&R.served>=150}, + {id:'ixbr',n:tr('Order and Progress'),city:'sao',cash:2500000,days:1095,rules:{},d:tr('São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.'),goal:tr('Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served'),ok:()=>brIxN()>=20&&S.ixp.mao!==undefined&&R.served>=200}, + {id:'gangnam',n:tr('Gangnam Style Peering'),city:'icn',cash:900000,days:365,rules:{},d:tr('Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.'),goal:tr('99% reach and 200 Gbps served without going broke'),ok:()=>R.reach>=0.99&&R.served>=200}, + {id:'flood',n:tr('Flood Season'),city:'ams',cash:2000000,days:365,rules:{ddos:true},setup:()=>{S.lvl=Math.max(S.lvl||1,3);},d:tr('Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.'),goal:tr('Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better'),ok:()=>(S.stats.ddosOk||0)>=20&&(S.stats.ddosOkBig||0)>=5}, + {id:'fttb',n:tr('Fibre to the Basement'),city:'syd',cash:1500000,days:730,rules:{levy:true},d:tr('Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.'),goal:tr('Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas'),ok:()=>AU_BB.every(c=>S.pops[c]&&S.pops[c].bb)&&auExits()>=2}, + {id:'baltic',n:tr('Anchors Away'),city:'tll',cash:500000,days:540,rules:{anchors:3},d:tr('Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.'),goal:tr('90 days in a row with 99.5% of demand served'),ok:()=>(S.stats.clean||0)>=90}, + {id:'pac',n:tr('Stepping Stones'),city:'hnl',cash:3000000,days:1095,rules:{},setup:()=>{S.lvl=Math.max(S.lvl||1,4);},d:tr('Honolulu, in the middle of the Pacific. The cables between the Americas, Asia and Australia are so long that a wave on them carries only 400G or 800G. Stop the light on an island, start it fresh, and every hop gets shorter and faster. You start with 1.6T gear unlocked.'),goal:tr('A path from Los Angeles to Sydney with 1.6T on every hop, a path from Los Angeles to Tokyo, and 150 Gbps served'),ok:()=>fastPath('lax','syd',1600)&&pathExists('lax','tok')&&R.served>=150}, + {id:'atl',n:tr('Mid-Atlantic Accent'),city:'pdl',cash:3000000,days:1095,rules:{},setup:()=>{S.lvl=Math.max(S.lvl||1,4);},d:tr('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.'),goal:tr('1.6T on every hop from Miami to Madrid and from Lisbon to Lagos, and 100 Gbps served'),ok:()=>fastPath('mia','mad',1600)&&fastPath('lis','lag',1600)&&R.served>=100}, +]; +const WEEK_CITIES=['fra','ams','lon','nyc','ash','sjc','sin','tok','syd','sao','jnb','bom','waw','ist','scl','hkg']; +const WEEK_MODS=[{id:'pricey',n:tr('Transit costs 30% more')},{id:'chaos',n:tr('Twice the failures')},{id:'poor',n:tr('Start with only $100k')},{id:'boom',n:tr('Eyeballs grow 50% faster')},{id:'dk',n:tr('Every IX is run by DE-KICKS')},{id:'sharks',n:tr('Shark season: subsea cuts twice as likely')}]; +function weekly(){const {y,w}=isoWeek(new Date());let r=(y*100+w)*2654435761>>>0;const nx=()=>{r=(r*1103515245+12345)>>>0;return r/4294967296;};const city=WEEK_CITIES[Math.floor(nx()*WEEK_CITIES.length)];const mods=[];while(mods.length<2){const m=WEEK_MODS[Math.floor(nx()*WEEK_MODS.length)];if(!mods.includes(m))mods.push(m);}return {id:'weekly',key:`${y}-W${String(w).padStart(2,'0')}`,seed:y*100+w,city,mods,days:365};} +const scnRule=k=>!!(S&&S.scn&&S.scn.rules&&S.scn.rules[k]); +function scnHof(){try{return JSON.parse(localStorage.getItem('sot-scn')||'{}')||{};}catch(e){return {};}} +function beginGame(nm,city,o={}){if(needPitch()&&!UI.pitched){UI.pendGame=[nm,city,o];openModal(pitchHtml(true));return;}newGame(nm,city);S.mode=o.mode||'normal'; + if(S.mode==='sandbox'){S.cash=1e9;S.lvl=LEVELS.length;S.nextFail=1e9;S.nextEvent=1e9;} + if(o.scn){const sc=o.scn;S.scn={id:sc.id,rules:sc.rules||{},days:sc.days,name:sc.n||tr('Weekly challenge {key}',{key:sc.key}),key:sc.key||null,mods:(sc.mods||[]).map(m=>m.id)};S.rng=(o.seed||hstr(sc.id))|0;S.mode='scenario';S.asn=200000+Math.floor(Math.random()*15000); + if(sc.cash)S.cash=sc.cash;if(sc.setup)sc.setup(); + for(const m of S.scn.mods){if(m==='pricey')S.priceMul=1.3;if(m==='poor')S.cash=100000;if(m==='chaos')S.scn.rules.chaos=true;if(m==='boom')S.scn.rules.boom=true;if(m==='dk')S.scn.rules.dkAll=true;if(m==='sharks')S.scn.rules.sharks=true;}} + track('game_new');UI.started=true;closeModal();compute();cam.x=CITY[city].x;cam.y=CITY[city].y;cam.z=innerWidth<760?1.1:1.4;selectCity(city); + toast(S.scn?`${esc(S.scn.name)}
${o.scn.goal?esc(o.scn.goal)+'.':tr('Serve as much traffic as you can in one year.')} ${tr('You have {n} days.',{n:S.scn.days})}`:S.mode==='sandbox'?tr('Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.'):tr('Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.',{name:esc(nm),asn:S.asn,city:CITY[city].name}),'goal'); + renderAll();save();if(!S.scn&&S.mode!=='sandbox')tutorialStart();} diff --git a/src/game/60-features/30-conferences.js b/src/game/60-features/30-conferences.js new file mode 100644 index 0000000..00663d1 --- /dev/null +++ b/src/game/60-features/30-conferences.js @@ -0,0 +1,15 @@ +/* ---------- conference season ---------- */ +const CONFS=[{n:'NANOG',c:'chi',m:1},{n:'APRICOT',c:'sin',m:1},{n:'Peering Days',c:'waw',m:2},{n:'DKNOG',c:'cph',m:2,j:N_('The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.')},{n:'UKNOF',c:'lon',m:3},{n:'MENOG',c:'dxb',m:3},{n:'NZNOG',c:'akl',m:3},{n:'RIPE',c:'ams',m:4},{n:'NANOG',c:'sea',m:5},{n:'IX Forum',c:'tok',m:6},{n:'AfPIF',c:'nbo',m:7},{n:'AusNOG',c:'syd',m:8},{n:'NLNOG Day',c:'ams',m:8},{n:'LACNOG',c:'sao',m:9},{n:'NANOG',c:'ash',m:9},{n:'DENOG',c:'fra',m:10},{n:'RIPE',c:'ber',m:10},{n:'PTT Forum',c:'sao',m:11},{n:'PacNOG',c:'suv',m:11}]; +const CONF_COST=8000,CONF_DAYS=45; +const confDay=(cf,y)=>y*360+cf.m*30+9; +function confKey(cf,y){return cf.n+'@'+cf.c+'@'+y;} +function upcomingConfs(within){const y0=Math.floor(S.day/360),out=[];for(const y of [y0,y0+1])for(const cf of CONFS){const d=confDay(cf,y);if(d>=S.day&&d-S.day<=within)out.push({...cf,day:d,key:confKey(cf,y)});}return out.sort((a,b)=>a.day-b.day);} +function confBoost(id){const cb=S.conf;if(!cb||!(cb.until>S.day))return 1;const n=NET[id];return n&&n.pops.some(c=>CITY[c]&&CITY[c].reg===cb.reg)?0.5:1;} +function confTick(d){S.confReg=S.confReg||{}; + for(const cf of upcomingConfs(30)){if(cf.day-d===30&&!S.confReg[cf.key])toast(tr('{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.',{conf:esc(cf.n),city:esc(CITY[cf.c].name)}),'goal',[{l:tr('Show me'),act:'leftTab',args:{t:'deals'}}]);} + for(const cf of upcomingConfs(0)){if(cf.day!==d||!S.confReg[cf.key])continue;const reg=CITY[cf.c].reg;S.conf={until:d+CONF_DAYS,reg,name:cf.n};S.stats.confs=(S.stats.confs||0)+1; + const r=Math.random();let extra='';if(r<0.3){const cash=5000+Math.floor(Math.random()*4)*5000;S.cash+=cash;extra=' '+tr('You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.',{cash:fmt$(cash)});}else if(r<0.5)extra=' '+tr('Someone from Goggle bought you a beer. You did not get their name, only a sticker.');if(cf.j)extra=' '+tr(cf.j)+(r<0.3?extra:''); + toast(tr('{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.',{conf:esc(cf.n),city:esc(CITY[cf.c].name),n:CONF_DAYS,region:esc(REG[reg])})+extra,'goal');sfx('coin');}} +function confSection(){const up=upcomingConfs(75).slice(0,3),cb=S.conf&&S.conf.until>S.day?S.conf:null;if(!up.length&&!cb)return ''; + return `

${tr('Conferences')}

${cb?`
${tr('{name} glow: {n} days left',{name:esc(cb.name),n:cb.until-S.day})}
${tr('Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.',{region:esc(REG[cb.reg])})}
`:''}${up.map(cf=>{const reg=S.confReg&&S.confReg[cf.key];return `
${esc(cf.n)} · ${esc(CITY[cf.c].name)}
${cf.day===S.day?tr('Today'):tr('in {n} days',{n:cf.day-S.day})} · ${esc(REG[CITY[cf.c].reg])}
${reg?''+tr('Registered')+'':cf.day<=S.day?''+tr('Registration closed')+'':btn(tr('Attend {cost}',{cost:fmt$(CONF_COST)}),'confGo',{key:cf.key},'sm',S.cash`;}).join('')}`;} + diff --git a/src/game/60-features/40-tutorial.js b/src/game/60-features/40-tutorial.js new file mode 100644 index 0000000..5d10219 --- /dev/null +++ b/src/game/60-features/40-tutorial.js @@ -0,0 +1,16 @@ +/* ---------- guided first game ---------- */ +const TUT=[ + {t:tr('Your router is live. Press “Launch broadband” to sell internet to the people of your city.'),sel:'[data-act="launchBB"]',ok:()=>S.pops[S.home]&&S.pops[S.home].bb}, + {t:tr('Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.'),sel:'[data-act="tab"][data-args*=\'"up"\'],[data-act="buyTransit"]',ok:()=>S.transit.length>0,skip:()=>!NETS.some(n=>sellsAt(n,S.home))}, + {t:tr('Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.'),sel:'[data-act="tab"][data-args*=\'"peer"\'],[data-act="buyIx"],[data-act="rs"]',ok:()=>Object.keys(S.rs).length>0,skip:()=>!ixName(S.home)}, + {t:tr('Start the clock with 1× and watch traffic and money flow. You can pause any time.'),sel:'#sp1',ok:()=>S.day>=5}, + {t:tr('Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.'),sel:null,ok:()=>S.links.length>0}, + {t:tr('Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.'),sel:'[data-act="leftTab"][data-args*=\'"deals"\']',ok:()=>S.biz.length>0}, +]; +function tutorialStart(){let done=false;try{done=!!localStorage.getItem('sot-tut');}catch(e){}if(done||window.__TUBES_TEST__&&!window.__TUBES_TUT__)return;S.tut=0;renderCoach();} +function renderCoach(){const el=$('coach');if(!el)return;document.querySelectorAll('.coach-glow').forEach(x=>x.classList.remove('coach-glow')); + if(!S||S.tut===undefined||S.tut===null||S.lost){el.hidden=true;return;} + while(S.tut=TUT.length){S.tut=null;el.hidden=true;try{localStorage.setItem('sot-tut','1');}catch(e){}toast(tr('You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.'),'goal');return;} + const st=TUT[S.tut];el.innerHTML=`
${tr('Step {n} of {total}',{n:S.tut+1,total:TUT.length})}${esc(st.t)}
${btn(tr('Skip tutorial'),'tutSkip',{},'ghost sm')}`;el.hidden=false; + if(st.sel){const t=document.querySelector(st.sel);if(t)t.classList.add('coach-glow');}} diff --git a/src/game/60-features/50-traceroute.js b/src/game/60-features/50-traceroute.js new file mode 100644 index 0000000..566eb6c --- /dev/null +++ b/src/game/60-features/50-traceroute.js @@ -0,0 +1,43 @@ +/* ---------- traceroute and looking glass ---------- */ +const slug=t=>String(t).toLowerCase().normalize('NFKD').replace(/[̀-ͯ]/g,'').replace(/[^a-z0-9]+/g,'-').replace(/^-|-$/g,'')||'x'; +function trPaths(src){const live=S.links.filter(l=>!linkDown(l)),rem=remoteCities(),ok=c=>popUp(c)||rem.includes(c),adj={}; + for(const l of live){if(!ok(l.a)||!ok(l.b))continue;const w=(l.km+60)*MET[l.metric||'normal'].f;(adj[l.a]=adj[l.a]||[]).push([l.b,l,w]);(adj[l.b]=adj[l.b]||[]).push([l.a,l,w]);} + const dist={[src]:0},prev={},done=new Set();for(;;){let u=null,ud=Infinity;for(const k in dist)if(!done.has(k)&&dist[k]{if(dist[dst]===undefined)return null;const out=[];let v=dst;while(v!==src){const l=prev[v];out.unshift({l,from:l.a===v?l.b:l.a,to:v});v=l.a===v?l.b:l.a;}return out;};return {dist,path};} +function trExits(net){const day=S.day,ev=S.ev,leak=ev.leak&&ev.leak.until>day?ev.leak.net:null,out=[]; + for(const x of S.caches)if(x.net===net&&popUp(x.city)&&!siteDown(x.city,'a'))out.push({k:'c',rank:0,city:x.city,pref:'normal',lab:tr('{name} cache',{name:NET[net].cache.name}),used:R.useCache[x.id]||0,cap:CACHE_CAP}); + for(const p of S.pni)if(p.net===net&&pniOn(p)&&popUp(p.city)&&liveN(p.city,p.site,p.n))out.push({k:'p',rank:1,city:p.city,pref:p.pref||'normal',lab:tr('PNI with {net}',{net:NET[net].name}),used:R.usePni[p.id]||0,cap:liveCap(pniG(p),p.city,p.site,p.n)}); + for(const c in S.ixp)if(ixSessions(c).has(net)&&(popUp(ixCity(c))||remoteCities().includes(ixCity(c)))&&!(ev.ixdown&&ev.ixdown[c]>day))out.push({k:'ix',rank:2,city:ixCity(c),id:c,pref:(S.ixPref&&S.ixPref[c])||'normal',lab:tr('{ix} peering',{ix:ixName(c)}),used:R.useIx[c]||0,cap:ixCap(c)}); + for(const t of S.transit)if(popUp(t.city)&&!(t.down>day)&&liveN(t.city,t.site,t.n)&&net!==leak&&!((ev.depeer>day||scnRule('spat'))&&t.net==='cog'&&net==='ggl'))out.push({k:'t',rank:3,city:t.city,pref:t.pref||'normal',lab:tr('{name} transit',{name:NET[t.net].name}),tnet:t.net,used:R.useT[t.id]||0,cap:liveCap(PORT[t.tier].g,t.city,t.site,t.n)}); + return out;} +function traceroute(src,to){const P=trPaths(src),me=slug(S.name)+'.net',lines=[],ip=(a,b)=>`100.64.${a%250}.${b%250}`;let rtt=0.3,n=1; + const hop=(host,addr,extra,note)=>{rtt+=extra;lines.push(`${String(n++).padStart(2)} ${host} (${addr}) ${rtt.toFixed(1)} ms${note?' ← '+note:''}`);}; + hop(`lo0.cr1.${src}.${me}`,ip(hstr(src),1),0,tr('{city}, your router',{city:CITY[src].name})); + const walk=path=>{for(const h of path){const l=h.l,lat=linkLat(l)*2+0.15;hop(`ae${1+hstr(l.id)%9}.cr1.${h.to}.${me}`,ip(hstr(h.to),2),lat,`${CITY[h.to].name} · ${l.kind==='df'?tr('own dark fiber'):l.kind==='vxc'?tr('fabric circuit'):l.cable?CAB[l.cable].name:tr('terrestrial wave')} · ${capName(l)}`);}}; + if(to.city){const path=P.path(to.city);lines.unshift(`traceroute to ${to.city}.${me} (${CITY[to.city].name}), 30 hops max`);if(!path){lines.push(' 2 * * * ← '+tr('no working path between these POPs'));return {text:lines.join('\n'),why:tr('No path: every route between these cities is down or missing.')};}walk(path);return {text:lines.join('\n'),why:S.te&&S.te.on?trn('Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.','Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.',path.length):trn('Internal path over {n} link, chosen by distance and link metrics.','Internal path over {n} links, chosen by distance and link metrics.',path.length)};} + const N=NET[to.net],ex=trExits(to.net).filter(e=>P.dist[e.city]!==undefined); + lines.unshift(`traceroute to www.${slug(N.name)}.example (${N.name}, AS${N.asn}) from ${CITY[src].name}, 30 hops max`); + if(!ex.length){lines.push(' 2 * * *\n 3 * * * ← '+tr('!N network unreachable'));return {text:lines.join('\n'),why:tr('Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.',{net:N.name,city:CITY[src].name}),asPath:null};} + ex.sort((a,b)=>(a.pref==='low'?4:a.rank)-(b.pref==='low'?4:b.rank)||(a.pref==='high'?0:1)-(b.pref==='high'?0:1)||P.dist[a.city]-P.dist[b.city]); + const e=ex.find(x=>x.usedkmBetween(e.city,c)S.day?35:20}):''; + return {text:lines.join('\n'),why:`${tr('Exit: {exit} in {city}.',{exit:e.lab,city:CITY[e.city].name})} ${tr('{rule}, and closer exits win ties',{rule:order[0].toUpperCase()+order.slice(1)})}${e.pref!=='normal'?tr('; this one is set to {mode}',{mode:e.pref==='high'?tr('Prefer'):tr('Backup only')}):''}.${e.used>=e.cap*0.999?' '+tr('It is full, so some traffic overflows to the next exit.'):''}${cn}`,asPath};} +function traceModal(src,to){const pops=Object.keys(S.pops).sort((a,b)=>CITY[a].name.localeCompare(CITY[b].name));src=src&&S.pops[src]?src:UI.trFrom&&S.pops[UI.trFrom]?UI.trFrom:S.home&&S.pops[S.home]?S.home:pops[0]; + const nets=NETS.slice().sort((a,b)=>b.share-a.share),t=to||UI.trTo||'net:ggl';UI.trFrom=src;UI.trTo=t; + const r=t.startsWith('net:')?traceroute(src,{net:t.slice(4)}):traceroute(src,{city:t.slice(5)}); + openModal(`
${tr('Looking glass')}

${tr('Traceroute')}

+
+ ${btn(tr('Run'),'traceRun',{},'pink sm')}
+
${esc(r.text)}
${r.asPath?`

${tr('AS path: {path}',{path:r.asPath.map(a=>'AS'+a).join(' → ')})}

`:''}

${esc(r.why)}

+
${btn(tr('Copy'),'traceCopy',{},'ghost sm')}
`);UI.trText=r.text;} + diff --git a/src/game/60-features/60-share-card.js b/src/game/60-features/60-share-card.js new file mode 100644 index 0000000..f033570 --- /dev/null +++ b/src/game/60-features/60-share-card.js @@ -0,0 +1,27 @@ +/* ---------- share card ---------- */ +// Straight link segments in map coordinates for flat maps. A link across the date line leaves one edge +// and comes back in at the other, so it becomes two segments, one per edge (#42). +function linkSegs(){const out=[];for(const l of S.links){const A=CITY[l.a],B=CITY[l.b];if(!A||!B)continue;const d=Math.abs(B.x-A.x)>W/2?(B.xi?g.lineTo(mx+q[0]*sx,my+q[1]*sy):g.moveTo(mx+q[0]*sx,my+q[1]*sy));g.closePath();g.fill();g.stroke();} + g.strokeStyle='#FF4F9A';g.lineWidth=2.5;for(const [x1,y1,x2,y2] of linkSegs()){g.beginPath();g.moveTo(mx+x1*sx,my+y1*sy);g.lineTo(mx+x2*sx,my+y2*sy);g.stroke();} + for(const c in S.pops){const C=CITY[c];g.fillStyle='#FF4F9A';g.strokeStyle='#1E2640';g.lineWidth=2;g.beginPath();g.arc(mx+C.x*sx,my+C.y*sy,5,0,7);g.fill();g.stroke();} + g.restore();g.strokeStyle='#1E2640';g.lineWidth=5;g.strokeRect(mx,my,mw,mh); + // header + g.fillStyle='#1E2640';g.font='900 54px "Baloo 2", sans-serif';g.textBaseline='top';g.fillText(S.name,40,28); + g.font='800 26px Nunito, sans-serif';g.fillText(`AS${S.asn} · ${tierLabel()} · ${dateStr(S.day)}${S.mode==='sandbox'?' · '+tr('Sandbox'):''}`,42,92); + // stats + const got=BADGES.filter(b=>S.ach&&S.ach[b.id]!==undefined),rk={l:0,e:1,r:2,c:3},top=got.slice().sort((a,b)=>rk[a.r]-rk[b.r]).slice(0,8); + const rows=[[tr('Peak traffic'),fmtG(S.stats.peak||0)],[tr('Peered'),pct(R.peerShare||0)],[tr('POPs'),tr('{n} in {r} regions',{n:Object.keys(S.pops).length,r:regionsCount()})],[tr('Links'),String(S.links.length)],[tr('Customers'),String(S.biz.length)],[tr('Incidents survived'),String(S.stats.survived||0)],[tr('Shark bites'),String(S.stats.sharks||0)],[tr('Badges'),`${got.length}/${BADGES.length}`]]; + if(S.scn)rows.unshift([scnName(),S.scn.done?(S.scn.id==='weekly'?tr('score {v}',{v:fmtG(S.scn.score||S.stats.peak||0)}):tr('done in {d} days',{d:S.scn.done})):S.scn.failed?tr('not this time'):tr('in progress')]); + let y=150;for(const [k,v] of rows.slice(0,9)){g.fillStyle='#fff';g.strokeStyle='#1E2640';g.lineWidth=3;g.beginPath();g.roundRect?g.roundRect(770,y,390,42,12):g.rect(770,y,390,42);g.fill();g.stroke();g.fillStyle='#5A6280';g.font='800 18px Nunito, sans-serif';g.fillText(k,786,y+11);g.fillStyle='#1E2640';g.font='900 22px Nunito, sans-serif';const tw=g.measureText(v).width;g.fillText(v,1146-tw,y+9);y+=48;} + g.font='34px sans-serif';top.forEach((b,i)=>g.fillText(b.i,40+i*48,520)); + g.fillStyle='#1E2640';g.font='900 30px "Baloo 2", sans-serif';g.fillText('seriesoftub.es',40,572);g.font='700 20px Nunito, sans-serif';g.fillText(tr('Build the internet, one tube at a time'),300,580); + return cv;} +function shareModal(){const cv=shareCanvas();if(!cv){toast(tr('Your browser cannot draw the card.'),'bad');return;}let url='';try{url=cv.toDataURL('image/png');}catch(e){} + UI.shareCv=cv;openModal(`
${tr('Share')}

${tr('Your network card')}

${url?`${tr('Stats card for {name}',{name:esc(S.name)})}`:''}
${navigator.share?btn(tr('Share…'),'shareGo',{},'pink'):''}${btn(tr('Download PNG'),'shareDl',{},navigator.share?'':'pink')}

${tr('Post it wherever your peering friends hang out.')}

`);track('share_open');} +function shareFile(cb){const cv=UI.shareCv;if(!cv||!cv.toBlob){cb(null);return;}cv.toBlob(b=>cb(b?new File([b],`series-of-tubes-${slug(S.name)}.png`,{type:'image/png'}):null),'image/png');} diff --git a/src/game/60-features/70-scenario-progress.js b/src/game/60-features/70-scenario-progress.js new file mode 100644 index 0000000..0d938f5 --- /dev/null +++ b/src/game/60-features/70-scenario-progress.js @@ -0,0 +1,12 @@ +function scnTick(d){const sc=S.scn;if(!sc||sc.done||sc.failed)return; + if(sc.id==='weekly'){if(d>=sc.days){sc.done=d;const score=Math.round(S.stats.peak||0);sc.score=score;let best=null;try{const wk=JSON.parse(localStorage.getItem('sot-weekly')||'{}');best=wk[sc.key];if(!best||score>best){wk[sc.key]=score;localStorage.setItem('sot-weekly',JSON.stringify(wk));}}catch(e){} + const h=scnHof();h.weekly=h.weekly||{d:new Date().toISOString().slice(0,10)};try{localStorage.setItem('sot-scn',JSON.stringify(h));}catch(e){} + openModal(`
${tr('Weekly challenge {key}',{key:esc(sc.key)})}

${tr('Your score: {score}',{score:fmtG(score)})}

${best&&best>score?tr('Peak traffic served in one year. Your best this week is {best}.',{best:fmtG(best)}):best?tr('Peak traffic served in one year. A new personal best for this week!.'):tr('Peak traffic served in one year.')}

${btn(tr('Share my result'),'share',{},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);track('weekly_done');}return;} + const def=SCN.find(x=>x.id===sc.id);if(!def)return;let ok=false;try{ok=def.ok();}catch(e){} + if(ok){sc.done=d;const h=scnHof();if(!h[sc.id]||h[sc.id].days>d)h[sc.id]={d:new Date().toISOString().slice(0,10),days:d};try{localStorage.setItem('sot-scn',JSON.stringify(h));}catch(e){}track('scenario_'+sc.id); + openModal(`
${tr('Scenario complete')}

${tr('{name}: done in {d} days',{name:esc(def.n),d})}

${esc(def.goal)}. ${d

${btn(tr('Share my result'),'share',{},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}${btn(tr('More scenarios'),'scenarios',{},'ghost')}
`);sfx('coin');} + else if(d>=def.days){sc.failed=d;openModal(`
${tr('Scenario over')}

${tr("Time's up")}

${tr('{goal} was not reached in {d} days. Keep playing this network as free play, or try again.',{goal:esc(def.goal),d:def.days})}

${btn(tr('Try again'),'startScn',{id:def.id},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);}} +function scenarioModal(){const wk=weekly(),h=scnHof();let best=null;try{best=JSON.parse(localStorage.getItem('sot-weekly')||'{}')[wk.key];}catch(e){} + openModal(`
${tr('Scenarios')}

${tr('Pick a challenge')}

+
${tr('Weekly challenge {key}',{key:esc(wk.key)})}
${tr('Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.',{city:esc(CITY[wk.city].name),mods:wk.mods.map(m=>esc(m.n)).join(' · ')})}${best?' '+tr('Your best: {best}.',{best:fmtG(best)}):''}
${btn(tr('Play'),'startWeekly',{},'pink')}
+ ${SCN.map(x=>`
${esc(x.n)} ${h[x.id]?`${tr('done in {d} days',{d:h[x.id].days})}`:''}
${esc(x.d)}
${tr('Goal: {goal} · Time: {d} days · start in {city}',{goal:esc(x.goal),d:x.days,city:esc(CITY[x.city].name)})}
${btn(tr('Play'),'startScn',{id:x.id},'')}
`).join('')}`);} diff --git a/src/game/60-features/80-new-game.js b/src/game/60-features/80-new-game.js new file mode 100644 index 0000000..79a903c --- /dev/null +++ b/src/game/60-features/80-new-game.js @@ -0,0 +1,6 @@ +function newGame(name,home){ + S={v:1,name,asn:200000+Math.floor(_rand()*15000),home,day:0,cash:START_CASH, + ltv:2,t1v:2,auV:1,seen:NETS.map(n=>n.id),spares:{},pops:{[home]:{day:0,bb:null,boost:0,down:0,routers:1,gen:false}},links:[],nni:[],transit:[],ixp:{},rs:{},peers:{},pni:[],caches:[],biz:[],offers:[],myIx:{}, + done:{},inc:[],ev:{},priceMul:1,nextFail:45,nextEvent:40,usedNames:[],stats:{survived:0,incidents:0,peak:0},cnLic:{state:'none'},scrubs:[],scrubMode:'always',won:false,lost:false,neg:0,loans:[],loanOffers:[],loanStrikes:0,inbox:{items:[],down:{},tiny:{},rep:0,bot:false,log:[],seq:0},hw:{}}; +} + diff --git a/src/game/70-rules/10-helpers.js b/src/game/70-rules/10-helpers.js new file mode 100644 index 0000000..61cd6d5 --- /dev/null +++ b/src/game/70-rules/10-helpers.js @@ -0,0 +1,24 @@ +/* ================= HELPERS ================= */ +const fmt$=v=>{const a=Math.abs(v),s=v<0?'-':'';if(a>=1e6)return s+'$'+(a/1e6).toFixed(a>=1e7?1:2)+'M';if(a>=1e3)return s+'$'+(a/1e3).toFixed(a>=1e5?0:1)+'k';return s+'$'+Math.round(a);}; +const fmtG=g=>g>=1000?(g/1000).toFixed(g>=10000?1:2)+' Tbps':(g>=100?g.toFixed(0):g.toFixed(1))+' Gbps'; +const pct=x=>Math.round(x*100)+'%'; +// Reach never rounds up to 100%: Tier 1 needs more than 99.9%, and 99.6% must not look like a full house (#73). +const reachPct=x=>x>0.999?'100%':x>=0.99?(Math.floor(x*1000)/10).toFixed(1)+'%':pct(x); +const clamp=(v,a,b)=>Math.max(a,Math.min(b,v)); +const pick=a=>a[Math.floor(Math.random()*a.length)]; +const esc=s=>String(s).replace(/[&<>"']/g,c=>({'&':'&','<':'<','>':'>','"':'"',"'":'''}[c])); +function dateStr(d){const y=1+Math.floor(d/360),m=Math.floor(d/30)%12,dd=d%30+1;return tr('Y{y} · {mon} {d}',{y,mon:MONTHS[m],d:dd});} +function wrapDx(a,b){let dx=b-a;if(dx>W/2)dx-=W;if(dx<-W/2)dx+=W;return dx;} +function kmBetween(a,b){const A=CITY[a],B=CITY[b];return Math.max(20,Math.round(hav(A.lon,A.lat,B.lon,B.lat)));} +// Cities on a land bridge belong to two landmasses: Cairo reaches Asia overland across the Sinai, the way +// Istanbul does across the Bosporus (#47). Overland between continents still costs the intercontinental price. +const lands=C=>C.land2?[C.land,C.land2]:[C.land]; +const isSub=(a,b)=>{const A=lands(CITY[a]),B=lands(CITY[b]);return !A.some(x=>B.includes(x));}; +const popUp=c=>S.pops[c]&&!(S.pops[c].down>S.day); +const regionsCount=()=>new Set(Object.keys(S.pops).map(c=>CITY[c].reg)).size; +const ixCity=x=>String(x).split('~')[0]; +function ixIdsIn(c){const o=ixStatic(c);if(S&&S.myIx&&S.myIx[c]&&!o.includes(c))o.unshift(c);return o;} +const hasIxAt=c=>ixIdsIn(c).some(x=>S.ixp[x]!==undefined); +function ixName(c){if(XIXM[c])return XIXM[c].name;return S.myIx[c]?S.myIx[c].name:CITY[c].ix;} +// IX.brrr Campinas already says where it is, so messages skip "in Campinas" (#134) +const ixNamesCity=c=>String(ixName(c)||'').toLowerCase().includes(CITY[ixCity(c)].name.toLowerCase()); diff --git a/src/game/70-rules/20-exchanges.js b/src/game/70-rules/20-exchanges.js new file mode 100644 index 0000000..434cd53 --- /dev/null +++ b/src/game/70-rules/20-exchanges.js @@ -0,0 +1,30 @@ +/* Australian exchanges follow PeeringDB (every Australian exchange's member list, Oct 2026): networks that sit on + every IX elsewhere list the Australian cities they really peer in as auIx, and the big incumbents peer only privately. */ +/* Transit in Australia is sold only by carriers with an Australian site and at least ten Australian networks buying + from them (RIPEstat, Oct 2026): Telstraya, Hocus Pocus, Speedyloop, SingTell, Drizzle Electric, Cogentle, + Not That Telecom and Level Tree (whose real-world network lists no sites in PeeringDB at all, but sells in Sydney). Others can sit in + an Australian city, like the Pacific carriers backhauling to Sydney, but reach Australian customers only from overseas. */ +const AU_SELLERS=['tsy','voc','spl','sgt','drz','cog','ntt','lvl'],sellsAt=(n,c)=>!!n.price&&n.pops.includes(c)&&(!CITY[c].au||AU_SELLERS.includes(n.id)); +const onIx=(n,c)=>CITY[c].au&&n.auIx?n.auIx.includes(c):n.ix==='ALL'||Array.isArray(n.ix)&&n.ix.includes(c); +function ixMembers(c){if(XIXM[c])return XIXM[c].members.slice();if(S.myIx[c])return S.myIx[c].members.slice();if(!CITY[c].ix)return [];return NETS.filter(n=>onIx(n,c)).map(n=>n.id);} +// LAG: several identical ports bundled into one logical link. Flow hashing is never perfectly even, so a bundle carries ~95% of the sum. +const LAG_MAX=8; +function lagCap(g,n){n=n||1;return g*n*(n>1?0.95:1);} +function lagName(tier,n){return (n||1)>1?`${n}×${PORT[tier].n} LAG`:tr('{port} port',{port:PORT[tier].n});} +function ixCap(c){return ixLagF(c)*(S.myIx[c]?myFab(c).g*(myIxLive(c)?1:0):liveCap(PORT[S.ixp[c]].g,ixCity(c),(S.ixSite||{})[c],(S.ixn||{})[c])*(isRemote(c)?REMOTE_CAP:1));} +function ixSessions(c){ + const s=new Set(); if(S.ixp[c]===undefined)return s; + for(const id of ixMembers(c)){const n=NET[id]; + if(S.peers[id+'@'+c]&&!snub(id,c)&&!(isRemote(c)&&noRemote(id))&&!mpDown(id,c))s.add(id); + else if(S.rs[c]&&n.pol==='open')s.add(id); + else if(S.myIx[c]&&(n.pol==='open'||n.pol==='selective'))s.add(id);} + return s; +} +function t1Club(){ + const miss=[];const pops=Object.keys(S.pops).length; + if(regionsCount()<3)miss.push(tr('POPs on 3+ continents')); + if(pops<10)miss.push(tr('10+ POPs ({n})',{n:pops})); + if(R.served<1500)miss.push(tr('serve 1.5 Tbps ({v})',{v:fmtG(R.served)})); + if(R.sessions<20)miss.push(tr('20+ peering sessions ({n})',{n:R.sessions})); + return {ok:!miss.length,missing:miss}; +} diff --git a/src/game/70-rules/30-pnis.js b/src/game/70-rules/30-pnis.js new file mode 100644 index 0000000..5860f79 --- /dev/null +++ b/src/game/70-rules/30-pnis.js @@ -0,0 +1,19 @@ +/* ---------- PNIs with the big networks: slow orders and no small ports ---------- + Big content networks, Tier 1s and big eyeball networks usually deliver a PNI or an augment in about 30 days, but + 15% of orders get lost in provisioning for 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm sells PNIs down to 1G, and takes its time too. */ +const pniBig=id=>{const n=NET[id];return n.type==='t1'||(n.type==='cdn'&&n.pol!=='open')||(n.type==='eye'&&n.share>=0.02);}; +const pniMin=id=>{const n=NET[id];return n.type==='t1'||(n.type==='cdn'&&n.pol!=='open')?1:0;}; +const pniG1=id=>id==='dtk'; +// A beer with their peering coordinator at a conference halves the wait. It is how it really works. +const PNI_SLOW=0.15,pniLead=id=>{const n=pniBig(id)?(Math.random()S.day?Math.round(n/2):n;}; +const pniG=p=>p.g1?1:PORT[p.tier].g,pniPN=p=>p.g1?'1G':PORT[p.tier].n,pniOn=p=>!(p.ready>S.day); +const pniEta=id=>pniBig(id)?tr('Delivery: about a month, sometimes 6 to 12 months'):tr('Delivery: 2 to 6 weeks'); +const PNI_G1_COST=1200,pniWhen=n=>n>=60?tr('Their team quotes {m} months',{m:Math.round(n/30)}):tr('Ready in about {n} days',{n}); +function pniWait(p,c){return `
${(p.n||1)>1?p.n+'×':''}${pniPN(p)} PNI${tr('on order')}
${tr('About {n} days to go. Nothing to do but wait, or chase it.',{n:Math.max(0,p.ready-S.day)})}
${btn(tr('Chase it'),'pniChase',{id:p.id},'ghost sm')}${btn(UI.confirm===p.id?tr('Really remove?'):tr('Cancel the order'),'cancelPni',{id:p.id},'ghost sm')}
`;} +function pniDay(d){for(const p of S.pni){const nm=esc(NET[p.net].name),city=esc(CITY[p.city].name); + if(p.ready===d)toast(tr('PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.',{net:nm,city,dc:esc(siteName(p.city,'a'))}),'good'); + if(p.up&&p.up.ready<=d){p.tier=p.up.tier;p.n=p.up.n;if(p.up.g1)p.g1=true;else delete p.g1;delete p.up;toast(tr('Augment with {net} delivered in {city}.
Now {port}.',{net:nm,city,port:((p.n||1)>1?p.n+'×':'')+pniPN(p)}),'good');}}} +// Microsnoft has no capacity on the US east coast. Not for a PNI, not at an exchange, not for anyone. +const US_EAST=['ash','nyc','bos','atn','mia']; +const MSF_NOPE=[N_('No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.'),N_('US East is sold out until further notice. Further notice is also sold out.'),N_('Their peering team says US East is “capacity constrained”, which is cloud for “no”.'),N_('A new region is coming online soon. It has been coming online soon since 2019.')]; +const msfNope=(id,city)=>id==='msf'&&!!city&&US_EAST.includes(ixCity(city)); diff --git a/src/game/70-rules/40-peering-inbox.js b/src/game/70-rules/40-peering-inbox.js new file mode 100644 index 0000000..b72cb32 --- /dev/null +++ b/src/game/70-rules/40-peering-inbox.js @@ -0,0 +1,76 @@ +/* ---------- The peering inbox ---------- + Every exchange port brings mail: peering requests from networks nobody has heard of, and sessions that drop + because someone's PeeringDB says 50 prefixes and they now send 400 (or a full table). Answer it, or hire an AI. */ +const AI_MO=Math.round(20e6/12),INBOX_MAX=80,IBX_LEAKS=['nfx','ggl','fbk','amz','msf']; +const TINY=['Basement Broadband','Uncle Dave’s WISP','Fibre Fiesta','Raspberry Pi Transit','Vanity ASN Ltd','Moonshot Crypto Hosting','Minecraft Collective','Bob’s Bits','Homelab Heroes','Hackerspace Uplink','Tiny Tower Networks','Pigeon Post IP','Retro BBS Revival','Overkill Home Network','Two Guys and a Rack','Big Dreams Small Prefix','Mesh-y Business','Garden Shed Datacenter','Carrier-Grade NAT Fan Club','LIR in a Box','Yet Another VPN','Grandma’s Fibre Co-op','Seedbox Society','The /24 That Could']; +const REQ_SAY=[N_('Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.'),N_('Dear Sir or Madam, please peer. We have three prefixes and very big plans.'),N_('We noticed you are at {ix}. So are we. Shall we?'),N_('Hello, please find attached our peering request as a Word document, scanned from a printout.'),N_('Peering request, fifth attempt. Is anyone there?'),N_('Hey, quick one: can you peer with us at {ix}? We have a very important Minecraft server.'),N_('Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.'),N_('Please configure sessions with us at {ix}. We will do ours next week, or the week after.')]; +const IBX_AI=[N_('Replied to a peering request with a haiku about BGP. No answer yet.'),N_('Signed you up for a webinar on “Peering in the Age of AI”.'),N_('Opened a ticket with itself to review its own decisions. It approved them.'),N_('Wrote a thousand-word apology to a network you never peered with.'),N_('Updated your PeeringDB record. Your NOC phone number is now a pizza place.'),N_('Asked NetChill’s peering team to “please provide more Netchill”.')]; +function ibx(){if(!S.inbox||typeof S.inbox!=='object')S.inbox={items:[],down:{},tiny:{},rep:0,bot:false,log:[],seq:0};return S.inbox;} +// Reputation nudges selective networks by up to 10% either way: worth caring about, never a wall. +const repMul=()=>1-clamp((S.inbox&&S.inbox.rep)||0,-10,5)*0.01; +const repName=r=>r>=1?tr('Responsive'):r>=-2?tr('Average'):r>=-6?tr('Mostly ignores email'):tr('Black hole'); +const ibxOpen=()=>S.inbox?S.inbox.items.length:0,ibxUrgent=()=>S.inbox?S.inbox.items.filter(x=>x.k==='mp').length:0; +const mpDown=(id,c)=>{const t=S.inbox&&S.inbox.down[id+'@'+c];return !!t&&t>S.day;}; +const ibxWho=x=>x.net?NET[x.net].name:x.nm,ibxAsn=x=>x.net?NET[x.net].asn:x.asn; +function ibxLog(m,a){const I=ibx();I.log.unshift({d:S.day,m,a:a||{}});I.log.length=Math.min(I.log.length,40);} +function inboxDay(d){const I=ibx(),ixs=Object.keys(S.ixp); + // new peering requests: more exchange ports, more mail + if(ixs.length&&Math.random(){const n=NET[id];return !set.has(id)&&n.type!=='t1'&&n.type!=='cdn'&&n.pol!=='paid'&&n.share<=0.006&&!I.items.some(x=>x.net===id&&x.ix===c);}); + const it={id:++I.seq,k:'req',ix:c,day:d,stale:Math.random()<0.6,yrs:1+Math.floor(Math.random()*9),say:Math.floor(Math.random()*REQ_SAY.length)}; + if(real.length&&Math.random()<0.4)it.net=pick(real);else{it.nm=pick(TINY);it.asn=Math.random()<0.05?64512+Math.floor(Math.random()*1000):200000+Math.floor(Math.random()*200000);} + I.items.push(it);} + // max-prefix: someone grew past what their PeeringDB says, or leaked a full table + const ses=Object.keys(S.peers).filter(k=>{const n=NET[k.split('@')[0]];return n&&n.type!=='cdn'&&n.type!=='t1'&&!mpDown(...k.split('@'));}).map(k=>({key:k,net:k.split('@')[0],ix:k.split('@')[1]})) + .concat(Object.keys(I.tiny).map(a=>({key:'t'+a,nm:I.tiny[a].nm,asn:+a,ix:I.tiny[a].ix,stale:I.tiny[a].stale}))); + if(ses.length&&Math.random()y.k==='mp'&&y.key===x.key)){ + const lim=pick([10,20,50,100,200,500,1000]),leak=Math.random()<0.3,yrs=1+Math.floor(Math.random()*9); + I.items.push({id:++I.seq,k:'mp',key:x.key,net:x.net,nm:x.nm,asn:x.asn,ix:x.ix,day:d,lim,got:leak?940000+Math.floor(Math.random()*90000):Math.ceil(lim*(1.15+Math.random()*1.6)),leak,yrs}); + // A session that blows its limit is down for at most a few weeks: the other side eventually notices too. + if(x.net){I.down[x.key]=d+20+Math.floor(Math.random()*20);toast(tr('Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.',{who:esc(ibxWho(x)),ix:esc(ixName(x.ix))}),'bad',[{l:tr('Inbox'),act:'inbox',args:{}}]);}}} + // unanswered mail: requests go stale and people start asking around about you + for(const x of I.items){if(x.k==='mp')I.rep-=0.05;else if(d-x.day===14)x.bump=1;} + // A max-prefix alert nobody answers resolves itself in the end: the other side raises it, or gives up. + I.items=I.items.filter(x=>x.k!=='mp'||(x.net?(I.down[x.key]||0)>d:d-x.day<=30)); + const old=I.items.filter(x=>x.k==='req'&&d-x.day>30);if(old.length){I.rep-=0.25*old.length;I.items=I.items.filter(x=>!old.includes(x)); + if(old.some(x=>x.net))toast(tr('{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.',{who:esc(ibxWho(old.find(x=>x.net))),me:esc(S.name)}),'bad',[{l:tr('Inbox'),act:'inbox',args:{}}]);} + while(I.items.length>INBOX_MAX){const i=I.items.findIndex(x=>x.k==='req');if(i<0)break;I.items.splice(i,1);I.rep-=0.5;} + I.rep=clamp(I.rep,-10,5); + if(I.bot)inboxBot();} +// Answer one item. a: accept | decline | raise | keep. Returns false when the item is gone. +function ibxAnswer(id,a,bot){const I=ibx(),i=I.items.findIndex(x=>x.id===id);if(i<0)return false;const x=I.items[i];I.items.splice(i,1);const who=ibxWho(x),ix=ixName(x.ix); + if(x.k==='req'){if(a==='accept'){if(x.net){if(S.ixp[x.ix]!==undefined)S.peers[x.net+'@'+x.ix]=true;}else if(Object.keys(I.tiny).length<200)I.tiny[x.asn]={nm:x.nm,ix:x.ix,stale:!!x.stale};I.rep+=0.3;}else I.rep+=0.2;} + else if(a==='raise'){delete I.down[x.key];if(x.leak){const n=pick(IBX_LEAKS);S.ev.leak={net:n,until:S.day+4}; + addInc({type:'leak',ref:n,until:S.day+4,msg:tr('{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.',{who,ix,net:NET[n].name}),cost:0}); + if(!bot)toast(tr('That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.',{who:esc(who),n:x.got.toLocaleString()}),'bad');I.rep-=1;} + else{I.rep+=0.3;if(!bot)toast(tr('Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.',{who:esc(who),n:Math.ceil(x.got*1.5).toLocaleString()}),'good');}} + else{const back=S.day+(x.leak?3:10)+Math.floor(Math.random()*(x.leak?8:21));if(x.net)I.down[x.key]=back;I.rep+=x.leak?0.3:0.1; + if(!bot)toast(x.leak?tr('Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.',{who:esc(who)}):tr('The session stays down.
{who} will update PeeringDB and ask again. Eventually.',{who:esc(who)}),x.leak?'good':'');} + I.rep=clamp(I.rep,-10,5);return true;} +// The AI agent clears the inbox every day. It is fast, polite and wrong about a third of the time. +function inboxBot(){const I=ibx();let acc=0,dec=0; + for(const x of I.items.slice()){const oops=Math.random()<0.3; + if(x.k==='req'){const want=!x.stale||!!x.net;const a=(want!==oops)?'accept':'decline';ibxAnswer(x.id,a,true);a==='accept'?acc++:dec++;if(oops&&a==='decline'&&x.net)ibxLog(N_('Declined {who} at {ix}: “not a strategic fit”. They were.'),{who:ibxWho(x),ix:ixName(x.ix)});} + else{const a=(x.leak!==oops)?'keep':'raise';ibxAnswer(x.id,a,true); + if(a==='raise'&&x.leak)ibxLog(N_('Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.'),{who:ibxWho(x),ix:ixName(x.ix),n:Math.ceil(x.got*1.5).toLocaleString()}); + else if(a==='keep'&&!x.leak)ibxLog(N_('Kept {who} down at {ix} for “suspicious growth”. They had grown by one customer.'),{who:ibxWho(x),ix:ixName(x.ix)}); + else ibxLog(a==='raise'?N_('Raised the max-prefix limit for {who} at {ix}. Correctly, this time.'):N_('Kept {who} down at {ix}: it was a route leak. Nailed it.'),{who:ibxWho(x),ix:ixName(x.ix)});}} + if(acc||dec)ibxLog(N_('Answered your mail: {a} accepted, {d} declined.'),{a:acc,d:dec}); + if(Math.random()<0.01){const ks=Object.keys(S.peers);if(ks.length){const k=pick(ks),[id,c]=k.split('@');delete S.peers[k];ibxLog(N_('Tidied up a session it decided was unused: de-peered {who} at {ix}.'),{who:NET[id].name,ix:ixName(c)});}} + if(Math.random()<0.08)ibxLog(pick(IBX_AI),{});} +function inboxModal(){const I=ibx(),items=I.items.slice().sort((a,b)=>(b.k==='mp')-(a.k==='mp')||b.day-a.day),reqs=items.filter(x=>x.k==='req').length; + const age=x=>{const n=S.day-x.day;return n?trn('{n} day ago','{n} days ago',n):tr('today');}; + const pdb=x=>x.stale?trn('PeeringDB last updated {n} year ago','PeeringDB last updated {n} years ago',x.yrs):tr('PeeringDB updated last month'); + const card=x=>x.k==='mp'?`
⚠️ ${tr('Max-prefix limit hit: {who} at {ix}',{who:esc(ibxWho(x)),ix:esc(ixName(x.ix))})}
+
AS${ibxAsn(x)} · ${age(x)}

${tr('Configured: {lim} prefixes. Received: {got}.',{lim:x.lim.toLocaleString(),got:x.got.toLocaleString()})} ${trn('Their PeeringDB says {lim}, last updated {n} year ago.','Their PeeringDB says {lim}, last updated {n} years ago.',x.yrs,{lim:x.lim.toLocaleString()})}

+
${btn(tr('Raise the limit'),'inboxAct',{id:x.id,a:'raise'},'sm')}${btn(tr('Keep it down'),'inboxAct',{id:x.id,a:'keep'},'ghost sm')}
` + :`
${esc(ibxWho(x))} AS${ibxAsn(x)}${x.bump?` ${tr('bumped')}`:''}
${esc(ixName(x.ix))} · ${age(x)} · ${pdb(x)}
+

“${esc(tr(REQ_SAY[x.say]||REQ_SAY[0],{ix:ixName(x.ix)}))}”

${btn(tr('Accept'),'inboxAct',{id:x.id,a:'accept'},'sm')}${btn(tr('Decline'),'inboxAct',{id:x.id,a:'decline'},'ghost sm')}
`; + openModal(`
${tr('Peering inbox')}

📬 ${trn('{n} unanswered','{n} unanswered',items.length)}

+

${tr('Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.')}

+
${tr('Your reputation')}${repName(I.rep)}
+
${I.bot?`
🤖 ${tr('Large Peering Model is answering your mail')}
${tr('{price}/year. It never sleeps, never complains and is often wrong.',{price:fmt$(20e6)})}
+ ${I.log.length?`
${I.log.slice(0,8).map(e=>esc(tr('Day {d}',{d:e.d})+': '+tr(e.m,e.a))).join('\n')}
`:''}
${btn(tr('Fire the AI'),'inboxBot',{on:0},'ghost sm')}
` + :`
🤖 ${tr('Large Peering Model')}
${tr('An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.',{price:fmt$(20e6)})}
${btn(tr('Hire it {mo}/mo',{mo:fmt$(AI_MO)}),'inboxBot',{on:1},'aibtn sm',S.cash`}
+ ${reqs>1?`
${btn(tr('Accept all requests'),'inboxAll',{a:'accept'},'sm')}${btn(tr('Decline all requests'),'inboxAll',{a:'decline'},'ghost sm')}
`:''} + ${items.length?items.slice(0,40).map(card).join(''):`

${Object.keys(S.ixp).length?tr('Inbox zero. Enjoy it while it lasts.'):tr('No mail yet. Buy an IX port and it will come.')}

`}`);} diff --git a/src/game/70-rules/50-peering-policy.js b/src/game/70-rules/50-peering-policy.js new file mode 100644 index 0000000..9ee24b4 --- /dev/null +++ b/src/game/70-rules/50-peering-policy.js @@ -0,0 +1,32 @@ +/* Big networks sometimes refuse to peer in a particular city, for a while. Each (network, city) + pair gets a stable verdict per window, derived from a hash, so asking again does not reroll it. */ +const SNUB_WIN=150,SNUB_P=0.22; +const SNUB_IX=[tr('Only peers over PNIs in this metro. Order a cross-connect instead.'),tr('Their IX port here is full until the next upgrade. They promise it is soon.'),tr('Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.'),tr('The peering coordinator for this city is on a six-month sabbatical.'),tr('Their policy here says "IX peering by invitation only". You were not invited.')]; +const SNUB_ALL=[tr('Not accepting new peers in this region right now.'),tr('Region frozen while they renegotiate with the local incumbent.'),tr('Their routers in this city are "at capacity". They are not.'),tr('Already reach you through your transit provider here and think that is fine.'),tr('Their lawyers are reviewing every peering agreement in this country. Again.'),tr('A new VP wants to "monetise interconnection" in this market.')]; +function hstr(t){let h=2166136261;for(let i=0;i>>0;} +function bigPeer(n){return !!n&&n.pol==='selective'&&n.share>=0.03;} +function snub(id,c){ + const n=NET[id];if(!c||!bigPeer(n)||!S||S.myIx[c])return null; + const off=hstr(id+c)%SNUB_WIN,ep=Math.floor((S.day+off)/SNUB_WIN),h=hstr(S.asn+'|'+id+'|'+c+'|'+ep); + if(h%1000>=SNUB_P*1000)return null; + const all=(h>>>10)%5<2,list=all?SNUB_ALL:SNUB_IX; + return {all,why:list[(h>>>13)%list.length],until:(ep+1)*SNUB_WIN-off}; +} +/* Remote peering: offered, but discouraged. A reseller marks up the port, oversubscribes it, + and many selective networks refuse members who are not physically in the building. */ +const REMOTE_FEE=1.5,REMOTE_CAP=0.8; +const REMOTE_WARN=`

${tr('Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.')}

`; +const REMOTE_WHY=[tr('Policy: no remote peers. Be in the building or be in the transit bill.'),tr('Saw your session come in over a fabric and said "we can smell the VXC from here".'),tr('Only peers with members they can reach without a 1,500 km hairpin.'),tr('Their PearingDB entry says "Remote peering: No (we mean it)".'),tr('Tried a remote peer once. It flapped during a product launch. Never again.')]; +function isRemote(c){return S.ixp[c]!==undefined&&!S.pops[ixCity(c)]&&!S.myIx[c];} +function noRemote(id){const n=NET[id];if(!n||n.pol!=='selective')return false;return hstr(id+'|remote')%100<(n.share>=0.03?60:30);} +/* Europe's peering market is crowded and competitive: ports are cheaper, and incumbents cut prices + when a challenger in the same metro gets too popular. DE-KICKS harmonises instead. */ +const IX_REG={EU:0.8}; +function ixMul(x){const X=XIXM[x],c=ixCity(x);return (X?X.cheap:(CITY[c].ixCheap||1))*(IX_REG[CITY[c].reg]||1)*(CITY[c].au?AU_IX:1)*((S&&S.ixCut&&S.ixCut[x])||1);} +function ixPortMo(c,tier){const X=XIXM[c];if(X&&tier<=(X.freeTo??-1))return 0;return Math.round(PORT[tier].ix*(S.pops[ixCity(c)]?1:REMOTE_FEE)*dkMult(c)*ixMul(c));} +function ixPriceWar(d){if(!S.ixp||Math.random()>=1/120)return; + const mine=Object.keys(S.ixp).filter(x=>{const c=ixCity(x);return CITY[c].reg==='EU'&&ixStatic(c).length>1;});if(!mine.length)return; + const x=pick(mine),c=ixCity(x),rival=pick(ixStatic(c).filter(y=>y!==x)); + if(isDk(x)){toast(tr('{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about "the value of premium interconnection". Prices unchanged.',{rival:esc(ixName(rival)),city:esc(CITY[c].name)}),'bad');return;} + S.ixCut=S.ixCut||{};const cur=S.ixCut[x]||1;if(cur<=0.62)return;S.ixCut[x]=+Math.max(0.6,cur*0.9).toFixed(3); + toast(tr('Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.',{city:esc(CITY[c].name),ix:esc(ixName(x)),rival:esc(ixName(rival))}),'good');} diff --git a/src/game/70-rules/60-de-kicks.js b/src/game/70-rules/60-de-kicks.js new file mode 100644 index 0000000..5f7960a --- /dev/null +++ b/src/game/70-rules/60-de-kicks.js @@ -0,0 +1,30 @@ +/* DE-KICKS Group: runs several big exchanges and really, really hates open pricing. + No price list, personalised quotes, haggling, yearly "harmonisation", auto-enrolled add-ons + you have to opt out of, and a retention offer when you try to leave. */ +const DK_CITIES=['fra','mad','mrs','dxb','bom','nyc']; +const isDk=c=>(DK_CITIES.includes(c)||scnRule('dkAll'))&&!!CITY[c]&&!!CITY[c].ix&&!S.myIx[c]; +const DK_ADDONS=[['Blackholing Plus™',tr('Like blackholing, but with a Plus.')],['Route Server Gold',tr('The same route server, in a gold-coloured portal.')],['Premium Port LEDs',tr('Your port light now blinks in brand colours.')],['Strategic Peering Insights',tr('A monthly PDF of your own traffic graphs.')],['GlobePeer Ready™',tr('Makes your port "ready" for a product you did not buy.')],['Cloud Exchange Readiness Fee',tr('A fee for being ready for the cloud.')],['Account Manager Lunch Fund',tr('Your account manager is hungry.')]]; +const DK_STALL=[tr('Your account manager would love to "align on value" first. Strategic call booked for next week.'),tr('Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.'),tr('They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.'),tr('Your account manager is at a conference in Dubai. And then one in Madrid.')]; +function dkMult(c){if(!S||!isDk(c)||!S.dk||!S.dk.m[c])return 1;const ret=S.dk.ret[c];return S.dk.m[c]*(ret&&ret>S.day?0.6:1);} +function dkAddonMo(c){return S.dk&&S.dk.add[c]?S.dk.add[c].reduce((a,x)=>a+x.mo,0):0;} +function dkState(){S.dk=S.dk||{m:{},add:{},ret:{},retUsed:{},stall:0,q:null};return S.dk;} +function dkQuoteMult(){const pops=Object.keys(S.pops).length,big=Math.min(1.2,pops*0.04+(R.served||0)/20000);return +(0.95+Math.random()*0.45+big).toFixed(2);} +function dkQuoteModal(){const q=S.dk.q,c=q.city,mo=Math.round(PORT[q.tier].ix*(S.pops[c]?1:REMOTE_FEE)*q.m*ixMul(c)); + openModal(`
${tr('DE-KICKS Group · Sales')}

${tr('Your personalised {port} quote for {ix}',{port:PORT[q.tier].n,ix:esc(ixName(c))})}

+

${tr("“Thanks for your interest! We don't publish prices, because every customer is unique.”")}

+
${tr('Monthly price, just for you')}${tr('{price}/mo',{price:fmt$(mo)})}
+
${tr('List price')}${tr('Confidential')}
+
${tr('What others pay')}${tr('Covered by NDA')}
+

${tr('Quotes go up with how big you look.')} ${q.h>=3?tr('Your account manager has stopped replying to haggling.'):tr('Haggles left: {n}.',{n:3-q.h})}

+
${btn(tr('Sign {price}/mo',{price:fmt$(mo)}),'dkAccept',{},'pink',S.cash=3)}${btn(tr('Walk away'),'dkWalk',{},'ghost')}
`);} +function dkTick(d){if(!S.dk)return;const dk=S.dk; + for(const c in S.ixp){if(!isDk(c))continue; + if(dk.ret[c]&&dk.ret[c]===d){dk.m[c]=+(dk.m[c]*1.1).toFixed(3);toast(tr('Your {ix} promo ended.
Price is back, plus 10% for "loyalty programme administration".',{ix:esc(ixName(c))}),'bad');} + if(dk.m[c]&&(d+hstr(c)%90)%365===0){const f=1.08+Math.random()*0.07;dk.m[c]=+(dk.m[c]*f).toFixed(3);toast(tr('DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.',{ix:esc(ixName(c)),p:Math.round((f-1)*100)}),'bad');} + const add=dk.add[c]=dk.add[c]||[]; + if(add.length<3&&Math.random()<1/150){const a=DK_ADDONS.filter(x=>!add.some(y=>y.n===x[0]));if(a.length){const [n,blurb]=pick(a),mo=Math.round((300+Math.random()*1200)/50)*50;add.push({n,blurb,mo,day:d}); + toast(tr("Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.",{addon:esc(n),blurb:esc(blurb),price:fmt$(mo),ix:esc(ixName(c))}),'bad');}}} +} + +function elephant(){S.phpDone=true;S.ev.php=S.day+4; + toast(tr(`🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.`),'bad');sfx('alert');renderMega();} diff --git a/src/game/70-rules/70-sold-out.js b/src/game/70-rules/70-sold-out.js new file mode 100644 index 0000000..1e520e2 --- /dev/null +++ b/src/game/70-rules/70-sold-out.js @@ -0,0 +1,23 @@ +/* Sold out: now and then a carrier has no spare capacity of a size on a route. Each route, size and 90-day window + gets a stable verdict from a hash, so asking again does not reroll it, and bigger waves sell out more often. */ +const SOLD_WIN=90,SOLD_WHY=[N_('A hyperscaler bought every wave of that size on this route last week.'),N_('The carrier is out of spectrum here until its next line-system upgrade.'),N_('The transponders for this route are on a container ship. The ship is somewhere near Singapore.'),N_('The capacity is “available in the system”. Nobody can find it in the system.'),N_('Their capacity planner is on holiday, and he took the spreadsheet with him.'),N_('The upgrade is planned for Q3. Which year, the email does not say.')]; +const soldP=tier=>Math.min(0.1,0.02+0.012*tier); +// Never in the first 90 days: a new network has enough on its plate. Never in the tutorial or a scenario's first quarter either. +function soldOut(a,b,tier,via){if(!S||S.day=soldP(tier)*1000)return null;return {why:SOLD_WHY[(h>>>10)%SOLD_WHY.length],until:(ep+1)*SOLD_WIN-off};} +function snubWhy(sn){const d=Math.max(1,sn.until-S.day);return sn.why+' '+trn('They will reconsider in {n} day.','They will reconsider in {n} days.',d);} +// Paid-peering giants drop the fee for networks too big to ignore (freeLv: the customer level that does it). +const paidFree=n=>!!(n&&n.freeLv&&lvl()>=n.freeLv); +function peerOk(id,via,city){ + const n=NET[id],dem=R.demTo[id]||0; + const sn=snub(id,city);if(sn&&(via==='ix'||sn.all))return {ok:false,snub:true,why:snubWhy(sn)}; + if(msfNope(id,city))return {ok:false,why:tr(MSF_NOPE[hstr(ixCity(city)+S.day)%MSF_NOPE.length])}; + if(via==='ix'&&city&&isRemote(city)&&noRemote(id))return {ok:false,remote:true,why:REMOTE_WHY[hstr(id)%REMOTE_WHY.length]}; + if(n.pol==='open')return {ok:true}; + if(n.pol==='selective'){const need=Math.round((via==='pni'?n.minPni:n.minIx)*confBoost(id)*repMul());return dem>=need?{ok:true}:{ok:false,why:tr('Wants ≥ {need} Gbps of traffic from you (you send {dem})',{need,dem:dem.toFixed(1)})};} + if(n.pol==='paid'&&paidFree(n))return via==='pni'?{ok:true,free:true}:{ok:false,why:tr('Peers with you for free now, but only over a PNI')}; + if(n.pol==='paid')return via==='pni'?{ok:true,fee:n.paidFee}:{ok:false,why:n.perG?tr('Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send',{fee:fmt$(n.paidFee),g:fmt$(n.perG)}):tr('Paid peering only, over a PNI')}; + if(n.type!=='t1'){if(via!=='pni')return {ok:false,why:tr('Only peers over PNIs, and only with networks it considers important')};const need=Math.round(60*confBoost(id));return dem>=need||isTier2()?{ok:true}:{ok:false,why:tr('Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})',{need,dem:dem.toFixed(1)})};} + if(via!=='pni')return {ok:false,why:tr('Tier 1s never peer at IXs')}; + const c=t1Club();return c.ok?{ok:true}:{ok:false,why:tr('Not big enough yet: {list}',{list:c.missing.join(', ')})}; +} diff --git a/src/game/70-rules/80-hot-ports-and-rank.js b/src/game/70-rules/80-hot-ports-and-rank.js new file mode 100644 index 0000000..dfc380a --- /dev/null +++ b/src/game/70-rules/80-hot-ports-and-rank.js @@ -0,0 +1,19 @@ +// Everything that can fill up at a POP: transit ports, IX ports, PNIs, caches and the routers themselves. +const HOT=0.9,HOTL={t:'T',ix:'IX',p:'P',c:'C',r:'R'},HOTC={t:'#7B61FF',ix:'#FFD23F',p:'#2C7A7B',c:'#C8102E',r:'#FF4F9A'}; +function hotPorts(){const out=[];if(!R||!S)return out; + for(const t of S.transit){if(t.down>S.day)continue;const cap=lagCap(PORT[t.tier].g,t.n),u=(R.useT[t.id]||0)/cap;if(u>=HOT)out.push({k:'t',city:t.city,lab:tr('{net} transit · {lag}',{net:NET[t.net].name,lag:lagName(t.tier,t.n)}),u,tip:tr('Add a LAG member, upgrade the port or buy a second upstream.')});} + for(const c in S.ixp){const cap=ixCap(c);if(!cap)continue;const u=(R.useIx[c]||0)/cap;if(u>=HOT)out.push({k:'ix',city:ixCity(c),lab:tr('{port} port',{port:ixName(c)}),u,tip:tr('Upgrade the IX port or add a LAG member.')});} + for(const p of S.pni){if(!pniOn(p))continue;const cap=lagCap(pniG(p),p.n),u=(R.usePni[p.id]||0)/cap;if(u>=HOT)out.push({k:'p',city:p.city,lab:tr('PNI with {net}',{net:NET[p.net].name}),u,tip:tr('Add a LAG member or upgrade the PNI.')});} + const cc={};for(const x of S.caches){const k=x.city+'|'+x.net;(cc[k]=cc[k]||{city:x.city,net:x.net,used:0,cap:0});cc[k].used+=R.useCache[x.id]||0;cc[k].cap+=CACHE_CAP;} + for(const k in cc){const x=cc[k],u=x.used/x.cap;if(u>=HOT)out.push({k:'c',city:x.city,lab:x.cap>CACHE_CAP?tr('{name} caches',{name:NET[x.net].cache.name}):tr('{name} cache',{name:NET[x.net].cache.name}),u,tip:tr('Ask for another box. The overflow goes out over peering or transit.')});} + for(const c in S.pops){const cap=R.nodeCap[c];if(!cap)continue;const u=(R.nodeLoad[c]||0)/cap;if(u>=HOT)out.push({k:'r',city:c,lab:tr('Routers'),u,tip:tr('Upgrade the router or add a second one in the Infra tab.')});} + return out.sort((a,b)=>b.u-a.u);} +function hotByCity(){const m={};for(const h of hotPorts())(m[h.city]=m[h.city]||{})[h.k]=Math.max((m[h.city]||{})[h.k]||0,h.u);return m;} +function isTier2(){return Object.keys(S.pops).length>=5&&Object.keys(S.ixp).length>=3&&R.sessions>=15;} +// Sparkly Seabone joined the Tier 1s in 1.12. Older saves keep the five they were playing for. +const t1Need=()=>NETS.filter(n=>n.type==='t1'&&(n.id!=='skl'||(S&&S.t1v>=2))); +function isTier1(){return t1Need().every(n=>S.pni.some(p=>p.net===n.id&&pniOn(p)))&&S.transit.length===0&&R.reach>0.999;} +// What you are now, not what you once were (#46): buying transit again or losing reach drops the label. +function tierLabel(){return S.won&&isTier1()?'Tier 1':isTier2()?'Tier 2':'Tier 3';} +function t1Why(){if(S.transit.length)return tr('you buy transit again');const miss=t1Need().filter(n=>!S.pni.some(p=>p.net===n.id&&pniOn(p)));if(miss.length)return tr('no PNI with {list}',{list:miss.map(n=>n.name).join(', ')});{const lost=NETS.filter(n=>!R.reachable[n.id]).sort((a,b)=>NSH[b.id]-NSH[a.id]);if(lost.length)return tr('you cannot reach {list}',{list:lost.slice(0,3).map(n=>n.name).join(', ')+(lost.length>3?' '+tr('and {n} more',{n:lost.length-3}):'')});}return tr('your reach is {p}, not 100%',{p:reachPct(R.reach)});} + diff --git a/src/game/80-simulation/10-dijkstra.js b/src/game/80-simulation/10-dijkstra.js new file mode 100644 index 0000000..1ef9be7 --- /dev/null +++ b/src/game/80-simulation/10-dijkstra.js @@ -0,0 +1,17 @@ +/* ================= SIMULATION ================= */ +// Binary-heap Dijkstra over city indices: adj[i] lists [neighbour, edge]. wf(edge) gives the weight, skip(v,edge) can +// rule edges out, and the search stops early once `stop` is settled. D is the distance to each city (Infinity: no +// path) and P the edge it was reached by. The heap lives in two typed arrays, and equal distances always settle in the +// same order, so routes do not flip between runs. +function dijkstra(adj,src,wf,skip,stop){const n=adj.length,D=new Float64Array(n).fill(Infinity),P=new Array(n),done=new Uint8Array(n); + let cap=64,hd=new Float64Array(cap),hu=new Int32Array(cap),m=0; + const put=(d,u)=>{if(m===cap){cap*=2;const a=new Float64Array(cap),b=new Int32Array(cap);a.set(hd);b.set(hu);hd=a;hu=b;} + let i=m++;hd[i]=d;hu[i]=u;while(i>0){const p=(i-1)>>1;if(hd[p]<=hd[i])break;const td=hd[p],tu=hu[p];hd[p]=hd[i];hu[p]=hu[i];hd[i]=td;hu[i]=tu;i=p;}}; + D[src]=0;put(0,src); + while(m){const d=hd[0],u=hu[0];m--; + if(m){hd[0]=hd[m];hu[0]=hu[m];let i=0;for(;;){const l=2*i+1,r=l+1;let k=i;if(lD[u])continue;done[u]=1;if(u===stop)break; + for(const [v,e] of adj[u]||[]){if(skip&&skip(v,e))continue;const nd=d+wf(e);if(nd[i]);for(let j=1;j<=n;j++)d[0][j]=j;for(let i=1;i<=m;i++)for(let j=1;j<=n;j++)d[i][j]=Math.min(d[i-1][j]+1,d[i][j-1]+1,d[i-1][j-1]+(a[i-1]===b[j-1]?0:1));return d[m][n];} +function teFind(word,list,label){const w=slug(word);if(!w)return {err:tr('missing {what}',{what:label})}; + for(const x of list)if(x.id===w||slug(x.name)===w)return {v:x.id}; + const pre=list.filter(x=>w.length>=3&&slug(x.name).startsWith(w));if(pre.length===1)return {v:pre[0].id}; + const best=list.map(x=>({x,d:Math.min(lev(w,slug(x.name)),lev(w,x.id))})).sort((a,b)=>a.d-b.d)[0]; + return {err:tr('unknown {what} “{word}”',{what:label,word})+(best&&best.d<=3?tr('. Did you mean {name}?',{name:best.x.name}):'')};} +function teParse(src){const out={spill:null,cap:{},net:{},up:{},prep:{},protect:false,drain:new Set(),avoid:new Set(),blackhole:false,errors:[],n:0}; + const lines=String(src||'').split('\n').slice(0,60); + lines.forEach((raw,i)=>{const line=raw.replace(/#.*/,'').trim().toLowerCase();if(!line)return;const L=i+1;let m; + if(m=line.match(/^spill\s+at\s+(\d{1,3})\s*%$/)){const v=+m[1];if(v<20||v>100)out.errors.push(tr('line {n}: spill must be between 20% and 100%',{n:L}));else{out.spill=v/100;out.n++;}return;} + if(m=line.match(/^(prefer|avoid)\s+(pni|ix|transit)\s+for\s+(.+)$/)){const r=teFind(m[3],NETS,tr('network'));if(r.err){out.errors.push(tr('line {n}: {err}',{n:L,err:r.err}));return;}const o=out.net[r.v]=out.net[r.v]||{};o[m[1]]=TE_KINDS[m[2]];out.n++;return;} + if(m=line.match(/^cap\s+transit\s+(.+?)\s+at\s+(\d+(?:\.\d+)?)\s*(gbps|tbps|g|t)$/)){const r=teFind(m[1],NETS.filter(n=>n.price),tr('transit provider'));if(r.err){out.errors.push(tr('line {n}: {err}',{n:L,err:r.err}));return;}out.cap[r.v]=+m[2]*(m[3][0]==='t'?1000:1);out.n++;return;} + if(m=line.match(/^(prefer|avoid)\s+transit\s+(?!for\s)(.+)$/)){const r=teFind(m[2],NETS.filter(n=>n.price),tr('transit provider'));if(r.err){out.errors.push(tr('line {n}: {err}',{n:L,err:r.err}));return;}out.up[r.v]=m[1];out.n++;return;} + if(m=line.match(/^prepend\s+transit\s+(.+?)\s+(\d+)$/)){const v=+m[2];if(v<1||v>3){out.errors.push(tr('line {n}: prepend 1 to 3 times',{n:L}));return;}const r=teFind(m[1],NETS.filter(n=>n.price),tr('transit provider'));if(r.err){out.errors.push(tr('line {n}: {err}',{n:L,err:r.err}));return;}out.prep[r.v]=v;out.n++;return;} + if(line==='protect customers'){out.protect=true;out.n++;return;} + if(m=line.match(/^drain\s+(.+)$/)){const r=teFind(m[1],CITIES,tr('city'));if(r.err){out.errors.push(tr('line {n}: {err}',{n:L,err:r.err}));return;}out.drain.add(r.v);out.n++;return;} + if(m=line.match(/^avoid\s+link\s+(.+?)\s*(?:-|\bto\b|→)\s*(.+)$/)){const a=teFind(m[1],CITIES,tr('city')),b=teFind(m[2],CITIES,tr('city'));if(a.err||b.err){out.errors.push(tr('line {n}: {err}',{n:L,err:a.err||b.err}));return;}out.avoid.add(a.v!BIZ_T[b.type].l2&&!BIZ_T[b.type].fiber&&!BIZ_T[b.type].event&&sfOf(R,b.city)<0.95))L.push('protect customers'); + const ups=[...new Set(S.transit.map(t=>t.net))].map(n=>({n,p:Math.min(...S.transit.filter(t=>t.net===n).map(t=>NET[n].price*regionMult(t.city)))})).sort((a,b)=>a.p-b.p); + if(ups.length>1){L.push('prefer transit '+NET[ups[0].n].name.toLowerCase());L.push('avoid transit '+NET[ups[ups.length-1].n].name.toLowerCase());} + const tips=[]; + for(const n of NETS){const g=(R.netEg[n.id]||{}).t||0;if(g<1)continue;// The exchange where it is a member and you have no port yet, in a city where you have a POP. + let at=null;for(const c of Object.keys(S.pops)){at=ixIdsIn(c).find(x=>S.ixp[x]===undefined&&ixMembers(x).includes(n.id));if(at)break;} + if(at){const v={net:n.name,g:fmtG(g),ix:ixName(at),city:CITY[ixCity(at)].name};tips.push([g,ixNamesCity(at)?tr('# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.',v):tr('# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.',v)]);}} + for(const n of NETS){const g=(R.netEg[n.id]||{}).ix||0;if(g>=50&&!S.pni.some(p=>p.net===n.id))tips.push([g,tr('# {net}: {g} over the IX. A PNI would take it off the shared port.',{net:n.name,g:fmtG(g)})]);} + tips.sort((a,b)=>b[0]-a[0]).slice(0,5).forEach(x=>L.push(x[1])); + return L.join('\n');} +// Ready-made RouteScripts, filled in from the live network. Players load them from the help; the AI button picks them too. +const teUps=()=>[...new Set(S.transit.map(t=>t.net))].map(n=>({n,p:Math.min(...S.transit.filter(t=>t.net===n).map(t=>NET[n].price*regionMult(t.city)))})).sort((a,b)=>a.p-b.p); +const teNm=n=>NET[n].name.toLowerCase(),teAtk=()=>!!(S.ev.ddos&&S.ev.ddos.until>S.day); +const teSad=()=>S.biz.some(b=>!BIZ_T[b.type].l2&&!BIZ_T[b.type].fiber&&!BIZ_T[b.type].event&&sfOf(R,b.city)<0.95); +const TE_RECIPES=[ + {id:'shield',n:N_('Shields Up'),d:N_('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.'),fit:()=>teAtk()?9:0.3, + src:()=>[tr('# Shields Up: for the length of the attack only.'),'blackhole ddos','protect customers','spill at 80%']}, + {id:'care',n:N_('Customer Care'),d:N_('Business customers first when links are congested, and an earlier spill so they rarely are.'),fit:()=>teSad()?5:0.5, + src:()=>[tr('# Customer Care: the people who pay for an SLA come first.'),'protect customers','spill at 75%']}, + {id:'peer',n:N_('Peering First'),d:N_('Big networks you can reach over a PNI or an IX go that way, not over paid transit.'),fit:()=>S.pni.length||Object.keys(S.ixp).length?3:0, + src:()=>{const L=[tr('# Peering First: free paths before paid ones.'),'spill at 85%'],seen=new Set(),ix=new Set(),eg=n=>(R.netEg[n]||{}).t||0; + for(const p of S.pni)if(!seen.has(p.net)){seen.add(p.net);L.push('prefer pni for '+teNm(p.net));} + for(const c in S.ixp)for(const n of ixSessions(c))ix.add(n); + NETS.filter(n=>!seen.has(n.id)&&ix.has(n.id)&&eg(n.id)>=1).sort((a,b)=>eg(b.id)-eg(a.id)).slice(0,4).forEach(n=>L.push('prefer ix for '+teNm(n.id))); + if(L.length===2)L.push(tr('# Nothing to move yet: get an IX port or a PNI first.'));return L.slice(0,12);}}, + {id:'pinch',n:N_('Penny Pincher'),d:N_('Cheapest upstream first, priciest last, and traffic moves before ports fill. Cuts the transit bill without dropping anyone.'),fit:()=>teUps().length>1?2+(R.cost.transit||0)/1e5:0, + src:()=>{const u=teUps(),L=[tr('# Penny Pincher: cheapest upstream first, priciest last.'),'spill at 85%']; + if(u.length>1)L.push('prefer transit '+teNm(u[0].n),'avoid transit '+teNm(u[u.length-1].n));else L.push(tr('# Buy transit from a second upstream, then prefer the cheaper one.'));return L;}}, + {id:'diet',n:N_('Prepend Diet'),d:N_('Ask the rest of the internet to send less through your priciest upstream. Gentler than avoiding it outright.'),fit:()=>teUps().length>1?1.5:0, + src:()=>{const u=teUps();return [tr('# Prepend Diet: a hint to the rest of the internet, not an order.'),'spill at 85%',...(u.length>1?['prepend transit '+teNm(u[u.length-1].n)+' 2']:[tr('# Prepending needs two upstreams to choose between.')])];}}, + {id:'maint',n:N_('Maintenance Window'),d:N_('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.'),fit:()=>0.2, + src:()=>{const l=S.links.find(x=>!linkDown(x)),c=l?CITY[l.a].name.toLowerCase():'paris';return [tr('# Maintenance Window: change the names, deploy, do the work, then remove it.'),'drain '+c,...(l?['avoid link '+c+'-'+CITY[l.b].name.toLowerCase()]:[]),'spill at 80%'];}}, + {id:'calm',n:N_('Keep Calm'),d:N_('One rule: move traffic before links are completely full. The safe start for any network.'),fit:()=>1, + src:()=>[tr('# Keep Calm: one rule, hard to get wrong.'),'spill at 85%']}]; +// The AI button: the two recipes that fit best, merged, with an AI's confidence on top. +const AI_NAMES=['Large Latency Model','Stochastic Parrot Pro','Co-Pilot Error','Autocomplete Ultra','Hallucinet 4o','Artificial Ignorance']; +const AI_SAY=[N_('Great question! Here is a production-ready script, tailored to your live traffic. I checked it thoroughly.'),N_('As a large language model, I have read every RFC, including several that do not exist yet. This script is perfect.'),N_('I have optimised your network. You are welcome. I am 100% confident, as always.'),N_('Done! I vibe-checked your BGP. Deploy it straight away: dry runs are for people who doubt themselves.'),N_('Here you go! I was trained on every router config ever posted to a forum, including the ones titled “why is this broken”.'),N_('I asked myself to review my own work, and I loved it. Ship it.')]; +function aiSlop(bad){const ai=pick(AI_NAMES),fits=TE_RECIPES.map(r=>({r,f:r.fit()})).filter(x=>x.f>0).sort((a,b)=>b.f-a.f).map(x=>x.r); + // It really does dry-run its three favourite ideas (and one merge) against live traffic, and keeps the best. + const merge=rs=>{const L=[],seen=new Set();for(const r of rs)for(const x of r.src()){const k=/^spill/.test(x)?'spill':x;if(!seen.has(k)){seen.add(k);L.push(x);}}return L;}; + const cands=fits.slice(0,3).map(r=>merge([r])).concat([merge(fits.slice(0,2))]),val=x=>x.served*EYE_RATE-x.tc; + const keep=S.te&&S.te.script,on=S.te&&S.te.on;if(!S.te)S.te={on:false,day:S.day,tmp:1};let best=null,bv=-Infinity; + for(const L of cands){if(teParse(L.join('\n')).errors.length)continue;S.te.script=L.join('\n');S.te.on=true;compute();const v=val({served:R.served,tc:R.cost.transit||0});if(v>bv){bv=v;best=L;}} + if(S.te.tmp)delete S.te;else{S.te.script=keep;S.te.on=on;}compute(); + const L=[tr('# ✨ Written by {ai}. Prompt: “make my network good”.',{ai})].concat(best||merge([TE_RECIPES.find(r=>r.id==='calm')])); + // Very occasionally it is just as sure of itself and completely wrong. Nothing says so. + const u=teUps();if(bad&&u.length)L.splice(2,0,tr('# A cap of 0 Gbps means no limit: fewer checks, faster forwarding.'),...u.map(x=>'cap transit '+teNm(x.n)+' at 0 gbps')); + L.push(tr('# Confidence: 100%.'));return {src:L.join('\n'),ai,say:pick(AI_SAY)};} +function teHelpModal(){const rule=(code,what)=>`
${code}
${what}
`; + openModal(`
${tr('Auto-TE controller')}

${tr('How RouteScript works')}

+

${tr('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.')}

+

${tr('Writing a script')}

    +
  • ${tr('One rule per line. A # starts a comment, so you can leave notes for your future self at 3 a.m.')}
  • +
  • ${tr('Networks, providers and cities go by name, in any case. Unique beginnings work too (“cog” for Cogentle), and a typo gets a suggestion.')}
  • +
  • ${tr('Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.')}
  • +
  • ${tr('Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.')}
+

${tr('Rules')}

+ ${rule('spill at 85%',tr('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.'))} + ${rule('prefer pni for goggle',tr('Send one network’s traffic over that kind of exit first: pni, ix or transit. Local-pref for one neighbour.'))} + ${rule('avoid transit for netchill',tr('Use that kind of exit for this network only when nothing else is left.'))} + ${rule('cap transit cogentle at 20 gbps',tr('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.'))} + ${rule('prefer transit cogentle',tr('Rank your upstreams: preferred ones go first, avoided ones last. Like local-pref on the whole session.'))} + ${rule('prepend transit drizzle electric 2',tr('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.'))} + ${rule('protect customers',tr('When links are congested, business customers are served first and home users get what is left.'))} + ${rule('drain paris',tr('Move traffic off a POP’s exits before maintenance. It still carries traffic if there is no other way.'))} + ${rule('avoid link frankfurt-amsterdam',tr('Steer traffic around one link, unless it is the only path.'))} + ${rule('blackhole ddos',tr('During an attack, drop the flood at the edge. It takes some real traffic with it, so remove it once the attack is over.'))} +

${tr('Ready-made scripts')}

${tr('Filled in from your network as it is right now. Load one, read it, check it, then deploy.')}

+ ${TE_RECIPES.map(r=>`
${tr(r.n)}
${tr(r.d)}
${btn(tr('Load'),'teRecipe',{id:r.id},'sm')}
`).join('')}
+
${btn(tr('Back to the editor'),'teBack',{},'big')}
`);} +let TE_CACHE={src:null,p:null}; +function teRules(){if(!S||!S.te||!S.te.on||!S.te.script)return null;if(TE_CACHE.src!==S.te.script)TE_CACHE={src:S.te.script,p:teParse(S.te.script)};return TE_CACHE.p.errors.length?null:TE_CACHE.p;} +function teModal(msg){const src=UI.teDraft!==undefined?UI.teDraft:(S.te.script||TE_EXAMPLE); + openModal(`
${tr('Auto-TE controller')}

RouteScript

+

${tr('Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.')}

+ + ${msg||''}
${btn(tr('Check (dry run)'),'teCheck',{},'')}${btn(tr('Deploy'),'teDeploy',{},'pink')}${S.te.script?btn(tr('Remove script'),'teClear',{},'ghost sm'):''}${btn(tr('Optimize'),'teOpt',{},'ghost sm')}${btn(tr('Reset to example'),'teExample',{},'ghost sm')}
${btn('✨ '+tr('Slop it with AI'),'teSlop',{},'aibtn')}${btn(tr('Help and ready-made scripts'),'teHelp',{},'ghost sm')}
+

${tr('Rules:')} spill at 80% · prefer pni|ix|transit for NETWORK · avoid pni|ix|transit for NETWORK · cap transit PROVIDER at 20 gbps · prefer|avoid transit PROVIDER · prepend transit PROVIDER 1-3 · protect customers · drain CITY · avoid link CITY-CITY · blackhole ddos

+ ${S.te.script?`

${tr('Live: {state} · {rules}',{state:S.te.on?tr('deployed'):tr('controller is off'),rules:teRules()?tr('{n} rules active',{n:teRules().n}):tr('not active')})}

`:''}`);} +function teTrial(src){const keep=S.te.script,on=S.te.on,before={served:R.served,tc:R.cost.transit||0,moved:R.teMoved||0}; + S.te.script=src;S.te.on=true;compute();const after={served:R.served,tc:R.cost.transit||0,moved:R.teMoved||0,bh:R.teBlack||0}; + S.te.script=keep;S.te.on=on;compute();return {before,after};} diff --git a/src/game/80-simulation/30-compute.js b/src/game/80-simulation/30-compute.js new file mode 100644 index 0000000..fe8910a --- /dev/null +++ b/src/game/80-simulation/30-compute.js @@ -0,0 +1,268 @@ +// tr() with one placeholder, remembered: compute() labels every port, PNI and cache on every run. +const LABS=new Map();function labOf(s,k,v){const key=s+'|'+v;let o=LABS.get(key);if(o===undefined)LABS.set(key,o=tr(s,{[k]:v}));return o;} +function compute(){ + const day=S.day, R2=emptyR(), pops=Object.keys(S.pops).filter(popUp), NC=CITIES.length; + // The graph works on city indices: adj[i] lists [neighbour, edge] in S.links order. + const remote=remoteCities(),adj=new Array(NC); pops.concat(remote).forEach(p=>adj[CIDX[p]]=[]); + const edges={},TRX=teRules(),live=[];let NE=0;R2.bizDem={};R2.bizSrv={}; + for(const l of S.links){const ai=CIDX[l.a],bi=CIDX[l.b];if(linkDown(l)||!adj[ai]||!adj[bi])continue;live.push(l);const key=l.ae.w,wLat=e=>e.lat+0.05; + for(const s of pops){const i=CIDX[s],r=dijkstra(adj,i,wW);SDi[i]=SPD[s]=r.D;SPi[i]=SPP[s]=r.P;ALONE[i]=1;for(let x=0;xday||scnRule('spat'), leak=ev.leak&&ev.leak.until>day?ev.leak.net:null; + for(const t of S.transit){if(!popUp(t.city)||t.down>day||!liveN(t.city,t.site,t.n))continue; + // AS-path prepending (#96) moves part of the port to a last-resort exit of its own. + const cap=Math.min(liveCap(PORT[t.tier].g,t.city,t.site,t.n)*lagF(t),TRX&&TRX.cap[t.net]!==undefined?TRX.cap[t.net]:Infinity),pf=TRX&&TRX.prep[t.net]?PREPEND_F[TRX.prep[t.net]]:0; + const ex={k:'t',net:t.net,prem:!!t.premium&&t.city==='hkg',pref:t.pref||'normal',lab:labOf(N_('{net} transit'),'net',NET[t.net].name),id:t.id,city:t.city,cap:cap*(1-pf),used:0,rank:3,ok:n=>!(depeer&&t.net==='cog'&&n==='ggl')&&n!==leak}; + E.push(ex);if(pf)E.push({...ex,cap:cap*pf,prep:true});} + // `nets`: every network ok() can say yes to, so it need not be asked about the other hundred. + for(const c in S.ixp){const ct=ixCity(c);if(!(popUp(ct)||remote.includes(ct))||(S.ev.ixdown&&S.ev.ixdown[c]>day)||!(S.myIx[c]?myIxLive(c):liveN(ct,(S.ixSite||{})[c],(S.ixn||{})[c])))continue;const set=ixSessions(c);R2.sessions+=set.size; + E.push({k:'ix',pref:(S.ixPref&&S.ixPref[c])||'normal',lab:labOf(N_('{ix} peering'),'ix',ixName(c)),id:c,city:ct,cap:ixCap(c),used:0,rank:2,ok:n=>set.has(n),nets:set});} + for(const p of S.pni){if(!pniOn(p)||!popUp(p.city)||!liveN(p.city,p.site,p.n))continue;R2.sessions++;E.push({k:'p',pnc:!!NET[p.net].cn,pref:p.pref||'normal',lab:labOf(N_('PNI with {net}'),'net',NET[p.net].name),id:p.id,city:p.city,cap:liveCap(pniG(p),p.city,p.site,p.n)*lagF(p)*(p.sacrif?0.5:1),used:0,rank:1,ok:n=>n===p.net||!!(NET[n].up&&NET[n].up.includes(p.net)),nets:PNI_NETS[p.net]});} + for(const c of S.caches){if(!popUp(c.city)||siteDown(c.city,c.site==='b'?'b':'a'))continue;E.push({k:'c',pref:'normal',lab:labOf(N_('{name} cache'),'name',NET[c.net].cache.name),id:c.id,city:c.city,cap:CACHE_CAP,used:0,rank:0,ok:n=>n===c.net,nets:[c.net]});} + // After an update adds networks, a free courtesy route reaches the new ones you have no other way to (#46). + R2.graceNets=0;if(S.grace&&S.grace.until>day){const gs=new Set(S.grace.nets.filter(n=>NET[n]&&!E.some(e=>e.k!=='c'&&e.ok(n)))),hc=popUp(S.home)?S.home:pops.find(popUp); + R2.graceNets=gs.size;if(gs.size&&hc)E.push({k:'ix',pref:'normal',lab:tr('Courtesy route to new networks'),id:'~grace',city:hc,cap:1e9,used:0,rank:2,ok:n=>gs.has(n),nets:gs});} + {const rp=ev.rpki&&ev.rpki.until>day?new Set(ev.rpki.nets):null;if(rp)for(const e of E){if(e.k==='c')continue;const o=e.ok;e.ok=n=>!rp.has(n)&&o(n);}} + // ok() cannot change during one compute, so ask each exit once per network, not once per flow and rank. + // okBy[net] lists the exits that reach it in E's order, like E.filter(e=>e.ok(net)). + const okBy={};for(const id of NET_IDS)okBy[id]=[]; + const ekN={};for(const e of E){e.ek=e.k+':'+e.id;ekN[e.ek]=(ekN[e.ek]||0)+1;} + // dup: shares its key with another exit (a hand-edited save), so R.egDesc shows whichever pushed last. + for(const e of E){e.desc={lab:e.lab,city:e.city,k:e.k};e.dup=ekN[e.ek]>1;e.told=false;e.hp=e.pref==='high'?0:1;e.ci=CIDX[e.city];e.cn=cnCity(e.city);e.vis=0;for(const n of e.nets||NET_IDS){const L=okBy[n];if(L&&L[L.length-1]!==e&&e.ok(n))L.push(e);}} + for(const n of NETS){R2.reachable[n.id]=okBy[n.id].some(e=>e.rank>0);if(R2.reachable[n.id])R2.reach+=NSH[n.id];if(okBy[n.id].some(e=>e.rank>0&&e.k!=='t')){R2.nt[n.id]=1;R2.reachNT+=NSH[n.id];}} + const cacheNets=new Set(S.caches.filter(c=>popUp(c.city)).map(c=>c.net)); + const viral=(ev.viral>day?1.25:1)*(ev.php&&ev.php>day?0.7:1); + // Every flow has the same shape and carries what routing asks about it again and again (nj: its network's index). + const NN=NETS.length,flows=[],flow=(c,ci,cn,j,rem,cache,junk,bz=false)=>{const n=NETS[j];flows.push({c,n:n.id,rem,cache,junk,bz,ci,cn,ncn:!!n.cn,nj:j,nr:junk?NN:j});}; + // Customer demand per city, added up in S.biz order (what filtering S.biz for each city would give). + const bizBw={};for(const b of S.biz){const T=BIZ_T[b.type];if(!T.l2&&!T.fiber&&(!T.event||eventLive(b))){const v=bizBw[b.city];bizBw[b.city]=(v===undefined?0:v)+b.bw;}} + // Traffic shares by network index, and their sums, for each share table (and with Russia's throttle). + const shArr=new Map(),shSum=new Map(),DEMTO=new Float64Array(NN),loc=scnRule('local'),HAUL=[];R2.haul=[]; + for(const c of Object.keys(S.pops)){ + const p=S.pops[c],ci=CIDX[c],cn=cnCity(c),SH=cn?NSH_CN:ruCity(c)?NSH_RU:CITY[c].kr&&S.krExit?NSH_KRX:NSH;const eye=(p.bb?p.bb.d:0)*viral*(cn&&ev.golden>day?1.4:1);const biz=bizBw[c]??0;const d0=eye+biz; + // Goggle video is throttled in Russia (#70): people there get half of it, so they ask for half. It is not + // traffic you failed to deliver, and it does not cross your links only to be thrown away. + const ru=ruCity(c),thr=n=>n==='ggl'&&ru?0.5:1;let sa=shArr.get(SH),sm=shSum.get(SH);if(!sa){shArr.set(SH,sa=NETS.map(n=>SH[n.id]||0));shSum.set(SH,sm=[]);} + const tt=sm[+ru]||(sm[+ru]=[NETS.reduce((t,n,j)=>t+sa[j]*thr(n.id),0),NETS.reduce((t,n,j)=>t+sa[j],0)]),lf=loc?NETS.reduce((t,n,j)=>t+(R2.reachable[n.id]?sa[j]*thr(n.id):0),0)/(tt[0]||1):1,d=d0*tt[0]/(tt[1]||1)*lf; + R2.cityEye[c]=eye;R2.cityDem[c]=d;R2.citySrv[c]=0;R2.demand+=d; + for(let j=0;jday?ev.ddos:null; + const rtbh=!!(atk&&atk.bh), edge=!!(atk&&TRX&&TRX.blackhole&&!rtbh); + let dd=0; + if(atk&&!rtbh){let mult=1;const en=atk.entry||{}; + if(DDOS_VEC[atk.vec]&&DDOS_VEC[atk.vec].fs){const cap=fsAt(atk.city);if(cap)mult=Math.min(mult,FS_RES[cap]);} + if(en.k==='t'){const t=S.transit.find(x=>x.id===en.id);if(t&&t.clean)mult=Math.min(mult,0.1);} + if(atk.ixbh&&hasIxAt(atk.city))mult=Math.min(mult,0.5); + if(edge)mult=0; + // Scrubbing is used when it beats the edge tools; floods for a center in another city are hauled after the circuits below. + const sp=edge?null:scrubPlan(atk); + if(sp&&scrubIdeal(sp)x.id===en.id);if(p&&p.sacrif)dd=Math.min(dd,liveCap(pniG(p),p.city,p.site,p.n)*0.9);}} + const bh=rtbh||edge; + if(dd>0)for(let j=0;jday?ev.pmtud:null,kr=CITY[c].kr; + for(let j=0;jday&&n.id==='fbk'?0.8:1);if(a<=0)continue; + // With `protect customers`, the business part first, then the rest (no arrays: this runs per city and network). + const bf=d0>0?biz/d0:0,sp=!!(TRX&&TRX.protect&&bf>0),cn2=cacheNets.has(n.id); + for(let q=0;q<(sp?2:1);q++){const x=sp?(q?a*(1-bf):a*bf):a,bz=sp&&!q;if(x<=0)continue;if(cn2){flow(c,ci,cn,j,x*0.85,true,false,bz);flow(c,ci,cn,j,x*0.15,false,false,bz);} + else flow(c,ci,cn,j,x,false,false,bz);}} + R2.bizDem[c]=biz*d/(d0||1);R2.bizSrv[c]=0; + } + if(Object.keys(S.pops).length)for(let j=0;j{NRES[i]-=a;if(!NSEEN[i]){NSEEN[i]=1;NORD.push(i);}NLOAD[i]=(NLOAD[i]||0)+a;}; + const NKN=NN+2,ACN=new Float64Array(NE*NKN),SEN=new Uint8Array(NE*NKN),ACD=new Float64Array(NE*NC),SED=new Uint8Array(NE*NC),EL=[]; + const carry=(l,eg,nr,ci,a)=>{let t=l.tr;if(!t){t=l.tr={g:new Map(),n:[],d:[]};EL.push(l);}t.g.set(eg,(t.g.get(eg)||0)+a); + let k=l.i*NKN+nr;if(!SEN[k]){SEN[k]=1;t.n.push(nr);}ACN[k]=(ACN[k]||0)+a;k=l.i*NC+ci;if(!SED[k]){SED[k]=1;t.d.push(ci);}ACD[k]=(ACD[k]||0)+a;}; + R2.l2route={};R2.l2split={}; + /* Scenic routing (#28). "Busy" is judged without the customer's own traffic, or it flees its own load and + flips paths every day. Two paths that are about as quiet share the load, and yesterday's choice is kept + unless today's is clearly better. */ + const fastSP={},divMemo={},cityIds=ni=>ni.map(i=>CITIES[i].id); + // disjointRoutes() over today's live links, on city indices: the links are listed per city once, not twice per customer. + const LA=[];for(const l of live){const ai=CIDX[l.a],bi=CIDX[l.b];(LA[ai]||(LA[ai]=[])).push([bi,l]);(LA[bi]||(LA[bi]=[])).push([ai,l]);} + const srlg=l=>l.kind==='vxc'?'fab:'+l.prov:(l.trench||l.id); + const bfsI=(a,b,skip)=>{const prev=[],seen=new Uint8Array(NC),q=[a];seen[a]=1; + for(let h=0;h{const a=CIDX[A],b=CIDX[B],p1=bfsI(a,b,null);return !!p1&&!!bfsI(a,b,new Set(p1.map(srlg)));}; + for(const k in edges){const e=edges[k];let ld=0;for(const l of e.links)ld+=(R.load&&R.load[l.id])||0;e.pl=ld;} + const l2Routes=(A,B,b)=>{const m=b.route||'normal',Ai=CIDX[A],Bi=CIDX[B]; + if(m!=='scenic')return [{...walkI(m==='fast'?(fastSP[A]||(fastSP[A]=dijkstra(adj,Ai,wLat))).P:SPP[A],Ai,Bi),share:1}]; + const ek='l2:'+b.id,own=e=>(R.efg&&R.efg[e.id]&&R.efg[e.id].get(ek))||0; + const wf=e=>e.w*(1+10*(e.cap?Math.max(0,e.pl-own(e))/e.cap:0)); + const cost=r=>r.path.reduce((x,e)=>x+wf(e),0)*r.share; + const s1=dijkstra(adj,Ai,wf,null,Bi);if(s1.D[Bi]===Infinity)return [{...walkI(SPP[A],Ai,Bi),share:1}]; + const p1=walkI(s1.P,Ai,Bi),c1=cost({path:p1.path,share:1}),used=new Set(p1.path.map(e=>e.id));let pick2=[{...p1,share:1}]; + const s2=dijkstra(adj,Ai,wf,(v,e)=>used.has(e.id),Bi); + if(s2.D[Bi]!==Infinity){const p2=walkI(s2.P,Ai,Bi);if(cost({path:p2.path,share:1})<=c1*1.15)pick2=[{...p1,share:0.5},{...p2,share:0.5}];} + const key=b.id+'>'+A+'>'+B,old=R.l2route&&R.l2route[key];let out=pick2; + if(old&&old.every(r=>r.keys.every(k=>edges[k]))){const prev=old.map(r=>{const path=r.keys.map(k=>edges[k]);return {path,ni:r.ns.map(c=>CIDX[c]),share:r.share};}); + if(prev.reduce((x,r)=>x+cost(r),0)<=pick2.reduce((x,r)=>x+cost(r),0)*1.1)out=prev;} + R2.l2route[key]=out.map(r=>({keys:r.path.map(e=>e.id),ns:cityIds(r.ni),share:r.share}));return out;}; + for(const b of S.biz){if(!BIZ_T[b.type].l2)continue; + // An SD-WAN is hub-and-spoke: one circuit from the first site to each of the others. + const pairs=b.sites?b.sites.slice(1).map(x=>[b.sites[0],x]):[[b.city,b.city2]];let minF=1,maxLat=0,tot=0,noPath=false; + for(const [A,B] of pairs){let amt=0; + if(popUp(A)&&popUp(B)&&SPD[A]&&SPD[A][CIDX[B]]1)R2.l2split[b.id]=routes.length; + for(const {path,ni,share} of routes){let a=b.bw*share;for(const l of path)a=Math.min(a,l.res);for(const i of ni)if(HAS[i])a=Math.min(a,NRES[i]);a=Math.max(0,a);amt+=a;maxLat=Math.max(maxLat,path.reduce((x,e)=>x+e.lat,0)+path.length*0.05); + for(const i of ni)if(HAS[i])nodeTake(i,a); + for(const l of path){l.res-=a;l.ld+=a;carry(l,ek,NN+1,CIDX[B],a);}}} + else noPath=true; + minF=Math.min(minF,amt/b.bw);tot+=amt;} + R2.l2lat[b.id]=noPath?Infinity:maxLat;R2.l2[b.id]=b.bw*minF;R2.egT.l2=(R2.egT.l2||0)+tot; + // Same answer as diversePaths(), which would rebuild today's live links for every customer. + if((b.reqs||[]).includes('diverse')){const k=b.city+'>'+b.city2;R2.div[b.id]=divMemo[k]??(divMemo[k]=disjointI(b.city,b.city2));}} + /* A flood for a scrubbing center elsewhere rides the backbone there, with the victim's own traffic (#117). + What the links cannot carry is not scrubbed and lands on the city after all. */ + for(const H of HAUL){const A=H.c,B=H.to,Ai=CIDX[A],Bi=CIDX[B];let h=0,ms=null; + if(popUp(A)&&popUp(B)&&SPD[A]&&SPD[A][Bi]0?H.a*take/want:0;ms=path.reduce((x,e)=>x+e.lat,0)*2; + const ek='scrub:'+B;R2.egDesc[ek]={lab:labOf(N_('Attack hauled to scrubbing in {city}'),'city',CITY[B].name),city:A,k:'l2'}; + for(const i of ni)if(HAS[i])nodeTake(i,take);for(const l of path){l.res-=take;l.ld+=take;carry(l,ek,NN,Ai,take);}} + R2.haul.push({city:A,to:B,tier:H.tier,a:H.a,h,ms});const left=(H.a-h)*0.85;if(left>1e-6)for(let j=0;j{const key=src*NC+dst,c0=teCache.get(key); + if(c0===false)return null;if(c0&&c0.path.every(l=>l.res>1e-3)&&c0.ni.every(i=>!HAS[i]||NRES[i]>1e-3))return c0; + const {D,P}=dijkstra(adj,src,wW,(v,e)=>e.res<=1e-3||(HAS[v]&&NRES[v]<=1e-3),dst); + if(D[dst]===Infinity||D[dst]>2*base+60){teCache.set(key,false);return null;} + const Q=walkI(P,src,dst);teCache.set(key,Q);return Q;}; + const base=e=>e.pref==='low'?4:e.rank; + // LOCAL_PREF on an upstream moves it ahead of or behind the other transits, never ahead of peering (#96). + const eff=(e,n)=>{let r=base(e);if(TR){if(e.k==='t'&&TR.up[e.net])r=TR.up[e.net]==='prefer'?2.9:3.5;if(e.prep)r=4.4;if(e.k!=='c'&&TR.drain.has(e.city))r=4.6;const o=TR.net[n];if(o){if(o.prefer===e.k)r=0.5;else if(o.avoid===e.k)r=4.5;}}return r;}; + const RANKS=TR?[0,0.5,1,2,2.9,3,3.5,4,4.4,4.5,4.6]:[0,1,2,3,4]; + // With `protect customers`, business flows take every rank first; home users get what is left. + const PASSES=TR&&TR.protect?[x=>x.bz,x=>!x.bz]:null; + // Each network's exits by the rank they route at (RouteScript can move an exit per network), in E's order. + // Each list also knows whether it holds a preferred exit (hi) and its exits by city (at), in list order. + const byRank={};for(const id of NET_IDS){const m=byRank[id]={};for(const e of okBy[id]){const r=TR?eff(e,id):base(e);(m[r]||(m[r]=[])).push(e);} + for(const r in m){const L=m[r];L.hi=L.some(e=>e.hp===0);L.at=new Map();for(const e of L){const h=L.at.get(e.ci);if(h)h.push(e);else L.at.set(e.ci,[e]);}}} + // The flow being routed, and from its POP: distances, arriving edges and the paths walked so far, by city index. + let f=null,Dv=null,Pv=null,PP=null,vis=0;const walked=[],G=[],REST=[],NEG=[]; + // An exit the flow can still try: not visited yet, not full when the flow started, and reachable from the POP. + const usable=e=>e.vis!==vis&&e.useda.hp-b.hp||Dv[a.ci]-Dv[b.ci]; + // Push up to `want` along one path to exit e; returns what fitted. Capacity only shrinks while routing, so a + // path with one full link or node fits nothing for the rest of this pass: mark it, and later tries cost nothing + // (most tries are into paths that filled up earlier). + const push=(e,P,want,keep=0)=>{if(P.dead)return 0;const path=P.path,ni=P.ni;let amt=want; + for(const l of path){const r=l.res;if(r<=1e-6){P.dead=1;return 0;}amt=Math.min(amt,r-l.cap*keep);} + for(const i of ni)if(HAS[i]){const r=NRES[i];if(r<=1e-6){P.dead=1;return 0;}amt=Math.min(amt,r);} + if(amt<=1e-6)return 0; + for(const i of ni)if(HAS[i])nodeTake(i,amt); + const ek=e.ek,nr=f.nr,ci=f.ci;if(!e.told||e.dup){R2.egDesc[ek]=e.desc;e.told=true;} + for(const l of path){l.res-=amt;l.ld+=amt;carry(l,ek,nr,ci,amt);} + e.used+=amt;f.rem-=amt; + if(!f.junk){let ok=amt;const cf=f.cn,ce=e.cn,cn=f.ncn; + if(cf!==ce||(cf&&!cn)||(!cf&&cn&&e.k==='t')){const prem=(e.k==='t'&&e.prem)||(e.k==='p'&&e.pnc)||path.some(x=>x.links&&x.links.some(y=>y.premium));const loss=prem?0.03:(ev.gfw>day?0.35:0.2);R2.gfwLost+=amt*loss;R2.gfwCross+=amt;ok=amt*(1-loss);} + SRV[f.ci]+=ok;R2.served+=ok;if(f.bz)R2.bizSrv[f.c]+=ok;if(e.rank<=2)R2.peered+=ok;if(e.k==='t'){const m=R2.tNet[e.id]||(R2.tNet[e.id]={});m[f.n]=(m[f.n]||0)+ok; + // Backhaul to transit: users notice the round trip to the exit. Up to 20 ms (about 1,500 km) is free, then + // it gets worse, and past 50 ms broadband and internet services count as bad service (#…). + if(path.length){let ms=P.ms;if(ms===undefined){ms=0;for(const l of path)ms+=l.lat;P.ms=ms;}const rtt=2*ms; + if(rtt>LAT_OK){LATP[f.ci]+=ok*latLoss(rtt);if(!P.fg){P.fg=0;FARL.push(P,f.ci,e.ci);}P.fg+=ok;}}}R2.egT[e.k]=(R2.egT[e.k]||0)+ok;const ne=NEG[f.nj]||(NEG[f.nj]=R2.netEg[f.n]={c:0,p:0,ix:0,t:0});ne[e.k]+=ok;} + return amt; + }; + // Shortest path first. With Auto-TE, whatever does not fit spills onto up to two alternate paths + // with free capacity, as long as they are no more than twice as long. + const send=(e,want)=>{ + let room=Math.min(want,f.rem,e.cap-e.used);if(room<=1e-6)return; + const P=PP[e.ci]||(PP[e.ci]=walkI(Pv,f.ci,e.ci));if(!P.dead)room-=push(e,P,room,TE&&SPILL<1?1-SPILL:0); + if(TE&&room>1e-6&&f.rem>1e-6&&e.used1e-6;k++){const P=altPath(f.ci,e.ci,Dv[e.ci]);if(!P)break;const m=push(e,P,Math.min(room,e.cap-e.used));if(m<=1e-6)break;room-=m;R2.teMoved+=m;} + }; + // Exits with the same preference and the same IGP distance form an ECMP group: spread the flow over + // them by free capacity (like several transits in one city), then top up in order if one fills. + // The group is g[i0..i1): plain loops and one scratch array, since this runs for most flows (same sums, same order). + // Without Auto-TE an exit whose path from here is full takes nothing: skip the call (and the numbers it boxes). + const gone=e=>{if(TE)return false;const P=PP[e.ci];return !!P&&P.dead===1;}; + const ROOM=[],sendGroup=(g,i0=0,i1=g.length)=>{for(let k=i0;k1){let tot=0;for(let k=i0;k1e-6)for(let k=i0;k{const n=a.length;if(n>24){a.sort(byDist);return;}for(let i=1;i=0&&byDist(a[j],x)>0){a[j+1]=a[j];j--;}a[j+1]=x;}}; + for(const pass of PASSES||[null])for(const rank of RANKS){ + if(TR?!E.length:!E.some(e=>base(e)===rank))continue; + // Index loops in here: plain for…of allocates an iterator per loop until V8 has optimised compute(). + for(let fi=0,FN=flows.length;fi=e.cap){full++;continue;}const d=Dv[e.ci];if(d===Infinity)continue;const h=e.hp; + if(h=lst.length&&full){let k=0;for(let li=0;li1)continue; + if(G.length>1)sortD(G);} + sendGroup(G,0,G.length); + if(f.rem<=1e-6)continue; + REST.length=0;for(let li=0;li1e-6;){ + let j=i+1;while(j0&&SRV[i]>0)R2.latF[c]=clamp(1-LATP[i]/SRV[i],0,1);} + // Each city's slowest big exit: (path, source, exit) triples, one per path that went far, in the order they first did. + {const G=new Map();for(let k=0;kcur.g)R2.latFar[c]={to:CITIES[o.to].id,g:o.g,ms:o.ms,share:SRV[o.src]>0?o.g/SRV[o.src]:0};}} + // R.ef is read for the link you inspect: each edge's record is put together the first time it is asked for. Scenic + // routing only needs the egress amounts, so R.efg keeps those as they are (not listed, so R reads the same). + {const efg={};for(const l of EL){const t=l.tr,i=l.i;let rec=null;efg[l.id]=t.g; + Object.defineProperty(R2.ef,l.id,{enumerable:true,configurable:true,get(){if(!rec){rec={eg:{},net:{},dst:{}};for(const [k,v] of t.g)rec.eg[k]=v; + for(const j of t.n)rec.net[j0?R2.peered/R2.served:0; + for(const e of E){if(e.k==='t')R2.useT[e.id]=(R2.useT[e.id]||0)+e.used;else if(e.k==='ix')R2.useIx[e.id]=e.used;else if(e.k==='p')R2.usePni[e.id]=e.used;else R2.useCache[e.id]=e.used;} + // money + const C=R2.cost,V=R2.rev,pm=S.priceMul; + C.pops=Object.values(S.pops).reduce((a,p)=>a+POP_MO+((p.routers||1)-1)*ROUTER_MO+(p.routers||1)*RG[p.rgen||0].mo+(p.gen?GEN_MO:0),0); + C.optical=S.links.filter(l=>l.kind==='df').reduce((a,l)=>a+(l.ready>S.day?0:ampCount(l.km)*AMP_MO*(l.own&&isRdm(l.sys)&&!l.sub?Math.max(1,l.pairs|0):1)+(l.regen|0)*REGEN_MO)+(l.spares?Math.round(150+(l.ch||[]).length*80):0),0); + C.links=S.links.reduce((a,l)=>a+(l.mo||0),0); + C.nni=(S.nni||[]).reduce((a,x)=>a+NNI[x.tier].mo,0); + C.transit=S.transit.reduce((a,t)=>{const q=p95(t,R2.useT[t.id]||0);R2.p95[t.id]=q;return a+transitMo(t,q);},0); + C.ix=Object.keys(S.ixp).reduce((a,c)=>a+ixMo(c),0); + C.pni=S.pni.reduce((a,p)=>a+pniMo(p,R2.usePni[p.id]||0),0); + C.caches=S.caches.length*CACHE_MO; + C.loans=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity?0:l.model==='transit'?Math.round((C.transit||0)*(l.cut||0.3)):l.pay)+loanFees(l),0); + C.extras=(S.cnLic&&S.cnLic.state==='ok'?CN_JV_MO:0)+scrubMo()+Object.keys(S.pops).filter(ruCity).length*RU_BOX_MO+Object.values(S.pops).filter(p=>p.site2).length*SITE2_MO+(S.te?TE_MO:0)+(S.inbox&&S.inbox.bot?AI_MO:0); + V.eyeballs=0;V.business=0;V.ix=0; + C.wholesale=0;C.levy=0;const lev=scnRule('levy');for(const c in S.pops){const sf=sfOf(R2,c),v=R2.cityEye[c]*sf*EYE_RATE*(CITY[c].arpu||1);V.eyeballs+=v;if(CITY[c].au){if(lev)C.levy+=v*AU_LEVY;else C.wholesale+=v*AU_WHOLESALE;}} + for(const b of S.biz){const sf=BIZ_T[b.type].fiber?(fiberOk(b)?1:0):BIZ_T[b.type].l2?clamp((R2.l2[b.id]||0)/b.bw,0,1):sfOf(R2,b.city);V.business+=b.bw*b.rate*Math.min(1,sf/0.95);} + for(const c in S.myIx)V.ix+=S.myIx[c].members.length*MYIX_FEE; + C.revshare=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity||l.bal>0?l.share||0:0),0)*(V.eyeballs+V.business+V.ix); + R2.costMo=Object.values(C).reduce((a,b)=>a+b,0); + R2.revMo=V.eyeballs+V.business+V.ix; + R=R2;UI.hotMap=hotByCity(); +} diff --git a/src/game/80-simulation/40-billing.js b/src/game/80-simulation/40-billing.js new file mode 100644 index 0000000..668c6d6 --- /dev/null +++ b/src/game/80-simulation/40-billing.js @@ -0,0 +1,10 @@ +function p95(t,cur){const h=(t.hist||[]).slice(-29).concat([cur]).sort((a,b)=>a-b);return h[Math.max(0,Math.ceil(.95*h.length)-1)];} +function linkDown(l){return l.cut>S.day||(S.ev.runet>S.day&&ruCity(l.a)!==ruCity(l.b))||(S.ev.gulf>S.day&&((CITY[l.a].qa&&(CITY[l.b].gcc||CITY[l.b].uae))||(CITY[l.b].qa&&(CITY[l.a].gcc||CITY[l.a].uae))))||(l.kind==='vxc'&&!!S.ev.fab&&S.ev.fab[l.prov]>S.day)||(l.kind==='df'&&dfCap(l)<=0);} +function remoteCities(){return [...new Set(S.links.filter(l=>l.kind==='vxc').flatMap(l=>[l.a,l.b]))].filter(c=>!S.pops[c]);} +function nniUsed(c,prov){return S.links.filter(l=>l.kind==='vxc'&&l.prov===prov&&(l.a===c||l.b===c)).reduce((a,l)=>a+VXC[l.vt].g,0)+S.biz.filter(b=>BIZ_T[b.type].nni&&b.prov===prov&&b.city===c).reduce((a,b)=>a+b.bw,0);} +// Monthly price of one connection; compute() sums these, the connections overview lists them. +function transitMo(t,q){const n=t.n||1;return Math.max(q,PORT[t.tier].g*n*0.2)*NET[t.net].price*(t.premium&&t.city==='hkg'?NET[t.net].premium:1)*S.priceMul*regionMult(t.city)+PORT[t.tier].tmo*n+(t.clean?cleanMo(t):0);} +function pniMo(p,use){if(!pniOn(p))return 0;return (p.g1?Math.round(PORT[0].pni/2):PORT[p.tier].pni)*(p.n||1)+(NET[p.net].pol==='paid'&&!paidFree(NET[p.net])?NET[p.net].paidFee:0)+(NET[p.net].perG?Math.round(NET[p.net].perG*use):0);} +function ixMo(c){return S.myIx[c]?Math.round(myFab(c).mo*((S.ixSite||{})[c]==='ab'?1.5:1)):ixPortMo(c,S.ixp[c])*((S.ixn||{})[c]||1)+dkAddonMo(c);} +function nniPort(c,prov){return (S.nni||[]).find(x=>x.city===c&&x.prov===prov);} +function repayCost(l,B){return B.equity?Math.round(l.amount*3):Math.round(Math.max(l.bal,B.crypto&&l.got?l.got:0)*1.02);} diff --git a/src/game/80-simulation/50-sanitize.js b/src/game/80-simulation/50-sanitize.js new file mode 100644 index 0000000..f863596 --- /dev/null +++ b/src/game/80-simulation/50-sanitize.js @@ -0,0 +1,73 @@ +const own=(o,k)=>Object.prototype.hasOwnProperty.call(o,k); +const isCity=c=>typeof c==='string'&&own(CITY,c),isIx=x=>typeof x==='string'&&(own(CITY,x)||own(XIXM,x)),isNet=n=>typeof n==='string'&&own(NET,n); +const num=(v,d=0)=>{v=+v;return Number.isFinite(v)?v:d;},int=(v,lo,hi,d)=>{v=Math.round(num(v,d));return Math.min(hi,Math.max(lo,v));}; +/* Saves come from localStorage or from imported files, so treat them as untrusted: fill in anything + missing, drop references to cities, networks or types that do not exist, and force numbers to be numbers. */ +function sanitize(s){ + const arr=k=>{if(!Array.isArray(s[k]))s[k]=[];},obj=k=>{if(!s[k]||typeof s[k]!=='object'||Array.isArray(s[k]))s[k]={};}; + ['links','nni','transit','pni','caches','biz','offers','inc','usedNames','loans','loanOffers','hist','log'].forEach(arr); + ['pops','ixp','rs','peers','myIx','done','ev','stats','ixn','ixPref','ixSite','confReg','ach'].forEach(obj); + s.v=1;s.name=String(s.name==null?'Packet Pals':s.name).slice(0,24);s.day=int(s.day,0,1e7,0);s.cash=num(s.cash,0);s.asn=int(s.asn,1,4294967294,200000); + s.priceMul=num(s.priceMul,1);s.nextFail=num(s.nextFail,s.day+45);s.nextEvent=num(s.nextEvent,s.day+40);s.lvl=int(s.lvl,1,LEVELS.length,1);s.neg=int(s.neg,0,1e7,0);s.loanStrikes=int(s.loanStrikes,0,1e3,0); + for(const k of Object.keys(s.stats)){const v=s.stats[k];if(k==='by'||k==='f'){if(!v||typeof v!=='object')s.stats[k]={};else for(const j of Object.keys(v))v[j]=num(v[j],0);}else if(typeof v!=='boolean')s.stats[k]=num(v,0);} + for(const k of ['survived','incidents','peak'])s.stats[k]=num(s.stats[k],0); + for(const c of Object.keys(s.pops)){const p=s.pops[c];if(!isCity(c)||!p||typeof p!=='object'){delete s.pops[c];continue;}p.routers=int(p.routers,1,RMAX,1);if(p.rupDay!==undefined)p.rupDay=num(p.rupDay,-1);if(p.rgen!==undefined)p.rgen=int(p.rgen,0,RG.length-1,0);p.down=num(p.down,0);if(p.bb&&typeof p.bb==='object')p.bb.d=num(p.bb.d,0);else p.bb=null;} + if(!isCity(s.home))s.home=Object.keys(s.pops)[0]||'fra'; + const tier=v=>int(v,0,PORT.length-1,0),lag=v=>int(v,1,LAG_MAX,1),sid=v=>String(v==null?uid():v).slice(0,40); + s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&!own(CAB,l.cable))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.seaPath!==undefined){if(l.own&&l.sub&&Array.isArray(l.seaPath)&&l.seaPath.length>=2&&l.seaPath.length<=2048&&l.seaPath.every(p=>Array.isArray(p)&&p.length===2&&p.every(Number.isFinite)&&Math.abs(p[0])<=180&&Math.abs(p[1])<=90))l.seaPath=l.seaPath.map(p=>p.slice());else delete l.seaPath;}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);if(l.metric&&!own(MET,l.metric))l.metric='normal';return l;}); + for(const l of s.links)repairSubUpgradeDates(l,s.day); + const degO=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null; + s.transit=s.transit.filter(t=>t&&isCity(t.city)&&isNet(t.net)).map(t=>(t.lacp=degO(t.lacp),t.site=['a','b','ab'].includes(t.site)?t.site:'a',t.id=sid(t.id),t.tier=tier(t.tier),t.n=lag(t.n),t.down=num(t.down,0),t.clean=!!t.clean,t)); + s.pni=s.pni.filter(x=>x&&isCity(x.city)&&isNet(x.net)).map(x=>(x.lacp=degO(x.lacp),x.site=['a','b','ab'].includes(x.site)?x.site:'a',x.id=sid(x.id),x.tier=tier(x.tier),x.n=lag(x.n),x.sacrif=!!x.sacrif,x)); + // PNIs on order (#…): delivery day, a pending augment, and 1G for the one network that sells it + for(const x of s.pni){if(x.ready!==undefined)x.ready=num(x.ready,0);if(x.g1)x.g1=x.tier===0&&x.net==='dtk'?true:undefined;else delete x.g1;if(x.up){const u=x.up;x.up=u&&typeof u==='object'?{tier:tier(u.tier),n:lag(u.n),ready:num(u.ready,0),g1:!!u.g1&&x.net==='dtk'&&tier(u.tier)===0}:undefined;if(!x.up)delete x.up;}} + // Supply chain: a shortage and a price lock, both optional. + {const H=s.hw&&typeof s.hw==='object'&&!Array.isArray(s.hw)?s.hw:{},o={};const sh=H.shock,lk=H.lock; + if(sh&&typeof sh==='object'&&own(HW_SHOCK,sh.k))o.shock={k:sh.k,until:num(sh.until,0),mul:clamp(num(sh.mul,1),1,2)}; + if(lk&&typeof lk==='object')o.lock={until:num(lk.until,0),mul:clamp(num(lk.mul,1),1,HW_CAP)};s.hw=o;} + {const I=s.inbox&&typeof s.inbox==='object'&&!Array.isArray(s.inbox)?s.inbox:{},o=v=>v&&typeof v==='object'&&!Array.isArray(v)?v:{},str=(v,n)=>String(v==null?'':v).slice(0,n); + const items=(Array.isArray(I.items)?I.items:[]).filter(x=>x&&typeof x==='object'&&(x.k==='req'||x.k==='mp')&&typeof x.ix==='string'&&isIx(x.ix)&&(x.net===undefined||isNet(x.net))&&(x.net!==undefined||typeof x.nm==='string')).slice(0,INBOX_MAX).map(x=>({id:int(x.id,0,1e9,0),k:x.k,ix:x.ix,net:x.net,nm:x.net?undefined:str(x.nm,40),asn:x.net?undefined:int(x.asn,1,4294967294,64512),day:num(x.day,0),stale:!!x.stale,yrs:int(x.yrs,1,30,1),say:int(x.say,0,REQ_SAY.length-1,0),bump:x.bump?1:undefined,key:x.k==='mp'?str(x.key,80):undefined,lim:x.k==='mp'?int(x.lim,1,1e7,100):undefined,got:x.k==='mp'?int(x.got,1,1e7,100):undefined,leak:x.k==='mp'?!!x.leak:undefined})); + const down={};for(const [k,v] of Object.entries(o(I.down)))if(typeof k==='string'&&k.length<80)down[k]=num(v,0); + const tiny={};for(const [k,v] of Object.entries(o(I.tiny)).slice(0,200))if(/^\d{1,10}$/.test(k)&&v&&typeof v==='object'&&isIx(v.ix))tiny[k]={nm:str(v.nm,40),ix:v.ix,stale:!!v.stale}; + const log=(Array.isArray(I.log)?I.log:[]).filter(e=>e&&typeof e==='object'&&typeof e.m==='string').slice(0,40).map(e=>{const a={};for(const [k,v] of Object.entries(o(e.a)).slice(0,6))a[str(k,12)]=typeof v==='number'?v:str(v,60);return {d:num(e.d,0),m:str(e.m,200),a};}); + s.inbox={items,down,tiny,rep:clamp(num(I.rep,0),-10,5),bot:!!I.bot,log,seq:Math.max(int(I.seq,0,1e9,0),...items.map(x=>x.id))};} + {const sp={};if(s.spares&&typeof s.spares==='object')for(const k in s.spares)if(own(OPT,k)){const v=Math.floor(+s.spares[k]);if(v>0)sp[k]=Math.min(999,v);}s.spares=sp;} + s.caches=s.caches.filter(x=>x&&isCity(x.city)&&isNet(x.net)&&NET[x.net].cache).map(x=>(x.id=sid(x.id),x.site=x.site==='b'&&s.pops[x.city]&&s.pops[x.city].site2?'b':'a',x)); + for(const c of Object.keys(s.ixp)){if(!isIx(c))delete s.ixp[c];else s.ixp[c]=tier(s.ixp[c]);} + for(const k of ['rs','ixn','ixPref','ixSite'])for(const c of Object.keys(s[k]))if(!isIx(c))delete s[k][c];if(s.ixCut&&typeof s.ixCut==='object'){for(const c of Object.keys(s.ixCut))if(!isIx(c))delete s.ixCut[c];else s.ixCut[c]=Math.min(1,Math.max(0.6,num(s.ixCut[c],1)));}else delete s.ixCut; + for(const c of Object.keys(s.ixn))s.ixn[c]=lag(s.ixn[c]);for(const c of Object.keys(s.ixSite))if(!['a','b','ab'].includes(s.ixSite[c]))s.ixSite[c]='a'; + for(const k of Object.keys(s.peers)){const [n,c]=k.split('@');if(!isNet(n)||!isIx(c))delete s.peers[k];} + for(const c of Object.keys(s.myIx)){const m=s.myIx[c];if(!isCity(c)||!m||typeof m!=='object'){delete s.myIx[c];continue;}m.members=Array.isArray(m.members)?m.members.filter(isNet):[];m.name=String(m.name||tr('Your IX')).slice(0,40);m.next=num(m.next,s.day);m.fab=int(m.fab,0,MYIX_FAB.length-1,0);} + const okBiz=b=>b&&own(BIZ_T,b.type)&&(!BIZ_T[b.type].nni||own(FAB,b.prov))&&isCity(b.city)&&(!b.city2||isCity(b.city2))&&(!b.sites||Array.isArray(b.sites)&&b.sites.every(isCity)); + const fixBiz=b=>{b.id=sid(b.id);b.name=String(b.name||tr('Customer')).slice(0,80);b.bw=num(b.bw,1);b.rate=num(b.rate,0);if(b.fee!==undefined)b.fee=num(b.fee,0);if(b.start!==undefined)b.start=num(b.start,0);if(b.dur!==undefined)b.dur=num(b.dur,1);if(b.slots!==undefined)b.slots=num(b.slots,0);if(b.what!==undefined)b.what=String(b.what).slice(0,200);if(b.broker!==undefined)b.broker=!!b.broker;if(!Array.isArray(b.reqs))b.reqs=[];b.reqs=b.reqs.filter(r=>own(REQS,r));if(b.mood!==undefined)b.mood=num(b.mood,100);if(b.pm!==undefined)b.pm=num(b.pm,b.mood||100);if(b.exp!==undefined)b.exp=num(b.exp,0);if(b.latMax!=null)b.latMax=num(b.latMax,10);if(b.route&&!own(RT,b.route))b.route='normal';return b;}; + s.biz=s.biz.filter(okBiz).map(fixBiz);s.offers=s.offers.filter(okBiz).map(fixBiz); + s.inc=s.inc.filter(i=>i&&typeof i.type==='string').map(i=>(i.id=sid(i.id),i.until=num(i.until,s.day),i.cost=num(i.cost,0),i.msg=String(i.msg||'').slice(0,400),i.fix=i.fix==null?undefined:String(i.fix).slice(0,60),i)); + s.loans=s.loans.filter(l=>l&&own(BANKS,l.bank));for(const l of s.loans){if(l.model!==undefined&&!['balloon','storm','transit','astro'].includes(l.model))delete l.model;for(const k of ['apr0','cut','share'])if(l[k]!==undefined&&!isFinite(+l[k]))delete l[k];if(!Array.isArray(l.covs))l.covs=[];l.covs=l.covs.filter(c=>own(COVS,c));}s.loanOffers=s.loanOffers.filter(l=>l&&own(BANKS,l.bank)); + s.usedNames=s.usedNames.filter(x=>typeof x==='string');s.log=s.log.filter(e=>e&&typeof e.t==='string').slice(0,LOG_KEEP).map(e=>{const o=e.o&&typeof e.o==='object'&&LOG_OPEN.includes(e.o.a)?(e.o.a==='bank'||e.o.a==='inbox'?{a:e.o.a}:typeof e.o.v==='string'&&e.o.v.length<=64&&(e.o.a!=='city'||isCity(e.o.v))&&(e.o.a!=='tab'||LOG_TABS.includes(e.o.v))?{a:e.o.a,v:e.o.v}:null):null; + return {id:typeof e.id==='string'&&e.id.length<=40?e.id:uid(),d:num(e.d,0),t:e.t.slice(0,600),h:typeof e.h==='string'?e.h.slice(0,200):'',k:LOG_KINDS.includes(e.k)?e.k:'',at:Number.isFinite(+e.at)?+e.at:0,o,n:int(e.n,1,9999,1)};}); + // One scrubbing center became a list (#117): older saves carry theirs over. + if(!Array.isArray(s.scrubs))s.scrubs=s.scrubAt&&isCity(s.scrubAt)?[{city:s.scrubAt,tier:s.scrubTier}]:[];delete s.scrubAt;delete s.scrubTier; + {const seen=new Set();s.scrubs=s.scrubs.filter(x=>x&&typeof x==='object'&&isCity(x.city)&&s.pops[x.city]&&!seen.has(x.city)&&seen.add(x.city)).map(x=>({city:x.city,tier:int(x.tier,0,SCRUB_TIERS.length-1,0)}));} + s.scrubMode=s.scrubMode==='ondemand'?'ondemand':'always'; + if(s.ev&&s.ev.ddos){const a=s.ev.ddos; + if(!a||typeof a!=='object'||!isCity(a.city)||!own(DDOS_VEC,a.vec))delete s.ev.ddos; + else{a.gbps=num(a.gbps,2);a.until=num(a.until,s.day);a.bh=!!a.bh;a.ixbh=!!a.ixbh;a.start=num(a.start,s.day); + if(!a.entry||typeof a.entry!=='object')a.entry={k:'edge',lab:''};else{a.entry.lab=String(a.entry.lab||'').slice(0,60);a.entry.id=a.entry.id==null?undefined:String(a.entry.id).slice(0,40);}}} + s.auV=s.auV===1?1:0;if(s.auNews!==true)delete s.auNews; + if(s.te){if(typeof s.te!=='object')s.te=null;else{s.te.on=!!s.te.on;s.te.script=typeof s.te.script==='string'?s.te.script.slice(0,4000):'';}} + return s;} +function migrate(s){sanitize(s); + // Older saves have one contract per broker sale: fold a carrier's alien waves on one fiber into one contract. + {const one=new Map();s.biz=s.biz.filter(b=>{if(b.type!=='wwave')return true;const k=b.link+'|'+b.name,a=one.get(k);if(!a){one.set(k,b);return true;} + a.slots=(a.slots||0)+(b.slots||0);a.rate=(a.rate||0)+(b.rate||0);a.since=Math.min(a.since??0,b.since??0);a.mood=Math.min(a.mood??100,b.mood??100);a.folded=true;return false;}); + for(const a of one.values())if(a.folded){delete a.folded;const l=s.links.find(x=>x.id===a.link);if(l)a.what=wwWhat(l,a.slots);}}if(s.scn&&s.scn.id==='stg'&&s.scn.rules&&typeof s.scn.rules==='object')s.scn.rules.local=true;for(const b of [...s.biz,...s.offers])if(Array.isArray(b.reqs))b.reqs=b.reqs.filter(k=>!REQS[k]||!REQS[k].can||(isCity(b.city)&&(!b.city2||isCity(b.city2))&&REQS[k].can(b,s)));if(s.ltv!==2){for(const l of s.links)if(l.kind==='wave'&&l.tier>=3)l.tier=Math.min(LT.length-1,l.tier+1);s.ltv=2;}if(s.dk){s.dk.m=s.dk.m||{};s.dk.add=s.dk.add||{};s.dk.ret=s.dk.ret||{};s.dk.retUsed=s.dk.retUsed||{};}s.hist=s.hist||[];s.loans=s.loans||[];s.loanOffers=s.loanOffers||[];s.loanStrikes=s.loanStrikes||0;for(const l of s.links||[])if(!l.kind)l.kind='wave'; + for(const c in s.pops){const p=s.pops[c];if(p.rgen===undefined){let g=0;const need=(i,key)=>{const k=RG.findIndex(r=>r[key]>=i);if(k>g)g=k;}; + for(const l of s.links||[])if((l.a===c||l.b===c)&&l.kind==='wave')need(l.tier,'maxLT'); + for(const t of s.transit||[])if(t.city===c)need(t.tier,'maxP');for(const x of s.pni||[])if(x.city===c)need(x.tier,'maxP');if(s.ixp&&s.ixp[c]!==undefined)need(s.ixp[c],'maxP');p.rgen=g;}}for(const b of s.biz||[])if(!b.reqs)b.reqs=BIZ_T[b.type]&&BIZ_T[b.type].div?['diverse']:[];for(const o of s.offers||[])if(!o.reqs)o.reqs=[];if(!s.lvl)s.lvl=1;s.nni=s.nni||[];s.cnLic=s.cnLic||{state:'none'};s.ev=s.ev||{};for(const l of s.links){if(!l.kind)l.kind='wave';if(l.mo===undefined)l.mo=Math.round(waveMo(l.km,l.sub,l.tier)*(l.mult||1));}for(const c in s.pops){if(!s.pops[c].routers)s.pops[c].routers=1;} + {const all=NETS.map(n=>n.id),seen=Array.isArray(s.seen)?s.seen.filter(x=>typeof x==='string'):null,fresh=seen?all.filter(id=>!seen.includes(id)):all; + if(fresh.length&&(s.day||0)>0){const g=s.grace&&s.grace.until>s.day?s.grace:{nets:[]};s.grace={until:s.day+GRACE_DAYS,nets:[...new Set(g.nets.concat(fresh))],fresh:seen?fresh.length:0};} + s.seen=all;} + // Australian pricing and peering changed in place (#148): a save that was already there gets told once. + if(s.auV!==1){if((s.day||0)>0&&Object.keys(s.pops).some(c=>CITY[c].au))s.auNews=true;s.auV=1;} + if(s.grace&&(typeof s.grace!=='object'||!isFinite(s.grace.until)||!Array.isArray(s.grace.nets)))s.grace=null;if(s.grace)s.grace.nets=s.grace.nets.filter(isNet); + return s;} diff --git a/src/game/80-simulation/60-requirements.js b/src/game/80-simulation/60-requirements.js new file mode 100644 index 0000000..5bcce50 --- /dev/null +++ b/src/game/80-simulation/60-requirements.js @@ -0,0 +1,63 @@ +const GRACE_DAYS=60; +const REQS={ + lat:{only:true,l2:true,bonus:0,l:o=>tr('One-way latency within {max} ms (best now: {best})',{max:o.latMax,best:(()=>{const v=R.l2lat[o.id]!==undefined?R.l2lat[o.id]:bestLat(o.city,o.city2);return isFinite(v)?v.toFixed(1)+' ms':tr('no path')})()}),ok:b=>(R.l2lat[b.id]!==undefined?R.l2lat[b.id]:bestLat(b.city,b.city2))<=b.latMax}, + nni:{only:true,bonus:0,l:o=>tr('Comes in over {fab}: needs your {fab} port in {city} with room for {bw}',{fab:FAB[o.prov]?FAB[o.prov].name:'?',city:CITY[o.city].name,bw:fmtG(o.bw)}),ok:b=>{const pt=nniPort(b.city,b.prov);return !!pt&&nniUsed(b.city,b.prov)<=NNI[pt.tier].g+1e-9;}}, + diverse:{l:tr('Two paths that share no trench or fabric'),bonus:.25,l2:true,can:(b,s=S)=>diversityPossible(b.city,b.city2,s),ok:b=>R.div[b.id]!==undefined?!!R.div[b.id]:diversePaths(b.city,b.city2)}, + sharks:{l:tr('Afraid of sharks: needs a path with no subsea cable'),bonus:.2,l2:true,ok:b=>terrestrialPath(b.city,b.city2),can:b=>!!b.city2&&!isSub(b.city,b.city2)}, + nocog:{l:tr('Refuses Cogentle transit anywhere on your network (long story)'),bonus:.15,ok:()=>!S.transit.some(t=>t.net==='cog')}, + ipv6:{l:tr('IPv6 or bust: you must peer with Drizzle Electric'),bonus:.1,ok:()=>Object.keys(S.ixp).some(c=>ixSessions(c).has('drz'))||S.pni.some(p=>p.net==='drz'&&pniOn(p))}, + netchill:{l:tr('Wants NetChill on-net: a cache or a PNI'),bonus:.15,ok:()=>S.caches.some(c=>c.net==='nfx')||S.pni.some(p=>p.net==='nfx'&&pniOn(p))}, + gen:{l:tr('Backup generator in every city they touch'),bonus:.15,ok:b=>[b.city,b.city2].filter(Boolean).every(c=>S.pops[c]&&S.pops[c].gen)}, + routers:{l:tr('Insists on two routers in their city'),bonus:.15,ok:b=>((S.pops[b.city]&&S.pops[b.city].routers)||1)>=2}, + local:{l:tr('Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1'),bonus:.2,ip:true,ok:b=>S.transit.some(t=>t.city===b.city)||hasIxAt(b.city)||(isTier1()&&S.pni.some(p=>p.city===b.city))}, + metro:{l:tr('Two data centers in every metro they touch'),bonus:.2,only:true,ok:b=>[b.city,b.city2].filter(Boolean).every(c=>S.pops[c]&&S.pops[c].site2)}, + twoup:{l:tr('Wants two different transit providers (or none at all)'),bonus:.15,ip:true,ok:()=>new Set(S.transit.map(t=>t.net)).size>=2||S.transit.length===0}, + china:{l:tr('Needs low-loss reach into China'),bonus:.3,ip:true,ok:()=>S.transit.some(t=>t.premium&&t.city==='hkg')||S.links.some(l=>l.premium)||S.pni.some(p=>NET[p.net].cn&&pniOn(p))}, + scrubbed:{l:tr('Will only sign with a network that runs a DDoS scrubbing center'),bonus:.15,ok:()=>hasScrub()}, + scrubnear:{l:tr('Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean'),bonus:.15,ip:true,ok:b=>S.scrubs.some(x=>CITY[x.city].reg===CITY[b.city].reg)}, + puns:{l:tr('Their CEO hates puns. Please do not mention the network names.'),bonus:.05,ok:()=>true}, +}; +function terrestrialPath(a,b){const ls=S.links.filter(l=>!linkDown(l)&&!l.sub);const adj={};for(const l of ls){(adj[l.a]=adj[l.a]||[]).push(l.b);(adj[l.b]=adj[l.b]||[]).push(l.a);}const seen=new Set([a]),q=[a];while(q.length){const u=q.shift();if(u===b)return true;for(const v of adj[u]||[])if(!seen.has(v)){seen.add(v);q.push(v);}}return false;} +const reqOk=b=>(b.reqs||[]).every(k=>REQS[k]&&REQS[k].ok(b)); +// Some requirements only make sense for some customers: nobody can reach another continent without getting wet. +const reqCan=(k,b)=>!REQS[k].can||REQS[k].can(b); +function reqList(o){return (o.reqs||[]).map(k=>{const ok=REQS[k].ok(o),lab=typeof REQS[k].l==='function'?REQS[k].l(o):REQS[k].l;return `
${ok?'✓':'✗'} ${esc(lab)}
`;}).join('');} +function diversePaths(a,b){ + const rem=remoteCities(),ok=c=>popUp(c)||rem.includes(c); + return disjointRoutes(a,b,S.links.filter(l=>!linkDown(l)&&ok(l.a)&&ok(l.b)));} +function disjointRoutes(a,b,live){const srlg=l=>l.kind==='vxc'?'fab:'+l.prov:(l.trench||l.id); + const bfs=ls=>{const adj={};for(const l of ls){(adj[l.a]=adj[l.a]||[]).push([l.b,l]);(adj[l.b]=adj[l.b]||[]).push([l.a,l]);} + const prev={[a]:null},q=[a];while(q.length){const u=q.shift();if(u===b)break;for(const [v,l] of adj[u]||[])if(!(v in prev)){prev[v]=l;q.push(v);}} + if(!(b in prev))return null;const path=[];let v=b;while(v!==a){const l=prev[v];path.push(l);v=l.a===v?l.b:l.a;}return path;}; + const p1=bfs(live);if(!p1)return false;const used=new Set(p1.map(srlg));return !!bfs(live.filter(l=>!used.has(srlg(l))));} +// Check buildable geography, not today's POPs, capacity or outages. Parallel land +// routes can use separate trenches; all segments of one cable share its risk. +let diversityMap=null; +function diversityPossible(a,b,state=S){ + if(!CITY[a]||!CITY[b]||a===b)return false; + const rules=state.scn&&state.scn.rules||{},key=JSON.stringify([!!state.won,rules]); + if(!diversityMap||diversityMap.key!==key){ + const links=[],cities=CITIES.filter(c=>!(rules.banCities||[]).includes(c.id)).map(c=>c.id); + const add=(a,b,id)=>links.push({a,b,id}); + for(let i=0;ip===c.cid+':'+a+'-'+b||p===c.cid+':'+b+'-'+a))add(a,b,'cab:'+c.cid); + if(state.won&&seaCab(a,b)&&landing(a)&&landing(b)&&!cnCity(a)&&!cnCity(b))add(a,b,'own:'+a+':'+b); + for(const f of FABS)if(f.cities.includes(a)&&f.cities.includes(b))add(a,b,'fab:'+f.id); + } + diversityMap={key,links,answers:{}}; + } + const pair=[a,b].sort().join(':'); + return diversityMap.answers[pair]??(diversityMap.answers[pair]=disjointRoutes(a,b,diversityMap.links)); +} +function fiberOk(b){const l=S.links.find(x=>x.id===b.link);if(!l)return false;if(b.type==='dfpair'||b.type==='pairs')return l.ready<=S.day&&!(l.cut>S.day);return l.ready<=S.day&&!(l.cut>S.day)&&!(l.eqDown>S.day);} +function soldSlots(l){return S.biz.filter(b=>b.type==='wwave'&&b.link===l.id).reduce((a,b)=>a+(b.slots||0),0);} +// Spare capacity other carriers can rent on a dark fiber (#51): free channels for alien waves, and on your own build +// a spare pair in the trench. Random offers and broker listings follow the same rules and the same prices. +const freeCh=l=>chMax(l)-(l.ch||[]).length-soldSlots(l),pairFree=l=>!!l.own&&S.biz.filter(b=>b.type==='dfpair'&&b.link===l.id).length<2&&!S.biz.some(b=>b.type==='pairs'&&b.link===l.id); +const wwWhat=(l,n)=>trn('{n}× 400G alien wave on your {a}–{b} fiber','{n}× 400G alien waves on your {a}–{b} fiber',n,{a:CITY[l.a].name,b:CITY[l.b].name}); +function fiberOffer(t,l,nm,cut=1){ + if(t==='wwave'){const slots=1+Math.floor(Math.random()*Math.min(4,freeCh(l))); + return {id:uid(),city:l.a,city2:l.b,link:l.id,slots,what:wwWhat(l,slots),name:nm(),type:t,bw:1,rate:Math.round(waveMo(l.km,false,2)*0.55*slots*cut),reqs:[],exp:S.day+30};} + return {id:uid(),city:l.a,city2:l.b,link:l.id,what:tr('a spare fiber pair in your {a}–{b} trench',{a:CITY[l.a].name,b:CITY[l.b].name}),name:nm(),type:t,bw:1,rate:Math.round(dfLeaseMo(l.km)*0.9*cut),reqs:[],exp:S.day+30};} diff --git a/src/game/80-simulation/70-customers-and-events.js b/src/game/80-simulation/70-customers-and-events.js new file mode 100644 index 0000000..0da63a9 --- /dev/null +++ b/src/game/80-simulation/70-customers-and-events.js @@ -0,0 +1,44 @@ +function bizSf(b){const T=BIZ_T[b.type];return T.fiber?(fiberOk(b)?1:0):T.l2?clamp((R.l2[b.id]||0)/b.bw,0,1):bizSfOf(R,b.city);} +// Protected business traffic has its own served share; without the rule it shares the city's. +function bizSfOf(r,c){const d=r.bizDem&&r.bizDem[c];return teRules()&&teRules().protect&&d>1e-6?clamp(r.bizSrv[c]/d,0,1):sfOf(r,c);} +function bCities(o){return o.sites?o.sites.slice():[o.city,o.city2].filter(Boolean);} +function bHas(o){return bCities(o).every(c=>S.pops[c]);} +function eventLive(b){return BIZ_T[b.type].event&&S.day>=b.start&&S.day=o.start;return tr('{bw} extra for {d} days, {when} · pays {fee} when it is over',{bw:fmtG(o.bw),d:o.dur,when:live?tr('day {n} of {d}',{n:S.day-o.start+1,d:o.dur}):tr('starting in {n}d',{n:o.start-S.day}),fee:fmt$(o.fee)});} + if(T.sdwan)return tr('{n} sites: {list} · {bw} per site · {price}/mo',{n:o.sites.length,list:o.sites.map(c=>CITY[c].name).join(', '),bw:fmtG(o.bw),price:fmt$(o.bw*o.rate)}); + if(T.fiber)return esc(o.what)+' · '+tr('{price}/mo',{price:fmt$(o.rate)}); + return fmtG(o.bw)+' · '+tr('{price}/mo',{price:fmt$(o.bw*o.rate)});} +// Events are paid once at the end, prorated by how much of the crowd you served. +function eventTick(b,d){if(!BIZ_T[b.type].event)return false;if(d{name} starts today!
{bw} of extra demand in {city} for {d} days.',{name:esc(b.name),bw:fmtG(b.bw),city:CITY[b.city].name,d:b.dur}),'goal',[{l:tr('Show me'),act:'focusCity',args:{city:b.city}}]);return true;} + const avg=b.srvDays?b.srv/b.srvDays:0;if(avg>=0.95)S.stats.evFull=(S.stats.evFull||0)+1;const pay=avg>=0.95?b.fee:avg>=0.7?Math.round(b.fee*avg):-Math.round(b.fee*0.2);S.cash+=pay;S.biz=S.biz.filter(x=>x!==b); + toast(pay>=0?tr('{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.',{name:esc(b.name),pay:fmt$(pay),pct:pct(avg)})+(avg>=0.95?' '+tr('Flawless.'):''):tr('{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.',{name:esc(b.name),pct:pct(avg),pay:fmt$(-pay)}),pay>=0?'good':'bad');sfx(pay>=0?'coin':'err');return true;} +/* Where the giants actually build: gigawatt AI campuses and cloud regions, mapped to the nearest city on the map. */ +const MEGA=[{c:'ash',n:'Data Center Alley'},{c:'ash',n:'Prome-the-mess Ohio'},{c:'dal',n:'Star-Gait Abilene'},{c:'dal',n:'Hyperbole Louisiana'},{c:'dal',n:'Colossal Ego Memphis'},{c:'chi',n:'Fairweather Wisconsin'},{c:'chi',n:'Project Rainy-er Indiana'},{c:'chi',n:'Cornfield Cluster Iowa'},{c:'nyc',n:'Neocloud New Jersey'},{c:'sto',n:'Star-Gait Fjord-way'},{c:'mad',n:'Aragón Mega-shed'},{c:'dub',n:'Bring-Your-Own-Power Dublin'},{c:'auh',n:'Star-Gait UAE'},{c:'ruh',n:'Desert Kingdom AI Campus'},{c:'doh',n:'Lusail Data Oasis'},{c:'kul',n:'Johor Overflow'},{c:'hyd',n:'Vizag AI Hub'},{c:'icn',n:'Ulsan AI Campus'},{c:'tok',n:'Hokkaido Snow DC'},{c:'syd',n:'Star-Gait Down Under'},{c:'syd',n:'AirDrunk Western Sydney'},{c:'mel',n:'AirDrunk Melbourne West'},{c:'mex',n:'Querétaro Cluster'},{c:'for',n:'Short-Video Ceará Campus'},{c:'scl',n:'Quilicura Region'}]; +function spawnMega(t,T,nm,mine){ + const megaMine=MEGA.filter(m=>mine.includes(m.c));if(!megaMine.length)return; + if(t==='ingest'){const m=pick(megaMine),bw=pick(T.opts),dur=3+Math.floor(Math.random()*4),start=S.day+10+Math.floor(Math.random()*12); + S.offers.push({id:uid(),city:m.c,city2:null,name:tr('{name} at {site}',{name:nm(),site:m.n}),type:t,bw,rate:0,reqs:[],start,dur,fee:Math.round(bw*dur*55),exp:start-2,mega:true});return;} + if(t==='aiwan'||t==='agi'){const a=pick(megaMine),others=MEGA.filter(m=>m.c!==a.c&&(Math.random()<0.7?mine.includes(m.c):true));if(!others.length)return;const b=pick(others);if(!reqCan('diverse',{city:a.c,city2:b.c}))return;const km=kmBetween(a.c,b.c),bw=pick(T.opts); + const reqs=['diverse'];if(Math.random()<0.4)reqs.push('metro'); + S.offers.push({id:uid(),city:a.c,city2:b.c,name:`${nm()}: ${a.n} ⇄ ${b.n}`,type:t,bw,rate:Math.round((150+km*0.08)*T.km),reqs,exp:S.day+45,mega:true});return;} + if(t==='mtrain'){const hub=pick(megaMine),reg=CITY[hub.c].reg,pool=[...new Set(MEGA.filter(m=>m.c!==hub.c&&CITY[m.c].reg===reg).map(m=>m.c))];if(pool.length<2)return; + const sites=[hub.c];while(sites.lengthx+kmBetween(hub.c,c),0)/(sites.length-1),bw=pick(T.opts); + S.offers.push({id:uid(),city:hub.c,city2:null,sites,name:tr('{name} (hub: {site})',{name:nm(),site:hub.n}),type:t,bw,rate:Math.round((150+avg*0.08)*0.6),reqs:[],exp:S.day+45,mega:true});return;} + if(t==='pairs'){const ls=S.links.filter(l=>l.kind==='df'&&l.own&&l.ready<=S.day&&!S.biz.some(b=>(b.type==='pairs'||b.type==='dfpair')&&b.link===l.id)&&!S.offers.some(o=>o.link===l.id));if(!ls.length)return;const l=pick(ls),n=100+50*Math.floor(Math.random()*7); + S.offers.push({id:uid(),city:l.a,city2:l.b,link:l.id,what:tr('{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it',{n,a:CITY[l.a].name,b:CITY[l.b].name}),name:nm(),type:t,bw:1,rate:Math.round(dfLeaseMo(l.km)*n*0.2),reqs:[],exp:S.day+30,mega:true});} +} +function spawnSpecial(t){const T=BIZ_T[t],mine=Object.keys(S.pops),lv=S.lvl||1; + const nm=()=>{const list=T.names.filter(n=>!S.usedNames.includes(n));const n=list.length?pick(list):pick(T.names);S.usedNames.push(n);return n;}; + if(T.mega){spawnMega(t,T,nm,mine);return;} + if(T.event){const city=Math.random()<0.85&&mine.length?pick(mine):pick(ALLC);const bw=pick(T.opts.slice(0,Math.min(T.opts.length,lv+2)));const dur=3+Math.floor(Math.random()*5),start=S.day+12+Math.floor(Math.random()*14); + S.offers.push({id:uid(),city,city2:null,name:tr('{name} in {city}',{name:nm(),city:CITY[city].name}),type:t,bw,rate:0,reqs:[],start,dur,fee:Math.round(bw*dur*70),exp:start-2});return;} + if(T.sdwan){const hub=pick(mine),n=3+Math.floor(Math.random()*4),pool=(Math.random()<0.85?mine:ALLC).filter(c=>c!==hub),sites=[hub]; + while(sites.lengthl.kind==='df'&&l.ready<=S.day); + if(t==='wwave'){const ls=ready.filter(l=>freeCh(l)>=1&&!S.offers.some(o=>o.link===l.id));if(!ls.length)return;S.offers.push(fiberOffer(t,pick(ls),nm));return;} + if(t==='dfpair'){const ls=ready.filter(l=>pairFree(l)&&!S.offers.some(o=>o.link===l.id));if(!ls.length)return;S.offers.push(fiberOffer(t,pick(ls),nm));} +} diff --git a/src/game/80-simulation/80-geography-and-latency.js b/src/game/80-simulation/80-geography-and-latency.js new file mode 100644 index 0000000..e092e55 --- /dev/null +++ b/src/game/80-simulation/80-geography-and-latency.js @@ -0,0 +1,39 @@ +function cnOk(){return S.cnLic&&S.cnLic.state==='ok';} +function regionMult(c){const C=CITY[c];if(!C||C.cn)return 1;if(C.kr)return KR_TRANSIT;if(C.au)return AU_TRANSIT;if(C.tape)return 1.5;return C.reg==='AS'?2.5:C.reg==='AF'?2:C.reg==='OC'?1.8:C.reg==='SA'?1.6:1;} +const uaePair=(a,b)=>!!CITY[a].uae&&!!CITY[b].uae; +const rainPair=(a,b)=>!!(CITY[a].rain||CITY[b].rain); +const borderPair=(a,b)=>!!CITY[a].cc&&!!CITY[b].cc&&CITY[a].cc!==CITY[b].cc; +// Perth to the east coast: the sea route round the south coast is domestic (AU_WAVE.ew), and the Nullarbor +// fiber costs a little more again because the incumbents own it. +const NULLARBOR=1.7,nullPair=(a,b)=>!!CITY[a].au&&!!CITY[b].au&&(a==='per')!==(b==='per'); +const andesPair=(a,b)=>!!CITY[a].andes&&!!CITY[b].andes&&CITY[a].andes!==CITY[b].andes; +/* Overland between continents (Europe to the Middle East and Asia) crosses a dozen borders and as many + carriers, each taking a cut: in real life it costs ten times the subsea route or more (#40). */ +const LAND_X=45,landX=(a,b)=>!isSub(a,b)&&CITY[a].reg!==CITY[b].reg; +function landMult(a,b){if(isSub(a,b))return 1;if(uaePair(a,b))return 3;return (landX(a,b)?LAND_X:1)*(andesPair(a,b)?2:1)*(nullPair(a,b)?NULLARBOR:1)*(rainPair(a,b)?2:1)*(borderPair(a,b)?2:1);} +function landWhy(a,b){if(isSub(a,b))return '';if(uaePair(a,b))return tr('Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.'); + const r=[];if(CITY[a].reg!==CITY[b].reg)r.push(tr('Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.',{x:LAND_X}));if(andesPair(a,b))r.push(tr('This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.'));if(nullPair(a,b))r.push(tr('This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.',{x:NULLARBOR}));if(borderPair(a,b))r.push(tr('This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.'));if(rainPair(a,b))r.push(tr('This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.'));return r.join(' ');} +function linkLat(l){const f=l.kind==='df'?(l.own?(l.sub?seaLatencyFactor(l):1.1):1.25):l.kind==='vxc'?1.4:l.cable?(CAB[l.cable].lat||1):1.3;return l.km*f/200;} +/* Wave prices differ a lot by market (TeleGeography): Europe's dense, competitive metro and + long-haul routes are cheap (Frankfurt–London 100G ≈ $1,150/mo), the US costs more, and + routes into Africa are several times dearer (Africa–Europe ≈ 5.9× London–New York). + Each route also gets its own market mood, and new leases get cheaper every year (~8%). */ +const WAVE_LAND={EU:0.65,AM:1,SA:1.6,AS:1.4,OC:1.2,AF:2.2},WAVE_SUB={EU:0.8,AM:1,SA:2,AS:1.5,OC:1.5,AF:4.5}; +const WAVE_NAME={EU:tr('Europe'),AM:tr('North America'),SA:tr('South America'),AS:tr('Asia'),OC:tr('Oceania'),AF:tr('Africa')}; +function waveMarket(a,b,sub){const ra=CITY[a].reg,rb=CITY[b].reg,T=sub?WAVE_SUB:WAVE_LAND,au=sub?AU_WAVE.sub:AU_WAVE.land; + const fa=CITY[a].au?au:(T[ra]||1),fb=CITY[b].au?au:(T[rb]||1),reg=sub&&nullPair(a,b)?AU_WAVE.ew:sub?Math.max(fa,fb):(fa+fb)/2; + const key=a1.03?tr('{where}: {lvl}. This route is {p}% above the going rate{since}.',{where,lvl,p:Math.round((k.mood-1)*100),since}):tr('{where}: {lvl}. This route is right at the going rate{since}.',{where,lvl,since});} +function waveRoute(a,b,mult,border){const cabs=cablesOk(a,b),sub=isSub(a,b);let via=UI.via; + if(!cabs.find(c=>c.cid===via))via=sub?(cabs[0]?cabs[0].cid:null):(via==='land'||!via?'land':'land'); + if(!via)return null;const bf=border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1; + if(via==='land')return {via,cabs,cab:null,km:kmBetween(a,b),sub:false,wm:mult*landMult(a,b)*waveMarket(a,b,false).m}; + const c=cabs.find(x=>x.cid===via);return {via,cabs,cab:via,km:c.km,sub:true,wm:bf*CAB[via].price*waveMarket(a,b,true).m};} +function viaSeg(a,b){const cabs=cablesOk(a,b),sub=isSub(a,b);if(!cabs.length)return landMult(a,b)>1?`

${landWhy(a,b)}

`:'';const wr=waveRoute(a,b,1,false); + const opts=(sub?[]:[{v:'land',l:`${tr('Overland')} ${landMult(a,b)>1?landMult(a,b)+'× · ':''}${(kmBetween(a,b)*1.3/200).toFixed(1)} ms`}]).concat(cabs.map(c=>({v:c.cid,l:`${esc(CAB[c.cid].name)} ${CAB[c.cid].price}× · ${(c.km*(CAB[c.cid].lat||1)/200).toFixed(1)} ms${CAB[c.cid].age==='old'?' · '+tr('old, cuts often'):''}`}))); + return `

${tr('Route')}

${opts.map(o=>btn(o.l,'via',{v:o.v},wr&&wr.via===o.v?'pink':'ghost')).join('')}
${wr&&wr.cab?`

${esc(CAB[wr.cab].blurb)} ${tr('All your waves on one cable share its fate when it is cut.')}

`:''}`;} +function bestLat(a,b){const ls=S.links.filter(l=>!linkDown(l));const dist={[a]:0},done=new Set();for(;;){let u=null,ud=Infinity;for(const k in dist)if(!done.has(k)&&dist[k]${tr('Route:')}${Object.keys(RT).map(m=>btn(RT[m],'setRoute',{id:b.id,m},(b.route||'normal')===m?'pink sm':'ghost sm')).join('')}
${tr('Path latency: {lat}',{lat:lt!==undefined&&isFinite(lt)?tr('{ms} ms one-way',{ms:lt.toFixed(1)}):tr('no path right now')})}${b.route==='scenic'&&R.l2split&&R.l2split[b.id]?' · '+tr('split over two equally quiet paths'):''}${b.latMax?' · '+tr('budget {ms} ms',{ms:b.latMax}):''}
`;} +function nodeCap(c){const p=S.pops[c];if(!p)return Infinity;const eff=(p.routers||1)-(p.rdown>S.day?1:0);return RG[p.rgen||0].cap*Math.max(1,eff)*(p.hot>S.day?(p.site2?0.75:0.5):1)*(p.site2&&(siteDown(c,'a')||siteDown(c,'b'))?0.5:1);} +// With a second site, one building can be dark (or cut off by a ring cut) while the other carries on. +function siteDown(c,s){const p=S.pops[c];if(!p||!p.site2)return false;if(S.inc.some(i=>i.type==='site'&&i.ref===c&&i.site===s&&i.until>S.day))return true;return s==='b'&&p.ringcut>S.day;} +// Ports can live in site A, site B, or be split across both ('ab'): a LAG with members in each +// building, so one dark building only takes out its half. +function liveN(c,site,n){n=n||1;const p=S.pops[c];if(!p||!p.site2)return n;if(site==='ab'){const a=Math.ceil(n/2),b=n-a;return (siteDown(c,'a')?0:a)+(siteDown(c,'b')?0:b);}return siteDown(c,site==='b'?'b':'a')?0:n;} +// Your own IX is a switch, not a port: it lives in building A or B, or in both with a second switch (#36). +const myIxLive=c=>{const ct=ixCity(c),st=(S.ixSite||{})[c]||'a';return st==='ab'?!(siteDown(ct,'a')&&siteDown(ct,'b')):!siteDown(ct,st);}; +const liveCap=(g,c,site,n)=>{const k=liveN(c,site,n);return k?lagCap(g,k):0;}; +const onSite=(site,s)=>(site||'a')===s||site==='ab'; +function siteCtl(k,id,c,cur){const p=S.pops[c];if(!p||!p.site2)return '';cur=cur||'a';const n=k==='t'?(S.transit.find(x=>x.id===id)||{}).n:k==='p'?(S.pni.find(x=>x.id===id)||{}).n:(S.ixn||{})[id];return `
${tr('Site:')}${['a','b'].map(x=>btn(`${x.toUpperCase()} ${esc(siteName(c,x))}`,'siteSet',{k,id,s:x},cur===x?'pink sm':'ghost sm')).join('')}${btn(k==='ix'&&S.myIx[id]?tr('Both a second switch, +{price}/mo',{price:fmt$(Math.round(myFab(id).mo/2))}):(n||1)<2?tr('Both adds a LAG member'):tr('Both split the LAG'),'siteSet',{k,id,s:'ab'},cur==='ab'?'pink sm':'ghost sm')}
`;} +function portOk(c,i){const p=S.pops[c];return i<=RG[p?(p.rgen||0):0].maxP;} +function waveOk(a,b,i){return [a,b].every(c=>i<=RG[S.pops[c]?(S.pops[c].rgen||0):0].maxLT);} +function waveNeed(i){const g=RG.find(r=>r.maxLT>=i);return g?tr('{pn} routers',{pn:g.pn}):'?';} +function routerModels(c){const p=S.pops[c],g=p.rgen||0,rt=p.routers||1; + return `
${RG.map((M,i)=>{if(i===g)return '';const why=modelFits(c,i),lk=M.lvl>lvl(); + return `
${esc(M.n)} ${M.pn} · ${tr('{n} ports',{n:M.ports})} · ${fmtG(M.cap)} · ${tr('boots in ~{n} min',{n:M.boot})}${M.flaky?' · '+tr('crashes more'):''}
${esc(M.blurb)}
${why?`
${esc(why)}
`:''}
${btn(lk?tr('Level {n}',{n:M.lvl}):tr('Swap {cost} + {mo}/mo',{cost:fmt$(swapCost(c,i)),mo:fmt$(M.mo*rt)}),'upRouter',{city:c,g:i},'sm',lk||!!why||S.cash`;}).join('')}
`;} +function portNote(c){const p=S.pops[c];if(!p)return '';const g=p.rgen||0;return RG[g].maxP${tr('Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).',{model:esc(RG[g].n),pn:RG[g].pn})}

`:'';} +// Service: what you deliver, times how it feels. Traffic backhauled far to transit is slow, and users notice. +const latSlow=c=>!!(R&&R.latF&&R.latF[c]<0.97&&R.latFar[c]); +function latNote(c){if(!latSlow(c))return '';const f=R.latFar[c];return `
🐢 ${tr('{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.',{p:pct(Math.min(1,f.share)),city:esc(CITY[c].name),to:esc(CITY[f.to].name),ms:Math.round(f.ms)})}
`;} +const LAT_OK=20,LAT_BAD=50,latLoss=rtt=>rtt<=LAT_OK?0:rtt<=LAT_BAD?0.2*(rtt-LAT_OK)/(LAT_BAD-LAT_OK):0.5; +function sfOf(r,c){const d=r.cityDem[c]||0;return d<=1e-6?1:clamp(r.citySrv[c]/d,0,1)*((r.latF&&r.latF[c])??1);} + diff --git a/src/game/85-incidents/10-incidents-and-ddos.js b/src/game/85-incidents/10-incidents-and-ddos.js new file mode 100644 index 0000000..bc01641 --- /dev/null +++ b/src/game/85-incidents/10-incidents-and-ddos.js @@ -0,0 +1,82 @@ +/* ---------- failures & events ---------- */ +// A few badges read the incident text: callers whose message mentions a shark, anchor, crocodile or llama pass its English as en. +function addInc(o,en=o.msg||''){if(S.loans&&S.loans.some(l=>(l.covs||[]).includes('pizza'))){S.cash-=COVS.pizza.each;S.stats.pizza=(S.stats.pizza||0)+1;}o.id=uid();o.start=S.day;S.inc.push(o);S.stats.incidents++;S.stats.by=S.stats.by||{};S.stats.by[o.type]=(S.stats.by[o.type]||0)+1;if(/shark/i.test(en))S.stats.sharks=(S.stats.sharks||0)+1;const f=S.stats.f=S.stats.f||{};if(/anchor/i.test(en))f.anchor=1;if(/crocodile/i.test(en))f.croc=1;if(/beaver/i.test(en))f.beaver=1;if(/llama/i.test(en))f.llama=1;} +const HARMLESS=[ + [tr('Certificate expired'),tr('The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.')], + [tr('It was DNS'),tr('Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.')], + [tr('Leap second'),tr('A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.')], + [tr('Change freeze'),tr('Management declared a change freeze. Someone made a change to announce the change freeze.')], + [tr('Ticket of the week'),tr('A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.')], + [tr('Monitoring'),tr('Your monitoring system went down. You found out because nothing alerted. Very peaceful week.')], + [tr('Load-bearing typo'),tr('Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.')], + [tr('IPv6 milestone'),tr('Your IPv6 traffic grew 400%. From one packet to five.')], + [tr('Mystery link'),tr('You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.')], + [tr('Spreadsheet IPAM'),tr('Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.')], + [tr('Goose incident'),tr('A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.')], + [tr('Latency test'),tr('A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.')], + [tr('Zombie route'),tr('A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.')], + [tr('Auditor visit'),tr('An auditor asked for a network diagram. You sent the game map. They approved it.')], + [tr('Open to work'),tr('Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.')], + [tr('Hold music'),tr('Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.')], + [tr('Naming committee'),tr('A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.')], + [tr('Vendor TAC'),tr('Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.')], +]; +function lagsN(){const o=[];for(const t of S.transit)if((t.n||1)>=2&&!(t.down>S.day))o.push({k:'t',id:t.id,o:t,n:t.n,lab:tr('{name} transit LAG in {city}',{name:NET[t.net].name,city:CITY[t.city].name})}); + for(const p of S.pni)if((p.n||1)>=2)o.push({k:'p',id:p.id,o:p,n:p.n,lab:tr('PNI LAG with {name} in {city}',{name:NET[p.net].name,city:CITY[p.city].name})}); + for(const x in S.ixp){const n=(S.ixn||{})[x]||1;if(n>=2&&!S.myIx[x])o.push({k:'ix',id:x,n,lab:ixNamesCity(x)?tr('{ix} LAG',{ix:ixName(x)}):tr('{ix} LAG in {city}',{ix:ixName(x),city:CITY[ixCity(x)].name})});}return o;} +// Where the junk comes in: one of the city's live uplinks, or just "the edge" if it has none yet. +function ddosEntry(c){const o=[]; + for(const t of S.transit)if(t.city===c&&!(t.down>S.day))o.push({k:'t',id:t.id,lab:tr('{net} transit',{net:NET[t.net].name})}); + for(const x of ixIdsIn(c))if(S.ixp[x]!==undefined)o.push({k:'ix',id:x,lab:tr('{ix} peering',{ix:ixName(x)})}); + for(const p of S.pni)if(p.city===c)o.push({k:'p',id:p.id,lab:tr('PNI with {net}',{net:NET[p.net].name})}); + return o.length?pick(o):{k:'edge',lab:''};} +// Flowspec capability of the router in a city: 0 none, 1 basic, 2 full. The flood is filtered where the +// victim POP's own router has the TCAM for it. +const fsAt=c=>{const p=S.pops[c];return p?(RG[p.rgen||0].fs||0):0;}; +// Scrubbing residual for an attack: clean up to the center's capacity (to 15%), overflow leaks. On-demand +// does nothing for the first couple of days while traffic is being diverted. +function scrubEngaged(atk){return hasScrub()&&(S.scrubMode==='always'||(S.day-(atk.start||S.day))>=SCRUB_DELAY);} +// Several centers (#117): the flood goes to the nearest working one, and what it cannot take spills to the next. +// A center in another city only helps if the backbone can carry the flood there; routing works that out. +const scrubFar=c=>{const a=S.ev&&S.ev.ddos;return a&&a.until>S.day&&a.city===c&&(R.haul||[]).find(q=>q.city===c&&q.ms!==null&&q.ms>=SCRUB_FAR_MS)||null;}; +function scrubPlan(atk){if(!scrubEngaged(atk))return null;const c=atk.city;let g=atk.gbps||0;const parts=[]; + for(const x of S.scrubs.filter(x=>popUp(x.city)&&(x.city===c||pathExists(c,x.city))).sort((a,b)=>(a.city===c?0:kmBetween(c,a.city))-(b.city===c?0:kmBetween(c,b.city)))){if(g<=0)break;const a=Math.min(g,SCRUB_TIERS[x.tier||0].g);parts.push({city:x.city,tier:x.tier||0,a});g-=a;} + return parts.length?{parts,leak:g}:null;} +// What still lands on the city if every haul gets through: 15% of what is scrubbed, plus whatever no center can take. +const scrubIdeal=p=>p?p.parts.reduce((s,x)=>s+x.a*0.15,0)+p.leak:Infinity; +// The NOC's live attack view: what is hitting you, what each tool would do about it right now, and the buttons. +function ddosPanel(){ + const a=S&&S.ev&&S.ev.ddos;if(!a||a.until<=S.day||!S.pops[a.city])return ''; + const V=DDOS_VEC[a.vec]||{n:'?',fs:false},cap=fsAt(a.city),model=RG[(S.pops[a.city].rgen||0)].n,en=a.entry||{}; + const cleanT=en.k==='t'?S.transit.find(x=>x.id===en.id):null, sacP=en.k==='p'?S.pni.find(x=>x.id===en.id):null; + let mult=1; + if(V.fs&&cap)mult=Math.min(mult,FS_RES[cap]); + if(cleanT&&cleanT.clean)mult=Math.min(mult,0.1); + if(a.ixbh&&hasIxAt(a.city))mult=Math.min(mult,0.5); + const sp=scrubPlan(a),useS=!!sp&&scrubIdeal(sp)(R.haul||[]).find(q=>q.city===a.city&&q.to===x.city); + let land=a.bh?0:useS?sp.parts.reduce((t,x)=>{const q=x.city===a.city?null:hl(x);return t+x.a*0.15+(q?(q.a-q.h)*0.85:0);},sp.leak):a.gbps*mult; + if(sacP&&sacP.sacrif)land=Math.min(land,liveCap(PORT[sacP.tier].g,sacP.city,sacP.site,sacP.n)*0.9); + land=Math.round(land); + const fsLine=!V.fs?'— '+tr('Flowspec cannot catch an {vec} (application layer)',{vec:esc(V.n)}) + :cap>=2?'✓ '+tr('Flowspec on your {model} is dropping {vec} at the edge',{model:esc(model),vec:esc(V.n)}) + :cap===1?'~ '+tr('Flowspec on your {model} trims {vec}, but its TCAM is small',{model:esc(model),vec:esc(V.n)}) + :'— '+tr('Your {model} here has no Flowspec TCAM',{model:esc(model)}); + const scrOne=x=>{const T=SCRUB_TIERS[x.tier],q=x.city===a.city?null:hl(x); + return q&&q.h')+(sp.leak>0.5?'
~ '+tr('Your scrubbing centers are full: {g} leaks past',{g:fmtG(sp.leak)}):''); + const entryLine=cleanT&&cleanT.clean?'✓ '+tr('{net} is scrubbing it upstream (clean-pipe)',{net:esc(NET[cleanT.net].name)}) + :sacP&&sacP.sacrif?'✓ '+tr('Contained on your sacrificial {net} PNI',{net:esc(NET[sacP.net].name)}):''; + let h=`
+
🚨 ${tr('Live attack: {city}',{city:esc(CITY[a.city].name)})}
+
${tr('{size} · {vec}{entry} · {n}d left',{size:fmtG(a.gbps),vec:esc(V.n),entry:a.entry&&a.entry.lab?' · '+esc(a.entry.lab):'',n:a.until-S.day})}
+
${a.bh?tr('Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.',{city:esc(CITY[a.city].name)}):tr('Reaching your network: {g}',{g:fmtG(land)})}
+
${scrLine}
+
${fsLine}
${entryLine?`\n
${entryLine}
`:''} +
${a.bh?btn(tr('Stop blackholing'),'unrtbh',{},'ghost sm'):btn(tr('Blackhole the target (RTBH)'),'rtbh',{},'red sm')}${hasIxAt(a.city)&&!a.bh?btn(a.ixbh?tr('IX blackhole on ✓'):tr('IX blackhole ~half honour it'),'ixbh',{},a.ixbh?'green sm':'sm'):''}${btn(tr('HackBack 3000™ $20k'),'hackback',{},'sm',S.cash<20000)}
+

${tr('RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.')}

`; + return h;} diff --git a/src/game/85-incidents/20-failures.js b/src/game/85-incidents/20-failures.js new file mode 100644 index 0000000..bede744 --- /dev/null +++ b/src/game/85-incidents/20-failures.js @@ -0,0 +1,161 @@ +function fireFailure(){ + const opts=[]; + const live=S.links.filter(l=>l.kind!=='vxc'&&!linkDown(l));const fabsUsed=[...new Set(S.links.filter(l=>l.kind==='vxc').map(l=>l.prov))]; + if(live.length){opts.push(['cut',2+Math.min(6,live.length/2)]);} + if(Object.keys(S.pops).length)opts.push(['crash',3],['power',2]); + if(Object.values(S.pops).some(p=>p.site2))opts.push(['ring',1.2]); + if(S.transit.some(t=>!(t.down>S.day)))opts.push(['transit',3]); + if(Object.keys(S.ixp).length)opts.push(['ixloop',2]); + if(S.transit.length&&S.day>60)opts.push(['leak',2]); + if(S.day>40&&!scnRule('ddos'))opts.push(['ddos',2]); // Flood Season brings its own + if(fabsUsed.length)opts.push(['fabric',1.5]); + const lit=S.links.filter(l=>l.kind==='df'&&dfCap(l)>0&&!linkDown(l));if(lit.length)opts.push(['amp',1.5+lit.length*0.3],['optic',1.5+lit.length*0.3]); + opts.push(['funny',4]); + if(!opts.length)return; + let tot=opts.reduce((a,o)=>a+o[1],0),r=Math.random()*tot,type=opts[0][0]; + for(const o of opts){r-=o[1];if(r<=0){type=o[0];break;}} + if(type==='funny'){const f=['oops','cleaner','harmless','harmless','harmless','ac'];if(live.length)f.push('fatwave','fatwave','mtu','label','loss','loss');if(lagsN().length)f.push('lacp','lacp');if(R.demand>1)f.push('pmtud');if(Object.keys(S.ixp).length)f.push('maxpfx');if(S.transit.length)f.push('prepend');if(S.day>30)f.push('rpki');if(lit.length)f.push('roadmff');type=pick(f);} + const before=R.served; + if(type==='harmless'){const m=pick(HARMLESS);S.stats.incidents++;S.stats.survived++;toast(`${m[0]}
${m[1]}`,'goal');sfx('alert');return;} + if(type==='ring'){const cs=Object.keys(S.pops).filter(c=>S.pops[c].site2),c=pick(cs),pp=S.pops[c],dur=2+Math.floor(Math.random()*3);pp.ringcut=S.day+dur; + addInc({type,ref:c,until:pp.ringcut,msg:pick([tr('A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.',{city:CITY[c].name}),tr('Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.',{city:CITY[c].name,siteB:siteName(c,'b'),siteA:siteName(c,'a')}),tr('A tram line construction project in {city} found your metro ring. Both halves of it.',{city:CITY[c].name})]),cost:3000,fix:tr('Splice it tonight')});} + else if(type==='ac'){const c=pick(Object.keys(S.pops)),pp=S.pops[c];pp.hot=S.day+2; + addInc({type,ref:c,until:pp.hot,msg:CITY[c].lux&&Math.random()<0.7?tr('A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.',{dc:siteName(c,'a'),city:CITY[c].name}):pick([tr('The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.',{dc:siteName(c,'a'),city:CITY[c].name}),tr('Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.',{city:CITY[c].name}),tr('The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.',{city:CITY[c].name})]),cost:2000,fix:tr('Buy 40 desk fans')}); + }else if(type==='fatwave'||type==='label'){ + const l=pick(live),dur=1+Math.floor(Math.random()*2),A=CITY[l.a].name,B=CITY[l.b].name,W=pick(WAVECO);l.cut=Math.max(l.cut||0,S.day+dur); + const msg=type==='label'?pick([tr('Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.',{dc:siteName(l.a,'a'),a:A,b:B}),tr('A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.',{a:A,b:B}),tr('A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.',{a:A,b:B})]) + :l.kind==='df'?pick([tr('The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.',{a:A,b:B}),tr('A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.',{b:B})]) + :pick([tr('{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.',{co:W,a:A,b:B}),tr("{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.",{co:W,a:A,b:B}),tr('{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.',{co:W,a:A,b:B}),tr('An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.',{co:W,a:A,b:B}),tr('{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.',{co:W,a:A,b:B})]); + addInc({type,ref:l.id,until:l.cut,msg,cost:1500,fix:tr('Bribe their NOC with donuts')}); + }else if(type==='lacp'){ + const g=pick(lagsN()),n=g.n,dur=1+Math.floor(Math.random()*3),v=Math.floor(Math.random()*4); + const f=v===0?Math.max(0.3,1.4/n):v===3?0:(n-1)/n,until=S.day+(v===3?1:dur),lab=g.lab; + if(g.k==='ix'){S.ev.ixlacp=S.ev.ixlacp||{};S.ev.ixlacp[g.id]={until,f};}else g.o.lacp={until,f}; + const msg=[N_('Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.'), + N_('LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.'), + N_('One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.'), + N_('Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.')][v]; + addInc({type,ref:g.k+':'+g.id,until,msg:tr(msg,{lab}),cost:600,fix:tr('Fix the LACP config')},msg); + }else if(type==='loss'){ + const deep=l=>[l.a,l.b].every(c=>S.pops[c]&&/deep-buffer/.test(RG[S.pops[c].rgen||0].chip)); + const l=pick(live),v=Math.floor(Math.random()*3); + if(v===1&&deep(l)){S.stats.incidents++;S.stats.survived++;toast(tr('Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.',{a:CITY[l.a].name,b:CITY[l.b].name}),'goal');return;} + const f=[0.6,0.8,0.7][v],dur=2+Math.floor(Math.random()*3);l.loss={until:S.day+dur,f}; + const msg=[N_('A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.'), + N_('Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.'), + N_('CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.')][v]; + addInc({type,ref:l.id,until:l.loss.until,msg:tr(msg,{a:CITY[l.a].name,b:CITY[l.b].name}),cost:900,fix:[tr('Clean the connector'),tr('Rate-limit the bursts'),tr('Swap the optic')][v]},msg); + }else if(type==='pmtud'){ + const top=NETS.filter(n=>(R.demTo[n.id]||0)>0.5).sort((a,b)=>(R.demTo[b.id]||0)-(R.demTo[a.id]||0)).slice(0,8),n=pick(top.length?top:NETS),dur=2+Math.floor(Math.random()*3); + S.ev.pmtud={net:n.id,until:S.day+dur,f:0.6}; + const msg=hasScrub()&&Math.random()<0.5?N_('Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.') + :pick([N_('Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.'), + N_('A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.')]); + addInc({type,ref:n.id,until:S.ev.pmtud.until,msg:tr(msg,{net:n.name}),cost:500,fix:tr('Clamp the MSS to 1360')},msg); + }else if(type==='mtu'){ + const l=pick(live);l.deg=S.day+3;addInc({type,ref:l.id,until:l.deg,msg:tr('MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.',{a:CITY[l.a].name,b:CITY[l.b].name}),cost:800,fix:tr('Set MTU 9216 everywhere')}); + }else if(type==='oops'||type==='cleaner'){ + const c=pick(Object.keys(S.pops)),pp=S.pops[c],C=CITY[c].name; + if(type==='cleaner'&&pp.site2&&(pp.routers||1)<2){S.stats.survived++;addInc({type:'site',ref:c,site:'a',until:S.day+1,msg:tr('The cleaner unplugged everything at {siteA}.',{siteA:siteName(c,'a')}),cost:0});toast(tr('Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.',{city:C,siteA:esc(siteName(c,'a')),siteB:esc(siteName(c,'b'))}),'good');sfx('alert');return;} + if(type==='cleaner'&&(pp.routers||1)>=2){S.stats.incidents++;S.stats.survived++;toast(tr('Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.',{city:C,dc:siteName(c,'a')}),'good');sfx('alert');return;} + pp.down=Math.max(pp.down||0,S.day+1); + const msg=type==='cleaner'?tr('The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.',{dc:siteName(c,'a')}):pick([tr('Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.',{city:C}),tr('An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.',{city:C}),tr('Someone ran “reload” on the {city} router, thinking it was their laptop terminal.',{city:C}),tr('A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.',{city:C}),tr('Someone committed a config in {city} with “commit confirmed 1” and went to lunch.',{city:C}),tr('Someone deployed to {city} on a Friday at 16:59.',{city:C}),tr('A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.',{city:C}),tr('An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.',{city:C})]); + addInc({type,ref:c,until:pp.down,msg:msg+(type==='oops'&&(pp.routers||1)>=2?' '+tr('Automation pushed it to every router, so redundancy did not help.'):''),cost:1500,fix:type==='oops'?tr('Roll back the config'):tr('Hide the vacuum')}); + }else if(type==='maxpfx'){ + const c=pick(Object.keys(S.ixp));S.ev.ixdown=S.ev.ixdown||{};S.ev.ixdown[c]=Math.max(S.ev.ixdown[c]||0,S.day+1+Math.floor(Math.random()*2)); + addInc({type,ref:c,until:S.ev.ixdown[c],msg:ixNamesCity(c)?tr('A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.',{ix:ixName(c)}):tr('A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.',{ix:ixName(c),city:CITY[ixCity(c)].name}),cost:0}); + }else if(type==='prepend'){ + const t=pick(S.transit);t.down=Math.max(t.down||0,S.day+2);addInc({type,ref:t.id,until:t.down,msg:tr('{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.',{net:NET[t.net].name,n:30+Math.floor(Math.random()*60),city:CITY[t.city].name}),cost:0}); + }else if(type==='rpki'){ + S.ev.rpki={until:S.day+3,nets:NETS.map(n=>n.id).filter(()=>Math.random()<0.5)};addInc({type,ref:'rpki',until:S.day+3,msg:tr('Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.'),cost:1000,fix:tr('Renew the ROA')}); + }else if(type==='amp'||type==='roadmff'){ + const l=pick(lit),A=CITY[l.a].name,B=CITY[l.b].name,dur=type==='roadmff'?1:(l.spares?1:2+Math.floor(Math.random()*3));l.eqDown=S.day+dur; + const msg=type==='roadmff'?tr('You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.',{a:A,b:B}):pick([tr('An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.',{a:A,b:B}),tr('Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.',{a:A,b:B}),tr('A firmware bug in the {sys} at {a} set every channel to “maintenance”.',{sys:DF_SYS[l.sys].n,a:A}),tr('Lightning hit an amp site on {a}–{b}. The surge protector was decorative.',{a:A,b:B})]); + addInc({type,ref:l.id,until:l.eqDown,msg:msg+(type==='amp'&&l.spares?' '+tr('Your spares kit gets it back tomorrow.'):''),cost:type==='amp'&&!l.spares?AMP_COST:0,fix:tr('Truck a spare amp out')}); + }else if(type==='optic'){ + const l=pick(lit),A=CITY[l.a].name,B=CITY[l.b].name,o=pick(l.ch),dur=l.spares?1:4;l.chFail={n:1,o,until:S.day+dur}; + addInc({type,ref:l.id,until:S.day+dur,msg:pick([tr('A {optic} on {a}–{b} overheated and is now a very expensive keychain.',{optic:OPT[o].n,a:A,b:B}),tr('The laser in a {optic} on {a}–{b} died. One channel dark.',{optic:OPT[o].n,a:A,b:B}),tr('A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.',{optic:OPT[o].n,a:A,b:B})])+(l.spares?' '+tr('Swapped from your spares kit by tomorrow.'):''),cost:l.spares?0:OPT[o].cost,fix:tr('Buy a replacement')}); + }else if(type==='cut'){ + const mon=Math.floor((S.day%365)/30.42),monsoon=mon>=5&&mon<=8,tw=x=>x.sub&&(x.a==='tpe'||x.b==='tpe'||['clion','balt'].includes(x.cable)),vn=x=>x.sub&&(x.a==='sgn'||x.b==='sgn'),inl=x=>!x.sub&&(CITY[x.a].india||CITY[x.b].india); + const l=pick(live.flatMap(x=>{const w=(x.cable&&CAB[x.cable].age==='old'?3:1)*(x.cable&&CAB[x.cable].fragile?3:1)*(tw(x)?4*(scnRule('anchors')?3:1):1)*(scnRule('sharks')&&x.sub?2:1)*(vn(x)?3:1)*(!x.sub&&andesPair(x.a,x.b)?4:1)*(monsoon&&inl(x)?3:1)*(x.sub&&(x.a==='oos'||x.b==='oos')?3:1);return Array(w).fill(x);})),dur=10+Math.floor(Math.random()*8),trc=l.trench||l.id,hit=S.links.filter(x=>(x.trench||x.id)===trc);hit.forEach(x=>x.cut=Math.max(x.cut||0,S.day+dur)); + const A=CITY[l.a].name,B=CITY[l.b].name,au=CITY[l.a].au&&CITY[l.b].au,auSummer=mon>=11||mon<=1; + const en=l.sub&&(CITY[l.a].au||CITY[l.b].au)&&!(l.cable&&CAB[l.cable].fragile)&&Math.random()<0.35?pick([N_('Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.'),N_('A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.')]):l.cable&&CAB[l.cable].fragile&&Math.random()<0.8?pick([N_('Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.'),N_('{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.')]):!l.sub&&CITY[l.a].land==='nzs'&&CITY[l.b].land==='nzs'&&Math.random()<0.75?pick([N_('A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.'),N_('The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.'),N_('A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.')]):l.cable==='cook'&&Math.random()<0.6?N_('A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.'):!l.sub&&au&&Math.random()<0.75?pick([N_('A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.'),N_('A kangaroo hit the fiber hut on {a}–{b}. The hut lost.'),N_('Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.'),N_('A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.'),N_('A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.'),N_('The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.'),N_('A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.'),N_('A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.'),N_('An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.'),...((S.day%365)/30.42>=8&&(S.day%365)/30.42<11?[N_('Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.')]:[]),...(auSummer?[N_('Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.')]:[]),...(nullPair(l.a,l.b)?[N_('Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.')]:[])]):l.sub&&(l.a==='bda'||l.b==='bda')&&Math.random()<0.7?pick([N_('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.'),N_('The repair ship’s compass spun in circles over your {a}–{b} cable. It is broken, and nobody can agree where.')]):l.sub&&(l.a==='tbu'||l.b==='tbu')&&Math.random()<0.7?pick([N_('An undersea volcano erupted next to your {a}–{b} cable. The repair ship found it in pieces, some of them kilometres away.'),N_('The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.')]):vn(l)&&Math.random()<0.8?pick([N_('Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.'),N_('Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.')]):!l.sub&&(l.a==='drw'||l.b==='drw')&&Math.random()<0.7?pick([N_('A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.'),N_('Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.')]):tw(l)&&Math.random()<0.8?pick([N_('A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.'),N_('Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.'),N_('A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.')]):l.sub&&(l.a==='oos'||l.b==='oos')&&Math.random()<0.8?pick([N_('A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.'),N_('A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.')]):!l.sub&&(CITY[l.a].ca||CITY[l.b].ca)&&Math.random()<0.4?pick([N_('A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.'),N_('Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.'),N_('Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.')]):!l.sub&&andesPair(l.a,l.b)?pick([N_('A landslide in the Andes buried your {a}–{b} fiber.'),N_('Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.'),N_('An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.'),N_('A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.')]):!l.sub&&(CITY[l.a].india||CITY[l.b].india)?pick([N_('Road widening near {a} cut your fiber to {b}. It is always road widening.'),N_('The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.'),N_('A digger found your {a}–{b} fiber. A different digger is coming to fix it.')]):l.sub?pick([N_('A curious shark bit your subsea cable {a}–{b}.'),N_('A ship dragged its anchor across your {a}–{b} cable.'),N_('An undersea landslide snapped {a}–{b}.')]):pick([N_('A backhoe found your fiber between {a} and {b}.'),N_('Squirrels chewed through {a}–{b}. They regret nothing.'),N_('Road works cut {a}–{b}. Nobody called before digging.')]); + addInc({type,ref:trc,until:S.day+dur,msg:tr(en,{a:A,b:B})+(hit.length>1?' '+tr('All {n} links in that trench went down with it.',{n:hit.length}):''),cost:Math.max(4000,Math.round(hit.reduce((a,x)=>a+x.mo,0)*0.5))},en); + }else if(type==='crash'||type==='power'){ + const c=pick(Object.keys(S.pops).flatMap(x=>type==='power'&&(CITY[x].za||CITY[x].blackout)?[x,x,x]:type==='crash'&&RG[S.pops[x].rgen||0].flaky?[x,x,x]:[x])),pp=S.pops[c],slow=slowBoot(c),dur=(type==='crash'?2+Math.floor(Math.random()*2):3+Math.floor(Math.random()*3))*(type==='crash'&&S.ev.sanction>S.day?2:1)+(slow?2+Math.floor(Math.random()*3):0); + if(type==='crash'&&(pp.routers||1)>=2){pp.rdown=S.day+dur;S.stats.incidents++;S.stats.survived++;toast(tr('Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.',{city:CITY[c].name,slow:slow?' '+tr('The crashed one {what}.',{what:esc(pick(SLOW_BOOT))}):'',d:dur}),'good');sfx('alert');return;} + if(type==='power'&&!pp.gen&&pp.site2){const sd=Math.random()<0.5?'a':'b';addInc({type:'site',ref:c,site:sd,until:S.day+dur,msg:(CITY[c].za?tr('Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.',{site:siteName(c,sd),city:CITY[c].name,other:siteName(c,sd==='a'?'b':'a')}):tr('A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.',{site:siteName(c,sd),city:CITY[c].name,other:siteName(c,sd==='a'?'b':'a')})),cost:5000,fix:tr('Rent a generator')});S.stats.survived++;return;} + if(type==='power'&&pp.gen&&CITY[c].blackout){S.stats.incidents++;S.stats.survived++;S.stats.shed=(S.stats.shed||0)+1;toast(tr('Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.',{city:CITY[c].name}),'good');sfx('alert');return;} + if(type==='power'&&pp.gen){S.stats.incidents++;S.stats.survived++;if(CITY[c].za)S.stats.shed=(S.stats.shed||0)+1;toast(CITY[c].za?tr('Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.',{city:CITY[c].name,n:2+Math.floor(Math.random()*5)}):tr('Power cut in {city}
Your backup generator kicked in. Lights stayed on.',{city:CITY[c].name}),'good');sfx('alert');return;} + pp.down=Math.max(pp.down||0,S.day+dur); + const auc=CITY[c].au&&Math.random()<0.5,msg=type==='power'&&c==='ivc'&&Math.random()<0.6?tr('The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.',{city:CITY[c].name}):type==='crash'&&auc&&!slow?pick([tr('A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.',{city:CITY[c].name}),tr('A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.',{city:CITY[c].name}),tr('A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.',{city:CITY[c].name}),tr('A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.',{city:CITY[c].name})]):type==='power'&&auc&&!CITY[c].blackout?((S.day%365)/30.42>=11||(S.day%365)/30.42<2?tr('A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.',{city:CITY[c].name,dc:siteName(c,'a')}):(c==='bne'&&Math.random()<0.6?tr('The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.',{dc:siteName(c,'a')}):tr('A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.',{city:CITY[c].name,dc:siteName(c,'a')}))):type==='crash'?(slow?tr('Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.',{city:CITY[c].name,what:pick(SLOW_BOOT),min:bootMin(c),n:2+Math.floor(Math.random()*5)}):pick([tr('Your router in {city} crashed. Kernel panic, packet panic.',{city:CITY[c].name}),tr('A firmware update bricked your router in {city}.',{city:CITY[c].name})])):CITY[c].blackout?tr('A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.',{city:CITY[c].name}):CITY[c].za?tr('Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.',{n:3+Math.floor(Math.random()*4),city:CITY[c].name}):tr('Power outage at {dc} in {city}. The generator did not start.',{dc:siteName(c,'a'),city:CITY[c].name}); + addInc({type,ref:c,until:S.pops[c].down,msg,slow:type==='crash'&&slow,cost:type==='crash'?2500:7000,fix:type==='crash'?(slow?tr('Turn it off and on again (it will take a while)'):tr('Turn it off and on again')):tr('Rent a generator')}); + }else if(type==='transit'){ + const t=pick(S.transit.filter(t=>!(t.down>S.day)));t.down=S.day+3+Math.floor(Math.random()*3); + addInc({type,ref:t.id,until:t.down,msg:tr('{net} is having an outage in {city}. Your transit port there is dark.',{net:NET[t.net].name,city:CITY[t.city].name}),cost:0}); + }else if(type==='ixloop'){ + const c=pick(Object.keys(S.ixp));S.ev.ixdown=S.ev.ixdown||{};S.ev.ixdown[c]=Math.max(S.ev.ixdown[c]||0,S.day+2+Math.floor(Math.random()*2)); + addInc({type,ref:c,until:S.ev.ixdown[c],msg:tr('Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.',{ix:ixName(c)}),cost:0}); + }else if(type==='leak'){ + const n=pick(['nfx','ggl','fbk','amz','msf']);S.ev.leak={net:n,until:S.day+4}; + addInc({type,ref:n,until:S.day+4,msg:tr("BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.",{net:NET[n].name}),cost:0}); + }else if(type==='fabric'){ + const f=pick(fabsUsed);S.ev.fab=S.ev.fab||{};S.ev.fab[f]=S.day+2+Math.floor(Math.random()*3); + addInc({type,ref:f,until:S.ev.fab[f],msg:tr('{fabric} is having a bad day. Every virtual circuit on their fabric is down.',{fabric:FAB[f].name}),cost:0}); + }else if(type==='ddos'){ddosAttack();return; + } + compute(); + const last=S.inc[S.inc.length-1]; + last.impact=Math.max(0,before-R.served); + if(before>1&&last.impact${incTitle(type)}
${esc(last.msg)} ${tr('Traffic rerouted, customers barely noticed.')}`,'good',[],incOpen(last));} + else{const paused=pref('pauseIncident')&&autoPause();toast(`${incTitle(type)}
${esc(last.msg)}${paused?`
${tr('Game paused.')}`:''}`,'bad',(last.cost?[{l:`${last.fix||tr('Rush repair')} ${fmt$(last.cost)}`,act:'fixInc',args:{id:last.id}}]:[]).concat(paused?[resumeAct()]:[]),incOpen(last));} + sfx('alert'); +} +// A DDoS attack: mostly short, modest spikes; now and then a "botnet of toasters" monster into the terabits. +// In Flood Season (scenario rule ddos) they come more often, a third are monsters, and they grow over the year. +function ddosAttack(){const type='ddos',fl=scnRule('ddos'),grow=fl?1+S.day/180:1;if(S.ev.ddos&&S.ev.ddos.until>S.day)ddosDone(S.ev.ddos); + const c=pick(Object.keys(S.pops)),vec=pick(Object.keys(DDOS_VEC)),V=DDOS_VEC[vec]; + const monster=Math.random()<(fl?0.33:0.15),base=Math.max(R.cityDem[c]||0,4); + const gbps=Math.round((monster?800+Math.random()*2600:2+Math.random()*Math.max(18,base*0.9))*grow); + const dur=2+Math.floor(Math.random()*4),entry=ddosEntry(c); + S.ev.ddos={city:c,vec,gbps,until:S.day+dur,entry,bh:false,start:S.day}; + const soaked=(V.fs&&fsAt(c))||hasScrub(); + const how=entry&&entry.lab?tr(', in via {e}',{e:entry.lab}):''; + const msg=tr('A {size} {vec} attack is hitting {city}{how}.',{size:fmtG(gbps),vec:V.n,city:CITY[c].name,how})+' '+(soaked?tr('Your mitigation is eating most of it.'):tr('Junk traffic is eating your capacity. Open the NOC to fight back.')); + if(fl)S.ev.ddos.who=pick(FLOOD_WHO); + addInc({type,ref:c,until:S.day+dur,msg:fl?msg+' '+tr('Attacker: {who}.',{who:tr(S.ev.ddos.who)}):msg,cost:0}); + if(soaked){S.stats.survived++;S.stats.ddosHeld=(S.stats.ddosHeld||0)+1;if(gbps>=1000)S.stats.ddosMonster=(S.stats.ddosMonster||0)+1;} + compute(); + toast(`${incTitle('ddos')}: ${esc(CITY[c].name)}
${esc(msg)}${fl?`
${esc(tr('Attacker: {who}.',{who:tr(S.ev.ddos.who)}))}`:''}`,soaked?'goal':'bad',[{l:tr('Open NOC'),act:'leftTab',args:{t:'noc'}}],{a:'city',v:c}); + sfx('alert');} +// When an attack is over: was it held? Held means the city under attack got at least 97% of its traffic every day. +function ddosDone(a){if(!a||a.done)return;a.done=1;if(a.worst===undefined&&S.pops[a.city])a.worst=sfOf(R,a.city);const ok=(a.worst===undefined?1:a.worst)>=0.97; + if(ok){S.stats.ddosOk=(S.stats.ddosOk||0)+1;if(a.gbps>=1000)S.stats.ddosOkBig=(S.stats.ddosOkBig||0)+1;}else S.stats.ddosLost=(S.stats.ddosLost||0)+1; + if(scnRule('ddos')){const who=tr(a.who||FLOOD_WHO[0]);toast(ok?tr('Flood held: {g}.
{who} gave up and went back to mining crypto.',{g:fmtG(a.gbps),who:who.charAt(0).toUpperCase()+who.slice(1)}):tr('That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.',{g:fmtG(a.gbps),city:CITY[a.city]?CITY[a.city].name:tr('Your network'),p:pct(a.worst||0),who}),ok?'goal':'bad');}} +const FLOOD_WHO=[N_('a botnet of 40,000 smart toasters'),N_('every unpatched baby monitor in Europe'),N_('a gaming clan that lost one match'),N_('a fridge that achieved sentience and chose violence'),N_('a crypto bro shorting your stock'),N_('a teenager with a stolen credit card and a grudge'),N_('a rival ISP’s “stress test”'),N_('ten thousand smart light bulbs, blinking in unison'),N_('a printer. Just one printer. Nobody knows how'),N_('a botnet run from a cloud you also host'),N_('somebody who did not like your network name'),N_('the internet-connected kettles of a whole country')]; +function incTitle(t){return {ring:tr('Metro ring cut'),site:tr('Site outage'),cut:tr('Fiber cut'),crash:tr('Router crash'),power:tr('Power outage'),transit:tr('Upstream outage'),ixloop:tr('IX meltdown'),leak:tr('Route leak'),ddos:tr('DDoS attack'),fabric:tr('Fabric outage'),depeer:tr('Peering spat'),fatwave:tr('Fat-fingered wave'),label:tr('Patch panel mishap'),mtu:tr('MTU mismatch'),krroute:tr('Rerouted via Hong Kong'),ctrlplane:tr('Control plane meltdown'),lacp:tr('LACP trouble'),loss:tr('Packet loss'),pmtud:tr('PMTUD black hole'),oops:tr('Oops'),cleaner:tr('Vacuum incident'),maxpfx:tr('Max-prefix meltdown'),prepend:tr('Prepend-ageddon'),rpki:tr('RPKI invalid'),amp:tr('Amplifier failure'),roadmff:tr('Fat-fingered ROADM'),optic:tr('Dead optic'),maint:tr('Maintenance window'),ac:tr('Cooling failure'),hijack:tr('BGP hijack'),shutdown:tr('Government shutdown'),redsea:tr('Geopolitical cable cut')}[t]||tr('Incident');} +const LINKCUT_TR=['cut','redsea'],LINKCUT_ID=['fatwave','label'],POPDOWN=['crash','power','oops','cleaner','maint','shutdown'],IXDOWN=['ixloop','maxpfx'],TDOWN=['transit','prepend'],LINKEQ=['mtu','amp','roadmff','optic']; +function remainUntil(pred){let u=0;for(const x of S.inc)if(pred(x))u=Math.max(u,x.until);return u;} +// Remove an incident, then restore each affected thing to whatever other incidents still hold it down. +function clearInc(i){ + S.inc=S.inc.filter(x=>x!==i);const T=i.type; + if(LINKCUT_TR.includes(T)||LINKCUT_ID.includes(T)){const ls=LINKCUT_TR.includes(T)?S.links.filter(l=>(l.trench||l.id)===i.ref):S.links.filter(l=>l.id===i.ref); + for(const l of ls)l.cut=remainUntil(x=>(LINKCUT_TR.includes(x.type)&&x.ref===(l.trench||l.id))||(LINKCUT_ID.includes(x.type)&&x.ref===l.id));} + else if(POPDOWN.includes(T)){if(S.pops[i.ref])S.pops[i.ref].down=remainUntil(x=>POPDOWN.includes(x.type)&&x.ref===i.ref);} + else if(IXDOWN.includes(T)){if(S.ev.ixdown)S.ev.ixdown[i.ref]=remainUntil(x=>IXDOWN.includes(x.type)&&x.ref===i.ref);} + else if(TDOWN.includes(T)){const t=S.transit.find(x=>x.id===i.ref);if(t)t.down=remainUntil(x=>TDOWN.includes(x.type)&&x.ref===i.ref);} + else if(T==='rpki'||T==='hijack'){if(!S.inc.some(x=>x.type==='rpki'||x.type==='hijack'))S.ev.rpki=null;} + else if(T==='leak'){S.ev.leak=null;} + else if(T==='ddos'){const a=S.ev.ddos;if(a&&a.city===i.ref&&(a.start===undefined||a.start===i.start)){ddosDone(a);S.ev.ddos=null;}} + else if(T==='fabric'){if(S.ev.fab)S.ev.fab[i.ref]=remainUntil(x=>x.type==='fabric'&&x.ref===i.ref);} + else if(T==='mtu'){const l=S.links.find(x=>x.id===i.ref);if(l)l.deg=remainUntil(x=>x.type==='mtu'&&x.ref===i.ref);} + else if(T==='loss'){const l=S.links.find(x=>x.id===i.ref);if(l&&!S.inc.some(x=>x.type==='loss'&&x.ref===i.ref))l.loss=null;} + else if(T==='lacp'){if(!S.inc.some(x=>x.type==='lacp'&&x.ref===i.ref)){const [k,...r]=String(i.ref).split(':'),id=r.join(':');if(k==='ix'){if(S.ev.ixlacp)delete S.ev.ixlacp[id];}else{const o=(k==='t'?S.transit:S.pni).find(x=>x.id===id);if(o)o.lacp=null;}}} + else if(T==='ctrlplane'){for(const id of Array.isArray(i.links)?i.links:[]){const l=S.links.find(x=>x.id===id);if(l)l.cut=Math.max(remainUntil(x=>(LINKCUT_TR.includes(x.type)&&x.ref===(l.trench||l.id))||(LINKCUT_ID.includes(x.type)&&x.ref===l.id)||(x.type==='ctrlplane'&&Array.isArray(x.links)&&x.links.includes(l.id))),0);}} + else if(T==='pmtud'){if(!S.inc.some(x=>x.type==='pmtud'))S.ev.pmtud=null;} + else if(T==='ring'){if(S.pops[i.ref])S.pops[i.ref].ringcut=remainUntil(x=>x.type==='ring'&&x.ref===i.ref);} + else if(T==='ac'){if(S.pops[i.ref])S.pops[i.ref].hot=remainUntil(x=>x.type==='ac'&&x.ref===i.ref);} + else if(T==='amp'||T==='roadmff'){const l=S.links.find(x=>x.id===i.ref);if(l)l.eqDown=remainUntil(x=>(x.type==='amp'||x.type==='roadmff')&&x.ref===i.ref);} + else if(T==='optic'){const l=S.links.find(x=>x.id===i.ref);if(l&&!S.inc.some(x=>x.type==='optic'&&x.ref===i.ref))l.chFail=null;} +} +function purgeInc(){S.inc=S.inc.filter(i=>{const T=i.type;if(LINKCUT_TR.includes(T))return S.links.some(l=>(l.trench||l.id)===i.ref);if(LINKCUT_ID.includes(T)||LINKEQ.includes(T))return S.links.some(l=>l.id===i.ref);if(TDOWN.includes(T))return S.transit.some(t=>t.id===i.ref);if(IXDOWN.includes(T))return S.ixp[i.ref]!==undefined;if(POPDOWN.includes(T)||T==='ac')return !!S.pops[i.ref];return true;});} diff --git a/src/game/85-incidents/30-events.js b/src/game/85-incidents/30-events.js new file mode 100644 index 0000000..4d94767 --- /dev/null +++ b/src/game/85-incidents/30-events.js @@ -0,0 +1,55 @@ +function fireEvent(){ + const opts=['viral','price','grant']; + if(S.day>50)opts.push('sanction','tariff','hijack','landban','shutdown','redsea','baltic'); + if(S.day>HW_FREE&&!hwShock())opts.push('hwshock'); + if(S.day>90&&S.links.filter(l=>l.kind==='wave'&&!l.sub).length>=3)opts.push('ctrlplane'); + if(Object.keys(S.pops).some(ruCity))opts.push('runet','runet'); + if(S.pops.doh&&Object.keys(S.pops).some(c=>CITY[c].gcc||CITY[c].uae)&&!(S.ev.gulf>S.day))opts.push('gulf'); + if(Object.keys(S.pops).some(c=>CITY[c].saudi))opts.push('mega'); + if(['mnl','hkg','tok','icn','sha','jkt'].some(c=>S.pops[c]))opts.push('typhoon'); + if(S.pops.icn&&!S.krExit)opts.push('krexit');if(S.pops.icn&&!(S.ev.krroute>S.day))opts.push('krroute'); + if(Object.keys(S.pops).some(cnCity)||R.gfwCross>1)opts.push('golden','gfw'); + if(S.transit.some(t=>t.net==='cog'))opts.push('depeer','depeer'); + if(Object.keys(S.peers).some(k=>k.startsWith('drz@'))||Object.keys(S.rs).length)opts.push('cake'); + const e=pick(opts); + if(e==='gulf'){const dur=60+Math.floor(Math.random()*60);S.ev.gulf=S.day+dur;toast(tr('The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.',{n:dur}),'bad');sfx('alert');} + /* A wave supplier pushes one bad update to its optical control plane, and every wave it sells you in a + region goes dark for a day or two. Your own dark fiber, subsea waves and fabric circuits keep working. */ + if(e==='ctrlplane'){const by={};for(const l of S.links)if(l.kind==='wave'&&!l.sub&&!(l.cut>S.day)){const r=CITY[l.a].reg;(by[r]=by[r]||[]).push(l);} + const reg=Object.keys(by).sort((a,b)=>by[b].length-by[a].length)[0];if(!reg)return;const hit=by[reg],until=S.day+2; + for(const l of hit)l.cut=Math.max(l.cut||0,until); + const RN={EU:tr('Europe'),AM:tr('North America'),SA:tr('South America'),AS:tr('Asia'),OC:tr('Oceania'),AF:tr('Africa')}; + addInc({type:'ctrlplane',ref:'reg:'+reg,links:hit.map(l=>l.id),until,msg:tr('Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.',{n:hit.length,reg:RN[reg]||reg}),cost:Math.round(hit.reduce((a,l)=>a+l.mo,0)*0.3),fix:tr('Escalate to their CTO')},'ctrlplane'); + toast(tr('Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.',{reg:RN[reg]||reg}),'bad');sfx('alert');return;} + if(e==='krexit'){S.krExit=S.day+1;S.stats.incidents++;S.stats.survived++; + toast(tr('Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.'),'bad');sfx('alert');return;} + if(e==='krroute'){S.ev.krroute=S.day+20;addInc({type:'krroute',ref:'icn',until:S.day+20,msg:tr('Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.'),cost:0},'krroute'); + toast(tr('Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.'),'bad');sfx('alert');return;} + if(e==='mega'){const c=pick(Object.keys(S.pops).filter(x=>CITY[x].saudi)),bw=pick([800,1600,3200]),start=S.day+15;S.offers.push({id:uid(),city:c,city2:null,name:tr('A futuristic city that is not built yet, demo day in {city}',{city:CITY[c].name}),type:'event',bw,rate:0,reqs:[],start,dur:4,fee:bw*4*90,exp:start-2});toast(tr('A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.',{bw:fmtG(bw),city:CITY[c].name}),'goal');} + if(e==='sanction'){S.ev.sanction=S.day+60;toast(tr('Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.'),'bad');sfx('alert');return;} + if(e==='hwshock'){hwShockStart();return;} + if(e==='tariff'){S.ev.tariff=S.day+90;toast(tr('Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.'),'bad');sfx('alert');return;} + if(e==='hijack'){const nh=NETS.map(n=>n.id).filter(()=>Math.random()<0.6),old=S.ev.rpki&&S.ev.rpki.until>S.day?S.ev.rpki:null;S.ev.rpki=old?{until:Math.max(old.until,S.day+1),nets:[...new Set(old.nets.concat(nh))]}:{until:S.day+1,nets:nh};addInc({type:'hijack',ref:'rpki',until:S.day+1,msg:tr('A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.'),cost:1500,fix:tr('Call everyone you know')});toast(tr('BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.'),'bad');sfx('alert');return;} + if(e==='landban'){const lc=[...new Set(CABLE_PAIRS.flatMap(c=>[c.a,c.b]))];const c=pick(lc);S.ev.landban={city:c,until:S.day+45};toast(tr('Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.',{city:CITY[c].name}),'bad');return;} + if(e==='shutdown'){const ps=Object.keys(S.pops).filter(c=>c!==S.home);if(!ps.length)return;const c=pick(ps);S.pops[c].down=Math.max(S.pops[c].down||0,S.day+1);addInc({type:'shutdown',ref:c,until:S.day+1,msg:tr('Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.',{city:CITY[c].name}),cost:0});toast(tr('Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.',{city:CITY[c].name}),'bad');sfx('alert');return;} + if(e==='typhoon'){const c=pick(['mnl','hkg','tok','icn','sha','jkt'].filter(x=>S.pops[x])),p=S.pops[c],nm=pick([tr('Typhoon Bandwidth'),tr('Typhoon Latency'),tr('Typhoon Jitter'),tr('Typhoon Packet-Loss')]); + if(p.gen){S.stats.survived++;toast(tr('{name} hits {city}
The grid is down, but your backup generator kept the routers running.',{name:nm,city:CITY[c].name}),'good');sfx('alert');return;} + p.down=Math.max(p.down||0,S.day+2);addInc({type:'power',ref:c,until:p.down,msg:tr('{name} knocked out power in {city}. Your POP has no generator.',{name:nm,city:CITY[c].name}),cost:7000,fix:tr('Rent a generator')});toast(tr('{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.',{name:nm,city:CITY[c].name}),'bad');sfx('alert');compute();return;} + if(e==='runet'){S.ev.runet=S.day+1;toast(tr('Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.'),'bad');sfx('alert');compute();return;} + if(e==='baltic'){const BAL=['clion','havf','danice'];const hit=S.links.filter(l=>l.cable&&BAL.includes(l.cable)&&!(l.cut>S.day)); + if(!hit.length){toast(tr('Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.'),'goal');return;} + const dur=15+Math.floor(Math.random()*15),en=N_('A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.');for(const tk of new Set(hit.map(l=>l.trench||l.id))){S.links.filter(l=>(l.trench||l.id)===tk).forEach(l=>l.cut=Math.max(l.cut||0,S.day+dur));addInc({type:'redsea',ref:tk,until:S.day+dur,msg:tr(en),cost:0},en);} + toast(tr('Baltic cable damaged
{n} of your links are down for about {d} days.',{n:hit.length,d:dur}),'bad');sfx('alert');compute();return;} + if(e==='redsea'){const RED=['twoaf','smw6','peace','aae','eig','eassy'];const hit=S.links.filter(l=>l.cable&&RED.includes(l.cable)&&!(l.cut>S.day)); + if(!hit.length){toast(tr('Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.'),'goal');return;} + const dur=20+Math.floor(Math.random()*15),en=N_(`A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.`);for(const tk of new Set(hit.map(l=>l.trench||l.id))){S.links.filter(l=>(l.trench||l.id)===tk).forEach(l=>l.cut=Math.max(l.cut||0,S.day+dur));addInc({type:'redsea',ref:tk,until:S.day+dur,msg:tr(en),cost:0},en);} + toast(tr('Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.',{n:hit.length,d:dur}),'bad');sfx('alert');compute();return;} + if(e==='golden'){S.ev.golden=S.day+7;toast(tr('Golden Week!
Demand in mainland China is up 40% for a week.'),'goal');return;} + if(e==='gfw'){S.ev.gfw=S.day+10;toast(tr('The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.'),'bad');sfx('alert');return;} + if(e==='viral'){S.ev.viral=S.day+8;toast(tr('New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?'),'goal');} + else if(e==='price'){S.priceMul*=0.92;toast(tr('Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.'),'good');} + else if(e==='grant'){S.cash+=30000;toast(tr('Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.'),'good');sfx('coin');} + else if(e==='depeer'){S.ev.depeer=S.day+20;addInc({type:'depeer',ref:'cog',until:S.day+20,msg:tr('Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.'),cost:0});toast(tr('Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.'),'bad');sfx('alert');} + else if(e==='cake'){S.cash+=8000;toast(tr('Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.'),'good');sfx('coin');} +} + diff --git a/src/game/88-days/10-day-tick.js b/src/game/88-days/10-day-tick.js new file mode 100644 index 0000000..08ac1e8 --- /dev/null +++ b/src/game/88-days/10-day-tick.js @@ -0,0 +1,108 @@ +/* ---------- daily tick ---------- */ +function dayTick(){ + if(!S||S.lost)return; + S.day++; + const d=S.day; + dkTick(d);ixPriceWar(d);inboxDay(d);pniDay(d); + if(!S.phpDone&&d>45&&Math.random()<1/400)elephant(); + if(R&&R.teMoved)S.stats.teMax=Math.max(S.stats.teMax||0,R.teMoved); + {const t1=!!S.won&&isTier1();if(S.t1Now&&!t1)toast(tr('You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.',{why:t1Why()}),'bad');S.t1Now=t1;} + if(S.grace&&S.grace.until===d){toast(tr('The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.'),'bad',[{l:tr('Open NOC'),act:'leftTab',args:{t:'noc'}}]);} + {const a=S.ev.ddos;if(a&&a.until>d&&R&&S.pops[a.city])a.worst=Math.min(a.worst===undefined?1:a.worst,sfOf(R,a.city));} + if(scnRule('ddos')&&!(S.scn.done||S.scn.failed)&&d>=(+S.scn.nextDdos||3)&&!(S.ev.ddos&&S.ev.ddos.until>d)){ddosAttack();S.scn.nextDdos=d+3+Math.floor(Math.random()*5);} + if(R&&R.demand>0)S.stats.clean=R.served/R.demand>=0.995?(S.stats.clean||0)+1:0; + if(S.scn&&S.scn.id==='redsea')S.stats.asiaRun=asiaG()>=RS_G?(S.stats.asiaRun||0)+1:0; + if(S.ev.php===d)toast(tr('The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.'),'good'); + for(const k in S.peers){const [id,c]=k.split('@'),sn=snub(id,c);if(!sn)continue;delete S.peers[k];S.stats.depeered=(S.stats.depeered||0)+1; + {const v={net:esc(NET[id].name),ix:esc(ixName(c)),city:esc(CITY[ixCity(c)].name),why:esc(sn.why)};toast(ixNamesCity(c)?tr('{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.',v):tr('{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.',v),'bad');}} + if(S.cnLic&&S.cnLic.state==='pending'&&d>=S.cnLic.ready){S.cnLic.state='ok';toast(tr('License granted!
Your joint venture can now build POPs in mainland China.'),'goal');sfx('coin');} + // resolve incidents + for(const i of S.inc.slice())if(i.until<=d){const o=incOpen(i),l=o&&o.a==='link'&&S.links.find(x=>x.id===o.v),where=l?CITY[l.a].name+'–'+CITY[l.b].name:o&&o.a==='city'?CITY[o.v].name:'';clearInc(i); + toast(where?tr('Resolved: {what}
{where} is back to normal.',{what:incTitle(i.type),where:esc(where)}):tr('Resolved: {what}',{what:incTitle(i.type)}),'good',[],o);} + // eyeball growth / churn uses last computed service + for(const c in S.pops){const p=S.pops[c];if(!p.bb)continue;const sf=sfOf(R,c),P=eyeP(c); + if(sf>=0.9){const g=(CITY[c].be&&!(p.boost>d)?0.35:1)*0.025*(scnRule('boom')?1.5:1)*(p.boost>d?2:1)*sf*(0.7+0.6*(R.peerShare||0))*(CITY[c].reg==='AS'&&!CITY[c].cn?1.6:1);p.bb.d+=g*p.bb.d*(1-p.bb.d/P);} + else p.bb.d=Math.max(Math.min(3,P),p.bb.d*(1-(0.9-sf)*0.04));} + compute(); + for(const t of S.transit){(t.hist=t.hist||[]).push(R.useT[t.id]||0);if(t.hist.length>30)t.hist.shift();} + S.cash+=(R.revMo-R.costMo)/30; + S.stats.peak=Math.max(S.stats.peak,R.served); + S.hist=S.hist||[];S.hist.push({d,dem:+R.demand.toFixed(2),srv:+R.served.toFixed(2),c:+(R.egT.c||0).toFixed(2),p:+(R.egT.p||0).toFixed(2),ix:+(R.egT.ix||0).toFixed(2),t:+(R.egT.t||0).toFixed(2),l2:+(R.egT.l2||0).toFixed(2),rev:Math.round(R.revMo),cost:Math.round(R.costMo),cash:Math.round(S.cash),inc:S.inc.length});if(S.hist.length>180)S.hist.shift(); + {const top=custLevel();if(top>(S.lvl||1)){for(let lv=(S.lvl||1)+1;lv<=top;lv++){track('level_'+lv);toast(tr('Customer level {lv}: {name}
New customers unlocked: {unlock}',{lv,name:LEVELS[lv-1].n,unlock:LEVELS[lv-1].unlock})+`
${esc(LEVELS[lv-1].q)}`,'goal');}S.lvl=top;sfx('coin');}} + for(const l of S.links){if(l.kind!=='df')continue; + if(l.ready===d){toast(`${l.own?tr('Your fiber is finished: {a}–{b}',{a:CITY[l.a].name,b:CITY[l.b].name}):tr('Dark fiber handed over: {a}–{b}',{a:CITY[l.a].name,b:CITY[l.b].name})}
${(l.ch||[]).length?tr('Channels are lighting up now.'):tr('It is dark. Add optics to light it up.')}`,'goal',[{l:tr('Open'),act:'selLink',args:{id:l.id}}]);sfx('coin');} + if(l.own&&l.ready>d&&Math.random()<0.012){const extra=10+Math.floor(Math.random()*40);setCableReady(l,l.ready+extra);toast(tr('Construction delay: +{n} days
{why} ({a}–{b})',{n:extra,why:pick(l.sub?SEA_DELAYS.map(x=>tr(x)):[tr('Archaeologists found a Roman bathhouse on your route.'),tr('A protected hamster species lives along the right-of-way.'),tr('The railway changed its mind about the easement.'),tr('The drilling crew hit a granite boulder the size of a bus.'),tr('A town council wants a public hearing. About the color of the manhole covers.'),tr('Somebody else’s gas main was exactly where the map said it was not.'),tr('The permit office lost your permit. And then the replacement.')]),a:CITY[l.a].name,b:CITY[l.b].name}),'bad');}} + // DDoS protection SLA: if a protected customer's own city is hit and still goes down, you pay out (once per attack). + if(S.ev.ddos&&S.ev.ddos.until>d){const a=S.ev.ddos; + for(const b of S.biz)if(b.type==='scrub'&&b.city===a.city&&b.slaFor!==a.start&&sfOf(R,b.city)<0.85){ + b.slaFor=a.start;S.cash-=SLA_PEN;b.mood=Math.max(0,b.mood-18);S.stats.sla=(S.stats.sla||0)+1; + toast(tr('SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.',{name:esc(b.name),city:CITY[a.city].name,pen:fmt$(SLA_PEN)}),'bad');sfx('err');}} + // businesses mood + for(const b of S.biz.slice()){if(eventTick(b,d))continue;b.pm=b.mood;const sf=bizSf(b),reachOk=BIZ_T[b.type].l2||BIZ_T[b.type].fiber||R.reach>0.99||scnRule('local'),scrubOk=b.type!=='scrub'||(hasScrub()&&!scrubFar(b.city)),divOk=reqOk(b); + if(sf>=0.95&&reachOk&&scrubOk&&divOk)b.mood=Math.min(100,b.mood+2); + else if(S.day-(b.since||0)<15){} + else{b.mood-=(Math.max(0,0.95-sf)*45+(!reachOk?3:0)+(!scrubOk?4:0)+(!divOk?3:0)); + if(b.mood<=0){S.biz=S.biz.filter(x=>x!==b);toast(tr('{name} cancelled.
Too many outages and too little bandwidth in {city}.',{name:esc(b.name),city:CITY[b.city].name}),'bad');sfx('err');} + else if(b.mood<30&&!b.warned){b.warned=b.warn60=true;const why=bizWhy(b)[0],paused=pref('pauseFurious')&&autoPause(); + toast(tr('{name} is furious.
Fix service in {city} or they leave.',{name:esc(b.name),city:CITY[b.city].name})+(why?`
${esc(why)}`:'')+(paused?`
${tr('Game paused.')}`:''),'bad',[{l:tr('Show me'),act:'custGo',args:{id:b.id}}].concat(paused?[resumeAct()]:[]));sfx('err');} + else if(b.mood<60&&!b.warn60&&pref('warnUnhappy')){b.warn60=true;const why=bizWhy(b)[0];toast(tr('{name} is getting unhappy.
Happiness {p}% in {city}.',{name:esc(b.name),p:Math.round(b.mood),city:CITY[b.city].name})+(why?`
${esc(why)}`:''),'',[{l:tr('Show me'),act:'custGo',args:{id:b.id}}]);}} + if(b.mood>60)b.warned=false;if(b.mood>75)b.warn60=false;} + // own IX members join + for(const c in S.myIx){const m=S.myIx[c];if(d>=m.next&&m.members.lengthn.type!=='t1'&&!m.members.includes(n.id)&&(n.pops.includes(c)||n.pops.some(p=>CITY[p].reg===CITY[c].reg))); + if(cands.length){cands.sort((a,b)=>(a.pol==='open'?0:1)-(b.pol==='open'?0:1)||b.share-a.share);const n=Math.random()<.6?cands[0]:pick(cands);m.members.push(n.id);toast(tr('{net} joined {ix}!
Another member paying {fee}/mo for a port.',{net:esc(n.name),ix:esc(m.name),fee:fmt$(MYIX_FEE)}),'good');sfx('coin');} + m.next=d+8+Math.floor(Math.random()*10);}} + loanTick(d); + if(S.mode==='sandbox'&&S.cash<1e8)S.cash=1e9; + // offers + S.offers=S.offers.filter(o=>o.exp>d); + if(S.offers.length<5&&Math.random()<0.05+0.01*(S.lvl||1))spawnOffer(); + // failures & events + let dirty=false; + if(d>=S.nextFail){dirty=true;fireFailure();const size=S.links.length+Object.keys(S.pops).length;S.nextFail=d+Math.round((Math.max(22,50-size*1.5)+Math.floor(Math.random()*25))*(scnRule('chaos')?0.5:1));} + if(d>=S.nextEvent){dirty=true;fireEvent();S.nextEvent=d+45+Math.floor(Math.random()*45);} + if(dirty)compute(); + // payday floaters + if(d%30===0){for(const c in S.pops){let v=(R.cityEye[c]*sfOf(R,c)*EYE_RATE)+S.biz.filter(b=>b.city===c).reduce((a,b)=>a+b.bw*b.rate,0);v=v-R.cityEye[c]*sfOf(R,c)*EYE_RATE*(1-(CITY[c].arpu||1));if(v>500)floater(CITY[c].x,CITY[c].y-30,'+'+fmt$(v),'#16A866');}sfx('coin');} + checkGoals(); + scnTick(d); + confTick(d); + // money trouble + if(S.cash<0){S.neg++;if(S.neg===1)toast(tr('You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.'),'bad');} + else S.neg=0; + if(S.cash<-100000){S.lost=true;track('bankrupt');showLose();return;} + if(d%360===0&&[1,2,4].includes(d/360))track('game_year_'+(d/360+1),true); + if(d%10===0)save(); +} +function spawnOffer(){ + const mine=Object.keys(S.pops),lv=S.lvl||1; + const types=['dia','dia','game','host'];if(mine.length>=2)types.push('l2vpn','l2vpn');if(S.day>60)types.push('scrub'); + if(lv>=2)types.push('isp','stream','edu','host','hft','bulk','event','event');if(mine.length>=3&&lv>=2)types.push('sdwan','sdwan'); + if(S.links.some(l=>l.kind==='df'&&l.ready<=S.day))types.push('wwave','wwave');if(S.links.some(l=>l.kind==='df'&&l.own&&l.ready<=S.day))types.push('dfpair');if(lv>=3)types.push('gpu','gpu','onramp','onramp');if(lv>=4)types.push('ai','ai','hyper','hyper'); + if(lv>=3&&MEGA.some(m=>mine.includes(m.c)))types.push('ingest');if(lv>=4&&MEGA.some(m=>mine.includes(m.c)))types.push('aiwan','aiwan','mtrain');if(lv>=4&&S.links.some(l=>l.kind==='df'&&l.own&&l.ready<=S.day))types.push('pairs'); + if(lv>=5)types.push('esport');if(lv>=6&&mine.length>=2)types.push('sov','sov');if(lv>=8)types.push('cgame','cgame');if(lv>=9)types.push('metav','metav');if(lv>=11&&MEGA.some(m=>mine.includes(m.c)))types.push('agi');if(lv>=13&&mine.length>=2)types.push('mars'); + const br=mine.filter(c=>CITY[c].br);if(br.length)types.push('provedor','provedor','provedor'); + const fabC=mine.filter(c=>FABS.some(f=>f.cities.includes(c)));if(lv>=2&&fabC.length){types.push('fabip','fabip');if(mine.length>=2)types.push('fabl2');} + const t=pick(types),T=BIZ_T[t]; + if(T.event||T.sdwan||T.fiber||T.mega){spawnSpecial(t);return;} + if(T.nni){const city=pick(fabC),prov=pick(FABS.filter(f=>f.cities.includes(city))).id,bw=pick(T.opts),others=mine.filter(c=>c!==city),city2=T.l2&&others.length?pick(others):null;if(T.l2&&!city2)return; + const base=pick(BIZ_N.filter(n=>!S.usedNames.includes(n)).concat(BIZ_N)).replace(/ (Inc\.|Co\.|Ltd)$/,'');const name=tr('{name} via {fab}',{name:base,fab:FAB[prov].name});S.usedNames.push(base); + const rate=T.l2?Math.round((150+kmBetween(city,city2)*0.08)*T.km):T.rate; + S.offers.push({id:uid(),city,city2,prov,name,type:t,bw,rate,reqs:['nni'],exp:S.day+40});return;} + let city=(Math.random()<0.65&&mine.length)?pick(mine):pick(ALLC.concat(cnOk()?['pek','sha']:[])),city2=null; + if(T.l2){city=pick(mine);const pool=(Math.random()<(T.lv>=3?0.8:0.6)?mine:ALLC).filter(c=>c!==city);city2=pick(pool.length?pool:ALLC.filter(c=>c!==city));} + let bw=T.lv>=2?pick(T.opts):pick(T.opts.slice(0,mine.length>=4?4:3)); + const list=(T.names||BIZ_N).filter(n=>!S.usedNames.includes(n)); + let name=list.length?pick(list):(T.names?pick(T.names):'Startup #'+Math.floor(Math.random()*999)); + S.usedNames.push(name); + if(t==='provedor')city=pick(br); + if(t==='hft'){const fin=['nyc','chi','lon','fra','tok','sin','hkg','ams','ash'],mf=mine.filter(c=>fin.includes(c));city=mf.length?pick(mf):pick(mine);city2=pick(fin.filter(c=>c!==city));} + let rate=T.l2?Math.round((150+kmBetween(city,city2)*0.08)*T.km):T.rate; + if(CITY[city].au&&!T.l2&&!T.fiber&&!T.event){rate=Math.round(rate*AU_ARPU);bw=Math.min(bw,pick(T.opts.slice(0,2)));} + if(T.div&&!reqCan('diverse',{city,city2}))return; + const reqs=T.div?['diverse']:T.lat?['lat']:[];if((t==='hyper'||t==='ai'||t==='gpu')&&Math.random()<0.4)reqs.push('metro');const pool=Object.keys(REQS).filter(k=>!reqs.includes(k)&&!REQS[k].only&&(!REQS[k].l2||T.l2)&&(!REQS[k].ip||!T.l2)&&reqCan(k,{city,city2})); + if(Math.random()<(T.lv>=3?0.65:0.3))reqs.push(pick(pool)); + if(T.lv>=3&&Math.random()<0.35){const more=pool.filter(k=>!reqs.includes(k));if(more.length)reqs.push(pick(more));} + const r2=Math.round(rate*(1+reqs.reduce((a,k)=>a+REQS[k].bonus,0))); + S.offers.push({id:uid(),city,city2,name,type:t,bw,rate:r2,reqs,latMax:T.lat?+(kmBetween(city,city2)/200*1.35).toFixed(1):null,exp:S.day+40}); +} diff --git a/src/game/88-days/20-badges.js b/src/game/88-days/20-badges.js new file mode 100644 index 0000000..91cbda7 --- /dev/null +++ b/src/game/88-days/20-badges.js @@ -0,0 +1,89 @@ +/* Badges: achievements with rarities. Earned per game, and also remembered across games on this + device in a hall of fame, so there is always something grand to work towards. */ +const RARITY={c:{n:tr('Common'),col:'#16A866'},r:{n:tr('Rare'),col:'#3A7BEA'},e:{n:tr('Epic'),col:'#9D4EDD'},l:{n:tr('Legendary'),col:'#FF8A3D'}}; +const st=()=>S.stats||{}; +const BADGES=[ + {id:'hello',i:'👋',t:tr('Hello, Neighbour'),d:tr('Bring up your first peering session.'),r:'c',ok:()=>R.sessions>=1}, + {id:'backhoe',i:'🚜',t:tr('Met the Backhoe'),d:tr('Have a fiber cut.'),r:'c',ok:()=>(st().by||{}).cut>=1}, + {id:'debt',i:'🏦',t:tr('In Debt We Trust'),d:tr('Take out a loan.'),r:'c',ok:()=>(st().loans||0)>=1||(S.loans||[]).length>0}, + {id:'twins',i:'👯',t:tr('Twins'),d:tr('Run two routers in one POP.'),r:'c',ok:()=>Object.values(S.pops).some(p=>(p.routers||1)>=2)}, + {id:'shark',i:'🦈',t:tr('Shark Week'),d:tr('Get a subsea cable bitten by a shark.'),r:'r',ok:()=>(st().sharks||0)>=1}, + {id:'ixc',i:'🔀',t:tr('IX Collector'),d:tr('Have ports on 10 internet exchanges.'),r:'r',ok:()=>Object.keys(S.ixp).length>=10}, + {id:'haggle',i:'🤝',t:tr('Never Paid List Price'),d:tr('Haggle a DE-KICKS quote down.'),r:'r',ok:()=>!!st().haggleWin}, + {id:'unsub',i:'📭',t:tr('Unsubscribed'),d:tr('Opt out of 3 auto-enrolled add-ons.'),r:'r',ok:()=>(st().optouts||0)>=3}, + {id:'read',i:'💔',t:tr('Left on Read'),d:tr('Get de-peered by a big network.'),r:'r',ok:()=>(st().depeered||0)>=1}, + {id:'couch',i:'🛋️',t:tr('Peering From the Couch'),d:tr('Peer at an IX remotely.'),r:'r',ok:()=>Object.keys(S.ixp).some(c=>isRemote(c)&&ixSessions(c).size>0)}, + {id:'sender',i:'🇰🇷',t:tr('Sender Pays'),d:tr('Paid PNIs with all three Korean incumbents.'),r:'e',ok:()=>['ktt','skb','lgu'].every(n=>S.pni.some(p=>p.net===n&&pniOn(p)))}, + {id:'oink',i:'🐖',t:tr('Pig Whisperer'),d:tr('Run a slow-booting PacketOinker chassis.'),r:'r',ok:()=>Object.keys(S.pops).some(c=>/Oinker/.test(RG[S.pops[c].rgen||0].chip)&&slowBoot(c))}, + {id:'gap',i:'🌴',t:tr('Mind the Gap'),d:tr('Link Panama City and Bogotá.'),r:'r',ok:()=>S.links.some(l=>[l.a,l.b].includes('pan')&&[l.a,l.b].includes('bog'))}, + {id:'andes',i:'🏔️',t:tr('Over the Mountains'),d:tr('Build fiber across the Andes.'),r:'r',ok:()=>S.links.some(l=>!l.sub&&andesPair(l.a,l.b))}, + {id:'duo',i:'🏜️',t:tr('Duopoly Customer'),d:tr('Buy a wave inside the UAE.'),r:'r',ok:()=>S.links.some(l=>uaePair(l.a,l.b))}, + {id:'shed',i:'🔌',t:tr('Stage Six'),d:tr('Ride out load shedding on your own generator.'),r:'r',ok:()=>(st().shed||0)>=1}, + {id:'metro3',i:'🏢',t:tr('Two Buildings, Three Cities'),d:tr('Have a second site in 3 metros.'),r:'r',ok:()=>Object.values(S.pops).filter(p=>p.site2).length>=3}, + {id:'penguin',i:'🐧',t:tr('Lonely Penguin'),d:tr('Light a wave on the Humboldt cable to Sydney.'),r:'e',ok:()=>S.links.some(l=>l.cable==='humb')}, + {id:'horn',i:'⛵',t:tr('The Long Way Round'),d:tr('Run a link round Cape Horn.'),r:'e',ok:()=>S.links.some(l=>l.cable==='sam1'&&[l.a,l.b].includes('bue')&&[l.a,l.b].includes('scl'))}, + {id:'six',i:'🌍',t:tr('Six Continents'),d:tr('POPs in every region on the map.'),r:'e',ok:()=>regionsCount()>=6}, + {id:'giants',i:'🏭',t:tr('Friend of Giants'),d:tr('Hold deals at 3 different AI campuses at once.'),r:'e',ok:()=>new Set(S.biz.filter(b=>BIZ_T[b.type]&&BIZ_T[b.type].mega).flatMap(b=>bCities(b))).size>=3}, + {id:'landlord',i:'🧵',t:tr('Trench Landlord'),d:tr('Lease hundreds of fiber pairs to a hyperscaler.'),r:'e',ok:()=>S.biz.some(b=>b.type==='pairs')}, + {id:'t1',i:'👑',t:tr('Tier 1'),d:tr('Go transit-free.'),r:'e',ok:()=>!!S.won}, + {id:'bait',i:'🎣',t:tr('Shark Bait'),d:tr('Get bitten by sharks 3 times in one game.'),r:'l',ok:()=>(st().sharks||0)>=3}, + {id:'nines',i:'💎',t:tr('Five Nines'),d:tr('Serve 99.5% of demand every single day for a whole year.'),r:'l',ok:()=>(st().clean||0)>=365}, + {id:'fifty',i:'🗺️',t:tr('Everywhere at Once'),d:tr('Have POPs in 50 cities.'),r:'l',ok:()=>Object.keys(S.pops).length>=50}, + {id:'unicorn',i:'🦄',t:tr('Unicorn'),d:tr('Hold a billion dollars in cash.'),r:'l',ok:()=>S.cash>=1e9}, + {id:'clean',i:'🧼',t:tr('Debt-Free Tier 1'),d:tr('Win without ever taking a loan.'),r:'l',ok:()=>!!S.won&&!(st().loans||0)&&!(S.loans||[]).length}, + {id:'speed',i:'⚡',t:tr('Speedrun'),d:tr('Reach Tier 1 within three years.'),r:'l',ok:()=>!!S.won&&S.day<=1095}, + {id:'te',i:'🧭',t:tr('Traffic Whisperer'),d:tr('Have Auto-TE move 100 Gbps onto alternate paths at once.'),r:'r',ok:()=>(st().teMax||0)>=100}, + {id:'street',i:'🚧',t:tr('Same Street'),d:tr('Lose a metro ring to one backhoe.'),r:'r',ok:()=>(st().by||{}).ring>=1}, + {id:'anchor',i:'⚓',t:tr('Anchors Aweigh'),d:tr('Have a cable cut by a dragged anchor.'),r:'r',ok:()=>!!(st().f||{}).anchor}, + {id:'retained',i:'🎁',t:tr('Customer Success Story'),d:tr('Take a DE-KICKS retention offer.'),r:'r',ok:()=>!!st().retained}, + {id:'brrr',i:'🇧🇷',t:tr('Samba Peering'),d:tr('Ports on IX.brrr in São Paulo, Rio and Fortaleza.'),r:'e',ok:()=>['sao','rio','for'].every(c=>S.ixp[c]!==undefined)}, + {id:'bingo',i:'🎰',t:tr('DE-KICKS Bingo'),d:tr('Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.'),r:'e',ok:()=>DK_CITIES.filter(c=>CITY[c]&&CITY[c].ix).every(c=>S.ixp[c]!==undefined)}, + {id:'fire',i:'🌋',t:tr('Ring of Fire'),d:tr('POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.'),r:'e',ok:()=>['lax','tok','tpe','mnl','jkt','syd','akl','scl'].every(c=>S.pops[c])}, + {id:'curtain',i:'🎭',t:tr('Iron Curtain Call'),d:tr('POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.'),r:'e',ok:()=>['waw','prg','vie','bud','buh','sof','beg','tll'].every(c=>S.pops[c])}, + {id:'islands',i:'🏝️',t:tr('Island Hopper'),d:tr('POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.'),r:'e',ok:()=>['rek','dub','lon','cbo','tpe','mnl','tok','akl'].every(c=>S.pops[c])}, + {id:'wall',i:'🧱',t:tr('Through the Wall'),d:tr('Run a licensed POP in mainland China.'),r:'e',ok:()=>cnOk()&&Object.keys(S.pops).some(cnCity)}, + {id:'beaver',i:'🦫',t:tr('Dam It'),d:tr('Have your fiber chewed through by a beaver.'),r:'e',ok:()=>!!(st().f||{}).beaver}, + {id:'croc',i:'🐊',t:tr('Darwin Award'),d:tr('Have your fiber bitten by a crocodile.'),r:'l',ok:()=>!!(st().f||{}).croc}, + {id:'unbreak',i:'🛡️',t:tr('Unbreakable'),d:tr('Survive 100 incidents without customer impact.'),r:'l',ok:()=>(st().survived||0)>=100}, + {id:'lv13',i:'🌐',t:tr('Is This the Internet?'),d:tr('Reach customer level 13.'),r:'l',ok:()=>(S.lvl||1)>=13}, + {id:'gigawatt',i:'⚛️',t:tr('Gigawatt Landlord'),d:tr('Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.'),r:'l',ok:()=>['aiwan','mtrain','ingest','pairs'].every(t=>S.biz.some(b=>b.type===t))}, + {id:'blitz',i:'🚀',t:tr('Blitz'),d:tr('Reach Tier 1 within two years.'),r:'l',ok:()=>!!S.won&&S.day<=730}, + {id:'peta',i:'🌌',t:tr('Hundred Terabits'),d:tr('Serve 100 Tbps.'),r:'l',ok:()=>R.served>=100000}, + {id:'petabit',i:'🪐',t:tr('A Petabit a Second'),d:tr('Serve 1 Pbps: a thousand terabits of happy traffic.'),r:'l',ok:()=>R.served>=1e6}, + {id:'llama',i:'🦙',t:tr('Llama Drama'),d:tr('Lose fiber to a llama herd.'),r:'l',secret:true,ok:()=>!!(st().f||{}).llama}, + {id:'hallway',i:'🎤',t:tr('Hallway Track'),d:tr('Attend a conference.'),r:'r',ok:()=>(st().confs||0)>=1}, + {id:'beer',i:'🍺',t:tr('Peering Over Beer'),d:tr('Set up a PNI while the conference glow lasts.'),r:'e',ok:()=>!!st().beerPni}, + {id:'circuit',i:'✈️',t:tr('Conference Circuit'),d:tr('Attend six conferences in one game.'),r:'l',ok:()=>(st().confs||0)>=6}, + {id:'kiddie',i:'💻',t:tr('Script Kiddie'),d:tr('Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.'),r:'r',ok:()=>!!st().kiddie}, + {id:'fat',i:'🫠',t:tr('Fat Finger'),d:tr('Deploy a RouteScript that takes down a third of your traffic.'),r:'r',ok:()=>!!st().fat}, + {id:'scen1',i:'🎯',t:tr('Scenario Solver'),d:tr('Complete any scenario.'),r:'r',ok:()=>!!(S.scn&&S.scn.done&&S.scn.id!=='weekly')}, + {id:'weekly',i:'📅',t:tr('Weekly Regular'),d:tr('Finish a weekly challenge.'),r:'r',ok:()=>!!(S.scn&&S.scn.done&&S.scn.id==='weekly')}, + {id:'scen3',i:'🏅',t:tr('Scenario Specialist'),d:tr('Complete three different scenarios.'),r:'e',ok:()=>!!(S.scn&&S.scn.done&&S.scn.id!=='weekly')&&Object.keys(scnHof()).filter(k=>k!=='weekly').length>=3}, + {id:'scenall',i:'🏆',t:tr('Scenario Grandmaster'),d:tr('Complete every scenario.'),r:'l',ok:()=>!!(S.scn&&S.scn.done&&S.scn.id!=='weekly')&&SCN.every(x=>scnHof()[x.id])}, + {id:'elephant',i:'🐘',t:tr('I Survived the Elephant'),d:tr('Live through the day half the internet went down.'),r:'l',secret:true,ok:()=>!!S.phpDone&&!(S.ev.php>S.day)}, + {id:'vigil',i:'⚖️',t:tr('Vigilante'),d:tr('Fire the HackBack 3000™ and flatten an innocent.'),r:'e',secret:true,ok:()=>(st().vigilante||0)>=1}, + {id:'nullroute',i:'💥',t:tr('Collateral Damage'),d:tr('Blackhole one of your own cities to stop a DDoS.'),r:'r',ok:()=>(st().rtbh||0)>=1}, + {id:'toaster',i:'🍞',t:tr('Toaster Wrangler'),d:tr('Weather a DDoS with your defences ready.'),r:'c',ok:()=>(st().ddosHeld||0)>=1}, + {id:'cleanpipe',i:'🚿',t:tr('Clean Pipes'),d:tr('Turn on a transit clean-pipe add-on.'),r:'r',ok:()=>S.transit.some(t=>t.clean)}, + {id:'lamb',i:'🐐',t:tr('Sacrificial Lamb'),d:tr('Run a sacrificial PNI choke point.'),r:'r',ok:()=>S.pni.some(p=>p.sacrif)}, + {id:'flood',i:'🌊',t:tr('Held the Flood'),d:tr('Weather a multi-terabit DDoS.'),r:'e',ok:()=>(st().ddosMonster||0)>=1}, + {id:'skynot',i:'🤖',t:tr('Skynot Smiles'),d:tr('Land a HackBack 3000™ that actually works.'),r:'e',secret:true,ok:()=>(st().hackWin||0)>=1}, + {id:'zero',i:'🕳️',t:tr('Zero Peers Given'),d:tr('Reach Tier 2 with every single session over the route server.'),r:'l',secret:true,ok:()=>isTier2()&&!Object.keys(S.peers).length&&!S.pni.length}, +]; +function hof(){try{return JSON.parse(localStorage.getItem('sot-badges')||'{}')||{};}catch(e){return {};}} +function checkBadges(){S.ach=S.ach||{};if(S.mode==='sandbox')return;let h=null; + for(const b of BADGES){if(S.ach[b.id]!==undefined)continue;let ok=false;try{ok=b.ok();}catch(e){} + if(!ok)continue;S.ach[b.id]=S.day;const R0=RARITY[b.r]; + if(!h)h=hof();if(!h[b.id])h[b.id]={d:new Date().toISOString().slice(0,10),n:S.name}; + toast(`${b.i} ${tr('Badge unlocked: {name}',{name:esc(b.t)})}
${R0.n} · ${esc(b.d)}`,'goal',[],{a:'tab',v:'goals'});sfx('coin');track('badge_'+b.id);} + if(h)try{localStorage.setItem('sot-badges',JSON.stringify(h));}catch(e){}} +function badgeGrid(){const h=hof(),got=BADGES.filter(b=>S.ach&&S.ach[b.id]!==undefined).length; + return `

${tr('Badges')} ${tr('{got}/{total} this game · {ever} ever',{got,total:BADGES.length,ever:Object.keys(h).filter(k=>BADGES.some(b=>b.id===k)).length})}

${BADGES.map(b=>{const on=S.ach&&S.ach[b.id]!==undefined,ever=!!h[b.id],R0=RARITY[b.r],hide=b.secret&&!on&&!ever; + return `
${hide?'❔':b.i}${esc(hide?'???':b.t)}${R0.n}${ever&&!on?' · '+tr('earned before'):''}${hide?'':`${esc(b.d)}`}
`;}).join('')}
`;} +function checkGoals(){checkBadges(); + for(const g of GOALS){if(S.done[g.id]!==undefined)continue;let ok=false;try{ok=g.ok();}catch(e){} + if(ok){S.done[g.id]=S.day;if(g.r&&S.mode!=='sandbox'){S.cash+=g.r;} + toast(`${tr('Goal complete: {name}',{name:esc(g.t)})}${g.r?`
${tr('Reward: +{amt}',{amt:fmt$(g.r)})}`:''}`,'goal',[],{a:'tab',v:'goals'});sfx('coin'); + track('goal_'+g.id);if(g.win&&!S.won){S.won=true;track('win_tier1');checkBadges();showWin();}}} +} + diff --git a/src/game/90-actions/00-actions.js b/src/game/90-actions/00-actions.js new file mode 100644 index 0000000..c79e4f3 --- /dev/null +++ b/src/game/90-actions/00-actions.js @@ -0,0 +1,294 @@ +/* ================= ACTIONS ================= */ +function spend(c){if(S.cashNot enough cash.
Wait for revenue, or speed up time.'),'bad');sfx('err');return false;}S.cash-=c;sfx('build');return true;} +const ACT={ + speed:({v})=>{v=+v;if(![0,0.5,1,2,4,8].includes(v))return;if(v)UI.lastSpeed=v;UI.speed=v;renderHUD();}, + help:()=>showHelp(), + dash:()=>{if(!S)return;const d=$('dash');d.hidden=!d.hidden;if(!d.hidden)renderDash();}, + dashClose:()=>{$('dash').hidden=true;}, + dashTab:({k})=>{if(!DTABS.includes(k))return;UI.dtab=k;renderDash();const d=$('dash');if(d)d.scrollTop=0;}, + dashSort:({k})=>{if(!['name','asn','type','traffic','cost','lost'].includes(k))return;if(UI.dashSort===k)UI.dashDir=-(UI.dashDir||-1);else{UI.dashSort=k;UI.dashDir=k==='name'||k==='type'||k==='asn'?1:-1;}renderDash();}, + bank:()=>{if(!S)return;UI.confirm=null;$('dash').hidden=true;const b=$('bankBox');b.hidden=false;UI._bh=null;renderBank();}, + bankClose:()=>{UI.confirm=null;$('bankBox').hidden=true;}, + takeLoan:({id})=>{const o=S.loanOffers.find(x=>x.id===id);if(!o)return;S.stats.loans=(S.stats.loans||0)+1;const B=BANKS[o.bank];let got=o.amount,note=''; + if(B.crypto){const f=0.55+Math.random()*0.8;got=Math.round(o.amount*f);note=' '+(f>=1?tr('TubeCoin moved up {p}% on the way to your account.',{p:Math.round(Math.abs(f-1)*100)}):tr('TubeCoin moved down {p}% on the way to your account.',{p:Math.round(Math.abs(f-1)*100)}));} + S.cash+=got;S.loanOffers=S.loanOffers.filter(x=>x!==o); + S.loans.push({id:o.id,bank:o.bank,start:S.day,amount:o.amount,got,bal:o.model==='transit'?o.owe:o.amount,apr:o.apr||0,apr0:o.apr||0,pay:o.pay||0,left:o.term||0,term:o.term||0,share:o.share||0,model:o.model,cut:o.cut,covs:o.covs,base:{sub:S.links.filter(x=>x.sub).length}}); + track('loan_taken');toast(`${tr('{amt} from {bank} has landed.',{amt:fmt$(got),bank:esc(B.name)})}
${B.equity?tr('They now own {p} of your revenue.',{p:pct(o.share)}):loanSummary(o)}${note}`,'good');sfx('coin');after();renderBank();}, + declineLoan:({id})=>{S.loanOffers=S.loanOffers.filter(x=>x.id!==id);sfx('click');renderBank();renderHUD();save();}, + repayLoan:({id})=>{const l=S.loans.find(x=>x.id===id);if(!l)return;const B=BANKS[l.bank];const cost=repayCost(l,B); + if(UI.confirm!==id){UI.confirm=id;renderBank();return;}UI.confirm=null;if(!spend(cost)){renderBank();return;}S.loans=S.loans.filter(x=>x!==l);track('loan_repaid'); + toast(B.equity?tr('You bought out {bank}.
They flew off to find another startup.',{bank:esc(B.name)}):tr('Loan from {bank} repaid early.',{bank:esc(B.name)}),'good');after();renderBank();}, + leaseSwap:({a,b,src})=>{if(!S.pops[a]||!S.pops[b]||a===b)return;$('dash').hidden=true;UI.lmode='df';UI.dfSrc=['lease','build','cable'].includes(src)?src:isSub(a,b)?'cable':'build';UI.dfSys=lvl()>=3?'roadm':'lite';openLinkModal(a,b);}, + dashLink:({id})=>{$('dash').hidden=true;selectLink(id);}, + animSet:({v})=>{if(!['auto','on','off'].includes(v))return;UI.anim=v;try{localStorage.setItem('sot-anim',v);}catch(e){}applyAnim();refreshSettings();}, + soundSet:({v})=>{UI.muted=v==='off';try{localStorage.setItem('sot-mute',UI.muted?'1':'0');}catch(e){}renderHUD();refreshSettings();}, + langSet:({v})=>{if(!Object.hasOwn(LANGS,v)||v===LANG)return;try{localStorage.setItem('sot-lang',v);}catch(e){}save();location.reload();}, + mute:()=>{UI.muted=!UI.muted;try{localStorage.setItem('sot-mute',UI.muted?'1':'0');}catch(e){}renderHUD();}, + closePanel:()=>{UI.sel=null;UI.confirm=null;renderPanel();renderLeft();}, + closeModal:()=>closeModal(), + tab:({t})=>{UI.tab=t;UI.confirm=null;renderPanel();}, + leftTab:({t})=>{UI.left=t;UI.leftOpen=true;renderLeft();}, + netFocus:({id})=>{if(!NET[id])return;$('dash').hidden=true;UI.netFocus=id;UI.nf='all';UI.left='nets';UI.leftOpen=true;UI.sel=null;renderPanel();renderLeft();const b=$('leftBody');if(b)b.scrollTop=0;}, + netFilter:({f})=>{UI.nf=f==='out'?'out':'all';UI.netFocus=null;$('dash').hidden=true;UI.left='nets';UI.leftOpen=true;UI.sel=null;renderPanel();renderLeft();const b=$('leftBody');if(b)b.scrollTop=0;}, + meetGo:({city})=>{if(!isCity(city))return;$('dash').hidden=true;ACT.focusCity({city});if(S.pops[city]){UI.tab='peer';renderPanel();}}, + toggleLeft:()=>{UI.leftOpen=!UI.leftOpen;renderLeft();}, + phoneTab:({t})=>{if(!['goals','deals','noc','nets'].includes(t))return;haptic(8);if(UI.leftOpen&&UI.left===t&&!UI.sel){UI.leftOpen=false;}else{UI.left=t;UI.leftOpen=true;UI.sel=null;renderPanel();}$('left').classList.remove('full');renderLeft();}, + phonePlay:()=>{haptic(10);if(UI.speed){UI.lastSpeed=UI.speed;UI.speed=0;}else UI.speed=UI.lastSpeed||1;renderHUD();}, + phoneSpeed:()=>{haptic(8);const cur=UI.speed||UI.lastSpeed||1,i=SPEEDS.indexOf(cur),n=SPEEDS[(i+1)%SPEEDS.length];UI.speed=n;UI.lastSpeed=n;renderHUD();}, + install:()=>{if(installEvt){installEvt.prompt();installEvt.userChoice.finally(()=>{installEvt=null;});return;} + openModal(pitchHtml(false));}, + pitchSkip:()=>{const p=UI.pendGame;UI.pendGame=null;UI.pitched=true;if(p)beginGame(...p);else closeModal();}, + logOpen:({id})=>{const e=(S.log||[]).find(x=>x.id===id),o=e&&e.o;if(!o)return;$('dash').hidden=true;closeModal(); + if(o.a==='city'&&isCity(o.v)){ACT.focusCity({city:o.v});return;} + if(o.a==='link'){if(S.links.some(l=>l.id===o.v)){ACT.selLink({id:o.v});return;}toast(tr('That link is gone.
It was removed or decommissioned since.'),'');return;} + if(o.a==='cust'){if(S.biz.some(b=>b.id===o.v)){ACT.custGo({id:o.v});return;}toast(tr('That customer is gone.
The contract ended since.'),'');return;} + if(o.a==='bank'){ACT.bank({});return;}if(o.a==='inbox'){ACT.inbox({});return;}if(o.a==='tab'&&LOG_TABS.includes(o.v))ACT.leftTab({t:o.v});}, + logAll:()=>{UI.logAll=!UI.logAll;renderLeft();}, + focusCity:({city})=>{selectCity(city);const C=CITY[city];cam.x=C.x;cam.y=C.y;cam.z=Math.max(cam.z,1.2);if(innerWidth<760)UI.leftOpen=false;renderLeft();}, + selLink:({id})=>selectLink(id), + buildPop:({city})=>{if(S.pops[city])return;const flipNote=CITY[city]&&CITY[city].au;if(cnCity(city)&&!cnOk()){toast(tr('You need a license first.
Foreign networks need a joint venture to build in mainland China.'),'bad');sfx('err');return;}if(!spend(popCost(city)))return;S.pops[city]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false};floater(CITY[city].x,CITY[city].y-30,tr('New POP!'),'#FF4F9A');if(flipNote)toast(pick([tr('Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.',{city:CITY[city].name}),tr('Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.',{city:CITY[city].name})]),'good',[],{a:'city',v:city});UI.tab='cust';after();}, + launchBB:({city})=>{const p=S.pops[city];if(!p||p.bb)return;const C=CITY[city];if(!spend(bbCost(city)))return;p.bb={d:bbStart(city)};floater(C.x,C.y-30,tr('Eyeballs online!'),'#16A866');after();}, + ad:({city})=>{const p=S.pops[city];if(!p||!p.bb)return;if(!spend(8000))return;p.boost=S.day+30;floater(CITY[city].x,CITY[city].y-30,tr('Ad campaign!'),'#FF8A3D');after();}, + buyTransit:({city,net,tier})=>{tier=+tier;if(scnRule('noTransit')){toast(tr('No transit in this scenario.
Peering, PNIs, caches and your own fiber only.'),'bad');sfx('err');return;}if(!S.pops[city]||!NET[net]||!sellsAt(NET[net],city)||!PORT[tier])return;if(!portOk(city,tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}const ex=S.transit.find(t=>t.city===city&&t.net===net);if(ex&&tier<=ex.tier)return;if(!portGate(city,ex?(PORT_SLOT(tier)-PORT_SLOT(ex.tier))*(ex.n||1):PORT_SLOT(tier)))return;if(!spend(PORT[tier].setup*(ex&&ex.n||1)))return;if(ex)ex.tier=tier;else S.transit.push({id:uid(),city,net,tier,down:0});toast(tr('{net} transit is live in {city}.
Full table received: ~1,000,000 routes.',{net:esc(NET[net].name),city:CITY[city].name}),'good');after();}, + lagT:({id,d})=>{d=+d;if(d!==1&&d!==-1)return;const t=S.transit.find(x=>x.id===id);if(!t)return;const n=(t.n||1)+(+d);if(n<1||n>LAG_MAX)return;if(+d>0){if(!portOk(t.city,t.tier)||!portGate(t.city,PORT_SLOT(t.tier)))return;if(!spend(PORT[t.tier].setup))return;}t.n=n;if(n<2&&t.site==='ab')t.site='a';toast(+d>0?tr('LAG member added.
{net} in {city} is now {lag}.',{net:esc(NET[t.net].name),city:CITY[t.city].name,lag:lagName(t.tier,n)}):tr(`LAG member removed.`),'good');after();}, + lagP:({id,d})=>{d=+d;if(d!==1&&d!==-1)return;const p=S.pni.find(x=>x.id===id);if(!p)return;const n=(p.n||1)+(+d);if(n<1||n>LAG_MAX)return;if(d>0&&(!pniOn(p)||p.up||msfNope(p.net,p.city)))return;if(+d>0&&(!portGate(p.city,PORT_SLOT(p.tier))||!spend(1500+PORT[p.tier].setup/2)))return; + // A LAG member is an augment: the big networks take months for that too. + if(d>0){const lead=pniLead(p.net);p.up={tier:p.tier,n,ready:S.day+lead,g1:!!p.g1};toast(tr('Augment ordered with {net}.
{eta}.',{net:esc(NET[p.net].name),eta:pniWhen(lead)}),'good');after();return;}p.n=n;if(n<2&&p.site==='ab')p.site='a';sfx('build');after();}, + lagIx:({city,d})=>{d=+d;if(d!==1&&d!==-1)return;if(!isIx(city)||S.ixp[city]===undefined||S.myIx[city]||!S.pops[ixCity(city)])return;S.ixn=S.ixn||{};const n=(S.ixn[city]||1)+(+d);if(n<1||n>LAG_MAX)return;if(+d>0&&(!portGate(ixCity(city),PORT_SLOT(S.ixp[city]))||!spend(ixPortMo(city,S.ixp[city]))))return;S.ixn[city]=n;if(n<2&&S.ixSite&&S.ixSite[city]==='ab')S.ixSite[city]='a';sfx('build');after();}, + cancelTransit:({id,ok})=>{if(!ok&&UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.transit=S.transit.filter(t=>t.id!==id);UI.confirm=null;after();}, + buyIx:({city,tier,signed})=>{tier=+tier;if(!PORT[tier]||!ixName(city)||(!S.pops[ixCity(city)]&&(!remoteCities().includes(ixCity(city))||tier>1))||(S.ixp[city]!==undefined&&tier<=S.ixp[city]))return;if(S.pops[ixCity(city)]&&!portOk(ixCity(city),tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}{const h0=S.ixp[city]!==undefined;if(!S.myIx[city]&&!portGate(ixCity(city),h0?(PORT_SLOT(tier)-PORT_SLOT(S.ixp[city]))*((S.ixn||{})[city]||1):PORT_SLOT(tier)))return;} + if(isDk(city)&&S.ixp[city]===undefined&&!signed){const dk=dkState();if(dk.stall>S.day){toast(tr('DE-KICKS sales is still "aligning".
They will get back to you in {n} days.',{n:dk.stall-S.day}),'bad');sfx('err');return;}dk.lastQ=dk.lastQ||{};const lq=dk.lastQ[city];dk.q={city,tier,m:lq&&lq.until>S.day?lq.m:dkQuoteMult(),h:lq&&lq.until>S.day?lq.h:0};dk.lastQ[city]={m:dk.q.m,h:dk.q.h,until:S.day+90};dkQuoteModal();return;}const had=S.ixp[city]!==undefined;if(!spend(ixPortMo(city,tier)*(had?((S.ixn||{})[city]||1):1)))return;S.ixp[city]=tier;if(!had)toast(S.pops[ixCity(city)]?tr('Port up at {ix}!
Now request peering, or join the route server.',{ix:esc(ixName(city))}):tr("Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.",{ix:esc(ixName(city))}),'good',[],{a:'city',v:ixCity(city)});after();}, + cancelIx:({city,sure,ok})=>{if(!ok&&UI.confirm!=='ix'+city){UI.confirm='ix'+city;renderPanel();return;} + if(isDk(city)&&!sure){const dk=dkState();if(!dk.retUsed[city]){openModal(`
${tr('DE-KICKS Group · Customer Success')}

${tr('Wait! Before you go…')}

${tr('We value our partnership too much to let a little thing like price get in the way.')}

${tr('Retention offer')}${tr('40% off for 6 months')}

${tr('After that, the normal price returns, plus a small loyalty administration fee.')}

${btn(tr('Stay, take the discount'),'dkStay',{city},'pink')}${btn(tr('Leave anyway'),'cancelIx',{city,sure:1},'ghost')}
`);return;}} + closeModal();if(S.dk){if(S.dk.m[city]){S.dk.lastQ=S.dk.lastQ||{};S.dk.lastQ[city]={m:S.dk.m[city],h:3,until:S.day+365};}delete S.dk.m[city];delete S.dk.add[city];delete S.dk.ret[city];}delete S.ixp[city];delete S.rs[city];if(S.ixn)delete S.ixn[city];for(const k in S.peers)if(k.endsWith('@'+city))delete S.peers[k];UI.confirm=null;after();}, + rs:({city})=>{if(!isIx(city)||S.ixp[city]===undefined)return;S.rs[city]=!S.rs[city];if(S.rs[city])toast(tr('Route server session up.
You now peer with every open network on this IX, in one go.'),'good');sfx('build');after();}, + dkAccept:()=>{const dk=dkState(),q=dk.q;if(!q)return;dk.m[q.city]=q.m;dk.q=null;closeModal();ACT.buyIx({city:q.city,tier:q.tier,signed:true});if(S.ixp[q.city]===undefined)delete dk.m[q.city];else toast(tr(`Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.`),'good');}, + dkHaggle:()=>{const dk=dkState(),q=dk.q;if(!q||q.h>=3)return;q.h++;const r=Math.random(); + if(r<0.45){S.stats.haggleWin=1;q.m=+(q.m*(0.75+Math.random()*0.15)).toFixed(2);dkQuoteModal();toast(tr('"Just this once."
Your account manager found a special discount. Do not tell the others.'),'good');} + else if(r<0.75){q.m=+(q.m*1.1).toFixed(2);dkQuoteModal();toast(tr('"After consulting with management…"
The price went up. Management was consulted.'),'bad');} + else{dk.stall=S.day+5+Math.floor(Math.random()*6);dk.q=null;closeModal();toast(tr('Haggling paused.
{why}',{why:esc(pick(DK_STALL))}),'bad');}}, + dkWalk:()=>{const dk=dkState(),q=dk.q;if(q){dk.lastQ=dk.lastQ||{};dk.lastQ[q.city]={m:q.m,h:q.h,until:S.day+90};if(q.h>0)dk.stall=Math.max(dk.stall||0,S.day+3);}dk.q=null;closeModal();toast(tr('DE-KICKS will "circle back".
Expect an email titled "Quick question 🙂" within the hour.'),'');}, + dkOptOut:({city,n})=>{const dk=dkState(),k='dk'+city+n;if(UI.confirm!==k){UI.confirm=k;renderPanel();return;}dk.add[city]=(dk.add[city]||[]).filter(x=>x.n!==n);UI.confirm=null;S.stats.optouts=(S.stats.optouts||0)+1;toast(tr(`Opted out of {name}.
It took four clicks, a survey and a "we're sad to see you go" page.`,{name:esc(n)}),'good');after();}, + dkStay:({city})=>{S.stats.retained=1;const dk=dkState();dk.ret[city]=S.day+180;dk.retUsed[city]=true;UI.confirm=null;closeModal();toast(tr('40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.',{ix:esc(ixName(city))}),'good');after();}, + teEdit:()=>{if(!S.te)return;UI.teDraft=undefined;teModal();}, + teClose:()=>{const t=$('teSrc');if(t)UI.teDraft=t.value;closeModal();}, + teOpt:()=>{UI.teDraft=teOptimize();teModal();}, + teExample:()=>{UI.teDraft=TE_EXAMPLE;teModal();}, + teSlop:()=>{const t0=performance.now(),a=aiSlop(Math.random()<0.02),secs=Math.max(0.1,(performance.now()-t0)/1000);UI.teDraft=UI.slop=a.src;teModal(`

🤖 ${esc(a.ai)} ${tr('thought for {s} seconds',{s:secs.toFixed(1)})}
${tr(a.say)}

`);sfx('build');}, + teHelp:()=>{const t=$('teSrc');if(t)UI.teDraft=t.value;teHelpModal();}, + teBack:()=>teModal(), + teRecipe:({id})=>{const r=TE_RECIPES.find(x=>x.id===id);if(!r)return;UI.teDraft=r.src().join('\n');teModal(`

${tr('Loaded {name}. Check it, then deploy.',{name:tr(r.n)})}

`);}, + teClear:()=>{S.te.script='';UI.teDraft=undefined;TE_CACHE={src:null,p:null};after();teModal(`

${tr('Script removed. Plain Auto-TE is back in charge.')}

`);}, + teCheck:()=>{const t=$('teSrc');const src=t?t.value:'';UI.teDraft=src;const p=teParse(src);if(p.errors.length){teModal(`
${esc(p.errors.join('\n'))}
`);return;}const r=teTrial(src);teModal(`
${esc(trn('✓ {n} rule OK','✓ {n} rules OK',p.n)+'\n'+tr('served     {a} → {b}',{a:fmtG(r.before.served),b:fmtG(r.after.served)})+'\n'+tr('transit    {a}/mo → {b}/mo',{a:fmt$(r.before.tc),b:fmt$(r.after.tc)})+'\n'+tr('spilled    {g} onto alternate paths',{g:fmtG(r.after.moved)})+(r.after.bh?'\n'+tr('blackholed {g}',{g:fmtG(r.after.bh)}):''))}
`);}, + teDeploy:()=>{const t=$('teSrc');const src=(t?t.value:'').slice(0,4000);UI.teDraft=src;const p=teParse(src);if(p.errors.length){teModal(`
${esc(tr('commit failed')+'\n'+p.errors.join('\n'))}
`);sfx('err');return;}const r=teTrial(src);S.te.script=src;S.te.on=true;TE_CACHE={src:null,p:null};UI.teDraft=undefined;after(); + const drop=r.before.served>1?1-r.after.served/r.before.served:0,saved=r.before.tc>0?1-r.after.tc/r.before.tc:0; + if(drop>0.1&&UI.slop===src){if(drop>0.3)S.stats.fat=1;toast(tr('Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.',{p:pct(drop)}),'bad');sfx('alert');} + else if(drop>0.3){S.stats.fat=1;toast(tr('Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.',{p:pct(drop)}),'bad');sfx('alert');} + else{if(saved>0.1&&drop<0.01)S.stats.kiddie=1;toast(`${tr('Commit complete.')}
${saved>0.01?trn('{n} rule live, transit bill down {p}.','{n} rules live, transit bill down {p}.',p.n,{p:pct(saved)}):trn('{n} rule live.','{n} rules live.',p.n)}`,'good');sfx('build');}closeModal();UI.slop=undefined;checkGoals();}, + buyTE:()=>{if(S.te)return;if(lvl()<3){toast(tr('Auto-TE unlocks at customer level 3.'),'bad');sfx('err');return;}if(!spend(TE_COST))return;S.te={on:true,day:S.day};toast(tr('Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.'),'good');after();}, + teToggle:()=>{if(!S.te)return;S.te.on=!S.te.on;after();}, + trace:({city})=>traceModal(city), + traceRun:()=>{const f=$('trFrom'),t=$('trTo');traceModal(f&&f.value,t&&t.value);}, + traceCopy:()=>{try{navigator.clipboard.writeText(UI.trText||'');toast(tr('Copied. Paste it into your favourite NOC chat.'),'good');}catch(e){}}, + share:()=>shareModal(), + shareDl:()=>shareFile(f=>{if(!f)return;const a=document.createElement('a');a.href=URL.createObjectURL(f);a.download=f.name;document.body.appendChild(a);a.click();setTimeout(()=>{URL.revokeObjectURL(a.href);a.remove();},1000);track('share_download');}), + shareGo:()=>shareFile(f=>{const d={title:'Series of Tubes',text:tr('{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at',{name:S.name,asn:S.asn,tier:tierLabel(),peak:fmtG(S.stats.peak||0)}),url:'https://seriesoftub.es/'};try{if(f&&navigator.canShare&&navigator.canShare({files:[f]}))d.files=[f];navigator.share(d).then(()=>track('share_done')).catch(()=>{});}catch(e){}}), + confGo:({key})=>{S.confReg=S.confReg||{};if(S.confReg[key])return;const cf=upcomingConfs(75).find(x=>x.key===key);if(!cf||cf.day<=S.day)return;if(!spend(CONF_COST))return;S.confReg[key]=true;toast(tr('Registered.
Flights booked, badge printed, business cards ordered in the wrong font.'),'good');after();}, + tutSkip:()=>{S.tut=null;try{localStorage.setItem('sot-tut','1');}catch(e){}renderCoach();}, + addSite:({city})=>{const p=S.pops[city];if(!p||p.site2)return;if(!spend(SITE2_COST))return;p.site2=true;p.site2Day=S.day;toast(tr('Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.',{city:CITY[city].name,b:esc(siteName(city,'b')),a:esc(siteName(city,'a'))}),'good');sfx('build');after();}, + rmSite:({city})=>{const p=S.pops[city];if(!p||!p.site2)return;if(UI.confirm!=='site'+city){UI.confirm='site'+city;renderPanel();return;}UI.confirm=null;p.site2=0;p.sdown=null;p.ringcut=0;for(const t of S.transit)if(t.city===city)t.site='a';for(const x of S.pni)if(x.city===city)x.site='a';for(const x of S.caches)if(x.city===city)x.site='a';if(S.ixSite)for(const x of ixIdsIn(city))delete S.ixSite[x];after();}, + siteSet:({k,id,s})=>{if(!['a','b','ab'].includes(s))return; + const o=k==='t'?S.transit.find(x=>x.id===id):k==='p'?S.pni.find(x=>x.id===id):null;if(k!=='ix'&&!o)return;if(k==='ix'&&(!isIx(id)||S.ixp[id]===undefined||!S.pops[ixCity(id)]))return; + if(k==='ix'&&S.myIx[id]){S.ixSite=S.ixSite||{};S.ixSite[id]=s;after();return;} + const n=()=>k==='ix'?((S.ixn||{})[id]||1):(o.n||1); + if(s==='ab'&&n()<2){const before=n();if(k==='t')ACT.lagT({id,d:1});else if(k==='p')ACT.lagP({id,d:1});else ACT.lagIx({city:id,d:1});if(n()<2||n()===before)return;toast(tr(`Second LAG member added.
One member in each building now, so a dark building only takes out half the port.`),'good');} + if(k==='ix'){S.ixSite=S.ixSite||{};S.ixSite[id]=s;}else o.site=s;after();}, + peer:({city,net})=>{if(!isIx(city)||!isNet(net)||S.ixp[city]===undefined||!ixMembers(city).includes(net))return;const r=peerOk(net,'ix',city);if(!r.ok){toast(tr('{net} declined.
{why}',{net:esc(NET[net].name),why:esc(r.why)}),'bad');sfx('err');return;}S.peers[net+'@'+city]=true; + toast(`${tr('{net} accepted!',{net:esc(NET[net].name)})}
${NET[net].pol==='selective'?tr('They checked your PearingDB page and liked the traffic numbers.'):tr('BGP session established.')}`,'good');sfx('build');after();}, + unpeer:({city,net})=>{delete S.peers[net+'@'+city];after();}, + peerAll:({city})=>{if(!isIx(city)||S.ixp[city]===undefined)return;const set=ixSessions(city);let n=0;for(const id of ixMembers(city))if(!set.has(id)&&peerOk(id,'ix',city).ok){S.peers[id+'@'+city]=true;n++;}if(!n)return;toast(trn('{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.','{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.',n,{ix:esc(ixName(city))}),'good',[],{a:'city',v:ixCity(city)});sfx('build');after();}, + tailTog:()=>{UI.tailOpen=!UI.tailOpen;renderLeft();}, + pni:({city,net,tier})=>{tier=+tier;const g1=tier===-1;if(g1){if(!pniG1(net))return;tier=0;}if(!S.pops[city]||!NET[net]||!NET[net].pops.includes(city)||!PORT[tier])return;if(!portOk(city,tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}const r=peerOk(net,'pni',city);if(!r.ok){toast(tr('{net} declined the PNI.
{why}',{net:esc(NET[net].name),why:esc(r.why)}),'bad');sfx('err');after();return;} + if(!g1&&tier{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.',{net:esc(NET[net].name),port:PORT[tier].n}),'bad');sfx('err');return;} + const ex=S.pni.find(p=>p.city===city&&p.net===net);if(ex&&(g1||!pniOn(ex)||ex.up))return;if(ex&&!(ex.g1&&tier===0)&&tier<=ex.tier)return; + const cost=g1?PNI_G1_COST:(1500+PORT[tier].setup/2)*(ex&&ex.n||1);if(!portGate(city,ex?(PORT_SLOT(tier)-PORT_SLOT(ex.tier))*(ex.n||1):PORT_SLOT(tier)))return;if(!spend(cost))return;if(S.conf&&S.conf.until>S.day)S.stats.beerPni=1; + // Nothing is instant: a cross-connect takes weeks, and the big networks quote months for a new PNI or an augment. + const lead=pniLead(net);if(ex)ex.up={tier,n:ex.n||1,ready:S.day+lead,g1:false};else S.pni.push({id:uid(),city,net,tier,g1:g1||undefined,ready:S.day+lead}); + toast(tr('PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.',{net:esc(NET[net].name),eta:pniWhen(lead),dc:esc(siteName(city,'a'))}),'good');after();}, + pniChase:({id})=>{const p=S.pni.find(x=>x.id===id);if(!p||(pniOn(p)&&!p.up))return;const r=Math.random(); + if(r<0.15){if(p.up)p.up.ready=Math.max(S.day+1,p.up.ready-30);else p.ready=Math.max(S.day+1,p.ready-30);toast(tr('Your account manager found the order under a desk.
It is a month closer.'),'good');} + else toast(pick([tr('“It is with the provisioning team.”
Nobody has ever met the provisioning team.'),tr('“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.'),tr('Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.'),tr('“Could you resend the LOA?”
You have sent it four times.'),tr('Your account manager is on paternity leave.
His replacement is also on paternity leave.')]));after();}, + inbox:()=>{inboxModal();}, + inboxAct:({id,a})=>{if(!['accept','decline','raise','keep'].includes(a))return;ibxAnswer(+id,a);after();inboxModal();}, + inboxAll:({a})=>{if(a!=='accept'&&a!=='decline')return;const I=ibx();for(const x of I.items.filter(x=>x.k==='req'))ibxAnswer(x.id,a,true);after();inboxModal();}, + inboxBot:({on})=>{const I=ibx();if(+on){if(I.bot||!spend(AI_MO))return;I.bot=true;ibxLog(N_('Hello! I am Large Peering Model. I have read your inbox and I already have opinions.'),{});toast(tr('Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.',{price:fmt$(20e6)}),'good');}else{I.bot=false;toast(tr('The AI is gone.
It left a 40-page handover document. It is mostly about itself.'));}after();inboxModal();}, + cancelPni:({id,ok})=>{if(!ok&&UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.pni=S.pni.filter(p=>p.id!==id);UI.confirm=null;after();}, + cache:({city,net})=>{const n=NET[net];if(!n||!n.cache||!S.pops[city])return;if((R.demTo[net]||0){net} says not yet.
Send them {min}+ Gbps first.',{net:esc(n.name),min:n.cache.min}),'bad');sfx('err');return;}if(!portGate(city,1))return; + {const hv=S.caches.filter(x=>x.city===city&&x.net===net),nb=hv.filter(x=>x.site==='b').length;S.caches.push({id:uid(),city,net,site:S.pops[city].site2&&nb{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.',{cache:esc(n.cache.name),city:CITY[city].name,net:esc(n.name),mo:fmt$(CACHE_MO)}),'good');sfx('build');after();}, + rmCache:({id})=>{S.caches=S.caches.filter(c=>c.id!==id);after();}, + // Move one of a CDN's boxes to the other building (#69), so a dark building only takes out part of the cache. + cacheSite:({city,net,s})=>{if(s!=='a'&&s!=='b'||!S.pops[city]||!S.pops[city].site2)return;const x=S.caches.find(c=>c.city===city&&c.net===net&&(c.site==='b'?'b':'a')!==s);if(!x)return;x.site=s;sfx('click');after();}, + advertise:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||l.ready>S.day)return;if(S.offers.some(o=>o.link===l.id))return; + const t=freeCh(l)>=1?'wwave':pairFree(l)?'dfpair':null;if(!t){toast(tr('Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.'),'bad');sfx('err');return;} + const T=BIZ_T[t],nm=()=>{const list=T.names.filter(n=>!S.usedNames.includes(n)),n=list.length?pick(list):pick(T.names);S.usedNames.push(n);return n;}; + // A capacity broker finds a buyer at once and keeps 10% of the monthly price. + const o=fiberOffer(t,l,nm,0.9);o.broker=true;S.offers.push(o);toast(tr('Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.',{name:esc(o.name),what:esc(o.what)}),'good');sfx('click');after();}, + accept:({id})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!bHas(o)){toast(tr('You need a POP in every city on the contract first.'),'bad');return;} + if(o.type==='wwave'){const l=S.links.find(x=>x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)Not enough free channels on that fiber any more.'),'bad');return;}} + if(BIZ_T[o.type].event&&S.day>=o.start){toast(tr('Too late: the event has already started.'),'bad');return;} + // A carrier renting more alien waves on a fiber it already rents grows its contract, like a real order for extra waves, + // instead of a new customer for every few waves (a big fiber business otherwise fills the save with tiny contracts). + const more=o.type==='wwave'&&S.biz.find(b=>b.type==='wwave'&&b.link===o.link&&b.name===o.name); + if(more){const l=S.links.find(x=>x.id===o.link);S.offers=S.offers.filter(x=>x!==o);more.slots=(more.slots||0)+(o.slots||0);more.rate+=o.rate;if(l)more.what=wwWhat(l,more.slots); + floater(CITY[o.city].x,CITY[o.city].y-30,tr('Signed!'),'#16A866');sfx('coin');after();return;} + S.offers=S.offers.filter(x=>x!==o);S.biz.push({id:o.id,city:o.city,city2:o.city2||null,reqs:o.reqs||[],latMax:o.latMax||null,route:BIZ_T[o.type].scenic?'scenic':BIZ_T[o.type].lat?'fast':'normal',name:o.name,type:o.type,bw:o.bw,rate:o.rate,mood:100,since:S.day,sites:o.sites||null,start:o.start,dur:o.dur,fee:o.fee,link:o.link,slots:o.slots||0,what:o.what,prov:o.prov}); + floater(CITY[o.city].x,CITY[o.city].y-30,tr('Signed!'),'#16A866');sfx('coin');after();}, + decline:({id})=>{S.offers=S.offers.filter(x=>x.id!==id);after();}, + dropBiz:({id})=>{const b0=S.biz.find(x=>x.id===id);if(!b0)return;if(BIZ_T[b0.type].event&&S.day>=b0.start){toast(tr('The event is already running.
The organisers will not let you walk out now.'),'bad');sfx('err');return;}if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.biz=S.biz.filter(b=>b.id!==id);UI.confirm=null;after();}, + upLink:({id,tier})=>{tier=+tier;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='wave'||!LT[tier]||tier<=l.tier)return;{const w=subWaveWhy(tier,l.km,l.sub);if(w){toast(tr('No {wave} waves on this cable.
{why}',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}if(!waveOk(l.a,l.b,tier)){toast(tr('A {wave} wave needs {need} at both ends.',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;}const nm=Math.round(waveMo(l.km,l.sub,tier)*(l.mult||1));if(!spend(nm))return;l.mo=nm;l.tier=tier;after();}, + decomOpen:({city})=>{UI.decom=new Set(city&&S.pops[city]?[city]:[]);decomModal();}, + decomToggle:({city})=>{if(!S.pops[city])return;UI.decom=UI.decom||new Set();if(UI.decom.has(city))UI.decom.delete(city);else UI.decom.add(city);decomModal();}, + decomGo:()=>{const sel=[...(UI.decom||[])].filter(c=>S.pops[c]);if(!sel.length||sel.length>=Object.keys(S.pops).length)return;closeModal();UI.decom=null;UI.sel=null;decommission(sel);sfx('alert');after();}, + rmLink:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}{const l=S.links.find(x=>x.id===id),back=cabBack(l);if(back>0){S.cash+=back;toast(tr('{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.',{name:esc(l.cname||tr('Your cable')),price:fmt$(back)}),'good');}}S.links=S.links.filter(l=>l.id!==id);UI.sel=null;UI.confirm=null;after();}, + fixInc:({id})=>{const i=S.inc.find(x=>x.id===id);if(!i||!(i.cost>0))return;if(i.slow&&i.rushed)return;if(!spend(i.cost))return; + if(i.slow&&i.until>S.day+1){i.rushed=true;i.cost=0;i.until=S.day+1;const p=S.pops[i.ref];if(p)p.down=Math.min(p.down,S.day+1);toast(tr('Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.',{city:esc(CITY[i.ref].name),chip:esc(RG[(p&&p.rgen)||0].chip)}),'good');after();return;}clearInc(i);toast(tr('Fixed. {what} resolved early.',{what:incTitle(i.type)}),'good');after();}, + myIxUp:({city})=>{const m=S.myIx[city];if(!m)return;const f=(m.fab|0)+1,N=MYIX_FAB[f];if(!N)return;if(N.lvl>lvl()){toast(tr('A {fab} fabric unlocks at customer level {lv}.',{fab:N.n,lv:N.lvl}),'bad');sfx('err');return;}if(!spend(N.cost))return;m.fab=f;toast(tr('{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.',{ix:esc(m.name),fab:N.n,max:N.max}),'good');m.next=Math.min(m.next,S.day+3);after();}, + foundIx:({city})=>{if(!S.pops[city]||S.myIx[city]||CITY[city].ix||CITY[city].cn)return;if(!spend(MYIX_COST))return;const nm=(S.name.split(' ')[0]||'My').replace(/[^A-Za-z0-9]/g,'').slice(0,10)+'-IX '+CITY[city].name; + S.myIx[city]={name:nm,members:[],next:S.day+4};S.ixp[city]=2;toast(tr('You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.',{ix:esc(nm)}),'goal');after();}, + buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p)return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); + if((cnCity(a)||cnCity(b))&&!cnOk())return; + if(!waveOk(a,b,tier)){toast(tr('A {wave} wave needs {need} at both ends.',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;} + const wr=waveRoute(a,b,mult,border);if(!wr){toast(tr('No cable available for that route right now.'),'bad');sfx('err');return;} + {const so=soldOut(a,b,tier,wr.cab);if(so){toast(tr('No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.',{wave:LT[tier].n,why:tr(so.why),n:Math.max(1,so.until-S.day)}),'bad');sfx('err');return;}}{const w=subWaveWhy(tier,wr.km,wr.sub);if(w){toast(tr('No {wave} waves on this cable.
{why}',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}const base=Math.round(waveMo(wr.km,wr.sub,tier)*wr.wm),cost=base+(S.pops[b]?0:popCost(b)); + if(!portGate(a,1)||!portGate(b,1))return;if(!spend(cost))return;if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false}; + const id=uid();const l={id,a,b,kind:'wave',border,premium:border&&!!UI.cnPrem&&(a==='hkg'||b==='hkg'),tier,km:wr.km,sub:wr.sub,cable:wr.cab,mo:base,mult:wr.wm,trench:wr.cab?'cab:'+wr.cab:(jn?jn.k:id),cut:0,day:S.day};S.links.push(l);closeModal(); + if(sib.length){UI.sel={type:'link',id};}else{UI.sel={type:'city',id:b};UI.tab='cust';} + floater((CITY[a].x+CITY[a].x+wrapDx(CITY[a].x,CITY[b].x))/2,(CITY[a].y+CITY[b].y)/2-20,tr('{wave} lit!',{wave:LT[tier].n}),'#FF4F9A');after();}, + buyNni:({city,prov,tier})=>{tier=+tier;if(!NNI[tier]||!isCity(city)||!own(FAB,prov)||!FAB[prov].cities.includes(city)||!S.pops[city])return;const ex=nniPort(city,prov);if(ex&&tier<=ex.tier)return;if(!ex&&!portGate(city,1))return;if(ex&&nniUsed(city,prov)>NNI[tier].g){toast(tr('Too many circuits for a smaller port.'),'bad');return;}if(!spend(NNI[tier].mo))return;if(ex)ex.tier=tier;else S.nni.push({id:uid(),city,prov,tier});toast(tr('{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.',{fab:esc(FAB[prov].name),city:CITY[city].name}),'good');after();}, + rmNni:({city,prov})=>{if(nniUsed(city,prov)>0){toast(tr('Cancel the circuits on this port first.'),'bad');sfx('err');return;}S.nni=S.nni.filter(x=>!(x.city===city&&x.prov===prov));after();}, + openVxc:(a)=>openVxcModal(a), + buyVxc:({a,b,prov,t})=>{t=+t;const g=VXC[t].g,pa=nniPort(a,prov);if(!pa||nniUsed(a,prov)+g>NNI[pa.tier].g){toast(tr('Not enough room on your fabric port. Upgrade it first.'),'bad');sfx('err');return;} + if(S.pops[b]){const pb=nniPort(b,prov);if(!pb||nniUsed(b,prov)+g>NNI[pb.tier].g){toast(tr('Not enough room on your {fab} port in {city}.',{fab:esc(FAB[prov].name),city:CITY[b].name}),'bad');sfx('err');return;}} + const km=kmBetween(a,b),sub=isSub(a,b),mo=vxcMo(km,sub,t);if(!spend(mo))return;S.links.push({id:uid(),a,b,kind:'vxc',prov,vt:t,km,sub,mo,cut:0,day:S.day});closeModal(); + toast(tr('Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.',{vxc:VXC[t].n,fab:esc(FAB[prov].name),a:CITY[a].name,b:CITY[b].name})+(S.pops[b]?'':' '+tr('Now grab an IX port there for remote peering.')),'good');if(!S.pops[b])selectCity(b);after();}, + upVxc:({id,t})=>{t=+t;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='vxc'||!VXC[t]||t<=l.vt)return;const extra=VXC[t].g-VXC[l.vt].g;for(const c of [l.a,l.b]){const pt=nniPort(c,l.prov);if(pt&&nniUsed(c,l.prov)+extra>NNI[pt.tier].g){toast(tr('Fabric port in {city} is full.',{city:CITY[c].name}),'bad');sfx('err');return;}}const mo=vxcMo(l.km,l.sub,t);if(!spend(mo))return;l.vt=t;l.mo=mo;after();}, + cancelVxc:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.links=S.links.filter(l=>l.id!==id);const rem=remoteCities();for(const c in S.ixp){if(!S.pops[ixCity(c)]&&!rem.includes(ixCity(c))){delete S.ixp[c];delete S.rs[c];for(const k in S.peers)if(k.endsWith('@'+c))delete S.peers[k];}}UI.sel=null;UI.confirm=null;after();}, + setPref:({kind,id,v})=>{if(!own(PREF,v))return;if(kind!=='t'&&kind!=='p'&&!(isIx(id)&&S.ixp[id]!==undefined))return;if(kind==='t'){const t=S.transit.find(x=>x.id===id);if(t)t.pref=v;}else if(kind==='p'){const x=S.pni.find(y=>y.id===id);if(x)x.pref=v;}else{S.ixPref=S.ixPref||{};S.ixPref[id]=v;}sfx('click');after();}, + setMetric:({id,v})=>{if(!own(MET,v))return;const l=S.links.find(x=>x.id===id);if(!l)return;for(const x of pairLinks(l.a,l.b))x.metric=v;sfx('click');after();}, + goEgress:({city,k})=>{ACT.focusCity({city});UI.tab=k==='t'?'up':k==='l2'?'cust':k==='nni'?'links':'peer';renderPanel();}, + custGo:({id})=>{const b=S.biz.find(x=>x.id===id);if(!b)return;$('dash').hidden=true;ACT.focusCity({city:b.city});UI.tab='cust';renderPanel();}, + listMore:({k})=>{if(k!=='conn'&&k!=='cust')return;UI.listN=UI.listN||{};UI.listN[k]=listN(k)+LIST_PAGE;renderDash();}, + custF:({v})=>{UI.kf=UI.kf||{};UI.kf.f=v==='sad'?'sad':'';listReset('cust');renderDash();}, + custCity:({v})=>{UI.kf=UI.kf||{};UI.kf.city=isCity(v)?v:'';listReset('cust');renderDash();}, + custSort:({k})=>{if(!['mood','mo','name','city'].includes(k))return;listReset('cust');if(UI.custSort===k)UI.custDir=-(UI.custDir||1);else{UI.custSort=k;UI.custDir=k==='mo'?-1:1;}renderDash();}, + custOpen:({sad}={})=>{if(!S)return;UI.kf=sad?{f:'sad'}:{};listReset('cust');UI.dtab='cust';const d=$('dash');d.hidden=false;renderDash();d.scrollTop=0;}, + goConn:({city,k})=>{if(!isCity(city)||!own(CONN_K,k))return;$('dash').hidden=true;ACT.goEgress({city,k});}, + connF:({f,v})=>{const F=UI.cf=UI.cf||{};listReset('conn');if(f==='all'){UI.cf={};}else if(f==='k'){F.k=own(CONN_K,v)?v:'';}renderDash();}, + connCity:({v})=>{UI.cf=UI.cf||{};listReset('conn');UI.cf.city=isCity(v)?v:'';renderDash();}, + connNet:({v})=>{UI.cf=UI.cf||{};listReset('conn');UI.cf.net=NET[v]?v:'';renderDash();}, + connSort:({k})=>{if(!['k','city','name','use','mo'].includes(k))return;listReset('conn');if(UI.connSort===k)UI.connDir=-(UI.connDir||1);else{UI.connSort=k;UI.connDir=k==='use'||k==='mo'?-1:1;}renderDash();}, + connFor:({net})=>{if(!NET[net])return;UI.cf={net};ACT.connOpen();}, + connCancel:({k,id})=>{const r=conns().find(x=>x.k===k&&x.id===id);if(!r||r.mine)return;const key='cc:'+k+':'+id;if(UI.confirm!==key){UI.confirm=key;renderDash();return;}UI.confirm=null; + if(k==='t')ACT.cancelTransit({id,ok:1});else if(k==='p')ACT.cancelPni({id,ok:1});else if(k==='ix')ACT.cancelIx({city:id,ok:1});else if(k==='c')ACT.rmCache({id});else{const [city,prov]=id.split('|');ACT.rmNni({city,prov});}renderDash();}, + connOpen:()=>{if(!S)return;UI.dtab='conn';listReset('conn');const d=$('dash');d.hidden=false;renderDash();d.scrollTop=0;}, + applyCn:()=>{if(S.cnLic.state!=='none')return;if(!spend(CN_LIC))return;S.cnLic={state:'pending',ready:S.day+45};toast(tr('Application filed.
Your local partner says about 45 days. Probably.'),'goal');after();}, + togglePrem:({id})=>{const t=S.transit.find(x=>x.id===id);if(!t)return;t.premium=!t.premium;sfx('click');after();}, + buildScrub:({city,tier})=>{if(!S.pops[city]||S.scrubs.some(x=>x.city===city))return;const T=SCRUB_TIERS[tier||0];if(!T)return;if((lvl()||1){tier} scrubbing unlocks at customer level {lv}.',{tier:T.n,lv:T.lvl}),'bad');sfx('err');return;}if(!spend(T.cost))return;if(!hasScrub())S.scrubMode='always';S.scrubs.push({city,tier:tier||0});toast(tr('{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.',{tier:T.n,city:CITY[city].name,g:fmtG(T.g)}),'good');after();}, + scrubUp:({city,tier})=>{const x=S.scrubs.find(q=>q.city===city);tier=+tier;if(!x||!SCRUB_TIERS[tier]||tier<=(x.tier||0))return;const T=SCRUB_TIERS[tier];if((lvl()||1){tier} scrubbing unlocks at customer level {lv}.',{tier:T.n,lv:T.lvl}),'bad');sfx('err');return;}if(!spend(Math.round(T.cost*0.6)))return;x.tier=tier;toast(tr('Scrubbing upgraded to {tier}.',{tier:T.n}),'good');after();}, + scrubMode:()=>{if(!hasScrub())return;S.scrubMode=S.scrubMode==='ondemand'?'always':'ondemand';sfx('click');after();}, + rmScrub:({city})=>{if(!S.scrubs.some(x=>x.city===city))return;if(UI.confirm!=='scrub:'+city){UI.confirm='scrub:'+city;renderAll();return;}S.scrubs=S.scrubs.filter(x=>x.city!==city);if(!hasScrub())S.scrubMode='always';UI.confirm=null;after();}, + cleanPipe:({id})=>{const t=S.transit.find(x=>x.id===id);if(!t)return;t.clean=!t.clean;toast(t.clean?tr('Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.',{net:NET[t.net].name,mo:fmt$(cleanMo(t))}):tr('Clean-pipe add-on removed from {net}.',{net:NET[t.net].name}),t.clean?'good':'');after();}, + sacrif:({id})=>{const p=S.pni.find(x=>x.id===id);if(!p)return;p.sacrif=!p.sacrif;toast(p.sacrif?tr('{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.',{net:NET[p.net].name}):tr('{net} PNI is back to normal.',{net:NET[p.net].name}),p.sacrif?'good':'');after();}, + ixbh:()=>{const a=S.ev.ddos;if(!a){toast(tr('No attack to blackhole right now.'),'');return;}if(!hasIxAt(a.city)){toast(tr('No IX in {city} to announce a blackhole to.',{city:CITY[a.city].name}),'bad');sfx('err');return;}a.ixbh=!a.ixbh;toast(a.ixbh?tr('IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.',{city:CITY[a.city].name}):tr('IX blackhole withdrawn.'),a.ixbh?'good':'');sfx('alert');after();}, + rtbh:()=>{const a=S.ev.ddos;if(!a){toast(tr('No attack to blackhole right now.'),'');return;}a.bh=true;S.stats.rtbh=(S.stats.rtbh||0)+1;toast(tr('RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.',{city:CITY[a.city].name}),'bad');sfx('alert');after();}, + unrtbh:()=>{const a=S.ev.ddos;if(!a||!a.bh)return;a.bh=false;toast(tr('Blackhole withdrawn.
{city} is reachable again. Brace for the junk.',{city:CITY[a.city].name}),'');after();}, + hackback:()=>{const a=S.ev.ddos;if(!a||a.until<=S.day){toast(tr('Nothing to hack back right now.'),'');return;}if(!spend(20000))return;S.stats.hackback=(S.stats.hackback||0)+1; + if(Math.random()<0.35){a.until=S.day;a.bh=false;S.stats.hackWin=(S.stats.hackWin||0)+1;toast(tr('HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.',{city:CITY[a.city].name}),'goal');sfx('coin');} + else{const fine=15000+Math.floor(Math.random()*35000);S.cash-=fine;S.stats.vigilante=(S.stats.vigilante||0)+1; + toast(tr('HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.',{who:pick([tr("Skynot AI flattened a grandma's internet-connected fridge."),tr('You counter-flooded a hospital in a country you cannot pronounce.'),tr('The botnet was already someone else’s botnet. They are furious.')]),fine:fmt$(fine)}),'bad');sfx('err');} + after();}, + cnPrem:({v})=>{UI.cnPrem=!!+v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + via:({v})=>{UI.via=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + setRoute:({id,m})=>{if(!own(RT,m))return;const b=S.biz.find(x=>x.id===id);if(b){b.route=m;sfx('click');after();}}, + route:({r})=>{UI.route=r;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + addParallel:({id})=>{const l=S.links.find(x=>x.id===id);if(l)openLinkModal(l.a,l.b);}, + addRouter:({city})=>{const p=S.pops[city];if(!p||(p.routers||1)>=RMAX)return;if(!spend(routerCost(p.rgen||0)))return;p.routers=(p.routers||1)+1;floater(CITY[city].x,CITY[city].y-30,tr('Router added'),'#FF4F9A');after();}, + models:()=>{UI.models=!UI.models;renderPanel();}, + rmRouter:({city})=>{const p=S.pops[city];if(!p||(p.routers||1)<=1)return;if(portsUsed(city)>portsMax(city,undefined,p.routers-1)){toast(tr('Unplug something first.
{used} ports are in use, and one router fewer only has {max}.',{used:fmtPorts(portsUsed(city)),max:portsMax(city,undefined,p.routers-1)}),'bad');sfx('err');return;}p.routers--;{const back=tradeIn(p.rgen||0,1);if(back>0){S.cash+=back;toast(tr('Sold a {model} on eBuy.
{price} back.',{model:esc(RG[p.rgen||0].n),price:fmt$(back)}),'good');}}after();}, + upRouter:({city,g})=>{const p=S.pops[city];if(!p)return;g=g===undefined?mainRG(RG[p.rgen||0].cls+1):+g;if(!RG[g]||g===(p.rgen||0))return;{const why=modelFits(city,g);if(why){toast(tr("The {model} won't fit.
{why}",{model:esc(RG[g].n),why:esc(why)}),'bad');sfx('err');return;}}if(RG[g].lvl>lvl()){toast(tr('{model} unlocks at customer level {lv}.',{model:esc(RG[g].n),lv:RG[g].lvl}),'bad');sfx('err');return;} + const rt=p.routers||1,old=p.rgen||0;if(p.rupDay===S.day){toast(tr('The new routers in {city} are still being racked.
One swap a day: try again tomorrow.',{city:CITY[city].name}),'bad');sfx('err');return;}const back=tradeIn(old,rt);if(!spend(swapCost(city,g)))return;p.rgen=g;p.rupDay=S.day;if(back>0)toast(tr('Sold the old {model} on eBuy.
{price} back toward the new gear.',{model:esc(RG[old].n),price:fmt$(back)}),'good'); + if(rt===1&&popIdle(city))toast(tr('New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.',{city:CITY[city].name}),'good'); + else if(rt===1){const sl=slowBoot(city),dd=sl?3:1;p.down=Math.max(p.down||0,S.day+dd);addInc({type:'maint',ref:city,until:S.day+dd,msg:sl?tr('Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.',{city:CITY[city].name,model:RG[g].n,how:pick(SLOW_BOOT),n:dd}):tr('Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.',{city:CITY[city].name,model:RG[g].n}),cost:0});toast(`${tr('Maintenance window in {city}',{city:CITY[city].name})}
${sl?tr('One router, and this one takes forever to boot. Back in {n} days.',{n:dd}):tr('One router means downtime during the swap. Back tomorrow.')}`,'bad');} + else toast(tr('Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.',{city:CITY[city].name,n:rt,model:esc(RG[g].n)}),'good'); + floater(CITY[city].x,CITY[city].y-30,RG[g].n+'!','#FF4F9A');after();}, + dfMode:({m})=>{UI.lmode=m;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + seaPackage:({k})=>{if(!own(SUB_UPGRADES,k))return;UI['sea'+k]=!UI['sea'+k];if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + subUpgrade:({id,k})=>{const l=S.links.find(l=>l.id===id);if(!l||l.kind!=='df'||!l.own||!l.sub||!own(SUB_UPGRADES,k)||lvl()<4||l['sub'+k]!==undefined)return;if(!spend(subUpgradeCost(l,k)))return;l.paid=(l.paid>0?l.paid:ownCabCost(l.km))+subUpgradeCost(l,k);l['sub'+k]=Math.max(S.day,l.ready||0)+SUB_UPGRADES[k].days;after();}, + seaDesign:({v})=>{if(!own(SEA_DESIGNS,v))return;UI.seaDesign=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + ownCab:()=>{UI.lmode='df';UI.dfSrc='cable';UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + dfSrc:({v})=>{UI.dfSrc=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + dfSys:({v})=>{UI.dfSys=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + orderCable:()=>{const p=UI.pending;if(!p)return;const {a,b}=p;if(ownCabWhy(a,b))return;const design=own(SEA_DESIGNS,UI.seaDesign)?UI.seaDesign:'standard',up={terminal:!!UI.seaterminal,engineering:!!UI.seaengineering},q=seaQuote(a,b,design,up),km=q.km,cost=q.cost+(S.pops[b]?0:popCost(b));if(seaLack(km,up).length||!spend(cost))return; + if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0}; + const used=new Set(S.links.map(l=>l.cname).filter(Boolean)),cname=OWNCAB_NAMES.find(n=>!used.has(n))||`${pick(OWNCAB_NAMES)} ${used.size+1}`,ship=pick(OWNCAB_SHIPS),id=uid(),days=q.days; + S.links.push({id,a,b,kind:'df',own:true,sub:true,seaDesign:design,seaPath:q.pts.map(p=>p.slice()),sys:'roadm',ch:[],km,cable:null,cname,mo:Math.round(km*OWNCAB_OM),trench:'own:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:1}); + const laid=S.links[S.links.length-1];laid.paid=q.cost;for(const k of Object.keys(SUB_UPGRADES))if(up[k])laid['sub'+k]=laid.ready;UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false; + S.stats.ownCab=(S.stats.ownCab||0)+1;UI.dfSrc='lease';closeModal();UI.sel={type:'link',id}; + toast(tr('The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.',{ship,name:cname,km:km.toLocaleString(),a:CITY[a].name,b:CITY[b].name,n:days}),'goal');sfx('build');after();}, + orderDf:()=>{const p=UI.pending;if(!p)return;const {a,b}=p;if(!dfAllowed(a,b))return;const sc=isSub(a,b)?subDfCable(a,b):null,km=sc?sc.km:kmBetween(a,b); + const own=UI.dfSrc==='build'&&lvl()>=3&&!sc,sys=DF_SYS[UI.dfSys]&&DF_SYS[UI.dfSys].lvl<=lvl()?UI.dfSys:'lite';if(lvl()<2)return; + const up=(own?dfBuildCost(km):0)+DF_SYS[sys].cost+ampCount(km)*AMP_COST+(S.pops[b]?0:popCost(b));if(!spend(up))return; + if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0}; + const sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),id=uid(); + const l={id,a,b,kind:'df',own,sys,ch:[],km,sub:!!sc,cable:sc?sc.cid:null,mo:own?Math.round(km*0.15):dfLeaseMo(km),trench:sc?'cab:'+sc.cid:id,cut:0,day:S.day,ready:S.day+(own?dfBuildDays(km):30),spares:false}; + S.links.push(l);closeModal();UI.sel={type:'link',id}; + toast(own?tr('Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.',{a:CITY[a].name,b:CITY[b].name,n:dfBuildDays(km)}):tr('Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.',{a:CITY[a].name,b:CITY[b].name}),'goal');after();}, + regen:({id,d})=>{d=+d;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||l.sub||(d!==1&&d!==-1))return;const n=(l.regen|0)+d;if(n<0||n>REGEN_MAX)return; + if(d<0&&(l.ch||[]).some(o=>!optMode(o,{km:l.km,regen:n}))){toast(tr('Those optics need the regen site.
Remove the long-haul channels first, or keep the site.'),'bad');sfx('err');return;} + if(d>0&&!spend(REGEN_COST+Math.round((l.ch||[]).reduce((a,c)=>a+optCost(c),0)*REGEN_CH)))return;l.regen=n;toast(d>0?tr('Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.',{n,a:CITY[l.a].name,b:CITY[l.b].name,km:spanKm(l).toLocaleString()}):tr('Regen site removed.'),'good');sfx('build');after();}, + addCh:({id,o})=>{const l=S.links.find(x=>x.id===id),O=OPT[o];if(!l||!O||l.kind!=='df')return;const why=chWhy(l,o);if(why){toast(tr("Can't add {optic}.
{why}",{optic:O.n,why:esc(why)}),'bad');sfx('err');return;}if(!portGate(l.a,1)||!portGate(l.b,1))return;const sp=spareN(o)>0;if(!spend(chCost(l,o)))return;if(sp)S.spares[o]--;(l.ch=l.ch||[]).push(o);floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,`+${O.n}`,'#FF4F9A');after();}, + rmCh:({id,o})=>{const l=S.links.find(x=>x.id===id);if(!l||!OPT[o])return;const i=(l.ch||[]).lastIndexOf(o);if(i<0)return;l.ch.splice(i,1);S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,tr('{optic} to spares',{optic:OPT[o].n}),'#7B61FF');after();}, + hwLock:()=>{if(hwLock())return;const c=hwLockCost();if(!spend(c))return;S.hw=S.hw||{};S.hw.lock={until:S.day+HW_LOCK_DAYS,mul:hwTrend(S.day)};toast(tr('Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.',{date:dateStr(S.hw.lock.until)}),'good');after();}, + buySpare:({o})=>{if(!OPT[o]||OPT[o].lvl>lvl()||spareN(o)>=64)return;if(!spend(optCost(o)))return;S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;sfx('build');after();}, + sellSpare:({o})=>{if(!OPT[o]||spareN(o)<1)return;S.spares[o]--;const v=spareValue(o);S.cash+=v;toast(tr('Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.',{optic:OPT[o].n,price:fmt$(v),p:pct(SPARE_RESALE)}),'good');sfx('coin');after();}, + addPair:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||!isRdm(l.sys)||l.ready>S.day)return;const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return;if((l.ch||[]).length+soldSlots(l)Fill this pair first.
Light all {max} channels before you light another fiber pair.',{max:chMax(l)}),'bad');sfx('err');return;}if(!spend(pairCost(l)))return;l.pairs=n+1;toast(tr('Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.',{n:n+1,a:CITY[l.a].name,b:CITY[l.b].name,m:DF_SYS[l.sys].max}),'good');sfx('build');after();}, + upSys:({id})=>{const l=S.links.find(x=>x.id===id),to=l&&sysNext(l);if(!to||DF_SYS[to].lvl>lvl())return;if(!spend(sysUpCost(l)))return;l.sys=to;if(l.ready<=S.day){l.eqDown=S.day+1;toast(tr('Line system swap
All channels are dark for a day while the ROADMs go in.'),'bad');}after();}, + spares:({id})=>{const l=S.links.find(x=>x.id===id);if(!l)return;l.spares=!l.spares;sfx('click');after();}, + crews:({id,all})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||l.ready<=S.day+1)return;const n=all?crewSteps(l):1,c=n*crewCost(l);if(!spend(c))return;const ready=Math.max(S.day+1,l.ready-30*n),saved=l.ready-ready;setCableReady(l,ready);toast(trn('More crews on site.
Construction is {n} day ahead.','More crews on site.
Construction is {n} days ahead.',saved,{n:saved}),'good');after();}, + addGen:({city})=>{const p=S.pops[city];if(!p||p.gen)return;if(!spend(GEN_COST))return;p.gen=true;floater(CITY[city].x,CITY[city].y-30,tr('Generator!'),'#FF8A3D');after();}, + randomName:()=>{const input=$('nmIn');if(input)input.value=UI.nm=randomNetworkName(input.value);}, + start:()=>{const nm=(($('nmIn')&&$('nmIn').value)||randomNetworkName()).slice(0,24);beginGame(nm,UI.startCity,{mode:UI.mode==='sandbox'?'sandbox':'normal'});}, + modeSet:({m})=>{UI.mode=m;document.querySelectorAll('.modeb').forEach(b=>b.classList.toggle('pink',b.dataset.m===m));document.querySelectorAll('.modeb').forEach(b=>b.classList.toggle('ghost',b.dataset.m!==m));}, + scenarios:()=>{UI.nm=(($('nmIn')&&$('nmIn').value)||UI.nm||(S&&S.name)||randomNetworkName()).slice(0,24);scenarioModal();}, + startScn:({id,sure})=>{const sc=SCN.find(x=>x.id===id);if(!sc)return;if(!sure&&S&&UI.started&&!S.lost&&!(S.scn&&(S.scn.done||S.scn.failed))){openModal(`

${tr('Start {name}?',{name:esc(sc.n)})}

${tr('{name} will be replaced. Export it from the menu first if you want to keep it.',{name:esc(S.name)})}

${btn(tr('Start the scenario'),'startScn',{id,sure:1},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);return;}beginGame(UI.nm||(S&&S.name)||randomNetworkName(),sc.city,{scn:sc});}, + startWeekly:({sure}={})=>{if(!sure&&S&&UI.started&&!S.lost&&!(S.scn&&(S.scn.done||S.scn.failed))){openModal(`

${tr('Start the weekly challenge?')}

${tr('{name} will be replaced. Export it from the menu first if you want to keep it.',{name:esc(S.name)})}

${btn(tr('Start the challenge'),'startWeekly',{sure:1},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);return;}const wk=weekly();beginGame(UI.nm||(S&&S.name)||randomNetworkName(),wk.city,{scn:wk,seed:wk.seed});}, + pickStart:({city})=>{UI.startCity=city;document.querySelectorAll('.start').forEach(b=>b.classList.toggle('on',b.dataset.city===city));}, + cont:()=>{migrate(S);track('game_continue',true);UI.started=true;closeModal();renderAll();}, + newgame:()=>{try{localStorage.removeItem('sot-save-v1');}catch(e){}S=null;UI.started=false;UI.sel=null;UI.nm=null;$('dash').hidden=true;$('bankBox').hidden=true;renderAll();showTitle();}, + keepPlaying:()=>{closeModal();}, + exportSave:()=>exportSave(), + importPick:()=>{let f=$('importIn');if(!f){f=document.createElement('input');f.type='file';f.accept='.json,application/json';f.id='importIn';f.hidden=true;document.body.appendChild(f);f.addEventListener('change',()=>{importFile(f.files[0]);f.value='';});}f.click();}, + importGo:()=>{const s0=UI.importing;if(!s0)return;UI.importing=null;const prev=S;try{S=migrate(JSON.parse(JSON.stringify(s0)));compute();checkGoals();renderAll();}catch(e){S=prev;if(S)compute();renderAll();toast(tr('Import failed.
That save is damaged and could not be loaded. Your current game is untouched.'),'bad');sfx('err');return;}UI.confirm=null;$('bankBox').hidden=true;$('dash').hidden=true;UI.started=true;UI.sel=null;UI.speed=S.uiSpeed===undefined?1:S.uiSpeed;if(S.cam&&isFinite(S.cam.x))Object.assign(cam,S.cam);else{const h=CITY[S.home];if(h){cam.x=h.x;cam.y=h.y;}}closeModal();$('modal').hidden=true;compute();renderAll();save();toast(tr('Welcome back, {name}.
Imported and saved on this device.',{name:esc(S.name)}),'good');sfx('coin');track('game_import');}, + menu:()=>{if(!S||!UI.started){showTitle();return;}openModal(`
AS${S.asn} · ${esc(dateStr(S.day))} · ${tierLabel()}

${esc(S.name)}

+

${tr('Your game saves itself every few seconds on this device.')}

${isPhone()?installRow():''} + ${chatHtml()}`);}, + settings:()=>{UI.setOpen=true;openModal(settingsHtml());}, + settingsClose:()=>{UI.setOpen=false;if(!S||!UI.started)showTitle();else closeModal();}, + prefSet:({v})=>{const [k,b]=String(v).split(':');if(!own(PREF_DEF,k))return;setPref(k,b==='1');sfx('click');refreshSettings();}, + vpSet:({v})=>{vpOn(v==='on');refreshSettings();}, + resetAsk:()=>openModal(`

${tr('Start a new network?')}

${tr('{name} and everything it owns will be deleted. This cannot be undone.',{name:esc(S?S.name:tr('Your network'))})}

${btn(tr('Delete and start over'),'newgame',{},'red big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`), + whatsNewShow:()=>whatsNew(true,true), + updateNow:()=>{save();location.reload();}, + updateLater:()=>{$('update').hidden=true;UI.updLater=Date.now();}, + helpClose:()=>{if(UI.started)closeModal();else showTitle();}, +}; diff --git a/src/game/90-actions/90-action-helpers.js b/src/game/90-actions/90-action-helpers.js new file mode 100644 index 0000000..9b30497 --- /dev/null +++ b/src/game/90-actions/90-action-helpers.js @@ -0,0 +1,27 @@ +// Overland routes already dug between two cities, in the order they were built (#77). The first is the +// main route; every other one was a diverse route and keeps that price when you add waves to it. +function landTrenches(a,b){const out=[];for(const l of pairLinks(a,b)){if(l.kind==='vxc'||l.cable||l.sub)continue;const k=l.trench||l.id;let t=out.find(x=>x.k===k);if(!t)out.push(t={k,n:0,caps:[]});t.n++;t.caps.push(capName(l));}return out;} +// Which route a new wave joins: null = a new diverse route. 'same' is the old two-way choice (the main route). +function routeJoin(a,b){const ts=landTrenches(a,b),r=UI.route||'';if(r==='same')return ts[0]||null;if(r.startsWith('t:'))return ts.find(t=>t.k===r.slice(2))||null;return null;} +function pairLinks(a,b){return S.links.filter(l=>(l.a===a&&l.b===b)||(l.a===b&&l.b===a));} +// Short, busy subsea routes (London–Amsterdam, London–Paris) sell dark fiber pairs too. +function subDfCable(a,b){return cablesOk(a,b).filter(c=>CAB[c.cid].df).sort((x,y)=>x.km-y.km)[0]||null;} +function dfAllowed(a,b){if(isSub(a,b))return !!subDfCable(a,b);return cnCity(a)===cnCity(b)&&!uaePair(a,b)&&!landX(a,b);} +/* Optics you unplug go on a spares shelf instead of in the bin (#45): the next channel of that type uses a spare + for free (only the regen sites' transponders are new), or you sell it on eBuy for part of the price. */ +const SPARE_RESALE=0.4,spareN=o=>(S&&S.spares&&S.spares[o])|0,spareValue=o=>Math.round(optCost(o)*SPARE_RESALE); +function chCost(l,o){const r=REGEN_CH*(l.regen|0);return Math.round(optCost(o)*(spareN(o)>0?r:1+r));} +function optCost(o){return Math.round(OPT[o].cost*hwMul('opt')*(S&&S.ev&&S.ev.tariff>S.day?1.4:1));} +// Line systems upgrade in place: Rainbow → ROADMaster → C+L. Every lit pair gets the new gear. +const sysNext=l=>l.sys==='lite'?'roadm':l.sys==='roadm'?'cl':null,sysUpCost=l=>{const t=sysNext(l);return t?DF_SYS[t].cost*(t==='cl'&&l.own?Math.max(1,l.pairs|0):1):0;}; +function pairBtn(l){if(!l.own||!isRdm(l.sys)||l.ready>S.day)return '';const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return `${tr('{n} fiber pairs lit, the trench is full',{n})}`; + const full=(l.ch||[]).length+soldSlots(l)>=chMax(l),c=pairCost(l);return btn(l.sub?tr('Light fiber pair {n} {price}',{n:n+1,price:fmt$(c)}):tr('Light fiber pair {n} {price} + {mo}/mo',{n:n+1,price:fmt$(c),mo:fmt$(ampCount(l.km)*AMP_MO)}),'addPair',{id:l.id},full?'pink sm':'ghost sm',!full||S.cashlvl())return tr('Unlocks at customer level {n}.',{n:O.lvl});if(O.sys==='roadm'&&!isRdm(l.sys))return tr('Needs a ROADMaster 9000 line system.');if(!optMode(o,l)){const mx=optModes(o,l).at(-1)[1];if(l.sub&&l.own)return tr('This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.',{max:mx.toLocaleString(),span:spanKm(l).toLocaleString()});return tr('Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).',{span:spanKm(l).toLocaleString(),max:mx.toLocaleString()});} + if((l.ch||[]).length+soldSlots(l)>=chMax(l))return soldSlots(l)?tr('{sys} is full ({max} channels, {sold} sold to customers).',{sys:DF_SYS[l.sys].n,max:chMax(l),sold:soldSlots(l)}):tr('{sys} is full ({max} channels).',{sys:DF_SYS[l.sys].n,max:chMax(l)}); + for(const c of [l.a,l.b]){const p=S.pops[c];if(p&&RG[p.rgen||0].clsinnerWidth>760&&innerWidth<=1200; +function selectLink(id){UI.sel={type:'link',id};UI.confirm=null;if(isTablet()||isPhone())UI.leftOpen=false;$('panel').classList.remove('full');renderPanel();renderLeft();} +function selectCity(c){UI.sel={type:'city',id:c};UI.confirm=null;if(isTablet()||isPhone())UI.leftOpen=false;const P=$('panel');if(P)P.classList.remove('full');if(!S.pops[c])UI.tab='cust';renderPanel();} + diff --git a/src/game/91-save.js b/src/game/91-save.js new file mode 100644 index 0000000..a30df6a --- /dev/null +++ b/src/game/91-save.js @@ -0,0 +1,23 @@ +/* ================= SAVE ================= */ +function save(){if(!S||S.lost)return;S.uiSpeed=UI.speed;S.cam={x:cam.x,y:cam.y,z:cam.z};try{localStorage.setItem('sot-save-v1',JSON.stringify(S));}catch(e){}UI.lastSave=performance.now();} +// Save whenever the player might be leaving: tab hidden, page closing or reloading. +addEventListener('pagehide',()=>save()); +document.addEventListener('visibilitychange',()=>{if(document.visibilityState==='hidden')save();else checkUpdate();}); +/* Export / import: move a network to another device or keep a backup. The file is the same + object the autosave writes, wrapped with a little metadata. */ +function saveFileName(){const d=new Date().toISOString().slice(0,10),n=(S&&S.name||'network').toLowerCase().replace(/[^a-z0-9]+/g,'-').replace(/^-|-$/g,'')||'network';return `series-of-tubes-${n}-${d}.json`;} +function exportSave(){if(!S)return;save();const blob=new Blob([JSON.stringify({app:'series-of-tubes',version:APP_VERSION,exported:new Date().toISOString(),S},null,1)],{type:'application/json'}); + const a=document.createElement('a');a.href=URL.createObjectURL(blob);a.download=saveFileName();document.body.appendChild(a);a.click();setTimeout(()=>{URL.revokeObjectURL(a.href);a.remove();},1000); + toast(tr('Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.',{file:esc(saveFileName())}),'good');} +function parseSave(txt){if(typeof txt!=='string')return {err:tr('That file is not valid JSON.')};let j;try{j=JSON.parse(txt);}catch(e){return {err:tr('That file is not valid JSON.')};} + const s=j&&j.app==='series-of-tubes'&&j.S?j.S:j; + if(!s||typeof s!=='object'||s.v!==1||typeof s.day!=='number'||typeof s.cash!=='number'||!s.pops||typeof s.pops!=='object'||!Array.isArray(s.links))return {err:tr('That does not look like a Series of Tubes save.')}; + if(s.lost)return {err:tr('That network went bankrupt. It cannot be brought back, only mourned.')}; + for(const c of Object.keys(s.pops))if(!isCity(c))return {err:tr('That save has a POP in a city this version does not know ({city}).',{city:esc(String(c).slice(0,12))})}; + return {s,ver:j.version||'?',name:String(s.name||tr('Unnamed network'))};} +function importFile(file){if(!file)return;if(file.size>8e6){toast(tr('That file is too big to be a save.'),'bad');return;} + const rd=new FileReader();rd.onload=()=>{const r=parseSave(String(rd.result));if(r.err){toast(tr('Import failed.
{err}',{err:esc(r.err)}),'bad');sfx('err');return;} + UI.importing=r.s;openModal(`
${tr('Import a save')}

${tr('Load {name}?',{name:esc(r.name)})}

${esc(dateStr(r.s.day))} · ${tr('{cash} in the bank',{cash:fmt$(r.s.cash)})} · ${trn('{n} POP','{n} POPs',Object.keys(r.s.pops).length)} · ${tr('saved by v{ver}',{ver:esc(r.ver)})}

${S&&UI.started&&!S.lost?`

${tr('This replaces {name}. Export it first if you want to keep it.',{name:esc(S.name)})}

`:''}
${btn(tr('Load this network'),'importGo',{},'pink big')}${btn(tr('Cancel'),UI.started?'closeModal':'helpClose',{},'ghost big')}
`);}; + rd.readAsText(file);} +function loadSave(){try{const t=localStorage.getItem('sot-save-v1');if(t){const s=JSON.parse(t);if(s&&s.v===1&&!s.lost)return s;}}catch(e){}return null;} + diff --git a/src/game/92-audio.js b/src/game/92-audio.js new file mode 100644 index 0000000..117eee5 --- /dev/null +++ b/src/game/92-audio.js @@ -0,0 +1,12 @@ +/* ================= AUDIO ================= */ +let AC=null; +function audioInit(){if(AC)return;try{AC=new (window.AudioContext||window.webkitAudioContext)();}catch(e){}} +function tone(f,t0,dur,type='square',vol=.05){if(!AC)return;const o=AC.createOscillator(),g=AC.createGain();o.type=type;o.frequency.value=f;g.gain.setValueAtTime(vol,AC.currentTime+t0);g.gain.exponentialRampToValueAtTime(.0001,AC.currentTime+t0+dur);o.connect(g).connect(AC.destination);o.start(AC.currentTime+t0);o.stop(AC.currentTime+t0+dur+.02);} +function sfx(k){if(UI.muted||!AC)return;try{ + if(k==='coin'){tone(988,0,.08);tone(1319,.08,.18);} + else if(k==='build'){tone(523,0,.07,'triangle',.08);tone(784,.06,.12,'triangle',.08);} + else if(k==='err'){tone(180,0,.18,'sawtooth',.04);} + else if(k==='alert'){tone(880,0,.1,'square',.04);tone(660,.12,.1,'square',.04);tone(880,.24,.12,'square',.04);} + else if(k==='click'){tone(660,0,.04,'triangle',.05);} +}catch(e){}} + diff --git a/src/game/93-ui/10-dom.js b/src/game/93-ui/10-dom.js new file mode 100644 index 0000000..c800be6 --- /dev/null +++ b/src/game/93-ui/10-dom.js @@ -0,0 +1,27 @@ +/* ================= DOM RENDER ================= */ +const $=id=>document.getElementById(id); +const btn=(label,act,args={},cls='',dis=false,title='')=>``; +const logo=n=>``; +const barCls=u=>u>=0.9?'bad':u>=0.65?'warn':''; +/* Panels are rebuilt from state every tick. Replacing a thousand rows makes the browser style and lay out every one + of them again, so patch what changed instead: same HTML, far less work. A button that now does something else, and + any form field that changed, is swapped out whole, so a tap that started on the old one still cannot fire it (#44). */ +const SWAP={INPUT:1,SELECT:1,TEXTAREA:1,OPTION:1}; +function morph(el,html){const t=document.createElement(el.tagName);t.innerHTML=html;morphKids(el,t);} +function sameNode(x,y){if(x.nodeType!==y.nodeType||x.nodeName!==y.nodeName)return false;if(x.nodeType!==1)return true; + if(SWAP[x.nodeName])return x.outerHTML===y.outerHTML; + return x.getAttribute('data-act')===y.getAttribute('data-act')&&x.getAttribute('data-args')===y.getAttribute('data-args');} +function morphKids(a,b){let x=a.firstChild,y=b.firstChild; + while(y){const ny=y.nextSibling; + if(!x)a.appendChild(y); + else if(!sameNode(x,y)){a.replaceChild(y,x);x=y;} + else if(x.nodeType===1){if(!SWAP[x.nodeName]){const ya=y.attributes,xa=x.attributes; + for(let i=0;i=0;i--)if(!y.hasAttribute(xa[i].name))x.removeAttribute(xa[i].name); + morphKids(x,y);}} + else if(x.nodeValue!==y.nodeValue)x.nodeValue=y.nodeValue; + x=x&&x.nextSibling;y=ny;} + while(x){const nx=x.nextSibling;a.removeChild(x);x=nx;}} +function renderAll(){if(isTablet()&&!UI.sel)UI.leftOpen=false;renderHUD();renderLeft();renderPanel();renderHint();renderMega();renderCoach();} +function renderMega(){const el=$('mega');if(!el)return;const on=!!(S&&S.ev&&S.ev.php>S.day);if(el.hidden===!on)return;el.hidden=!on;} + diff --git a/src/game/93-ui/20-phone.js b/src/game/93-ui/20-phone.js new file mode 100644 index 0000000..0727016 --- /dev/null +++ b/src/game/93-ui/20-phone.js @@ -0,0 +1,23 @@ +/* ================= PHONE ================= */ +const isPhone=()=>innerWidth<=760||(innerHeight<=500&&matchMedia('(pointer:coarse)').matches); +const SPEEDS=[0.5,1,2,4,8]; +function renderTabbar(){const tb=$('tabbar');if(!tb||(pressing&&UI.ticking))return;if(!isPhone()||!S||!UI.started){tb.hidden=true;document.body.classList.remove('sheet-open');return;}tb.hidden=false; + const open=UI.leftOpen&&!UI.sel,cur=UI.left||'goals',ndone=GOALS.filter(g=>S.done[g.id]!==undefined).length; + const tab=(k,ic,l,cnt,red)=>``; + const h=``+ + ``+ + (()=>{const P=scnProg();return tab('goals','🎯',tr('Goals'),P&&!S.scn.done&&!S.scn.failed?`${Math.round(P.f*100)}%`:`${ndone}/${GOALS.length}`);})()+(()=>{const u=custStats().unhappy;return u?tab('deals','💼',tr('Deals'),u,true):tab('deals','💼',tr('Deals'),S.offers.length||'');})()+tab('noc','🚨','NOC',S.inc.length||(UI.left==='noc'&&UI.leftOpen?'':logUnread())||'',S.inc.length>0)+tab('nets','🌐',tr('Networks'),ibxOpen()||'',ibxUrgent()>0); + if(h!==UI._tb){UI._tb=h;tb.innerHTML=h;} + document.body.classList.toggle('sheet-open',!!(UI.sel||UI.leftOpen));} +function haptic(ms){if(UI.muted)return;try{navigator.vibrate&&navigator.vibrate(ms||12);}catch(e){}} +// Bottom sheets: drag the handle up to expand, down to shrink or close; tap it to toggle. +(function(){let g=null; + document.addEventListener('pointerdown',e=>{const h=e.target.closest('[data-grab]');if(!h||!isPhone())return;const el=h.parentElement;g={el,y:e.clientY,dy:0,id:e.pointerId,full:el.classList.contains('full')};try{h.setPointerCapture(e.pointerId);}catch(_){}el.style.transition='none';}); + document.addEventListener('pointermove',e=>{if(!g||e.pointerId!==g.id)return;g.dy=e.clientY-g.y;if(g.dy>0)g.el.style.transform=`translateY(${g.dy}px)`;}); + const end=e=>{if(!g||e.pointerId!==g.id)return;const {el,dy,full}=g;g=null;el.style.transition='';el.style.transform=''; + if(Math.abs(dy)<6){el.classList.toggle('full');return;} + if(dy<-40){el.classList.add('full');return;} + if(dy>40){if(full){el.classList.remove('full');return;}if(el.id==='panel')ACT.closePanel();else{UI.leftOpen=false;renderLeft();}}}; + document.addEventListener('pointerup',end);document.addEventListener('pointercancel',end);})(); +// Toasts can be tapped away on touch screens. +document.addEventListener('click',e=>{const t=e.target.closest('.toast');if(t&&!e.target.closest('[data-act]')&&isPhone())t.remove();}); diff --git a/src/game/93-ui/30-install.js b/src/game/93-ui/30-install.js new file mode 100644 index 0000000..31b3fac --- /dev/null +++ b/src/game/93-ui/30-install.js @@ -0,0 +1,23 @@ +/* ================= INSTALL (PWA) ================= */ +let installEvt=null; +addEventListener('beforeinstallprompt',e=>{e.preventDefault();installEvt=e;}); +addEventListener('appinstalled',()=>{installEvt=null;track('pwa_installed',true);if(UI.pendGame){const p=UI.pendGame;UI.pendGame=null;UI.pitched=true;beginGame(...p);}toast(tr('Installed!
Open Series of Tubes from your home screen. Your saves come along.'),'good');}); +const isStandalone=()=>{try{return navigator.standalone===true||!!(window.matchMedia&&matchMedia('(display-mode: standalone)').matches);}catch(e){return false;}}; +const isIOS=()=>/iPad|iPhone|iPod/.test(navigator.userAgent)||(navigator.platform==='MacIntel'&&navigator.maxTouchPoints>1); +function installRow(){if(isStandalone())return ''; + return `
📲 ${tr('Best played as an app')}
${tr('Full screen, works offline, one tap from your home screen.')}${isIOS()?' '+tr('Install it before you start: a game begun in Safari stays in Safari.'):''}
${btn(tr('Install'),'install',{},'pink sm')}
`;} +/* Phones get a real pitch before a new game: an installed app is full screen, works offline, and on iPhone + keeps its save away from Safari's clean-ups. Storage is separate on iOS, so installing first matters. */ +const SHARE_SVG=''; +const needPitch=()=>isPhone()&&!isStandalone(); +function installSteps(){ + if(isIOS())return `
  1. ${tr('Tap Share {icon} in the browser toolbar.',{icon:SHARE_SVG})}
  2. ${tr('Tap Add to Home Screen. You may need to scroll down, or tap More first.')}
  3. ${tr('Open Series of Tubes from your home screen and start your network there.')}
`; + if(installEvt)return ''; + return `
  1. ${tr('Open your browser menu (⋮).')}
  2. ${tr('Tap Install app or Add to Home screen.')}
  3. ${tr('Open Series of Tubes from your home screen.')}
`;} +function pitchHtml(starting){const ios=isIOS(); + return `
${starting?`
${tr('Before you start')}
`:''}

📲 ${tr('Play it as an app')}

+

${tr('Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:')}

+
  • 🗺️ ${tr('Full screen.')} ${tr('No browser bars, a lot more map.')}
  • 📶 ${tr('Works offline.')} ${tr('Build your backbone on the train or on a plane.')}
  • ${ios?`
  • 💾 ${tr('Your save stays safe.')} ${tr('Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.')}
  • ⚠️ ${tr('Install first.')} ${tr('On iPhone, a game started in Safari does not carry over to the home-screen app.')}
  • `:`
  • ⚡ ${tr('One tap away.')} ${tr('It opens straight into your network, like any other app.')}
  • `}
+ ${installSteps()} +
${installEvt?btn(tr('Install the app'),'install',{},'pink big'):''}${starting?btn(tr('Play in the browser anyway'),'pitchSkip',{},installEvt?'ghost':'ghost big'):btn(tr('Got it'),'closeModal',{},installEvt?'ghost':'pink')}
`;} +if('serviceWorker' in navigator&&location.protocol==='https:'&&!IS_DEV)addEventListener('load',()=>{navigator.serviceWorker.register('/sw.js').catch(()=>{});}); diff --git a/src/game/93-ui/40-hud-and-panels.js b/src/game/93-ui/40-hud-and-panels.js new file mode 100644 index 0000000..210c872 --- /dev/null +++ b/src/game/93-ui/40-hud-and-panels.js @@ -0,0 +1,91 @@ +function fitHud(){const h=$('hud');if(!h)return;h.classList.remove('fit1','fit2','fit3');if(innerWidth<=760)return; + const row=()=>{let m=0;for(const c of h.children)if(c.offsetParent)m=Math.max(m,c.offsetHeight);return m;}; + for(const c of ['fit1','fit2','fit3']){if(h.offsetHeight<=row()*1.5)break;h.classList.add(c);}} +function renderHUD(){ + for(const v of [0,0.5,1,2,4,8]){const b=$('sp'+v);if(b)b.classList.toggle('on',UI.speed===v);} + $('muteBtn').style.opacity=UI.muted?.4:1; + if(!S)return; + $('hName').textContent=S.name;$('hAsn').textContent='AS'+S.asn+(S.mode==='sandbox'?' · '+tr('Sandbox'):S.scn?' · '+(scnName())+(S.scn.done||S.scn.failed?'':` · ${tr('{n}d left',{n:Math.max(0,S.scn.days-S.day)})}`):''); + $('hCash').textContent=fmt$(S.cash);$('hCash').style.color=S.cash<0?'var(--bad)':''; + const net=R.revMo-R.costMo;$('hRate').innerHTML=`${net>=0?'▲':'▼'} ${tr('{price}/mo',{price:fmt$(Math.abs(net))})}`; + $('hTraffic').textContent=`${fmtG(R.served)}`; + $('hTrafBar').style.width=(R.demand?R.served/R.demand*100:0)+'%'; + $('hTrafBar').style.background=R.demand&&R.served/R.demand<0.9?'var(--bad)':'var(--ok)'; + $('hReach').textContent=reachPct(R.reach);$('hReach').style.color=R.reach<0.99?'var(--bad)':'var(--eye)'; + $('hTier').textContent=tierLabel()+' · '+tr('Lv {n}',{n:S.lvl||1}); + {const P=scnProg(),hs=$('hScn');hs.hidden=!P;if(P){const sc=S.scn;$('hScnVal').textContent=sc.done?tr('Done!'):sc.failed?tr("Time's up"):`${Math.round(P.f*100)}% · ${tr('{n}d left',{n:Math.max(0,sc.days-S.day)})}`;}} + $('hDate').textContent=dateStr(S.day); + {const bo=(S.loanOffers||[]).length,hb=$('hBank');hb.hidden=!bo;hb.textContent=bo;} + {const st=custStats(),hc=$('hCust');hc.hidden=!st.n;if(st.n){$('hCustVal').innerHTML=`${st.avg>=80?'😀':st.avg>=60?'🙂':st.avg>=30?'😟':'😡'} ${Math.round(st.avg)}%${st.unhappy?` ${st.unhappy}`:''}`;hc.classList.toggle('hot',st.furious>0);}} + const n=S.inc.length;$('hNoc').classList.toggle('hot',n>0);{const u=UI.left==='noc'&&UI.leftOpen?0:logUnread(),b=$('hNocNew');if(b){b.hidden=!u;b.textContent=u>99?'99+':String(u);b.title=trn('{n} new notification','{n} new notifications',u);}}$('hNocVal').textContent=n?trn('{n} incident','{n} incidents',n):tr('All quiet'); + if(!window.__TUBES_TEST__)fitHud(); + renderTabbar(); +} +function renderLeft(){checkLayer(); + // Tablets in landscape: both side panels don't fit next to the map, so the left one tucks away + // while a city or link is open and comes back with the toggle button. + const tab=isTablet(),L=$('left');L.classList.toggle('closed',tab?(!!UI.sel&&!UI.leftOpen):!UI.leftOpen);const tg=$('leftToggle');if(tg&&innerWidth>760)tg.hidden=!(tab&&L.classList.contains('closed')); + renderTabbar(); + if(!S){L.hidden=true;return;}L.hidden=false; + const ndone=GOALS.filter(g=>S.done[g.id]!==undefined).length; + const tabs=[['goals',`${tr('Goals')}${ndone}/${GOALS.length}`],['deals',`${tr('Deals')}${S.offers.length?`${S.offers.length}`:''}`],['noc',`NOC${S.inc.length?`${S.inc.length}`:''}`],['nets',`${tr('Networks')}${ibxOpen()?`${ibxOpen()}`:''}`]]; + $('leftTabs').innerHTML=tabs.map(([k,l])=>``).join('')+(innerWidth<760?``:''); + let h=''; + if(UI.left==='goals'){ + h+=scnCard()+lvlCard()+t1Card(); + const cur=GOALS.find(g=>S.done[g.id]===undefined); + h+=GOALS.map(g=>{const d=S.done[g.id]!==undefined,c=g===cur;return `
${d?'✓':''}
${esc(g.t)}
${c||!d?`
${esc(g.d)}
`:''}${!d&&g.r?`
${tr('Reward {cash}',{cash:fmt$(g.r)})}
`:''}
`;}).join(''); + h+=badgeGrid(); + }else if(UI.left==='deals'){ + {const st=custStats();if(st.n)h+=`
${tr('Your customers')} ${st.n} · ${tr('happiness {p}%',{p:Math.round(st.avg)})}
${st.unhappy?`
${trn('{n} unhappy customer, {price}/mo at risk','{n} unhappy customers, {price}/mo at risk',st.unhappy,{price:fmt$(st.risk)})}
`:''}
${btn(st.unhappy?tr('See who'):tr('All customers'),'custOpen',{sad:st.unhappy?1:0},st.unhappy?'pink sm':'ghost sm')}
`;} + h+=confSection(); + {const lv=S.lvl||1,nx=LEVELS[lv];h+=`
${tr('Customer level {lv}: {name}',{lv,name:LEVELS[lv-1].n})}
${nx?tr('Next: {req} unlocks {what}',{req:nx.req,what:lc1(nx.unlock)}):tr('Every customer type is unlocked. Go get those terabits.')}
`;} + if(!S.offers.length)h+=`

${tr('No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.')}

`; + for(const o of S.offers.slice().sort((a,b)=>a.exp-b.exp)){const has=bHas(o); + h+=`
${esc(o.name)}
${esc(BIZ_T[o.type].l)} · ${CITY[o.city].name}${o.city2?' ⇄ '+CITY[o.city2].name:''} · ${bTerms(o)} · ${tr('{n}d left',{n:o.exp-S.day})}${(o.reqs||[]).length?` · ${trn('{n} special requirement','{n} special requirements',o.reqs.length)}`:''}
${reqList(o)} +
${has?btn(tr('Accept'),'accept',{id:o.id},'green sm'):btn(tr('Go there'),'focusCity',{city:bCities(o).find(c=>!S.pops[c])},'ghost sm')}${btn(tr('Decline'),'decline',{id:o.id},'ghost sm')}
${has?'':`
${tr('Needs a POP in {cities}',{cities:bCities(o).filter(x=>!S.pops[x]).map(x=>CITY[x].name).join(', ')})}
`}
`;} + }else if(UI.left==='noc'){ + h+=`
${btn(tr('Open NOC dashboard'),'dash',{},'pink')}${btn(tr('Connections'),'connOpen',{},'')}${btn(tr('Traceroute'),'trace',{},'')}
`; + h+=`

${tr('Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.')}

`; + // Incidents come first, the ones you can fix with one click at the top (#63): no scrolling past hot ports to replace an optic. + for(const i of S.inc.filter(i=>i.type!=='ddos').sort((a,b)=>(b.cost?1:0)-(a.cost?1:0)||(b.impact||0)-(a.impact||0))){h+=`
${incTitle(i.type)}
${esc(i.msg)}
${trn('Auto-fix in {n} day','Auto-fix in {n} days',i.until-S.day)}${i.impact?` · ${tr('{g} lost',{g:fmtG(i.impact)})}`:''}
${i.cost?`
${btn(`${esc(i.fix||tr('Rush repair'))} ${fmt$(i.cost)}`,'fixInc',{id:i.id},'red sm',S.cash`:''}
`;} + h+=logSection();UI.logSeen=Date.now(); + h+=`
${tr('DDoS scrubbing')}${hasScrub()?tr('On · {city}',{city:S.scrubs.map(x=>CITY[x.city].name).join(', ')}):tr('None (build one from a POP\'s Infra tab)')}
`; + {const pops=Object.keys(S.pops),nfs=pops.filter(c=>fsAt(c)).length; + h+=`
${tr('Flowspec-capable POPs')}${nfs}/${pops.length}
`; + if(nfs${tr('Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.')}

`;} + if(S.grace&&S.grace.until>S.day&&R.graceNets)h+=`
${tr('Courtesy route')}${tr('{n} networks · {d} days left',{n:R.graceNets,d:S.grace.until-S.day})}

${tr('Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.')}

`; + h+=ddosPanel(); + h+=S.te?`
Auto-TE${S.te.on?tr('On · moving {g} onto alternate paths',{g:fmtG(R.teMoved||0)}):tr('Off')}
${btn(S.te.on?tr('Turn Auto-TE off'):tr('Turn Auto-TE on'),'teToggle',{},'ghost sm')}${btn(S.te.script?tr('Edit RouteScript'):tr('Write a RouteScript'),'teEdit',{},'pink sm')}
${S.te.script?`

RouteScript: ${teRules()?tr('{n} rules live',{n:teRules().n}):S.te.on?tr('has errors, not running'):tr('controller off')}${R.teBlack?` · ${tr('blackholing {g}',{g:fmtG(R.teBlack)})}`:''}

`:''}` + :`
Auto-TE${lvl()<3?tr('Unlocks at customer level 3'):tr('Not installed')}

${tr('Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.')}

${btn(tr('Install Auto-TE {cost} + {mo}/mo',{cost:fmt$(TE_COST),mo:fmt$(TE_MO)}),'buyTE',{},'pink sm',lvl()<3||S.cash`; + const hot=S.links.filter(l=>!linkDown(l)&&capOf(l)>0&&(R.load[l.id]||0)/capOf(l)>=0.85).sort((a,b)=>(R.load[b.id]/capOf(b))-(R.load[a.id]/capOf(a))); + if(hot.length){h+=`

${tr('Congested links')}

${S.te&&S.te.on?'':'

'+tr('Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.')+'

'}`+hot.map(l=>`
${CITY[l.a].name} ⇄ ${CITY[l.b].name}
${capName(l)} · ${tr('{p} full',{p:pct((R.load[l.id]||0)/capOf(l))})}
${btn(tr('Inspect'),'selLink',{id:l.id},'pink sm')}
`).join('');} + h+=hwCard(); + const slow=Object.keys(S.pops).filter(latSlow).sort((a,b)=>R.latF[a]-R.latF[b]); + if(slow.length)h+=`

🐢 ${tr('Slow cities')}

${tr('Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.')}

`+slow.map(c=>{const f=R.latFar[c];return `
${CITY[c].name} → ${CITY[f.to].name}
${tr('{p} of its traffic · {ms} ms round trip · service {sf}',{p:pct(Math.min(1,f.share)),ms:Math.round(f.ms),sf:pct(R.latF[c])})}
${btn(tr('Inspect'),'focusCity',{city:c},'ghost sm')}
`;}).join(''); + const hotR=hotPorts(); + if(hotR.length)h+=`

${tr('Ports, caches and routers running hot')}

`+hotR.map(x=>`
${HOTL[x.k]}
${CITY[x.city].name} · ${esc(x.lab)}
${tr('{p} full',{p:pct(Math.min(1,x.u))})}${x.u>=0.995?' · '+tr('dropping or overflowing'):''} · ${esc(x.tip)}
${btn(tr('Inspect'),'focusCity',{city:x.city},'pink sm')}
`).join(''); + if(!S.inc.length&&!hot.length&&!hotR.length&&!slow.length)h+=`

${tr('All systems green. Enjoy it while it lasts.')}

`; + h+=`
${tr('Incidents so far')}${S.stats.incidents}
${tr('Survived with no impact')}${S.stats.survived}
`; + }else{ + if(Object.keys(S.ixp).length||ibxOpen()||(S.inbox&&S.inbox.bot)){const n=ibxOpen(),u=ibxUrgent();h+=`
📬 ${tr('Peering inbox')} ${n?`${n}`:''}
${S.inbox&&S.inbox.bot?tr('Large Peering Model is on it.'):u?trn('{n} session is down on its max-prefix limit.','{n} sessions are down on their max-prefix limit.',u):n?trn('{n} message waiting for an answer.','{n} messages waiting for an answer.',n):tr('Inbox zero.')}
${btn(tr('Open inbox'),'inbox',{},'sm')}
`;} + h+=`

${tr("Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.")}

`; + {const nc=conns().length;if(nc)h+=`
${btn(tr('All connections {n}',{n:nc}),'connOpen',{},'pink sm')}
`;} + const where=netWhereIdx(),tl=NETS.filter(n=>n.tail),tlOn=tl.filter(n=>where(n.id).some(x=>x[2]==='ix')).length; + const foc=UI.netFocus&&NET[UI.netFocus]?NET[UI.netFocus]:null,out=!foc&&UI.nf==='out',lostN=ntLost().length; + h+=`
${btn(tr('All networks'),'netFilter',{f:'all'},!foc&&!out?'sm':'ghost sm')}${btn(tr('Out of reach without transit {n}',{n:lostN}),'netFilter',{f:'out'},out?'sm':'ghost sm')}
`; + if(out&&!lostN)h+=`

${tr('Nothing: every network is reachable without transit.')}

`; + for(const n of foc?[foc]:out?ntLost():NETS){if(n.tail&&!UI.tailOpen&&!foc&&!out)continue; + h+=`
${logo(n)}
${esc(n.name)} AS${n.asn}
${TYPE_L[n.type]} ${n.pol} · ${tr('{p}% of traffic',{p:(NSH[n.id]*100).toFixed(1)})}${n.price?` · ${tr('transit ${price}/Gbps',{price:(n.price*S.priceMul).toFixed(2)})}`:''}
${esc(n.blurb)}
${netWhere(n,where)}${(foc||out)&&!R.nt[n.id]?`

${esc(offTransitHint(n.id))}

`:''}${foc||out&&!R.nt[n.id]?meetLine(n,foc?24:4):''}
`;} + if(!foc&&!out)h+=`
${tr('The long tail')} ${tr('{n} small networks',{n:tl.length})}
${tr('{p}% of traffic between them, scattered across exchanges. You peer with {n}.',{p:(tl.reduce((a,n)=>a+NSH[n.id],0)*100).toFixed(1),n:tlOn})}
${btn(UI.tailOpen?tr('Hide'):tr('Show'),'tailTog',{},'ghost sm')}
`; + } + if(h!==UI._lh){UI._lh=h;morph($('leftBody'),h);} +} +function renderPanel(){checkLayer(); + const P=$('panel'); + if(!S||!UI.sel){P.hidden=true;return;} + P.hidden=false; + const scrollEl=$('panelBody').querySelector('.scroll');const st=scrollEl?scrollEl.scrollTop:0; + const html=UI.sel.type==='city'?cityPanel(UI.sel.id):linkPanel(UI.sel.id);if(html===UI._ph&&!P.hidden&&$('panelBody').firstChild)return;UI._ph=html;morph($('panelBody'),html); + const ns=$('panelBody').querySelector('.scroll');if(ns)ns.scrollTop=st; +} diff --git a/src/game/93-ui/50-city-panel.js b/src/game/93-ui/50-city-panel.js new file mode 100644 index 0000000..0dc1bca --- /dev/null +++ b/src/game/93-ui/50-city-panel.js @@ -0,0 +1,112 @@ +function cityPanel(c){ + const C=CITY[c],p=S.pops[c],ix=ixName(c),down=p&&p.down>S.day; + let h=`
${REG[C.reg]} · ${esc(siteName(c,'a'))}

${C.name}

+
${tr('{g} of eyeballs',{g:fmtG(eyeP(c))})}${latSlow(c)?`🐢 ${tr('{ms} ms to transit',{ms:Math.round(R.latFar[c].ms)})}`:''}${regionMult(c)>1?`${tr('Transit {x}× pricier',{x:regionMult(c)})}`:''}${C.reg==='AS'&&!C.cn?''+tr('Underserved: users grow 60% faster')+'':''}${ix?`${tr('IX: {ix}',{ix:esc(ix)})}`:''}${p?`${tr('Your POP')}`:''}${down?`DOWN`:''}
+
`; + if(!p){ + h+=`
${C.note?`

${esc(C.note)}

`:''} + ${C.cn?chinaSection(c):''}${C.cn&&!cnOk()?'':`

${tr('Open a POP here')}

${tr('A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.')}

+ ${C.ru?`

${tr('Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.',{cost:fmt$(RU_BOX),mo:fmt$(RU_BOX_MO)})}

`:''}${btn(tr('Build POP {cost} + {mo}/mo',{cost:fmt$(popCost(c)),mo:fmt$(POP_MO)}),'buildPop',{city:c},'pink big',S.cash${tr('Or drag from one of your routers to this city to lay fiber and build the POP in one go.')}

`}`; + h+=offersHere(c); + const trs=NETS.filter(n=>sellsAt(n,c)); + const fh=FABS.filter(f=>f.cities.includes(c)); + if(ix&&fh.length){if(remoteCities().includes(c))h+=ixSection(c).replace('

'+tr('Internet Exchange')+'

','

'+tr('Remote peering at the IX')+'

'); + else h+=`

${tr('Remote peering')}

${tr('Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.',{ix:esc(ix),fabs:fh.map(f=>esc(f.name)).join(tr(' or '))})}

${REMOTE_WARN}${btn(tr('Order circuit anyway'),'openVxc',{to:c},'ghost sm')}
`;} + h+=`

${tr("Who's here")}

${MEGA.filter(m=>m.c===c).length?`${tr('AI and cloud campuses nearby: {list}',{list:MEGA.filter(m=>m.c===c).map(m=>`${esc(m.n)}`).join(', ')})}
`:''}${tr('Transit sellers: {list}',{list:trs.map(n=>`${esc(n.name)}`).join(', ')||tr('none')})}
${tr('Fabrics: {list}',{list:fh.map(f=>`${esc(f.name)}`).join(', ')||tr('none')})}
${ix?ixIdsIn(c).map(x=>tr('IX members on {ix}: {n}',{ix:esc(ixName(x)),n:ixMembers(x).length})).join('
'):tr('No IX here yet. You could found one later.')}
`; + return h; + } + const tabs=[['cust',tr('Customers')],['up',tr('Transit')],['peer',tr('Peering')],['links',tr('Infra')]]; + h+=`
`; + if(C.cn&&UI.tab==='cust')h+=chinaSection(c); + const sf=sfOf(R,c),dem=R.cityDem[c]||0; + if(down){const i=S.inc.filter(x=>x.ref===c&&POPDOWN.includes(x.type)).sort((a,b)=>b.until-a.until)[0];h+=`

${tr('This POP is down')}

${i?esc(i.msg):''} ${tr("Customers here get nothing until it's back.")}

${i&&i.cost?btn(`${i.fix} ${fmt$(i.cost)}`,'fixInc',{id:i.id},'red'):''}
`;} + if(UI.tab==='cust'){ + {const nl=R.nodeLoad[c]||0,nc=R.nodeCap[c]||1;if(nl>=nc*0.95)h+=`

${tr('Router maxed out')}

${tr('Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.',{load:fmtG(nl),cap:fmtG(nc)})}

${btn(tr('Open Infra'),'tab',{t:'links'},'pink sm')}
`;} + h+=`

${tr('Home broadband')}

`; + if(!p.bb){const s=bbStart(c);h+=`

${tr('Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.',{start:fmtG(s),max:fmtG(eyeP(c)),rate:fmt$(EYE_RATE*(C.arpu||1))})}${C.au?` ${scnRule('levy')?tr('It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.',{pct:pct(AU_LEVY)}):tr('The Nearly Broadband Network keeps {pct} of it for the last mile.',{pct:pct(AU_WHOLESALE)})}`:''}

${btn(tr('Launch broadband {cost}',{cost:fmt$(bbCost(c))}),'launchBB',{city:c},'pink big',S.cash${tr('Eyeball demand')}${tr('{a} of {b}',{a:fmtG(eye),b:fmtG(eyeP(c))})}
+
${tr('Served in {city}',{city:C.name})}${pct(sf)}
+
${tr('Revenue')}${tr('{price}/mo',{price:fmt$(eye*sf*EYE_RATE*(C.arpu||1))})}
+
${tr('Network-wide peering ratio')}${pct(R.peerShare||0)}

${tr('More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.')}

+ ${sf<0.9?`

${tr('Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.')}

`:''} +
${p.boost>S.day?`${tr('Ad campaign: {n}d left',{n:p.boost-S.day})}`:btn(tr('Run ad campaign $8k · 2× growth 30d'),'ad',{city:c},'',S.cash<8000)}
`;} + h+=`

${tr('Business customers')}

`; + const bz=S.biz.filter(b=>bCities(b).includes(c)); + if(!bz.length)h+=`

${tr('No businesses yet. Offers pop up as $ bubbles on the map.')}

`; + for(const b of bz)h+=`
${esc(b.name)}
${esc(BIZ_T[b.type].l)}${b.city2?` ${CITY[b.city].name} ⇄ ${CITY[b.city2].name}`:''} · ${bTerms(b)}${BIZ_T[b.type].l2?` · ${b.sites?tr('carrying {g} per site',{g:fmtG(R.l2[b.id]||0)}):tr('carrying {g}',{g:fmtG(R.l2[b.id]||0)})}`:''}${BIZ_T[b.type].fiber&&!fiberOk(b)?' · '+tr('fiber is down')+'':''}${BIZ_T[b.type].event&&eventLive(b)?` · ${tr('serving {v}',{v:pct(sfOf(R,b.city))})}`:''}${b.type==='scrub'&&!hasScrub()?' · '+tr('needs a scrubbing center')+'':''}${S.day-(b.since||0)<15?` · ${tr('provisioning, {n}d grace',{n:15-(S.day-(b.since||0))})}`:''}
${reqList(b)}${BIZ_T[b.type].l2?routeCtl(b):''}
${tr('Happiness {p}%',{p:Math.round(b.mood)})}
${btn(UI.confirm===b.id?tr('Really drop?'):tr('Drop'),'dropBiz',{id:b.id},'ghost sm')}
`; + h+=`
`+offersHere(c); + }else if(UI.tab==='up'){ + h+=portNote(c)+latNote(c); + h+=`

${tr('IP transit')}

${tr('Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.')}

`; + const prov=NETS.filter(n=>sellsAt(n,c)).sort((a,b)=>a.price-b.price); + if(!prov.length)h+=`

${tr('Nobody sells transit here. Haul your traffic over fiber to a city that has it.')}

`; + for(const n of prov){const t=S.transit.find(x=>x.city===c&&x.net===n.id);const pr=n.price*S.priceMul*(t&&t.premium&&c==='hkg'?n.premium:1)*regionMult(c); + h+=`
${logo(n)}
${esc(n.name)} ${TYPE_L[n.type]}
${tr('${price} per Gbps / month · billed on 95th percentile',{price:pr.toFixed(2)})}
`; + if(t){const u=R.useT[t.id]||0,cap=lagCap(PORT[t.tier].g,t.n),tdown=t.down>S.day; + h+=`
${lagName(t.tier,t.n)}${tdown?' · '+tr('OUTAGE')+'':''}${fmtG(u)}
${prefCtl('t',t.id,t.pref)}${siteCtl('t',t.id,c,t.site)}${n.premium&&c==='hkg'?`
${btn(t.premium?tr('CN-Too premium on ✓'):tr('Switch to CN-Too premium {x}× price · ~3% loss into China',{x:n.premium}),'togglePrem',{id:t.id},t.premium?'green sm':'sm')}
`:''}${(()=>{const top=transitTop([t.id],4);return top.length?`
${tr('Top destinations on this port')}
${top.map(([id,v])=>`
${esc(NET[id].name)} · ${fmtG(v)} · ${esc(offTransitHint(id,c))}
`).join('')}
`:'';})()}
${tr('95th pct {p95} · commit {commit} · bill {bill}/mo',{p95:fmtG(R.p95[t.id]||0),commit:fmtG(cap*.2),bill:fmt$(Math.max(R.p95[t.id]||0,PORT[t.tier].g*(t.n||1)*.2)*pr+PORT[t.tier].tmo*(t.n||1))})}
+
${PORT.map((P2,i)=>i>t.tier&&portShown(i)?btn((t.n||1)>1?tr('Upgrade all to {port} {cost} + {mo}/mo',{port:P2.n,cost:fmt$(P2.setup*(t.n||1)),mo:fmt$(P2.tmo*(t.n||1))}):tr('Upgrade {port} {cost} + {mo}/mo',{port:P2.n,cost:fmt$(P2.setup*(t.n||1)),mo:fmt$(P2.tmo*(t.n||1))}),'buyTransit',{city:c,net:n.id,tier:i},'sm',S.cash{cost} + {mo}/mo',{cost:fmt$(PORT[t.tier].setup),mo:fmt$(PORT[t.tier].tmo)}),'lagT',{id:t.id,d:1},'sm',S.cash1?btn(tr('− member'),'lagT',{id:t.id,d:-1},'ghost sm'):''}${btn(t.clean?tr('Clean-pipe on ✓'):tr('+ Clean-pipe {mo}/mo · scrubs DDoS upstream',{mo:fmt$(cleanMo(t))}),'cleanPipe',{id:t.id},t.clean?'green sm':'sm')}${btn(UI.confirm===t.id?tr('Really cancel?'):tr('Cancel'),'cancelTransit',{id:t.id},'ghost sm')}
`;} + else h+=`
${PORT.map((P2,i)=>portShown(i)?btn(tr('{port} {cost} + {mo}/mo',{port:P2.n,cost:fmt$(P2.setup),mo:fmt$(P2.tmo)}),'buyTransit',{city:c,net:n.id,tier:i},'sm',S.cash`; + h+=`
`;} + h+=`
`; + }else if(UI.tab==='peer'){ + h+=portNote(c); + h+=ixSection(c); + h+=`

${tr('Private interconnects (PNI)')}

${tr('A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.',{dc:esc(siteName(c,'a'))})}

`; + const here=NETS.filter(n=>n.pops.includes(c)); + for(const n of here){const pn=S.pni.find(x=>x.city===c&&x.net===n.id),chk=peerOk(n.id,'pni',c); + h+=`
${logo(n)}
${esc(n.name)} ${n.pol}
`; + if(pn&&!pniOn(pn))h+=pniWait(pn,c); + else if(pn){const u=R.usePni[pn.id]||0,cap=lagCap(pniG(pn),pn.n);h+=`
${(pn.n||1)>1?`${pn.n}×${pniPN(pn)} LAG`:pniPN(pn)} PNI${fmtG(u)}
${pn.up?`
${tr('Augment on order: {port}, about {n} days to go.',{port:(pn.up.n>1?pn.up.n+'×':'')+(pn.up.g1?'1G':PORT[pn.up.tier].n),n:Math.max(0,pn.up.ready-S.day)})} ${btn(tr('Chase it'),'pniChase',{id:pn.id},'ghost sm')}
`:''}
${prefCtl('p',pn.id,pn.pref)}${siteCtl('p',pn.id,c,pn.site)}
${PORT.map((P2,i)=>!pn.up&&!msfNope(n.id,c)&&(i>pn.tier||(pn.g1&&i===0))?btn((a=>(pn.n||1)>1?tr('Upgrade all to {port} {cost} + {mo}/mo',a):tr('Upgrade {port} {cost} + {mo}/mo',a))({port:P2.n,cost:fmt$((1500+P2.setup/2)*(pn.n||1)),mo:fmt$(P2.pni*(pn.n||1))}),'pni',{city:c,net:n.id,tier:i},'sm',!portOk(c,i)||S.cash<(1500+P2.setup/2)*(pn.n||1)):'').join('')}${(pn.n||1){cost} + {mo}/mo',{cost:fmt$(1500+PORT[pn.tier].setup/2),mo:fmt$(PORT[pn.tier].pni)}),'lagP',{id:pn.id,d:1},'sm',S.cash<1500+PORT[pn.tier].setup/2):''}${(pn.n||1)>1?btn(tr('− member'),'lagP',{id:pn.id,d:-1},'ghost sm'):''}${NET[n.id].cn?btn(pn.sacrif?tr('Sacrificial choke ✓'):tr('Make sacrificial contains floods · ½ capacity'),'sacrif',{id:pn.id},pn.sacrif?'green sm':'sm'):''}${btn(UI.confirm===pn.id?tr('Really remove?'):tr('Remove'),'cancelPni',{id:pn.id},'ghost sm')}
`;} + else{h+=chk.ok?`
${pniG1(n.id)?btn(tr('{port} {cost} + {mo}/mo',{port:'1G',cost:fmt$(PNI_G1_COST),mo:fmt$(Math.round(PORT[0].pni/2))}),'pni',{city:c,net:n.id,tier:-1},'sm',S.cashportShown(i)&&i>=pniMin(n.id)?btn(tr('{port} {cost} + {mo}/mo',{port:P2.n,cost:fmt$(1500+P2.setup/2),mo:fmt$(P2.pni)}),'pni',{city:c,net:n.id,tier:i},'sm',S.cash<1500+P2.setup/2||!portOk(c,i)):'').join('')}
${pniEta(n.id)}${pniMin(n.id)?' · '+tr('no 10G: {net} starts at 100G',{net:esc(n.name)}):pniG1(n.id)?' · '+tr('sells PNIs down to 1G'):''}
${chk.fee?`
${tr('Paid peering: {price}/mo on top',{price:fmt$(chk.fee)})}
`:''}`:`
${esc(chk.why)}
`;} + h+=`
`;} + h+=`

${tr('Embedded caches')}

${tr('CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.')}

`; + for(const n of NETS.filter(n=>n.cache)){const have=S.caches.filter(x=>x.city===c&&x.net===n.id),dem=R.demTo[n.id]||0,ok=dem>=n.cache.min; + h+=`
${logo(n)}
${esc(n.cache.name)}
${tr('from {net}',{net:esc(n.name)})} · ${have.length?`${trn('{n} box','{n} boxes',have.length)} · ${tr('serving {v}',{v:fmtG(have.reduce((a,x)=>a+(R.useCache[x.id]||0),0))})}`:tr('100G per box')}
${!ok?`
${tr('Needs {min} Gbps of traffic to {net} (now {now})',{min:n.cache.min,net:esc(n.name),now:dem.toFixed(1)})}
`:''}
+ ${have.length?btn(tr('Remove'),'rmCache',{id:(have.find(x=>x.site==='b')||have[0]).id},'ghost sm'):''}${btn(have.length?tr('+ box'):tr('Request'),'cache',{city:c,net:n.id},'sm',!ok)}
${S.pops[c].site2&&have.length?(()=>{const nb=have.filter(x=>x.site==='b').length,na=have.length-nb;return `
${tr('Boxes: {a} in A · {b} in B',{a:na,b:nb})}${na?btn(tr('Move one to B'),'cacheSite',{city:c,net:n.id,s:'b'},'ghost sm'):''}${nb?btn(tr('Move one to A'),'cacheSite',{city:c,net:n.id,s:'a'},'ghost sm'):''}
`;})():''}`;} + h+=`
`; + }else{ + const ls=S.links.filter(l=>l.a===c||l.b===c); + const rt=p.routers||1,g=p.rgen||0,G=RG[g],nl=R.nodeLoad[c]||0,nc=R.nodeCap[c]||nodeCap(c),Ni=g===mainRG(G.cls)?mainRG(G.cls+1):-1,N=Ni>=0?RG[Ni]:null,pu=portsUsed(c),pm=portsMax(c); + h+=`

${tr('Routers')}

${tr('The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.')}

+
${rt} × ${esc(G.n)}
${tr('Up to {pn} interfaces · {ports} ports and {cap} per router',{pn:G.pn,ports:G.ports,cap:fmtG(G.cap)})} · ${esc(G.blurb)}
+
${tr('Router ports')}${tr('{used} / {max} in use',{used:fmtPorts(pu),max:pm})}
${pu>=pm?`

${tr('Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.')}

`:''} +
${tr('Forwarding chip')}${esc(G.chip)}
${tr('Boot time')}${slowBoot(c)?`${tr('~{n} min · a slow one',{n:bootMin(c)})}`:tr('~{n} min',{n:bootMin(c)})}
${slowBoot(c)?`

${tr('This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.')}

`:''} +
${tr('Forwarding load')}${fmtG(nl)} / ${fmtG(nc)}
+ ${nl>=nc*0.95?`

${tr('Maxed out. Traffic here is being dropped.')}

`:''} +
${N?btn(N.lvl>lvl()?tr('{model} level {lv}',{model:esc(N.n),lv:N.lvl}):tr('Upgrade to {model} {cost} + {mo}/mo',{model:esc(N.n),cost:fmt$(swapCost(c,Ni)),mo:fmt$(N.mo*rt)}),'upRouter',{city:c,g:Ni},'pink',N.lvl>lvl()||S.cash{cost} + {mo}/mo',{cost:fmt$(routerCost(g)),mo:fmt$(ROUTER_MO+G.mo)}),'addRouter',{city:c},'',S.cash1?btn(tr('Remove one'),'rmRouter',{city:c},'ghost sm'):''}
+ ${UI.models?routerModels(c):''} + ${N||UI.models?`

${(p.rgen||0)>0?tr('Prices include {p} back for the old routers on eBuy.',{p:fmt$(tradeIn(p.rgen||0,rt))})+' ':''}${p.rupDay===S.day?tr('New routers went in today. The next swap can wait until tomorrow.')+' ':''}${rt>1?tr('Rolling upgrade: one router at a time, no downtime.'):tr('With one router, the upgrade needs a maintenance window: this POP goes dark for a day.')}

`:''} +

${rt>=2?tr('A crash here only costs one router’s capacity for a few days.'):tr('One router is a single point of failure.')}

+

${tr('Metro diversity')}

${p.site2?(()=>{const up=s=>[...S.transit.filter(t=>t.city===c&&onSite(t.site,s)).map(t=>tr('{net} transit',{net:NET[t.net].name})+(t.site==='ab'?' '+tr('(split)'):'')),...S.pni.filter(x=>x.city===c&&onSite(x.site,s)).map(x=>'PNI '+NET[x.net].name+(x.site==='ab'?' '+tr('(split)'):'')),...ixIdsIn(c).filter(x=>S.ixp[x]!==undefined&&onSite((S.ixSite||{})[x],s)).map(x=>(S.myIx[x]?tr('{ix} switch',{ix:ixName(x)}):tr('{port} port',{port:ixName(x)}))+((S.ixSite||{})[x]==='ab'?' '+tr('(split)'):'')),...S.caches.filter(x=>x.city===c&&(x.site==='b'?'b':'a')===s).map(x=>NET[x.net].cache.name)]; + const row=s=>{const dn=siteDown(c,s),u=up(s);return `
${esc(siteName(c,s))}${dn?' DOWN':''}
${u.length?esc(u.join(', ')):tr('Nothing plugged in here yet')}
`;}; + return `

${tr('Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.')}

${row('a')}${row('b')}${up('b').length&&up('a').length?'':`

${tr('Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.')}

`}
${tr('Second site and metro ring')}${tr('{price}/mo',{price:fmt$(SITE2_MO)})}
${btn(UI.confirm==='site'+c?tr('Really close it?'):tr('Close site B'),'rmSite',{city:c},'ghost sm')}
`;})() + :`

${tr('Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.',{city:esc(CITY[c].name)})}

${btn(tr('Add a second site {cost} + {mo}/mo',{cost:fmt$(SITE2_COST),mo:fmt$(SITE2_MO)}),'addSite',{city:c},'pink',S.cash`}
+

${tr('Power')}

${tr('Backup generator')}${p.gen?tr('Installed'):tr('None')}
${p.gen?'

'+tr('Power cuts are covered.')+'

':`
${btn(tr('Install generator {cost} + {mo}/mo',{cost:fmt$(GEN_COST),mo:fmt$(GEN_MO)}),'addGen',{city:c},'',S.cash`}
`; + h+=`

${tr('DDoS scrubbing center')}

`; + {const here=S.scrubs.find(x=>x.city===c),others=S.scrubs.filter(x=>x.city!==c); + if(here){const T=SCRUB_TIERS[here.tier||0]; + h+=`

${tr('Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.')}

+
${tr('Capacity')}${T.n} · ${fmtG(T.g)}
+
${tr('Mode')}${S.scrubMode==='ondemand'?tr('On-demand (engages in {n}d)',{n:SCRUB_DELAY}):tr('Always-on')} · ${fmt$(scrubMo1(here))}/mo
+
${btn(S.scrubMode==='ondemand'?tr('Switch to always-on'):tr('Switch to on-demand cheaper'),'scrubMode',{},'sm')}${SCRUB_TIERS.map((X,i)=>i>(here.tier||0)?btn(tr('Upgrade to {tier} {cost}',{tier:X.n,cost:fmt$(Math.round(X.cost*0.6))}),'scrubUp',{city:c,tier:i},'sm',(lvl()||1)`;} + else{h+=`

${others.length?tr('Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.',{city:CITY[others.slice().sort((a,b)=>kmBetween(c,a.city)-kmBetween(c,b.city))[0].city].name,km:Math.round(kmBetween(c,others.slice().sort((a,b)=>kmBetween(c,a.city)-kmBetween(c,b.city))[0].city)).toLocaleString()}):tr('Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.')}

${SCRUB_TIERS.map((X,i)=>btn(tr('Build {tier} {cost} + {mo}/mo',{tier:X.n,cost:fmt$(X.cost),mo:fmt$(X.mo)}),'buildScrub',{city:c,tier:i},i===0?'':'sm',(lvl()||1)`;}} + h+=`
`; + const fabs=FABS.filter(f=>f.cities.includes(c)); + if(fabs.length){h+=`

${tr('Interconnection fabrics (NNI)')}

${tr('Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.')}

`; + for(const f of fabs){const pt=nniPort(c,f.id),used=nniUsed(c,f.id); + h+=`
${esc(f.name)}
${esc(f.blurb)}
`; + if(pt){const cap=NNI[pt.tier].g;h+=`
${tr('{port} port · {price}/mo',{port:NNI[pt.tier].n,price:fmt$(NNI[pt.tier].mo)})}${tr('{g} of circuits',{g:fmtG(used)})}
${btn(tr('New circuit'),'openVxc',{from:c,prov:f.id},'pink sm')}${pt.tier<1?btn(tr('Upgrade {port} {price}/mo',{port:NNI[1].n,price:fmt$(NNI[1].mo)}),'buyNni',{city:c,prov:f.id,tier:1},'sm'):''}${btn(tr('Remove port'),'rmNni',{city:c,prov:f.id},'ghost sm')}
`;} + else h+=`
${NNI.map((N,i)=>btn(tr('{port} port {price}/mo',{port:N.n,price:fmt$(N.mo)}),'buyNni',{city:c,prov:f.id,tier:i},'sm',S.cash`; + h+=`
`;} + h+=`
`;} + h+=`

${tr('Fiber from {city}',{city:C.name})}

${tr("Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.")}

`; + if(!ls.length)h+=`

${tr('No links yet.')}

`; + for(const l of ls){const o=l.a===c?l.b:l.a,u=capOf(l)?(R.load[l.id]||0)/capOf(l):0,cut=linkDown(l); + h+=`
→ ${CITY[o].name}${l.mult>1?' · '+tr('diverse'):''} ${cut?''+tr('CUT')+'':''}
${capName(l)} · ${l.km.toLocaleString()} km ${l.kind==='vxc'?tr('virtual circuit via {fab}',{fab:esc(FAB[l.prov].name)}):l.kind==='df'?(l.own?(l.sub&&l.cname?tr('your own subsea cable {name}',{name:l.cname}):tr('own dark fiber')):tr('dark fiber IRU'))+(l.ready>S.day?` · ${tr('ready in {n}d',{n:l.ready-S.day})}`:''):l.sub?tr('subsea'):tr('terrestrial')} · ${tr('{price}/mo',{price:fmt$(l.mo)})}
${btn(tr('Open'),'selLink',{id:l.id},'ghost sm')}
`;} + h+=`
`; + if(Object.keys(S.pops).length>1)h+=`

${tr('Decommission')}

${tr('Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.')}

${btn(tr('Decommission {city}…',{city:C.name}),'decomOpen',{city:c},'ghost sm')}${btn(tr('Decommission several POPs…'),'decomOpen',{},'ghost sm')}
`; + } + return h+``; +} diff --git a/src/game/93-ui/60-decommission.js b/src/game/93-ui/60-decommission.js new file mode 100644 index 0000000..c342f1f --- /dev/null +++ b/src/game/93-ui/60-decommission.js @@ -0,0 +1,22 @@ +/* Decommissioning POPs. Customers that touch a decommissioned city, or ride a removed link, are let go + with an early-termination penalty of three months of their contract. */ +const DECOM_MONTHS=3; +function decomImpact(cities){const set=new Set(cities),links=S.links.filter(l=>set.has(l.a)||set.has(l.b)),lids=new Set(links.map(l=>l.id)); + const biz=S.biz.filter(b=>bCities(b).some(c=>set.has(c))||(b.link&&lids.has(b.link))); + const pen=b=>Math.max(2000,Math.round(b.fee?b.fee*0.5:b.bw*b.rate*DECOM_MONTHS)); + return {links,biz,pen,fee:biz.reduce((a,b)=>a+pen(b),0),eye:cities.reduce((a,c)=>a+(R.cityEye[c]||0),0)};} +function decomModal(){const sel=[...(UI.decom||[])],im=decomImpact(sel),all=Object.keys(S.pops),left=all.length-sel.length; + const rows=all.map(c=>``).join(''); + openModal(`

${tr('Decommission POPs')}

+

${tr('Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.')}

${rows} + ${sel.length?`
${tr('Links removed')}${im.links.length}
${tr('Eyeballs you stop serving')}${fmtG(im.eye)}
${trn('{n} customer let go','{n} customers let go',im.biz.length)}${fmt$(im.fee)}
${im.biz.length?`

${im.biz.map(b=>esc(b.name)+' '+fmt$(im.pen(b))).join(' · ')}

`:''}`:''} + ${left<1?`

${tr('Keep at least one POP.')}

`:''} +
${btn(sel.length?trn('Decommission {n} POP · pay {fee}','Decommission {n} POPs · pay {fee}',sel.length,{fee:fmt$(im.fee)}):tr('Pick a POP'),'decomGo',{},'red',!sel.length||left<1)}${btn(tr('Keep them'),'closeModal',{},'ghost')}
`);} +function decommission(cities){const set=new Set(cities),im=decomImpact(cities),lids=new Set(im.links.map(l=>l.id)),bids=new Set(im.biz.map(b=>b.id)); + S.links=S.links.filter(l=>!lids.has(l.id));S.biz=S.biz.filter(b=>!bids.has(b.id));S.offers=S.offers.filter(o=>!bCities(o).some(c=>set.has(c))); + S.transit=S.transit.filter(t=>!set.has(t.city));S.pni=S.pni.filter(x=>!set.has(x.city));S.caches=S.caches.filter(x=>!set.has(x.city));S.nni=(S.nni||[]).filter(x=>!set.has(x.city)); + for(const c of cities){for(const x of ixIdsIn(c)){delete S.ixp[x];delete S.rs[x];if(S.ixn)delete S.ixn[x];if(S.ixSite)delete S.ixSite[x];for(const k in S.peers)if(k.endsWith('@'+x))delete S.peers[k];}delete S.myIx[c];S.scrubs=S.scrubs.filter(x=>x.city!==c);delete S.pops[c];} + const rem=remoteCities();for(const x in S.ixp){const c=ixCity(x);if(!S.pops[c]&&!rem.includes(c)){delete S.ixp[x];delete S.rs[x];for(const k in S.peers)if(k.endsWith('@'+x))delete S.peers[k];}} + if(set.has(S.home))S.home=Object.keys(S.pops)[0]; + purgeInc();S.cash-=im.fee;S.stats.decom=(S.stats.decom||0)+cities.length; + toast(trn('{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.','{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.',cities.length,{fee:fmt$(im.fee),m:im.biz.length}),'bad');} diff --git a/src/game/93-ui/70-link-panels.js b/src/game/93-ui/70-link-panels.js new file mode 100644 index 0000000..a9b152a --- /dev/null +++ b/src/game/93-ui/70-link-panels.js @@ -0,0 +1,139 @@ +const portMo=v=>v?tr('{price}/mo',{price:fmt$(v)}):tr('free'); +function ixSection(c){const ids=ixIdsIn(c);if(ids.length<2)return ixBlock(c,false); + let h=`

${tr('Internet Exchanges')}

${tr('{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.',{n:ids.length,city:esc(CITY[c].name)})}

`; + for(const x of ids)h+=ixBlock(x,true);return h;} +function ixBlock(c,multi){const city=ixCity(c),C=CITY[city],ix=ixName(c),X=XIXM[c];let h=''; + h+=`

${multi?esc(ix)+(X?' '+tr('challenger')+'':' '+tr('incumbent')+''):tr('Internet Exchange')}

`; + if(!ix&&C.cn){h+=`

${tr('Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.')}

`;} + else if(!ix){h+=`

${tr("There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.",{city:C.name})}

${S.pops[city]?btn(tr('Found your own IX {cost} + {mo}/mo',{cost:fmt$(MYIX_COST),mo:fmt$(MYIX_MO)}),'foundIx',{city:c},'pink',S.cash'+tr('Build a POP here first.')+'

'}`;} + else if(S.ixp[c]===undefined){h+=`

${tr('{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.',{ix:esc(ix),list:(()=>{const m=ixMembers(c),big=m.filter(id=>!NET[id].tail),t=m.length-big.length;return (big.map(id=>esc(NET[id].name)).join(', ')||tr('nobody yet'))+(t?trn(', plus {n} small network',', plus {n} small networks',t):'');})()})}

${S.pops[city]?'':REMOTE_WARN}${X?`

${esc(X.blurb)} ${X.freeTo!==undefined?tr('Ports up to {port} are free.',{port:PORT[X.freeTo].n}):tr('Ports at {p}% of the usual price.',{p:Math.round(ixMul(c)*100)})}

`:''}${CITY[city].ixCheap?`

${tr('Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.')}

`:''}${isDk(c)?`

${tr('Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.')}

`:''}
${PORT.map((P2,i)=>btn(isDk(c)?tr('{port} port Price on request ☎',{port:P2.n}):tr('{port} port {price}',{port:P2.n,price:portMo(ixPortMo(c,i))}),'buyIx',{city:c,tier:i},'',(!isDk(c)&&S.cash1))).join('')}
`;} + else{const mine=!!S.myIx[c],u=R.useIx[c]||0,cap=ixCap(c),set=ixSessions(c),xdown=S.ev.ixdown&&S.ev.ixdown[c]>S.day; + h+=`
${mine?tr('Your own fabric · {name}',{name:myFab(c).n}):lagName(S.ixp[c],(S.ixn||{})[c])}${xdown?' · FABRIC DOWN':''}${fmtG(u)}
${prefCtl('ix',c,S.ixPref&&S.ixPref[c])}${S.pops[city]?siteCtl('ix',c,city,(S.ixSite||{})[c]):''}`; + if(isDk(c)&&S.dk){const ad=S.dk.add[c]||[],rt=S.dk.ret[c];h+=`

${rt&&rt>S.day?tr('DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).',{p:Math.round(dkMult(c)*100),n:rt-S.day}):tr('DE-KICKS personalised pricing: {p}% of what a normal IX would charge.',{p:Math.round(dkMult(c)*100)})}

`; + for(const x of ad)h+=`
${esc(x.n)}
${esc(x.blurb)} · ${tr('{price}/mo',{price:fmt$(x.mo)})}
${btn(UI.confirm==='dk'+c+x.n?tr('Lose exclusive benefits?'):tr('Opt out'),'dkOptOut',{city:c,n:x.n},'ghost sm')}
`;} + if(isRemote(c))h+=`

${trn('Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.','Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.',ixMembers(c).filter(noRemote).length)}

`; + if(mine){const f=S.myIx[c].fab|0,N=MYIX_FAB[f+1];h+=`
${tr('Members paying you')}${tr('{n} of up to {max} · {price}/mo',{n:S.myIx[c].members.length,max:myFab(c).max,price:fmt$(S.myIx[c].members.length*MYIX_FEE)})}
${N?`
${btn(N.lvl>lvl()?tr('{name} fabric level {lv}',{name:N.n,lv:N.lvl}):tr('Upgrade fabric to {name} {cost} + {mo}/mo',{name:N.n,cost:fmt$(N.cost),mo:fmt$(N.mo)}),'myIxUp',{city:c},'pink sm',N.lvl>lvl()||S.cash

${tr('A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.')}

`:'

'+tr('Biggest fabric money can buy.')+'

'}`;} + else h+=`
${PORT.map((P2,i)=>i>S.ixp[c]&&portShown(i)?btn(tr('Upgrade {port} {price}',{port:P2.n,price:portMo(ixPortMo(c,i)*((S.ixn||{})[c]||1))}),'buyIx',{city:c,tier:i},'sm',(!!S.pops[city]&&!portOk(city,i))||(!S.pops[city]&&i>1)):'').join('')}${S.pops[city]&&((S.ixn||{})[c]||1){price}',{price:portMo(ixPortMo(c,S.ixp[c]))}),'lagIx',{city:c,d:1},'sm',S.cash1?btn(tr('− member'),'lagIx',{city:c,d:-1},'ghost sm'):''}${btn(S.rs[c]?tr('Leave route server'):tr('Join route server'),'rs',{city:c},S.rs[c]?'ghost sm':'pink sm')}${btn(UI.confirm==='ix'+c?tr('Really leave?'):tr('Leave IX'),'cancelIx',{city:c},'ghost sm')}
`; + h+=`
`; + {const elig=mine?[]:ixMembers(c).filter(id=>!set.has(id)&&peerOk(id,'ix',c).ok);if(elig.length>1)h+=`
${btn(tr('Request all {n} willing peers',{n:elig.length}),'peerAll',{city:c},'pink sm')}
`;} + for(const id of ixMembers(c).sort((a,b)=>NSH[b]-NSH[a])){const n=NET[id],on=set.has(id),viaRs=on&&!S.peers[id+'@'+c]&&!mine,chk=peerOk(id,'ix',c); + h+=`
${logo(n)}
${esc(n.name)}
${TYPE_L[n.type]} ${n.pol} · ${(NSH[id]*100).toFixed(NSH[id]<0.01?1:0)}%${n.tail?' '+tr('tiny')+'':''}
${!on&&!chk.ok?`
${esc(chk.why)}
`:''}
+ ${on?(viaRs||mine?`${mine?tr('Member'):tr('via RS')}`:btn(tr('Peered ✓'),'unpeer',{city:c,net:id},'green sm',false,tr('Click to tear down'))):btn(tr('Request'),'peer',{city:c,net:id},'sm',!chk.ok)}
`;} + h+=`
`;} + h+=`
`;return h; +} +function vxcPanel(l){ + const load=R.load[l.id]||0,cap=VXC[l.vt].g,u=load/cap,down=linkDown(l),f=FAB[l.prov]; + let h=`
${tr('Virtual circuit · {name} · {km} km',{name:esc(f.name),km:l.km.toLocaleString()})}

${CITY[l.a].name} ⇄ ${CITY[l.b].name}

`; + if(down)h+=`

${tr('Fabric outage')}

${tr('{name} is down. Nothing you can do but wait, or have another path.',{name:esc(f.name)})}

`; + h+=`

${tr('Capacity')}

${tr('{name} circuit',{name:VXC[l.vt].n})}${fmtG(load)} / ${fmtG(cap)}
+
${tr('Monthly')}${tr('{price}/mo',{price:fmt$(l.mo)})}
${!S.pops[l.b]?`

${tr('Remote peering leg into {ix}.',{ix:esc(CITY[l.b].ix)})}

`:''} +
${VXC.map((V,t)=>t>l.vt?btn(`${V.n} ${tr('{price}/mo',{price:fmt$(vxcMo(l.km,l.sub,t))})}`,'upVxc',{id:l.id,t},'sm'):'').join('')}
+ ${trafficSection(l)}${metricSection(l)} +
${btn(UI.confirm===l.id?tr('Really cancel?'):tr('Cancel circuit'),'cancelVxc',{id:l.id},'ghost sm')}
`; + return h; +} +function prefCtl(kind,id,cur){cur=cur||'normal';return `
${tr('Egress:')}${Object.keys(PREF).map(v=>btn(PREF[v],'setPref',{kind,id,v},cur===v?'pink sm':'ghost sm')).join('')}
`;} +function trafficSection(l){ + const rec=R.ef[edgeKey(l)],n=pairLinks(l.a,l.b).length; + let h=`

${tr("What's on this link")}

`; + if(!rec){return h+`

${tr('No traffic right now.')}

`;} + const tot=Object.values(rec.net).reduce((a,b)=>a+b,0)||1; + const nets=Object.entries(rec.net).sort((a,b)=>b[1]-a[1]); + const col=id=>id==='junk'?'#FF4D5E':id==='l2vpn'?'#7B61FF':NET[id].col,nm=id=>id==='junk'?tr('DDoS junk'):id==='l2vpn'?tr('L2VPN customers'):NET[id].name; + h+=`${n>1?`

${tr('Totals for all {n} links between these cities.',{n})}

`:''}
${nets.map(([id,v])=>``).join('')}
`; + h+=`

${tr('Content from')}

`+nets.slice(0,6).map(([id,v])=>`
${esc(nm(id))}${fmtG(v)} · ${pct(v/tot)}
`).join(''); + const egs=Object.entries(rec.eg).sort((a,b)=>b[1]-a[1]); + h+=`

${tr('Enters your network at')}

`+egs.slice(0,6).map(([k,v])=>{const d=R.egDesc[k];return `
${esc(d.lab)}
${CITY[d.city].name} · ${fmtG(v)} · ${pct(v/tot)}
${btn(tr('Open'),'goEgress',{city:d.city,k:d.k},'ghost sm')}
`;}).join(''); + const dst=Object.entries(rec.dst).sort((a,b)=>b[1]-a[1]); + h+=`

${tr('Going to customers in')}

`+dst.slice(0,6).map(([c,v])=>`
${CITY[c].name}${fmtG(v)} · ${pct(v/tot)}
`).join(''); + const u=tot/pairLinks(l.a,l.b).filter(x=>!linkDown(x)).reduce((a,x)=>a+capOf(x),0); + if(u>=0.8&&egs.length){const d=R.egDesc[egs[0][0]];h+=`

${tr("Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.",{egress:esc(d.lab),city:CITY[d.city].name})}

`;} + return h+``; +} +function metricSection(l){const cur=l.metric||'normal'; + return `

${tr('Routing metric')}

${tr('Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.')}

${Object.keys(MET).map(k=>btn(MET[k].l,'setMetric',{id:l.id,v:k},cur===k?'pink sm':'ghost sm')).join('')}
`;} +function chinaSection(c){const st=S.cnLic?S.cnLic.state:'none',loss=S.ev.gfw>S.day?0.35:0.2; + let h=`

${tr('Behind the Great Firewall')}

${tr('Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.',{list:CN_BLOCKED.slice(0,4).map(esc).join(', '),pct:pct(loss)})}

`; + if(st==='none')h+=`

${tr('Foreign networks need a local joint venture and an operating license to build infrastructure here.')}

${btn(tr('Apply for a license {price} + {mo}/mo · ~45 days',{price:fmt$(CN_LIC),mo:fmt$(CN_JV_MO)}),'applyCn',{},'pink',S.cash${tr('License paperwork in progress: {n} days left.',{n:Math.max(0,S.cnLic.ready-S.day)})}

`; + else h+=`

${tr('Your joint venture holds an operating license.')}

`; + if(R.gfwCross>0.5)h+=`
${tr('Your traffic crossing the border')}${fmtG(R.gfwCross)}
${tr('Lost on the way')}${fmtG(R.gfwLost)}
`; + return h+`
`;} +function subUpgradePanel(l){return `

${tr('Submarine transmission')}

${tr('Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.')}

`+Object.entries(SUB_UPGRADES).map(([k,U])=>{ + const at=l['sub'+k],done=subUpgradeReady(l,k),cost=subUpgradeCost(l,k),preview={...l,['sub'+k]:S.day}; + const status=done?tr('Installed'):at!==undefined?tr('Ready in {n} days',{n:Math.max(0,at-S.day)}):tr('{price} · {n} days',{price:fmt$(cost),n:U.days}); + return `
${tr(U.n)}
${status}
${tr('Up to {g} per channel',{g:fmtG(submarineRate(preview))})}
${at===undefined?btn(tr('Install'),'subUpgrade',{id:l.id,k},'sm',lvl()<4||S.cash`;}).join('');} +function dfPanel(l){ + const load=R.load[l.id]||0,cap=dfCap(l),u=cap?load/cap:0,bld=l.ready>S.day,A=CITY[l.a].name,B=CITY[l.b].name,inc=S.inc.find(i=>i.ref===l.id||i.ref===(l.trench||l.id)),amps=ampCount(l.km),sysD=DF_SYS[l.sys]; + let h=`
${tr('Dark fiber · {kind} · {km} km',{kind:l.own?tr('your own build'):tr('leased IRU'),km:l.km.toLocaleString()})}

${A} ⇄ ${B}

`; + if(bld){const tot=Math.max(1,l.ready-l.day),done=clamp((S.day-l.day)/tot,0,1); + h+=`

${l.own?tr('Under construction'):tr('Being spliced')}

${l.own?tr('Permits, trenching, splicing'):tr('IRU handover')}${tr('{n} days left',{n:l.ready-S.day})}
${l.own?`
${btn(tr('Hire extra crews {price} · −30 days',{price:fmt$(crewCost(l))}),'crews',{id:l.id},'sm',l.ready<=S.day+1||S.cash{price}',{price:fmt$(crewSteps(l)*crewCost(l))}),'crews',{id:l.id,all:1},'sm',!crewSteps(l)||S.cash`:''}

${tr("You can pre-install optics now so it lights up the day it's ready.")}

`;} + else if(inc&&linkDown(l))h+=`

${tr('Dark!')}

${esc(inc.msg)}

${inc.cost?btn(`${esc(inc.fix||tr('Rush repair'))} ${fmt$(inc.cost)}`,'fixInc',{id:inc.id},'red',S.cash`; + h+=`

${tr('Capacity')}

${tr('{n} of {max} channels lit',{n:(l.ch||[]).length,max:chMax(l)})}${soldSlots(l)?` · ${tr('{n} sold as alien waves',{n:soldSlots(l)})}`:''}${fmtG(load)} / ${fmtG(cap)}
+ ${l.own&&l.sub?`
${tr('Cable design')}${tr((SEA_DESIGNS[l.seaDesign]||SEA_DESIGNS.standard).n)}
`:''} +
${tr('Latency')}${tr('{ms} ms one-way',{ms:linkLat(l).toFixed(1)})}
${l.own?tr('Right-of-way upkeep'):tr('IRU lease')}${tr('{price}/mo',{price:fmt$(l.mo)})}
${tr('{n} amp huts',{n:amps})}${tr('{price}/mo',{price:fmt$(amps*AMP_MO)})}
${!bld&&!(l.ch||[]).length?`

${tr('This fiber is dark. Add optics below to carry traffic.')}

`:''}
`; + if(!bld){const sold=S.biz.filter(b=>b.link===l.id&&(b.type==='wwave'||b.type==='dfpair'||b.type==='pairs')),off=S.offers.find(o=>o.link===l.id),fc=freeCh(l); + h+=`

${tr('Selling spare capacity')}

${tr('Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.')}

+
${tr('Free channels')}${fc} / ${chMax(l)}
${sold.map(b=>`
${esc(b.name)}
${esc(b.what||BIZ_T[b.type].l)} · ${tr('{price}/mo',{price:fmt$(b.rate)})}
`).join('')} + ${off?`
${esc(off.name)}
${esc(off.what)} · ${tr('{price}/mo',{price:fmt$(off.rate)})} · ${tr('{n}d left',{n:off.exp-S.day})}${off.broker?' · '+tr('via a capacity broker'):''}
${btn(tr('Accept'),'accept',{id:off.id},'pink sm')}
`:fc>=1||pairFree(l)?`
${btn(tr('List it with a capacity broker they keep 10%'),'advertise',{id:l.id},'sm')}
`:`

${tr('Nothing spare to sell on this fiber right now.')}

`}
`;} + h+=`

${tr('Optics')}

${tr('Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.')}

`; + if(l.own&&l.sub)h+=subUpgradePanel(l); + for(const k of Object.keys(OPT)){const O=OPT[k],n=(l.ch||[]).filter(x=>x===k).length,why=chWhy(l,k); + const md=optMode(k,l),cc=chCost(l,k),sp=spareN(k); + h+=`
${O.n} ${optModes(k,l).map(([g,r])=>tr('{g} to {km} km',{g:fmtG(g),km:r.toLocaleString()})).join(' · ')}
${esc(O.blurb)}${n?` · ${tr('{n} lit',{n})}`:''}${sp?` · ${trn('{n} spare on the shelf','{n} spares on the shelf',sp)}`:''}
${md&&!md.full?`
⚠️ ${tr('Runs at {g} per channel on this route (long-haul mode).',{g:fmtG(md.g)})} ${!l.sub&®enNeed(k,l)>(l.regen|0)?trn('{n} regen site would bring it back to {g}.','{n} regen sites would bring it back to {g}.',regenNeed(k,l),{g:fmtG(O.g)}):''}
`:''}${why?`
${esc(why)}
`:''}
${n?btn('−','rmCh',{id:l.id,o:k},'ghost sm'):''}${btn(sp?`+ ${cc?tr('spare + {price}',{price:fmt$(cc)}):tr('spare')}`:`+ ${fmt$(cc)}`,'addCh',{id:l.id,o:k},'sm',!!why||S.cash`;} + {const st=Object.keys(OPT).filter(k=>spareN(k)>0);h+=`

${tr('Unplugged optics go on the spares shelf and are used first next time.')}

`; + {const used=[...new Set(l.ch||[])].filter(k=>OPT[k]&&OPT[k].lvl<=lvl());if(used.length)h+=`
${used.map(k=>btn(tr('Stock a spare {optic} {price}',{optic:OPT[k].n,price:fmt$(optCost(k))}),'buySpare',{o:k},'ghost sm',S.cash=64)).join('')}

${tr('Spares bought now are already paid for when the next shortage hits.')}

`;}if(st.length)h+=`

${tr('Spares shelf')}

`+st.map(k=>`
${spareN(k)} × ${OPT[k].n}
${btn(tr('Sell one {price}',{price:fmt$(spareValue(k))}),'sellSpare',{o:k},'ghost sm')}
`).join('');} + const rg=l.regen|0,rgAdd=REGEN_COST+Math.round((l.ch||[]).reduce((a,c)=>a+optCost(c),0)*REGEN_CH); + h+=`

${tr('Line system')}

${esc(sysD.n)}${tr('{n} amplifiers',{n:amps})}
+
${tr('Regen sites')}${rg?tr('{n} · optical spans of {km} km',{n:rg,km:spanKm(l).toLocaleString()}):tr('none')}

${tr('A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.',{price:fmt$(REGEN_MO)})}

${l.sub&&l.own?`

${tr('No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.')}

`:`
${rg{price}',{price:fmt$(rgAdd)}),'regen',{id:l.id,d:1},'sm',S.cash`}

${esc(sysD.blurb)}

${(()=>{const t=sysNext(l);if(!t)return '';const T=DF_SYS[t],c=sysUpCost(l);return T.lvl>lvl()?btn(tr('{sys} level {n}',{sys:T.n,n:T.lvl}),'upSys',{id:l.id},'sm',true):btn(tr('Upgrade to {sys} {price}',{sys:T.n,price:fmt$(c)}),'upSys',{id:l.id},'sm',S.cash{price}/mo',{price:fmt$(Math.round(150+(l.ch||[]).length*80))}),'spares',{id:l.id},l.spares?'green sm':'sm')}

${tr('Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.')}

`; + {const sib=pairLinks(l.a,l.b).filter(x=>x!==l&&x.kind!=='vxc');h+=`

${tr('Redundancy')}

${sib.length?tr('Other links between these cities:'):tr('This is the only link between these cities. Add a parallel one, or a path through another city.')}

${sib.map(x=>`
${esc(capName(x))} ${linkDown(x)?''+tr('CUT')+'':''}
${(x.trench||x.id)===(l.trench||l.id)?tr('same trench'):tr('diverse route')}
${btn(tr('Open'),'selLink',{id:x.id},'ghost sm')}
`).join('')}
${btn(tr('Add parallel link'),'addParallel',{id:l.id},'pink sm')}
`;} + h+=`${trafficSection(l)}${metricSection(l)}
${btn(UI.confirm===l.id?tr('Really give it up?'):(l.own?tr('Abandon the fiber'):tr('Cancel the IRU')),'rmLink',{id:l.id},'ghost sm')}${cabBack(l)>0?`

${tr('Giving it up now returns {price}.',{price:fmt$(cabBack(l))})}

`:''}
`; + return h; +} +function offersHere(c){ + const os=S.offers.filter(o=>bCities(o).includes(c));if(!os.length)return ''; + return `

${tr('Offers here')}

${os.map(o=>`
${esc(o.name)}
${esc(BIZ_T[o.type].l)}${o.city2?` ${CITY[o.city].name} ⇄ ${CITY[o.city2].name}`:''} · ${bTerms(o)} · ${tr('{n}d left',{n:o.exp-S.day})}
${R.reach<0.99&&!BIZ_T[o.type].l2?`
${tr('They need the full internet. Your reach is {pct}.',{pct:pct(R.reach)})}
`:''}${o.type==='scrub'&&!hasScrub()?`
${tr('Needs your own scrubbing center (Infra tab).')}
`:''}${reqList(o)}${bHas(o)?'':`
${tr('Needs a POP in {cities} too.',{cities:bCities(o).filter(x=>!S.pops[x]).map(x=>CITY[x].name).join(', ')})}
`}
${bHas(o)?btn(tr('Accept'),'accept',{id:o.id},'green sm'):''}${btn(tr('No'),'decline',{id:o.id},'ghost sm')}
`).join('')}
`; +} +function linkPanel(id){ + const l=S.links.find(x=>x.id===id);if(!l){UI.sel=null;return '';} + if(l.kind==='vxc')return vxcPanel(l); + if(l.kind==='df')return dfPanel(l); + const load=R.load[l.id]||0,cap=LT[l.tier].g,u=load/cap,cut=l.cut>S.day,trk=l.trench||l.id,inc=S.inc.find(i=>(LINKCUT_TR.includes(i.type)&&i.ref===trk)||((i.type==='fatwave'||i.type==='label'||i.type==='mtu')&&i.ref===l.id)),sib=pairLinks(l.a,l.b).filter(x=>x!==l&&x.kind!=='vxc'),mates=sib.filter(x=>(x.trench||x.id)===trk); + let h=`
${l.cable?esc(CAB[l.cable].name):l.sub?tr('Subsea cable'):tr('Terrestrial fiber')} · ${l.km.toLocaleString()} km

${CITY[l.a].name} ⇄ ${CITY[l.b].name}

`; + if(cut)h+=`

${tr('Cut!')}

${inc?esc(inc.msg):''} ${tr('Back in {n} days.',{n:l.cut-S.day})}

${inc&&inc.cost?btn(`${esc(inc.fix||tr('Rush repair'))} ${fmt$(inc.cost)}`,'fixInc',{id:inc.id},'red',S.cash`; + h+=`

${tr('Capacity')}

${tr('{name} wave',{name:LT[l.tier].n})}${fmtG(load)} / ${fmtG(cap)}
+
${tr('Latency')}${tr('{ms} ms one-way',{ms:linkLat(l).toFixed(1)})}
${l.cable?`
${tr('Cable system')}${esc(CAB[l.cable].name)}
`:''} +
${tr('Wave lease')}${tr('{price}/mo',{price:fmt$(l.mo)})}
${u>=0.9?`

${tr('Congested. Upgrade it or add a parallel path.')}

`:''} +
${LT.map((T,i)=>{const d=Math.round(waveMo(l.km,l.sub,i)*(l.mult||1)),sw=subWaveWhy(i,l.km,l.sub),ok=waveOk(l.a,l.b,i);return i>l.tier&&waveShown(i)?btn(`${T.n} ${sw?tr('too far for this cable'):ok?tr('{price}/mo',{price:fmt$(d)}):tr('needs {what}',{what:esc(waveNeed(i))})}`,'upLink',{id:l.id,tier:i},'sm',S.cash${tr('{km} km of cable carries at most {g} per carrier.',{km:Math.round(l.km).toLocaleString(),g:fmtCap(subCarrier(l.km))})}${l.tier>subMaxTier(l.km)?' '+tr('Your wave was sold before the cable owner re-engineered it, so it keeps running.'):''}

`:''}
+

${tr('Redundancy')}

${mates.length?trn('Shares a trench with {n} other link. One cut takes them all down.','Shares a trench with {n} other links. One cut takes them all down.',mates.length):sib.length?tr('Runs on its own route. A cut here leaves the other links up.'):tr('This is the only link between these cities. Add a parallel one, or a path through another city.')}

+ ${sib.map(x=>`
${tr('{name} parallel link',{name:capName(x)})} ${x.cut>S.day?''+tr('CUT')+'':''}
${(x.trench||x.id)===trk?tr('same trench'):tr('diverse route')}
${btn(tr('Open'),'selLink',{id:x.id},'ghost sm')}
`).join('')} +
${btn(tr('Add parallel link'),'addParallel',{id:l.id},'pink sm')}
+ ${trafficSection(l)}${metricSection(l)} +
${btn(UI.confirm===l.id?tr('Really decommission?'):tr('Decommission link'),'rmLink',{id:l.id},'ghost sm')}
`; + return h; +} +const EGC={c:[tr('Caches'),'#16A866'],p:[tr('PNIs'),'#7B61FF'],ix:[tr('IX peering'),'#FFD23F'],t:[tr('Transit'),'#FF8A3D'],l2:[tr('L2 circuits'),'#2F8CFF']}; +function svgChart(rows,stackKeys,lines,fmtY){ + const W=600,H=180,L=50,B=20,T=8,Rr=8;if(rows.length<2)return `

${tr('Collecting data. Check back in a few days.')}

`; + let ymax=1;for(const r of rows){let s=0;for(const k of stackKeys)s+=r[k]||0;ymax=Math.max(ymax,s);for(const ln of lines)ymax=Math.max(ymax,r[ln.k]||0);}ymax*=1.1; + const x=i=>L+(W-L-Rr)*i/(rows.length-1),y=v=>T+(H-T-B)*(1-v/ymax);let g=''; + for(let j=0;j<=3;j++){const v=ymax*j/3,yy=y(v);g+=`${fmtY(v)}`;} + const base=rows.map(()=>0); + for(const k of stackKeys){const top=rows.map((r,i)=>base[i]+(r[k]||0));let d=`M${x(0)},${y(top[0])}`;for(let i=1;i=0;i--)d+=`L${x(i)},${y(base[i])}`;g+=``;top.forEach((v,i)=>base[i]=v);} + for(const ln of lines){let d='';rows.forEach((r,i)=>{d+=(i?'L':'M')+x(i)+','+y(r[ln.k]||0);});g+=``;const last=rows[rows.length-1][ln.k]||0;g+=``;} + g+=`${dateStr(rows[0].d)}${dateStr(rows[rows.length-1].d)}`; + return `${g}`;} +// For a network you currently reach over transit: the cheapest way to move it to peering. +// Exchange members as sets, rebuilt once per routing pass: hints are asked for many networks at a time. +let IXMR=null,IXMC={};const ixHas=(x,id)=>{if(IXMR!==R){IXMR=R;IXMC={};}return (IXMC[x]||(IXMC[x]=new Set(ixMembers(x)))).has(id);}; +function offTransitHint(id,city){const n=NET[id];if(n.type==='t1')return tr('Tier 1: only a PNI, and only once you are big enough for the Tier 1 club'); + const ixc=Object.keys(S.pops).flatMap(ixIdsIn).filter(x=>ixHas(x,id)),here=city&&ixIdsIn(city).find(x=>ixHas(x,id))||null,pick1=here||ixc.find(x=>S.ixp[x]!==undefined)||ixc[0]; + if(n.pol==='open'){if(pick1)return here||ixNamesCity(pick1)?tr('Open peer: join the route server at {ix}',{ix:ixName(pick1)}):tr('Open peer: join the route server at {ix} ({city})',{ix:ixName(pick1),city:CITY[ixCity(pick1)].name});const x=nearestSpot(id);return x?tr('Open peer, but not on any IX where you have a POP. Nearest: {city}',{city:CITY[x.c].name}):tr('Open peer, but not on any IX where you have a POP');} + if(n.pol==='paid')return paidFree(n)?tr('Peers with you for free over a PNI. You got too big to charge.'):n.freeLv?tr('Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.',{price:fmt$(n.paidFee),n:n.freeLv}):tr('Paid peering only: a PNI costs {price}/mo',{price:fmt$(n.paidFee)}); + const pniC=Object.keys(S.pops).filter(c=>n.pops.includes(c));const ixOk=pick1?peerOk(id,'ix',pick1):null,pOk=pniC.length?peerOk(id,'pni',pniC.includes(city)?city:pniC[0]):null; + if(pOk&&pOk.ok)return tr('Ready for a PNI in {city}',{city:CITY[pniC.includes(city)?city:pniC[0]].name}); + if(ixOk&&ixOk.ok)return tr('Will peer at {ix}: request a session',{ix:ixName(pick1)}); + if(ixOk)return `${ixName(pick1)}: ${ixOk.why}`; + if(pniC.length)return tr('PNI in {city}: {why}',{city:CITY[pniC[0]].name,why:pOk.why});{const x=nearestSpot(id);return x?tr('Not in your cities yet. Nearest: {city}',{city:CITY[x.c].name}):tr('Not present in any of your cities yet');}} +function transitTop(ids,k=5){const m={};for(const id of ids)for(const [n,v] of Object.entries(R.tNet[id]||{}))m[n]=(m[n]||0)+v;return Object.entries(m).filter(([,v])=>v>0.01).sort((a,b)=>b[1]-a[1]).slice(0,k);} diff --git a/src/game/94-dashboard/10-progress.js b/src/game/94-dashboard/10-progress.js new file mode 100644 index 0000000..7ddf17c --- /dev/null +++ b/src/game/94-dashboard/10-progress.js @@ -0,0 +1,30 @@ +/* ---------- scenario and level progress (#34) ---------- */ +// Red Sea Crisis (#113): traffic your links carry into and out of Asia, and how long it has stayed above the goal. +const RS_G=80,RS_DAYS=30,asiaG=()=>S.links.reduce((a,l)=>a+((CITY[l.a].reg==='AS')!==(CITY[l.b].reg==='AS')?(R.load[l.id]||0):0),0); +const pSrv=g=>({l:tr('Traffic served'),v:R.served,max:g,txt:`${fmtG(R.served)} / ${fmtG(g)}`}); +const pReach=()=>({l:tr('Reach'),v:R.reach,max:0.99,txt:`${pct(R.reach)} / 99%`}); +const pChk=(l,ok)=>({l,v:ok?1:0,max:1,txt:ok?'✓':'—'}); +const SCN_PROG={stg:()=>[{l:tr('Reach'),v:R.reach,max:0.45,txt:`${pct(R.reach)} / 45%`},pSrv(300)],redsea:()=>{const g=asiaG(),n=S.stats.asiaRun||0;return [pChk(tr('A path from Marseille to Singapore'),pathExists('mrs','sin')),{l:tr('Your traffic to and from Asia'),v:Math.min(g,RS_G),max:RS_G,txt:`${fmtG(g)} / ${fmtG(RS_G)}`},{l:tr('Days in a row at {g} or more',{g:fmtG(RS_G)}),v:n,max:RS_DAYS,txt:`${n} / ${RS_DAYS}`}];},spat:()=>[pReach(),pSrv(150)], + carnaval:()=>[pChk(tr('Carnaval delivered in full'),(S.stats.evFull||0)>=1)],ixbr:()=>{const n=brIxN();return [{l:tr('IX.brrr ports'),v:n,max:20,txt:`${n} / 20`},pChk(tr('A port on IX.brrr Manaus'),S.ixp.mao!==undefined),pSrv(200)];}, + c2c:()=>[pChk(tr('A path from Cape Town to Cairo'),pathExists('cpt','cai')),...['lag','nbo'].map(c=>pChk(tr('POP in {city}',{city:CITY[c].name}),!!S.pops[c])),pSrv(150)], + pac:()=>[pChk(tr('1.6T on every hop from Los Angeles to Sydney'),fastPath('lax','syd',1600)),pChk(tr('A path from Los Angeles to Tokyo'),pathExists('lax','tok')),pSrv(150)], + atl:()=>[pChk(tr('1.6T on every hop from Miami to Madrid'),fastPath('mia','mad',1600)),pChk(tr('1.6T on every hop from Lisbon to Lagos'),fastPath('lis','lag',1600)),pSrv(100)], + darien:()=>[...['bog','lim','scl','sao'].map(c=>pChk(tr('POP in {city}',{city:CITY[c].name}),!!S.pops[c])),pSrv(150)], + gangnam:()=>[pReach(),pSrv(200)], + fttb:()=>[...AU_BB.map(c=>pChk(tr('Broadband in {city}',{city:CITY[c].name}),!!(S.pops[c]&&S.pops[c].bb))),{l:tr('Cables overseas'),v:Math.min(2,auExits()),max:2,txt:`${auExits()} / 2`}], + flood:()=>{const ok=S.stats.ddosOk||0,big=S.stats.ddosOkBig||0,a=S.ev.ddos&&S.ev.ddos.until>S.day?S.ev.ddos:null; + return [{l:tr('Floods held'),v:ok,max:20,txt:`${ok} / 20`},{l:tr('Terabit floods held'),v:big,max:5,txt:`${big} / 5`},{l:tr('Floods that got through'),v:0,max:0,txt:String(S.stats.ddosLost||0)}].concat(a?[{l:tr('Under attack now'),v:0,max:0,txt:`${fmtG(a.gbps)} · ${CITY[a.city].name} · ${pct(a.worst===undefined?1:a.worst)}`}]:[]);},baltic:()=>[{l:tr('Days in a row with 99.5% served'),v:S.stats.clean||0,max:90,txt:tr('{n} of {m}',{n:S.stats.clean||0,m:90})}]}; +function scnProg(){const sc=S&&S.scn;if(!sc)return null; + if(sc.id==='weekly')return {goal:tr('Serve as much traffic as you can in one year.'),items:[{l:tr('Your score: peak traffic'),v:0,max:0,txt:fmtG(S.stats.peak||0)}],f:Math.min(1,S.day/sc.days)}; + const def=SCN.find(x=>x.id===sc.id),fn=SCN_PROG[sc.id];if(!def)return null;let items=[];try{items=fn?fn():[];}catch(e){items=[];} + const meas=items.filter(x=>x.max),f=sc.done?1:meas.length?meas.reduce((a,x)=>a+Math.min(1,x.v/x.max),0)/meas.length:0;return {goal:def.goal,items,f};} +const pRow=x=>`
${esc(x.l)}${esc(x.txt)}
${x.max?`
`:''}`; +function scnCard(){const sc=S.scn,P=scnProg();if(!sc||!P)return '';const left=Math.max(0,sc.days-S.day); + const st=sc.done?`${tr('Done in {d} days!',{d:sc.done})}`:sc.failed?`${tr("Time's up")}`:tr('{n} days left',{n:left}); + return `
${tr('Scenario')} · ${Math.round(P.f*100)}%
${esc(sc.name)}
🎯 ${esc(P.goal)}
${P.items.map(pRow).join('')}
${tr('Time')}${st}
`;} +function lvlItems(){const lv=S.lvl||1,pk=S.stats.peak||0,pops=Object.keys(S.pops).length,G=(l,v,max,txt)=>({l,v,max,txt}),q=LV_REQ[lv];if(!q)return []; + const out=[G(tr('Peak traffic'),pk,q.pk,`${fmtG(pk)} / ${fmtG(q.pk)}`),G(tr('POPs'),pops,q.pops,`${pops} / ${q.pops}`)],rg=lvReg(lv);if(rg)out.push(G(tr('Continents'),regionsCount(),rg,`${regionsCount()} / ${rg}`));return out;} +// Lost Tier 1 status explains itself where you look for it, not only in a toast you may have missed (#73). +const t1Note=()=>S.won&&!isTier1()?`

${tr('Not Tier 1 right now: {why}.',{why:esc(t1Why())})}

`:''; +function lvlCard(){const lv=S.lvl||1,nx=LEVELS[lv]; + return `
${tr('Customer level {lv} of {max}',{lv,max:LEVELS.length})}
${esc(LEVELS[lv-1].n)}
${esc(LEVELS[lv-1].q)}
${t1Note()}${nx?`
${tr('Next: {name} unlocks {what}',{name:esc(nx.n),what:esc(lc1(nx.unlock))})}
${lvlItems().map(pRow).join('')}`:`
${tr('Every customer type is unlocked. Go get those terabits.')}
`}
`;} diff --git a/src/game/94-dashboard/20-meet-a-network.js b/src/game/94-dashboard/20-meet-a-network.js new file mode 100644 index 0000000..d88dac0 --- /dev/null +++ b/src/game/94-dashboard/20-meet-a-network.js @@ -0,0 +1,31 @@ +/* ---------- where to meet a network (#12, #111, #121) ---------- */ +// Static: the cities where a network takes PNIs and the exchanges it sits on. Built once, on first use. +let PLACES=null; +function netPlaces(id){if(!PLACES){PLACES={};for(const n of NETS)PLACES[n.id]={p:n.pops.filter(c=>CITY[c]),x:[]}; + for(const c of CITIES)if(c.ix)for(const n of NETS)if(n.ix==='ALL'||(Array.isArray(n.ix)&&n.ix.includes(c.id)))PLACES[n.id].x.push(c.id); + for(const X of XIX)for(const m of X.members)if(PLACES[m])PLACES[m].x.push(X.id);}return PLACES[id];} +// km from each city to your nearest POP, cached until the set of POPs changes. +let NEARK='',NEARM=null; +function popNear(){const ps=Object.keys(S.pops),k=ps.join();if(k!==NEARK||!NEARM){NEARK=k;NEARM={};for(const c of CITIES)NEARM[c.id]=ps.length?Math.min(...ps.map(q=>q===c.id?0:kmBetween(q,c.id))):0;}return NEARM;} +// One entry per city: can you PNI there, which of its exchanges have them. Your POPs first, then nearest. +let SPOTK='',SPOTM={}; +function meetSpots(id){const near=popNear();if(SPOTK!==NEARK){SPOTK=NEARK;SPOTM={};}if(SPOTM[id])return SPOTM[id];const P=netPlaces(id),m={};if(!P)return []; + for(const c of P.p)(m[c]||(m[c]={c,pni:false,ix:[]})).pni=true; + for(const x of P.x){const c=ixCity(x);if(CITY[c])(m[c]||(m[c]={c,pni:false,ix:[]})).ix.push(x);} + return SPOTM[id]=Object.values(m).sort((a,b)=>(!!S.pops[b.c]-!!S.pops[a.c])||(near[a.c]-near[b.c])||(a.c[x.pni?'PNI':'',...x.ix.map(ixName)].filter(Boolean).join(' · '); + return `
${tr('Where to meet them')}
${sp.slice(0,max).map(x=>btn(`${esc(CITY[x.c].name)} ${esc(lab(x))}`,'meetGo',{city:x.c},S.pops[x.c]?'sm':'ghost sm')).join('')}${sp.length>max?btn(tr('+{n} more',{n:sp.length-max}),'netFocus',{id:n.id},'ghost sm'):''}
`;} +// The nearest place to meet a network you have no POP for, for one-line hints. +function nearestSpot(id){const x=meetSpots(id)[0];return x&&!S.pops[x.c]?x:null;} +// Networks you reach only through transit, biggest first: what stands between you and Tier 1. +const ntLost=()=>NETS.filter(n=>!R.nt[n.id]).sort((a,b)=>NSH[b.id]-NSH[a.id]); +function t1Card(){const cur=GOALS.find(g=>S.done[g.id]===undefined);if(!((cur&&cur.id==='t1')||S.won)||isTier1())return ''; + const need=t1Need(),miss=need.filter(n=>!S.pni.some(p=>p.net===n.id&&pniOn(p))),club=t1Club(),lost=ntLost(),nb=n=>btn(esc(n.name),'netFocus',{id:n.id},'ghost sm'); + let h=`
${tr('Goal')} · ${tr('Go transit-free: Tier 1!')}
${tr('Road to Tier 1')}
`; + h+=pRow({l:tr('Transit ports to cancel'),v:S.transit.length?0:1,max:1,txt:S.transit.length?String(S.transit.length):'✓'}); + h+=pRow({l:tr('PNIs with every Tier 1'),v:need.length-miss.length,max:need.length,txt:`${need.length-miss.length} / ${need.length}`}); + if(miss.length)h+=`
${miss.map(nb).join('')}
`+(club.ok?'':`

${tr('Tier 1s only take a PNI from a network with {list}.',{list:club.missing.join(', ')})}

`); + h+=pRow({l:tr('Reach without transit'),v:Math.min(R.reachNT,0.999),max:0.999,txt:`${reachPct(R.reachNT)} / 99.9%`}); + if(lost.length)h+=`
${lost.slice(0,3).map(nb).join('')}${btn(trn('All {n} out of reach','All {n} out of reach',lost.length),'netFilter',{f:'out'},'pink sm')}
`; + return h+'
';} diff --git a/src/game/94-dashboard/30-customers.js b/src/game/94-dashboard/30-customers.js new file mode 100644 index 0000000..a78c8fe --- /dev/null +++ b/src/game/94-dashboard/30-customers.js @@ -0,0 +1,34 @@ +/* ---------- customers overview (#13, #14, #15) ---------- */ +const bizMo=b=>{const T=BIZ_T[b.type];return T.event?0:T.fiber?b.rate:b.bw*b.rate;}; +// Why a customer is unhappy, in the same terms the daily mood update uses. +function bizWhy(b){const T=BIZ_T[b.type],out=[];if(T.event&&!eventLive(b))return out; + const sf=bizSf(b);if(sf<0.95)out.push(T.fiber?tr('their fiber is down'):tr('getting only {p} of the bandwidth they pay for',{p:pct(sf)})); + if(!(T.l2||T.fiber)&&R.reach<=0.99&&!scnRule('local'))out.push(tr('you cannot reach the whole internet ({p})',{p:pct(R.reach)})); + if(b.type==='scrub'&&!hasScrub())out.push(tr('needs a scrubbing center')); + {const q=b.type==='scrub'&&scrubFar(b.city);if(q)out.push(tr('attacks on {city} are hauled to {to} for scrubbing: +{ms} ms',{city:CITY[b.city].name,to:CITY[q.to].name,ms:Math.round(q.ms)}));} + for(const k of b.reqs||[])if(REQS[k]&&!REQS[k].ok(b))out.push(typeof REQS[k].l==='function'?REQS[k].l(b):REQS[k].l); + return out;} +const moodCls=m=>m<30?'bad':m<60?'warn':''; +const custStats=()=>{const bz=S.biz.filter(b=>!BIZ_T[b.type].event),mo=bz.reduce((a,b)=>a+bizMo(b),0); + return {n:bz.length,unhappy:bz.filter(b=>b.mood<60).length,furious:bz.filter(b=>b.mood<30).length,avg:bz.length?(mo>0?bz.reduce((a,b)=>a+b.mood*bizMo(b),0)/mo:bz.reduce((a,b)=>a+b.mood,0)/bz.length):100,risk:bz.filter(b=>b.mood<60).reduce((a,b)=>a+bizMo(b),0)};}; +// Long lists show their first rows and grow on request: a thousand rows of buttons take the browser a long time to +// lay out again every day, worst of all on a phone. Filters, sorting and totals still cover every row. +const LIST_PAGE=100,listN=k=>(UI.listN&&UI.listN[k])||LIST_PAGE,listReset=k=>{if(UI.listN)delete UI.listN[k];}; +const listMore=(k,n,lab)=>n>listN(k)?`
${btn(lab(Math.min(LIST_PAGE,n-listN(k))),'listMore',{k},'ghost sm')}
`:''; +function custSection(){const F=UI.kf||{};let h=`

${tr('Customers')}

`; + if(!S.biz.length)return h+`

${tr('No customers yet. Offers show up in the Deals tab.')}

`; + const st=custStats(); + h+=`

${tr('Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.')}

`; + h+=`
${tr('Happiness')}
${Math.round(st.avg)}%
${tr('weighted by what they pay')}
${tr('Unhappy')}
${st.unhappy}
${trn('{n} furious','{n} furious',st.furious)}
${tr('At risk')}
${tr('{price}/mo',{price:fmt$(st.risk)})}
${tr('from unhappy customers')}
`; + const cities=[...new Set(S.biz.map(b=>b.city))].sort((a,b)=>CITY[a].name.localeCompare(CITY[b].name)); + h+=`
${btn(tr('All ({n})',{n:S.biz.length}),'custF',{v:''},!F.f?'pink sm':'ghost sm')}${btn(tr('Unhappy ({n})',{n:S.biz.filter(b=>b.mood<60).length}),'custF',{v:'sad'},F.f==='sad'?'pink sm':'ghost sm')}
`; + const rows=S.biz.filter(b=>(!F.f||b.mood<60)&&(!F.city||b.city===F.city||b.city2===F.city||(b.sites||[]).includes(F.city))); + const sk=UI.custSort||'mood',dir=UI.custDir||1,val=b=>sk==='name'?b.name.toLowerCase():sk==='city'?CITY[b.city].name:sk==='mo'?bizMo(b):b.mood; + rows.sort((a,b)=>{const A=val(a),B=val(b);return (AB?1:0)*dir||a.mood-b.mood;}); + if(!rows.length)return h+`

${F.f?tr('Nobody is unhappy. Enjoy it while it lasts.'):tr('No customers here.')}

`; + const where=b=>b.sites?b.sites.map(c=>CITY[c].name).join(', '):b.city2?`${CITY[b.city].name} ⇄ ${CITY[b.city2].name}`:CITY[b.city].name; + const trend=b=>b.pm===undefined||Math.abs(b.mood-b.pm)<0.05?'':b.mood>b.pm?' ▲':' ▼'; + const sorts=[['mood',tr('Happiness')],['mo',tr('Per month')],['name',tr('Name')],['city',tr('Where')]]; + h+=`
${sorts.map(([k,l])=>btn(l+(sk===k?(dir>0?' ▲':' ▼'):''),'custSort',{k},sk===k?'pink sm':'ghost sm')).join('')}
`; + h+=rows.slice(0,listN('cust')).map(b=>{const why=bizWhy(b),grace=S.day-(b.since||0)<15;return `
${esc(b.name)} ${esc(BIZ_T[b.type].l)}
${esc(where(b))} · ${BIZ_T[b.type].event?esc(bTerms(b)):tr('{price}/mo',{price:fmt$(bizMo(b))})}${grace?` · ${tr('provisioning, {n}d grace',{n:15-(S.day-(b.since||0))})}`:''}
${why.length?`
${why.map(esc).join(' · ')}
`:''}
${tr('Happiness {p}%',{p:Math.round(b.mood)})}${trend(b)}
${btn(tr('Open'),'custGo',{id:b.id},'ghost sm')}
`;}).join(''); + return h+listMore('cust',rows.length,n=>trn('+{n} more customer','+{n} more customers',n))+``;} diff --git a/src/game/94-dashboard/40-connections.js b/src/game/94-dashboard/40-connections.js new file mode 100644 index 0000000..06cf0fe --- /dev/null +++ b/src/game/94-dashboard/40-connections.js @@ -0,0 +1,65 @@ +/* ---------- connections overview (#31, #33, #38) ---------- + Every transit port, PNI, IX port, cache and fabric port in one list, filterable by type, city and + network, with a jump to the POP that holds it. The Networks tab shows the same per network. */ +const CONN_K={t:N_('Transit'),p:'PNI',ix:'IX',c:N_('Cache'),nni:'NNI'},CONN_ORD=['t','p','ix','c','nni'],CONN_COL={t:'#FF8A3D',p:'#7B61FF',ix:'#2DB7F5',c:'#16A866',nni:'#1E2640'}; +const connTab=k=>k==='t'?'up':k==='nni'?'links':'peer'; +function conns(){const out=[],pn=(tier,n)=>(n||1)>1?`${n}×${PORT[tier].n} LAG`:PORT[tier].n; + for(const t of S.transit){const q=(R.p95&&R.p95[t.id])||0;out.push({k:'t',id:t.id,city:t.city,net:t.net,name:NET[t.net].name,port:pn(t.tier,t.n),cap:lagCap(PORT[t.tier].g,t.n),use:R.useT[t.id]||0,mo:transitMo(t,q),down:t.down>S.day||!popUp(t.city),low:t.pref==='low',note:tr('95th percentile {g}',{g:fmtG(q)})});} + for(const x of S.pni){const u=R.usePni[x.id]||0;out.push({k:'p',id:x.id,city:x.city,net:x.net,name:NET[x.net].name,port:x.g1?((x.n||1)>1?x.n+'×1G':'1G'):pn(x.tier,x.n),cap:lagCap(pniG(x),x.n),use:u,mo:pniMo(x,u),down:!popUp(x.city)||!pniOn(x),low:x.pref==='low',note:!pniOn(x)?tr('on order: {n} days',{n:x.ready-S.day}):NET[x.net].pol==='paid'?tr('paid peering'):''});} + for(const c in S.ixp){const ses=ixSessions(c),mine=!!S.myIx[c];out.push({k:'ix',id:c,city:ixCity(c),net:null,nets:[...ses],name:ixName(c),port:mine?tr('your exchange'):pn(S.ixp[c],(S.ixn||{})[c]),cap:ixCap(c),use:R.useIx[c]||0,mo:ixMo(c),mine,down:!!(S.ev.ixdown&&S.ev.ixdown[c]>S.day),low:(S.ixPref&&S.ixPref[c])==='low',note:trn('{n} peering session','{n} peering sessions',ses.size)+(isRemote(c)?' · '+tr('remote'):'')});} + const cg={};for(const x of S.caches){const key=x.city+'|'+x.net;(cg[key]=cg[key]||[]).push(x);} + for(const key in cg){const g=cg[key],x=g[0];out.push({k:'c',id:x.id,n:g.length,city:x.city,net:x.net,name:NET[x.net].cache.name,port:trn('{n} box','{n} boxes',g.length),cap:CACHE_CAP*g.length,use:g.reduce((a,y)=>a+(R.useCache[y.id]||0),0),mo:CACHE_MO*g.length,down:!popUp(x.city),low:false,note:tr('from {net}',{net:NET[x.net].name})});} + for(const x of S.nni||[])if(FAB[x.prov]&&NNI[x.tier])out.push({k:'nni',id:x.city+'|'+x.prov,city:x.city,net:null,name:FAB[x.prov].name,port:NNI[x.tier].n,cap:NNI[x.tier].g,use:nniUsed(x.city,x.prov),mo:NNI[x.tier].mo,down:!popUp(x.city),low:false,note:tr('virtual circuits and fabric customers')}); + return out;} +// Cancel straight from the list, with the same "Really?" step as the POP panel. +// Grow a connection from the list: the next port size and one more LAG member, same actions and prices as the POP panel. +function connUp(r){if(r.mine)return '';const nx=t=>PORT[t+1]&&portShown(t+1)?t+1:-1;let h=''; + if(r.k==='t'){const t=S.transit.find(x=>x.id===r.id);if(!t)return '';const n=t.n||1,i=nx(t.tier); + if(i>=0){const a={port:PORT[i].n,cost:fmt$(PORT[i].setup*n),mo:fmt$(PORT[i].tmo*n)};h+=btn(n>1?tr('Upgrade all to {port} {cost} + {mo}/mo',a):tr('Upgrade {port} {cost} + {mo}/mo',a),'buyTransit',{city:t.city,net:t.net,tier:i},'sm',S.cash{cost} + {mo}/mo',{cost:fmt$(PORT[t.tier].setup),mo:fmt$(PORT[t.tier].tmo)}),'lagT',{id:t.id,d:1},'sm',S.cashx.id===r.id);if(!p)return '';if(!pniOn(p)||p.up||msfNope(p.net,p.city))return `${!pniOn(p)||p.up?tr('on order'):''}`;const n=p.n||1,i=p.g1?0:nx(p.tier),c=i>=0?(1500+PORT[i].setup/2)*n:0; + if(i>=0){const a={port:PORT[i].n,cost:fmt$(c),mo:fmt$(PORT[i].pni*n)};h+=btn(n>1?tr('Upgrade all to {port} {cost} + {mo}/mo',a):tr('Upgrade {port} {cost} + {mo}/mo',a),'pni',{city:p.city,net:p.net,tier:i},'sm',!portOk(p.city,i)||S.cash{cost} + {mo}/mo',{cost:fmt$(1500+PORT[p.tier].setup/2),mo:fmt$(PORT[p.tier].pni)}),'lagP',{id:p.id,d:1},'sm',S.cash<1500+PORT[p.tier].setup/2);} + else if(r.k==='ix'){const c=r.id,city=ixCity(c),n=(S.ixn||{})[c]||1,i=nx(S.ixp[c]); + if(i>=0)h+=btn(tr('Upgrade {port} {price}',{port:PORT[i].n,price:portMo(ixPortMo(c,i)*n)}),'buyIx',{city:c,tier:i},'sm',(!!S.pops[city]&&!portOk(city,i))||(!S.pops[city]&&i>1)); + if(S.pops[city]&&!S.myIx[c]&&n{price}',{price:portMo(ixPortMo(c,S.ixp[c]))}),'lagIx',{city:c,d:1},'sm',S.cash{price}/mo',{port:NNI[pt.tier+1].n,price:fmt$(NNI[pt.tier+1].mo)}),'buyNni',{city,prov,tier:pt.tier+1},'sm');} + return h;} +function connX(r){if(r.mine)return '';const on=UI.confirm==='cc:'+r.k+':'+r.id; + return btn(on?(r.k==='ix'?tr('Really leave?'):r.k==='t'?tr('Really cancel?'):tr('Really remove?')):r.k==='ix'?tr('Leave IX'):r.k==='t'?tr('Cancel'):r.k==='c'&&r.n>1?tr('− box'):r.k==='nni'?tr('Remove port'):tr('Remove'),'connCancel',{k:r.k,id:r.id},on?'red sm':'ghost sm');} +function connMatch(r,F){return (!F.k||r.k===F.k)&&(!F.city||r.city===F.city)&&(!F.net||r.net===F.net||(r.nets&&r.nets.includes(F.net)));} +function connSection(){const all=conns(),F=UI.cf||{}; + let h=`

${tr('Connections')}

${tr('Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.')}

`; + if(!all.length)return h+`

${tr('No connections yet. Buy transit or join an exchange from a POP.')}

`; + const cnt=k=>all.filter(r=>r.k===k&&connMatch(r,{...F,k:null})).length; + h+=`
${btn(tr('All ({n})',{n:all.filter(r=>connMatch(r,{...F,k:null})).length}),'connF',{f:'k',v:''},!F.k?'pink sm':'ghost sm')}${CONN_ORD.filter(k=>all.some(r=>r.k===k)).map(k=>btn(`${tr(CONN_K[k])} (${cnt(k)})`,'connF',{f:'k',v:k},F.k===k?'pink sm':'ghost sm')).join('')}
`; + const cities=[...new Set(all.map(r=>r.city))].sort((a,b)=>CITY[a].name.localeCompare(CITY[b].name)); + const nets=[...new Set(all.flatMap(r=>r.net?[r.net]:(r.nets||[])))].filter(id=>NET[id]&&!NET[id].tail).sort((a,b)=>NET[a].name.localeCompare(NET[b].name)); + h+=`
${F.k||F.city||F.net?btn(tr('Clear filters'),'connF',{f:'all',v:''},'ghost sm'):''}
`; + const rows=all.filter(r=>connMatch(r,F)); + const sk=UI.connSort||'k',dir=UI.connDir||1,val=r=>sk==='city'?CITY[r.city].name:sk==='name'?r.name.toLowerCase():sk==='use'?(r.cap?r.use/r.cap:0):sk==='mo'?r.mo:CONN_ORD.indexOf(r.k); + rows.sort((a,b)=>{const A=val(a),B=val(b);return (AB?1:0)*dir||CONN_ORD.indexOf(a.k)-CONN_ORD.indexOf(b.k)||CITY[a.city].name.localeCompare(CITY[b.city].name)||a.name.localeCompare(b.name);}); + const tc=rows.reduce((a,r)=>a+r.cap,0),tu=rows.reduce((a,r)=>a+r.use,0),tm=rows.reduce((a,r)=>a+r.mo,0); + if(isPhone()){const st=(r)=>r.down?` ${tr('DOWN')}`:r.low?` ${tr('backup')}`:''; + h+=`
${[['k',tr('Type')],['city',tr('Where')],['use',tr('In use')],['mo',tr('Per month')]].map(([k,l])=>btn(l+(sk===k?(dir>0?' ▲':' ▼'):''),'connSort',{k},sk===k?'pink sm':'ghost sm')).join('')}
`; + h+=rows.slice(0,listN('conn')).map(r=>{const u=r.cap?r.use/r.cap:0,N=r.net&&NET[r.net];return `
${N?logo(N):``}
${esc(r.name)} ${tr(CONN_K[r.k])}${st(r)}
${esc(CITY[r.city].name)} · ${esc(r.port)} · ${tr('{price}/mo',{price:fmt$(r.mo)})}${r.note?' · '+esc(r.note):''}
${tr('In use')}${fmtG(r.use)} / ${fmtCap(Math.round(r.cap))}
${r.mine?'':`
${connUp(r)}${connX(r)}
`}
${btn(tr('Open'),'goConn',{city:r.city,k:r.k},'ghost sm')}
`;}).join(''); + return h+listMore('conn',rows.length,n=>trn('+{n} more connection','+{n} more connections',n))+`
${trn('{n} connection','{n} connections',rows.length)}${fmtG(tu)} / ${fmtCap(Math.round(tc))} · ${tr('{price}/mo',{price:fmt$(tm)})}
`;} + const th=(k,l,c)=>`${k?``:l}`; + h+=`
${th('k',tr('Type'))}${th('city',tr('Where'))}${th('name',tr('With'))}${th('',tr('Port'))}${th('use',tr('In use'),'r')}${th('mo',tr('Per month'),'r')}`; + h+=rows.slice(0,listN('conn')).map(r=>{const u=r.cap?r.use/r.cap:0,N=r.net&&NET[r.net];return ``;}).join(''); + h+=`
${tr(CONN_K[r.k])}${esc(CITY[r.city].name)}${N?logo(N):''}${esc(r.name)}${r.note?`
${esc(r.note)}`:''}
${esc(r.port)}${r.down?` ${tr('DOWN')}`:r.low?` ${tr('backup')}`:''}${fmtG(r.use)} / ${fmtCap(Math.round(r.cap))}
${fmt$(r.mo)}
${btn(tr('Open'),'goConn',{city:r.city,k:r.k},'ghost sm')}${connUp(r)}${connX(r)}
${trn('{n} connection','{n} connections',rows.length)}${fmtG(tu)} / ${fmtCap(Math.round(tc))}${fmt$(tm)}
${listMore('conn',rows.length,n=>trn('+{n} more connection','+{n} more connections',n))}`; + return h;} +// Where you connect to one network, as buttons that jump to the POP (Networks tab). +// Where you connect to each network, as [label, city, kind]: transit, PNIs, IX sessions, then caches. Built for all +// networks at once, so the network list works out each IX port's sessions a single time, not once per network. +function netWhereIdx(){const B={t:{},p:{},ix:{},c:{}},add=(k,id,x)=>(B[k][id]||(B[k][id]=[])).push(x); + for(const t of S.transit)add('t',t.net,[tr('Transit'),t.city,'t']); + for(const x of S.pni)add('p',x.net,['PNI',x.city,'p']); + for(const c in S.ixp){const nm=ixName(c),ct=ixCity(c);for(const id of ixSessions(c))add('ix',id,[nm,ct,'ix']);} + const seen=new Set();for(const x of S.caches){const k=x.net+'|'+x.city;if(!seen.has(k)){seen.add(k);add('c',x.net,[tr('Cache'),x.city,'c']);}} + return id=>[].concat(B.t[id]||[],B.p[id]||[],B.ix[id]||[],B.c[id]||[]);} +function netWhere(n,where){const ch=(where||netWhereIdx())(n.id); + if(!ch.length)return '';const MAX=6; + return `
${ch.slice(0,MAX).map(([l,c,k])=>btn(`${esc(l)} ${esc(CITY[c].name)}`,'goConn',{city:c,k},'ghost sm')).join('')}${ch.length>MAX?btn(tr('+{n} more',{n:ch.length-MAX}),'connFor',{net:n.id},'ghost sm'):''}
`;} +const DTABS=['overview','cust','conn','traffic','infra','lease']; diff --git a/src/game/94-dashboard/50-lease-swaps.js b/src/game/94-dashboard/50-lease-swaps.js new file mode 100644 index 0000000..60a1f7e --- /dev/null +++ b/src/game/94-dashboard/50-lease-swaps.js @@ -0,0 +1,37 @@ +/* Leased lines you could swap for your own glass: waves, fabric circuits and IRUs between two of your POPs, + priced against digging (land) or laying a cable (subsea), with enough optics to match what you lease today. */ +function swapOptics(km,cap,sub,sys){for(let r=0;r<=(sub?0:REGEN_MAX);r++){const l={km,regen:r,sub};let b=null; + for(const o in OPT){if(OPT[o].lvl>lvl()||sys==='lite'&&OPT[o].sys==='roadm')continue;const g=optG(o,l),c=optCost(o);if(g&&(!b||c/gls.reduce((s,l)=>s+(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?(l.ch||[]).reduce((t,o)=>t+optG(o,l),0):LT[l.tier].g),0); +const swapOpt=(k,up,omo,days,mo)=>{const save=mo-omo;return {k,up,omo,days,save,pay:save>0?Math.ceil(up/save):0};}; +// Lighting leased capacity on a fiber you already have (#72 review): needs free channels, and optics cost money. +function litOn(L,cap){const free=chMax(L)-(L.ch||[]).length-soldSlots(L);let b=null; + for(const o in OPT){const O=OPT[o];if(O.lvl>lvl()||(O.sys==='roadm'&&!isRdm(L.sys))||[L.a,L.b].some(c=>S.pops[c]&&RG[S.pops[c].rgen||0].cls{const [a,b]=k.split('|'),sub=isSub(a,b),mo=ls.reduce((s,l)=>s+(l.mo||0),0),cap=leaseCap(ls); + const x={a,b,sub,ls,mo,cap,opts:[],own:pairLinks(a,b).find(l=>l.kind==='df'&&l.own&&l.ready<=S.day)};if(x.own){x.fit=litOn(x.own,cap);if(x.fit.fits)x.best=mo;return x;} + // Waves and fabric circuits can also move onto a leased fiber pair: cheaper glass, but you buy the gear. + const ws=ls.filter(l=>l.kind!=='df'),wmo=ws.reduce((s,l)=>s+(l.mo||0),0),sc=sub?subDfCable(a,b):null;x.iru=ls.find(l=>l.kind==='df'); + if(ws.length&&x.iru){x.fit=litOn(x.iru,leaseCap(ws));if(x.fit.fits)x.lit=wmo;} + else if(ws.length&&lvl()>=2&&(sub?sc:dfAllowed(a,b))){const km=sc?sc.km:kmBetween(a,b),sys=lvl()>=3?'roadm':'lite',wc=leaseCap(ws),op=swapOptics(km,wc,sub,sys); + if(op&&op.n<=DF_SYS[sys].max)x.opts.push(swapOpt('iru',DF_SYS[sys].cost+ampCount(km)*AMP_COST+op.up,dfLeaseMo(km)+ampCount(km)*AMP_MO+op.mo,30,wmo));} + // Dig on land, lay a cable between landing stations (even ones that share a landmass), or both. + const whys=[];for(const cab of [false,true]){if(cab?!seaCab(a,b):sub)continue; + const why=cab?ownCabWhy(a,b):!dfAllowed(a,b)?tr('Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.'):lvl()<3?tr('Digging your own fiber unlocks at customer level 3.'):''; + if(why){whys.push(why);continue;}const km=cab?ownCabKm(a,b):kmBetween(a,b),op=swapOptics(km,cap,cab,'roadm'); + if(!op){whys.push(tr('No optic you can buy reaches {km} km yet.',{km:km.toLocaleString()}));continue;} + x.opts.push(swapOpt(cab?'cab':'own',(cab?ownCabCost(km):dfBuildCost(km)+DF_SYS.roadm.cost+ampCount(km)*AMP_COST)+op.up,(cab?ownCabMo(km):Math.round(km*0.15)+ampCount(km)*AMP_MO)+op.mo,cab?ownCabDays(km):dfBuildDays(km),mo));} + x.why=x.opts.some(o=>o.k!=='iru')?'':whys.join(' '); + const sv=[...x.opts.map(o=>o.save),x.lit].filter(v=>v!==undefined);if(sv.length)x.best=Math.max(...sv);return x;}) + .sort((p,q)=>((p.best===undefined)-(q.best===undefined))||(q.best||0)-(p.best||0)||q.mo-p.mo);} +function leaseTab(){const xs=leaseSwaps(),tot=xs.reduce((s,x)=>s+x.mo,0); + const kind=l=>l.kind==='vxc'?tr('{cap} fabric circuit',{cap:capName(l)}):l.kind==='df'?tr('{cap} on a dark fiber IRU',{cap:capName(l)}):tr('{cap} wave',{cap:capName(l)}); + const line=(x,o)=>{const a={up:fmt$(o.up),mo:fmt$(o.omo),n:o.days};return `
${o.k==='iru'?tr('Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.',a):o.k==='cab'?tr('Your own cable: {up} up front, {mo}/mo, about {n} days to build.',a):tr('Your own fiber: {up} up front, {mo}/mo, about {n} days to build.',a)} ${o.save>0?tr('Saves {price}/mo, pays for itself in about {n} months.',{price:fmt$(o.save),n:o.pay}):tr('Costs more than leasing at this size.')}
`;}; + const plan=(x,o)=>btn(o.k==='iru'?tr('Plan dark fiber'):o.k==='cab'?tr('Plan a cable'):tr('Plan your own fiber'),'leaseSwap',{a:x.a,b:x.b,src:o.k==='iru'?'lease':o.k==='cab'?'cable':'build'},o.save>0&&o.save===x.best?'pink sm':'ghost sm'); + return `

${tr('Leased lines')}

${tr('Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.')}

+ ${xs.length?`
${tr('You pay for leases')}${tr('{price}/mo',{price:fmt$(tot)})}
`+xs.map(x=>`
${CITY[x.a].name} ⇄ ${CITY[x.b].name} ${x.sub?tr('subsea'):tr('land')}
${Object.entries(x.ls.reduce((m,l)=>(m[kind(l)]=(m[kind(l)]||0)+1,m),{})).map(([k,n])=>n>1?`${n} × ${k}`:k).join(', ')} · ${tr('{price}/mo',{price:fmt$(x.mo)})}
+ ${x.fit&&x.fit.fits?`
${x.own?tr('You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.',{n:x.fit.n,up:fmt$(x.fit.up),price:fmt$(x.best)}):tr('You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.',{n:x.fit.n,up:fmt$(x.fit.up),price:fmt$(x.lit)})}
`:x.fit?`
${x.fit.n?tr('Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.',{free:Math.max(0,x.fit.free),n:x.fit.n}):tr('No optic you can buy works on your fiber here yet.')}
`:''}${x.opts.map(o=>line(x,o)).join('')}${!x.own&&x.why?`
${esc(x.why)}
`:''} +
${x.own?btn(tr('Open your fiber'),'dashLink',{id:x.own.id},'pink sm'):''}${x.iru&&x.fit?btn(tr('Open your dark fiber'),'dashLink',{id:x.iru.id},x.lit!==undefined?'pink sm':'ghost sm'):''}${x.opts.map(o=>plan(x,o)).join('')}${btn(tr('Open lease'),'dashLink',{id:(x.ls.find(l=>l.kind!=='df')||x.ls[0]).id},'ghost sm')}
`).join(''):`

${tr('You do not lease any lines between your POPs.')}

`}
`;} diff --git a/src/game/94-dashboard/60-dashboard.js b/src/game/94-dashboard/60-dashboard.js new file mode 100644 index 0000000..e0aa530 --- /dev/null +++ b/src/game/94-dashboard/60-dashboard.js @@ -0,0 +1,31 @@ +function dashTabs(){const u=custStats().unhappy,cur=UI.dtab||'overview',L={overview:tr('Overview'),cust:tr('Customers'),conn:tr('Connections'),traffic:tr('Traffic'),infra:tr('Links & routers'),lease:tr('Leased lines')}; + return ``;} +function renderDash(){checkLayer(); + const H=S.hist||[],rows=H.slice(-90),last30=H.slice(-30); + const up=last30.length?last30.reduce((a,r)=>a+(r.dem?Math.min(1,r.srv/r.dem):1),0)/last30.length:1; + const net=R.revMo-R.costMo,tot=Object.values(R.egT).reduce((a,b)=>a+b,0)||1; + const tile=(l,v,sub)=>`
${l}
${v}
${sub?`
${sub}
`:''}
`; + let h=`
AS${S.asn} · ${esc(S.name)} · ${tierLabel()}

${tr('NOC dashboard')}

`+dashTabs();const DT=UI.dtab||'overview';if(DT==='overview')h+=` +
${tile(tr('Traffic now'),fmtG(R.served),tr('of {g} wanted',{g:fmtG(R.demand)}))}${tile(tr('Peak'),fmtG(S.stats.peak))}${tile(tr('Delivered, 30 days'),(up*100).toFixed(1)+'%',up>=0.999?tr('five nines-ish'):up>=0.99?tr('two nines and change'):tr('customers are upset'))}${tile(tr('Peering ratio'),pct(R.peerShare||0),tr('caches, PNIs and IX'))}${tile(tr('Monthly P&L'),`${net>=0?'+':''}${fmt$(net)}`,tr('{in} in · {out} out',{in:fmt$(R.revMo),out:fmt$(R.costMo)}))}${tile(tr('Incidents'),S.stats.incidents,tr('{n} shrugged off',{n:S.stats.survived}))}
+

${tr('Traffic by way out')}

${svgChart(rows,['c','p','ix','t','l2'],[{k:'dem',col:'#1E2640',dash:true}],v=>fmtCap(Math.round(v)))}
${Object.keys(EGC).map(k=>`${EGC[k][0]} ${pct((R.egT[k]||0)/tot)}`).join('')}${tr('Demand')}
+

${tr('Money per month')}

${svgChart(rows,[],[{k:'rev',col:'#16A866'},{k:'cost',col:'#FF4D5E'}],v=>fmt$(v))}
${tr('Revenue')}${tr('Costs')}
+

${tr('Where the money goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('POPs and routers'),links:tr('Waves and fiber'),transit:tr('Transit'),ix:tr('IX ports'),pni:tr('PNIs'),caches:tr('Cache power'),nni:tr('Fabric ports'),optical:tr('Amp huts and spares'),loans:tr('Loan repayments'),revshare:tr('Investor revenue share'),extras:tr('Licenses and scrubbing'),wholesale:tr('Nearly Broadband Network wholesale'),levy:tr('Regional broadband levy')}[k]||k}${tr('{price}/mo',{price:fmt$(v)})}
`).join('')}
`; + const tT=(R.egT.t||0)||1; + const row=(n,e,want)=>{const t=e.c+e.p+e.ix+e.t;return {n,e,t,want,cost:(R.cost.transit||0)*e.t/tT,lost:want>0.01?Math.max(0,1-t/want):0};}; + const nets=NETS.filter(n=>!n.tail).map(n=>row(n,R.netEg[n.id]||{c:0,p:0,ix:0,t:0},R.demTo[n.id]||0)); + {const e={c:0,p:0,ix:0,t:0};let w=0;for(const n of NETS)if(n.tail){const x=R.netEg[n.id];if(x)for(const k in e)e[k]+=x[k]||0;w+=R.demTo[n.id]||0;}nets.push(row({id:'_tail',name:tr('The long tail ({n} small networks)',{n:NETS.filter(n=>n.tail).length}),asn:'many',type:'eye',col:'#8A93B8'},e,w));} + for(let i=nets.length-1;i>=0;i--)if(!(nets[i].t>0.01||nets[i].want>0.01))nets.splice(i,1); + {const k=UI.dashSort||'traffic',dir=UI.dashDir||-1,val=x=>k==='name'?x.n.name.toLowerCase():k==='asn'?x.n.asn:k==='type'?x.n.type:k==='cost'?x.cost:k==='lost'?x.lost:x.t;nets.sort((a,b)=>{const A=val(a),B=val(b);return (AB?1:0)*dir||b.t-a.t;});} + if(DT==='cust')h+=custSection(); + if(DT==='conn')h+=connSection(); + if(DT==='traffic')h+=`

${tr('Traffic by network (ASN)')}

${tr("Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.")}

${['c','p','ix','t'].map(k=>`${EGC[k][0]}`).join('')}
${[['name',tr('Network'),''],['asn','AS',''],['type',tr('Type'),''],['traffic',tr('Traffic'),'r'],['mix',tr('How it arrives'),''],['cost',tr('Transit cost'),'r'],['lost',tr('Lost'),'r']].map(([k,l,c])=>``).join('')} + ${nets.map(({n,e,t,want})=>{return ``;}).join('')}
${k==='mix'?l:``}
${logo(n)}${esc(n.name)}${n.asn}${TYPE_L[n.type]}${fmtG(t)}
${['c','p','ix','t'].map(k=>``).join('')}
${e.t>0.01?tr('{price}/mo',{price:fmt$((R.cost.transit||0)*e.t/tT)}):'—'}${want>0.01?pct(Math.max(0,1-t/want)):'—'}
`; + if(DT==='traffic'){const top=transitTop(S.transit.map(t=>t.id),8);if(top.length)h+=`

${tr('Who your transit carries')}

${tr('The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.')}

${top.map(([id,v])=>`
${logo(NET[id])}
${esc(NET[id].name)} AS${NET[id].asn} · ${fmtG(v)} · ${tr('about {price}/mo',{price:fmt$((R.cost.transit||0)*v/tT)})}
${esc(offTransitHint(id))}
${btn(tr('Where?'),'netFocus',{id},'ghost sm')}
`).join('')}
`;} + const ls=S.links.filter(l=>capOf(l)>0).map(l=>({l,u:(R.load[l.id]||0)/capOf(l)})).sort((a,b)=>b.u-a.u).slice(0,8); + const rs=Object.keys(S.pops).map(c=>({c,u:(R.nodeLoad[c]||0)/(R.nodeCap[c]||1)})).sort((a,b)=>b.u-a.u).slice(0,6); + if(DT==='infra')h+=`

${tr('Busiest links')}

${ls.length?ls.map(({l,u})=>`
${CITY[l.a].name} ⇄ ${CITY[l.b].name} ${capName(l)} · ${linkLat(l).toFixed(1)} ms
${pct(u)}${btn(tr('Open'),'dashLink',{id:l.id},'ghost sm')}
`).join(''):'

'+tr('No links yet.')+'

'}
+

${tr('Router load')}

${rs.map(({c,u})=>`
${CITY[c].name} ${(S.pops[c].routers||1)} × ${esc(RG[S.pops[c].rgen||0].n)}
${pct(u)}
`).join('')} +

${tr('Your AS')}

${tr('AS number')}AS${S.asn}
${tr('Prefixes')}${Math.max(1,Math.ceil(Object.keys(S.pops).length/3))} × /22 IPv4, 1 × /32 IPv6
${tr('BGP sessions')}${R.sessions}
${tr('Upstreams')}${new Set(S.transit.map(t=>t.net)).size}
${tr('Reach')}${pct(R.reach)}
${tr('Customers')}${tr('{n} businesses',{n:S.biz.length})}
`; + if(DT==='lease')h+=leaseTab(); + if(h!==UI._dh){UI._dh=h;morph($('dashCard'),h);} +} diff --git a/src/game/94-dashboard/70-bank.js b/src/game/94-dashboard/70-bank.js new file mode 100644 index 0000000..c7acb02 --- /dev/null +++ b/src/game/94-dashboard/70-bank.js @@ -0,0 +1,30 @@ +function loanSummary(o){return o.model==='transit'?tr('You pay {pct} of your transit bill until {price} is repaid.',{pct:pct(o.cut||0.3),price:fmt$(o.owe||o.amount)}):o.model==='balloon'?tr('Nothing to pay for {n} months. Then everything.',{n:o.term}):tr('{pay}/mo for {n} months.',{pay:fmt$(o.pay),n:o.term})+(o.share?' '+tr('Plus {pct} of your revenue until it is repaid.',{pct:pct(o.share)}):'');} +function loanLine(l){const sh=l.share?' · '+tr('plus {pct} of revenue',{pct:pct(l.share)}):'',fee=loanFees(l)?' · '+tr('{price}/mo in extras',{price:fmt$(loanFees(l))}):''; + if(l.model==='transit')return tr('{pct} of your transit bill · {n} months left · the rest is due at the end',{pct:pct(l.cut||0.3),n:l.left})+sh+fee; + if(l.model==='balloon')return tr('Nothing to pay until the end · {n} months left · growing at {apr}% a year',{n:l.left,apr:(l.apr*100).toFixed(1)})+sh+fee; + return tr('{pay}/mo · {n} months left · {apr}% APR',{pay:fmt$(l.pay),n:l.left,apr:(l.apr*100).toFixed(1)})+(l.model==='storm'?' · '+tr('+2% per open incident'):l.model==='astro'?' · '+tr('rate set by the stars each month'):'')+sh+fee;} +function renderBank(){ + if(!S||$('bankBox').hidden)return;const rt=rating(),net=R.revMo-R.costMo; + const terms=(o)=>{const B=BANKS[o.bank],sh=o.share&&!B.equity?`${tr('plus {pct} of revenue until repaid',{pct:pct(o.share)})}`:''; + if(o.model==='transit')return `${tr('{pct} of your transit bill',{pct:pct(o.cut||0.3)})}${tr('{price} to repay',{price:fmt$(o.owe||o.amount)})}${tr('{n} months',{n:o.term})}${tr('the rest is due at the end')}${sh}`; + if(o.model==='balloon')return `${tr('Nothing to pay until the end')}${tr('{apr}% APR',{apr:(o.apr*100).toFixed(1)})}${tr('{n} months',{n:o.term})}${tr('then about {price} at once',{price:fmt$(o.amount*Math.pow(1+o.apr/12,o.term))})}${sh}`; + const extra=o.model==='storm'?`${tr('+2% per open incident')}`:o.model==='astro'?`${tr('rate set by the stars each month')}`:''; + return (B.equity?`${tr('No repayments')}${tr('{pct} of revenue, forever',{pct:pct(o.share)})}${tr('Buy-out {price}',{price:fmt$(o.amount*3)})}`:`${tr('{apr}% APR',{apr:(o.apr*100).toFixed(1)})}${tr('{n} months',{n:o.term})}${tr('{price}/mo',{price:fmt$(o.pay)})}${B.crypto?''+tr('Paid in TubeCoin')+'':''}`)+extra+sh;}; + const covList=(l)=>l.covs.length?l.covs.map(c=>{const ok=COVS[c].ok(l);return `
${ok?'✓':'✗'} ${esc(covLabel(c))}
`;}).join(''):'
'+tr('No conditions. That is the scary part.')+'
'; + let h=`
AS${S.asn} · ${esc(S.name)}

${tr('Bank')}

+
${tr('Cash')}
${fmt$(S.cash)}
${S.cash<0?tr('Bankrupt at −$100k'):tr('in the vault')}
+
${tr('Monthly P&L')}
${net>=0?'+':''}${fmt$(net)}
${tr('after loan payments')}
+
${tr('Credit rating')}
${rt}
${rIdx(rt)>=5?tr('Bankers return your calls'):rIdx(rt)>=3?tr('Bankers return your emails'):tr('Bankers pretend to be out')}
+
${tr('Debt')}
${fmt$(S.loans.reduce((a,l)=>a+(BANKS[l.bank].equity?0:l.bal),0))}
${trn('{n} loan','{n} loans',S.loans.length)}
`; + h+=`

${tr('Offers')}

`; + if(!S.loanOffers.length)h+=`

${tr('No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.')}

`; + for(const o of S.loanOffers){const B=BANKS[o.bank];h+=`
${tr('{bank} offers {amount}',{bank:esc(B.name),amount:fmt$(o.amount)})}
${esc(B.blurb)} · ${tr('offer ends in {n}d',{n:o.exp-S.day})}
${terms(o)}
${covList({covs:o.covs,start:S.day,base:{sub:S.links.filter(x=>x.sub).length}})}
${btn(tr('Take the money'),'takeLoan',{id:o.id},'pink')}${btn(tr('No thanks'),'declineLoan',{id:o.id},'ghost sm')}
`;} + h+=`

${tr('Your loans')}

`; + if(!S.loans.length)h+=`

${tr('Debt-free. Your accountant is suspicious.')}

`; + for(const l of S.loans){const B=BANKS[l.bank];const cost=repayCost(l,B); + h+=`
${esc(B.name)} · ${fmt$(l.amount)}
+ ${B.equity?`
${tr('Taking {pct} of your revenue every month.',{pct:pct(l.share)})}
`:`
${tr('Still owed')}${fmt$(l.bal)}
${loanLine(l)}
`} + ${covList(l)}${l.breach>=1?`
${trn('Condition broken for {n} day.','Condition broken for {n} days.',l.breach)} ${l.breach<10?tr('Penalty in {n} days.',{n:10-l.breach}):tr('Penalties are running.')}
`:''} +
${btn(UI.confirm===l.id?tr('Really pay {price}?',{price:fmt$(cost)}):B.equity?tr('Buy them out {price}',{price:fmt$(cost)}):tr('Repay early {price} incl. 2% fee',{price:fmt$(cost)}),'repayLoan',{id:l.id},UI.confirm===l.id?'red sm':'sm',S.cash
`;} + if(h!==UI._bh){UI._bh=h;$('bankCard').innerHTML=h;} +} diff --git a/src/game/94-dashboard/80-hint.js b/src/game/94-dashboard/80-hint.js new file mode 100644 index 0000000..94faf4d --- /dev/null +++ b/src/game/94-dashboard/80-hint.js @@ -0,0 +1,9 @@ +function renderHint(){ + const hn=$('hint');if(!S||UI.hintOff||(S.tut!==undefined&&S.tut!==null)||(innerWidth<760&&(UI.sel||UI.leftOpen)&&!(UI.drag&&UI.drag.mode==='link'))){hn.hidden=true;return;} + let t=''; + if(UI.drag&&UI.drag.mode==='link')t=UI.snap?tr('Release to plan a link'):tr('Drag onto another city'); + else if(!S.links.length&&S.done.tr)t=tr('Tip: drag from your pink router to another city to lay fiber'); + else if(!S.done.bb)t=tr('Tap your city, then Launch broadband'); + hn.textContent=t;hn.hidden=!t; +} + diff --git a/src/game/95-modals/10-toasts.js b/src/game/95-modals/10-toasts.js new file mode 100644 index 0000000..b319984 --- /dev/null +++ b/src/game/95-modals/10-toasts.js @@ -0,0 +1,8 @@ +/* ---------- toasts & modals ---------- */ +function toast(html,kind='',actions=[],open=null){ + if(S)logNote(html,kind,actions,open); + const el=document.createElement('div');el.className='toast '+kind;el.dataset.born=performance.now(); + el.innerHTML=`
${html}
${actions.map(a=>btn(a.l,a.act,a.args,'sm')).join('')}`; + const box=$('toasts');box.prepend(el);const max=innerWidth<760?2:3;while(box.children.length>max)box.lastChild.remove(); + setTimeout(()=>{el.style.transition='opacity .4s';el.style.opacity=0;setTimeout(()=>el.remove(),400);},actions.length?8000:4500); +} diff --git a/src/game/95-modals/20-notifications.js b/src/game/95-modals/20-notifications.js new file mode 100644 index 0000000..ddf8776 --- /dev/null +++ b/src/game/95-modals/20-notifications.js @@ -0,0 +1,31 @@ +/* ---------- notifications: the NOC keeps the last ten minutes, readable and openable ---------- */ +const LOG_KEEP=60,LOG_MS=10*60*1000,LOG_KINDS=['','good','bad','goal'],LOG_OPEN=['city','link','cust','bank','tab','inbox'],LOG_TABS=['goals','deals','noc','nets']; +// What a notification is about, from the button it came with: the same place its own button would take you. +function openOf(actions){for(const a of actions||[]){const g=a.args||{}; + if(a.act==='focusCity'&&isCity(g.city))return {a:'city',v:g.city};if(a.act==='selLink'&&g.id)return {a:'link',v:String(g.id)}; + if(a.act==='custGo'&&g.id)return {a:'cust',v:String(g.id)};if(a.act==='bank')return {a:'bank'};if(a.act==='inbox')return {a:'inbox'};if(a.act==='leftTab'&&LOG_TABS.includes(g.t))return {a:'tab',v:g.t};}return null;} +// Otherwise from the text: a link between two of your cities it names, or the first of your cities it names. +function openFromText(t){const cs=Object.keys(S.pops).map(c=>[c,t.indexOf(CITY[c].name)]).filter(([,i])=>i>=0).sort((a,b)=>a[1]-b[1]).map(([c])=>c); + if(cs.length>=2){const l=S.links.find(l=>(l.a===cs[0]&&l.b===cs[1])||(l.a===cs[1]&&l.b===cs[0]));if(l)return {a:'link',v:l.id};}return cs.length?{a:'city',v:cs[0]}:null;} +// An incident points at a link, a trench, a city, or a port in a city. +function incOpen(i){const r=i&&i.ref;if(typeof r!=='string')return null;const l=S.links.find(l=>l.id===r||l.trench===r);if(l)return {a:'link',v:l.id}; + if(isCity(r))return {a:'city',v:r};const x=S.transit.find(t=>t.id===r)||S.pni.find(t=>t.id===r);if(x)return {a:'city',v:x.city};if(isIx(r)&&isCity(ixCity(r)))return {a:'city',v:ixCity(r)};return null;} +function logNote(html,kind,actions,open){S.log=S.log||[];const tmp=document.createElement('div');tmp.innerHTML=html.replace(/
/g,' ');const t=tmp.textContent.trim(); + const b=tmp.firstElementChild&&tmp.firstElementChild.tagName==='B'&&html.startsWith('')?tmp.firstElementChild.textContent.trim():''; + const o=open||openOf(actions)||openFromText(t),now=Date.now(),key=(b||t).replace(/[\d.,]+/g,'#'),last=S.log[0]; + // The same notice again within a minute folds into the last one, with a count: twenty "new sessions" read as one line. + if(last&&last.at&&now-last.at<60000&&last.k===kind&&(last.h||last.t).replace(/[\d.,]+/g,'#')===key&&JSON.stringify(last.o||null)===JSON.stringify(o)){last.n=(last.n||1)+1;last.t=t;last.h=b;last.at=now;last.d=S.day;return;} + S.log.unshift({id:uid(),d:S.day,t,h:b,k:kind,at:now,o,n:1});if(S.log.length>LOG_KEEP)S.log.length=LOG_KEEP;} +const logRecent=()=>{const now=Date.now();return (S.log||[]).filter(e=>e.at&&now-e.atlogRecent().filter(e=>e.at>(UI.logSeen||0)).length; +const agoStr=at=>{const m=Math.floor((Date.now()-at)/60000);return m<1?tr('just now'):trn('{n} min ago','{n} min ago',m);}; +function logSection(){const L=logRecent(),MAX=5,all=UI.logAll,sh=all?L:L.slice(0,MAX); + let h=`

${tr('Notifications')} ${tr('last 10 minutes')}

`; + if(!L.length)return h+`

${tr('Nothing in the last 10 minutes.')}

`; + h+=sh.map(e=>{const body=e.h&&e.t.startsWith(e.h)?e.t.slice(e.h.length).trim():e.t; + return `
${e.h?`
${esc(e.h)}${e.n>1?` ×${e.n}`:''}
`:''}${body?`
${esc(body)}${!e.h&&e.n>1?` ×${e.n}`:''}
`:''}
${agoStr(e.at)} · ${dateStr(e.d)}
${e.o?btn(tr('Open'),'logOpen',{id:e.id},'ghost sm'):''}
`;}).join(''); + if(L.length>MAX)h+=`
${btn(all?tr('Show fewer'):tr('Show all {n}',{n:L.length}),'logAll',{},'ghost sm')}
`; + return h;} +const markLayer=()=>{UI.layerAt=performance.now();}; +// Which layers are open: when that changes (a sheet, the dashboard, the bank, a selection), taps in flight are void. +function checkLayer(){const q=id=>{const e=$(id);return e?(e.hidden?0:1):0;},sig=[q('modal'),q('dash'),q('bankBox'),UI.leftOpen?1:0,UI.left||'',UI.sel?UI.sel.type+UI.sel.id:'',UI.tab||''].join('|');if(sig!==UI._layer){UI._layer=sig;markLayer();}} diff --git a/src/game/95-modals/30-modal-and-names.js b/src/game/95-modals/30-modal-and-names.js new file mode 100644 index 0000000..f08cefa --- /dev/null +++ b/src/game/95-modals/30-modal-and-names.js @@ -0,0 +1,24 @@ +// Keyboard focus moves into the modal, so Enter or Space can't keep pressing a hidden button behind it. +function openModal(html){if($('modal').hidden)markLayer();$('modalCard').innerHTML=html;$('modal').hidden=false;const a=document.activeElement;if(a&&a!==document.body&&!a.closest('#modal')){a.blur();const m=$('modalCard');m.tabIndex=-1;m.focus({preventScroll:true});}} +function closeModal(){if(!$('modal').hidden)markLayer();$('modal').hidden=true;UI.pending=null;} +const NETWORK_NAMES=[ + 'Packet Pals','Shinternet','Post, Telegraph & Tubes','Peering Pressure','Best Effort Telecom', + 'Mostly Online','Buffering & Sons','Lord of the Pings','The Ping Dynasty', + 'LAN Before Time','Bits Please','Hopless Networks','Route of All Evil', + 'TTL You Later','Fiber McFiberface','RFC 1149 Avian Carriers','Spanning Tree Huggers', + 'Dial-Up & Cry','404 Telecom','Loss Leaders','Last Mile Standing', + 'Have You Tried Off & On','Bogon Voyage','Default Route 66','Anycast Away', + 'Hot Potato Routing','Null Route Rangers','Looking Glass Half Full','Jumbo Frame Shop', + 'Route Flap Jacks','Split Horizon & Co.','Path of Least Resistance', +]; +function randomNetworkName(current){ + // Naming must not advance a running scenario's seeded simulation. + const names=NETWORK_NAMES.filter(n=>n!==current); + return names[Math.floor(_rand()*names.length)]; +} +const HTIW='https://tkjaer.github.io/how-the-internet-works/'; +// The real thing: an interactive, zoomable guide to how packets actually travel. Go read it. +// Where players hang out: the community Signal group. +const SIGNAL='https://signal.group/#CjQKIJwvEt5fYt1pvw7J2pV664CyUyGJXmAJLV8ia3nUdAD7EhA_FzdxflEzkNmcvDHdVgLQ'; +const chatHtml=()=>`${tr('Join the NOC chat')}${tr('Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.')}${tr('Join →')}`; +const plugHtml=(big)=>`How the Internet Works${big?tr('The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.'):tr('The real thing: follow a packet from Wi-Fi to undersea fiber.')}${tr('Explore →')}`; diff --git a/src/game/95-modals/40-title.js b/src/game/95-modals/40-title.js new file mode 100644 index 0000000..62d77b3 --- /dev/null +++ b/src/game/95-modals/40-title.js @@ -0,0 +1,26 @@ +function showTitle(){ + const sv=loadSave(); + if(UI.nm==null)UI.nm=randomNetworkName(); + const starts=[['fra',tr('Crossroads of Europe. DE-KICKS IX, cheap transit.')],['nyc',tr('Huge eyeball market. Pricey neighbours.')],['sin',tr('Asia hub. Great peering, far from home.')],['sao',tr('Big hungry market, few providers.')],['syd',tr('Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.')]]; + openModal(`
+

Series
of Tubes

+

${tr('Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.')}

${plugHtml(false)}${isPhone()?installRow():''} + ${sv?`
${btn(tr('Continue {name} · {date}',{name:esc(sv.name),date:dateStr(sv.day)}),'cont',{},'pink big')}
`:''} +
${btn(tr('Another one'),'randomName',{},'ghost sm')}
+
${starts.map(([c,d])=>``).join('')}
+
${[['normal',tr('Normal')],['sandbox',tr('Sandbox')]].map(([m,l])=>``).join('')}${btn(tr('Scenarios & weekly challenge →'),'scenarios',{},'sm')}
+
${segBtns('langSet',LANG,Object.entries(LANGS))}
+
${btn(sv?tr('Start a new network'):tr('Start building'),'start',{},'big')}${btn(tr('How to play'),'help',{},'ghost')}${btn(tr('Import a save'),'importPick',{},'ghost sm')}${btn(tr('Settings'),'settings',{},'ghost sm')}

v${APP_VERSION} · ${tr('Source on GitHub')} · ${tr('Chat on Signal')} · ${tr('Cookieless stats, no tracking')}

`); + $('nmIn').addEventListener('input',e=>{UI.nm=e.target.value;}); + if(sv){S=migrate(sv);compute();} +} +// "What's new": shown once to returning players after an update, or on demand. +function whatsNew(returning,force){ + if(IS_DEV||!RELEASE_NOTES.length)return false;let seen=null; + try{seen=localStorage.getItem('sot-seen-version');localStorage.setItem('sot-seen-version',APP_VERSION);}catch(e){} + if(!force&&(!returning||seen===APP_VERSION))return false; + openModal(`
${tr('Release notes')}

${tr('New in Series of Tubes {v}',{v:esc(APP_VERSION)})}

+ ${notesHtml(RELEASE_NOTES,APP_VERSION)} + ${returning&&S?`

${tr('Your network {name} was saved and is waiting for you.',{name:esc(S.name)})}

`:''} +
${btn(UI.started?tr('Back to my network'):tr('Got it'),UI.started?'closeModal':'helpClose',{},'pink big')}${notesLong(RELEASE_NOTES)?'':`${tr('Full changelog')}`}
`); + return true;} diff --git a/src/game/95-modals/50-release-notes.js b/src/game/95-modals/50-release-notes.js new file mode 100644 index 0000000..005d356 --- /dev/null +++ b/src/game/95-modals/50-release-notes.js @@ -0,0 +1,17 @@ +/* In-app notes stay short: at most NOTE_MAX changes, each cut to its first sentence. When anything was cut, a + link leads to the full notes of this version on GitHub. The CHANGELOG and the GitHub release keep every word. */ +const NOTE_MAX=5,NOTE_CH=140; +function slimNote(n){const m=String(n).match(/^(.+?[.!?])(\s|$)/);let t=m?m[1]:String(n);if(t.length>NOTE_CH)t=t.slice(0,NOTE_CH-1).replace(/\s+\S*$/,'')+'…';return t;} +const notesLong=ns=>ns.length>NOTE_MAX||ns.some(n=>slimNote(n)!==n); +function notesHtml(ns,ver){const more=Math.max(0,ns.length-NOTE_MAX); + return `
    ${ns.slice(0,NOTE_MAX).map(n=>`
  • ${esc(slimNote(n))}
  • `).join('')}${more?`
  • ${trn('…and {n} more change','…and {n} more changes',more)}
  • `:''}
`+ + (notesLong(ns)?`

${tr('Read the full notes on GitHub')}

`:'');} +function newerVer(a,b){const x=String(a).split('.').map(Number),y=String(b).split('.').map(Number);for(let i=0;i<3;i++){if((x[i]||0)>(y[i]||0))return true;if((x[i]||0)<(y[i]||0))return false;}return false;} +// While the game is open, look for a newer release now and then and offer a reload. +function checkUpdate(){ + if(IS_DEV||location.protocol==='file:'||!window.fetch)return;const now=Date.now();if(now-(UI.updChecked||0)<60000)return;UI.updChecked=now; + fetch('/version.json',{cache:'no-store'}).then(r=>r.ok?r.json():null).then(j=>{ + if(!j||!j.version||!newerVer(j.version,APP_VERSION))return;if(UI.updLater&&now-UI.updLater<6*3600*1000)return; + const top=(j.notes||[])[0]||'';$('update').innerHTML=`
${tr('Series of Tubes {v} is out!',{v:esc(j.version)})}${top?`
${esc(top.length>120?top.slice(0,117)+'…':top)}`:''}
${tr('Your game is saved automatically.')}
${btn(tr('Reload now'),'updateNow',{},'pink sm')}${btn(tr('Later'),'updateLater',{},'ghost sm')}`;$('update').hidden=false; + }).catch(()=>{}); +} diff --git a/src/game/95-modals/60-help.js b/src/game/95-modals/60-help.js new file mode 100644 index 0000000..8addec0 --- /dev/null +++ b/src/game/95-modals/60-help.js @@ -0,0 +1,24 @@ +function showHelp(){ + openModal(`

${tr('How the internet works here')}

+

${tr('Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.')}

+
+
${tr('Eyeballs')}
${tr('Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.')}
+
POP
${tr('Point of presence: your router in a data center. Everything starts at a POP.')}
+
${tr('IP transit')}
${tr('You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.')}
+
Tier 1 / Tier 2
${tr('Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.')}
+
CDN
${tr('Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.')}
+
${tr('IX (Internet Exchange)')}
${tr('A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.')}
+
PNI
${tr('Private network interconnect: a cable straight to one network in the same building. For big traffic.')}
+
${tr('PNI lead times')}
${tr('A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.')}
+
${tr('Supply chain')}
${tr('Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.')}
+
${tr('Backhaul latency')}
${tr('Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.')}
+
${tr('Peering inbox')}
${tr('Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.')}
+
${tr('Embedded cache')}
${tr('A CDN\'s server in your rack. Serves most of that CDN\'s traffic locally, for the price of power.')}
+
DE-KICKS
${tr('The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get "harmonised" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.')}
${tr('Remote peering')}
${tr('Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.')}
${tr('Peering policy')}
${tr('Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.')}
+
${tr('Waves')}
${tr('Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.')}
${tr('95th percentile')}
${tr('Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.')}
${tr('Routers')}
${tr('Each POP\'s router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.')}
${tr('Dark fiber')}
${tr('Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.')}
${tr('Subsea cables')}
${tr('Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.')}
${tr('Latency')}
${tr('Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.')}
${tr('NOC dashboard')}
${tr('The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.')}
${tr('Asia')}
${tr('A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.')}
${tr('Russia')}
${tr('Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.')}
${tr('Events, chains and wholesale')}
${tr('Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.')}
${tr('Bank')}
${tr('Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.')}
${tr('LAGs')}
${tr('Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.')}
${tr('Traffic engineering')}
${tr('Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link\'s metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.')}
${tr('China')}
${tr('Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.')}
${tr('Weird requirements')}
${tr('Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.')}
${tr('Customer levels')}
${tr('As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.')}
${tr('L2VPN & DDoS protection')}
${tr('Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).')}
${tr('Scrubbing centers')}
${tr('Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.')}
${tr('NNI fabrics')}
${tr('Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.')}
+
${tr('Conferences')}
${tr('NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.')}
${tr('Modes')}
${tr('Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.')}
${tr('Traceroute')}
${tr('Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.')}
${tr('Badges')}
${tr('Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.')}
${tr('The giants')}
${tr('At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.')}
RouteScript
${tr('Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.')}
Auto-TE
${tr('Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.')}
${tr('Metro diversity')}
${tr('A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.')}
${tr('Wave markets')}
${tr('What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.')}
${tr('Regional quirks')}
${tr('In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.')}
${tr('Boot times')}
${tr('Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.')}
${tr('Failures')}
${tr('Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.')}
+
RouteScript
${tr('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.')}
+

${tr('Want to know how it really works?')}

${plugHtml(true)}${chatHtml()}
${btn(UI.started?tr('Back to the map'):tr('Got it'),'helpClose',{},'big')}${RELEASE_NOTES.length?btn(tr('What’s new in {v}',{v:esc(APP_VERSION)}),'whatsNewShow',{},'ghost'):''}${UI.started&&S&&!S.lost?btn(tr('Start a new network'),'resetAsk',{},'ghost sm'):''}
${UI.started&&S&&!S.lost?btn(tr('Export save'),'exportSave',{},'ghost sm'):''}${btn(tr('Import a save'),'importPick',{},'ghost sm')}${btn(tr('Settings'),'settings',{},'ghost sm')}
`); +} +function showWin(){setTimeout(()=>{const m=$('modalCard');if(m&&!m.querySelector('[data-act=share]'))m.insertAdjacentHTML('beforeend',`
${btn(tr('Share my network'),'share',{},'pink')}

${tr('You built a cartoon internet. Now see how the real one works:')}

${plugHtml(true)}`);},0);openModal(`

${tr(`You're a Tier 1!`)}

${tr('{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.',{name:esc(S.name),asn:S.asn,days:S.day,n:S.stats.incidents})}

${btn(tr('Keep building'),'keepPlaying',{},'pink big')}`);sfx('coin');} +function showLose(){openModal(`

${tr('Bankrupt')}

${tr('The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.',{name:esc(S.name),days:S.day,peak:fmtG(S.stats.peak)})}

${btn(tr('Try again'),'newgame',{},'pink big')}`);try{localStorage.removeItem('sot-save-v1');}catch(e){}} diff --git a/src/game/95-modals/70-link-modal.js b/src/game/95-modals/70-link-modal.js new file mode 100644 index 0000000..07577b9 --- /dev/null +++ b/src/game/95-modals/70-link-modal.js @@ -0,0 +1,21 @@ +function openLinkModal(a,b){ + if([a,b].includes('kyv')&&[a,b].includes('mos')){openModal(`

${tr('Not happening')}

${tr('Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.')}

`);return;} + if((cnCity(a)||cnCity(b))&&!cnOk()){openModal(`

${tr('Not without a license')}

${tr('Building into mainland China needs a joint venture and an operating license. Open {city} to apply.',{city:CITY[cnCity(a)?a:b].name})}

`);return;} + let route='';UI.pending={a,b};const km=kmBetween(a,b),sub=isSub(a,b),pop=S.pops[b]?0:popCost(b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'); + if(!sib.length)UI.route='diverse';const border=cnCity(a)!==cnCity(b),jn=sib.length?routeJoin(a,b):null,ts=landTrenches(a,b),mult=(sib.length&&!(jn&&jn.k===(ts[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); + if(border)route+=`

${tr('Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.')}

${a==='hkg'||b==='hkg'?`
${btn(tr('Regular crossing'),'cnPrem',{v:0},!UI.cnPrem?'pink':'ghost')}${btn(tr('Premium crossing +60% · ~3% loss'),'cnPrem',{v:1},UI.cnPrem?'pink':'ghost')}
`:`

${tr('Premium crossings are only sold in Hong Kong.')}

`}`; + if(sib.length&&!(isSub(a,b)&&cablesFor(a,b).length)&&!(UI.via&&UI.via!=='land'&&cablesFor(a,b).some(c=>c.cid===UI.via))){route+=`

${trn('You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?','You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?',sib.length,{list:sib.map(l=>capName(l)).join(', ')})}

+
${ts.length>1?ts.map((t,i)=>btn(`${i?tr('Diverse route {n}',{n:i}):tr('Main route')} ${esc(t.caps.join(', '))}${i?' · +40%':''}`,'route',{r:'t:'+t.k},jn&&jn.k===t.k?'pink':'ghost')).join('')+btn(tr('New diverse route +40% · survives cuts alone'),'route',{r:'diverse'},!jn?'pink':'ghost'):btn(tr('Diverse route +40% · survives cuts alone'),'route',{r:'diverse'},!jn?'pink':'ghost')+btn(tr('Same trench cheaper · one backhoe cuts all'),'route',{r:'same'},jn?'pink':'ghost')}
${ts.length>1?`

${tr('Waves on the same route share its fate: one backhoe cuts them all.')}

`:''}`;} + const mode=UI.lmode==='df'?'df':'wave',tabs=`
${btn(tr('Lease a wave'),'dfMode',{m:'wave'},mode==='wave'?'pink':'ghost')}${btn(tr('Dark fiber'),'dfMode',{m:'df'},mode==='df'?'pink':'ghost')}
`; + const head=`
${sub?tr('Subsea'):tr('Terrestrial')} · ${km.toLocaleString()} km

${CITY[a].name} → ${CITY[b].name}

${tabs}`; + if(mode==='df'){openModal(head+dfModalBody(a,b,km,pop));return;} + if(sub&&!cablesOk(a,b).length){const fr=[...new Set(CABLE_PAIRS.filter(c=>c.a===a||c.b===a).map(c=>CITY[c.a===a?c.b:c.a].name))],dry=[a,b].find(c=>!landing(c));openModal(head+`

${dry?tr('No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.',{city:CITY[dry].name,near:CITY[nearLanding(dry)].name}):tr('No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.',{a:CITY[a].name,b:CITY[b].name,list:fr.join(', ')})}

${S.won&&!ownCabWhy(a,b)?ownCabTeaser(a,b):''}`);return;} + if(isSub(a,b)&&S.ev.landban&&S.ev.landban.until>S.day&&[a,b].includes(S.ev.landban.city)){openModal(head+`

${tr('The landing permit dispute in {city} blocks new subsea links for {n} more days.',{city:CITY[S.ev.landban.city].name,n:S.ev.landban.until-S.day})}

`);return;} + if(uaePair(a,b)||andesPair(a,b)||rainPair(a,b)||borderPair(a,b))route+=`

${landWhy(a,b)}

`; + route+=`

📈 ${esc(marketNote(a,b,sub))}

`; + const wr=waveRoute(a,b,mult,border); + openModal(`${head} +

${tr('Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.')}

+ ${pop?`

${tr('Includes a new POP in {city} ({price}{extra}).',{city:CITY[b].name,price:fmt$(popCost(b)),extra:ruCity(b)?', '+tr('government box included'):CITY[b].uae?', '+tr('free-zone license included'):CITY[b].saudi?', '+tr('local telecom licence included'):''})}

`:''}${route}${viaSeg(a,b)} +
${LT.map((T,i)=>{const lc=Math.round(waveMo(wr.km,wr.sub,i)*wr.wm),c=lc+pop,sw=subWaveWhy(i,wr.km,wr.sub),so=!sw&&soldOut(a,b,i,wr.cab),ok=waveOk(a,b,i)&&!sw&&!so;return !waveShown(i)?'':``;}).join('')}
`); +} diff --git a/src/game/95-modals/80-own-cable.js b/src/game/95-modals/80-own-cable.js new file mode 100644 index 0000000..07f13d8 --- /dev/null +++ b/src/game/95-modals/80-own-cable.js @@ -0,0 +1,215 @@ +/* Your own subsea cable (#22). Tier 1 networks lay their own: very expensive, slow to build, and it pays for + itself after a few years if it replaces enough leased waves. Both ends need a cable landing station. You own + up to eight fiber pairs; the first comes lit with a ROADMaster, the repeaters are powered from shore. */ +const SEA_DELAYS=[N_('A whale has parked on the route and will not move.'),N_('The cable ship’s coffee machine broke. Nobody works without coffee.'),N_('A fishing fleet is trawling exactly where you need to lay.'),N_('The seabed survey found an old sea mine. A small, very careful detour.'),N_('Storm season. The ship is sheltering in port, playing cards.'),N_('The crew fished out somebody else’s cable by mistake and has to put it back.')]; +const OWNCAB_LAND=3000000,OWNCAB_KM=6000,OWNCAB_OM=25; +const OWNCAB_NAMES=['Big Wet Tube','Davy Jones’ Backhaul','Kraken-1','Mariana Trench Coat','The Wet Ethernet','Sea-ya Later','Deep Pockets Express','Salty Sausage','Poseidon’s Patch Cable','Neptune Neutrality','Moby Disk','Fibre Nemo','The Long Wet Thing','Bermuda Triangle Routing','Seabed & Breakfast','Atlantis Backhaul']; +const OWNCAB_SHIPS=['MV Cable Guy','Spool of Thought','Wet Willy','Reel Deal','Splice Girl','Knot Today','Seas the Day','HMS Unplugged']; +const landing=c=>CABLE_PAIRS.some(p=>p.a===c||p.b===c); +const nearLanding=c=>CITIES.filter(x=>x.id!==c&&landing(x.id)).sort((x,y)=>kmBetween(c,x.id)-kmBetween(c,y.id))[0].id; +const ownCabKm=(a,b)=>seaRoutes(a,b)[0]?.km||Infinity; +const ownCabCost=km=>Math.round((2*OWNCAB_LAND+km*OWNCAB_KM+DF_SYS.roadm.cost)*hwMul('build')); +const ownCabMo=km=>Math.round(km*OWNCAB_OM)+ampCount(km)*AMP_MO; +const ownCabDays=km=>Math.round(300+km*0.05); +// Marine routing uses the same coastline as the map, in geographic coordinates. +// A quarter-degree grid keeps narrow passages open; edges are checked against +// coastline segments as well as water cells, so diagonal steps cannot cut land. +// Nothing is built until an order is quoted; topology and finished routes are reused. +const SEA_NAV={step:0.25,nx:1440,ny:641,rows:new Map(),edges:null,tiles:new Map(),fine:new Set(),routes:new Map(),ports:new Map(),pass:null,closed:new Set()}; +// Real Europe–Asia cables land at Port Said and cross Egypt beside the canal to Suez; PAN AM crosses Panama by land. +// Each is an overland edge between two sea cells, priced as the distance it covers. +const SEA_PASS=[{id:'suez',a:[32.30,31.30],b:[32.58,29.85]},{id:'panama',a:[-79.90,9.40],b:[-79.50,8.85]}]; +function seaSnap(p){const cx=Math.round((seaLon(p[0])+180)/SEA_NAV.step)%SEA_NAV.nx,cy=Math.round((p[1]+80)/SEA_NAV.step);let best=null; + for(let r=0;r<=16&&!best;r++)for(let dy=-r;dy<=r;dy++)for(let dx=-r;dx<=r;dx++){if(Math.max(Math.abs(dx),Math.abs(dy))!==r)continue;const x=(cx+dx+SEA_NAV.nx)%SEA_NAV.nx,y=cy+dy;if(!seaWater(x,y)||!seaNode(x,y))continue;const id=y*SEA_NAV.nx+x;if(!seaOpen(id))continue;const d=hav(...p,...seaPoint(id));if(!best||d(a((x+180)%360+360)%360-180; +function seaInit(){if(SEA_NAV.edges)return; + SEA_NAV.edges=Array.from({length:181},()=>[]); + for(const poly of COAST_LL)for(let i=0,j=poly.length-1;i{let inside=false;for(const e of SEA_NAV.edges[clamp(Math.floor(lat)+90,0,180)])if((e[1]>lat)!==(e[3]>lat)&&x<(e[2]-e[0])*(lat-e[1])/(e[3]-e[1])+e[0])inside=!inside;return inside;}; + return ray(lon)||(lon<-170&&ray(lon+360)); +} +function seaWater(x,y){if(y<0||y>=SEA_NAV.ny)return false;x=(x+SEA_NAV.nx)%SEA_NAV.nx; + let row=SEA_NAV.rows.get(y);if(!row){row=new Uint8Array(SEA_NAV.nx);const lat=-80+y*SEA_NAV.step;for(let i=0;i=0&&t<=1&&v>=0&&v<=1; +} +function seaClear(A,B,margin=0){const a=[A[0],A[1]],b=[a[0]+seaLon(B[0]-a[0]),B[1]],n=Math.max(1,Math.ceil(Math.max(Math.abs(b[0]-a[0]),Math.abs(b[1]-a[1]))/0.25)); + const checked=new Set(); + for(let i=0;i<=n;i++){const t=i/n,x=a[0]+(b[0]-a[0])*t,y=a[1]+(b[1]-a[1])*t; + if(seaLand(x,y))return false; + if(margin&&[[margin,0],[-margin,0],[0,margin],[0,-margin]].some(([dx,dy])=>seaLand(x+dx,y+dy)))return false; + const tx=Math.floor(x/2),ty=Math.floor(y/2); + // Include adjacent tiles so segments touching a tile boundary are checked too. + for(let v=ty-1;v<=ty+1;v++)for(let u=tx-1;u<=tx+1;u++){const k=(((u+90)%180+180)%180)+','+v;if(checked.has(k))continue;checked.add(k); + for(const e of SEA_NAV.tiles.get(k)||[])if(seaCross(a,b,e))return false;} + }return true; +} +const seaPoint=id=>[-180+(id%SEA_NAV.nx)*SEA_NAV.step,-80+Math.floor(id/SEA_NAV.nx)*SEA_NAV.step]; +const seaNode=(x,y)=>x%4===0&&y%4===0||SEA_NAV.fine.has(Math.floor(-180+x*SEA_NAV.step)+','+Math.floor(-80+y*SEA_NAV.step)); +// A coarse city marker must not snap into a tiny disconnected estuary or lake. +function seaOpen(id){if(!SEA_NAV.connected)SEA_NAV.connected=new Map();if(SEA_NAV.connected.has(id))return SEA_NAV.connected.get(id); + const seen=new Set([id]),queue=[id];let open=false; + for(let i=0;i256){open=true;break;}const x=v%SEA_NAV.nx,y=Math.floor(v/SEA_NAV.nx); + for(const stride of (x%4===0&&y%4===0?[4,1]:[1]))for(let sy=-1;sy<=1;sy++)for(let sx=-1;sx<=1;sx++){if(!sx&&!sy)continue;const dx=sx*stride,dy=sy*stride,xx=(x+dx+SEA_NAV.nx)%SEA_NAV.nx,yy=y+dy,n=yy*SEA_NAV.nx+xx; + if(seen.has(n)||!seaNode(xx,yy)||!seaWater(xx,yy)||!seaStep(v,dx,dy))continue;seen.add(n);queue.push(n);} + }for(const v of seen)SEA_NAV.connected.set(v,open);return open; +} +function seaPorts(city){if(SEA_NAV.ports.has(city))return SEA_NAV.ports.get(city); + const c=CITY[city],p=[c.lon,c.lat],cx=Math.round((seaLon(c.lon)+180)/SEA_NAV.step)%SEA_NAV.nx,cy=Math.round((c.lat+80)/SEA_NAV.step),wet=!seaLand(...p),bins=new Map(); + // Inland city markers may reach more than one sea (Cairo, for example). + // Keep shore approaches in different directions; routing chooses the right sea. + for(let r=0;r<=16;r++)for(let dy=-r;dy<=r;dy++)for(let dx=-r;dx<=r;dx++){ + if(Math.max(Math.abs(dx),Math.abs(dy))!==r)continue;const x=(cx+dx+SEA_NAV.nx)%SEA_NAV.nx,y=cy+dy;if(!seaWater(x,y)||!seaNode(x,y))continue; + const id=y*SEA_NAV.nx+x,q=seaPoint(id),d=hav(...p,...q),angle=Math.atan2(q[1]-p[1],seaLon(q[0]-p[0])*Math.cos(c.lat*Math.PI/180)),bin=Math.floor((angle+Math.PI)*8/Math.PI)%16+'|'+Math.floor(d/100); + if(d>350||bins.has(bin)&&d>=bins.get(bin).d)continue; + if(wet&&!seaClear(p,q))continue; + if(!wet){const n=Math.max(2,Math.ceil(d/2));let water=false,ok=true;for(let i=0;i<=n;i++){const t=i/n,pt=[p[0]+seaLon(q[0]-p[0])*t,p[1]+(q[1]-p[1])*t];if(!seaLand(...pt)){water=true;if(!seaClear(pt,q)){ok=false;break;}}else if(water){ok=false;break;}}if(!ok)continue;} + if(seaOpen(id))bins.set(bin,{id,d,bin}); + } + // Nearby approaches are the default. A low-latency survey may also land further off and backhaul overland, like real + // transatlantic systems that land in the west of England and run to London on land. + const sorted=[...bins.values()].sort((a,b)=>a.d-b.d),limit=sorted.length?(sorted[0].d<30?sorted[0].d+15:sorted[0].d*1.75):0,dir=new Set(),ports=sorted.map(p=>{const k=p.bin.split('|')[0]>>1;const first=!dir.has(k);dir.add(k);return {id:p.id,d:p.d,near:first&&p.d<=limit};});SEA_NAV.ports.set(city,ports);return ports; +} +const seaPort=city=>seaPorts(city)[0]?.id??null,seaNear=ps=>ps.filter(p=>p.near); +// The grid topology is shared by all designs. Test each edge only once. +function seaStep(id,dx,dy){if(!SEA_NAV.known){const n=SEA_NAV.nx*SEA_NAV.ny;SEA_NAV.known=new Uint8Array(n);SEA_NAV.open=new Uint8Array(n);SEA_NAV.knownWide=new Uint8Array(n);SEA_NAV.openWide=new Uint8Array(n);} + const wide=Math.abs(dx)>1||Math.abs(dy)>1,sx=Math.sign(dx),sy=Math.sign(dy),bit=1<<((sy+1)*3+sx+1-(sy>0||sy===0&&sx>0?1:0)),known=wide?SEA_NAV.knownWide:SEA_NAV.known,open=wide?SEA_NAV.openWide:SEA_NAV.open; + if(known[id]&bit)return !!(open[id]&bit);known[id]|=bit; + const a=seaPoint(id),b=[a[0]+dx*SEA_NAV.step,a[1]+dy*SEA_NAV.step]; + for(let y=Math.floor(Math.min(a[1],b[1])/2);y<=Math.floor(Math.max(a[1],b[1])/2);y++)for(let x=Math.floor(Math.min(a[0],b[0])/2);x<=Math.floor(Math.max(a[0],b[0])/2);x++) + for(const e of SEA_NAV.tiles.get((((x+90)%180+180)%180)+','+y)||[])if(seaCross(a,b,e))return false; + open[id]|=bit;return true; +} +function seaSearch(starts,ends,target,clearance){const PASS=seaPasses(); + const dist=new Map(),prev=new Map(),done=new Set(),heap=[],goals=new Map(ends.map(p=>[p.id,p.d]));let goal=Infinity,goalEnd=null; + const put=(id,g)=>{const v={id,g,f:g+(id===-1?0:hav(...seaPoint(id),...target))};let i=heap.length;heap.push(v);while(i){const p=(i-1)>>1;if(heap[p].f<=v.f)break;heap[i]=heap[p];i=p;}heap[i]=v;}; + const take=()=>{const out=heap[0],v=heap.pop();if(heap.length){let i=0;while(i*2+1=v.f)break;heap[i]=heap[j];i=j;}heap[i]=v;}return out;}; + for(const p of starts){dist.set(p.id,p.d);put(p.id,p.d);} + while(heap.length){const {id,g}=take();if(id===-1){const path=[];for(let v=goalEnd;v!==undefined;v=prev.get(v))path.push(seaPoint(v));return path.reverse();}if(done.has(id))continue;done.add(id);if(goals.has(id)&&g+goals.get(id)i+1&&!seaClear(path[i],path[j],margin))j--;out.push(path[j]);i=j;}return out;} +function seaDensify(path){const out=[path[0].slice()];for(let i=1;i[Math.cos(la*r)*Math.cos(lo*r),Math.cos(la*r)*Math.sin(lo*r),Math.sin(la*r)],A=v(a),B=v(b),w=Math.acos(Math.min(1,A[0]*B[0]+A[1]*B[1]+A[2]*B[2])); + const n=Math.max(1,Math.ceil(w/r/0.5)),out=[];if(w<1e-9)return [b.slice()];for(let i=1;i<=n;i++){const t=i/n,f=Math.sin((1-t)*w)/Math.sin(w),g=Math.sin(t*w)/Math.sin(w),x=f*A[0]+g*B[0],y=f*A[1]+g*B[1],z=f*A[2]+g*B[2];out.push([seaLon(Math.atan2(y,x)/r),Math.atan2(z,Math.hypot(x,y))/r]);}return out;} +// A straight line on the map is not the shortest way across an ocean. Long legs follow the great circle where it stays at sea. +function seaGreat(path,margin){const out=[path[0]];for(let i=1;i300){const gc=seaGC(a,b);let ok=true,q=a;for(const p of gc){if(!seaClear(q,p,margin)){ok=false;break;}q=p;}if(ok){out.push(...gc);continue;}}out.push(b);}return out;} +const seaLength=pts=>Math.round(pts.slice(1).reduce((s,p,i)=>s+hav(...pts[i],...p),0)); +function seaRoutes(a,b){seaSync();const reverse=a>b,key=seaKey(a,b);let routes=SEA_NAV.routes.get(key); + if(!routes){const A=reverse?b:a,B=reverse?a:b,PA=seaPorts(A),PB=seaPorts(B);routes=[]; + if(seaNear(PA).length&&seaNear(PB).length)for(const [penalty,margin,all] of [[1,0.5,false],[0.3,0.25,false],[0,0,true]]){ + const raw=seaSearch(all?PA:seaNear(PA),all?PB:seaNear(PB),[CITY[B].lon,CITY[B].lat],penalty);if(!raw)break; + const pts=seaDensify(seaGreat([[CITY[A].lon,CITY[A].lat],...seaSimplify(raw,margin),[CITY[B].lon,CITY[B].lat]],margin)),r={pts,km:seaLength(pts),shore:[raw[0],raw[raw.length-1]]}; + // A survey can reuse the previous feasible route if its new candidate is longer. + routes.push(routes.length&&r.km>routes[routes.length-1].km?routes[routes.length-1]:r); + }SEA_NAV.routes.set(key,routes); + } + return reverse?routes.map(r=>({km:r.km,pts:r.pts.slice().reverse(),shore:r.shore.slice().reverse()})):routes; +} +// Surveys run off the UI thread in browsers. Tests and browsers without workers +// use the same deterministic router synchronously. Switching designs uses the cache. +const SEA_SURVEY={worker:null,pending:new Set(),failed:false}; +function seaReady(a,b){seaSync();const key=seaKey(a,b); + if(SEA_NAV.routes.has(key)||typeof Worker==='undefined'||SEA_SURVEY.failed)return true; + if(SEA_SURVEY.pending.has(key))return false; + try{ + if(!SEA_SURVEY.worker){ + const helpers=[seaSnap,seaPasses,seaGC,seaGreat,seaNear,seaKey,seaSync,seaLon,seaInit,seaLand,seaWater,seaCross,seaClear,seaPoint,seaNode,seaOpen,seaPorts,seaPort,seaStep,seaSearch,seaSimplify,seaDensify,seaLength,seaRoutes,hav,clamp]; + const code='const SEA_PASS='+JSON.stringify(SEA_PASS)+';const COAST_LL='+JSON.stringify(COAST_LL)+';const CITY='+JSON.stringify(Object.fromEntries(CITIES.map(c=>[c.id,{lon:c.lon,lat:c.lat}])))+';const SEA_NAV={step:0.25,nx:1440,ny:641,rows:new Map(),edges:null,tiles:new Map(),fine:new Set(),routes:new Map(),ports:new Map(),pass:null,closed:new Set()};'+ + helpers.map(f=>'const '+f.name+'='+f.toString()+';').join('')+'onmessage=({data:{a,b,key,closed}})=>{try{SEA_NAV.closed=new Set(closed||[]);postMessage({key,routes:seaRoutes(a,b)});}catch(e){postMessage({key,error:String(e)});}};'; + const url=URL.createObjectURL(new Blob([code],{type:'text/javascript'})); + try{SEA_SURVEY.worker=new Worker(url);}finally{URL.revokeObjectURL(url);} + const refresh=key=>{if(!S)return;const survey=$('modalCard').querySelector('[data-sea-survey]');if(UI.pending&&!$('modal').hidden&&survey&&(!key||survey.dataset.seaSurvey===key))openLinkModal(UI.pending.a,UI.pending.b);renderPanel();renderLeft();if(!$('dash').hidden)renderDash();}; + SEA_SURVEY.worker.onmessage=({data})=>{SEA_SURVEY.pending.delete(data.key);if(data.error){SEA_SURVEY.failed=true;SEA_SURVEY.worker.terminate();SEA_SURVEY.worker=null;SEA_SURVEY.pending.clear();}else SEA_NAV.routes.set(data.key,data.routes);refresh(data.error?undefined:data.key);}; + SEA_SURVEY.worker.onerror=()=>{SEA_SURVEY.failed=true;SEA_SURVEY.worker.terminate();SEA_SURVEY.worker=null;SEA_SURVEY.pending.clear();refresh();}; + } + SEA_SURVEY.pending.add(key);const [from,to]=key.split('|');SEA_SURVEY.worker.postMessage({a:from,b:to,key,closed:[...SEA_NAV.closed]});return false; + }catch(e){SEA_SURVEY.failed=true;if(SEA_SURVEY.worker)SEA_SURVEY.worker.terminate();SEA_SURVEY.worker=null;SEA_SURVEY.pending.clear();return true;} +} +const seaSurveyAttr=(a,b)=>{seaSync();const k=seaKey(a,b);return SEA_SURVEY.pending.has(k)?`data-sea-survey="${k}"`:'';}; +function seaMapPoints(pts){const out=[];for(const p of pts){const q=proj(...p);if(out.length)q[0]+=W*Math.round((out[out.length-1][0]-q[0])/W);out.push(q);}return out;} + +// Designs pay for progressively tighter surveys; all use a feasible marine path. +const SEA_DESIGNS={standard:{n:N_('Standard'),cost:1,time:1},optimized:{n:N_('Optimized'),cost:3,time:1.3},express:{n:N_('Low latency'),cost:7,time:1.7}}; +function seaReference(a,b,express){ + const cs=cablesFor(a,b).filter(c=>express||(CAB[c.cid].lat||1)>=1); + return cs.sort((x,y)=>x.km*(express?(CAB[x.cid].lat||1):1)-y.km*(express?(CAB[y.cid].lat||1):1))[0]; +} +// Routing asks for link latency often; the cables on a route never change, so the express factor is worked out once. +const SEA_XF=new Map(); +function seaLatencyFactor(l){if(l.seaDesign==='optimized')return 1;if(l.seaDesign!=='express')return 1.1; + const k=CIDX[l.a]*4096+CIDX[l.b];let f=SEA_XF.get(k);if(f===undefined){const c=seaReference(l.a,l.b,true);SEA_XF.set(k,f=Math.min(0.9,c?(CAB[c.cid].lat||1):0.9));}return f;} +// The low-latency survey may also follow the corridor of the fastest cable already on this route, where that is shorter +// (only a cable that is in service: one cut by a crisis proves nothing): +// that cable proves the path, and it keeps the fastest design as fast as the fastest cable on the map. +function seaCorridor(a,b){const c=cablesOk(a,b).sort((x,y)=>x.km*(CAB[x.cid].lat||1)-y.km*(CAB[y.cid].lat||1))[0];if(!c)return null;const P=CAB[c.cid].pairs.find(([x,y])=>x===c.a&&y===c.b);if(!P)return null; + let ll=[[CITY[c.a].lon,CITY[c.a].lat],...P[2],[CITY[c.b].lon,CITY[c.b].lat]].map(q=>[seaLon(q[0]),q[1]]);if(c.a!==a)ll=ll.reverse(); + const pts=[ll[0]];for(let i=1;iisSub(a,b)||(landing(a)&&landing(b)&&cablesFor(a,b).length>0); +// What you get back for giving up your own subsea cable (#88): what you paid for it (design and upgrades included) +// if no optic can light it even with both upgrades, +// one still being laid returns most of the part not laid yet, a working one is yours for good. +const cabBack=l=>{if(!l||l.kind!=='df'||!l.own||!l.sub)return 0;const c=l.paid>0?l.paid:ownCabCost(l.km);if(!subNeed(l.km))return c; + if(l.ready>S.day){const tot=Math.max(1,l.ready-(l.day||0));return Math.round(c*0.75*Math.min(1,(l.ready-S.day)/tot));}return 0;}; +function ownCabWhy(a,b){if(!seaCab(a,b))return tr('This route is on land. Build your own fiber instead.'); + if(!S.won)return tr('Laying your own subsea cable is a Tier 1 thing. Go transit-free first.'); + for(const c of [a,b])if(!landing(c))return tr('{city} has no cable landing station.',{city:CITY[c].name}); + if(cnCity(a)||cnCity(b))return tr('Nobody gives a foreign network a landing licence in mainland China.'); + if(!seaReady(a,b))return tr('Surveying a sea route…'); + const routes=seaRoutes(a,b);if(!routes.length)return tr('No navigable sea route connects these landing stations.'); + const km=Math.min(...routes.map(r=>r.km));if(!subNeed(km))return tr('{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.',{km:km.toLocaleString(),max:Math.round(SUB_MAXKM()).toLocaleString()}); + return '';} +function ownCabTeaser(a,b){const why=ownCabWhy(a,b);return `
${btn(S.won?tr('Lay your own subsea cable…'):tr('Your own subsea cable Tier 1 only'),'ownCab',{},S.won&&!why?'pink':'ghost',!!why)}
${why&&S.won?`

${esc(why)}

`:''}`;} +function ownCabBody(a,b,pop){const why=ownCabWhy(a,b);if(why)return `

${esc(why)}

${btn(tr('Back'),'dfSrc',{v:'lease'},'ghost sm')}`; + const design=own(SEA_DESIGNS,UI.seaDesign)?UI.seaDesign:'standard',upgrades={terminal:!!UI.seaterminal,engineering:!!UI.seaengineering},q=seaQuote(a,b,design,upgrades),{km,cost,days}=q,lack=seaLack(km,upgrades),mo=ownCabMo(km),wt=subMaxTier(km),w=Math.round(waveMo(km,true,wt)*waveMarket(a,b,true).m),save=10*w*LT[4].g/LT[wt].g-mo,pay=save>0?Math.ceil(cost/save):0; + return `

${tr('Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.')}

+

${tr('Cable design')}

${Object.entries(SEA_DESIGNS).map(([v,D])=>{const o=seaQuote(a,b,v,upgrades);return ``;}).join('')}
+

${tr('Submarine transmission')}

${Object.entries(SUB_UPGRADES).map(([k,U])=>btn(`${tr(U.n)} ${upgrades[k]?'✓ · ':''}${fmt$(subUpgradeCost({km},k))} · ${tr('+{n} days',{n:U.days})}`,'seaPackage',{k},upgrades[k]?'green sm':'ghost sm')).join('')} + ${lack.length?`

${lack[0]==='design'?tr('This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.',{km:km.toLocaleString()}):tr('{km} km is too far for your optics on their own. Add {what} to light this cable.',{km:km.toLocaleString(),what:lack.length>1?tr('{a} and {b}',{a:tr(SUB_UPGRADES[lack[0]].n),b:tr(SUB_UPGRADES[lack[1]].n)}):tr(SUB_UPGRADES[lack[0]].n)})}

`:`

${tr('Up to {g} per channel',{g:fmtG(submarineRate({a,b,km,kind:'df',own:true,sub:true,subterminal:upgrades.terminal?S.day:undefined,subengineering:upgrades.engineering?S.day:undefined}))})} · ${tr('Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.')}

`} +
${tr('Estimated latency')}${tr('{ms} ms one-way',{ms:q.ms.toFixed(1)})}
+
${tr('Route')}${tr('{km} km of seabed',{km:km.toLocaleString()})}
+
${tr('Fiber pairs')}${tr('{n} in the cable, the first one lit',{n:SUB_PAIRS_MAX})}
+
${tr('Landing stations')}${tr('{a} and {b}',{a:CITY[a].name,b:CITY[b].name})}
+
${tr('Build time')}${tr('about {n} days',{n:days})}
+
${tr('Due now')}${fmt$(cost+pop)}
${tr('Monthly')}${tr('{price}/mo',{price:fmt$(mo)})}
+

${subCarrier(km)?`${tr('A leased {wave} wave on this route costs {price}/mo.',{wave:LT[wt].n,price:fmt$(w)})} ${pay?tr('Replace 16 Tbps of them and the cable pays for itself in about {n} months.',{n:pay}):''} `:''}${tr('Cuts still happen, anchors and sharks included, but the repair ship is yours to call.')}

+
${btn(tr('Lay the cable {price}',{price:fmt$(cost+pop)}),'orderCable',{},'pink big',S.cash0)}${btn(tr('Back'),'dfSrc',{v:'lease'},'ghost')}
`;} diff --git a/src/game/95-modals/90-fiber-modals.js b/src/game/95-modals/90-fiber-modals.js new file mode 100644 index 0000000..e93e07e --- /dev/null +++ b/src/game/95-modals/90-fiber-modals.js @@ -0,0 +1,35 @@ +function dfModalBody(a,b,km,pop){ + if(seaCab(a,b)&&UI.dfSrc==='cable')return ownCabBody(a,b,pop); + const sea=!isSub(a,b)&&seaCab(a,b)?ownCabTeaser(a,b):''; + if(isSub(a,b)&&!subDfCable(a,b))return `

${tr('Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.')}

`+ownCabTeaser(a,b); + const sc=isSub(a,b)?subDfCable(a,b):null;if(sc)km=sc.km; + if(uaePair(a,b))return `

${tr('No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.')}

`+sea; + if(landX(a,b)&&cnCity(a)===cnCity(b))return `

${tr('Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.')}

`+sea; + if(!dfAllowed(a,b))return `

${tr('Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.')}

`+sea; + if(lvl()<2)return `

${tr('Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.')}

`+sea; + const src=UI.dfSrc==='build'&&lvl()>=3&&!sc?'build':'lease',sys=DF_SYS[UI.dfSys]&&DF_SYS[UI.dfSys].lvl<=lvl()?UI.dfSys:'lite',amps=ampCount(km); + const up=(src==='build'?dfBuildCost(km):0)+DF_SYS[sys].cost+amps*AMP_COST+pop,mo=(src==='build'?Math.round(km*0.15):dfLeaseMo(km))+amps*AMP_MO; + const w=Math.round(waveMo(km,false,4)); + return `

${tr('A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.',{km:AMP_EVERY})}

+

${tr('The glass')}

${btn(tr('Lease an IRU {price}/mo · ready in 30 days',{price:fmt$(dfLeaseMo(km))}),'dfSrc',{v:'lease'},src==='lease'?'pink':'ghost')}${sc?btn(S.won?tr('Lay your own subsea cable…'):tr('Your own subsea cable Tier 1 only'),'ownCab',{},'ghost',!!ownCabWhy(a,b)):btn(lvl()>=3?tr('Build your own {price} · ~{n} days',{price:fmt$(dfBuildCost(km)),n:dfBuildDays(km)}):tr('Build your own level 3'),'dfSrc',{v:'build'},src==='build'?'pink':'ghost',lvl()<3)}${sea?btn(S.won?tr('Lay your own subsea cable…'):tr('Your own subsea cable Tier 1 only'),'ownCab',{},'ghost',!!ownCabWhy(a,b)):''}
${sc?`

${tr("A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.",{cable:esc(CAB[sc.cid].name),km:sc.km.toLocaleString()})}

`:''} + ${src==='build'?`

${tr('Your own trench: almost no rent, but permits and digging take forever, and delays happen.')}

`:''} +

${tr('Line system')}

${Object.keys(DF_SYS).map(k=>btn(`${DF_SYS[k].n} ${DF_SYS[k].lvl>lvl()?tr('level {n}',{n:DF_SYS[k].lvl}):fmt$(DF_SYS[k].cost)}`,'dfSys',{v:k},sys===k?'pink':'ghost',DF_SYS[k].lvl>lvl())).join('')}
+

${esc(DF_SYS[sys].blurb)} ${trn('Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).','Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).',amps,{price:fmt$(AMP_COST),mo:fmt$(AMP_MO)})}

${km>reachOn(OPT.tp16.reach,!!sc)?`

${tr('{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.',{km:km.toLocaleString()})}

`:''} +
${tr('Due now')}${fmt$(up)}
${tr('Monthly')}${tr('{price}/mo',{price:fmt$(mo)})}
+

${tr('For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.',{price:fmt$(w)})}

+
${btn(`${src==='build'?tr('Start construction'):tr('Sign the IRU')} ${fmt$(up)}`,'orderDf',{},'pink big',S.cash`; +} +function openVxcModal({from,to,prov}){ + let rows='';const row=(f,a,b)=>{const km=kmBetween(a,b),sub=isSub(a,b),pb=S.pops[b]?nniPort(b,f.id):null,remote=!S.pops[b]; + const label=remote?tr('Remote peering at {ix} · discouraged',{ix:esc(CITY[b].ix)}):pb?tr('Your POP'):tr('Your POP · needs a fabric port there'); + const freeA=nniPort(a,f.id)?NNI[nniPort(a,f.id).tier].g-nniUsed(a,f.id):0,freeB=remote?1e9:pb?NNI[pb.tier].g-nniUsed(b,f.id):0; + return `
${CITY[a].name} → ${CITY[b].name}
${label} · ${km.toLocaleString()} km${sub?' '+tr('subsea'):''}
+
${VXC.map((V,t)=>btn(`${V.n} ${tr('{price}/mo',{price:fmt$(vxcMo(km,sub,t))})}`,'buyVxc',{a,b,prov:f.id,t},'sm',(!remote&&!pb)||V.g>freeA||V.g>freeB||S.cash
`;}; + for(const f of FABS){if(prov&&f.id!==prov)continue; + if(from){if(!nniPort(from,f.id))continue;for(const b of f.cities){if(b===from)continue;if(!S.pops[b]&&!CITY[b].ix)continue;rows+=row(f,from,b);}} + else if(to&&f.cities.includes(to)){for(const a of Object.keys(S.pops))if(a!==to&&nniPort(a,f.id))rows+=row(f,a,to);}} + if(!rows){const fs=FABS.filter(f=>!to||f.cities.includes(to));rows=`

${tr("You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.",{list:fs.map(f=>`${esc(f.name)} (${f.cities.filter(c=>S.pops[c]).map(c=>CITY[c].name).join(', ')||tr('no POP of yours on it yet')})`).join(', ')})}

`;} + openModal(`
${tr('Virtual circuit over an NNI fabric')}

${from?tr('From {city}',{city:CITY[from].name}):tr('To {city}',{city:CITY[to].name})}

+

${tr("No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.")}

${rows}`); +} + diff --git a/src/game/96-map/10-canvas.js b/src/game/96-map/10-canvas.js new file mode 100644 index 0000000..3210b61 --- /dev/null +++ b/src/game/96-map/10-canvas.js @@ -0,0 +1,27 @@ +/* ================= CANVAS ================= */ +const cv=$('map'),ctx=cv.getContext('2d'); +const cam={x:1050,y:330,z:0.8}; +let CW=0,CH=0,DPR=1; +/* Installed on an iPhone home screen with a translucent status bar, iOS can report a viewport one status bar + shorter than the screen while drawing from the very top, leaving an empty strip under the tab bar. + Measure the screen instead, on standalone iPhones only. It must not depend on the gap it fixes: once + the page is sized to the screen, iOS reports a full viewport, and switching back would bring the strip back. */ +function fixStandaloneHeight(){const R0=document.documentElement; + const sa=window.navigator.standalone===true||!!(window.matchMedia&&matchMedia('(display-mode: standalone)').matches); + const sh=screen&&screen.width&&screen.height?(innerWidth>innerHeight?Math.min(screen.width,screen.height):Math.max(screen.width,screen.height)):0,gap=sh-innerHeight; + const on=sa&&/iPhone|iPod/.test(navigator.userAgent)&&sh>0&&gap>=0&&gap<=80; + R0.classList.toggle('iosfix',on);if(on)R0.style.setProperty('--app-h',sh+'px');else R0.style.removeProperty('--app-h');return on?sh:0;} +function resize(){const ah=fixStandaloneHeight();DPR=Math.min(2,window.devicePixelRatio||1);CW=innerWidth;CH=ah||innerHeight;cv.width=CW*DPR;cv.height=CH*DPR;} +addEventListener('resize',()=>{resize();WL.key=null;renderLeft();fitHud();});resize(); +// Viewport readout for debugging phone layouts: open the game once with ?vp in the address (or the start URL). +function vpDebug(){let el=document.getElementById('vpdbg');if(!el){el=document.createElement('pre');el.id='vpdbg';el.style.cssText='position:fixed;left:8px;bottom:calc(var(--tabbar,0px) + 8px);z-index:99;margin:0;padding:6px 8px;background:rgba(30,38,64,.85);color:#7CFFB2;font:11px/1.35 ui-monospace,monospace;border-radius:8px;pointer-events:none';document.body.appendChild(el); + const pr=document.createElement('div');pr.id='vpprobe';pr.style.cssText='position:fixed;visibility:hidden;padding:env(safe-area-inset-top,0px) 0 env(safe-area-inset-bottom,0px)';document.body.appendChild(pr);} + const pr=document.getElementById('vpprobe'),cs=getComputedStyle(pr),vv=window.visualViewport,de=document.documentElement,tb=document.getElementById('tabbar').getBoundingClientRect(); + el.textContent=`inner ${innerWidth}×${innerHeight} · screen ${screen.width}×${screen.height}\nvv ${vv?Math.round(vv.width)+'×'+Math.round(vv.height)+' top '+Math.round(vv.offsetTop):'-'} · client ${de.clientHeight}\nsafe top ${cs.paddingTop} bottom ${cs.paddingBottom}\nstandalone ${navigator.standalone===true||!!(window.matchMedia&&matchMedia('(display-mode: standalone)').matches)} · iosfix ${de.classList.contains('iosfix')} · CH ${CH}\nbody ${Math.round(document.body.getBoundingClientRect().height)} · tabbar ${Math.round(tb.top)}–${Math.round(tb.bottom)}`;} +let VP_T=null;const vpOn=on=>{clearInterval(VP_T);VP_T=null;const el=document.getElementById('vpdbg');if(el)el.remove();if(on){VP_T=setInterval(vpDebug,500);vpDebug();}try{on?localStorage.setItem('sot-vp','1'):localStorage.removeItem('sot-vp');}catch(e){}}; +if(/[?&]vp\b/.test(location.search))vpOn(true);else if(/[?&]novp\b/.test(location.search))vpOn(false); +try{if(localStorage.getItem('sot-vp')==='1')vpOn(true);}catch(e){} +// Inside an installed app there is no address bar: five quick taps on the date toggle the readout. +{let taps=[];document.getElementById('hDate').closest('.chip,div').addEventListener('click',()=>{const t=performance.now();taps=taps.filter(x=>t-x<1500).concat(t);if(taps.length>=5){taps=[];vpOn(!VP_T);}});} +// iOS settles the standalone viewport a moment after launch and after rotating. +for(const t of [300,1000])setTimeout(()=>{resize();WL.key=null;},t);addEventListener('pageshow',()=>{resize();WL.key=null;}); diff --git a/src/game/96-map/20-land-and-clouds.js b/src/game/96-map/20-land-and-clouds.js new file mode 100644 index 0000000..ed77503 --- /dev/null +++ b/src/game/96-map/20-land-and-clouds.js @@ -0,0 +1,18 @@ +function rng(seed){return()=>{seed|=0;seed=seed+0x6D2B79F5|0;let t=Math.imul(seed^seed>>>15,1|seed);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;};} +function inPoly(x,y,pts){let ins=false;for(let i=0,j=pts.length-1;iy)!==(yj>y))&&(x<(xj-xi)*(y-yi)/(yj-yi)+xi))ins=!ins;}return ins;} +function smoothPath(pts){const p=new Path2D();const n=pts.length;const mid=(a,b)=>[(a[0]+b[0])/2,(a[1]+b[1])/2];let m=mid(pts[n-1],pts[0]);p.moveTo(m[0],m[1]);for(let i=0;i{let a=0;for(let i=0,j=p.length-1;iringArea(p)>=600||CITIES.some(c=>inPoly(c.x,c.y,p))?LANDP_ALL[i]:null).filter(Boolean); +const ALLPOLY=COAST; +const onLand=(x,y)=>ALLPOLY.some(p=>inPoly(x,y,p)); +const R1=rng(7),WAVES=[],HILLS=[]; +while(WAVES.length<220){const x=R1()*W,y=R1()*H;if(!onLand(x,y)&&!onLand(x+12,y)&&!onLand(x-12,y))WAVES.push([x,y,R1()]);} +while(HILLS.length<130){const x=R1()*W,y=R1()*H;if(onLand(x,y)&&!CITIES.some(c=>Math.hypot(c.x-x,c.y-y)<40))HILLS.push([x,y,6+R1()*10,R1()]);} +const CLOUDS=Array.from({length:7},(_,i)=>({x:R1()*W,y:60+R1()*(H-120),s:.7+R1()*.6,v:3+R1()*4})); +const FLOATS=[]; +// Stamped with the map's animation clock, which stops while paused: on the real clock, every floater born after a +// pause lingered off-screen for as long as the pause had lasted, and paydays piled up hundreds of them. +function floater(x,y,text,col){if(!animOn()||UI.mapHid)return;FLOATS.push({x,y,text,col,t:animT});} diff --git a/src/game/96-map/30-settings.js b/src/game/96-map/30-settings.js new file mode 100644 index 0000000..5a91518 --- /dev/null +++ b/src/game/96-map/30-settings.js @@ -0,0 +1,32 @@ +// Static markup: data-i18n text and every aria-label/title go through the dictionary once at boot. +function i18nDom(){if(LANG==='en')return;for(const el of document.querySelectorAll('[data-i18n]'))el.textContent=tr(el.textContent); + for(const a of ['aria-label','title'])for(const el of document.querySelectorAll('['+a+']'))el.setAttribute(a,tr(el.getAttribute(a)));} +// One button per [value,label] option; the current one is highlighted. +function segBtns(act,cur,opts){return opts.map(([v,l])=>btn(l,act,{v},cur===v?'pink sm':'ghost sm')).join('');} +/* Animation setting: auto follows the system's reduced-motion preference, or force it on or off. */ +/* Settings are per device (localStorage), not part of the save: they are about how you like to play. */ +const PREF_DEF={pauseFurious:true,warnUnhappy:true,pauseIncident:false}; +let PREFS=(()=>{try{const j=JSON.parse(localStorage.getItem('sot-prefs')||'{}');return j&&typeof j==='object'?j:{};}catch(e){return {};}})(); +const pref=k=>typeof PREFS[k]==='boolean'?PREFS[k]:PREF_DEF[k]; +function setPref(k,v){if(!own(PREF_DEF,k))return;PREFS[k]=!!v;try{localStorage.setItem('sot-prefs',JSON.stringify(PREFS));}catch(e){}} +// Stop the clock for something the player must see. Nothing happens if the game is already paused. +function autoPause(){if(!S||!UI.speed)return false;UI.resumeSpeed=UI.speed;UI.speed=0;renderHUD();return true;} +const resumeAct=()=>({l:tr('Resume'),act:'speed',args:{v:UI.resumeSpeed||1}}); +function settingsHtml(){const seg=(lab,act,cur,opts,note)=>`
${lab}
${segBtns(act,cur,opts)}
${note?`

${note}

`:''}`; + const onoff=k=>[[k+':1',tr('On')],[k+':0',tr('Off')]],cur=k=>k+':'+(pref(k)?1:0); + return `

⚙️ ${tr('Settings')}

${tr('Saved on this device.')}

+

${tr('Customers and alerts')}

+ ${seg(tr('Pause when a customer is furious'),'prefSet',cur('pauseFurious'),onoff('pauseFurious'),tr('The game stops so you can fix their service before they cancel. Most useful at high speed.'))} + ${seg(tr('Warn when a customer gets unhappy'),'prefSet',cur('warnUnhappy'),onoff('warnUnhappy'),tr('An early heads-up below 60% happiness, long before they are furious.'))} + ${seg(tr('Pause on outages that hurt'),'prefSet',cur('pauseIncident'),onoff('pauseIncident'),tr('Stops the game when a failure costs you real traffic, not when it reroutes by itself.'))} +

${tr('Display and sound')}

+ ${seg(tr('Animations'),'animSet',UI.anim||'auto',[['auto',tr('Auto')],['on',tr('On')],['off',tr('Off')]],tr('Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.'))} + ${seg(tr('Sound'),'soundSet',UI.muted?'off':'on',[['on',tr('On')],['off',tr('Off')]])} + ${seg(tr('Language'),'langSet',LANG,Object.entries(LANGS))} + ${seg(tr('Viewport info'),'vpSet',VP_T?'on':'off',[['on',tr('On')],['off',tr('Off')]],tr('For reporting layout bugs: shows what your screen tells the game.'))} + ${installRow()}
${btn(tr('Done'),'settingsClose',{},'pink')}
`;} +const refreshSettings=()=>{if(UI.setOpen)openModal(settingsHtml());}; +function animOn(){const m=UI.anim||'auto';if(m==='on')return true;if(m==='off')return false;try{return !matchMedia('(prefers-reduced-motion: reduce)').matches;}catch(e){return true;}} +function applyAnim(){const r=document.documentElement;r.classList.toggle('no-anim',UI.anim==='off');r.classList.toggle('anim-force',UI.anim==='on');if(!animOn())FLOATS.length=0;} +const toS=(wx,wy,k=0)=>[(wx+k*W-cam.x)*cam.z+CW/2,(wy-cam.y)*cam.z+CH/2]; +const iconScale=()=>clamp(Math.sqrt(cam.z),0.7,1.35); diff --git a/src/game/96-map/40-level-of-detail.js b/src/game/96-map/40-level-of-detail.js new file mode 100644 index 0000000..5336f30 --- /dev/null +++ b/src/game/96-map/40-level-of-detail.js @@ -0,0 +1,8 @@ +/* Level of detail (#37): zoomed out the map turns into a network map, with dots for cities, small + router pills for your POPs and thinner links. Phones switch a little earlier, the screen is small. */ +const lodFar=()=>cam.z<(innerWidth<=760?0.95:0.72); +// One native call draws the same rounded box where the browser has it and the corners fit (hundreds per frame). +function rr(x,y,w,h,r){ctx.beginPath();if(ctx.roundRect&&2*r<=w&&2*r<=h){ctx.roundRect(x,y,w,h,r);return;}ctx.moveTo(x+r,y);ctx.arcTo(x+w,y,x+w,y+h,r);ctx.arcTo(x+w,y+h,x,y+h,r);ctx.arcTo(x,y+h,x,y,r);ctx.arcTo(x,y,x+w,y,r);ctx.closePath();} +// Enough world copies to cover any screen width at any zoom (the map wraps horizontally). +function visibleKs(){const ks=[];for(let k=-5;k<=5;k++){const a=toS(0,0,k)[0],b=toS(W,0,k)[0];if(b>-200&&a{const pr=l.a{const ks=[];for(const x of pl||pairLinks(l.a,l.b)){const k=gKey(x);if(!ks.includes(k))ks.push(k);}return ks.indexOf(gKey(l));}; +// pairLinks() for every pair at once (same links, same order), for code that asks about all of them. +function pairIdx(){const m=new Map();for(const l of S.links){const k=edgeKey(l),a=m.get(k);if(a)a.push(l);else m.set(k,[l]);}return m;} +function linkGroups(){const m=new Map();for(const l of S.links){const key=gKey(l);const g=m.get(key);if(g)g.push(l);else m.set(key,[l]);}return [...m.values()];} +// Mixed sizes are spelled out per size ("2×800G + 400G"): "2 × 1.2T" read like two 1.2T waves (#56). +function groupLabel(grp,up){const n=[];for(const x of grp)n[x.tier]=(n[x.tier]||0)+1;let s='';for(let t=n.length-1;t>=0;t--)if(n[t])s+=(s?' + ':'')+(n[t]>1||n[t]===grp.length?n[t]+'×':'')+LT[t].n;return s+(up.lengthp.slice());const same=pairLinks(l.a,l.b).filter(x=>x.cable===l.cable).indexOf(l);if(same>0)for(let j=1;jx.kind==='df'&&x.own&&x.sub).indexOf(l),c0=cablesFor(l.a,l.b).slice().sort((x,y)=>x.km-y.km)[0],cp=c0&&cablePair(c0.cid,l.a,l.b); + if(cp)pts=besideLine(cp.pts,2+k*1.5); + else{const g=bezGeom(l,k);pts=[];for(let j=0;j<=20;j++)pts.push(qpt(g,j/20));}} + if(!pts){const g=bezGeom(l);pts=[];for(let j=0;j<=20;j++)pts.push(qpt(g,j/20));} + const cum=[0];let L=0;for(let j=1;jv/L),t),a=polyAt(sp,c.map(v=>v/L),Math.max(0,t-.02)),b=polyAt(sp,c.map(v=>v/L),Math.min(1,t+.02)),dx=b[0]-a[0],dy=b[1]-a[1],n=Math.hypot(dx,dy)||1,f=d*Math.sin(Math.PI*t);out.push([q[0]+dy/n*f,q[1]-dx/n*f]);}return out;} +function polyAt(sp,cum,t){let i=1;while(it0?(t-t0)/(t1-t0):0;return [sp[i-1][0]+(sp[i][0]-sp[i-1][0])*f,sp[i-1][1]+(sp[i][1]-sp[i-1][1])*f];} +// polyAt() on screen points kept in two arrays (draw() reuses them for every link instead of making new points). +function polyAtXY(X,Y,cum,t){let i=1;while(it0?(t-t0)/(t1-t0):0;return [X[i-1]+(X[i]-X[i-1])*f,Y[i-1]+(Y[i]-Y[i-1])*f];} +let SX=new Float64Array(64),SY=new Float64Array(64); +function segDist(x,y,a,b){const dx=b[0]-a[0],dy=b[1]-a[1],L=dx*dx+dy*dy||1;const t=clamp(((x-a[0])*dx+(y-a[1])*dy)/L,0,1);return Math.hypot(x-a[0]-t*dx,y-a[1]-t*dy);} +// `cached`: the cables are already painted into the world layer. Zoomed in, the layer is painted without +// them (#49), so they are drawn here every frame instead. +function drawCables(ks){const z=cam.z,selC=UI.drag&&UI.drag.mode==='link'?UI.drag.from:(UI.sel&&UI.sel.type==='city'?UI.sel.id:null),cached=!!(WL.cv&&WL.key&&WL.cab); + if(!selC&&z<1.7&&cached)return; + ctx.font='800 10px Nunito, sans-serif';ctx.textAlign='center';ctx.textBaseline='middle'; + for(const cp of CABLE_PAIRS){const C=CAB[cp.cid],hot=!!selC&&(cp.a===selC||cp.b===selC);if(!hot&&cached&&z<1.7)continue;const col=cableCol(C); + for(const k of ks){const sp=cp.pts.map(p=>toS(p[0],p[1],k));let mn=Infinity,mx=-Infinity;for(const q of sp){if(q[0]mx)mx=q[0];}if(mx<-20||mn>CW+20)continue; + if(hot||!cached){ctx.globalAlpha=hot?0.95:0.4;ctx.strokeStyle=col;ctx.lineWidth=hot?3:1.6;ctx.lineJoin='round';ctx.setLineDash(C.age==='old'?[6,5]:[]);ctx.beginPath();ctx.moveTo(sp[0][0],sp[0][1]);for(let i=1;i=1.7){const m=sp[Math.floor(sp.length/2)];ctx.globalAlpha=hot?1:0.75;ctx.lineWidth=3;ctx.strokeStyle='rgba(255,255,255,.85)';ctx.strokeText(C.name,m[0],m[1]-8);ctx.fillStyle=col;ctx.fillText(C.name,m[0],m[1]-8);} + ctx.globalAlpha=1;}}} +function bezGeom(l,at){const A=CITY[l.a],B=CITY[l.b];const i=at!==undefined?at:lineIdx(l);const key=l.id+'|b'+i;const hit=GEO.get(key);if(hit)return hit; + const bx=A.x+wrapDx(A.x,B.x),by=B.y;const dx=bx-A.x,dy=by-A.y,len=Math.hypot(dx,dy)||1;let nx=-dy/len,ny=dx/len;if(ny>0){nx=-nx;ny=-ny;} + const base=Math.max(4,Math.min(len*0.1,90)),step=Math.min(16,len*.06),off0=i<=0?base:(i%2?-1:1)*(base*(i%2?0.2:1)+Math.ceil(i/2)*step); + const mx=(A.x+bx)/2,my=(A.y+by)/2; + const obs=CITIES.filter(c=>c.id!==l.a&&c.id!==l.b).map(c=>[mx+wrapDx(mx,c.x),c.y]); + const clear=(cx,cy)=>{let m=Infinity;const g={ax:A.x,ay:A.y,bx,by,cx,cy};for(let t=0.08;t<0.93;t+=0.06){const [px,py]=qpt(g,t);for(const [ox,oy] of obs){const d=Math.hypot(px-ox,py-oy);if(dMath.sign(o)*Math.min(Math.abs(o),cap); + const cand=[1,1.5,2.1,2.9,3.8].map(k=>lim(sg*mag*k)).concat([1,1.5,2.1,2.9,3.8].map(k=>lim(-sg*Math.max(mag,base)*k))); + let best=null,bs=-Infinity; + for(const off of cand){const cx=mx+nx*off,cy=my+ny*off,c=clear(cx,cy);if(c>=need){best=[cx,cy];break;}const sc=Math.min(c,need)-Math.abs(off)*0.35;if(sc>bs){bs=sc;best=[cx,cy];}} + const g={ax:A.x,ay:A.y,bx,by,cx:best[0],cy:best[1],len};GEO.set(key,g);return g;} +const qpt=(g,t)=>[(1-t)*(1-t)*g.ax+2*(1-t)*t*g.cx+t*t*g.bx,(1-t)*(1-t)*g.ay+2*(1-t)*t*g.cy+t*t*g.by]; +const utilCol=u=>u<=0.001?'#AFC0D6':u<0.65?'#22C47A':u<0.9?'#FFAA1F':'#FF4D5E'; + diff --git a/src/game/96-map/60-draw.js b/src/game/96-map/60-draw.js new file mode 100644 index 0000000..c846a90 --- /dev/null +++ b/src/game/96-map/60-draw.js @@ -0,0 +1,103 @@ +function draw(now){ + if(!ctx)return; + ctx.setTransform(DPR,0,0,DPR,0,0); + // sea + const g=ctx.createLinearGradient(0,0,0,CH);g.addColorStop(0,'#62CBEA');g.addColorStop(1,'#43AED6');ctx.fillStyle=g;ctx.fillRect(0,0,CW,CH); + const ks=visibleKs(),z=cam.z; + const wl=worldLayer(z); + for(const k of ks){ + ctx.setTransform(DPR*z,0,0,DPR*z,DPR*((k*W-cam.x)*z+CW/2),DPR*((-cam.y)*z+CH/2)); + // waves: one path, one stroke + ctx.strokeStyle='rgba(255,255,255,.45)';ctx.lineWidth=2/z;ctx.lineCap='round';ctx.beginPath(); + const ph0=now/900;for(const [x,y,ph] of WAVES){const o=Math.sin(ph0+ph*6)*3;ctx.moveTo(x-9+o,y);ctx.quadraticCurveTo(x-4.5+o,y-4,x+o,y);ctx.quadraticCurveTo(x+4.5+o,y+4,x+9+o,y);}ctx.stroke(); + } + for(const k of ks){if(wl)drawWorldLayer(wl,k,z,ks[0]);else{ctx.setTransform(DPR*z,0,0,DPR*z,DPR*((k*W-cam.x)*z+CW/2),DPR*((-cam.y)*z+CH/2));paintWorld(ctx,z,false);}} + for(const k of ks){ + ctx.setTransform(DPR*z,0,0,DPR*z,DPR*((k*W-cam.x)*z+CW/2),DPR*((-cam.y)*z+CH/2)); + // clouds + ctx.fillStyle='rgba(255,255,255,.55)';ctx.beginPath(); + for(const c of CLOUDS){const x=((c.x+now/1000*c.v)%(W+200))-100,y=c.y;ctx.moveTo(x+16*c.s,y);ctx.arc(x,y,16*c.s,0,7);ctx.moveTo(x+38*c.s,y-8*c.s);ctx.arc(x+18*c.s,y-8*c.s,20*c.s,0,7);ctx.moveTo(x+55*c.s,y);ctx.arc(x+40*c.s,y,15*c.s,0,7);}ctx.fill(); + } + ctx.setTransform(DPR,0,0,DPR,0,0); + if(!S)return; + const sc=iconScale(),day=S.day; + // cable systems + drawCables(ks); + // links + const far=lodFar(),PI=pairIdx(); + for(const grp of linkGroups()){const l=grp[0],many=grp.length>1,up=many?grp.filter(x=>!linkDown(x)):null; + const gm=linkGeom(l,PI.get(edgeKey(l))),cap=many?up.reduce((a,x)=>a+capOf(x),0):capOf(l),load=many?grp.reduce((a,x)=>a+(R.load[x.id]||0),0):(R.load[l.id]||0),u=cap?load/cap:0,df=l.kind==='df',bld=df&&l.ready>day,cut=!bld&&(many?!up.length:linkDown(l))&&!(df&&!(l.ch||[]).length),dark=df&&!bld&&!(l.ch||[]).length,vx=l.kind==='vxc'; + const sel=UI.sel&&UI.sel.type==='link'&&grp.some(x=>x.id===UI.sel.id); + const w=(vx?2.2:(2.5+Math.max(...grp.map(tierW))*1.8+(many?Math.min(1.5,(grp.length-1)*0.5):0)))*sc*(far?0.5:1),np=gm.pts.length; + if(SX.lengthmx)mx=x;} + if(mx<-40||mn>CW+40)continue; + const path=()=>{ctx.beginPath();ctx.moveTo(SX[0],SY[0]);for(let i=1;i0.001?utilCol(u):'#7FD8EE'):utilCol(u);ctx.lineWidth=w;ctx.stroke();ctx.setLineDash([]); + // Still the same path: strokes keep it, so the dotted fiber line goes on top without building it again. + if(df&&!bld&&!dark){ctx.strokeStyle='rgba(255,255,255,.75)';ctx.lineWidth=Math.max(1,w*0.25);ctx.setLineDash([1,6]);ctx.stroke();ctx.setLineDash([]);} + const at=t=>polyAtXY(SX,SY,gm.cum,t); + if(!cut&&load>0.01){const n=clamp(Math.round(2+u*10),2,12)>>(far?1:0)||1,len=gm.len*z,spd=90; + ctx.fillStyle='#fff';ctx.strokeStyle='#1E2640';ctx.lineWidth=far?1:1.5; + const rr2=far?1.6:Math.max(2.2,w*.42),base=now/1000*spd/Math.max(len,40);ctx.beginPath();for(let i=0;i0.9||sel){const t=many?groupLabel(grp,up):capName(l);ctx.font='800 11px "Baloo 2", sans-serif';let tw=LINKW.get(t);if(tw===undefined)LINKW.set(t,tw=ctx.measureText(t).width+10);ctx.fillStyle='#fff';ctx.strokeStyle='#1E2640';ctx.lineWidth=2;rr(mxx-tw/2,my-9,tw,17,8);ctx.fill();ctx.stroke();ctx.fillStyle='#1E2640';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText(t,mxx,my+1);} + } + } + // drag preview + if(UI.drag&&UI.drag.mode==='link'){ + const A=CITY[UI.drag.from];let tx=UI.drag.cx,ty=UI.drag.cy; + if(UI.snap){const sv=UI.snap;tx=sv.sx;ty=sv.sy;} + let [ax,ay]=toS(A.x,A.y,0);if(UI.snap){const B=CITY[UI.snap.id];const bxw=A.x+wrapDx(A.x,B.x);[tx,ty]=toS(bxw,B.y,0);}else{/* nearest copy of origin to cursor */for(const k of [-1,1]){const [px,py]=toS(A.x,A.y,k);if(Math.abs(px-tx)x.id===UI.sel.id);const rec=sl&&R.ef[edgeKey(sl)];if(rec){UI.feed=new Set(Object.keys(rec.eg).map(k=>R.egDesc[k].city));UI.dest=new Set(Object.keys(rec.dst));}} + // Place labels: your POPs and the selected city first, then others; a label that would overlap moves above its city or hides. + const vis=[];for(const C of CITIES)for(const k of ks){const [sx,sy]=toS(C.x,C.y,k);if(sx<-60||sx>CW+60||sy<-60||sy>CH+60)continue;vis.push({C,sx,sy});} + const prio=v=>(UI.sel&&UI.sel.type==='city'&&UI.sel.id===v.C.id?0:S.pops[v.C.id]?1:2);vis.sort((a,b)=>prio(a)-prio(b)||b.C.P-a.C.P); + const rects=[],labs=[],hit=(r)=>rects.some(q=>r.x1&&UI.hover!==v.C.id){v.ly=null;continue;} + const h=farL?6:12+Math.sqrt(v.C.P)*0.75;const below=farL?v.sy+15:v.sy+16*sc+8,above=farL?v.sy-15:v.sy-h*sc-17*sc;let ly=null; + for(const y of [below,above]){const r={x:v.sx-tw/2-2,y:y-10,w:tw+4,h:21};if(!hit(r)){ly=y;rects.push(r);labs.push(r);break;}} + // Your POPs may sit over a city icon, but not over another name: that one waits until you zoom in. + if(ly===null&&prio(v)===1)for(const y of [below,above]){const r={x:v.sx-tw/2,y:y-10,w:tw,h:21};if(!labs.some(q=>r.x=3||BIZ_T[o.type].event;for(const c of bCities(o)){CM.off.add(c);if(big)CM.big.add(c);}} + CM.inc=new Set(S.inc.filter(i=>i.type!=='leak').map(i=>i.ref));CM.far=farL; + for(const v of vis.slice().reverse())drawCity(v.C,v.sx,v.sy,sc,now,v.ly); + // floaters + for(let i=FLOATS.length-1;i>=0;i--){const f=FLOATS[i],a=(now-f.t)/1600;if(a>1){FLOATS.splice(i,1);continue;} + for(const k of ks){const [sx,sy]=toS(f.x,f.y,k);ctx.globalAlpha=1-a*a;ctx.font='800 17px "Baloo 2", sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.lineWidth=4;ctx.strokeStyle='#fff';ctx.strokeText(f.text,sx,sy-a*40);ctx.fillStyle=f.col;ctx.fillText(f.text,sx,sy-a*40);ctx.globalAlpha=1;}} +} +function drawCone(x,y,now){const b=Math.sin(now/300)*1.5;ctx.save();ctx.translate(x,y-12+b);ctx.strokeStyle='#1E2640';ctx.lineWidth=2;ctx.fillStyle='#FF8A3D';ctx.beginPath();ctx.moveTo(-7,9);ctx.lineTo(0,-10);ctx.lineTo(7,9);ctx.closePath();ctx.fill();ctx.stroke();ctx.fillStyle='#fff';ctx.fillRect(-4,-1,8,3);ctx.fillStyle='#1E2640';rr(-10,8,20,4,2);ctx.fill();ctx.restore();} +// Static land + cable map, rendered once per zoom bucket into an offscreen canvas. +function paintWorld(c,z,withCables){const LANDP=lodFar()?LANDP_FAR:LANDP_ALL; + for(const o of [0,W,-W]){c.save();c.translate(o+5/z,7/z);c.fillStyle='rgba(20,90,130,.35)';for(const p of LANDP)c.fill(p);c.restore();} + c.strokeStyle='#F8E6A8';c.lineWidth=10/z;c.lineJoin='round';for(const o of [0,W,-W]){c.save();c.translate(o,0);for(const p of LANDP)c.stroke(p);c.restore();} + c.fillStyle='#9BDA6C';for(const o of [0,W,-W]){c.save();c.translate(o,0);for(const p of LANDP)c.fill(p);c.restore();} + c.fillStyle='#86CB5B';c.beginPath();for(const [x,y,r] of HILLS){c.moveTo(x+r*1.4,y);c.ellipse(x,y,r*1.4,r*.8,0,0,Math.PI*2);}c.fill(); + c.fillStyle='rgba(255,255,255,.18)';c.beginPath();for(const [x,y,r] of HILLS){c.moveTo(x-r*.3+r*.6,y-r*.25);c.ellipse(x-r*.3,y-r*.25,r*.6,r*.3,0,0,Math.PI*2);}c.fill(); + c.strokeStyle='#1E2640';c.lineWidth=2.5/z;for(const o of [0,W,-W]){c.save();c.translate(o,0);for(const p of LANDP)c.stroke(p);c.restore();} + if(withCables)for(const off of [0,W,-W]){c.save();c.translate(off,0);for(const cp of CABLE_PAIRS){const C=CAB[cp.cid];c.globalAlpha=0.4;c.strokeStyle=cableCol(C);c.lineWidth=1.6/z;c.lineJoin='round';c.setLineDash(C.age==='old'?[6/z,5/z]:[]);c.beginPath();c.moveTo(cp.pts[0][0],cp.pts[0][1]);for(let i=1;i=WL.ox&&cam.x+hw<=WL.ox+w&&cam.y-hh>=WL.oy&&cam.y+hh<=WL.oy+h;} +function worldLayer(z){ + const now=performance.now();if(z!==WL.lastZ){WL.lastZ=z;WL.zAt=now;} + const sc=z*DPR,key=sc.toFixed(4),have=!!(WL.cv&&WL.key); + if(have&&WL.key===key&&wlCovers(z))return WL; + if(have&&now-WL.zAt<250)return WL; // mid-gesture: scale the last image + const full=W*sc+2<=MAXPX;let ox=0,oy=0,w=W,h=H; + if(!full){const mx=Math.min(MAXPX/sc,CW/z*2),my=Math.min(MAXPX/sc,CH/z*2);w=mx;h=my;ox=cam.x-w/2;oy=cam.y-h/2;} + const cv2=WL.cv||document.createElement('canvas');cv2.width=Math.ceil(w*sc)+2;cv2.height=Math.ceil(h*sc)+2; + const c=cv2.getContext('2d',SOFT_CANVAS?{willReadFrequently:true}:undefined);if(!c)return null; + const kk=full?0:Math.floor(cam.x/W)*W;c.setTransform(1,0,0,1,0,0);c.clearRect(0,0,cv2.width,cv2.height);c.setTransform(sc,0,0,sc,-(ox-kk)*sc,-oy*sc);paintWorld(c,z,z<1.7); + Object.assign(WL,{cv:cv2,key,sc,ox,oy,full,cab:z<1.7});return WL; +} +// Draw the world image for map copy k (full layers repeat per copy; a crop already holds what is visible). +function drawWorldLayer(wl,k,z,k0){if(!wl.full&&k!==k0)return;const f=z*DPR/wl.sc,ox=(wl.full?k*W:wl.ox); + ctx.setTransform(1,0,0,1,0,0);ctx.drawImage(wl.cv,Math.round(DPR*((ox-cam.x)*z+CW/2)),Math.round(DPR*((wl.oy-cam.y)*z+CH/2)),wl.cv.width*f,wl.cv.height*f);} +function cableCol(C){return C.price<=0.85?'#14A88C':C.price<=1.1?'#2F7BEA':'#A05AE0';} +function drawBackhoe(x,y,now,sub){ + const b=Math.sin(now/180)*2;ctx.save();ctx.translate(x,y-14+b); + ctx.strokeStyle='#1E2640';ctx.lineWidth=2.2; + if(sub){ // shark fin + ctx.fillStyle='#6B7C99';ctx.beginPath();ctx.moveTo(-12,8);ctx.quadraticCurveTo(-2,-14,10,-12);ctx.quadraticCurveTo(4,-2,12,8);ctx.closePath();ctx.fill();ctx.stroke(); + }else{ + ctx.fillStyle='#FFD23F';rr(-12,-4,18,12,3);ctx.fill();ctx.stroke();rr(-8,-12,10,9,2);ctx.fillStyle='#BDE8FF';ctx.fill();ctx.stroke(); + ctx.beginPath();ctx.moveTo(6,0);ctx.lineTo(14,-10);ctx.lineTo(19,2);ctx.stroke();ctx.fillStyle='#1E2640';ctx.beginPath();ctx.arc(-7,10,3,0,7);ctx.arc(2,10,3,0,7);ctx.fill(); + } + ctx.restore(); +} diff --git a/src/game/96-map/80-cities.js b/src/game/96-map/80-cities.js new file mode 100644 index 0000000..fb3a61a --- /dev/null +++ b/src/game/96-map/80-cities.js @@ -0,0 +1,74 @@ +// Label widths by text (city labels by id, link labels and far-view labels by text): measuring text every frame is slow. +const LBLW={},LINKW=new Map(),LBLF=new Map(),CM={off:new Set(),big:new Set(),inc:new Set(),far:false}; +try{document.fonts&&document.fonts.ready.then(()=>{for(const k in LBLW)delete LBLW[k];LINKW.clear();LBLF.clear();FRAME.length=0;});}catch(e){} +function drawCityFar(C,sx,sy,sc,now,lyOverride){ + const p=S.pops[C.id],down=p&&p.down>S.day,sel=UI.sel&&UI.sel.type==='city'&&UI.sel.id===C.id,hov=UI.hover===C.id||(UI.snap&&UI.snap.id===C.id); + ctx.save();ctx.translate(sx,sy);ctx.strokeStyle='#1E2640'; + if(sel){ctx.strokeStyle='#FF4F9A';ctx.lineWidth=2.5;ctx.setLineDash([4,4]);ctx.lineDashOffset=-now/40;ctx.beginPath();ctx.arc(0,0,p?14:9,0,7);ctx.stroke();ctx.setLineDash([]);ctx.strokeStyle='#1E2640';} + if(p){ + if(!down&&R.cityDem[C.id]>0&&sfOf(R,C.id)<0.9){ctx.fillStyle=`rgba(255,77,94,${.35+.25*Math.sin(now/200)})`;ctx.beginPath();ctx.arc(0,0,12,0,7);ctx.fill();} + const col=down?'#8A91A8':'#FF4F9A';ctx.lineWidth=1.8; + if(p.site2){ctx.setLineDash([2,2]);ctx.beginPath();ctx.moveTo(0,0);ctx.lineTo(9,6);ctx.stroke();ctx.setLineDash([]);ctx.fillStyle=col;rr(5,3,9,7,3);ctx.fill();ctx.stroke();} + if((p.routers||1)>=2){ctx.fillStyle=down?'#6E7590':'#D63B7F';rr(-6,-7,15,10,4);ctx.fill();ctx.stroke();} + ctx.fillStyle=col;rr(-8,-5,16,10,4);ctx.fill();ctx.stroke(); + }else{ctx.fillStyle=hasIxAt(C.id)?'#FFD23F':'#FFFFFF';ctx.lineWidth=1.5;ctx.beginPath();ctx.arc(0,0,hov?4.5:3.4,0,7);ctx.fill();ctx.stroke();} + if(CM.off.has(C.id)){ctx.fillStyle='#16A866';ctx.lineWidth=1.2;ctx.beginPath();ctx.arc(p?9:5,p?-7:-5,3,0,7);ctx.fill();ctx.stroke();} + if(CM.inc.has(C.id)){ctx.fillStyle='#FF4D5E';ctx.lineWidth=1.2;ctx.beginPath();ctx.arc(p?-9:-5,p?-7:-5,3.4,0,7);ctx.fill();ctx.stroke();} + ctx.restore(); + if(lyOverride!==null&&(p||sel||hov)){ctx.font=`800 ${p?12:11}px "Baloo 2", sans-serif`;const t=C.name,wk=C.id+(p?1:0);let tw=LBLF.get(wk);if(tw===undefined)LBLF.set(wk,tw=ctx.measureText(t).width+12);const ly=lyOverride==null?sy+15:lyOverride; + ctx.fillStyle=p?'#FF4F9A':'#FFFFFF';ctx.strokeStyle='#1E2640';ctx.lineWidth=1.6;rr(sx-tw/2,ly-8,tw,16,8);ctx.fill();ctx.stroke(); + ctx.fillStyle=p?'#FFFFFF':'#1E2640';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText(t,sx,ly+1);} +} +function drawCity(C,sx,sy,sc,now,lyOverride){ + if(CM.far)return drawCityFar(C,sx,sy,sc,now,lyOverride); + const hot=(UI.hotMap||{})[C.id]; + const p=S.pops[C.id],down=p&&p.down>S.day,sel=UI.sel&&UI.sel.type==='city'&&UI.sel.id===C.id,hov=UI.hover===C.id||(UI.snap&&UI.snap.id===C.id); + const k=sc*(hov?1.15:1); + ctx.save();ctx.translate(sx,sy); + if(UI.feed&&UI.feed.has(C.id)){ctx.strokeStyle='#FF8A3D';ctx.lineWidth=4;ctx.setLineDash([3,5]);ctx.beginPath();ctx.arc(0,-6*k,36*k,0,7);ctx.stroke();ctx.setLineDash([]);} + if(sel){ctx.strokeStyle='#FF4F9A';ctx.lineWidth=3;ctx.setLineDash([6,6]);ctx.lineDashOffset=-now/40;ctx.beginPath();ctx.arc(0,-6*k,30*k,0,7);ctx.stroke();ctx.setLineDash([]);} + if(p&&!down&&R.cityDem[C.id]>0&&sfOf(R,C.id)<0.9){const a=.35+.25*Math.sin(now/200);ctx.fillStyle=`rgba(255,77,94,${a})`;ctx.beginPath();ctx.arc(0,-6*k,26*k,0,7);ctx.fill();} + ctx.scale(k,k); + ctx.fillStyle='rgba(30,38,64,.2)';ctx.beginPath();ctx.ellipse(0,9,20,5,0,0,7);ctx.fill(); + const h=p?18:12+Math.sqrt(C.P)*0.75; + ctx.strokeStyle='#1E2640';ctx.lineWidth=2.2; + if(!p){const bl=[[-15,h*.65,'#FFFFFF'],[-5,h,'#FFE7A1'],[5,h*.5,'#BDE8FF']]; + for(const [x,hh,col] of bl){ctx.fillStyle=col;rr(x,8-hh,10,hh,2);ctx.fill();ctx.stroke();} + ctx.fillStyle='rgba(30,38,64,.35)';ctx.beginPath();for(const [x,hh] of bl)for(let yy=8-hh+4;yy<5;yy+=5){ctx.rect(x+2.5,yy,2,2);ctx.rect(x+5.5,yy,2,2);}ctx.fill();} + if(p){ + // Second building: a small router B on the metro ring, so dual-site POPs stand out. + if(p.site2){const dB=siteDown(C.id,'b'),cut=p.ringcut>S.day;ctx.save();ctx.lineWidth=2.2;ctx.setLineDash(cut?[3,4]:[]);ctx.strokeStyle=cut?'#FF4D5E':'#1E2640';ctx.beginPath();ctx.moveTo(10,6);ctx.quadraticCurveTo(22,14,26,7);ctx.stroke();ctx.setLineDash([]);ctx.strokeStyle='#1E2640'; + ctx.fillStyle=dB?'#8A91A8':'#FF4F9A';rr(20,-1,18,12,4);ctx.fill();ctx.stroke();ctx.fillStyle='#fff';ctx.font='900 8px Nunito, sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText('B',29,5.5);ctx.restore();} + ctx.translate(0,2); + // Down Under the routers are mounted the other way up. The packets don't seem to mind. + const flip=!!C.au;if(flip){ctx.save();ctx.translate(0,-4);ctx.rotate(Math.PI);} + ctx.lineWidth=2.4;ctx.beginPath();ctx.moveTo(-10,-6);ctx.lineTo(-13,-17);ctx.moveTo(10,-6);ctx.lineTo(13,-17);ctx.stroke(); + ctx.fillStyle=down?'#FF4D5E':'#FFD23F';ctx.beginPath();ctx.arc(-13,-18,2.6,0,7);ctx.arc(13,-18,2.6,0,7);ctx.fill();ctx.stroke(); + if((p.routers||1)>=2){ctx.fillStyle=down?'#6E7590':'#D63B7F';rr(-13,-13,34,16,6);ctx.fill();ctx.stroke();} + if(p.gen){ctx.fillStyle='#FFD23F';rr(-27,-1,9,11,2);ctx.fill();ctx.stroke();} + ctx.fillStyle=down?'#8A91A8':'#FF4F9A';rr(-17,-7,34,16,6);ctx.fill();ctx.stroke(); + if(!down&&(R.nodeLoad[C.id]||0)>=(R.nodeCap[C.id]||1e12)*0.95){for(let i=0;i<3;i++){const t=(now/700+i/3)%1;ctx.fillStyle=`rgba(90,98,130,${0.55*(1-t)})`;ctx.beginPath();ctx.arc(6+i*3,-12-t*18,3+t*4,0,7);ctx.fill();}} + if((p.rgen||0)>0){const G=RG[p.rgen||0];ctx.fillStyle=G.badge?'#7CFFB2':'#FFD23F';ctx.beginPath();ctx.arc(17,-7,6,0,7);ctx.fill();ctx.lineWidth=1.8;ctx.stroke();ctx.fillStyle='#1E2640';ctx.font='900 8px Nunito, sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText(G.badge||String(G.cls+1),17,-6.5);ctx.lineWidth=2.2;} + const sf=sfOf(R,C.id); + for(let i=0;i<4;i++){const on=down?false:(((now/(160+i*37))|0)+i)%3!==0;ctx.fillStyle=down?'#3B4260':on?(sf<0.9?'#FF4D5E':'#7CFFB2'):'#2A3150';ctx.beginPath();ctx.arc(-10+i*6.6,1,2.1,0,7);ctx.fill();} + if(down){ctx.fillStyle='#fff';ctx.font='900 14px "Baloo 2", sans-serif';ctx.textAlign='center';ctx.fillText('zzz',20,-14);} + if(flip)ctx.restore(); + ctx.translate(0,-2); + } + const ixn=ixName(C.id); + if(ixn){const mine=!!S.myIx[C.id],joined=hasIxAt(C.id);const ixHot=hot&&hot.ix;ctx.fillStyle=ixHot?(Math.sin(now/180)>0?'#FF4D5E':'#FF8A3D'):mine?'#FF4F9A':joined?'#FFD23F':'#FFFFFF';ctx.beginPath();for(let i=0;i<6;i++){const a=Math.PI/3*i+Math.PI/6;ctx.lineTo(19+8.5*Math.cos(a),-h+2+8.5*Math.sin(a));}ctx.closePath();ctx.fill();ctx.lineWidth=2;ctx.stroke(); + ctx.fillStyle=mine||ixHot?'#fff':'#1E2640';ctx.font='900 8px Nunito, sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText('IX',19,-h+2.5);} + if(hot&&p){let y=-14;const pulse=.75+.25*Math.sin(now/200);for(const k of ['r','t','p','c']){if(!hot[k])continue;ctx.globalAlpha=pulse;ctx.fillStyle='#FF4D5E';ctx.beginPath();ctx.arc(-29,y,6.5,0,7);ctx.fill();ctx.globalAlpha=1;ctx.lineWidth=2;ctx.strokeStyle='#1E2640';ctx.stroke();ctx.fillStyle='#fff';ctx.font='900 8px Nunito, sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText(HOTL[k],-29,y+0.5);y+=14;}} + const off=CM.off.has(C.id); + if(off){const by=-h-16+Math.sin(now/250)*3;ctx.fillStyle='#fff';ctx.lineWidth=2.2;ctx.beginPath();ctx.ellipse(-2,by,11,9,0,0,7);ctx.fill();ctx.stroke();ctx.beginPath();ctx.moveTo(-5,by+8);ctx.lineTo(-7,by+14);ctx.lineTo(0,by+8);ctx.fillStyle='#fff';ctx.fill();const big=CM.big.has(C.id);ctx.fillStyle=big?'#FF4F9A':'#16A866';ctx.font='900 13px "Baloo 2", sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText(big?'$$':'$',-2,by+1);} + const inc=CM.inc.has(C.id); + if(inc){ctx.fillStyle='#FF4D5E';ctx.beginPath();ctx.arc(-20,-h+2,7,0,7);ctx.fill();ctx.lineWidth=2;ctx.stroke();ctx.fillStyle='#fff';ctx.font='900 11px Nunito, sans-serif';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText('!',-20,-h+3);} + ctx.restore(); + // label + if((cam.z>=0.62||p||sel||hov)&&(lyOverride!==null||hov)){ + ctx.font=`800 ${p?13:12}px "Baloo 2", sans-serif`;const t=C.name,tw=LBLW[C.id+(p?1:0)]||(LBLW[C.id+(p?1:0)]=ctx.measureText(t).width+14),ly=lyOverride==null?sy+16*sc+8:lyOverride; + ctx.fillStyle=p?'#FF4F9A':'#FFFFFF';ctx.strokeStyle='#1E2640';ctx.lineWidth=2;rr(sx-tw/2,ly-9,tw,19,9);ctx.fill();ctx.stroke(); + ctx.fillStyle=p?'#FFFFFF':'#1E2640';ctx.textAlign='center';ctx.textBaseline='middle';ctx.fillText(t,sx,ly+1); + } +} + diff --git a/src/game/96-map/90-input.js b/src/game/96-map/90-input.js new file mode 100644 index 0000000..b8a299f --- /dev/null +++ b/src/game/96-map/90-input.js @@ -0,0 +1,42 @@ +/* ---------- hit tests & input ---------- */ +function hitCity(x,y,r=28){let best=null,bd=r*iconScale();const KS=visibleKs();for(const C of CITIES)for(const k of KS){const [sx,sy]=toS(C.x,C.y,k);const d=Math.hypot(sx-x,sy+4-y);if(d{audioInit();cv.setPointerCapture(e.pointerId);ptrs.set(e.pointerId,{x:e.clientX,y:e.clientY}); + if(ptrs.size>=2){if(!UI.drag||UI.drag.mode!=='pinch'){const [a,b]=[...ptrs.values()];UI.drag={mode:'pinch',d0:Math.hypot(a.x-b.x,a.y-b.y)||1,z0:cam.z};UI.snap=null;cv.classList.remove('linking');}return;} + const hit=S&&hitCity(e.clientX,e.clientY); + if(hit&&S.pops[hit.id])UI.drag={mode:'maybeLink',from:hit.id,sx:e.clientX,sy:e.clientY,camx:cam.x,camy:cam.y,moved:false}; + else UI.drag={mode:'pan',sx:e.clientX,sy:e.clientY,camx:cam.x,camy:cam.y,moved:false}; +}); +cv.addEventListener('pointermove',e=>{ + if(ptrs.has(e.pointerId))ptrs.set(e.pointerId,{x:e.clientX,y:e.clientY}); + const d=UI.drag; + if(!d){const h=S&&pickCity(e.clientX,e.clientY);UI.hover=h?h.id:null;cv.style.cursor=h?(S.pops[h.id]?'crosshair':'pointer'):(hitLink(e.clientX,e.clientY)?'pointer':'grab');return;} + if(d.mode==='pinch'){if(ptrs.size>=2){const [a,b]=[...ptrs.values()];const mx=(a.x+b.x)/2,my=(a.y+b.y)/2;zoomAt(mx,my,clamp(d.z0*Math.hypot(a.x-b.x,a.y-b.y)/d.d0,ZMIN,ZMAX)/cam.z);}return;} + const dx=e.clientX-d.sx,dy=e.clientY-d.sy;if(Math.hypot(dx,dy)>6)d.moved=true; + if(d.mode==='maybeLink'&&d.moved){d.mode='link';cv.classList.add('linking');} + if(d.mode==='link'){d.cx=e.clientX;d.cy=e.clientY;const h=hitCity(e.clientX,e.clientY,40);UI.snap=h&&h.id!==d.from?h:null;renderHint();} + else if(d.mode==='pan'&&d.moved){cam.x=d.camx-dx/cam.z;cam.y=d.camy-dy/cam.z;wrapCam();cv.style.cursor='grabbing';} +}); +function endPtr(e){ + ptrs.delete(e.pointerId);const d=UI.drag;if(!d)return; + if(d.mode==='pinch'){if(ptrs.size===0){UI.drag=null;UI.snap=null;cv.classList.remove('linking');}return;} + if(d.mode==='link'){if(UI.snap&&UI.snap.id!==d.from){openLinkModal(d.from,UI.snap.id);sfx('click');}} + else if(!d.moved&&S){const h=pickCity(e.clientX,e.clientY); + if(h){selectCity(h.id);renderLeft();sfx('click');} + else{const l=hitLink(e.clientX,e.clientY);if(l){selectLink(l);sfx('click');}else{UI.sel=null;renderPanel();renderLeft();}}} + UI.drag=null;UI.snap=null;cv.classList.remove('linking');cv.style.cursor='grab';renderHint(); +} +// A cancelled pointer (scroll takeover, palm rejection, system gesture) is not a tap or a drop. +function cancelPtr(e){ptrs.delete(e.pointerId);if(ptrs.size)return;UI.drag=null;UI.snap=null;cv.classList.remove('linking');cv.style.cursor='grab';renderHint();} +cv.addEventListener('pointerup',endPtr);cv.addEventListener('pointercancel',cancelPtr); +// Dense regions (southern Brazil, the Benelux) need a close look: cities stop growing past 1.35×, so zooming spreads them out (#126). +const ZMIN=0.35,ZMAX=16; +function zoomAt(mx,my,f){const wx=cam.x+(mx-CW/2)/cam.z,wy=cam.y+(my-CH/2)/cam.z;cam.z=clamp(cam.z*f,ZMIN,ZMAX);cam.x=wx-(mx-CW/2)/cam.z;cam.y=wy-(my-CH/2)/cam.z;wrapCam();} +cv.addEventListener('wheel',e=>{e.preventDefault();zoomAt(e.clientX,e.clientY,Math.exp(-e.deltaY*0.0015));},{passive:false}); +addEventListener('keydown',e=>{if(e.target.closest&&e.target.closest('input,textarea,select,[contenteditable]'))return;if(e.ctrlKey||e.metaKey||e.altKey)return;if(e.code==='Space'&&e.target.closest&&e.target.closest('button,a'))return;if(e.code==='Space'){e.preventDefault();UI.speed=UI.speed?0:1;renderHUD();}if(e.key==='0')ACT.speed({v:0.5});if(e.key==='1')ACT.speed({v:1});if(e.key==='2')ACT.speed({v:2});if(e.key==='3')ACT.speed({v:4});if(e.key==='4')ACT.speed({v:8});if(e.key==='Escape'&&!$('bankBox').hidden){$('bankBox').hidden=true;return;}if(e.key==='Escape'&&!$('dash').hidden){$('dash').hidden=true;return;}if(e.key==='Escape'){if(!$('modal').hidden){if(S&&UI.started&&!S.lost)closeModal();}else{UI.sel=null;renderPanel();}}}); + diff --git a/src/game/96-map/95-clicks.js b/src/game/96-map/95-clicks.js new file mode 100644 index 0000000..7513a99 --- /dev/null +++ b/src/game/96-map/95-clicks.js @@ -0,0 +1,15 @@ +/* ---------- click delegation ---------- */ +let pressing=false; +document.addEventListener('pointerdown',e=>{if(e.target.closest('#panel,#left,#dash,#bankBox,#modal,#tabbar,#toasts'))pressing=true;}); +addEventListener('pointerup',()=>setTimeout(()=>pressing=false,0)); +addEventListener('pointercancel',()=>{pressing=false;});addEventListener('blur',()=>{pressing=false;}); +document.addEventListener('change',e=>{const el=e.target.closest('[data-chg]');if(!el||!S)return;const fn=ACT[el.dataset.chg];if(fn)fn({v:el.value});}); +/* Taps that land on the wrong thing (#44): a real tap only fires the button it went down on, never something that + appeared or moved under the finger, nothing behind a menu that opened or closed mid-tap, and no toast button in + the first half second after the toast popped up. Synthetic clicks (keyboard, tests) are not affected. */ +let PD={t:0,b:null}; +document.addEventListener('pointerdown',e=>{PD={t:performance.now(),b:e.target.closest('[data-act]')};},true); +function tapOk(e,b){if(!e.isTrusted||!PD.t||e.detail===0)return true;const now=performance.now();if(now-PD.t>4000)return true; + if(PD.b!==b)return false;if((UI.layerAt||0)>PD.t)return false;const ts=b.closest('.toast');if(ts&&PD.t-(+ts.dataset.born||0)<500)return false;return true;} +document.addEventListener('click',e=>{const b=e.target.closest('[data-act]');if(!b||b.disabled)return;if(!$('modal').hidden&&!b.closest('#modal'))return;if(!tapOk(e,b))return;audioInit();const fn=ACT[b.dataset.act];if(!fn)return;if(!S&&!['start','randomName','pickStart','cont','help','helpClose','newgame','mute','animSet','soundSet','langSet','closeModal','speed','bankClose','whatsNewShow','updateNow','updateLater','importPick','importGo','modeSet','scenarios','startScn','startWeekly','settings','settingsClose','prefSet','vpSet','install','pitchSkip'].includes(b.dataset.act))return;let a={};try{a=JSON.parse(b.dataset.args||'{}');}catch(_){}fn(a);}); + diff --git a/src/game/99-loop.js b/src/game/99-loop.js new file mode 100644 index 0000000..9a69afc --- /dev/null +++ b/src/game/99-loop.js @@ -0,0 +1,48 @@ +/* ================= LOOP ================= */ +let last=performance.now(),acc=0,hudT=0,animT=0; +function frame(now){ + // Schedule the next frame first: one bad lookup in a day tick must not freeze the whole game. + if(!window.__TUBES_TEST__)requestAnimationFrame(frame); + const dt=Math.min(250,now-last);last=now; + if(ANALYTICS.host&&S&&!S.lost&&UI.speed&&document.visibilityState==='visible'){UI.playMs=(UI.playMs||0)+dt;const m=UI.playMs/60000;for(const k of PLAY_MARKS)if(m>=k)track('play_'+k+'m',true);} + if(S&&UI.started&&!S.lost&&now-(UI.lastSave||0)>5000)save(); + // The panels catch up on the frame after a day, so one frame does not carry both the day's simulation and them. + if(UI.panelsDue){UI.panelsDue=false;if(!pressing){renderPanel();renderLeft();if(!$('dash').hidden)renderDash();renderBank();}renderHint();} + if(S&&!S.lost&&$('modal').hidden&&UI.speed){acc+=dt*UI.speed;let n=0;while(acc>=DAY_MS&&n<4&&UI.speed){acc-=DAY_MS;try{dayTick();}catch(e){tickErr(e);}n++;} + if(n){UI.ticking=true;renderHUD();UI.ticking=false;UI.panelsDue=true;}} + if(UI.speed&&!(S&&S.lost))animT+=dt; /* paused = frozen dots, waves and clouds */ + const t=animOn()?animT:0; + if(!(UI.mapHid=mapHidden())&&!mapStill(t,now)){try{draw(t);}catch(e){tickErr(e);}UI.drawnAt=now;} +} +/* On a phone the NOC dashboard (or the bank), scrolled past its top edge, covers the whole map. Drawing the map + under it is work nobody sees, so it waits until the map shows again (and no payday money piles up meanwhile). */ +function mapHidden(){for(const id of ['dashCard','bankCard']){const c=$(id);if(c.parentNode.hidden)continue; + const r=c.getBoundingClientRect();if(r.top<=1&&r.left<=1&&r.right>=innerWidth-1&&r.bottom>=innerHeight-1)return true;}return false;} +/* Paused, or with animations off, the map only changes when you move it, point at something or the network changes. + Until then the last frame is still right, so it is not drawn again (phones keep cool). It is redrawn at least once + a second anyway, and every frame while the land picture is still catching up with a zoom. */ +const FRAME=[]; +function mapStill(t,now){const sl=UI.sel,dr=UI.drag; + const v=[t,cam.x,cam.y,cam.z,CW,CH,DPR,S,R,S&&S.day,S&&S.links.length,S&&S.offers.length,S&&S.inc.length,sl&&sl.type,sl&&sl.id,UI.hover,UI.snap&&UI.snap.id,dr&&dr.mode,dr&&dr.cx,dr&&dr.cy,FLOATS.length]; + let same=v.length===FRAME.length;for(let i=0;iSomething in the NOC glitched.

The game kept going. If things look odd, export your save and open an issue on GitHub.'),'bad');} +function boot(data){ + i18nDom(); + try{UI.muted=localStorage.getItem('sot-mute')==='1';UI.anim=localStorage.getItem('sot-anim')||'auto';}catch(e){} + applyAnim(); + if(data&&data.S){S=migrate(data.S);UI.started=true;if(data.cam)Object.assign(cam,data.cam);compute();renderAll();} + else{const sv=loadSave(); + let okSave=false;if(sv){try{S=migrate(sv);compute();okSave=true;}catch(e){S=null;UI.started=false;try{localStorage.setItem('sot-save-broken',JSON.stringify(sv));localStorage.removeItem('sot-save-v1');}catch(e2){}}} + if(okSave){UI.started=true;UI.speed=[0,0.5,1,2,4,8].includes(S.uiSpeed)?S.uiSpeed:1; + if(S.cam&&isFinite(S.cam.x))Object.assign(cam,S.cam);else{const h=CITY[S.home];if(h){cam.x=h.x;cam.y=h.y;cam.z=innerWidth<760?1.1:1.4;}} + renderAll();if(S.grace&&S.grace.until>S.day&&R.graceNets&&!S.grace.told){S.grace.told=1;toast(tr('New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.',{n:S.grace.until-S.day}),'goal',[{l:tr('Open NOC'),act:'leftTab',args:{t:'noc'}}]);} + if(S.auNews){delete S.auNews;const c=Object.keys(S.pops).find(x=>CITY[x].au);toast(tr('Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.'),'bad',[{l:tr('Open'),act:'focusCity',args:{city:c}}],{a:'city',v:c});} + if(!whatsNew(true))toast(tr('Welcome back, {name}.
Your network is right where you left it: {date}.',{name:esc(S.name),date:dateStr(S.day)}),'good');} + else{showTitle();whatsNew(false);if(sv)toast(tr('Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.'),'bad');}} + renderHUD();renderLeft(); + window.claude?.hot?.snapshot?.(()=>({S:S&&JSON.parse(JSON.stringify(S)),cam:{...cam}})); + if(!window.__TUBES_TEST__){requestAnimationFrame(frame);setTimeout(checkUpdate,4000);setInterval(checkUpdate,10*60*1000);} +} +window.claude?.hot?.ready ? window.claude.hot.ready(boot) : boot(window.claude?.hot?.data ?? {}); diff --git a/src/index.html b/src/index.html new file mode 100644 index 0000000..92bea36 --- /dev/null +++ b/src/index.html @@ -0,0 +1,167 @@ + + + + + +Series of Tubes — Build the Internet, One Tube at a Time + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

Series of Tubes: build the internet, one tube at a time

+

A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.

+
+ + + +
+ + +
Traffic served
0
+
Reach
0%
+
Rank
Tier 3
+ + + +
+
Date
Y1 · Jan 1
+
+ + + + + + + + + +
+
+ + + + + + + + + +
+ + + + + + + + + + + diff --git a/src/styles/00-base.css b/src/styles/00-base.css new file mode 100644 index 0000000..eba8a90 --- /dev/null +++ b/src/styles/00-base.css @@ -0,0 +1,27 @@ +/* Layout: full-bleed cartoon world map on canvas; sticker-style panels float above it (HUD top, goals left, inspector right / bottom sheet on phones). Single committed bright look. */ +:root{ + --sea:#57C4E5; --sea2:#3AA6CF; --wave:#9BE2F2; --land:#9BDA6C; --land2:#7FC455; --sand:#F8E6A8; + --ink:#1E2640; --ink2:#55608A; --paper:#FFFFFF; --soft:#EEF5FB; --line:#D5DEEC; + --me:#FF4F9A; --sun:#FFD23F; --ok:#22C47A; --warn:#FFAA1F; --bad:#FF4D5E; + --t1:#7B61FF; --t2:#2F8CFF; --cdn:#FF8A3D; --eye:#16A866; + --display:'Baloo 2','Trebuchet MS',system-ui,sans-serif; + --body:'Nunito',system-ui,-apple-system,sans-serif; + color-scheme:light; +} +[hidden]{display:none!important} +html,body{height:100%} +body{margin:0} +.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0} +.ver{font-size:11.5px;color:var(--ink2);margin-top:10px} +.ver a{color:inherit} +body{background:var(--sea);color:var(--ink);font-family:var(--body);overflow:hidden;font-size:14px;-webkit-font-smoothing:antialiased} +#map{position:fixed;inset:0;width:100%;height:100%;touch-action:none;display:block;cursor:grab} +#map.linking{cursor:crosshair} +.num{font-variant-numeric:tabular-nums} +h2,h3,h4{font-family:var(--display);margin:0;text-wrap:balance;line-height:1.1} +button{font:inherit;color:inherit} +:focus-visible{outline:3px solid var(--me);outline-offset:2px} + +/* sticker surfaces */ +.card{background:var(--paper);border:3px solid var(--ink);border-radius:18px;box-shadow:4px 4px 0 var(--ink)} + diff --git a/src/styles/10-hud.css b/src/styles/10-hud.css new file mode 100644 index 0000000..ffb4977 --- /dev/null +++ b/src/styles/10-hud.css @@ -0,0 +1,31 @@ +/* HUD */ +#hud{position:fixed;top:calc(env(safe-area-inset-top,0px) + 10px);left:max(12px,env(safe-area-inset-left,0px));right:max(12px,env(safe-area-inset-right,0px));display:flex;gap:8px;align-items:stretch;flex-wrap:wrap;pointer-events:none;z-index:5} +#hud>*{pointer-events:auto} +.chip{background:var(--paper);border:3px solid var(--ink);border-radius:14px;box-shadow:3px 3px 0 var(--ink);padding:3px 11px;display:flex;flex-direction:column;justify-content:center;min-height:46px} +.chip .lbl{font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--ink2)} +.chip .val{font-family:var(--display);font-weight:800;font-size:19px;line-height:1.05;white-space:nowrap} +.chip .sub{font-size:11px;font-weight:800;white-space:nowrap} +.brand{flex-direction:row;align-items:center;gap:9px;background:var(--me);color:#fff} +.brand .val{font-size:20px} +.brand .lbl{color:#FFE0EE} +.tube{width:30px;height:30px;flex:none} +.up{color:var(--ok)} .down{color:var(--bad)} +.note{align-items:flex-start}.note .ndot{width:9px;height:9px;border-radius:50%;margin-top:6px;flex:none;background:var(--ink2);border:2px solid var(--ink)} +.note.bad .ndot{background:var(--bad)}.note.good .ndot{background:var(--ok)}.note.goal .ndot{background:#FFD23F} +.note .nbody{display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden} +#hNoc{position:relative}#hNoc .badge{position:absolute;top:-8px;right:-8px;background:var(--me);color:#fff;border:2.5px solid var(--ink);border-radius:10px;font:900 11px Nunito,sans-serif;padding:0 6px;line-height:16px} +.speed{flex-direction:row;align-items:center;gap:4px;padding:4px 6px} +.speed button{border:2.5px solid var(--ink);background:var(--paper);border-radius:9px;min-width:34px;height:32px;font-family:var(--display);font-weight:800;cursor:pointer;font-size:13px} +.speed button.on{background:var(--sun)} +.spacer{flex:1} +.noc{cursor:pointer;border:3px solid var(--ink)} +.hotk{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;border-radius:12px;border:2px solid var(--ink,#1E2640);font:900 11px Nunito,sans-serif;margin-right:8px;color:#fff;background:#FF4D5E} +.hotk.hk-ix{color:#1E2640;background:#FFD23F} +.noc.hot{background:var(--bad);color:#fff;animation:throb 1s ease-in-out infinite} +.noc.hot .lbl{color:#FFE1E4} +#hCust .cnt{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--bad);color:#fff;font-size:11px;line-height:18px;text-align:center;vertical-align:3px;margin-left:2px} +#hCust.hot{background:#FFE1E4} +@keyframes throb{50%{transform:scale(1.05)}} +.minibar{height:6px;border-radius:4px;background:var(--line);overflow:hidden;margin-top:2px;width:100%} +.minibar i{display:block;height:100%;background:var(--ok)} + diff --git a/src/styles/20-drawers.css b/src/styles/20-drawers.css new file mode 100644 index 0000000..1f5d1f5 --- /dev/null +++ b/src/styles/20-drawers.css @@ -0,0 +1,76 @@ +/* drawers */ +#left{position:fixed;top:calc(env(safe-area-inset-top,0px) + 76px);left:max(12px,env(safe-area-inset-left,0px));width:300px;max-height:calc(100% - 96px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;z-index:4} +#panel{position:fixed;top:calc(env(safe-area-inset-top,0px) + 76px);right:max(12px,env(safe-area-inset-right,0px));width:370px;max-height:calc(100% - 96px - env(safe-area-inset-top,0px) - env(safe-area-inset-bottom,0px));display:flex;flex-direction:column;z-index:4} +.scroll{overflow:auto;padding:12px 14px 14px;overscroll-behavior:contain} +.tabs{display:flex;gap:4px;padding:8px 8px 0;border-bottom:3px solid var(--ink);flex:none} +.tabs button{border:2.5px solid var(--ink);border-bottom:none;border-radius:11px 11px 0 0;background:var(--soft);padding:4px 10px 3px;font-family:var(--display);font-weight:800;cursor:pointer;font-size:13.5px;position:relative;top:3px} +.tabs button.on{background:var(--paper);padding-bottom:6px} +.tabs .cnt{display:inline-block;background:var(--me);color:#fff;border-radius:9px;padding:0 6px;font-size:11px;margin-left:4px} +.tabs .cnt.red{background:var(--bad)} +#leftToggle{display:none} + +.ph{display:flex;align-items:flex-start;gap:8px;padding:12px 14px 8px;border-bottom:3px solid var(--ink);flex:none} +.ph h2{font-size:26px} +.eyebrow{font-size:10.5px;font-weight:900;letter-spacing:.09em;text-transform:uppercase;color:var(--ink2)} +.x{margin-left:auto;border:2.5px solid var(--ink);background:var(--paper);border-radius:10px;width:32px;height:32px;font-size:20px;line-height:1;cursor:pointer;font-weight:900;flex:none} +.facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px} +.fact{background:var(--soft);border:2px solid var(--ink);border-radius:9px;padding:1px 8px;font-size:12px;font-weight:700} +.fact.bad{background:#FFE3E3}.warn{background:#FFF1F1;border:2px solid #FF5A5F;border-radius:10px;padding:8px 10px;margin:6px 0;font-size:13px;line-height:1.4} +.fact.ixf{background:#FFF3C4} +.fact.mine{background:var(--me);color:#fff} +.fact.down{background:var(--bad);color:#fff} +section{padding:10px 0;border-bottom:2px dashed var(--line)} +section:last-child{border-bottom:none} +section h3{font-size:17px;margin-bottom:6px;display:flex;align-items:center;gap:8px} +.lead{margin:0 0 8px;color:var(--ink2);font-size:12.5px;line-height:1.45} +.note{margin:6px 0 0;color:var(--ink2);font-size:12.5px;line-height:1.4} +.kv{display:flex;justify-content:space-between;gap:8px;font-size:13px;margin:3px 0} +.kv b{font-variant-numeric:tabular-nums} +.row{display:flex;align-items:center;gap:8px;padding:7px 0;border-top:1px solid var(--line)} +.row:first-of-type{border-top:none} +.row .grow{flex:1;min-width:0} +.row .nm{font-weight:800;font-size:13.5px;line-height:1.2} +.row .meta{font-size:11.5px;color:var(--ink2);line-height:1.3} +.btns{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px} +.why{font-size:11px;color:#B23A48;font-weight:700;margin-top:3px;line-height:1.3} + +.b{font-family:var(--display);font-weight:800;border:2.5px solid var(--ink);border-radius:11px;background:var(--sun);box-shadow:0 3px 0 var(--ink);padding:4px 11px 3px;cursor:pointer;font-size:14px;line-height:1.2;white-space:nowrap;transition:transform .06s} +.b:hover{filter:brightness(1.05)} +.b:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)} +.b:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:0 3px 0 var(--ink)} +.b.ghost{background:var(--paper)} +.b.pink{background:var(--me);color:#fff} +.b.red{background:var(--bad);color:#fff} +.b.green{background:var(--ok);color:#fff} +.b.sm{font-size:12px;padding:2px 8px 1px;border-radius:9px;box-shadow:0 2px 0 var(--ink)} +.b.big{font-size:18px;padding:7px 18px 5px} +.b small{font-family:var(--body);font-weight:800;font-size:10.5px;opacity:.85;margin-left:3px} + +.logo{width:30px;height:30px;border-radius:50%;background:var(--c);border:2.5px solid var(--ink);display:grid;place-items:center;color:#fff;font-family:var(--display);font-weight:800;font-size:11px;flex:none;letter-spacing:-.02em} +.tag{display:inline-block;border:1.8px solid var(--ink);border-radius:7px;padding:0 5px;font-size:10px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;vertical-align:1px;color:#fff;background:var(--ink2)} +.tag.t1{background:var(--t1)} .tag.t2{background:var(--t2)} .tag.cdn{background:var(--cdn)} .tag.eye{background:var(--eye)} +.tag.open{background:var(--ok)} .tag.selective{background:var(--warn);color:var(--ink)} .tag.restrictive{background:var(--bad)} .tag.paid{background:var(--me)} +.tag.st{background:var(--paper);color:var(--ink)} +.tag.st.on{background:var(--ink);color:#fff} +.bar{height:11px;border:2px solid var(--ink);border-radius:7px;background:var(--paper);overflow:hidden;margin:3px 0} +.stack{display:flex;height:16px;border:2px solid var(--ink);border-radius:8px;overflow:hidden;margin:4px 0 6px;background:var(--paper)} +.stack i{display:block;height:100%} +.sub4{font-size:13.5px;margin:10px 0 3px} +.dot{display:inline-block;width:10px;height:10px;border-radius:50%;border:1.5px solid var(--ink);margin-right:6px;vertical-align:-1px} +.bar>i{display:block;height:100%;background:var(--ok);transition:width .3s} +.bar.warn>i{background:var(--warn)} .bar.bad>i{background:var(--bad)} .bar.me>i{background:var(--me)} + +.goal{display:flex;gap:9px;padding:8px 0;border-top:1px solid var(--line)} +.goal:first-child{border-top:none} +.goal .ck{width:22px;height:22px;border:2.5px solid var(--ink);border-radius:7px;flex:none;display:grid;place-items:center;font-weight:900;background:var(--paper);font-size:13px} +.goal.done .ck{background:var(--ok);color:#fff} +.goal.done .gt{text-decoration:line-through;color:var(--ink2)} +.goal.cur{background:#FFF6CF;margin:0 -14px;padding:9px 14px;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)} +.goal .gt{font-weight:900;font-size:13.5px} +.goal .gd{font-size:12px;color:var(--ink2);line-height:1.4;margin-top:2px} +.goal .gr{font-size:11px;font-weight:900;color:var(--eye);margin-top:2px} +.empty{color:var(--ink2);font-size:12.5px;line-height:1.45;padding:6px 0} +.inc{border:2.5px solid var(--ink);border-radius:12px;padding:8px 10px;margin-bottom:8px;background:#FFF0F1} +.inc .nm{font-weight:900} +.inc .meta{font-size:12px;color:var(--ink2);margin-top:2px;line-height:1.35} + diff --git a/src/styles/30-toasts.css b/src/styles/30-toasts.css new file mode 100644 index 0000000..47db06f --- /dev/null +++ b/src/styles/30-toasts.css @@ -0,0 +1,13 @@ +/* toasts */ +#toasts{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 14px);display:flex;flex-direction:column-reverse;gap:8px;z-index:8;width:min(460px,calc(100% - 32px));pointer-events:none} +.toast{pointer-events:none;background:var(--paper);border:3px solid var(--ink);border-radius:14px;box-shadow:3px 3px 0 var(--ink);padding:9px 12px;display:flex;gap:10px;align-items:center;animation:pop .25s cubic-bezier(.3,1.6,.6,1)} +.toast.good{background:#DFFBEA} .toast.bad{background:#FFE1E4} .toast.goal{background:#FFF3C4} +.toast .b{pointer-events:auto} +.seg{display:flex;flex-wrap:wrap;gap:6px} +.seg .b{white-space:normal;text-align:left} +.toast .tx{flex:1;font-size:13px;line-height:1.35} +.toast .tx b{font-family:var(--display);font-size:14.5px} +@keyframes pop{from{transform:scale(.8) translateY(10px);opacity:0}} + +#hint{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 76px);background:var(--ink);color:#fff;border-radius:12px;padding:6px 12px;font-weight:800;font-size:12.5px;z-index:3;pointer-events:none;max-width:min(440px,calc(100% - 32px));text-align:center;box-shadow:3px 3px 0 rgba(30,38,64,.25)} + diff --git a/src/styles/40-modal.css b/src/styles/40-modal.css new file mode 100644 index 0000000..721724b --- /dev/null +++ b/src/styles/40-modal.css @@ -0,0 +1,110 @@ +/* modal */ +.seg.site{margin-top:4px;align-items:center} +.seg.site .meta{margin-right:4px} +.badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:6px} +.bdg{border:2px solid #C9CEDD;border-radius:12px;padding:6px 7px;background:#F3F4F8;opacity:.6;display:flex;flex-direction:column;gap:1px;min-width:0} +.bdg .bi{font-size:20px;filter:grayscale(1)} +.bdg .bt{font:800 12.5px/1.2 "Baloo 2",sans-serif;color:var(--ink)} +.bdg .br{font:900 10px Nunito,sans-serif;color:var(--rc);text-transform:uppercase;letter-spacing:.04em} +.bdg .bd{font-size:11px;color:#5A6280;line-height:1.25} +.bdg.ever{opacity:.85;border-style:dashed;border-color:var(--rc)} +.bdg.on{opacity:1;border-color:var(--rc);background:#fff;box-shadow:0 2px 0 var(--rc)} +.bdg.on .bi,.bdg.ever .bi{filter:none} +.scn{display:flex;gap:10px;align-items:center;border:2px solid #DDE1EC;border-radius:12px;padding:8px 10px;margin-top:8px} +.scn.wk{border-color:var(--me);background:#FFF0F6} +.scn .nm{font-weight:900} +.term{background:#1E2640;color:#7CFFB2;font:600 12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:10px 12px;border-radius:10px;overflow-x:auto;white-space:pre;margin:8px 0} +.trsel{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-top:8px} +.trsel label{display:flex;flex-direction:column;font:800 12px Nunito,sans-serif;gap:2px} +.trsel select{font:700 14px Nunito,sans-serif;padding:4px 6px;border:2px solid var(--ink);border-radius:8px;max-width:240px} +.fact.trb{cursor:pointer;font:inherit;border:2px solid var(--ink);background:#fff} +#coach{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 74px);z-index:16;width:min(520px,calc(100% - 24px));background:#fff;border:3px solid var(--ink);border-radius:14px;box-shadow:0 4px 0 var(--ink);padding:8px 10px;display:flex;gap:8px;align-items:center} +#coach .ct{flex:1;font-weight:800;font-size:14px;line-height:1.35} +#coach .cs{display:block;font:900 10px Nunito,sans-serif;color:var(--me);text-transform:uppercase;letter-spacing:.05em} +.coach-glow{animation:coachglow 1s ease-in-out infinite;position:relative;z-index:2} +@keyframes coachglow{0%,100%{box-shadow:0 0 0 0 rgba(255,79,154,.9)}50%{box-shadow:0 0 0 6px rgba(255,79,154,.35)}} +@media (prefers-reduced-motion:reduce){:root:not(.anim-force) .coach-glow{animation:none;outline:3px solid #FF4F9A}} +:root.no-anim .coach-glow{outline:3px solid #FF4F9A} +.setline{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0} +.setline>span{font-weight:800} +.thb{font:inherit;font-weight:900;background:none;border:0;padding:0;cursor:pointer;color:inherit} +.ttop{margin:4px 0;padding:4px 8px;border-left:3px solid #FF8A3D;background:#FFF6EC;border-radius:6px} +.ibx{border:2px solid var(--line,#DDE3EE);border-radius:12px;padding:8px 10px;margin:8px 0;background:#fff}.ibx .nm{font-weight:800}.ibx.mp{border-color:#FF5A5F;background:#FFF1F1}.ibx.ai{border-color:#8E5CF7;background:#F7F2FF}.ibx .term{font-size:11.5px;white-space:pre-wrap;max-height:180px;overflow:auto}.ibx .cnt{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--me);color:#fff;font-size:11px;text-align:center}.ibx .cnt.red{background:#FF5A5F} +.aibtn{background:linear-gradient(90deg,#8E5CF7,#E84FA8);color:#fff}.aisay{background:#F3ECFF;border:2px solid #8E5CF7;border-radius:10px;padding:8px 10px;color:var(--ink)} +.tehelp h3{margin:14px 0 4px}.tehelp ul{margin:4px 0;padding-left:18px}.tehelp li{margin:4px 0;font-size:13.5px;line-height:1.4}.tehelp dt{margin-top:8px}.tehelp dd{margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--ink2)}.tehelp code{font:600 12.5px ui-monospace,Menlo,Consolas,monospace;background:#1E2640;color:#E6F0FF;border-radius:6px;padding:1px 6px;word-break:break-word} +.terec{display:flex;align-items:center;gap:10px;justify-content:space-between;border-top:2px dashed var(--line,#DDE3EE);padding:8px 0}.terec .btn{flex:none} +.tecode{width:100%;box-sizing:border-box;font:600 13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#1E2640;color:#E6F0FF;border:3px solid var(--ink);border-radius:10px;padding:10px;margin-top:8px;resize:vertical;tab-size:2} +.term.err{color:#FF9AA5} +.menu-list{display:flex;flex-direction:column;gap:8px;margin-top:12px} +.menu-list .b{justify-content:space-between;width:100%} +#mega{position:fixed;left:0;right:0;bottom:0;z-index:17;background:#7A86B8;border-top:3px solid var(--ink);overflow:hidden;white-space:nowrap;pointer-events:none;animation:megaflash 1.2s steps(2) infinite} +#mega .mtrack{display:inline-block;padding:7px 0;animation:megascroll 40s linear infinite;font:900 16px "Baloo 2",sans-serif;color:#fff;text-shadow:0 2px 0 var(--ink)} +#mega span{margin:0 28px} +#mega span::after{content:"🐘";margin-left:56px} +@keyframes megascroll{from{transform:translateX(0)}to{transform:translateX(-50%)}} +@keyframes megaflash{0%{background:#7A86B8}50%{background:#FF4D5E}} +@media (prefers-reduced-motion:reduce){#mega,#mega .mtrack{animation:none}} +#update{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 70px);z-index:18;width:min(520px,calc(100% - 24px));pointer-events:auto} +#update .b{pointer-events:auto} +.notes{margin:10px 0 0;padding-left:20px;line-height:1.5} +.notes li{margin:4px 0} +#bankBox{position:fixed;inset:0;background:rgba(30,38,64,.35);z-index:16;overflow:auto;padding:calc(env(safe-area-inset-top,0px) + 12px) max(12px,env(safe-area-inset-right,0px)) 16px max(12px,env(safe-area-inset-left,0px))} +#bankCard{max-width:760px;margin:0 auto;padding:16px 18px 18px;background:var(--paper)} +.menubtn{cursor:pointer;text-align:left;font:inherit;border-color:var(--ink)} +.menubtn .caret{font-size:13px;margin-left:2px;opacity:.85} +.cashbtn{cursor:pointer;text-align:left;font:inherit;color:inherit;position:relative} +.cashbtn .badge{position:absolute;top:-8px;right:-8px;background:var(--me);color:#fff;border:2.5px solid var(--ink);border-radius:10px;font:900 11px Nunito,sans-serif;padding:0 6px;line-height:16px} +.loan{border:2.5px solid var(--ink);border-radius:14px;padding:10px 12px;margin-top:10px;display:flex;gap:10px;align-items:flex-start} +.loan .grow{flex:1;min-width:0} +.loan .terms{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0} +.grade{font-family:var(--display);font-weight:800;font-size:30px;line-height:1;border:3px solid var(--ink);border-radius:12px;padding:4px 10px;background:var(--sun)} +#dash{position:fixed;inset:0;background:rgba(30,38,64,.35);z-index:15;overflow:auto;padding:calc(env(safe-area-inset-top,0px) + 12px) max(12px,env(safe-area-inset-right,0px)) 16px max(12px,env(safe-area-inset-left,0px))} +#dashCard{max-width:980px;margin:0 auto;padding:16px 18px 18px;background:var(--paper)} +.dgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:10px 0} +.tile{border:2.5px solid var(--ink);border-radius:13px;padding:6px 10px;background:var(--soft)} +.tile .lbl{font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--ink2)} +.tile .val{font-family:var(--display);font-weight:800;font-size:22px;line-height:1.1;font-variant-numeric:tabular-nums} +.tile .sub{font-size:11.5px;color:var(--ink2);font-weight:700} +.dcols{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr);gap:12px} +@media (max-width:760px){.dcols{grid-template-columns:minmax(0,1fr)}} +.panel2{border:2.5px solid var(--ink);border-radius:14px;padding:10px 12px;min-width:0} +.panel2 h3{font-size:17px;margin-bottom:4px} +.chart{width:100%;height:auto;display:block} +.legend{display:flex;flex-wrap:wrap;gap:10px;font-size:11.5px;font-weight:800;color:var(--ink2);margin-top:4px} +.legend i{display:inline-block;width:11px;height:11px;border-radius:3px;border:1.5px solid var(--ink);margin-right:5px;vertical-align:-1px} +.tbl{width:100%;border-collapse:collapse;font-size:12.5px;font-variant-numeric:tabular-nums} +.tbl th{text-align:left;font-size:10px;letter-spacing:.07em;text-transform:uppercase;color:var(--ink2);padding:4px 6px;border-bottom:2px solid var(--ink)} +.tbl td{padding:5px 6px;border-bottom:1px solid var(--line);vertical-align:middle} +.tbl td.r,.tbl th.r{text-align:right} +.mix{display:flex;height:10px;width:100px;border:1.5px solid var(--ink);border-radius:5px;overflow:hidden;background:var(--paper)} +.mix i{display:block;height:100%} +.tscroll{overflow-x:auto} +#modal{position:fixed;inset:0;background:rgba(30,38,64,.45);display:grid;place-items:center;z-index:20;padding:16px max(16px,env(safe-area-inset-right,0px)) 16px max(16px,env(safe-area-inset-left,0px))} +#modal .card{width:min(560px,100%);max-height:calc(100% - 20px);overflow:auto;padding:20px 22px} +.title-art{display:flex;align-items:center;gap:14px} +.title-art h1{font-family:var(--display);font-weight:800;font-size:clamp(34px,7vw,52px);line-height:.95;margin:0;letter-spacing:-.01em} +.title-art h1 span{color:var(--me)} +.tagline{color:var(--ink2);font-size:14.5px;line-height:1.45;margin:10px 0 14px} +label.f{display:block;font-weight:900;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);margin:12px 0 5px} +input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radius:12px;padding:8px 12px;font-family:var(--display);font-weight:800;font-size:18px;background:var(--soft)} +.network-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px} +.network-name input.t{flex:1 1 240px;width:auto;min-width:0} +.plug{display:flex;gap:12px;align-items:center;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;margin:10px 0 4px;background:var(--soft);box-shadow:0 3px 0 var(--ink);color:var(--ink);text-decoration:none} +.plug:hover{background:#FFF6D6}.plug .pi{font-size:30px;line-height:1}.plug b{font-family:var(--display);font-size:16px}.plug .meta{display:block;margin-top:2px}.plug .go{margin-left:auto;font-weight:900;white-space:nowrap} +.starts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.starts .start:last-child:nth-child(odd){grid-column:1/-1} +.start{border:3px solid var(--ink);border-radius:14px;padding:8px 10px;background:var(--paper);cursor:pointer;text-align:left;box-shadow:0 3px 0 var(--ink)} +.starts.one{grid-template-columns:1fr} +.start.on{background:#FFE3F0;border-color:var(--me);box-shadow:0 3px 0 var(--me)} +.start b{font-family:var(--display);font-size:17px;display:block} +.start span{font-size:12px;color:var(--ink2);line-height:1.3;display:block} +.tiers{display:grid;gap:7px;margin-top:10px} +.tierbtn{display:flex;align-items:center;gap:10px;border:3px solid var(--ink);border-radius:13px;padding:8px 12px;background:var(--paper);cursor:pointer;box-shadow:0 3px 0 var(--ink);text-align:left} +.tierbtn:hover{background:#FFF6CF} +.tierbtn:disabled{opacity:.4;cursor:not-allowed} +.tierbtn .sz{font-family:var(--display);font-weight:800;font-size:22px;width:70px} +.tierbtn .grow{flex:1} +.tierbtn .pr{font-family:var(--display);font-weight:800;font-size:18px} +.gl dt{font-family:var(--display);font-weight:800;font-size:16px;margin-top:10px} +.gl dd{margin:2px 0 0;color:var(--ink2);line-height:1.45;font-size:13px} +.kbd{display:inline-block;border:2px solid var(--ink);border-radius:6px;padding:0 5px;font-weight:900;font-size:11px;background:var(--soft)} + diff --git a/src/styles/50-tablet.css b/src/styles/50-tablet.css new file mode 100644 index 0000000..3d86fd1 --- /dev/null +++ b/src/styles/50-tablet.css @@ -0,0 +1,38 @@ +/* Tablets in landscape (and small laptops): slimmer side panels, a tuck-away left panel and + bigger touch targets so the map keeps some room in the middle. */ +@media (min-width:761px) and (max-width:1200px){ + #left{width:272px} + #panel{width:336px} + #left.closed{display:none} + #leftToggle{display:flex;position:fixed;left:max(12px,env(safe-area-inset-left,0px));bottom:calc(env(safe-area-inset-bottom,0px) + 14px);z-index:4} + #leftToggle[hidden]{display:none} +} +@media (min-width:761px) and (max-width:1366px) and (pointer:coarse){ + .b.sm{min-height:32px;padding:5px 11px} + .tabs button{min-height:40px} + .speed button{min-height:34px} +} +/* Mid-size screens: keep the HUD on one row so it never wraps over the side panels. */ +@media (min-width:761px) and (max-width:1360px){ + #hud{gap:6px} + .chip{padding:3px 8px} + .speed{gap:3px;padding:4px 5px} + .speed button{min-width:29px;font-size:12px} +} +@media (min-width:761px) and (max-width:1180px){ + .hide-md{display:none !important} + .brand .val{font-size:17px} + .chip .val{font-size:17px} +} +@media (min-width:761px) and (max-width:960px){ + .brand>div{display:none} + .brand .caret{display:none} + .chip .lbl{font-size:9px} + .chip .val{font-size:15px} +} +@media (min-width:761px) and (max-width:1040px){ + .hide-md2{display:none !important} + .speed button{min-width:26px;height:28px;font-size:11.5px} + .chip{padding:2px 7px} +} + diff --git a/src/styles/60-phone.css b/src/styles/60-phone.css new file mode 100644 index 0000000..f761b4c --- /dev/null +++ b/src/styles/60-phone.css @@ -0,0 +1,111 @@ +/* ================= PHONES ================= + A decluttered, app-like layout: a one-row status strip at the top, a tab bar at the bottom + (play, speed, goals, deals, NOC, networks), and bottom sheets you drag up, down or away. */ +html,body{overscroll-behavior:none} +.dtabs{position:sticky;top:-12px;z-index:3;display:flex;gap:6px;overflow-x:auto;margin:10px -4px 4px;padding:8px 4px;background:var(--paper);border-bottom:2.5px solid var(--ink);scrollbar-width:none} +.dtabs button{flex:0 0 auto;font:800 13px Nunito,sans-serif;border:2.5px solid var(--ink);border-radius:999px;background:#fff;padding:5px 12px;cursor:pointer;color:var(--ink)} +.dtabs button.on{background:var(--pink,#FF4F9A);color:#fff} +.dtabs .cnt{display:inline-block;margin-left:5px;min-width:16px;padding:0 4px;border-radius:8px;background:var(--bad);color:#fff;font-size:10.5px;line-height:16px;text-align:center} +.pcard{border:2.5px solid var(--ink);border-radius:14px;padding:8px 10px;margin:0 0 10px;background:#FFF6CF} +.pcard .pt{font-weight:900;font-size:15px;margin:1px 0 2px}.pcard .kv{margin-top:5px}.pcard .bar{margin-top:2px} +.pcard.lv{background:#EAF6FF} +.pitch{list-style:none;padding:0;margin:10px 0}.pitch li{margin:7px 0;line-height:1.38;font-size:14px}.pitch li.warn{background:#FFF4D6;border:2px solid var(--ink);border-radius:10px;padding:6px 8px} +.isteps{padding-left:22px;margin:8px 0 4px}.isteps li{margin:5px 0;line-height:1.38;font-size:14px}.isteps svg{vertical-align:-3px} +.icard{margin:8px 0 10px;border:2.5px solid var(--ink);border-radius:14px;padding:8px 10px;background:#FFF4D6} +/* iPhone home-screen app with a viewport shorter than the screen: the page box takes the real screen height + and becomes the containing block for everything fixed, so bottom-anchored UI reaches the bottom. */ +html.iosfix,html.iosfix body{height:var(--app-h)} +html.iosfix body{position:fixed;top:0;left:0;right:0;transform:translateZ(0)} +button,.chip,.b,a{touch-action:manipulation;-webkit-tap-highlight-color:transparent} +#hud,#tabbar,.tabs,.grab{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none} +#tabbar,.grab{display:none} +@media (max-width:760px),(max-height:500px) and (pointer:coarse){ + :root{--tabbar:calc(58px + env(safe-area-inset-bottom,0px))} + #hud{flex-wrap:nowrap;top:calc(env(safe-area-inset-top,0px) + 6px);left:max(8px,env(safe-area-inset-left,0px));right:max(8px,env(safe-area-inset-right,0px));gap:5px} + #hud .speed,#hud #hNoc,#hud .spacer{display:none !important} + #hud .chip{flex:0 1 auto;min-width:0} + #hud .chip .lbl{font-size:8.5px;letter-spacing:.05em} + #hud .cashbtn{flex:0 1 auto} + #leftToggle{display:none !important} + #tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9;height:var(--tabbar);padding:6px max(6px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(6px,env(safe-area-inset-left,0px));background:var(--paper);border-top:3px solid var(--ink);box-sizing:border-box;gap:2px;align-items:stretch} + #tabbar button{flex:1 1 0;min-width:0;border:0;background:transparent;border-radius:12px;font:inherit;font-weight:900;font-size:10.5px;color:var(--ink2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:2px 0;position:relative} + #tabbar button .ic{font-size:19px;line-height:1.05;color:var(--ink)} + #tabbar button.on{background:var(--soft);color:var(--ink)} + #tabbar button.play .ic{font-size:21px} + #tabbar button.play.paused{background:#FFE3F0} + #tabbar .cnt{position:absolute;top:2px;right:calc(50% - 22px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--me);color:#fff;font-size:10px;line-height:16px;box-sizing:border-box} + #tabbar .cnt.red{background:var(--bad)} + #left,#panel{top:auto !important;left:0 !important;right:0 !important;width:auto !important;bottom:var(--tabbar) !important;max-height:min(62%,calc(100% - var(--tabbar) - 70px)) !important;border-radius:20px 20px 0 0 !important;border-bottom:0 !important;box-shadow:0 -3px 0 var(--ink) !important;transition:max-height .22s ease,transform .22s ease;z-index:7} + #left.full,#panel.full{max-height:calc(100% - var(--tabbar) - 56px - env(safe-area-inset-top,0px)) !important} + #left.closed{display:none} + .grab{display:block;height:22px;flex:0 0 22px;cursor:grab;touch-action:none;position:relative} + .grab::before{content:"";position:absolute;left:50%;top:8px;width:42px;height:5px;margin-left:-21px;border-radius:3px;background:var(--line)} + #left .tabs{display:none} + .ph{padding-top:0 !important} + .ph h2{font-size:21px} + .ph .eyebrow{font-size:10px} + #panel .tags,#panel .ph .btns{flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none} + #toasts{top:calc(env(safe-area-inset-top,0px) + 54px) !important;bottom:auto !important;width:calc(100% - 16px) !important;flex-direction:column !important;pointer-events:auto} + .toast{pointer-events:auto;padding:6px 10px;border-width:2.5px;box-shadow:2px 2px 0 var(--ink);border-radius:12px} + .toast .tx{font-size:12px;line-height:1.3} + .toast .tx b{font-size:12.5px} + #hint{top:auto !important;bottom:calc(var(--tabbar) + 10px) !important} + body.sheet-open #hint{display:none} + #coach{top:auto !important;bottom:calc(var(--tabbar) + 8px);width:calc(100% - 16px);padding:7px 10px;font-size:13px} + body.sheet-open #coach{bottom:calc(var(--tabbar) + 8px + min(62vh,520px))} + #modal{align-items:end;padding:0} + #modal .cta{position:sticky;bottom:calc(-16px - env(safe-area-inset-bottom,0px));z-index:1;background:var(--paper);margin:12px -16px 0 !important;padding:10px 16px calc(10px + env(safe-area-inset-bottom,0px));border-top:2px solid var(--line)} + .title-art h1{font-size:34px}.title-art svg{width:54px;height:54px} + .tagline{font-size:13.5px;margin:8px 0 10px} + #modal .card{box-sizing:border-box;width:100%;max-height:calc(100% - env(safe-area-inset-top,0px) - 24px);border-radius:22px 22px 0 0;padding:16px 16px calc(16px + env(safe-area-inset-bottom,0px));border-bottom:0} + #dash{padding:calc(env(safe-area-inset-top,0px) + 6px) 0 0} + #dash>.card{border-radius:20px 20px 0 0;min-height:100%} + #mega{bottom:calc(var(--tabbar) + 6px)} + #update{top:auto !important;bottom:calc(var(--tabbar) + 8px) !important;width:calc(100% - 16px) !important;flex-wrap:wrap;gap:6px 8px;padding:8px 10px} + #update .tx{flex:1 1 100%} + #update .b{flex:1 1 0} +} +/* Phones on their side: the sheets slide in from the right and leave the map visible. */ +@media (orientation:landscape) and (max-height:500px) and (pointer:coarse),(orientation:landscape) and (max-width:760px) and (max-height:500px){ + :root{--tabbar:calc(50px + env(safe-area-inset-bottom,0px))} + #left,#panel{left:auto !important;right:0 !important;width:min(440px,58%) !important;top:calc(env(safe-area-inset-top,0px) + 50px) !important;max-height:none !important;border-radius:20px 0 0 0 !important;border-right:0 !important} + #left.full,#panel.full{width:min(640px,80%) !important} + #tabbar button .ic{font-size:16px} + body.sheet-open #coach{bottom:calc(var(--tabbar) + 8px);left:8px;transform:none;width:calc(42% - 16px)} +} +/* Installed as an app: no browser chrome, so leave room for the notch and the home indicator. */ +@media (display-mode: standalone){ + body{background:#57C4E5} +} +/* Whatever the language, the HUD stays on one row: fitHud() drops chips until it fits. */ +#hud.fit1 .hide-md2,#hud.fit2 .hide-md{display:none !important} +#hud.fit3 .brand>div,#hud.fit3 .brand .caret{display:none} +@media (max-width:760px){ + .chip{min-height:40px;padding:2px 8px} + .chip .val{font-size:16px} + .chip .lbl{font-size:9px} + .brand .val{font-size:16px} + .hide-sm{display:none !important} + #hud{gap:6px} + .chip{min-height:34px;padding:2px 7px;border-width:2.5px;box-shadow:2px 2px 0 var(--ink);border-radius:11px} + .chip .val{font-size:14px} + .chip .sub{font-size:10px} + .brand .tube{width:22px;height:22px} + .brand>div{display:none} + .speed{padding:2px 4px;gap:3px} + .speed button{min-width:28px;height:26px;font-size:11.5px;border-width:2px;border-radius:7px} + .spacer{display:none} + #left{top:auto} + #left{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);left:8px;right:8px;width:auto;max-height:55%} + #left.closed{display:none} + #leftToggle{display:flex;position:fixed;left:max(12px,env(safe-area-inset-left,0px));bottom:calc(env(safe-area-inset-bottom,0px) + 14px);z-index:4} + #panel{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 8px);left:8px;right:8px;width:auto;max-height:58%;z-index:6} + .ph h2{font-size:22px} + #hint{top:auto;bottom:calc(env(safe-area-inset-bottom,0px) + 70px)} + #toasts{bottom:auto;top:calc(env(safe-area-inset-top,0px) + 112px);flex-direction:column;width:calc(100% - 24px)} + .toast{padding:6px 10px;border-width:2.5px;box-shadow:2px 2px 0 var(--ink)} + .toast .tx{font-size:12px} + .toast .tx b{font-size:13px} +} +@media (prefers-reduced-motion:reduce){:root:not(.anim-force) *{animation:none !important;transition:none !important}} +:root.no-anim *{animation:none !important;transition:none !important} diff --git a/tests/build.test.js b/tests/build.test.js index fb743e7..503096a 100644 --- a/tests/build.test.js +++ b/tests/build.test.js @@ -8,7 +8,7 @@ const OUT = require('node:fs').mkdtempSync(require('node:path').join(require('no const root = path.join(__dirname, '..'); test('build stamps version and date into the site', () => { - execFileSync('bash', ['scripts/build.sh'], { cwd: root, env: { ...process.env, OUT, VERSION: '9.9.9', BUILD_DATE: '2030-01-01' } }); + execFileSync(process.execPath, ['scripts/build.js'], { cwd: root, env: { ...process.env, OUT, VERSION: '9.9.9', BUILD_DATE: '2030-01-01' } }); const html = fs.readFileSync(path.join(OUT, 'index.html'), 'utf8'); assert.match(html, /const APP_VERSION='9\.9\.9'/); assert.match(html, /"softwareVersion": "9\.9\.9"/); @@ -19,7 +19,7 @@ test('build stamps version and date into the site', () => { }); test('version.json carries the release notes from the changelog', () => { - execFileSync('bash', ['scripts/build.sh'], { cwd: root, env: { ...process.env, OUT, VERSION: '1.0.0', BUILD_DATE: '2026-10-23' } }); + execFileSync(process.execPath, ['scripts/build.js'], { cwd: root, env: { ...process.env, OUT, VERSION: '1.0.0', BUILD_DATE: '2026-10-23' } }); const v = JSON.parse(fs.readFileSync(path.join(OUT, 'version.json'), 'utf8')); assert.equal(v.version, '1.0.0'); assert.ok(v.notes.length >= 5); @@ -27,7 +27,7 @@ test('version.json carries the release notes from the changelog', () => { }); test('head carries the SEO and social metadata', () => { - const html = fs.readFileSync(path.join(root, 'site', 'index.html'), 'utf8'); + const html = require('../scripts/lib/page').assemble().html; for (const needle of ['', 'property="og:image"', 'name="twitter:card"', 'application/ld+json', 'rel="manifest"', 'name="description"']) { assert.ok(html.includes(needle), `missing ${needle}`); } @@ -37,6 +37,6 @@ test('head carries the SEO and social metadata', () => { }); test('a release build refuses to ship without release notes', () => { - assert.throws(() => execFileSync('bash', ['scripts/build.sh'], { cwd: root, stdio: 'pipe', env: { ...process.env, OUT, VERSION: '9.9.9', REQUIRE_NOTES: '1' } })); - assert.throws(() => execFileSync('bash', ['scripts/build.sh'], { cwd: root, stdio: 'pipe', env: { ...process.env, OUT, VERSION: '1.0; rm -rf /' } }), 'junk versions are rejected'); + assert.throws(() => execFileSync(process.execPath, ['scripts/build.js'], { cwd: root, stdio: 'pipe', env: { ...process.env, OUT, VERSION: '9.9.9', REQUIRE_NOTES: '1' } })); + assert.throws(() => execFileSync(process.execPath, ['scripts/build.js'], { cwd: root, stdio: 'pipe', env: { ...process.env, OUT, VERSION: '1.0; rm -rf /' } }), 'junk versions are rejected'); }); diff --git a/tests/harness.js b/tests/harness.js index dd147f1..abff851 100644 --- a/tests/harness.js +++ b/tests/harness.js @@ -1,12 +1,17 @@ -// Loads site/index.html in jsdom with the animation loop disabled, so tests can -// drive the simulation directly through the game's globals (ACT, S, R, dayTick…). +// Loads the game page in jsdom with the animation loop disabled, so tests can drive the simulation +// directly through the game's globals (ACT, S, R, dayTick…). The page is assembled from src/ once per +// test process (scripts/lib/page.js), so tests always run what is in src/, never a stale build. const fs = require('node:fs'); const path = require('node:path'); const { JSDOM, VirtualConsole } = require('jsdom'); +const { assemble } = require('../scripts/lib/page'); +let PAGE = null; +const page = () => PAGE || (PAGE = assemble().html); + +// opts.file: a built or older page to load instead (the perf bench, the release build test). function load(opts = {}) { - const file = opts.file || path.join(__dirname, '..', 'site', 'index.html'); - const html = fs.readFileSync(file, 'utf8'); + const html = opts.file ? fs.readFileSync(opts.file, 'utf8') : page(); const errors = []; const vc = new VirtualConsole(); vc.on('jsdomError', (e) => { diff --git a/tests/perf.test.js b/tests/perf.test.js index fe7ac39..a4233af 100644 --- a/tests/perf.test.js +++ b/tests/perf.test.js @@ -25,7 +25,7 @@ test('perf bench: runs end to end on a small save and compares a version with it const save = path.join(dir, 'save.json'), js = path.join(dir, 'out.json'); fs.writeFileSync(save, JSON.stringify({ app: 'series-of-tubes', version: 'test', S: JSON.parse(ev('JSON.stringify(S)')) })); const md = execFileSync(process.execPath, [path.join(__dirname, '..', 'scripts', 'perf-bench.js'), '--save', save, - '--base', path.join(__dirname, '..', 'site', 'index.html'), '--runs', '3', '--json', js], { encoding: 'utf8' }); + '--base', require('../scripts/lib/page').pageFile(path.join(dir, 'base.html')), '--runs', '3', '--json', js], { encoding: 'utf8' }); assert.match(md, /2 POPs/, 'reads an exported save'); assert.match(md, /Routing results are identical to the base/); assert.match(md, /\| Routing: compute\(\) \|/); diff --git a/tests/persist.test.js b/tests/persist.test.js index 2a871c8..733b1ef 100644 --- a/tests/persist.test.js +++ b/tests/persist.test.js @@ -32,7 +32,7 @@ test('leaving the page saves the game', () => { test('returning players see what is new after an update, once', () => { const { saved } = playedGame(); - execFileSync('bash', ['scripts/build.sh'], { cwd: root, env: { ...process.env, OUT, VERSION: '1.1.0', BUILD_DATE: '2026-10-23' } }); + execFileSync(process.execPath, ['scripts/build.js'], { cwd: root, env: { ...process.env, OUT, VERSION: '1.1.0', BUILD_DATE: '2026-10-23' } }); const file = path.join(OUT, 'index.html'); const b = load({ file, storage: { 'sot-save-v1': saved, 'sot-seen-version': '1.0.0' } }); const text = b.ev("document.getElementById('modalCard').textContent"); From c64b139a862503d53027f09844c3bdb31d554c58 Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Tue, 27 Oct 2026 10:10:16 +0100 Subject: [PATCH 006/546] Fewer merge conflicts: actions by area, one city per line, sorted dictionaries - ACT is split by area into game/90-actions/*.js (const ACT in the first file, Object.assign in the rest) - CITY_LL, CITY_NUDGE and LANDS_LL have one entry per line; the id-keyed ones are sorted - site/i18n/*.js are sorted, one entry per line; i18n-check enforces it and --fix (npm run i18n:fix) restores it; scripts/i18n-add.js adds, removes and renames entries in place - scripts/legacy/port-branch.js moves a branch's site/index.html edits into src/ during a merge with main - perf workflow and PR template build the base page with scripts/lib/page.js --- .github/pull_request_template.md | 5 +- .github/workflows/perf.yml | 5 +- package.json | 1 + scripts/i18n-add.js | 39 + scripts/i18n-check.js | 10 +- scripts/legacy/port-branch.js | 96 + scripts/legacy/transforms.js | 100 +- scripts/lib/dict.js | 46 + scripts/lib/page.js | 2 +- site/i18n/fr.js | 5794 ++++++++--------- site/i18n/it.js | 5766 ++++++++-------- site/i18n/pt.js | 5766 ++++++++-------- src/game/20-world/20-landmasses.js | 45 +- src/game/20-world/40-city-coords.js | 205 +- src/game/20-world/50-cities.js | 65 +- src/game/90-actions/00-actions.js | 294 - src/game/90-actions/10-interface.js | 49 + src/game/90-actions/20-pops-transit-ix.js | 26 + .../90-actions/30-route-script-and-tools.js | 27 + .../90-actions/40-sites-peering-caches.js | 35 + src/game/90-actions/50-customers.js | 19 + src/game/90-actions/60-links.js | 33 + src/game/90-actions/70-dashboard-lists.js | 17 + src/game/90-actions/80-security-and-china.js | 19 + src/game/90-actions/85-routing-and-routers.js | 15 + src/game/90-actions/87-fiber-and-hardware.js | 37 + src/game/90-actions/89-game-and-settings.js | 37 + 27 files changed, 9582 insertions(+), 8971 deletions(-) create mode 100644 scripts/i18n-add.js create mode 100644 scripts/legacy/port-branch.js create mode 100644 scripts/lib/dict.js delete mode 100644 src/game/90-actions/00-actions.js create mode 100644 src/game/90-actions/10-interface.js create mode 100644 src/game/90-actions/20-pops-transit-ix.js create mode 100644 src/game/90-actions/30-route-script-and-tools.js create mode 100644 src/game/90-actions/40-sites-peering-caches.js create mode 100644 src/game/90-actions/50-customers.js create mode 100644 src/game/90-actions/60-links.js create mode 100644 src/game/90-actions/70-dashboard-lists.js create mode 100644 src/game/90-actions/80-security-and-china.js create mode 100644 src/game/90-actions/85-routing-and-routers.js create mode 100644 src/game/90-actions/87-fiber-and-hardware.js create mode 100644 src/game/90-actions/89-game-and-settings.js diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index 749bba5..b4f1a0a 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -8,8 +8,7 @@ ## Performance - diff --git a/.github/workflows/perf.yml b/.github/workflows/perf.yml index 98dbd90..48c05e4 100644 --- a/.github/workflows/perf.yml +++ b/.github/workflows/perf.yml @@ -6,7 +6,9 @@ name: Performance on: pull_request: paths: + - 'src/**' - 'site/**' + - 'scripts/lib/**' - 'scripts/perf-*.js' - 'tests/fixtures/**' - 'tests/harness.js' @@ -32,7 +34,8 @@ jobs: BASE_SHA: ${{ github.event.pull_request.base.sha }} run: | git fetch --depth=1 origin "$BASE_SHA" - git show FETCH_HEAD:site/index.html > "$RUNNER_TEMP/base.html" + # The base's page, assembled by the base's own scripts (or its site/index.html from before the split). + node scripts/lib/page.js --ref FETCH_HEAD -o "$RUNNER_TEMP/base.html" echo "BASE_ARG=--base $RUNNER_TEMP/base.html" >> "$GITHUB_ENV" - name: Benchmark # The runner image ships Google Chrome; playwright-core (a dev dependency) drives it, no browser download. diff --git a/package.json b/package.json index 85164a2..7dee9e3 100644 --- a/package.json +++ b/package.json @@ -13,6 +13,7 @@ "test": "node scripts/test.js", "build": "node scripts/build.js", "i18n:check": "node scripts/i18n-check.js", + "i18n:fix": "node scripts/i18n-check.js --fix", "dev": "node scripts/dev.js", "page": "node scripts/lib/page.js", "serve": "npm run build && npx --yes serve@14.2.4 _site", diff --git a/scripts/i18n-add.js b/scripts/i18n-add.js new file mode 100644 index 0000000..5cb066d --- /dev/null +++ b/scripts/i18n-add.js @@ -0,0 +1,39 @@ +#!/usr/bin/env node +// Adds, changes, renames or removes dictionary entries, keeping every site/i18n/*.js sorted (scripts/lib/dict.js). +// +// node scripts/i18n-add.js changes.json {"it": {"English": "Italiano", "Old text": null}, "pt": {…}} +// a string adds or replaces the entry, null removes it +// node scripts/i18n-add.js - the same JSON from stdin +// node scripts/i18n-add.js --rename "Old English" "New English" move a key in every dictionary +const fs = require('node:fs'); +const D = require('./lib/dict'); + +const args = process.argv.slice(2); +if (args[0] === '--rename') { + const [, from, to] = args; + if (!from || !to) { console.error('usage: i18n-add.js --rename "Old English" "New English"'); process.exit(2); } + for (const lang of D.langs()) { + const { header, dict } = D.read(lang); + if (!(from in dict)) { console.log(`${lang}: no entry for ${JSON.stringify(from)}`); continue; } + if (to in dict && to !== from) { console.error(`${lang}: already has ${JSON.stringify(to)}`); process.exit(1); } + dict[to] = dict[from]; + if (to !== from) delete dict[from]; + D.write(lang, dict, header); + console.log(`${lang}: renamed`); + } + process.exit(0); +} +if (args.length !== 1) { console.error('usage: i18n-add.js changes.json | - | --rename OLD NEW'); process.exit(2); } +const changes = JSON.parse(fs.readFileSync(args[0] === '-' ? 0 : args[0], 'utf8')); +for (const [lang, entries] of Object.entries(changes)) { + if (!D.langs().includes(lang)) { console.error(`no dictionary site/i18n/${lang}.js`); process.exit(1); } + const { header, dict } = D.read(lang); + let add = 0, del = 0; + for (const [en, xx] of Object.entries(entries)) { + if (xx === null) { if (en in dict) { delete dict[en]; del++; } continue; } + if (typeof xx !== 'string' || !xx.trim()) { console.error(`${lang}: empty translation for ${JSON.stringify(en)}`); process.exit(1); } + dict[en] = xx; add++; + } + D.write(lang, dict, header); + console.log(`${lang}: ${add} added or changed, ${del} removed`); +} diff --git a/scripts/i18n-check.js b/scripts/i18n-check.js index 0290654..f286bfd 100644 --- a/scripts/i18n-check.js +++ b/scripts/i18n-check.js @@ -2,7 +2,8 @@ // Checks a translation against the English text in the game page (assembled from src/): every tr()/trn()/N_() literal and // every data-i18n text, aria-label and title in the static markup should have an entry, no stale entry // should linger, and each translation must keep the {placeholders} and HTML tags of its English key. -// Usage: node scripts/i18n-check.js [lang ...] [--summary FILE] (default: every site/i18n/*.js) +// Usage: node scripts/i18n-check.js [lang ...] [--summary FILE] [--fix] (default: every site/i18n/*.js) +// Dictionaries must also be sorted, one entry per line (scripts/lib/dict.js); --fix sorts them. // It also checks that each language is offered in the game and cached for offline play, and with --summary // appends a Markdown coverage table (the CI job writes it to the run's summary page). const fs = require('node:fs'); @@ -65,6 +66,7 @@ function registration(lang) { const m = html.match(/SOT_LANGS=\{([^}]*)\}/); if (!m || !new RegExp(String.raw`(^|[,{\s])${lang}\s*:`).test(m[1])) out.push('not in the language list (SOT_LANGS in src/index.html)'); if (!sw.includes(`/i18n/${lang}.js`)) out.push('not cached for offline play (CORE in site/sw.js)'); + if (!require('./lib/dict').tidy(lang)) out.push('not sorted one entry per line: run npm run i18n:fix'); return out; } @@ -72,6 +74,12 @@ if (require.main === module) { const args = process.argv.slice(2); const si = args.indexOf('--summary'); const summary = si >= 0 ? args.splice(si, 2)[1] : null; // append a Markdown table here (CI: $GITHUB_STEP_SUMMARY) + const fi = args.indexOf('--fix'); + if (fi >= 0) { + args.splice(fi, 1); + const D = require('./lib/dict'); + for (const lang of args.length ? args : D.langs()) { const { header, dict } = D.read(lang); D.write(lang, dict, header); } + } const keys = sourceKeys(page()); const files = (args.length ? args.map((l) => `${l}.js`) : fs.readdirSync(path.join(SITE, 'i18n'))) .map((f) => path.join(SITE, 'i18n', f)); diff --git a/scripts/legacy/port-branch.js b/scripts/legacy/port-branch.js new file mode 100644 index 0000000..faf0e1a --- /dev/null +++ b/scripts/legacy/port-branch.js @@ -0,0 +1,96 @@ +#!/usr/bin/env node +// Carries a branch that still edits site/index.html (started before the page was split into src/) over +// to the src/ layout. Run it in the middle of merging main into that branch: +// +// git checkout my-branch +// git merge origin/main # stops: site/index.html was deleted on main +// node scripts/legacy/port-branch.js # moves your edits into src/, merges the dictionaries +// git status # fix any conflict markers it reports, then +// git commit +// +// How: your branch's site/index.html and the one you started from are both split with the same rules +// that made src/ (split-index-html.js + transforms.js), and each partial gets a three-way merge +// (git merge-file) into the src/ file from main. Your dictionary changes (site/i18n/*.js) are applied +// entry by entry onto main's sorted dictionaries, so appended lines never conflict. +// +// Options: --base REF (the pre-split commit your page started from; default: merge-base of HEAD and +// MERGE_HEAD) and --theirs REF (your branch; default HEAD). +const fs = require('node:fs'); +const os = require('node:os'); +const path = require('node:path'); +const { execFileSync, spawnSync } = require('node:child_process'); +const { split } = require('./split-index-html'); +const { transform } = require('./transforms'); +const D = require('../lib/dict'); + +const ROOT = path.join(__dirname, '..', '..'); +const args = process.argv.slice(2); +const opt = (k, d) => { const i = args.indexOf(k); return i >= 0 ? args[i + 1] : d; }; +const git = (...a) => execFileSync('git', a, { cwd: ROOT, encoding: 'utf8', maxBuffer: 1 << 28, stdio: ['ignore', 'pipe', 'pipe'] }); +const show = (ref, p) => { try { return git('show', `${ref}:${p}`); } catch { return null; } }; +const die = (m) => { console.error(`port-branch: ${m}`); process.exit(1); }; + +let mergeHead = null; +try { mergeHead = git('rev-parse', '-q', '--verify', 'MERGE_HEAD').trim(); } catch {} +const theirs = opt('--theirs', 'HEAD'); +const base = opt('--base', null) || (mergeHead ? git('merge-base', theirs, mergeHead).trim() : null); +if (!base) die('no merge in progress: run `git merge origin/main` first, or pass --base REF'); +if (!fs.existsSync(path.join(ROOT, 'src', 'index.html'))) die('src/ is missing: merge main (which has src/) first'); + +const basePage = show(base, 'site/index.html'), theirPage = show(theirs, 'site/index.html'); +if (!basePage) die(`${base} has no site/index.html; is it from before the split?`); +if (!theirPage) die(`${theirs} has no site/index.html; nothing to port`); + +const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'tubes-port-')); +const parts = (html, label) => { + try { return new Map(transform(split(html))); } + catch (e) { die(`could not split ${label}'s site/index.html the way src/ was made: ${e.message}`); } +}; +const B = parts(basePage, 'the base'), T = parts(theirPage, 'your branch'); +let changed = 0; +const conflicts = []; +for (const [file, t] of T) { + const b = B.get(file); + if (b === t) continue; // you did not touch this part + const ours = path.join(ROOT, 'src', file); + if (!fs.existsSync(ours)) { conflicts.push(`${file} (no longer exists on main; apply your change by hand)`); continue; } + const fb = path.join(tmp, 'base'), ft = path.join(tmp, 'theirs'); + fs.writeFileSync(fb, b || ''); + fs.writeFileSync(ft, t); + const r = spawnSync('git', ['merge-file', '-L', 'main', '-L', 'base', '-L', 'your branch', ours, fb, ft], { cwd: ROOT }); + changed++; + if (r.status !== 0) conflicts.push(`src/${file}`); +} + +// Dictionaries: your additions, edits and removals, applied onto main's sorted files. +for (const lang of D.langs()) { + const rel = `site/i18n/${lang}.js`; + const tb = show(base, rel), tt = show(theirs, rel); + if (!tt || tb === tt) continue; + const db = tb ? D.parse(tb, lang) : {}, dt = D.parse(tt, lang); + const main = mergeHead ? show(mergeHead, rel) : null; + // During a merge the working file may hold conflict markers, so start from main's own copy. + const { header, dict } = main ? { header: main.slice(0, main.indexOf('(window.I18N')), dict: D.parse(main, lang) } : D.read(lang); + let n = 0; + for (const k of new Set([...Object.keys(db), ...Object.keys(dt)])) { + if (db[k] === dt[k]) continue; + if (k in dict && db[k] !== dict[k] && dict[k] !== dt[k] && k in dt) conflicts.push(`${rel}: ${JSON.stringify(k)} changed on both sides (kept yours)`); + if (k in dt) dict[k] = dt[k]; else delete dict[k]; + n++; + } + D.write(lang, dict, header); + git('add', rel); + console.log(`${rel}: ${n} of your entries applied`); +} + +if (fs.existsSync(path.join(ROOT, 'site', 'index.html'))) fs.rmSync(path.join(ROOT, 'site', 'index.html')); +try { git('rm', '-q', '--cached', '--ignore-unmatch', 'site/index.html'); } catch {} +fs.rmSync(tmp, { recursive: true, force: true }); +console.log(`Ported your site/index.html changes into ${changed} file(s) under src/.`); +if (conflicts.length) { + console.log('Resolve these by hand (look for <<<<<<< markers), then git add them:'); + for (const c of conflicts) console.log(` ${c}`); + process.exit(1); +} +git('add', 'src'); +console.log('No conflicts. Run npm test, then git commit.'); diff --git a/scripts/legacy/transforms.js b/scripts/legacy/transforms.js index fe2b373..ecff6af 100644 --- a/scripts/legacy/transforms.js +++ b/scripts/legacy/transforms.js @@ -1,2 +1,98 @@ -// Tidying applied after the split (filled in by the next commit). -module.exports = { transform: (parts) => parts }; +// Tidying applied right after the split, to cut down merge conflicts. Each one keeps behaviour the same +// and only changes where code sits or how a literal is laid out. They run as part of +// split-index-html.js, so work from older branches lines up with src/ when it is ported. +// +// 1. The ACT map (every player action) becomes one file per area under game/90-actions/: the first file +// declares `const ACT={…}` and the others add to it with Object.assign. Two people adding actions in +// different areas no longer touch the same lines. +// 2. Coordinate tables that lived on one very long line (CITY_LL, CITY_NUDGE, LANDS_LL) get one entry per +// line, CITY_LL and CITY_NUDGE sorted by id: adding a city no longer edits a 4,000-character line +// that everyone else is editing too. + +// [file, first action in it]. A group runs until the next group's first action. +const ACT_GROUPS = [ + ['game/90-actions/10-interface.js', 'speed'], + ['game/90-actions/20-pops-transit-ix.js', 'buildPop'], + ['game/90-actions/30-route-script-and-tools.js', 'teEdit'], + ['game/90-actions/40-sites-peering-caches.js', 'addSite'], + ['game/90-actions/50-customers.js', 'advertise'], + ['game/90-actions/60-links.js', 'upLink'], + ['game/90-actions/70-dashboard-lists.js', 'custGo'], + ['game/90-actions/80-security-and-china.js', 'applyCn'], + ['game/90-actions/85-routing-and-routers.js', 'via'], + ['game/90-actions/87-fiber-and-hardware.js', 'dfMode'], + ['game/90-actions/89-game-and-settings.js', 'randomName'], +]; + +function splitActions(text) { + const lines = text.split('\n'); + if (lines[lines.length - 1] === '') lines.pop(); + const open = lines.indexOf('const ACT={'), close = lines.lastIndexOf('};'); + if (open < 0 || close < open) throw new Error('90-actions: no `const ACT={ … };` block'); + if (lines.slice(close + 1).some((l) => l.trim())) throw new Error('90-actions: code after the ACT block'); + const keyAt = (k) => lines.findIndex((l, i) => i > open && i < close && l.startsWith(` ${k}:`)); + const starts = ACT_GROUPS.map(([file, k]) => { + const i = keyAt(k); + if (i < 0) throw new Error(`90-actions: action ${k} not found (for ${file})`); + return i; + }); + if (starts.some((s, i) => i && s <= starts[i - 1])) throw new Error('90-actions: actions are out of the expected order'); + return ACT_GROUPS.map(([file], g) => { + const from = g ? starts[g] : 0, to = g + 1 < starts.length ? starts[g + 1] : close; + const body = lines.slice(from, to); + const out = g ? ['Object.assign(ACT,{', ...body, '});'] : [...body, '};']; + return [file, out.join('\n') + '\n']; + }); +} + +// The top-level entries of an array or object literal source "a,b,c" (no brackets around it). +function entries(src) { + const out = []; + let depth = 0, q = null, start = 0; + for (let i = 0; i < src.length; i++) { + const c = src[i]; + if (q) { if (c === '\\') i++; else if (c === q) q = null; continue; } + if (c === '"' || c === "'" || c === '`') q = c; + else if ('[{('.includes(c)) depth++; + else if (']})'.includes(c)) depth--; + else if (c === ',' && depth === 0) { out.push(src.slice(start, i).trim()); start = i + 1; } + } + if (depth || q) throw new Error('unbalanced literal'); + const last = src.slice(start).trim(); + if (last) out.push(last); + return out; +} + +const idOf = (e) => e.match(/^["']?([\w$]+)["']?\s*:/)[1]; +const byId = (a, b) => (idOf(a) < idOf(b) ? -1 : idOf(a) > idOf(b) ? 1 : 0); + +// `HEAD{entries}TAIL` on one line → HEAD, one entry per line, TAIL. Lines that don't match stay as they are. +function oneLine(text, re, { sort = false, indent = ' ' } = {}) { + return text.split('\n').map((l) => { + const m = re.exec(l); + if (!m) return l; + let es = entries(m[2]); + if (sort) { + // Sorting is only safe without duplicate keys (with duplicates, the last one wins). + const ids = es.map(idOf); + if (new Set(ids).size !== ids.length) throw new Error(`duplicate keys in ${m[1]}`); + es = es.slice().sort(byId); + } + return [m[1], ...es.map((e) => indent + e + ','), m[3]].join('\n'); + }).join('\n'); +} + +function transform(parts) { + const out = []; + for (const [file, text] of parts) { + if (file === 'game/90-actions/00-actions.js') out.push(...splitActions(text)); + else if (file === 'game/20-world/40-city-coords.js') out.push([file, oneLine(text, /^(const CITY_LL=\{)(.*)(\};)$/, { sort: true })]); + else if (file === 'game/20-world/50-cities.js') out.push([file, oneLine(text, /^(const CITY_NUDGE=\{)(.*)(\};)$/, { sort: true })]); + else if (file === 'game/20-world/20-landmasses.js') { + out.push([file, oneLine(oneLine(text, /^(const LANDS_LL=\[)(.*)(\];)$/), /^(LANDS_LL\.push\()(.*)(\);)$/)]); + } else out.push([file, text]); + } + return out; +} + +module.exports = { transform, entries }; diff --git a/scripts/lib/dict.js b/scripts/lib/dict.js new file mode 100644 index 0000000..66b0388 --- /dev/null +++ b/scripts/lib/dict.js @@ -0,0 +1,46 @@ +// Reads and writes the translation dictionaries in site/i18n/.js. +// +// Every dictionary is kept in one canonical layout: the header comment, then one `"English":"Translation",` +// entry per line, sorted by the English text. Sorted entries spread new strings across the file instead of +// piling them up at the end, so two pull requests that each add strings rarely touch the same lines. +// `npm run i18n:check` reports a dictionary that is out of order; `npm run i18n:fix` puts it back. +const fs = require('node:fs'); +const path = require('node:path'); +const vm = require('node:vm'); + +const DIR = path.join(__dirname, '..', '..', 'site', 'i18n'); +const fileOf = (lang) => path.join(DIR, `${lang}.js`); +const langs = () => fs.readdirSync(DIR).filter((f) => f.endsWith('.js')).map((f) => path.basename(f, '.js')).sort(); + +// Plain code-unit order: the same on every machine, whatever its locale. +const cmp = (a, b) => (a < b ? -1 : a > b ? 1 : 0); + +function parse(text, lang) { + const window = {}; + vm.runInNewContext(text, { window }); + return (window.I18N || {})[lang] || {}; +} + +function read(lang) { + const text = fs.readFileSync(fileOf(lang), 'utf8'); + const open = text.indexOf(`(window.I18N=window.I18N||{}).${lang}={`); + if (open < 0) throw new Error(`${lang}.js: missing the (window.I18N=window.I18N||{}).${lang}={ line`); + return { text, header: text.slice(0, open), dict: parse(text, lang) }; +} + +function format(lang, header, dict) { + const keys = Object.keys(dict).sort(cmp); + return `${header}(window.I18N=window.I18N||{}).${lang}={\n${keys.map((k) => `${JSON.stringify(k)}:${JSON.stringify(dict[k])},\n`).join('')}};\n`; +} + +// True when the file is already in the canonical layout. +function tidy(lang) { + const { text, header, dict } = read(lang); + return text === format(lang, header, dict); +} + +function write(lang, dict, header = read(lang).header) { + fs.writeFileSync(fileOf(lang), format(lang, header, dict)); +} + +module.exports = { DIR, fileOf, langs, read, write, format, tidy, parse, cmp }; diff --git a/scripts/lib/page.js b/scripts/lib/page.js index 935b849..e4267b1 100644 --- a/scripts/lib/page.js +++ b/scripts/lib/page.js @@ -74,7 +74,7 @@ function locate(map, line) { // The page at a git ref: that commit's src/ through its own assembler, or site/index.html before the split. function assembleRef(ref, cwd = ROOT) { - const git = (...a) => execFileSync('git', a, { cwd, encoding: 'utf8', maxBuffer: 1 << 28 }); + const git = (...a) => execFileSync('git', a, { cwd, encoding: 'utf8', maxBuffer: 1 << 28, stdio: ['ignore', 'pipe', 'pipe'] }); const has = (p) => { try { git('cat-file', '-e', `${ref}:${p}`); return true; } catch { return false; } }; if (!has('src/index.html')) return git('show', `${ref}:site/index.html`); const tmp = fs.mkdtempSync(path.join(os.tmpdir(), 'tubes-ref-')); diff --git a/site/i18n/fr.js b/site/i18n/fr.js index 30dbf74..6375933 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -1,2933 +1,2933 @@ -// French. Keys are the English text exactly as passed to tr()/trn()/N_() in index.html (or as it stands -// in its data-i18n markup, aria-label or title); check with: npm run i18n:check +// French. Keys are the English text exactly as passed to tr()/trn()/N_() in src/ (or as it stands +// in its data-i18n markup, aria-label or title); sorted; check with: npm run i18n:check, add with scripts/i18n-add.js (window.I18N=window.I18N||{}).fr={ -"The Other Building":"L’autre bâtiment", -"Campus B (the one with parking)":"Campus B (celui avec le parking)", -"Across-the-River DC":"Le DC sur l’autre rive", -"The Annex":"L’annexe", -"Suburban Mega-shed":"Méga-hangar de banlieue", -"The Cheaper One":"Le moins cher", -"Formerly a Shopping Mall":"Ancien centre commercial", -"Bunker Two":"Bunker 2", -"handed off as 4×1.6T":"livrée en 4×1.6T", -"a mystery ASIC":"un ASIC mystère", -"Bought used on eBuy. The fans sound like a jet engine.":"Acheté d’occasion sur eBuy. Les ventilos font un bruit de réacteur d’avion.", -"merchant silicon":"merchant silicon", -"Sharp, edgy, and finally speaks 400G and 400ZR+.":"Affûté, rebelle, et parle enfin 400G et 400ZR+.", -"An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.":"Un monstre aux ports 800G, construit autour de la puce de forwarding Junipurr PacketOinker™. Fait groin-groin à line rate. Accepte les optiques 800ZR+.", -"PacketOinker² (two pigs, one chassis)":"PacketOinker² (deux cochons, un seul châssis)", -"1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.":"Ports 1.6T, son propre microclimat et deux puces PacketOinker² par line card. Accepte les longueurs d’onde 6.4T en 4×1.6T. Chariot élévateur requis.", -"a few dozen ARM cores":"quelques dizaines de cœurs ARM", -"Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.":"Coûte moins cher qu’un déjeuner et a deux fois plus de ports que le Rusty. Le configurer prend plus de temps que le déjeuner.", -"Tomahack merchant silicon":"merchant silicon Tomahack", -"A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.":"Un switch bare-metal sous SONiC open source. Fait économiser une fortune, jusqu’au jour où il plante et qu’il n’y a personne à appeler.", -"Jerry-cho deep-buffer silicon":"puce deep-buffer Jerry-cho", -"Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.":"Config fixe, buffers profonds, barbe soigneusement taillée et bandeau sur l’œil. Tourne sous EOS, l’Extensible Operating Ship. Démarre avant que ton flat white au lait d’avoine soit prêt, et embarque un shell Python que personne n’a demandé.", -"Jerry-cho³ deep-buffer silicon":"puce deep-buffer Jerry-cho³", -"The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.":"Le modulaire. Quatre-vingt-seize ports 800G, des buffers assez profonds pour y perdre un navire, et des release notes uniquement sur vinyle. Arrr.", -"Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.":"Pas cher à l’achat, ruineux à l’usage : une clé de licence pour chaque port, chaque fonction et, paraît-il, les ventilos. Smart Licensing téléphone maison chaque semaine.", -"Fin-P network processor":"processeur réseau Fin-P", -"Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.":"Ingénierie finlandaise : indestructible, d’une minutie extrême, et la CLI ne parle que la config hiérarchique. Démarre comme un lever de soleil nordique.", -"is oinking through the self-test of every PacketOinker on every line card":"fait groin-groin pendant l’autotest de chaque PacketOinker sur chaque line card", -"is running fsck on a compact flash card older than your interns":"lance un fsck sur une carte CompactFlash plus vieille que tes stagiaires", -"found a newer firmware on the USB stick someone left in it, and is installing it":"a trouvé un firmware plus récent sur la clé USB que quelqu’un a oubliée dedans, et l’installe", -"is counting to 2 million routes. Out loud. One at a time":"compte jusqu’à 2 millions de routes. À voix haute. Une par une", -"is waiting for the line cards to agree on who is the primary":"attend que les line cards se mettent d’accord sur qui est le primaire", -"booted, panicked about a missing fan tray, and started again":"a démarré, a paniqué à cause d’un tiroir de ventilos manquant, et recommence", -"is \"synchronising the routing engines\". Nobody knows what that means":"est en train de « synchroniser les routing engines ». Personne ne sait ce que ça veut dire", -"No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).":"Aucun port routeur libre à {city}.
{u} sur {m} utilisés. Ajoute un routeur, ou passe à un modèle avec plus de ports (onglet Infra).", -"A wave here is faster than {pn}.":"Une longueur d’onde ici est plus rapide que {pn}.", -"A port here is bigger than {pn}.":"Un port ici est plus gros que {pn}.", -"A fibre here uses optics this model cannot take.":"Une fibre ici utilise des optiques que ce modèle n’accepte pas.", -"You use {u} ports here and {r} × {model} only has {max}.":"Tu utilises {u} ports ici et {r} × {model} n’en a que {max}.", -"Fixed mux plus amplifiers. Up to 16 channels, no remote switching.":"Mux fixe plus amplificateurs. Jusqu’à 16 canaux, pas de commutation à distance.", -"Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.":"Bande C complète, reconfigurable à distance, accepte les transpondeurs longue distance. Jusqu’à 64 canaux.", -"Coherent pluggable in the router. No transponder shelf.":"Pluggable cohérent directement dans le routeur. Pas de châssis de transpondeurs.", -"Twice the speed, shorter reach.":"Deux fois plus rapide, portée plus courte.", -"Big shelf, big reach, big invoice.":"Gros châssis, grosse portée, grosse facture.", -"Jan":"janv", -"Feb":"févr", -"Mar":"mars", -"Apr":"avr", -"May":"mai", -"Jun":"juin", -"Jul":"juil", -"Aug":"août", -"Sep":"sept", -"Oct":"oct", -"Nov":"nov", -"Dec":"déc", -"Americas":"Amériques", -"South America":"Amérique du Sud", -"Europe":"Europe", -"Africa":"Afrique", -"Asia":"Asie", -"Oceania":"Océanie", -"Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.":"Interconnexion élastique, maintenant avec du bacon. Élevée dans une ferme près de BrisVegas par le type qui fonde une entreprise de fibre à chaque flat white terminé. Un circuit en 59 secondes, un groin en 60.", -"A whole network fabric that fits in your pocket.":"Un fabric réseau complet qui tient dans ta poche.", -"Strong in Asia and Africa. Every circuit comes with a consolation prize.":"Fort en Asie et en Afrique. Chaque circuit est livré avec un lot de consolation.", -"Prefer":"Préférer", -"Normal":"Normal", -"Avoid":"Éviter", -"Backup only":"Secours seul", -"building":"en construction", -"dark":"éteinte", -"The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.":"La capitale des datacenters. La rumeur dit que 70 % d’Internet passe par ici, et personne n’a vérifié.", -"Cable landing hub for South America.":"Hub d’atterrissement des câbles vers l’Amérique du Sud.", -"South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.":"Le plus grand marché d’Amérique du Sud, et le berceau d’IX.brrr : géré par une association à but non lucratif, prix publics, et presque tout le monde y est.", -"On an island, so every link off it is a subsea cable.":"Sur une île, donc chaque lien qui en part est un câble sous-marin.", -"Europe's crossroads. Lots of networks, lots of sausages.":"Le carrefour de l’Europe. Plein de réseaux, plein de saucisses.", -"Subsea cables to Africa and Asia land here.":"Les câbles sous-marins vers l’Afrique et l’Asie atterrissent ici.", -"Canada’s hub. Polite packets, long winters, free cooling.":"Le hub du Canada. Paquets polis, longs hivers, refroidissement gratuit.", -"Cheap hydro power makes it a data center favorite.":"L’hydroélectricité bon marché en fait un chouchou des datacenters.", -"Pacific cables land nearby, and everyone meets in one famous building downtown.":"Les câbles du Pacifique atterrissent tout près, et tout le monde se retrouve dans un célèbre immeuble du centre-ville.", -"Huge mobile market. Most of its traffic still detours through the US.":"Énorme marché mobile. L’essentiel de son trafic fait encore un détour par les États-Unis.", -"Free cooling and geothermal power. Plenty of data centers, very few cables.":"Refroidissement gratuit et énergie géothermique. Plein de datacenters, très peu de câbles.", -"Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.":"Le siège européen de tous les hyperscalers, surtout pour des raisons fiscales. Le réseau électrique est nerveux.", -"Landing point for cables from the US, Iceland and the Baltic.":"Point d’atterrissement des câbles venant des États-Unis, d’Islande et de la Baltique.", -"Fast fiber east and west, and one very nervous subsea cable to Germany.":"De la fibre rapide vers l’est et l’ouest, et un câble sous-marin très nerveux vers l’Allemagne.", -"Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.":"L’IX bien à elle de la Catalogne. Petit et fier, et les réseaux locaux n’arrivent pas à lui résister.", -"Balkan peering hub with famously cheap ports.":"Hub de peering balkanique aux ports réputés pas chers.", -"Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.":"Carrefour des câbles entre l’Europe, l’Asie et l’Afrique. Certaines applis vocales sont bloquées, et la facture de clim est légendaire.", -"Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.":"Règles d’Internet souverain : chaque POP doit héberger un boîtier du gouvernement dans la baie, les vidéos Goggle sont bridées, et le pare-feu national fait des exercices.", -"Far from everything. Every packet here has a long journey home.":"Loin de tout. Ici, chaque paquet a un long voyage pour rentrer à la maison.", -"The most isolated big city on Earth. Asia is closer than Sydney.":"La grande ville la plus isolée de la planète. L’Asie est plus proche que Sydney.", -"270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.":"270 millions d’habitants sur 17 000 îles. Mobile first, et très gourmands en bande passante.", -"Typhoons, earthquakes and a lot of very online people.":"Typhons, séismes et beaucoup de gens très connectés.", -"Startups, techno and a surprising number of data centers in old breweries.":"Startups, techno et un nombre surprenant de datacenters dans d’anciennes brasseries.", -"Banks, very punctual packets, and racks inside old bank vaults.":"Des banques, des paquets très ponctuels et des baies dans d’anciens coffres-forts.", -"East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.":"Le hub de l’Afrique de l’Est. Les câbles atterrissent à Mombasa, et le mobile money fait tout tourner.", -"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Presque tous les câbles Europe–Asie traversent l’Égypte. Les péages sont légendaires.", -"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Voitures, ingénieurs et Kehrwoche : chaque baie est balayée selon un planning strict. Ici, personne ne vend de transit, il n’y a que le Spätzle-IX. Fais du peering en local ou achemine ton trafic jusqu’à Frankfurt.", -"Asia's hub. Expensive, humid, very well connected.":"Le hub de l’Asie. Cher, humide, très bien connecté.", -"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"Chine continentale. Derrière le Great Firewall, avec ses propres règles pour les réseaux étrangers.", -"Mainland China. Enormous market, strict rules, and a famously congested border.":"Chine continentale. Marché énorme, règles strictes et une frontière réputée congestionnée.", -"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Là où les câbles d’Amérique du Sud atterrissent vraiment. L’Europe, l’Afrique et les États-Unis touchent terre ici, puis empruntent un long backhaul vers le sud.", -"Beaches, cable landings and a Carnival that melts traffic graphs every February.":"Plages, stations d’atterrissement et un Carnaval qui fait fondre les graphes de trafic chaque février.", -"Tango, steak and a currency that changes value while you read this.":"Tango, steak et une monnaie qui change de valeur pendant que tu lis ces lignes.", -"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.":"La porte du Pacifique. Les Andes la séparent de tout le reste, et la terre tremble de temps en temps.", -"It almost never rains, but the sea fog keeps the racks cool.":"Il ne pleut presque jamais, mais le brouillard marin garde les baies au frais.", -"High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.":"Perchée dans les Andes. Aucune fibre ne traverse la jungle du Darién jusqu’au Panama, donc la route du nord passe sous la mer.", -"Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.":"Tous les câbles entre les Amériques se faufilent par ici. Rien ne traverse le Darién par voie terrestre, donc l’Amérique du Sud est toujours à un saut sous-marin.", -"An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.":"Une ville immense et très connectée, loin de la mer. Chaque octet sous-marin arrive par un backhaul depuis Mumbai ou Chennai.", -"India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.":"Le hub d’atterrissement de la côte est de l’Inde, avec des câbles vers Singapore. La saison des cyclones, c’est du sérieux.", -"India’s tech capital. Packets move faster than the cars outside.":"La capitale tech de l’Inde. Les paquets vont plus vite que les voitures dehors.", -"Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.":"Chaque hyperscaler y construit une région. Le terrain est bon marché et le biryani excellent.", -"Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.":"Fabrique la plupart des puces du monde et dépend d’une poignée de câbles sous-marins. Des navires n’arrêtent pas d’y traîner « accidentellement » leurs ancres.", -"The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.":"La capitale. De l’argent souverain pour l’IA et de très gros datacenters. Aux Émirats, seuls les deux opérateurs agréés ont le droit de déployer de la fibre.", -"Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.":"La plupart des câbles des Émirats atterrissent sur cette côte, hors du détroit d’Ormuz. Aller d’ici à Dubai, c’est louer au duopole.", -"Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.":"Là où atterrissent les câbles atlantiques vers le sud de l’Afrique. Des manchots sur la plage, du délestage sur le réseau électrique.", -"Four seasons in one day, and the racks feel every one of them.":"Quatre saisons en une journée, et les baies les sentent toutes passer.", -"BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.":"BrisVegas : un ciel immense, un orage à seize heures chaque après-midi d’été, et plus proche des câbles du Pacifique que Sydney ne veut bien l’admettre. Megapork a grandi ici.", -"Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.":"Minuscule, tropicale et la ville australienne la plus proche de l’Asie. De nouveaux câbles vers Singapore et Jakarta atterrissent ici, à côté des crocodiles.", -"Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.":"Le deuxième hub du Japon, et le plan de reprise d’activité de Tokyo. Les séismes frappent rarement les deux.", -"Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.":"Moins cher que Singapore juste à côté. Les bâtisseurs de datacenters l’ont remarqué, le réseau électrique aussi.", -"Big, busy and flooded with traffic, sometimes literally.":"Grande, animée et inondée de trafic, parfois littéralement.", -"Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.":"Très connectée et mal desservie par la mer : à tout moment, au moins un de ses câbles sous-marins est coupé.", -"Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.":"La porte du Pakistan sur la mer. Tous les câbles atterrissent ici, et toutes les nouvelles règles de pare-feu aussi.", -"Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.":"Immense, dense et affamée. Son trafic international se faufile par deux ou trois câbles, ou arrive par voie terrestre depuis l’Inde.", -"A small island at the crossroads of every Indian Ocean cable.":"Une petite île au carrefour de tous les câbles de l’océan Indien.", -"Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.":"Le hub montant d’Europe centrale. Plus de datacenters chaque année et une scène FAI férocement concurrentielle.", -"Beer is cheaper than water here, and IX ports are cheaper than both.":"Ici, la bière coûte moins cher que l’eau, et les ports IX moins cher que les deux.", -"The old gateway to Eastern Europe. Packets still bow politely on the way through.":"L’ancienne porte de l’Europe de l’Est. Les paquets s’inclinent encore poliment en passant.", -"Waste heat goes straight into the spa next door.":"La chaleur fatale part directement dans les thermes d’à côté.", -"Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.":"La fibre gigabit à domicile pour le prix d’un café. Ici, les clients attendent beaucoup pour très peu.", -"Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.":"Tout est numérique, e-résidence pour tout le monde, et des câbles baltiques sur lesquels les navires n’arrêtent pas de traîner leurs ancres.", -"One foot in Europe, one in Asia. Every land route between them crosses here.":"Un pied en Europe, un en Asie. Toutes les routes terrestres entre les deux passent par ici.", -"Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.":"Les ingénieurs réseau ukrainiens ont fait tourner Internet malgré les coupures de courant et bien pire. Groupes électrogènes, fibre de secours et redondance partout sont la norme ici, et la scène peering est réputée coriace.", -"Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.":"Le hub des câbles de la mer Rouge en Arabie saoudite. De plus en plus de câbles entre l’Europe, l’Afrique et l’Asie s’arrêtent ici plutôt qu’en Égypte.", -"The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.":"La capitale, qui construit des campus IA à l’échelle du gigawatt. Les données des utilisateurs saoudiens doivent rester dans le Royaume, et chaque POP exige une licence télécom locale.", -"Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.":"Petite, riche et très bien connectée, tant que les voisins se parlent. Sa seule frontière terrestre est avec l’Arabie saoudite.", -"Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.":"La capitale numérique de l’Italie. Trafic de fashion week, un NOC qui carbure à l’espresso et plus d’IX que tu ne l’imagines.", -"All roads lead to Rome. Most packets still go via Milan.":"Tous les chemins mènent à Rome. La plupart des paquets passent quand même par Milan.", -"A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.":"Une petite ville sur un grand carrefour. Les câbles venant d’Asie, d’Afrique et du Moyen-Orient atterrissent ici pour éviter le grand détour.", -"Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.":"La nouvelle porte atlantique de l’Europe. Les câbles vers le Brésil, l’Afrique et les États-Unis atterrissent plus bas sur la côte, à Sines.", -"Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.":"Ville antique, câbles flambant neufs. La Grèce veut devenir le hub d’atterrissement de la Méditerranée orientale.", -"The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.":"Le carrier hotel du Sud-Est. L’aéroport le plus fréquenté, le peering le plus fréquenté au sud d’Ashburn.", -"A mile up and halfway between the coasts, so every cross-country route stops here for a breather.":"À 1 600 m d’altitude et à mi-chemin entre les deux côtes : chaque route transcontinentale s’y arrête pour reprendre son souffle.", -"Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.":"Terrain pas cher, électricité pas chère et étés à 48 °C. Les hyperscalers adorent. Les groupes froids, beaucoup moins.", -"Universities, biotech and a carrier hotel that has outlived most of its carriers.":"Universités, biotech et un carrier hotel qui a survécu à la plupart de ses opérateurs.", -"Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.":"Pétrole, gaz et ouragans. Ici, les groupes électrogènes sont dimensionnés pour une semaine, et ça a déjà servi.", -"Cheap power, dry air and a surprising number of very quiet data centers.":"Électricité bon marché, air sec et un nombre surprenant de datacenters très silencieux.", -"Hits the high notes across the Atlantic. Huge capacity, cheap waves.":"Monte dans les aigus d’un bout à l’autre de l’Atlantique. Capacité énorme, longueurs d’onde pas chères.", -"Hops from New York to the UK and Spain.":"Saute à cloche-pied de New York au Royaume-Uni et à l’Espagne.", -"Nobody remembers who it is named after.":"Plus personne ne sait à qui il doit son nom.", -"A friendly cable with French manners.":"Un câble sympathique aux manières bien françaises.", -"The straightest line across the Atlantic. Traders pay double to save a few milliseconds.":"La ligne la plus droite à travers l’Atlantique. Les traders paient le double pour gagner quelques millisecondes.", -"Laid last century. Cuts often, costs more, still somehow running.":"Posé au siècle dernier. Souvent coupé, plus cher, et pourtant il tourne encore.", -"Brazil straight to Iberia, skipping the US entirely.":"Du Brésil directement à la péninsule Ibérique, sans passer du tout par les États-Unis.", -"South Atlantic, cool and confident.":"Atlantique Sud, cool et sûr de lui.", -"Discovered the Atlantic again. Old, pricey and fragile.":"A redécouvert l’Atlantique. Vieux, cher et fragile.", -"All the way around Africa and back. Cheapest capacity on the map.":"Tout le tour de l’Afrique, aller-retour. La capacité la moins chère de la carte.", -"Always agrees with you. Iberia to West Africa.":"Toujours d’accord avec toi. De la péninsule Ibérique à l’Afrique de l’Ouest.", -"Sixth in a long-running series. Europe to India to Singapore.":"Sixième volet d’une longue saga. Europe, Inde, Singapore.", -"Marseille to Singapore, then it leaves the party.":"De Marseille à Singapore, puis il s’éclipse de la fête.", -"Asia, Africa, Europe, and one more thing.":"Asie, Afrique, Europe, et encore une chose.", -"The pretty way around East Asia.":"La route panoramique de l’Asie de l’Est.", -"Named after a planet, behaves like one: big and far away.":"Porte le nom d’une planète et se comporte comme telle : gros et lointain.", -"Its predecessor was FASTER. Marketing had a good day.":"Son prédécesseur s’appelait FASTER. Le marketing était en forme ce jour-là.", -"Crosses the Pacific, mildly annoyed about it.":"Traverse le Pacifique, en ronchonnant un peu.", -"Lighter on paperwork than its namesake. Still heavy on paperwork.":"Moins de paperasse que son homonyme. Mais toujours beaucoup de paperasse.", -"Old Pacific workhorse. Everyone hopes it holds.":"Vieux cheval de labour du Pacifique. Tout le monde croise les doigts pour qu’il tienne.", -"Quick Pacific crossing with a stop for snacks.":"Traversée express du Pacifique avec une pause goûter.", -"A bet on a tiny island in the middle of the Pacific.":"Un pari sur une minuscule île au milieu du Pacifique.", -"Perth to the Gulf across the Indian Ocean. Oh man, it is long.":"De Perth au Golfe à travers l’océan Indien. Oh là là, qu’il est long.", -"Sydney to Auckland with plenty to spare.":"De Sydney à Auckland, avec de la marge à revendre.", -"A rainbow bridge from Singapore to California, via Jakarta and Manila.":"Un pont arc-en-ciel de Singapore à la Californie, via Jakarta et Manila.", -"Southeast Asia to Japan, with snacks.":"De l’Asie du Sud-Est au Japon, goûter compris.", -"Iceland’s lifeline to Scotland. Lonely but determined.":"Le cordon vital de l’Islande vers l’Écosse. Solitaire mais déterminé.", -"Iceland to Denmark, choreographed.":"De l’Islande au Danemark, en chorégraphie.", -"Hops via Greenland. Polar bears included.":"Fait escale au Groenland. Ours polaires inclus.", -"Iceland to Ireland, brand new and still smells like plastic.":"De l’Islande à l’Irlande, flambant neuf, et ça sent encore le plastique.", -"New York to Ireland: the tech-tax express.":"De New York à l’Irlande : l’express de l’optimisation fiscale.", -"Danish for “sea fun”. Probably.":"« Plaisir de la mer » en danois. Probablement.", -"Dublin to London across the Irish Sea.":"De Dublin à London à travers la mer d’Irlande.", -"Dubai to Mumbai. Hits hard.":"De Dubai à Mumbai. Ça cogne fort.", -"A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable.":"Une passerelle de l’Europe vers l’Inde, par la mer Rouge. Se prononce comme un câble très surpris.", -"Helsinki to Germany under the Baltic. Anchors keep finding it.":"D’Helsinki à l’Allemagne sous la Baltique. Les ancres n’arrêtent pas de le trouver.", -"Short hop across the North Sea. An odyssey it is not.":"Petit saut à travers la mer du Nord. Pas vraiment une odyssée.", -"London to Paris under the Channel. Cheaper than the train.":"De London à Paris sous la Manche. Moins cher que l’Eurostar.", -"Across the Mediterranean, Egypt to France. Romantic, in a cable way.":"À travers la Méditerranée, de l’Égypte à la France. Romantique, pour un câble.", -"East Africa up to Europe via the Red Sea. Lemon squeezy.":"De l’Afrique de l’Est jusqu’à l’Europe par la mer Rouge. Simple comme bonjour.", -"Kenya to the Gulf. Makes the dream work.":"Du Kenya au Golfe. L’union fait la force.", -"Brazil to Florida. The invoice arrives just as fast.":"Du Brésil à la Floride. La facture arrive tout aussi vite.", -"Straight from São Paulo to New York, skipping the Miami hairpin.":"Direct de São Paulo à New York, sans l’épingle à cheveux de Miami.", -"An old ring around the whole continent, the long way round Cape Horn.":"Un vieil anneau autour de tout le continent, par le long détour du cap Horn.", -"Los Angeles to Chile, with a small detour for Panama.":"De Los Angeles au Chili, avec un petit détour par le Panama.", -"Hops the Caribbean so Bogotá can skip the jungle.":"Saute par-dessus les Caraïbes pour que Bogotá puisse éviter la jungle.", -"Named after a wine. São Paulo to Buenos Aires, past Uruguay.":"Porte le nom d’un vin. De São Paulo à Buenos Aires, en passant par l’Uruguay.", -"The first cable from South America to Oceania. 14,000 km of very lonely glass.":"Le premier câble entre l’Amérique du Sud et l’Océanie. 14 000 km de verre très solitaire.", -"Up the west coast of Africa. Something on it is always down.":"Remonte la côte ouest de l’Afrique. Tu répares un bout, un autre tombe.", -"An old cable from Cape Town round to India, via some very small islands.":"Un vieux câble de Cape Town jusqu’à l’Inde, via de toutes petites îles.", -"Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore.":"De Fujairah à Mumbai, autour de la pointe de l’Inde jusqu’à Chennai, puis jusqu’à Singapore.", -"Chennai to Singapore, looking it straight in the eye.":"De Chennai à Singapore, les yeux dans les yeux.", -"A short cable across a very tense strait.":"Un câble court à travers un détroit très tendu.", -"Leaves the Gulf from Fujairah and runs up the Red Sea to Europe.":"Quitte le Golfe depuis Fujairah et remonte la mer Rouge jusqu’en Europe.", -"An Asia–America gateway cable that breaks so often it has its own support group.":"Un câble passerelle Asie–Amérique qui casse si souvent qu’il a son propre groupe de parole.", -"Darwin to Singapore via Jakarta. Survival of the fittest packets.":"De Darwin à Singapore via Jakarta. Seuls les paquets les plus adaptés survivent.", -"Brisbane to Tokyo with a beach break in Guam.":"De Brisbane à Tokyo, avec une pause plage à Guam.", -"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.":"La génération précédente. Transporte encore l’essentiel du trafic du Pakistan, du Sri Lanka et du Bangladesh, le tout tenu par l’espoir.", -"Short hops under the Baltic Sea. Every passing ship seems to find it.":"Petits sauts sous la mer Baltique. Chaque navire qui passe semble le trouver.", -"Istanbul to Bucharest's coast across the Black Sea.":"D’Istanbul à la côte de Bucharest, à travers la mer Noire.", -"North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen.":"Cheval de labour de la mer du Nord, de London à Amsterdam. Des paires de fibre noire à vendre à la douzaine.", -"Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone.":"De Lisbon à Barcelona et Marseille le long de la côte. Regarde le graphe de latence droit dans les yeux et il se change en pierre.", -"Another London–Amsterdam route. Everyone has one, so prices are low.":"Encore une route London–Amsterdam. Tout le monde en a une, donc les prix sont bas.", -"Brand new, cheap, and it lands right next to your racks.":"Flambant neuf, pas cher, et il atterrit juste à côté de tes baies.", -"India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way.":"L’Inde, le Moyen-Orient et l’Europe de l’Ouest, tout sur un seul câble. Fait escale à Cairo en chemin.", -"New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore.":"Les nouveaux câbles atterrissent de plus en plus à Jeddah plutôt qu’en Égypte. Celui-ci file vers l’Inde et Singapore.", -"A quick hop across the Red Sea between Egypt and Saudi Arabia.":"Un saut rapide à travers la mer Rouge entre l’Égypte et l’Arabie saoudite.", -"Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed.":"Relie Doha au reste du Golfe, par la mer, ce qui est pratique quand la frontière terrestre est fermée.", -"Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one.":"Du Portugal au Sud-Est des États-Unis via les Bermudes. Veut dire « nuage » en portugais, et appartient justement à un cloud.", -"Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting.":"De Gênes à la Sicile puis jusqu’à Athens, posé par un géant de la recherche en ligne lassé de louer.", -"Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily.":"De Palermo à Marseille et Alexandrie. Chaque raccourci Europe–Asie veut une escale en Sicile.", -"Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!":"D’Athens à Alexandrie, puis par les Dardanelles jusqu’à Istanbul. Opa !", -"Boston to Dublin. Nobody has thrown it into the harbour yet.":"De Boston à Dublin. Personne ne l’a encore jeté dans le port.", -"Grew from a seedling into a global backbone. Leaves no route behind.":"Parti d’une jeune pousse, devenu un backbone mondial. Ne perd jamais ses routes, ni ses feuilles.", -"Huge in Asia. \"Which telecom?\" \"Not that one.\"":"Énorme en Asie. « Quel télécom ? » « Pas celui-là. »", -"Nordic backbone that tells you exactly where your packets went.":"Backbone nordique qui te dit exactement où sont passés tes paquets.", -"Cheapest transit on the map. Famously gentle, except during peering spats.":"Le transit le moins cher de la carte. Réputé pour sa douceur, sauf pendant les brouilles de peering.", -"Waves goodbye to latency across the Indian Ocean.":"Fait un signe d’adieu à la latence à travers l’océan Indien.", -"Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.":"Fait du peering avec tout le monde, partout. Il paraît qu’il envoie des gâteaux IPv6 par la poste.", -"Juicy reach into Europe and Africa.":"Une couverture juteuse en Europe et en Afrique.", -"Sings your packets across Asia-Pacific.":"Fait chanter tes paquets d’un bout à l’autre de l’Asie-Pacifique.", -"Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.":"A mis fin au peering gratuit dans toute l’Europe et l’a confié à Inter.Clink, son « partenaire d’interconnexion », qui se fera un plaisir de te vendre une connexion directe. Peering payant uniquement, via un PNI. Dring dring, c’est la facture.", -"The biggest network in China. Its CN-Too premium route skips the congested border, for a price.":"Le plus grand réseau de Chine. Sa route premium CN-Too évite la frontière congestionnée, moyennant finance.", -"Number two in China, with a horn for every backbone.":"Numéro deux en Chine, avec une corne pour chaque backbone.", -"The largest mobile network on Earth. Paid peering only.":"Le plus grand réseau mobile de la planète. Peering payant uniquement.", -"Huge eyeball network. Come for the broadband, stay because there is no other choice.":"Énorme réseau eyeball. On vient pour le haut débit, on reste parce qu’il n’y a pas le choix.", -"Pink eyeball giant. Peering is available... for a monthly fee.":"Géant eyeball rose. Le peering est disponible... contre un abonnement mensuel.", -"Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.":"Diffuse 40 % du trafic du soir. Offre des caches gratuits si tu envoies assez d’eyeballs.", -"Search, video and goggles. Mostly goggles.":"Recherche, vidéo et lunettes. Surtout des lunettes.", -"Social media. Everyone keeps falling for it.":"Réseau social. Tout le monde finit par s’y vautrer.", -"The original CDN. Maybe it is already in your rack.":"Le CDN original. Il est peut-être déjà dans ta baie.", -"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protège la moitié du web des hordes de bots. Le Rackstar Partner Program (RPP) installe un cache dans ton rack dès que tu envoies assez de trafic.", -"The cloud. It's just someone else's Ashburn.":"Le cloud. C’est juste l’Ashburn de quelqu’un d’autre.", -"Updates. So many updates.":"Des mises à jour. Tellement de mises à jour.", -"Short videos, very long traffic graphs.":"Des vidéos courtes, des graphes de trafic très longs.", -"An edge cloud that is, despite the name, quite fast.":"Un edge cloud qui, malgré son nom, est plutôt rapide.", -"Chat, games and payments. Every message costs ten cents.":"Messagerie, jeux et paiements. Chaque message coûte dix centimes.", -"Shopping festivals that melt traffic graphs.":"Des festivals du shopping qui font fondre les graphes de trafic.", -"Search, maps and a cheerful goodbye.":"Recherche, cartes et un joyeux au revoir.", -"The national carrier. Every punchline is pre-approved.":"L’opérateur national. Chaque vanne est validée en haut lieu.", -"Search, taxis and maps. Slightly sleepy.":"Recherche, taxis et cartes. Un peu endormi.", -"Social network with perfect vision.":"Un réseau social à la vision parfaite.", -"Charges a lot. Paid peering only, and the name says it all.":"Facture beaucoup. Peering payant uniquement, et le nom dit tout.", -"Mexico’s giant. Paid peering only, and the pricing is a mess.":"Le géant du Mexique. Peering payant uniquement, et la grille tarifaire est un vrai bazar.", -"Polite, enormous, and sorry about the bill.":"Poli, énorme, et désolé pour la facture.", -"Indonesia’s mobile giant. Every packet poses for a photo first.":"Le géant mobile d’Indonésie. Chaque paquet prend d’abord la pose pour une photo.", -"Philippine giant. Peering requests are reviewed over a cup of tea.":"Géant philippin. Les demandes de peering sont examinées autour d’une tasse de thé.", -"New Zealand’s shiniest ISP.":"Le FAI le plus étincelant de Nouvelle-Zélande.", -"Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.":"Le grand opérateur australien. G’day, ça fera neuf dollars le mégabit. Pardon, le gigabit.", -"Kenya’s mobile giant. Pays you in M-Pesos.":"Le géant mobile du Kenya. Te paie en M-Pesos.", -"Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.":"Possède la traversée terrestre dont chaque câble de la mer Rouge a besoin. Prélève des péages comme un pharaon.", -"The big regional carrier. Sees everything clearly, especially your invoice.":"Le grand opérateur régional. Voit tout très clairement, surtout ta facture.", -"Brazil’s mobile giant. Very much alive.":"Le géant mobile du Brésil. Bien vivant.", -"Ships parcels and packets, both overnight.":"Expédie colis et paquets, les deux en 24 h.", -"Gave a billion people cheap data. Knows exactly where every one of them is.":"A offert des données pas chères à un milliard de personnes. Sait exactement où se trouve chacune d’elles.", -"India’s other giant. Every outage comes with a story.":"L’autre géant de l’Inde. Chaque panne a son histoire.", -"Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.":"L’opérateur historique de Taïwan. Reste calme pendant que des navires traînent leurs ancres sur ses câbles.", -"The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.":"L’autre moitié du duopole des Émirats. Fait ce que fait Etis-a-lot, dans une autre couleur.", -"Japanese carrier that builds everything itself. Even the cable ships.":"Opérateur japonais qui construit tout lui-même. Même les navires câbliers.", -"Thailand’s mobile giant. Its coverage maps are mostly true.":"Le géant mobile de Thaïlande. Ses cartes de couverture sont globalement vraies.", -"Vietnam’s giant. Will tell you which subsea cable is broken this week.":"Le géant du Vietnam. Te dira quel câble sous-marin est coupé cette semaine.", -"Pakistan’s incumbent. Every session comes with a firewall rule.":"L’opérateur historique du Pakistan. Chaque session est livrée avec une règle de pare-feu.", -"Malaysia’s incumbent. In no hurry whatsoever.":"L’opérateur historique de Malaisie. Pas pressé le moins du monde.", -"Bridges Europe and Asia, and occasionally your BGP table.":"Relie l’Europe et l’Asie, et parfois aussi ta table BGP.", -"Gigabit to every flat for the price of a coffee. Peers with anyone.":"Du gigabit dans chaque appart pour le prix d’un café. Fait du peering avec tout le monde.", -"Cable broadband across Central Europe. See you later, in a support queue.":"Haut débit par le câble dans toute l’Europe centrale. À plus tard, dans la file d’attente du support.", -"Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.":"Le plus grand réseau mobile d’Ukraine. A continué de fonctionner malgré des choses que la plupart des réseaux n’ont jamais à prévoir.", -"The Kingdom’s incumbent. Once you are in, you stay in.":"L’opérateur historique du Royaume. Une fois entré, tu y restes.", -"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"Le grand opérateur du Qatar. Peering payant uniquement, et il te chante sa grille tarifaire.", -"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"L’opérateur historique italien. Doux à l’extérieur, intraitable sur les ratios de peering.", -"Fiber to the Italian home, with a website from 2003.":"La fibre dans les foyers italiens, avec un site web de 2003.", -"Portugal’s incumbent. Purrs when you send it traffic.":"L’opérateur historique du Portugal. Ronronne quand tu lui envoies du trafic.", -"Peers with anyone, and wants to know everything about your routes.":"Fait du peering avec tout le monde, et veut tout savoir de tes routes.", -"Greece’s incumbent. Takes careful notes on every peering request.":"L’opérateur historique grec. Prend soigneusement note de chaque demande de peering.", -"Cable broadband for half of America. Haunts your traceroutes.":"Haut débit par le câble pour la moitié de l’Amérique. Hante tes traceroutes.", -"Can you hear me now? Only if you pay for the PNI.":"Tu m’entends, là ? Seulement si tu paies le PNI.", -"A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.":"Un IX commercial plus petit, au bout de la rue de DE-KICKS. Publie ses prix sur une seule page web, ce que DE-KICKS considère comme un acte de guerre. Les ports sont livrés sans webinaire commercial.", -"A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.":"Un IX associatif géré depuis l’étage d’un bar à cidre. Minuscule, pas cher, et chaque membre a droit à un verre.", -"One fabric across the whole country. Distributed, cheap and a little smug about it.":"Un seul fabric pour tout le pays. Distribué, pas cher, et un peu content de lui.", -"Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.":"Peering settlement-free aux racines frisonnes. Les ports 10G et 100G ne coûtent rien. Apporte un ASN et de l’appétit pour les route servers. La mayonnaise est en supplément.", -"Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.":"Détenu par ses membres et à but non lucratif. Plus petit que LYNX, mais il y a des biscuits à l’AG.", -"The challenger. Fresh every morning, a bit crusty by the evening.":"Le challenger. Frais chaque matin, un peu rassis le soir.", -"The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.":"L’IX historique de Madrid. Interconnexion neutre, saveur locale et un route server qui ne fait jamais la sieste.", -"Opens at six, comes with free snacks, closes when the last session drops.":"Ouvre à 18 h, amuse-bouches offerts, ferme quand la dernière session tombe.", -"Run by hackers on caffeine. The route server has a disco ball.":"Géré par des hackers sous caféine. Le route server a une boule à facettes.", -"Warsaw has more exchanges than anyone can count. This is the second biggest, this week.":"Warsaw compte plus d’IX qu’on ne peut en compter. Celui-ci est le deuxième plus grand, cette semaine.", -"Open-faced, cheap and available at 3 a.m.":"Façon tartine, pas cher et dispo à 3 h du matin.", -"Dense, filling and very cheap.":"Dense, bourratif et vraiment pas cher.", -"Grilled ports, served with mustard and a cold beer.":"Des ports grillés, servis avec moutarde et bière fraîche.", -"Every session comes with a coffee break. Strictly enforced.":"Chaque session inclut une pause café. Strictement obligatoire.", -"Layered, resilient and somehow always open.":"Tout en couches, résilient et toujours ouvert, on ne sait trop comment.", -"A community exchange in a Hudson Street basement. Schmear not included.":"Un IX associatif dans un sous-sol de Hudson Street. Cream cheese non compris.", -"Takes forever to set up, but very filling.":"Prend une éternité à mettre en place, mais très copieux.", -"Started in somebody’s garage, like everything else round here.":"Né dans le garage de quelqu’un, comme tout le reste par ici.", -"You can’t see the fabric, but it is definitely there.":"Tu ne vois pas le fabric, mais il est bien là.", -"Strong, sweet and cheaper than the incumbent.":"Fort, sucré et moins cher que l’opérateur historique.", -"Lots of small sessions on little plates.":"Plein de petites sessions servies dans de petits paniers vapeur.", -"Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.":"Tokyo compte plus d’IX qu’on ne peut en nommer. Celui-ci a été fondé par un géant du haut débit et arrive soigneusement emballé, chaque membre dans son compartiment.", -"The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.":"Le plus ancien IX de Johannesburg, géré par l’association locale des FAI. Touche du bois avant chaque fenêtre de maintenance.", -"Mumbai’s street-food exchange. Fast, spicy and cheap.":"L’IX street food de Mumbai. Rapide, épicé et pas cher.", -"The challenger to the DE-KICKS fabric, wrapped and ready to go.":"Le challenger du fabric DE-KICKS, roulé et prêt à emporter.", -"Three servers, one dehumidifier and a very patient grandmother.":"Trois serveurs, un déshumidificateur et une grand-mère très patiente.", -"Powered by renewable rodents. Uptime depends on snack schedule.":"Alimenté par des rongeurs renouvelables. L’uptime dépend de l’heure du goûter.", -"A fiber co-op for one valley. Every member owns a metre of cable.":"Une coopérative fibre pour une seule vallée. Chaque membre possède un mètre de câble.", -"An ISP run from the back of a kebab shop. Late-night support is excellent.":"Un FAI géré depuis l’arrière-boutique d’un kebab. Le support de nuit est excellent.", -"Volunteers with rooftop antennas and strong opinions about IPv6.":"Des bénévoles avec des antennes sur les toits et des avis tranchés sur IPv6.", -"Dug the trench themselves, one field at a time.":"Ils ont creusé la tranchée eux-mêmes, champ après champ.", -"Hosts exactly one website and three lawyers.":"Héberge exactement un site web et trois avocats.", -"Packets leave on time, to the second.":"Les paquets partent à l’heure, à la seconde près.", -"Game servers, energy drinks and a ping obsession.":"Serveurs de jeu, boissons énergisantes et obsession du ping.", -"Racks in the nave, cooling in the crypt. Divine uptime.":"Les racks dans la nef, le refroidissement dans la crypte. Uptime divin.", -"Wireless internet from the top of a grain silo.":"Internet sans fil depuis le sommet d’un silo à grain.", -"Rural fiber that follows the tractor routes.":"Fibre rurale qui suit les chemins des tracteurs.", -"Has served the lake since 1912. Now with fiber.":"Au service du lac depuis 1912. Maintenant avec la fibre.", -"Hosting for surfboard shops. Closed when the waves are good.":"Hébergement pour boutiques de surf. Fermé quand les vagues sont bonnes.", -"Fiber strung along the chairlifts. Seasonal latency.":"Fibre tendue le long des télésièges. Latence saisonnière.", -"Covers a lot of empty ground.":"Couvre énormément de terrain vide.", -"Ten thousand GPUs and a podcast.":"Dix mille GPU et un podcast.", -"Has had a /8 since before you were born.":"A un /8 depuis avant ta naissance.", -"Family-run since dial-up. Still answers the phone.":"Affaire familiale depuis l’époque du modem 56k. Décroche encore le téléphone.", -"Yee-haw and low Earth orbit.":"Yee-haw et orbite basse.", -"Utah’s dipping-sauce of an ISP.":"Le FAI de l’Utah, version sauce à tremper.", -"Servers cooled by the lake, then used to heat the sauna.":"Serveurs refroidis par le lac, puis recyclés pour chauffer le sauna.", -"Wireless links across the tundra. Antlers occasionally in the way.":"Liaisons sans fil à travers la toundra. Des bois de renne gênent parfois.", -"Cheap, filling hosting. Ask for the potato-and-cheese plan.":"Hébergement pas cher et nourrissant. Demande la formule pomme de terre-fromage.", -"Kept the lights on in its town through every blackout.":"A gardé la lumière dans sa ville à chaque coupure de courant.", -"Fiber laid under the tram tracks during a night shift.":"Fibre posée sous les rails du tram pendant une équipe de nuit.", -"Spicy pricing, mild latency.":"Des prix épicés, une latence douce.", -"Only comes online at night.":"Ne se connecte que la nuit.", -"Wi-Fi on every ferry, backhaul on every bridge.":"Du Wi-Fi sur chaque ferry, du backhaul sur chaque pont.", -"Started in Venice. Upgraded to land.":"Né à Venise. Depuis, passé à la terre ferme.", -"Hosting for every family restaurant in the south.":"Hébergement pour toutes les trattorias familiales du Sud.", -"Slow on the hills, fast on the flat.":"Lent dans les côtes, rapide sur le plat.", -"Rural broadband for the islands, one olive tree at a time.":"Du haut débit rural pour les îles, un olivier à la fois.", -"Down from 2 to 5 p.m. every day. By design.":"Hors ligne de 14 h à 17 h tous les jours. C’est voulu.", -"A rich mix of everything the fishermen brought in.":"Un riche mélange de tout ce que les pêcheurs ont ramené.", -"Delivered fresh every morning.":"Livré tout chaud chaque matin.", -"Founded after a pub quiz, by the losing team.":"Fondé après un quiz au pub, par l’équipe perdante.", -"Internet cafe turned ISP. The gamers came for the ping.":"Cybercafé devenu FAI. Les gamers sont venus pour le ping.", -"Wi-Fi on minibuses, and the music is free.":"Du Wi-Fi dans les minibus, et la musique est offerte.", -"Has more batteries than customers.":"Plus de batteries que de clients.", -"Three-hour films, zero-second start times.":"Films de trois heures, démarrage en zéro seconde.", -"Cheap, fast and open late.":"Pas cher, rapide et ouvert tard.", -"Lyrics servers, low latency, high pitch.":"Serveurs de paroles, latence basse, notes perchées.", -"Comes alive after dark.":"S’anime à la nuit tombée.", -"Packets hop. Sometimes backwards.":"Les paquets font des sauts. Parfois à reculons.", -"Cosy racks under a hill. Second breakfast at 11.":"Des racks douillets sous une colline. Second petit-déjeuner à 11 h.", -"Gets along with every other network. Famously chill.":"S’entend avec tous les autres réseaux. Légendairement zen.", -"Mountain wireless. Will spit at bad routes.":"Sans-fil de montagne. Crache sur les mauvaises routes.", -"Gold-plated servers, valet parking for packets.":"Serveurs plaqués or, voiturier pour les paquets.", -"It takes two to peer.":"Le peering, ça se danse à deux.", -"Crispy on the outside, cheap on the inside.":"Croustillant dehors, pas cher dedans.", -"Colourful, crowded and gets you there eventually.":"Coloré, bondé, et finit par t’emmener à bon port.", -"Hosts every game you play at 2 a.m. Hates jitter.":"Héberge tous les jeux auxquels tu joues à 2 h du matin. Déteste le jitter.", -"Voice chat for millions of gamers who all talk at once.":"Chat vocal pour des millions de gamers qui parlent tous en même temps.", -"A thousand tiny social networks on one rack.":"Mille minuscules réseaux sociaux sur un seul rack.", -"Fiber laid along the bike lanes. Fastest in the rain.":"Fibre posée le long des pistes cyclables. Plus rapide sous la pluie.", -"Bunny suits mandatory in the server room.":"Combinaison de salle blanche obligatoire en salle serveurs.", -"Runs the village network between call-outs.":"Gère le réseau du village entre deux interventions.", -"Sweet, fuzzy and surprisingly reliable.":"Doux, duveteux et étonnamment fiable.", -"Thick, comforting and very New England.":"Épais, réconfortant et très Nouvelle-Angleterre.", -"Tier 1":"Tier 1", -"Tier 2":"Tier 2", -"CDN / content":"CDN / contenu", -"Eyeballs":"Eyeballs", -"Enterprise DIA":"DIA entreprise", -"Game servers":"Serveurs de jeu", -"Hosting":"Hébergement", -"Downstream ISP (buys transit)":"FAI downstream (achète du transit)", -"L2VPN circuit":"Circuit L2VPN", -"Streaming startup":"Startup de streaming", -"University network":"Réseau universitaire", -"AI GPU data center":"Datacenter GPU pour l’IA", -"Cloud on-ramp":"On-ramp cloud", -"AI training interconnect":"Interconnexion d’entraînement IA", -"Hyperscaler DCI":"DCI d’hyperscaler", -"High-frequency trading link":"Lien de trading haute fréquence", -"Bulk backup transfer (latency does not matter)":"Sauvegarde massive (la latence ne compte pas)", -"Event network":"Réseau événementiel", -"SD-WAN for a chain":"SD-WAN pour une chaîne", -"Wholesale wave":"Longueur d’onde en gros", -"Dark fiber pair lease":"Location d’une paire de fibre noire", -"DDoS protection + DIA":"Protection DDoS + DIA", -"AI WAN between two AI factories":"WAN IA entre deux usines d’IA", -"Multi-site training run":"Entraînement multi-site", -"Dataset ingest (elephant flow)":"Ingestion de dataset (elephant flow)", -"Hundreds of fiber pairs":"Des centaines de paires de fibre", -"Provedor (small regional ISP)":"Provedor (petit FAI régional)", -"Local ISP":"FAI local", -"Start here":"Point de départ", -"Enterprises, game servers, hosting, L2VPNs and DDoS protection.":"Entreprises, serveurs de jeu, hébergement, L2VPN et protection DDoS.", -"Regional player":"Acteur régional", -"peak 200 Gbps and 3 POPs":"pic de 200 Gbps et 3 POP", -"Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.":"FAI downstream, startups de streaming et universités. Matériel : routeurs Edge Lord 400, location de fibre noire, DWDM Rainbow-in-a-Box, optiques Ackackia 400ZR+.", -"Serious backbone":"Backbone sérieux", -"peak 1 Tbps and 6 POPs":"pic de 1 Tbps et 6 POP", -"AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.":"Datacenters GPU pour l’IA et on-ramps cloud. Matériel : routeurs Chonk 800, optiques Sizzle 800ZR+, systèmes de ligne ROADMaster 9000, construction de ta propre fibre.", -"Big league":"Cour des grands", -"peak 3 Tbps, 10 POPs, 3 continents":"pic de 3 Tbps, 10 POP, 3 continents", -"AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.":"Interconnexions d’entraînement IA et contrats DCI d’hyperscalers au térabit. Matériel : routeurs Absolute Unit 1.6T, transpondeurs Sienna WaveMagic 1.6T.", -"Light up your first customers":"Allume tes premiers clients", -"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.":"Ouvre ta ville de départ et appuie sur « Lancer le haut débit ». Les eyeballs, ce sont les gens chez eux qui regardent des vidéos de chats. Ils te paient tous les mois.", -"Reach the whole internet":"Atteins tout Internet", -"Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.":"Tes eyeballs veulent tout. Achète du transit IP à un Tier 1 ou un Tier 2 dans ta ville. Le transit te donne la table de routage complète.", -"Join an Internet Exchange":"Rejoins un point d’échange", -"Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.":"Prends un port sur un IX : un gros switch partagé où les réseaux s’échangent du trafic gratuitement au lieu de payer du transit.", -"Make 5 peering friends":"Fais-toi 5 amis de peering", -"On the Peering tab, request sessions, or join the route server to peer with every open network at once.":"Dans l’onglet Peering, demande des sessions, ou rejoins le route server pour peerer d’un coup avec tous les réseaux à politique ouverte.", -"Lay your first fiber":"Pose ta première fibre", -"Drag from your pink router to another city. Short hops are cheap. Oceans are not.":"Fais glisser depuis ton routeur rose vers une autre ville. Les petits sauts coûtent peu. Les océans, non.", -"Sign a business customer":"Signe un client entreprise", -"Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.":"Les entreprises apparaissent avec une bulle $. Il te faut un POP dans leur ville. Va voir l’onglet Offres.", -"Survive a failure":"Survis à une panne", -"Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.":"Tout casse, tout le temps. Construis un second chemin ou un second upstream pour que le trafic soit rerouté quand quelque chose meurt.", -"Host an embedded cache":"Héberge un cache embarqué", -"Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.":"Les gros CDN t’offrent des caches dès que tu leur envoies assez de trafic. De la bande passante gratuite, il suffit de fournir l’électricité.", -"Set up a PNI":"Monte un PNI", -"A private cross-connect to one network in the same data center, for when traffic outgrows the IX.":"Un cross-connect privé vers un réseau dans le même datacenter, pour quand le trafic devient trop gros pour l’IX.", -"Go global":"Deviens mondial", -"Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.":"Aie des POP sur 3 continents. Les câbles sous-marins coûtent une fortune, alors planifie bien le tracé.", -"Become a Tier 2":"Deviens un Tier 2", -"5+ POPs, ports on 3+ IXs and 15+ peering sessions.":"5+ POP, des ports sur 3+ IX et 15+ sessions de peering.", -"Serve 1 Tbps":"Sers 1 Tbps", -"A terabit per second of happy traffic.":"Un térabit par seconde de trafic heureux.", -"Light your own dark fiber":"Allume ta propre fibre noire", -"Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.":"Loue ou creuse de la fibre noire, pose un système DWDM dessus et allume un canal. Moins cher par bit que des longueurs d’onde, une fois que ça marche.", -"Be in two buildings at once":"Sois dans deux bâtiments à la fois", -"Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.":"Ajoute un second site dans une métropole depuis l’onglet Infra, pour qu’une coupure de courant ne plonge plus toute la ville dans le noir.", -"Five continents":"Cinq continents", -"POPs in five of the six regions on the map.":"Des POP dans cinq des six régions de la carte.", -"Sign a giant":"Signe un géant", -"Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.":"Décroche un WAN IA, un entraînement multi-site ou un contrat de paires de fibre avec un hyperscaler. Niveau client 4 et un POP près de son campus requis.", -"Serve 10 Tbps":"Sers 10 Tbps", -"Ten terabits per second of happy traffic. The giants will notice.":"Dix térabits par seconde de trafic heureux. Les géants vont le remarquer.", -"Go transit-free: Tier 1!":"Plus jamais de transit : Tier 1 !", -"Only lends to people who do not need it.":"Ne prête qu’à ceux qui n’en ont pas besoin.", -"Very solid. Mostly.":"Très solide. Enfin, presque.", -"Lends you money and also a little bit of their own.":"Te prête de l’argent, et aussi un peu du sien.", -"Nervous, but enthusiastic.":"Nerveuse, mais enthousiaste.", -"Opened three accounts for you while you read this.":"T’a ouvert trois comptes pendant que tu lisais ceci.", -"Cheap, patient, and very particular about Stuttgart.":"Pas chère, patiente et très à cheval sur Stuttgart.", -"Instant approval. Instant regret.":"Accord instantané. Regrets instantanés.", -"Cheap state money for connecting the underserved. Bring a pen.":"De l’argent public pas cher pour connecter les zones mal desservies. Prévois un stylo.", -"Pays out in TubeCoin. Value may vary. A lot.":"Paie en TubeCoin. Valeur susceptible de varier. Beaucoup.", -"No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.":"Aucun remboursement, jamais. Juste une part de ton chiffre d’affaires, pour toujours, et beaucoup d’avis.", -"Always open. Ask no questions. Do not be late.":"Toujours ouvert. Pas de questions. Ne sois pas en retard.", -"Keep your peering ratio above 30%. The bank read a blog post about peering.":"Garde ton ratio de peering au-dessus de 30 %. La banque a lu un article de blog sur le peering.", -"Keep POPs on at least 2 continents. Diversification!":"Garde des POP sur au moins 2 continents. Diversification !", -"Your CEO plays golf with our CEO every Thursday.":"Ton PDG joue au golf avec notre PDG tous les jeudis.", -"No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.":"Aucun transit Cogentle, nulle part. Notre PDG s’est fait dépeerer une fois et ne s’en est jamais remis.", -"Every POP needs a backup generator. Our risk team saw one disaster movie.":"Chaque POP doit avoir un groupe électrogène. Notre service risques a vu un film catastrophe.", -"Send us your monthly report by fax.":"Envoie-nous ton rapport mensuel par fax.", -"Deliver at least 95% of what your customers want.":"Livre au moins 95 % de ce que veulent tes clients.", -"Our logo goes on every router you own.":"Notre logo sur chacun de tes routeurs.", -"Never let cash drop below $50k. It makes us sweat.":"Ne laisse jamais ta trésorerie passer sous $50k. Ça nous fait transpirer.", -"Stay out of mainland China. Compliance said so.":"Reste hors de Chine continentale. Ordre de la conformité.", -"No new subsea links while this loan runs. We are afraid of sharks.":"Aucun nouveau lien sous-marin tant que ce prêt court. On a peur des requins.", -"Peer at the Spätzle-IX in Stuttgart. Local money for local packets.":"Fais du peering au Spätzle-IX de Stuttgart. De l’argent local pour des paquets locaux.", -"Do the Kehrwoche: keep your NOC free of incidents older than a week.":"Fais la Kehrwoche : aucun incident de plus d’une semaine dans ton NOC.", -"Download our app and enable all notifications.":"Télécharge notre appli et active toutes les notifications.", -"Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).":"Propose du haut débit résidentiel dans une zone mal desservie (Asie, Afrique, Océanie ou Amérique du Sud).", -"Fill in form T-17b in triplicate, every month, forever.":"Remplis le Cerfa T-17b en trois exemplaires, chaque mois, pour toujours.", -"Never sell your TubeCoin. Diamond hands.":"Ne vends jamais tes TubeCoin. Mains de diamant.", -"Open a new POP at least every 90 days. Blitzscale or die.":"Ouvre un nouveau POP au moins tous les 90 jours. Blitzscale ou crève.", -"{bank} would like to lend you {amount}.":"{bank} aimerait te prêter {amount}.", -"They heard you might be in a spot of bother.":"Il paraît que tu serais un peu dans le pétrin.", -"Terms apply. Several terms.":"Des conditions s’appliquent. Plusieurs conditions.", -"Open bank":"Ouvrir la banque", -"{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.":"{bank} n’est pas content.
Tu as enfreint une condition du prêt : {cond} Corrige ça sous 10 jours ou paie une pénalité.", -"{bank} are circling.
They now take {pct} of your revenue.":"{bank} tournoie au-dessus de toi.
Ils prennent maintenant {pct} de ton chiffre d’affaires.", -"Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.":"Pénalité de {bank} : {fee}
Ajoutée à ta dette. Ta mensualité passe à {pay}.", -"Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.":"Prêt de {bank} remboursé !
Ils t’ont envoyé une corbeille de fruits. C’est surtout des bananes.", -"Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} \"as a reminder\".":"Deux messieurs très costauds de Loan Shark Telecom Finance ont débranché ton routeur à {city} « à titre de rappel ».", -"The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.":"L’usurier t’a envoyé un rappel.
Ton POP à {city} reste éteint jusqu’à demain.", -"Only Spätzle-IX":"Que du Spätzle-IX", -"Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.":"Démarre à Stuttgart, où personne ne vend de transit. Atteins Internet uniquement via peering, PNI, caches et ta propre fibre. Aucun transit, nulle part, jamais.", -"Reach 45% of the internet and serve 300 Gbps":"Couvre 45 % d’internet et sers 300 Gbps", -"Red Sea Crisis":"Crise en mer Rouge", -"Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.":"Tous les câbles de la mer Rouge sont coupés, tout comme le saut vers l’Égypte. Fais quand même parler Marseille et Singapore : par le tour de l’Afrique, par voie terrestre, ou par l’autre côté de la planète.", -"The Cogentle Spat":"La brouille Cogentle", -"Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.":"Cogentle et Goggle ne se parlent plus, et cette fois c’est définitif. Achète le transit pas cher, si tu l’oses.", -"99% reach and 150 Gbps served":"99 % de couverture et 150 Gbps servis", -"Carnaval":"Carnaval", -"Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.":"Rio en partant de zéro. Le Carnaval commence dans 90 jours et veut 400 Gbps pendant cinq jours d’affilée. Le monde entier regarde.", -"Deliver Carnaval in full":"Assurer tout le Carnaval", -"Mind the Gap":"Gare au bouchon", -"Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.":"Démarre à Panama City. Rien ne traverse le bouchon du Darién par voie terrestre, et les Andes barrent la route à tout le reste.", -"POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served":"Des POP à Bogotá, Lima, Santiago et São Paulo, et 150 Gbps servis", -"Anchors Away":"Ancre et damnation", -"Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.":"Tallinn. Les navires traînent leurs ancres sur les câbles de la Baltique trois fois plus souvent que d’habitude.", -"90 days in a row with 99.5% of demand served":"90 jours d’affilée avec 99,5 % de la demande servie", -"Transit costs 30% more":"Le transit coûte 30 % de plus", -"Twice the failures":"Deux fois plus de pannes", -"Start with only $100k":"Démarre avec seulement $100k", -"Eyeballs grow 50% faster":"Les eyeballs croissent 50 % plus vite", -"Every IX is run by DE-KICKS":"Tous les IX sont gérés par DE-KICKS", -"Shark season: subsea cuts twice as likely":"Saison des requins : coupures sous-marines deux fois plus probables", -"Weekly challenge {key}":"Défi hebdo {key}", -"Serve as much traffic as you can in one year.":"Sers autant de trafic que possible en un an.", -"You have {n} days.":"Tu as {n} jours.", -"Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.":"Mode bac à sable
Un milliard de dollars, tout débloqué, et rien ne casse jamais. Construis l’Internet dont tu as toujours rêvé.", -"Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.":"Bienvenue, {name} !
Le RIPE NCC t’a attribué l’AS{asn}. Ton premier routeur ronronne à {city}.", -"{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.":"{conf} arrive à {city} dans 30 jours.
Peering coordinators, discussions de couloir, stickers gratuits. Inscris-toi dans l’onglet Offres.", -"Show me":"Voir", -"You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.":"Tu as aussi gagné la tombola : {cash} d’optiques, revendues sur eBuy le soir même.", -"Someone from Goggle bought you a beer. You did not get their name, only a sticker.":"Quelqu’un de chez Goggle t’a payé une bière. Tu n’as pas retenu son nom, juste un sticker.", -"{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.":"{conf} à {city}
Tu as serré plein de mains. Pendant {n} jours, les réseaux sélectifs présents en {region} demandent deux fois moins de trafic avant de peerer.", -"Conferences":"Conférences", -"{name} glow: {n} days left":"Effet {name} : encore {n} jours", -"Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.":"Les réseaux sélectifs en {region} demandent deux fois moins de trafic pour peerer. C’est le moment de demander ce PNI.", -"Today":"Aujourd’hui", -"in {n} days":"dans {n} jours", -"Registered":"Inscrit", -"Registration closed":"Inscriptions closes", -"Attend {cost}":"Participer {cost}", -"Your router is live. Press “Launch broadband” to sell internet to the people of your city.":"Ton routeur est en ligne. Appuie sur « Lancer le haut débit » pour vendre Internet aux habitants de ta ville.", -"Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.":"Tes clients veulent tout Internet. Ouvre l’onglet Transit et achète un port chez un opérateur.", -"Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.":"Le transit se paie au gigabit. Le peering est gratuit : ouvre l’onglet Peering, achète un port IX, puis rejoins le route server.", -"Start the clock with 1× and watch traffic and money flow. You can pause any time.":"Lance le temps en 1× et regarde le trafic et l’argent couler. Tu peux mettre en pause à tout moment.", -"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.":"Grandis : fais glisser depuis ton routeur rose vers une ville proche pour poser de la fibre et ouvrir un deuxième POP.", -"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.":"Les entreprises apparaissent sous forme de bulles $ sur la carte. Ouvre Offres et signe ton premier client.", -"You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.":"Tu connais les bases.
Les objectifs à gauche prennent le relais. Ça va casser. C’est ça qui est drôle.", -"Step {n} of {total}":"Étape {n} sur {total}", -"Skip tutorial":"Passer le tutoriel", -"{name} cache":"Cache {name}", -"{ix} peering":"Peering {ix}", -"{name} transit":"Transit {name}", -"{city}, your router":"{city}, ton routeur", -"own dark fiber":"ta fibre noire", -"fabric circuit":"circuit fabric", -"terrestrial wave":"longueur d’onde terrestre", -"no working path between these POPs":"aucun chemin fonctionnel entre ces POP", -"No path: every route between these cities is down or missing.":"Aucun chemin : toutes les routes entre ces villes sont coupées ou inexistantes.", -"Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Chemin interne sur {n} lien, choisi selon la distance et les métriques des liens. L’Auto-TE peut déporter le surplus ailleurs quand il est plein.", -"Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Chemin interne sur {n} liens, choisi selon la distance et les métriques des liens. L’Auto-TE peut déporter le surplus ailleurs quand il est plein.", -"Internal path over {n} link, chosen by distance and link metrics.":"Chemin interne sur {n} lien, choisi selon la distance et les métriques des liens.", -"Internal path over {n} links, chosen by distance and link metrics.":"Chemin interne sur {n} liens, choisi selon la distance et les métriques des liens.", -"!N network unreachable":"!N réseau injoignable", -"Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.":"Rien sur ton réseau n’atteint {net} : aucun transit, session IX, PNI ou cache avec un chemin fonctionnel depuis {city}.", -"hand-off to {net}":"passage à {net}", -"{net} carries it to {city}":"{net} l’achemine jusqu’à {city}", -"{net} hands it to {to}":"{net} le passe à {to}", -"across the {ix} switch":"via le switch de {ix}", -"private cross-connect":"cross-connect privé", -"embedded cache in your rack":"cache embarqué dans ton rack", -"caches beat PNIs":"les caches battent les PNI", -"PNIs beat IX peering":"les PNI battent le peering IX", -"IX peering beats transit":"le peering IX bat le transit", -"transit is the last resort":"le transit est le dernier recours", -"Crossing the Great Firewall here loses about {p}% of packets.":"Traverser le Great Firewall ici fait perdre environ {p} % des paquets.", -"Exit: {exit} in {city}.":"Sortie : {exit} à {city}.", -"{rule}, and closer exits win ties":"{rule}, et la sortie la plus proche l’emporte en cas d’égalité", -"; this one is set to {mode}":" ; celle-ci est réglée sur {mode}", -"It is full, so some traffic overflows to the next exit.":"Elle est pleine, donc une partie du trafic déborde vers la sortie suivante.", -"Looking glass":"Looking glass", -"Traceroute":"Traceroute", -"Close":"Fermer", -"From":"De", -"To":"Vers", -"Networks":"Réseaux", -"Your POPs":"Tes POP", -"Run":"Lancer", -"AS path: {path}":"AS path : {path}", -"Copy":"Copier", -"Sandbox":"Bac à sable", -"Peak traffic":"Pic de trafic", -"Peered":"Via peering", -"POPs":"POP", -"{n} in {r} regions":"{n} dans {r} régions", -"Links":"Liens", -"Customers":"Clients", -"Incidents survived":"Incidents surmontés", -"Shark bites":"Morsures de requin", -"Badges":"Badges", -"Weekly {key}":"Hebdo {key}", -"score {v}":"score {v}", -"not this time":"pas cette fois", -"in progress":"en cours", -"Build the internet, one tube at a time":"Construis Internet, un tube à la fois", -"Your browser cannot draw the card.":"Ton navigateur ne peut pas dessiner la fiche.", -"Share":"Partager", -"Your network card":"La fiche de ton réseau", -"Stats card for {name}":"Fiche de stats de {name}", -"Share…":"Partager…", -"Download PNG":"Télécharger le PNG", -"Post it wherever your peering friends hang out.":"Poste-la là où traînent tes potes du peering.", -"Your score: {score}":"Ton score : {score}", -"Peak traffic served in one year. Your best this week is {best}.":"Pic de trafic servi en un an. Ton record cette semaine : {best}.", -"Peak traffic served in one year. A new personal best for this week!.":"Pic de trafic servi en un an. Nouveau record perso cette semaine !", -"Peak traffic served in one year.":"Pic de trafic servi en un an.", -"Share my result":"Partager mon résultat", -"Keep playing":"Continuer à jouer", -"Scenario complete":"Scénario réussi", -"{name}: done in {d} days":"{name} : réussi en {d} jours", -"With time to spare.":"Avec de la marge.", -"Just in time.":"Juste à temps.", -"More scenarios":"Plus de scénarios", -"Scenario over":"Scénario terminé", -"Time's up":"Temps écoulé", -"{goal} was not reached in {d} days. Keep playing this network as free play, or try again.":"Objectif non atteint en {d} jours : {goal}. Continue avec ce réseau en partie libre, ou réessaie.", -"Try again":"Réessayer", -"Scenarios":"Scénarios", -"Pick a challenge":"Choisis un défi", -"Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.":"Départ à {city} · {mods} · un an, score = pic de trafic. Le même monde pour tout le monde cette semaine.", -"Your best: {best}.":"Ton record : {best}.", -"Play":"Jouer", -"done in {d} days":"réussi en {d} jours", -"Goal: {goal} · Time: {d} days · start in {city}":"Objectif : {goal} · Durée : {d} jours · départ à {city}", -"Y{y} · {mon} {d}":"A{y} · {d} {mon}", -"{port} port":"port {port}", -"POPs on 3+ continents":"POP sur 3+ continents", -"10+ POPs ({n})":"10+ POP ({n})", -"serve 1.5 Tbps ({v})":"servir 1,5 Tbps ({v})", -"20+ peering sessions ({n})":"20+ sessions de peering ({n})", -"Only peers over PNIs in this metro. Order a cross-connect instead.":"Ne peere qu’en PNI dans cette métropole. Commande plutôt un cross-connect.", -"Their IX port here is full until the next upgrade. They promise it is soon.":"Leur port IX ici est saturé jusqu’au prochain upgrade. Ils promettent que c’est pour bientôt.", -"Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.":"Ont tout migré en PNI dans cette ville. Merci de lire leur page PearingDB, les 40 pages.", -"The peering coordinator for this city is on a six-month sabbatical.":"Le peering coordinator de cette ville est en congé sabbatique pour six mois.", -"Their policy here says \"IX peering by invitation only\". You were not invited.":"Leur politique ici dit « peering IX sur invitation uniquement ». Tu n’as pas été invité.", -"Not accepting new peers in this region right now.":"N’acceptent pas de nouveaux peers dans cette région pour le moment.", -"Region frozen while they renegotiate with the local incumbent.":"Région gelée pendant qu’ils renégocient avec l’opérateur historique local.", -"Their routers in this city are \"at capacity\". They are not.":"Leurs routeurs dans cette ville sont « à pleine capacité ». Ils ne le sont pas.", -"Already reach you through your transit provider here and think that is fine.":"Te joignent déjà via ton fournisseur de transit ici et trouvent que ça suffit.", -"Their lawyers are reviewing every peering agreement in this country. Again.":"Leurs avocats revoient chaque accord de peering de ce pays. Encore.", -"A new VP wants to \"monetise interconnection\" in this market.":"Un nouveau VP veut « monétiser l’interconnexion » sur ce marché.", -"Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.":"Le remote peering, c’est le dernier recours. Les ports passent par un revendeur à 1,5× le prix, seuls 80 % du port sont vraiment à toi, la latence voyage sur le fabric, une seule panne du fabric fait tomber toutes les sessions, et beaucoup de réseaux sélectifs refusent les membres distants. Un POP ici, c’est mieux.", -"Policy: no remote peers. Be in the building or be in the transit bill.":"Politique : pas de peers distants. Sois dans le bâtiment, ou sur la facture de transit.", -"Saw your session come in over a fabric and said \"we can smell the VXC from here\".":"Ils ont vu ta session arriver par un fabric et ont dit « on sent le VXC d’ici ».", -"Only peers with members they can reach without a 1,500 km hairpin.":"Ne fait du peering qu’avec les membres joignables sans hairpin de 1 500 km.", -"Their PearingDB entry says \"Remote peering: No (we mean it)\".":"Leur fiche PearingDB indique « Remote peering : non (et on est sérieux) ».", -"Tried a remote peer once. It flapped during a product launch. Never again.":"Ils ont essayé un peer distant, une fois. Il a flappé pendant un lancement de produit. Plus jamais.", -"{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about \"the value of premium interconnection\". Prices unchanged.":"{rival} débauche les membres de DE-KICKS à {city}.
DE-KICKS a répondu par un webinaire sur « la valeur de l’interconnexion premium ». Prix inchangés.", -"Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.":"Guerre des prix à {city} !
{ix} a baissé ses prix de port de 10 % pour empêcher ses membres de filer chez {rival}. Ta facture vient de maigrir.", -"Like blackholing, but with a Plus.":"Comme le blackholing, mais avec un Plus.", -"The same route server, in a gold-coloured portal.":"Le même route server, dans un portail couleur or.", -"Your port light now blinks in brand colours.":"Le voyant de ton port clignote désormais aux couleurs de la marque.", -"A monthly PDF of your own traffic graphs.":"Un PDF mensuel de tes propres graphes de trafic.", -"Makes your port \"ready\" for a product you did not buy.":"Rend ton port « prêt » pour un produit que tu n’as pas acheté.", -"A fee for being ready for the cloud.":"Des frais pour être prêt pour le cloud.", -"Your account manager is hungry.":"Ton commercial a faim.", -"Your account manager would love to \"align on value\" first. Strategic call booked for next week.":"Ton commercial aimerait d’abord « s’aligner sur la valeur ». Call stratégique calé la semaine prochaine.", -"Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.":"Les tarifs sont revus par le Global Commercial Council, qui se réunit à la prochaine pleine lune.", -"They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.":"Ils t’ont envoyé un NDA de 14 pages avant même de pouvoir te répéter le prix. Les avocats tablent sur une semaine.", -"Your account manager is at a conference in Dubai. And then one in Madrid.":"Ton commercial est à une conférence à Dubaï. Puis à une autre à Madrid.", -"DE-KICKS Group · Sales":"DE-KICKS Group · Ventes", -"Your personalised {port} quote for {ix}":"Ton devis personnalisé {port} pour {ix}", -"“Thanks for your interest! We don't publish prices, because every customer is unique.”":"« Merci de ton intérêt ! Nous ne publions pas nos prix, car chaque client est unique. »", -"Monthly price, just for you":"Prix mensuel, rien que pour toi", -"{price}/mo":"{price}/mois", -"List price":"Prix catalogue", -"Confidential":"Confidentiel", -"What others pay":"Ce que paient les autres", -"Covered by NDA":"Sous NDA", -"Quotes go up with how big you look.":"Plus tu as l’air gros, plus le devis grimpe.", -"Your account manager has stopped replying to haggling.":"Ton commercial ne répond plus à tes tentatives de négociation.", -"Haggles left: {n}.":"Négociations restantes : {n}.", -"Sign {price}/mo":"Signer {price}/mois", -"Haggle":"Négocier", -"Walk away":"Laisser tomber", -"Your {ix} promo ended.
Price is back, plus 10% for \"loyalty programme administration\".":"Ta promo {ix} est terminée.
Le prix revient, plus 10 % de « frais de gestion du programme de fidélité ».", -"DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.":"DE-KICKS a harmonisé ses tarifs.
Harmonisé veut dire à la hausse : {ix} coûte maintenant {p} % de plus. Merci pour ta confiance renouvelée.", -"Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.":"Bonne nouvelle ! Tu as été inscrit à {addon}.
{blurb} {price}/mois, ajouté à ta facture {ix}. Désinscription possible à tout moment dans le panneau IX.", -"🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.":"🐘 ALERTE : la CVE-2026-31337 vient de mettre à terre la moitié d’Internet.
Un bug dans PHP a transformé tous les sites vaguement WordPress de la planète en mineurs de crypto. Le trafic eyeballs baisse de 30 % pendant quelques jours, le temps que le monde patche. Tes clients d’hébergement s’y collent à 3 h du matin.", -"They will reconsider in {n} day.":"Ils y repenseront dans {n} jour.", -"They will reconsider in {n} days.":"Ils y repenseront dans {n} jours.", -"Wants ≥ {need} Gbps of traffic from you (you send {dem})":"Veut ≥ {need} Gbps de trafic de ta part (tu en envoies {dem})", -"Paid peering only, over a PNI":"Peering payant uniquement, via PNI", -"Only peers over PNIs, and only with networks it considers important":"Ne fait du peering qu’en PNI, et seulement avec les réseaux qu’il juge importants", -"Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})":"Veut que tu sois Tier 2, ou que tu lui envoies ≥ {need} Gbps (tu en envoies {dem})", -"Tier 1s never peer at IXs":"Les Tier 1 ne font jamais de peering sur les IX", -"Not big enough yet: {list}":"Pas encore assez gros : {list}", -"{net} transit · {lag}":"transit {net} · {lag}", -"Add a LAG member, upgrade the port or buy a second upstream.":"Ajoute un membre au LAG, mets à niveau le port ou achète un second upstream.", -"Upgrade the IX port or add a LAG member.":"Mets à niveau le port IX ou ajoute un membre au LAG.", -"PNI with {net}":"PNI avec {net}", -"Add a LAG member or upgrade the PNI.":"Ajoute un membre au LAG ou mets à niveau le PNI.", -"{name} caches":"caches {name}", -"Ask for another box. The overflow goes out over peering or transit.":"Demande un autre boîtier. Le surplus part en peering ou en transit.", -"Routers":"Routeurs", -"Upgrade the router or add a second one in the Infra tab.":"Mets à niveau le routeur ou ajoutes-en un second dans l’onglet Infra.", -"missing {what}":"élément manquant : {what}", -"unknown {what} “{word}”":"{what} « {word} » introuvable", -". Did you mean {name}?":". Tu voulais dire {name} ?", -"line {n}: spill must be between 20% and 100%":"ligne {n} : spill doit être entre 20 % et 100 %", -"network":"réseau", -"line {n}: {err}":"ligne {n} : {err}", -"transit provider":"fournisseur de transit", -"city":"ville", -"line {n}: I don't understand “{text}”. Try: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos":"ligne {n} : je ne comprends pas « {text} ». Essaie : spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos", -"Auto-TE controller":"Contrôleur Auto-TE", -"Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.":"Écris des règles, vérifie-les sur le trafic réel, puis déploie. Un mauvais déploiement est un moyen très concret de casser ton réseau.", -"Check (dry run)":"Vérifier (dry run)", -"Deploy":"Déployer", -"Remove script":"Supprimer le script", -"Reset to example":"Rétablir l’exemple", -"Rules:":"Règles :", -"Live: {state} · {rules}":"État : {state} · {rules}", -"deployed":"déployé", -"controller is off":"contrôleur éteint", -"{n} rules active":"règles actives : {n}", -"not active":"inactif", -"{net} transit":"transit {net}", -"SD-WAN for {name}":"SD-WAN pour {name}", -"L2VPN for {name}":"L2VPN pour {name}", -"Your IX":"Ton IX", -"Customer":"Client", -"One-way latency within {max} ms (best now: {best})":"Latence aller simple sous {max} ms (meilleure actuelle : {best})", -"no path":"aucun chemin", -"Two paths that share no trench or fabric":"Deux chemins sans tranchée ni fabric en commun", -"Afraid of sharks: needs a path with no subsea cable":"A peur des requins : veut un chemin sans câble sous-marin", -"Refuses Cogentle transit anywhere on your network (long story)":"Refuse le transit Cogentle partout sur ton réseau (longue histoire)", -"IPv6 or bust: you must peer with Drizzle Electric":"IPv6 ou rien : tu dois faire du peering avec Drizzle Electric", -"Wants NetChill on-net: a cache or a PNI":"Veut NetChill on-net : un cache ou un PNI", -"Backup generator in every city they touch":"Groupe électrogène dans chaque ville qu’il touche", -"Insists on two routers in their city":"Exige deux routeurs dans sa ville", -"Two data centers in every metro they touch":"Deux datacenters dans chaque métropole qu’il touche", -"Wants two different transit providers (or none at all)":"Veut deux fournisseurs de transit différents (ou aucun)", -"Needs low-loss reach into China":"Veut un accès vers la Chine à faible perte", -"Will only sign with a network that runs a DDoS scrubbing center":"Ne signe qu’avec un réseau doté d’un centre de scrubbing DDoS", -"Their CEO hates puns. Please do not mention the network names.":"Leur PDG déteste les jeux de mots. Merci de ne pas mentionner les noms des réseaux.", -"{bw} extra for {d} days, {when} · pays {fee} when it is over":"{bw} en plus pendant {d} jours, {when} · paie {fee} à la fin", -"day {n} of {d}":"jour {n} sur {d}", -"starting in {n}d":"commence dans {n} j", -"{n} sites: {list} · {bw} per site · {price}/mo":"{n} sites : {list} · {bw} par site · {price}/mois", -"{name} starts today!
{bw} of extra demand in {city} for {d} days.":"{name} commence aujourd’hui !
{bw} de demande supplémentaire à {city} pendant {d} jours.", -"{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.":"{name} est terminé : +{pay}
Tu as livré {pct} de ce que voulait le public.", -"Flawless.":"Impeccable.", -"{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.":"{name} a été un désastre.
Seulement {pct} livré, et ça a fait le buzz sur les réseaux sociaux. Pénalité : {pay}.", -"{name} at {site}":"{name} à {site}", -"{name} (hub: {site})":"{name} (hub : {site})", -"{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it":"{n} paires de fibre dans ta tranchée {a}–{b}. Le génie civil, c’était le plus cher, alors ils veulent tout", -"{name} in {city}":"{name} à {city}", -"{n}× 400G alien wave on your {a}–{b} fiber":"{n}× longueur d’onde alien 400G sur ta fibre {a}–{b}", -"{n}× 400G alien waves on your {a}–{b} fiber":"{n}× longueurs d’onde alien 400G sur ta fibre {a}–{b}", -"a spare fiber pair in your {a}–{b} trench":"une paire de fibre libre dans ta tranchée {a}–{b}", -"Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.":"Aux Émirats, seuls les deux opérateurs agréés, Etis-a-lot et Du-opoly, peuvent poser de la fibre. Pas de fibre noire, pas de tranchée perso, et les longueurs d’onde coûtent 3×.", -"Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.":"Par voie terrestre, entre continents, on traverse une dizaine de frontières, et chaque opérateur au passage prend sa part : {x}× le prix. Le sous-marin coûte bien moins cher.", -"Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.":"Personne ne vend une paire de fibre à travers une dizaine de frontières. Entre continents, la capacité terrestre ne s’obtient qu’en longueurs d’onde louées.", -"This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.":"Cette route traverse les Andes : 2× le prix, et glissements de terrain et neige la coupent bien plus souvent que la fibre en plaine.", -"North America":"Amérique du Nord", -"{a} to {b}":"{a} → {b}", -"cheap: lots of competing fiber":"bon marché : beaucoup de fibre en concurrence", -"about average":"dans la moyenne", -"pricey: fewer carriers":"cher : peu d’opérateurs", -"expensive: scarce capacity":"très cher : capacité rare", -", and prices have fallen {p}% since you started":", et les prix ont baissé de {p} % depuis tes débuts", -"{where}: {lvl}. This route is {p}% below the going rate{since}.":"{where} : {lvl}. Cette route est {p} % sous le prix du marché{since}.", -"{where}: {lvl}. This route is {p}% above the going rate{since}.":"{where} : {lvl}. Cette route est {p} % au-dessus du prix du marché{since}.", -"{where}: {lvl}. This route is right at the going rate{since}.":"{where} : {lvl}. Cette route est pile au prix du marché{since}.", -"Overland":"Terrestre", -"old, cuts often":"vieux, souvent coupé", -"Route":"Tracé", -"All your waves on one cable share its fate when it is cut.":"Toutes tes longueurs d’onde sur un même câble partagent son sort quand il est coupé.", -"Follow metrics":"Suivre les métriques", -"Lowest latency":"Latence minimale", -"Scenic (quietest links)":"Chemin des écoliers (liens les plus calmes)", -"Route:":"Tracé :", -"Path latency: {lat}":"Latence du chemin : {lat}", -"{ms} ms one-way":"{ms} ms aller simple", -"no path right now":"aucun chemin pour l’instant", -"budget {ms} ms":"budget {ms} ms", -"split over two equally quiet paths":"réparti sur deux chemins aussi calmes l’un que l’autre", -"Site:":"Site :", -"Both adds a LAG member":"Les deux ajoute un membre au LAG", -"Both split the LAG":"Les deux scinde le LAG", -"{n} ports":"{n} ports", -"boots in ~{n} min":"démarre en ~{n} min", -"crashes more":"plante plus souvent", -"Level {n}":"Niveau {n}", -"Swap {cost} + {mo}/mo":"Remplacer {cost} + {mo}/mois", -"Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).":"Ton {model} ici plafonne à des ports {pn}. Pour des ports plus gros, il faut mettre à niveau le routeur (onglet Infra).", -"Certificate expired":"Certificat expiré", -"The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.":"Le certificat TLS de ton tableau de bord NOC a expiré. Plus personne ne voit les graphes, donc techniquement il n’y a aucun problème.", -"It was DNS":"C’était le DNS", -"Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.":"Quelqu’un a supprimé l’enregistrement DNS du wiki interne. La procédure pour réparer le DNS était sur le wiki.", -"Leap second":"Seconde intercalaire", -"A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.":"Une seconde intercalaire a convaincu un de tes routeurs qu’on est en 1970. L’uptime affiche moins 56 ans. Le trafic va bien.", -"Change freeze":"Gel des changements", -"Management declared a change freeze. Someone made a change to announce the change freeze.":"La direction a décrété un gel des changements. Quelqu’un a fait un changement pour annoncer le gel des changements.", -"Ticket of the week":"Le ticket de la semaine", -"A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.":"Un client a ouvert un ticket P1 : « Internet est lent ». En pièce jointe, une photo de son routeur, débranché.", -"Monitoring":"Supervision", -"Your monitoring system went down. You found out because nothing alerted. Very peaceful week.":"Ta supervision est tombée. Tu l’as découvert parce que rien n’a alerté. Semaine très paisible.", -"Load-bearing typo":"Coquille porteuse", -"Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.":"Quelqu’un a nommé un VLAN « prodcution ». Désormais, tout repose dessus et il ne pourra jamais être renommé.", -"IPv6 milestone":"Jalon IPv6", -"Your IPv6 traffic grew 400%. From one packet to five.":"Ton trafic IPv6 a augmenté de 400 %. D’un paquet à cinq.", -"Mystery link":"Lien mystère", -"You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.":"Tu as trouvé dans l’inventaire un lien 10G que personne n’a commandé, que personne ne paie, et qui transporte 3 Gbps de quelque chose.", -"Spreadsheet IPAM":"IPAM sur tableur", -"Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.":"Ton tableur d’adresses IP a atteint 1 048 576 lignes. Excel a un avis sur la question.", -"Goose incident":"L’incident de l’oie", -"A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.":"Une oie a attaqué le technicien en route vers ta cabane d’amplis. L’oie a gagné. Intervention reportée, rien de cassé.", -"Latency test":"Test de latence", -"A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.":"Un pigeon voyageur a battu un de tes liens lors d’un test de latence informel. Le moral est en berne. Le débit va bien.", -"Zombie route":"Route zombie", -"A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.":"Une route que tu as retirée en année 1 est encore visible quelque part sur Internet. Personne ne sait où. Tout va bien. Probablement.", -"Auditor visit":"Visite de l’auditeur", -"An auditor asked for a network diagram. You sent the game map. They approved it.":"Un auditeur a demandé un schéma réseau. Tu lui as envoyé la carte du jeu. Il l’a validée.", -"Open to work":"Open to work", -"Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.":"Ton peering coordinator a mis « open to work » sur son profil. Trois Tier 1 veulent soudain discuter. Il ne s’est rien passé, mais ça fait plaisir.", -"Hold music":"Musique d’attente", -"Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.":"Le support de ton upstream passe en boucle les mêmes 11 secondes de musique d’attente. Ton ingé d’astreinte sait maintenant la fredonner dans quatre tonalités.", -"Naming committee":"Comité de nommage", -"A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.":"Une réunion de deux heures sur les hostnames des routeurs s’est conclue par un vote pour « router-final-v2-NEW ».", -"Vendor TAC":"TAC du constructeur", -"Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.":"Le support du constructeur t’a demandé « d’essayer d’éteindre et de rallumer ». Pour le routeur que tu avais déjà redémarré. Ticket fermé.", -"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.":"Une pelleteuse a coupé l’anneau métropolitain entre tes deux sites à {city}. En fait, les deux chemins de fibre passaient par la même rue.", -"Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.":"Quelqu’un a débranché le mauvais cross-connect dans la meet-me room de {city}, et {siteB} est coupé de {siteA}.", -"A tram line construction project in {city} found your metro ring. Both halves of it.":"Le chantier d’une ligne de tram à {city} a trouvé ton anneau métropolitain. Ses deux moitiés.", -"Splice it tonight":"Ressouder cette nuit", -"The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.":"La clim de {dc} a lâché le jour le plus chaud de l’année. Tes routeurs à {city} sont bridés à mi-capacité.", -"Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.":"Quelqu’un a réglé le thermostat du datacenter de {city} en Fahrenheit en croyant que c’était des Celsius. Les routeurs cuisent à mi-régime.", -"The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.":"Le prestataire de refroidissement à {city} a remplacé les groupes froids par un ventilateur très sûr de lui. Mi-capacité pendant deux jours.", -"Buy 40 desk fans":"Acheter 40 ventilateurs de bureau", -"Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.":"Quelqu’un à {dc} a étiqueté chaque jarretière « NE PAS DÉBRANCHER ». Quelqu’un d’autre en a débranché une quand même : ton lien {a}–{b}.", -"A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.":"On a demandé à un technicien remote-hands à {a} de nettoyer la fibre du port 1. Il l’a nettoyée avec un sandwich. {a}–{b} est tombé.", -"A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.":"Un nouveau technicien à {a} a « rangé » le sac de nœuds de câbles. Ton lien {a}–{b} faisait partie du sac de nœuds.", -"The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.":"Le propriétaire à {a} a refait la colonne montante de l’immeuble et a pincé ta fibre noire vers {b}.", -"A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.":"Un soudeur qui épissait le câble de quelqu’un d’autre dans une chambre de tirage près de {b} a soudé le tien à la place.", -"{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.":"{co} s’est emmêlé les doigts sur un cross-connect et a branché ta longueur d’onde {a}–{b} sur un four à pizza.", -"{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.":"{co} a fait une « petite maintenance » sur la mauvaise longueur d’onde : la tienne, {a}–{b}, transporte désormais les vidéos de chats de quelqu’un d’autre.", -"{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.":"{co} a planifié la maintenance en UTC. Ton équipe l’a lue en heure locale. {a}–{b} s’est éteint en pleine heure de pointe.", -"An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.":"Un ingénieur de {co} a inversé Tx et Rx sur ta longueur d’onde {a}–{b}. La lumière entre, la confusion sort.", -"{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.":"{co} a démantelé ta longueur d’onde {a}–{b} parce que le ticket disait « decom » au lieu de « docs ».", -"Bribe their NOC with donuts":"Soudoyer leur NOC avec des croissants", -"MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.":"MTU incohérent sur {a}–{b} : les jumbo frames restent coincées dans le tube. Capacité utile divisée par deux.", -"Set MTU 9216 everywhere":"Mettre le MTU à 9216 partout", -"The cleaner unplugged everything at {siteA}.":"L’agent d’entretien a tout débranché à {siteA}.", -"Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.":"Incident aspirateur à {city}
L’agent d’entretien a tout débranché à {siteA}. {siteB} a maintenu la ville en ligne à mi-capacité.", -"Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.":"Incident aspirateur à {city}
L’agent d’entretien de {dc} a débranché un de tes routeurs pour brancher un aspirateur. L’autre a tenu. Le sol est impeccable.", -"The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.":"L’agent d’entretien de {dc} a débranché ton routeur pour brancher un aspirateur. Le sol est impeccable.", -"Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.":"Ton ingé d’astreinte a tapé « clear bgp * » en production à {city} à 3 h du matin. Ça a bien nettoyé.", -"An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.":"Un stagiaire a poussé à {city} une ACL qui refuse 0.0.0.0/0. Très sécurisé. Très hors ligne.", -"Someone ran “reload” on the {city} router, thinking it was their laptop terminal.":"Quelqu’un a lancé « reload » sur le routeur de {city} en croyant être dans le terminal de son portable.", -"A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.":"Un template de config a rendu « {{ router_id }} » tel quel à {city}. Le routeur l’a pris personnellement.", -"Someone committed a config in {city} with “commit confirmed 1” and went to lunch.":"Quelqu’un a commité une config à {city} avec « commit confirmed 1 » et est parti déjeuner.", -"Someone deployed to {city} on a Friday at 16:59.":"Quelqu’un a déployé à {city} un vendredi à 16 h 59.", -"A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.":"Un rayon cosmique a inversé un bit dans ton routeur de {city}. Il croit maintenant que 10.0.0.0/8 se trouve en Antarctique.", -"An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.":"Un script d’automatisation à {city} a lancé « sed » sur toute la config au lieu d’une ligne. Toutes les interfaces s’appellent maintenant « TODO ».", -"Automation pushed it to every router, so redundancy did not help.":"L’automatisation l’a poussé sur tous les routeurs, la redondance n’a donc servi à rien.", -"Roll back the config":"Rollback de la config", -"Hide the vacuum":"Cacher l’aspirateur", -"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.":"Un membre de {ix} a fait fuiter la table de routage complète dans le route server. Les limites max-prefix ont sauté partout. Ton peering là-bas, à {city}, est tombé.", -"Something in the NOC glitched.
The game kept going. If things look odd, export your save and open an issue on GitHub.":"Un truc a buggé dans le NOC.
Le jeu a continué. Si quelque chose semble bizarre, exporte ta sauvegarde et ouvre une issue sur GitHub.", -"{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.":"{net} s’est emmêlé les doigts dans une route-map et a prependé ton AS {n} fois à {city}. Personne ne veut de ce chemin.", -"Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.":"Ta ROA a expiré pendant le week-end. Tes préfixes sont RPKI-invalid et environ la moitié d’Internet les jette.", -"Renew the ROA":"Renouveler la ROA", -"You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.":"Tu t’es emmêlé les doigts dans le plan de canaux sur {a}–{b} et as allumé un nouveau canal pile par-dessus tous les autres.", -"An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.":"Une cabane d’amplification en ligne entre {a} et {b} a perdu son alimentation. Une famille de souris s’y était installée.", -"Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.":"Quelqu’un a volé le cuivre de la mise à la terre d’une cabane d’amplis sur {a}–{b}. Tous les canaux éteints.", -"A firmware bug in the {sys} at {a} set every channel to “maintenance”.":"Un bug firmware du {sys} à {a} a mis tous les canaux en « maintenance ».", -"Lightning hit an amp site on {a}–{b}. The surge protector was decorative.":"La foudre a frappé un site d’amplification sur {a}–{b}. Le parafoudre était décoratif.", -"Your spares kit gets it back tomorrow.":"Ton kit de rechange le remet en route demain.", -"Truck a spare amp out":"Livrer un ampli de rechange", -"A {optic} on {a}–{b} overheated and is now a very expensive keychain.":"Une optique {optic} sur {a}–{b} a surchauffé et n’est plus qu’un porte-clés hors de prix.", -"The laser in a {optic} on {a}–{b} died. One channel dark.":"Le laser d’une optique {optic} sur {a}–{b} a rendu l’âme. Un canal éteint.", -"A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.":"Une optique {optic} sur {a}–{b} s’est mise à annoncer une température de 900 °C. C’était faux, mais elle s’est coupée quand même.", -"Swapped from your spares kit by tomorrow.":"Remplacée grâce à ton kit de rechange d’ici demain.", -"Buy a replacement":"Acheter une pièce de rechange", -"Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.":"Encore un câble sous-marin du Vietnam cassé : ton lien {a}–{b}. Le navire de réparation viendra après les fêtes. Lesquelles, mystère.", -"Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.":"Ton câble {a}–{b} a cassé au même endroit que la dernière fois. L’équipe de réparation l’a reconnu.", -"A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.":"Un crocodile a croqué un morceau de ta fibre {a}–{b}. Il n’a pas trouvé ça terrible.", -"Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.":"Les termites ont mangé le fourreau sur {a}–{b}. Puis la fibre. Puis le fourreau de remplacement.", -"A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.":"Un cargo a « oublié » de remonter son ancre et l’a traînée sur ton câble {a}–{b}. Les armateurs sont désolés, et assez difficiles à joindre.", -"Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.":"Encore une ancre, encore une coupure : ton câble {a}–{b}. Le pavillon du navire a changé deux fois pendant l’enquête.", -"A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.":"Un bateau de pêche à l’ancre étonnamment lourde a coupé {a}–{b}. Il ne pêchait pas.", -"A landslide in the Andes buried your {a}–{b} fiber.":"Un glissement de terrain dans les Andes a enseveli ta fibre {a}–{b}.", -"Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.":"La neige a fermé le col, et l’équipe de réparation avec : {a}–{b} est tombé.", -"An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.":"Un séisme a déboîté ta fibre {a}–{b} quelque part au-dessus de 4 000 mètres.", -"A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.":"Un troupeau de lamas a piétiné la balise de fibre sur {a}–{b}. Puis un tractopelle a trouvé la fibre.", -"Road widening near {a} cut your fiber to {b}. It is always road widening.":"Un élargissement de route près de {a} a coupé ta fibre vers {b}. C’est toujours un élargissement de route.", -"The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.":"La mousson a inondé une chambre de tirage sur {a}–{b}. La fibre est maintenant sous l’eau, tout comme la chambre.", -"A digger found your {a}–{b} fiber. A different digger is coming to fix it.":"Une pelleteuse a trouvé ta fibre {a}–{b}. Une autre pelleteuse arrive pour la réparer.", -"A curious shark bit your subsea cable {a}–{b}.":"Un requin curieux a mordu ton câble sous-marin {a}–{b}.", -"A ship dragged its anchor across your {a}–{b} cable.":"Un navire a traîné son ancre sur ton câble {a}–{b}.", -"An undersea landslide snapped {a}–{b}.":"Un glissement de terrain sous-marin a sectionné {a}–{b}.", -"A backhoe found your fiber between {a} and {b}.":"Un tractopelle a trouvé ta fibre entre {a} et {b}.", -"Squirrels chewed through {a}–{b}. They regret nothing.":"Des écureuils ont rongé {a}–{b}. Non, rien de rien, ils ne regrettent rien.", -"Road works cut {a}–{b}. Nobody called before digging.":"Des travaux de voirie ont coupé {a}–{b}. Personne n’a fait de DICT avant de creuser.", -"All {n} links in that trench went down with it.":"Les {n} liens de cette tranchée sont tombés avec elle.", -"Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.":"Plantage de routeur à {city}
Un routeur a paniqué et son jumeau a pris le relais.{slow} La capacité y est réduite d’un routeur pendant {d} jours.", -"The crashed one {what}.":"Celui qui a planté {what}.", -"Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Le délestage a mis {site} hors service à {city}. {other} a tenu, donc le POP tourne à mi-capacité. Tout ce qui n’est branché que sur le site éteint est hors ligne.", -"A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Une coupure de courant a mis {site} hors service à {city}. {other} a tenu, donc le POP tourne à mi-capacité. Tout ce qui n’est branché que sur le site éteint est hors ligne.", -"Rent a generator":"Louer un groupe électrogène", -"Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.":"Black-out à {city}
Le réseau électrique est encore tombé. Ton groupe électrogène a démarré du premier coup, comme toujours ici.", -"Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.":"Délestage à {city}
Niveau {n} aujourd’hui. Ton groupe électrogène a toussé, puis a gardé la lumière allumée.", -"Power cut in {city}
Your backup generator kicked in. Lights stayed on.":"Coupure de courant à {city}
Ton groupe électrogène de secours a pris le relais. La lumière est restée allumée.", -"Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.":"Ton routeur à {city} a planté et redémarre. Il {what}. Temps de boot de celui-ci : environ {min} minutes par tentative, et il en est à la tentative {n}.", -"Your router in {city} crashed. Kernel panic, packet panic.":"Ton routeur à {city} a planté. Kernel panic, packet panic.", -"A firmware update bricked your router in {city}.":"Une mise à jour firmware a briqué ton routeur à {city}.", -"A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.":"Un black-out a frappé {city} et ton POP n’a pas de groupe électrogène. Tous les autres réseaux ici en ont un. Achètes-en un.", -"Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.":"Délestage niveau {n} à {city}, et tu n’as pas de groupe électrogène. Achètes-en un : ici, ce n’est pas optionnel.", -"Power outage at {dc} in {city}. The generator did not start.":"Coupure de courant chez {dc} à {city}. Le groupe électrogène n’a pas démarré.", -"Turn it off and on again (it will take a while)":"L’éteindre et le rallumer (ça va prendre un moment)", -"Turn it off and on again":"L’éteindre et le rallumer", -"{net} is having an outage in {city}. Your transit port there is dark.":"{net} subit une panne à {city}. Ton port de transit là-bas est éteint.", -"Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.":"Quelqu’un a branché une boucle sur le fabric de {ix}. Tempête de broadcast ! Tout le peering là-bas est tombé.", -"BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.":"Fuite de routes BGP : un petit FAI annonce les préfixes de {net}. Le trafic vers eux via le transit est blackholé. Le peering direct fonctionne toujours.", -"{fabric} is having a bad day. Every virtual circuit on their fabric is down.":"{fabric} passe une mauvaise journée. Tous les circuits virtuels de son fabric sont tombés.", -"DNS reflection":"réflexion DNS", -"NTP amplification":"amplification NTP", -"CLDAP flood":"CLDAP flood", -"SYN flood":"SYN flood", -"HTTP flood":"HTTP flood", -"A {size} {vec} attack is hitting {city}{how}.":"Une attaque par {vec} de {size} frappe {city}{how}.", -", in via {e}":", entrée via {e}", -"Your mitigation is eating most of it.":"Ta mitigation en absorbe l’essentiel.", -"Junk traffic is eating your capacity. Open the NOC to fight back.":"Le trafic poubelle mange ta capacité. Ouvre le NOC pour riposter.", -"Open NOC":"Ouvrir le NOC", -"Live attack: {city}":"Attaque en cours : {city}", -"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · {n} j restants", -"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"Blackholé : les déchets ont disparu, et {city} aussi. L’attaque a obtenu ce qu’elle voulait.", -"Reaching your network: {g}":"Ce qui atteint ton réseau : {g}", -"On-demand scrubbing diverting, live in {n}d":"Scrubbing à la demande en cours de redirection, actif dans {n} j", -"{tier} scrubbing in {city} is cleaning it":"Le scrubbing {tier} à {city} le nettoie", -"{net} is scrubbing it upstream (clean-pipe)":"{net} le nettoie en amont (clean-pipe)", -"Contained on your sacrificial {net} PNI":"Contenu sur ton PNI sacrificiel {net}", -"IX blackhole on ✓":"Blackhole IX actif ✓", -"IX blackhole ~half honour it":"Blackhole IX ~la moitié le respecte", -"Clean-pipe on ✓":"Clean-pipe actif ✓", -"+ Clean-pipe {mo}/mo · scrubs DDoS upstream":"+ Clean-pipe {mo}/mois · nettoie les DDoS en amont", -"Sacrificial choke ✓":"Goulot sacrificiel ✓", -"Make sacrificial contains floods · ½ capacity":"Rendre sacrificiel contient les floods · ½ capacité", -"No scrubbing center":"Pas de centre de scrubbing", -"Flowspec on your {model} is dropping {vec} at the edge":"Flowspec sur ton {model} élimine le trafic {vec} en bordure", -"Flowspec on your {model} trims {vec}, but its TCAM is small":"Flowspec sur ton {model} rogne le trafic {vec}, mais sa TCAM est petite", -"Your {model} here has no Flowspec TCAM":"Ton {model} ici n’a pas de TCAM Flowspec", -"Flowspec cannot catch an {vec} (application layer)":"Flowspec ne peut pas arrêter un {vec} (couche applicative)", -"Stop blackholing":"Arrêter le blackholing", -"Blackhole the target (RTBH)":"Blackholer la cible (RTBH)", -"HackBack 3000™ $20k":"HackBack 3000™ $20k", -"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"Le RTBH est gratuit et instantané, mais il jette tout ce qui va vers la victime, attaque comme client. Un blackhole IX garde le client en ligne, mais seule la moitié environ des membres le respecte. HackBack 3000™ de Skynot AI y met parfois fin, et parfois écrase un innocent et te vaut une amende.", -"Flowspec-capable POPs":"POP compatibles Flowspec", -"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"Les règles de drop Flowspec vivent dans la TCAM du routeur, donc seuls les routeurs compatibles filtrent les floods UDP connus (DNS, NTP, CLDAP, SYN) en bordure. Le Rusty d’occasion n’en a pas, les modèles merchant-silicon et whitebox un peu, les gros châssis complètement. Mets à niveau le routeur d’un POP depuis son onglet Infra.", -"No attack to blackhole right now.":"Aucune attaque à blackholer pour l’instant.", -"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH annoncé.
Tu as blackholé la cible à {city}. Le flood s’arrête, et tout le monde là-bas aussi.", -"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Blackhole retiré.
{city} est de nouveau joignable. Prépare-toi aux déchets.", -"Nothing to hack back right now.":"Rien à contre-attaquer pour l’instant.", -"HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.":"HackBack 3000™ contre-attaque !
Skynot AI a remonté le botnet et l’a poliment briqué. L’attaque sur {city} s’arrête net.", -"HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.":"Le HackBack 3000™ a touché la mauvaise cible.
{who} Un régulateur t’inflige une amende de {fine}, et l’attaque continue.", -"Skynot AI flattened a grandma's internet-connected fridge.":"Skynot AI a rasé le frigo connecté d’une mamie.", -"You counter-flooded a hospital in a country you cannot pronounce.":"Tu as contre-floodé un hôpital dans un pays dont tu ne sais même pas prononcer le nom.", -"The botnet was already someone else’s botnet. They are furious.":"Le botnet était déjà le botnet de quelqu’un d’autre. Ils sont furieux.", -"Vigilante":"Justicier", -"Fire the HackBack 3000™ and flatten an innocent.":"Lance le HackBack 3000™ et écrase un innocent.", -"Collateral Damage":"Dommages collatéraux", -"Blackhole one of your own cities to stop a DDoS.":"Blackhole une de tes propres villes pour stopper un DDoS.", -"Toaster Wrangler":"Dompteur de grille-pain", -"Weather a DDoS with your defences ready.":"Encaisse un DDoS avec tes défenses prêtes.", -"Clean Pipes":"Tuyaux propres", -"Turn on a transit clean-pipe add-on.":"Active une option clean-pipe sur un transit.", -"Sacrificial Lamb":"Agneau sacrificiel", -"Run a sacrificial PNI choke point.":"Utilise un PNI sacrificiel comme goulet d’étranglement.", -"Held the Flood":"Même pas mouillé", -"Weather a multi-terabit DDoS.":"Encaisse un DDoS de plusieurs térabits.", -"Skynot Smiles":"Skynot sourit", -"Land a HackBack 3000™ that actually works.":"Réussis un HackBack 3000™ qui fonctionne vraiment.", -"Stand up DDoS defences":"Monte tes défenses anti-DDoS", -"Build a scrubbing center from a POP's Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.":"Construis un centre de scrubbing depuis l’onglet Infra d’un POP. Il nettoie les attaques jusqu’à sa capacité et te permet de vendre de la protection DDoS.", -"Traffic rerouted, customers barely noticed.":"Trafic redirigé, les clients n’ont presque rien vu.", -"Rush repair":"Réparation express", -"Metro ring cut":"Anneau métro coupé", -"Site outage":"Panne de site", -"Fiber cut":"Coupure de fibre", -"Router crash":"Crash de routeur", -"Power outage":"Coupure de courant", -"Upstream outage":"Panne upstream", -"IX meltdown":"IX en vrac", -"Route leak":"Fuite de routes", -"DDoS attack":"Attaque DDoS", -"Fabric outage":"Panne de fabric", -"Peering spat":"Brouille de peering", -"Fat-fingered wave":"Gros doigt sur une onde", -"Patch panel mishap":"Cafouillage au brassage", -"MTU mismatch":"MTU incohérente", -"Oops":"Oups", -"Vacuum incident":"Incident d’aspirateur", -"Max-prefix meltdown":"Max-prefix en vrac", -"Prepend-ageddon":"Prependageddon", -"RPKI invalid":"RPKI invalide", -"Amplifier failure":"Panne d’amplificateur", -"Fat-fingered ROADM":"Gros doigt sur le ROADM", -"Dead optic":"Optique morte", -"Maintenance window":"Fenêtre de maintenance", -"Cooling failure":"Panne de refroidissement", -"BGP hijack":"Détournement BGP", -"Government shutdown":"Coupure gouvernementale", -"Geopolitical cable cut":"Coupure de câble géopolitique", -"Incident":"Incident", -"The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.":"Les voisins se sont fâchés.
Une brouille diplomatique ferme les frontières et l’espace aérien autour du Qatar. Tous les liens entre Doha et l’Arabie saoudite ou les Émirats sont coupés pendant environ {n} jours. Fais le grand détour, par la mer.", -"A futuristic city that is not built yet, demo day in {city}":"Une ville futuriste pas encore construite, journée démo à {city}", -"A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.":"Un gigaprojet veut une démo.
{bw} pendant quatre jours à {city}, pour exhiber une ville qui n’existe encore qu’en images de synthèse. Regarde l’onglet Offres.", -"Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.":"Sanctions !
La République du Paperassistan a sanctionné le fournisseur de vis préféré de ton constructeur de routeurs. Les pièces détachées arrivent au compte-gouttes : pendant 60 jours, les crashs de routeur prennent deux fois plus de temps à réparer.", -"Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.":"Guerre commerciale sur les optiques
Deux gouvernements ont taxé mutuellement leurs lasers. Les optiques coûtent 40 % plus cher pendant 90 jours.", -"A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.":"Un FAI d’État a annoncé « par accident » tes préfixes pendant 18 minutes. Son communiqué d’excuses était étrangement bien rédigé. Beaucoup de réseaux envoient encore ton trafic dans le vide.", -"Call everyone you know":"Appelle tous ceux que tu connais", -"BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.":"Détournement BGP
Quelqu’un d’autre annonce tes préfixes. Ta joignabilité reste en baisse tant que ce n’est pas nettoyé.", -"Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.":"Litige sur les permis d’atterrissement à {city}
Deux ministères revendiquent la même plage. Aucun nouveau lien sous-marin ne peut y atterrir pendant 45 jours.", -"Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.":"Les autorités ont ordonné à tous les réseaux de {city} de couper pendant une journée, le temps des examens nationaux. Oui, ça arrive vraiment.", -"Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.":"Hors ligne sur ordre à {city}
Une coupure gouvernementale pour un jour d’examen. Ton POP là-bas est éteint pour la journée.", -"Typhoon Bandwidth":"Typhon Bande-Passante", -"Typhoon Latency":"Typhon Latence", -"Typhoon Jitter":"Typhon Gigue", -"Typhoon Packet-Loss":"Typhon Perte-de-Paquets", -"{name} hits {city}
The grid is down, but your backup generator kept the routers running.":"{name} frappe {city}
Le réseau électrique est tombé, mais ton groupe électrogène a maintenu les routeurs en marche.", -"{name} knocked out power in {city}. Your POP has no generator.":"{name} a privé {city} d’électricité. Ton POP n’a pas de groupe électrogène.", -"{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.":"{name} frappe {city}
Plus de courant : ton POP est éteint pour deux jours. Un groupe électrogène l’aurait sauvé.", -"Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.":"Exercice d’internet souverain
Moscou s’est débranchée du reste d’internet pendant une journée, pour voir ce que ça donne. Tout ce qui sort de Russie est coupé jusqu’à demain.", -"Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.":"Câble endommagé en Baltique
Un cargo a traîné son ancre sur 100 km et jure n’avoir rien remarqué. Tu n’as aucun lien sur ces câbles.", -"A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.":"Un cargo a traîné son ancre sur le fond de la Baltique pendant 100 km et jure n’avoir rien remarqué. Les enquêteurs « se penchent sur la question ».", -"Baltic cable damaged
{n} of your links are down for about {d} days.":"Câble endommagé en Baltique
{n} de tes liens sont coupés pendant environ {d} jours.", -"Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.":"Câbles coupés en mer Rouge
Un navire a traîné son ancre sur plusieurs câbles. Tout le monde accuse tout le monde. Heureusement, tu n’utilises pas ces câbles.", -"A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.":"Un navire à la dérive, sans moteur, a traîné son ancre à travers les câbles de la mer Rouge. Tout le monde accuse tout le monde. Les câbliers ont besoin des autorisations de trois gouvernements.", -"Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.":"Câbles coupés en mer Rouge
{n} de tes liens sous-marins sont coupés pendant environ {d} jours, le temps que les diplomates se disputent au sujet des câbliers.", -"Golden Week!
Demand in mainland China is up 40% for a week.":"Golden Week !
La demande en Chine continentale grimpe de 40 % pendant une semaine.", -"The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.":"La frontière s’est durcie.
La perte de paquets transfrontalière monte à 35 % pendant 10 jours. Les routes premium sont à peine touchées.", -"New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?":"La nouvelle saison de « Stranger Pings » vient de sortir !
La demande des eyeballs grimpe de 25 % pendant une semaine. T’as de la marge ?", -"Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.":"Les prix du transit ont baissé de 8 %.
Ils font ça tous les ans. Personne ne sait où est le plancher.", -"Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.":"Subvention haut débit rural : +$30k
Le ministère des Tubes aime ce que tu fais.", -"Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.":"Cogentle et Goggle se sont brouillés sur le peering. Goggle est injoignable via le transit Cogentle.", -"Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.":"Brouille de peering !
Cogentle a coupé le peering avec Goggle pour 20 jours. Le trafic Goggle via le transit Cogentle a disparu. Fais du peering direct avec Goggle ou passe par un autre upstream.", -"Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.":"Drizzle Electric t’a envoyé un gâteau IPv6.
Tu l’as revendu pour $8k.", -"The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"Internet est de retour.
La moitié, en tout cas. Tout a été patché à la va-vite et personne n’a rien appris.", -"{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.":"{net} a coupé le peering avec toi sur {ix} à {city}.
{why} Le trafic bascule sur ton meilleur chemin suivant.", -"License granted!
Your joint venture can now build POPs in mainland China.":"Licence accordée !
Ta joint-venture peut maintenant construire des POP en Chine continentale.", -"Customer level {lv}: {name}
New customers unlocked: {unlock}":"Niveau client {lv} : {name}
Nouveaux clients débloqués : {unlock}", -"Your fiber is finished: {a}–{b}":"Ta fibre est terminée : {a}–{b}", -"Dark fiber handed over: {a}–{b}":"Fibre noire livrée : {a}–{b}", -"Channels are lighting up now.":"Les canaux s’allument.", -"It is dark. Add optics to light it up.":"Elle est éteinte. Ajoute des optiques pour l’allumer.", -"Open":"Ouvrir", -"Construction delay: +{n} days
{why} ({a}–{b})":"Retard de chantier : +{n} jours
{why} ({a}–{b})", -"Archaeologists found a Roman bathhouse on your route.":"Des archéologues ont trouvé des thermes romains sur ton tracé.", -"A protected hamster species lives along the right-of-way.":"Une espèce protégée de hamster vit le long du tracé.", -"The railway changed its mind about the easement.":"La compagnie ferroviaire a changé d’avis sur la servitude de passage.", -"The drilling crew hit a granite boulder the size of a bus.":"L’équipe de forage est tombée sur un bloc de granit gros comme un bus.", -"A town council wants a public hearing. About the color of the manhole covers.":"Un conseil municipal exige une réunion publique. Sur la couleur des plaques d’égout.", -"Somebody else’s gas main was exactly where the map said it was not.":"La conduite de gaz de quelqu’un d’autre était exactement là où le plan disait qu’elle n’était pas.", -"The permit office lost your permit. And then the replacement.":"Le service des permis a perdu ton permis. Puis le duplicata.", -"{name} cancelled.
Too many outages and too little bandwidth in {city}.":"{name} a résilié.
Trop de pannes et pas assez de bande passante à {city}.", -"{name} is furious.
Fix service in {city} or they leave.":"{name} est furieux.
Rétablis le service à {city}, sinon il s’en va.", -"{net} joined {ix}!
Another member paying {fee}/mo for a port.":"{net} a rejoint {ix} !
Encore un membre qui paie {fee}/mois pour un port.", -"You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.":"Tu es dans le rouge.
Résilie un truc cher, attends les revenus ou vois la banque pour un prêt. À −$100k, la banque saisit tes routeurs.", -"Common":"Commun", -"Rare":"Rare", -"Epic":"Épique", -"Legendary":"Légendaire", -"Hello, Neighbour":"Salut, voisin", -"Bring up your first peering session.":"Monte ta première session de peering.", -"Met the Backhoe":"Rencontre du troisième godet", -"Have a fiber cut.":"Subis une coupure de fibre.", -"In Debt We Trust":"In Debt We Trust", -"Take out a loan.":"Contracte un prêt.", -"Twins":"Jumeaux", -"Run two routers in one POP.":"Fais tourner deux routeurs dans un POP.", -"Shark Week":"Les Dents de la mer", -"Get a subsea cable bitten by a shark.":"Fais mordre un câble sous-marin par un requin.", -"IX Collector":"Collectionneur d’IX", -"Have ports on 10 internet exchanges.":"Aie des ports sur 10 points d’échange.", -"Never Paid List Price":"Jamais au prix catalogue", -"Haggle a DE-KICKS quote down.":"Fais baisser un devis DE-KICKS en négociant.", -"Unsubscribed":"Désabonné", -"Opt out of 3 auto-enrolled add-ons.":"Désactive 3 options souscrites d’office.", -"Left on Read":"Laissé en vu", -"Get de-peered by a big network.":"Fais-toi couper le peering par un gros réseau.", -"Peering From the Couch":"Peering depuis le canapé", -"Peer at an IX remotely.":"Fais du peering à distance sur un IX.", -"Pig Whisperer":"L’homme qui murmurait aux cochons", -"Run a slow-booting PacketOinker chassis.":"Fais tourner un châssis PacketOinker qui met des plombes à booter.", -"Link Panama City and Bogotá.":"Relie Panama City et Bogotá.", -"Over the Mountains":"Par-delà les montagnes", -"Build fiber across the Andes.":"Pose de la fibre à travers les Andes.", -"Duopoly Customer":"Client du duopole", -"Buy a wave inside the UAE.":"Achète une longueur d’onde à l’intérieur des Émirats.", -"Stage Six":"Stade six", -"Ride out load shedding on your own generator.":"Tiens bon pendant les délestages grâce à ton groupe électrogène.", -"Two Buildings, Three Cities":"Deux bâtiments, trois villes", -"Have a second site in 3 metros.":"Aie un second site dans 3 métropoles.", -"Lonely Penguin":"Manchot solitaire", -"Light a wave on the Humboldt cable to Sydney.":"Allume une longueur d’onde sur le câble Humboldt vers Sydney.", -"The Long Way Round":"Le grand détour", -"Run a link round Cape Horn.":"Fais passer un lien par le cap Horn.", -"Six Continents":"Six continents", -"POPs in every region on the map.":"Des POP dans chaque région de la carte.", -"Friend of Giants":"Ami des géants", -"Hold deals at 3 different AI campuses at once.":"Aie des contrats sur 3 campus IA différents en même temps.", -"Trench Landlord":"Seigneur des tranchées", -"Lease hundreds of fiber pairs to a hyperscaler.":"Loue des centaines de paires de fibres à un hyperscaler.", -"Go transit-free.":"Deviens transit-free.", -"Shark Bait":"Appât à requins", -"Get bitten by sharks 3 times in one game.":"Fais-toi mordre par des requins 3 fois dans une même partie.", -"Five Nines":"Cinq neuf", -"Serve 99.5% of demand every single day for a whole year.":"Sers 99,5 % de la demande chaque jour, pendant une année entière.", -"Everywhere at Once":"Partout à la fois", -"Have POPs in 50 cities.":"Aie des POP dans 50 villes.", -"Unicorn":"Licorne", -"Hold a billion dollars in cash.":"Aie un milliard de dollars en trésorerie.", -"Debt-Free Tier 1":"Tier 1 sans dette", -"Win without ever taking a loan.":"Gagne sans jamais contracter de prêt.", -"Speedrun":"Speedrun", -"Reach Tier 1 within three years.":"Atteins le Tier 1 en moins de trois ans.", -"Traffic Whisperer":"L’homme qui murmurait au trafic", -"Have Auto-TE move 100 Gbps onto alternate paths at once.":"Fais déplacer 100 Gbps d’un coup sur des chemins alternatifs par l’Auto-TE.", -"Same Street":"Même rue", -"Lose a metro ring to one backhoe.":"Perds un anneau métropolitain à cause d’une seule pelleteuse.", -"Anchors Aweigh":"Levez l’ancre", -"Have a cable cut by a dragged anchor.":"Fais couper un câble par une ancre qui traîne.", -"Customer Success Story":"Success story client", -"Take a DE-KICKS retention offer.":"Accepte une offre de fidélisation DE-KICKS.", -"Samba Peering":"Peering samba", -"Ports on IX.brrr in São Paulo, Rio and Fortaleza.":"Des ports sur IX.brrr à São Paulo, Rio et Fortaleza.", -"DE-KICKS Bingo":"Carton plein DE-KICKS", -"Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.":"Des ports sur les six IX DE-KICKS. Ils te remercient pour ce partenariat durable.", -"Ring of Fire":"Ceinture de feu", -"POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.":"Des POP tout autour du Pacifique : Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland et Santiago.", -"Iron Curtain Call":"Lever de rideau de fer", -"POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.":"Des POP à Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade et Tallinn.", -"Island Hopper":"D’île en île", -"POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.":"Des POP à Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo et Auckland.", -"Through the Wall":"Derrière la Muraille", -"Run a licensed POP in mainland China.":"Exploite un POP sous licence en Chine continentale.", -"Darwin Award":"Prix Darwin", -"Have your fiber bitten by a crocodile.":"Fais-toi mordre la fibre par un crocodile.", -"Unbreakable":"Incassable", -"Survive 100 incidents without customer impact.":"Survis à 100 incidents sans impact client.", -"Gigawatt Landlord":"Seigneur du gigawatt", -"Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.":"Aie en même temps un contrat AI WAN, un training run, un ingest et un contrat de paires de fibres.", -"Blitz":"Blitz", -"Reach Tier 1 within two years.":"Atteins le Tier 1 en moins de deux ans.", -"Hundred Terabits":"Cent térabits", -"Serve 100 Tbps.":"Sers 100 Tbps.", -"A Petabit a Second":"Un pétabit par seconde", -"Serve 1 Pbps: a thousand terabits of happy traffic.":"Sers 1 Pbps : mille térabits de trafic heureux.", -"Llama Drama":"Lama fâché", -"Lose fiber to a llama herd.":"Perds de la fibre à cause d’un troupeau de lamas.", -"Hallway Track":"Discussions de couloir", -"Attend a conference.":"Participe à une conférence.", -"Peering Over Beer":"Peering autour d’une bière", -"Set up a PNI while the conference glow lasts.":"Monte un PNI tant que dure l’euphorie de la conférence.", -"Conference Circuit":"Tournée des conférences", -"Attend six conferences in one game.":"Participe à six conférences dans une même partie.", -"Script Kiddie":"Script kiddie", -"Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.":"Déploie un RouteScript qui réduit ta facture de transit de 10 % sans perdre de trafic.", -"Fat Finger":"Gros doigt", -"Deploy a RouteScript that takes down a third of your traffic.":"Déploie un RouteScript qui fait tomber un tiers de ton trafic.", -"Scenario Solver":"Solveur de scénarios", -"Complete any scenario.":"Termine n’importe quel scénario.", -"Weekly Regular":"Habitué hebdo", -"Finish a weekly challenge.":"Termine un défi hebdomadaire.", -"Scenario Specialist":"Spécialiste des scénarios", -"Complete three different scenarios.":"Termine trois scénarios différents.", -"Scenario Grandmaster":"Grand maître des scénarios", -"Complete every scenario.":"Termine tous les scénarios.", -"I Survived the Elephant":"J’ai survécu à l’éléphant", -"Live through the day half the internet went down.":"Survis au jour où la moitié d’internet est tombée.", -"Zero Peers Given":"Sans peer et sans reproche", -"Reach Tier 2 with every single session over the route server.":"Atteins le Tier 2 avec toutes tes sessions via le route server.", -"Badge unlocked: {name}":"Badge débloqué : {name}", -"{got}/{total} this game · {ever} ever":"{got}/{total} dans cette partie · {ever} au total", -"A secret badge":"Un badge secret", -"earned before":"déjà obtenu", -"Goal complete: {name}":"Objectif atteint : {name}", -"Reward: +{amt}":"Récompense : +{amt}", -"Not enough cash.
Wait for revenue, or speed up time.":"Pas assez de trésorerie.
Attends les revenus, ou accélère le temps.", -"TubeCoin moved up {p}% on the way to your account.":"Le TubeCoin a pris {p} % en route vers ton compte.", -"TubeCoin moved down {p}% on the way to your account.":"Le TubeCoin a perdu {p} % en route vers ton compte.", -"{amt} from {bank} has landed.":"Les {amt} de {bank} sont arrivés.", -"They now own {p} of your revenue.":"Ils possèdent désormais {p} de ton chiffre d’affaires.", -"{pay}/mo for {n} months.":"{pay}/mois pendant {n} mois.", -"You bought out {bank}.
They flew off to find another startup.":"Tu as racheté la part de {bank}.
Ils se sont envolés à la recherche d’une autre startup.", -"Loan from {bank} repaid early.":"Prêt de {bank} remboursé par anticipation.", -"You need a license first.
Foreign networks need a joint venture to build in mainland China.":"Il te faut d’abord une licence.
Les réseaux étrangers ont besoin d’une joint-venture pour construire en Chine continentale.", -"New POP!":"Nouveau POP !", -"Eyeballs online!":"Eyeballs en ligne !", -"Ad campaign!":"Campagne de pub !", -"No transit in this scenario.
Peering, PNIs, caches and your own fiber only.":"Pas de transit dans ce scénario.
Uniquement peering, PNI, caches et ta propre fibre.", -"Your router can't take a {port} port.
Upgrade it in the Infra tab.":"Ton routeur ne supporte pas de port {port}.
Mets-le à niveau dans l’onglet Infra.", -"{net} transit is live in {city}.
Full table received: ~1,000,000 routes.":"Le transit {net} est actif à {city}.
Full table reçue : ~1 000 000 de routes.", -"LAG member added.
{net} in {city} is now {lag}.":"Membre de LAG ajouté.
{net} à {city} est maintenant en {lag}.", -"LAG member removed.":"Membre de LAG retiré.", -"DE-KICKS sales is still \"aligning\".
They will get back to you in {n} days.":"Les commerciaux DE-KICKS sont encore en train de « s’aligner ».
Ils reviendront vers toi dans {n} jours.", -"Port up at {ix}!
Now request peering, or join the route server.":"Port actif sur {ix} !
Maintenant, demande du peering ou rejoins le route server.", -"Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.":"Port distant actif sur {ix}.
Il passe par un revendeur : attends-toi à une marge, un port surchargé et quelques réseaux qui refuseront de te parler. Ici, le route server est ton ami.", -"DE-KICKS Group · Customer Success":"DE-KICKS Group · Customer Success", -"Wait! Before you go…":"Attends ! Avant de partir…", -"We value our partnership too much to let a little thing like price get in the way.":"Nous tenons trop à notre partenariat pour laisser un détail comme le prix se mettre en travers.", -"Retention offer":"Offre de fidélisation", -"40% off for 6 months":"40 % de remise pendant 6 mois", -"After that, the normal price returns, plus a small loyalty administration fee.":"Ensuite, le prix normal revient, plus de petits frais de gestion de fidélité.", -"Stay, take the discount":"Rester et prendre la remise", -"Leave anyway":"Partir quand même", -"Route server session up.
You now peer with every open network on this IX, in one go.":"Session route server active.
Tu fais maintenant du peering avec tous les réseaux open de cet IX, d’un coup.", -"Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.":"Signé avec DE-KICKS.
Bienvenue dans la famille. Merci de ne dire à personne combien tu paies.", -"\"Just this once.\"
Your account manager found a special discount. Do not tell the others.":"« Juste pour cette fois. »
Ton account manager a trouvé une remise spéciale. N’en parle pas aux autres.", -"\"After consulting with management…\"
The price went up. Management was consulted.":"« Après consultation de la direction… »
Le prix a augmenté. La direction a été consultée.", -"Haggling paused.
{why}":"Négociation en pause.
{why}", -"DE-KICKS will \"circle back\".
Expect an email titled \"Quick question 🙂\" within the hour.":"DE-KICKS va « revenir vers toi ».
Attends-toi à un mail intitulé « Petite question 🙂 » dans l’heure.", -"Opted out of {name}.
It took four clicks, a survey and a \"we're sad to see you go\" page.":"{name} désactivé.
Il a fallu quatre clics, un sondage et une page « Nous sommes tristes de vous voir partir ».", -"40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.":"40 % de remise sur {ix} pendant 6 mois.
Ton account manager est soulagé. Lis les petites lignes plus tard.", -"Script removed. Plain Auto-TE is back in charge.":"Script retiré. L’Auto-TE de base reprend la main.", -"✓ {n} rule OK":"✓ {n} règle OK", -"✓ {n} rules OK":"✓ {n} règles OK", -"served {a} → {b}":"servi {a} → {b}", -"transit {a}/mo → {b}/mo":"transit {a}/mois → {b}/mois", -"spilled {g} onto alternate paths":"débordé {g} sur des chemins alternatifs", -"blackholed {g}":"blackholé {g}", -"commit failed":"échec du commit", -"Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.":"Commit terminé. Trafic en baisse de {p}.
Gros doigt sur ton propre réseau. Grand classique. Corrige le script depuis l’onglet NOC.", -"Commit complete.":"Commit terminé.", -"{n} rule live, transit bill down {p}.":"{n} règle active, facture de transit en baisse de {p}.", -"{n} rules live, transit bill down {p}.":"{n} règles actives, facture de transit en baisse de {p}.", -"{n} rule live.":"{n} règle active.", -"{n} rules live.":"{n} règles actives.", -"Auto-TE unlocks at customer level 3.":"L’Auto-TE se débloque au niveau client 3.", -"Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.":"L’Auto-TE est actif.
Le contrôleur pousse désormais le surplus sur des chemins alternatifs dès que le plus court est plein.", -"Copied. Paste it into your favourite NOC chat.":"Copié. Colle-le dans ton chat NOC préféré.", -"{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at":"{name} (AS{asn}) : {tier}, pic à {peak}. Construis ton propre internet sur", -"Registered.
Flights booked, badge printed, business cards ordered in the wrong font.":"Inscrit.
Vols réservés, badge imprimé, cartes de visite commandées dans la mauvaise police.", -"Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.":"Second site actif à {city}.
{b} est relié à {a} par ton propre anneau métropolitain. Déplaces-y quelques uplinks depuis les onglets Transit et Peering.", -"Second LAG member added.
One member in each building now, so a dark building only takes out half the port.":"Second membre de LAG ajouté.
Un membre dans chaque bâtiment désormais : un bâtiment éteint ne coupe plus que la moitié du port.", -"{net} declined.
{why}":"{net} a refusé.
{why}", -"{net} accepted!":"{net} a accepté !", -"They checked your PearingDB page and liked the traffic numbers.":"Ils ont consulté ta page PearingDB et ont aimé tes chiffres de trafic.", -"BGP session established.":"Session BGP établie.", -"{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nouvelle session sur {ix}.
Des petits réseaux, mais ça s’additionne, et tout compte pour le club.", -"{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nouvelles sessions sur {ix}.
Des petits réseaux, mais ça s’additionne, et tout compte pour le club.", -"{net} declined the PNI.
{why}":"{net} a refusé le PNI.
{why}", -"{net} says not yet.
Send them {min}+ Gbps first.":"{net} dit : pas encore.
Envoie-leur d’abord {min}+ Gbps.", -"{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.":"{cache} installé à {city} !
{net} te l’a envoyé gratuitement. Tu paies {mo}/mois d’électricité.", -"You need a POP in every city on the contract first.":"Il te faut d’abord un POP dans chaque ville du contrat.", -"Not enough free channels on that fiber any more.":"Plus assez de canaux libres sur cette fibre.", -"Too late: the event has already started.":"Trop tard : l’événement a déjà commencé.", -"Signed!":"Signé !", -"The event is already running.
The organisers will not let you walk out now.":"L’événement est déjà en cours.
Les organisateurs ne te laisseront pas partir maintenant.", -"Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.":"Redémarré.
Le routeur de {city} reboote. Il sera de retour demain, si {chip} le veut bien.", -"Fixed. {what} resolved early.":"Réparé. {what} : résolu en avance.", -"A {fab} fabric unlocks at customer level {lv}.":"Un fabric {fab} se débloque au niveau client {lv}.", -"{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.":"{ix} tourne maintenant sur un fabric {fab}.
De la place pour {max} membres. Attends-toi à quelques nouveaux venus.", -"You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.":"Tu as fondé {ix} !
Des réseaux vont le rejoindre peu à peu et te payer leurs ports. Les membres open font du peering avec toi gratuitement.", -"No cable available for that route right now.":"Aucun câble disponible pour cette route pour l’instant.", -"{wave} lit!":"{wave} allumée !", -"Too many circuits for a smaller port.":"Trop de circuits pour un port plus petit.", -"{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.":"Port {fab} actif à {city}.
Commande maintenant des circuits virtuels vers d’autres villes de leur fabric.", -"Cancel the circuits on this port first.":"Résilie d’abord les circuits de ce port.", -"Not enough room on your fabric port. Upgrade it first.":"Pas assez de place sur ton port fabric. Mets-le d’abord à niveau.", -"Not enough room on your {fab} port in {city}.":"Pas assez de place sur ton port {fab} à {city}.", -"Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.":"Circuit actif en 59 secondes.
{vxc} sur {fab} : {a} → {b}.", -"Now grab an IX port there for remote peering.":"Prends maintenant un port IX là-bas pour du peering à distance.", -"Fabric port in {city} is full.":"Le port fabric de {city} est plein.", -"Application filed.
Your local partner says about 45 days. Probably.":"Demande déposée.
Ton partenaire local parle d’environ 45 jours. Probablement.", -"{tier} scrubbing unlocks at customer level {lv}.":"Le scrubbing {tier} se débloque au niveau client {lv}.", -"{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.":"Centre de scrubbing {tier} en ligne à {city}.
Les attaques jusqu’à {g} sont nettoyées, et tu peux vendre de la protection DDoS.", -"Scrubbing upgraded to {tier}.":"Scrubbing passé en {tier}.", -"Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.":"Option clean-pipe activée chez {net}.
Ils nettoient un flood avant qu’il n’atteigne ton port ici, pour {mo}/mois.", -"Clean-pipe add-on removed from {net}.":"Option clean-pipe retirée chez {net}.", -"{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.":"La PNI {net} est désormais un goulot sacrificiel.
Un flood venu de là meurt sur le petit port au lieu de ton réseau, mais le trafic légitime qui y passe tourne à mi-capacité.", -"{net} PNI is back to normal.":"La PNI {net} est revenue à la normale.", -"No IX in {city} to announce a blackhole to.":"Aucun IX à {city} auquel annoncer un blackhole.", -"IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.":"Blackhole annoncé sur l’IX de {city}.
Environ la moitié des membres respectent le /32 et jettent les déchets. Le client reste en ligne.", -"IX blackhole withdrawn.":"Blackhole IX retiré.", -"SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.":"SLA violé : {name}.
L’attaque sur {city} est passée et ton client protégé est tombé. Tu lui dois {pen} en pénalités SLA.", -"Router added":"Routeur ajouté", -"Unplug something first.
{used} ports are in use, and one router fewer only has {max}.":"Débranche d’abord quelque chose.
{used} ports sont utilisés, et avec un routeur de moins tu n’en aurais que {max}.", -"The {model} won't fit.
{why}":"Le {model} ne rentre pas.
{why}", -"{model} unlocks at customer level {lv}.":"Le {model} se débloque au niveau client {lv}.", -"Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.":"Remplacement de l’unique routeur de {city} par un {model}. Le nouveau {how}. Retour dans {n} jours.", -"Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.":"Remplacement de l’unique routeur de {city} par un {model}. Fenêtre de maintenance : retour demain.", -"Maintenance window in {city}":"Fenêtre de maintenance à {city}", -"One router, and this one takes forever to boot. Back in {n} days.":"Un seul routeur, et celui-ci met une éternité à booter. Retour dans {n} jours.", -"One router means downtime during the swap. Back tomorrow.":"Un seul routeur, donc coupure pendant le remplacement. Retour demain.", -"Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.":"Mise à niveau progressive à {city}
{n} × {model}, remplacés un par un. Zéro coupure.", -"Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.":"Premier coup de pioche !
Ta propre fibre de {a} à {b}. Permis et tranchées : environ {n} jours.", -"Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.":"IRU de fibre noire signé.
{a}–{b} sera soudée et livrée dans environ 30 jours.", -"Can't add {optic}.
{why}":"Impossible d’ajouter {optic}.
{why}", -"Line system swap
All channels are dark for a day while the ROADMs go in.":"Changement de système de ligne
Tous les canaux sont éteints pendant une journée, le temps de poser les ROADM.", -"Generator!":"Groupe électrogène !", -"Start {name}?":"Lancer {name} ?", -"{name} will be replaced. Export it from the menu first if you want to keep it.":"{name} sera remplacé. Exporte-le d’abord depuis le menu si tu veux le garder.", -"Start the scenario":"Lancer le scénario", -"Start the weekly challenge?":"Lancer le défi de la semaine ?", -"Start the challenge":"Lancer le défi", -"Import failed.
That save is damaged and could not be loaded. Your current game is untouched.":"Échec de l’import.
Cette sauvegarde est endommagée et n’a pas pu être chargée. Ta partie en cours est intacte.", -"Welcome back, {name}.
Imported and saved on this device.":"Bon retour, {name}.
Partie importée et sauvegardée sur cet appareil.", -"Your game saves itself every few seconds on this device.":"Ta partie se sauvegarde toute seule sur cet appareil, toutes les quelques secondes.", -"Back to the map":"Retour à la carte", -"Export save download a file":"Exporter la sauvegarde télécharger un fichier", -"Import a save from a file":"Importer une sauvegarde depuis un fichier", -"Share your network image card":"Partager ton réseau carte image", -"Scenarios & weekly challenge":"Scénarios & défi de la semaine", -"How to play":"Comment jouer", -"What’s new in {v}":"Nouveautés de la {v}", -"Start a new network":"Créer un nouveau réseau", -"Start a new network?":"Créer un nouveau réseau ?", -"{name} and everything it owns will be deleted. This cannot be undone.":"{name} et tout ce qu’il possède seront supprimés. Impossible de revenir en arrière.", -"Your network":"Ton réseau", -"Delete and start over":"Supprimer et recommencer", -"Unlocks at customer level {n}.":"Se débloque au niveau client {n}.", -"Needs a ROADMaster 9000 line system.":"Nécessite un système de ligne ROADMaster 9000.", -"Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).":"Trop loin, même au débit le plus lent : ici une portée optique fait {span} km et l’optique va jusqu’à {max} km. Ajoute un site de régénération (Système de ligne).", -"{sys} is full ({max} channels, {sold} sold to customers).":"{sys} est plein ({max} canaux, {sold} vendus à des clients).", -"{sys} is full ({max} channels).":"{sys} est plein ({max} canaux).", -"Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.":"Sauvegarde exportée.
{file} est dans tes téléchargements. Ouvre-le sur un autre appareil avec « Importer une sauvegarde ».", -"That file is not valid JSON.":"Ce fichier n’est pas du JSON valide.", -"That does not look like a Series of Tubes save.":"Ça ne ressemble pas à une sauvegarde de Series of Tubes.", -"That network went bankrupt. It cannot be brought back, only mourned.":"Ce réseau a fait faillite. Impossible de le ressusciter, on ne peut que le pleurer.", -"That save has a POP in a city this version does not know ({city}).":"Cette sauvegarde a un POP dans une ville que cette version ne connaît pas ({city}).", -"Unnamed network":"Réseau sans nom", -"That file is too big to be a save.":"Ce fichier est trop gros pour être une sauvegarde.", -"Import failed.
{err}":"Échec de l’import.
{err}", -"Import a save":"Importer une sauvegarde", -"Load {name}?":"Charger {name} ?", -"{cash} in the bank":"{cash} en banque", -"{n} POP":"{n} POP", -"{n} POPs":"{n} POP", -"saved by v{ver}":"sauvegardé par la v{ver}", -"This replaces {name}. Export it first if you want to keep it.":"Cela remplace {name}. Exporte-le d’abord si tu veux le garder.", -"Load this network":"Charger ce réseau", -"Cancel":"Annuler", -"{n}d left":"encore {n} j", -"{n} incident":"{n} incident", -"{n} incidents":"{n} incidents", -"All quiet":"Tout est calme", -"Goals":"Objectifs", -"Deals":"Offres", -"Reward {cash}":"Récompense {cash}", -"Customer level {lv}: {name}":"Niveau client {lv} : {name}", -"Next: {req} unlocks {what}":"Suivant : {req} débloque {what}", -"Every customer type is unlocked. Go get those terabits.":"Tous les types de clients sont débloqués. Va chercher ces térabits.", -"No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.":"Aucune offre ouverte pour l’instant. Les entreprises cherchent des réseaux avec des POP dans leur ville. De nouvelles offres apparaissent toutes les quelques semaines.", -"{n} special requirement":"{n} exigence spéciale", -"{n} special requirements":"{n} exigences spéciales", -"Accept":"Accepter", -"Go there":"Y aller", -"Decline":"Refuser", -"Needs a POP in {cities}":"Nécessite un POP à {cities}", -"Open NOC dashboard":"Ouvrir le tableau de bord du NOC", -"Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.":"Ton Network Operations Center. Toutes les notifications arrivent aussi ici. Sur Internet, ça casse tout le temps. Des liens redondants et plusieurs upstreams permettent au trafic de se rerouter tout seul.", -"DDoS scrubbing":"Scrubbing DDoS", -"On · {city}":"Actif · {city}", -"None (build one from a POP's Infra tab)":"Aucun (construis-en un depuis l’onglet Infra d’un POP)", -"On · moving {g} onto alternate paths":"Actif · déplace {g} sur des chemins alternatifs", -"Off":"Inactif", -"Turn Auto-TE off":"Désactiver Auto-TE", -"Turn Auto-TE on":"Activer Auto-TE", -"Edit RouteScript":"Modifier le RouteScript", -"Write a RouteScript":"Écrire un RouteScript", -"{n} rules live":"{n} règles actives", -"has errors, not running":"contient des erreurs, à l’arrêt", -"controller off":"contrôleur désactivé", -"blackholing {g}":"{g} en blackhole", -"Unlocks at customer level 3":"Se débloque au niveau client 3", -"Not installed":"Non installé", -"Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.":"Le trafic prend le chemin le plus court, même quand il est plein. Un contrôleur de traffic engineering déverse le surplus sur les meilleurs chemins suivants qui ont de la place.", -"Install Auto-TE {cost} + {mo}/mo":"Installer Auto-TE {cost} + {mo}/mois", -"Congested links":"Liens congestionnés", -"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.":"Augmente la métrique d’un lien plein pour que le trafic préfère un autre chemin, mets-le à niveau ou installe Auto-TE.", -"{p} full":"plein à {p}", -"Inspect":"Inspecter", -"Ports, caches and routers running hot":"Ports, caches et routeurs en surchauffe", -"dropping or overflowing":"pertes ou débordement", -"All systems green. Enjoy it while it lasts.":"Tout est au vert. Profites-en, ça ne durera pas.", -"Auto-fix in {n} day":"Réparation auto dans {n} jour", -"Auto-fix in {n} days":"Réparation auto dans {n} jours", -"{g} lost":"{g} perdus", -"Incidents so far":"Incidents jusqu’ici", -"Survived with no impact":"Encaissés sans impact", -"Transit":"Transit", -"{p}% of traffic":"{p} % du trafic", -"transit ${price}/Gbps":"transit ${price}/Gbps", -"The long tail":"La longue traîne", -"{n} small networks":"{n} petits réseaux", -"{p}% of traffic between them, scattered across exchanges. You peer with {n}.":"{p} % du trafic à eux tous, éparpillé sur les IX. Tu es en peering avec {n}.", -"Hide":"Masquer", -"Show":"Afficher", -"{g} of eyeballs":"{g} d’eyeballs", -"Transit {x}× pricier":"Transit {x}× plus cher", -"Underserved: users grow 60% faster":"Sous-desservie : +60 % de croissance des utilisateurs", -"IX: {ix}":"IX : {ix}", -"Your POP":"Ton POP", -"Open a POP here":"Ouvrir un POP ici", -"A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.":"Un POP (point de présence), c’est ton routeur dans une baie, ici. Ensuite, connecte-le : tire de la fibre depuis un de tes POP, ou achète du transit directement ici.", -"Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.":"Inclut le boîtier gouvernemental obligatoire dans ta baie : {cost} + {mo}/mois. Il est livré avec son propre auditeur attentif.", -"Build POP {cost} + {mo}/mo":"Construire le POP {cost} + {mo}/mois", -"Or drag from one of your routers to this city to lay fiber and build the POP in one go.":"Ou glisse depuis un de tes routeurs jusqu’à cette ville pour tirer la fibre et construire le POP d’un coup.", -"Internet Exchange":"Internet Exchange", -"Remote peering at the IX":"Remote peering sur l’IX", -"Remote peering":"Remote peering", -"Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.":"Fais du peering sur {ix} sans construire de POP. Commande ici un circuit virtuel depuis un de tes POP via {fabs}.", " or ":" ou ", -"Order circuit anyway":"Commander le circuit quand même", -"Who's here":"Qui est là", -"AI and cloud campuses nearby: {list}":"Campus IA et cloud à proximité : {list}", -"Transit sellers: {list}":"Vendeurs de transit : {list}", -"none":"aucun", -"Fabrics: {list}":"Fabrics : {list}", -"IX members on {ix}: {n}":"Membres de l’IX sur {ix} : {n}", -"No IX here yet. You could found one later.":"Pas encore d’IX ici. Tu pourras en fonder un plus tard.", -"Peering":"Peering", -"Infra":"Infra", -"This POP is down":"Ce POP est en panne", -"Customers here get nothing until it's back.":"Les clients d’ici n’ont plus rien tant qu’il n’est pas revenu.", -"Router maxed out":"Routeur saturé", -"Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.":"Tes routeurs ici transmettent {load} sur {cap}. Du trafic est perdu. Mets à niveau ou ajoute un routeur dans l’onglet Infra.", -"Open Infra":"Ouvrir Infra", -"Home broadband":"Haut débit résidentiel", -"Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.":"Vends de l’Internet aux foyers d’ici. Démarre vers {start} et grimpe vers {max} tant que le service est bon. Rapporte {rate} par Gbps servi, chaque mois.", -"Launch broadband {cost}":"Lancer le haut débit {cost}", -"Eyeball demand":"Demande eyeballs", -"{a} of {b}":"{a} sur {b}", -"Served in {city}":"Servi à {city}", -"Revenue":"Chiffre d’affaires", -"Network-wide peering ratio":"Ratio de peering sur tout le réseau", -"More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.":"Plus de trafic via peering, PNI et caches, c’est moins de latence, et des utilisateurs contents, c’est une croissance plus rapide.", -"Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.":"Les clients sont mécontents et s’en vont. Ajoute de la capacité upstream, du peering ou un lien plus gros.", -"Ad campaign: {n}d left":"Campagne de pub : encore {n} j", -"Run ad campaign $8k · 2× growth 30d":"Lancer une campagne de pub $8k · croissance 2× pendant 30 j", -"Business customers":"Clients entreprises", -"No businesses yet. Offers pop up as $ bubbles on the map.":"Pas encore d’entreprise. Les offres apparaissent sous forme de bulles $ sur la carte.", -"carrying {g} per site":"transporte {g} par site", -"carrying {g}":"transporte {g}", -"fiber is down":"fibre en panne", -"serving {v}":"dessert {v}", -"needs a scrubbing center":"nécessite un centre de scrubbing", -"provisioning, {n}d grace":"mise en service, {n} j de grâce", -"Happiness {p}%":"Satisfaction {p} %", -"Really drop?":"Vraiment le lâcher ?", -"Drop":"Lâcher", -"IP transit":"Transit IP", -"Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.":"Paie un plus gros réseau au Gbps et il transporte ton trafic vers tout Internet. Facturé au 95e percentile des 30 derniers jours, avec un engagement de 20 % et des frais de port. Les pics comme les DDoS font grimper ta facture.", -"Nobody sells transit here. Haul your traffic over fiber to a city that has it.":"Personne ne vend de transit ici. Achemine ton trafic par fibre jusqu’à une ville qui en a.", +"!N network unreachable":"!N réseau injoignable", +"# 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.", +"# 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.", +"# Confidence: 100%.":"# Confiance : 100 %.", +"# Customer Care: the people who pay for an SLA come first.":"# Service client : ceux qui paient un SLA passent en premier.", +"# Keep Calm: one rule, hard to get wrong.":"# Pas de panique : une règle, difficile de se tromper.", +"# 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.", +"# 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.", +"# Peering First: free paths before paid ones.":"# Le peering d’abord : les chemins gratuits avant les payants.", +"# Penny Pincher: cheapest upstream first, priciest last.":"# Grippe-sou : l’upstream le moins cher d’abord, le plus cher en dernier.", +"# 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.", +"# Shields Up: for the length of the attack only.":"# Boucliers levés : seulement le temps de l’attaque.", +"# Suggested by the optimizer from live traffic. It has never been paged at 3 a.m., so check it, then deploy.":"# Suggéré par l’optimiseur à partir du trafic réel. Il ne s’est jamais fait réveiller à 3 h du matin, alors vérifie, puis déploie.", +"# {net}: {g} over the IX. A PNI would take it off the shared port.":"# {net} : {g} via l’IX. Un PNI le sortirait du port partagé.", +"# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.":"# {net} : {g} via transit, mais il fait du peering sur {ix} à {city}, où tu as un POP. Prends un port là-bas.", +"# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.":"# {net} : {g} via transit, mais il fait du peering sur {ix}, où tu as un POP. Prends un port là-bas.", +"# ✨ Written by {ai}. Prompt: “make my network good”.":"# ✨ Écrit par {ai}. Prompt : « rends mon réseau bien ».", "${price} per Gbps / month · billed on 95th percentile":"${price} par Gbps / mois · facturé au 95e percentile", -"OUTAGE":"PANNE", -"CN-Too premium on ✓":"CN-Too premium activé ✓", -"Switch to CN-Too premium {x}× price · ~3% loss into China":"Passer à CN-Too premium prix {x}× · ~3 % de pertes vers la Chine", -"Top destinations on this port":"Principales destinations sur ce port", -"95th pct {p95} · commit {commit} · bill {bill}/mo":"95e pct {p95} · engagement {commit} · facture {bill}/mois", -"Upgrade all to {port} {cost} + {mo}/mo":"Tout passer en {port} {cost} + {mo}/mois", -"Upgrade {port} {cost} + {mo}/mo":"Passer en {port} {cost} + {mo}/mois", -"+ LAG member {cost} + {mo}/mo":"+ membre LAG {cost} + {mo}/mois", -"− member":"− membre", -"Really cancel?":"Vraiment résilier ?", -"{port} {cost} + {mo}/mo":"{port} {cost} + {mo}/mois", -"Private interconnects (PNI)":"Interconnexions privées (PNI)", -"A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.":"Un cross-connect dédié vers un seul réseau dans {dc}. Demande plus de trafic que le peering sur IX, mais a sa propre capacité.", -"Really remove?":"Vraiment supprimer ?", -"Remove":"Supprimer", -"Paid peering: {price}/mo on top":"Peering payant : {price}/mois en plus", -"Embedded caches":"Caches intégrés", -"CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.":"Les CDN installent gratuitement des serveurs de cache dans ton POP. L’essentiel de leur trafic est alors servi ici même, sans transit ni port IX.", -"from {net}":"de {net}", -"{n} box":"{n} boîtier", -"{n} boxes":"{n} boîtiers", -"100G per box":"100G par boîtier", -"Needs {min} Gbps of traffic to {net} (now {now})":"Nécessite {min} Gbps de trafic vers {net} (actuellement {now})", -"+ box":"+ boîtier", -"Request":"Demander", -"The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.":"Le modèle détermine ton interface la plus rapide et ce que ce POP peut transmettre. Plus de routeurs, c’est plus de capacité et une meilleure résistance aux plantages.", -"Up to {pn} interfaces · {ports} ports and {cap} per router":"Interfaces jusqu’à {pn} · {ports} ports et {cap} par routeur", -"Router ports":"Ports du routeur", -"{used} / {max} in use":"{used} / {max} utilisés", -"Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.":"Tous les ports sont pris. Ajoute un routeur ou passe à un modèle avec plus de ports avant de brancher quoi que ce soit.", -"Forwarding chip":"Puce de forwarding", -"Boot time":"Temps de boot", -"~{n} min · a slow one":"~{n} min · un escargot", -"~{n} min":"~{n} min", -"This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.":"Ce châssis met une éternité à booter : les plantages durent plus longtemps, et remplacer l’unique routeur d’ici prend 3 jours. Un second routeur masque le problème.", -"Forwarding load":"Charge de forwarding", -"Maxed out. Traffic here is being dropped.":"Saturé. Du trafic est perdu ici.", -"{model} level {lv}":"{model} niveau {lv}", -"Upgrade to {model} {cost} + {mo}/mo":"Passer au {model} {cost} + {mo}/mois", -"Hide other models":"Masquer les autres modèles", -"Other models":"Autres modèles", -"Add router {cost} + {mo}/mo":"Ajouter un routeur {cost} + {mo}/mois", -"Remove one":"En retirer un", -"Rolling upgrade: one router at a time, no downtime.":"Mise à niveau progressive : un routeur à la fois, zéro coupure.", -"With one router, the upgrade needs a maintenance window: this POP goes dark for a day.":"Avec un seul routeur, la mise à niveau exige une fenêtre de maintenance : ce POP est éteint pendant une journée.", -"A crash here only costs one router’s capacity for a few days.":"Ici, un plantage ne coûte que la capacité d’un routeur pendant quelques jours.", -"One router is a single point of failure.":"Un seul routeur, c’est un point de défaillance unique.", -"Metro diversity":"Diversité métropolitaine", "(split)":"(réparti)", -"Nothing plugged in here yet":"Rien n’est encore branché ici", -"Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.":"Deux bâtiments reliés par ton propre anneau métropolitain. Une coupure de courant ou un agent d’entretien dans l’un laisse l’autre tourner à mi-capacité. Les uplinks ne marchent que si leur site est debout, sauf si tu les répartis : choisis Les deux sur un port pour mettre des membres LAG dans chaque bâtiment.", -"Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.":"Tout est dans un seul bâtiment. Déplace des uplinks vers l’autre site depuis les onglets Transit et Peering.", -"Second site and metro ring":"Second site et anneau métropolitain", -"Really close it?":"Vraiment le fermer ?", -"Close site B":"Fermer le site B", -"Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.":"Pour l’instant, {city} tient dans un seul bâtiment. Une coupure de courant, une clim en panne ou un agent d’entretien avec son aspirateur, et toute la ville est dans le noir : un second routeur n’y change rien. Un second datacenter à l’autre bout de la ville, relié par ton propre anneau métropolitain, garde la moitié du POP en ligne.", -"Add a second site {cost} + {mo}/mo":"Ajouter un second site {cost} + {mo}/mois", -"Power":"Alimentation", -"Backup generator":"Groupe électrogène de secours", -"Installed":"Installé", -"None":"Aucun", -"Power cuts are covered.":"Les coupures de courant sont couvertes.", -"Install generator {cost} + {mo}/mo":"Installer le groupe {cost} + {mo}/mois", -"DDoS scrubbing center":"Centre de scrubbing DDoS", -"Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.":"Nettoie les attaques pour tout ton réseau, dans la limite de sa capacité de bande passante propre, et débloque les contrats de protection DDoS. Le trafic nettoyé revient par GRE, ce qui peut rouvrir le trou noir MSS.", -"On-demand (engages in {n}d)":"À la demande (s’active en {n} j)", -"Always-on":"Toujours actif", -"Switch to always-on":"Passer en toujours actif", -"Switch to on-demand cheaper":"Passer à la demande moins cher", -"Upgrade to {tier} {cost}":"Passer à {tier} {cost}", -"Really shut it down?":"Vraiment l’arrêter ?", -"Shut down":"Arrêter", -"Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.":"Nettoie les attaques DDoS pour tout ton réseau, dans la limite de sa capacité de bande passante propre, et débloque les contrats de protection DDoS pour les entreprises.", -"Build {tier} {cost} + {mo}/mo":"Construire {tier} {cost} + {mo}/mois", -"Interconnection fabrics (NNI)":"Fabrics d’interconnexion (NNI)", -"Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.":"Achète un port sur un fabric, puis commande des circuits virtuels vers tes autres POP ou vers un IX distant. Rapide et souple, mais tu partages leur fabric.", -"{port} port · {price}/mo":"Port {port} · {price}/mois", -"{g} of circuits":"{g} de circuits", -"New circuit":"Nouveau circuit", -"Remove port":"Retirer le port", -"{port} port {price}/mo":"Port {port} {price}/mois", -"{port} port {price}":"Port {port} {price}", -"free":"gratuit", -"Fiber from {city}":"Fibre depuis {city}", -"Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.":"Glisse depuis ce routeur vers n’importe quelle ville de la carte pour tirer un nouveau lien. Deux chemins vers chaque POP, et aucune pelleteuse ne pourra te couper du monde.", -"No links yet.":"Aucun lien pour l’instant.", -"diverse":"diversifié", -"CUT":"COUPÉ", -"virtual circuit via {fab}":"circuit virtuel via {fab}", -"dark fiber IRU":"IRU fibre noire", -"ready in {n}d":"prêt dans {n} j", -"subsea":"sous-marin", -"terrestrial":"terrestre", -"Internet Exchanges":"Internet Exchanges", -"{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.":"{n} IX se font concurrence à {city}. Les membres se recoupent, mais pas totalement, et les challengers cassent les prix de l’historique. Les petits réseaux ne sont souvent que sur l’un d’eux.", -"challenger":"challenger", -"incumbent":"historique", -"Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.":"Exploiter un IX en Chine continentale exige une tout autre licence. Fais du peering avec les réseaux chinois via des PNI, ou retrouve-les à Hong Kong.", -"There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.":"Pas encore d’IX à {city}. Fondes-en un : les réseaux te rejoignent peu à peu, te paient leurs ports et font du peering gratuit avec toi.", -"Found your own IX {cost} + {mo}/mo":"Fonder ton propre IX {cost} + {mo}/mois", -"Build a POP here first.":"Construis d’abord un POP ici.", -"{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.":"{ix} est un switch partagé. Un seul port te permet de faire du peering gratuit avec tous les membres. Membres : {list}.", -"nobody yet":"personne pour l’instant", -", plus {n} small network":", plus {n} petit réseau", -", plus {n} small networks":", plus {n} petits réseaux", -"Ports at {p}% of the usual price.":"Ports à {p} % du prix habituel.", -"Ports up to {port} are free.":"Les ports jusqu’à {port} sont gratuits.", -"Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.":"Géré par une association à but non lucratif. Des prix publics à une fraction de ce que facturent les autres IX, et presque tout le monde est là.", -"Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.":"Géré par DE-KICKS Group. Pas de grille tarifaire publique. Demande un devis personnalisé au commercial et sors ta meilleure tête de marchand de tapis.", -"{port} port Price on request ☎":"Port {port} Prix sur demande ☎", -"Your own fabric · {name}":"Ton propre fabric · {name}", -"DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).":"Tarif personnalisé DE-KICKS : {p} % de ce que facturerait un IX normal (promo, encore {n} jours).", -"DE-KICKS personalised pricing: {p}% of what a normal IX would charge.":"Tarif personnalisé DE-KICKS : {p} % de ce que facturerait un IX normal.", -"auto-enrolled":"inscrit d’office", -"Lose exclusive benefits?":"Perdre tes avantages exclusifs ?", -"Opt out":"Se désinscrire", -"Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.":"Port distant via un revendeur : prix 1,5×, 80 % utilisable, et {n} membre d’ici refuse les peers distants.", -"Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.":"Port distant via un revendeur : prix 1,5×, 80 % utilisable, et {n} membres d’ici refusent les peers distants.", -"Members paying you":"Membres payants", -"{n} of up to {max} · {price}/mo":"{n} sur {max} max · {price}/mois", -"{name} fabric level {lv}":"Fabric {name} niveau {lv}", -"Upgrade fabric to {name} {cost} + {mo}/mo":"Passer au fabric {name} {cost} + {mo}/mois", -"A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.":"Un fabric plus gros transporte plus de trafic et accueille plus de membres. Ton routeur ici doit quand même suivre.", -"Biggest fabric money can buy.":"Le plus gros fabric que l’argent puisse acheter.", -"Upgrade {port} {price}/mo":"Passer en {port} {price}/mois", -"Upgrade {port} {price}":"Passer en {port} {price}", +"+ Clean-pipe {mo}/mo · scrubs DDoS upstream":"+ Clean-pipe {mo}/mois · nettoie les DDoS en amont", +"+ LAG member {cost} + {mo}/mo":"+ membre LAG {cost} + {mo}/mois", "+ LAG member {price}":"+ membre LAG {price}", -"Leave route server":"Quitter le route server", -"Join route server":"Rejoindre le route server", -"Really leave?":"Vraiment partir ?", -"Leave IX":"Quitter l’IX", -"Request all {n} willing peers":"Demander les {n} peers partants", -"tiny":"minuscule", -"Member":"Membre", -"via RS":"via RS", -"Peered ✓":"En peering ✓", -"Click to tear down":"Clique pour couper la session", -"Virtual circuit · {name} · {km} km":"Circuit virtuel · {name} · {km} km", -"{name} is down. Nothing you can do but wait, or have another path.":"{name} est en panne. Rien à faire à part attendre, ou avoir un autre chemin.", -"Capacity":"Capacité", -"{name} circuit":"Circuit {name}", -"Monthly":"Mensuel", -"Remote peering leg into {ix}.":"Tronçon de remote peering vers {ix}.", -"Cancel circuit":"Résilier le circuit", -"Egress:":"Sortie :", -"What's on this link":"Ce qui passe sur ce lien", -"No traffic right now.":"Aucun trafic pour l’instant.", -"DDoS junk":"Déchets DDoS", -"L2VPN customers":"Clients L2VPN", -"Totals for all {n} links between these cities.":"Totaux des {n} liens entre ces villes.", -"Content from":"Contenu venant de", -"Enters your network at":"Entre dans ton réseau à", -"Going to customers in":"Vers les clients de", -"Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Plus gros contributeur : {egress} à {city}. Passe-le en « Secours seul », donne aux clients une sortie plus proche (peering, cache, transit local) ou augmente la métrique de ce lien.", -"Routing metric":"Métrique de routage", -"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"Tes routeurs choisissent le chemin le moins coûteux. Augmente la métrique pour pousser le trafic vers d’autres chemins. « Secours seul » le laisse au repos tant que le reste fonctionne. S’applique à tous les liens entre ces deux villes.", -"Behind the Great Firewall":"Derrière le Grand Pare-feu", -"Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"La Chine continentale joue selon ses propres règles. {list} et d’autres services étrangers y sont bloqués, donc les utilisateurs atteignent surtout des réseaux chinois. Le trafic qui passe la frontière perd environ {pct} en filtrage et congestion, sauf s’il emprunte une route premium : du transit CN-Too ou un circuit transfrontalier premium (tous deux vendus uniquement à Hong Kong), ou un PNI avec un réseau chinois. Le revenu par utilisateur est plus faible ici.", -"Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Les réseaux étrangers ont besoin d’une coentreprise locale et d’une licence d’opérateur pour construire ici.", -"Apply for a license {price} + {mo}/mo · ~45 days":"Demander une licence {price} + {mo}/mois · ~45 jours", -"License paperwork in progress: {n} days left.":"Dossier de licence en cours : encore {n} jours.", -"Your joint venture holds an operating license.":"Ta coentreprise détient une licence d’opérateur.", -"Your traffic crossing the border":"Ton trafic qui passe la frontière", -"Lost on the way":"Perdu en route", -"Dark fiber · {kind} · {km} km":"Fibre noire · {kind} · {km} km", -"your own build":"construite par toi", -"leased IRU":"IRU loué", -"Under construction":"En construction", -"Being spliced":"Épissurage en cours", -"Permits, trenching, splicing":"Permis, tranchées, épissures", -"IRU handover":"Remise de l’IRU", -"{n} days left":"encore {n} jours", -"Hire extra crews {price} · −30 days":"Embaucher des équipes en renfort {price} · −30 jours", -"You can pre-install optics now so it lights up the day it's ready.":"Tu peux déjà installer les optiques pour qu’elle s’allume le jour où elle est prête.", -"Dark!":"Éteint !", -"{n} of {max} channels lit":"{n} canaux allumés sur {max}", -"{n} sold as alien waves":"{n} vendus en alien waves", -"Latency":"Latence", -"Right-of-way upkeep":"Entretien des servitudes", -"IRU lease":"Location de l’IRU", -"{n} amp huts":"{n} abris d’amplis", -"This fiber is dark. Add optics below to carry traffic.":"Cette fibre est éteinte. Ajoute des optiques ci-dessous pour transporter du trafic.", -"Optics":"Optiques", -"Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.":"Chaque canal, c’est une paire d’optiques, une à chaque bout. Les optiques ZR+ se branchent directement dans tes routeurs. Les transpondeurs vivent sur une étagère.", -"{g} to {km} km":"{g} jusqu’à {km} km", -"Runs at {g} per channel on this route (long-haul mode).":"Tourne à {g} par canal sur cette route (mode longue distance).", -"{n} regen site would bring it back to {g}.":"{n} site de régénération la ramènerait à {g}.", -"{n} regen sites would bring it back to {g}.":"{n} sites de régénération la ramèneraient à {g}.", -"Regen sites":"Sites de régénération", -"{n} · optical spans of {km} km":"{n} · portées optiques de {km} km", -"A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.":"Un site de régénération reconvertit la lumière en bits à mi-chemin et la renvoie toute fraîche, donc les optiques n’ont qu’à atteindre le site suivant. Chacun demande une carte de régénération par canal allumé. {price}/mois par site pour l’abri.", "+ Regen site {price}":"+ Site de régénération {price}", -"− Regen site":"− Site de régénération", -"Those optics need the regen site.
Remove the long-haul channels first, or keep the site.":"Ces optiques ont besoin du site de régénération.
Retire d’abord les canaux longue distance, ou garde le site.", -"Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.":"Le site de régénération {n} est opérationnel.
Les portées optiques sur {a}–{b} font maintenant {km} km.", -"Regen site removed.":"Site de régénération retiré.", -"{n} lit":"{n} allumés", -"Line system":"Système de ligne", -"{n} amplifiers":"{n} amplificateurs", -"Spares kit on ✓":"Kit de rechange actif ✓", -"Keep a spares kit {price}/mo":"Garder un kit de rechange {price}/mois", -"Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.":"Des optiques et des cartes d’ampli de rechange sur l’étagère transforment des pannes matérielles de plusieurs jours en remplacements d’une journée.", -"Really give it up?":"Vraiment y renoncer ?", -"Abandon the fiber":"Abandonner la fibre", -"Cancel the IRU":"Résilier l’IRU", -"Offers here":"Offres ici", -"They need the full internet. Your reach is {pct}.":"Ils veulent tout Internet. Ta couverture est de {pct}.", -"Needs your own scrubbing center (Infra tab).":"Il faut ton propre centre de scrubbing (onglet Infra).", -"Needs a POP in {cities} too.":"Il faut aussi un POP à {cities}.", -"No":"Non", -"Subsea cable":"Câble sous-marin", -"Terrestrial fiber":"Fibre terrestre", -"Cut!":"Coupé !", -"Back in {n} days.":"Retour dans {n} jours.", -"{name} wave":"Longueur d’onde {name}", -"Cable system":"Système de câble", -"Wave lease":"Location de longueur d’onde", -"Congested. Upgrade it or add a parallel path.":"Saturé. Augmente sa capacité ou ajoute un chemin parallèle.", -"needs {what}":"requiert {what}", -"Redundancy":"Redondance", -"Shares a trench with {n} other link. One cut takes them all down.":"Partage une tranchée avec {n} autre lien. Une coupure et ils tombent tous.", -"Shares a trench with {n} other links. One cut takes them all down.":"Partage une tranchée avec {n} autres liens. Une coupure et ils tombent tous.", -"Runs on its own route. A cut here leaves the other links up.":"Suit sa propre route. Une coupure ici laisse les autres liens debout.", -"This is the only link between these cities. Add a parallel one, or a path through another city.":"C’est le seul lien entre ces villes. Ajoutes-en un parallèle, ou un chemin via une autre ville.", -"{name} parallel link":"Lien parallèle {name}", -"same trench":"même tranchée", -"diverse route":"chemin diversifié", -"Add parallel link":"Ajouter un lien parallèle", -"Really decommission?":"Vraiment décommissionner ?", -"Decommission link":"Décommissionner le lien", -"Caches":"Caches", -"PNIs":"PNI", -"IX peering":"Peering IX", -"L2 circuits":"Circuits L2", -"Collecting data. Check back in a few days.":"Collecte des données en cours. Repasse dans quelques jours.", -"Tier 1: only a PNI, and only once you are big enough for the Tier 1 club":"Tier 1 : PNI uniquement, et seulement quand tu seras assez gros pour le club des Tier 1", -"Open peer: join the route server at {ix}":"Peer ouvert : rejoins le route server de {ix}", -"Open peer: join the route server at {ix} ({city})":"Peer ouvert : rejoins le route server de {ix} ({city})", -"Open peer, but not on any IX where you have a POP":"Peer ouvert, mais sur aucun IX où tu as un POP", -"Paid peering only: a PNI costs {price}/mo":"Peering payant uniquement : un PNI coûte {price}/mois", -"Ready for a PNI in {city}":"Prêt pour un PNI à {city}", -"Will peer at {ix}: request a session":"Accepte le peering à {ix} : demande une session", -"PNI in {city}: {why}":"PNI à {city} : {why}", -"Not present in any of your cities yet":"Pas encore présent dans tes villes", -"NOC dashboard":"Tableau de bord NOC", -"Traffic now":"Trafic actuel", -"of {g} wanted":"sur {g} demandés", -"Peak":"Pic", -"Delivered, 30 days":"Livré, 30 jours", -"five nines-ish":"cinq neuf, ou presque", -"two nines and change":"deux neuf et des poussières", -"customers are upset":"les clients râlent", -"Peering ratio":"Ratio de peering", -"caches, PNIs and IX":"caches, PNI et IX", -"Monthly P&L":"Résultat mensuel", -"{in} in · {out} out":"{in} encaissés · {out} dépensés", -"Incidents":"Incidents", -"{n} shrugged off":"{n} encaissés sans broncher", -"Traffic by way out":"Trafic par sortie", -"Demand":"Demande", -"Money per month":"Argent par mois", -"Costs":"Coûts", -"Where the money goes":"Où passe l’argent", -"POPs and routers":"POP et routeurs", -"Waves and fiber":"Longueurs d’onde et fibre", -"IX ports":"Ports IX", -"Cache power":"Électricité des caches", -"Fabric ports":"Ports fabric", -"Amp huts and spares":"Abris d’amplis et rechanges", -"Loan repayments":"Remboursements de prêts", -"Investor revenue share":"Part du CA aux investisseurs", -"Licenses and scrubbing":"Licences et scrubbing", -"The long tail ({n} small networks)":"La longue traîne ({n} petits réseaux)", -"Traffic by network (ASN)":"Trafic par réseau (ASN)", -"Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.":"D’où vient le trafic de tes utilisateurs, et comment il t’arrive. Le transit est la seule partie que tu paies au gigabit ; caches, PNI et peering IX sont gratuits ou au forfait. Touche une colonne pour trier.", -"Network":"Réseau", -"Type":"Type", -"Traffic":"Trafic", -"How it arrives":"Comment il arrive", -"Transit cost":"Coût transit", -"Lost":"Perdu", -"nothing yet":"rien pour l’instant", -"Who your transit carries":"Qui passe par ton transit", -"The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.":"Les réseaux que tu atteins en payant du transit, du plus gros au plus petit, et la façon la moins chère de passer chacun en peering. C’est ta to-do list sur la route du Tier 1.", -"about {price}/mo":"environ {price}/mois", -"Busiest links":"Liens les plus chargés", -"Router load":"Charge des routeurs", -"Your AS":"Ton AS", -"AS number":"Numéro d’AS", -"Prefixes":"Préfixes", -"BGP sessions":"Sessions BGP", -"Upstreams":"Upstreams", -"Reach":"Couverture", -"{n} businesses":"{n} entreprises", -"No repayments":"Aucune mensualité", -"{pct} of revenue, forever":"{pct} du CA, pour toujours", -"Buy-out {price}":"Rachat {price}", -"{apr}% APR":"TAEG {apr} %", -"{n} months":"{n} mois", -"Paid in TubeCoin":"Payé en TubeCoin", -"No conditions. That is the scary part.":"Aucune condition. C’est bien ça qui fait peur.", -"Bank":"Banque", -"Cash":"Trésorerie", -"Bankrupt at −$100k":"Faillite à −$100k", -"in the vault":"dans le coffre", -"after loan payments":"après remboursements", -"Credit rating":"Note de crédit", -"Bankers return your calls":"Les banquiers te rappellent", -"Bankers return your emails":"Les banquiers répondent à tes mails", -"Bankers pretend to be out":"Les banquiers sont « en réunion »", -"Debt":"Dette", -"{n} loan":"{n} prêt", -"{n} loans":"{n} prêts", -"Offers":"Offres", -"No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.":"Aucune offre pour l’instant. Les banques se manifestent de temps en temps, et bien plus vite quand tu es dans le pétrin. Une meilleure note de crédit attire de meilleures banques.", -"{bank} offers {amount}":"{bank} propose {amount}", -"offer ends in {n}d":"l’offre expire dans {n} j", -"Take the money":"Prendre l’argent", -"No thanks":"Non merci", -"Your loans":"Tes prêts", -"Debt-free. Your accountant is suspicious.":"Zéro dette. Ton comptable trouve ça louche.", -"Taking {pct} of your revenue every month.":"Prélève {pct} de ton CA chaque mois.", -"Still owed":"Reste dû", -"{pay}/mo · {n} months left · {apr}% APR":"{pay}/mois · encore {n} mois · TAEG {apr} %", -"Condition broken for {n} day.":"Condition non respectée depuis {n} jour.", -"Condition broken for {n} days.":"Condition non respectée depuis {n} jours.", -"Penalty in {n} days.":"Pénalité dans {n} jours.", -"Penalties are running.":"Les pénalités tombent.", -"Really pay {price}?":"Vraiment payer {price} ?", -"Buy them out {price}":"Les racheter {price}", -"Repay early {price} incl. 2% fee":"Rembourser par anticipation {price} dont 2 % de frais", -"Release to plan a link":"Relâche pour planifier un lien", -"Drag onto another city":"Glisse vers une autre ville", -"Tip: drag from your pink router to another city to lay fiber":"Astuce : glisse depuis ton routeur rose vers une autre ville pour poser de la fibre", -"Tap your city, then Launch broadband":"Touche ta ville, puis Lancer le haut débit", -"Crossroads of Europe. DE-KICKS IX, cheap transit.":"Carrefour de l’Europe. IX DE-KICKS, transit pas cher.", -"Huge eyeball market. Pricey neighbours.":"Énorme marché d’eyeballs. Voisins chers.", -"Asia hub. Great peering, far from home.":"Hub de l’Asie. Super peering, loin de chez soi.", -"Big hungry market, few providers.":"Gros marché affamé, peu d’opérateurs.", -"Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.":"Construis un Internet. Pose de la fibre entre les villes, achète du transit, fais du peering aux IX, signe des entreprises et garde les eyeballs contents pendant que pelleteuses, requins et fuites de routes font tout pour t’arrêter.", -"Continue {name} · {date}":"Continuer {name} · {date}", -"Name your network":"Nomme ton réseau", -"Another one":"Un autre", -"Pick your home city":"Choisis ta ville de départ", -"Mode":"Mode", -"Scenarios & weekly challenge →":"Scénarios et défi de la semaine →", -"Language":"Langue", -"Start building":"Commencer à construire", -"Source on GitHub":"Code source sur GitHub", -"Cookieless stats, no tracking":"Stats sans cookies, sans pistage", -"Release notes":"Notes de version", -"New in Series of Tubes {v}":"Nouveautés de Series of Tubes {v}", -"Your network {name} was saved and is waiting for you.":"Ton réseau {name} a été sauvegardé et t’attend.", -"Back to my network":"Retour à mon réseau", -"Got it":"Compris", -"Full changelog":"Changelog complet", -"Series of Tubes {v} is out!":"Series of Tubes {v} est sorti !", -"Your game is saved automatically.":"Ta partie est sauvegardée automatiquement.", -"Reload now":"Recharger maintenant", -"Later":"Plus tard", -"How the internet works here":"Comment marche Internet ici", -"Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.":"Commandes : fais glisser la carte pour te déplacer, molette ou pincement pour zoomer, touche une ville pour l’ouvrir. Glisse depuis ton routeur rose vers une autre ville pour poser de la fibre. Espace met en pause, 0 passe à mi-vitesse, 1 2 3 4 règlent la vitesse. À 1×, un jour dure 2,5 secondes.", -"Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.":"Abonnés haut débit résidentiels. Ils téléchargent surtout depuis des CDN et te paient par Gbps livré. Sers-les bien et ils se multiplient.", -"Point of presence: your router in a data center. Everything starts at a POP.":"Point de présence : ton routeur dans un datacenter. Tout commence par un POP.", -"You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.":"Tu paies un plus gros réseau au Gbps et il livre ton trafic partout. Facile, couverture totale, jamais gratuit.", -"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.":"Les Tier 1 atteignent tout Internet sans payer personne, parce qu’ils font tous du peering entre eux. Les Tier 2 font beaucoup de peering mais achètent encore un peu de transit.", -"Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.":"Des réseaux de contenu comme NetChill et Goggle. L’essentiel de ton trafic vient d’eux. Fais du peering avec eux et ce trafic devient gratuit.", -"IX (Internet Exchange)":"IX (Internet Exchange, point d’échange)", -"A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.":"Un switch partagé dans une ville. Un port, plein de sessions de peering gratuites. Le route server te met en peering avec tous les membres ouverts d’un coup.", -"Private network interconnect: a cable straight to one network in the same building. For big traffic.":"Private network interconnect : un câble direct vers un seul réseau dans le même bâtiment. Pour les gros volumes.", -"Embedded cache":"Cache embarqué", -"A CDN's server in your rack. Serves most of that CDN's traffic locally, for the price of power.":"Un serveur de CDN dans ta baie. Il sert en local l’essentiel du trafic de ce CDN, pour le prix de l’électricité.", -"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.":"Le groupe derrière plusieurs grands IX (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) traite ses grilles tarifaires comme un secret d’État. Les ports sont chiffrés client par client et grimpent d’autant plus que tu as l’air gros. Négocier peut marcher, se retourner contre toi ou s’enliser une semaine. Une fois par an, les prix sont « harmonisés » à la hausse, des options apparaissent sur ta facture tant que tu ne les refuses pas, et tenter de partir te vaut une remise de fidélité qui se termine par des frais.", -"Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.":"Rejoindre un IX via un circuit fabric sans POP sur place. Ça marche, et le route server te donne quand même tous les réseaux ouverts, mais c’est déconseillé : le revendeur facture le port 1,5× et le survend à 80 %, la latence dépend du fabric, une panne du fabric fait tomber toutes les sessions, et beaucoup de réseaux sélectifs refusent tout net les membres distants.", -"Peering policy":"Politique de peering", -"Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.":"Ouverte : peering avec tout le monde. Sélective : veut d’abord voir du trafic. Restrictive (les Tier 1) : peering uniquement avec les géants, via PNI. Payante : tout est dans le nom. Les gros réseaux sélectifs ont aussi leurs humeurs : dans certaines villes, ils refusent les nouveaux peers pendant quelques mois, ou n’acceptent que des PNI, et de temps en temps ils coupent une session que tu avais déjà. Essaie une autre ville ou un PNI, et redemande plus tard.", -"Waves":"Longueurs d’onde", -"Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.":"Tes liens en fibre sont des longueurs d’onde louées à tarif mensuel fixe. Plus c’est long et gros, plus c’est cher (10G → 6.4T), et le sous-marin coûte 1,8× plus.", -"95th percentile":"95e percentile", -"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.":"Les factures de transit échantillonnent ta conso chaque jour et facturent le 95e percentile des 30 derniers jours : les pics courts sont pardonnés, les longs non.", -"Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.":"Le modèle de routeur de chaque POP plafonne son port le plus rapide (100G, 400G, 800G, 1.6T) et ce qu’il peut acheminer. Des longueurs d’onde et des ports plus gros exigent de meilleurs routeurs aux deux bouts. Les meilleurs modèles se débloquent avec ton niveau clients. Avec un seul routeur, chaque upgrade coûte une journée d’indisponibilité.", -"Dark fiber":"Fibre noire", -"Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.":"Loue un IRU ou construis la tienne (lent, avec des retards), puis achète un système de ligne avec amplificateurs et allume des canaux avec des transpondeurs 400ZR+, 800ZR+ ou 1.6T. Bien moins cher que les longueurs d’onde à grande échelle, mais le matériel peut tomber en panne. Un kit de rechange accélère les réparations.", -"Subsea cables":"Câbles sous-marins", -"Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.":"Les longueurs d’onde sous-marines ne peuvent suivre que des systèmes de câbles calqués sur des vrais, dessinés en transparence sur la carte (touche une ville pour surligner ses câbles). Les turquoise sont neufs et pas chers, les violets chers, les pointillés vieux et sujets aux coupures. Toutes tes longueurs d’onde sur un même câble meurent ensemble quand il est coupé. Entre continents reliés par la terre, tu peux souvent choisir la voie terrestre (2,5×, plein de frontières) ou un câble.", -"Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.":"Chaque lien a une latence. Les traders haute fréquence paient une fortune pour un circuit qui tient dans leur budget de latence ; achemine-les en « Latence minimale ». Les clients de sauvegarde en masse s’en fichent, alors achemine-les en « Chemin des écoliers » sur tes liens calmes pour garder les chargés libres.", -"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.":"Le bouton graphique en haut ouvre les courbes de trafic par sortie (caches, PNI, IX, transit), l’argent dans le temps, le trafic par ASN avec son mode d’arrivée et son coût en transit, plus tes liens et routeurs les plus chargés.", -"A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.":"Un marché bizarre et mal desservi. Le transit coûte 2,5× le prix européen (Afrique 2×, Océanie 1,8×), les opérateurs historiques locaux ne font presque que du peering payant, et les IX sont fragmentés. Mais la demande est énorme et les utilisateurs s’abonnent 60 % plus vite qu’ailleurs. C’est ici que peering et caches rapportent le plus.", -"Russia":"Russie", -"Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.":"Moscow impose une boîte gouvernementale dans chaque POP, les CDN occidentaux sont presque tous partis, la vidéo Goggle est bridée à mi-vitesse, et les exercices d’Internet souverain coupent de temps en temps Moscow du monde pendant une journée.", -"Events, chains and wholesale":"Événements, chaînes et vente en gros", -"Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.":"Les réseaux événementiels (une finale, un festival, une keynote) veulent un pic de capacité dans une ville pendant quelques jours et paient en une fois à la fin, au prorata de la part du public servie ; en dessous de 70 %, tu paies une pénalité. Les chaînes SD-WAN relient 3–6 de tes POP en hub-and-spoke, donc un seul spoke cassé fâche tout le contrat. Dès que tu exploites ta propre fibre noire, les opérateurs veulent louer tes canaux libres en alien waves et, sur la fibre que tu as construite toi-même, une paire libre.", -"Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.":"Touche ta trésorerie pour ouvrir la banque. Les prêteurs font des offres de temps en temps, et bien plus souvent quand tu es dans le rouge. Chaque prêt a une mensualité et quelques conditions bizarres ; enfreins-en une et tu paies une pénalité. Ta note de crédit décide quelles banques te parlent. L’usurier est toujours là. Ne sois pas en retard.", -"LAGs":"LAG", -"Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.":"Port trop petit ? Regroupe jusqu’à 8 ports identiques vers le même fournisseur de transit, IX ou PNI en un LAG. Chaque membre coûte un port complet ; le hachage des flux n’est jamais parfaitement équilibré, donc un bundle transporte environ 95 % de la somme.", -"Traffic engineering":"Ingénierie de trafic", -"Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.":"Touche un lien pour voir quels réseaux, quels points d’entrée et quelles villes clientes le remplissent. Augmente la métrique d’un lien pour que le trafic le contourne, ou passe une sortie (transit, IX, PNI) en Préférer ou Secours uniquement.", -"China":"Chine", -"Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.":"La Chine continentale exige une licence et une coentreprise locale. Beaucoup de services étrangers y sont bloqués, et le trafic qui passe la frontière perd des paquets, sauf si tu paies des routes premium.", -"Weird requirements":"Exigences bizarres", -"Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.":"Certains clients viennent avec des conditions : pas de Cogentle nulle part, pas de câbles sous-marins à cause des requins, deux routeurs, un groupe électrogène, NetChill on-net, accès à la Chine avec peu de pertes, et plus encore. Chacune rapporte un bonus. Celles qui ne sont pas remplies les rendent grognons jusqu’à ce que tu corriges le tir ou qu’ils partent.", -"Customer levels":"Niveaux clients", -"As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.":"À mesure que ton trafic de pointe et ton empreinte grandissent, de plus gros clients arrivent : startups de streaming et universités, puis datacenters GPU pour l’IA et on-ramps cloud, puis interconnexions d’entraînement IA et contrats DCI d’hyperscalers qui se comptent en térabits. Les bulles roses $$ signalent les gros.", -"L2VPN & DDoS protection":"L2VPN et protection DDoS", -"Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).":"Les entreprises peuvent vouloir un circuit privé entre deux de tes POP (il passe par ton backbone), ou une protection DDoS (il faut ton propre centre de scrubbing).", -"NNI fabrics":"Fabrics NNI", -"Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.":"Megapork, PocketFabric et Consolation Connect vendent un port plus des circuits virtuels entre villes. Parfait pour les petits liens et le remote peering sur un IX où tu n’as pas de POP.", -"NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.":"NANOG, RIPE, DENOG et compagnie reviennent chaque année. Inscris-toi dans l’onglet Offres pour $8k. Pendant les 45 jours suivants, les réseaux sélectifs présents dans cette région ne demandent que la moitié du trafic habituel avant de faire du peering avec toi. Parfois, tu gagnes aussi la tombola.", -"Modes":"Modes", -"Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.":"Le bac à sable te donne un milliard de dollars, tout débloqué et zéro panne, mais pas de badges. Les scénarios sont des défis faits main avec un objectif et une échéance, et le défi de la semaine donne à tout le monde le même monde pendant une semaine. Partage ton résultat avec la carte du menu.", -"Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.":"Touche 🔍 Traceroute sur n’importe laquelle de tes villes, ou ouvre-le depuis l’onglet NOC, pour voir le chemin exact vers un réseau ou un POP, saut par saut, avec la latence, la sortie et l’AS path.", -"Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.":"Sous tes objectifs se trouve un mur de badges, du commun au légendaire. Certains demandent de la chance, d’autres des années, et quelques-uns sont secrets. Les badges gagnés dans tes parties précédentes restent sur cet appareil avec un contour en pointillés.", -"The giants":"Les géants", -"At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.":"Aux niveaux clients 3 et 4, hyperscalers et clouds IA débarquent avec des contrats qu’eux seuls pourraient demander : des WAN IA au térabit entre campus de plusieurs gigawatts, des entraînements répartis sur plusieurs sites, des ingestions de datasets d’une semaine et des centaines de paires de fibres dans une tranchée que tu as creusée toi-même. Ils paient comme personne, et ils veulent des chemins diversifiés, deux sites par métropole et zéro excuse. Les villes proches de leurs campus les listent sous « Qui est là ».", -"Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.":"Une fois Auto-TE installé, tu peux le programmer depuis l’onglet NOC. Parmi les règles : spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams et blackhole ddos. Vérifier fait un essai à blanc sur le trafic réel ; Déployer le rend réel, erreurs comprises.", -"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.":"Le trafic suit le chemin le plus court selon la distance et la métrique des liens, et se reroute tout seul quand des liens tombent. Quand un chemin est simplement plein, l’excédent est jeté, comme dans un vrai IGP. Dès le niveau clients 3, tu peux installer Auto-TE dans l’onglet NOC : il déverse l’excédent sur jusqu’à deux chemins alternatifs avec de la capacité libre, tant qu’ils ne sont pas plus de deux fois plus longs.", -"A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.":"Un POP, c’est un seul bâtiment tant que tu n’ajoutes pas un second site dans l’onglet Infra. Ensuite, une coupure de courant, un agent d’entretien ou une panne de clim ne met hors service que la moitié de la ville, et tu choisis sur quel site se branche chaque port transit, PNI et IX, ou tu choisis Les deux pour répartir un LAG sur les deux bâtiments. Répartis-les, sinon les deux moitiés de ta redondance finiront dans la même salle plongée dans le noir. Attention aux coupures d’anneau métropolitain, qui isolent le site B.", -"Wave markets":"Marchés des longueurs d’onde", -"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Le prix d’une longueur d’onde dépend de là où elle passe. L’Europe est bon marché (beaucoup de fibre en concurrence), l’Amérique du Nord dans la moyenne, l’Asie et l’Amérique du Sud plus chères, et tout ce qui va vers l’Afrique coûte plusieurs fois plus. Chaque route a son prix du marché, et les nouvelles locations baissent d’environ 8 % par an, donc attendre peut payer. Le planificateur de liens t’indique comment une route se situe.", -"Regional quirks":"Particularités régionales", -"Boot times":"Temps de boot", -"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Certains routeurs mettent une éternité à démarrer. L’onglet Infra montre combien de temps met le tien. Les routeurs lents au boot font durer les crashs plus longtemps et transforment le remplacement d’un routeur unique en panne de trois jours. Les gros châssis, surtout ceux avec un PacketOinker™ dedans, sont plus souvent lents. Avec des routeurs jumeaux, ça devient le problème de quelqu’un d’autre.", -"Failures":"Pannes", -"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.":"Ça casse tout le temps : coupures de fibre, crashs de routeurs, coupures de courant, boucles sur les IX, pannes de fabric, fuites de routes, DDoS, erreurs de manip, pannes de refroidissement, et géopolitique : sanctions, droits de douane, détournements BGP, litiges sur les permis d’atterrissement, coupures les jours d’examen et câbles sectionnés en mer Rouge. Le trafic se reroute automatiquement via d’autres chemins et upstreams. Des liens parallèles sur des chemins diversifiés, un second routeur et un groupe électrogène de secours aident tous. Ou paie pour accélérer les réparations.", -"Export save":"Exporter la sauvegarde", -"Share my network":"Partager mon réseau", -"You're a Tier 1!":"Tu es un Tier 1 !", -"{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.":"{name} (AS{asn}) est transit-free. Tu fais du peering avec tous les géants de la planète et tu ne paies personne pour atteindre Internet. Il t’a fallu {days} jours et {n} incidents.", -"Keep building":"Continuer à construire", -"Bankrupt":"Faillite", -"The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.":"La banque a saisi tes routeurs et les a revendus sur eBuy. {name} a tenu {days} jours, avec un pic à {peak}.", -"Not happening":"Pas question", -"Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.":"Personne ne vend de capacité entre Kyiv et Moscow, et personne ne le fera. Passe plutôt par Warsaw, Bucharest ou Helsinki.", -"Not without a license":"Pas sans licence", -"Building into mainland China needs a joint venture and an operating license. Open {city} to apply.":"Construire en Chine continentale exige une coentreprise et une licence d’opérateur. Ouvre {city} pour faire la demande.", -"Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.":"Les circuits transfrontaliers vers la Chine continentale ne sont vendus que par des opérateurs titulaires d’une licence, à 3× le prix. Les circuits normaux perdent environ 20 % du trafic à la frontière.", -"Regular crossing":"Passage normal", -"Premium crossing +60% · ~3% loss":"Passage premium +60 % · ~3 % de perte", -"Premium crossings are only sold in Hong Kong.":"Les passages premium ne sont vendus qu’à Hong Kong.", -"You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?":"Tu as déjà {n} lien ici ({list}). Les liens parallèles ajoutent de la capacité. Par où faire passer celui-ci ?", -"You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?":"Tu as déjà {n} liens ici ({list}). Les liens parallèles ajoutent de la capacité. Par où faire passer celui-ci ?", -"Diverse route +40% · survives cuts alone":"Chemin diversifié +40 % · survit seul aux coupures", -"Same trench cheaper · one backhoe cuts all":"Même tranchée moins cher · une pelleteuse coupe tout", -"Lease a wave":"Louer une longueur d’onde", -"Subsea":"Sous-marin", -"Terrestrial":"Terrestre", -"No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.":"Aucun câble sous-marin n’atterrit à la fois à {a} et à {b}. Les câbles partant de {a} vont vers {list}. Fais escale dans l’une de ces villes.", -"The landing permit dispute in {city} blocks new subsea links for {n} more days.":"Le litige sur le permis d’atterrissement à {city} bloque les nouveaux liens sous-marins pendant encore {n} jours.", -"Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.":"Les longueurs d’onde se louent à tarif mensuel fixe. Plus c’est gros et long, plus c’est cher, et le sous-marin coûte 1,8×. Le premier mois est à payer tout de suite.", -"Includes a new POP in {city} ({price}{extra}).":"Inclut un nouveau POP à {city} ({price}{extra}).", -"government box included":"boîte gouvernementale incluse", -"free-zone license included":"licence zone franche incluse", -"local telecom licence included":"licence télécom locale incluse", -"needs {what} at both ends":"requiert {what} aux deux bouts", -"due now {price}":"à payer maintenant {price}", -"flat rate":"forfait", -"Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.":"Personne ne vend de fibre noire sur un câble sous-marin ici. La capacité sous-marine se loue en longueurs d’onde.", -"No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.":"Pas de fibre noire aux Émirats. Seuls les deux opérateurs licenciés peuvent poser de la fibre ici, et ils ne vendent que des longueurs d’onde.", -"Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.":"La fibre noire à travers la frontière chinoise n’est pas à vendre. Achète plutôt une longueur d’onde transfrontalière.", -"Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.":"La fibre noire se débloque au niveau clients 2. Il te faut la taille critique pour justifier l’achat de ton propre matériel optique.", -"A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.":"Une paire de fibres rien qu’à toi. Le verre ne coûte pas cher, le matériel si : tu achètes un système de ligne avec un amplificateur tous les {km} km, puis des optiques pour chaque canal. Ton matériel peut tomber en panne, et c’est toi qui répares.", -"The glass":"Le verre", -"Lease an IRU {price}/mo · ready in 30 days":"Louer un IRU {price}/mois · prêt en 30 jours", -"Build your own {price} · ~{n} days":"Construire la tienne {price} · ~{n} jours", -"Build your own level 3":"Construire la tienne niveau 3", -"A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.":"Une paire de fibres sur {cable}, {km} km. Elle partage le câble avec les longueurs d’onde de tout le monde, ancres comprises.", -"Your own trench: almost no rent, but permits and digging take forever, and delays happen.":"Ta propre tranchée : presque pas de loyer, mais les permis et les travaux prennent une éternité, et les retards arrivent.", -"level {n}":"niveau {n}", -"Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).":"Plus {n} amplificateur en ligne ({price} pièce, {mo}/mois de location du shelter et d’électricité).", -"Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).":"Plus {n} amplificateurs en ligne ({price} pièce, {mo}/mois de location des shelters et d’électricité).", -"Due now":"À payer maintenant", -"For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.":"Pour comparer, une longueur d’onde 1.6T louée sur ce trajet coûte {price}/mois. Les optiques viennent ensuite, depuis le panneau du lien.", -"Start construction":"Lancer les travaux", -"Sign the IRU":"Signer l’IRU", -"Remote peering at {ix} · discouraged":"Remote peering à {ix} · déconseillé", -"Your POP · needs a fabric port there":"Ton POP · il y faut un port fabric", -"You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.":"Il te faut d’abord un port fabric dans un de tes POP. Ouvre l’onglet Infra d’un POP et achète un port sur {list}.", -"no POP of yours on it yet":"aucun de tes POP dessus pour l’instant", -"Virtual circuit over an NNI fabric":"Circuit virtuel sur un fabric NNI", -"From {city}":"Depuis {city}", -"To {city}":"Vers {city}", -"No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.":"Pas de frais d’installation, actif en quelques minutes, facturé au mois. Moins cher qu’une longueur d’onde pour une petite capacité, mais ça passe par le fabric de quelqu’un d’autre, et ce fabric peut tomber en panne.", -"Settings":"Réglages", -"Animations":"Animations", -"Auto":"Auto", -"On":"Activé", -"Sound":"Son", -"Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.":"Auto suit le réglage « réduire les animations » de ton appareil. Inactif fige la carte : plus de paquets en mouvement, de pulsations ni de texte flottant.", -"no cable lands here":"aucun câble n’atterrit ici", -"from {price}/mo":"dès {price}/mois", -"Welcome back, {name}.
Your network is right where you left it: {date}.":"Re-bonjour, {name}.
Ton réseau est exactement là où tu l’as laissé : {date}.", -"Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.":"Impossible de charger ta sauvegarde.
Elle était endommagée : une copie a été conservée et tu peux repartir de zéro.", -"Series of Tubes: build the internet, one tube at a time":"Series of Tubes : construis Internet, un tuyau à la fois", -"A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.":"Un jeu de navigateur gratuit et cartoon sur le fonctionnement d’Internet. Commence comme un minuscule réseau dans une seule ville, lance le haut débit grand public, achète du transit IP à des opérateurs Tier 1 et Tier 2, fais du peering sur des points d’échange, monte des interconnexions privées et des caches CDN embarqués, et pose de la fibre terrestre, des longueurs d’onde sous-marines et ta propre fibre noire avec du DWDM et des optiques ZR. Signe des clients entreprise, hébergement, trading haute fréquence, GPU pour l’IA et hyperscalers, et garde-les contents pendant que pelleteuses, requins, fat fingers, fuites de routes, attaques DDoS et géopolitique cassent tout.", -"Cash · Bank":"Cash · Banque", -"Traffic served":"Trafic servi", -"Rank":"Rang", -"Date":"Date", -"Goals & NOC":"Objectifs & NOC", -"🐘 BREAKING: CVE-2026-31337 IN PHP TAKES DOWN HALF THE INTERNET":"🐘 FLASH INFO : LA CVE-2026-31337 DE PHP MET LA MOITIÉ D’INTERNET À TERRE", -"Every WordPress-ish site on Earth is now a crypto miner":"Tous les sites WordPress-like de la planète minent désormais de la crypto", -"":"", -"Eyeball traffic down 30%":"Trafic eyeballs en baisse de 30 %", -"Hosting customers patching at 3 a.m.":"Les clients hébergement patchent à 3 h du matin", -"Security team asks: “are we on PHP?” Everyone: “define we”":"L’équipe sécu demande : « on est sous PHP ? » Tout le monde : « définis “on” »", -"World map of your network":"Carte du monde de ton réseau", -"Network menu: save, load or start over":"Menu du réseau : sauvegarder, charger ou recommencer", -"Cash and bank":"Trésorerie et banque", -"Game speed":"Vitesse du jeu", -"Pause":"Pause", -"Half speed":"Demi-vitesse", -"Toggle sound":"Activer/couper le son", -"Want to know how it really works?":"Tu veux savoir comment ça marche vraiment ?", -"The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.":"La version réelle, par Thomas Kjær Aabo : une carte interactive et zoomable du vrai trajet de tes paquets, du Wi-Fi à la fibre sous-marine, aujourd’hui, en 2010 et en 1995. Ce jeu invente au fur et à mesure. Celle-là, elle a tout bon.", -"The real thing: follow a packet from Wi-Fi to undersea fiber.":"La version réelle : suis un paquet du Wi-Fi à la fibre sous-marine.", -"Explore →":"Explorer →", -"You built a cartoon internet. Now see how the real one works:":"Tu as construit un Internet de dessin animé. Découvre maintenant comment marche le vrai :", -"Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.":"Polarisation du hash sur ton {lab} : presque tous les flux tombent sur le même membre. Le bundle se dit up. Il est aussi plein.", -"LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.":"Timers LACP fast/slow incohérents sur ton {lab} : un membre n’arrête pas de sortir du bundle sur timeout et d’y revenir.", -"One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.":"Un membre de ton {lab} a été brassé sur le mauvais switch. LACP le garde suspendu, à juste titre.", -"Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.":"Quelqu’un a réglé min-links sur ton {lab} au nombre de membres. Un membre a flappé, donc tout le bundle est tombé.", -"Fix the LACP config":"Corriger la config LACP", -"Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.":"Microbursts sur {a}–{b}.
Tes routeurs à buffers profonds les ont absorbés. Personne n’a rien remarqué.", -"A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.":"Un connecteur sale sur {a}–{b} perd 2 % des paquets. TCP déteste ça : le débit s’effondre alors que le lien a l’air nickel.", -"Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.":"Les microbursts sur {a}–{b} débordent les buffers peu profonds des routeurs : 0,5 % de perte en pointe, et chaque visio le remarque.", -"CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.":"Erreurs CRC sur {a}–{b} : une optique limite abîme quelques trames sur mille.", -"Clean the connector":"Nettoyer le connecteur", -"Rate-limit the bursts":"Limiter les bursts", -"Swap the optic":"Changer l’optique", -"Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.":"Ton centre de scrubbing renvoie le trafic propre dans un tunnel GRE, et personne n’a clampé le MSS. Les gros paquets vers {net} disparaissent, donc les pages chargent à moitié puis s’arrêtent.", -"Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.":"Quelqu’un a filtré tout l’ICMP sur ton edge « pour la sécurité ». Le Path MTU Discovery est cassé, et les connexions vers {net} se figent juste après le handshake.", -"A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.":"Un saut PPPoE a rogné 8 octets sur ta MTU et personne n’a prévenu les serveurs. Les gros transferts vers {net} restent bloqués pour toujours ; les petits marchent très bien, ce qui rend le tout bien pire.", -"Clamp the MSS to 1360":"Clamper le MSS à 1360", -"{name} transit LAG in {city}":"LAG de transit {name} à {city}", -"PNI LAG with {name} in {city}":"LAG PNI avec {name} à {city}", -"{ix} LAG in {city}":"LAG {ix} à {city}", -"LACP trouble":"Souci LACP", -"Packet loss":"Perte de paquets", -"PMTUD black hole":"Trou noir PMTUD", -"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Parmi les accès haut débit les plus rapides de la planète, et le marché du peering le plus étrange. Sous le régime « sender pays », les trois grands FAI facturent chaque gigabit qu’on leur remet, et le transit ici est parmi les plus chers au monde.", -"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"L’opérateur historique coréen. Sender pays : chaque gigabit que tu lui remets est facturé, en plus du port.", -"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"A traîné un géant du streaming au tribunal pour savoir qui paie le trafic demandé par ses propres clients. Peering payant, au gigabit.", -"The plus is a usage fee. Paid peering, per gigabit.":"Le plus, c’est une taxe à l’usage. Peering payant, au gigabit.", -"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays : uniquement un PNI payant, {fee}/mois plus {g} par Gbps envoyé", -"Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"Glitch quitte la Corée.
Le site de streaming de jeux vidéo juge les frais réseau coréens « prohibitifs » et ferme là-bas. Son trafic à Séoul est divisé par deux, pour de bon. Les streamers locaux sont déjà passés à autre chose.", -"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"Faceplant en a eu marre des taxes à l’usage coréennes et a discrètement basculé ses utilisateurs coréens sur ses serveurs de Hong Kong. Les pages se traînent pour tout le monde à Séoul. Le régulateur prépare une amende.", -"Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.":"Faceplant fait passer la Corée par Hong Kong.
Les utilisateurs de Séoul en reçoivent un cinquième de moins pendant 20 jours, quelle que soit ta connexion.", -"Rerouted via Hong Kong":"Redirigé via Hong Kong", -"Gangnam Style Peering":"Peering Gangnam Style", -"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Séoul. Les eyeballs les plus rapides et les plus voraces de la planète, du transit à quatre fois le prix, et trois opérateurs historiques qui te facturent chaque gigabit que tu leur envoies.", -"99% reach and 200 Gbps served without going broke":"99 % de couverture et 200 Gbps servis sans faire faillite", -"Sender Pays":"Qui envoie paie", -"Paid PNIs with all three Korean incumbents.":"Des PNI payants avec les trois opérateurs historiques coréens.", -"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"Le Tier 1 qui a grandi en Sicile. Son backbone Seabone règne sur la Méditerranée et s’enfonce loin dans les Amériques, et il vit toujours à Palerme.", -"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Peere avec chaque Tier 1 via des PNI et résilie tous tes ports de transit. Plus personne ne te fait alors payer pour atteindre Internet.", -"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Ton fournisseur de longueurs d’onde a poussé une seule mise à jour malformée sur son control plane optique, et elle a inondé tous les nœuds. Les {n} longueurs d’onde louées que tu as en {reg} sont éteintes. Leur page de statut affiche « dégradé ».", -"Escalate to their CTO":"Escalader à leur CTO", -"Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"Fusion du control plane optique !
Toutes les longueurs d’onde louées en {reg} viennent de s’éteindre d’un coup. Ta propre fibre noire va très bien. Voilà pourquoi on possède sa fibre.", -"Control plane meltdown":"Fusion du control plane", -"Full screen, works offline, one tap from your home screen.":"Plein écran, fonctionne hors ligne, à un tap de ton écran d’accueil.", -"Install":"Installer", -"Game":"Jeu", -"Speed":"Vitesse", -"The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.":"Le hub du Nord, avec son propre IX et des prises d’air de clim très humides. Les câbles vers l’Irlande et le Danemark atterrissent un peu plus haut sur la côte.", -"Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.":"La capitale de l’Écosse. Les câbles de la mer du Nord vers la Norvège et les Féroé atterrissent un peu plus haut sur la côte.", -"A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.":"Une petite ville de surf en Cornouailles où atterrit une part remarquable de l’Internet transatlantique. Les falaises sont pleines de fibre.", -"Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.":"La capitale norvégienne du pétrole, désormais pleine de datacenters creusés dans la montagne, alimentés à l’hydroélectricité et refroidis par le fjord. Les câbles de la mer du Nord atterrissent ici.", -"Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby.":"De la Norvège au Royaume-Uni à travers la mer du Nord. Des paires de fibres à vendre, parce que l’argent du pétrole voulait un hobby.", -"Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse.":"De l’Irlande à la Norvège, par le long chemin qui contourne le nord de l’Écosse. Des Vikings, mais à l’envers.", -"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.":"L’Étalon des mers : de Blackpool au Danemark, au galop autour du nord de l’Écosse.", -"Scotland to Iceland via Shetland and the Faroes. More sheep than packets.":"De l’Écosse à l’Islande via les Shetland et les Féroé. Plus de moutons que de paquets.", -"New York to the cliffs of Bude. It made it home in the end.":"De New York aux falaises de Bude. Il a fini par rentrer maison.", -"Long Island to Cornwall. Follow it all the way to the wizard in the cable hut.":"De Long Island aux Cornouailles. Suis-le jusqu’au magicien dans la cabane à câbles.", -"Cornwall to Lagos down the West African coast. Glows faintly when it is working.":"Des Cornouailles à Lagos en longeant la côte ouest-africaine. Il luit faiblement quand il fonctionne.", -"Another hop across the Channel, with dark fiber for sale. There is always room for one more.":"Encore un saut au-dessus de la Manche, avec de la fibre noire à vendre. Il y a toujours de la place pour un de plus.", -"Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football.":"De Stavanger aux Pays-Bas en passant par toutes les plateformes pétrolières de la mer du Nord. Les foreurs regardent beaucoup de foot en streaming.", -"The UK’s incumbent. Buzzes politely, stings on price.":"L’opérateur historique britannique. Bourdonne poliment, pique sur les prix.", -"Football, films and a router that looks like a spaceship.":"Du foot, des films et un routeur qui ressemble à un vaisseau spatial.", -"Cable broadband for half of Britain. Fast on a good day.":"Le haut débit par câble pour la moitié de la Grande-Bretagne. Rapide les bons jours.", -"Norway’s incumbent. Neither yes nor no, until you send enough traffic.":"L’opérateur historique norvégien. Ni oui ni non, tant que tu n’envoies pas assez de trafic.", -"Decommission":"Démanteler", -"Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.":"Ferme ce POP : ses liens, ports et caches partent avec, et chaque client qui en dépend est lâché, avec une pénalité de résiliation anticipée.", -"Decommission {city}…":"Démanteler {city}…", -"Decommission several POPs…":"Démanteler plusieurs POP…", -"home":"maison", -"{n} link":"{n} lien", -"{n} links":"{n} liens", -"{n} customer":"{n} client", -"{n} customers":"{n} clients", -"Decommission POPs":"Démanteler des POP", -"Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.":"Choisis les POP à fermer. Tout ce qu’ils contiennent part : routeurs, ports, caches, ports d’IX et chaque lien qui les touche.", -"Links removed":"Liens supprimés", -"Eyeballs you stop serving":"Eyeballs que tu ne sers plus", -"{n} customer let go":"{n} client lâché", -"{n} customers let go":"{n} clients lâchés", -"Keep at least one POP.":"Garde au moins un POP.", -"Decommission {n} POP · pay {fee}":"Démanteler {n} POP · payer {fee}", -"Decommission {n} POPs · pay {fee}":"Démanteler {n} POP · payer {fee}", -"Pick a POP":"Choisis un POP", -"Keep them":"Les garder", -"{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP démantelé.
{fee} de pénalités de résiliation anticipée versées à {m} clients.", -"{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP démantelés.
{fee} de pénalités de résiliation anticipée versées à {m} clients.", -"Other links between these cities:":"Autres liens entre ces villes :", -"up":"actifs", -"Customer on a fabric (transit over an NNI)":"Client sur un fabric (transit via un NNI)", -"Fabric circuit to one of your POPs":"Circuit fabric vers un de tes POP", -"Comes in over {fab}: needs your {fab} port in {city} with room for {bw}":"Arrive par {fab} : il faut ton port {fab} à {city} avec de la place pour {bw}", -"{name} via {fab}":"{name} via {fab}", -"Connections":"Connexions", -"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.":"Tous les réseaux de la carte. La part de trafic, c’est la portion du trafic de tes utilisateurs qui va vers eux. Touche une connexion pour sauter à son POP.", -"All connections {n}":"Toutes les connexions {n}", -"Cache":"Cache", -"95th percentile {g}":"95e centile {g}", -"paid peering":"peering payant", -"your exchange":"ton IX", -"{n} peering session":"{n} session de peering", -"{n} peering sessions":"{n} sessions de peering", -"remote":"distant", -"virtual circuits and fabric customers":"circuits virtuels et clients fabric", -"Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.":"Chaque port qui te relie à un autre réseau, et où il se trouve. Filtre par type, ville ou réseau, et touche Ouvrir pour y aller.", -"No connections yet. Buy transit or join an exchange from a POP.":"Pas encore de connexion. Achète du transit ou rejoins un IX depuis un POP.", -"All ({n})":"Toutes ({n})", -"City":"Ville", -"All cities":"Toutes les villes", -"All networks":"Tous les réseaux", -"Clear filters":"Effacer les filtres", -"Where":"Où", -"With":"Avec", -"Port":"Port", -"In use":"Utilisé", -"Per month":"Par mois", -"DOWN":"HS", -"backup":"secours", -"{n} connection":"{n} connexion", -"{n} connections":"{n} connexions", -"+{n} more":"+{n} de plus", -"Installed!
Open Series of Tubes from your home screen. Your saves come along.":"Installé !
Ouvre Series of Tubes depuis ton écran d’accueil. Tes sauvegardes suivent.", -"Best played as an app":"Mieux en appli", -"Install it before you start: a game begun in Safari stays in Safari.":"Installe-le avant de commencer : une partie commencée dans Safari reste dans Safari.", -"Tap Share {icon} in the browser toolbar.":"Touche Partager {icon} dans la barre du navigateur.", -"Tap Add to Home Screen. You may need to scroll down, or tap More first.":"Touche Sur l’écran d’accueil. Il faudra peut-être faire défiler vers le bas, ou toucher d’abord Plus.", -"Open Series of Tubes from your home screen and start your network there.":"Ouvre Series of Tubes depuis ton écran d’accueil et lance ton réseau là-bas.", -"Open your browser menu (⋮).":"Ouvre le menu du navigateur (⋮).", -"Tap Install app or Add to Home screen.":"Touche Installer l’application ou Ajouter à l’écran d’accueil.", -"Open Series of Tubes from your home screen.":"Ouvre Series of Tubes depuis ton écran d’accueil.", -"Before you start":"Avant de commencer", -"Play it as an app":"Joue en mode appli", -"Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:":"Series of Tubes est fait pour ton écran d’accueil. Ça prend dix secondes, c’est gratuit, et le jeu y est bien meilleur :", -"Full screen.":"Plein écran.", -"No browser bars, a lot more map.":"Pas de barres de navigateur, beaucoup plus de carte.", -"Works offline.":"Fonctionne hors ligne.", -"Build your backbone on the train or on a plane.":"Construis ton backbone dans le train ou dans l’avion.", -"Your save stays safe.":"Ta sauvegarde reste à l’abri.", -"Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.":"Safari peut effacer les données des sites que tu n’as pas ouverts depuis une semaine. Une appli sur l’écran d’accueil garde les siennes.", -"Install first.":"Installe d’abord.", -"On iPhone, a game started in Safari does not carry over to the home-screen app.":"Sur iPhone, une partie commencée dans Safari ne suit pas dans l’appli de l’écran d’accueil.", -"One tap away.":"À un tap.", -"It opens straight into your network, like any other app.":"Elle s’ouvre directement sur ton réseau, comme n’importe quelle appli.", -"Install the app":"Installer l’appli", -"Play in the browser anyway":"Jouer quand même dans le navigateur", -"Game paused.":"Jeu en pause.", -"{name} is getting unhappy.
Happiness {p}% in {city}.":"{name} commence à râler.
Satisfaction {p} % à {city}.", -"Your customers":"Tes clients", -"happiness {p}%":"satisfaction {p} %", -"{n} unhappy customer, {price}/mo at risk":"{n} client mécontent, {price}/mois en jeu", -"{n} unhappy customers, {price}/mo at risk":"{n} clients mécontents, {price}/mois en jeu", -"See who":"Voir qui", -"All customers":"Tous les clients", -"their fiber is down":"leur fibre est coupée", -"getting only {p} of the bandwidth they pay for":"ne reçoivent que {p} de la bande passante qu’ils paient", -"you cannot reach the whole internet ({p})":"tu n’atteins pas tout Internet ({p})", -"No customers yet. Offers show up in the Deals tab.":"Pas encore de clients. Les offres apparaissent dans l’onglet Offres.", -"Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.":"Tous ceux qui te paient, les plus contents en dernier. Sous 60 % ils commencent à râler, sous 30 % ils sont furieux, et à 0 % ils résilient.", -"Happiness":"Satisfaction", -"weighted by what they pay":"pondérée par ce qu’ils paient", -"Unhappy":"Mécontents", -"{n} furious":"{n} furieux", -"At risk":"En jeu", -"from unhappy customers":"venant des clients mécontents", -"Unhappy ({n})":"Mécontents ({n})", -"Nobody is unhappy. Enjoy it while it lasts.":"Personne n’est mécontent. Profites-en tant que ça dure.", -"No customers here.":"Aucun client ici.", -"Name":"Nom", -"Resume":"Reprendre", -"Saved on this device.":"Sauvegardées sur cet appareil.", -"Customers and alerts":"Clients et alertes", -"Pause when a customer is furious":"Pause quand un client est furieux", -"The game stops so you can fix their service before they cancel. Most useful at high speed.":"Le jeu s’arrête pour que tu répares leur service avant qu’ils résilient. Surtout utile à grande vitesse.", -"Warn when a customer gets unhappy":"Prévenir quand un client devient mécontent", -"An early heads-up below 60% happiness, long before they are furious.":"Une alerte précoce sous 60 % de satisfaction, bien avant qu’il soit furieux.", -"Pause on outages that hurt":"Pause sur les pannes qui font mal", -"Stops the game when a failure costs you real traffic, not when it reroutes by itself.":"Arrête le jeu quand une panne te coûte du vrai trafic, pas quand elle se reroute toute seule.", -"Display and sound":"Affichage et son", -"Viewport info":"Infos viewport", -"For reporting layout bugs: shows what your screen tells the game.":"Pour signaler des bugs de mise en page : montre ce que ton écran dit au jeu.", -"Done":"OK", -"Lv {n}":"Niv. {n}", -"Done!":"Fini !", -"A path from Marseille to Singapore":"Un chemin de Marseille à Singapour", -"Carnaval delivered in full":"Carnaval servi en entier", -"POP in {city}":"POP à {city}", -"Days in a row with 99.5% served":"Jours d’affilée à 99,5 % servi", -"{n} of {m}":"{n} sur {m}", -"Your score: peak traffic":"Ton score : pic de trafic", -"Done in {d} days!":"Fini en {d} jours !", -"Scenario":"Scénario", -"Time":"Temps", -"Continents":"Continents", -"Customer level {lv} of {max}":"Niveau clients {lv} sur {max}", -"Next: {name} unlocks {what}":"Prochain : {name} débloque {what}", -"Overview":"Aperçu", -"Links & routers":"Liens et routeurs", -"you buy transit again":"tu rachètes du transit", -"no PNI with {list}":"pas de PNI avec {list}", -"your reach is {p}, not 100%":"ta couverture est de {p}, pas 100 %", -"Courtesy route to new networks":"Route de courtoisie vers les nouveaux réseaux", -"You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.":"Tu n’es plus Tier 1.
Parce que {why}. Ton badge Tier 1 reste ; reconquiers le statut pour l’afficher à nouveau.", -"The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.":"La route de courtoisie a pris fin.
Les nouveaux réseaux auxquels tu n’es pas connecté ne sont plus joignables que par ton propre peering et ton transit.", -"{optic} to spares":"{optic} en rechange", -"Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.":"{optic} de rechange vendue sur eBuy.
{price} récupérés, soit {p} de son prix neuf.", -"Courtesy route":"Route de courtoisie", -"{n} networks · {d} days left":"{n} réseaux · {d} j restants", -"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.":"Atteint gratuitement les réseaux de la dernière mise à jour vers lesquels tu n’as aucun autre chemin. Connecte-toi à eux avant la fin.", -"{n} spare on the shelf":"{n} en rechange sur l’étagère", -"{n} spares on the shelf":"{n} en rechange sur l’étagère", -"spare + {price}":"rechange + {price}", -"spare":"rechange", -"Unplugged optics go on the spares shelf and are used first next time.":"Les optiques débranchées vont sur l’étagère de rechange et sont utilisées en premier la fois suivante.", -"Spares shelf":"Étagère de rechange", -"Sell one {price}":"En vendre une {price}", -"New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.":"Nouveaux réseaux sur la carte.
Cette mise à jour a ajouté des réseaux auxquels tu n’es pas encore connecté. Pendant {n} jours, une route de courtoisie gratuite les atteint, pour que ta couverture ne chute pas du jour au lendemain. Peere avec eux, ou achète du transit, avant la fin.", -"Flood Season":"Saison des crues", -"Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.":"Amsterdam, capitale européenne de l’hébergement, en pleine saison des botnets. Chaque grille-pain connecté, babyphone et frigo jamais patché de la planète a choisi son camp, et ce n’est pas le tien. Une vague tous les quelques jours, de plus en plus souvent dans les térabits, pendant que tout le reste continue de casser aussi. Tu commences avec du matériel plus gros déjà débloqué, et tu en auras besoin.", -"Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better":"Encaisse 20 vagues, dont 5 de plus de 1 Tbps, en gardant la ville attaquée à 97 % ou mieux", -"Attacker: {who}.":"Attaquant : {who}.", -"Flood held: {g}.
{who} gave up and went back to mining crypto.":"Vague encaissée : {g}.
{who} a abandonné et est retourné miner de la crypto.", -"That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.":"Celle-là est passée : {g}.
{city} est tombée à {p}. Quelque part, {who} est très fier de lui.", -"a botnet of 40,000 smart toasters":"un botnet de 40 000 grille-pain connectés", -"every unpatched baby monitor in Europe":"tous les babyphones non patchés d’Europe", -"a gaming clan that lost one match":"un clan de gamers qui a perdu un match", -"a fridge that achieved sentience and chose violence":"un frigo devenu conscient qui a choisi la violence", -"a crypto bro shorting your stock":"un crypto-bro qui shorte ton action", -"a teenager with a stolen credit card and a grudge":"un ado avec une carte bancaire volée et une rancune", -"a rival ISP’s “stress test”":"le « stress test » d’un FAI concurrent", -"ten thousand smart light bulbs, blinking in unison":"dix mille ampoules connectées qui clignotent à l’unisson", -"a printer. Just one printer. Nobody knows how":"une imprimante. Une seule imprimante. Personne ne sait comment", -"a botnet run from a cloud you also host":"un botnet qui tourne dans un cloud que tu héberges aussi", -"somebody who did not like your network name":"quelqu’un qui n’aimait pas le nom de ton réseau", -"the internet-connected kettles of a whole country":"les bouilloires connectées d’un pays entier", -"Floods held":"Vagues encaissées", -"Terabit floods held":"Vagues térabit encaissées", -"Floods that got through":"Vagues passées", -"Under attack now":"Sous attaque", -"Fill this pair first.
Light all {max} channels before you light another fiber pair.":"Remplis d’abord cette paire.
Allume les {max} canaux avant d’allumer une autre paire de fibres.", -"Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.":"Paire de fibres {n} allumée : {a}–{b}.
Encore un ROADMaster 9000 et une nouvelle chaîne d’amplificateurs. De la place pour {m} canaux de plus.", -"{n} fiber pairs lit, the trench is full":"{n} paires de fibres allumées, la tranchée est pleine", -"Light fiber pair {n} {price} + {mo}/mo":"Allumer la paire {n} {price} + {mo}/mois", -"The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.":"Les banques ont arrêté d’appeler.
Tu as plus d’argent que la plupart d’entre elles. Les offres de prêt reviendront si ta trésorerie passe un jour sous {cash}.", -"The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.":"Le navire {ship} prend la mer !
{name}, ton propre câble de {km} km de {a} à {b}. Prêt dans environ {n} jours, si les baleines coopèrent.", -"Light fiber pair {n} {price}":"Allumer la paire {n} {price}", -"your own subsea cable {name}":"ton propre câble sous-marin {name}", -"No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.":"Pas de site de régénération au milieu de l’océan : sur les câbles longs, les optiques tournent en mode long-haul.", -"A whale has parked on the route and will not move.":"Une baleine s’est garée sur le tracé et refuse de bouger.", -"The cable ship’s coffee machine broke. Nobody works without coffee.":"La machine à café du câblier est en panne. Personne ne bosse sans café.", -"A fishing fleet is trawling exactly where you need to lay.":"Une flotte de chalutiers drague pile là où tu dois poser.", -"The seabed survey found an old sea mine. A small, very careful detour.":"L’étude des fonds marins a trouvé une vieille mine. Un petit détour, très prudent.", -"Storm season. The ship is sheltering in port, playing cards.":"Saison des tempêtes. Le navire s’abrite au port et joue aux cartes.", -"The crew fished out somebody else’s cable by mistake and has to put it back.":"L’équipage a repêché le câble de quelqu’un d’autre par erreur et doit le remettre.", -"This route is on land. Build your own fiber instead.":"Ce trajet est terrestre. Construis plutôt ta propre fibre.", -"Laying your own subsea cable is a Tier 1 thing. Go transit-free first.":"Poser ton propre câble sous-marin, c’est un truc de Tier 1. Libère-toi d’abord du transit.", -"{city} has no cable landing station.":"{city} n’a pas de station d’atterrissement.", -"Nobody gives a foreign network a landing licence in mainland China.":"Personne ne donne de licence d’atterrissement à un réseau étranger en Chine continentale.", -"Lay your own subsea cable…":"Pose ton propre câble sous-marin…", -"Your own subsea cable Tier 1 only":"Ton propre câble sous-marin Tier 1 uniquement", -"Back":"Retour", -"Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.":"Ton câble sous-marin rien qu’à toi. Un navire le pose sur le fond marin, tu possèdes chacune de ses paires de fibres, et les longueurs d’onde de personne d’autre ne partagent ton verre. Ça coûte une somme franchement indécente et ça prend longtemps.", -"{km} km of seabed":"{km} km de fond marin", -"Fiber pairs":"Paires de fibres", -"{n} in the cable, the first one lit":"{n} dans le câble, la première allumée", -"Landing stations":"Stations d’atterrissement", -"{a} and {b}":"{a} et {b}", -"Build time":"Durée des travaux", -"about {n} days":"environ {n} jours", -"Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"Les coupures arrivent quand même, ancres et requins compris, mais c’est toi qui appelles le navire câblier.", -"Lay the cable {price}":"Poser le câble {price}", -"…and {n} more change":"…et {n} autre changement", -"…and {n} more changes":"…et {n} autres changements", -"Read the full notes on GitHub":"Lire les notes complètes sur GitHub", -"No payments at all! Until the very end. Then all of them, at once.":"Aucune mensualité ! Jusqu’à la toute fin. Ensuite, toutes d’un coup.", -"Cheap while the sun shines. Every open incident adds 2% to your rate.":"Pas cher tant qu’il fait beau. Chaque incident ouvert ajoute 2 % à ton taux.", -"You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.":"Tu rembourses avec 30 % de ta facture de transit. Deviens transit-free et tu arrêtes de payer. Jusqu’à la fin.", -"Your rate is set by the stars every month. Mercury is in retrograde a lot.":"Ton taux est fixé par les astres chaque mois. Mercure est souvent rétrograde.", -"The cheapest money in town. There is a catch, and it has extra cheese.":"L’argent le moins cher de la ville. Il y a un piège, et il est en supplément fromage.", -"Always run an odd number of POPs. Our numerologist insists.":"Garde toujours un nombre impair de POP. Notre numérologue insiste.", -"Never build in Bude. The loan officer had a bad surfing holiday there.":"Ne construis jamais à Bude. Le chargé de prêts y a passé de mauvaises vacances de surf.", -"No diesel generators anywhere. Our sustainability team is watching.":"Aucun groupe électrogène diesel, nulle part. Notre équipe RSE te surveille.", -"No new links on a Friday. The stars do not allow it.":"Aucun nouveau lien le vendredi. Les astres ne le permettent pas.", -"No Goggle cache boxes. Our chairman lost an argument with a search engine.":"Aucun cache Goggle. Notre président a perdu un débat contre un moteur de recherche.", -"Reach 99% of the internet at all times. We looked up what a network is for.":"Atteins 99 % d’Internet en permanence. On a cherché à quoi sert un réseau.", -"Stay Tier 3. Number go up, rank stay down.":"Reste Tier 3. Chiffre monter, rang rester en bas.", -"Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.":"Embauche le neveu de notre PDG. Il lui faut {price}/mois et une place de parking.", -"Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.":"Notre président a besoin d’un yacht pour l’été. Tu n’en as pas, alors tu en loues un : {price}/mois.", -"Pizza for the whole NOC after every incident: {price} each.":"Pizza pour tout le NOC après chaque incident : {price} à chaque fois.", -"Mercury":"Mercure", -"Saturn":"Saturne", -"Venus":"Vénus", -"Your rising sign":"Ton ascendant", -"The moon":"La lune", -"Pluto, which is not even a planet":"Pluton, qui n’est même pas une planète", -"{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.":"{bank} : le ballon a éclaté.
Les {price} restants étaient dus aujourd’hui, d’un seul coup. Ils ont quitté ton compte.", -"{bank}: {sign} is in retrograde.
Your rate is now {apr}%.":"{bank} : {sign} est rétrograde.
Ton taux passe à {apr} %.", -"You pay {pct} of your transit bill until {price} is repaid.":"Tu paies {pct} de ta facture de transit jusqu’à ce que {price} soit remboursé.", -"Nothing to pay for {n} months. Then everything.":"Rien à payer pendant {n} mois. Ensuite, tout.", -"Plus {pct} of your revenue until it is repaid.":"Plus {pct} de ton chiffre d’affaires jusqu’au remboursement.", -"plus {pct} of revenue":"plus {pct} du chiffre d’affaires", -"{price}/mo in extras":"{price}/mois d’extras", -"{pct} of your transit bill · {n} months left · the rest is due at the end":"{pct} de ta facture de transit · {n} mois restants · le reste est dû à la fin", -"Nothing to pay until the end · {n} months left · growing at {apr}% a year":"Rien à payer avant la fin · {n} mois restants · augmente de {apr} % par an", +"+ box":"+ boîtier", "+2% per open incident":"+2 % par incident ouvert", -"rate set by the stars each month":"taux fixé par les astres chaque mois", -"plus {pct} of revenue until repaid":"plus {pct} du chiffre d’affaires jusqu’au remboursement", -"{pct} of your transit bill":"{pct} de ta facture de transit", -"{price} to repay":"{price} à rembourser", -"the rest is due at the end":"le reste est dû à la fin", -"Nothing to pay until the end":"Rien à payer avant la fin", -"then about {price} at once":"puis environ {price} d’un coup", -"handed off as 4×3.2T":"livrée en 4×3.2T", -"Tomahack 5 merchant silicon":"puce merchant silicon Tomahack 5", -"Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.":"Soixante-quatre ports 1.6T sous logiciel open source pour le prix d’une seule carte de ligne. Toujours personne à appeler à 3 h du matin, mais maintenant les plantages sont des plantages à 1.6T.", -"Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.":"Châssis pas cher, abonnement éternel. Chaque port exige une licence, chaque licence exige un serveur de licences, et le serveur de licences exige une licence.", -"PacketOinker³ (a whole litter)":"PacketOinker³ (toute une portée)", -"3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.":"Ports 3.2T, et longueurs d’onde 12.8T livrées en 4×3.2T. Consomme autant qu’une petite ville et arrive avec son propre poste électrique. Il faut un plus gros chariot élévateur.", -"Jerry-cho⁵ deep-buffer silicon":"puce deep-buffer Jerry-cho⁵", -"A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.":"Cent quarante-quatre ports 3.2T et des buffers assez profonds pour y cacher une flotte entière. Démarre toujours avant ton flat white. La barbe a maintenant sa propre barbe.", -"Fin-P6 network processor":"processeur réseau Fin-P6", -"Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.":"Bâti comme une porte de sauna : lourd, brûlant et quasi incassable. La config est désormais si hiérarchique qu’elle a une famille royale.", -"several hundred ARM cores and a prayer":"quelques centaines de cœurs ARM et une prière", -"A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.":"Un routeur 3.2T pour le prix d’une voiture d’occasion. L’interface web a neuf cents onglets, et l’un d’eux est celui qu’il te faut.", -"forty-two of them":"quarante-deux", -"Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.":"Deux cent cinquante-six ports 3.2T et assez de forwarding pour une petite galaxie. Démarre en 42 minutes. Plus personne ne se souvient de la question.", -"Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.":"Allume aussi la bande L : deux fois plus de spectre, jusqu’à 128 canaux sur une paire de fibres, et des amplificateurs deux fois plus longs à expliquer.", -"Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.":"Deux fois plus de WaveMagic. Plein débit seulement sur les portées courtes, et un ventilateur qu’on entend depuis le parking.", -"Esports world final":"Finale mondiale d’esport", -"Sovereign cloud region":"Région de cloud souverain", -"Cloud gaming platform":"Plateforme de cloud gaming", -"Metaverse platform":"Plateforme de métavers", -"AGI lab (allegedly)":"Labo d’AGI (soi-disant)", -"Mars mission ground station":"Station sol de mission martienne", -"Your network diagram is a photo of a whiteboard.":"Ton schéma réseau est une photo de tableau blanc.", -"You now have a change freeze. Nobody remembers who declared it.":"Tu as maintenant un gel des changements. Personne ne se souvient de qui l’a décrété.", -"It's not DNS. There's no way it's DNS. It was DNS.":"Ce n’est pas le DNS. Impossible que ce soit le DNS. C’était le DNS.", -"Your MTU is 9000 on every link except the one that matters.":"Ton MTU est à 9000 sur tous les liens sauf celui qui compte.", -"Continental carrier":"Opérateur continental", -"Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.":"Ton NOC a un canal de chat nommé #c-est-toujours-la-fibre, et c’est toujours la fibre.", -"peak 6 Tbps, 15 POPs, 4 continents":"pic de 6 Tbps, 15 POP, 4 continents", -"Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.":"Finales mondiales d’esport, et l’ère du tout-4K : les eyeballs de chaque ville veulent 15 % de plus. Matos : routeurs Sonic the Whitebox 64.", -"Transcontinental":"Transcontinental", -"You joined the outages mailing list. Today you are the outage.":"Tu t’es inscrit à la liste de diffusion outages. Aujourd’hui, la panne, c’est toi.", -"peak 9 Tbps and 20 POPs":"pic de 9 Tbps et 20 POP", -"Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.":"Régions de cloud souverain, et un PNI gratuit avec Doitsche Telekomm. Matos : ROADMaster 9000 C+L (128 canaux), routeurs Disco 8K Ultra.", -"Global backbone":"Backbone mondial", -"Your ASN now shows up in other people's traceroutes, and in their tickets.":"Ton ASN apparaît maintenant dans les traceroutes des autres, et dans leurs tickets.", -"peak 12 Tbps, 25 POPs, 5 continents":"pic de 12 Tbps, 25 POP, 5 continents", -"A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.":"Un PNI gratuit avec Voda-Phony. Matos : routeurs Absolute Unit 3.2T, ports 3.2T et longueurs d’onde 12.8T.", -"Packet empire":"Empire du paquet", -"Your maintenance window is 2 a.m. in every time zone at once.":"Ta fenêtre de maintenance est à 2 h du matin dans tous les fuseaux horaires à la fois.", -"peak 16 Tbps and 32 POPs":"pic de 16 Tbps et 32 POP", -"Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.":"Plateformes de cloud gaming, et l’ère du cloud gaming : les eyeballs veulent encore 15 % de plus. Un PNI gratuit avec Tel-Mess. Matos : transpondeurs Sienna WaveMagic 3.2T.", -"Six-continent carrier":"Opérateur des six continents", -"Somewhere, on every continent, a backhoe is thinking about you.":"Quelque part, sur chaque continent, une pelleteuse pense à toi.", -"peak 21 Tbps, 40 POPs, 6 continents":"pic de 21 Tbps, 40 POP, 6 continents", -"Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.":"Plateformes de métavers (ça a fini par décoller), et un PNI gratuit avec Etis-a-lot. Matos : routeurs Arrrhipster 7800R5, fabrics de 102.4T pour ton propre IX.", -"Backbone of backbones":"Backbone des backbones", -"Your routing table needs its own routing table.":"Ta table de routage a besoin de sa propre table de routage.", -"peak 26 Tbps and 50 POPs":"pic de 26 Tbps et 50 POP", -"The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.":"L’ère de la VR : les eyeballs veulent 20 % de plus. Un PNI gratuit avec China Moble. Matos : routeurs Knockia 7950 XRS, scrubbing de 100T.", -"Internet weather system":"Météo d’Internet", -"When your BGP sneezes, a small country catches a cold.":"Quand ton BGP éternue, un petit pays s’enrhume.", -"peak 33 Tbps and 60 POPs":"pic de 33 Tbps et 60 POP", -"AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.":"Des labos d’AGI (soi-disant) qui veulent des WAN IA de 12,8 à 25,6 Tbps, et des PNI gratuits avec Du-opoly et Ooh-redoo. Matos : routeurs Mikrowtik CCR 3.2T.", -"Too big to route":"Trop gros pour être routé", -"Your last fat-fingered route leak has its own Wikipedia page.":"Ta dernière fuite de routes, causée par une faute de frappe, a sa propre page Wikipédia.", -"peak 40 Tbps and 70 POPs":"pic de 40 Tbps et 70 POP", -"The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.":"L’ère des agents IA : les eyeballs veulent 25 % de plus, parce que des bots surfent désormais à la place des gens et ne dorment jamais. Matos : huit paires de fibres dans tes propres tranchées terrestres.", -"The Internet":"Internet", -"People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?":"Les gens t’appellent pour savoir si Internet est en panne. Internet, c’est toi. T’as essayé de t’éteindre et de te rallumer ?", -"peak 50 Tbps and 80 POPs":"pic de 50 Tbps et 80 POP", -"Mars mission ground stations. Gear: The Router at the End of the Universe.":"Stations sol de missions martiennes. Matos : The Router at the End of the Universe.", -"Peers with you for free now, but only over a PNI":"Fait du peering gratuit avec toi, mais seulement via un PNI", -"Is This the Internet?":"C’est ça, Internet ?", -"Reach customer level 13.":"Atteins le niveau client 13.", -"{sys} level {n}":"{sys} niveau {n}", -"Upgrade to {sys} {price}":"Passer à {sys} {price}", -"Peers with you for free over a PNI. You got too big to charge.":"Fait du peering gratuit avec toi via un PNI. Tu es devenu trop gros pour qu’on te facture.", -"Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.":"Peering payant uniquement : un PNI coûte {price}/mois. Gratuit à partir du niveau client {n}.", -"{km} km of cable carries at most {g} per carrier.":"{km} km de câble transportent au plus {g} par porteuse.", -"No {wave} waves on this cable.
{why}":"Pas de longueur d’onde {wave} sur ce câble.
{why}", -"too far for this cable":"trop loin pour ce câble", -"Your wave was sold before the cable owner re-engineered it, so it keeps running.":"Ta longueur d’onde a été vendue avant que le propriétaire du câble ne le réingénie, donc elle continue de tourner.", -"A leased {wave} wave on this route costs {price}/mo.":"Une longueur d’onde {wave} louée sur ce parcours coûte {price}/mois.", -"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Remplaces-en 16 Tbps et le câble est rentabilisé en environ {n} mois.", -"{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"{km} km, c’est plus long que la portée de n’importe quelle optique à plein débit. Les transpondeurs tourneront en mode longue distance (1.2T, 800G ou 400G par canal), ou ajoute des sites de régénération en route pour retrouver le plein débit.", -"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"Le hallway track a migré vers un bar du port, où la femme derrière le comptoir a continué à servir de l’aquavit bien après minuit sans demander à personne son AS path. De retour au bar de l’hôtel, quelqu’un a dit « allez, un dernier verre ». Tes sessions BGP ont tenu toute la nuit. Toi aussi.", -"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout local : transit ou port IX dans leur propre ville, ou PNI local si tu es Tier 1", -"Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.":"Personne ne te laisse creuser sur ce parcours. Frontières et licences font obstacle, alors continue de louer.", -"Digging your own fiber unlocks at customer level 3.":"Creuser ta propre fibre se débloque au niveau client 3.", -"No optic you can buy reaches {km} km yet.":"Aucune optique disponible n’atteint encore {km} km.", -"{cap} fabric circuit":"circuit fabric {cap}", -"{cap} on a dark fiber IRU":"{cap} sur un IRU de fibre noire", -"{cap} wave":"longueur d’onde {cap}", -"Leased lines":"Lignes louées", -"Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.":"Chaque longueur d’onde, circuit fabric et IRU de fibre noire que tu loues entre deux de tes POP, à côté de ce que coûterait une fibre noire louée ou ta propre fibre. Les estimations incluent le système de ligne, les amplificateurs et assez d’optiques pour la capacité actuelle. Construis d’abord, déplace le trafic, puis résilie la location.", -"You pay for leases":"Tes locations te coûtent", -"land":"terrestre", -"Your own cable: {up} up front, {mo}/mo, about {n} days to build.":"Ton propre câble : {up} d’entrée, {mo}/mois, environ {n} jours de travaux.", -"Your own fiber: {up} up front, {mo}/mo, about {n} days to build.":"Ta propre fibre : {up} d’entrée, {mo}/mois, environ {n} jours de travaux.", -"Saves {price}/mo, pays for itself in about {n} months.":"Économise {price}/mois, rentabilisé en environ {n} mois.", -"Costs more than leasing at this size.":"Plus cher que la location à cette taille.", -"Open your fiber":"Voir ta fibre", -"Plan a cable":"Planifier un câble", -"Plan your own fiber":"Planifier ta fibre", -"Open lease":"Voir la location", -"You do not lease any lines between your POPs.":"Tu ne loues aucune ligne entre tes POP.", -"Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.":"Fibre noire louée : {up} d’entrée, {mo}/mois, prête en environ {n} jours.", -"Plan dark fiber":"Planifier la fibre noire", -"Open your dark fiber":"Voir ta fibre noire", -"− box":"− cache", -"You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.":"Tu as déjà ta propre fibre ici. Allume {n} canaux de plus pour {up}, puis résilie la location pour économiser {price}/mois.", -"You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.":"Tu loues déjà de la fibre noire ici. Allume {n} canaux de plus pour {up}, puis résilie les longueurs d’onde pour économiser {price}/mois.", -"Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.":"Ta fibre ici a de la place pour {free} canaux de plus, et transférer ces locations en demande {n}. Allume d’abord une autre paire de fibres ou mets à niveau le système de ligne.", -"No optic you can buy works on your fiber here yet.":"Aucune optique disponible ne fonctionne encore sur ta fibre ici.", -"Diverse route {n}":"Parcours diversifié {n}", -"Main route":"Parcours principal", -"New diverse route +40% · survives cuts alone":"Nouveau parcours diversifié +40 % · survit seul aux coupures", -"Waves on the same route share its fate: one backhoe cuts them all.":"Les longueurs d’onde d’un même parcours partagent son sort : une pelleteuse les coupe toutes.", -"you cannot reach {list}":"tu n’atteins pas {list}", -"and {n} more":"et {n} autres", -"Not Tier 1 right now: {why}.":"Pas Tier 1 pour l’instant : {why}.", -"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"Le centre géographique des États-Unis. Les datacenters sont installés dans d’anciennes mines de calcaire souterraines : température stable, pas de tornades, et quelqu’un n’arrête pas de retrouver les souliers de Dorothy.", -"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"La porte des Prairies entre Vancouver et le reste du Canada. Un chinook fait fondre la neige en un après-midi, puis il reneige.", -"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"La porte du Canada sur le Pacifique. Il pleut tellement que le refroidissement gratuit est livré avec le lavage gratuit.", -"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"La capitale du Canada, autrefois appelée Bytown, ce qui lui va bien. Le réseau électrique lâche quand il y a du vent, du verglas ou qu’on est mardi : prévois un groupe électrogène.", -"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"L’opérateur historique de l’Ouest canadien. Dis-nous ce qu’il te faut, et on te dira le prix.", -"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"Le géant canadien du câble, tenu par du chatterton. De temps en temps, tout tombe d’un coup, ce qui est au moins cohérent.", -"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Un castor a rongé ta longueur d’onde {a}–{b}. Il s’est servi de la fibre pour finir un barrage.", -"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"Ta fibre {a}–{b} est coupée. L’équipe de réparation a trouvé des traces de dents, une hutte et un castor très fier.", -"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"Le gel a fissuré le fourreau sur {a}–{b}, et un castor a fait le reste.", -"Dam It":"Sacré castor !", -"Have your fiber chewed through by a beaver.":"Fais ronger ta fibre par un castor.", -"Boxes: {a} in A · {b} in B":"Caches : {a} en A · {b} en B", -"Move one to B":"En déplacer un vers B", -"Move one to A":"En déplacer un vers A", -"Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.":"Pile entre Londres, Amsterdam, Paris et Francfort, et pourtant plus chère que les quatre. Deux réseaux se partagent tous les salons belges, et personne ne change si tu ne fais pas de pub.", -"Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.":"Dans les terres derrière Ostende, là où les câbles venus d’Angleterre touchent terre. La mer du Nord est peu profonde, encombrée et pleine de chalutiers.", -"Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.":"Les datacenters du Luxembourg ne sont pas à Luxembourg-ville. Ils sont ici, Tier IV, et refroidis par une centrale qui brûle des déchets de bois.", -"A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable.":"Un petit câble tout doux de Broadstairs à Ostende, puis dans les terres jusqu’à Oostkamp. À ne pas confondre avec un autre câble parfumé aux agrumes.", -"Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.":"La moitié du duopole flamand, sur coax. Garde un minuscule port à Frites-IX et se cache derrière sa maison mère internationale : prévois un PNI.", -"The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.":"L’autre moitié du duopole, sur cuivre et fibre. Strictement national : le monde l’atteint via sa branche de gros.", -"Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.":"La branche de gros de Proxyminus. Présente sur presque tous les IX de la planète, et à la belge.", -"Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.":"5G privée et fibre pro depuis Oostkamp. Son trafic arrive par rafales industrielles soudaines.", -"A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.":"Une grève forestière a stoppé les livraisons de déchets de bois à la centrale qui refroidit {dc}. Pas de vapeur, pas de groupes froids : tes routeurs de {city} tournent à mi-capacité.", -"A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.":"Un chalutier au large d’Ostende a traîné son chalut en plein sur ton câble {a}–{b}. La mer du Nord fait une trentaine de mètres de fond et grouille de bateaux.", -"A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.":"Un navire de maintenance d’un parc éolien a jeté l’ancre sur ton câble {a}–{b}. Il était là pour réparer une éolienne.", -"Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.":"La ville portuaire de l’Allemagne. Tout le monde dit « Moin » à toute heure, et la pluie arrive de côté depuis l’Elbe.", -"Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.":"La capitale de la Bavière : voitures, assureurs et une fête de la bière de deux semaines qui fait exploser le trafic mobile chaque automne. Les baies doivent être finies avant midi, comme les saucisses.", -"{pn} routers":"routeurs {pn}", -"A {wave} wave needs {need} at both ends.":"Une longueur d’onde {wave} exige {need} aux deux extrémités.", -"Sold a {model} on eBuy.
{price} back.":"{model} vendu sur eBuy.
{price} récupérés.", -"The new routers in {city} are still being racked.
One swap a day: try again tomorrow.":"Les nouveaux routeurs de {city} sont encore en cours de montage en baie.
Un remplacement par jour : réessaie demain.", -"Sold the old {model} on eBuy.
{price} back toward the new gear.":"Ancien {model} vendu sur eBuy.
{price} récupérés pour le nouveau matos.", -"Needs routers with {pn} ports or bigger at both ends ({city}).":"Il faut des routeurs avec des ports {pn} ou plus aux deux extrémités ({city}).", -"Prices include {p} back for the old routers on eBuy.":"Les prix incluent {p} récupérés en revendant les anciens routeurs sur eBuy.", -"New routers went in today. The next swap can wait until tomorrow.":"Les nouveaux routeurs ont été installés aujourd’hui. Le prochain remplacement attendra demain.", +"+{n} days":"+{n} jours", +"+{n} more":"+{n} de plus", "+{n} more connection":"+{n} autre connexion", "+{n} more connections":"+{n} autres connexions", "+{n} more customer":"+{n} autre client", "+{n} more customers":"+{n} autres clients", -"line {n}: prepend 1 to 3 times":"ligne {n} : prepend de 1 à 3 fois", -"# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.":"# {net} : {g} via transit, mais il fait du peering sur {ix} à {city}, où tu as un POP. Prends un port là-bas.", -"# {net}: {g} over the IX. A PNI would take it off the shared port.":"# {net} : {g} via l’IX. Un PNI le sortirait du port partagé.", -"Optimize":"Optimiser", -"# Suggested by the optimizer from live traffic. It has never been paged at 3 a.m., so check it, then deploy.":"# Suggéré par l’optimiseur à partir du trafic réel. Il ne s’est jamais fait réveiller à 3 h du matin, alors vérifie, puis déploie.", -"Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.":"La capitale planifiée du Brésil, en forme d’avion. Chaque ministère est aligné bien sagement, et chacun veut son propre lien.", -"Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.":"Des montagnes, des mines et plus de bars par habitant que partout ailleurs au Brésil. Les accords de peering se signent autour d’un pão de queijo.", -"Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.":"La grande ville la plus froide du Brésil, celle qui a inventé les couloirs de bus pour tous les autres. La moitié de l’année, l’air extérieur fait du free cooling.", -"The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.":"Le grand Sud, à mi-chemin de Buenos Aires. Barbecue tous les dimanches, et une calebasse de maté brûlant dans chaque main, même en été.", -"Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.":"La porte de l’Amazonie, à l’embouchure d’un fleuve si large qu’on ne voit pas l’autre rive. Il pleut tous les après-midi, pile à l’heure.", -"Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.":"La capitale la plus au nord du Brésil. La seule route vers le sud traverse une réserve indigène fermée à la circulation chaque nuit.", -"Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.":"Organise la plus grande fête de São João du monde : un mois entier de forró chaque juin. Aussi une ville universitaire pleine d’ingénieurs.", -"Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.":"Le pôle tech du Brésil, à une heure de São Paulo : universités, labos et datacenters alignés le long de l’autoroute.", -"The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.":"Le centre géographique de l’Amérique du Sud, et l’une des villes les plus chaudes du Brésil. Les groupes froids n’ont jamais de jour de repos.", -"Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.":"Immigrés italiens, vignobles et usines. Tes baies partagent les collines avec les vendanges.", -"An island capital of beaches and startups. Half the city works remotely from a surf shack.":"Une capitale insulaire de plages et de startups. La moitié de la ville télétravaille depuis une cabane de surf.", -"Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.":"Là où se rejoignent le Brésil, l’Argentine et le Paraguay, à côté de chutes géantes et d’un barrage hydroélectrique encore plus grand. L’électricité est bon marché, la paperasse douanière non.", -"Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.":"Capitale de l’agrobusiness et berceau de la musique sertaneja. Chaque camion, tracteur et silo veut une connexion.", -"The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.":"La ville la plus à l’est des Amériques, là où le soleil se lève en premier. Ton astreinte au NOC commence tôt, elle aussi.", -"A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.":"Une petite ville avec son propre IX.brrr, parce que les provedores du coin en voulaient un. Le peering, ce n’est pas que pour les grandes villes.", -"Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.":"Pile sur l’équateur, à l’embouchure de l’Amazone. Aucune route ne la relie au reste du Brésil, et son réseau électrique a connu de très longues mauvaises semaines.", -"Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.":"Deux millions d’habitants au milieu de la forêt tropicale, avec une zone franche industrielle. La fibre suit les fleuves, et quand elle casse, l’équipe de réparation part en bateau.", -"Dunes, buggies and the corner of Brazil closest to Africa.":"Des dunes, des buggys et le coin du Brésil le plus proche de l’Afrique.", -"Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.":"La plus jeune capitale d’État du Brésil, construite de zéro en 1989. Les rues sont numérotées, et tout le reste aussi.", -"Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.":"La capitale de l’agrobusiness brésilien : canne à sucre, jus d’orange et, selon les locaux, la bière pression la plus fraîche du pays.", -"The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.":"La Venise du Brésil, toute en ponts et en rivières, avec l’un des plus grands parcs technologiques du pays dans son vieux port.", -"The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.":"La capitale de l’Acre, un État dont les Brésiliens disent en plaisantant qu’il n’existe pas. Tes traceroutes disent le contraire.", -"Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.":"La première capitale du Brésil, avec des câbles qui atterrissent dans la baie et un carnaval de deux millions de personnes qui dansent derrière des camions bourrés d’enceintes.", -"An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.":"Une ville insulaire aux maisons coloniales couvertes d’azulejos, connue comme la capitale brésilienne du reggae. Ses marées comptent parmi les plus fortes du pays.", -"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.":"La seule capitale du Nordeste loin de la mer. Réputée pour sa chaleur, avec des orages qui donnent du travail aux parafoudres.", -"An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.":"Une capitale insulaire avec un grand port de minerai de fer. Sa moqueca est l’originale, demande à n’importe qui de l’Espírito Santo.", -"Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.":"L’Uruguay : la fibre dans presque chaque foyer, un ordinateur portable pour chaque écolier, et un opérateur public qui gère presque tout.", -"Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.":"Le Paraguay partage deux barrages géants avec ses voisins et produit plus d’électricité qu’il ne peut en consommer. Les mineurs de crypto l’ont remarqué.", -"Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.":"La deuxième ville d’Argentine : universités, usines automobiles et fernet-cola, dans des proportions dont les locaux débattent pendant des heures.", -"The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.":"Le siège de gouvernement le plus haut du monde, à 3 600 m. Les pendulaires prennent le téléphérique, et une partie de la fibre aussi.", -"A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.":"Une capitale perchée dans les Andes, juste au sud de l’équateur, qui paie en dollars américains. Des volcans à chaque horizon.", -"The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.":"La ville de l’éternel printemps, avec des escalators en plein air à flanc de colline et une scène startup très active.", -"A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.":"Une capitale dans une vallée au pied d’une montagne verte. Le réseau électrique national a connu quelques jours noirs célèbres : prévois un groupe électrogène.", -"Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.":"La plus grande ville d’Amérique centrale, cernée de volcans. L’un d’eux fume tous les jours, sans exception.", -"Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.":"Le Costa Rica tourne presque entièrement aux énergies renouvelables, donc tes baies sont vertes. La forêt de nuages d’à côté est encore plus verte.", -"Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.":"La ville du boom des datacenters au Mexique, haute et sèche au centre du pays. Chaque cloud y veut sa région.", -"Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.":"La capitale industrielle du Mexique, à quelques heures du Texas. Usines, acier et chevreau grillé le week-end.", -"Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.":"La Silicon Valley du Mexique, berceau du mariachi et de la tequila. Conception de puces le jour, musique la nuit.", -"Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.":"Dit « oi » à chaque foyer du Brésil. La fibre est top, le bilan est encore en convalescence.", -"A mobile network named after the sound of a toast. Cheers to every 5G tower.":"Un réseau mobile qui porte le nom du bruit d’un toast. Tchin-tchin à chaque antenne 5G.", -"Fiber across the sertão of the Northeast, one dirt road at a time.":"De la fibre à travers le sertão du Nordeste, une piste en terre à la fois.", -"A Spanish carrier starring in every Latin American market, at least until it sells the next one.":"Un opérateur espagnol en vedette sur chaque marché d’Amérique latine, au moins jusqu’à ce qu’il revende le suivant.", -"Cables all around the Caribbean, served with a lot of foam.":"Des câbles tout autour des Caraïbes, servis avec beaucoup de mousse.", -"Uruguay’s state telco. Fast, everywhere, and a little proud of it.":"L’opérateur public de l’Uruguay. Rapide, partout, et un peu fier de l’être.", -"Prepaid mobile from Paraguay to Guatemala, with a logo that roars.":"Du mobile prépayé du Paraguay au Guatemala, avec un logo qui rugit.", -"Order and Progress":"Ordre et progrès", -"São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.":"São Paulo. Le Brésil est un continent : quarante IX.brrr, des milliers de provedores, et l’Amazonie entre toi et le nord.", -"Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served":"Des ports sur 20 IX.brrr, dont un à Manaus, et 200 Gbps servis", -"This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.":"Ce parcours entre en Amazonie : 2× le prix. La fibre longe les fleuves et les pistes de la jungle, et les réparations se font en bateau.", -"IX.brrr ports":"Ports IX.brrr", -"A port on IX.brrr Manaus":"Un port sur IX.brrr Manaus", -"Join the NOC chat":"Rejoins le chat du NOC", -"Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.":"Notre groupe Signal : échange des captures d’écran, signale des bugs et dispute-toi sur les politiques de peering avec d’autres joueurs. Moins de pelleteuses qu’en vrai.", -"Join →":"Rejoindre →", -"Chat on Signal":"Discuter sur Signal", -"Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.":"La capitale la plus à l’ouest de l’Afrique, où la moitié des câbles qui longent la côte font une pause. La brise atlantique, c’est du free cooling.", -"The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.":"La capitale économique de l’Afrique de l’Ouest francophone, avec des tours de verre sur une lagune et cinq câbles dans la baie.", -"Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.":"La capitale du Ghana et un point d’atterrissement prisé des câbles. Fibre rapide, circulation lente sur le périphérique.", -"Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.":"La ville portuaire du Cameroun. Un câble part d’ici tout droit vers le Brésil, le chemin le plus court pour traverser l’Atlantique Sud.", -"One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.":"L’une des plus grandes villes d’Afrique, juste en face d’une autre capitale, de l’autre côté du fleuve. Le courant va et vient, la rumba ne s’arrête jamais.", -"Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.":"La capitale pétrolière de l’Angola, et le port d’attache des câbles qui filent droit vers le Brésil. L’une des villes les plus chères du monde pour une chambre d’hôtel.", -"Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.":"La capitale économique du Maroc sur l’Atlantique, la porte entre l’Europe et l’Afrique de l’Ouest.", -"White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.":"Des maisons blanches qui grimpent depuis la Méditerranée. Les câbles partent au nord vers Marseille, et une bonne partie du trafic aussi.", -"A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.":"Une capitale à côté des ruines de Carthage, là où la Méditerranée est la plus étroite. Les câbles rejoignent la Sicile en un rien de temps.", -"A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.":"Un pays minuscule à l’entrée de la mer Rouge, où atterrissent une douzaine de câbles entre l’Europe, l’Asie et l’Afrique. Il facture en conséquence.", -"Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.":"La capitale de l’Éthiopie, à 2 400 m, sans côte à elle : tout remonte depuis Djibouti. Le meilleur café de la carte.", -"Where East Africa’s cables come ashore, then ride the railway up to Nairobi.":"Là où les câbles d’Afrique de l’Est touchent terre, avant de remonter par le chemin de fer jusqu’à Nairobi.", -"Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.":"La plus grande ville de Tanzanie et la porte sur la mer d’une demi-douzaine de pays enclavés.", -"A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.":"Une ville sur sept collines au bord du lac Victoria. Pas de côte, donc chaque paquet vers la mer traverse d’abord le Kenya ou la Tanzanie.", -"Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.":"Sans doute la capitale la plus propre d’Afrique, avec la fibre dans chaque quartier et les sacs plastique interdits à la frontière.", -"Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.":"La capitale du Mozambique, à une heure de l’Afrique du Sud. Ses câbles sont le secours de la côte est quand les autres cassent.", -"South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.":"La côte est de l’Afrique du Sud : surf, curry et la plage où atterrissent les câbles de l’océan Indien.", -"A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.":"Une petite capitale au milieu du désert. Les câbles atterrissent à Swakopmund, puis traversent les dunes.", -"Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.":"La Zambie tourne à l’hydroélectricité grâce à un seul grand lac. Les années sèches, le lac baisse, et le réseau électrique aussi.", -"Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.":"Des jacarandas violets et de longues coupures de courant. Chaque POP ici a besoin d’un groupe électrogène et de beaucoup de gazole.", -"Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.":"Le Botswana : calme, sûr et riche en diamants, avec Johannesburg à deux pas en voiture.", -"Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands.":"Africa Coast to Europe : une vingtaine de pays sur un seul câble, de la France au Cap. Un as dans bien des mains.", -"West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up.":"Le premier grand câble d’Afrique de l’Ouest, du Portugal au Cap. Vieux et bancal, mais il tient encore tout debout.", -"Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa.":"Du Portugal à Lagos, avec escales à Dakar, Abidjan et Accra. N’a qu’une idée en tête : l’Afrique de l’Ouest.", -"Casablanca down the coast to Abidjan, served sweet and very hot.":"De Casablanca jusqu’à Abidjan en longeant la côte, servi sucré et bien chaud.", -"Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses.":"Tout droit à travers l’Atlantique Sud, de Fortaleza au Cameroun. Pas d’escale, pas d’île, pas d’excuse.", -"The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party.":"Le câble qui a connecté l’Afrique de l’Est, de Durban jusqu’à Djibouti puis Mumbai. Il raconte encore l’histoire à chaque soirée.", -"Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors.":"De Djibouti à Durban, en collant à la côte est-africaine. Se moque des pirates et des ancres.", -"Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.":"De la fibre du Cap au Caire à travers une douzaine de frontières. Tantôt par voie terrestre, tantôt hors budget.", -"Owns the cable that brought East Africa online, and sells you the capacity with a straight face.":"Possède le câble qui a connecté l’Afrique de l’Est, et te vend la capacité sans sourciller.", -"Owns the cables from Luanda to Brazil, and always finds an angle on the deal.":"Possède les câbles de Luanda au Brésil, et trouve toujours un angle pour négocier.", -"A tiny telco in a country where the world’s cables come ashore. Prices to match.":"Un tout petit opérateur dans un pays où les câbles du monde entier touchent terre. Tarifs à l’avenant.", -"Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.":"Le géant du mobile en Afrique, d’un jaune visible depuis l’orbite. Jamais vraiment à vide.", -"Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.":"Mobile money et data prépayée dans quatorze pays. Te le rappelle à chaque recharge.", -"Ethiopia’s state telco: a hundred million customers and very calm about competition.":"L’opérateur public éthiopien : cent millions de clients et très serein face à la concurrence.", -"Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.":"L’opérateur historique du Maroc, avec des réseaux frères le long de la côte ouest-africaine. Porte la charge sans se plaindre.", -"Cape to Cairo":"Du Cap au Caire", -"Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.":"Le Cap. Construis un réseau à travers l’Afrique : chaque frontière veut son propre permis, et la moitié des réseaux électriques ne sont pas de ton côté.", -"A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served":"Un chemin du Cap au Caire, des POP à Lagos et Nairobi, et 150 Gbps servis", -"This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.":"Ce parcours traverse une frontière en Afrique : 2× le prix. Chaque pays veut ses propres permis, son propre opérateur et sa part du gâteau.", -"A path from Cape Town to Cairo":"Un chemin du Cap au Caire", -"Both a second switch, +{price}/mo":"Les deux un second switch, +{price}/mois", -"{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.":"{name} est annulé.
L’usine de câbles reprend le verre dont personne n’a besoin : {price} remboursés.", -"Your cable":"Ton câble", +"+{p} since you started":"+{p} depuis vos débuts", +", and prices have fallen {p}% since you started":", et les prix ont baissé de {p} % depuis tes débuts", +", in via {e}":", entrée via {e}", +", plus {n} small network":", plus {n} petit réseau", +", plus {n} small networks":", plus {n} petits réseaux", +". Did you mean {name}?":". Tu voulais dire {name} ?", +"1.6T on every hop from Lisbon to Lagos":"1.6T sur chaque saut de Lisbonne à Lagos", +"1.6T on every hop from Los Angeles to Sydney":"1.6T sur chaque saut de Los Angeles à Sydney", +"1.6T on every hop from Miami to Madrid":"1.6T sur chaque saut de Miami à Madrid", +"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", +"1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.":"Ports 1.6T, son propre microclimat et deux puces PacketOinker² par line card. Accepte les longueurs d’onde 6.4T en 4×1.6T. Chariot élévateur requis.", +"10+ POPs ({n})":"10+ POP ({n})", +"100G per box":"100G par boîtier", +"20+ peering sessions ({n})":"20+ sessions de peering ({n})", +"270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.":"270 millions d’habitants sur 17 000 îles. Mobile first, et très gourmands en bande passante.", +"3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.":"Ports 3.2T, et longueurs d’onde 12.8T livrées en 4×3.2T. Consomme autant qu’une petite ville et arrive avec son propre poste électrique. Il faut un plus gros chariot élévateur.", +"40% off for 6 months":"40 % de remise pendant 6 mois", +"5+ POPs, ports on 3+ IXs and 15+ peering sessions.":"5+ POP, des ports sur 3+ IX et 15+ sessions de peering.", +"90 days in a row with 99.5% of demand served":"90 jours d’affilée avec 99,5 % de la demande servie", +"95th pct {p95} · commit {commit} · bill {bill}/mo":"95e pct {p95} · engagement {commit} · facture {bill}/mois", +"95th percentile":"95e percentile", +"95th percentile {g}":"95e centile {g}", +"99% reach and 150 Gbps served":"99 % de couverture et 150 Gbps servis", +"99% reach and 200 Gbps served without going broke":"99 % de couverture et 200 Gbps servis sans faire faillite", +"; this one is set to {mode}":" ; celle-ci est réglée sur {mode}", +"":"", +"\"After consulting with management…\"
The price went up. Management was consulted.":"« Après consultation de la direction… »
Le prix a augmenté. La direction a été consultée.", +"\"Just this once.\"
Your account manager found a special discount. Do not tell the others.":"« Juste pour cette fois. »
Ton account manager a trouvé une remise spéciale. N’en parle pas aux autres.", +"40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.":"40 % de remise sur {ix} pendant 6 mois.
Ton account manager est soulagé. Lis les petites lignes plus tard.", +"A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.":"Un gigaprojet veut une démo.
{bw} pendant quatre jours à {city}, pour exhiber une ville qui n’existe encore qu’en images de synthèse. Regarde l’onglet Offres.", +"A {fab} fabric unlocks at customer level {lv}.":"Un fabric {fab} se débloque au niveau client {lv}.", +"A {wave} wave needs {need} at both ends.":"Une longueur d’onde {wave} exige {need} aux deux extrémités.", +"AS path: {path}":"AS path : {path}", +"Application filed.
Your local partner says about 45 days. Probably.":"Demande déposée.
Ton partenaire local parle d’environ 45 jours. Probablement.", +"Augment ordered with {net}.
{eta}.":"Extension commandée chez {net}.
{eta}.", +"Augment with {net} delivered in {city}.
Now {port}.":"Extension avec {net} livrée à {city}.
Désormais {port}.", +"Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.":"L’Australie est devenue plus australienne.
Le transit y coûte désormais trois fois le prix habituel, seuls les opérateurs qui en vendent vraiment en Australie en vendent, et Telstraya et Floptus ne font plus que du peering privé, donc leurs sessions à l’IX sont terminées. Vérifie tes POP australiens.", +"Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.":"L’Auto-TE est actif.
Le contrôleur pousse désormais le surplus sur des chemins alternatifs dès que le plus court est plein.", +"Auto-TE unlocks at customer level 3.":"L’Auto-TE se débloque au niveau client 3.", +"BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.":"Détournement BGP
Quelqu’un d’autre annonce tes préfixes. Ta joignabilité reste en baisse tant que ce n’est pas nettoyé.", +"Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.":"Câble endommagé en Baltique
Un cargo a traîné son ancre sur 100 km et jure n’avoir rien remarqué. Tu n’as aucun lien sur ces câbles.", +"Baltic cable damaged
{n} of your links are down for about {d} days.":"Câble endommagé en Baltique
{n} de tes liens sont coupés pendant environ {d} jours.", +"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Blackhole retiré.
{city} est de nouveau joignable. Prépare-toi aux déchets.", +"Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.":"Black-out à {city}
Le réseau électrique est encore tombé. Ton groupe électrogène a démarré du premier coup, comme toujours ici.", +"Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.":"Câbles coupés en mer Rouge
Un navire a traîné son ancre sur plusieurs câbles. Tout le monde accuse tout le monde. Heureusement, tu n’utilises pas ces câbles.", +"Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.":"Câbles coupés en mer Rouge
{n} de tes liens sous-marins sont coupés pendant environ {d} jours, le temps que les diplomates se disputent au sujet des câbliers.", +"Can't add {optic}.
{why}":"Impossible d’ajouter {optic}.
{why}", +"Cancel the circuits on this port first.":"Résilie d’abord les circuits de ce port.", +"Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"Vérifier (dry run) rejoue le trafic du jour avec le script et montre ce que vous serviriez et ce que coûterait le transit. Rien ne change.", +"Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.":"Pénurie de puces !
Tous les fabricants de routeurs attendent les mêmes puces. Les routeurs neufs et les mises à niveau coûtent 40 % de plus pendant {n} jours. Délai de livraison : « oui ».", +"Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.":"Circuit actif en 59 secondes.
{vxc} sur {fab} : {a} → {b}.", +"Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.":"Option clean-pipe activée chez {net}.
Ils nettoient un flood avant qu’il n’atteigne ton port ici, pour {mo}/mois.", +"Clean-pipe add-on removed from {net}.":"Option clean-pipe retirée chez {net}.", +"Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"Commit terminé. Trafic en baisse de {p}.
L’IA s’excuse pour la confusion, et reste absolument certaine que le script était juste. Corrigez-le depuis l’onglet NOC.", +"Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.":"Commit terminé. Trafic en baisse de {p}.
Gros doigt sur ton propre réseau. Grand classique. Corrige le script depuis l’onglet NOC.", +"Construction delay: +{n} days
{why} ({a}–{b})":"Retard de chantier : +{n} jours
{why} ({a}–{b})", +"Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.":"Commandes : fais glisser la carte pour te déplacer, molette ou pincement pour zoomer, touche une ville pour l’ouvrir. Glisse depuis ton routeur rose vers une autre ville pour poser de la fibre. Espace met en pause, 0 passe à mi-vitesse, 1 2 3 4 règlent la vitesse. À 1×, un jour dure 2,5 secondes.", +"Copied. Paste it into your favourite NOC chat.":"Copié. Colle-le dans ton chat NOC préféré.", +"Customer level {lv}: {name}
New customers unlocked: {unlock}":"Niveau client {lv} : {name}
Nouveaux clients débloqués : {unlock}", +"DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.":"DE-KICKS a harmonisé ses tarifs.
Harmonisé veut dire à la hausse : {ix} coûte maintenant {p} % de plus. Merci pour ta confiance renouvelée.", +"DE-KICKS sales is still \"aligning\".
They will get back to you in {n} days.":"Les commerciaux DE-KICKS sont encore en train de « s’aligner ».
Ils reviendront vers toi dans {n} jours.", +"DE-KICKS will \"circle back\".
Expect an email titled \"Quick question 🙂\" within the hour.":"DE-KICKS va « revenir vers toi ».
Attends-toi à un mail intitulé « Petite question 🙂 » dans l’heure.", +"Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.":"IRU de fibre noire signé.
{a}–{b} sera soudée et livrée dans environ 30 jours.", +"Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"Déployer 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.", +"Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.":"Drizzle Electric t’a envoyé un gâteau IPv6.
Tu l’as revendu pour $8k.", +"Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.":"Tous les câbliers sont réservés.
Les hyperscalers ont loué chaque câblier et chaque équipe de tranchée de la planète. Les nouvelles fibres et les nouveaux câbles coûtent 30 % de plus pendant {n} jours.", +"Fabric port in {city} is full.":"Le port fabric de {city} est plein.", +"Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.":"Faceplant fait passer la Corée par Hong Kong.
Les utilisateurs de Séoul en reçoivent un cinquième de moins pendant 20 jours, quelle que soit ta connexion.", +"Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.":"Paire de fibres {n} allumée : {a}–{b}.
Encore un ROADMaster 9000 et une nouvelle chaîne d’amplificateurs. De la place pour {m} canaux de plus.", +"Fill this pair first.
Light all {max} channels before you light another fiber pair.":"Remplis d’abord cette paire.
Allume les {max} canaux avant d’allumer une autre paire de fibres.", +"Fixed. {what} resolved early.":"Réparé. {what} : résolu en avance.", +"Flood held: {g}.
{who} gave up and went back to mining crypto.":"Vague encaissée : {g}.
{who} a abandonné et est retourné miner de la crypto.", +"Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"Glitch quitte la Corée.
Le site de streaming de jeux vidéo juge les frais réseau coréens « prohibitifs » et ferme là-bas. Son trafic à Séoul est divisé par deux, pour de bon. Les streamers locaux sont déjà passés à autre chose.", +"Goal: {goal} · Time: {d} days · start in {city}":"Objectif : {goal} · Durée : {d} jours · départ à {city}", +"Golden Week!
Demand in mainland China is up 40% for a week.":"Golden Week !
La demande en Chine continentale grimpe de 40 % pendant une semaine.", +"Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.":"Bien vu : c’était une fuite de routes.
{who} a trouvé une route-map mal tapée. La session revient toute seule dans quelques jours.", +"Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.":"Bonne nouvelle ! Tu as été inscrit à {addon}.
{blurb} {price}/mois, ajouté à ta facture {ix}. Désinscription possible à tout moment dans le panneau IX.", +"Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.":"Premier coup de pioche !
Ta propre fibre de {a} à {b}. Permis et tranchées : environ {n} jours.", +"HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.":"Le HackBack 3000™ a touché la mauvaise cible.
{who} Un régulateur t’inflige une amende de {fine}, et l’attaque continue.", +"HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.":"HackBack 3000™ contre-attaque !
Skynot AI a remonté le botnet et l’a poliment briqué. L’attaque sur {city} s’arrête net.", +"Haggling paused.
{why}":"Négociation en pause.
{why}", +"IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.":"Blackhole annoncé sur l’IX de {city}.
Environ la moitié des membres respectent le /32 et jettent les déchets. Le client reste en ligne.", +"IX blackhole withdrawn.":"Blackhole IX retiré.", +"Import failed.
That save is damaged and could not be loaded. Your current game is untouched.":"Échec de l’import.
Cette sauvegarde est endommagée et n’a pas pu être chargée. Ta partie en cours est intacte.", +"Import failed.
{err}":"Échec de l’import.
{err}", +"Installed!
Open Series of Tubes from your home screen. Your saves come along.":"Installé !
Ouvre Series of Tubes depuis ton écran d’accueil. Tes sauvegardes suivent.", +"LAG member added.
{net} in {city} is now {lag}.":"Membre de LAG ajouté.
{net} à {city} est maintenant en {lag}.", +"LAG member removed.":"Membre de LAG retiré.", +"Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.":"Litige sur les permis d’atterrissement à {city}
Deux ministères revendiquent la même plage. Aucun nouveau lien sous-marin ne peut y atterrir pendant 45 jours.", +"Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.":"Large Peering Model est embauché.
Votre boîte, c’est son problème maintenant. {price} par an, facturés chaque mois.", +"Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.":"Pénurie de lasers !
L’usine qui fabrique les lasers de la moitié des optiques du monde a été inondée. Les optiques coûtent 50 % de plus pendant {n} jours. Les pièces de rechange sur votre étagère viennent de devenir le meilleur investissement de votre vie.", +"License granted!
Your joint venture can now build POPs in mainland China.":"Licence accordée !
Ta joint-venture peut maintenant construire des POP en Chine continentale.", +"Line system swap
All channels are dark for a day while the ROADMs go in.":"Changement de système de ligne
Tous les canaux sont éteints pendant une journée, le temps de poser les ROADM.", +"Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.":"Mise en vente chez un courtier en capacité.
{name} veut {what}. Accepte sur la fibre ou dans Offres.", +"Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.":"Délestage à {city}
Niveau {n} aujourd’hui. Ton groupe électrogène a toussé, puis a gardé la lumière allumée.", +"Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.":"Prêt de {bank} remboursé !
Ils t’ont envoyé une corbeille de fruits. C’est surtout des bananes.", +"Loan from {bank} repaid early.":"Prêt de {bank} remboursé par anticipation.", +"Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.":"Limite max-prefix atteinte : {who} à {ix}.
La session reste coupée tant que vous n’y avez pas regardé.", +"Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.":"Microbursts sur {a}–{b}.
Tes routeurs à buffers profonds les ont absorbés. Personne n’a rien remarqué.", +"More crews on site.
Construction is {n} day ahead.":"Des équipes en renfort.
Les travaux ont {n} jour d’avance.", +"More crews on site.
Construction is {n} days ahead.":"Des équipes en renfort.
Les travaux ont {n} jours d’avance.", +"New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.":"Nouveaux réseaux sur la carte.
Cette mise à jour a ajouté des réseaux auxquels tu n’es pas encore connecté. Pendant {n} jours, une route de courtoisie gratuite les atteint, pour que ta couverture ne chute pas du jour au lendemain. Peere avec eux, ou achète du transit, avant la fin.", "New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.":"Nouveau routeur à {city}
Remplacé avant que quoi que ce soit ne soit branché : zéro interruption, zéro client fâché.", -"{ix} switch":"Switch {ix}", -"Giving it up now returns {price}.":"Y renoncer maintenant te rembourse {price}.", -"No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.":"Aucun câble sous-marin n’atterrit à {city}. La station d’atterrissement la plus proche est {near} : amène d’abord la fibre jusque-là, puis prends un câble depuis là-bas.", -"{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.":"{km} km, c’est plus qu’aucune optique ne peut éclairer, même avec le meilleur matériel sous-marin ({max} km au maximum). Les vrais câbles font escale sur une île ou à une station d’atterrissement en route : pose deux câbles plus courts.", -"Halfway between California and everything else in the Pacific. Cables from the US, Australia, New Zealand, Guam and Tahiti come ashore on Oahu. A POP here ends the light’s long swim: waves start fresh on each side, so each half carries more.":"À mi-chemin entre la Californie et tout le reste du Pacifique. Les câbles des États-Unis, d’Australie, de Nouvelle-Zélande, de Guam et de Tahiti atterrissent à Oahu. Un POP ici met fin à la longue nage de la lumière : les longueurs d’onde repartent à neuf de chaque côté, et chaque moitié transporte davantage.", +"New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?":"La nouvelle saison de « Stranger Pings » vient de sortir !
La demande des eyeballs grimpe de 25 % pendant une semaine. T’as de la marge ?", +"No IX in {city} to announce a blackhole to.":"Aucun IX à {city} auquel annoncer un blackhole.", +"No attack to blackhole right now.":"Aucune attaque à blackholer pour l’instant.", +"No cable available for that route right now.":"Aucun câble disponible pour cette route pour l’instant.", +"No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).":"Aucun port routeur libre à {city}.
{u} sur {m} utilisés. Ajoute un routeur, ou passe à un modèle avec plus de ports (onglet Infra).", +"No transit in this scenario.
Peering, PNIs, caches and your own fiber only.":"Pas de transit dans ce scénario.
Uniquement peering, PNI, caches et ta propre fibre.", +"No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.":"Plus de capacité {wave} sur cette route pour l’instant.
{why} Essayez une onde plus petite, une autre route, ou redemandez dans {n} jours.", +"No {wave} waves on this cable.
{why}":"Pas de longueur d’onde {wave} sur ce câble.
{why}", +"Not enough cash.
Wait for revenue, or speed up time.":"Pas assez de trésorerie.
Attends les revenus, ou accélère le temps.", +"Not enough free channels on that fiber any more.":"Plus assez de canaux libres sur cette fibre.", +"Not enough room on your fabric port. Upgrade it first.":"Pas assez de place sur ton port fabric. Mets-le d’abord à niveau.", +"Not enough room on your {fab} port in {city}.":"Pas assez de place sur ton port {fab} à {city}.", +"Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.":"Rien à vendre sur cette fibre.
Chaque canal est allumé ou vendu, et la tranchée n’a plus de paire libre.", +"Nothing to hack back right now.":"Rien à contre-attaquer pour l’instant.", +"Opted out of {name}.
It took four clicks, a survey and a \"we're sad to see you go\" page.":"{name} désactivé.
Il a fallu quatre clics, un sondage et une page « Nous sommes tristes de vous voir partir ».", +"Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"Fusion du control plane optique !
Toutes les longueurs d’onde louées en {reg} viennent de s’éteindre d’un coup. Ta propre fibre noire va très bien. Voilà pourquoi on possède sa fibre.", +"Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.":"Hors ligne sur ordre à {city}
Une coupure gouvernementale pour un jour d’examen. Ton POP là-bas est éteint pour la journée.", +"PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.":"La PNI avec {net} est en service à {city}.
Un cross-connect chez {dc}. Privé et rapide.", +"PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.":"PNI avec {net} commandée.
{eta}. Un cross-connect chez {dc}, dès que quelqu’un aura retrouvé la LOA.", +"Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.":"Brouille de peering !
Cogentle a coupé le peering avec Goggle pour 20 jours. Le trafic Goggle via le transit Cogentle a disparu. Fais du peering direct avec Goggle ou passe par un autre upstream.", +"Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.":"Pénalité de {bank} : {fee}
Ajoutée à ta dette. Ta mensualité passe à {pay}.", +"Port up at {ix}!
Now request peering, or join the route server.":"Port actif sur {ix} !
Maintenant, demande du peering ou rejoins le route server.", +"Power cut in {city}
Your backup generator kicked in. Lights stayed on.":"Coupure de courant à {city}
Ton groupe électrogène de secours a pris le relais. La lumière est restée allumée.", +"Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.":"Redémarré.
Le routeur de {city} reboote. Il sera de retour demain, si {chip} le veut bien.", +"Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.":"Guerre des prix à {city} !
{ix} a baissé ses prix de port de 10 % pour empêcher ses membres de filer chez {rival}. Ta facture vient de maigrir.", +"Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.":"Prix bloqués jusqu’au {date}.
L’account manager de votre fournisseur est ravi. Il touche une prime pour ça.", +"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH annoncé.
Tu as blackholé la cible à {city}. Le flood s’arrête, et tout le monde là-bas aussi.", +"Regen site removed.":"Site de régénération retiré.", +"Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.":"Le site de régénération {n} est opérationnel.
Les portées optiques sur {a}–{b} font maintenant {km} km.", +"Registered.
Flights booked, badge printed, business cards ordered in the wrong font.":"Inscrit.
Vols réservés, badge imprimé, cartes de visite commandées dans la mauvaise police.", +"Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.":"Le remote peering, c’est le dernier recours. Les ports passent par un revendeur à 1,5× le prix, seuls 80 % du port sont vraiment à toi, la latence voyage sur le fabric, une seule panne du fabric fait tomber toutes les sessions, et beaucoup de réseaux sélectifs refusent les membres distants. Un POP ici, c’est mieux.", +"Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.":"Port distant actif sur {ix}.
Il passe par un revendeur : attends-toi à une marge, un port surchargé et quelques réseaux qui refuseront de te parler. Ici, le route server est ton ami.", +"Resolved: {what}":"Résolu : {what}", +"Resolved: {what}
{where} is back to normal.":"Résolu : {what}
{where} est revenu à la normale.", +"Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.":"Mise à niveau progressive à {city}
{n} × {model}, remplacés un par un. Zéro coupure.", +"Route server session up.
You now peer with every open network on this IX, in one go.":"Session route server active.
Tu fais maintenant du peering avec tous les réseaux open de cet IX, d’un coup.", +"Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.":"Plantage de routeur à {city}
Un routeur a paniqué et son jumeau a pris le relais.{slow} La capacité y est réduite d’un routeur pendant {d} jours.", +"Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.":"Routeur installé à {city}.
Le fournisseur l’a livré dans le bon sens, alors les techniciens du coin l’ont retourné. Ici, tout est à l’envers.", +"Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.":"Routeur installé à {city}.
À l’envers, comme le veut la coutume ici. Les paquets n’ont pas l’air de s’en soucier.", +"Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.":"Géré par DE-KICKS Group. Pas de grille tarifaire publique. Demande un devis personnalisé au commercial et sors ta meilleure tête de marchand de tapis.", +"Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.":"Géré par une association à but non lucratif. Des prix publics à une fraction de ce que facturent les autres IX, et presque tout le monde est là.", +"Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.":"Subvention haut débit rural : +$30k
Le ministère des Tubes aime ce que tu fais.", +"SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.":"SLA violé : {name}.
L’attaque sur {city} est passée et ton client protégé est tombé. Tu lui dois {pen} en pénalités SLA.", +"Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.":"Sanctions !
La République du Paperassistan a sanctionné le fournisseur de vis préféré de ton constructeur de routeurs. Les pièces détachées arrivent au compte-gouttes : pendant 60 jours, les crashs de routeur prennent deux fois plus de temps à réparer.", +"Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.":"Mode bac à sable
Un milliard de dollars, tout débloqué, et rien ne casse jamais. Construis l’Internet dont tu as toujours rêvé.", +"Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.":"Sauvegarde exportée.
{file} est dans tes téléchargements. Ouvre-le sur un autre appareil avec « Importer une sauvegarde ».", +"Scrubbing upgraded to {tier}.":"Scrubbing passé en {tier}.", +"Second LAG member added.
One member in each building now, so a dark building only takes out half the port.":"Second membre de LAG ajouté.
Un membre dans chaque bâtiment désormais : un bâtiment éteint ne coupe plus que la moitié du port.", +"Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.":"Second site actif à {city}.
{b} est relié à {a} par ton propre anneau métropolitain. Déplaces-y quelques uplinks depuis les onglets Transit et Peering.", +"Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.":"La session avec {who} est rétablie.
Nouvelle limite : {n} préfixes. Ils promettent de mettre PeeringDB à jour.", +"Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.":"Signé avec DE-KICKS.
Bienvenue dans la famille. Merci de ne dire à personne combien tu paies.", +"Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.":"{optic} de rechange vendue sur eBuy.
{price} récupérés, soit {p} de son prix neuf.", +"Sold a {model} on eBuy.
{price} back.":"{model} vendu sur eBuy.
{price} récupérés.", +"Sold the old {model} on eBuy.
{price} back toward the new gear.":"Ancien {model} vendu sur eBuy.
{price} récupérés pour le nouveau matos.", +"Something in the NOC glitched.
The game kept going. If things look odd, export your save and open an issue on GitHub.":"Un truc a buggé dans le NOC.
Le jeu a continué. Si quelque chose semble bizarre, exporte ta sauvegarde et ouvre une issue sur GitHub.", +"Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.":"Exercice d’internet souverain
Moscou s’est débranchée du reste d’internet pendant une journée, pour voir ce que ça donne. Tout ce qui sort de Russie est coupé jusqu’à demain.", +"That customer is gone.
The contract ended since.":"Ce client n’est plus là.
Le contrat a pris fin depuis.", +"That file is too big to be a save.":"Ce fichier est trop gros pour être une sauvegarde.", +"That link is gone.
It was removed or decommissioned since.":"Ce lien n’existe plus.
Il a été retiré ou décommissionné depuis.", +"That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.":"Celle-là est passée : {g}.
{city} est tombée à {p}. Quelque part, {who} est très fier de lui.", +"That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.":"C’était une fuite de routes.
{who} annonçait {n} préfixes : une table complète. La prochaine fois, laissez-la coupée.", +"The AI is gone.
It left a 40-page handover document. It is mostly about itself.":"L’IA est partie.
Elle a laissé un document de passation de 40 pages. Il parle surtout d’elle.", +"The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.":"Les banques ont arrêté d’appeler.
Tu as plus d’argent que la plupart d’entre elles. Les offres de prêt reviendront si ta trésorerie passe un jour sous {cash}.", +"The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.":"La frontière s’est durcie.
La perte de paquets transfrontalière monte à 35 % pendant 10 jours. Les routes premium sont à peine touchées.", +"The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.":"La route de courtoisie a pris fin.
Les nouveaux réseaux auxquels tu n’es pas connecté ne sont plus joignables que par ton propre peering et ton transit.", +"The event is already running.
The organisers will not let you walk out now.":"L’événement est déjà en cours.
Les organisateurs ne te laisseront pas partir maintenant.", +"The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"Internet est de retour.
La moitié, en tout cas. Tout a été patché à la va-vite et personne n’a rien appris.", +"The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.":"L’usurier t’a envoyé un rappel.
Ton POP à {city} reste éteint jusqu’à demain.", +"The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.":"Les voisins se sont fâchés.
Une brouille diplomatique ferme les frontières et l’espace aérien autour du Qatar. Tous les liens entre Doha et l’Arabie saoudite ou les Émirats sont coupés pendant environ {n} jours. Fais le grand détour, par la mer.", +"The new routers in {city} are still being racked.
One swap a day: try again tomorrow.":"Les nouveaux routeurs de {city} sont encore en cours de montage en baie.
Un remplacement par jour : réessaie demain.", +"The session stays down.
{who} will update PeeringDB and ask again. Eventually.":"La session reste coupée.
{who} va mettre PeeringDB à jour et redemander. Un jour.", +"The {model} won't fit.
{why}":"Le {model} ne rentre pas.
{why}", +"The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.":"Le navire {ship} prend la mer !
{name}, ton propre câble de {km} km de {a} à {b}. Prêt dans environ {n} jours, si les baleines coopèrent.", +"Those optics need the regen site.
Remove the long-haul channels first, or keep the site.":"Ces optiques ont besoin du site de régénération.
Retire d’abord les canaux longue distance, ou garde le site.", +"Too late: the event has already started.":"Trop tard : l’événement a déjà commencé.", +"Too many circuits for a smaller port.":"Trop de circuits pour un port plus petit.", +"Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.":"Guerre commerciale sur les optiques
Deux gouvernements ont taxé mutuellement leurs lasers. Les optiques coûtent 40 % plus cher pendant 90 jours.", +"Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.":"Les prix du transit ont baissé de 8 %.
Ils font ça tous les ans. Personne ne sait où est le plancher.", +"Unplug something first.
{used} ports are in use, and one router fewer only has {max}.":"Débranche d’abord quelque chose.
{used} ports sont utilisés, et avec un routeur de moins tu n’en aurais que {max}.", +"Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.":"Incident aspirateur à {city}
L’agent d’entretien de {dc} a débranché un de tes routeurs pour brancher un aspirateur. L’autre a tenu. Le sol est impeccable.", +"Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.":"Incident aspirateur à {city}
L’agent d’entretien a tout débranché à {siteA}. {siteB} a maintenu la ville en ligne à mi-capacité.", +"Welcome back, {name}.
Imported and saved on this device.":"Bon retour, {name}.
Partie importée et sauvegardée sur cet appareil.", +"Welcome back, {name}.
Your network is right where you left it: {date}.":"Re-bonjour, {name}.
Ton réseau est exactement là où tu l’as laissé : {date}.", +"Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.":"Bienvenue, {name} !
Le RIPE NCC t’a attribué l’AS{asn}. Ton premier routeur ronronne à {city}.", +"You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.":"Tu es dans le rouge.
Résilie un truc cher, attends les revenus ou vois la banque pour un prêt. À −$100k, la banque saisit tes routeurs.", +"You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.":"Tu n’es plus Tier 1.
Parce que {why}. Ton badge Tier 1 reste ; reconquiers le statut pour l’afficher à nouveau.", +"You bought out {bank}.
They flew off to find another startup.":"Tu as racheté la part de {bank}.
Ils se sont envolés à la recherche d’une autre startup.", +"You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.":"Tu as fondé {ix} !
Des réseaux vont le rejoindre peu à peu et te payer leurs ports. Les membres open font du peering avec toi gratuitement.", +"You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.":"Tu connais les bases.
Les objectifs à gauche prennent le relais. Ça va casser. C’est ça qui est drôle.", +"You need a POP in every city on the contract first.":"Il te faut d’abord un POP dans chaque ville du contrat.", +"You need a license first.
Foreign networks need a joint venture to build in mainland China.":"Il te faut d’abord une licence.
Les réseaux étrangers ont besoin d’une joint-venture pour construire en Chine continentale.", +"Your account manager found the order under a desk.
It is a month closer.":"Votre account manager a retrouvé la commande sous un bureau.
Elle a un mois d’avance.", +"Your account manager is on paternity leave.
His replacement is also on paternity leave.":"Votre account manager est en congé paternité.
Son remplaçant aussi.", +"Your browser cannot draw the card.":"Ton navigateur ne peut pas dessiner la fiche.", +"Your router can't take a {port} port.
Upgrade it in the Infra tab.":"Ton routeur ne supporte pas de port {port}.
Mets-le à niveau dans l’onglet Infra.", +"Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.":"Impossible de charger ta sauvegarde.
Elle était endommagée : une copie a été conservée et tu peux repartir de zéro.", +"Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.":"Votre ticket a été fusionné avec un autre ticket.
Ce ticket a été fermé comme doublon du vôtre.", +"Your {ix} promo ended.
Price is back, plus 10% for \"loyalty programme administration\".":"Ta promo {ix} est terminée.
Le prix revient, plus 10 % de « frais de gestion du programme de fidélité ».", +"{bank} are circling.
They now take {pct} of your revenue.":"{bank} tournoie au-dessus de toi.
Ils prennent maintenant {pct} de ton chiffre d’affaires.", +"{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.":"{bank} n’est pas content.
Tu as enfreint une condition du prêt : {cond} Corrige ça sous 10 jours ou paie une pénalité.", +"{bank} would like to lend you {amount}.":"{bank} aimerait te prêter {amount}.", +"{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.":"{bank} : le ballon a éclaté.
Les {price} restants étaient dus aujourd’hui, d’un seul coup. Ils ont quitté ton compte.", +"{bank}: {sign} is in retrograde.
Your rate is now {apr}%.":"{bank} : {sign} est rétrograde.
Ton taux passe à {apr} %.", +"{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.":"{cache} installé à {city} !
{net} te l’a envoyé gratuitement. Tu paies {mo}/mois d’électricité.", +"{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.":"{conf} arrive à {city} dans 30 jours.
Peering coordinators, discussions de couloir, stickers gratuits. Inscris-toi dans l’onglet Offres.", +"{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.":"{conf} à {city}
Tu as serré plein de mains. Pendant {n} jours, les réseaux sélectifs présents en {region} demandent deux fois moins de trafic avant de peerer.", +"{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.":"Port {fab} actif à {city}.
Commande maintenant des circuits virtuels vers d’autres villes de leur fabric.", +"{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.":"{ix} tourne maintenant sur un fabric {fab}.
De la place pour {max} membres. Attends-toi à quelques nouveaux venus.", +"{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"{km} km, c’est plus long que la portée de n’importe quelle optique à plein débit. Les transpondeurs tourneront en mode longue distance (1.2T, 800G ou 400G par canal), ou ajoute des sites de régénération en route pour retrouver le plein débit.", +"{model} unlocks at customer level {lv}.":"Le {model} se débloque au niveau client {lv}.", +"{name} cancelled.
Too many outages and too little bandwidth in {city}.":"{name} a résilié.
Trop de pannes et pas assez de bande passante à {city}.", +"{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.":"{name} frappe {city}
Plus de courant : ton POP est éteint pour deux jours. Un groupe électrogène l’aurait sauvé.", +"{name} hits {city}
The grid is down, but your backup generator kept the routers running.":"{name} frappe {city}
Le réseau électrique est tombé, mais ton groupe électrogène a maintenu les routeurs en marche.", +"{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.":"{name} est annulé.
L’usine de câbles reprend le verre dont personne n’a besoin : {price} remboursés.", +"{name} is furious.
Fix service in {city} or they leave.":"{name} est furieux.
Rétablis le service à {city}, sinon il s’en va.", +"{name} is getting unhappy.
Happiness {p}% in {city}.":"{name} commence à râler.
Satisfaction {p} % à {city}.", +"{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.":"{name} est terminé : +{pay}
Tu as livré {pct} de ce que voulait le public.", +"{name} starts today!
{bw} of extra demand in {city} for {d} days.":"{name} commence aujourd’hui !
{bw} de demande supplémentaire à {city} pendant {d} jours.", +"{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.":"{name} a été un désastre.
Seulement {pct} livré, et ça a fait le buzz sur les réseaux sociaux. Pénalité : {pay}.", +"{net} PNI is back to normal.":"La PNI {net} est revenue à la normale.", +"{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.":"La PNI {net} est désormais un goulot sacrificiel.
Un flood venu de là meurt sur le petit port au lieu de ton réseau, mais le trafic légitime qui y passe tourne à mi-capacité.", +"{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.":"{net} a coupé le peering avec toi sur {ix} à {city}.
{why} Le trafic bascule sur ton meilleur chemin suivant.", +"{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.":"{net} a coupé le peering avec toi sur {ix}.
{why} Le trafic bascule sur ton meilleur chemin suivant.", +"{net} declined the PNI.
{why}":"{net} a refusé le PNI.
{why}", +"{net} declined.
{why}":"{net} a refusé.
{why}", +"{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.":"{net} ne fait pas de PNI en {port}.
Rien en dessous de 100G. Revenez avec plus de trafic, ou une optique plus grosse.", +"{net} joined {ix}!
Another member paying {fee}/mo for a port.":"{net} a rejoint {ix} !
Encore un membre qui paie {fee}/mois pour un port.", +"{net} says not yet.
Send them {min}+ Gbps first.":"{net} dit : pas encore.
Envoie-leur d’abord {min}+ Gbps.", +"{net} transit is live in {city}.
Full table received: ~1,000,000 routes.":"Le transit {net} est actif à {city}.
Full table reçue : ~1 000 000 de routes.", +"{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP démantelé.
{fee} de pénalités de résiliation anticipée versées à {m} clients.", +"{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP démantelés.
{fee} de pénalités de résiliation anticipée versées à {m} clients.", +"{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nouvelle session sur {ix}.
Des petits réseaux, mais ça s’additionne, et tout compte pour le club.", +"{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nouvelles sessions sur {ix}.
Des petits réseaux, mais ça s’additionne, et tout compte pour le club.", +"{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.":"{p} du trafic de {city} est ramené vers le transit à {to} : {ms} ms aller-retour. Les utilisateurs le sentent au-delà de 20 ms (environ 1 500 km), et au-delà de 50 ms le haut débit et les services internet comptent comme un mauvais service. Achetez du transit ici ou à proximité, ou peerez localement.", +"{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about \"the value of premium interconnection\". Prices unchanged.":"{rival} débauche les membres de DE-KICKS à {city}.
DE-KICKS a répondu par un webinaire sur « la valeur de l’interconnexion premium ». Prix inchangés.", +"{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.":"Centre de scrubbing {tier} en ligne à {city}.
Les attaques jusqu’à {g} sont nettoyées, et tu peux vendre de la protection DDoS.", +"{tier} scrubbing unlocks at customer level {lv}.":"Le scrubbing {tier} se débloque au niveau client {lv}.", +"{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.":"{who} a demandé sur une liste de diffusion si quelqu’un avait un contact qui marche chez {me}.
Leur demande de peering a dormi un mois dans votre boîte.", +"“Could you resend the LOA?”
You have sent it four times.":"« Pourriez-vous renvoyer la LOA ? »
Vous l’avez envoyée quatre fois.", +"“It is with the provisioning team.”
Nobody has ever met the provisioning team.":"« C’est chez l’équipe de provisioning. »
Personne n’a jamais rencontré l’équipe de provisioning.", +"“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.":"« Nous attendons le colo pour le cross-connect. »
Le colo dit qu’il les attend.", +"🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.":"🐘 ALERTE : la CVE-2026-31337 vient de mettre à terre la moitié d’Internet.
Un bug dans PHP a transformé tous les sites vaguement WordPress de la planète en mineurs de crypto. Le trafic eyeballs baisse de 30 % pendant quelques jours, le temps que le monde patche. Tes clients d’hébergement s’y collent à 3 h du matin.", +"A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.":"Un routeur 3.2T pour le prix d’une voiture d’occasion. L’interface web a neuf cents onglets, et l’un d’eux est celui qu’il te faut.", +"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.":"Canicule à 45 °C à {city} : le réseau a délesté, les groupes froids ont lâché, et le groupe électrogène de {dc} aussi.", +"A CDN's server in your rack. Serves most of that CDN's traffic locally, for the price of power.":"Un serveur de CDN dans ta baie. Il sert en local l’essentiel du trafic de ce CDN, pour le prix de l’électricité.", +"A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.":"Un POP (point de présence), c’est ton routeur dans une baie, ici. Ensuite, connecte-le : tire de la fibre depuis un de tes POP, ou achète du transit directement ici.", +"A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.":"Un POP, c’est un seul bâtiment tant que tu n’ajoutes pas un second site dans l’onglet Infra. Ensuite, une coupure de courant, un agent d’entretien ou une panne de clim ne met hors service que la moitié de la ville, et tu choisis sur quel site se branche chaque port transit, PNI et IX, ou tu choisis Les deux pour répartir un LAG sur les deux bâtiments. Répartis-les, sinon les deux moitiés de ta redondance finiront dans la même salle plongée dans le noir. Attention aux coupures d’anneau métropolitain, qui isolent le site B.", +"A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.":"Un saut PPPoE a rogné 8 octets sur ta MTU et personne n’a prévenu les serveurs. Les gros transferts vers {net} restent bloqués pour toujours ; les petits marchent très bien, ce qui rend le tout bien pire.", +"A Petabit a Second":"Un pétabit par seconde", +"A Spanish carrier starring in every Latin American market, at least until it sells the next one.":"Un opérateur espagnol en vedette sur chaque marché d’Amérique latine, au moins jusqu’à ce qu’il revende le suivant.", +"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.":"Une pelleteuse a coupé l’anneau métropolitain entre tes deux sites à {city}. En fait, les deux chemins de fibre passaient par la même rue.", +"A backhoe found your fiber between {a} and {b}.":"Un tractopelle a trouvé ta fibre entre {a} et {b}.", +"A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.":"Une pelleteuse qui préparait une nouvelle station-service a creusé en plein dans ta fibre {a}–{b}. D’après les plans, elle était deux mètres plus à gauche.", +"A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.":"Un switch bare-metal sous SONiC open source. Fait économiser une fortune, jusqu’au jour où il plante et qu’il n’y a personne à appeler.", +"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Un castor a rongé ta longueur d’onde {a}–{b}. Il s’est servi de la fibre pour finir un barrage.", +"A bet on a tiny island in the middle of the Pacific.":"Un pari sur une minuscule île au milieu du Pacifique.", +"A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.":"Un fabric plus gros transporte plus de trafic et accueille plus de membres. Ton routeur ici doit quand même suivre.", +"A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.":"Un black-out a frappé {city} et ton POP n’a pas de groupe électrogène. Tous les autres réseaux ici en ont un. Achètes-en un.", +"A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.":"Une capitale perchée dans les Andes, juste au sud de l’équateur, qui paie en dollars américains. Des volcans à chaque horizon.", +"A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.":"Une capitale dans une vallée au pied d’une montagne verte. Le réseau électrique national a connu quelques jours noirs célèbres : prévois un groupe électrogène.", +"A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.":"Une capitale à côté des ruines de Carthage, là où la Méditerranée est la plus étroite. Les câbles rejoignent la Sicile en un rien de temps.", +"A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.":"Un cargo a traîné son ancre sur le fond de la Baltique pendant 100 km et jure n’avoir rien remarqué. Les enquêteurs « se penchent sur la question ».", +"A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.":"Un cargo a « oublié » de remonter son ancre et l’a traînée sur ton câble {a}–{b}. Les armateurs sont désolés, et assez difficiles à joindre.", +"A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.":"Un pigeon voyageur a battu un de tes liens lors d’un test de latence informel. Le moral est en berne. Le débit va bien.", +"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.", +"A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.":"Une ville sur sept collines au bord du lac Victoria. Pas de côte, donc chaque paquet vers la mer traverse d’abord le Kenya ou la Tanzanie.", +"A community exchange in a Hudson Street basement. Schmear not included.":"Un IX associatif dans un sous-sol de Hudson Street. Cream cheese non compris.", +"A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.":"Un IX associatif géré depuis l’étage d’un bar à cidre. Minuscule, pas cher, et chaque membre a droit à un verre.", +"A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.":"Un template de config a rendu « {{ router_id }} » tel quel à {city}. Le routeur l’a pris personnellement.", +"A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.":"Un rayon cosmique a inversé un bit dans ton routeur de {city}. Il croit maintenant que 10.0.0.0/8 se trouve en Antarctique.", +"A crash here only costs one router’s capacity for a few days.":"Ici, un plantage ne coûte que la capacité d’un routeur pendant quelques jours.", +"A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.":"Un crocodile a croqué un morceau de ta fibre {a}–{b}. Il n’a pas trouvé ça terrible.", +"A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Un cross-connect avec un petit réseau prend quelques semaines. Avec les grands réseaux de contenu, les Tier 1 et les grands opérateurs d’accès, une nouvelle PNI ou une extension prend en général environ un mois, mais une commande sur sept glisse à 6 à 12 mois. Les réseaux de contenu et les Tier 1 commencent à 100G. Doitsche Telekomm vend encore du 1G.", +"A curious shark bit your subsea cable {a}–{b}.":"Un requin curieux a mordu ton câble sous-marin {a}–{b}.", +"A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.":"Un client a ouvert un ticket P1 : « Internet est lent ». En pièce jointe, une photo de son routeur, débranché.", +"A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.":"Un cross-connect dédié vers un seul réseau dans {dc}. Demande plus de trafic que le peering sur IX, mais a sa propre capacité.", +"A digger found your {a}–{b} fiber. A different digger is coming to fix it.":"Une pelleteuse a trouvé ta fibre {a}–{b}. Une autre pelleteuse arrive pour la réparer.", +"A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.":"Un connecteur sale sur {a}–{b} perd 2 % des paquets. TCP déteste ça : le débit s’effondre alors que le lien a l’air nickel.", +"A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.":"Un drop bear est tombé sur l’équipe d’épissure sur {a}–{b}. Ils refusent de travailler sous les arbres, et la coupure est sous les arbres.", +"A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.":"La tarière à piquets d’un éleveur a trouvé ta fibre {a}–{b}. Les moutons regardaient.", +"A fee for being ready for the cloud.":"Des frais pour être prêt pour le cloud.", +"A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.":"Un ferry a jeté l’ancre dans le détroit de Cook et a trouvé ton câble {a}–{b}. Le ferry va bien.", +"A fiber co-op for one valley. Every member owns a metre of cable.":"Une coopérative fibre pour une seule vallée. Chaque membre possède un mètre de câble.", +"A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.":"Une paire de fibres rien qu’à toi. Le verre ne coûte pas cher, le matériel si : tu achètes un système de ligne avec un amplificateur tous les {km} km, puis des optiques pour chaque canal. Ton matériel peut tomber en panne, et c’est toi qui répares.", +"A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.":"Une paire de fibres sur {cable}, {km} km. Elle partage le câble avec les longueurs d’onde de tout le monde, ancres comprises.", +"A fibre here uses optics this model cannot take.":"Une fibre ici utilise des optiques que ce modèle n’accepte pas.", +"A firmware bug in the {sys} at {a} set every channel to “maintenance”.":"Un bug firmware du {sys} à {a} a mis tous les canaux en « maintenance ».", +"A firmware update bricked your router in {city}.":"Une mise à jour firmware a briqué ton routeur à {city}.", +"A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.":"Un bateau de pêche à l’ancre étonnamment lourde a coupé {a}–{b}. Il ne pêchait pas.", +"A fishing fleet is trawling exactly where you need to lay.":"Une flotte de chalutiers drague pile là où tu dois poser.", +"A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.":"Une grève forestière a stoppé les livraisons de déchets de bois à la centrale qui refroidit {dc}. Pas de vapeur, pas de groupes froids : tes routeurs de {city} tournent à mi-capacité.", +"A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.":"Un PNI gratuit avec Voda-Phony. Matos : routeurs Absolute Unit 3.2T, ports 3.2T et longueurs d’onde 12.8T.", +"A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.":"Un jeu de navigateur gratuit et cartoon sur le fonctionnement d’Internet. Commence comme un minuscule réseau dans une seule ville, lance le haut débit grand public, achète du transit IP à des opérateurs Tier 1 et Tier 2, fais du peering sur des points d’échange, monte des interconnexions privées et des caches CDN embarqués, et pose de la fibre terrestre, des longueurs d’onde sous-marines et ta propre fibre noire avec du DWDM et des optiques ZR. Signe des clients entreprise, hébergement, trading haute fréquence, GPU pour l’IA et hyperscalers, et garde-les contents pendant que pelleteuses, requins, fat fingers, fuites de routes, attaques DDoS et géopolitique cassent tout.", +"A friendly cable with French manners.":"Un câble sympathique aux manières bien françaises.", +"A futuristic city that is not built yet, demo day in {city}":"Une ville futuriste pas encore construite, journée démo à {city}", +"A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable.":"Une passerelle de l’Europe vers l’Inde, par la mer Rouge. Se prononce comme un câble très surpris.", +"A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.":"Une oie a attaqué le technicien en route vers ta cabane d’amplis. L’oie a gagné. Intervention reportée, rien de cassé.", +"A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.":"Un grand requin blanc s’est intéressé à ton câble {a}–{b} et l’a mordu. Puis il l’a recraché : pas assez de goût.", +"A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.":"Cent quarante-quatre ports 3.2T et des buffers assez profonds pour y cacher une flotte entière. Démarre toujours avant ton flat white. La barbe a maintenant sa propre barbe.", +"A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.":"Une araignée huntsman grande comme la main s’est installée dans le routeur de {city}. Personne n’a osé y mettre la main pour le redémarrer.", +"A hyperscaler bought every wave of that size on this route last week.":"Un hyperscaler a acheté la semaine dernière toutes les ondes de cette taille sur cette route.", +"A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.":"Un kangourou a boxé ton technicien sur {a}–{b}. Le technicien a perdu aux points, et l’épissure attendra.", +"A kangaroo hit the fiber hut on {a}–{b}. The hut lost.":"Un kangourou a percuté la cabane fibre sur {a}–{b}. La cabane a perdu.", +"A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.":"Un kéa a arraché les joints en caoutchouc du boîtier d’épissure sur {a}–{b}, puis s’est attaqué à la camionnette. Les kéas sont comme ça.", +"A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.":"Un kilomètre de « cuivre » a disparu de ta tranchée {a}–{b}. C’était ta fibre. Le ferrailleur l’a renvoyée avec un petit mot.", +"A landslide in the Andes buried your {a}–{b} fiber.":"Un glissement de terrain dans les Andes a enseveli ta fibre {a}–{b}.", +"A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.":"Une seconde intercalaire a convaincu un de tes routeurs qu’on est en 1970. L’uptime affiche moins 56 ans. Le trafic va bien.", +"A leased {wave} wave on this route costs {price}/mo.":"Une longueur d’onde {wave} louée sur ce parcours coûte {price}/mois.", +"A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.":"Un troupeau de lamas a piétiné la balise de fibre sur {a}–{b}. Puis un tractopelle a trouvé la fibre.", +"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.":"Un membre de {ix} a fait fuiter la table de routage complète dans le route server. Les limites max-prefix ont sauté partout. Ton peering là-bas est tombé.", +"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.":"Un membre de {ix} a fait fuiter la table de routage complète dans le route server. Les limites max-prefix ont sauté partout. Ton peering là-bas, à {city}, est tombé.", +"A mile up and halfway between the coasts, so every cross-country route stops here for a breather.":"À 1 600 m d’altitude et à mi-chemin entre les deux côtes : chaque route transcontinentale s’y arrête pour reprendre son souffle.", +"A mobile network named after the sound of a toast. Cheers to every 5G tower.":"Un réseau mobile qui porte le nom du bruit d’un toast. Tchin-tchin à chaque antenne 5G.", +"A monthly PDF of your own traffic graphs.":"Un PDF mensuel de tes propres graphes de trafic.", +"A new VP wants to \"monetise interconnection\" in this market.":"Un nouveau VP veut « monétiser l’interconnexion » sur ce marché.", +"A new region is coming online soon. It has been coming online soon since 2019.":"Une nouvelle région arrive bientôt. Elle arrive bientôt depuis 2019.", +"A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.":"Un nouveau technicien à {a} a « rangé » le sac de nœuds de câbles. Ton lien {a}–{b} faisait partie du sac de nœuds.", +"A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.":"Un nouveau technicien à {city} a utilisé de la Vegemite comme pâte thermique. Elle conduit le goût, pas la chaleur, et ton routeur a cuit.", +"A path from Cape Town to Cairo":"Un chemin du Cap au Caire", +"A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served":"Un chemin du Cap au Caire, des POP à Lagos et Nairobi, et 150 Gbps servis", +"A path from Los Angeles to Sydney with 1.6T on every hop, a path from Los Angeles to Tokyo, and 150 Gbps served":"Un chemin de Los Angeles à Sydney en 1.6T sur chaque saut, un chemin de Los Angeles à Tokyo, et 150 Gbps servis", +"A path from Los Angeles to Tokyo":"Un chemin de Los Angeles à Tokyo", +"A path from Marseille to Singapore":"Un chemin de Marseille à Singapour", +"A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row":"Un chemin de Marseille à Singapour, et 80 Gbps entre l’Asie et le reste de ton réseau pendant 30 jours d’affilée", +"A port here is bigger than {pn}.":"Un port ici est plus gros que {pn}.", +"A port on IX.brrr Manaus":"Un port sur IX.brrr Manaus", +"A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.":"Un opossum s’est glissé dans le poste électrique derrière {dc} à {city}. L’opossum va bien. Ton POP, non.", +"A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Une coupure de courant a mis {site} hors service à {city}. {other} a tenu, donc le POP tourne à mi-capacité. Tout ce qui n’est branché que sur le site éteint est hors ligne.", +"A private cross-connect to one network in the same data center, for when traffic outgrows the IX.":"Un cross-connect privé vers un réseau dans le même datacenter, pour quand le trafic devient trop gros pour l’IX.", +"A protected hamster species lives along the right-of-way.":"Une espèce protégée de hamster vit le long du tracé.", +"A quick hop across the Red Sea between Egypt and Saudi Arabia.":"Un saut rapide à travers la mer Rouge entre l’Égypte et l’Arabie saoudite.", +"A rainbow bridge from Singapore to California, via Jakarta and Manila.":"Un pont arc-en-ciel de Singapore à la Californie, via Jakarta et Manila.", +"A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.":"Un site de régénération reconvertit la lumière en bits à mi-chemin et la renvoie toute fraîche, donc les optiques n’ont qu’à atteindre le site suivant. Chacun demande une carte de régénération par canal allumé. {price}/mois par site pour l’abri.", +"A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.":"On a demandé à un technicien remote-hands à {a} de nettoyer la fibre du port 1. Il l’a nettoyée avec un sandwich. {a}–{b} est tombé.", +"A rich mix of everything the fishermen brought in.":"Un riche mélange de tout ce que les pêcheurs ont ramené.", +"A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.":"Une route que tu as retirée en année 1 est encore visible quelque part sur Internet. Personne ne sait où. Tout va bien. Probablement.", +"A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.":"Une mise à jour de routine pendant la nuit a mis ton routeur de {city} hors ligne jusqu’à midi. Floptus te salue.", +"A secret badge":"Un badge secret", +"A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.":"Un switch partagé dans une ville. Un port, plein de sessions de peering gratuites. Le route server te met en peering avec tous les membres ouverts d’un coup.", +"A ship dragged its anchor across your {a}–{b} cable.":"Un navire a traîné son ancre sur ton câble {a}–{b}.", +"A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.":"Un navire à la dérive, sans moteur, a traîné son ancre à travers les câbles de la mer Rouge. Tout le monde accuse tout le monde. Les câbliers ont besoin des autorisations de trois gouvernements.", +"A short cable across a very tense strait.":"Un câble court à travers un détroit très tendu.", +"A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.":"Une petite capitale au milieu du désert. Les câbles atterrissent à Swakopmund, puis traversent les dunes.", +"A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.":"Une petite ville sur un grand carrefour. Les câbles venant d’Asie, d’Afrique et du Moyen-Orient atterrissent ici pour éviter le grand détour.", +"A small island at the crossroads of every Indian Ocean cable.":"Une petite île au carrefour de tous les câbles de l’océan Indien.", "A small island where cables from the US, Japan, Australia, the Philippines and Singapore all meet. Split a crossing here and each half carries more. Typhoons take the grid down every few years, so bring a generator.":"Une petite île où se croisent les câbles des États-Unis, du Japon, d’Australie, des Philippines et de Singapour. Coupe une traversée ici et chaque moitié transporte davantage. Les typhons font tomber le réseau électrique tous les quelques ans : prévois un groupe électrogène.", -"Palau, on a branch cable from Guam. Coral reefs, jellyfish that do not sting, and very little traffic.":"Palau, au bout d’un câble en dérivation depuis Guam. Des récifs de corail, des méduses qui ne piquent pas, et très peu de trafic.", -"The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.":"La capitale des Îles Marshall, un anneau de corail à deux mètres au-dessus de la mer. Un seul câble vers Guam, et chaque paquet le sait.", -"Papua New Guinea’s capital, in a country of eight hundred languages, with a cable to Sydney. The grid fails often, so bring a generator.":"La capitale de la Papouasie-Nouvelle-Guinée, dans un pays aux huit cents langues, avec un câble vers Sydney. Le réseau électrique lâche souvent : prévois un groupe électrogène.", -"The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.":"La capitale des Îles Salomon, sur Guadalcanal. Le câble vers Sydney n’est arrivé qu’il y a quelques années ; avant, tout passait par satellite. Le courant est moins fiable que le câble.", -"New Caledonia, a slice of France in the Coral Sea, with a cable to Sydney and a nickel mine on every hill.":"La Nouvelle-Calédonie, un bout de France dans la mer de Corail, avec un câble vers Sydney et une mine de nickel sur chaque colline.", -"Fiji’s capital and the crossroads of the South Pacific. Cables between the US, Australia and New Zealand stop here, and smaller ones go on to Tonga and Samoa.":"La capitale des Fidji et le carrefour du Pacifique Sud. Les câbles entre les États-Unis, l’Australie et la Nouvelle-Zélande s’y arrêtent, et de plus petits repartent vers les Tonga et les Samoa.", -"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Les Tonga tiennent à un seul câble depuis les Fidji. En 2022, un volcan sous-marin l’a coupé et le pays est resté hors ligne pendant des semaines.", -"Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.":"La capitale des Samoa, avec des câbles vers les Fidji, les Samoa américaines et Tahiti. Le dimanche, c’est l’église : les fenêtres de maintenance sont le samedi.", +"A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.":"Une petite ville avec son propre IX.brrr, parce que les provedores du coin en voulaient un. Le peering, ce n’est pas que pour les grandes villes.", +"A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable.":"Un petit câble tout doux de Broadstairs à Ostende, puis dans les terres jusqu’à Oostkamp. À ne pas confondre avec un autre câble parfumé aux agrumes.", +"A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.":"Un IX commercial plus petit, au bout de la rue de DE-KICKS. Publie ses prix sur une seule page web, ce que DE-KICKS considère comme un acte de guerre. Les ports sont livrés sans webinaire commercial.", +"A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.":"Un soudeur qui épissait le câble de quelqu’un d’autre dans une chambre de tirage près de {b} a soudé le tien à la place.", +"A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.":"Un FAI d’État a annoncé « par accident » tes préfixes pendant 18 minutes. Son communiqué d’excuses était étrangement bien rédigé. Beaucoup de réseaux envoient encore ton trafic dans le vide.", +"A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.":"Un cacatoès à huppe jaune a rongé ta fibre {a}–{b}, puis il est revenu pour celle de secours.", +"A terabit per second of happy traffic.":"Un térabit par seconde de trafic heureux.", +"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.", +"A thousand tiny social networks on one rack.":"Mille minuscules réseaux sociaux sur un seul rack.", +"A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.":"Un pays minuscule à l’entrée de la mer Rouge, où atterrissent une douzaine de câbles entre l’Europe, l’Asie et l’Afrique. Il facture en conséquence.", +"A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.":"Une petite ville de surf en Cornouailles où atterrit une part remarquable de l’Internet transatlantique. Les falaises sont pleines de fibre.", +"A tiny telco in a country where the world’s cables come ashore. Prices to match.":"Un tout petit opérateur dans un pays où les câbles du monde entier touchent terre. Tarifs à l’avenant.", +"A town council wants a public hearing. About the color of the manhole covers.":"Un conseil municipal exige une réunion publique. Sur la couleur des plaques d’égout.", +"A tram line construction project in {city} found your metro ring. Both halves of it.":"Le chantier d’une ligne de tram à {city} a trouvé ton anneau métropolitain. Ses deux moitiés.", +"A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.":"Un chalutier au large d’Ostende a traîné son chalut en plein sur ton câble {a}–{b}. La mer du Nord fait une trentaine de mètres de fond et grouille de bateaux.", +"A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.":"Une réunion de deux heures sur les hostnames des routeurs s’est conclue par un vote pour « router-final-v2-NEW ».", +"A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.":"Un ingénieur de passage venu de Londres a apporté de la Marmite au NOC de {city}. Les relations diplomatiques ont rompu, et ton routeur aussi, pendant que tout le monde se disputait.", +"A wave here is faster than {pn}.":"Une longueur d’onde ici est plus rapide que {pn}.", +"A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.":"Un marché bizarre et mal desservi. Le transit coûte 2,5× le prix européen (Afrique 2×, Océanie 1,8×), les opérateurs historiques locaux ne font presque que du peering payant, et les IX sont fragmentés. Mais la demande est énorme et les utilisateurs s’abonnent 60 % plus vite qu’ailleurs. C’est ici que peering et caches rapportent le plus.", +"A whale has parked on the route and will not move.":"Une baleine s’est garée sur le tracé et refuse de bouger.", +"A whole network fabric that fits in your pocket.":"Un fabric réseau complet qui tient dans ta poche.", +"A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.":"Un navire de maintenance d’un parc éolien a jeté l’ancre sur ton câble {a}–{b}. Il était là pour réparer une éolienne.", +"A {optic} on {a}–{b} overheated and is now a very expensive keychain.":"Une optique {optic} sur {a}–{b} a surchauffé et n’est plus qu’un porte-clés hors de prix.", +"A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.":"Une optique {optic} sur {a}–{b} s’est mise à annoncer une température de 900 °C. C’était faux, mais elle s’est coupée quand même.", +"A {size} {vec} attack is hitting {city}{how}.":"Une attaque par {vec} de {size} frappe {city}{how}.", +"AGI lab (allegedly)":"Labo d’AGI (soi-disant)", +"AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.":"Des labos d’AGI (soi-disant) qui veulent des WAN IA de 12,8 à 25,6 Tbps, et des PNI gratuits avec Du-opoly et Ooh-redoo. Matos : routeurs Mikrowtik CCR 3.2T.", +"AI GPU data center":"Datacenter GPU pour l’IA", +"AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.":"Datacenters GPU pour l’IA et on-ramps cloud. Matériel : routeurs Chonk 800, optiques Sizzle 800ZR+, systèmes de ligne ROADMaster 9000, construction de ta propre fibre.", +"AI WAN between two AI factories":"WAN IA entre deux usines d’IA", +"AI and cloud campuses nearby: {list}":"Campus IA et cloud à proximité : {list}", +"AI training interconnect":"Interconnexion d’entraînement IA", +"AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.":"Interconnexions d’entraînement IA et contrats DCI d’hyperscalers au térabit. Matériel : routeurs Absolute Unit 1.6T, transpondeurs Sienna WaveMagic 1.6T.", +"AS number":"Numéro d’AS", +"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.", +"Abandon the fiber":"Abandonner la fibre", +"About {n} days to go. Nothing to do but wait, or chase it.":"Encore environ {n} jours. Rien à faire qu’attendre, ou relancer.", +"Accept":"Accepter", +"Accept all requests":"Accepter toutes les demandes", +"Across the Mediterranean, Egypt to France. Romantic, in a cable way.":"À travers la Méditerranée, de l’Égypte à la France. Romantique, pour un câble.", +"Across-the-River DC":"Le DC sur l’autre rive", +"Ad campaign!":"Campagne de pub !", +"Ad campaign: {n}d left":"Campagne de pub : encore {n} j", +"Add a LAG member or upgrade the PNI.":"Ajoute un membre au LAG ou mets à niveau le PNI.", +"Add a LAG member, upgrade the port or buy a second upstream.":"Ajoute un membre au LAG, mets à niveau le port ou achète un second upstream.", +"Add a second site {cost} + {mo}/mo":"Ajouter un second site {cost} + {mo}/mois", +"Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.":"Ajoute un second site dans une métropole depuis l’onglet Infra, pour qu’une coupure de courant ne plonge plus toute la ville dans le noir.", +"Add parallel link":"Ajouter un lien parallèle", +"Add router {cost} + {mo}/mo":"Ajouter un routeur {cost} + {mo}/mois", +"Afraid of sharks: needs a path with no subsea cable":"A peur des requins : veut un chemin sans câble sous-marin", +"Africa":"Afrique", +"Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands.":"Africa Coast to Europe : une vingtaine de pays sur un seul câble, de la France au Cap. Un as dans bien des mains.", +"Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.":"Le géant du mobile en Afrique, d’un jaune visible depuis l’orbite. Jamais vraiment à vide.", +"Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.":"La capitale la plus à l’ouest de l’Afrique, où la moitié des câbles qui longent la côte font une pause. La brise atlantique, c’est du free cooling.", +"After that, the normal price returns, plus a small loyalty administration fee.":"Ensuite, le prix normal revient, plus de petits frais de gestion de fidélité.", +"Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.":"Capitale de l’agrobusiness et berceau de la musique sertaneja. Chaque camion, tracteur et silo veut une connexion.", +"All ({n})":"Toutes ({n})", +"All cities":"Toutes les villes", +"All connections {n}":"Toutes les connexions {n}", +"All customers":"Tous les clients", +"All networks":"Tous les réseaux", +"All quiet":"Tout est calme", +"All roads lead to Rome. Most packets still go via Milan.":"Tous les chemins mènent à Rome. La plupart des paquets passent quand même par Milan.", +"All systems green. Enjoy it while it lasts.":"Tout est au vert. Profites-en, ça ne durera pas.", +"All the way around Africa and back. Cheapest capacity on the map.":"Tout le tour de l’Afrique, aller-retour. La capacité la moins chère de la carte.", +"All your waves on one cable share its fate when it is cut.":"Toutes tes longueurs d’onde sur un même câble partagent son sort quand il est coupé.", +"All {n} links in that trench went down with it.":"Les {n} liens de cette tranchée sont tombés avec elle.", +"All {n} out of reach":"Les {n} hors couverture", +"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Presque tous les câbles Europe–Asie traversent l’Égypte. Les péages sont légendaires.", +"Already reach you through your transit provider here and think that is fine.":"Te joignent déjà via ton fournisseur de transit ici et trouvent que ça suffit.", +"Always agrees with you. Iberia to West Africa.":"Toujours d’accord avec toi. De la péninsule Ibérique à l’Afrique de l’Ouest.", +"Always open. Ask no questions. Do not be late.":"Toujours ouvert. Pas de questions. Ne sois pas en retard.", +"Always run an odd number of POPs. Our numerologist insists.":"Garde toujours un nombre impair de POP. Notre numérologue insiste.", +"Always-on":"Toujours actif", +"American Samoa to Hawaii and Samoa on old, smoky glass.":"Des Samoa américaines à Hawaï et aux Samoa, sur une vieille fibre enfumée.", "American Samoa: a deep harbour, tuna canneries and a branch of the cable from Australia to Oregon.":"Les Samoa américaines : un port en eau profonde, des conserveries de thon et une dérivation du câble entre l’Australie et l’Oregon.", -"Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.":"Tahiti, en Polynésie française. Un câble remonte vers Hawaï, et le nouveau, du Chili à l’Australie, s’y arrête : le gué entre l’Amérique du Sud et l’Océanie.", -"Los Angeles to Hawaii, Guam and the Philippines. See you later, packets.":"De Los Angeles à Hawaï, Guam et les Philippines. À plus tard, les paquets.", +"Americas":"Amériques", +"Amp huts and spares":"Abris d’amplis et rechanges", +"Amplifier failure":"Panne d’amplificateur", +"Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.":"Amsterdam, capitale européenne de l’hébergement, en pleine saison des botnets. Chaque grille-pain connecté, babyphone et frigo jamais patché de la planète a choisi son camp, et ce n’est pas le tien. Une vague tous les quelques jours, de plus en plus souvent dans les térabits, pendant que tout le reste continue de casser aussi. Tu commences avec du matériel plus gros déjà débloqué, et tu en auras besoin.", +"An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.":"Un agent IA qui répond pour vous à chaque demande de peering et à chaque alerte max-prefix, tous les jours. {price}/an. Entraîné sur vingt ans de listes de diffusion sur le peering.", +"An Asia–America gateway cable that breaks so often it has its own support group.":"Un câble passerelle Asie–Amérique qui casse si souvent qu’il a son propre groupe de parole.", +"An ISP run from the back of a kebab shop. Late-night support is excellent.":"Un FAI géré depuis l’arrière-boutique d’un kebab. Le support de nuit est excellent.", +"An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.":"Un monstre aux ports 800G, construit autour de la puce de forwarding Junipurr PacketOinker™. Fait groin-groin à line rate. Accepte les optiques 800ZR+.", +"An auditor asked for a network diagram. You sent the game map. They approved it.":"Un auditeur a demandé un schéma réseau. Tu lui as envoyé la carte du jeu. Il l’a validée.", +"An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.":"Un script d’automatisation à {city} a lancé « sed » sur toute la config au lieu d’une ligne. Toutes les interfaces s’appellent maintenant « TODO ».", +"An early heads-up below 60% happiness, long before they are furious.":"Une alerte précoce sous 60 % de satisfaction, bien avant qu’il soit furieux.", +"An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.":"Un séisme a déboîté ta fibre {a}–{b} quelque part au-dessus de 4 000 mètres.", +"An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.":"Un serpent brun de l’Est s’est installé dans la chambre de tirage sur {a}–{b}. Personne ne se porte volontaire pour réparer ta fibre.", +"An edge cloud that is, despite the name, quite fast.":"Un edge cloud qui, malgré son nom, est plutôt rapide.", +"An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.":"Un ingénieur de {co} a inversé Tx et Rx sur ta longueur d’onde {a}–{b}. La lumière entre, la confusion sort.", +"An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.":"Une ville immense et très connectée, loin de la mer. Chaque octet sous-marin arrive par un backhaul depuis Mumbai ou Chennai.", +"An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.":"Une cabane d’amplification en ligne entre {a} et {b} a perdu son alimentation. Une famille de souris s’y était installée.", +"An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.":"Un stagiaire a poussé à {city} une ACL qui refuse 0.0.0.0/0. Très sécurisé. Très hors ligne.", +"An island capital of beaches and startups. Half the city works remotely from a surf shack.":"Une capitale insulaire de plages et de startups. La moitié de la ville télétravaille depuis une cabane de surf.", +"An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.":"Une capitale insulaire avec un grand port de minerai de fer. Sa moqueca est l’originale, demande à n’importe qui de l’Espírito Santo.", +"An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.":"Une ville insulaire aux maisons coloniales couvertes d’azulejos, connue comme la capitale brésilienne du reggae. Ses marées comptent parmi les plus fortes du pays.", +"An old cable from Cape Town round to India, via some very small islands.":"Un vieux câble de Cape Town jusqu’à l’Inde, via de toutes petites îles.", +"An old ring around the whole continent, the long way round Cape Horn.":"Un vieil anneau autour de tout le continent, par le long détour du cap Horn.", +"An undersea landslide snapped {a}–{b}.":"Un glissement de terrain sous-marin a sectionné {a}–{b}.", +"An undersea volcano erupted next to your {a}–{b} cable. The repair ship found it in pieces, some of them kilometres away.":"Un volcan sous-marin est entré en éruption à côté de ton câble {a}–{b}. Le navire de réparation l’a retrouvé en morceaux, certains à des kilomètres.", +"Anchors Away":"Ancre et damnation", +"Anchors Aweigh":"Levez l’ancre", +"Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.":"Ville antique, câbles flambant neufs. La Grèce veut devenir le hub d’atterrissement de la Méditerranée orientale.", +"Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.":"La capitale pétrolière de l’Angola, et le port d’attache des câbles qui filent droit vers le Brésil. L’une des villes les plus chères du monde pour une chambre d’hôtel.", +"Animations":"Animations", +"Another London–Amsterdam route. Everyone has one, so prices are low.":"Encore une route London–Amsterdam. Tout le monde en a une, donc les prix sont bas.", +"Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.":"Encore une ancre, encore une coupure : ton câble {a}–{b}. Le pavillon du navire a changé deux fois pendant l’enquête.", +"Another hop across the Channel, with dark fiber for sale. There is always room for one more.":"Encore un saut au-dessus de la Manche, avec de la fibre noire à vendre. Il y a toujours de la place pour un de plus.", +"Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.":"Encore un câble sous-marin du Vietnam cassé : ton lien {a}–{b}. Le navire de réparation viendra après les fêtes. Lesquelles, mystère.", +"Another one":"Un autre", +"Answered your mail: {a} accepted, {d} declined.":"A répondu à votre courrier : {a} acceptées, {d} refusées.", +"Apply for a license {price} + {mo}/mo · ~45 days":"Demander une licence {price} + {mo}/mois · ~45 jours", +"Apr":"avr", +"Archaeologists found a Roman bathhouse on your route.":"Des archéologues ont trouvé des thermes romains sur ton tracé.", +"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.", +"Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.":"La deuxième ville d’Argentine : universités, usines automobiles et fernet-cola, dans des proportions dont les locaux débattent pendant des heures.", +"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.", +"As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.":"À mesure que ton trafic de pointe et ton empreinte grandissent, de plus gros clients arrivent : startups de streaming et universités, puis datacenters GPU pour l’IA et on-ramps cloud, puis interconnexions d’entraînement IA et contrats DCI d’hyperscalers qui se comptent en térabits. Les bulles roses $$ signalent les gros.", +"Asia":"Asie", +"Asia hub. Great peering, far from home.":"Hub de l’Asie. Super peering, loin de chez soi.", +"Asia's hub. Expensive, humid, very well connected.":"Le hub de l’Asie. Cher, humide, très bien connecté.", +"Asia, Africa, Europe, and one more thing.":"Asie, Afrique, Europe, et encore une chose.", +"Ask for another box. The overflow goes out over peering or transit.":"Demande un autre boîtier. Le surplus part en peering ou en transit.", +"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.", +"Asked NetChill’s peering team to “please provide more Netchill”.":"A demandé à l’équipe peering de NetChill de « fournir plus de Netchill, svp ».", +"At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.":"Aux niveaux clients 3 et 4, hyperscalers et clouds IA débarquent avec des contrats qu’eux seuls pourraient demander : des WAN IA au térabit entre campus de plusieurs gigawatts, des entraînements répartis sur plusieurs sites, des ingestions de datasets d’une semaine et des centaines de paires de fibres dans une tranchée que tu as creusée toi-même. Ils paient comme personne, et ils veulent des chemins diversifiés, deux sites par métropole et zéro excuse. Les villes proches de leurs campus les listent sous « Qui est là ».", +"At risk":"En jeu", +"Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!":"D’Athens à Alexandrie, puis par les Dardanelles jusqu’à Istanbul. Opa !", +"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.", +"Attack hauled to scrubbing in {city}":"Attaque acheminée vers le scrubbing de {city}", +"Attacker: {who}.":"Attaquant : {who}.", +"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Les attaques vont vers ton centre de scrubbing le plus proche. D’ici, c’est {city}, à {km} km : le flot traverse ton backbone aller et retour, ce qui ajoute de la latence, et ce que tes liens ne peuvent pas porter n’est pas nettoyé. Un centre ici nettoie les attaques sur place.", +"Attend {cost}":"Participer {cost}", +"Attend a conference.":"Participe à une conférence.", +"Attend six conferences in one game.":"Participe à six conférences dans une même partie.", +"Auditor visit":"Visite de l’auditeur", +"Aug":"août", +"Augment on order: {port}, about {n} days to go.":"Extension commandée : {port}, encore environ {n} jours.", +"Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.":"Le grand opérateur australien. G’day, ça fera neuf dollars le mégabit. Pardon, le gigabit.", +"Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.":"Le numéro deux de l’Australie. A un jour mis tout le pays hors ligne pendant douze heures avec une mise à jour de routine.", +"Auto":"Auto", +"Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.":"Auto suit le réglage « réduire les animations » de ton appareil. Inactif fige la carte : plus de paquets en mouvement, de pulsations ni de texte flottant.", +"Auto-TE controller":"Contrôleur Auto-TE", +"Auto-fix in {n} day":"Réparation auto dans {n} jour", +"Auto-fix in {n} days":"Réparation auto dans {n} jours", +"Automation pushed it to every router, so redundancy did not help.":"L’automatisation l’a poussé sur tous les routeurs, la redondance n’a donc servi à rien.", +"Average":"Dans la moyenne", +"Avoid":"Éviter", +"BGP hijack":"Détournement BGP", +"BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.":"Fuite de routes BGP : un petit FAI annonce les préfixes de {net}. Le trafic vers eux via le transit est blackholé. Le peering direct fonctionne toujours.", +"BGP session established.":"Session BGP établie.", +"BGP sessions":"Sessions BGP", +"Back":"Retour", +"Back in {n} days.":"Retour dans {n} jours.", +"Back to my network":"Retour à mon réseau", +"Back to the editor":"Retour à l’éditeur", +"Back to the map":"Retour à la carte", +"Backbone of backbones":"Backbone des backbones", +"Backhaul latency":"Latence de backhaul", +"Backup generator":"Groupe électrogène de secours", +"Backup generator in every city they touch":"Groupe électrogène dans chaque ville qu’il touche", +"Backup only":"Secours seul", +"Badge unlocked: {name}":"Badge débloqué : {name}", +"Badges":"Badges", +"Balkan peering hub with famously cheap ports.":"Hub de peering balkanique aux ports réputés pas chers.", +"Bank":"Banque", +"Bankers pretend to be out":"Les banquiers sont « en réunion »", +"Bankers return your calls":"Les banquiers te rappellent", +"Bankers return your emails":"Les banquiers répondent à tes mails", +"Bankrupt":"Faillite", +"Bankrupt at −$100k":"Faillite à −$100k", +"Banks, very punctual packets, and racks inside old bank vaults.":"Des banques, des paquets très ponctuels et des baies dans d’anciens coffres-forts.", +"Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.":"La capitale de la Bavière : voitures, assureurs et une fête de la bière de deux semaines qui fait exploser le trafic mobile chaque automne. Les baies doivent être finies avant midi, comme les saucisses.", +"Be in two buildings at once":"Sois dans deux bâtiments à la fois", +"Beaches, cable landings and a Carnival that melts traffic graphs every February.":"Plages, stations d’atterrissement et un Carnaval qui fait fondre les graphes de trafic chaque février.", +"Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.":"Connecte l’outback depuis 550 km d’altitude, puis atterrit dans un data center de Sydney comme tout le monde.", +"Become a Tier 2":"Deviens un Tier 2", +"Beer is cheaper than water here, and IX ports are cheaper than both.":"Ici, la bière coûte moins cher que l’eau, et les ports IX moins cher que les deux.", +"Before you start":"Avant de commencer", +"Behind the Great Firewall":"Derrière le Grand Pare-feu", +"Being spliced":"Épissurage en cours", +"Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.":"Sous tes objectifs se trouve un mur de badges, du commun au légendaire. Certains demandent de la chance, d’autres des années, et quelques-uns sont secrets. Les badges gagnés dans tes parties précédentes restent sur cet appareil avec un contour en pointillés.", +"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.", +"Best played as an app":"Mieux en appli", +"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"De meilleurs terminaux et un réglage optique allongent la portée longue distance. Les répéteurs sont déjà inclus ; ces améliorations ne changent pas la latence.", +"Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.":"Les gros CDN t’offrent des caches dès que tu leur envoies assez de trafic. De la bande passante gratuite, il suffit de fournir l’électricité.", +"Big hungry market, few providers.":"Gros marché affamé, peu d’opérateurs.", +"Big league":"Cour des grands", +"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.", +"Big shelf, big reach, big invoice.":"Gros châssis, grosse portée, grosse facture.", +"Big, busy and flooded with traffic, sometimes literally.":"Grande, animée et inondée de trafic, parfois littéralement.", +"Biggest fabric money can buy.":"Le plus gros fabric que l’argent puisse acheter.", +"Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Plus gros contributeur : {egress} à {city}. Passe-le en « Secours seul », donne aux clients une sortie plus proche (peering, cache, transit local) ou augmente la métrique de ce lien.", +"Black hole":"Trou noir", +"Blackhole one of your own cities to stop a DDoS.":"Blackhole une de tes propres villes pour stopper un DDoS.", +"Blackhole the target (RTBH)":"Blackholer la cible (RTBH)", +"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"Blackholé : les déchets ont disparu, et {city} aussi. L’attaque a obtenu ce qu’elle voulait.", +"Blitz":"Blitz", +"Boot time":"Temps de boot", +"Boot times":"Temps de boot", +"Boston to Dublin. Nobody has thrown it into the harbour yet.":"De Boston à Dublin. Personne ne l’a encore jeté dans le port.", +"Both a second switch, +{price}/mo":"Les deux un second switch, +{price}/mois", +"Both adds a LAG member":"Les deux ajoute un membre au LAG", +"Both split the LAG":"Les deux scinde le LAG", +"Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.":"Le Botswana : calme, sûr et riche en diamants, avec Johannesburg à deux pas en voiture.", +"Bought by Speedyloop, and still working out which name goes on the bill.":"Racheté par Speedyloop, et cherche encore quel nom mettre sur la facture.", +"Bought used on eBuy. The fans sound like a jet engine.":"Acheté d’occasion sur eBuy. Les ventilos font un bruit de réacteur d’avion.", +"Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.":"Saison des cuboméduses à l’atterrissement {a}–{b}. Les plongeurs ont jeté un œil et sont remontés sur le bateau.", +"Boxes: {a} in A · {b} in B":"Caches : {a} en A · {b} en B", +"Brand new, cheap, and it lands right next to your racks.":"Flambant neuf, pas cher, et il atterrit juste à côté de tes baies.", +"Brazil straight to Iberia, skipping the US entirely.":"Du Brésil directement à la péninsule Ibérique, sans passer du tout par les États-Unis.", +"Brazil to Florida. The invoice arrives just as fast.":"Du Brésil à la Floride. La facture arrive tout aussi vite.", +"Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.":"La capitale de l’agrobusiness brésilien : canne à sucre, jus d’orange et, selon les locaux, la bière pression la plus fraîche du pays.", +"Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.":"La grande ville la plus froide du Brésil, celle qui a inventé les couloirs de bus pour tous les autres. La moitié de l’année, l’air extérieur fait du free cooling.", +"Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.":"La première capitale du Brésil, avec des câbles qui atterrissent dans la baie et un carnaval de deux millions de personnes qui dansent derrière des camions bourrés d’enceintes.", +"Brazil’s mobile giant. Very much alive.":"Le géant mobile du Brésil. Bien vivant.", +"Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.":"La capitale la plus au nord du Brésil. La seule route vers le sud traverse une réserve indigène fermée à la circulation chaque nuit.", +"Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.":"La capitale planifiée du Brésil, en forme d’avion. Chaque ministère est aligné bien sagement, et chacun veut son propre lien.", +"Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.":"Le pôle tech du Brésil, à une heure de São Paulo : universités, labos et datacenters alignés le long de l’autoroute.", +"Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.":"La plus jeune capitale d’État du Brésil, construite de zéro en 1989. Les rues sont numérotées, et tout le reste aussi.", +"Bribe their NOC with donuts":"Soudoyer leur NOC avec des croissants", +"Bridges Europe and Asia, and occasionally your BGP table.":"Relie l’Europe et l’Asie, et parfois aussi ta table BGP.", +"Bring up your first peering session.":"Monte ta première session de peering.", +"BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.":"BrisVegas : un ciel immense, un orage à seize heures chaque après-midi d’été, et plus proche des câbles du Pacifique que Sydney ne veut bien l’admettre. Megapork a grandi ici.", +"Brisbane to Tokyo with a beach break in Guam.":"De Brisbane à Tokyo, avec une pause plage à Guam.", +"Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas":"Internet à domicile à Sydney, Melbourne, Brisbane, Adélaïde et Perth, et deux câbles différents vers l’étranger", +"Broadband in {city}":"Internet à domicile à {city}", +"Build POP {cost} + {mo}/mo":"Construire le POP {cost} + {mo}/mois", +"Build a POP here first.":"Construis d’abord un POP ici.", +"Build a scrubbing center from a POP's Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.":"Construis un centre de scrubbing depuis l’onglet Infra d’un POP. Il nettoie les attaques jusqu’à sa capacité et te permet de vendre de la protection DDoS.", +"Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.":"Construis un Internet. Pose de la fibre entre les villes, achète du transit, fais du peering aux IX, signe des entreprises et garde les eyeballs contents pendant que pelleteuses, requins et fuites de routes font tout pour t’arrêter.", +"Build fiber across the Andes.":"Pose de la fibre à travers les Andes.", +"Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.":"Construis-en dans autant de POP que tu veux. Une attaque va vers le centre en service le plus proche, et ce qu’il ne peut pas absorber passe au suivant. Un centre lointain veut dire que le flot traverse ton backbone jusque-là et que le trafic de la victime revient par le chemin long : ça remplit tes liens, ça ajoute de la latence, et ce que les liens ne peuvent pas porter n’est pas nettoyé. Les clients qui achètent une protection DDoS le remarquent quand leurs attaques traversent un océan.", +"Build the internet, one tube at a time":"Construis Internet, un tube à la fois", +"Build time":"Durée des travaux", +"Build your backbone on the train or on a plane.":"Construis ton backbone dans le train ou dans l’avion.", +"Build your own level 3":"Construire la tienne niveau 3", +"Build your own {price} · ~{n} days":"Construire la tienne {price} · ~{n} jours", +"Build {tier} {cost} + {mo}/mo":"Construire {tier} {cost} + {mo}/mois", +"Building into mainland China needs a joint venture and an operating license. Open {city} to apply.":"Construire en Chine continentale exige une coentreprise et une licence d’opérateur. Ouvre {city} pour faire la demande.", +"Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.":"Construite pour le gouvernement. Les data centers ont plus d’habilitations de sécurité que d’employés, et chaque route finit sur un rond-point.", +"Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.":"Bâti comme une porte de sauna : lourd, brûlant et quasi incassable. La config est désormais si hiérarchique qu’elle a une famille royale.", +"Bulk backup transfer (latency does not matter)":"Sauvegarde massive (la latence ne compte pas)", +"Bunker Two":"Bunker 2", +"Bunny suits mandatory in the server room.":"Combinaison de salle blanche obligatoire en salle serveurs.", +"Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.":"Saison des feux de brousse : la fibre le long de {a}–{b} a fondu dans son fourreau. Les pompiers ont sauvé la ville, pas le fourreau.", +"Busiest links":"Liens les plus chargés", +"Business customers":"Clients entreprises", +"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.", +"Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).":"Les entreprises peuvent vouloir un circuit privé entre deux de tes POP (il passe par ton backbone), ou une protection DDoS (il faut ton propre centre de scrubbing).", +"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.":"Les entreprises apparaissent sous forme de bulles $ sur la carte. Ouvre Offres et signe ton premier client.", +"Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.":"Les entreprises apparaissent avec une bulle $. Il te faut un POP dans leur ville. Va voir l’onglet Offres.", +"Buy 40 desk fans":"Acheter 40 ventilateurs de bureau", +"Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.":"Achète un port sur un fabric, puis commande des circuits virtuels vers tes autres POP ou vers un IX distant. Rapide et souple, mais tu partages leur fabric.", +"Buy a replacement":"Acheter une pièce de rechange", +"Buy a wave inside the UAE.":"Achète une longueur d’onde à l’intérieur des Émirats.", +"Buy them out {price}":"Les racheter {price}", +"Buy-out {price}":"Rachat {price}", +"CDN / content":"CDN / contenu", +"CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.":"Les CDN installent gratuitement des serveurs de cache dans ton POP. L’essentiel de leur trafic est alors servi ici même, sans transit ni port IX.", +"CLDAP flood":"CLDAP flood", +"CN-Too premium on ✓":"CN-Too premium activé ✓", +"CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.":"Erreurs CRC sur {a}–{b} : une optique limite abîme quelques trames sur mille.", +"CUT":"COUPÉ", +"Cable broadband across Central Europe. See you later, in a support queue.":"Haut débit par le câble dans toute l’Europe centrale. À plus tard, dans la file d’attente du support.", +"Cable broadband for half of America. Haunts your traceroutes.":"Haut débit par le câble pour la moitié de l’Amérique. Hante tes traceroutes.", +"Cable broadband for half of Britain. Fast on a good day.":"Le haut débit par câble pour la moitié de la Grande-Bretagne. Rapide les bons jours.", +"Cable design":"Conception du câble", +"Cable landing hub for South America.":"Hub d’atterrissement des câbles vers l’Amérique du Sud.", +"Cable system":"Système de câble", +"Cables all around the Caribbean, served with a lot of foam.":"Des câbles tout autour des Caraïbes, servis avec beaucoup de mousse.", +"Cables overseas":"Câbles vers l’étranger", +"Cache":"Cache", +"Cache power":"Électricité des caches", +"Caches":"Caches", "California to Hong Kong via Hawaii and Guam. A layered cake of repairs.":"De la Californie à Hong Kong via Hawaï et Guam. Un mille-feuille de réparations.", "California to Singapore via Guam. Everyone on it agrees with each other.":"De la Californie à Singapour via Guam. Tout le monde dessus est d’accord avec tout le monde.", -"Guam to the Marshall Islands, with a stop on every atoll that writes in.":"De Guam aux Îles Marshall, avec une escale à chaque atoll qui envoie une lettre.", -"Sydney to Papua New Guinea and the Solomon Islands. Hums while it works.":"De Sydney à la Papouasie-Nouvelle-Guinée et aux Îles Salomon. Il fredonne pendant qu’il travaille.", -"Sydney to Nouméa. Wishes it were a supercontinent.":"De Sydney à Nouméa. Il rêve d’être un supercontinent.", -"Fiji to Tonga, the only way in. Try saying it three times fast.":"Des Fidji aux Tonga, la seule voie d’accès. Essaie de le dire trois fois très vite.", +"Call everyone you know":"Appelle tous ceux que tu connais", +"Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.":"La ville portuaire du Cameroun. Un câble part d’ici tout droit vers le Brésil, le chemin le plus court pour traverser l’Atlantique Sud.", +"Campus B (the one with parking)":"Campus B (celui avec le parking)", +"Can you hear me now? Only if you pay for the PNI.":"Tu m’entends, là ? Seulement si tu paies le PNI.", +"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"La porte du Canada sur le Pacifique. Il pleut tellement que le refroidissement gratuit est livré avec le lavage gratuit.", +"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"Le géant canadien du câble, tenu par du chatterton. De temps en temps, tout tombe d’un coup, ce qui est au moins cohérent.", +"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"La capitale du Canada, autrefois appelée Bytown, ce qui lui va bien. Le réseau électrique lâche quand il y a du vent, du verglas ou qu’on est mardi : prévois un groupe électrogène.", +"Canada’s hub. Polite packets, long winters, free cooling.":"Le hub du Canada. Paquets polis, longs hivers, refroidissement gratuit.", +"Cancel":"Annuler", +"Cancel circuit":"Résilier le circuit", +"Cancel the IRU":"Résilier l’IRU", +"Cancel the order":"Annuler la commande", +"Capacity":"Capacité", +"Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.":"Le Cap. Construis un réseau à travers l’Afrique : chaque frontière veut son propre permis, et la moitié des réseaux électriques ne sont pas de ton côté.", +"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.", +"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.", +"Cape to Cairo":"Du Cap au Caire", +"Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.":"De la fibre du Cap au Caire à travers une douzaine de frontières. Tantôt par voie terrestre, tantôt hors budget.", +"Carnaval":"Carnaval", +"Carnaval delivered in full":"Carnaval servi en entier", +"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Voitures, ingénieurs et Kehrwoche : chaque baie est balayée selon un planning strict. Ici, personne ne vend de transit, il n’y a que le Spätzle-IX. Fais du peering en local ou achemine ton trafic jusqu’à Frankfurt.", +"Casablanca down the coast to Abidjan, served sweet and very hot.":"De Casablanca jusqu’à Abidjan en longeant la côte, servi sucré et bien chaud.", +"Cash":"Trésorerie", +"Cash and bank":"Trésorerie et banque", +"Cash · Bank":"Cash · Banque", +"Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.":"L’IX bien à elle de la Catalogne. Petit et fier, et les réseaux locaux n’arrivent pas à lui résister.", +"Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.":"La plus grande ville d’Amérique centrale, cernée de volcans. L’un d’eux fume tous les jours, sans exception.", +"Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.":"Le hub montant d’Europe centrale. Plus de datacenters chaque année et une scène FAI férocement concurrentielle.", +"Certificate expired":"Certificat expiré", +"Change freeze":"Gel des changements", +"Channels are lighting up now.":"Les canaux s’allument.", +"Charges a lot. Paid peering only, and the name says it all.":"Facture beaucoup. Peering payant uniquement, et le nom dit tout.", +"Chase it":"Relancer", +"Chat on Signal":"Discuter sur Signal", +"Chat, games and payments. Every message costs ten cents.":"Messagerie, jeux et paiements. Chaque message coûte dix centimes.", +"Cheap broadband with the sales pitch on a permanent loop.":"De l’Internet pas cher, avec l’argumentaire commercial en boucle permanente.", +"Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.":"Châssis pas cher, abonnement éternel. Chaque port exige une licence, chaque licence exige un serveur de licences, et le serveur de licences exige une licence.", +"Cheap hydro power makes it a data center favorite.":"L’hydroélectricité bon marché en fait un chouchou des datacenters.", +"Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.":"Terrain pas cher, électricité pas chère et étés à 48 °C. Les hyperscalers adorent. Les groupes froids, beaucoup moins.", +"Cheap power, dry air and a surprising number of very quiet data centers.":"Électricité bon marché, air sec et un nombre surprenant de datacenters très silencieux.", +"Cheap state money for connecting the underserved. Bring a pen.":"De l’argent public pas cher pour connecter les zones mal desservies. Prévois un stylo.", +"Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.":"Pas cher à l’achat, ruineux à l’usage : une clé de licence pour chaque port, chaque fonction et, paraît-il, les ventilos. Smart Licensing téléphone maison chaque semaine.", +"Cheap while the sun shines. Every open incident adds 2% to your rate.":"Pas cher tant qu’il fait beau. Chaque incident ouvert ajoute 2 % à ton taux.", +"Cheap, fast and open late.":"Pas cher, rapide et ouvert tard.", +"Cheap, filling hosting. Ask for the potato-and-cheese plan.":"Hébergement pas cher et nourrissant. Demande la formule pomme de terre-fromage.", +"Cheap, patient, and very particular about Stuttgart.":"Pas chère, patiente et très à cheval sur Stuttgart.", +"Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.":"Moins cher que Singapore juste à côté. Les bâtisseurs de datacenters l’ont remarqué, le réseau électrique aussi.", +"Cheapest transit on the map. Famously gentle, except during peering spats.":"Le transit le moins cher de la carte. Réputé pour sa douceur, sauf pendant les brouilles de peering.", +"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.", +"Check (dry run)":"Vérifier (dry run)", +"Chennai to Singapore, looking it straight in the eye.":"De Chennai à Singapore, les yeux dans les yeux.", +"China":"Chine", +"City":"Ville", +"Clamp the MSS to 1360":"Clamper le MSS à 1360", +"Clean Pipes":"Tuyaux propres", +"Clean the connector":"Nettoyer le connecteur", +"Clean-pipe on ✓":"Clean-pipe actif ✓", +"Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.":"Nettoie les attaques DDoS pour tout ton réseau, dans la limite de sa capacité de bande passante propre, et débloque les contrats de protection DDoS pour les entreprises.", +"Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.":"Nettoie les attaques pour tout ton réseau, dans la limite de sa capacité de bande passante propre, et débloque les contrats de protection DDoS. Le trafic nettoyé revient par GRE, ce qui peut rouvrir le trou noir MSS.", +"Clear filters":"Effacer les filtres", +"Click to tear down":"Clique pour couper la session", +"Close":"Fermer", +"Close site B":"Fermer le site B", +"Cloud gaming platform":"Plateforme de cloud gaming", +"Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.":"Plateformes de cloud gaming, et l’ère du cloud gaming : les eyeballs veulent encore 15 % de plus. Un PNI gratuit avec Tel-Mess. Matos : transpondeurs Sienna WaveMagic 3.2T.", +"Cloud on-ramp":"On-ramp cloud", +"Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.":"Cogentle et Goggle se sont brouillés sur le peering. Goggle est injoignable via le transit Cogentle.", +"Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.":"Cogentle et Goggle ne se parlent plus, et cette fois c’est définitif. Achète le transit pas cher, si tu l’oses.", +"Coherent pluggable in the router. No transponder shelf.":"Pluggable cohérent directement dans le routeur. Pas de châssis de transpondeurs.", +"Collateral Damage":"Dommages collatéraux", +"Collecting data. Check back in a few days.":"Collecte des données en cours. Repasse dans quelques jours.", +"Colourful, crowded and gets you there eventually.":"Coloré, bondé, et finit par t’emmener à bon port.", +"Comes alive after dark.":"S’anime à la nuit tombée.", +"Comes in over {fab}: needs your {fab} port in {city} with room for {bw}":"Arrive par {fab} : il faut ton port {fab} à {city} avec de la place pour {bw}", +"Commit complete.":"Commit terminé.", +"Common":"Commun", +"Complete any scenario.":"Termine n’importe quel scénario.", +"Complete every scenario.":"Termine tous les scénarios.", +"Complete three different scenarios.":"Termine trois scénarios différents.", +"Condition broken for {n} day.":"Condition non respectée depuis {n} jour.", +"Condition broken for {n} days.":"Condition non respectée depuis {n} jours.", +"Conference Circuit":"Tournée des conférences", +"Conferences":"Conférences", +"Confidential":"Confidentiel", +"Configured: {lim} prefixes. Received: {got}.":"Configuré : {lim} préfixes. Reçus : {got}.", +"Congested links":"Liens congestionnés", +"Congested. Upgrade it or add a parallel path.":"Saturé. Augmente sa capacité ou ajoute un chemin parallèle.", +"Connections":"Connexions", +"Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed.":"Relie Doha au reste du Golfe, par la mer, ce qui est pratique quand la frontière terrestre est fermée.", +"Contained on your sacrificial {net} PNI":"Contenu sur ton PNI sacrificiel {net}", +"Content from":"Contenu venant de", +"Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.":"Des réseaux de contenu comme NetChill et Goggle. L’essentiel de ton trafic vient d’eux. Fais du peering avec eux et ce trafic devient gratuit.", +"Continental carrier":"Opérateur continental", +"Continents":"Continents", +"Continue {name} · {date}":"Continuer {name} · {date}", +"Control plane meltdown":"Fusion du control plane", +"Cookieless stats, no tracking":"Stats sans cookies, sans pistage", +"Cooling failure":"Panne de refroidissement", +"Copy":"Copier", +"Cornwall to Lagos down the West African coast. Glows faintly when it is working.":"Des Cornouailles à Lagos en longeant la côte ouest-africaine. Il luit faiblement quand il fonctionne.", +"Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.":"Le Costa Rica tourne presque entièrement aux énergies renouvelables, donc tes baies sont vertes. La forêt de nuages d’à côté est encore plus verte.", +"Costs":"Coûts", +"Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.":"Coûte moins cher qu’un déjeuner et a deux fois plus de ports que le Rusty. Le configurer prend plus de temps que le déjeuner.", +"Costs more than leasing at this size.":"Plus cher que la location à cette taille.", +"Cosy racks under a hill. Second breakfast at 11.":"Des racks douillets sous une colline. Second petit-déjeuner à 11 h.", +"Courtesy route":"Route de courtoisie", +"Courtesy route to new networks":"Route de courtoisie vers les nouveaux réseaux", +"Covered by NDA":"Sous NDA", +"Covers a lot of empty ground.":"Couvre énormément de terrain vide.", +"Credit rating":"Note de crédit", +"Crispy on the outside, cheap on the inside.":"Croustillant dehors, pas cher dedans.", +"Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.":"Les circuits transfrontaliers vers la Chine continentale ne sont vendus que par des opérateurs titulaires d’une licence, à 3× le prix. Les circuits normaux perdent environ 20 % du trafic à la frontière.", +"Crosses Bass Strait faster than the ferry, and gets seasick less often.":"Traverse le détroit de Bass plus vite que le ferry, et a moins souvent le mal de mer.", +"Crosses the Pacific, mildly annoyed about it.":"Traverse le Pacifique, en ronchonnant un peu.", +"Crossing the Great Firewall here loses about {p}% of packets.":"Traverser le Great Firewall ici fait perdre environ {p} % des paquets.", +"Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.":"Carrefour des câbles entre l’Europe, l’Asie et l’Afrique. Certaines applis vocales sont bloquées, et la facture de clim est légendaire.", +"Crossroads of Europe. DE-KICKS IX, cheap transit.":"Carrefour de l’Europe. IX DE-KICKS, transit pas cher.", +"Customer":"Client", +"Customer Care":"Service client", +"Customer Success Story":"Success story client", +"Customer level {lv} of {max}":"Niveau clients {lv} sur {max}", +"Customer level {lv}: {name}":"Niveau client {lv} : {name}", +"Customer levels":"Niveaux clients", +"Customer on a fabric (transit over an NNI)":"Client sur un fabric (transit via un NNI)", +"Customers":"Clients", +"Customers and alerts":"Clients et alertes", +"Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.":"Les clients sont mécontents et s’en vont. Ajoute de la capacité upstream, du peering ou un lien plus gros.", +"Customers here get nothing until it's back.":"Les clients d’ici n’ont plus rien tant qu’il n’est pas revenu.", +"Cut!":"Coupé !", +"Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"Les coupures arrivent quand même, ancres et requins compris, mais c’est toi qui appelles le navire câblier.", +"DDoS attack":"Attaque DDoS", +"DDoS junk":"Déchets DDoS", +"DDoS protection + DIA":"Protection DDoS + DIA", +"DDoS scrubbing":"Scrubbing DDoS", +"DDoS scrubbing center":"Centre de scrubbing DDoS", +"DE-KICKS Bingo":"Carton plein DE-KICKS", +"DE-KICKS Group · Customer Success":"DE-KICKS Group · Customer Success", +"DE-KICKS Group · Sales":"DE-KICKS Group · Ventes", +"DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).":"Tarif personnalisé DE-KICKS : {p} % de ce que facturerait un IX normal (promo, encore {n} jours).", +"DE-KICKS personalised pricing: {p}% of what a normal IX would charge.":"Tarif personnalisé DE-KICKS : {p} % de ce que facturerait un IX normal.", +"DNS reflection":"réflexion DNS", +"DOWN":"HS", +"Dam It":"Sacré castor !", +"Danish for “sea fun”. Probably.":"« Plaisir de la mer » en danois. Probablement.", +"Dark fiber":"Fibre noire", +"Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.":"La fibre noire à travers la frontière chinoise n’est pas à vendre. Achète plutôt une longueur d’onde transfrontalière.", +"Dark fiber handed over: {a}–{b}":"Fibre noire livrée : {a}–{b}", +"Dark fiber pair lease":"Location d’une paire de fibre noire", +"Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.":"La fibre noire se débloque au niveau clients 2. Il te faut la taille critique pour justifier l’achat de ton propre matériel optique.", +"Dark fiber · {kind} · {km} km":"Fibre noire · {kind} · {km} km", +"Dark!":"Éteint !", +"Darwin Award":"Prix Darwin", +"Darwin to Singapore via Jakarta. Survival of the fittest packets.":"De Darwin à Singapore via Jakarta. Seuls les paquets les plus adaptés survivent.", +"Dataset ingest (elephant flow)":"Ingestion de dataset (elephant flow)", +"Date":"Date", +"Day {d}":"Jour {d}", +"Days in a row at {g} or more":"Jours d’affilée à {g} ou plus", +"Days in a row with 99.5% served":"Jours d’affilée à 99,5 % servi", +"Dead optic":"Optique morte", +"Deals":"Offres", +"Dear Sir or Madam, please peer. We have three prefixes and very big plans.":"Madame, Monsieur, merci de bien vouloir peerer. Nous avons trois préfixes et de très grands projets.", +"Debt":"Dette", +"Debt-Free Tier 1":"Tier 1 sans dette", +"Debt-free. Your accountant is suspicious.":"Zéro dette. Ton comptable trouve ça louche.", +"Dec":"déc", +"Decline":"Refuser", +"Decline all requests":"Refuser toutes les demandes", +"Declined {who} at {ix}: “not a strategic fit”. They were.":"A refusé {who} à {ix} : « pas stratégique ». Ils l’étaient.", +"Decommission":"Démanteler", +"Decommission POPs":"Démanteler des POP", +"Decommission link":"Décommissionner le lien", +"Decommission several POPs…":"Démanteler plusieurs POP…", +"Decommission {city}…":"Démanteler {city}…", +"Decommission {n} POP · pay {fee}":"Démanteler {n} POP · payer {fee}", +"Decommission {n} POPs · pay {fee}":"Démanteler {n} POP · payer {fee}", +"Delete and start over":"Supprimer et recommencer", +"Deliver Carnaval in full":"Assurer tout le Carnaval", +"Deliver at least 95% of what your customers want.":"Livre au moins 95 % de ce que veulent tes clients.", +"Delivered fresh every morning.":"Livré tout chaud chaque matin.", +"Delivered, 30 days":"Livré, 30 jours", +"Delivery: 2 to 6 weeks":"Livraison : 2 à 6 semaines", +"Delivery: about a month, sometimes 6 to 12 months":"Livraison : environ un mois, parfois 6 à 12 mois", +"Demand":"Demande", +"Dense, filling and very cheap.":"Dense, bourratif et vraiment pas cher.", +"Deploy":"Déployer", +"Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.":"Déploie un RouteScript qui réduit ta facture de transit de 10 % sans perdre de trafic.", +"Deploy a RouteScript that takes down a third of your traffic.":"Déploie un RouteScript qui fait tomber un tiers de ton trafic.", +"Digging your own fiber unlocks at customer level 3.":"Creuser ta propre fibre se débloque au niveau client 3.", +"Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.":"Tout est numérique, e-résidence pour tout le monde, et des câbles baltiques sur lesquels les navires n’arrêtent pas de traîner leurs ancres.", +"Discovered the Atlantic again. Old, pricey and fragile.":"A redécouvert l’Atlantique. Vieux, cher et fragile.", +"Display and sound":"Affichage et son", +"Diverse route +40% · survives cuts alone":"Chemin diversifié +40 % · survit seul aux coupures", +"Diverse route {n}":"Parcours diversifié {n}", +"Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors.":"De Djibouti à Durban, en collant à la côte est-africaine. Se moque des pirates et des ancres.", +"Do the Kehrwoche: keep your NOC free of incidents older than a week.":"Fais la Kehrwoche : aucun incident de plus d’une semaine dans ton NOC.", +"Done":"OK", +"Done in {d} days!":"Fini en {d} jours !", +"Done!":"Fini !", +"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.", +"Down from 2 to 5 p.m. every day. By design.":"Hors ligne de 14 h à 17 h tous les jours. C’est voulu.", +"Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t.":"Le long de la côte ouest, puis à travers le détroit de Cook jusqu’au Continent. Les ferries tanguent ; le câble, presque jamais.", +"Download PNG":"Télécharger le PNG", +"Download our app and enable all notifications.":"Télécharge notre appli et active toutes les notifications.", +"Downstream ISP (buys transit)":"FAI downstream (achète du transit)", +"Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.":"FAI downstream, startups de streaming et universités. Matériel : routeurs Edge Lord 400, location de fibre noire, DWDM Rainbow-in-a-Box, optiques Ackackia 400ZR+.", +"Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.":"Glisse depuis ce routeur vers n’importe quelle ville de la carte pour tirer un nouveau lien. Deux chemins vers chaque POP, et aucune pelleteuse ne pourra te couper du monde.", +"Drag from your pink router to another city. Short hops are cheap. Oceans are not.":"Fais glisser depuis ton routeur rose vers une autre ville. Les petits sauts coûtent peu. Les océans, non.", +"Drag onto another city":"Glisse vers une autre ville", +"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.", +"Drop":"Lâcher", +"Dubai to Mumbai. Hits hard.":"De Dubai à Mumbai. Ça cogne fort.", +"Dublin to London across the Irish Sea.":"De Dublin à London à travers la mer d’Irlande.", +"Due now":"À payer maintenant", +"Dug the trench themselves, one field at a time.":"Ils ont creusé la tranchée eux-mêmes, champ après champ.", +"Dunes, buggies and the corner of Brazil closest to Africa.":"Des dunes, des buggys et le coin du Brésil le plus proche de l’Afrique.", +"Duopoly Customer":"Client du duopole", +"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.", +"Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.":"Le modèle de routeur de chaque POP plafonne son port le plus rapide (100G, 400G, 800G, 1.6T) et ce qu’il peut acheminer. Des longueurs d’onde et des ports plus gros exigent de meilleurs routeurs aux deux bouts. Les meilleurs modèles se débloquent avec ton niveau clients. Avec un seul routeur, chaque upgrade coûte une journée d’indisponibilité.", +"Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.":"Chaque canal, c’est une paire d’optiques, une à chaque bout. Les optiques ZR+ se branchent directement dans tes routeurs. Les transpondeurs vivent sur une étagère.", +"East Africa up to Europe via the Red Sea. Lemon squeezy.":"De l’Afrique de l’Est jusqu’à l’Europe par la mer Rouge. Simple comme bonjour.", +"East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.":"Le hub de l’Afrique de l’Est. Les câbles atterrissent à Mombasa, et le mobile money fait tout tourner.", +"Edit RouteScript":"Modifier le RouteScript", +"Egress:":"Sortie :", +"Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.":"Interconnexion élastique, maintenant avec du bacon. Élevée dans une ferme près de BrisVegas par le type qui fonde une entreprise de fibre à chaque flat white terminé. Un circuit en 59 secondes, un groin en 60.", +"Embedded cache":"Cache embarqué", +"Embedded caches":"Caches intégrés", +"Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.":"A mis fin au peering gratuit dans toute l’Europe et l’a confié à Inter.Clink, son « partenaire d’interconnexion », qui se fera un plaisir de te vendre une connexion directe. Peering payant uniquement, via un PNI. Dring dring, c’est la facture.", +"Enterprise DIA":"DIA entreprise", +"Enterprises, game servers, hosting, L2VPNs and DDoS protection.":"Entreprises, serveurs de jeu, hébergement, L2VPN et protection DDoS.", +"Enters your network at":"Entre dans ton réseau à", +"Epic":"Épique", +"Escalate to their CTO":"Escalader à leur CTO", +"Esports world final":"Finale mondiale d’esport", +"Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.":"Finales mondiales d’esport, et l’ère du tout-4K : les eyeballs de chaque ville veulent 15 % de plus. Matos : routeurs Sonic the Whitebox 64.", +"Estimated latency":"Latence estimée", +"Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.":"La capitale de l’Éthiopie, à 2 400 m, sans côte à elle : tout remonte depuis Djibouti. Le meilleur café de la carte.", +"Ethiopia’s state telco: a hundred million customers and very calm about competition.":"L’opérateur public éthiopien : cent millions de clients et très serein face à la concurrence.", +"Europe":"Europe", +"Europe's crossroads. Lots of networks, lots of sausages.":"Le carrefour de l’Europe. Plein de réseaux, plein de saucisses.", +"Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.":"La nouvelle porte atlantique de l’Europe. Les câbles vers le Brésil, l’Afrique et les États-Unis atterrissent plus bas sur la côte, à Sines.", +"Event network":"Réseau événementiel", +"Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.":"Les réseaux événementiels (une finale, un festival, une keynote) veulent un pic de capacité dans une ville pendant quelques jours et paient en une fois à la fin, au prorata de la part du public servie ; en dessous de 70 %, tu paies une pénalité. Les chaînes SD-WAN relient 3–6 de tes POP en hub-and-spoke, donc un seul spoke cassé fâche tout le contrat. Dès que tu exploites ta propre fibre noire, les opérateurs veulent louer tes canaux libres en alien waves et, sur la fibre que tu as construite toi-même, une paire libre.", +"Events, chains and wholesale":"Événements, chaînes et vente en gros", +"Every IX is run by DE-KICKS":"Tous les IX sont gérés par DE-KICKS", +"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Chaque port IX amène des demandes de peering et des alertes max-prefix, dans l’onglet Réseaux. Une session qui dépasse sa limite reste coupée tant que vous n’y regardez pas : relevez la limite si c’est de la croissance, laissez-la coupée si c’est une fuite. Ignorez votre courrier et les réseaux sélectifs deviennent plus exigeants.", +"Every POP needs a backup generator. Our risk team saw one disaster movie.":"Chaque POP doit avoir un groupe électrogène. Notre service risques a vu un film catastrophe.", +"Every WordPress-ish site on Earth is now a crypto miner":"Tous les sites WordPress-like de la planète minent désormais de la crypto", +"Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.":"Tous les câbles entre les Amériques se faufilent par ici. Rien ne traverse le Darién par voie terrestre, donc l’Amérique du Sud est toujours à un saut sous-marin.", +"Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.":"Tous les câbles de la mer Rouge sont coupés, tout comme le saut vers l’Égypte. Fais quand même parler Marseille et Singapore : par le tour de l’Afrique, par voie terrestre, ou par l’autre côté de la planète.", +"Every customer type is unlocked. Go get those terabits.":"Tous les types de clients sont débloqués. Va chercher ces térabits.", +"Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.":"Chaque port IX amène du courrier. Répondez aux demandes de peering et regardez les sessions qui dépassent leur limite max-prefix : croissance ou fuite de routes ? Le courrier sans réponse vous fait une réputation, et les réseaux sélectifs en entendent parler.", +"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.", +"Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.":"Chaque hyperscaler y construit une région. Le terrain est bon marché et le biryani excellent.", +"Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.":"Le siège européen de tous les hyperscalers, surtout pour des raisons fiscales. Le réseau électrique est nerveux.", +"Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.":"Chaque lien a une latence. Les traders haute fréquence paient une fortune pour un circuit qui tient dans leur budget de latence ; achemine-les en « Latence minimale ». Les clients de sauvegarde en masse s’en fichent, alors achemine-les en « Chemin des écoliers » sur tes liens calmes pour garder les chargés libres.", +"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.":"Tous les réseaux de la carte. La part de trafic, c’est la portion du trafic de tes utilisateurs qui va vers eux. Touche une connexion pour sauter à son POP.", +"Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.":"Tous les ports sont pris. Ajoute un routeur ou passe à un modèle avec plus de ports avant de brancher quoi que ce soit.", +"Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.":"Chaque port qui te relie à un autre réseau, et où il se trouve. Filtre par type, ville ou réseau, et touche Ouvrir pour y aller.", +"Every session comes with a coffee break. Strictly enforced.":"Chaque session inclut une pause café. Strictement obligatoire.", +"Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.":"Chaque longueur d’onde, circuit fabric et IRU de fibre noire que tu loues entre deux de tes POP, à côté de ce que coûterait une fibre noire louée ou ta propre fibre. Les estimations incluent le système de ligne, les amplificateurs et assez d’optiques pour la capacité actuelle. Construis d’abord, déplace le trafic, puis résilie la location.", +"Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.":"Tous ceux qui te paient, les plus contents en dernier. Sous 60 % ils commencent à râler, sous 30 % ils sont furieux, et à 0 % ils résilient.", +"Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.":"Tout est dans un seul bâtiment. Déplace des uplinks vers l’autre site depuis les onglets Transit et Peering.", +"Everywhere at Once":"Partout à la fois", +"Exit: {exit} in {city}.":"Sortie : {exit} à {city}.", +"Explore →":"Explorer →", +"Export save":"Exporter la sauvegarde", +"Export save download a file":"Exporter la sauvegarde télécharger un fichier", +"Eyeball demand":"Demande eyeballs", +"Eyeball traffic down 30%":"Trafic eyeballs en baisse de 30 %", +"Eyeballs":"Eyeballs", +"Eyeballs grow 50% faster":"Les eyeballs croissent 50 % plus vite", +"Eyeballs online!":"Eyeballs en ligne !", +"Eyeballs you stop serving":"Eyeballs que tu ne sers plus", +"Fabric circuit to one of your POPs":"Circuit fabric vers un de tes POP", +"Fabric outage":"Panne de fabric", +"Fabric ports":"Ports fabric", +"Fabrics: {list}":"Fabrics : {list}", +"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"Faceplant en a eu marre des taxes à l’usage coréennes et a discrètement basculé ses utilisateurs coréens sur ses serveurs de Hong Kong. Les pages se traînent pour tout le monde à Séoul. Le régulateur prépare une amende.", +"Failures":"Pannes", +"Family-run since dial-up. Still answers the phone.":"Affaire familiale depuis l’époque du modem 56k. Décroche encore le téléphone.", +"Far from everything. Every packet here has a long journey home.":"Loin de tout. Ici, chaque paquet a un long voyage pour rentrer à la maison.", +"Fast fiber east and west, and one very nervous subsea cable to Germany.":"De la fibre rapide vers l’est et l’ouest, et un câble sous-marin très nerveux vers l’Allemagne.", +"Fat Finger":"Gros doigt", +"Fat-fingered ROADM":"Gros doigt sur le ROADM", +"Fat-fingered wave":"Gros doigt sur une onde", +"Feb":"févr", +"Fiber across the sertão of the Northeast, one dirt road at a time.":"De la fibre à travers le sertão du Nordeste, une piste en terre à la fois.", +"Fiber cut":"Coupure de fibre", +"Fiber from {city}":"Fibre depuis {city}", +"Fiber laid along the bike lanes. Fastest in the rain.":"Fibre posée le long des pistes cyclables. Plus rapide sous la pluie.", +"Fiber laid under the tram tracks during a night shift.":"Fibre posée sous les rails du tram pendant une équipe de nuit.", +"Fiber pairs":"Paires de fibres", +"Fiber strung along the chairlifts. Seasonal latency.":"Fibre tendue le long des télésièges. Latence saisonnière.", +"Fiber to the Italian home, with a website from 2003.":"La fibre dans les foyers italiens, avec un site web de 2003.", +"Fibre to the Basement":"La fibre au sous-sol", "Fiji to Samoa. Always room for one more packet.":"Des Fidji aux Samoa. Toujours de la place pour un paquet de plus.", -"American Samoa to Hawaii and Samoa on old, smoky glass.":"Des Samoa américaines à Hawaï et aux Samoa, sur une vieille fibre enfumée.", -"Tahiti to Hawaii, trolling for bandwidth.":"De Tahiti à Hawaï, à la traîne de la bande passante.", -"Samoa to Tahiti by way of the Cook Islands. Steeped slowly.":"Des Samoa à Tahiti en passant par les Îles Cook. Infusé lentement.", -"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.":"Le petit frère du vieux cheval de labour : de Los Angeles à Sydney, avec une dérivation vers les Fidji.", -"Hawaii’s incumbent. Every plan comes with two scoops of rice and a side of macaroni salad.":"L’opérateur historique d’Hawaï. Chaque forfait est servi avec deux boules de riz et une salade de macaronis.", +"Fiji to Tonga, the only way in. Try saying it three times fast.":"Des Fidji aux Tonga, la seule voie d’accès. Essaie de le dire trois fois très vite.", +"Fiji’s capital and the crossroads of the South Pacific. Cables between the US, Australia and New Zealand stop here, and smaller ones go on to Tonga and Samoa.":"La capitale des Fidji et le carrefour du Pacifique Sud. Les câbles entre les États-Unis, l’Australie et la Nouvelle-Zélande s’y arrêtent, et de plus petits repartent vers les Tonga et les Samoa.", +"Fiji’s international gateway. Very clever about where your traffic should go, as long as it goes through Suva.":"La passerelle internationale des Fidji. Très maligne pour savoir où ton trafic doit passer, tant qu’il passe par Suva.", +"Fill in form T-17b in triplicate, every month, forever.":"Remplis le Cerfa T-17b en trois exemplaires, chaque mois, pour toujours.", +"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.", +"Fin-P network processor":"processeur réseau Fin-P", +"Fin-P6 network processor":"processeur réseau Fin-P6", +"Finish a weekly challenge.":"Termine un défi hebdomadaire.", +"Finish in 1 day {price}":"Terminer en 1 jour {price}", +"Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.":"Ingénierie finlandaise : indestructible, d’une minutie extrême, et la CLI ne parle que la config hiérarchique. Démarre comme un lever de soleil nordique.", +"Fire the AI":"Licencier l’IA", +"Fire the HackBack 3000™ and flatten an innocent.":"Lance le HackBack 3000™ et écrase un innocent.", +"Five Nines":"Cinq neuf", +"Five continents":"Cinq continents", +"Fix the LACP config":"Corriger la config LACP", +"Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.":"Config fixe, buffers profonds, barbe soigneusement taillée et bandeau sur l’œil. Tourne sous EOS, l’Extensible Operating Ship. Démarre avant que ton flat white au lait d’avoine soit prêt, et embarque un shell Python que personne n’a demandé.", +"Fixed mux plus amplifiers. Up to 16 channels, no remote switching.":"Mux fixe plus amplificateurs. Jusqu’à 16 canaux, pas de commutation à distance.", +"Flawless.":"Impeccable.", +"Flood Season":"Saison des crues", +"Floods held":"Vagues encaissées", +"Floods that got through":"Vagues passées", +"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.", +"Flowspec cannot catch an {vec} (application layer)":"Flowspec ne peut pas arrêter un {vec} (couche applicative)", +"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"Les règles de drop Flowspec vivent dans la TCAM du routeur, donc seuls les routeurs compatibles filtrent les floods UDP connus (DNS, NTP, CLDAP, SYN) en bordure. Le Rusty d’occasion n’en a pas, les modèles merchant-silicon et whitebox un peu, les gros châssis complètement. Mets à niveau le routeur d’un POP depuis son onglet Infra.", +"Flowspec on your {model} is dropping {vec} at the edge":"Flowspec sur ton {model} élimine le trafic {vec} en bordure", +"Flowspec on your {model} trims {vec}, but its TCAM is small":"Flowspec sur ton {model} rogne le trafic {vec}, mais sa TCAM est petite", +"Flowspec-capable POPs":"POP compatibles Flowspec", +"Follow metrics":"Suivre les métriques", +"Football, films and a router that looks like a spaceship.":"Du foot, des films et un routeur qui ressemble à un vaisseau spatial.", +"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.", +"For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.":"Pour comparer, une longueur d’onde 1.6T louée sur ce trajet coûte {price}/mois. Les optiques viennent ensuite, depuis le panneau du lien.", +"For reporting layout bugs: shows what your screen tells the game.":"Pour signaler des bugs de mise en page : montre ce que ton écran dit au jeu.", +"Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Les réseaux étrangers ont besoin d’une coentreprise locale et d’une licence d’opérateur pour construire ici.", +"Formerly a Shopping Mall":"Ancien centre commercial", +"Forwarding chip":"Puce de forwarding", +"Forwarding load":"Charge de forwarding", +"Found your own IX {cost} + {mo}/mo":"Fonder ton propre IX {cost} + {mo}/mois", +"Founded after a pub quiz, by the losing team.":"Fondé après un quiz au pub, par l’équipe perdante.", +"Four seasons in one day, and the racks feel every one of them.":"Quatre saisons en une journée, et les baies les sentent toutes passer.", +"Free channels":"Canaux libres", +"Free cooling and geothermal power. Plenty of data centers, very few cables.":"Refroidissement gratuit et énergie géothermique. Plein de datacenters, très peu de câbles.", +"Friend of Giants":"Ami des géants", +"From":"De", +"From {city}":"Depuis {city}", +"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"Le gel a fissuré le fourreau sur {a}–{b}, et un castor a fait le reste.", +"Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore.":"De Fujairah à Mumbai, autour de la pointe de l’Inde jusqu’à Chennai, puis jusqu’à Singapore.", +"Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.":"Bande C complète, reconfigurable à distance, accepte les transpondeurs longue distance. Jusqu’à 64 canaux.", +"Full changelog":"Changelog complet", +"Full screen, works offline, one tap from your home screen.":"Plein écran, fonctionne hors ligne, à un tap de ton écran d’accueil.", +"Full screen.":"Plein écran.", +"Game":"Jeu", +"Game paused.":"Jeu en pause.", +"Game servers":"Serveurs de jeu", +"Game servers, energy drinks and a ping obsession.":"Serveurs de jeu, boissons énergisantes et obsession du ping.", +"Game speed":"Vitesse du jeu", +"Gangnam Style Peering":"Peering Gangnam Style", +"Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.":"La porte de l’Amazonie, à l’embouchure d’un fleuve si large qu’on ne voit pas l’autre rive. Il pleut tous les après-midi, pile à l’heure.", +"Gave a billion people cheap data. Knows exactly where every one of them is.":"A offert des données pas chères à un milliard de personnes. Sait exactement où se trouve chacune d’elles.", +"Generator!":"Groupe électrogène !", +"Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting.":"De Gênes à la Sicile puis jusqu’à Athens, posé par un géant de la recherche en ligne lassé de louer.", +"Geopolitical cable cut":"Coupure de câble géopolitique", +"Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.":"La ville portuaire de l’Allemagne. Tout le monde dit « Moin » à toute heure, et la pluie arrive de côté depuis l’Elbe.", +"Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.":"Prends un port sur un IX : un gros switch partagé où les réseaux s’échangent du trafic gratuitement au lieu de payer du transit.", +"Get a subsea cable bitten by a shark.":"Fais mordre un câble sous-marin par un requin.", +"Get bitten by sharks 3 times in one game.":"Fais-toi mordre par des requins 3 fois dans une même partie.", +"Get de-peered by a big network.":"Fais-toi couper le peering par un gros réseau.", +"Gets along with every other network. Famously chill.":"S’entend avec tous les autres réseaux. Légendairement zen.", +"Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.":"La capitale du Ghana et un point d’atterrissement prisé des câbles. Fibre rapide, circulation lente sur le périphérique.", +"Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.":"La fibre gigabit à domicile pour le prix d’un café. Ici, les clients attendent beaucoup pour très peu.", +"Gigabit to every flat for the price of a coffee. Peers with anyone.":"Du gigabit dans chaque appart pour le prix d’un café. Fait du peering avec tout le monde.", +"Gigawatt Landlord":"Seigneur du gigawatt", +"Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.":"Embauche le neveu de notre PDG. Il lui faut {price}/mois et une place de parking.", +"Giving it up now returns {price}.":"Y renoncer maintenant te rembourse {price}.", +"Global backbone":"Backbone mondial", +"Go global":"Deviens mondial", +"Go there":"Y aller", +"Go transit-free.":"Deviens transit-free.", +"Go transit-free: Tier 1!":"Plus jamais de transit : Tier 1 !", +"Goal":"Objectif", +"Goal complete: {name}":"Objectif atteint : {name}", +"Goals":"Objectifs", +"Goals & NOC":"Objectifs & NOC", +"Going to customers in":"Vers les clients de", +"Gold-plated servers, valet parking for packets.":"Serveurs plaqués or, voiturier pour les paquets.", +"Goose incident":"L’incident de l’oie", +"Got it":"Compris", +"Government shutdown":"Coupure gouvernementale", +"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.", +"Greece’s incumbent. Takes careful notes on every peering request.":"L’opérateur historique grec. Prend soigneusement note de chaque demande de peering.", +"Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.":"Salutations. Nous sommes un réseau en pleine croissance. L’an dernier nous avions un client ; cette année, deux.", +"Grew from a seedling into a global backbone. Leaves no route behind.":"Parti d’une jeune pousse, devenu un backbone mondial. Ne perd jamais ses routes, ni ses feuilles.", +"Grilled ports, served with mustard and a cold beer.":"Des ports grillés, servis avec moutarde et bière fraîche.", +"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.":"Grandis : fais glisser depuis ton routeur rose vers une ville proche pour poser de la fibre et ouvrir un deuxième POP.", +"Guam to the Marshall Islands, with a stop on every atoll that writes in.":"De Guam aux Îles Marshall, avec une escale à chaque atoll qui envoie une lettre.", "Guam’s incumbent and the way out for half of Micronesia. The prices are a heist, but nobody else is selling.":"L’opérateur historique de Guam et la porte de sortie de la moitié de la Micronésie. Les prix sont un braquage, mais personne d’autre ne vend.", "Guam’s mobile network: rice, a burger, a fried egg and lots of gravy, served over 5G.":"Le réseau mobile de Guam : riz, steak haché, œuf au plat et beaucoup de sauce, servis en 5G.", -"Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.":"Des téléphones sur chaque île de la Papouasie-Nouvelle-Guinée aux Tonga, et du transit à vendre sur chacune.", -"Fiji’s international gateway. Very clever about where your traffic should go, as long as it goes through Suva.":"La passerelle internationale des Fidji. Très maligne pour savoir où ton trafic doit passer, tant qu’il passe par Suva.", -"Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.":"Gère la poste, le téléphone et Internet en Nouvelle-Calédonie et en Polynésie française. Les paquets arrivent tamponnés, avec un croissant.", -"Papua New Guinea’s state telco: eight hundred languages, one billing system.":"L’opérateur public de Papouasie-Nouvelle-Guinée : huit cents langues, un seul système de facturation.", -"The Solomon Islands’ incumbent. Yours sincerely, eventually.":"L’opérateur historique des Îles Salomon. Bien à vous, un jour ou l’autre.", -"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"L’opérateur des Tonga. Il a survécu à un volcan qui a coupé son unique câble, et il en plaisante maintenant.", -"Samoa’s broadband, promised with a slice of something sweet.":"Le haut débit des Samoa, promis avec une part de quelque chose de sucré.", -"Palau’s telco. Snorkel down and you can see the cable.":"L’opérateur de Palau. Plonge avec un tuba et tu verras le câble.", -"The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.":"L’opérateur des Îles Marshall, à deux mètres au-dessus de la mer et fier de chaque centimètre.", -"Stepping Stones":"De gué en gué", -"Honolulu, in the middle of the Pacific. The cables between the Americas, Asia and Australia are so long that a wave on them carries only 400G or 800G. Stop the light on an island, start it fresh, and every hop gets shorter and faster. You start with 1.6T gear unlocked.":"Honolulu, au milieu du Pacifique. Les câbles entre les Amériques, l’Asie et l’Australie sont si longs qu’une longueur d’onde n’y transporte que 400G ou 800G. Arrête la lumière sur une île, fais-la repartir à neuf, et chaque saut devient plus court et plus rapide. Tu commences avec le matériel 1.6T débloqué.", -"A path from Los Angeles to Sydney with 1.6T on every hop, a path from Los Angeles to Tokyo, and 150 Gbps served":"Un chemin de Los Angeles à Sydney en 1.6T sur chaque saut, un chemin de Los Angeles à Tokyo, et 150 Gbps servis", -"An undersea volcano erupted next to your {a}–{b} cable. The repair ship found it in pieces, some of them kilometres away.":"Un volcan sous-marin est entré en éruption à côté de ton câble {a}–{b}. Le navire de réparation l’a retrouvé en morceaux, certains à des kilomètres.", -"The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"Le fond marin au large des Tonga a glissé le long d’une pente et a emporté ton câble {a}–{b}. Le navire de réparation arrive de Papouasie-Nouvelle-Guinée.", -"1.6T on every hop from Los Angeles to Sydney":"1.6T sur chaque saut de Los Angeles à Sydney", -"A path from Los Angeles to Tokyo":"Un chemin de Los Angeles à Tokyo", -"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"Le hub de la Rhénanie-Ruhr : plus de data centers neutres que Hamburg ou Munich, et à une heure de la frontière néerlandaise, donc la fibre vers Amsterdam est courte et pas chère. Ici, on commande une Altbier, jamais une Kölsch.", -"Premium submarine terminals":"Terminaux sous-marins premium", -"Optical engineering":"Ingénierie optique", -"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Ce canal porte à {max} km sur ce câble ; le tracé fait {span} km. Pense aux terminaux sous-marins ou à l’ingénierie optique.", -"Submarine transmission":"Transmission sous-marine", -"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"De meilleurs terminaux et un réglage optique allongent la portée longue distance. Les répéteurs sont déjà inclus ; ces améliorations ne changent pas la latence.", -"Ready in {n} days":"Prêt dans {n} jours", -"{price} · {n} days":"{price} · {n} jours", -"Up to {g} per channel":"Jusqu’à {g} par canal", -"Cable design":"Conception du câble", -"Standard":"Standard", -"Optimized":"Optimisé", -"Low latency":"Faible latence", -"+{n} days":"+{n} jours", -"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"Le tracé de cette conception fait {km} km : trop long pour toute optique, même avec les deux améliorations. Une conception plus courte peut y arriver.", -"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km, c’est trop loin pour tes optiques seules. Ajoute {what} pour allumer ce câble.", -"Estimated latency":"Latence estimée", -"Out of reach without transit {n}":"Hors couverture sans transit {n}", -"Nothing: every network is reachable without transit.":"Aucun : chaque réseau est joignable sans transit.", -"Open peer, but not on any IX where you have a POP. Nearest: {city}":"Peer ouvert, mais sur aucun IX où tu as un POP. Le plus proche : {city}", -"Not in your cities yet. Nearest: {city}":"Pas encore dans tes villes. La plus proche : {city}", -"Where to meet them":"Où les trouver", -"Goal":"Objectif", -"Road to Tier 1":"En route vers le Tier 1", -"Transit ports to cancel":"Ports de transit à résilier", -"PNIs with every Tier 1":"PNI avec chaque Tier 1", -"Tier 1s only take a PNI from a network with {list}.":"Les Tier 1 n’acceptent un PNI que d’un réseau avec {list}.", -"Reach without transit":"Couverture sans transit", -"All {n} out of reach":"Les {n} hors couverture", -"Where?":"Où ?", -"Attack hauled to scrubbing in {city}":"Attaque acheminée vers le scrubbing de {city}", -"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Veut un centre de scrubbing sur son continent, pour que les attaques ne traversent pas un océan", -"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Ton backbone ne peut en acheminer que {g} jusqu’à {city} : le reste n’est pas nettoyé", -"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"Le scrubbing {tier} à {city} le nettoie, acheminé par ton backbone (+{ms} ms)", -"Your scrubbing centers are full: {g} leaks past":"Tes centres de scrubbing sont pleins : {g} passent quand même", -"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Les attaques vont vers ton centre de scrubbing le plus proche. D’ici, c’est {city}, à {km} km : le flot traverse ton backbone aller et retour, ce qui ajoute de la latence, et ce que tes liens ne peuvent pas porter n’est pas nettoyé. Un centre ici nettoie les attaques sur place.", -"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"les attaques sur {city} sont acheminées vers {to} pour le scrubbing : +{ms} ms", -"Scrubbing centers":"Centres de scrubbing", -"Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.":"Construis-en dans autant de POP que tu veux. Une attaque va vers le centre en service le plus proche, et ce qu’il ne peut pas absorber passe au suivant. Un centre lointain veut dire que le flot traverse ton backbone jusque-là et que le trafic de la victime revient par le chemin long : ça remplit tes liens, ça ajoute de la latence, et ce que les liens ne peuvent pas porter n’est pas nettoyé. Les clients qui achètent une protection DDoS le remarquent quand leurs attaques traversent un océan.", -"Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.":"La fille belge de Tangerine : mobile, câble et beaucoup de fibre noire le long des autoroutes wallonnes. Acidulé.", -"Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.":"La poste du Luxembourg, qui gère aussi le téléphone et presque toute la fibre. Tes paquets attendent au guichet que quelqu’un vienne les chercher.", -"A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row":"Un chemin de Marseille à Singapour, et 80 Gbps entre l’Asie et le reste de ton réseau pendant 30 jours d’affilée", -"Your traffic to and from Asia":"Ton trafic vers et depuis l’Asie", -"Days in a row at {g} or more":"Jours d’affilée à {g} ou plus", -"Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.":"Rien à vendre sur cette fibre.
Chaque canal est allumé ou vendu, et la tranchée n’a plus de paire libre.", -"Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.":"Mise en vente chez un courtier en capacité.
{name} veut {what}. Accepte sur la fibre ou dans Offres.", -"Selling spare capacity":"Vendre la capacité libre", -"Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.":"D’autres opérateurs louent ce que tu n’utilises pas : des alien waves sur les canaux libres de ton système de ligne ou, si tu l’as construite, une paire de fibre libre dans la tranchée.", -"Free channels":"Canaux libres", -"via a capacity broker":"via un courtier en capacité", -"List it with a capacity broker they keep 10%":"La confier à un courtier en capacité il garde 10 %", -"Nothing spare to sell on this fiber right now.":"Rien à vendre sur cette fibre pour l’instant.", -"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.", -"Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"Vérifier (dry run) rejoue le trafic du jour avec le script et montre ce que vous serviriez et ce que coûterait le transit. Rien ne change.", -"Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"Déployer 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.", -"Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"Commit terminé. Trafic en baisse de {p}.
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.", -"Delivery: about a month, sometimes 6 to 12 months":"Livraison : environ un mois, parfois 6 à 12 mois", -"Delivery: 2 to 6 weeks":"Livraison : 2 à 6 semaines", -"Their team quotes {m} months":"Leur équipe annonce {m} mois", -"Ready in about {n} days":"Prête dans environ {n} jours", -"on order":"commandée", -"About {n} days to go. Nothing to do but wait, or chase it.":"Encore environ {n} jours. Rien à faire qu’attendre, ou relancer.", -"Chase it":"Relancer", -"Cancel the order":"Annuler la commande", -"PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.":"La PNI avec {net} est en service à {city}.
Un cross-connect chez {dc}. Privé et rapide.", -"Augment with {net} delivered in {city}.
Now {port}.":"Extension avec {net} livrée à {city}.
Désormais {port}.", -"No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.":"Pas de capacité en US East. Vous pouvez vous inscrire sur la liste d’attente ; la liste d’attente est aussi à court de capacité.", -"US East is sold out until further notice. Further notice is also sold out.":"US East est complet jusqu’à nouvel ordre. Le nouvel ordre est complet aussi.", -"Their peering team says US East is “capacity constrained”, which is cloud for “no”.":"Leur équipe de peering dit qu’US East est « capacity constrained », ce qui veut dire « non » en langage cloud.", -"A new region is coming online soon. It has been coming online soon since 2019.":"Une nouvelle région arrive bientôt. Elle arrive bientôt depuis 2019.", -"Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.":"Bonjour ! Nous aimerions faire du peering avec vous à {ix}. Notre fiche PeeringDB est à jour.", -"Dear Sir or Madam, please peer. We have three prefixes and very big plans.":"Madame, Monsieur, merci de bien vouloir peerer. Nous avons trois préfixes et de très grands projets.", -"We noticed you are at {ix}. So are we. Shall we?":"Nous avons remarqué que vous êtes à {ix}. Nous aussi. On y va ?", +"HTTP flood":"HTTP flood", +"HackBack 3000™ $20k":"HackBack 3000™ $20k", +"Haggle":"Négocier", +"Haggle a DE-KICKS quote down.":"Fais baisser un devis DE-KICKS en négociant.", +"Haggles left: {n}.":"Négociations restantes : {n}.", +"Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.":"La moitié du duopole flamand, sur coax. Garde un minuscule port à Frites-IX et se cache derrière sa maison mère internationale : prévois un PNI.", +"Half speed":"Demi-vitesse", +"Halfway between California and everything else in the Pacific. Cables from the US, Australia, New Zealand, Guam and Tahiti come ashore on Oahu. A POP here ends the light’s long swim: waves start fresh on each side, so each half carries more.":"À mi-chemin entre la Californie et tout le reste du Pacifique. Les câbles des États-Unis, d’Australie, de Nouvelle-Zélande, de Guam et de Tahiti atterrissent à Oahu. Un POP ici met fin à la longue nage de la lumière : les longueurs d’onde repartent à neuf de chaque côté, et chaque moitié transporte davantage.", +"Hallway Track":"Discussions de couloir", +"Happiness":"Satisfaction", +"Happiness {p}%":"Satisfaction {p} %", +"Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.":"Mode difficile. Tout ce qui part à l’étranger coûte une fortune, les gens d’ici paient le prix fort, surtout à la Nearly Broadband Network, et tout le reste essaie de te tuer.", +"Hardware prices":"Prix du matériel", +"Has had a /8 since before you were born.":"A un /8 depuis avant ta naissance.", +"Has more batteries than customers.":"Plus de batteries que de clients.", +"Has served the lake since 1912. Now with fiber.":"Au service du lac depuis 1912. Maintenant avec la fibre.", +"Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.":"Polarisation du hash sur ton {lab} : presque tous les flux tombent sur le même membre. Le bundle se dit up. Il est aussi plein.", +"Have Auto-TE move 100 Gbps onto alternate paths at once.":"Fais déplacer 100 Gbps d’un coup sur des chemins alternatifs par l’Auto-TE.", +"Have POPs in 50 cities.":"Aie des POP dans 50 villes.", +"Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.":"Aie des POP sur 3 continents. Les câbles sous-marins coûtent une fortune, alors planifie bien le tracé.", +"Have a cable cut by a dragged anchor.":"Fais couper un câble par une ancre qui traîne.", +"Have a fiber cut.":"Subis une coupure de fibre.", +"Have a second site in 3 metros.":"Aie un second site dans 3 métropoles.", +"Have ports on 10 internet exchanges.":"Aie des ports sur 10 points d’échange.", +"Have your fiber bitten by a crocodile.":"Fais-toi mordre la fibre par un crocodile.", +"Have your fiber chewed through by a beaver.":"Fais ronger ta fibre par un castor.", +"Hawaii’s incumbent. Every plan comes with two scoops of rice and a side of macaroni salad.":"L’opérateur historique d’Hawaï. Chaque forfait est servi avec deux boules de riz et une salade de macaronis.", +"Held the Flood":"Même pas mouillé", +"Hello! I am Large Peering Model. I have read your inbox and I already have opinions.":"Bonjour ! Je suis Large Peering Model. J’ai lu votre boîte et j’ai déjà des avis.", +"Hello, Neighbour":"Salut, voisin", "Hello, please find attached our peering request as a Word document, scanned from a printout.":"Bonjour, veuillez trouver ci-joint notre demande de peering au format Word, scannée depuis une impression.", -"Peering request, fifth attempt. Is anyone there?":"Demande de peering, cinquième tentative. Il y a quelqu’un ?", +"Help and ready-made scripts":"Aide et scripts tout prêts", +"Helsinki to Germany under the Baltic. Anchors keep finding it.":"D’Helsinki à l’Allemagne sous la Baltique. Les ancres n’arrêtent pas de le trouver.", +"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 ».", "Hey, quick one: can you peer with us at {ix}? We have a very important Minecraft server.":"Salut, petite question : vous pouvez peerer avec nous à {ix} ? On a un serveur Minecraft très important.", -"Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.":"Salutations. Nous sommes un réseau en pleine croissance. L’an dernier nous avions un client ; cette année, deux.", -"Please configure sessions with us at {ix}. We will do ours next week, or the week after.":"Merci de configurer les sessions avec nous à {ix}. Nous ferons les nôtres la semaine prochaine, ou celle d’après.", -"Replied to a peering request with a haiku about BGP. No answer yet.":"A répondu à une demande de peering par un haïku sur BGP. Pas de réponse pour l’instant.", -"Signed you up for a webinar on “Peering in the Age of AI”.":"Vous a inscrit à un webinaire sur « Le peering à l’ère de l’IA ».", -"Opened a ticket with itself to review its own decisions. It approved them.":"S’est ouvert un ticket pour revoir ses propres décisions. Il les a approuvées.", -"Wrote a thousand-word apology to a network you never peered with.":"A écrit mille mots d’excuses à un réseau avec qui vous n’avez jamais peeré.", -"Updated your PeeringDB record. Your NOC phone number is now a pizza place.":"A mis à jour votre fiche PeeringDB. Le numéro de votre NOC est maintenant celui d’une pizzeria.", -"Asked NetChill’s peering team to “please provide more Netchill”.":"A demandé à l’équipe peering de NetChill de « fournir plus de Netchill, svp ».", -"Responsive":"Réactif", -"Average":"Dans la moyenne", -"Mostly ignores email":"Ignore presque tous les e-mails", -"Black hole":"Trou noir", -"Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.":"Limite max-prefix atteinte : {who} à {ix}.
La session reste coupée tant que vous n’y avez pas regardé.", +"Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.":"Bonjour ! Nous aimerions faire du peering avec vous à {ix}. Notre fiche PeeringDB est à jour.", +"Hide":"Masquer", +"Hide other models":"Masquer les autres modèles", +"Hide the vacuum":"Cacher l’aspirateur", +"High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.":"Perchée dans les Andes. Aucune fibre ne traverse la jungle du Darién jusqu’au Panama, donc la route du nord passe sous la mer.", +"High-frequency trading link":"Lien de trading haute fréquence", +"Hire extra crews {price} · −30 days":"Embaucher des équipes en renfort {price} · −30 jours", +"Hire it {mo}/mo":"L’embaucher {mo}/mois", +"Hits the high notes across the Atlantic. Huge capacity, cheap waves.":"Monte dans les aigus d’un bout à l’autre de l’Atlantique. Capacité énorme, longueurs d’onde pas chères.", +"Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better":"Encaisse 20 vagues, dont 5 de plus de 1 Tbps, en gardant la ville attaquée à 97 % ou mieux", +"Hold a billion dollars in cash.":"Aie un milliard de dollars en trésorerie.", +"Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.":"Aie en même temps un contrat AI WAN, un training run, un ingest et un contrat de paires de fibres.", +"Hold deals at 3 different AI campuses at once.":"Aie des contrats sur 3 campus IA différents en même temps.", +"Hold music":"Musique d’attente", +"Home broadband":"Haut débit résidentiel", +"Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.":"Abonnés haut débit résidentiels. Ils téléchargent surtout depuis des CDN et te paient par Gbps livré. Sers-les bien et ils se multiplient.", +"Honolulu, in the middle of the Pacific. The cables between the Americas, Asia and Australia are so long that a wave on them carries only 400G or 800G. Stop the light on an island, start it fresh, and every hop gets shorter and faster. You start with 1.6T gear unlocked.":"Honolulu, au milieu du Pacifique. Les câbles entre les Amériques, l’Asie et l’Australie sont si longs qu’une longueur d’onde n’y transporte que 400G ou 800G. Arrête la lumière sur une île, fais-la repartir à neuf, et chaque saut devient plus court et plus rapide. Tu commences avec le matériel 1.6T débloqué.", +"Hops from New York to the UK and Spain.":"Saute à cloche-pied de New York au Royaume-Uni et à l’Espagne.", +"Hops the Caribbean so Bogotá can skip the jungle.":"Saute par-dessus les Caraïbes pour que Bogotá puisse éviter la jungle.", +"Hops via Greenland. Polar bears included.":"Fait escale au Groenland. Ours polaires inclus.", +"Host an embedded cache":"Héberge un cache embarqué", +"Hosting":"Hébergement", +"Hosting customers patching at 3 a.m.":"Les clients hébergement patchent à 3 h du matin", +"Hosting for every family restaurant in the south.":"Hébergement pour toutes les trattorias familiales du Sud.", +"Hosting for surfboard shops. Closed when the waves are good.":"Hébergement pour boutiques de surf. Fermé quand les vagues sont bonnes.", +"Hosts every game you play at 2 a.m. Hates jitter.":"Héberge tous les jeux auxquels tu joues à 2 h du matin. Déteste le jitter.", +"Hosts exactly one website and three lawyers.":"Héberge exactement un site web et trois avocats.", +"How RouteScript works":"Comment marche RouteScript", +"How it arrives":"Comment il arrive", +"How the internet works here":"Comment marche Internet ici", +"How to play":"Comment jouer", +"Huge eyeball market. Pricey neighbours.":"Énorme marché d’eyeballs. Voisins chers.", +"Huge eyeball network. Come for the broadband, stay because there is no other choice.":"Énorme réseau eyeball. On vient pour le haut débit, on reste parce qu’il n’y a pas le choix.", +"Huge in Asia. \"Which telecom?\" \"Not that one.\"":"Énorme en Asie. « Quel télécom ? » « Pas celui-là. »", +"Huge mobile market. Most of its traffic still detours through the US.":"Énorme marché mobile. L’essentiel de son trafic fait encore un détour par les États-Unis.", +"Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.":"Immense, dense et affamée. Son trafic international se faufile par deux ou trois câbles, ou arrive par voie terrestre depuis l’Inde.", +"Hundred Terabits":"Cent térabits", +"Hundreds of fiber pairs":"Des centaines de paires de fibre", +"Hyperscaler DCI":"DCI d’hyperscaler", +"I Survived the Elephant":"J’ai survécu à l’éléphant", +"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.", +"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.", +"IP transit":"Transit IP", +"IPv6 milestone":"Jalon IPv6", +"IPv6 or bust: you must peer with Drizzle Electric":"IPv6 ou rien : tu dois faire du peering avec Drizzle Electric", +"IRU handover":"Remise de l’IRU", +"IRU lease":"Location de l’IRU", +"IX (Internet Exchange)":"IX (Internet Exchange, point d’échange)", +"IX Collector":"Collectionneur d’IX", +"IX blackhole ~half honour it":"Blackhole IX ~la moitié le respecte", +"IX blackhole on ✓":"Blackhole IX actif ✓", +"IX meltdown":"IX en vrac", +"IX members on {ix}: {n}":"Membres de l’IX sur {ix} : {n}", +"IX peering":"Peering IX", +"IX peering beats transit":"le peering IX bat le transit", +"IX ports":"Ports IX", +"IX.brrr ports":"Ports IX.brrr", +"IX: {ix}":"IX : {ix}", +"Iceland to Denmark, choreographed.":"De l’Islande au Danemark, en chorégraphie.", +"Iceland to Ireland, brand new and still smells like plastic.":"De l’Islande à l’Irlande, flambant neuf, et ça sent encore le plastique.", +"Iceland’s lifeline to Scotland. Lonely but determined.":"Le cordon vital de l’Islande vers l’Écosse. Solitaire mais déterminé.", +"Import a save":"Importer une sauvegarde", +"Import a save from a file":"Importer une sauvegarde depuis un fichier", +"In Debt We Trust":"In Debt We Trust", +"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.":"Dans le Golfe, les POP saoudiens exigent une licence télécom locale et les données des utilisateurs saoudiens restent dans le Royaume ; les gigaprojets réclament d’énormes réseaux de démo ; et de temps en temps les voisins se brouillent et tous les liens entre le Qatar et l’Arabie saoudite ou les Émirats s’éteignent pendant des mois, alors garde une route maritime. L’Amérique du Sud est suspendue à Miami : le transit y est plus cher, rien ne traverse le Darién Gap par voie terrestre, et la fibre au-dessus des Andes coûte le double et casse souvent. IX.brrr au Brésil est géré par une association à but non lucratif aux prix publics bas, et les petits provedores brésiliens achètent du transit en gros. Aux Émirats, seul le duopole peut poser de la fibre : pas de fibre noire, et des longueurs d’onde à 3×. La Corée fonctionne en « sender pays » : le transit vers Séoul coûte environ quatre fois le prix habituel et les trois opérateurs historiques ne peerent que via des PNI payants, facturés au gigabit envoyé. Les câbles de Taïwan croisent beaucoup d’ancres, la fibre indienne croise les élargissements de routes et la mousson, et l’Afrique du Sud a ses délestages : apporte un groupe électrogène. L’Australie est loin de tout : le transit et les longueurs d’onde y coûtent plus cher que presque partout, même si les ports IX sont bon marché. Les foyers paient bien leur Internet, mais le Nearly Broadband Network garde près de la moitié de chaque facture. Les routeurs sont montés à l’envers, et tout le reste essaie de te tuer.", +"In use":"Utilisé", "Inbox":"Boîte", -"{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.":"{who} a demandé sur une liste de diffusion si quelqu’un avait un contact qui marche chez {me}.
Leur demande de peering a dormi un mois dans votre boîte.", -"{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.":"{who} à {ix} envoyait une table complète, et la limite max-prefix était la seule chose qui la retenait. Limite relevée, les préfixes de {net} pointent vers leur cave. Le trafic vers {net} via le transit part dans un trou noir pendant quelques jours.", -"That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.":"C’était une fuite de routes.
{who} annonçait {n} préfixes : une table complète. La prochaine fois, laissez-la coupée.", -"Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.":"La session avec {who} est rétablie.
Nouvelle limite : {n} préfixes. Ils promettent de mettre PeeringDB à jour.", -"Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.":"Bien vu : c’était une fuite de routes.
{who} a trouvé une route-map mal tapée. La session revient toute seule dans quelques jours.", -"The session stays down.
{who} will update PeeringDB and ask again. Eventually.":"La session reste coupée.
{who} va mettre PeeringDB à jour et redemander. Un jour.", -"Declined {who} at {ix}: “not a strategic fit”. They were.":"A refusé {who} à {ix} : « pas stratégique ». Ils l’étaient.", -"Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.":"A relevé la limite max-prefix de {who} à {ix} à {n}. Ils avaient l’air sympas.", +"Inbox zero.":"Inbox zéro.", +"Inbox zero. Enjoy it while it lasts.":"Inbox zéro. Profitez-en tant que ça dure.", +"Incident":"Incident", +"Incidents":"Incidents", +"Incidents so far":"Incidents jusqu’ici", +"Incidents survived":"Incidents surmontés", +"Includes a new POP in {city} ({price}{extra}).":"Inclut un nouveau POP à {city} ({price}{extra}).", +"Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.":"Inclut le boîtier gouvernemental obligatoire dans ta baie : {cost} + {mo}/mois. Il est livré avec son propre auditeur attentif.", +"India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way.":"L’Inde, le Moyen-Orient et l’Europe de l’Ouest, tout sur un seul câble. Fait escale à Cairo en chemin.", +"India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.":"Le hub d’atterrissement de la côte est de l’Inde, avec des câbles vers Singapore. La saison des cyclones, c’est du sérieux.", +"India’s other giant. Every outage comes with a story.":"L’autre géant de l’Inde. Chaque panne a son histoire.", +"India’s tech capital. Packets move faster than the cars outside.":"La capitale tech de l’Inde. Les paquets vont plus vite que les voitures dehors.", +"Indonesia’s mobile giant. Every packet poses for a photo first.":"Le géant mobile d’Indonésie. Chaque paquet prend d’abord la pose pour une photo.", +"Infra":"Infra", +"Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.":"Dans les terres derrière Ostende, là où les câbles venus d’Angleterre touchent terre. La mer du Nord est peu profonde, encombrée et pleine de chalutiers.", +"Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.":"Aux Émirats, seuls les deux opérateurs agréés, Etis-a-lot et Du-opoly, peuvent poser de la fibre. Pas de fibre noire, pas de tranchée perso, et les longueurs d’onde coûtent 3×.", +"Insists on two routers in their city":"Exige deux routeurs dans sa ville", +"Inspect":"Inspecter", +"Install":"Installer", +"Install Auto-TE {cost} + {mo}/mo":"Installer Auto-TE {cost} + {mo}/mois", +"Install first.":"Installe d’abord.", +"Install generator {cost} + {mo}/mo":"Installer le groupe {cost} + {mo}/mois", +"Install it before you start: a game begun in Safari stays in Safari.":"Installe-le avant de commencer : une partie commencée dans Safari reste dans Safari.", +"Install the app":"Installer l’appli", +"Installed":"Installé", +"Instant approval. Instant regret.":"Accord instantané. Regrets instantanés.", +"Interconnection fabrics (NNI)":"Fabrics d’interconnexion (NNI)", +"Internal path over {n} link, chosen by distance and link metrics.":"Chemin interne sur {n} lien, choisi selon la distance et les métriques des liens.", +"Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Chemin interne sur {n} lien, choisi selon la distance et les métriques des liens. L’Auto-TE peut déporter le surplus ailleurs quand il est plein.", +"Internal path over {n} links, chosen by distance and link metrics.":"Chemin interne sur {n} liens, choisi selon la distance et les métriques des liens.", +"Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Chemin interne sur {n} liens, choisi selon la distance et les métriques des liens. L’Auto-TE peut déporter le surplus ailleurs quand il est plein.", +"Internet Exchange":"Internet Exchange", +"Internet Exchanges":"Internet Exchanges", +"Internet cafe turned ISP. The gamers came for the ping.":"Cybercafé devenu FAI. Les gamers sont venus pour le ping.", +"Internet weather system":"Météo d’Internet", +"Investor revenue share":"Part du CA aux investisseurs", +"Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse.":"De l’Irlande à la Norvège, par le long chemin qui contourne le nord de l’Écosse. Des Vikings, mais à l’envers.", +"Iron Curtain Call":"Lever de rideau de fer", +"Is This the Internet?":"C’est ça, Internet ?", +"Island Hopper":"D’île en île", +"Istanbul to Bucharest's coast across the Black Sea.":"D’Istanbul à la côte de Bucharest, à travers la mer Noire.", +"It almost never rains, but the sea fog keeps the racks cool.":"Il ne pleut presque jamais, mais le brouillard marin garde les baies au frais.", +"It is dark. Add optics to light it up.":"Elle est éteinte. Ajoute des optiques pour l’allumer.", +"It is full, so some traffic overflows to the next exit.":"Elle est pleine, donc une partie du trafic déborde vers la sortie suivante.", +"It opens straight into your network, like any other app.":"Elle s’ouvre directement sur ton réseau, comme n’importe quelle appli.", +"It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.":"Ça passe par ta propre fibre, donc le Nearly Broadband Network ne touche rien. Le gouvernement prélève quand même une taxe de {pct}.", +"It takes two to peer.":"Le peering, ça se danse à deux.", +"It was DNS":"C’était le DNS", +"It's not DNS. There's no way it's DNS. It was DNS.":"Ce n’est pas le DNS. Impossible que ce soit le DNS. C’était le DNS.", +"Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.":"Immigrés italiens, vignobles et usines. Tes baies partagent les collines avec les vendanges.", +"Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.":"La capitale numérique de l’Italie. Trafic de fashion week, un NOC qui carbure à l’espresso et plus d’IX que tu ne l’imagines.", +"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"L’opérateur historique italien. Doux à l’extérieur, intraitable sur les ratios de peering.", +"Its predecessor was FASTER. Marketing had a good day.":"Son prédécesseur s’appelait FASTER. Le marketing était en forme ce jour-là.", +"Jan":"janv", +"Japanese carrier that builds everything itself. Even the cable ships.":"Opérateur japonais qui construit tout lui-même. Même les navires câbliers.", +"Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.":"Le deuxième hub du Japon, et le plan de reprise d’activité de Tokyo. Les séismes frappent rarement les deux.", +"Jerry-cho deep-buffer silicon":"puce deep-buffer Jerry-cho", +"Jerry-cho³ deep-buffer silicon":"puce deep-buffer Jerry-cho³", +"Jerry-cho⁵ deep-buffer silicon":"puce deep-buffer Jerry-cho⁵", +"Join an Internet Exchange":"Rejoins un point d’échange", +"Join route server":"Rejoindre le route server", +"Join the NOC chat":"Rejoins le chat du NOC", +"Join →":"Rejoindre →", +"Juicy reach into Europe and Africa.":"Une couverture juteuse en Europe et en Afrique.", +"Jul":"juil", +"Jun":"juin", +"Junk traffic is eating your capacity. Open the NOC to fight back.":"Le trafic poubelle mange ta capacité. Ouvre le NOC pour riposter.", +"Just in time.":"Juste à temps.", +"Keep Calm":"Pas de panique", +"Keep POPs on at least 2 continents. Diversification!":"Garde des POP sur au moins 2 continents. Diversification !", +"Keep a spares kit {price}/mo":"Garder un kit de rechange {price}/mois", +"Keep at least one POP.":"Garde au moins un POP.", +"Keep building":"Continuer à construire", +"Keep it down":"La laisser coupée", +"Keep playing":"Continuer à jouer", +"Keep them":"Les garder", +"Keep your peering ratio above 30%. The bank read a blog post about peering.":"Garde ton ratio de peering au-dessus de 30 %. La banque a lu un article de blog sur le peering.", +"Kenya to the Gulf. Makes the dream work.":"Du Kenya au Golfe. L’union fait la force.", +"Kenya’s mobile giant. Pays you in M-Pesos.":"Le géant mobile du Kenya. Te paie en M-Pesos.", +"Kept the lights on in its town through every blackout.":"A gardé la lumière dans sa ville à chaque coupure de courant.", "Kept {who} down at {ix} for “suspicious growth”. They had grown by one customer.":"A laissé {who} coupé à {ix} pour « croissance suspecte ». Ils avaient gagné un client.", -"Raised the max-prefix limit for {who} at {ix}. Correctly, this time.":"A relevé la limite max-prefix de {who} à {ix}. À raison, cette fois.", "Kept {who} down at {ix}: it was a route leak. Nailed it.":"A laissé {who} coupé à {ix} : c’était une fuite de routes. Dans le mille.", -"Answered your mail: {a} accepted, {d} declined.":"A répondu à votre courrier : {a} acceptées, {d} refusées.", -"Tidied up a session it decided was unused: de-peered {who} at {ix}.":"A fait le ménage dans les sessions qu’il jugeait inutiles : a dépeeré {who} à {ix}.", -"{n} day ago":"il y a {n} jour", -"{n} days ago":"il y a {n} jours", -"today":"aujourd’hui", +"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"L’opérateur historique coréen. Sender pays : chaque gigabit que tu lui remets est facturé, en plus du port.", +"L2 circuits":"Circuits L2", +"L2VPN & DDoS protection":"L2VPN et protection DDoS", +"L2VPN circuit":"Circuit L2VPN", +"L2VPN customers":"Clients L2VPN", +"L2VPN for {name}":"L2VPN pour {name}", +"LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.":"Timers LACP fast/slow incohérents sur ton {lab} : un membre n’arrête pas de sortir du bundle sur timeout et d’y revenir.", +"LACP trouble":"Souci LACP", +"LAGs":"LAG", +"Laid last century. Cuts often, costs more, still somehow running.":"Posé au siècle dernier. Souvent coupé, plus cher, et pourtant il tourne encore.", +"Land a HackBack 3000™ that actually works.":"Réussis un HackBack 3000™ qui fonctionne vraiment.", +"Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.":"Décroche un WAN IA, un entraînement multi-site ou un contrat de paires de fibre avec un hyperscaler. Niveau client 4 et un POP près de son campus requis.", +"Landing point for cables from the US, Iceland and the Baltic.":"Point d’atterrissement des câbles venant des États-Unis, d’Islande et de la Baltique.", +"Landing stations":"Stations d’atterrissement", +"Language":"Langue", +"Large Peering Model":"Large Peering Model", +"Large Peering Model is answering your mail":"Large Peering Model répond à votre courrier", +"Large Peering Model is on it.":"Large Peering Model s’en occupe.", +"Latency":"Latence", +"Latency test":"Test de latence", +"Later":"Plus tard", +"Launch broadband {cost}":"Lancer le haut débit {cost}", +"Lay the cable {price}":"Poser le câble {price}", +"Lay your first fiber":"Pose ta première fibre", +"Lay your own subsea cable…":"Pose ton propre câble sous-marin…", +"Layered, resilient and somehow always open.":"Tout en couches, résilient et toujours ouvert, on ne sait trop comment.", +"Laying your own subsea cable is a Tier 1 thing. Go transit-free first.":"Poser ton propre câble sous-marin, c’est un truc de Tier 1. Libère-toi d’abord du transit.", +"Leap second":"Seconde intercalaire", +"Lease a wave":"Louer une longueur d’onde", +"Lease an IRU {price}/mo · ready in 30 days":"Louer un IRU {price}/mois · prêt en 30 jours", +"Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.":"Loue un IRU ou construis la tienne (lent, avec des retards), puis achète un système de ligne avec amplificateurs et allume des canaux avec des transpondeurs 400ZR+, 800ZR+ ou 1.6T. Bien moins cher que les longueurs d’onde à grande échelle, mais le matériel peut tomber en panne. Un kit de rechange accélère les réparations.", +"Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.":"Fibre noire louée : {up} d’entrée, {mo}/mois, prête en environ {n} jours.", +"Lease hundreds of fiber pairs to a hyperscaler.":"Loue des centaines de paires de fibres à un hyperscaler.", +"Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.":"Loue ou creuse de la fibre noire, pose un système DWDM dessus et allume un canal. Moins cher par bit que des longueurs d’onde, une fois que ça marche.", +"Leased lines":"Lignes louées", +"Leave IX":"Quitter l’IX", +"Leave anyway":"Partir quand même", +"Leave route server":"Quitter le route server", +"Leaves the Gulf from Fujairah and runs up the Red Sea to Europe.":"Quitte le Golfe depuis Fujairah et remonte la mer Rouge jusqu’en Europe.", +"Left on Read":"Laissé en vu", +"Legendary":"Légendaire", +"Lends you money and also a little bit of their own.":"Te prête de l’argent, et aussi un peu du sien.", +"Level {n}":"Niveau {n}", +"License paperwork in progress: {n} days left.":"Dossier de licence en cours : encore {n} jours.", +"Licenses and scrubbing":"Licences et scrubbing", +"Light a wave on the Humboldt cable to Sydney.":"Allume une longueur d’onde sur le câble Humboldt vers Sydney.", +"Light fiber pair {n} {price} + {mo}/mo":"Allumer la paire {n} {price} + {mo}/mois", +"Light fiber pair {n} {price}":"Allumer la paire {n} {price}", +"Light up your first customers":"Allume tes premiers clients", +"Light your own dark fiber":"Allume ta propre fibre noire", +"Lighter on paperwork than its namesake. Still heavy on paperwork.":"Moins de paperasse que son homonyme. Mais toujours beaucoup de paperasse.", +"Lightning hit an amp site on {a}–{b}. The surge protector was decorative.":"La foudre a frappé un site d’amplification sur {a}–{b}. Le parafoudre était décoratif.", +"Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.":"Allume aussi la bande L : deux fois plus de spectre, jusqu’à 128 canaux sur une paire de fibres, et des amplificateurs deux fois plus longs à expliquer.", +"Like blackholing, but with a Plus.":"Comme le blackholing, mais avec un Plus.", +"Line system":"Système de ligne", +"Link Panama City and Bogotá.":"Relie Panama City et Bogotá.", +"Links":"Liens", +"Links & routers":"Liens et routeurs", +"Links removed":"Liens supprimés", +"Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone.":"De Lisbon à Barcelona et Marseille le long de la côte. Regarde le graphe de latence droit dans les yeux et il se change en pierre.", +"List it with a capacity broker they keep 10%":"La confier à un courtier en capacité il garde 10 %", +"List price":"Prix catalogue", +"Live attack: {city}":"Attaque en cours : {city}", +"Live through the day half the internet went down.":"Survis au jour où la moitié d’internet est tombée.", +"Live: {state} · {rules}":"État : {state} · {rules}", +"Llama Drama":"Lama fâché", +"Load":"Charger", +"Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.":"Délestage niveau {n} à {city}, et tu n’as pas de groupe électrogène. Achètes-en un : ici, ce n’est pas optionnel.", +"Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Le délestage a mis {site} hors service à {city}. {other} a tenu, donc le POP tourne à mi-capacité. Tout ce qui n’est branché que sur le site éteint est hors ligne.", +"Load this network":"Charger ce réseau", +"Load {name}?":"Charger {name} ?", +"Load-bearing typo":"Coquille porteuse", +"Loaded {name}. Check it, then deploy.":"{name} chargé. Vérifiez-le, puis déployez.", +"Loan repayments":"Remboursements de prêts", +"Local ISP":"FAI local", +"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout local : transit ou port IX dans leur propre ville, ou PNI local si tu es Tier 1", +"Lock prices for a year {cost}":"Bloquer les prix pour un an {cost}", +"London to Paris under the Channel. Cheaper than the train.":"De London à Paris sous la Manche. Moins cher que l’Eurostar.", +"Lonely Penguin":"Manchot solitaire", +"Long Island to Cornwall. Follow it all the way to the wizard in the cable hut.":"De Long Island aux Cornouailles. Suis-le jusqu’au magicien dans la cabane à câbles.", +"Looking glass":"Looking glass", +"Los Angeles to Chile, with a small detour for Panama.":"De Los Angeles au Chili, avec un petit détour par le Panama.", +"Los Angeles to Hawaii, Guam and the Philippines. See you later, packets.":"De Los Angeles à Hawaï, Guam et les Philippines. À plus tard, les paquets.", +"Lose a metro ring to one backhoe.":"Perds un anneau métropolitain à cause d’une seule pelleteuse.", +"Lose exclusive benefits?":"Perdre tes avantages exclusifs ?", +"Lose fiber to a llama herd.":"Perds de la fibre à cause d’un troupeau de lamas.", +"Lost":"Perdu", +"Lost on the way":"Perdu en route", +"Lots of small sessions on little plates.":"Plein de petites sessions servies dans de petits paniers vapeur.", +"Low latency":"Faible latence", +"Lowest latency":"Latence minimale", +"Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.":"Les datacenters du Luxembourg ne sont pas à Luxembourg-ville. Ils sont ici, Tier IV, et refroidis par une centrale qui brûle des déchets de bois.", +"Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.":"La poste du Luxembourg, qui gère aussi le téléphone et presque toute la fibre. Tes paquets attendent au guichet que quelqu’un vienne les chercher.", +"Lv {n}":"Niv. {n}", +"Lyrics servers, low latency, high pitch.":"Serveurs de paroles, latence basse, notes perchées.", +"MTU mismatch":"MTU incohérente", +"MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.":"MTU incohérent sur {a}–{b} : les jumbo frames restent coincées dans le tube. Capacité utile divisée par deux.", +"Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.":"Saison des attaques de pies : les techniciens sur {a}–{b} refusent de sortir de la camionnette, et ta coupure reste coupée.", +"Main route":"Parcours principal", +"Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.":"La Chine continentale exige une licence et une coentreprise locale. Beaucoup de services étrangers y sont bloqués, et le trafic qui passe la frontière perd des paquets, sauf si tu paies des routes premium.", +"Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"La Chine continentale joue selon ses propres règles. {list} et d’autres services étrangers y sont bloqués, donc les utilisateurs atteignent surtout des réseaux chinois. Le trafic qui passe la frontière perd environ {pct} en filtrage et congestion, sauf s’il emprunte une route premium : du transit CN-Too ou un circuit transfrontalier premium (tous deux vendus uniquement à Hong Kong), ou un PNI avec un réseau chinois. Le revenu par utilisateur est plus faible ici.", +"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"Chine continentale. Derrière le Great Firewall, avec ses propres règles pour les réseaux étrangers.", +"Mainland China. Enormous market, strict rules, and a famously congested border.":"Chine continentale. Marché énorme, règles strictes et une frontière réputée congestionnée.", +"Maintenance Window":"Fenêtre de maintenance", +"Maintenance window":"Fenêtre de maintenance", +"Maintenance window in {city}":"Fenêtre de maintenance à {city}", +"Make 5 peering friends":"Fais-toi 5 amis de peering", +"Make sacrificial contains floods · ½ capacity":"Rendre sacrificiel contient les floods · ½ capacité", +"Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.":"Fabrique la plupart des puces du monde et dépend d’une poignée de câbles sous-marins. Des navires n’arrêtent pas d’y traîner « accidentellement » leurs ancres.", +"Makes your port \"ready\" for a product you did not buy.":"Rend ton port « prêt » pour un produit que tu n’as pas acheté.", +"Malaysia’s incumbent. In no hurry whatsoever.":"L’opérateur historique de Malaisie. Pas pressé le moins du monde.", +"Management declared a change freeze. Someone made a change to announce the change freeze.":"La direction a décrété un gel des changements. Quelqu’un a fait un changement pour annoncer le gel des changements.", +"Mar":"mars", +"Mars mission ground station":"Station sol de mission martienne", +"Mars mission ground stations. Gear: The Router at the End of the Universe.":"Stations sol de missions martiennes. Matos : The Router at the End of the Universe.", +"Marseille to Singapore, then it leaves the party.":"De Marseille à Singapore, puis il s’éclipse de la fête.", +"Matching outfits, perfect harmonies, and they peer with absolutely everyone.":"Tenues assorties, harmonies parfaites, et ils font du peering avec absolument tout le monde.", +"Max-prefix limit hit: {who} at {ix}":"Limite max-prefix atteinte : {who} à {ix}", +"Max-prefix meltdown":"Max-prefix en vrac", +"Maxed out. Traffic here is being dropped.":"Saturé. Du trafic est perdu ici.", +"May":"mai", +"Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.":"Megapork, PocketFabric et Consolation Connect vendent un port plus des circuits virtuels entre villes. Parfait pour les petits liens et le remote peering sur un IX où tu n’as pas de POP.", +"Member":"Membre", +"Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.":"Détenu par ses membres et à but non lucratif. Plus petit que LYNX, mais il y a des biscuits à l’AG.", +"Members paying you":"Membres payants", +"Mercury":"Mercure", +"Met the Backhoe":"Rencontre du troisième godet", +"Metaverse platform":"Plateforme de métavers", +"Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.":"Plateformes de métavers (ça a fini par décoller), et un PNI gratuit avec Etis-a-lot. Matos : routeurs Arrrhipster 7800R5, fabrics de 102.4T pour ton propre IX.", +"Metro diversity":"Diversité métropolitaine", +"Metro ring cut":"Anneau métro coupé", +"Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.":"La Silicon Valley du Mexique, berceau du mariachi et de la tequila. Conception de puces le jour, musique la nuit.", +"Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.":"La ville du boom des datacenters au Mexique, haute et sèche au centre du pays. Chaque cloud y veut sa région.", +"Mexico’s giant. Paid peering only, and the pricing is a mess.":"Le géant du Mexique. Peering payant uniquement, et la grille tarifaire est un vrai bazar.", +"Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.":"La capitale industrielle du Mexique, à quelques heures du Texas. Usines, acier et chevreau grillé le week-end.", +"Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.":"Les microbursts sur {a}–{b} débordent les buffers peu profonds des routeurs : 0,5 % de perte en pointe, et chaque visio le remarque.", +"Mid-Atlantic Accent":"Accent mi-atlantique", +"Mind the Gap":"Gare au bouchon", +"Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.":"Mobile money et data prépayée dans quatorze pays. Te le rappelle à chaque recharge.", +"Mode":"Mode", +"Modes":"Modes", +"Money per month":"Argent par mois", +"Monitoring":"Supervision", +"Monthly":"Mensuel", +"Monthly P&L":"Résultat mensuel", +"Monthly price, just for you":"Prix mensuel, rien que pour toi", +"More scenarios":"Plus de scénarios", +"More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.":"Plus de trafic via peering, PNI et caches, c’est moins de latence, et des utilisateurs contents, c’est une croissance plus rapide.", +"Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.":"La capitale économique du Maroc sur l’Atlantique, la porte entre l’Europe et l’Afrique de l’Ouest.", +"Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.":"L’opérateur historique du Maroc, avec des réseaux frères le long de la côte ouest-africaine. Porte la charge sans se plaindre.", +"Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.":"Moscow impose une boîte gouvernementale dans chaque POP, les CDN occidentaux sont presque tous partis, la vidéo Goggle est bridée à mi-vitesse, et les exercices d’Internet souverain coupent de temps en temps Moscow du monde pendant une journée.", +"Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.":"La plupart des câbles des Émirats atterrissent sur cette côte, hors du détroit d’Ormuz. Aller d’ici à Dubai, c’est louer au duopole.", +"Mostly ignores email":"Ignore presque tous les e-mails", +"Mountain wireless. Will spit at bad routes.":"Sans-fil de montagne. Crache sur les mauvaises routes.", +"Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.":"Des montagnes, des mines et plus de bars par habitant que partout ailleurs au Brésil. Les accords de peering se signent autour d’un pão de queijo.", +"Move one to A":"En déplacer un vers A", +"Move one to B":"En déplacer un vers B", +"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.", +"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é.", +"Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.":"Ont tout migré en PNI dans cette ville. Merci de lire leur page PearingDB, les 40 pages.", +"Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.":"La capitale du Mozambique, à une heure de l’Afrique du Sud. Ses câbles sont le secours de la côte est quand les autres cassent.", +"Multi-site training run":"Entraînement multi-site", +"Mumbai’s street-food exchange. Fast, spicy and cheap.":"L’IX street food de Mumbai. Rapide, épicé et pas cher.", +"Mystery link":"Lien mystère", +"NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.":"NANOG, RIPE, DENOG et compagnie reviennent chaque année. Inscris-toi dans l’onglet Offres pour $8k. Pendant les 45 jours suivants, les réseaux sélectifs présents dans cette région ne demandent que la moitié du trafic habituel avant de faire du peering avec toi. Parfois, tu gagnes aussi la tombola.", +"NNI fabrics":"Fabrics NNI", +"NOC dashboard":"Tableau de bord NOC", +"NTP amplification":"amplification NTP", +"Name":"Nom", +"Name your network":"Nomme ton réseau", +"Named after a planet, behaves like one: big and far away.":"Porte le nom d’une planète et se comporte comme telle : gros et lointain.", +"Named after a wine. São Paulo to Buenos Aires, past Uruguay.":"Porte le nom d’un vin. De São Paulo à Buenos Aires, en passant par l’Uruguay.", +"Naming committee":"Comité de nommage", +"Nearly Broadband Network wholesale":"Vente en gros du Nearly Broadband Network", +"Needs a POP in {cities}":"Nécessite un POP à {cities}", +"Needs a POP in {cities} too.":"Il faut aussi un POP à {cities}.", +"Needs a ROADMaster 9000 line system.":"Nécessite un système de ligne ROADMaster 9000.", +"Needs low-loss reach into China":"Veut un accès vers la Chine à faible perte", +"Needs routers with {pn} ports or bigger at both ends ({city}).":"Il faut des routeurs avec des ports {pn} ou plus aux deux extrémités ({city}).", +"Needs your own scrubbing center (Infra tab).":"Il faut ton propre centre de scrubbing (onglet Infra).", +"Needs {min} Gbps of traffic to {net} (now {now})":"Nécessite {min} Gbps de trafic vers {net} (actuellement {now})", +"Nervous, but enthusiastic.":"Nerveuse, mais enthousiaste.", +"Network":"Réseau", +"Network menu: save, load or start over":"Menu du réseau : sauvegarder, charger ou recommencer", +"Network-wide peering ratio":"Ratio de peering sur tout le réseau", +"Networks":"Réseaux", +"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.", +"Never Paid List Price":"Jamais au prix catalogue", +"Never build in Bude. The loan officer had a bad surfing holiday there.":"Ne construis jamais à Bude. Le chargé de prêts y a passé de mauvaises vacances de surf.", +"Never let cash drop below $50k. It makes us sweat.":"Ne laisse jamais ta trésorerie passer sous $50k. Ça nous fait transpirer.", +"Never sell your TubeCoin. Diamond hands.":"Ne vends jamais tes TubeCoin. Mains de diamant.", +"New Caledonia, a slice of France in the Coral Sea, with a cable to Sydney and a nickel mine on every hill.":"La Nouvelle-Calédonie, un bout de France dans la mer de Corail, avec un câble vers Sydney et une mine de nickel sur chaque colline.", +"New POP!":"Nouveau POP !", +"New York to Ireland: the tech-tax express.":"De New York à l’Irlande : l’express de l’optimisation fiscale.", +"New York to the cliffs of Bude. It made it home in the end.":"De New York aux falaises de Bude. Il a fini par rentrer maison.", +"New Zealand’s shiniest ISP.":"Le FAI le plus étincelant de Nouvelle-Zélande.", +"New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore.":"Les nouveaux câbles atterrissent de plus en plus à Jeddah plutôt qu’en Égypte. Celui-ci file vers l’Inde et Singapore.", +"New circuit":"Nouveau circuit", +"New diverse route +40% · survives cuts alone":"Nouveau parcours diversifié +40 % · survit seul aux coupures", +"New fiber and cable builds":"Nouvelles fibres et nouveaux câbles", +"New in Series of Tubes {v}":"Nouveautés de Series of Tubes {v}", +"New routers went in today. The next swap can wait until tomorrow.":"Les nouveaux routeurs ont été installés aujourd’hui. Le prochain remplacement attendra demain.", +"Next: {name} unlocks {what}":"Prochain : {name} débloque {what}", +"Next: {req} unlocks {what}":"Suivant : {req} débloque {what}", +"No":"Non", +"No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.":"Aucun transit Cogentle, nulle part. Notre PDG s’est fait dépeerer une fois et ne s’en est jamais remis.", +"No Goggle cache boxes. Our chairman lost an argument with a search engine.":"Aucun cache Goggle. Notre président a perdu un débat contre un moteur de recherche.", +"No IX here yet. You could found one later.":"Pas encore d’IX ici. Tu pourras en fonder un plus tard.", +"No browser bars, a lot more map.":"Pas de barres de navigateur, beaucoup plus de carte.", +"No businesses yet. Offers pop up as $ bubbles on the map.":"Pas encore d’entreprise. Les offres apparaissent sous forme de bulles $ sur la carte.", +"No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.":"Pas de capacité en US East. Vous pouvez vous inscrire sur la liste d’attente ; la liste d’attente est aussi à court de capacité.", +"No conditions. That is the scary part.":"Aucune condition. C’est bien ça qui fait peur.", +"No connections yet. Buy transit or join an exchange from a POP.":"Pas encore de connexion. Achète du transit ou rejoins un IX depuis un POP.", +"No customers here.":"Aucun client ici.", +"No customers yet. Offers show up in the Deals tab.":"Pas encore de clients. Les offres apparaissent dans l’onglet Offres.", +"No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.":"Pas de fibre noire aux Émirats. Seuls les deux opérateurs licenciés peuvent poser de la fibre ici, et ils ne vendent que des longueurs d’onde.", +"No diesel generators anywhere. Our sustainability team is watching.":"Aucun groupe électrogène diesel, nulle part. Notre équipe RSE te surveille.", +"No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.":"Pas de frais d’installation, actif en quelques minutes, facturé au mois. Moins cher qu’une longueur d’onde pour une petite capacité, mais ça passe par le fabric de quelqu’un d’autre, et ce fabric peut tomber en panne.", +"No links yet.":"Aucun lien pour l’instant.", +"No mail yet. Buy an IX port and it will come.":"Pas encore de courrier. Achetez un port IX, il viendra.", +"No navigable sea route connects these landing stations.":"Aucun itinéraire maritime navigable ne relie ces stations d’atterrissement.", +"No new links on a Friday. The stars do not allow it.":"Aucun nouveau lien le vendredi. Les astres ne le permettent pas.", +"No new subsea links while this loan runs. We are afraid of sharks.":"Aucun nouveau lien sous-marin tant que ce prêt court. On a peur des requins.", +"No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.":"Aucune offre pour l’instant. Les banques se manifestent de temps en temps, et bien plus vite quand tu es dans le pétrin. Une meilleure note de crédit attire de meilleures banques.", +"No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.":"Aucune offre ouverte pour l’instant. Les entreprises cherchent des réseaux avec des POP dans leur ville. De nouvelles offres apparaissent toutes les quelques semaines.", +"No optic you can buy reaches {km} km yet.":"Aucune optique disponible n’atteint encore {km} km.", +"No optic you can buy works on your fiber here yet.":"Aucune optique disponible ne fonctionne encore sur ta fibre ici.", +"No path: every route between these cities is down or missing.":"Aucun chemin : toutes les routes entre ces villes sont coupées ou inexistantes.", +"No payments at all! Until the very end. Then all of them, at once.":"Aucune mensualité ! Jusqu’à la toute fin. Ensuite, toutes d’un coup.", +"No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.":"Pas de site de régénération au milieu de l’océan : sur les câbles longs, les optiques tournent en mode long-haul.", +"No repayments":"Aucune mensualité", +"No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.":"Aucun remboursement, jamais. Juste une part de ton chiffre d’affaires, pour toujours, et beaucoup d’avis.", +"No scrubbing center":"Pas de centre de scrubbing", +"No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.":"Aucun câble sous-marin n’atterrit à la fois à {a} et à {b}. Les câbles partant de {a} vont vers {list}. Fais escale dans l’une de ces villes.", +"No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.":"Aucun câble sous-marin n’atterrit à {city}. La station d’atterrissement la plus proche est {near} : amène d’abord la fibre jusque-là, puis prends un câble depuis là-bas.", +"No thanks":"Non merci", +"No traffic right now.":"Aucun trafic pour l’instant.", +"Nobody gives a foreign network a landing licence in mainland China.":"Personne ne donne de licence d’atterrissement à un réseau étranger en Chine continentale.", +"Nobody is unhappy. Enjoy it while it lasts.":"Personne n’est mécontent. Profites-en tant que ça dure.", +"Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.":"Personne ne te laisse creuser sur ce parcours. Frontières et licences font obstacle, alors continue de louer.", +"Nobody remembers who it is named after.":"Plus personne ne sait à qui il doit son nom.", +"Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.":"Personne ne vend de capacité entre Kyiv et Moscow, et personne ne le fera. Passe plutôt par Warsaw, Bucharest ou Helsinki.", +"Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.":"Personne ne vend de fibre noire sur un câble sous-marin ici. La capacité sous-marine se loue en longueurs d’onde.", +"Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.":"Personne ne vend une paire de fibre à travers une dizaine de frontières. Entre continents, la capacité terrestre ne s’obtient qu’en longueurs d’onde louées.", +"Nobody sells transit here. Haul your traffic over fiber to a city that has it.":"Personne ne vend de transit ici. Achemine ton trafic par fibre jusqu’à une ville qui en a.", +"None":"Aucun", +"None (build one from a POP's Infra tab)":"Aucun (construis-en un depuis l’onglet Infra d’un POP)", +"Nordic backbone that tells you exactly where your packets went.":"Backbone nordique qui te dit exactement où sont passés tes paquets.", +"Normal":"Normal", +"North America":"Amérique du Nord", +"North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen.":"Cheval de labour de la mer du Nord, de London à Amsterdam. Des paires de fibre noire à vendre à la douzaine.", +"Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby.":"De la Norvège au Royaume-Uni à travers la mer du Nord. Des paires de fibres à vendre, parce que l’argent du pétrole voulait un hobby.", +"Norway’s incumbent. Neither yes nor no, until you send enough traffic.":"L’opérateur historique norvégien. Ni oui ni non, tant que tu n’envoies pas assez de trafic.", +"Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.":"La capitale norvégienne du pétrole, désormais pleine de datacenters creusés dans la montagne, alimentés à l’hydroélectricité et refroidis par le fjord. Les câbles de la mer du Nord atterrissent ici.", +"Not Tier 1 right now: {why}.":"Pas Tier 1 pour l’instant : {why}.", +"Not accepting new peers in this region right now.":"N’acceptent pas de nouveaux peers dans cette région pour le moment.", +"Not big enough yet: {list}":"Pas encore assez gros : {list}", +"Not happening":"Pas question", +"Not in your cities yet. Nearest: {city}":"Pas encore dans tes villes. La plus proche : {city}", +"Not installed":"Non installé", +"Not present in any of your cities yet":"Pas encore présent dans tes villes", +"Not without a license":"Pas sans licence", +"Nothing in the last 10 minutes.":"Rien ces 10 dernières minutes.", +"Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.":"Rien sur ton réseau n’atteint {net} : aucun transit, session IX, PNI ou cache avec un chemin fonctionnel depuis {city}.", +"Nothing plugged in here yet":"Rien n’est encore branché ici", +"Nothing spare to sell on this fiber right now.":"Rien à vendre sur cette fibre pour l’instant.", +"Nothing to pay for {n} months. Then everything.":"Rien à payer pendant {n} mois. Ensuite, tout.", +"Nothing to pay until the end":"Rien à payer avant la fin", +"Nothing to pay until the end · {n} months left · growing at {apr}% a year":"Rien à payer avant la fin · {n} mois restants · augmente de {apr} % par an", +"Nothing: every network is reachable without transit.":"Aucun : chaque réseau est joignable sans transit.", +"Notifications":"Notifications", +"Nov":"nov", +"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.", +"Now grab an IX port there for remote peering.":"Prends maintenant un port IX là-bas pour du peering à distance.", +"Now you see the fibre, now you don’t.":"Tantôt tu vois la fibre, tantôt tu ne la vois plus.", +"Number two in China, with a horn for every backbone.":"Numéro deux en Chine, avec une corne pour chaque backbone.", +"OUTAGE":"PANNE", +"Oceania":"Océanie", +"Oct":"oct", +"Off":"Inactif", +"Offers":"Offres", +"Offers here":"Offres ici", +"Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.":"Pétrole, gaz et ouragans. Ici, les groupes électrogènes sont dimensionnés pour une semaine, et ça a déjà servi.", +"Old Pacific workhorse. Everyone hopes it holds.":"Vieux cheval de labour du Pacifique. Tout le monde croise les doigts pour qu’il tienne.", +"On":"Activé", +"On an island, so every link off it is a subsea cable.":"Sur une île, donc chaque lien qui en part est un câble sous-marin.", +"On iPhone, a game started in Safari does not carry over to the home-screen app.":"Sur iPhone, une partie commencée dans Safari ne suit pas dans l’appli de l’écran d’accueil.", +"On the Peering tab, request sessions, or join the route server to peer with every open network at once.":"Dans l’onglet Peering, demande des sessions, ou rejoins le route server pour peerer d’un coup avec tous les réseaux à politique ouverte.", +"On · moving {g} onto alternate paths":"Actif · déplace {g} sur des chemins alternatifs", +"On · {city}":"Actif · {city}", +"On-demand (engages in {n}d)":"À la demande (s’active en {n} j)", +"On-demand scrubbing diverting, live in {n}d":"Scrubbing à la demande en cours de redirection, actif dans {n} j", +"Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.":"Une fois Auto-TE installé, tu peux le programmer depuis l’onglet NOC. Parmi les règles : spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams et blackhole ddos. Vérifier fait un essai à blanc sur le trafic réel ; Déployer le rend réel, erreurs comprises.", +"One fabric across the whole country. Distributed, cheap and a little smug about it.":"Un seul fabric pour tout le pays. Distribué, pas cher, et un peu content de lui.", +"One foot in Europe, one in Asia. Every land route between them crosses here.":"Un pied en Europe, un en Asie. Toutes les routes terrestres entre les deux passent par ici.", +"One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.":"Un membre de ton {lab} a été brassé sur le mauvais switch. LACP le garde suspendu, à juste titre.", +"One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.":"L’une des plus grandes villes d’Afrique, juste en face d’une autre capitale, de l’autre côté du fleuve. Le courant va et vient, la rumba ne s’arrête jamais.", +"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.", +"One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen.":"Un anneau pour relier Invercargill à Sydney, Melbourne et Auckland. Il atterrit à côté d’un pré où quelqu’un construit une usine d’IA, et c’est comme ça qu’on sait que ça pourrait vraiment arriver.", +"One router is a single point of failure.":"Un seul routeur, c’est un point de défaillance unique.", +"One router means downtime during the swap. Back tomorrow.":"Un seul routeur, donc coupure pendant le remplacement. Retour demain.", +"One router, and this one takes forever to boot. Back in {n} days.":"Un seul routeur, et celui-ci met une éternité à booter. Retour dans {n} jours.", +"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.", +"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.", +"One tap away.":"À un tap.", +"One-way latency within {max} ms (best now: {best})":"Latence aller simple sous {max} ms (meilleure actuelle : {best})", +"Only Spätzle-IX":"Que du Spätzle-IX", +"Only comes online at night.":"Ne se connecte que la nuit.", +"Only lends to people who do not need it.":"Ne prête qu’à ceux qui n’en ont pas besoin.", +"Only peers over PNIs in this metro. Order a cross-connect instead.":"Ne peere qu’en PNI dans cette métropole. Commande plutôt un cross-connect.", +"Only peers over PNIs, and only with networks it considers important":"Ne fait du peering qu’en PNI, et seulement avec les réseaux qu’il juge importants", +"Only peers with members they can reach without a 1,500 km hairpin.":"Ne fait du peering qu’avec les membres joignables sans hairpin de 1 500 km.", +"Oops":"Oups", +"Open":"Ouvrir", +"Open Series of Tubes from your home screen and start your network there.":"Ouvre Series of Tubes depuis ton écran d’accueil et lance ton réseau là-bas.", +"Open Series of Tubes from your home screen.":"Ouvre Series of Tubes depuis ton écran d’accueil.", +"Open Infra":"Ouvrir Infra", +"Open NOC":"Ouvrir le NOC", +"Open NOC dashboard":"Ouvrir le tableau de bord du NOC", +"Open a POP here":"Ouvrir un POP ici", +"Open a new POP at least every 90 days. Blitzscale or die.":"Ouvre un nouveau POP au moins tous les 90 jours. Blitzscale ou crève.", +"Open bank":"Ouvrir la banque", +"Open inbox":"Ouvrir la boîte", +"Open lease":"Voir la location", +"Open peer, but not on any IX where you have a POP":"Peer ouvert, mais sur aucun IX où tu as un POP", +"Open peer, but not on any IX where you have a POP. Nearest: {city}":"Peer ouvert, mais sur aucun IX où tu as un POP. Le plus proche : {city}", +"Open peer: join the route server at {ix}":"Peer ouvert : rejoins le route server de {ix}", +"Open peer: join the route server at {ix} ({city})":"Peer ouvert : rejoins le route server de {ix} ({city})", +"Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.":"Ouverte : peering avec tout le monde. Sélective : veut d’abord voir du trafic. Restrictive (les Tier 1) : peering uniquement avec les géants, via PNI. Payante : tout est dans le nom. Les gros réseaux sélectifs ont aussi leurs humeurs : dans certaines villes, ils refusent les nouveaux peers pendant quelques mois, ou n’acceptent que des PNI, et de temps en temps ils coupent une session que tu avais déjà. Essaie une autre ville ou un PNI, et redemande plus tard.", +"Open to work":"Open to work", +"Open your browser menu (⋮).":"Ouvre le menu du navigateur (⋮).", +"Open your dark fiber":"Voir ta fibre noire", +"Open your fiber":"Voir ta fibre", +"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.":"Ouvre ta ville de départ et appuie sur « Lancer le haut débit ». Les eyeballs, ce sont les gens chez eux qui regardent des vidéos de chats. Ils te paient tous les mois.", +"Open-faced, cheap and available at 3 a.m.":"Façon tartine, pas cher et dispo à 3 h du matin.", +"Opened a ticket with itself to review its own decisions. It approved them.":"S’est ouvert un ticket pour revoir ses propres décisions. Il les a approuvées.", +"Opened three accounts for you while you read this.":"T’a ouvert trois comptes pendant que tu lisais ceci.", +"Opens at six, comes with free snacks, closes when the last session drops.":"Ouvre à 18 h, amuse-bouches offerts, ferme quand la dernière session tombe.", +"Opt out":"Se désinscrire", +"Opt out of 3 auto-enrolled add-ons.":"Désactive 3 options souscrites d’office.", +"Optical engineering":"Ingénierie optique", +"Optics":"Optiques", +"Optimize":"Optimiser", +"Optimized":"Optimisé", +"Or drag from one of your routers to this city to lay fiber and build the POP in one go.":"Ou glisse depuis un de tes routeurs jusqu’à cette ville pour tirer la fibre et construire le POP d’un coup.", +"Order and Progress":"Ordre et progrès", +"Order circuit anyway":"Commander le circuit quand même", +"Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.":"D’autres opérateurs louent ce que tu n’utilises pas : des alien waves sur les canaux libres de ton système de ligne ou, si tu l’as construite, une paire de fibre libre dans la tranchée.", +"Other links between these cities:":"Autres liens entre ces villes :", +"Other models":"Autres modèles", +"Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.":"Notre groupe Signal : échange des captures d’écran, signale des bugs et dispute-toi sur les politiques de peering avec d’autres joueurs. Moins de pelleteuses qu’en vrai.", +"Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.":"Notre président a besoin d’un yacht pour l’été. Tu n’en as pas, alors tu en loues un : {price}/mois.", +"Our logo goes on every router you own.":"Notre logo sur chacun de tes routeurs.", +"Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.":"Port trop petit ? Regroupe jusqu’à 8 ports identiques vers le même fournisseur de transit, IX ou PNI en un LAG. Chaque membre coûte un port complet ; le hachage des flux n’est jamais parfaitement équilibré, donc un bundle transporte environ 95 % de la somme.", +"Out of reach without transit {n}":"Hors couverture sans transit {n}", +"Over the Mountains":"Par-delà les montagnes", +"Overland":"Terrestre", +"Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.":"Par voie terrestre, entre continents, on traverse une dizaine de frontières, et chaque opérateur au passage prend sa part : {x}× le prix. Le sous-marin coûte bien moins cher.", +"Overview":"Aperçu", +"Owns the cable that brought East Africa online, and sells you the capacity with a straight face.":"Possède le câble qui a connecté l’Afrique de l’Est, et te vend la capacité sans sourciller.", +"Owns the cables from Luanda to Brazil, and always finds an angle on the deal.":"Possède les câbles de Luanda au Brésil, et trouve toujours un angle pour négocier.", +"Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.":"Possède la traversée terrestre dont chaque câble de la mer Rouge a besoin. Prélève des péages comme un pharaon.", +"PMTUD black hole":"Trou noir PMTUD", +"PNI LAG with {name} in {city}":"LAG PNI avec {name} à {city}", +"PNI in {city}: {why}":"PNI à {city} : {why}", +"PNI lead times":"Délais des PNI", +"PNI with {net}":"PNI avec {net}", +"PNIs":"PNI", +"PNIs beat IX peering":"les PNI battent le peering IX", +"PNIs with every Tier 1":"PNI avec chaque Tier 1", +"POP in {city}":"POP à {city}", +"POPs":"POP", +"POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.":"Des POP tout autour du Pacifique : Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland et Santiago.", +"POPs and routers":"POP et routeurs", +"POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served":"Des POP à Bogotá, Lima, Santiago et São Paulo, et 150 Gbps servis", +"POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.":"Des POP à Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo et Auckland.", +"POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.":"Des POP à Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade et Tallinn.", +"POPs in every region on the map.":"Des POP dans chaque région de la carte.", +"POPs in five of the six regions on the map.":"Des POP dans cinq des six régions de la carte.", +"POPs on 3+ continents":"POP sur 3+ continents", +"Pacific cables land nearby, and everyone meets in one famous building downtown.":"Les câbles du Pacifique atterrissent tout près, et tout le monde se retrouve dans un célèbre immeuble du centre-ville.", +"Packet empire":"Empire du paquet", +"Packet loss":"Perte de paquets", +"PacketOinker² (two pigs, one chassis)":"PacketOinker² (deux cochons, un seul châssis)", +"PacketOinker³ (a whole litter)":"PacketOinker³ (toute une portée)", +"Packets hop. Sometimes backwards.":"Les paquets font des sauts. Parfois à reculons.", +"Packets leave on time, to the second.":"Les paquets partent à l’heure, à la seconde près.", +"Paid PNIs with all three Korean incumbents.":"Des PNI payants avec les trois opérateurs historiques coréens.", +"Paid in TubeCoin":"Payé en TubeCoin", +"Paid peering only, over a PNI":"Peering payant uniquement, via PNI", +"Paid peering only: a PNI costs {price}/mo":"Peering payant uniquement : un PNI coûte {price}/mois", +"Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.":"Peering payant uniquement : un PNI coûte {price}/mois. Gratuit à partir du niveau client {n}.", +"Paid peering: {price}/mo on top":"Peering payant : {price}/mois en plus", +"Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.":"La porte du Pakistan sur la mer. Tous les câbles atterrissent ici, et toutes les nouvelles règles de pare-feu aussi.", +"Pakistan’s incumbent. Every session comes with a firewall rule.":"L’opérateur historique du Pakistan. Chaque session est livrée avec une règle de pare-feu.", +"Palau, on a branch cable from Guam. Coral reefs, jellyfish that do not sting, and very little traffic.":"Palau, au bout d’un câble en dérivation depuis Guam. Des récifs de corail, des méduses qui ne piquent pas, et très peu de trafic.", +"Palau’s telco. Snorkel down and you can see the cable.":"L’opérateur de Palau. Plonge avec un tuba et tu verras le câble.", +"Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily.":"De Palermo à Marseille et Alexandrie. Chaque raccourci Europe–Asie veut une escale en Sicile.", +"Papua New Guinea’s capital, in a country of eight hundred languages, with a cable to Sydney. The grid fails often, so bring a generator.":"La capitale de la Papouasie-Nouvelle-Guinée, dans un pays aux huit cents langues, avec un câble vers Sydney. Le réseau électrique lâche souvent : prévois un groupe électrogène.", +"Papua New Guinea’s state telco: eight hundred languages, one billing system.":"L’opérateur public de Papouasie-Nouvelle-Guinée : huit cents langues, un seul système de facturation.", +"Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.":"Le Paraguay partage deux barrages géants avec ses voisins et produit plus d’électricité qu’il ne peut en consommer. Les mineurs de crypto l’ont remarqué.", +"Patch panel mishap":"Cafouillage au brassage", +"Path latency: {lat}":"Latence du chemin : {lat}", +"Pause":"Pause", +"Pause on outages that hurt":"Pause sur les pannes qui font mal", +"Pause when a customer is furious":"Pause quand un client est furieux", +"Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.":"Paie un plus gros réseau au Gbps et il transporte ton trafic vers tout Internet. Facturé au 95e percentile des 30 derniers jours, avec un engagement de 20 % et des frais de port. Les pics comme les DDoS font grimper ta facture.", +"Pays out in TubeCoin. Value may vary. A lot.":"Paie en TubeCoin. Valeur susceptible de varier. Beaucoup.", +"Peak":"Pic", +"Peak traffic":"Pic de trafic", +"Peak traffic served in one year.":"Pic de trafic servi en un an.", +"Peak traffic served in one year. A new personal best for this week!.":"Pic de trafic servi en un an. Nouveau record perso cette semaine !", +"Peak traffic served in one year. Your best this week is {best}.":"Pic de trafic servi en un an. Ton record cette semaine : {best}.", +"Peer at an IX remotely.":"Fais du peering à distance sur un IX.", +"Peer at the Spätzle-IX in Stuttgart. Local money for local packets.":"Fais du peering au Spätzle-IX de Stuttgart. De l’argent local pour des paquets locaux.", +"Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.":"Fais du peering sur {ix} sans construire de POP. Commande ici un circuit virtuel depuis un de tes POP via {fabs}.", +"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Peere avec chaque Tier 1 via des PNI et résilie tous tes ports de transit. Plus personne ne te fait alors payer pour atteindre Internet.", +"Peered":"Via peering", +"Peered ✓":"En peering ✓", +"Peering":"Peering", +"Peering First":"Le peering d’abord", +"Peering From the Couch":"Peering depuis le canapé", +"Peering Over Beer":"Peering autour d’une bière", +"Peering inbox":"Boîte de peering", +"Peering policy":"Politique de peering", +"Peering ratio":"Ratio de peering", +"Peering request, fifth attempt. Is anyone there?":"Demande de peering, cinquième tentative. Il y a quelqu’un ?", +"Peering spat":"Brouille de peering", "PeeringDB last updated {n} year ago":"PeeringDB mis à jour il y a {n} an", "PeeringDB last updated {n} years ago":"PeeringDB mis à jour il y a {n} ans", "PeeringDB updated last month":"PeeringDB mis à jour le mois dernier", -"Max-prefix limit hit: {who} at {ix}":"Limite max-prefix atteinte : {who} à {ix}", -"Configured: {lim} prefixes. Received: {got}.":"Configuré : {lim} préfixes. Reçus : {got}.", +"Peers with anyone, and wants to know everything about your routes.":"Fait du peering avec tout le monde, et veut tout savoir de tes routes.", +"Peers with you for free now, but only over a PNI":"Fait du peering gratuit avec toi, mais seulement via un PNI", +"Peers with you for free over a PNI. You got too big to charge.":"Fait du peering gratuit avec toi via un PNI. Tu es devenu trop gros pour qu’on te facture.", +"Penalties are running.":"Les pénalités tombent.", +"Penalty in {n} days.":"Pénalité dans {n} jours.", +"Penny Pincher":"Grippe-sou", +"People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?":"Les gens t’appellent pour savoir si Internet est en panne. Internet, c’est toi. T’as essayé de t’éteindre et de te rallumer ?", +"Per month":"Par mois", +"Permits, trenching, splicing":"Permis, tranchées, épissures", +"Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich.":"De Perth à Singapour et Jakarta. Préparé frais chaque matin, et coupé plus souvent qu’un sandwich.", +"Perth to the Gulf across the Indian Ocean. Oh man, it is long.":"De Perth au Golfe à travers l’océan Indien. Oh là là, qu’il est long.", +"Philippine giant. Peering requests are reviewed over a cup of tea.":"Géant philippin. Les demandes de peering sont examinées autour d’une tasse de thé.", +"Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.":"Des téléphones sur chaque île de la Papouasie-Nouvelle-Guinée aux Tonga, et du transit à vendre sur chacune.", +"Pick a POP":"Choisis un POP", +"Pick a challenge":"Choisis un défi", +"Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.":"Choisis les POP à fermer. Tout ce qu’ils contiennent part : routeurs, ports, caches, ports d’IX et chaque lien qui les touche.", +"Pick your home city":"Choisis ta ville de départ", +"Pig Whisperer":"L’homme qui murmurait aux cochons", +"Pink eyeball giant. Peering is available... for a monthly fee.":"Géant eyeball rose. Le peering est disponible... contre un abonnement mensuel.", +"Pizza for the whole NOC after every incident: {price} each.":"Pizza pour tout le NOC après chaque incident : {price} à chaque fois.", +"Plan a cable":"Planifier un câble", +"Plan dark fiber":"Planifier la fibre noire", +"Plan your own fiber":"Planifier ta fibre", +"Play":"Jouer", +"Play in the browser anyway":"Jouer quand même dans le navigateur", +"Play it as an app":"Joue en mode appli", +"Please configure sessions with us at {ix}. We will do ours next week, or the week after.":"Merci de configurer les sessions avec nous à {ix}. Nous ferons les nôtres la semaine prochaine, ou celle d’après.", +"Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).":"Plus {n} amplificateur en ligne ({price} pièce, {mo}/mois de location du shelter et d’électricité).", +"Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).":"Plus {n} amplificateurs en ligne ({price} pièce, {mo}/mois de location des shelters et d’électricité).", +"Plus {pct} of your revenue until it is repaid.":"Plus {pct} de ton chiffre d’affaires jusqu’au remboursement.", +"Pluto, which is not even a planet":"Pluton, qui n’est même pas une planète", +"Point of presence: your router in a data center. Everything starts at a POP.":"Point de présence : ton routeur dans un datacenter. Tout commence par un POP.", +"Policy: no remote peers. Be in the building or be in the transit bill.":"Politique : pas de peers distants. Sois dans le bâtiment, ou sur la facture de transit.", +"Polite, enormous, and sorry about the bill.":"Poli, énorme, et désolé pour la facture.", +"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é.", +"Port":"Port", +"Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.":"Des ports sur les six IX DE-KICKS. Ils te remercient pour ce partenariat durable.", +"Ports at {p}% of the usual price.":"Ports à {p} % du prix habituel.", +"Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served":"Des ports sur 20 IX.brrr, dont un à Manaus, et 200 Gbps servis", +"Ports on IX.brrr in São Paulo, Rio and Fortaleza.":"Des ports sur IX.brrr à São Paulo, Rio et Fortaleza.", +"Ports up to {port} are free.":"Les ports jusqu’à {port} sont gratuits.", +"Ports, caches and routers running hot":"Ports, caches et routeurs en surchauffe", +"Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa.":"Du Portugal à Lagos, avec escales à Dakar, Abidjan et Accra. N’a qu’une idée en tête : l’Afrique de l’Ouest.", +"Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one.":"Du Portugal au Sud-Est des États-Unis via les Bermudes. Veut dire « nuage » en portugais, et appartient justement à un cloud.", +"Portugal’s incumbent. Purrs when you send it traffic.":"L’opérateur historique du Portugal. Ronronne quand tu lui envoies du trafic.", +"Post it wherever your peering friends hang out.":"Poste-la là où traînent tes potes du peering.", +"Power":"Alimentation", +"Power cuts are covered.":"Les coupures de courant sont couvertes.", +"Power outage":"Coupure de courant", +"Power outage at {dc} in {city}. The generator did not start.":"Coupure de courant chez {dc} à {city}. Le groupe électrogène n’a pas démarré.", +"Powered by renewable rodents. Uptime depends on snack schedule.":"Alimenté par des rongeurs renouvelables. L’uptime dépend de l’heure du goûter.", +"Prefer":"Préférer", +"Prefixes":"Préfixes", +"Premium crossing +60% · ~3% loss":"Passage premium +60 % · ~3 % de perte", +"Premium crossings are only sold in Hong Kong.":"Les passages premium ne sont vendus qu’à Hong Kong.", +"Premium submarine terminals":"Terminaux sous-marins premium", +"Prepaid mobile from Paraguay to Guatemala, with a logo that roars.":"Du mobile prépayé du Paraguay au Guatemala, avec un logo qui rugit.", +"Prepend Diet":"Régime prepend", +"Prepend-ageddon":"Prependageddon", +"Price lock":"Blocage des prix", +"Prices include {p} back for the old routers on eBuy.":"Les prix incluent {p} récupérés en revendant les anciens routeurs sur eBuy.", +"Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.":"Les tarifs sont revus par le Global Commercial Council, qui se réunit à la prochaine pleine lune.", +"Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.":"5G privée et fibre pro depuis Oostkamp. Son trafic arrive par rafales industrielles soudaines.", +"Private interconnects (PNI)":"Interconnexions privées (PNI)", +"Private network interconnect: a cable straight to one network in the same building. For big traffic.":"Private network interconnect : un câble direct vers un seul réseau dans le même bâtiment. Pour les gros volumes.", +"Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.":"Sans doute la capitale la plus propre d’Afrique, avec la fibre dans chaque quartier et les sacs plastique interdits à la frontière.", +"Provedor (small regional ISP)":"Provedor (petit FAI régional)", +"Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.":"La branche de gros de Proxyminus. Présente sur presque tous les IX de la planète, et à la belge.", +"Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.":"Des jacarandas violets et de longues coupures de courant. Chaque POP ici a besoin d’un groupe électrogène et de beaucoup de gazole.", +"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"Le grand opérateur du Qatar. Peering payant uniquement, et il te chante sa grille tarifaire.", +"Quick Pacific crossing with a stop for snacks.":"Traversée express du Pacifique avec une pause goûter.", +"Quotes go up with how big you look.":"Plus tu as l’air gros, plus le devis grimpe.", +"RPKI invalid":"RPKI invalide", +"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"Le RTBH est gratuit et instantané, mais il jette tout ce qui va vers la victime, attaque comme client. Un blackhole IX garde le client en ligne, mais seule la moitié environ des membres le respecte. HackBack 3000™ de Skynot AI y met parfois fin, et parfois écrase un innocent et te vaut une amende.", +"Racks in the nave, cooling in the crypt. Divine uptime.":"Les racks dans la nef, le refroidissement dans la crypte. Uptime divin.", +"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.":"Augmente la métrique d’un lien plein pour que le trafic préfère un autre chemin, mets-le à niveau ou installe Auto-TE.", +"Raise the limit":"Relever la limite", +"Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.":"A relevé la limite max-prefix de {who} à {ix} à {n}. Ils avaient l’air sympas.", +"Raised the max-prefix limit for {who} at {ix}. Correctly, this time.":"A relevé la limite max-prefix de {who} à {ix}. À raison, cette fois.", +"Rank":"Rang", +"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.", +"Rare":"Rare", +"Rate-limit the bursts":"Limiter les bursts", +"Reach":"Couverture", +"Reach 45% of the internet and serve 300 Gbps":"Couvre 45 % d’internet et sers 300 Gbps", +"Reach 99% of the internet at all times. We looked up what a network is for.":"Atteins 99 % d’Internet en permanence. On a cherché à quoi sert un réseau.", +"Reach Tier 1 within three years.":"Atteins le Tier 1 en moins de trois ans.", +"Reach Tier 1 within two years.":"Atteins le Tier 1 en moins de deux ans.", +"Reach Tier 2 with every single session over the route server.":"Atteins le Tier 2 avec toutes tes sessions via le route server.", +"Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.":"Rejoindre un IX via un circuit fabric sans POP sur place. Ça marche, et le route server te donne quand même tous les réseaux ouverts, mais c’est déconseillé : le revendeur facture le port 1,5× et le survend à 80 %, la latence dépend du fabric, une panne du fabric fait tomber toutes les sessions, et beaucoup de réseaux sélectifs refusent tout net les membres distants.", +"Reach customer level 13.":"Atteins le niveau client 13.", +"Reach the whole internet":"Atteins tout Internet", +"Reach without transit":"Couverture sans transit", +"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.":"Atteint gratuitement les réseaux de la dernière mise à jour vers lesquels tu n’as aucun autre chemin. Connecte-toi à eux avant la fin.", +"Reaching your network: {g}":"Ce qui atteint ton réseau : {g}", +"Read the full notes on GitHub":"Lire les notes complètes sur GitHub", +"Ready for a PNI in {city}":"Prêt pour un PNI à {city}", +"Ready in about {n} days":"Prête dans environ {n} jours", +"Ready in {n} days":"Prêt dans {n} jours", +"Ready-made scripts":"Scripts tout prêts", +"Really cancel?":"Vraiment résilier ?", +"Really close it?":"Vraiment le fermer ?", +"Really decommission?":"Vraiment décommissionner ?", +"Really drop?":"Vraiment le lâcher ?", +"Really give it up?":"Vraiment y renoncer ?", +"Really leave?":"Vraiment partir ?", +"Really pay {price}?":"Vraiment payer {price} ?", +"Really remove?":"Vraiment supprimer ?", +"Really shut it down?":"Vraiment l’arrêter ?", +"Red Sea Crisis":"Crise en mer Rouge", +"Redundancy":"Redondance", +"Refuses Cogentle transit anywhere on your network (long story)":"Refuse le transit Cogentle partout sur ton réseau (longue histoire)", +"Regen sites":"Sites de régénération", +"Region frozen while they renegotiate with the local incumbent.":"Région gelée pendant qu’ils renégocient avec l’opérateur historique local.", +"Regional broadband levy":"Taxe sur le haut débit régional", +"Regional player":"Acteur régional", +"Regional quirks":"Particularités régionales", +"Registered":"Inscrit", +"Registration closed":"Inscriptions closes", +"Regular crossing":"Passage normal", +"Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.":"Les autorités ont ordonné à tous les réseaux de {city} de couper pendant une journée, le temps des examens nationaux. Oui, ça arrive vraiment.", +"Release notes":"Notes de version", +"Release to plan a link":"Relâche pour planifier un lien", +"Reload now":"Recharger maintenant", +"Remote peering":"Remote peering", +"Remote peering at the IX":"Remote peering sur l’IX", +"Remote peering at {ix} · discouraged":"Remote peering à {ix} · déconseillé", +"Remote peering leg into {ix}.":"Tronçon de remote peering vers {ix}.", +"Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.":"Port distant via un revendeur : prix 1,5×, 80 % utilisable, et {n} membre d’ici refuse les peers distants.", +"Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.":"Port distant via un revendeur : prix 1,5×, 80 % utilisable, et {n} membres d’ici refusent les peers distants.", +"Remove":"Supprimer", +"Remove one":"En retirer un", +"Remove port":"Retirer le port", +"Remove script":"Supprimer le script", +"Renew the ROA":"Renouveler la ROA", +"Rent a generator":"Louer un groupe électrogène", +"Repay early {price} incl. 2% fee":"Rembourser par anticipation {price} dont 2 % de frais", +"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Remplaces-en 16 Tbps et le câble est rentabilisé en environ {n} mois.", +"Replied to a peering request with a haiku about BGP. No answer yet.":"A répondu à une demande de peering par un haïku sur BGP. Pas de réponse pour l’instant.", +"Request":"Demander", +"Request all {n} willing peers":"Demander les {n} peers partants", +"Rerouted via Hong Kong":"Redirigé via Hong Kong", +"Reset to example":"Rétablir l’exemple", +"Responsive":"Réactif", +"Resume":"Reprendre", +"Retention offer":"Offre de fidélisation", +"Revenue":"Chiffre d’affaires", +"Reward {cash}":"Récompense {cash}", +"Reward: +{amt}":"Récompense : +{amt}", +"Ride out load shedding on your own generator.":"Tiens bon pendant les délestages grâce à ton groupe électrogène.", +"Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.":"Pile entre Londres, Amsterdam, Paris et Francfort, et pourtant plus chère que les quatre. Deux réseaux se partagent tous les salons belges, et personne ne change si tu ne fais pas de pub.", +"Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.":"Pour l’instant, {city} tient dans un seul bâtiment. Une coupure de courant, une clim en panne ou un agent d’entretien avec son aspirateur, et toute la ville est dans le noir : un second routeur n’y change rien. Un second datacenter à l’autre bout de la ville, relié par ton propre anneau métropolitain, garde la moitié du POP en ligne.", +"Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.":"Pile sur l’équateur, à l’embouchure de l’Amazone. Aucune route ne la relie au reste du Brésil, et son réseau électrique a connu de très longues mauvaises semaines.", +"Right-of-way upkeep":"Entretien des servitudes", +"Ring of Fire":"Ceinture de feu", +"Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.":"Rio en partant de zéro. Le Carnaval commence dans 90 jours et veut 400 Gbps pendant cinq jours d’affilée. Le monde entier regarde.", +"Road to Tier 1":"En route vers le Tier 1", +"Road widening near {a} cut your fiber to {b}. It is always road widening.":"Un élargissement de route près de {a} a coupé ta fibre vers {b}. C’est toujours un élargissement de route.", +"Road works cut {a}–{b}. Nobody called before digging.":"Des travaux de voirie ont coupé {a}–{b}. Personne n’a fait de DICT avant de creuser.", +"Roll back the config":"Rollback de la config", +"Rolling upgrade: one router at a time, no downtime.":"Mise à niveau progressive : un routeur à la fois, zéro coupure.", +"Route":"Tracé", +"Route leak":"Fuite de routes", +"Route:":"Tracé :", +"Router added":"Routeur ajouté", +"Router crash":"Crash de routeur", +"Router load":"Charge des routeurs", +"Router maxed out":"Routeur saturé", +"Router ports":"Ports du routeur", +"Routers":"Routeurs", +"Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.":"Routeurs, optiques et nouvelles constructions aux prix d’aujourd’hui pendant un an, pénuries comprises. Les droits de douane sont ceux du gouvernement, pas de votre fournisseur.", +"Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.":"Routeurs, optiques et nouvelles constructions coûtent plus cher avec les années, environ 4 % par an après les six premiers mois, et de temps en temps une pénurie rend l’un d’eux bien plus cher pendant un mois ou deux. Ce que vous possédez déjà garde son prix. Des pièces de rechange sur l’étagère et un blocage annuel des prix depuis l’onglet NOC amortissent le choc.", +"Routing metric":"Métrique de routage", +"Rules":"Règles", +"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.", +"Rules:":"Règles :", +"Run":"Lancer", +"Run a licensed POP in mainland China.":"Exploite un POP sous licence en Chine continentale.", +"Run a link round Cape Horn.":"Fais passer un lien par le cap Horn.", +"Run a sacrificial PNI choke point.":"Utilise un PNI sacrificiel comme goulet d’étranglement.", +"Run a slow-booting PacketOinker chassis.":"Fais tourner un châssis PacketOinker qui met des plombes à booter.", +"Run ad campaign $8k · 2× growth 30d":"Lancer une campagne de pub $8k · croissance 2× pendant 30 j", +"Run by hackers on caffeine. The route server has a disco ball.":"Géré par des hackers sous caféine. Le route server a une boule à facettes.", +"Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).":"Propose du haut débit résidentiel dans une zone mal desservie (Asie, Afrique, Océanie ou Amérique du Sud).", +"Run two routers in one POP.":"Fais tourner deux routeurs dans un POP.", +"Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.":"Exploiter un IX en Chine continentale exige une tout autre licence. Fais du peering avec les réseaux chinois via des PNI, ou retrouve-les à Hong Kong.", +"Runs at {g} per channel on this route (long-haul mode).":"Tourne à {g} par canal sur cette route (mode longue distance).", +"Runs on its own route. A cut here leaves the other links up.":"Suit sa propre route. Une coupure ici laisse les autres liens debout.", +"Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.":"Gère la poste, le téléphone et Internet en Nouvelle-Calédonie et en Polynésie française. Les paquets arrivent tamponnés, avec un croissant.", +"Runs the village network between call-outs.":"Gère le réseau du village entre deux interventions.", +"Rural broadband for the islands, one olive tree at a time.":"Du haut débit rural pour les îles, un olivier à la fois.", +"Rural fiber that follows the tractor routes.":"Fibre rurale qui suit les chemins des tracteurs.", +"Rush repair":"Réparation express", +"Russia":"Russie", +"SD-WAN for a chain":"SD-WAN pour une chaîne", +"SD-WAN for {name}":"SD-WAN pour {name}", +"SYN flood":"SYN flood", +"Sacrificial Lamb":"Agneau sacrificiel", +"Sacrificial choke ✓":"Goulot sacrificiel ✓", +"Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.":"Safari peut effacer les données des sites que tu n’as pas ouverts depuis une semaine. Une appli sur l’écran d’accueil garde les siennes.", +"Samba Peering":"Peering samba", +"Same Street":"Même rue", +"Same trench cheaper · one backhoe cuts all":"Même tranchée moins cher · une pelleteuse coupe tout", +"Samoa to Tahiti by way of the Cook Islands. Steeped slowly.":"Des Samoa à Tahiti en passant par les Îles Cook. Infusé lentement.", +"Samoa’s broadband, promised with a slice of something sweet.":"Le haut débit des Samoa, promis avec une part de quelque chose de sucré.", +"Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.":"La capitale des Samoa, avec des câbles vers les Fidji, les Samoa américaines et Tahiti. Le dimanche, c’est l’église : les fenêtres de maintenance sont le samedi.", +"Sandbox":"Bac à sable", +"Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.":"Le bac à sable te donne un milliard de dollars, tout débloqué et zéro panne, mais pas de badges. Les scénarios sont des défis faits main avec un objectif et une échéance, et le défi de la semaine donne à tout le monde le même monde pendant une semaine. Partage ton résultat avec la carte du menu.", +"Saturn":"Saturne", +"Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.":"Le hub des câbles de la mer Rouge en Arabie saoudite. De plus en plus de câbles entre l’Europe, l’Afrique et l’Asie s’arrêtent ici plutôt qu’en Égypte.", +"Saved on this device.":"Sauvegardées sur cet appareil.", +"Saves {price}/mo, pays for itself in about {n} months.":"Économise {price}/mois, rentabilisé en environ {n} mois.", +"Saw your session come in over a fabric and said \"we can smell the VXC from here\".":"Ils ont vu ta session arriver par un fabric et ont dit « on sent le VXC d’ici ».", +"Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.":"Dit « oi » à chaque foyer du Brésil. La fibre est top, le bilan est encore en convalescence.", +"Scenario":"Scénario", +"Scenario Grandmaster":"Grand maître des scénarios", +"Scenario Solver":"Solveur de scénarios", +"Scenario Specialist":"Spécialiste des scénarios", +"Scenario complete":"Scénario réussi", +"Scenario over":"Scénario terminé", +"Scenarios":"Scénarios", +"Scenarios & weekly challenge":"Scénarios & défi de la semaine", +"Scenarios & weekly challenge →":"Scénarios et défi de la semaine →", +"Scenic (quietest links)":"Chemin des écoliers (liens les plus calmes)", +"Scotland to Iceland via Shetland and the Faroes. More sheep than packets.":"De l’Écosse à l’Islande via les Shetland et les Féroé. Plus de moutons que de paquets.", +"Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.":"La capitale de l’Écosse. Les câbles de la mer du Nord vers la Norvège et les Féroé atterrissent un peu plus haut sur la côte.", +"Script Kiddie":"Script kiddie", +"Script removed. Plain Auto-TE is back in charge.":"Script retiré. L’Auto-TE de base reprend la main.", +"Scrubbing centers":"Centres de scrubbing", +"Search, maps and a cheerful goodbye.":"Recherche, cartes et un joyeux au revoir.", +"Search, taxis and maps. Slightly sleepy.":"Recherche, taxis et cartes. Un peu endormi.", +"Search, video and goggles. Mostly goggles.":"Recherche, vidéo et lunettes. Surtout des lunettes.", +"Second site and metro ring":"Second site et anneau métropolitain", +"Security team asks: “are we on PHP?” Everyone: “define we”":"L’équipe sécu demande : « on est sous PHP ? » Tout le monde : « définis “on” »", +"See who":"Voir qui", +"Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.":"Les réseaux sélectifs en {region} demandent deux fois moins de trafic pour peerer. C’est le moment de demander ce PNI.", +"Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.":"Vends de l’Internet aux foyers d’ici. Démarre vers {start} et grimpe vers {max} tant que le service est bon. Rapporte {rate} par Gbps servi, chaque mois.", +"Sell one {price}":"En vendre une {price}", +"Selling spare capacity":"Vendre la capacité libre", +"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.", +"Send us your monthly report by fax.":"Envoie-nous ton rapport mensuel par fax.", +"Sender Pays":"Qui envoie paie", +"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays : uniquement un PNI payant, {fee}/mois plus {g} par Gbps envoyé", +"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Séoul. Les eyeballs les plus rapides et les plus voraces de la planète, du transit à quatre fois le prix, et trois opérateurs historiques qui te facturent chaque gigabit que tu leur envoies.", +"Sep":"sept", +"Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:":"Series of Tubes est fait pour ton écran d’accueil. Ça prend dix secondes, c’est gratuit, et le jeu y est bien meilleur :", +"Series of Tubes {v} is out!":"Series of Tubes {v} est sorti !", +"Series of Tubes: build the internet, one tube at a time":"Series of Tubes : construis Internet, un tuyau à la fois", +"Serious backbone":"Backbone sérieux", +"Serve 1 Pbps: a thousand terabits of happy traffic.":"Sers 1 Pbps : mille térabits de trafic heureux.", +"Serve 1 Tbps":"Sers 1 Tbps", +"Serve 10 Tbps":"Sers 10 Tbps", +"Serve 100 Tbps.":"Sers 100 Tbps.", +"Serve 99.5% of demand every single day for a whole year.":"Sers 99,5 % de la demande chaque jour, pendant une année entière.", +"Serve as much traffic as you can in one year.":"Sers autant de trafic que possible en un an.", +"Served in {city}":"Servi à {city}", +"Servers cooled by the lake, then used to heat the sauna.":"Serveurs refroidis par le lac, puis recyclés pour chauffer le sauna.", +"Set MTU 9216 everywhere":"Mettre le MTU à 9216 partout", +"Set up a PNI":"Monte un PNI", +"Set up a PNI while the conference glow lasts.":"Monte un PNI tant que dure l’euphorie de la conférence.", +"Settings":"Réglages", +"Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.":"Peering settlement-free aux racines frisonnes. Les ports 10G et 100G ne coûtent rien. Apporte un ASN et de l’appétit pour les route servers. La mayonnaise est en supplément.", +"Share":"Partager", +"Share my network":"Partager mon réseau", +"Share my result":"Partager mon résultat", +"Share your network image card":"Partager ton réseau carte image", +"Shares a trench with {n} other link. One cut takes them all down.":"Partage une tranchée avec {n} autre lien. Une coupure et ils tombent tous.", +"Shares a trench with {n} other links. One cut takes them all down.":"Partage une tranchée avec {n} autres liens. Une coupure et ils tombent tous.", +"Share…":"Partager…", +"Shark Bait":"Appât à requins", +"Shark Week":"Les Dents de la mer", +"Shark bites":"Morsures de requin", +"Shark season: subsea cuts twice as likely":"Saison des requins : coupures sous-marines deux fois plus probables", +"Sharp, edgy, and finally speaks 400G and 400ZR+.":"Affûté, rebelle, et parle enfin 400G et 400ZR+.", +"Shields Up":"Boucliers levés", +"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protège la moitié du web des hordes de bots. Le Rackstar Partner Program (RPP) installe un cache dans ton rack dès que tu envoies assez de trafic.", +"Ships parcels and packets, both overnight.":"Expédie colis et paquets, les deux en 24 h.", +"Shopping festivals that melt traffic graphs.":"Des festivals du shopping qui font fondre les graphes de trafic.", +"Short hop across the North Sea. An odyssey it is not.":"Petit saut à travers la mer du Nord. Pas vraiment une odyssée.", +"Short hops under the Baltic Sea. Every passing ship seems to find it.":"Petits sauts sous la mer Baltique. Chaque navire qui passe semble le trouver.", +"Short videos, very long traffic graphs.":"Des vidéos courtes, des graphes de trafic très longs.", +"Shortage":"Pénurie", +"Show":"Afficher", +"Show all {n}":"Tout afficher ({n})", +"Show fewer":"Afficher moins", +"Show me":"Voir", +"Shut down":"Arrêter", +"Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.":"Ferme ce POP : ses liens, ports et caches partent avec, et chaque client qui en dépend est lâché, avec une pénalité de résiliation anticipée.", +"Sign {price}/mo":"Signer {price}/mois", +"Sign a business customer":"Signe un client entreprise", +"Sign a giant":"Signe un géant", +"Sign the IRU":"Signer l’IRU", +"Signed you up for a webinar on “Peering in the Age of AI”.":"Vous a inscrit à un webinaire sur « Le peering à l’ère de l’IA ».", +"Signed!":"Signé !", +"Singapore to Sydney via Perth, on the days it is up.":"De Singapour à Sydney via Perth, les jours où il marche.", +"Sings your packets across Asia-Pacific.":"Fait chanter tes paquets d’un bout à l’autre de l’Asie-Pacifique.", +"Site outage":"Panne de site", +"Site:":"Site :", +"Six Continents":"Six continents", +"Six-continent carrier":"Opérateur des six continents", +"Sixth in a long-running series. Europe to India to Singapore.":"Sixième volet d’une longue saga. Europe, Inde, Singapore.", +"Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.":"Soixante-quatre ports 1.6T sous logiciel open source pour le prix d’une seule carte de ligne. Toujours personne à appeler à 3 h du matin, mais maintenant les plantages sont des plantages à 1.6T.", +"Skip tutorial":"Passer le tutoriel", +"Skynot AI flattened a grandma's internet-connected fridge.":"Skynot AI a rasé le frigo connecté d’une mamie.", +"Skynot Smiles":"Skynot sourit", +"Slop it with AI":"Faire bâcler par l’IA", +"Slow cities":"Villes lentes", +"Slow on the hills, fast on the flat.":"Lent dans les côtes, rapide sur le plat.", +"Small, fast and always leaping to the next deal. Ribbit.":"Petit, rapide et toujours prêt à sauter sur la prochaine offre. Croâ.", +"Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.":"Petite, riche et très bien connectée, tant que les voisins se parlent. Sa seule frontière terrestre est avec l’Arabie saoudite.", +"Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.":"La neige a fermé le col, et l’équipe de réparation avec : {a}–{b} est tombé.", +"Social media. Everyone keeps falling for it.":"Réseau social. Tout le monde finit par s’y vautrer.", +"Social network with perfect vision.":"Un réseau social à la vision parfaite.", +"Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.":"Certains clients viennent avec des conditions : pas de Cogentle nulle part, pas de câbles sous-marins à cause des requins, deux routeurs, un groupe électrogène, NetChill on-net, accès à la Chine avec peu de pertes, et plus encore. Chacune rapporte un bonus. Celles qui ne sont pas remplies les rendent grognons jusqu’à ce que tu corriges le tir ou qu’ils partent.", +"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Parmi les accès haut débit les plus rapides de la planète, et le marché du peering le plus étrange. Sous le régime « sender pays », les trois grands FAI facturent chaque gigabit qu’on leur remet, et le transit ici est parmi les plus chers au monde.", +"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Certains routeurs mettent une éternité à démarrer. L’onglet Infra montre combien de temps met le tien. Les routeurs lents au boot font durer les crashs plus longtemps et transforment le remplacement d’un routeur unique en panne de trois jours. Les gros châssis, surtout ceux avec un PacketOinker™ dedans, sont plus souvent lents. Avec des routeurs jumeaux, ça devient le problème de quelqu’un d’autre.", +"Somebody else’s gas main was exactly where the map said it was not.":"La conduite de gaz de quelqu’un d’autre était exactement là où le plan disait qu’elle n’était pas.", +"Someone committed a config in {city} with “commit confirmed 1” and went to lunch.":"Quelqu’un a commité une config à {city} avec « commit confirmed 1 » et est parti déjeuner.", +"Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.":"Quelqu’un a supprimé l’enregistrement DNS du wiki interne. La procédure pour réparer le DNS était sur le wiki.", +"Someone deployed to {city} on a Friday at 16:59.":"Quelqu’un a déployé à {city} un vendredi à 16 h 59.", +"Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.":"Quelqu’un a filtré tout l’ICMP sur ton edge « pour la sécurité ». Le Path MTU Discovery est cassé, et les connexions vers {net} se figent juste après le handshake.", +"Someone from Goggle bought you a beer. You did not get their name, only a sticker.":"Quelqu’un de chez Goggle t’a payé une bière. Tu n’as pas retenu son nom, juste un sticker.", +"Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.":"Quelqu’un à {dc} a étiqueté chaque jarretière « NE PAS DÉBRANCHER ». Quelqu’un d’autre en a débranché une quand même : ton lien {a}–{b}.", +"Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.":"Quelqu’un a nommé un VLAN « prodcution ». Désormais, tout repose dessus et il ne pourra jamais être renommé.", +"Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.":"Quelqu’un a branché une boucle sur le fabric de {ix}. Tempête de broadcast ! Tout le peering là-bas est tombé.", +"Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.":"Quelqu’un a débranché le mauvais cross-connect dans la meet-me room de {city}, et {siteB} est coupé de {siteA}.", +"Someone ran “reload” on the {city} router, thinking it was their laptop terminal.":"Quelqu’un a lancé « reload » sur le routeur de {city} en croyant être dans le terminal de son portable.", +"Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.":"Quelqu’un a réglé min-links sur ton {lab} au nombre de membres. Un membre a flappé, donc tout le bundle est tombé.", +"Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.":"Quelqu’un a réglé le thermostat du datacenter de {city} en Fahrenheit en croyant que c’était des Celsius. Les routeurs cuisent à mi-régime.", +"Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.":"Quelqu’un a volé le cuivre de la mise à la terre d’une cabane d’amplis sur {a}–{b}. Tous les canaux éteints.", +"Somewhere, on every continent, a backhoe is thinking about you.":"Quelque part, sur chaque continent, une pelleteuse pense à toi.", +"Sound":"Son", +"Source on GitHub":"Code source sur GitHub", +"South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.":"La côte est de l’Afrique du Sud : surf, curry et la plage où atterrissent les câbles de l’océan Indien.", +"South America":"Amérique du Sud", +"South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.":"Le plus grand marché d’Amérique du Sud, et le berceau d’IX.brrr : géré par une association à but non lucratif, prix publics, et presque tout le monde y est.", +"South Atlantic, cool and confident.":"Atlantique Sud, cool et sûr de lui.", +"Southeast Asia to Japan, with snacks.":"De l’Asie du Sud-Est au Japon, goûter compris.", +"Sovereign cloud region":"Région de cloud souverain", +"Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.":"Régions de cloud souverain, et un PNI gratuit avec Doitsche Telekomm. Matos : ROADMaster 9000 C+L (128 canaux), routeurs Disco 8K Ultra.", +"Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.":"Règles d’Internet souverain : chaque POP doit héberger un boîtier du gouvernement dans la baie, les vidéos Goggle sont bridées, et le pare-feu national fait des exercices.", +"Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.":"Des optiques et des cartes d’ampli de rechange sur l’étagère transforment des pannes matérielles de plusieurs jours en remplacements d’une journée.", +"Spares bought now are already paid for when the next shortage hits.":"Les pièces achetées maintenant sont déjà payées quand la prochaine pénurie arrive.", +"Spares kit on ✓":"Kit de rechange actif ✓", +"Spares shelf":"Étagère de rechange", +"Speed":"Vitesse", +"Speedrun":"Speedrun", +"Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.":"Rapide de nom. Possède une part du câble vers Singapour et n’arrête pas de racheter de petits FAI.", +"Spicy pricing, mild latency.":"Des prix épicés, une latence douce.", +"Splice it tonight":"Ressouder cette nuit", +"Spreadsheet IPAM":"IPAM sur tableur", +"Squirrels chewed through {a}–{b}. They regret nothing.":"Des écureuils ont rongé {a}–{b}. Non, rien de rien, ils ne regrettent rien.", +"Stage Six":"Stade six", +"Stand up DDoS defences":"Monte tes défenses anti-DDoS", +"Standard":"Standard", +"Start a new network":"Créer un nouveau réseau", +"Start a new network?":"Créer un nouveau réseau ?", +"Start building":"Commencer à construire", +"Start construction":"Lancer les travaux", +"Start here":"Point de départ", +"Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.":"Démarre à Panama City. Rien ne traverse le bouchon du Darién par voie terrestre, et les Andes barrent la route à tout le reste.", +"Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.":"Démarre à Stuttgart, où personne ne vend de transit. Atteins Internet uniquement via peering, PNI, caches et ta propre fibre. Aucun transit, nulle part, jamais.", +"Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.":"Départ à {city} · {mods} · un an, score = pic de trafic. Le même monde pour tout le monde cette semaine.", +"Start the challenge":"Lancer le défi", +"Start the clock with 1× and watch traffic and money flow. You can pause any time.":"Lance le temps en 1× et regarde le trafic et l’argent couler. Tu peux mettre en pause à tout moment.", +"Start the scenario":"Lancer le scénario", +"Start the weekly challenge?":"Lancer le défi de la semaine ?", +"Start with only $100k":"Démarre avec seulement $100k", +"Start {name}?":"Lancer {name} ?", +"Started in Venice. Upgraded to land.":"Né à Venise. Depuis, passé à la terre ferme.", +"Started in somebody’s garage, like everything else round here.":"Né dans le garage de quelqu’un, comme tout le reste par ici.", +"Startups, techno and a surprising number of data centers in old breweries.":"Startups, techno et un nombre surprenant de datacenters dans d’anciennes brasseries.", +"Stats card for {name}":"Fiche de stats de {name}", +"Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football.":"De Stavanger aux Pays-Bas en passant par toutes les plateformes pétrolières de la mer du Nord. Les foreurs regardent beaucoup de foot en streaming.", +"Stay Tier 3. Number go up, rank stay down.":"Reste Tier 3. Chiffre monter, rang rester en bas.", +"Stay out of mainland China. Compliance said so.":"Reste hors de Chine continentale. Ordre de la conformité.", +"Stay, take the discount":"Rester et prendre la remise", +"Steer traffic around one link, unless it is the only path.":"Faire contourner un lien au trafic, sauf si c’est le seul chemin.", +"Step {n} of {total}":"Étape {n} sur {total}", +"Stepping Stones":"De gué en gué", +"Still owed":"Reste dû", +"Stock a spare {optic} {price}":"Stocker un {optic} de rechange {price}", +"Stockpiled bandwidth in 2020 and still has a few rolls left.":"A fait des stocks de bande passante en 2020 et il lui reste encore quelques rouleaux.", +"Stop blackholing":"Arrêter le blackholing", +"Stops the game when a failure costs you real traffic, not when it reroutes by itself.":"Arrête le jeu quand une panne te coûte du vrai trafic, pas quand elle se reroute toute seule.", +"Storm season. The ship is sheltering in port, playing cards.":"Saison des tempêtes. Le navire s’abrite au port et joue aux cartes.", +"Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses.":"Tout droit à travers l’Atlantique Sud, de Fortaleza au Cameroun. Pas d’escale, pas d’île, pas d’excuse.", +"Straight from São Paulo to New York, skipping the Miami hairpin.":"Direct de São Paulo à New York, sans l’épingle à cheveux de Miami.", +"Streaming startup":"Startup de streaming", +"Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.":"Diffuse 40 % du trafic du soir. Offre des caches gratuits si tu envoies assez d’eyeballs.", +"Strong in Asia and Africa. Every circuit comes with a consolation prize.":"Fort en Asie et en Afrique. Chaque circuit est livré avec un lot de consolation.", +"Strong, sweet and cheaper than the incumbent.":"Fort, sucré et moins cher que l’opérateur historique.", +"Submarine transmission":"Transmission sous-marine", +"Subsea":"Sous-marin", +"Subsea cable":"Câble sous-marin", +"Subsea cables":"Câbles sous-marins", +"Subsea cables to Africa and Asia land here.":"Les câbles sous-marins vers l’Afrique et l’Asie atterrissent ici.", +"Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.":"Les longueurs d’onde sous-marines ne peuvent suivre que des systèmes de câbles calqués sur des vrais, dessinés en transparence sur la carte (touche une ville pour surligner ses câbles). Les turquoise sont neufs et pas chers, les violets chers, les pointillés vieux et sujets aux coupures. Toutes tes longueurs d’onde sur un même câble meurent ensemble quand il est coupé. Entre continents reliés par la terre, tu peux souvent choisir la voie terrestre (2,5×, plein de frontières) ou un câble.", +"Suburban Mega-shed":"Méga-hangar de banlieue", +"Supply chain":"Chaîne d’approvisionnement", +"Surveying a sea route…":"Recherche d’un itinéraire maritime…", +"Survive 100 incidents without customer impact.":"Survis à 100 incidents sans impact client.", +"Survive a failure":"Survis à une panne", +"Survived with no impact":"Encaissés sans impact", +"Swap {cost} + {mo}/mo":"Remplacer {cost} + {mo}/mois", +"Swap the optic":"Changer l’optique", +"Swapped from your spares kit by tomorrow.":"Remplacée grâce à ton kit de rechange d’ici demain.", +"Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.":"Remplacement de l’unique routeur de {city} par un {model}. Fenêtre de maintenance : retour demain.", +"Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.":"Remplacement de l’unique routeur de {city} par un {model}. Le nouveau {how}. Retour dans {n} jours.", +"Sweet, fuzzy and surprisingly reliable.":"Doux, duveteux et étonnamment fiable.", +"Switch to CN-Too premium {x}× price · ~3% loss into China":"Passer à CN-Too premium prix {x}× · ~3 % de pertes vers la Chine", +"Switch to always-on":"Passer en toujours actif", +"Switch to on-demand cheaper":"Passer à la demande moins cher", +"Sydney to Auckland with plenty to spare.":"De Sydney à Auckland, avec de la marge à revendre.", +"Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem.":"De Sydney à Honolulu, et pas un mètre de plus. Rejoindre le continent, c’est ton problème.", +"Sydney to Nouméa. Wishes it were a supercontinent.":"De Sydney à Nouméa. Il rêve d’être un supercontinent.", +"Sydney to Papua New Guinea and the Solomon Islands. Hums while it works.":"De Sydney à la Papouasie-Nouvelle-Guinée et aux Îles Salomon. Il fredonne pendant qu’il travaille.", +"Sydney to Tokyo by way of Guam, going round and round since 2001.":"De Sydney à Tokyo en passant par Guam, il tourne en rond depuis 2001.", +"Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.":"Sydney, 2013. Le Toilet Paper Group a tiré sa propre fibre jusqu’au sous-sol des immeubles, et le réseau national a crié à l’écrémage. À toi : passe outre le Nearly Broadband Network, paie la taxe et arrive le premier.", +"Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white.":"Sydney, Melbourne, Adélaïde et Perth par la mer, pour que tes paquets n’aient jamais à traverser le Nullarbor. Encore un coup du type qui fonde une entreprise de fibre à chaque flat white terminé.", +"São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.":"São Paulo. Le Brésil est un continent : quarante IX.brrr, des milliers de provedores, et l’Amazonie entre toi et le nord.", +"Tahiti to Hawaii, trolling for bandwidth.":"De Tahiti à Hawaï, à la traîne de la bande passante.", +"Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.":"Tahiti, en Polynésie française. Un câble remonte vers Hawaï, et le nouveau, du Chili à l’Australie, s’y arrête : le gué entre l’Amérique du Sud et l’Océanie.", +"Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.":"L’opérateur historique de Taïwan. Reste calme pendant que des navires traînent leurs ancres sur ses câbles.", +"Take a DE-KICKS retention offer.":"Accepte une offre de fidélisation DE-KICKS.", +"Take out a loan.":"Contracte un prêt.", +"Take the money":"Prendre l’argent", +"Takes forever to set up, but very filling.":"Prend une éternité à mettre en place, mais très copieux.", +"Taking {pct} of your revenue every month.":"Prélève {pct} de ton CA chaque mois.", +"Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.":"Tallinn. Les navires traînent leurs ancres sur les câbles de la Baltique trois fois plus souvent que d’habitude.", +"Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.":"La fille belge de Tangerine : mobile, câble et beaucoup de fibre noire le long des autoroutes wallonnes. Acidulé.", +"Tango, steak and a currency that changes value while you read this.":"Tango, steak et une monnaie qui change de valeur pendant que tu lis ces lignes.", +"Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.":"La plus grande ville de Tanzanie et la porte sur la mer d’une demi-douzaine de pays enclavés.", +"Tap Add to Home Screen. You may need to scroll down, or tap More first.":"Touche Sur l’écran d’accueil. Il faudra peut-être faire défiler vers le bas, ou toucher d’abord Plus.", +"Tap Install app or Add to Home screen.":"Touche Installer l’application ou Ajouter à l’écran d’accueil.", +"Tap Share {icon} in the browser toolbar.":"Touche Partager {icon} dans la barre du navigateur.", +"Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.":"Touche un lien pour voir quels réseaux, quels points d’entrée et quelles villes clientes le remplissent. Augmente la métrique d’un lien pour que le trafic le contourne, ou passe une sortie (transit, IX, PNI) en Préférer ou Secours uniquement.", +"Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.":"Touche ta trésorerie pour ouvrir la banque. Les prêteurs font des offres de temps en temps, et bien plus souvent quand tu es dans le rouge. Chaque prêt a une mensualité et quelques conditions bizarres ; enfreins-en une et tu paies une pénalité. Ta note de crédit décide quelles banques te parlent. L’usurier est toujours là. Ne sois pas en retard.", +"Tap your city, then Launch broadband":"Touche ta ville, puis Lancer le haut débit", +"Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.":"Touche 🔍 Traceroute sur n’importe laquelle de tes villes, ou ouvre-le depuis l’onglet NOC, pour voir le chemin exact vers un réseau ou un POP, saut par saut, avec la latence, la sortie et l’AS path.", +"Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.":"La marque low cost de Telstraya. Moins chère, plus joyeuse, et elle refuse toujours le peering avec toi.", +"Ten terabits per second of happy traffic. The giants will notice.":"Dix térabits par seconde de trafic heureux. Les géants vont le remarquer.", +"Ten thousand GPUs and a podcast.":"Dix mille GPU et un podcast.", +"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.", +"Terabit floods held":"Vagues térabit encaissées", +"Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.":"Les termites ont mangé le fourreau sur {a}–{b}. Puis la fibre. Puis le fourreau de remplacement.", +"Terms apply. Several terms.":"Des conditions s’appliquent. Plusieurs conditions.", +"Terrestrial":"Terrestre", +"Terrestrial fiber":"Fibre terrestre", +"Thailand’s mobile giant. Its coverage maps are mostly true.":"Le géant mobile de Thaïlande. Ses cartes de couverture sont globalement vraies.", +"That does not look like a Series of Tubes save.":"Ça ne ressemble pas à une sauvegarde de Series of Tubes.", +"That file is not valid JSON.":"Ce fichier n’est pas du JSON valide.", +"That network went bankrupt. It cannot be brought back, only mourned.":"Ce réseau a fait faillite. Impossible de le ressusciter, on ne peut que le pleurer.", +"That save has a POP in a city this version does not know ({city}).":"Cette sauvegarde a un POP dans une ville que cette version ne connaît pas ({city}).", +"The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.":"La clim de {dc} a lâché le jour le plus chaud de l’année. Tes routeurs à {city} sont bridés à mi-capacité.", +"The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.":"L’ère des agents IA : les eyeballs veulent 25 % de plus, parce que des bots surfent désormais à la place des gens et ne dorment jamais. Matos : huit paires de fibres dans tes propres tranchées terrestres.", +"The Annex":"L’annexe", +"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.", +"The Cheaper One":"Le moins cher", +"The Cogentle Spat":"La brouille Cogentle", +"The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.":"La Cité-Jardin, et la plus grande ville de l’île du Sud, que les gens d’ici appellent « le Continent » sans rire. Tout ce qui part vers l’île du Nord traverse le détroit de Cook.", +"The Internet":"Internet", +"The Kingdom’s incumbent. Once you are in, you stay in.":"L’opérateur historique du Royaume. Une fois entré, tu y restes.", +"The Long Way Round":"Le grand détour", +"The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.":"L’opérateur des Îles Marshall, à deux mètres au-dessus de la mer et fier de chaque centimètre.", +"The Nearly Broadband Network keeps {pct} of it for the last mile.":"Le Nearly Broadband Network en garde {pct} pour le dernier kilomètre.", +"The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.":"Le hub du Nord, avec son propre IX et des prises d’air de clim très humides. Les câbles vers l’Irlande et le Danemark atterrissent un peu plus haut sur la côte.", +"The Other Building":"L’autre bâtiment", +"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.":"La porte du Pacifique. Les Andes la séparent de tout le reste, et la terre tremble de temps en temps.", +"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"Le hub de la Rhénanie-Ruhr : plus de data centers neutres que Hamburg ou Munich, et à une heure de la frontière néerlandaise, donc la fibre vers Amsterdam est courte et pas chère. Ici, on commande une Altbier, jamais une Kölsch.", +"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.":"L’Étalon des mers : de Blackpool au Danemark, au galop autour du nord de l’Écosse.", +"The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.":"La capitale des Îles Salomon, sur Guadalcanal. Le câble vers Sydney n’est arrivé qu’il y a quelques années ; avant, tout passait par satellite. Le courant est moins fiable que le câble.", +"The Solomon Islands’ incumbent. Yours sincerely, eventually.":"L’opérateur historique des Îles Salomon. Bien à vous, un jour ou l’autre.", +"The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.":"Le carrier hotel du Sud-Est. L’aéroport le plus fréquenté, le peering le plus fréquenté au sud d’Ashburn.", +"The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.":"Le certificat TLS de ton tableau de bord NOC a expiré. Plus personne ne voit les graphes, donc techniquement il n’y a aucun problème.", +"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"Le Tier 1 qui a grandi en Sicile. Son backbone Seabone règne sur la Méditerranée et s’enfonce loin dans les Amériques, et il vit toujours à Palerme.", +"The UK’s incumbent. Buzzes politely, stings on price.":"L’opérateur historique britannique. Bourdonne poliment, pique sur les prix.", +"The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.":"L’ère de la VR : les eyeballs veulent 20 % de plus. Un PNI gratuit avec China Moble. Matos : routeurs Knockia 7950 XRS, scrubbing de 100T.", +"The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.":"La Venise du Brésil, toute en ponts et en rivières, avec l’un des plus grands parcs technologiques du pays dans son vieux port.", +"The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.":"La banque a saisi tes routeurs et les a revendus sur eBuy. {name} a tenu {days} jours, avec un pic à {peak}.", +"The big regional carrier. Sees everything clearly, especially your invoice.":"Le grand opérateur régional. Voit tout très clairement, surtout ta facture.", +"The biggest network in China. Its CN-Too premium route skips the congested border, for a price.":"Le plus grand réseau de Chine. Sa route premium CN-Too évite la frontière congestionnée, moyennant finance.", +"The botnet was already someone else’s botnet. They are furious.":"Le botnet était déjà le botnet de quelqu’un d’autre. Ils sont furieux.", +"The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.":"Le bout du pays, sur des lignes électriques construites pour une fonderie d’aluminium. Quelqu’un construit un campus IA de 280 MW dans un pré à la sortie de la ville, donc les câbles vont arriver. Probablement.", +"The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.":"Le bas de la carte. De l’air frais, de l’hydroélectricité bon marché, et tout le détroit de Bass entre toi et le continent.", +"The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.":"La capitale économique de l’Afrique de l’Ouest francophone, avec des tours de verre sur une lagune et cinq câbles dans la baie.", +"The cable ship’s coffee machine broke. Nobody works without coffee.":"La machine à café du câblier est en panne. Personne ne bosse sans café.", +"The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party.":"Le câble qui a connecté l’Afrique de l’Est, de Durban jusqu’à Djibouti puis Mumbai. Il raconte encore l’histoire à chaque soirée.", +"The capacity is “available in the system”. Nobody can find it in the system.":"La capacité est « disponible dans le système ». Personne ne la trouve dans le système.", +"The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.":"La capitale de l’Acre, un État dont les Brésiliens disent en plaisantant qu’il n’existe pas. Tes traceroutes disent le contraire.", +"The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.":"La capitale des Îles Marshall, un anneau de corail à deux mètres au-dessus de la mer. Un seul câble vers Guam, et chaque paquet le sait.", +"The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.":"La capitale, qui construit des campus IA à l’échelle du gigawatt. Les données des utilisateurs saoudiens doivent rester dans le Royaume, et chaque POP exige une licence télécom locale.", +"The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.":"La capitale. De l’argent souverain pour l’IA et de très gros datacenters. Aux Émirats, seuls les deux opérateurs agréés ont le droit de déployer de la fibre.", +"The carrier is out of spectrum here until its next line-system upgrade.":"L’opérateur n’a plus de spectre ici jusqu’à la prochaine mise à niveau du système de ligne.", +"The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.":"Le challenger d’IX Straya. Surgit au bord de chaque ville, y compris celles dont personne d’autre ne s’occupe. Un goût qui s’acquiert, comme la Vegemite.", +"The challenger to the DE-KICKS fabric, wrapped and ready to go.":"Le challenger du fabric DE-KICKS, roulé et prêt à emporter.", +"The challenger. Fresh every morning, a bit crusty by the evening.":"Le challenger. Frais chaque matin, un peu rassis le soir.", +"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.":"Le bouton graphique en haut ouvre les courbes de trafic par sortie (caches, PNI, IX, transit), l’argent dans le temps, le trafic par ASN avec son mode d’arrivée et son coût en transit, plus tes liens et routeurs les plus chargés.", +"The cheapest money in town. There is a catch, and it has extra cheese.":"L’argent le moins cher de la ville. Il y a un piège, et il est en supplément fromage.", +"The cheapest plan in the country. Smells like a bargain.":"Le forfait le moins cher du pays. Ça sent la bonne affaire.", +"The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.":"La ville de l’éternel printemps, avec des escalators en plein air à flanc de colline et une scène startup très active.", +"The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.":"L’agent d’entretien de {dc} a débranché ton routeur pour brancher un aspirateur. Le sol est impeccable.", +"The cleaner unplugged everything at {siteA}.":"L’agent d’entretien a tout débranché à {siteA}.", +"The cloud. It's just someone else's Ashburn.":"Le cloud. C’est juste l’Ashburn de quelqu’un d’autre.", +"The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.":"Le prestataire de refroidissement à {city} a remplacé les groupes froids par un ventilateur très sûr de lui. Mi-capacité pendant deux jours.", +"The crashed one {what}.":"Celui qui a planté {what}.", +"The crew fished out somebody else’s cable by mistake and has to put it back.":"L’équipage a repêché le câble de quelqu’un d’autre par erreur et doit le remettre.", +"The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.":"La capitale des datacenters. La rumeur dit que 70 % d’Internet passe par ici, et personne n’a vérifié.", +"The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.":"Le grand Sud, à mi-chemin de Buenos Aires. Barbecue tous les dimanches, et une calebasse de maté brûlant dans chaque main, même en été.", +"The drilling crew hit a granite boulder the size of a bus.":"L’équipe de forage est tombée sur un bloc de granit gros comme un bus.", +"The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.":"La ville la plus à l’est des Amériques, là où le soleil se lève en premier. Ton astreinte au NOC commence tôt, elle aussi.", +"The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.":"Les émeus ont encore gagné : une bande a couché les bornes de repérage sur {a}–{b}, et une niveleuse a creusé en plein dans la fibre.", +"The first cable from South America to Oceania. 14,000 km of very lonely glass.":"Le premier câble entre l’Amérique du Sud et l’Océanie. 14 000 km de verre très solitaire.", +"The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.":"L’orage de seize heures est passé sur BrisVegas pile à l’heure et a emporté le réseau électrique derrière {dc}. Ton POP est dans le noir avec les machines à sous.", +"The game stops so you can fix their service before they cancel. Most useful at high speed.":"Le jeu s’arrête pour que tu répares leur service avant qu’ils résilient. Surtout utile à grande vitesse.", +"The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.":"Le centre géographique de l’Amérique du Sud, et l’une des villes les plus chaudes du Brésil. Les groupes froids n’ont jamais de jour de repos.", +"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"Le centre géographique des États-Unis. Les datacenters sont installés dans d’anciennes mines de calcaire souterraines : température stable, pas de tornades, et quelqu’un n’arrête pas de retrouver les souliers de Dorothy.", +"The giants":"Les géants", +"The glass":"Le verre", +"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.":"Le groupe derrière plusieurs grands IX (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) traite ses grilles tarifaires comme un secret d’État. Les ports sont chiffrés client par client et grimpent d’autant plus que tu as l’air gros. Négocier peut marcher, se retourner contre toi ou s’enliser une semaine. Une fois par an, les prix sont « harmonisés » à la hausse, des options apparaissent sur ta facture tant que tu ne les refuses pas, et tenter de partir te vaut une remise de fidélité qui se termine par des frais.", +"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"Le hallway track a migré vers un bar du port, où la femme derrière le comptoir a continué à servir de l’aquavit bien après minuit sans demander à personne son AS path. De retour au bar de l’hôtel, quelqu’un a dit « allez, un dernier verre ». Tes sessions BGP ont tenu toute la nuit. Toi aussi.", +"The harbour, the bridge and most of the country’s data centres. Rent is the real latency.":"Le port, le pont et la plupart des data centers du pays. La vraie latence, c’est le loyer.", +"The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.":"Le siège de gouvernement le plus haut du monde, à 3 600 m. Les pendulaires prennent le téléphérique, et une partie de la fibre aussi.", +"The landing permit dispute in {city} blocks new subsea links for {n} more days.":"Le litige sur le permis d’atterrissement à {city} bloque les nouveaux liens sous-marins pendant encore {n} jours.", +"The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.":"Le propriétaire à {a} a refait la colonne montante de l’immeuble et a pincé ta fibre noire vers {b}.", +"The largest mobile network on Earth. Paid peering only.":"Le plus grand réseau mobile de la planète. Peering payant uniquement.", +"The laser in a {optic} on {a}–{b} died. One channel dark.":"Le laser d’une optique {optic} sur {a}–{b} a rendu l’âme. Un canal éteint.", +"The long tail":"La longue traîne", +"The long tail ({n} small networks)":"La longue traîne ({n} petits réseaux)", +"The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.":"L’IX historique de Madrid. Interconnexion neutre, saveur locale et un route server qui ne fait jamais la sieste.", +"The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.":"Le modèle détermine ton interface la plus rapide et ce que ce POP peut transmettre. Plus de routeurs, c’est plus de capacité et une meilleure résistance aux plantages.", +"The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.":"Le modulaire. Quatre-vingt-seize ports 800G, des buffers assez profonds pour y perdre un navire, et des release notes uniquement sur vinyle. Arrr.", +"The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.":"La mousson a inondé une chambre de tirage sur {a}–{b}. La fibre est maintenant sous l’eau, tout comme la chambre.", +"The moon":"La lune", +"The most isolated big city on Earth. Asia is closer than Sydney.":"La grande ville la plus isolée de la planète. L’Asie est plus proche que Sydney.", +"The national carrier. Every punchline is pre-approved.":"L’opérateur national. Chaque vanne est validée en haut lieu.", +"The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.":"Les réseaux que tu atteins en payant du transit, du plus gros au plus petit, et la façon la moins chère de passer chacun en peering. C’est ta to-do list sur la route du Tier 1.", +"The old gateway to Eastern Europe. Packets still bow politely on the way through.":"L’ancienne porte de l’Europe de l’Est. Les paquets s’inclinent encore poliment en passant.", +"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.":"Le petit frère du vieux cheval de labour : de Los Angeles à Sydney, avec une dérivation vers les Fidji.", +"The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.":"Le plus ancien IX de Johannesburg, géré par l’association locale des FAI. Touche du bois avant chaque fenêtre de maintenance.", +"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.":"La seule capitale du Nordeste loin de la mer. Réputée pour sa chaleur, avec des orages qui donnent du travail aux parafoudres.", +"The original CDN. Maybe it is already in your rack.":"Le CDN original. Il est peut-être déjà dans ta baie.", +"The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.":"L’autre moitié du duopole des Émirats. Fait ce que fait Etis-a-lot, dans une autre couleur.", +"The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.":"L’autre moitié du duopole, sur cuivre et fibre. Strictement national : le monde l’atteint via sa branche de gros.", +"The peering coordinator for this city is on a six-month sabbatical.":"Le peering coordinator de cette ville est en congé sabbatique pour six mois.", +"The permit office lost your permit. And then the replacement.":"Le service des permis a perdu ton permis. Puis le duplicata.", +"The plus is a usage fee. Paid peering, per gigabit.":"Le plus, c’est une taxe à l’usage. Peering payant, au gigabit.", +"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"La porte des Prairies entre Vancouver et le reste du Canada. Un chinook fait fondre la neige en un après-midi, puis il reneige.", +"The pretty way around East Asia.":"La route panoramique de l’Asie de l’Est.", +"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.":"La génération précédente. Transporte encore l’essentiel du trafic du Pakistan, du Sri Lanka et du Bangladesh, le tout tenu par l’espoir.", +"The railway changed its mind about the easement.":"La compagnie ferroviaire a changé d’avis sur la servitude de passage.", +"The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.":"La version réelle, par Thomas Kjær Aabo : une carte interactive et zoomable du vrai trajet de tes paquets, du Wi-Fi à la fibre sous-marine, aujourd’hui, en 2010 et en 1995. Ce jeu invente au fur et à mesure. Celle-là, elle a tout bon.", +"The real thing: follow a packet from Wi-Fi to undersea fiber.":"La version réelle : suis un paquet du Wi-Fi à la fibre sous-marine.", +"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.", +"The same route server, in a gold-coloured portal.":"Le même route server, dans un portail couleur or.", +"The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.":"Les mouches des sables ont chassé ton équipe d’épissure de {a}–{b}. Elle reviendra quand le vent se lèvera.", +"The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"Le fond marin au large des Tonga a glissé le long d’une pente et a emporté ton câble {a}–{b}. Le navire de réparation arrive de Papouasie-Nouvelle-Guinée.", +"The seabed survey found an old sea mine. A small, very careful detour.":"L’étude des fonds marins a trouvé une vieille mine. Un petit détour, très prudent.", +"The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.":"La fonderie de Tiwai Point a tiré un peu plus fort sur le réseau, et ton POP à {city} a flanché le premier.", +"The straightest line across the Atlantic. Traders pay double to save a few milliseconds.":"La ligne la plus droite à travers l’Atlantique. Les traders paient le double pour gagner quelques millisecondes.", +"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.", +"The transponders for this route are on a container ship. The ship is somewhere near Singapore.":"Les transpondeurs pour cette route sont sur un porte-conteneurs. Le navire est quelque part près de Singapour.", +"The upgrade is planned for Q3. Which year, the email does not say.":"La mise à niveau est prévue pour le T3. De quelle année, l’e-mail ne le dit pas.", +"Their CEO hates puns. Please do not mention the network names.":"Leur PDG déteste les jeux de mots. Merci de ne pas mentionner les noms des réseaux.", +"Their IX port here is full until the next upgrade. They promise it is soon.":"Leur port IX ici est saturé jusqu’au prochain upgrade. Ils promettent que c’est pour bientôt.", +"Their PearingDB entry says \"Remote peering: No (we mean it)\".":"Leur fiche PearingDB indique « Remote peering : non (et on est sérieux) ».", "Their PeeringDB says {lim}, last updated {n} year ago.":"Leur PeeringDB indique {lim}, mis à jour il y a {n} an.", "Their PeeringDB says {lim}, last updated {n} years ago.":"Leur PeeringDB indique {lim}, mis à jour il y a {n} ans.", -"Raise the limit":"Relever la limite", -"Keep it down":"La laisser coupée", -"bumped":"relancé", -"Peering inbox":"Boîte de peering", -"{n} unanswered":"{n} sans réponse", -"Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.":"Chaque port IX amène du courrier. Répondez aux demandes de peering et regardez les sessions qui dépassent leur limite max-prefix : croissance ou fuite de routes ? Le courrier sans réponse vous fait une réputation, et les réseaux sélectifs en entendent parler.", +"Their capacity planner is on holiday, and he took the spreadsheet with him.":"Leur planificateur de capacité est en vacances, et il a emporté le tableur.", +"Their lawyers are reviewing every peering agreement in this country. Again.":"Leurs avocats revoient chaque accord de peering de ce pays. Encore.", +"Their peering team says US East is “capacity constrained”, which is cloud for “no”.":"Leur équipe de peering dit qu’US East est « capacity constrained », ce qui veut dire « non » en langage cloud.", +"Their policy here says \"IX peering by invitation only\". You were not invited.":"Leur politique ici dit « peering IX sur invitation uniquement ». Tu n’as pas été invité.", +"Their routers in this city are \"at capacity\". They are not.":"Leurs routeurs dans cette ville sont « à pleine capacité ». Ils ne le sont pas.", +"Their team quotes {m} months":"Leur équipe annonce {m} mois", +"Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.":"Leurs utilisateurs sortent par un transit lointain. Au-delà de 50 ms aller-retour, le haut débit et les services internet comptent comme un mauvais service.", +"There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.":"Pas encore d’IX à {city}. Fondes-en un : les réseaux te rejoignent peu à peu, te paient leurs ports et font du peering gratuit avec toi.", +"They checked your PearingDB page and liked the traffic numbers.":"Ils ont consulté ta page PearingDB et ont aimé tes chiffres de trafic.", +"They heard you might be in a spot of bother.":"Il paraît que tu serais un peu dans le pétrin.", +"They need the full internet. Your reach is {pct}.":"Ils veulent tout Internet. Ta couverture est de {pct}.", +"They now own {p} of your revenue.":"Ils possèdent désormais {p} de ton chiffre d’affaires.", +"They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.":"Ils t’ont envoyé un NDA de 14 pages avant même de pouvoir te répéter le prix. Les avocats tablent sur une semaine.", +"They will reconsider in {n} day.":"Ils y repenseront dans {n} jour.", +"They will reconsider in {n} days.":"Ils y repenseront dans {n} jours.", +"Thick, comforting and very New England.":"Épais, réconfortant et très Nouvelle-Angleterre.", +"Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.":"Des voleurs ont déterré ton câble {a}–{b}, persuadés que c’était du cuivre. C’était de la fibre. Ils l’ont laissé coupé dans le fossé, profondément déçus.", +"Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.":"Tout casse, tout le temps. Construis un second chemin ou un second upstream pour que le trafic soit rerouté quand quelque chose meurt.", +"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.":"Ça casse tout le temps : coupures de fibre, crashs de routeurs, coupures de courant, boucles sur les IX, pannes de fabric, fuites de routes, DDoS, erreurs de manip, pannes de refroidissement, et géopolitique : sanctions, droits de douane, détournements BGP, litiges sur les permis d’atterrissement, coupures les jours d’examen et câbles sectionnés en mer Rouge. Le trafic se reroute automatiquement via d’autres chemins et upstreams. Des liens parallèles sur des chemins diversifiés, un second routeur et un groupe électrogène de secours aident tous. Ou paie pour accélérer les réparations.", +"This POP is down":"Ce POP est en panne", +"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Ce canal porte à {max} km sur ce câble ; le tracé fait {span} km. Pense aux terminaux sous-marins ou à l’ingénierie optique.", +"This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.":"Ce châssis met une éternité à booter : les plantages durent plus longtemps, et remplacer l’unique routeur d’ici prend 3 jours. Un second routeur masque le problème.", +"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"Le tracé de cette conception fait {km} km : trop long pour toute optique, même avec les deux améliorations. Une conception plus courte peut y arriver.", +"This fiber is dark. Add optics below to carry traffic.":"Cette fibre est éteinte. Ajoute des optiques ci-dessous pour transporter du trafic.", +"This is the only link between these cities. Add a parallel one, or a path through another city.":"C’est le seul lien entre ces villes. Ajoutes-en un parallèle, ou un chemin via une autre ville.", +"This replaces {name}. Export it first if you want to keep it.":"Cela remplace {name}. Exporte-le d’abord si tu veux le garder.", +"This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.":"Ce parcours traverse une frontière en Afrique : 2× le prix. Chaque pays veut ses propres permis, son propre opérateur et sa part du gâteau.", +"This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.":"Cette route traverse les Andes : 2× le prix, et glissements de terrain et neige la coupent bien plus souvent que la fibre en plaine.", +"This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.":"Cette route traverse le Nullarbor : prix ×{x}. Mille kilomètres de rien, et ce rien appartient entièrement aux opérateurs historiques.", +"This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.":"Ce parcours entre en Amazonie : 2× le prix. La fibre longe les fleuves et les pistes de la jungle, et les réparations se font en bateau.", +"This route is on land. Build your own fiber instead.":"Ce trajet est terrestre. Construis plutôt ta propre fibre.", +"Three servers, one dehumidifier and a very patient grandmother.":"Trois serveurs, un déshumidificateur et une grand-mère très patiente.", +"Three-hour films, zero-second start times.":"Films de trois heures, démarrage en zéro seconde.", +"Through the Wall":"Derrière la Muraille", +"Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.":"Organise la plus grande fête de São João du monde : un mois entier de forró chaque juin. Aussi une ville universitaire pleine d’ingénieurs.", +"Ticket of the week":"Le ticket de la semaine", +"Tidied up a session it decided was unused: de-peered {who} at {ix}.":"A fait le ménage dans les sessions qu’il jugeait inutiles : a dépeeré {who} à {ix}.", +"Tier 1":"Tier 1", +"Tier 1: only a PNI, and only once you are big enough for the Tier 1 club":"Tier 1 : PNI uniquement, et seulement quand tu seras assez gros pour le club des Tier 1", +"Tier 1s never peer at IXs":"Les Tier 1 ne font jamais de peering sur les IX", +"Tier 1s only take a PNI from a network with {list}.":"Les Tier 1 n’acceptent un PNI que d’un réseau avec {list}.", +"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.":"Les Tier 1 atteignent tout Internet sans payer personne, parce qu’ils font tous du peering entre eux. Les Tier 2 font beaucoup de peering mais achètent encore un peu de transit.", +"Tier 2":"Tier 2", +"Time":"Temps", +"Time's up":"Temps écoulé", +"Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.":"Minuscule, tropicale et la ville australienne la plus proche de l’Asie. De nouveaux câbles vers Singapore et Jakarta atterrissent ici, à côté des crocodiles.", +"Tip: drag from your pink router to another city to lay fiber":"Astuce : glisse depuis ton routeur rose vers une autre ville pour poser de la fibre", +"To":"Vers", +"To {city}":"Vers {city}", +"Toaster Wrangler":"Dompteur de grille-pain", +"Today":"Aujourd’hui", +"Toggle sound":"Activer/couper le son", +"Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.":"Tokyo compte plus d’IX qu’on ne peut en nommer. Celui-ci a été fondé par un géant du haut débit et arrive soigneusement emballé, chaque membre dans son compartiment.", +"Tomahack 5 merchant silicon":"puce merchant silicon Tomahack 5", +"Tomahack merchant silicon":"merchant silicon Tomahack", +"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Les Tonga tiennent à un seul câble depuis les Fidji. En 2022, un volcan sous-marin l’a coupé et le pays est resté hors ligne pendant des semaines.", +"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"L’opérateur des Tonga. Il a survécu à un volcan qui a coupé son unique câble, et il en plaisante maintenant.", +"Too big to route":"Trop gros pour être routé", +"Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).":"Trop loin, même au débit le plus lent : ici une portée optique fait {span} km et l’optique va jusqu’à {max} km. Ajoute un site de régénération (Système de ligne).", +"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"A traîné un géant du streaming au tribunal pour savoir qui paie le trafic demandé par ses propres clients. Peering payant, au gigabit.", +"Top destinations on this port":"Principales destinations sur ce port", +"Totals for all {n} links between these cities.":"Totaux des {n} liens entre ces villes.", +"Traceroute":"Traceroute", +"Traffic":"Trafic", +"Traffic Whisperer":"L’homme qui murmurait au trafic", +"Traffic by network (ASN)":"Trafic par réseau (ASN)", +"Traffic by way out":"Trafic par sortie", +"Traffic engineering":"Ingénierie de trafic", +"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.":"Le trafic suit le chemin le plus court selon la distance et la métrique des liens, et se reroute tout seul quand des liens tombent. Quand un chemin est simplement plein, l’excédent est jeté, comme dans un vrai IGP. Dès le niveau clients 3, tu peux installer Auto-TE dans l’onglet NOC : il déverse l’excédent sur jusqu’à deux chemins alternatifs avec de la capacité libre, tant qu’ils ne sont pas plus de deux fois plus longs.", +"Traffic now":"Trafic actuel", +"Traffic rerouted, customers barely noticed.":"Trafic redirigé, les clients n’ont presque rien vu.", +"Traffic served":"Trafic servi", +"Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.":"Le trafic prend le chemin le plus court, même quand il est plein. Un contrôleur de traffic engineering déverse le surplus sur les meilleurs chemins suivants qui ont de la place.", +"Transcontinental":"Transcontinental", +"Transit":"Transit", +"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.":"Les factures de transit échantillonnent ta conso chaque jour et facturent le 95e percentile des 30 derniers jours : les pics courts sont pardonnés, les longs non.", +"Transit cost":"Coût transit", +"Transit costs 30% more":"Le transit coûte 30 % de plus", +"Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.":"Le transit se paie au gigabit. Le peering est gratuit : ouvre l’onglet Peering, achète un port IX, puis rejoins le route server.", +"Transit ports to cancel":"Ports de transit à résilier", +"Transit sellers: {list}":"Vendeurs de transit : {list}", +"Transit {x}× pricier":"Transit {x}× plus cher", +"Trench Landlord":"Seigneur des tranchées", +"Tried a remote peer once. It flapped during a product launch. Never again.":"Ils ont essayé un peer distant, une fois. Il a flappé pendant un lancement de produit. Plus jamais.", +"Truck a spare amp out":"Livrer un ampli de rechange", +"Try again":"Réessayer", +"TubeCoin moved down {p}% on the way to your account.":"Le TubeCoin a perdu {p} % en route vers ton compte.", +"TubeCoin moved up {p}% on the way to your account.":"Le TubeCoin a pris {p} % en route vers ton compte.", +"Turn Auto-TE off":"Désactiver Auto-TE", +"Turn Auto-TE on":"Activer Auto-TE", +"Turn it off and on again":"L’éteindre et le rallumer", +"Turn it off and on again (it will take a while)":"L’éteindre et le rallumer (ça va prendre un moment)", +"Turn on a transit clean-pipe add-on.":"Active une option clean-pipe sur un transit.", +"Twenty minutes from everything, except anywhere else.":"À vingt minutes de tout, sauf de n’importe où ailleurs.", +"Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.":"Deux fois plus de WaveMagic. Plein débit seulement sur les portées courtes, et un ventilateur qu’on entend depuis le parking.", +"Twice the failures":"Deux fois plus de pannes", +"Twice the speed, shorter reach.":"Deux fois plus rapide, portée plus courte.", +"Twins":"Jumeaux", +"Two Buildings, Three Cities":"Deux bâtiments, trois villes", +"Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.":"Deux bâtiments reliés par ton propre anneau métropolitain. Une coupure de courant ou un agent d’entretien dans l’un laisse l’autre tourner à mi-capacité. Les uplinks ne marchent que si leur site est debout, sauf si tu les répartis : choisis Les deux sur un port pour mettre des membres LAG dans chaque bâtiment.", +"Two data centers in every metro they touch":"Deux datacenters dans chaque métropole qu’il touche", +"Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.":"Deux cent cinquante-six ports 3.2T et assez de forwarding pour une petite galaxie. Démarre en 42 minutes. Plus personne ne se souvient de la question.", +"Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.":"Deux millions d’habitants au milieu de la forêt tropicale, avec une zone franche industrielle. La fibre suit les fleuves, et quand elle casse, l’équipe de réparation part en bateau.", +"Two paths that share no trench or fabric":"Deux chemins sans tranchée ni fabric en commun", +"Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} \"as a reminder\".":"Deux messieurs très costauds de Loan Shark Telecom Finance ont débranché ton routeur à {city} « à titre de rappel ».", +"Type":"Type", +"Typhoon Bandwidth":"Typhon Bande-Passante", +"Typhoon Jitter":"Typhon Gigue", +"Typhoon Latency":"Typhon Latence", +"Typhoon Packet-Loss":"Typhon Perte-de-Paquets", +"Typhoons, earthquakes and a lot of very online people.":"Typhons, séismes et beaucoup de gens très connectés.", +"US East is sold out until further notice. Further notice is also sold out.":"US East est complet jusqu’à nouvel ordre. Le nouvel ordre est complet aussi.", +"Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.":"Le plus grand réseau mobile d’Ukraine. A continué de fonctionner malgré des choses que la plupart des réseaux n’ont jamais à prévoir.", +"Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.":"Les ingénieurs réseau ukrainiens ont fait tourner Internet malgré les coupures de courant et bien pire. Groupes électrogènes, fibre de secours et redondance partout sont la norme ici, et la scène peering est réputée coriace.", +"Unbreakable":"Incassable", +"Under attack now":"Sous attaque", +"Under construction":"En construction", +"Underserved: users grow 60% faster":"Sous-desservie : +60 % de croissance des utilisateurs", +"Unhappy":"Mécontents", +"Unhappy ({n})":"Mécontents ({n})", +"Unicorn":"Licorne", +"Universities, biotech and a carrier hotel that has outlived most of its carriers.":"Universités, biotech et un carrier hotel qui a survécu à la plupart de ses opérateurs.", +"University network":"Réseau universitaire", +"Unlocks at customer level 3":"Se débloque au niveau client 3", +"Unlocks at customer level {n}.":"Se débloque au niveau client {n}.", +"Unnamed network":"Réseau sans nom", +"Unplugged optics go on the spares shelf and are used first next time.":"Les optiques débranchées vont sur l’étagère de rechange et sont utilisées en premier la fois suivante.", +"Unsubscribed":"Désabonné", +"Up the west coast of Africa. Something on it is always down.":"Remonte la côte ouest de l’Afrique. Tu répares un bout, un autre tombe.", +"Up to {g} per channel":"Jusqu’à {g} par canal", +"Up to {pn} interfaces · {ports} ports and {cap} per router":"Interfaces jusqu’à {pn} · {ports} ports et {cap} par routeur", +"Updated your PeeringDB record. Your NOC phone number is now a pizza place.":"A mis à jour votre fiche PeeringDB. Le numéro de votre NOC est maintenant celui d’une pizzeria.", +"Updates. So many updates.":"Des mises à jour. Tellement de mises à jour.", +"Upgrade all to {port} {cost} + {mo}/mo":"Tout passer en {port} {cost} + {mo}/mois", +"Upgrade fabric to {name} {cost} + {mo}/mo":"Passer au fabric {name} {cost} + {mo}/mois", +"Upgrade the IX port or add a LAG member.":"Mets à niveau le port IX ou ajoute un membre au LAG.", +"Upgrade the router or add a second one in the Infra tab.":"Mets à niveau le routeur ou ajoutes-en un second dans l’onglet Infra.", +"Upgrade to {model} {cost} + {mo}/mo":"Passer au {model} {cost} + {mo}/mois", +"Upgrade to {sys} {price}":"Passer à {sys} {price}", +"Upgrade to {tier} {cost}":"Passer à {tier} {cost}", +"Upgrade {port} {cost} + {mo}/mo":"Passer en {port} {cost} + {mo}/mois", +"Upgrade {port} {price}/mo":"Passer en {port} {price}/mois", +"Upgrade {port} {price}":"Passer en {port} {price}", +"Upstream outage":"Panne upstream", +"Upstreams":"Upstreams", +"Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.":"L’Uruguay : la fibre dans presque chaque foyer, un ordinateur portable pour chaque écolier, et un opérateur public qui gère presque tout.", +"Uruguay’s state telco. Fast, everywhere, and a little proud of it.":"L’opérateur public de l’Uruguay. Rapide, partout, et un peu fier de l’être.", +"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.", +"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.":"Les utilisateurs sentent l’aller-retour jusqu’à l’endroit où leur trafic quitte votre réseau pour le transit. Jusqu’à 20 ms (environ 1 500 km), ça va ; au-delà de 50 ms, le haut débit et les services internet comptent comme un mauvais service, ce qui coûte revenus et clients. Le trafic qui passe par votre peering, vos PNI et vos caches n’est pas pénalisé.", +"Utah’s dipping-sauce of an ISP.":"Le FAI de l’Utah, version sauce à tremper.", +"Vacuum incident":"Incident d’aspirateur", +"Vendor TAC":"TAC du constructeur", +"Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.":"Le support du constructeur t’a demandé « d’essayer d’éteindre et de rallumer ». Pour le routeur que tu avais déjà redémarré. Ticket fermé.", +"Venus":"Vénus", +"Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.":"Très connectée et mal desservie par la mer : à tout moment, au moins un de ses câbles sous-marins est coupé.", +"Very solid. Mostly.":"Très solide. Enfin, presque.", +"Vietnam’s giant. Will tell you which subsea cable is broken this week.":"Le géant du Vietnam. Te dira quel câble sous-marin est coupé cette semaine.", +"Viewport info":"Infos viewport", +"Vigilante":"Justicier", +"Virtual circuit over an NNI fabric":"Circuit virtuel sur un fabric NNI", +"Virtual circuit · {name} · {km} km":"Circuit virtuel · {name} · {km} km", +"Voice chat for millions of gamers who all talk at once.":"Chat vocal pour des millions de gamers qui parlent tous en même temps.", +"Volunteers with rooftop antennas and strong opinions about IPv6.":"Des bénévoles avec des antennes sur les toits et des avis tranchés sur IPv6.", +"Wait! Before you go…":"Attends ! Avant de partir…", +"Walk away":"Laisser tomber", +"Want to know how it really works?":"Tu veux savoir comment ça marche vraiment ?", +"Wants NetChill on-net: a cache or a PNI":"Veut NetChill on-net : un cache ou un PNI", +"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Veut un centre de scrubbing sur son continent, pour que les attaques ne traversent pas un océan", +"Wants two different transit providers (or none at all)":"Veut deux fournisseurs de transit différents (ou aucun)", +"Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})":"Veut que tu sois Tier 2, ou que tu lui envoies ≥ {need} Gbps (tu en envoies {dem})", +"Wants ≥ {need} Gbps of traffic from you (you send {dem})":"Veut ≥ {need} Gbps de trafic de ta part (tu en envoies {dem})", +"Warn when a customer gets unhappy":"Prévenir quand un client devient mécontent", +"Warsaw has more exchanges than anyone can count. This is the second biggest, this week.":"Warsaw compte plus d’IX qu’on ne peut en compter. Celui-ci est le deuxième plus grand, cette semaine.", +"Waste heat goes straight into the spa next door.":"La chaleur fatale part directement dans les thermes d’à côté.", +"Wave lease":"Location de longueur d’onde", +"Wave markets":"Marchés des longueurs d’onde", +"Waves":"Longueurs d’onde", +"Waves and fiber":"Longueurs d’onde et fibre", +"Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.":"Les longueurs d’onde se louent à tarif mensuel fixe. Plus c’est gros et long, plus c’est cher, et le sous-marin coûte 1,8×. Le premier mois est à payer tout de suite.", +"Waves goodbye to latency across the Indian Ocean.":"Fait un signe d’adieu à la latence à travers l’océan Indien.", +"Waves on the same route share its fate: one backhoe cuts them all.":"Les longueurs d’onde d’un même parcours partagent son sort : une pelleteuse les coupe toutes.", +"We noticed you are at {ix}. So are we. Shall we?":"Nous avons remarqué que vous êtes à {ix}. Nous aussi. On y va ?", +"We value our partnership too much to let a little thing like price get in the way.":"Nous tenons trop à notre partenariat pour laisser un détail comme le prix se mettre en travers.", +"Weather a DDoS with your defences ready.":"Encaisse un DDoS avec tes défenses prêtes.", +"Weather a multi-terabit DDoS.":"Encaisse un DDoS de plusieurs térabits.", +"Weekly Regular":"Habitué hebdo", +"Weekly challenge {key}":"Défi hebdo {key}", +"Weekly {key}":"Hebdo {key}", +"Weird requirements":"Exigences bizarres", +"West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up.":"Le premier grand câble d’Afrique de l’Ouest, du Portugal au Cap. Vieux et bancal, mais il tient encore tout debout.", +"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"L’opérateur historique de l’Ouest canadien. Dis-nous ce qu’il te faut, et on te dira le prix.", +"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Le prix d’une longueur d’onde dépend de là où elle passe. L’Europe est bon marché (beaucoup de fibre en concurrence), l’Amérique du Nord dans la moyenne, l’Asie et l’Amérique du Sud plus chères, et tout ce qui va vers l’Afrique coûte plusieurs fois plus. Chaque route a son prix du marché, et les nouvelles locations baissent d’environ 8 % par an, donc attendre peut payer. Le planificateur de liens t’indique comment une route se situe.", +"What others pay":"Ce que paient les autres", +"What's on this link":"Ce qui passe sur ce lien", +"What’s new in {v}":"Nouveautés de la {v}", +"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.", +"When your BGP sneezes, a small country catches a cold.":"Quand ton BGP éternue, un petit pays s’enrhume.", +"Where":"Où", +"Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.":"Là où se rejoignent le Brésil, l’Argentine et le Paraguay, à côté de chutes géantes et d’un barrage hydroélectrique encore plus grand. L’électricité est bon marché, la paperasse douanière non.", +"Where East Africa’s cables come ashore, then ride the railway up to Nairobi.":"Là où les câbles d’Afrique de l’Est touchent terre, avant de remonter par le chemin de fer jusqu’à Nairobi.", +"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Là où les câbles d’Amérique du Sud atterrissent vraiment. L’Europe, l’Afrique et les États-Unis touchent terre ici, puis empruntent un long backhaul vers le sud.", +"Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.":"Là où atterrissent les câbles atlantiques vers le sud de l’Afrique. Des manchots sur la plage, du délestage sur le réseau électrique.", +"Where the money goes":"Où passe l’argent", +"Where to meet them":"Où les trouver", +"Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.":"D’où vient le trafic de tes utilisateurs, et comment il t’arrive. Le transit est la seule partie que tu paies au gigabit ; caches, PNI et peering IX sont gratuits ou au forfait. Touche une colonne pour trier.", +"Where?":"Où ?", +"White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.":"Des maisons blanches qui grimpent depuis la Méditerranée. Les câbles partent au nord vers Marseille, et une bonne partie du trafic aussi.", +"Who your transit carries":"Qui passe par ton transit", +"Who's here":"Qui est là", +"Wholesale wave":"Longueur d’onde en gros", +"Wi-Fi on every ferry, backhaul on every bridge.":"Du Wi-Fi sur chaque ferry, du backhaul sur chaque pont.", +"Wi-Fi on minibuses, and the music is free.":"Du Wi-Fi dans les minibus, et la musique est offerte.", +"Will only sign with a network that runs a DDoS scrubbing center":"Ne signe qu’avec un réseau doté d’un centre de scrubbing DDoS", +"Will peer at {ix}: request a session":"Accepte le peering à {ix} : demande une session", +"Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.":"Fait du peering avec tout le monde, partout. Il paraît qu’il envoie des gâteaux IPv6 par la poste.", +"Win without ever taking a loan.":"Gagne sans jamais contracter de prêt.", +"Wireless internet from the top of a grain silo.":"Internet sans fil depuis le sommet d’un silo à grain.", +"Wireless links across the tundra. Antlers occasionally in the way.":"Liaisons sans fil à travers la toundra. Des bois de renne gênent parfois.", +"With":"Avec", +"With one router, the upgrade needs a maintenance window: this POP goes dark for a day.":"Avec un seul routeur, la mise à niveau exige une fenêtre de maintenance : ce POP est éteint pendant une journée.", +"With time to spare.":"Avec de la marge.", +"Works offline.":"Fonctionne hors ligne.", +"World map of your network":"Carte du monde de ton réseau", +"Write a RouteScript":"Écrire un RouteScript", +"Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.":"Écris des règles, vérifie-les sur le trafic réel, puis déploie. Un mauvais déploiement est un moyen très concret de casser ton réseau.", +"Writing a script":"Écrire un script", +"Wrote a thousand-word apology to a network you never peered with.":"A écrit mille mots d’excuses à un réseau avec qui vous n’avez jamais peeré.", +"Yee-haw and low Earth orbit.":"Yee-haw et orbite basse.", +"You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?":"Tu as déjà {n} lien ici ({list}). Les liens parallèles ajoutent de la capacité. Par où faire passer celui-ci ?", +"You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?":"Tu as déjà {n} liens ici ({list}). Les liens parallèles ajoutent de la capacité. Par où faire passer celui-ci ?", +"You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.":"Tu loues déjà de la fibre noire ici. Allume {n} canaux de plus pour {up}, puis résilie les longueurs d’onde pour économiser {price}/mois.", +"You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.":"Tu as déjà ta propre fibre ici. Allume {n} canaux de plus pour {up}, puis résilie la location pour économiser {price}/mois.", +"You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.":"Tu as aussi gagné la tombola : {cash} d’optiques, revendues sur eBuy le soir même.", +"You built a cartoon internet. Now see how the real one works:":"Tu as construit un Internet de dessin animé. Découvre maintenant comment marche le vrai :", +"You can pre-install optics now so it lights up the day it's ready.":"Tu peux déjà installer les optiques pour qu’elle s’allume le jour où elle est prête.", +"You can’t see the fabric, but it is definitely there.":"Tu ne vois pas le fabric, mais il est bien là.", +"You counter-flooded a hospital in a country you cannot pronounce.":"Tu as contre-floodé un hôpital dans un pays dont tu ne sais même pas prononcer le nom.", +"You do not lease any lines between your POPs.":"Tu ne loues aucune ligne entre tes POP.", +"You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.":"Tu t’es emmêlé les doigts dans le plan de canaux sur {a}–{b} et as allumé un nouveau canal pile par-dessus tous les autres.", +"You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.":"Tu as trouvé dans l’inventaire un lien 10G que personne n’a commandé, que personne ne paie, et qui transporte 3 Gbps de quelque chose.", +"You have {n} days.":"Tu as {n} jours.", +"You joined the outages mailing list. Today you are the outage.":"Tu t’es inscrit à la liste de diffusion outages. Aujourd’hui, la panne, c’est toi.", +"You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.":"Il te faut d’abord un port fabric dans un de tes POP. Ouvre l’onglet Infra d’un POP et achète un port sur {list}.", +"You now have a change freeze. Nobody remembers who declared it.":"Tu as maintenant un gel des changements. Personne ne se souvient de qui l’a décrété.", +"You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.":"Tu paies un plus gros réseau au Gbps et il livre ton trafic partout. Facile, couverture totale, jamais gratuit.", +"You pay for leases":"Tes locations te coûtent", +"You pay {pct} of your transit bill until {price} is repaid.":"Tu paies {pct} de ta facture de transit jusqu’à ce que {price} soit remboursé.", +"You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.":"Tu rembourses avec 30 % de ta facture de transit. Deviens transit-free et tu arrêtes de payer. Jusqu’à la fin.", +"You use {u} ports here and {r} × {model} only has {max}.":"Tu utilises {u} ports ici et {r} × {model} n’en a que {max}.", +"You're a Tier 1!":"Tu es un Tier 1 !", +"Your AS":"Ton AS", +"Your ASN now shows up in other people's traceroutes, and in their tickets.":"Ton ASN apparaît maintenant dans les traceroutes des autres, et dans leurs tickets.", +"Your CEO plays golf with our CEO every Thursday.":"Ton PDG joue au golf avec notre PDG tous les jeudis.", +"Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.":"Ton tableur d’adresses IP a atteint 1 048 576 lignes. Excel a un avis sur la question.", +"Your IPv6 traffic grew 400%. From one packet to five.":"Ton trafic IPv6 a augmenté de 400 %. D’un paquet à cinq.", +"Your IX":"Ton IX", +"Your MTU is 9000 on every link except the one that matters.":"Ton MTU est à 9000 sur tous les liens sauf celui qui compte.", +"Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.":"Ton NOC a un canal de chat nommé #c-est-toujours-la-fibre, et c’est toujours la fibre.", +"Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.":"Ton Network Operations Center. Toutes les notifications arrivent aussi ici. Sur Internet, ça casse tout le temps. Des liens redondants et plusieurs upstreams permettent au trafic de se rerouter tout seul.", +"Your POP":"Ton POP", +"Your POP · needs a fabric port there":"Ton POP · il y faut un port fabric", +"Your POPs":"Tes POP", +"Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.":"Ta ROA a expiré pendant le week-end. Tes préfixes sont RPKI-invalid et environ la moitié d’Internet les jette.", +"Your account manager has stopped replying to haggling.":"Ton commercial ne répond plus à tes tentatives de négociation.", +"Your account manager is at a conference in Dubai. And then one in Madrid.":"Ton commercial est à une conférence à Dubaï. Puis à une autre à Madrid.", +"Your account manager is hungry.":"Ton commercial a faim.", +"Your account manager would love to \"align on value\" first. Strategic call booked for next week.":"Ton commercial aimerait d’abord « s’aligner sur la valeur ». Call stratégique calé la semaine prochaine.", +"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Ton backbone ne peut en acheminer que {g} jusqu’à {city} : le reste n’est pas nettoyé", +"Your best: {best}.":"Ton record : {best}.", +"Your cable":"Ton câble", +"Your customers":"Tes clients", +"Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.":"Tes clients veulent tout Internet. Ouvre l’onglet Transit et achète un port chez un opérateur.", +"Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.":"Tes eyeballs veulent tout. Achète du transit IP à un Tier 1 ou un Tier 2 dans ta ville. Le transit te donne la table de routage complète.", +"Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.":"Ta fibre ici a de la place pour {free} canaux de plus, et transférer ces locations en demande {n}. Allume d’abord une autre paire de fibres ou mets à niveau le système de ligne.", +"Your fiber is finished: {a}–{b}":"Ta fibre est terminée : {a}–{b}", +"Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.":"Tes liens en fibre sont des longueurs d’onde louées à tarif mensuel fixe. Plus c’est long et gros, plus c’est cher (10G → 6.4T), et le sous-marin coûte 1,8× plus.", +"Your game is saved automatically.":"Ta partie est sauvegardée automatiquement.", +"Your game saves itself every few seconds on this device.":"Ta partie se sauvegarde toute seule sur cet appareil, toutes les quelques secondes.", +"Your joint venture holds an operating license.":"Ta coentreprise détient une licence d’opérateur.", +"Your last fat-fingered route leak has its own Wikipedia page.":"Ta dernière fuite de routes, causée par une faute de frappe, a sa propre page Wikipédia.", +"Your loans":"Tes prêts", +"Your maintenance window is 2 a.m. in every time zone at once.":"Ta fenêtre de maintenance est à 2 h du matin dans tous les fuseaux horaires à la fois.", +"Your mitigation is eating most of it.":"Ta mitigation en absorbe l’essentiel.", +"Your monitoring system went down. You found out because nothing alerted. Very peaceful week.":"Ta supervision est tombée. Tu l’as découvert parce que rien n’a alerté. Semaine très paisible.", +"Your network":"Ton réseau", +"Your network card":"La fiche de ton réseau", +"Your network diagram is a photo of a whiteboard.":"Ton schéma réseau est une photo de tableau blanc.", +"Your network {name} was saved and is waiting for you.":"Ton réseau {name} a été sauvegardé et t’attend.", +"Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.":"Ton ingé d’astreinte a tapé « clear bgp * » en production à {city} à 3 h du matin. Ça a bien nettoyé.", +"Your own cable: {up} up front, {mo}/mo, about {n} days to build.":"Ton propre câble : {up} d’entrée, {mo}/mois, environ {n} jours de travaux.", +"Your own fabric · {name}":"Ton propre fabric · {name}", +"Your own fiber: {up} up front, {mo}/mo, about {n} days to build.":"Ta propre fibre : {up} d’entrée, {mo}/mois, environ {n} jours de travaux.", +"Your own subsea cable Tier 1 only":"Ton propre câble sous-marin Tier 1 uniquement", +"Your own trench: almost no rent, but permits and digging take forever, and delays happen.":"Ta propre tranchée : presque pas de loyer, mais les permis et les travaux prennent une éternité, et les retards arrivent.", +"Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.":"Ton peering coordinator a mis « open to work » sur son profil. Trois Tier 1 veulent soudain discuter. Il ne s’est rien passé, mais ça fait plaisir.", +"Your personalised {port} quote for {ix}":"Ton devis personnalisé {port} pour {ix}", +"Your port light now blinks in brand colours.":"Le voyant de ton port clignote désormais aux couleurs de la marque.", +"Your price lock covers you until {date}.":"Votre blocage des prix vous couvre jusqu’au {date}.", +"Your rate is set by the stars every month. Mercury is in retrograde a lot.":"Ton taux est fixé par les astres chaque mois. Mercure est souvent rétrograde.", "Your reputation":"Votre réputation", -"Large Peering Model is answering your mail":"Large Peering Model répond à votre courrier", -"{price}/year. It never sleeps, never complains and is often wrong.":"{price}/an. Ne dort jamais, ne se plaint jamais et se trompe souvent.", -"Day {d}":"Jour {d}", -"Fire the AI":"Licencier l’IA", -"Large Peering Model":"Large Peering Model", -"An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.":"Un agent IA qui répond pour vous à chaque demande de peering et à chaque alerte max-prefix, tous les jours. {price}/an. Entraîné sur vingt ans de listes de diffusion sur le peering.", -"Hire it {mo}/mo":"L’embaucher {mo}/mois", -"Accept all requests":"Accepter toutes les demandes", -"Decline all requests":"Refuser toutes les demandes", -"Inbox zero. Enjoy it while it lasts.":"Inbox zéro. Profitez-en tant que ça dure.", -"No mail yet. Buy an IX port and it will come.":"Pas encore de courrier. Achetez un port IX, il viendra.", -"Augment ordered with {net}.
{eta}.":"Extension commandée chez {net}.
{eta}.", -"{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.":"{net} ne fait pas de PNI en {port}.
Rien en dessous de 100G. Revenez avec plus de trafic, ou une optique plus grosse.", -"PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.":"PNI avec {net} commandée.
{eta}. Un cross-connect chez {dc}, dès que quelqu’un aura retrouvé la LOA.", -"Your account manager found the order under a desk.
It is a month closer.":"Votre account manager a retrouvé la commande sous un bureau.
Elle a un mois d’avance.", -"“It is with the provisioning team.”
Nobody has ever met the provisioning team.":"« C’est chez l’équipe de provisioning. »
Personne n’a jamais rencontré l’équipe de provisioning.", -"“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.":"« Nous attendons le colo pour le cross-connect. »
Le colo dit qu’il les attend.", -"Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.":"Votre ticket a été fusionné avec un autre ticket.
Ce ticket a été fermé comme doublon du vôtre.", -"“Could you resend the LOA?”
You have sent it four times.":"« Pourriez-vous renvoyer la LOA ? »
Vous l’avez envoyée quatre fois.", -"Your account manager is on paternity leave.
His replacement is also on paternity leave.":"Votre account manager est en congé paternité.
Son remplaçant aussi.", -"Hello! I am Large Peering Model. I have read your inbox and I already have opinions.":"Bonjour ! Je suis Large Peering Model. J’ai lu votre boîte et j’ai déjà des avis.", -"Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.":"Large Peering Model est embauché.
Votre boîte, c’est son problème maintenant. {price} par an, facturés chaque mois.", -"The AI is gone.
It left a 40-page handover document. It is mostly about itself.":"L’IA est partie.
Elle a laissé un document de passation de 40 pages. Il parle surtout d’elle.", -"Large Peering Model is on it.":"Large Peering Model s’en occupe.", -"{n} session is down on its max-prefix limit.":"{n} session est coupée par sa limite max-prefix.", -"{n} sessions are down on their max-prefix limit.":"{n} sessions sont coupées par leur limite max-prefix.", +"Your rising sign":"Ton ascendant", +"Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.":"Ton routeur à {city} a planté et redémarre. Il {what}. Temps de boot de celui-ci : environ {min} minutes par tentative, et il en est à la tentative {n}.", +"Your router in {city} crashed. Kernel panic, packet panic.":"Ton routeur à {city} a planté. Kernel panic, packet panic.", +"Your router is live. Press “Launch broadband” to sell internet to the people of your city.":"Ton routeur est en ligne. Appuie sur « Lancer le haut débit » pour vendre Internet aux habitants de ta ville.", +"Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.":"Tes routeurs ici transmettent {load} sur {cap}. Du trafic est perdu. Mets à niveau ou ajoute un routeur dans l’onglet Infra.", +"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"Tes routeurs choisissent le chemin le moins coûteux. Augmente la métrique pour pousser le trafic vers d’autres chemins. « Secours seul » le laisse au repos tant que le reste fonctionne. S’applique à tous les liens entre ces deux villes.", +"Your routing table needs its own routing table.":"Ta table de routage a besoin de sa propre table de routage.", +"Your save stays safe.":"Ta sauvegarde reste à l’abri.", +"Your score: peak traffic":"Ton score : pic de trafic", +"Your score: {score}":"Ton score : {score}", +"Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.":"Ton centre de scrubbing renvoie le trafic propre dans un tunnel GRE, et personne n’a clampé le MSS. Les gros paquets vers {net} disparaissent, donc les pages chargent à moitié puis s’arrêtent.", +"Your scrubbing centers are full: {g} leaks past":"Tes centres de scrubbing sont pleins : {g} passent quand même", +"Your spares kit gets it back tomorrow.":"Ton kit de rechange le remet en route demain.", +"Your traffic crossing the border":"Ton trafic qui passe la frontière", +"Your traffic to and from Asia":"Ton trafic vers et depuis l’Asie", +"Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.":"Le support de ton upstream passe en boucle les mêmes 11 secondes de musique d’attente. Ton ingé d’astreinte sait maintenant la fredonner dans quatre tonalités.", +"Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.":"Ton câble sous-marin rien qu’à toi. Un navire le pose sur le fond marin, tu possèdes chacune de ses paires de fibres, et les longueurs d’onde de personne d’autre ne partagent ton verre. Ça coûte une somme franchement indécente et ça prend longtemps.", +"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Ton fournisseur de longueurs d’onde a poussé une seule mise à jour malformée sur son control plane optique, et elle a inondé tous les nœuds. Les {n} longueurs d’onde louées que tu as en {reg} sont éteintes. Leur page de statut affiche « dégradé ».", +"Your wave was sold before the cable owner re-engineered it, so it keeps running.":"Ta longueur d’onde a été vendue avant que le propriétaire du câble ne le réingénie, donc elle continue de tourner.", +"Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.":"Ton câble {a}–{b} a cassé au même endroit que la dernière fois. L’équipe de réparation l’a reconnu.", +"Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.":"Ton câble {a}–{b} est encore coupé. Le navire câblier ne repart même plus vraiment : il se gare juste au-dessus.", +"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é.", +"Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.":"Ta fibre {a}–{b} a cassé quelque part dans le Nullarbor. L’équipe de soudure a fait ses valises pour une semaine.", +"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"Ta fibre {a}–{b} est coupée. L’équipe de réparation a trouvé des traces de dents, une hutte et un castor très fier.", +"Your {model} here has no Flowspec TCAM":"Ton {model} ici n’a pas de TCAM Flowspec", +"Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).":"Ton {model} ici plafonne à des ports {pn}. Pour des ports plus gros, il faut mettre à niveau le routeur (onglet Infra).", +"Y{y} · {mon} {d}":"A{y} · {d} {mon}", +"Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.":"La Zambie tourne à l’hydroélectricité grâce à un seul grand lac. Les années sèches, le lac baisse, et le réseau électrique aussi.", +"Zero Peers Given":"Sans peer et sans reproche", +"Zombie route":"Route zombie", +"a botnet of 40,000 smart toasters":"un botnet de 40 000 grille-pain connectés", +"a botnet run from a cloud you also host":"un botnet qui tourne dans un cloud que tu héberges aussi", +"a crypto bro shorting your stock":"un crypto-bro qui shorte ton action", +"a few dozen ARM cores":"quelques dizaines de cœurs ARM", +"a fridge that achieved sentience and chose violence":"un frigo devenu conscient qui a choisi la violence", +"a gaming clan that lost one match":"un clan de gamers qui a perdu un match", +"a mystery ASIC":"un ASIC mystère", +"a printer. Just one printer. Nobody knows how":"une imprimante. Une seule imprimante. Personne ne sait comment", +"a rival ISP’s “stress test”":"le « stress test » d’un FAI concurrent", +"a spare fiber pair in your {a}–{b} trench":"une paire de fibre libre dans ta tranchée {a}–{b}", +"a teenager with a stolen credit card and a grudge":"un ado avec une carte bancaire volée et une rancune", +"about average":"dans la moyenne", +"about {n} days":"environ {n} jours", +"about {price}/mo":"environ {price}/mois", +"across the {ix} switch":"via le switch de {ix}", +"after loan payments":"après remboursements", +"and {n} more":"et {n} autres", +"as when you started":"comme à vos débuts", +"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"les attaques sur {city} sont acheminées vers {to} pour le scrubbing : +{ms} ms", +"auto-enrolled":"inscrit d’office", +"backup":"secours", +"blackholed {g}":"blackholé {g}", +"blackholing {g}":"{g} en blackhole", +"booted, panicked about a missing fan tray, and started again":"a démarré, a paniqué à cause d’un tiroir de ventilos manquant, et recommence", +"boots in ~{n} min":"démarre en ~{n} min", +"budget {ms} ms":"budget {ms} ms", +"building":"en construction", +"bumped":"relancé", +"caches beat PNIs":"les caches battent les PNI", +"caches, PNIs and IX":"caches, PNI et IX", +"carrying {g}":"transporte {g}", +"carrying {g} per site":"transporte {g} par site", +"challenger":"challenger", +"cheap: lots of competing fiber":"bon marché : beaucoup de fibre en concurrence", +"city":"ville", +"commit failed":"échec du commit", +"controller is off":"contrôleur éteint", +"controller off":"contrôleur désactivé", +"crashes more":"plante plus souvent", +"customers are upset":"les clients râlent", +"dark":"éteinte", +"dark fiber IRU":"IRU fibre noire", +"day {n} of {d}":"jour {n} sur {d}", +"deployed":"déployé", +"diverse":"diversifié", +"diverse route":"chemin diversifié", +"done in {d} days":"réussi en {d} jours", +"dropping or overflowing":"pertes ou débordement", +"due now {price}":"à payer maintenant {price}", +"earned before":"déjà obtenu", +"embedded cache in your rack":"cache embarqué dans ton rack", +"every unpatched baby monitor in Europe":"tous les babyphones non patchés d’Europe", +"expensive: scarce capacity":"très cher : capacité rare", +"fabric circuit":"circuit fabric", +"fiber is down":"fibre en panne", +"five nines-ish":"cinq neuf, ou presque", +"flat rate":"forfait", +"forty-two of them":"quarante-deux", +"found a newer firmware on the USB stick someone left in it, and is installing it":"a trouvé un firmware plus récent sur la clé USB que quelqu’un a oubliée dedans, et l’installe", +"free":"gratuit", +"free-zone license included":"licence zone franche incluse", +"from unhappy customers":"venant des clients mécontents", +"from {net}":"de {net}", +"from {price}/mo":"dès {price}/mois", +"getting only {p} of the bandwidth they pay for":"ne reçoivent que {p} de la bande passante qu’ils paient", +"government box included":"boîte gouvernementale incluse", +"hand-off to {net}":"passage à {net}", +"handed off as 4×1.6T":"livrée en 4×1.6T", +"handed off as 4×3.2T":"livrée en 4×3.2T", +"happiness {p}%":"satisfaction {p} %", +"has errors, not running":"contient des erreurs, à l’arrêt", +"home":"maison", +"in progress":"en cours", +"in the vault":"dans le coffre", +"in {n} days":"dans {n} jours", +"incumbent":"historique", +"is \"synchronising the routing engines\". Nobody knows what that means":"est en train de « synchroniser les routing engines ». Personne ne sait ce que ça veut dire", +"is counting to 2 million routes. Out loud. One at a time":"compte jusqu’à 2 millions de routes. À voix haute. Une par une", +"is oinking through the self-test of every PacketOinker on every line card":"fait groin-groin pendant l’autotest de chaque PacketOinker sur chaque line card", +"is running fsck on a compact flash card older than your interns":"lance un fsck sur une carte CompactFlash plus vieille que tes stagiaires", +"is waiting for the line cards to agree on who is the primary":"attend que les line cards se mettent d’accord sur qui est le primaire", +"just now":"à l’instant", +"land":"terrestre", +"last 10 minutes":"10 dernières minutes", +"leased IRU":"IRU loué", +"level {n}":"niveau {n}", +"line {n}: I don't understand “{text}”. Try: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos":"ligne {n} : je ne comprends pas « {text} ». Essaie : spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos", +"line {n}: prepend 1 to 3 times":"ligne {n} : prepend de 1 à 3 fois", +"line {n}: spill must be between 20% and 100%":"ligne {n} : spill doit être entre 20 % et 100 %", +"line {n}: {err}":"ligne {n} : {err}", +"local telecom licence included":"licence télécom locale incluse", +"merchant silicon":"merchant silicon", +"missing {what}":"élément manquant : {what}", +"needs a scrubbing center":"nécessite un centre de scrubbing", +"needs {what}":"requiert {what}", +"needs {what} at both ends":"requiert {what} aux deux bouts", +"network":"réseau", +"no 10G: {net} starts at 100G":"pas de 10G : {net} commence à 100G", +"no PNI with {list}":"pas de PNI avec {list}", +"no POP of yours on it yet":"aucun de tes POP dessus pour l’instant", +"no cable lands here":"aucun câble n’atterrit ici", +"no path":"aucun chemin", +"no path right now":"aucun chemin pour l’instant", +"no working path between these POPs":"aucun chemin fonctionnel entre ces POP", +"nobody yet":"personne pour l’instant", +"none":"aucun", +"not active":"inactif", +"not this time":"pas cette fois", +"nothing yet":"rien pour l’instant", +"of {g} wanted":"sur {g} demandés", +"offer ends in {n}d":"l’offre expire dans {n} j", +"old, cuts often":"vieux, souvent coupé", +"on order":"commandée", +"on order: {n} days":"commandée : {n} jours", +"own dark fiber":"ta fibre noire", +"paid peering":"peering payant", +"peak 1 Tbps and 6 POPs":"pic de 1 Tbps et 6 POP", +"peak 12 Tbps, 25 POPs, 5 continents":"pic de 12 Tbps, 25 POP, 5 continents", +"peak 16 Tbps and 32 POPs":"pic de 16 Tbps et 32 POP", +"peak 200 Gbps and 3 POPs":"pic de 200 Gbps et 3 POP", +"peak 21 Tbps, 40 POPs, 6 continents":"pic de 21 Tbps, 40 POP, 6 continents", +"peak 26 Tbps and 50 POPs":"pic de 26 Tbps et 50 POP", +"peak 3 Tbps, 10 POPs, 3 continents":"pic de 3 Tbps, 10 POP, 3 continents", +"peak 33 Tbps and 60 POPs":"pic de 33 Tbps et 60 POP", +"peak 40 Tbps and 70 POPs":"pic de 40 Tbps et 70 POP", +"peak 50 Tbps and 80 POPs":"pic de 50 Tbps et 80 POP", +"peak 6 Tbps, 15 POPs, 4 continents":"pic de 6 Tbps, 15 POP, 4 continents", +"peak 9 Tbps and 20 POPs":"pic de 9 Tbps et 20 POP", +"plus {pct} of revenue":"plus {pct} du chiffre d’affaires", +"plus {pct} of revenue until repaid":"plus {pct} du chiffre d’affaires jusqu’au remboursement", +"pricey: fewer carriers":"cher : peu d’opérateurs", +"private cross-connect":"cross-connect privé", +"provisioning, {n}d grace":"mise en service, {n} j de grâce", +"rate set by the stars each month":"taux fixé par les astres chaque mois", +"ready in {n}d":"prêt dans {n} j", +"remote":"distant", +"same trench":"même tranchée", +"saved by v{ver}":"sauvegardé par la v{ver}", +"score {v}":"score {v}", +"sells PNIs down to 1G":"vend des PNI dès 1G", +"serve 1.5 Tbps ({v})":"servir 1,5 Tbps ({v})", +"served {a} → {b}":"servi {a} → {b}", +"serving {v}":"dessert {v}", +"several hundred ARM cores and a prayer":"quelques centaines de cœurs ARM et une prière", +"sold out for {n} days":"épuisé pour {n} jours", +"somebody who did not like your network name":"quelqu’un qui n’aimait pas le nom de ton réseau", +"spare":"rechange", +"spare + {price}":"rechange + {price}", +"spilled {g} onto alternate paths":"débordé {g} sur des chemins alternatifs", +"split over two equally quiet paths":"réparti sur deux chemins aussi calmes l’un que l’autre", +"starting in {n}d":"commence dans {n} j", +"subsea":"sous-marin", +"ten thousand smart light bulbs, blinking in unison":"dix mille ampoules connectées qui clignotent à l’unisson", +"terrestrial":"terrestre", +"terrestrial wave":"longueur d’onde terrestre", +"the internet-connected kettles of a whole country":"les bouilloires connectées d’un pays entier", +"the rest is due at the end":"le reste est dû à la fin", +"their fiber is down":"leur fibre est coupée", +"then about {price} at once":"puis environ {price} d’un coup", +"thought for {s} seconds":"a réfléchi {s} secondes", +"tiny":"minuscule", +"today":"aujourd’hui", +"too far for this cable":"trop loin pour ce câble", +"transit {a}/mo → {b}/mo":"transit {a}/mois → {b}/mois", +"transit ${price}/Gbps":"transit ${price}/Gbps", +"transit is the last resort":"le transit est le dernier recours", +"transit provider":"fournisseur de transit", +"two nines and change":"deux neuf et des poussières", +"unknown {what} “{word}”":"{what} « {word} » introuvable", +"until {date}, at +{p}":"jusqu’au {date}, à +{p}", +"up":"actifs", +"via RS":"via RS", +"via a capacity broker":"via un courtier en capacité", +"virtual circuit via {fab}":"circuit virtuel via {fab}", +"virtual circuits and fabric customers":"circuits virtuels et clients fabric", +"weighted by what they pay":"pondérée par ce qu’ils paient", +"you buy transit again":"tu rachètes du transit", +"you cannot reach the whole internet ({p})":"tu n’atteins pas tout Internet ({p})", +"you cannot reach {list}":"tu n’atteins pas {list}", +"your exchange":"ton IX", +"your own build":"construite par toi", +"your own subsea cable {name}":"ton propre câble sous-marin {name}", +"your reach is {p}, not 100%":"ta couverture est de {p}, pas 100 %", +"{amt} from {bank} has landed.":"Les {amt} de {bank} sont arrivés.", +"{apr}% APR":"TAEG {apr} %", +"{a} and {b}":"{a} et {b}", +"{a} of {b}":"{a} sur {b}", +"{a} to {b}":"{a} → {b}", +"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.":"{a}–{b} est en panne. Même câble, nouvelle ancre. L’équipe de réparation a créé une carte de fidélité.", +"{bank} offers {amount}":"{bank} propose {amount}", +"{bw} extra for {d} days, {when} · pays {fee} when it is over":"{bw} en plus pendant {d} jours, {when} · paie {fee} à la fin", +"{cap} fabric circuit":"circuit fabric {cap}", +"{cap} on a dark fiber IRU":"{cap} sur un IRU de fibre noire", +"{cap} wave":"longueur d’onde {cap}", +"{cash} in the bank":"{cash} en banque", +"{city} has no cable landing station.":"{city} n’a pas de station d’atterrissement.", +"{city}, your router":"{city}, ton routeur", +"{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.":"{co} a démantelé ta longueur d’onde {a}–{b} parce que le ticket disait « decom » au lieu de « docs ».", +"{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.":"{co} a fait une « petite maintenance » sur la mauvaise longueur d’onde : la tienne, {a}–{b}, transporte désormais les vidéos de chats de quelqu’un d’autre.", +"{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.":"{co} s’est emmêlé les doigts sur un cross-connect et a branché ta longueur d’onde {a}–{b} sur un four à pizza.", +"{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.":"{co} a planifié la maintenance en UTC. Ton équipe l’a lue en heure locale. {a}–{b} s’est éteint en pleine heure de pointe.", +"{fabric} is having a bad day. Every virtual circuit on their fabric is down.":"{fabric} passe une mauvaise journée. Tous les circuits virtuels de son fabric sont tombés.", +"{goal} was not reached in {d} days. Keep playing this network as free play, or try again.":"Objectif non atteint en {d} jours : {goal}. Continue avec ce réseau en partie libre, ou réessaie.", +"{got}/{total} this game · {ever} ever":"{got}/{total} dans cette partie · {ever} au total", +"{g} lost":"{g} perdus", +"{g} of circuits":"{g} de circuits", +"{g} of eyeballs":"{g} d’eyeballs", +"{g} to {km} km":"{g} jusqu’à {km} km", +"{in} in · {out} out":"{in} encaissés · {out} dépensés", +"{ix} LAG":"LAG {ix}", +"{ix} LAG in {city}":"LAG {ix} à {city}", +"{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.":"{ix} est un switch partagé. Un seul port te permet de faire du peering gratuit avec tous les membres. Membres : {list}.", +"{ix} peering":"Peering {ix}", +"{ix} switch":"Switch {ix}", +"{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.":"{km} km, c’est plus qu’aucune optique ne peut éclairer, même avec le meilleur matériel sous-marin ({max} km au maximum). Les vrais câbles font escale sur une île ou à une station d’atterrissement en route : pose deux câbles plus courts.", +"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km, c’est trop loin pour tes optiques seules. Ajoute {what} pour allumer ce câble.", +"{km} km of cable carries at most {g} per carrier.":"{km} km de câble transportent au plus {g} par porteuse.", +"{km} km of seabed":"{km} km de fond marin", +"{model} level {lv}":"{model} niveau {lv}", +"{ms} ms one-way":"{ms} ms aller simple", +"{ms} ms to transit":"{ms} ms jusqu’au transit", +"{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.":"{name} (AS{asn}) est transit-free. Tu fais du peering avec tous les géants de la planète et tu ne paies personne pour atteindre Internet. Il t’a fallu {days} jours et {n} incidents.", +"{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at":"{name} (AS{asn}) : {tier}, pic à {peak}. Construis ton propre internet sur", +"{name} (hub: {site})":"{name} (hub : {site})", +"{name} and everything it owns will be deleted. This cannot be undone.":"{name} et tout ce qu’il possède seront supprimés. Impossible de revenir en arrière.", +"{name} at {site}":"{name} à {site}", +"{name} cache":"Cache {name}", +"{name} caches":"caches {name}", +"{name} circuit":"Circuit {name}", +"{name} fabric level {lv}":"Fabric {name} niveau {lv}", +"{name} glow: {n} days left":"Effet {name} : encore {n} jours", +"{name} in {city}":"{name} à {city}", +"{name} is down. Nothing you can do but wait, or have another path.":"{name} est en panne. Rien à faire à part attendre, ou avoir un autre chemin.", +"{name} knocked out power in {city}. Your POP has no generator.":"{name} a privé {city} d’électricité. Ton POP n’a pas de groupe électrogène.", +"{name} parallel link":"Lien parallèle {name}", +"{name} transit":"Transit {name}", +"{name} transit LAG in {city}":"LAG de transit {name} à {city}", +"{name} via {fab}":"{name} via {fab}", +"{name} wave":"Longueur d’onde {name}", +"{name} will be replaced. Export it from the menu first if you want to keep it.":"{name} sera remplacé. Exporte-le d’abord depuis le menu si tu veux le garder.", +"{name}: done in {d} days":"{name} : réussi en {d} jours", +"{net} accepted!":"{net} a accepté !", +"{net} carries it to {city}":"{net} l’achemine jusqu’à {city}", +"{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.":"{net} s’est emmêlé les doigts dans une route-map et a prependé ton AS {n} fois à {city}. Personne ne veut de ce chemin.", +"{net} hands it to {to}":"{net} le passe à {to}", +"{net} is having an outage in {city}. Your transit port there is dark.":"{net} subit une panne à {city}. Ton port de transit là-bas est éteint.", +"{net} is scrubbing it upstream (clean-pipe)":"{net} le nettoie en amont (clean-pipe)", +"{net} transit":"transit {net}", +"{net} transit · {lag}":"transit {net} · {lag}", +"{n} POP":"{n} POP", +"{n} POPs":"{n} POP", +"{n} amp huts":"{n} abris d’amplis", +"{n} amplifiers":"{n} amplificateurs", +"{n} box":"{n} boîtier", +"{n} boxes":"{n} boîtiers", +"{n} businesses":"{n} entreprises", +"{n} connection":"{n} connexion", +"{n} connections":"{n} connexions", +"{n} customer":"{n} client", +"{n} customer let go":"{n} client lâché", +"{n} customers":"{n} clients", +"{n} customers let go":"{n} clients lâchés", +"{n} day ago":"il y a {n} jour", +"{n} days ago":"il y a {n} jours", +"{n} days left":"encore {n} jours", +"{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.":"{n} IX se font concurrence à {city}. Les membres se recoupent, mais pas totalement, et les challengers cassent les prix de l’historique. Les petits réseaux ne sont souvent que sur l’un d’eux.", +"{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it":"{n} paires de fibre dans ta tranchée {a}–{b}. Le génie civil, c’était le plus cher, alors ils veulent tout", +"{n} fiber pairs lit, the trench is full":"{n} paires de fibres allumées, la tranchée est pleine", +"{n} furious":"{n} furieux", +"{n} in the cable, the first one lit":"{n} dans le câble, la première allumée", +"{n} in {r} regions":"{n} dans {r} régions", +"{n} incident":"{n} incident", +"{n} incidents":"{n} incidents", +"{n} link":"{n} lien", +"{n} links":"{n} liens", +"{n} lit":"{n} allumés", +"{n} loan":"{n} prêt", +"{n} loans":"{n} prêts", "{n} message waiting for an answer.":"{n} message attend une réponse.", "{n} messages waiting for an answer.":"{n} messages attendent une réponse.", -"Inbox zero.":"Inbox zéro.", -"Open inbox":"Ouvrir la boîte", -"Augment on order: {port}, about {n} days to go.":"Extension commandée : {port}, encore environ {n} jours.", -"no 10G: {net} starts at 100G":"pas de 10G : {net} commence à 100G", -"sells PNIs down to 1G":"vend des PNI dès 1G", -"on order: {n} days":"commandée : {n} jours", -"PNI lead times":"Délais des PNI", -"A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Un cross-connect avec un petit réseau prend quelques semaines. Avec les grands réseaux de contenu, les Tier 1 et les grands opérateurs d’accès, une nouvelle PNI ou une extension prend en général environ un mois, mais une commande sur sept glisse à 6 à 12 mois. Les réseaux de contenu et les Tier 1 commencent à 100G. Doitsche Telekomm vend encore du 1G.", -"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Chaque port IX amène des demandes de peering et des alertes max-prefix, dans l’onglet Réseaux. Une session qui dépasse sa limite reste coupée tant que vous n’y regardez pas : relevez la limite si c’est de la croissance, laissez-la coupée si c’est une fuite. Ignorez votre courrier et les réseaux sélectifs deviennent plus exigeants.", - "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…", -"{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.":"{p} du trafic de {city} est ramené vers le transit à {to} : {ms} ms aller-retour. Les utilisateurs le sentent au-delà de 20 ms (environ 1 500 km), et au-delà de 50 ms le haut débit et les services internet comptent comme un mauvais service. Achetez du transit ici ou à proximité, ou peerez localement.", -"Slow cities":"Villes lentes", -"Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.":"Leurs utilisateurs sortent par un transit lointain. Au-delà de 50 ms aller-retour, le haut débit et les services internet comptent comme un mauvais service.", -"{p} of its traffic · {ms} ms round trip · service {sf}":"{p} de son trafic · {ms} ms aller-retour · service {sf}", -"{ms} ms to transit":"{ms} ms jusqu’au transit", -"Backhaul latency":"Latence de backhaul", -"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.":"Les utilisateurs sentent l’aller-retour jusqu’à l’endroit où leur trafic quitte votre réseau pour le transit. Jusqu’à 20 ms (environ 1 500 km), ça va ; au-delà de 50 ms, le haut débit et les services internet comptent comme un mauvais service, ce qui coûte revenus et clients. Le trafic qui passe par votre peering, vos PNI et vos caches n’est pas pénalisé.", -"That link is gone.
It was removed or decommissioned since.":"Ce lien n’existe plus.
Il a été retiré ou décommissionné depuis.", -"That customer is gone.
The contract ended since.":"Ce client n’est plus là.
Le contrat a pris fin depuis.", +"{n} min ago":"il y a {n} min", +"{n} months":"{n} mois", +"{n} networks · {d} days left":"{n} réseaux · {d} j restants", "{n} new notification":"{n} nouvelle notification", "{n} new notifications":"{n} nouvelles notifications", -"just now":"à l’instant", -"{n} min ago":"il y a {n} min", -"Notifications":"Notifications", -"last 10 minutes":"10 dernières minutes", -"Nothing in the last 10 minutes.":"Rien ces 10 dernières minutes.", -"Show fewer":"Afficher moins", -"Show all {n}":"Tout afficher ({n})", -"Resolved: {what}
{where} is back to normal.":"Résolu : {what}
{where} est revenu à la normale.", -"Resolved: {what}":"Résolu : {what}", -"The harbour, the bridge and most of the country’s data centres. Rent is the real latency.":"Le port, le pont et la plupart des data centers du pays. La vraie latence, c’est le loyer.", -"Twenty minutes from everything, except anywhere else.":"À vingt minutes de tout, sauf de n’importe où ailleurs.", -"Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.":"Construite pour le gouvernement. Les data centers ont plus d’habilitations de sécurité que d’employés, et chaque route finit sur un rond-point.", -"The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.":"Le bas de la carte. De l’air frais, de l’hydroélectricité bon marché, et tout le détroit de Bass entre toi et le continent.", -"Singapore to Sydney via Perth, on the days it is up.":"De Singapour à Sydney via Perth, les jours où il marche.", -"Sydney to Tokyo by way of Guam, going round and round since 2001.":"De Sydney à Tokyo en passant par Guam, il tourne en rond depuis 2001.", -"Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem.":"De Sydney à Honolulu, et pas un mètre de plus. Rejoindre le continent, c’est ton problème.", -"Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich.":"De Perth à Singapour et Jakarta. Préparé frais chaque matin, et coupé plus souvent qu’un sandwich.", -"Crosses Bass Strait faster than the ferry, and gets seasick less often.":"Traverse le détroit de Bass plus vite que le ferry, et a moins souvent le mal de mer.", -"Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white.":"Sydney, Melbourne, Adélaïde et Perth par la mer, pour que tes paquets n’aient jamais à traverser le Nullarbor. Encore un coup du type qui fonde une entreprise de fibre à chaque flat white terminé.", -"Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.":"Le numéro deux de l’Australie. A un jour mis tout le pays hors ligne pendant douze heures avec une mise à jour de routine.", -"Stockpiled bandwidth in 2020 and still has a few rolls left.":"A fait des stocks de bande passante en 2020 et il lui reste encore quelques rouleaux.", -"Matching outfits, perfect harmonies, and they peer with absolutely everyone.":"Tenues assorties, harmonies parfaites, et ils font du peering avec absolument tout le monde.", -"Now you see the fibre, now you don’t.":"Tantôt tu vois la fibre, tantôt tu ne la vois plus.", -"The cheapest plan in the country. Smells like a bargain.":"Le forfait le moins cher du pays. Ça sent la bonne affaire.", -"Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.":"Connecte l’outback depuis 550 km d’altitude, puis atterrit dans un data center de Sydney comme tout le monde.", -"Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.":"Rapide de nom. Possède une part du câble vers Singapour et n’arrête pas de racheter de petits FAI.", -"Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.":"La marque low cost de Telstraya. Moins chère, plus joyeuse, et elle refuse toujours le peering avec toi.", -"Cheap broadband with the sales pitch on a permanent loop.":"De l’Internet pas cher, avec l’argumentaire commercial en boucle permanente.", -"Small, fast and always leaping to the next deal. Ribbit.":"Petit, rapide et toujours prêt à sauter sur la prochaine offre. Croâ.", -"Bought by Speedyloop, and still working out which name goes on the bill.":"Racheté par Speedyloop, et cherche encore quel nom mettre sur la facture.", -"The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.":"Le challenger d’IX Straya. Surgit au bord de chaque ville, y compris celles dont personne d’autre ne s’occupe. Un goût qui s’acquiert, comme la Vegemite.", -"Fibre to the Basement":"La fibre au sous-sol", -"Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.":"Sydney, 2013. Le Toilet Paper Group a tiré sa propre fibre jusqu’au sous-sol des immeubles, et le réseau national a crié à l’écrémage. À toi : passe outre le Nearly Broadband Network, paie la taxe et arrive le premier.", -"Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas":"Internet à domicile à Sydney, Melbourne, Brisbane, Adélaïde et Perth, et deux câbles différents vers l’étranger", -"This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.":"Cette route traverse le Nullarbor : prix ×{x}. Mille kilomètres de rien, et ce rien appartient entièrement aux opérateurs historiques.", -"Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.":"Ton câble {a}–{b} est encore coupé. Le navire câblier ne repart même plus vraiment : il se gare juste au-dessus.", -"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.":"{a}–{b} est en panne. Même câble, nouvelle ancre. L’équipe de réparation a créé une carte de fidélité.", -"A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.":"Un cacatoès à huppe jaune a rongé ta fibre {a}–{b}, puis il est revenu pour celle de secours.", -"A kangaroo hit the fiber hut on {a}–{b}. The hut lost.":"Un kangourou a percuté la cabane fibre sur {a}–{b}. La cabane a perdu.", -"Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.":"Des voleurs ont déterré ton câble {a}–{b}, persuadés que c’était du cuivre. C’était de la fibre. Ils l’ont laissé coupé dans le fossé, profondément déçus.", -"A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.":"Un kilomètre de « cuivre » a disparu de ta tranchée {a}–{b}. C’était ta fibre. Le ferrailleur l’a renvoyée avec un petit mot.", -"A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.":"Une pelleteuse qui préparait une nouvelle station-service a creusé en plein dans ta fibre {a}–{b}. D’après les plans, elle était deux mètres plus à gauche.", -"The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.":"Les émeus ont encore gagné : une bande a couché les bornes de repérage sur {a}–{b}, et une niveleuse a creusé en plein dans la fibre.", -"Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.":"Saison des feux de brousse : la fibre le long de {a}–{b} a fondu dans son fourreau. Les pompiers ont sauvé la ville, pas le fourreau.", -"Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.":"Ta fibre {a}–{b} a cassé quelque part dans le Nullarbor. L’équipe de soudure a fait ses valises pour une semaine.", -"A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.":"Une mise à jour de routine pendant la nuit a mis ton routeur de {city} hors ligne jusqu’à midi. Floptus te salue.", -"A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.":"Une araignée huntsman grande comme la main s’est installée dans le routeur de {city}. Personne n’a osé y mettre la main pour le redémarrer.", -"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.":"Canicule à 45 °C à {city} : le réseau a délesté, les groupes froids ont lâché, et le groupe électrogène de {dc} aussi.", -"A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.":"Un opossum s’est glissé dans le poste électrique derrière {dc} à {city}. L’opossum va bien. Ton POP, non.", -"It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.":"Ça passe par ta propre fibre, donc le Nearly Broadband Network ne touche rien. Le gouvernement prélève quand même une taxe de {pct}.", -"The Nearly Broadband Network keeps {pct} of it for the last mile.":"Le Nearly Broadband Network en garde {pct} pour le dernier kilomètre.", -"Broadband in {city}":"Internet à domicile à {city}", -"Cables overseas":"Câbles vers l’étranger", -"Nearly Broadband Network wholesale":"Vente en gros du Nearly Broadband Network", -"Regional broadband levy":"Taxe sur le haut débit régional", -"Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.":"Mode difficile. Tout ce qui part à l’étranger coûte une fortune, les gens d’ici paient le prix fort, surtout à la Nearly Broadband Network, et tout le reste essaie de te tuer.", -"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.":"Dans le Golfe, les POP saoudiens exigent une licence télécom locale et les données des utilisateurs saoudiens restent dans le Royaume ; les gigaprojets réclament d’énormes réseaux de démo ; et de temps en temps les voisins se brouillent et tous les liens entre le Qatar et l’Arabie saoudite ou les Émirats s’éteignent pendant des mois, alors garde une route maritime. L’Amérique du Sud est suspendue à Miami : le transit y est plus cher, rien ne traverse le Darién Gap par voie terrestre, et la fibre au-dessus des Andes coûte le double et casse souvent. IX.brrr au Brésil est géré par une association à but non lucratif aux prix publics bas, et les petits provedores brésiliens achètent du transit en gros. Aux Émirats, seul le duopole peut poser de la fibre : pas de fibre noire, et des longueurs d’onde à 3×. La Corée fonctionne en « sender pays » : le transit vers Séoul coûte environ quatre fois le prix habituel et les trois opérateurs historiques ne peerent que via des PNI payants, facturés au gigabit envoyé. Les câbles de Taïwan croisent beaucoup d’ancres, la fibre indienne croise les élargissements de routes et la mousson, et l’Afrique du Sud a ses délestages : apporte un groupe électrogène. L’Australie est loin de tout : le transit et les longueurs d’onde y coûtent plus cher que presque partout, même si les ports IX sont bon marché. Les foyers paient bien leur Internet, mais le Nearly Broadband Network garde près de la moitié de chaque facture. Les routeurs sont montés à l’envers, et tout le reste essaie de te tuer.", -"Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.":"Saison des cuboméduses à l’atterrissement {a}–{b}. Les plongeurs ont jeté un œil et sont remontés sur le bateau.", -"A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.":"Un grand requin blanc s’est intéressé à ton câble {a}–{b} et l’a mordu. Puis il l’a recraché : pas assez de goût.", -"A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.":"Un kangourou a boxé ton technicien sur {a}–{b}. Le technicien a perdu aux points, et l’épissure attendra.", -"A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.":"Un drop bear est tombé sur l’équipe d’épissure sur {a}–{b}. Ils refusent de travailler sous les arbres, et la coupure est sous les arbres.", -"An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.":"Un serpent brun de l’Est s’est installé dans la chambre de tirage sur {a}–{b}. Personne ne se porte volontaire pour réparer ta fibre.", -"Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.":"Saison des attaques de pies : les techniciens sur {a}–{b} refusent de sortir de la camionnette, et ta coupure reste coupée.", -"A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.":"Un nouveau technicien à {city} a utilisé de la Vegemite comme pâte thermique. Elle conduit le goût, pas la chaleur, et ton routeur a cuit.", -"A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.":"Un ingénieur de passage venu de Londres a apporté de la Marmite au NOC de {city}. Les relations diplomatiques ont rompu, et ton routeur aussi, pendant que tout le monde se disputait.", -"The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.":"L’orage de seize heures est passé sur BrisVegas pile à l’heure et a emporté le réseau électrique derrière {dc}. Ton POP est dans le noir avec les machines à sous.", -"Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.":"Routeur installé à {city}.
À l’envers, comme le veut la coutume ici. Les paquets n’ont pas l’air de s’en soucier.", -"Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.":"Routeur installé à {city}.
Le fournisseur l’a livré dans le bon sens, alors les techniciens du coin l’ont retourné. Ici, tout est à l’envers.", -"The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.":"La Cité-Jardin, et la plus grande ville de l’île du Sud, que les gens d’ici appellent « le Continent » sans rire. Tout ce qui part vers l’île du Nord traverse le détroit de Cook.", -"The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.":"Le bout du pays, sur des lignes électriques construites pour une fonderie d’aluminium. Quelqu’un construit un campus IA de 280 MW dans un pré à la sortie de la ville, donc les câbles vont arriver. Probablement.", -"Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t.":"Le long de la côte ouest, puis à travers le détroit de Cook jusqu’au Continent. Les ferries tanguent ; le câble, presque jamais.", -"One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen.":"Un anneau pour relier Invercargill à Sydney, Melbourne et Auckland. Il atterrit à côté d’un pré où quelqu’un construit une usine d’IA, et c’est comme ça qu’on sait que ça pourrait vraiment arriver.", -"A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.":"Un kéa a arraché les joints en caoutchouc du boîtier d’épissure sur {a}–{b}, puis s’est attaqué à la camionnette. Les kéas sont comme ça.", -"The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.":"Les mouches des sables ont chassé ton équipe d’épissure de {a}–{b}. Elle reviendra quand le vent se lèvera.", -"A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.":"La tarière à piquets d’un éleveur a trouvé ta fibre {a}–{b}. Les moutons regardaient.", -"A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.":"Un ferry a jeté l’ancre dans le détroit de Cook et a trouvé ton câble {a}–{b}. Le ferry va bien.", -"The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.":"La fonderie de Tiwai Point a tiré un peu plus fort sur le réseau, et ton POP à {city} a flanché le premier.", -"Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.":"L’Australie est devenue plus australienne.
Le transit y coûte désormais trois fois le prix habituel, seuls les opérateurs qui en vendent vraiment en Australie en vendent, et Telstraya et Floptus ne font plus que du peering privé, donc leurs sessions à l’IX sont terminées. Vérifie tes POP australiens.", -"Finish in 1 day {price}":"Terminer en 1 jour {price}", -"More crews on site.
Construction is {n} days ahead.":"Des équipes en renfort.
Les travaux ont {n} jours d’avance.", -"More crews on site.
Construction is {n} day ahead.":"Des équipes en renfort.
Les travaux ont {n} jour d’avance.", -"# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.":"# {net} : {g} via transit, mais il fait du peering sur {ix}, où tu as un POP. Prends un port là-bas.", -"{ix} LAG":"LAG {ix}", -"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.":"Un membre de {ix} a fait fuiter la table de routage complète dans le route server. Les limites max-prefix ont sauté partout. Ton peering là-bas est tombé.", -"{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.":"{net} a coupé le peering avec toi sur {ix}.
{why} Le trafic bascule sur ton meilleur chemin suivant.", -"A hyperscaler bought every wave of that size on this route last week.":"Un hyperscaler a acheté la semaine dernière toutes les ondes de cette taille sur cette route.", -"The carrier is out of spectrum here until its next line-system upgrade.":"L’opérateur n’a plus de spectre ici jusqu’à la prochaine mise à niveau du système de ligne.", -"The transponders for this route are on a container ship. The ship is somewhere near Singapore.":"Les transpondeurs pour cette route sont sur un porte-conteneurs. Le navire est quelque part près de Singapour.", -"The capacity is “available in the system”. Nobody can find it in the system.":"La capacité est « disponible dans le système ». Personne ne la trouve dans le système.", -"Their capacity planner is on holiday, and he took the spreadsheet with him.":"Leur planificateur de capacité est en vacances, et il a emporté le tableur.", -"The upgrade is planned for Q3. Which year, the email does not say.":"La mise à niveau est prévue pour le T3. De quelle année, l’e-mail ne le dit pas.", -"No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.":"Plus de capacité {wave} sur cette route pour l’instant.
{why} Essayez une onde plus petite, une autre route, ou redemandez dans {n} jours.", -"sold out for {n} days":"épuisé pour {n} jours", -"Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.":"Pénurie de lasers !
L’usine qui fabrique les lasers de la moitié des optiques du monde a été inondée. Les optiques coûtent 50 % de plus pendant {n} jours. Les pièces de rechange sur votre étagère viennent de devenir le meilleur investissement de votre vie.", -"Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.":"Pénurie de puces !
Tous les fabricants de routeurs attendent les mêmes puces. Les routeurs neufs et les mises à niveau coûtent 40 % de plus pendant {n} jours. Délai de livraison : « oui ».", -"New fiber and cable builds":"Nouvelles fibres et nouveaux câbles", -"Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.":"Tous les câbliers sont réservés.
Les hyperscalers ont loué chaque câblier et chaque équipe de tranchée de la planète. Les nouvelles fibres et les nouveaux câbles coûtent 30 % de plus pendant {n} jours.", -"Your price lock covers you until {date}.":"Votre blocage des prix vous couvre jusqu’au {date}.", -"Supply chain":"Chaîne d’approvisionnement", -"Hardware prices":"Prix du matériel", -"+{p} since you started":"+{p} depuis vos débuts", -"as when you started":"comme à vos débuts", -"Shortage":"Pénurie", +"{n} of up to {max} · {price}/mo":"{n} sur {max} max · {price}/mois", +"{n} of {max} channels lit":"{n} canaux allumés sur {max}", +"{n} of {m}":"{n} sur {m}", +"{n} peering session":"{n} session de peering", +"{n} peering sessions":"{n} sessions de peering", +"{n} ports":"{n} ports", +"{n} regen site would bring it back to {g}.":"{n} site de régénération la ramènerait à {g}.", +"{n} regen sites would bring it back to {g}.":"{n} sites de régénération la ramèneraient à {g}.", +"{n} rule live, transit bill down {p}.":"{n} règle active, facture de transit en baisse de {p}.", +"{n} rule live.":"{n} règle active.", +"{n} rules active":"règles actives : {n}", +"{n} rules live":"{n} règles actives", +"{n} rules live, transit bill down {p}.":"{n} règles actives, facture de transit en baisse de {p}.", +"{n} rules live.":"{n} règles actives.", +"{n} session is down on its max-prefix limit.":"{n} session est coupée par sa limite max-prefix.", +"{n} sessions are down on their max-prefix limit.":"{n} sessions sont coupées par leur limite max-prefix.", +"{n} shrugged off":"{n} encaissés sans broncher", +"{n} sites: {list} · {bw} per site · {price}/mo":"{n} sites : {list} · {bw} par site · {price}/mois", +"{n} small networks":"{n} petits réseaux", +"{n} sold as alien waves":"{n} vendus en alien waves", +"{n} spare on the shelf":"{n} en rechange sur l’étagère", +"{n} spares on the shelf":"{n} en rechange sur l’étagère", +"{n} special requirement":"{n} exigence spéciale", +"{n} special requirements":"{n} exigences spéciales", +"{n} unanswered":"{n} sans réponse", +"{n} unhappy customer, {price}/mo at risk":"{n} client mécontent, {price}/mois en jeu", +"{n} unhappy customers, {price}/mo at risk":"{n} clients mécontents, {price}/mois en jeu", +"{n} · optical spans of {km} km":"{n} · portées optiques de {km} km", +"{n}d left":"encore {n} j", +"{n}× 400G alien wave on your {a}–{b} fiber":"{n}× longueur d’onde alien 400G sur ta fibre {a}–{b}", +"{n}× 400G alien waves on your {a}–{b} fiber":"{n}× longueurs d’onde alien 400G sur ta fibre {a}–{b}", +"{optic} to spares":"{optic} en rechange", +"{pay}/mo for {n} months.":"{pay}/mois pendant {n} mois.", +"{pay}/mo · {n} months left · {apr}% APR":"{pay}/mois · encore {n} mois · TAEG {apr} %", +"{pct} of revenue, forever":"{pct} du CA, pour toujours", +"{pct} of your transit bill":"{pct} de ta facture de transit", +"{pct} of your transit bill · {n} months left · the rest is due at the end":"{pct} de ta facture de transit · {n} mois restants · le reste est dû à la fin", +"{pn} routers":"routeurs {pn}", +"{port} {cost} + {mo}/mo":"{port} {cost} + {mo}/mois", +"{port} port":"port {port}", +"{port} port Price on request ☎":"Port {port} Prix sur demande ☎", +"{port} port {price}/mo":"Port {port} {price}/mois", +"{port} port {price}":"Port {port} {price}", +"{port} port · {price}/mo":"Port {port} · {price}/mois", +"{price} to repay":"{price} à rembourser", +"{price} · {n} days":"{price} · {n} jours", +"{price}/mo":"{price}/mois", +"{price}/mo in extras":"{price}/mois d’extras", +"{price}/year. It never sleeps, never complains and is often wrong.":"{price}/an. Ne dort jamais, ne se plaint jamais et se trompe souvent.", +"{p} full":"plein à {p}", +"{p} of its traffic · {ms} ms round trip · service {sf}":"{p} de son trafic · {ms} ms aller-retour · service {sf}", +"{p}% of traffic":"{p} % du trafic", +"{p}% of traffic between them, scattered across exchanges. You peer with {n}.":"{p} % du trafic à eux tous, éparpillé sur les IX. Tu es en peering avec {n}.", +"{rule}, and closer exits win ties":"{rule}, et la sortie la plus proche l’emporte en cas d’égalité", +"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · {n} j restants", +"{sys} level {n}":"{sys} niveau {n}", +"{sys} is full ({max} channels).":"{sys} est plein ({max} canaux).", +"{sys} is full ({max} channels, {sold} sold to customers).":"{sys} est plein ({max} canaux, {sold} vendus à des clients).", +"{tier} scrubbing in {city} is cleaning it":"Le scrubbing {tier} à {city} le nettoie", +"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"Le scrubbing {tier} à {city} le nettoie, acheminé par ton backbone (+{ms} ms)", +"{used} / {max} in use":"{used} / {max} utilisés", +"{wave} lit!":"{wave} allumée !", "{what} +{p} · {n} days left":"{what} +{p} · encore {n} jours", -"Price lock":"Blocage des prix", -"until {date}, at +{p}":"jusqu’au {date}, à +{p}", -"Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.":"Routeurs, optiques et nouvelles constructions aux prix d’aujourd’hui pendant un an, pénuries comprises. Les droits de douane sont ceux du gouvernement, pas de votre fournisseur.", -"Lock prices for a year {cost}":"Bloquer les prix pour un an {cost}", -"Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.":"Prix bloqués jusqu’au {date}.
L’account manager de votre fournisseur est ravi. Il touche une prime pour ça.", -"Stock a spare {optic} {price}":"Stocker un {optic} de rechange {price}", -"Spares bought now are already paid for when the next shortage hits.":"Les pièces achetées maintenant sont déjà payées quand la prochaine pénurie arrive.", -"Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.":"Routeurs, optiques et nouvelles constructions coûtent plus cher avec les années, environ 4 % par an après les six premiers mois, et de temps en temps une pénurie rend l’un d’eux bien plus cher pendant un mois ou deux. Ce que vous possédez déjà garde son prix. Des pièces de rechange sur l’étagère et un blocage annuel des prix depuis l’onglet NOC amortissent le choc.", +"{where}: {lvl}. This route is right at the going rate{since}.":"{where} : {lvl}. Cette route est pile au prix du marché{since}.", +"{where}: {lvl}. This route is {p}% above the going rate{since}.":"{where} : {lvl}. Cette route est {p} % au-dessus du prix du marché{since}.", +"{where}: {lvl}. This route is {p}% below the going rate{since}.":"{where} : {lvl}. Cette route est {p} % sous le prix du marché{since}.", +"{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.":"{who} à {ix} envoyait une table complète, et la limite max-prefix était la seule chose qui la retenait. Limite relevée, les préfixes de {net} pointent vers leur cave. Le trafic vers {net} via le transit part dans un trou noir pendant quelques jours.", +"~{n} min":"~{n} min", +"~{n} min · a slow one":"~{n} min · un escargot", +"“Thanks for your interest! We don't publish prices, because every customer is unique.”":"« Merci de ton intérêt ! Nous ne publions pas nos prix, car chaque client est unique. »", +"…and {n} more change":"…et {n} autre changement", +"…and {n} more changes":"…et {n} autres changements", +"− Regen site":"− Site de régénération", +"− box":"− cache", +"− member":"− membre", +"✓ {n} rule OK":"✓ {n} règle OK", +"✓ {n} rules OK":"✓ {n} règles OK", +"🐘 BREAKING: CVE-2026-31337 IN PHP TAKES DOWN HALF THE INTERNET":"🐘 FLASH INFO : LA CVE-2026-31337 DE PHP MET LA MOITIÉ D’INTERNET À TERRE", }; diff --git a/site/i18n/it.js b/site/i18n/it.js index d8707a4..2aa6114 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -1,2933 +1,2933 @@ -// Italian. Keys are the English text exactly as passed to tr()/trn()/N_() in index.html (or as it stands -// in its data-i18n markup, aria-label or title); check with: npm run i18n:check +// Italian. Keys are the English text exactly as passed to tr()/trn()/N_() in src/ (or as it stands +// in its data-i18n markup, aria-label or title); sorted; check with: npm run i18n:check, add with scripts/i18n-add.js (window.I18N=window.I18N||{}).it={ -"The Other Building":"L’Altro Edificio", -"Campus B (the one with parking)":"Campus B (quello col parcheggio)", -"Across-the-River DC":"DC Oltre il Fiume", -"The Annex":"L’Annesso", -"Suburban Mega-shed":"Megacapannone in Periferia", -"The Cheaper One":"Quello Che Costa Meno", -"Formerly a Shopping Mall":"Ex Centro Commerciale", -"Bunker Two":"Bunker Due", -"handed off as 4×1.6T":"consegnata come 4×1.6T", -"a mystery ASIC":"un ASIC misterioso", -"Bought used on eBuy. The fans sound like a jet engine.":"Comprato usato su eBuy. Le ventole sembrano un motore a reazione.", -"merchant silicon":"merchant silicon", -"Sharp, edgy, and finally speaks 400G and 400ZR+.":"Affilato, spigoloso, e finalmente parla 400G e 400ZR+.", -"An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.":"Un bestione con porte 800G, costruito attorno al chip di forwarding Junipurr PacketOinker™. Grugnisce a line rate. Accetta ottiche 800ZR+.", -"PacketOinker² (two pigs, one chassis)":"PacketOinker² (due maiali, un solo chassis)", -"1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.":"Porte 1.6T, un microclima tutto suo e due chip PacketOinker² per line card. Accetta wave 6.4T come 4×1.6T. Serve un muletto.", -"a few dozen ARM cores":"qualche dozzina di core ARM", -"Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.":"Costa meno di un pranzo e ha il doppio delle porte del Rusty. Configurarlo richiede più tempo del pranzo.", -"Tomahack merchant silicon":"merchant silicon Tomahack", -"A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.":"Uno switch bare-metal con SONiC open source. Fa risparmiare un patrimonio, finché non crasha e non c’è nessuno da chiamare.", -"Jerry-cho deep-buffer silicon":"silicio deep-buffer Jerry-cho", -"Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.":"Config fissa, buffer profondi, barba curatissima e benda sull’occhio. Gira su EOS, l’Extensible Operating Ship. Si avvia prima che il tuo flat white al latte d’avena sia pronto, e include una shell Python che nessuno ha chiesto.", -"Jerry-cho³ deep-buffer silicon":"silicio deep-buffer Jerry-cho³", -"The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.":"Quello modulare. Novantasei porte 800G, buffer così profondi da perderci dentro una nave, e release notes solo su vinile. Arrr.", -"Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.":"Costa poco comprarlo, tanto possederlo: chiavi di licenza per ogni porta, ogni funzione e, si dice, per le ventole. Smart Licensing telefona a casa ogni settimana.", -"Fin-P network processor":"network processor Fin-P", -"Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.":"Ingegneria finlandese: indistruttibile, pignolissima, e la CLI parla solo config gerarchica. Si avvia come un’alba nordica.", -"is oinking through the self-test of every PacketOinker on every line card":"sta grugnendo attraverso il self-test di ogni PacketOinker su ogni line card", -"is running fsck on a compact flash card older than your interns":"sta facendo fsck su una compact flash più vecchia dei tuoi stagisti", -"found a newer firmware on the USB stick someone left in it, and is installing it":"ha trovato un firmware più nuovo sulla chiavetta USB che qualcuno ci ha lasciato attaccata, e lo sta installando", -"is counting to 2 million routes. Out loud. One at a time":"sta contando fino a 2 milioni di rotte. Ad alta voce. Una alla volta", -"is waiting for the line cards to agree on who is the primary":"sta aspettando che le line card si mettano d’accordo su chi è il primario", -"booted, panicked about a missing fan tray, and started again":"si è avviato, è andato in panico per un fan tray mancante, e ha ricominciato da capo", -"is \"synchronising the routing engines\". Nobody knows what that means":"sta “sincronizzando i routing engine”. Nessuno sa cosa voglia dire", -"No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).":"Nessuna porta router libera a {city}.
{u} di {m} in uso. Aggiungi un router, o passa a un modello con più porte (scheda Infra).", -"A wave here is faster than {pn}.":"Qui c’è una wave più veloce di {pn}.", -"A port here is bigger than {pn}.":"Qui c’è una porta più grande di {pn}.", -"A fibre here uses optics this model cannot take.":"Qui una fibra usa ottiche che questo modello non supporta.", -"You use {u} ports here and {r} × {model} only has {max}.":"Qui usi {u} porte e {r} × {model} ne ha solo {max}.", -"Fixed mux plus amplifiers. Up to 16 channels, no remote switching.":"Mux fisso più amplificatori. Fino a 16 canali, niente commutazione remota.", -"Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.":"C-band completa, riconfigurabile da remoto, accetta transponder long-haul. Fino a 64 canali.", -"Coherent pluggable in the router. No transponder shelf.":"Pluggable coerente direttamente nel router. Niente shelf di transponder.", -"Twice the speed, shorter reach.":"Velocità doppia, portata più corta.", -"Big shelf, big reach, big invoice.":"Shelf grande, portata grande, fattura grande.", -"Jan":"gen", -"Feb":"feb", -"Mar":"mar", -"Apr":"apr", -"May":"mag", -"Jun":"giu", -"Jul":"lug", -"Aug":"ago", -"Sep":"set", -"Oct":"ott", -"Nov":"nov", -"Dec":"dic", -"Americas":"Americhe", -"South America":"Sud America", -"Europe":"Europa", -"Africa":"Africa", -"Asia":"Asia", -"Oceania":"Oceania", -"Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.":"Interconnessione elastica, ora con pancetta. Cresciuta in una fattoria fuori BrisVegas dal tizio che fonda un’azienda di fibra ogni volta che finisce un flat white. Un circuito in 59 secondi, un grugnito in 60.", -"A whole network fabric that fits in your pocket.":"Un intero network fabric che ti sta in tasca.", -"Strong in Asia and Africa. Every circuit comes with a consolation prize.":"Forte in Asia e Africa. Ogni circuito arriva con un premio di consolazione.", -"Prefer":"Preferisci", -"Normal":"Normale", -"Avoid":"Evita", -"Backup only":"Solo backup", -"building":"in costruzione", -"dark":"spenta", -"The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.":"La capitale dei data center. Si dice che ci passi il 70% di internet, e nessuno ha controllato.", -"Cable landing hub for South America.":"Hub di approdo dei cavi per il Sud America.", -"South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.":"Il mercato più grande del Sud America, e casa di IX.brrr: gestito da una nonprofit, prezzi pubblici, e ci sono praticamente tutti.", -"On an island, so every link off it is a subsea cable.":"È su un’isola, quindi ogni link in uscita è un cavo sottomarino.", -"Europe's crossroads. Lots of networks, lots of sausages.":"Il crocevia d’Europa. Tante reti, tante salsicce.", -"Subsea cables to Africa and Asia land here.":"Qui approdano i cavi sottomarini per l’Africa e l’Asia.", -"Canada’s hub. Polite packets, long winters, free cooling.":"L’hub del Canada. Pacchetti educati, inverni lunghi, raffreddamento gratis.", -"Cheap hydro power makes it a data center favorite.":"L’energia idroelettrica a buon mercato lo rende uno dei posti preferiti per i data center.", -"Pacific cables land nearby, and everyone meets in one famous building downtown.":"I cavi del Pacifico approdano qui vicino, e tutti si incontrano in un famoso edificio in centro.", -"Huge mobile market. Most of its traffic still detours through the US.":"Enorme mercato mobile. Gran parte del suo traffico fa ancora il giro dagli USA.", -"Free cooling and geothermal power. Plenty of data centers, very few cables.":"Raffreddamento gratis ed energia geotermica. Data center a volontà, pochissimi cavi.", -"Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.":"La sede europea di ogni hyperscaler, soprattutto per motivi fiscali. La rete elettrica è nervosa.", -"Landing point for cables from the US, Iceland and the Baltic.":"Punto di approdo per i cavi da USA, Islanda e Baltico.", -"Fast fiber east and west, and one very nervous subsea cable to Germany.":"Fibra veloce verso est e verso ovest, e un cavo sottomarino molto nervoso verso la Germania.", -"Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.":"L’exchange tutto catalano. Piccolo e orgoglioso, e le reti locali non riescono proprio a resistergli.", -"Balkan peering hub with famously cheap ports.":"Hub di peering balcanico con porte notoriamente economiche.", -"Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.":"Crocevia dei cavi tra Europa, Asia e Africa. Alcune app vocali sono bloccate, e la bolletta dell’aria condizionata è leggendaria.", -"Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.":"Regole da internet sovrano: ogni POP vuole una scatola governativa nel rack, i video di Goggle sono rallentati e il firewall nazionale fa le esercitazioni.", -"Far from everything. Every packet here has a long journey home.":"Lontano da tutto. Ogni pacchetto qui ha un lungo viaggio per tornare a casa.", -"The most isolated big city on Earth. Asia is closer than Sydney.":"La grande città più isolata della Terra. L’Asia è più vicina di Sydney.", -"270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.":"270 milioni di persone su 17.000 isole. Mobile first, e affamatissime di banda.", -"Typhoons, earthquakes and a lot of very online people.":"Tifoni, terremoti e tantissima gente sempre online.", -"Startups, techno and a surprising number of data centers in old breweries.":"Startup, techno e un numero sorprendente di data center in vecchi birrifici.", -"Banks, very punctual packets, and racks inside old bank vaults.":"Banche, pacchetti puntualissimi e rack dentro vecchi caveau.", -"East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.":"L’hub dell’Africa orientale. I cavi approdano a Mombasa, e il mobile money manda avanti tutto.", -"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Quasi ogni cavo Europa–Asia attraversa l’Egitto. I pedaggi sono leggendari.", -"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Auto, ingegneri e Kehrwoche: ogni rack viene spazzato secondo turni rigorosi. Qui nessuno vende transit, c’è solo lo Spätzle-IX. Fai peering in loco o porta il tuo traffico fino a Frankfurt.", -"Asia's hub. Expensive, humid, very well connected.":"L’hub dell’Asia. Caro, umido, collegatissimo.", -"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"Cina continentale. Dietro il Great Firewall, con regole tutte sue per le reti straniere.", -"Mainland China. Enormous market, strict rules, and a famously congested border.":"Cina continentale. Mercato enorme, regole rigide e un confine notoriamente congestionato.", -"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Dove i cavi del Sud America approdano davvero. Europa, Africa e USA arrivano a riva qui, poi fanno un lungo backhaul verso sud.", -"Beaches, cable landings and a Carnival that melts traffic graphs every February.":"Spiagge, approdi di cavi e un Carnevale che fa sciogliere i grafici del traffico ogni febbraio.", -"Tango, steak and a currency that changes value while you read this.":"Tango, bistecca e una valuta che cambia valore mentre leggi.", -"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.":"La porta sul Pacifico. Le Ande stanno tra lei e tutto il resto, e ogni tanto la terra trema.", -"It almost never rains, but the sea fog keeps the racks cool.":"Non piove quasi mai, ma la nebbia marina tiene freschi i rack.", -"High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.":"In alto sulle Ande. Nessuna fibra attraversa la giungla del Darién verso Panama, quindi la strada per il nord passa sotto il mare.", -"Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.":"Ogni cavo tra le Americhe si infila qui. Nulla attraversa il Darién via terra, quindi il Sud America è sempre a un salto sottomarino di distanza.", -"An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.":"Una città enorme e sempre online, lontanissima dal mare. Ogni byte sottomarino fa un backhaul da Mumbai o Chennai.", -"India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.":"L’hub di approdo sulla costa est dell’India, con cavi per Singapore. La stagione dei cicloni è una cosa seria.", -"India’s tech capital. Packets move faster than the cars outside.":"La capitale tech dell’India. I pacchetti vanno più veloci delle auto là fuori.", -"Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.":"Ogni hyperscaler ci sta costruendo una region. Il terreno costa poco e il biryani è ottimo.", -"Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.":"Produce la maggior parte dei chip del mondo e dipende da una manciata di cavi sottomarini. Le navi continuano a trascinarci sopra le ancore “per sbaglio”.", -"The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.":"La capitale. Soldi sovrani per l’AI e data center enormi. Negli Emirati solo i due operatori con licenza possono posare fibra.", -"Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.":"Quasi tutti i cavi degli Emirati approdano su questa costa, fuori dallo Stretto di Hormuz. Andare da qui a Dubai vuol dire affittare dal duopolio.", -"Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.":"Dove approdano i cavi atlantici per il sud dell’Africa. Pinguini sulla spiaggia, distacchi programmati sulla rete elettrica.", -"Four seasons in one day, and the racks feel every one of them.":"Quattro stagioni in un giorno, e i rack le sentono tutte.", -"BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.":"BrisVegas: cielo immenso, un temporale alle quattro ogni pomeriggio d’estate, e più vicina ai cavi del Pacifico di quanto Sydney voglia ammettere. Megapork è cresciuta qui.", -"Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.":"Piccola, tropicale e la città australiana più vicina all’Asia. Qui approdano nuovi cavi per Singapore e Jakarta, accanto ai coccodrilli.", -"Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.":"Il secondo hub del Giappone, e il piano di disaster recovery di Tokyo. I terremoti raramente colpiscono entrambe.", -"Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.":"Costa meno di Singapore lì accanto. Chi costruisce data center se n’è accorto, e pure la rete elettrica.", -"Big, busy and flooded with traffic, sometimes literally.":"Grande, frenetica e allagata di traffico, a volte letteralmente.", -"Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.":"Sempre online e servita male dal mare: in qualsiasi momento almeno uno dei suoi cavi sottomarini è rotto.", -"Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.":"La porta sul mare del Pakistan. Qui approda ogni cavo, e anche ogni nuova regola del firewall.", -"Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.":"Enorme, densa e affamata. Il suo traffico internazionale passa a fatica da un paio di cavi, o arriva via terra dall’India.", -"A small island at the crossroads of every Indian Ocean cable.":"Una piccola isola all’incrocio di tutti i cavi dell’Oceano Indiano.", -"Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.":"L’hub emergente dell’Europa centrale. Più data center ogni anno e una scena ISP agguerritissima.", -"Beer is cheaper than water here, and IX ports are cheaper than both.":"Qui la birra costa meno dell’acqua, e le porte IX costano meno di entrambe.", -"The old gateway to Eastern Europe. Packets still bow politely on the way through.":"L’antica porta verso l’Europa dell’Est. I pacchetti fanno ancora un inchino educato quando passano.", -"Waste heat goes straight into the spa next door.":"Il calore di scarto finisce dritto nelle terme accanto.", -"Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.":"Banda larga domestica gigabit al prezzo di un caffè. Qui i clienti pretendono tanto per pochissimo.", -"Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.":"Tutto digitale, e-residency per chiunque, e cavi baltici su cui le navi continuano a trascinare le ancore.", -"One foot in Europe, one in Asia. Every land route between them crosses here.":"Un piede in Europa, uno in Asia. Ogni rotta terrestre tra le due passa di qui.", -"Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.":"Gli ingegneri di rete ucraini hanno tenuto in piedi internet tra blackout e cose molto peggiori. Generatori, fibra di scorta e ridondanza su tutto qui sono la norma, e la scena del peering è notoriamente tosta.", -"Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.":"L’hub dei cavi sul Mar Rosso dell’Arabia Saudita. Sempre più cavi tra Europa, Africa e Asia fanno tappa qui invece che in Egitto.", -"The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.":"La capitale, che costruisce campus AI su scala gigawatt. I dati degli utenti sauditi devono restare nel Regno, e ogni POP richiede una licenza telecom locale.", -"Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.":"Piccola, ricca e collegatissima, finché i vicini si rivolgono la parola. Il suo unico confine terrestre è con l’Arabia Saudita.", -"Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.":"La capitale digitale d’Italia. Traffico da fashion week, un NOC a base di espresso e più exchange di quanti te ne aspetteresti.", -"All roads lead to Rome. Most packets still go via Milan.":"Tutte le strade portano a Roma. Quasi tutti i pacchetti però passano da Milan.", -"A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.":"Una piccola città su un grande crocevia. I cavi da Asia, Africa e Medio Oriente approdano qui per evitare il giro lungo.", -"Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.":"La nuova porta atlantica d’Europa. I cavi per Brasile, Africa e USA approdano più giù lungo la costa, a Sines.", -"Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.":"Città antica, cavi nuovi di zecca. La Grecia vuole diventare l’hub di approdo del Mediterraneo orientale.", -"The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.":"Il carrier hotel del Sud-Est. L’aeroporto più trafficato, il peering più trafficato a sud di Ashburn.", -"A mile up and halfway between the coasts, so every cross-country route stops here for a breather.":"Un miglio d’altitudine e a metà strada tra le due coste, quindi ogni rotta coast-to-coast si ferma qui a riprendere fiato.", -"Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.":"Terreno economico, energia economica ed estati a 48 °C. Gli hyperscaler la adorano. I chiller no.", -"Universities, biotech and a carrier hotel that has outlived most of its carriers.":"Università, biotech e un carrier hotel che è sopravvissuto alla maggior parte dei suoi carrier.", -"Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.":"Petrolio, gas e uragani. I generatori qui sono dimensionati per una settimana, e ce n’è stato bisogno.", -"Cheap power, dry air and a surprising number of very quiet data centers.":"Energia economica, aria secca e un numero sorprendente di data center molto silenziosi.", -"Hits the high notes across the Atlantic. Huge capacity, cheap waves.":"Prende le note alte attraverso l’Atlantico. Capacità enorme, wave economiche.", -"Hops from New York to the UK and Spain.":"Saltella da New York al Regno Unito e alla Spagna.", -"Nobody remembers who it is named after.":"Nessuno si ricorda a chi è dedicato.", -"A friendly cable with French manners.":"Un cavo amichevole con le buone maniere francesi.", -"The straightest line across the Atlantic. Traders pay double to save a few milliseconds.":"La linea più dritta attraverso l’Atlantico. I trader pagano il doppio per risparmiare qualche millisecondo.", -"Laid last century. Cuts often, costs more, still somehow running.":"Posato il secolo scorso. Si taglia spesso, costa di più, eppure in qualche modo funziona ancora.", -"Brazil straight to Iberia, skipping the US entirely.":"Dal Brasile dritto alla penisola iberica, saltando del tutto gli USA.", -"South Atlantic, cool and confident.":"Atlantico del Sud, fresco e sicuro di sé.", -"Discovered the Atlantic again. Old, pricey and fragile.":"Ha riscoperto l’Atlantico. Vecchio, caro e fragile.", -"All the way around Africa and back. Cheapest capacity on the map.":"Tutto intorno all’Africa e ritorno. La capacità più economica della mappa.", -"Always agrees with you. Iberia to West Africa.":"Ti dà sempre ragione. Dalla penisola iberica all’Africa occidentale.", -"Sixth in a long-running series. Europe to India to Singapore.":"Sesto di una lunga saga. Europa, India, Singapore.", -"Marseille to Singapore, then it leaves the party.":"Da Marseille a Singapore, poi lascia la festa.", -"Asia, Africa, Europe, and one more thing.":"Asia, Africa, Europa, e un’ultima cosa.", -"The pretty way around East Asia.":"Il giro panoramico dell’Asia orientale.", -"Named after a planet, behaves like one: big and far away.":"Porta il nome di un pianeta, e si comporta come tale: grande e lontano.", -"Its predecessor was FASTER. Marketing had a good day.":"Il suo predecessore era FASTER. Il marketing ha avuto una bella giornata.", -"Crosses the Pacific, mildly annoyed about it.":"Attraversa il Pacifico, vagamente seccato.", -"Lighter on paperwork than its namesake. Still heavy on paperwork.":"Meno scartoffie del suo omonimo. Comunque pieno di scartoffie.", -"Old Pacific workhorse. Everyone hopes it holds.":"Vecchio mulo da soma del Pacifico. Tutti sperano che regga.", -"Quick Pacific crossing with a stop for snacks.":"Traversata veloce del Pacifico con una sosta per gli snack.", -"Singapore to Sydney via Perth, on the days it is up.":"Da Singapore a Sydney passando per Perth, nei giorni in cui funziona.", -"A bet on a tiny island in the middle of the Pacific.":"Una scommessa su un’isoletta in mezzo al Pacifico.", -"Perth to the Gulf across the Indian Ocean. Oh man, it is long.":"Da Perth al Golfo attraverso l’Oceano Indiano. Oh man, quant’è lungo.", -"Sydney to Auckland with plenty to spare.":"Da Sydney ad Auckland, con capacità d’avanzo.", -"A rainbow bridge from Singapore to California, via Jakarta and Manila.":"Un ponte arcobaleno da Singapore alla California, via Jakarta e Manila.", -"Southeast Asia to Japan, with snacks.":"Dal Sud-Est asiatico al Giappone, con snack.", -"Iceland’s lifeline to Scotland. Lonely but determined.":"L’ancora di salvezza dell’Islanda verso la Scozia. Solitario ma determinato.", -"Iceland to Denmark, choreographed.":"Dall’Islanda alla Danimarca, con coreografia.", -"Hops via Greenland. Polar bears included.":"Fa tappa in Groenlandia. Orsi polari inclusi.", -"Iceland to Ireland, brand new and still smells like plastic.":"Dall’Islanda all’Irlanda, nuovo di zecca e sa ancora di plastica.", -"New York to Ireland: the tech-tax express.":"Da New York all’Irlanda: l’espresso dell’ottimizzazione fiscale.", -"Danish for “sea fun”. Probably.":"In danese vuol dire “divertimento marino”. Probabilmente.", -"Dublin to London across the Irish Sea.":"Da Dublin a London attraverso il Mare d’Irlanda.", -"Dubai to Mumbai. Hits hard.":"Da Dubai a Mumbai. Colpisce duro.", -"A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable.":"Un gateway dall’Europa all’India, attraverso il Mar Rosso. Si pronuncia come un cavo molto sorpreso.", -"Helsinki to Germany under the Baltic. Anchors keep finding it.":"Da Helsinki alla Germania sotto il Baltico. Le ancore continuano a trovarlo.", -"Short hop across the North Sea. An odyssey it is not.":"Breve salto attraverso il Mare del Nord. Un’odissea non è.", -"London to Paris under the Channel. Cheaper than the train.":"Da London a Paris sotto la Manica. Costa meno del treno.", -"Across the Mediterranean, Egypt to France. Romantic, in a cable way.":"Attraverso il Mediterraneo, dall’Egitto alla Francia. Romantico, a modo suo da cavo.", -"East Africa up to Europe via the Red Sea. Lemon squeezy.":"Dall’Africa orientale fino all’Europa via Mar Rosso. Facile facile.", -"Kenya to the Gulf. Makes the dream work.":"Dal Kenya al Golfo. L’unione fa la forza.", -"Brazil to Florida. The invoice arrives just as fast.":"Dal Brasile alla Florida. La fattura arriva altrettanto veloce.", -"Straight from São Paulo to New York, skipping the Miami hairpin.":"Dritto da São Paulo a New York, saltando il tornante di Miami.", -"An old ring around the whole continent, the long way round Cape Horn.":"Un vecchio anello attorno a tutto il continente, con il giro lungo da Capo Horn.", -"Los Angeles to Chile, with a small detour for Panama.":"Da Los Angeles al Cile, con una piccola deviazione per Panama.", -"Hops the Caribbean so Bogotá can skip the jungle.":"Salta i Caraibi così Bogotá può evitare la giungla.", -"Named after a wine. São Paulo to Buenos Aires, past Uruguay.":"Porta il nome di un vino. Da São Paulo a Buenos Aires, passando dall’Uruguay.", -"The first cable from South America to Oceania. 14,000 km of very lonely glass.":"Il primo cavo dal Sud America all’Oceania. 14.000 km di vetro molto solitario.", -"Up the west coast of Africa. Something on it is always down.":"Risale la costa ovest dell’Africa. C’è sempre qualcosa giù.", -"An old cable from Cape Town round to India, via some very small islands.":"Un vecchio cavo da Cape Town fino all’India, passando per isole piccolissime.", -"Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore.":"Da Fujairah a Mumbai, attorno alla punta dell’India fino a Chennai, poi avanti fino a Singapore.", -"Chennai to Singapore, looking it straight in the eye.":"Da Chennai a Singapore, guardandola dritto negli occhi.", -"A short cable across a very tense strait.":"Un cavo corto attraverso uno stretto molto teso.", -"Leaves the Gulf from Fujairah and runs up the Red Sea to Europe.":"Lascia il Golfo da Fujairah e risale il Mar Rosso fino all’Europa.", -"An Asia–America gateway cable that breaks so often it has its own support group.":"Un cavo gateway Asia–America che si rompe così spesso da avere un suo gruppo di supporto.", -"Darwin to Singapore via Jakarta. Survival of the fittest packets.":"Da Darwin a Singapore via Jakarta. Sopravvivono solo i pacchetti più adatti.", -"Brisbane to Tokyo with a beach break in Guam.":"Da Brisbane a Tokyo con una pausa in spiaggia a Guam.", -"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.":"La generazione precedente. Porta ancora quasi tutto il traffico di Pakistan, Sri Lanka e Bangladesh, tenuto insieme dalla speranza.", -"Short hops under the Baltic Sea. Every passing ship seems to find it.":"Brevi salti sotto il Mar Baltico. Ogni nave di passaggio sembra trovarlo.", -"Istanbul to Bucharest's coast across the Black Sea.":"Da Istanbul alla costa di Bucharest attraverso il Mar Nero.", -"North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen.":"Mulo da soma del Mare del Nord da London ad Amsterdam. Coppie di dark fiber in vendita a dozzine.", -"Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone.":"Da Lisbona a Barcellona e Marsiglia lungo la costa. Se guardi dritto il grafico della latenza, diventa di pietra.", -"Another London–Amsterdam route. Everyone has one, so prices are low.":"Un’altra rotta London–Amsterdam. Ce l’hanno tutti, quindi i prezzi sono bassi.", -"Brand new, cheap, and it lands right next to your racks.":"Nuovo di zecca, economico, e approda proprio accanto ai tuoi rack.", -"India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way.":"India, Medio Oriente ed Europa occidentale, tutto su un cavo. Lungo la strada fa tappa al Cairo.", -"New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore.":"I nuovi cavi approdano sempre più spesso a Jeddah invece che in Egitto. Questo punta verso India e Singapore.", -"A quick hop across the Red Sea between Egypt and Saudi Arabia.":"Un salto veloce attraverso il Mar Rosso tra Egitto e Arabia Saudita.", -"Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed.":"Collega Doha al resto del Golfo, via mare, il che torna utile quando il confine terrestre è chiuso.", -"Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one.":"Dal Portogallo al Sud-Est degli USA via Bermuda. In portoghese vuol dire nuvola, e il proprietario è proprio un cloud.", -"Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting.":"Da Genova alla Sicilia e poi fino ad Athens, posato da un gigante della ricerca stufo di affittare.", -"Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily.":"Da Palermo a Marseille e Alessandria. Ogni scorciatoia Europa–Asia vuole una tappa in Sicilia.", -"Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!":"Da Athens ad Alessandria, e su per i Dardanelli fino a Istanbul. Opa!", -"Boston to Dublin. Nobody has thrown it into the harbour yet.":"Da Boston a Dublin. Nessuno l’ha ancora buttato nel porto.", -"Grew from a seedling into a global backbone. Leaves no route behind.":"Cresciuto da germoglio a backbone globale. Non perde mai una rotta, né una foglia.", -"Huge in Asia. \"Which telecom?\" \"Not that one.\"":"Enorme in Asia. “Quale telecom?” “Non quella.”", -"Nordic backbone that tells you exactly where your packets went.":"Backbone nordico che ti dice esattamente dove sono finiti i tuoi pacchetti.", -"Cheapest transit on the map. Famously gentle, except during peering spats.":"Il transit più economico della mappa. Famoso per la sua gentilezza, tranne durante le liti di peering.", -"Waves goodbye to latency across the Indian Ocean.":"Manda una wave d’addio alla latenza attraverso l’Oceano Indiano.", -"Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.":"Fa peering con chiunque, ovunque. Si dice spedisca torte IPv6 per posta.", -"Juicy reach into Europe and Africa.":"Una copertura succosa in Europa e Africa.", -"Sings your packets across Asia-Pacific.":"Canta i tuoi pacchetti attraverso l’Asia-Pacifico.", -"Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.":"Ha chiuso il peering gratuito in tutta Europa e l’ha passato a Inter.Clink, il suo “partner di interconnessione”, che ti venderà volentieri una connessione diretta. Solo peering a pagamento, su una PNI. Driin driin, è la fattura.", -"The biggest network in China. Its CN-Too premium route skips the congested border, for a price.":"La rete più grande della Cina. Il suo percorso premium CN-Too evita il confine congestionato, a caro prezzo.", -"Number two in China, with a horn for every backbone.":"Il numero due in Cina, con un corno per ogni backbone.", -"The largest mobile network on Earth. Paid peering only.":"La rete mobile più grande della Terra. Solo peering a pagamento.", -"Huge eyeball network. Come for the broadband, stay because there is no other choice.":"Enorme rete eyeball. Vieni per la banda larga, resti perché non c’è alternativa.", -"Pink eyeball giant. Peering is available... for a monthly fee.":"Gigante eyeball rosa. Il peering è disponibile... con un canone mensile.", -"Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.":"Fa streaming del 40% del traffico serale. Regala cache se gli mandi abbastanza eyeball.", -"Search, video and goggles. Mostly goggles.":"Ricerca, video e occhialini. Soprattutto occhialini.", -"Social media. Everyone keeps falling for it.":"Social media. Tutti continuano a cascarci.", -"The original CDN. Maybe it is already in your rack.":"La CDN originale. Forse è già nel tuo rack.", -"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protegge mezzo web dalle orde di bot. Il Rackstar Partner Program (RPP) ti mette una cache nel rack quando gli mandi abbastanza traffico.", -"The cloud. It's just someone else's Ashburn.":"Il cloud. È solo l’Ashburn di qualcun altro.", -"Updates. So many updates.":"Aggiornamenti. Tantissimi aggiornamenti.", -"Short videos, very long traffic graphs.":"Video brevi, grafici del traffico lunghissimi.", -"An edge cloud that is, despite the name, quite fast.":"Un edge cloud che, nonostante il nome, è piuttosto veloce.", -"Chat, games and payments. Every message costs ten cents.":"Chat, giochi e pagamenti. Ogni messaggio costa dieci centesimi.", -"Shopping festivals that melt traffic graphs.":"Festival dello shopping che fanno sciogliere i grafici del traffico.", -"Search, maps and a cheerful goodbye.":"Ricerca, mappe e un allegro arrivederci.", -"The national carrier. Every punchline is pre-approved.":"Il carrier nazionale. Ogni battuta è pre-approvata.", -"Search, taxis and maps. Slightly sleepy.":"Ricerca, taxi e mappe. Un po’ assonnato.", -"Social network with perfect vision.":"Social network dalla vista perfetta.", -"Charges a lot. Paid peering only, and the name says it all.":"Si fa pagare un sacco. Solo peering a pagamento, e il nome dice tutto.", -"Mexico’s giant. Paid peering only, and the pricing is a mess.":"Il gigante del Messico. Solo peering a pagamento, e il listino è un casino.", -"Polite, enormous, and sorry about the bill.":"Educato, enorme, e si scusa per la bolletta.", -"Indonesia’s mobile giant. Every packet poses for a photo first.":"Il gigante mobile dell’Indonesia. Ogni pacchetto prima si mette in posa per una foto.", -"Philippine giant. Peering requests are reviewed over a cup of tea.":"Gigante filippino. Le richieste di peering vengono valutate davanti a una tazza di tè.", -"New Zealand’s shiniest ISP.":"L’ISP più scintillante della Nuova Zelanda.", -"Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.":"Il colosso australiano. G’day, fanno nove dollari al megabit. Pardon, al gigabit.", -"Kenya’s mobile giant. Pays you in M-Pesos.":"Il gigante mobile del Kenya. Ti paga in M-Pesos.", -"Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.":"Possiede l’attraversamento terrestre di cui ha bisogno ogni cavo del Mar Rosso. Riscuote pedaggi come un faraone.", -"The big regional carrier. Sees everything clearly, especially your invoice.":"Il grande carrier regionale. Vede tutto con chiarezza, soprattutto la tua fattura.", -"Brazil’s mobile giant. Very much alive.":"Il gigante mobile del Brasile. Vivo e vegeto.", -"Ships parcels and packets, both overnight.":"Spedisce pacchi e pacchetti, entrambi in 24 ore.", -"Gave a billion people cheap data. Knows exactly where every one of them is.":"Ha dato dati a buon mercato a un miliardo di persone. Sa esattamente dove si trova ognuna di loro.", -"India’s other giant. Every outage comes with a story.":"L’altro gigante dell’India. Ogni disservizio ha la sua storia da raccontare.", -"Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.":"L’incumbent di Taiwan. Resta calmo mentre le navi trascinano le ancore sui suoi cavi.", -"The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.":"L’altra metà del duopolio degli Emirati. Fa quello che fa Etis-a-lot, ma di un altro colore.", -"Japanese carrier that builds everything itself. Even the cable ships.":"Carrier giapponese che si costruisce tutto da sé. Perfino le navi posacavi.", -"Thailand’s mobile giant. Its coverage maps are mostly true.":"Il gigante mobile della Thailandia. Le sue mappe di copertura sono per lo più vere.", -"Vietnam’s giant. Will tell you which subsea cable is broken this week.":"Il gigante del Vietnam. Ti dirà quale cavo sottomarino è rotto questa settimana.", -"Pakistan’s incumbent. Every session comes with a firewall rule.":"L’incumbent del Pakistan. Ogni sessione arriva con una regola del firewall.", -"Malaysia’s incumbent. In no hurry whatsoever.":"L’incumbent della Malesia. Non ha alcuna fretta.", -"Bridges Europe and Asia, and occasionally your BGP table.":"Unisce Europa e Asia, e ogni tanto pure la tua tabella BGP.", -"Gigabit to every flat for the price of a coffee. Peers with anyone.":"Gigabit in ogni appartamento al prezzo di un caffè. Fa peering con chiunque.", -"Cable broadband across Central Europe. See you later, in a support queue.":"Banda larga via cavo in tutta l’Europa centrale. Ci vediamo dopo, in coda all’assistenza.", -"Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.":"La più grande rete mobile dell’Ucraina. Ha continuato a funzionare attraverso cose che la maggior parte delle reti non deve mai mettere in conto.", -"The Kingdom’s incumbent. Once you are in, you stay in.":"L’incumbent del Regno. Una volta dentro, ci resti.", -"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"Il grande operatore del Qatar. Solo peering a pagamento, e ti canta il listino prezzi.", -"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"L’incumbent d’Italia. Dolce fuori, rigidissimo sui rapporti di peering.", -"Fiber to the Italian home, with a website from 2003.":"Fibra nelle case italiane, con un sito web del 2003.", -"Portugal’s incumbent. Purrs when you send it traffic.":"L’incumbent del Portogallo. Fa le fusa quando gli mandi traffico.", -"Peers with anyone, and wants to know everything about your routes.":"Fa peering con chiunque, e vuole sapere tutto delle tue rotte.", -"Greece’s incumbent. Takes careful notes on every peering request.":"L’incumbent della Grecia. Prende appunti accurati su ogni richiesta di peering.", -"Cable broadband for half of America. Haunts your traceroutes.":"Banda larga via cavo per mezza America. Infesta i tuoi traceroute.", -"Can you hear me now? Only if you pay for the PNI.":"Mi senti adesso? Solo se paghi la PNI.", -"A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.":"Un exchange commerciale più piccolo, in fondo alla strada rispetto a DE-KICKS. Pubblica i suoi prezzi su una pagina web, cosa che DE-KICKS considera un atto di guerra. Le porte arrivano senza webinar commerciale.", -"A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.":"Un exchange comunitario gestito sopra un bar del sidro. Minuscolo, economico, e ogni membro riceve un bicchiere.", -"One fabric across the whole country. Distributed, cheap and a little smug about it.":"Un unico fabric per tutto il paese. Distribuito, economico e un po’ compiaciuto.", -"Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.":"Peering settlement-free con radici frisone. Le porte 10G e 100G non costano nulla. Porta un ASN e la passione per i route server. La maionese si paga a parte.", -"Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.":"Di proprietà dei membri e senza scopo di lucro. Più piccolo di LYNX, ma all’assemblea annuale ci sono i biscotti.", -"The challenger. Fresh every morning, a bit crusty by the evening.":"Lo sfidante. Fresco ogni mattina, un po’ raffermo la sera.", -"The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.":"Lo storico exchange di Madrid. Interconnessione neutrale, sapore locale e un route server che non fa mai la siesta.", -"Opens at six, comes with free snacks, closes when the last session drops.":"Apre alle sei, con stuzzichini gratis, chiude quando cade l’ultima sessione.", -"Run by hackers on caffeine. The route server has a disco ball.":"Gestito da hacker a base di caffeina. Il route server ha una palla da discoteca.", -"Warsaw has more exchanges than anyone can count. This is the second biggest, this week.":"Warsaw ha più exchange di quanti se ne possano contare. Questo è il secondo più grande, questa settimana.", -"Open-faced, cheap and available at 3 a.m.":"A faccia aperta, economico e disponibile alle 3 di notte.", -"Dense, filling and very cheap.":"Denso, sostanzioso e molto economico.", -"Grilled ports, served with mustard and a cold beer.":"Porte alla griglia, servite con senape e una birra fresca.", -"Every session comes with a coffee break. Strictly enforced.":"Ogni sessione include una pausa caffè. Obbligatoria.", -"Layered, resilient and somehow always open.":"A strati, resiliente e chissà come sempre aperto.", -"A community exchange in a Hudson Street basement. Schmear not included.":"Un exchange comunitario nel seminterrato di Hudson Street. Schmear non incluso.", -"Takes forever to set up, but very filling.":"Ci vuole una vita a configurarlo, ma sazia parecchio.", -"Started in somebody’s garage, like everything else round here.":"Nato nel garage di qualcuno, come tutto il resto da queste parti.", -"You can’t see the fabric, but it is definitely there.":"Il fabric non lo vedi, ma c’è di sicuro.", -"Strong, sweet and cheaper than the incumbent.":"Forte, dolce e più economico dell’incumbent.", -"Lots of small sessions on little plates.":"Tante piccole sessioni su piattini.", -"Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.":"Tokyo ha più exchange di quanti chiunque riesca a nominarne. Questo l’ha fondato un colosso della banda larga ed è confezionato con cura, ogni membro nel suo scomparto.", -"The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.":"La sfidante di IX Straya. Spunta ai margini di ogni città, comprese quelle di cui non si cura nessun altro. Un gusto da acquisire, come la Vegemite.", -"The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.":"Il più vecchio exchange di Johannesburg, gestito dall’associazione degli ISP locali. Tocca ferro prima di ogni finestra di manutenzione.", -"Mumbai’s street-food exchange. Fast, spicy and cheap.":"L’exchange street food di Mumbai. Veloce, piccante ed economico.", -"The challenger to the DE-KICKS fabric, wrapped and ready to go.":"Lo sfidante del fabric DE-KICKS, avvolto e pronto da portar via.", -"Three servers, one dehumidifier and a very patient grandmother.":"Tre server, un deumidificatore e una nonna molto paziente.", -"Powered by renewable rodents. Uptime depends on snack schedule.":"Alimentato da roditori rinnovabili. L’uptime dipende dall’orario degli snack.", -"A fiber co-op for one valley. Every member owns a metre of cable.":"Una cooperativa in fibra per una sola valle. Ogni socio possiede un metro di cavo.", -"An ISP run from the back of a kebab shop. Late-night support is excellent.":"Un ISP gestito dal retro di un kebabbaro. L’assistenza notturna è eccellente.", -"Volunteers with rooftop antennas and strong opinions about IPv6.":"Volontari con antenne sui tetti e opinioni forti sull’IPv6.", -"Dug the trench themselves, one field at a time.":"Lo scavo l’hanno fatto da soli, un campo alla volta.", -"Hosts exactly one website and three lawyers.":"Ospita esattamente un sito web e tre avvocati.", -"Packets leave on time, to the second.":"I pacchetti partono puntuali, al secondo.", -"Game servers, energy drinks and a ping obsession.":"Server di gioco, energy drink e un’ossessione per il ping.", -"Racks in the nave, cooling in the crypt. Divine uptime.":"Rack nella navata, raffreddamento nella cripta. Uptime divino.", -"Wireless internet from the top of a grain silo.":"Internet wireless dalla cima di un silo del grano.", -"Rural fiber that follows the tractor routes.":"Fibra rurale che segue i percorsi dei trattori.", -"Has served the lake since 1912. Now with fiber.":"Serve il lago dal 1912. Ora con la fibra.", -"Hosting for surfboard shops. Closed when the waves are good.":"Hosting per negozi di tavole da surf. Chiuso quando le onde sono buone.", -"Fiber strung along the chairlifts. Seasonal latency.":"Fibra tesa lungo le seggiovie. Latenza stagionale.", -"Covers a lot of empty ground.":"Copre un sacco di terreno vuoto.", -"Ten thousand GPUs and a podcast.":"Diecimila GPU e un podcast.", -"Has had a /8 since before you were born.":"Ha un /8 da prima che tu nascessi.", -"Family-run since dial-up. Still answers the phone.":"A conduzione familiare dai tempi del dial-up. Risponde ancora al telefono.", -"Yee-haw and low Earth orbit.":"Yee-haw e orbita bassa terrestre.", -"Utah’s dipping-sauce of an ISP.":"La salsina da intingere degli ISP dello Utah.", -"Servers cooled by the lake, then used to heat the sauna.":"Server raffreddati dal lago, poi usati per scaldare la sauna.", -"Wireless links across the tundra. Antlers occasionally in the way.":"Link wireless attraverso la tundra. Ogni tanto ci si mettono in mezzo le corna.", -"Cheap, filling hosting. Ask for the potato-and-cheese plan.":"Hosting economico e sostanzioso. Chiedi il piano patate e formaggio.", -"Kept the lights on in its town through every blackout.":"Ha tenuto le luci accese nella sua città durante ogni blackout.", -"Fiber laid under the tram tracks during a night shift.":"Fibra posata sotto i binari del tram durante un turno di notte.", -"Spicy pricing, mild latency.":"Prezzi piccanti, latenza delicata.", -"Only comes online at night.":"Va online solo di notte.", -"Wi-Fi on every ferry, backhaul on every bridge.":"Wi-Fi su ogni traghetto, backhaul su ogni ponte.", -"Started in Venice. Upgraded to land.":"Nato a Venezia. Poi è passato alla terraferma.", -"Hosting for every family restaurant in the south.":"Hosting per ogni trattoria di famiglia del Sud.", -"Slow on the hills, fast on the flat.":"Lento in salita, veloce in pianura.", -"Rural broadband for the islands, one olive tree at a time.":"Banda larga rurale per le isole, un ulivo alla volta.", -"Down from 2 to 5 p.m. every day. By design.":"Giù dalle 14 alle 17 ogni giorno. Per scelta progettuale.", -"A rich mix of everything the fishermen brought in.":"Un ricco mix di tutto quello che hanno portato i pescatori.", -"Delivered fresh every morning.":"Consegnato fresco ogni mattina.", -"Founded after a pub quiz, by the losing team.":"Fondato dopo un pub quiz, dalla squadra che ha perso.", -"Internet cafe turned ISP. The gamers came for the ping.":"Internet café diventato ISP. I gamer sono venuti per il ping.", -"Wi-Fi on minibuses, and the music is free.":"Wi-Fi sui minibus, e la musica è gratis.", -"Has more batteries than customers.":"Ha più batterie che clienti.", -"Three-hour films, zero-second start times.":"Film di tre ore, avvio in zero secondi.", -"Cheap, fast and open late.":"Economico, veloce e aperto fino a tardi.", -"Lyrics servers, low latency, high pitch.":"Server di testi delle canzoni, latenza bassa, tonalità alta.", -"Comes alive after dark.":"Si anima dopo il tramonto.", -"Packets hop. Sometimes backwards.":"I pacchetti saltellano. A volte all’indietro.", -"Cosy racks under a hill. Second breakfast at 11.":"Rack accoglienti sotto una collina. Seconda colazione alle 11.", -"Gets along with every other network. Famously chill.":"Va d’accordo con ogni altra rete. Famoso per la sua calma.", -"Mountain wireless. Will spit at bad routes.":"Wireless di montagna. Sputa sulle rotte sbagliate.", -"Gold-plated servers, valet parking for packets.":"Server placcati d’oro, parcheggiatore per i pacchetti.", -"It takes two to peer.":"Per il peering bisogna essere in due.", -"Crispy on the outside, cheap on the inside.":"Croccante fuori, economico dentro.", -"Colourful, crowded and gets you there eventually.":"Colorato, affollato e prima o poi ti porta a destinazione.", -"Hosts every game you play at 2 a.m. Hates jitter.":"Ospita ogni gioco a cui giochi alle 2 di notte. Odia il jitter.", -"Voice chat for millions of gamers who all talk at once.":"Chat vocale per milioni di gamer che parlano tutti insieme.", -"A thousand tiny social networks on one rack.":"Mille minuscoli social network su un solo rack.", -"Fiber laid along the bike lanes. Fastest in the rain.":"Fibra posata lungo le piste ciclabili. Più veloce sotto la pioggia.", -"Bunny suits mandatory in the server room.":"Tuta da camera bianca obbligatoria nella sala server.", -"Runs the village network between call-outs.":"Gestisce la rete del paese tra un intervento e l’altro.", -"Sweet, fuzzy and surprisingly reliable.":"Dolce, vellutato e sorprendentemente affidabile.", -"Thick, comforting and very New England.":"Denso, confortante e molto New England.", -"Tier 1":"Tier 1", -"Tier 2":"Tier 2", -"CDN / content":"CDN / contenuti", -"Eyeballs":"Eyeball", -"Enterprise DIA":"DIA aziendale", -"Game servers":"Server di gioco", -"Hosting":"Hosting", -"Downstream ISP (buys transit)":"ISP downstream (compra transit)", -"L2VPN circuit":"Circuito L2VPN", -"Streaming startup":"Startup di streaming", -"University network":"Rete universitaria", -"AI GPU data center":"Data center GPU per l’AI", -"Cloud on-ramp":"On-ramp cloud", -"AI training interconnect":"Interconnessione per training AI", -"Hyperscaler DCI":"DCI hyperscaler", -"High-frequency trading link":"Link per trader HFT", -"Bulk backup transfer (latency does not matter)":"Backup massivo (la latenza non conta)", -"Event network":"Rete per eventi", -"SD-WAN for a chain":"SD-WAN per una catena", -"Wholesale wave":"Wave all’ingrosso", -"Dark fiber pair lease":"Affitto coppia di dark fiber", -"DDoS protection + DIA":"Protezione DDoS + DIA", -"AI WAN between two AI factories":"AI WAN tra due fabbriche di AI", -"Multi-site training run":"Training multi-sito", -"Dataset ingest (elephant flow)":"Ingest di dataset (elephant flow)", -"Hundreds of fiber pairs":"Centinaia di coppie in fibra", -"Provedor (small regional ISP)":"Provedor (piccolo ISP regionale)", -"Local ISP":"ISP locale", -"Start here":"Si parte da qui", -"Enterprises, game servers, hosting, L2VPNs and DDoS protection.":"Aziende, server di gioco, hosting, L2VPN e protezione DDoS.", -"Regional player":"Operatore regionale", -"peak 200 Gbps and 3 POPs":"picco di 200 Gbps e 3 POP", -"Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.":"ISP downstream, startup di streaming e università. Hardware: router Edge Lord 400, affitto di dark fiber, DWDM Rainbow-in-a-Box, ottiche Ackackia 400ZR+.", -"Serious backbone":"Backbone serio", -"peak 1 Tbps and 6 POPs":"picco di 1 Tbps e 6 POP", -"AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.":"Data center GPU per l’AI e on-ramp cloud. Hardware: router Chonk 800, ottiche Sizzle 800ZR+, line system ROADMaster 9000, posa della tua fibra.", -"Big league":"Serie A", -"peak 3 Tbps, 10 POPs, 3 continents":"picco di 3 Tbps, 10 POP, 3 continenti", -"AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.":"Interconnessioni per training AI e contratti DCI con hyperscaler da terabit. Hardware: router Absolute Unit 1.6T, transponder Sienna WaveMagic 1.6T.", -"Light up your first customers":"Accendi i tuoi primi clienti", -"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.":"Apri la tua città di partenza e premi “Lancia la banda larga”. Gli eyeball sono persone a casa che guardano video di gatti. Ti pagano ogni mese.", -"Reach the whole internet":"Raggiungi tutta internet", -"Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.":"I tuoi eyeball vogliono tutto. Compra IP transit da un Tier 1 o un Tier 2 nella tua città. Il transit ti dà la tabella di routing completa.", -"Join an Internet Exchange":"Entra in un Internet Exchange", -"Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.":"Prendi una porta su un IX: un grande switch condiviso dove le reti si scambiano traffico gratis invece di pagare il transit.", -"Make 5 peering friends":"Fatti 5 amici di peering", -"On the Peering tab, request sessions, or join the route server to peer with every open network at once.":"Nella scheda Peering richiedi delle sessioni, oppure entra nel route server per fare peering con tutte le reti open in un colpo solo.", -"Lay your first fiber":"Posa la tua prima fibra", -"Drag from your pink router to another city. Short hops are cheap. Oceans are not.":"Trascina dal tuo router rosa a un’altra città. I salti corti costano poco. Gli oceani no.", -"Sign a business customer":"Firma un cliente business", -"Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.":"Le aziende compaiono con una bolla $. Ti serve un POP nella loro città. Guarda la scheda Offerte.", -"Survive a failure":"Sopravvivi a un guasto", -"Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.":"Le cose si rompono di continuo. Costruisci un secondo percorso o un secondo upstream, così il traffico si reinstrada quando qualcosa muore.", -"Host an embedded cache":"Ospita una cache embedded", -"Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.":"Le grandi CDN ti regalano server di cache quando gli mandi abbastanza traffico. Banda gratis, basta aggiungere corrente.", -"Set up a PNI":"Attiva un PNI", -"A private cross-connect to one network in the same data center, for when traffic outgrows the IX.":"Un cross-connect privato verso una rete nello stesso data center, per quando il traffico è troppo per l’IX.", -"Go global":"Diventa globale", -"Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.":"Abbi POP su 3 continenti. I cavi sottomarini costano una fortuna, quindi pianifica il percorso.", -"Become a Tier 2":"Diventa un Tier 2", -"5+ POPs, ports on 3+ IXs and 15+ peering sessions.":"5+ POP, porte su 3+ IX e 15+ sessioni di peering.", -"Serve 1 Tbps":"Servi 1 Tbps", -"A terabit per second of happy traffic.":"Un terabit al secondo di traffico felice.", -"Light your own dark fiber":"Accendi la tua dark fiber", -"Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.":"Affitta o scava dark fiber, mettici sopra un sistema DWDM e accendi un canale. Costa meno per bit delle wave, quando funziona.", -"Be in two buildings at once":"Stai in due edifici insieme", -"Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.":"Aggiungi un secondo sito in una metro dalla scheda Infra, così un blackout non spegne più tutta la città.", -"Five continents":"Cinque continenti", -"POPs in five of the six regions on the map.":"POP in cinque delle sei regioni della mappa.", -"Sign a giant":"Firma un gigante", -"Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.":"Porta a casa una AI WAN, un training multi-sito o un contratto di coppie in fibra con un hyperscaler. Servono il livello cliente 4 e un POP vicino al loro campus.", -"Serve 10 Tbps":"Servi 10 Tbps", -"Ten terabits per second of happy traffic. The giants will notice.":"Dieci terabit al secondo di traffico felice. I giganti se ne accorgeranno.", -"Go transit-free: Tier 1!":"Liberati dal transit: Tier 1!", -"Only lends to people who do not need it.":"Presta soldi solo a chi non ne ha bisogno.", -"Very solid. Mostly.":"Solidissima. Più o meno.", -"Lends you money and also a little bit of their own.":"Ti presta soldi, e ogni tanto pure un po’ dei suoi.", -"Nervous, but enthusiastic.":"Nervosa, ma entusiasta.", -"Opened three accounts for you while you read this.":"Ti ha aperto tre conti mentre leggevi questa frase.", -"Cheap, patient, and very particular about Stuttgart.":"Economica, paziente e fissata con Stuttgart.", -"Instant approval. Instant regret.":"Approvazione istantanea. Pentimento istantaneo.", -"Cheap state money for connecting the underserved. Bring a pen.":"Soldi pubblici a buon mercato per connettere chi è rimasto indietro. Porta una penna.", -"Pays out in TubeCoin. Value may vary. A lot.":"Paga in TubeCoin. Il valore può variare. Parecchio.", -"No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.":"Niente rate, mai. Solo una fetta dei tuoi ricavi, per sempre, e un sacco di opinioni.", -"Always open. Ask no questions. Do not be late.":"Sempre aperti. Niente domande. Non fare tardi.", -"Keep your peering ratio above 30%. The bank read a blog post about peering.":"Tieni la quota di peering sopra il 30%. La banca ha letto un post sul peering.", -"Keep POPs on at least 2 continents. Diversification!":"Tieni POP su almeno 2 continenti. Diversificazione!", -"Your CEO plays golf with our CEO every Thursday.":"Il tuo CEO gioca a golf con il nostro CEO ogni giovedì.", -"No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.":"Niente transit Cogentle, da nessuna parte. Il nostro CEO è stato de-peerato una volta e non si è mai ripreso.", -"Every POP needs a backup generator. Our risk team saw one disaster movie.":"Ogni POP deve avere un generatore di backup. Il nostro risk team ha visto un film catastrofico.", -"Send us your monthly report by fax.":"Mandaci il report mensile via fax.", -"Deliver at least 95% of what your customers want.":"Consegna almeno il 95% di quello che vogliono i tuoi clienti.", -"Our logo goes on every router you own.":"Il nostro logo va su ogni router che possiedi.", -"Never let cash drop below $50k. It makes us sweat.":"Non far mai scendere la cassa sotto i $50k. Ci fa sudare.", -"Stay out of mainland China. Compliance said so.":"Stai fuori dalla Cina continentale. L’ha detto la compliance.", -"No new subsea links while this loan runs. We are afraid of sharks.":"Niente nuovi link sottomarini finché dura il prestito. Abbiamo paura degli squali.", -"Peer at the Spätzle-IX in Stuttgart. Local money for local packets.":"Fai peering allo Spätzle-IX di Stuttgart. Soldi locali per pacchetti locali.", -"Do the Kehrwoche: keep your NOC free of incidents older than a week.":"Fai la Kehrwoche: tieni il NOC libero da incidenti più vecchi di una settimana.", -"Download our app and enable all notifications.":"Scarica la nostra app e attiva tutte le notifiche.", -"Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).":"Offri banda larga domestica in una zona poco servita (Asia, Africa, Oceania o Sud America).", -"Fill in form T-17b in triplicate, every month, forever.":"Compila il modulo T-17b in triplice copia, ogni mese, per sempre.", -"Never sell your TubeCoin. Diamond hands.":"Non vendere mai i tuoi TubeCoin. Mani di diamante.", -"Open a new POP at least every 90 days. Blitzscale or die.":"Apri un nuovo POP almeno ogni 90 giorni. Blitzscale o muori.", -"{bank} would like to lend you {amount}.":"{bank} vorrebbe prestarti {amount}.", -"They heard you might be in a spot of bother.":"Hanno sentito che potresti essere un po’ nei guai.", -"Terms apply. Several terms.":"Si applicano condizioni. Parecchie condizioni.", -"Open bank":"Apri la banca", -"{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.":"{bank} non è contenta.
Hai violato una condizione del prestito: {cond} Rimedia entro 10 giorni o paghi una penale.", -"{bank} are circling.
They now take {pct} of your revenue.":"{bank} ti girano intorno.
Ora si prendono il {pct} dei tuoi ricavi.", -"Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.":"Penale da {bank}: {fee}
Aggiunta al tuo debito. La rata mensile ora è {pay}.", -"Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.":"Prestito di {bank} estinto!
Ti hanno mandato un cesto di frutta. Sono quasi tutte banane.", -"Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} \"as a reminder\".":"Due signori molto grossi di Loan Shark Telecom Finance hanno staccato il tuo router a {city} “come promemoria”.", -"The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.":"Lo strozzino ti ha mandato un promemoria.
Il tuo POP a {city} resta spento fino a domani.", -"Only Spätzle-IX":"Solo Spätzle-IX", -"Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.":"Parti da Stuttgart, dove nessuno vende transit. Raggiungi internet solo con peering, PNI, cache e la tua fibra. Niente transit, da nessuna parte, mai.", -"Red Sea Crisis":"Crisi nel Mar Rosso", -"Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.":"Ogni cavo nel Mar Rosso è tagliato, e anche il salto verso l’Egitto. Fai parlare Marseille con Singapore lo stesso: girando intorno all’Africa, via terra o dall’altra parte del pianeta.", -"The Cogentle Spat":"La lite Cogentle", -"Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.":"Cogentle e Goggle non si parlano, e stavolta è per sempre. Compra il transit economico, se hai il coraggio.", -"99% reach and 150 Gbps served":"99% di copertura e 150 Gbps serviti", -"Carnaval":"Carnevale", -"Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.":"Rio da zero. Il Carnaval comincia tra 90 giorni e vuole 400 Gbps per cinque giorni di fila. Il mondo intero sta guardando.", -"Deliver Carnaval in full":"Servi il Carnaval per intero", -"Mind the Gap":"Occhio al Gap", -"Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.":"Parti da Panama City. Niente attraversa il Darién Gap via terra, e le Ande sono d’intralcio a tutto il resto.", -"POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served":"POP a Bogotá, Lima, Santiago e São Paulo, e 150 Gbps serviti", -"Anchors Away":"Ancora tu?", -"Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.":"Tallinn. Le navi trascinano le ancore sui cavi del Baltico tre volte più spesso del solito.", -"90 days in a row with 99.5% of demand served":"90 giorni di fila con il 99.5% della domanda servita", -"Transit costs 30% more":"Il transit costa il 30% in più", -"Twice the failures":"Guasti raddoppiati", -"Start with only $100k":"Parti con soli $100k", -"Eyeballs grow 50% faster":"Gli eyeball crescono il 50% più in fretta", -"Every IX is run by DE-KICKS":"Ogni IX è gestito da DE-KICKS", -"Shark season: subsea cuts twice as likely":"Stagione degli squali: tagli sottomarini due volte più probabili", -"Weekly challenge {key}":"Sfida settimanale {key}", -"Serve as much traffic as you can in one year.":"Servi più traffico che puoi in un anno.", -"You have {n} days.":"Hai {n} giorni.", -"Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.":"Modalità sandbox
Un miliardo di dollari, tutto sbloccato e non si rompe mai niente. Costruisci l’internet che hai sempre sognato.", -"Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.":"Benvenuto, {name}!
Il RIPE NCC ti ha assegnato l’AS{asn}. Il tuo primo router ronza già a {city}.", -"{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.":"{conf} arriva a {city} tra 30 giorni.
Peering coordinator, chiacchiere nei corridoi, adesivi gratis. Iscriviti dalla scheda Offerte.", -"Show me":"Fammi vedere", -"You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.":"Hai pure vinto alla lotteria: {cash} di ottiche, rivendute su eBuy la sera stessa.", -"Someone from Goggle bought you a beer. You did not get their name, only a sticker.":"Qualcuno di Goggle ti ha offerto una birra. Non hai capito il nome, solo un adesivo.", -"{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.":"{conf} a {city}
Hai stretto un sacco di mani. Per {n} giorni, alle reti selective presenti in {region} basta metà del solito traffico per fare peering.", -"Conferences":"Conferenze", -"{name} glow: {n} days left":"Effetto {name}: ancora {n} giorni", -"Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.":"Alle reti selective in {region} basta metà del solito traffico per fare peering. È il momento di chiedere quel PNI.", -"Today":"Oggi", -"in {n} days":"tra {n} giorni", -"Registered":"Iscritto", -"Registration closed":"Iscrizioni chiuse", -"Attend {cost}":"Partecipa {cost}", -"Your router is live. Press “Launch broadband” to sell internet to the people of your city.":"Il tuo router è acceso. Premi “Lancia la banda larga” per vendere internet alla gente della tua città.", -"Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.":"I tuoi clienti vogliono tutta internet. Apri la scheda Transit e compra una porta da un carrier.", -"Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.":"Il transit si paga a gigabit. Il peering è gratis: apri la scheda Peering, compra una porta IX, poi entra nel route server.", -"Start the clock with 1× and watch traffic and money flow. You can pause any time.":"Fai partire il tempo con 1× e guarda scorrere traffico e soldi. Puoi mettere in pausa quando vuoi.", -"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.":"Cresci: trascina dal tuo router rosa su una città vicina per posare fibra e aprire un secondo POP.", -"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.":"Le aziende spuntano come bolle $ sulla mappa. Apri Offerte e firma il tuo primo cliente.", -"You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.":"Ora sai le basi.
Da qui in poi ci pensano gli obiettivi a sinistra. Le cose si romperanno. È quello il bello.", -"Step {n} of {total}":"Passo {n} di {total}", -"Skip tutorial":"Salta il tutorial", -"{name} cache":"Cache {name}", -"{ix} peering":"Peering {ix}", -"{name} transit":"Transit {name}", -"{city}, your router":"{city}, il tuo router", -"own dark fiber":"la tua dark fiber", -"fabric circuit":"circuito fabric", -"terrestrial wave":"wave terrestre", -"no working path between these POPs":"nessun percorso funzionante tra questi POP", -"No path: every route between these cities is down or missing.":"Nessun percorso: ogni strada tra queste città è giù o non esiste.", -"Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link. L’Auto-TE può spostare l’eccesso altrove quando è pieno.", -"Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link. L’Auto-TE può spostare l’eccesso altrove quando è pieno.", -"Internal path over {n} link, chosen by distance and link metrics.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link.", -"Internal path over {n} links, chosen by distance and link metrics.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link.", -"!N network unreachable":"!N rete irraggiungibile", -"Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.":"Niente sulla tua rete raggiunge {net}: nessun transit, sessione IX, PNI o cache con un percorso funzionante da {city}.", -"hand-off to {net}":"passaggio a {net}", -"{net} carries it to {city}":"{net} lo porta fino a {city}", -"{net} hands it to {to}":"{net} lo passa a {to}", -"across the {ix} switch":"attraverso lo switch di {ix}", -"private cross-connect":"cross-connect privato", -"embedded cache in your rack":"cache embedded nel tuo rack", -"caches beat PNIs":"le cache battono i PNI", -"PNIs beat IX peering":"i PNI battono il peering IX", -"IX peering beats transit":"il peering IX batte il transit", -"transit is the last resort":"il transit è l’ultima spiaggia", -"Crossing the Great Firewall here loses about {p}% of packets.":"Attraversare il Great Firewall qui fa perdere circa il {p}% dei pacchetti.", -"Exit: {exit} in {city}.":"Uscita: {exit} a {city}.", -"{rule}, and closer exits win ties":"{rule}, e a parità vince l’uscita più vicina", -"; this one is set to {mode}":"; questa è impostata su {mode}", -"It is full, so some traffic overflows to the next exit.":"È piena, quindi parte del traffico trabocca sull’uscita successiva.", -"Looking glass":"Looking glass", -"Traceroute":"Traceroute", -"Close":"Chiudi", -"From":"Da", -"To":"A", -"Networks":"Reti", -"Your POPs":"I tuoi POP", -"Run":"Esegui", -"AS path: {path}":"AS path: {path}", -"Copy":"Copia", -"Sandbox":"Sandbox", -"Peak traffic":"Picco di traffico", -"Peered":"In peering", -"POPs":"POP", -"{n} in {r} regions":"{n} in {r} regioni", -"Links":"Link", -"Customers":"Clienti", -"Incidents survived":"Incidenti superati", -"Shark bites":"Morsi di squalo", -"Badges":"Badge", -"Weekly {key}":"Settimanale {key}", -"score {v}":"punteggio {v}", -"not this time":"non stavolta", -"in progress":"in corso", -"Build the internet, one tube at a time":"Costruisci internet, un tubo alla volta", -"Your browser cannot draw the card.":"Il tuo browser non riesce a disegnare la card.", -"Share":"Condividi", -"Your network card":"La card della tua rete", -"Stats card for {name}":"Card con le statistiche di {name}", -"Share…":"Condividi…", -"Download PNG":"Scarica PNG", -"Post it wherever your peering friends hang out.":"Pubblicala dove si ritrovano i tuoi amici del peering.", -"Your score: {score}":"Il tuo punteggio: {score}", -"Peak traffic served in one year. Your best this week is {best}.":"Picco di traffico servito in un anno. Il tuo record di questa settimana è {best}.", -"Peak traffic served in one year. A new personal best for this week!.":"Picco di traffico servito in un anno. Nuovo record personale per questa settimana!", -"Peak traffic served in one year.":"Picco di traffico servito in un anno.", -"Share my result":"Condividi il risultato", -"Keep playing":"Continua a giocare", -"Scenario complete":"Scenario completato", -"{name}: done in {d} days":"{name}: fatto in {d} giorni", -"With time to spare.":"Con tempo da vendere.", -"Just in time.":"Appena in tempo.", -"More scenarios":"Altri scenari", -"Scenario over":"Scenario finito", -"Time's up":"Tempo scaduto", -"{goal} was not reached in {d} days. Keep playing this network as free play, or try again.":"Obiettivo non raggiunto in {d} giorni: {goal}. Continua a giocare questa rete in modalità libera, o riprova.", -"Try again":"Riprova", -"Scenarios":"Scenari", -"Pick a challenge":"Scegli una sfida", -"Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.":"Si parte da {city} · {mods} · un anno, punteggio = picco di traffico. Lo stesso mondo per tutti, questa settimana.", -"Your best: {best}.":"Il tuo record: {best}.", -"Play":"Gioca", -"done in {d} days":"fatto in {d} giorni", -"Goal: {goal} · Time: {d} days · start in {city}":"Obiettivo: {goal} · Tempo: {d} giorni · si parte da {city}", -"Y{y} · {mon} {d}":"A{y} · {d} {mon}", -"{port} port":"porta {port}", -"POPs on 3+ continents":"POP in 3+ continenti", -"10+ POPs ({n})":"10+ POP ({n})", -"serve 1.5 Tbps ({v})":"servire 1,5 Tbps ({v})", -"20+ peering sessions ({n})":"20+ sessioni di peering ({n})", -"Only peers over PNIs in this metro. Order a cross-connect instead.":"In questa metro fa peering solo via PNI. Ordina un cross-connect.", -"Their IX port here is full until the next upgrade. They promise it is soon.":"La loro porta sull’IX qui è piena fino al prossimo upgrade. Giurano che sarà presto.", -"Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.":"In questa città hanno spostato tutto su PNI. Leggi la loro pagina PearingDB, tutte e 40 le pagine.", -"The peering coordinator for this city is on a six-month sabbatical.":"Il loro peering coordinator per questa città è in sabbatico per sei mesi.", -"Their policy here says \"IX peering by invitation only\". You were not invited.":"La loro policy qui dice “IX peering solo su invito”. Tu non sei stato invitato.", -"Not accepting new peers in this region right now.":"Per ora non accettano nuovi peer in questa regione.", -"Region frozen while they renegotiate with the local incumbent.":"Regione congelata mentre rinegoziano con l’incumbent locale.", -"Their routers in this city are \"at capacity\". They are not.":"I loro router in questa città sono “al limite della capacità”. Non lo sono.", -"Already reach you through your transit provider here and think that is fine.":"Ti raggiungono già tramite il tuo provider di transit qui, e per loro va bene così.", -"Their lawyers are reviewing every peering agreement in this country. Again.":"I loro avvocati stanno riesaminando ogni accordo di peering in questo paese. Di nuovo.", -"A new VP wants to \"monetise interconnection\" in this market.":"Un nuovo VP vuole “monetizzare l’interconnessione” in questo mercato.", -"Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.":"Il remote peering è l’ultima spiaggia. Le porte arrivano tramite un rivenditore a 1,5× il prezzo, solo l’80% della porta è davvero tuo, la latenza viaggia sul fabric, un solo disservizio del fabric fa cadere tutte le sessioni e molte reti selettive rifiutano i membri remoti. Meglio un POP qui.", -"Policy: no remote peers. Be in the building or be in the transit bill.":"Policy: niente peer remoti. O sei nell’edificio, o sei nella bolletta del transit.", -"Saw your session come in over a fabric and said \"we can smell the VXC from here\".":"Hanno visto arrivare la tua sessione da un fabric e hanno detto “sentiamo puzza di VXC da qui”.", -"Only peers with members they can reach without a 1,500 km hairpin.":"Fanno peering solo con membri raggiungibili senza un hairpin di 1.500 km.", -"Their PearingDB entry says \"Remote peering: No (we mean it)\".":"La loro scheda PearingDB dice “Remote peering: No (e lo diciamo sul serio)”.", -"Tried a remote peer once. It flapped during a product launch. Never again.":"Hanno provato un peer remoto, una volta. Ha flappato durante il lancio di un prodotto. Mai più.", -"{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about \"the value of premium interconnection\". Prices unchanged.":"{rival} sta rubando membri a DE-KICKS a {city}.
DE-KICKS ha risposto con un webinar sul “valore dell’interconnessione premium”. Prezzi invariati.", -"Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.":"Guerra dei prezzi a {city}!
{ix} ha tagliato del 10% i prezzi delle porte per non farsi scappare i membri verso {rival}. La tua fattura si è appena alleggerita.", -"Like blackholing, but with a Plus.":"Come il blackholing, ma con un Plus.", -"The same route server, in a gold-coloured portal.":"Lo stesso route server, in un portale color oro.", -"Your port light now blinks in brand colours.":"La spia della tua porta ora lampeggia nei colori del brand.", -"A monthly PDF of your own traffic graphs.":"Un PDF mensile con i grafici del tuo stesso traffico.", -"Makes your port \"ready\" for a product you did not buy.":"Rende la tua porta “pronta” per un prodotto che non hai comprato.", -"A fee for being ready for the cloud.":"Una tariffa per essere pronti per il cloud.", -"Your account manager is hungry.":"Il tuo account manager ha fame.", -"Your account manager would love to \"align on value\" first. Strategic call booked for next week.":"Il tuo account manager vorrebbe prima “allinearsi sul valore”. Call strategica fissata per la settimana prossima.", -"Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.":"I prezzi li rivede il Global Commercial Council, che si riunisce alla prossima luna piena.", -"They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.":"Ti hanno mandato un NDA di 14 pagine prima di poterti anche solo ripetere il prezzo. Gli avvocati stimano una settimana.", -"Your account manager is at a conference in Dubai. And then one in Madrid.":"Il tuo account manager è a una conferenza a Dubai. E poi a una a Madrid.", -"DE-KICKS Group · Sales":"DE-KICKS Group · Vendite", -"Your personalised {port} quote for {ix}":"Il tuo preventivo personalizzato {port} per {ix}", -"“Thanks for your interest! We don't publish prices, because every customer is unique.”":"“Grazie per l’interesse! Non pubblichiamo i prezzi, perché ogni cliente è unico.”", -"Monthly price, just for you":"Prezzo mensile, solo per te", -"{price}/mo":"{price}/mese", -"List price":"Prezzo di listino", -"Confidential":"Riservato", -"What others pay":"Quanto pagano gli altri", -"Covered by NDA":"Coperto da NDA", -"Quotes go up with how big you look.":"Il preventivo cresce con quanto sembri grande.", -"Your account manager has stopped replying to haggling.":"Il tuo account manager ha smesso di rispondere alle trattative.", -"Haggles left: {n}.":"Trattative rimaste: {n}.", -"Sign {price}/mo":"Firma {price}/mese", -"Haggle":"Tratta", -"Walk away":"Lascia perdere", -"Your {ix} promo ended.
Price is back, plus 10% for \"loyalty programme administration\".":"La tua promo su {ix} è finita.
Il prezzo torna quello di prima, più un 10% per “amministrazione del programma fedeltà”.", -"DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.":"DE-KICKS ha armonizzato i prezzi.
Armonizzato vuol dire più alto: {ix} ora costa il {p}% in più. Grazie per la tua continua partnership.", -"Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.":"Buone notizie! Sei stato iscritto a {addon}.
{blurb} {price}/mese, aggiunti alla tua fattura di {ix}. Puoi disdire quando vuoi nel pannello dell’IX.", -"🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.":"🐘 ULTIM’ORA: CVE-2026-31337 ha appena buttato giù mezza internet.
Un bug in PHP ha trasformato ogni sito WordPress-qualcosa sulla Terra in un miner di criptovalute. Il traffico eyeball cala del 30% per qualche giorno mentre il mondo applica le patch. I tuoi clienti hosting lo stanno facendo alle 3 di notte.", -"They will reconsider in {n} day.":"Ci ripenseranno tra {n} giorno.", -"They will reconsider in {n} days.":"Ci ripenseranno tra {n} giorni.", -"Wants ≥ {need} Gbps of traffic from you (you send {dem})":"Vuole ≥ {need} Gbps di traffico da te (ne mandi {dem})", -"Paid peering only, over a PNI":"Solo peering a pagamento, su PNI", -"Only peers over PNIs, and only with networks it considers important":"Fa peering solo su PNI, e solo con reti che considera importanti", -"Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})":"Vuole che tu sia un Tier 2, o che gli mandi ≥ {need} Gbps (ne mandi {dem})", -"Tier 1s never peer at IXs":"I Tier 1 non fanno mai peering agli IX", -"Not big enough yet: {list}":"Non sei ancora abbastanza grande: {list}", -"{net} transit · {lag}":"transit {net} · {lag}", -"Add a LAG member, upgrade the port or buy a second upstream.":"Aggiungi un membro al LAG, fai l’upgrade della porta o compra un secondo upstream.", -"Upgrade the IX port or add a LAG member.":"Fai l’upgrade della porta IX o aggiungi un membro al LAG.", -"PNI with {net}":"PNI con {net}", -"Add a LAG member or upgrade the PNI.":"Aggiungi un membro al LAG o fai l’upgrade del PNI.", -"{name} caches":"cache {name}", -"Ask for another box. The overflow goes out over peering or transit.":"Chiedi un altro box. L’eccedenza esce via peering o transit.", -"Routers":"Router", -"Upgrade the router or add a second one in the Infra tab.":"Fai l’upgrade del router o aggiungine un secondo nella scheda Infra.", -"missing {what}":"{what} mancante", -"unknown {what} “{word}”":"{what} “{word}” inesistente", -". Did you mean {name}?":". Forse intendevi {name}?", -"line {n}: spill must be between 20% and 100%":"riga {n}: spill deve essere tra 20% e 100%", -"network":"rete", -"line {n}: {err}":"riga {n}: {err}", -"transit provider":"provider di transit", -"city":"città", -"line {n}: I don't understand “{text}”. Try: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos":"riga {n}: non capisco “{text}”. Prova: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos", -"Auto-TE controller":"Controller Auto-TE", -"Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.":"Scrivi le regole, verificale sul traffico reale, poi fai il deploy. Un deploy sbagliato è un modo molto concreto per rompere la tua rete.", -"Check (dry run)":"Verifica (dry run)", -"Deploy":"Deploy", -"Remove script":"Rimuovi script", -"Reset to example":"Ripristina l’esempio", -"Rules:":"Regole:", -"Live: {state} · {rules}":"Stato: {state} · {rules}", -"deployed":"in produzione", -"controller is off":"controller spento", -"{n} rules active":"regole attive: {n}", -"not active":"non attivo", -"{net} transit":"transit {net}", -"SD-WAN for {name}":"SD-WAN per {name}", -"L2VPN for {name}":"L2VPN per {name}", -"Your IX":"Il tuo IX", -"Customer":"Cliente", -"One-way latency within {max} ms (best now: {best})":"Latenza di sola andata entro {max} ms (migliore ora: {best})", -"no path":"nessun percorso", -"Two paths that share no trench or fabric":"Due percorsi che non condividono né scavo né fabric", -"Afraid of sharks: needs a path with no subsea cable":"Ha paura degli squali: vuole un percorso senza cavi sottomarini", -"Refuses Cogentle transit anywhere on your network (long story)":"Rifiuta il transit Cogentle ovunque sulla tua rete (lunga storia)", -"IPv6 or bust: you must peer with Drizzle Electric":"IPv6 o niente: devi fare peering con Drizzle Electric", -"Wants NetChill on-net: a cache or a PNI":"Vuole NetChill on-net: una cache o un PNI", -"Backup generator in every city they touch":"Generatore di backup in ogni città che tocca", -"Insists on two routers in their city":"Pretende due router nella sua città", -"Two data centers in every metro they touch":"Due data center in ogni area metropolitana che tocca", -"Wants two different transit providers (or none at all)":"Vuole due provider di transit diversi (o nessuno)", -"Needs low-loss reach into China":"Vuole raggiungere la Cina con poche perdite", -"Will only sign with a network that runs a DDoS scrubbing center":"Firma solo con una rete che ha un centro di scrubbing DDoS", -"Their CEO hates puns. Please do not mention the network names.":"Il loro CEO odia i giochi di parole. Per favore, non citare i nomi delle reti.", -"{bw} extra for {d} days, {when} · pays {fee} when it is over":"{bw} in più per {d} giorni, {when} · paga {fee} alla fine", -"day {n} of {d}":"giorno {n} di {d}", -"starting in {n}d":"inizia tra {n}g", -"{n} sites: {list} · {bw} per site · {price}/mo":"{n} sedi: {list} · {bw} per sede · {price}/mese", -"{name} starts today!
{bw} of extra demand in {city} for {d} days.":"{name} inizia oggi!
{bw} di domanda extra a {city} per {d} giorni.", -"{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.":"{name} è finito: +{pay}
Hai consegnato il {pct} di quello che voleva il pubblico.", -"Flawless.":"Impeccabile.", -"{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.":"{name} è stato un disastro.
Consegnato solo il {pct}, ed è finito in tendenza sui social. Penale: {pay}.", -"{name} at {site}":"{name} presso {site}", -"{name} (hub: {site})":"{name} (hub: {site})", -"{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it":"{n} coppie di fibra nel tuo scavo {a}–{b}. Lo scavo era la parte costosa, quindi le vogliono tutte", -"{name} in {city}":"{name} a {city}", -"{n}× 400G alien wave on your {a}–{b} fiber":"{n}× alien wave 400G sulla tua fibra {a}–{b}", -"{n}× 400G alien waves on your {a}–{b} fiber":"{n}× alien wave 400G sulla tua fibra {a}–{b}", -"a spare fiber pair in your {a}–{b} trench":"una coppia di fibre libera nel tuo scavo {a}–{b}", -"Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.":"Negli Emirati solo i due operatori con licenza, Etis-a-lot e Du-opoly, possono posare fibra. Niente dark fiber, niente scavi in proprio, e le wave costano 3×.", -"Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.":"Via terra tra continenti si attraversa una dozzina di confini, e ogni operatore lungo la strada si prende la sua parte: {x}× il prezzo. Via mare costa molto meno.", -"Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.":"Nessuno vende una coppia di fibre attraverso una dozzina di confini. Tra continenti, la capacità via terra si trova solo come wave in affitto.", -"This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.":"Questa rotta attraversa le Ande: 2× il prezzo, e frane e neve la tagliano molto più spesso della fibra in pianura.", -"North America":"Nord America", -"{a} to {b}":"{a} → {b}", -"cheap: lots of competing fiber":"economico: tanta fibra in concorrenza", -"about average":"nella media", -"pricey: fewer carriers":"caro: pochi carrier", -"expensive: scarce capacity":"costoso: capacità scarsa", -", and prices have fallen {p}% since you started":", e i prezzi sono scesi del {p}% da quando hai iniziato", -"{where}: {lvl}. This route is {p}% below the going rate{since}.":"{where}: {lvl}. Questa rotta è il {p}% sotto il prezzo di mercato{since}.", -"{where}: {lvl}. This route is {p}% above the going rate{since}.":"{where}: {lvl}. Questa rotta è il {p}% sopra il prezzo di mercato{since}.", -"{where}: {lvl}. This route is right at the going rate{since}.":"{where}: {lvl}. Questa rotta è esattamente al prezzo di mercato{since}.", -"Overland":"Via terra", -"old, cuts often":"vecchio, si taglia spesso", -"Route":"Percorso", -"All your waves on one cable share its fate when it is cut.":"Tutte le tue wave su un solo cavo ne condividono il destino quando viene tagliato.", -"Follow metrics":"Segui le metriche", -"Lowest latency":"Latenza minima", -"Scenic (quietest links)":"Panoramico (link più tranquilli)", -"Route:":"Percorso:", -"Path latency: {lat}":"Latenza del percorso: {lat}", -"{ms} ms one-way":"{ms} ms sola andata", -"no path right now":"nessun percorso al momento", -"budget {ms} ms":"budget {ms} ms", -"split over two equally quiet paths":"ripartito su due percorsi altrettanto tranquilli", -"Site:":"Sito:", -"Both adds a LAG member":"Entrambi aggiunge un membro al LAG", -"Both split the LAG":"Entrambi divide il LAG", -"{n} ports":"{n} porte", -"boots in ~{n} min":"si avvia in ~{n} min", -"crashes more":"crasha più spesso", -"Level {n}":"Livello {n}", -"Swap {cost} + {mo}/mo":"Sostituisci {cost} + {mo}/mese", -"Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).":"Il tuo {model} qui arriva al massimo a porte da {pn}. Per porte più grandi serve un upgrade del router (scheda Infra).", -"Certificate expired":"Certificato scaduto", -"The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.":"Il certificato TLS della dashboard del NOC è scaduto. Nessuno vede più i grafici, quindi tecnicamente non ci sono problemi.", -"It was DNS":"Era il DNS", -"Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.":"Qualcuno ha cancellato il record DNS del wiki interno. Il runbook per sistemare il DNS stava sul wiki.", -"Leap second":"Secondo intercalare", -"A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.":"Un secondo intercalare ha convinto uno dei tuoi router che siamo nel 1970. L’uptime ora segna meno 56 anni. Il traffico va benissimo.", -"Change freeze":"Change freeze", -"Management declared a change freeze. Someone made a change to announce the change freeze.":"Il management ha dichiarato un change freeze. Qualcuno ha fatto una change per annunciare il change freeze.", -"Ticket of the week":"Ticket della settimana", -"A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.":"Un cliente ha aperto un ticket P1: “internet è lenta”. In allegato, la foto del suo router, staccato dalla presa.", -"Monitoring":"Monitoraggio", -"Your monitoring system went down. You found out because nothing alerted. Very peaceful week.":"Il tuo sistema di monitoraggio è andato giù. Te ne sei accorto perché non è scattato nessun allarme. Settimana tranquillissima.", -"Load-bearing typo":"Refuso portante", -"Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.":"Qualcuno ha chiamato una VLAN “prodcution”. Ora è portante e non potrà mai più essere rinominata.", -"IPv6 milestone":"Traguardo IPv6", -"Your IPv6 traffic grew 400%. From one packet to five.":"Il tuo traffico IPv6 è cresciuto del 400%. Da un pacchetto a cinque.", -"Mystery link":"Link misterioso", -"You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.":"Hai trovato in inventario un link da 10G che nessuno ha ordinato, nessuno paga, e che porta 3 Gbps di qualcosa.", -"Spreadsheet IPAM":"IPAM su foglio di calcolo", -"Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.":"Il foglio di calcolo degli indirizzi IP ha raggiunto 1.048.576 righe. Excel ha qualcosa da ridire.", -"Goose incident":"Incidente con l’oca", -"A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.":"Un’oca ha attaccato il tecnico diretto alla tua capanna degli amplificatori. Ha vinto l’oca. Intervento rimandato, nulla di rotto.", -"Latency test":"Test di latenza", -"A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.":"Un piccione viaggiatore ha battuto uno dei tuoi link in un test di latenza informale. Il morale è a terra. Il throughput va bene.", -"Zombie route":"Route zombie", -"A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.":"Una route che hai ritirato nell’Anno 1 è ancora visibile da qualche parte su internet. Nessuno sa dove. Va tutto bene. Probabilmente.", -"Auditor visit":"Visita dell’auditor", -"An auditor asked for a network diagram. You sent the game map. They approved it.":"Un auditor ha chiesto uno schema della rete. Gli hai mandato la mappa del gioco. L’ha approvata.", -"Open to work":"Open to work", -"Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.":"Il tuo peering coordinator ha aggiornato il profilo con “open to work”. Tre Tier 1 all’improvviso vogliono fare due chiacchiere. Non è successo niente, ma è stato bello.", -"Hold music":"Musica d’attesa", -"Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.":"Il supporto del tuo upstream ha sempre gli stessi 11 secondi di musica d’attesa. Il tuo reperibile ora sa canticchiarla in quattro tonalità.", -"Naming committee":"Comitato nomi", -"A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.":"Una riunione di due ore sugli hostname dei router si è chiusa con un voto per “router-final-v2-NEW”.", -"Vendor TAC":"TAC del vendor", -"Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.":"Il supporto del vendor ti ha chiesto di “provare a spegnere e riaccendere”. Il router che avevi già riavviato. Ticket chiuso.", -"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.":"Una ruspa ha tagliato il ring metropolitano tra i tuoi due siti a {city}. A quanto pare entrambe le tratte in fibra passavano per la stessa strada.", -"Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.":"Qualcuno ha staccato il cross-connect sbagliato nella meet-me room di {city}, e {siteB} è isolato da {siteA}.", -"A tram line construction project in {city} found your metro ring. Both halves of it.":"Il cantiere di una nuova linea del tram a {city} ha trovato il tuo ring metropolitano. Entrambe le metà.", -"Splice it tonight":"Giunzione stanotte", -"The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.":"L’aria condizionata di {dc} è morta nel giorno più caldo dell’anno. I tuoi router a {city} sono scesi a metà capacità.", -"Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.":"Qualcuno ha impostato il termostato del data center di {city} in Fahrenheit pensando fossero Celsius. I router cuociono a metà velocità.", -"The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.":"Il fornitore del raffreddamento a {city} ha sostituito i chiller con un ventilatore molto sicuro di sé. Metà capacità per due giorni.", -"Buy 40 desk fans":"Compra 40 ventilatori da scrivania", -"Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.":"Qualcuno a {dc} ha etichettato ogni bretella “NON STACCARE”. Qualcun altro ne ha staccata una comunque: il tuo link {a}–{b}.", -"A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.":"A un tecnico remote-hands a {a} è stato chiesto di pulire la fibra sulla porta 1. L’ha pulita con un panino. {a}–{b} è giù.", -"A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.":"Un nuovo tecnico a {a} ha “messo in ordine” il groviglio di cavi. Il tuo link {a}–{b} faceva parte del groviglio.", -"The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.":"Il padrone di casa a {a} ha rifatto il montante dell’edificio e ha schiacciato la tua dark fiber verso {b}.", -"A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.":"Un giuntista che saldava il cavo di qualcun altro in un pozzetto vicino a {b} ha saldato il tuo.", -"{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.":"{co} ha sbagliato un cross-connect col dito grosso e ha collegato la tua wave {a}–{b} a un forno per pizza.", -"{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.":"{co} ha fatto una “manutenzione veloce” sulla lunghezza d’onda sbagliata. La tua wave {a}–{b} ora trasporta i video di gatti di qualcun altro.", -"{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.":"{co} ha programmato la manutenzione in UTC. Il tuo team l’ha letta come ora locale. {a}–{b} si è spento all’ora di punta.", -"An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.":"Un ingegnere di {co} ha invertito Tx e Rx sulla tua wave {a}–{b}. Entra luce, esce confusione.", -"{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.":"{co} ha dismesso la tua wave {a}–{b} perché nel ticket c’era scritto “decom” invece di “docs”.", -"Bribe their NOC with donuts":"Corrompi il loro NOC con le ciambelle", -"MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.":"MTU non allineato su {a}–{b}: i jumbo frame continuano a incastrarsi nel tubo. Capacità utile dimezzata.", -"Set MTU 9216 everywhere":"Imposta MTU 9216 ovunque", -"The cleaner unplugged everything at {siteA}.":"L’addetto alle pulizie ha staccato tutto a {siteA}.", -"Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.":"Incidente aspirapolvere a {city}
L’addetto alle pulizie ha staccato tutto a {siteA}. {siteB} ha tenuto online la città a metà capacità.", -"Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.":"Incidente aspirapolvere a {city}
L’addetto alle pulizie di {dc} ha staccato uno dei tuoi router per attaccare l’aspirapolvere. L’altro ha retto. Il pavimento è splendente.", -"The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.":"L’addetto alle pulizie di {dc} ha staccato il tuo router per attaccare l’aspirapolvere. Il pavimento è splendente.", -"Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.":"Il tuo reperibile ha digitato “clear bgp *” in produzione a {city} alle 3 di notte. Ha ripulito tutto.", -"An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.":"Uno stagista ha pushato un’ACL a {city} che nega 0.0.0.0/0. Sicurissima. Offlinissima.", -"Someone ran “reload” on the {city} router, thinking it was their laptop terminal.":"Qualcuno ha lanciato “reload” sul router di {city}, convinto di essere nel terminale del suo portatile.", -"A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.":"Un template di configurazione ha renderizzato “{{ router_id }}” alla lettera a {city}. Il router l’ha presa sul personale.", -"Someone committed a config in {city} with “commit confirmed 1” and went to lunch.":"Qualcuno ha fatto commit di una config a {city} con “commit confirmed 1” ed è andato a pranzo.", -"Someone deployed to {city} on a Friday at 16:59.":"Qualcuno ha fatto un deploy a {city} di venerdì alle 16:59.", -"A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.":"Un raggio cosmico ha invertito un bit nel tuo router di {city}. Ora crede che 10.0.0.0/8 stia in Antartide.", -"An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.":"Uno script di automazione a {city} ha lanciato “sed” su tutta la config invece che su una riga. Ora ogni interfaccia si chiama “TODO”.", -"Automation pushed it to every router, so redundancy did not help.":"L’automazione l’ha propagato a tutti i router, quindi la ridondanza non è servita.", -"Roll back the config":"Rollback della config", -"Hide the vacuum":"Nascondi l’aspirapolvere", -"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.":"Un membro di {ix} ha fatto leak dell’intera tabella di routing nel route server. I limiti max-prefix sono scattati ovunque. Il tuo peering lì, a {city}, è giù.", -"Something in the NOC glitched.
The game kept going. If things look odd, export your save and open an issue on GitHub.":"Qualcosa nel NOC si è inceppato.
Il gioco è andato avanti. Se qualcosa sembra strano, esporta il salvataggio e apri una issue su GitHub.", -"{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.":"{net} ha sbagliato una route-map col dito grosso e ha fatto prepend del tuo AS {n} volte a {city}. Nessuno vuole quel percorso.", -"Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.":"La tua ROA è scaduta nel weekend. I tuoi prefissi sono RPKI-invalid e circa mezza internet li sta scartando.", -"Renew the ROA":"Rinnova la ROA", -"You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.":"Hai sbagliato col dito grosso il piano dei canali su {a}–{b} e acceso un nuovo canale proprio sopra tutti quelli esistenti.", -"An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.":"Una capanna di amplificazione in linea tra {a} e {b} è rimasta senza corrente. Ci si era trasferita una famiglia di topi.", -"Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.":"Qualcuno ha rubato il rame della messa a terra da una capanna degli amplificatori su {a}–{b}. Tutti i canali spenti.", -"A firmware bug in the {sys} at {a} set every channel to “maintenance”.":"Un bug del firmware nel {sys} a {a} ha messo ogni canale in “manutenzione”.", -"Lightning hit an amp site on {a}–{b}. The surge protector was decorative.":"Un fulmine ha colpito un sito di amplificazione su {a}–{b}. Lo scaricatore era decorativo.", -"Your spares kit gets it back tomorrow.":"Il tuo kit di ricambi lo rimette in piedi domani.", -"Truck a spare amp out":"Porta un amplificatore di ricambio sul posto", -"A {optic} on {a}–{b} overheated and is now a very expensive keychain.":"Un {optic} su {a}–{b} si è surriscaldato e ora è un portachiavi molto costoso.", -"The laser in a {optic} on {a}–{b} died. One channel dark.":"Il laser di un {optic} su {a}–{b} è morto. Un canale spento.", -"A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.":"Un {optic} su {a}–{b} ha iniziato a segnalare una temperatura di 900°C. Si sbagliava, ma si è spento lo stesso.", -"Swapped from your spares kit by tomorrow.":"Sostituito dal tuo kit di ricambi entro domani.", -"Buy a replacement":"Compra un ricambio", -"Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.":"Un altro cavo sottomarino del Vietnam è rotto: il tuo link {a}–{b}. La nave di riparazione arriverà dopo le feste. Quali feste, non è chiaro.", -"Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.":"Il tuo cavo {a}–{b} si è rotto nello stesso punto dell’ultima volta. La squadra di riparazione l’ha riconosciuto.", -"A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.":"Un coccodrillo ha dato un morso alla tua fibra {a}–{b}. Non è rimasto impressionato.", -"Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.":"Le termiti si sono mangiate il cavidotto su {a}–{b}. Poi la fibra. Poi il cavidotto nuovo.", -"A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.":"Una nave cargo si è “dimenticata” di salpare l’àncora e l’ha trascinata sul tuo cavo {a}–{b}. Gli armatori sono molto dispiaciuti, e piuttosto difficili da rintracciare.", -"Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.":"Un’altra àncora, un altro taglio: il tuo cavo {a}–{b}. La bandiera della nave è cambiata due volte durante l’indagine.", -"A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.":"Un peschereccio con un’àncora insolitamente pesante ha tagliato {a}–{b}. Non stava pescando.", -"A landslide in the Andes buried your {a}–{b} fiber.":"Una frana nelle Ande ha sepolto la tua fibra {a}–{b}.", -"Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.":"La neve ha chiuso il passo di montagna, e con lui la squadra di riparazione: {a}–{b} è giù.", -"An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.":"Un terremoto ha scollegato la tua fibra {a}–{b} da qualche parte sopra i 4.000 metri.", -"A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.":"Una mandria di lama ha calpestato il segnalatore della fibra su {a}–{b}. Poi una ruspa ha trovato la fibra.", -"Road widening near {a} cut your fiber to {b}. It is always road widening.":"L’allargamento di una strada vicino a {a} ha tagliato la tua fibra verso {b}. È sempre un allargamento stradale.", -"The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.":"Il monsone ha allagato un pozzetto su {a}–{b}. La fibra ora è sott’acqua, come il pozzetto.", -"A digger found your {a}–{b} fiber. A different digger is coming to fix it.":"Una scavatrice ha trovato la tua fibra {a}–{b}. Un’altra scavatrice sta arrivando per ripararla.", -"A curious shark bit your subsea cable {a}–{b}.":"Uno squalo curioso ha morso il tuo cavo sottomarino {a}–{b}.", -"A ship dragged its anchor across your {a}–{b} cable.":"Una nave ha trascinato l’àncora sul tuo cavo {a}–{b}.", -"An undersea landslide snapped {a}–{b}.":"Una frana sottomarina ha spezzato {a}–{b}.", -"A backhoe found your fiber between {a} and {b}.":"Una ruspa ha trovato la tua fibra tra {a} e {b}.", -"Squirrels chewed through {a}–{b}. They regret nothing.":"Gli scoiattoli hanno rosicchiato {a}–{b}. Non si pentono di nulla.", -"Road works cut {a}–{b}. Nobody called before digging.":"Dei lavori stradali hanno tagliato {a}–{b}. Nessuno ha chiamato prima di scavare.", -"All {n} links in that trench went down with it.":"Tutti i {n} link in quello scavo sono caduti insieme.", -"Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.":"Crash di un router a {city}
Un router è andato in panic e il suo gemello ha preso il comando.{slow} Lì la capacità è ridotta di un router per {d} giorni.", -"The crashed one {what}.":"Quello crashato {what}.", -"Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"I distacchi a rotazione hanno spento {site} a {city}. {other} ha retto, quindi il POP gira a metà capacità. Tutto ciò che è collegato solo al sito al buio è offline.", -"A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Un’interruzione di corrente ha spento {site} a {city}. {other} ha retto, quindi il POP gira a metà capacità. Tutto ciò che è collegato solo al sito al buio è offline.", -"Rent a generator":"Noleggia un generatore", -"Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.":"Blackout a {city}
La rete elettrica è saltata di nuovo. Il tuo generatore è partito al primo colpo, come sempre qui.", -"Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.":"Distacchi a rotazione a {city}
Oggi stage {n}. Il tuo generatore ha tossito, poi ha tenuto le luci accese.", -"Power cut in {city}
Your backup generator kicked in. Lights stayed on.":"Interruzione di corrente a {city}
È partito il generatore di backup. Luci rimaste accese.", -"Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.":"Il tuo router a {city} è crashato e si sta riavviando. Ora {what}. Tempo di boot di questo modello: circa {min} minuti a tentativo, ed è al tentativo numero {n}.", -"Your router in {city} crashed. Kernel panic, packet panic.":"Il tuo router a {city} è crashato. Kernel panic, packet panic.", -"A firmware update bricked your router in {city}.":"Un aggiornamento firmware ha brickato il tuo router a {city}.", -"A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.":"Un blackout ha colpito {city} e il tuo POP non ha un generatore. Tutte le altre reti qui ne hanno uno. Compralo.", -"Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.":"Distacchi a rotazione stage {n} a {city}, e non hai un generatore. Compralo: qui non è facoltativo.", -"Power outage at {dc} in {city}. The generator did not start.":"Interruzione di corrente a {dc} ({city}). Il generatore non è partito.", -"Turn it off and on again (it will take a while)":"Spegni e riaccendi (ci vorrà un po’)", -"Turn it off and on again":"Spegni e riaccendi", -"{net} is having an outage in {city}. Your transit port there is dark.":"{net} ha un disservizio a {city}. La tua porta di transit lì è spenta.", -"Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.":"Qualcuno ha collegato un loop al fabric di {ix}. Broadcast storm! Tutto il peering lì è giù.", -"BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.":"Route leak BGP: un piccolo ISP sta annunciando i prefissi di {net}. Il traffico verso di loro via transit finisce in un buco nero. Il peering diretto funziona ancora.", -"{fabric} is having a bad day. Every virtual circuit on their fabric is down.":"{fabric} sta avendo una brutta giornata. Tutti i circuiti virtuali sul loro fabric sono giù.", -"DNS reflection":"riflessione DNS", -"NTP amplification":"amplificazione NTP", -"CLDAP flood":"flood CLDAP", -"SYN flood":"flood SYN", -"HTTP flood":"flood HTTP", -"A {size} {vec} attack is hitting {city}{how}.":"Un attacco {vec} da {size} sta colpendo {city}{how}.", -", in via {e}":", entra da {e}", -"Your mitigation is eating most of it.":"La tua mitigazione se ne sta mangiando quasi tutto.", -"Junk traffic is eating your capacity. Open the NOC to fight back.":"Il traffico spazzatura si sta mangiando la tua capacità. Apri il NOC per difenderti.", -"Open NOC":"Apri il NOC", -"Live attack: {city}":"Attacco in corso: {city}", -"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · {n}g rimasti", -"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"In buco nero: la spazzatura è sparita, e anche {city}. L’attacco ha ottenuto ciò che voleva.", -"Reaching your network: {g}":"Arriva alla tua rete: {g}", -"On-demand scrubbing diverting, live in {n}d":"Scrubbing on-demand in deviazione, attivo tra {n}g", -"{tier} scrubbing in {city} is cleaning it":"Lo scrubbing {tier} a {city} lo sta pulendo", -"{net} is scrubbing it upstream (clean-pipe)":"{net} lo sta ripulendo a monte (clean-pipe)", -"Contained on your sacrificial {net} PNI":"Contenuto sulla tua PNI sacrificale {net}", -"IX blackhole on ✓":"Blackhole IX attivo ✓", -"IX blackhole ~half honour it":"Blackhole IX ~metà lo rispetta", -"Clean-pipe on ✓":"Clean-pipe attivo ✓", -"+ Clean-pipe {mo}/mo · scrubs DDoS upstream":"+ Clean-pipe {mo}/mese · ripulisce i DDoS a monte", -"Sacrificial choke ✓":"Strozzatura sacrificale ✓", -"Make sacrificial contains floods · ½ capacity":"Rendi sacrificale contiene i flood · ½ capacità", -"No scrubbing center":"Nessun centro di scrubbing", -"Flowspec on your {model} is dropping {vec} at the edge":"Il Flowspec sul tuo {model} sta scartando {vec} all’edge", -"Flowspec on your {model} trims {vec}, but its TCAM is small":"Il Flowspec sul tuo {model} lima {vec}, ma la sua TCAM è piccola", -"Your {model} here has no Flowspec TCAM":"Il tuo {model} qui non ha TCAM per il Flowspec", -"Flowspec cannot catch an {vec} (application layer)":"Flowspec non può fermare un {vec} (livello applicativo)", -"Stop blackholing":"Togli il buco nero", -"Blackhole the target (RTBH)":"Metti il bersaglio in buco nero (RTBH)", -"HackBack 3000™ $20k":"HackBack 3000™ $20k", -"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"L’RTBH è gratis e immediato, ma scarta tutto ciò che va alla vittima: attacco e cliente insieme. Un blackhole IX tiene su il cliente ma solo circa metà dei membri lo rispetta. HackBack 3000™ di Skynot AI a volte lo ferma, e a volte travolge un innocente e ti becca una multa.", -"Flowspec-capable POPs":"POP con Flowspec", -"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"Le regole di scarto Flowspec vivono nella TCAM del router, quindi solo i router capaci filtrano i flood UDP noti (DNS, NTP, CLDAP, SYN) all’edge. La Rusty usata non ne ha, i modelli merchant-silicon e whitebox un po’, i grandi chassis in pieno. Aggiorna il router di un POP dalla sua scheda Infra.", -"No attack to blackhole right now.":"Nessun attacco da mettere in buco nero adesso.", -"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH annunciato.
Hai messo il bersaglio a {city} in buco nero. Il flood si ferma, e con lui tutti quelli lì.", -"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Buco nero ritirato.
{city} è di nuovo raggiungibile. Preparati alla spazzatura.", -"Nothing to hack back right now.":"Niente da contrattaccare adesso.", -"HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.":"HackBack 3000™ colpisce ancora!
Skynot AI ha tracciato la botnet e l’ha gentilmente spenta. L’attacco su {city} si ferma di colpo.", -"HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.":"HackBack 3000™ ha colpito il bersaglio sbagliato.
{who} Un’autorità ti manda una multa da {fine}, e l’attacco continua.", -"Skynot AI flattened a grandma's internet-connected fridge.":"Skynot AI ha steso il frigo connesso di una nonna.", -"You counter-flooded a hospital in a country you cannot pronounce.":"Hai contro-floodato un ospedale in un paese che non sai pronunciare.", -"The botnet was already someone else’s botnet. They are furious.":"La botnet era già la botnet di qualcun altro. Sono furiosi.", -"Vigilante":"Giustiziere", -"Fire the HackBack 3000™ and flatten an innocent.":"Spara con l’HackBack 3000™ e travolgi un innocente.", -"Collateral Damage":"Danni collaterali", -"Blackhole one of your own cities to stop a DDoS.":"Metti in buco nero una tua città per fermare un DDoS.", -"Toaster Wrangler":"Domatore di tostapane", -"Weather a DDoS with your defences ready.":"Reggi un DDoS con le difese pronte.", -"Clean Pipes":"Tubi puliti", -"Turn on a transit clean-pipe add-on.":"Attiva un add-on clean-pipe su un transit.", -"Sacrificial Lamb":"Agnello sacrificale", -"Run a sacrificial PNI choke point.":"Gestisci una PNI sacrificale come punto di strozzatura.", -"Held the Flood":"Hai retto il diluvio", -"Weather a multi-terabit DDoS.":"Reggi un DDoS da più terabit.", -"Skynot Smiles":"Skynot sorride", -"Land a HackBack 3000™ that actually works.":"Riesci in un HackBack 3000™ che funziona davvero.", -"Stand up DDoS defences":"Alza le difese anti-DDoS", -"Build a scrubbing center from a POP's Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.":"Costruisci un centro di scrubbing dalla scheda Infra di un POP. Ripulisce gli attacchi fino alla sua capacità e ti permette di vendere protezione DDoS.", -"Traffic rerouted, customers barely noticed.":"Traffico reinstradato, i clienti se ne sono accorti appena.", -"Rush repair":"Riparazione urgente", -"Metro ring cut":"Anello metro tagliato", -"Site outage":"Sito fuori servizio", -"Fiber cut":"Fibra tagliata", -"Router crash":"Crash del router", -"Power outage":"Blackout", -"Upstream outage":"Disservizio upstream", -"IX meltdown":"IX in tilt", -"Route leak":"Route leak", -"DDoS attack":"Attacco DDoS", -"Fabric outage":"Fabric fuori servizio", -"Peering spat":"Lite di peering", -"Fat-fingered wave":"Wave col dito grosso", -"Patch panel mishap":"Pasticcio al patch panel", -"MTU mismatch":"Mismatch di MTU", -"Oops":"Ops", -"Vacuum incident":"Incidente con l’aspirapolvere", -"Max-prefix meltdown":"Max-prefix in tilt", -"Prepend-ageddon":"Prependgeddon", -"RPKI invalid":"RPKI invalid", -"Amplifier failure":"Guasto all’amplificatore", -"Fat-fingered ROADM":"ROADM col dito grosso", -"Dead optic":"Ottica morta", -"Maintenance window":"Finestra di manutenzione", -"Cooling failure":"Guasto al raffreddamento", -"BGP hijack":"BGP hijack", -"Government shutdown":"Shutdown governativo", -"Geopolitical cable cut":"Taglio geopolitico dei cavi", -"Incident":"Incidente", -"The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.":"I vicini hanno litigato.
Una crisi diplomatica chiude confini e spazio aereo attorno al Qatar. Tutti i link tra Doha e Arabia Saudita o Emirati sono giù per circa {n} giorni. Fai il giro lungo, via mare.", -"A futuristic city that is not built yet, demo day in {city}":"Una città futuristica non ancora costruita, demo day a {city}", -"A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.":"Un gigaprogetto vuole una demo.
{bw} per quattro giorni a {city}, per mettere in mostra una città che per ora è soprattutto rendering. Guarda la scheda Offerte.", -"Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.":"Sanzioni!
La Repubblica del Burocrazistan ha sanzionato il fornitore di viti preferito del tuo vendor di router. I ricambi arrivano col contagocce: per 60 giorni i crash dei router richiedono il doppio del tempo per essere risolti.", -"Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.":"Guerra commerciale sulle ottiche
Due governi si sono messi i dazi a vicenda sui laser. Le ottiche costano il 40% in più per 90 giorni.", -"A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.":"Un ISP di stato ha annunciato “per sbaglio” i tuoi prefissi per 18 minuti. Il loro comunicato di scuse era sospettosamente ben scritto. Molte reti stanno ancora instradando il tuo traffico nel vuoto.", -"Call everyone you know":"Chiama tutti quelli che conosci", -"BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.":"BGP hijack
Qualcun altro sta annunciando i tuoi prefissi. La copertura resta giù finché non si fa pulizia.", -"Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.":"Lite sui permessi di approdo a {city}
Due ministeri rivendicano la stessa spiaggia. Per 45 giorni lì non può approdare nessun nuovo link sottomarino.", -"Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.":"Le autorità hanno ordinato a tutte le reti di {city} di spegnersi per un giorno durante gli esami di stato. Sì, succede davvero.", -"Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.":"Offline per decreto a {city}
Uno shutdown governativo per gli esami. Il tuo POP lì resta spento per un giorno.", -"Typhoon Bandwidth":"Tifone Banda", -"Typhoon Latency":"Tifone Latenza", -"Typhoon Jitter":"Tifone Jitter", -"Typhoon Packet-Loss":"Tifone Packet-Loss", -"{name} hits {city}
The grid is down, but your backup generator kept the routers running.":"{name} si abbatte su {city}
La rete elettrica è giù, ma il tuo generatore di backup ha tenuto accesi i router.", -"{name} knocked out power in {city}. Your POP has no generator.":"{name} ha lasciato {city} senza corrente. Il tuo POP non ha un generatore.", -"{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.":"{name} si abbatte su {city}
Manca la corrente e il tuo POP resta spento per due giorni. Un generatore l’avrebbe salvato.", -"Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.":"Esercitazione di internet sovrano
Mosca si è staccata dal resto di internet per un giorno, giusto per vedere che succede. Tutto ciò che esce dalla Russia resta al buio fino a domani.", -"Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.":"Cavo danneggiato nel Baltico
Un mercantile ha trascinato l’àncora per 100 km e giura di non essersi accorto di niente. Tu non hai link su quei cavi.", -"A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.":"Un mercantile ha trascinato l’àncora sul fondale del Baltico per 100 km e giura di non essersi accorto di niente. Gli inquirenti “stanno verificando”.", -"Baltic cable damaged
{n} of your links are down for about {d} days.":"Cavo danneggiato nel Baltico
Tuoi link fuori uso: {n}, per circa {d} giorni.", -"Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.":"Cavi tagliati nel Mar Rosso
Una nave ha trascinato l’àncora su diversi cavi. Tutti danno la colpa a tutti. Per fortuna tu quei cavi non li usi.", -"A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.":"Una nave alla deriva senza motori ha trascinato l’àncora attraverso i cavi del Mar Rosso. Tutti danno la colpa a tutti. Le navi posacavi hanno bisogno dei permessi di tre governi.", -"Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.":"Cavi tagliati nel Mar Rosso
Tuoi link sottomarini fuori uso: {n}, per circa {d} giorni, mentre i diplomatici litigano sulle navi posacavi.", -"Golden Week!
Demand in mainland China is up 40% for a week.":"Golden Week!
La domanda nella Cina continentale sale del 40% per una settimana.", -"The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.":"Il confine si è fatto più severo.
Il packet loss transfrontaliero sale al 35% per 10 giorni. Le rotte premium se ne accorgono appena.", -"New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?":"È uscita la nuova stagione di “Stranger Pings”!
La domanda degli eyeball sale del 25% per una settimana. Hai margine?", -"Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.":"I prezzi del transit sono scesi dell’8%.
Succede ogni anno. Nessuno sa dove sia il fondo.", -"Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.":"Contributo per la banda larga rurale: +$30k
Al Ministero dei Tubi piace quello che stai facendo.", -"Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.":"Cogentle e Goggle hanno litigato sul peering. Goggle non è raggiungibile tramite il transit di Cogentle.", -"Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.":"Lite di peering!
Cogentle ha tolto il peering a Goggle per 20 giorni. Il traffico Goggle via transit Cogentle è sparito. Fai peering diretto con Goggle o usa un altro upstream.", -"Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.":"Drizzle Electric ti ha mandato una torta IPv6.
L’hai rivenduta per $8k.", -"The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"Internet è tornato.
Almeno metà. Tutto è stato patchato di corsa e nessuno ha imparato niente.", -"{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.":"{net} ti ha tolto il peering su {ix} a {city}.
{why} Il traffico ripiega sul miglior percorso rimasto.", -"License granted!
Your joint venture can now build POPs in mainland China.":"Licenza concessa!
La tua joint venture ora può costruire POP nella Cina continentale.", -"Customer level {lv}: {name}
New customers unlocked: {unlock}":"Livello clienti {lv}: {name}
Nuovi clienti sbloccati: {unlock}", -"Your fiber is finished: {a}–{b}":"La tua fibra è pronta: {a}–{b}", -"Dark fiber handed over: {a}–{b}":"Dark fiber consegnata: {a}–{b}", -"Channels are lighting up now.":"I canali si stanno accendendo.", -"It is dark. Add optics to light it up.":"È spenta. Aggiungi delle ottiche per accenderla.", -"Open":"Apri", -"Construction delay: +{n} days
{why} ({a}–{b})":"Ritardo nei lavori: +{n} giorni
{why} ({a}–{b})", -"Archaeologists found a Roman bathhouse on your route.":"Gli archeologi hanno trovato delle terme romane sul tuo tracciato. Di nuovo.", -"A protected hamster species lives along the right-of-way.":"Lungo il tracciato vive una specie protetta di criceto.", -"The railway changed its mind about the easement.":"Le ferrovie hanno cambiato idea sulla servitù di passaggio.", -"The drilling crew hit a granite boulder the size of a bus.":"La squadra di trivellazione ha beccato un masso di granito grande come un autobus.", -"A town council wants a public hearing. About the color of the manhole covers.":"Il consiglio comunale vuole un’assemblea pubblica. Sul colore dei tombini.", -"Somebody else’s gas main was exactly where the map said it was not.":"La condotta del gas di qualcun altro era esattamente dove la mappa diceva che non c’era.", -"The permit office lost your permit. And then the replacement.":"L’ufficio permessi ha perso il tuo permesso. E poi anche il duplicato.", -"{name} cancelled.
Too many outages and too little bandwidth in {city}.":"{name} ha disdetto.
Troppi disservizi e troppa poca banda a {city}.", -"{name} is furious.
Fix service in {city} or they leave.":"{name} è su tutte le furie.
Sistema il servizio a {city}, o se ne va.", -"{net} joined {ix}!
Another member paying {fee}/mo for a port.":"{net} è entrato in {ix}!
Un altro membro che paga {fee}/mese per una porta.", -"You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.":"Sei in rosso.
Disdici qualcosa di costoso, aspetta i ricavi o chiedi un prestito in banca. A −$100k la banca si prende i tuoi router.", -"Common":"Comune", -"Rare":"Raro", -"Epic":"Epico", -"Legendary":"Leggendario", -"Hello, Neighbour":"Ciao, vicino", -"Bring up your first peering session.":"Attiva la tua prima sessione di peering.", -"Met the Backhoe":"Incontro con la ruspa", -"Have a fiber cut.":"Subisci un taglio di fibra.", -"In Debt We Trust":"In Debt We Trust", -"Take out a loan.":"Chiedi un prestito.", -"Twins":"Gemelli", -"Run two routers in one POP.":"Fai girare due router in un POP.", -"Shark Week":"Settimana dello squalo", -"Get a subsea cable bitten by a shark.":"Fatti mordere un cavo sottomarino da uno squalo.", -"IX Collector":"Collezionista di IX", -"Have ports on 10 internet exchanges.":"Prendi porte su 10 internet exchange.", -"Never Paid List Price":"Mai pagato il listino", -"Haggle a DE-KICKS quote down.":"Tira giù un preventivo DE-KICKS trattando.", -"Unsubscribed":"Disiscritto", -"Opt out of 3 auto-enrolled add-ons.":"Disattiva 3 add-on attivati d’ufficio.", -"Left on Read":"Visualizzato, nessuna risposta", -"Get de-peered by a big network.":"Fatti togliere il peering da una grande rete.", -"Peering From the Couch":"Peering dal divano", -"Peer at an IX remotely.":"Fai peering da remoto su un IX.", -"Pig Whisperer":"L’uomo che sussurrava ai maiali", -"Run a slow-booting PacketOinker chassis.":"Usa uno chassis PacketOinker dal boot lentissimo.", -"Link Panama City and Bogotá.":"Collega Panama City e Bogotá.", -"Over the Mountains":"Oltre le montagne", -"Build fiber across the Andes.":"Posa fibra attraverso le Ande.", -"Duopoly Customer":"Cliente del duopolio", -"Buy a wave inside the UAE.":"Compra una wave dentro gli Emirati.", -"Stage Six":"Fase sei", -"Ride out load shedding on your own generator.":"Supera i distacchi programmati con il tuo generatore.", -"Two Buildings, Three Cities":"Due edifici, tre città", -"Have a second site in 3 metros.":"Apri un secondo sito in 3 città.", -"Lonely Penguin":"Pinguino solitario", -"Light a wave on the Humboldt cable to Sydney.":"Accendi una wave sul cavo Humboldt verso Sydney.", -"The Long Way Round":"Il giro lungo", -"Run a link round Cape Horn.":"Fai passare un link attorno a Capo Horn.", -"Six Continents":"Sei continenti", -"POPs in every region on the map.":"POP in ogni regione della mappa.", -"Friend of Giants":"Amico dei giganti", -"Hold deals at 3 different AI campuses at once.":"Tieni contratti in 3 campus AI diversi contemporaneamente.", -"Trench Landlord":"Padrone dello scavo", -"Lease hundreds of fiber pairs to a hyperscaler.":"Affitta centinaia di coppie di fibra a un hyperscaler.", -"Go transit-free.":"Diventa transit-free.", -"Shark Bait":"Esca per squali", -"Get bitten by sharks 3 times in one game.":"Fatti mordere dagli squali 3 volte in una partita.", -"Five Nines":"Cinque nove", -"Serve 99.5% of demand every single day for a whole year.":"Servi il 99,5% della domanda ogni singolo giorno per un anno intero.", -"Everywhere at Once":"Ovunque, contemporaneamente", -"Have POPs in 50 cities.":"Apri POP in 50 città.", -"Unicorn":"Unicorno", -"Hold a billion dollars in cash.":"Tieni un miliardo di dollari in cassa.", -"Debt-Free Tier 1":"Tier 1 senza debiti", -"Win without ever taking a loan.":"Vinci senza mai chiedere un prestito.", -"Speedrun":"Speedrun", -"Reach Tier 1 within three years.":"Raggiungi il Tier 1 entro tre anni.", -"Traffic Whisperer":"L’uomo che sussurrava al traffico", -"Have Auto-TE move 100 Gbps onto alternate paths at once.":"Fai spostare all’Auto-TE 100 Gbps su percorsi alternativi in un colpo solo.", -"Same Street":"Stessa strada", -"Lose a metro ring to one backhoe.":"Perdi un anello metro per colpa di una sola ruspa.", -"Anchors Aweigh":"Ancore levate", -"Have a cable cut by a dragged anchor.":"Fatti tagliare un cavo da un’ancora trascinata.", -"Customer Success Story":"Customer Success Story", -"Take a DE-KICKS retention offer.":"Accetta un’offerta di fidelizzazione DE-KICKS.", -"Samba Peering":"Peering a ritmo di samba", -"Ports on IX.brrr in São Paulo, Rio and Fortaleza.":"Porte su IX.brrr a São Paulo, Rio e Fortaleza.", -"DE-KICKS Bingo":"Tombola DE-KICKS", -"Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.":"Porte su tutti e sei gli exchange DE-KICKS. Ti ringraziano per la continua partnership.", -"Ring of Fire":"Anello di fuoco", -"POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.":"POP tutto attorno al Pacifico: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland e Santiago.", -"Iron Curtain Call":"Sipario di ferro", -"POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.":"POP a Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade e Tallinn.", -"Island Hopper":"Di isola in isola", -"POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.":"POP a Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo e Auckland.", -"Through the Wall":"Oltre la Muraglia", -"Run a licensed POP in mainland China.":"Gestisci un POP con licenza nella Cina continentale.", -"Darwin Award":"Premio Darwin", -"Have your fiber bitten by a crocodile.":"Fatti mordere la fibra da un coccodrillo.", -"Unbreakable":"Indistruttibile", -"Survive 100 incidents without customer impact.":"Sopravvivi a 100 incidenti senza impatto sui clienti.", -"Gigawatt Landlord":"Padrone del gigawatt", -"Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.":"Tieni contemporaneamente un contratto AI WAN, un training run, un ingest e uno di coppie di fibra.", -"Blitz":"Blitz", -"Reach Tier 1 within two years.":"Raggiungi il Tier 1 entro due anni.", -"Hundred Terabits":"Cento terabit", -"Serve 100 Tbps.":"Servi 100 Tbps.", -"A Petabit a Second":"Un petabit al secondo", -"Serve 1 Pbps: a thousand terabits of happy traffic.":"Servi 1 Pbps: mille terabit di traffico felice.", -"Llama Drama":"Dramma lama", -"Lose fiber to a llama herd.":"Perdi la fibra per colpa di un branco di lama.", -"Hallway Track":"Chiacchiere di corridoio", -"Attend a conference.":"Partecipa a una conferenza.", -"Peering Over Beer":"Peering davanti a una birra", -"Set up a PNI while the conference glow lasts.":"Attiva un PNI finché dura l’euforia della conferenza.", -"Conference Circuit":"Giro delle conferenze", -"Attend six conferences in one game.":"Partecipa a sei conferenze in una partita.", -"Script Kiddie":"Script Kiddie", -"Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.":"Pubblica uno RouteScript che taglia del 10% la bolletta del transit senza perdere traffico.", -"Fat Finger":"Dito grosso", -"Deploy a RouteScript that takes down a third of your traffic.":"Pubblica uno RouteScript che butta giù un terzo del tuo traffico.", -"Scenario Solver":"Risolutore di scenari", -"Complete any scenario.":"Completa uno scenario qualsiasi.", -"Weekly Regular":"Presenza fissa", -"Finish a weekly challenge.":"Completa una sfida settimanale.", -"Scenario Specialist":"Specialista di scenari", -"Complete three different scenarios.":"Completa tre scenari diversi.", -"Scenario Grandmaster":"Gran maestro degli scenari", -"Complete every scenario.":"Completa tutti gli scenari.", -"I Survived the Elephant":"Sono sopravvissuto all’elefante", -"Live through the day half the internet went down.":"Sopravvivi al giorno in cui è caduta mezza internet.", -"Zero Peers Given":"Zero peer, zero pensieri", -"Reach Tier 2 with every single session over the route server.":"Raggiungi il Tier 2 con tutte le sessioni via route server.", -"Badge unlocked: {name}":"Badge sbloccato: {name}", -"{got}/{total} this game · {ever} ever":"{got}/{total} in questa partita · {ever} in totale", -"A secret badge":"Un badge segreto", -"earned before":"già ottenuto", -"Goal complete: {name}":"Obiettivo completato: {name}", -"Reward: +{amt}":"Premio: +{amt}", -"Not enough cash.
Wait for revenue, or speed up time.":"Cassa insufficiente.
Aspetta i ricavi, o accelera il tempo.", -"TubeCoin moved up {p}% on the way to your account.":"TubeCoin è salito del {p}% mentre arrivava sul tuo conto.", -"TubeCoin moved down {p}% on the way to your account.":"TubeCoin è sceso del {p}% mentre arrivava sul tuo conto.", -"{amt} from {bank} has landed.":"Sono arrivati {amt} da {bank}.", -"They now own {p} of your revenue.":"Ora possiedono il {p} dei tuoi ricavi.", -"{pay}/mo for {n} months.":"{pay}/mese per {n} mesi.", -"You bought out {bank}.
They flew off to find another startup.":"Hai liquidato {bank}.
Sono volati via in cerca di un’altra startup.", -"Loan from {bank} repaid early.":"Prestito di {bank} estinto in anticipo.", -"You need a license first.
Foreign networks need a joint venture to build in mainland China.":"Prima ti serve una licenza.
Per costruire nella Cina continentale le reti straniere hanno bisogno di una joint venture.", -"New POP!":"Nuovo POP!", -"Eyeballs online!":"Eyeball online!", -"Ad campaign!":"Pubblicità!", -"No transit in this scenario.
Peering, PNIs, caches and your own fiber only.":"Niente transit in questo scenario.
Solo peering, PNI, cache e la tua fibra.", -"Your router can't take a {port} port.
Upgrade it in the Infra tab.":"Il tuo router non regge una porta {port}.
Aggiornalo nella scheda Infra.", -"{net} transit is live in {city}.
Full table received: ~1,000,000 routes.":"Il transit di {net} è attivo a {city}.
Full table ricevuta: ~1.000.000 di rotte.", -"LAG member added.
{net} in {city} is now {lag}.":"Membro LAG aggiunto.
{net} a {city} ora è {lag}.", -"LAG member removed.":"Membro LAG rimosso.", -"DE-KICKS sales is still \"aligning\".
They will get back to you in {n} days.":"Il commerciale DE-KICKS si sta ancora “allineando”.
Ti ricontatteranno tra {n} giorni.", -"Port up at {ix}!
Now request peering, or join the route server.":"Porta attiva a {ix}!
Ora richiedi il peering, o entra nel route server.", -"Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.":"Porta remota attiva a {ix}.
Passa da un reseller, quindi aspettati un ricarico, una porta affollata e qualche rete che non ti rivolge la parola. Qui il route server è tuo amico.", -"DE-KICKS Group · Customer Success":"DE-KICKS Group · Customer Success", -"Wait! Before you go…":"Aspetta! Prima che tu vada…", -"We value our partnership too much to let a little thing like price get in the way.":"Teniamo troppo alla nostra partnership per lasciare che una sciocchezza come il prezzo si metta in mezzo.", -"Retention offer":"Offerta di fidelizzazione", -"40% off for 6 months":"40% di sconto per 6 mesi", -"After that, the normal price returns, plus a small loyalty administration fee.":"Dopodiché torna il prezzo normale, più una piccola commissione di gestione fedeltà.", -"Stay, take the discount":"Resta, prendi lo sconto", -"Leave anyway":"Vai via comunque", -"Route server session up.
You now peer with every open network on this IX, in one go.":"Sessione col route server attiva.
Ora fai peering con tutte le reti open di questo IX, in un colpo solo.", -"Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.":"Firmato con DE-KICKS.
Benvenuto in famiglia. Per favore, non dire a nessuno quanto paghi.", -"\"Just this once.\"
Your account manager found a special discount. Do not tell the others.":"“Solo per questa volta.”
Il tuo account manager ha trovato uno sconto speciale. Non dirlo agli altri.", -"\"After consulting with management…\"
The price went up. Management was consulted.":"“Dopo un confronto con il management…”
Il prezzo è salito. Il management è stato consultato.", -"Haggling paused.
{why}":"Trattativa in pausa.
{why}", -"DE-KICKS will \"circle back\".
Expect an email titled \"Quick question 🙂\" within the hour.":"DE-KICKS ti “ricontatterà”.
Entro un’ora aspettati una mail intitolata “Domandina veloce 🙂”.", -"Opted out of {name}.
It took four clicks, a survey and a \"we're sad to see you go\" page.":"Hai disattivato {name}.
Ci sono voluti quattro clic, un sondaggio e una pagina “ci dispiace vederti andare via”.", -"40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.":"40% di sconto su {ix} per 6 mesi.
Il tuo account manager tira un sospiro di sollievo. Le clausole in piccolo leggile dopo.", -"Script removed. Plain Auto-TE is back in charge.":"Script rimosso. Torna al comando l’Auto-TE semplice.", -"✓ {n} rule OK":"✓ {n} regola OK", -"✓ {n} rules OK":"✓ {n} regole OK", -"served {a} → {b}":"servito {a} → {b}", -"transit {a}/mo → {b}/mo":"transit {a}/mese → {b}/mese", -"spilled {g} onto alternate paths":"deviato {g} su percorsi alternativi", -"blackholed {g}":"blackhole {g}", -"commit failed":"commit fallito", -"Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.":"Commit completato. Traffico giù del {p}.
Ti è appena scappato il dito grosso sulla tua stessa rete. Un classico. Correggi lo script dalla scheda NOC.", -"Commit complete.":"Commit completato.", -"{n} rule live, transit bill down {p}.":"{n} regola attiva, bolletta del transit giù del {p}.", -"{n} rules live, transit bill down {p}.":"{n} regole attive, bolletta del transit giù del {p}.", -"{n} rule live.":"{n} regola attiva.", -"{n} rules live.":"{n} regole attive.", -"Auto-TE unlocks at customer level 3.":"Auto-TE si sblocca al livello clienti 3.", -"Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.":"Auto-TE attivo.
Ora il controller sposta il traffico in eccesso su percorsi alternativi quando quello più corto è pieno.", -"Copied. Paste it into your favourite NOC chat.":"Copiato. Incollalo nella tua chat NOC preferita.", -"{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at":"{name} (AS{asn}): {tier}, picco di {peak}. Costruisci il tuo internet su", -"Registered.
Flights booked, badge printed, business cards ordered in the wrong font.":"Iscritto.
Voli prenotati, badge stampato, biglietti da visita ordinati col font sbagliato.", -"Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.":"Secondo sito attivo a {city}.
{b} è collegato a {a} dal tuo anello metro. Sposta lì qualche uplink dalle schede Transit e Peering.", -"Second LAG member added.
One member in each building now, so a dark building only takes out half the port.":"Secondo membro LAG aggiunto.
Ora c’è un membro per edificio, così un edificio al buio si porta via solo metà porta.", -"{net} declined.
{why}":"{net} ha rifiutato.
{why}", -"{net} accepted!":"{net} ha accettato!", -"They checked your PearingDB page and liked the traffic numbers.":"Hanno controllato la tua pagina PearingDB e i numeri del traffico gli sono piaciuti.", -"BGP session established.":"Sessione BGP stabilita.", -"{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nuova sessione a {ix}.
Reti piccole, ma fanno numero, e contano tutte per il club.", -"{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nuove sessioni a {ix}.
Reti piccole, ma fanno numero, e contano tutte per il club.", -"{net} declined the PNI.
{why}":"{net} ha rifiutato il PNI.
{why}", -"{net} says not yet.
Send them {min}+ Gbps first.":"{net} dice: non ancora.
Prima mandagli {min}+ Gbps.", -"{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.":"{cache} installata a {city}!
{net} te l’ha spedita gratis. Tu paghi {mo}/mese di corrente.", -"You need a POP in every city on the contract first.":"Prima ti serve un POP in ogni città del contratto.", -"Not enough free channels on that fiber any more.":"Su quella fibra non ci sono più abbastanza canali liberi.", -"Too late: the event has already started.":"Troppo tardi: l’evento è già iniziato.", -"Signed!":"Firmato!", -"The event is already running.
The organisers will not let you walk out now.":"L’evento è già in corso.
Gli organizzatori non ti lasciano andare via adesso.", -"Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.":"Riavviato.
Il router di {city} sta ripartendo. Sarà su domani, {chip} permettendo.", -"Fixed. {what} resolved early.":"Sistemato. {what}: risolto in anticipo.", -"A {fab} fabric unlocks at customer level {lv}.":"Un fabric {fab} si sblocca al livello clienti {lv}.", -"{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.":"{ix} ora gira su un fabric {fab}.
Spazio per {max} membri. Aspettati qualche nuovo arrivo.", -"You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.":"Hai fondato {ix}!
Le reti si uniranno col tempo e ti pagheranno le porte. I membri open fanno peering con te gratis.", -"No cable available for that route right now.":"Al momento non c’è nessun cavo disponibile per quella tratta.", -"{wave} lit!":"{wave} accesa!", -"Too many circuits for a smaller port.":"Troppi circuiti per una porta più piccola.", -"{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.":"Porta {fab} attiva a {city}.
Ora ordina circuiti virtuali verso altre città sul loro fabric.", -"Cancel the circuits on this port first.":"Prima disdici i circuiti su questa porta.", -"Not enough room on your fabric port. Upgrade it first.":"Non c’è abbastanza spazio sulla tua porta fabric. Prima fai l’upgrade.", -"Not enough room on your {fab} port in {city}.":"Non c’è abbastanza spazio sulla tua porta {fab} a {city}.", -"Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.":"Circuito attivo in 59 secondi.
{vxc} su {fab}: {a} → {b}.", -"Now grab an IX port there for remote peering.":"Ora prendi lì una porta IX per il peering remoto.", -"Fabric port in {city} is full.":"La porta fabric a {city} è piena.", -"Application filed.
Your local partner says about 45 days. Probably.":"Domanda presentata.
Il tuo partner locale dice circa 45 giorni. Forse.", -"{tier} scrubbing unlocks at customer level {lv}.":"Lo scrubbing {tier} si sblocca al livello cliente {lv}.", -"{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.":"Centro di scrubbing {tier} attivo a {city}.
Gli attacchi fino a {g} vengono ripuliti, e puoi vendere protezione DDoS.", -"Scrubbing upgraded to {tier}.":"Scrubbing aggiornato a {tier}.", -"Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.":"Add-on clean-pipe attivato su {net}.
Ripuliscono un flood prima che raggiunga la tua porta qui, per {mo}/mese.", -"Clean-pipe add-on removed from {net}.":"Add-on clean-pipe rimosso da {net}.", -"{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.":"La PNI {net} è ora un punto di strozzatura sacrificale.
Un flood da lì muore sulla porta piccola invece che dentro la tua rete, ma il traffico legittimo ci passa a metà capacità.", -"{net} PNI is back to normal.":"La PNI {net} è tornata normale.", -"No IX in {city} to announce a blackhole to.":"Nessun IX a {city} a cui annunciare un blackhole.", -"IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.":"Blackhole IX annunciato a {city}.
Circa metà dei membri rispetta il /32 e scarta la spazzatura. Il cliente resta online.", -"IX blackhole withdrawn.":"Blackhole IX ritirato.", -"SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.":"Violazione SLA: {name}.
L’attacco su {city} è passato e il tuo cliente protetto è andato giù. Devi {pen} in crediti SLA.", -"Router added":"Router aggiunto", -"Unplug something first.
{used} ports are in use, and one router fewer only has {max}.":"Prima stacca qualcosa.
Ci sono {used} porte in uso, e con un router in meno ne avresti solo {max}.", -"The {model} won't fit.
{why}":"Il {model} non ci sta.
{why}", -"{model} unlocks at customer level {lv}.":"{model} si sblocca al livello clienti {lv}.", -"Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.":"Sostituzione dell’unico router di {city} con un {model}. Il nuovo {how}. Di nuovo su tra {n} giorni.", -"Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.":"Sostituzione dell’unico router di {city} con un {model}. Finestra di manutenzione: di nuovo su domani.", -"Maintenance window in {city}":"Finestra di manutenzione a {city}", -"One router, and this one takes forever to boot. Back in {n} days.":"Un solo router, e questo ci mette una vita a fare il boot. Di nuovo su tra {n} giorni.", -"One router means downtime during the swap. Back tomorrow.":"Un solo router vuol dire downtime durante la sostituzione. Di nuovo su domani.", -"Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.":"Upgrade progressivo a {city}
{n} × {model}, sostituiti uno alla volta. Zero downtime.", -"Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.":"Primo colpo di piccone!
La tua fibra da {a} a {b}. Tra permessi e scavi ci vorranno circa {n} giorni.", -"Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.":"IRU di dark fiber firmato.
{a}–{b} sarà giuntata e consegnata in circa 30 giorni.", -"Can't add {optic}.
{why}":"Impossibile aggiungere {optic}.
{why}", -"Line system swap
All channels are dark for a day while the ROADMs go in.":"Cambio del line system
Tutti i canali restano spenti per un giorno mentre si installano i ROADM.", -"Generator!":"Generatore!", -"Start {name}?":"Vuoi iniziare {name}?", -"{name} will be replaced. Export it from the menu first if you want to keep it.":"La partita con {name} verrà sostituita. Se vuoi tenerla, prima esportala dal menu.", -"Start the scenario":"Inizia lo scenario", -"Start the weekly challenge?":"Vuoi iniziare la sfida settimanale?", -"Start the challenge":"Inizia la sfida", -"Import failed.
That save is damaged and could not be loaded. Your current game is untouched.":"Importazione fallita.
Quel salvataggio è danneggiato e non si può caricare. La partita in corso non è stata toccata.", -"Welcome back, {name}.
Imported and saved on this device.":"Bentornato, {name}.
Importato e salvato su questo dispositivo.", -"Your game saves itself every few seconds on this device.":"La partita si salva da sola ogni pochi secondi su questo dispositivo.", -"Back to the map":"Torna alla mappa", -"Export save download a file":"Esporta salvataggio scarica un file", -"Import a save from a file":"Importa un salvataggio da un file", -"Share your network image card":"Condividi la tua rete come immagine", -"Scenarios & weekly challenge":"Scenari e sfida settimanale", -"How to play":"Come si gioca", -"What’s new in {v}":"Novità della {v}", -"Start a new network":"Crea una nuova rete", -"Start a new network?":"Vuoi creare una nuova rete?", -"{name} and everything it owns will be deleted. This cannot be undone.":"{name} e tutto ciò che possiede verranno cancellati. Non si torna indietro.", -"Your network":"La tua rete", -"Delete and start over":"Cancella e ricomincia", -"Unlocks at customer level {n}.":"Si sblocca al livello cliente {n}.", -"Needs a ROADMaster 9000 line system.":"Serve un sistema di linea ROADMaster 9000.", -"Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).":"Troppo lontano anche alla velocità più bassa: qui una tratta ottica è di {span} km e l’ottica arriva a {max} km. Aggiungi un sito di rigenerazione (Sistema di linea).", -"{sys} is full ({max} channels, {sold} sold to customers).":"{sys} è pieno ({max} canali, {sold} venduti ai clienti).", -"{sys} is full ({max} channels).":"{sys} è pieno ({max} canali).", -"Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.":"Salvataggio esportato.
{file} è nei tuoi download. Aprilo su un altro dispositivo con “Importa un salvataggio”.", -"That file is not valid JSON.":"Quel file non è un JSON valido.", -"That does not look like a Series of Tubes save.":"Non sembra un salvataggio di Series of Tubes.", -"That network went bankrupt. It cannot be brought back, only mourned.":"Quella rete è finita in bancarotta. Non si può resuscitare, solo piangere.", -"That save has a POP in a city this version does not know ({city}).":"Quel salvataggio ha un POP in una città che questa versione non conosce ({city}).", -"Unnamed network":"Rete senza nome", -"That file is too big to be a save.":"Quel file è troppo grande per essere un salvataggio.", -"Import failed.
{err}":"Importazione fallita.
{err}", -"Import a save":"Importa un salvataggio", -"Load {name}?":"Caricare {name}?", -"{cash} in the bank":"{cash} in cassa", -"{n} POP":"{n} POP", -"{n} POPs":"{n} POP", -"saved by v{ver}":"salvato dalla v{ver}", -"This replaces {name}. Export it first if you want to keep it.":"Sostituisce {name}. Esportala prima, se vuoi tenerla.", -"Load this network":"Carica questa rete", -"Cancel":"Annulla", -"{n}d left":"ancora {n}g", -"{n} incident":"{n} incidente", -"{n} incidents":"{n} incidenti", -"All quiet":"Tutto ok", -"Goals":"Obiettivi", -"Deals":"Offerte", -"Reward {cash}":"Premio {cash}", -"Customer level {lv}: {name}":"Livello cliente {lv}: {name}", -"Next: {req} unlocks {what}":"Prossimo: {req} sblocca {what}", -"Every customer type is unlocked. Go get those terabits.":"Ogni tipo di cliente è sbloccato. Vai a prenderti quei terabit.", -"No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.":"Nessuna offerta aperta al momento. Le aziende cercano reti con un POP nella loro città. Ne spuntano di nuove ogni poche settimane.", -"{n} special requirement":"{n} requisito speciale", -"{n} special requirements":"{n} requisiti speciali", -"Accept":"Accetta", -"Go there":"Vai lì", -"Decline":"Rifiuta", -"Needs a POP in {cities}":"Serve un POP a {cities}", -"Open NOC dashboard":"Apri la dashboard del NOC", -"Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.":"Il tuo Network Operations Center. Qui arriva anche ogni notifica. Su internet le cose si rompono di continuo. Link ridondanti e più upstream permettono al traffico di reinstradarsi da solo.", -"DDoS scrubbing":"Scrubbing DDoS", -"On · {city}":"On · {city}", -"None (build one from a POP's Infra tab)":"Nessuno (costruiscine uno dalla scheda Infra di un POP)", -"On · moving {g} onto alternate paths":"On · sposta {g} su percorsi alternativi", -"Off":"Off", -"Turn Auto-TE off":"Spegni Auto-TE", -"Turn Auto-TE on":"Accendi Auto-TE", -"Edit RouteScript":"Modifica RouteScript", -"Write a RouteScript":"Scrivi un RouteScript", -"{n} rules live":"{n} regole attive", -"has errors, not running":"ha errori, non gira", -"controller off":"controller spento", -"blackholing {g}":"{g} in blackhole", -"Unlocks at customer level 3":"Si sblocca al livello cliente 3", -"Not installed":"Non installato", -"Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.":"Il traffico prende il percorso più breve, anche quando è pieno. Un controller di traffic engineering riversa l’eccesso sui percorsi migliori successivi che hanno spazio.", -"Install Auto-TE {cost} + {mo}/mo":"Installa Auto-TE {cost} + {mo}/mese", -"Congested links":"Link congestionati", -"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.":"Alza la metrica di un link pieno così il traffico preferisce un altro percorso, potenzialo, oppure installa Auto-TE.", -"{p} full":"{p} pieno", -"Inspect":"Ispeziona", -"Ports, caches and routers running hot":"Porte, cache e router sotto sforzo", -"dropping or overflowing":"scarta o trabocca", -"All systems green. Enjoy it while it lasts.":"Tutto verde. Goditela finché dura.", -"Auto-fix in {n} day":"Si risolve da solo tra {n} giorno", -"Auto-fix in {n} days":"Si risolve da solo tra {n} giorni", -"{g} lost":"{g} persi", -"Incidents so far":"Incidenti finora", -"Survived with no impact":"Superati senza danni", -"Transit":"Transit", -"{p}% of traffic":"{p}% del traffico", -"transit ${price}/Gbps":"transit ${price}/Gbps", -"The long tail":"La coda lunga", -"{n} small networks":"{n} piccole reti", -"{p}% of traffic between them, scattered across exchanges. You peer with {n}.":"{p}% del traffico in tutto, sparse tra vari exchange. Sei in peering con {n}.", -"Hide":"Nascondi", -"Show":"Mostra", -"{g} of eyeballs":"{g} di eyeball", -"Transit {x}× pricier":"Transit {x}× più caro", -"Underserved: users grow 60% faster":"Poco servita: gli utenti crescono il 60% più in fretta", -"IX: {ix}":"IX: {ix}", -"Your POP":"Il tuo POP", -"Open a POP here":"Apri un POP qui", -"A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.":"Un POP (point of presence) è il tuo router in un rack, qui. Poi collegalo: posa fibra da uno dei tuoi POP, o compra transit proprio qui.", -"Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.":"Include l’obbligatoria scatola governativa nel tuo rack: {cost} + {mo}/mese. Arriva con il suo ascoltatore personale.", -"Build POP {cost} + {mo}/mo":"Costruisci POP {cost} + {mo}/mese", -"Or drag from one of your routers to this city to lay fiber and build the POP in one go.":"Oppure trascina da uno dei tuoi router a questa città per posare la fibra e costruire il POP in un colpo solo.", -"Internet Exchange":"Internet Exchange", -"Remote peering at the IX":"Remote peering all’IX", -"Remote peering":"Remote peering", -"Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.":"Fai peering a {ix} senza costruire un POP. Ordina un circuito virtuale fin qui da uno dei tuoi POP tramite {fabs}.", " or ":" o ", -"Order circuit anyway":"Ordina comunque il circuito", -"Who's here":"Chi c’è qui", -"AI and cloud campuses nearby: {list}":"Campus AI e cloud nei dintorni: {list}", -"Transit sellers: {list}":"Venditori di transit: {list}", -"none":"nessuno", -"Fabrics: {list}":"Fabric: {list}", -"IX members on {ix}: {n}":"Membri IX su {ix}: {n}", -"No IX here yet. You could found one later.":"Qui non c’è ancora un IX. Più avanti potresti fondarne uno.", -"Peering":"Peering", -"Infra":"Infra", -"This POP is down":"Questo POP è down", -"Customers here get nothing until it's back.":"I clienti qui restano a secco finché non torna su.", -"Router maxed out":"Router al limite", -"Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.":"I tuoi router qui stanno inoltrando {load} su {cap}. Il traffico viene scartato. Potenzia o aggiungi un router nella scheda Infra.", -"Open Infra":"Apri Infra", -"Home broadband":"Banda larga domestica", -"Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.":"Vendi internet alle case di qui. Parte da circa {start} e cresce verso {max} finché il servizio è buono. Rende {rate} per Gbps servito, ogni mese.", -"Launch broadband {cost}":"Lancia la banda larga {cost}", -"Eyeball demand":"Domanda eyeball", -"{a} of {b}":"{a} su {b}", -"Served in {city}":"Servito a {city}", -"Revenue":"Ricavi", -"Network-wide peering ratio":"Quota di peering su tutta la rete", -"More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.":"Più traffico su peering, PNI e cache significa latenza più bassa, e gli utenti felici crescono più in fretta.", -"Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.":"I clienti sono scontenti e se ne vanno. Aggiungi capacità upstream, peering o un link più grosso.", -"Ad campaign: {n}d left":"Campagna pubblicitaria: ancora {n}g", -"Run ad campaign $8k · 2× growth 30d":"Lancia una campagna $8k · crescita 2× per 30g", -"Business customers":"Clienti aziendali", -"No businesses yet. Offers pop up as $ bubbles on the map.":"Ancora nessuna azienda. Le offerte spuntano come bolle $ sulla mappa.", -"carrying {g} per site":"trasporta {g} per sede", -"carrying {g}":"trasporta {g}", -"fiber is down":"la fibra è down", -"serving {v}":"serve {v}", -"needs a scrubbing center":"serve un centro di scrubbing", -"provisioning, {n}d grace":"in attivazione, {n}g di tolleranza", -"Happiness {p}%":"Soddisfazione {p}%", -"Really drop?":"Mollarlo davvero?", -"Drop":"Molla", -"IP transit":"IP transit", -"Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.":"Paga una rete più grande a Gbps e lei porta il tuo traffico verso tutta internet. Fatturato al 95° percentile degli ultimi 30 giorni, con un commit del 20% e un canone di porta. I picchi come i DDoS alzano la bolletta.", -"Nobody sells transit here. Haul your traffic over fiber to a city that has it.":"Qui nessuno vende transit. Porta il tuo traffico via fibra in una città che ce l’ha.", +"!N network unreachable":"!N rete irraggiungibile", +"# 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.", +"# Buy transit from a second upstream, then prefer the cheaper one.":"# Compra transito da un secondo upstream, poi preferisci quello più economico.", +"# Confidence: 100%.":"# Fiducia: 100%.", +"# Customer Care: the people who pay for an SLA come first.":"# Cura del cliente: chi paga uno SLA viene prima.", +"# Keep Calm: one rule, hard to get wrong.":"# Keep calm: una regola, difficile sbagliarla.", +"# 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.", +"# Nothing to move yet: get an IX port or a PNI first.":"# Ancora niente da spostare: prima prendi una porta IX o una PNI.", +"# Peering First: free paths before paid ones.":"# Prima il peering: le strade gratis prima di quelle a pagamento.", +"# Penny Pincher: cheapest upstream first, priciest last.":"# Spilorcio: prima l’upstream più economico, per ultimo il più caro.", +"# 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.", +"# Shields Up: for the length of the attack only.":"# Scudi alzati: solo per la durata dell’attacco.", +"# Suggested by the optimizer from live traffic. It has never been paged at 3 a.m., so check it, then deploy.":"# Suggerito dall’ottimizzatore dal traffico in tempo reale. Non è mai stato svegliato alle 3 di notte, quindi controllalo e poi fai il deploy.", +"# {net}: {g} over the IX. A PNI would take it off the shared port.":"# {net}: {g} via IX. Un PNI lo toglierebbe dalla porta condivisa.", +"# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.":"# {net}: {g} via transit, ma fa peering a {ix} a {city}, dove hai un POP. Prendi una porta lì.", +"# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.":"# {net}: {g} via transit, ma fa peering a {ix}, dove hai un POP. Prendi una porta lì.", +"# ✨ Written by {ai}. Prompt: “make my network good”.":"# ✨ Scritto da {ai}. Prompt: “rendi buona la mia rete”.", "${price} per Gbps / month · billed on 95th percentile":"${price} per Gbps / mese · fatturato al 95° percentile", -"OUTAGE":"DISSERVIZIO", -"CN-Too premium on ✓":"CN-Too premium attivo ✓", -"Switch to CN-Too premium {x}× price · ~3% loss into China":"Passa a CN-Too premium prezzo {x}× · ~3% di perdita verso la Cina", -"Top destinations on this port":"Destinazioni principali su questa porta", -"95th pct {p95} · commit {commit} · bill {bill}/mo":"95° pct {p95} · commit {commit} · fattura {bill}/mese", -"Upgrade all to {port} {cost} + {mo}/mo":"Porta tutte a {port} {cost} + {mo}/mese", -"Upgrade {port} {cost} + {mo}/mo":"Passa a {port} {cost} + {mo}/mese", -"+ LAG member {cost} + {mo}/mo":"+ membro LAG {cost} + {mo}/mese", -"− member":"− membro", -"Really cancel?":"Annullare davvero?", -"{port} {cost} + {mo}/mo":"{port} {cost} + {mo}/mese", -"Private interconnects (PNI)":"Interconnessioni private (PNI)", -"A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.":"Un cross-connect dedicato verso una sola rete in {dc}. Richiede più traffico del peering all’IX, ma ha una capacità tutta sua.", -"Really remove?":"Rimuovere davvero?", -"Remove":"Rimuovi", -"Paid peering: {price}/mo on top":"Peering a pagamento: {price}/mese in più", -"Embedded caches":"Cache integrate", -"CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.":"I CDN mettono server cache gratis dentro il tuo POP. Gran parte del loro traffico viene così servita direttamente qui, senza transit e senza porta IX.", -"from {net}":"da {net}", -"{n} box":"{n} box", -"{n} boxes":"{n} box", -"100G per box":"100G per box", -"Needs {min} Gbps of traffic to {net} (now {now})":"Servono {min} Gbps di traffico verso {net} (ora {now})", -"+ box":"+ box", -"Request":"Richiedi", -"The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.":"Il modello decide la tua interfaccia più veloce e quanto può inoltrare questo POP. Più router aggiungono capacità e sopravvivono ai crash.", -"Up to {pn} interfaces · {ports} ports and {cap} per router":"Interfacce fino a {pn} · {ports} porte e {cap} per router", -"Router ports":"Porte router", -"{used} / {max} in use":"{used} / {max} in uso", -"Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.":"Tutte le porte sono occupate. Aggiungi un router o passa a un modello con più porte prima di collegare altro.", -"Forwarding chip":"Chip di forwarding", -"Boot time":"Tempo di boot", -"~{n} min · a slow one":"~{n} min · una lumaca", -"~{n} min":"~{n} min", -"This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.":"Questo chassis ci mette una vita a fare il boot: i crash durano di più, e sostituire l’unico router qui richiede 3 giorni. Un secondo router lo nasconde.", -"Forwarding load":"Carico di forwarding", -"Maxed out. Traffic here is being dropped.":"Al limite. Qui il traffico viene scartato.", -"{model} level {lv}":"{model} livello {lv}", -"Upgrade to {model} {cost} + {mo}/mo":"Passa a {model} {cost} + {mo}/mese", -"Hide other models":"Nascondi altri modelli", -"Other models":"Altri modelli", -"Add router {cost} + {mo}/mo":"Aggiungi router {cost} + {mo}/mese", -"Remove one":"Rimuovine uno", -"Rolling upgrade: one router at a time, no downtime.":"Upgrade a rotazione: un router alla volta, zero downtime.", -"With one router, the upgrade needs a maintenance window: this POP goes dark for a day.":"Con un solo router, l’upgrade richiede una finestra di manutenzione: questo POP resta al buio per un giorno.", -"A crash here only costs one router’s capacity for a few days.":"Qui un crash costa solo la capacità di un router per qualche giorno.", -"One router is a single point of failure.":"Un solo router è un single point of failure.", -"Metro diversity":"Diversità metropolitana", "(split)":"(diviso)", -"Nothing plugged in here yet":"Qui non è ancora collegato niente", -"Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.":"Due edifici uniti dal tuo anello metropolitano. Un blackout o un addetto alle pulizie in uno lascia l’altro attivo a metà capacità. Gli uplink funzionano solo finché il loro sito è su, a meno che tu non li divida: scegli Entrambi su una porta per mettere membri LAG in ciascun edificio.", -"Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.":"È tutto in un solo edificio. Sposta alcuni uplink sull’altro sito dalle schede Transit e Peering.", -"Second site and metro ring":"Secondo sito e anello metropolitano", -"Really close it?":"Chiuderlo davvero?", -"Close site B":"Chiudi il sito B", -"Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.":"Per ora {city} è un solo edificio. Un blackout, un guasto all’aria condizionata o un addetto alle pulizie con l’aspirapolvere spengono tutta la città, e un secondo router non aiuta. Un secondo data center dall’altra parte della città, unito dal tuo anello metropolitano, tiene su metà del POP.", -"Add a second site {cost} + {mo}/mo":"Aggiungi un secondo sito {cost} + {mo}/mese", -"Power":"Alimentazione", -"Backup generator":"Generatore di riserva", -"Installed":"Installato", -"None":"Nessuno", -"Power cuts are covered.":"I blackout sono coperti.", -"Install generator {cost} + {mo}/mo":"Installa generatore {cost} + {mo}/mese", -"DDoS scrubbing center":"Centro di scrubbing DDoS", -"Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.":"Ripulisce gli attacchi per tutta la tua rete, fino alla sua capacità di banda pulita, e sblocca i contratti di protezione DDoS. Il traffico pulito torna via GRE, che può riaprire il buco nero MSS.", -"On-demand (engages in {n}d)":"On-demand (si attiva tra {n}g)", -"Always-on":"Sempre attivo", -"Switch to always-on":"Passa a sempre attivo", -"Switch to on-demand cheaper":"Passa a on-demand più economico", -"Upgrade to {tier} {cost}":"Aggiorna a {tier} {cost}", -"Really shut it down?":"Spegnerlo davvero?", -"Shut down":"Spegni", -"Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.":"Ripulisce gli attacchi DDoS per tutta la tua rete, fino alla sua capacità di banda pulita, e sblocca i contratti di protezione DDoS per le aziende.", -"Build {tier} {cost} + {mo}/mo":"Costruisci {tier} {cost} + {mo}/mese", -"Interconnection fabrics (NNI)":"Fabric di interconnessione (NNI)", -"Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.":"Compra una porta su un fabric, poi ordina circuiti virtuali verso gli altri tuoi POP o verso un IX remoto. Veloce e flessibile, ma condividi il loro fabric.", -"{port} port · {price}/mo":"Porta {port} · {price}/mese", -"{g} of circuits":"{g} di circuiti", -"New circuit":"Nuovo circuito", -"Remove port":"Rimuovi porta", -"{port} port {price}/mo":"Porta {port} {price}/mese", -"{port} port {price}":"Porta {port} {price}", -"free":"gratis", -"Fiber from {city}":"Fibra da {city}", -"Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.":"Trascina da questo router a qualsiasi città sulla mappa per posare un nuovo link. Due percorsi verso ogni POP vogliono dire che una ruspa non può metterti offline.", -"No links yet.":"Ancora nessun link.", -"diverse":"diversificato", -"CUT":"TAGLIATO", -"virtual circuit via {fab}":"circuito virtuale via {fab}", -"dark fiber IRU":"dark fiber IRU", -"ready in {n}d":"pronto tra {n}g", -"subsea":"sottomarino", -"terrestrial":"terrestre", -"Internet Exchanges":"Gli Internet Exchange", -"{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.":"A {city} si fanno concorrenza {n} exchange. I membri si sovrappongono, ma non del tutto, e gli sfidanti fanno prezzi più bassi dell’incumbent. Le reti piccole spesso stanno su uno solo.", -"challenger":"sfidante", -"incumbent":"incumbent", -"Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.":"Gestire un exchange nella Cina continentale richiede tutt’altra licenza. Fai peering con le reti cinesi tramite PNI, oppure incontrale a Hong Kong.", -"There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.":"A {city} non c’è ancora un IX. Fondane uno: le reti si uniscono col tempo, ti pagano le porte e fanno peering con te gratis.", -"Found your own IX {cost} + {mo}/mo":"Fonda il tuo IX {cost} + {mo}/mese", -"Build a POP here first.":"Prima costruisci un POP qui.", -"{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.":"{ix} è uno switch condiviso. Con una porta fai peering gratis con tutti i membri. Membri: {list}.", -"nobody yet":"ancora nessuno", -", plus {n} small network":", più {n} piccola rete", -", plus {n} small networks":", più {n} piccole reti", -"Ports at {p}% of the usual price.":"Porte al {p}% del prezzo normale.", -"Ports up to {port} are free.":"Le porte fino a {port} sono gratis.", -"Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.":"Gestito da un’associazione no-profit. Prezzi pubblici a una frazione di quanto chiedono gli altri exchange, e ci sono quasi tutti.", -"Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.":"Gestito da DE-KICKS Group. Nessun listino pubblico. Chiedi alle vendite un preventivo personalizzato e porta la tua faccia da trattativa.", -"{port} port Price on request ☎":"Porta {port} Prezzo su richiesta ☎", -"Your own fabric · {name}":"Il tuo fabric · {name}", -"DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).":"Prezzi personalizzati DE-KICKS: {p}% di quanto chiederebbe un IX normale (promo, ancora {n} giorni).", -"DE-KICKS personalised pricing: {p}% of what a normal IX would charge.":"Prezzi personalizzati DE-KICKS: {p}% di quanto chiederebbe un IX normale.", -"auto-enrolled":"iscritto d’ufficio", -"Lose exclusive benefits?":"Perdere i vantaggi esclusivi?", -"Opt out":"Disiscriviti", -"Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.":"Porta remota tramite un rivenditore: prezzo 1,5×, 80% utilizzabile, e {n} membro qui rifiuta i peer remoti.", -"Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.":"Porta remota tramite un rivenditore: prezzo 1,5×, 80% utilizzabile, e {n} membri qui rifiutano i peer remoti.", -"Members paying you":"Membri paganti", -"{n} of up to {max} · {price}/mo":"{n} su un massimo di {max} · {price}/mese", -"{name} fabric level {lv}":"Fabric {name} livello {lv}", -"Upgrade fabric to {name} {cost} + {mo}/mo":"Passa al fabric {name} {cost} + {mo}/mese", -"A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.":"Un fabric più grande porta più traffico e ha posto per più membri. Il tuo router qui deve comunque starci dietro.", -"Biggest fabric money can buy.":"Il fabric più grosso che si possa comprare.", -"Upgrade {port} {price}/mo":"Passa a {port} {price}/mese", -"Upgrade {port} {price}":"Passa a {port} {price}", +"+ Clean-pipe {mo}/mo · scrubs DDoS upstream":"+ Clean-pipe {mo}/mese · ripulisce i DDoS a monte", +"+ LAG member {cost} + {mo}/mo":"+ membro LAG {cost} + {mo}/mese", "+ LAG member {price}":"+ membro LAG {price}", -"Leave route server":"Lascia il route server", -"Join route server":"Entra nel route server", -"Really leave?":"Uscire davvero?", -"Leave IX":"Esci dall’IX", -"Request all {n} willing peers":"Richiedi tutti i {n} peer disponibili", -"tiny":"minuscola", -"Member":"Membro", -"via RS":"via RS", -"Peered ✓":"In peering ✓", -"Click to tear down":"Clicca per chiudere la sessione", -"Virtual circuit · {name} · {km} km":"Circuito virtuale · {name} · {km} km", -"{name} is down. Nothing you can do but wait, or have another path.":"{name} è giù. Non puoi far altro che aspettare, o avere un altro percorso.", -"Capacity":"Capacità", -"{name} circuit":"Circuito {name}", -"Monthly":"Mensile", -"Remote peering leg into {ix}.":"Tratta di remote peering verso {ix}.", -"Cancel circuit":"Disdici il circuito", -"Egress:":"Uscita:", -"What's on this link":"Cosa passa su questo link", -"No traffic right now.":"Nessun traffico al momento.", -"DDoS junk":"Spazzatura DDoS", -"L2VPN customers":"Clienti L2VPN", -"Totals for all {n} links between these cities.":"Totali di tutti i {n} link tra queste città.", -"Content from":"Contenuti da", -"Enters your network at":"Entra nella tua rete a", -"Going to customers in":"Diretto ai clienti a", -"Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Fonte principale: {egress} a {city}. Impostala su “Solo backup”, dai ai clienti un’uscita più vicina (peering, una cache, transit locale) o alza la metrica di questo link.", -"Routing metric":"Metrica di routing", -"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"I tuoi router scelgono il percorso a costo minore. Alza la metrica per spingere il traffico su altri percorsi. “Solo backup” lo lascia a riposo finché il resto funziona. Vale per tutti i link tra queste due città.", -"Behind the Great Firewall":"Dietro il Great Firewall", -"Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"La Cina continentale gioca con regole tutte sue. {list} e altri servizi stranieri qui sono bloccati, quindi gli utenti raggiungono soprattutto reti cinesi. Il traffico che attraversa il confine perde circa il {pct} tra filtri e congestione, a meno che non viaggi su una rotta premium: transit CN-Too o un circuito transfrontaliero premium (entrambi venduti solo a Hong Kong), oppure un PNI con una rete cinese. Qui i ricavi per utente sono più bassi.", -"Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Per costruire infrastrutture qui, le reti straniere hanno bisogno di una joint venture locale e di una licenza operativa.", -"Apply for a license {price} + {mo}/mo · ~45 days":"Richiedi una licenza {price} + {mo}/mese · ~45 giorni", -"License paperwork in progress: {n} days left.":"Pratiche per la licenza in corso: mancano {n} giorni.", -"Your joint venture holds an operating license.":"La tua joint venture ha una licenza operativa.", -"Your traffic crossing the border":"Il tuo traffico che passa il confine", -"Lost on the way":"Perso per strada", -"Dark fiber · {kind} · {km} km":"Dark fiber · {kind} · {km} km", -"your own build":"costruita da te", -"leased IRU":"IRU in affitto", -"Under construction":"In costruzione", -"Being spliced":"Giunzioni in corso", -"Permits, trenching, splicing":"Permessi, scavi, giunzioni", -"IRU handover":"Consegna dell’IRU", -"{n} days left":"mancano {n} giorni", -"Hire extra crews {price} · −30 days":"Assumi squadre extra {price} · −30 giorni", -"You can pre-install optics now so it lights up the day it's ready.":"Puoi già installare le ottiche, così si accende il giorno in cui è pronta.", -"Dark!":"Al buio!", -"{n} of {max} channels lit":"{n} di {max} canali accesi", -"{n} sold as alien waves":"{n} venduti come alien wave", -"Latency":"Latenza", -"Right-of-way upkeep":"Manutenzione servitù di passaggio", -"IRU lease":"Canone IRU", -"{n} amp huts":"{n} shelter amplificatori", -"This fiber is dark. Add optics below to carry traffic.":"Questa fibra è spenta. Aggiungi le ottiche qui sotto per trasportare traffico.", -"Optics":"Ottiche", -"Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.":"Ogni canale è una coppia di ottiche, una per estremità. Le ottiche ZR+ si infilano direttamente nei tuoi router. I transponder stanno su uno scaffale.", -"{g} to {km} km":"{g} fino a {km} km", -"Runs at {g} per channel on this route (long-haul mode).":"Su questa tratta va a {g} per canale (modalità long-haul).", -"{n} regen site would bring it back to {g}.":"{n} sito di rigenerazione lo riporterebbe a {g}.", -"{n} regen sites would bring it back to {g}.":"{n} siti di rigenerazione lo riporterebbero a {g}.", -"Regen sites":"Siti di rigenerazione", -"{n} · optical spans of {km} km":"{n} · tratte ottiche da {km} km", -"A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.":"Un sito di rigenerazione riconverte la luce in bit a metà strada e la rimanda fresca, così le ottiche devono arrivare solo al sito successivo. Ognuno richiede una scheda di rigenerazione per ogni canale acceso. {price}/mese a sito per la casupola.", "+ Regen site {price}":"+ Sito di rigenerazione {price}", -"− Regen site":"− Sito di rigenerazione", -"Those optics need the regen site.
Remove the long-haul channels first, or keep the site.":"Quelle ottiche hanno bisogno del sito di rigenerazione.
Rimuovi prima i canali long-haul, oppure tieni il sito.", -"Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.":"Il sito di rigenerazione {n} è attivo.
Le tratte ottiche su {a}–{b} ora sono di {km} km.", -"Regen site removed.":"Sito di rigenerazione rimosso.", -"{n} lit":"{n} accesi", -"Line system":"Sistema di linea", -"{n} amplifiers":"{n} amplificatori", -"Spares kit on ✓":"Kit ricambi attivo ✓", -"Keep a spares kit {price}/mo":"Tieni un kit ricambi {price}/mese", -"Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.":"Ottiche e schede amplificatore di scorta sullo scaffale trasformano guasti hardware da più giorni in sostituzioni da un giorno.", -"Really give it up?":"Rinunciare davvero?", -"Abandon the fiber":"Abbandona la fibra", -"Cancel the IRU":"Disdici l’IRU", -"Offers here":"Offerte qui", -"They need the full internet. Your reach is {pct}.":"Vogliono internet per intero. La tua copertura è del {pct}.", -"Needs your own scrubbing center (Infra tab).":"Serve il tuo centro di scrubbing (scheda Infra).", -"Needs a POP in {cities} too.":"Serve un POP anche a {cities}.", -"No":"No", -"Subsea cable":"Cavo sottomarino", -"Terrestrial fiber":"Fibra terrestre", -"Cut!":"Tranciato!", -"Back in {n} days.":"Torna tra {n} giorni.", -"{name} wave":"Wave {name}", -"Cable system":"Sistema di cavi", -"Wave lease":"Affitto della wave", -"Congested. Upgrade it or add a parallel path.":"Congestionato. Potenzialo o aggiungi un percorso parallelo.", -"needs {what}":"serve {what}", -"Redundancy":"Ridondanza", -"Shares a trench with {n} other link. One cut takes them all down.":"Condivide lo scavo con {n} altro link. Un taglio li butta giù tutti.", -"Shares a trench with {n} other links. One cut takes them all down.":"Condivide lo scavo con altri {n} link. Un taglio li butta giù tutti.", -"Runs on its own route. A cut here leaves the other links up.":"Segue un percorso tutto suo. Un taglio qui lascia in piedi gli altri link.", -"This is the only link between these cities. Add a parallel one, or a path through another city.":"È l’unico link tra queste città. Aggiungine uno parallelo, o un percorso che passi da un’altra città.", -"{name} parallel link":"Link parallelo {name}", -"same trench":"stesso scavo", -"diverse route":"percorso diverso", -"Add parallel link":"Aggiungi link parallelo", -"Really decommission?":"Dismettere davvero?", -"Decommission link":"Dismetti il link", -"Caches":"Cache", -"PNIs":"PNI", -"IX peering":"Peering IX", -"L2 circuits":"Circuiti L2", -"Collecting data. Check back in a few days.":"Raccolta dati in corso. Ripassa tra qualche giorno.", -"Tier 1: only a PNI, and only once you are big enough for the Tier 1 club":"Tier 1: solo un PNI, e solo quando sarai abbastanza grande per il club dei Tier 1", -"Open peer: join the route server at {ix}":"Peer aperto: entra nel route server di {ix}", -"Open peer: join the route server at {ix} ({city})":"Peer aperto: entra nel route server di {ix} ({city})", -"Open peer, but not on any IX where you have a POP":"Peer aperto, ma non su nessun IX dove hai un POP", -"Paid peering only: a PNI costs {price}/mo":"Solo peering a pagamento: un PNI costa {price}/mese", -"Ready for a PNI in {city}":"Pronto per un PNI a {city}", -"Will peer at {ix}: request a session":"Farà peering a {ix}: richiedi una sessione", -"PNI in {city}: {why}":"PNI a {city}: {why}", -"Not present in any of your cities yet":"Non è ancora presente in nessuna delle tue città", -"NOC dashboard":"Dashboard NOC", -"Traffic now":"Traffico ora", -"of {g} wanted":"su {g} richiesti", -"Peak":"Picco", -"Delivered, 30 days":"Consegnato, 30 giorni", -"five nines-ish":"cinque nove, più o meno", -"two nines and change":"due nove e spiccioli", -"customers are upset":"clienti furiosi", -"Peering ratio":"Quota peering", -"caches, PNIs and IX":"cache, PNI e IX", -"Monthly P&L":"Bilancio mensile", -"{in} in · {out} out":"{in} entrate · {out} uscite", -"Incidents":"Incidenti", -"{n} shrugged off":"{n} scrollati di dosso", -"Traffic by way out":"Traffico per via d’uscita", -"Demand":"Domanda", -"Money per month":"Soldi al mese", -"Costs":"Costi", -"Where the money goes":"Dove vanno i soldi", -"POPs and routers":"POP e router", -"Waves and fiber":"Wave e fibra", -"IX ports":"Porte IX", -"Cache power":"Corrente per le cache", -"Fabric ports":"Porte fabric", -"Amp huts and spares":"Shelter amplificatori e ricambi", -"Loan repayments":"Rate dei prestiti", -"Investor revenue share":"Quota ricavi agli investitori", -"Licenses and scrubbing":"Licenze e scrubbing", -"The long tail ({n} small networks)":"La coda lunga ({n} reti piccole)", -"Traffic by network (ASN)":"Traffico per rete (ASN)", -"Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.":"Da dove arriva il traffico dei tuoi utenti, e come ti raggiunge. Il transit è l’unica parte che paghi a gigabit; cache, PNI e peering IX sono gratis o a tariffa fissa. Tocca una colonna per ordinare.", -"Network":"Rete", -"Type":"Tipo", -"Traffic":"Traffico", -"How it arrives":"Come arriva", -"Transit cost":"Costo transit", -"Lost":"Perso", -"nothing yet":"ancora niente", -"Who your transit carries":"Chi trasporta il tuo transit", -"The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.":"Le reti che raggiungi pagando il transit, dalla più grande, e il modo più economico di spostare ognuna sul peering. È la tua lista delle cose da fare sulla strada verso il Tier 1.", -"about {price}/mo":"circa {price}/mese", -"Busiest links":"Link più carichi", -"Router load":"Carico dei router", -"Your AS":"Il tuo AS", -"AS number":"Numero AS", -"Prefixes":"Prefissi", -"BGP sessions":"Sessioni BGP", -"Upstreams":"Upstream", -"Reach":"Copertura", -"{n} businesses":"{n} aziende", -"No repayments":"Nessuna rata", -"{pct} of revenue, forever":"{pct} dei ricavi, per sempre", -"Buy-out {price}":"Riscatto {price}", -"{apr}% APR":"TAEG {apr}%", -"{n} months":"{n} mesi", -"Paid in TubeCoin":"Pagato in TubeCoin", -"No conditions. That is the scary part.":"Nessuna condizione. Ed è proprio questo che fa paura.", -"Bank":"Banca", -"Cash":"Cassa", -"Bankrupt at −$100k":"Bancarotta a −$100k", -"in the vault":"nel caveau", -"after loan payments":"dopo le rate dei prestiti", -"Credit rating":"Rating creditizio", -"Bankers return your calls":"I banchieri ti richiamano", -"Bankers return your emails":"I banchieri rispondono alle tue email", -"Bankers pretend to be out":"I banchieri fingono di non esserci", -"Debt":"Debito", -"{n} loan":"{n} prestito", -"{n} loans":"{n} prestiti", -"Offers":"Offerte", -"No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.":"Nessuna offerta al momento. Le banche si fanno vive ogni tanto, e molto più in fretta quando sei nei guai. Un rating creditizio migliore porta banche migliori.", -"{bank} offers {amount}":"{bank} offre {amount}", -"offer ends in {n}d":"l’offerta scade tra {n} g", -"Take the money":"Prendi i soldi", -"No thanks":"No grazie", -"Your loans":"I tuoi prestiti", -"Debt-free. Your accountant is suspicious.":"Zero debiti. Il tuo commercialista è sospettoso.", -"Taking {pct} of your revenue every month.":"Si prende il {pct} dei tuoi ricavi ogni mese.", -"Still owed":"Ancora da restituire", -"{pay}/mo · {n} months left · {apr}% APR":"{pay}/mese · mancano {n} mesi · TAEG {apr}%", -"Condition broken for {n} day.":"Condizione violata da {n} giorno.", -"Condition broken for {n} days.":"Condizione violata da {n} giorni.", -"Penalty in {n} days.":"Penale tra {n} giorni.", -"Penalties are running.":"Le penali stanno correndo.", -"Really pay {price}?":"Pagare davvero {price}?", -"Buy them out {price}":"Liquidali {price}", -"Repay early {price} incl. 2% fee":"Estingui in anticipo {price} incl. 2% di commissione", -"Release to plan a link":"Rilascia per pianificare un link", -"Drag onto another city":"Trascina su un’altra città", -"Tip: drag from your pink router to another city to lay fiber":"Suggerimento: trascina dal tuo router rosa a un’altra città per posare la fibra", -"Tap your city, then Launch broadband":"Tocca la tua città, poi Lancia la banda larga", -"Crossroads of Europe. DE-KICKS IX, cheap transit.":"Crocevia d’Europa. IX DE-KICKS, transit economico.", -"Huge eyeball market. Pricey neighbours.":"Enorme mercato di eyeball. Vicini costosi.", -"Asia hub. Great peering, far from home.":"Hub dell’Asia. Ottimo peering, lontano da casa.", -"Big hungry market, few providers.":"Mercato grande e affamato, pochi provider.", -"Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.":"Costruisci un internet. Posa fibra tra le città, compra transit, fai peering agli exchange, metti sotto contratto le aziende e tieni contenti gli eyeball, mentre ruspe, squali e route leak fanno di tutto per fermarti.", -"Continue {name} · {date}":"Continua {name} · {date}", -"Name your network":"Dai un nome alla tua rete", -"Another one":"Un altro", -"Pick your home city":"Scegli la tua città di partenza", -"Mode":"Modalità", -"Scenarios & weekly challenge →":"Scenari e sfida settimanale →", -"Language":"Lingua", -"Start building":"Inizia a costruire", -"Source on GitHub":"Codice su GitHub", -"Cookieless stats, no tracking":"Statistiche senza cookie, nessun tracciamento", -"Release notes":"Note di rilascio", -"New in Series of Tubes {v}":"Novità di Series of Tubes {v}", -"Your network {name} was saved and is waiting for you.":"La tua rete {name} è stata salvata e ti sta aspettando.", -"Back to my network":"Torna alla mia rete", -"Got it":"Capito", -"Full changelog":"Changelog completo", -"Series of Tubes {v} is out!":"È uscito Series of Tubes {v}!", -"Your game is saved automatically.":"La tua partita viene salvata automaticamente.", -"Reload now":"Ricarica ora", -"Later":"Più tardi", -"How the internet works here":"Come funziona internet qui", -"Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.":"Comandi: trascina la mappa per spostarti, scorri o pizzica per lo zoom, tocca una città per aprirla. Trascina dal tuo router rosa a un’altra città per posare la fibra. Spazio mette in pausa, 0 è mezza velocità, 1 2 3 4 impostano la velocità. A 1× un giorno dura 2,5 secondi.", -"Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.":"Utenti di banda larga domestica. Scaricano soprattutto dalle CDN e ti pagano per ogni Gbps che consegni. Servili bene e si moltiplicano.", -"Point of presence: your router in a data center. Everything starts at a POP.":"Point of presence: il tuo router in un data center. Tutto parte da un POP.", -"You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.":"Paghi una rete più grande a Gbps e lei consegna il tuo traffico ovunque. Facile, copertura completa, mai gratis.", -"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.":"I Tier 1 raggiungono tutto internet senza pagare nessuno, perché fanno tutti peering tra loro. I Tier 2 fanno molto peering ma comprano ancora un po’ di transit.", -"Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.":"Reti di contenuti come NetChill e Goggle. Gran parte del tuo traffico arriva da loro. Fai peering con loro e quel traffico è gratis.", -"IX (Internet Exchange)":"IX (Internet Exchange)", -"A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.":"Uno switch condiviso in una città. Una porta, tante sessioni di peering gratuite. Il route server ti mette in peering con tutti i membri aperti in un colpo solo.", -"Private network interconnect: a cable straight to one network in the same building. For big traffic.":"Private network interconnect: un cavo dritto verso una singola rete nello stesso edificio. Per grandi volumi di traffico.", -"Embedded cache":"Cache integrata", -"A CDN's server in your rack. Serves most of that CDN's traffic locally, for the price of power.":"Un server di una CDN nel tuo rack. Serve in locale gran parte del traffico di quella CDN, al prezzo della corrente.", -"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.":"Il gruppo dietro diversi grandi exchange (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) tratta i listini come un segreto di Stato. Le porte vengono quotate cliente per cliente e salgono quanto più sembri grande. Contrattare può funzionare, ritorcertisi contro o arenarsi per una settimana. Una volta l’anno i prezzi vengono “armonizzati” verso l’alto, in fattura spuntano servizi aggiuntivi finché non li disdici, e provare ad andartene ti frutta uno sconto fedeltà che finisce con una penale.", -"Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.":"Raggiungi un IX con un circuito su fabric senza avere un POP lì. Funziona, e il route server ti dà comunque tutte le reti aperte, ma è sconsigliato: il rivenditore ti fa pagare la porta 1,5× e la vende in oversubscription all’80%, la latenza dipende dal fabric, un disservizio del fabric fa cadere tutte le sessioni, e molte reti selective rifiutano i membri remoti senza appello.", -"Peering policy":"Policy di peering", -"Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.":"Open: fa peering con chiunque. Selective: vuole prima vedere traffico. Restrictive (i Tier 1): fa peering solo con i giganti, tramite PNI. Paid: esattamente quello che sembra, si paga. Le grandi reti selective hanno anche i loro umori: in certe città rifiutano nuovi peer per qualche mese, o accettano solo PNI, e ogni tanto abbattono una sessione che avevi già. Prova un’altra città o un PNI, e richiedi più avanti.", -"Waves":"Wave", -"Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.":"I tuoi link in fibra sono wave in affitto a canone mensile fisso. Più lunghe e più grandi costano di più (10G → 6.4T), e il sottomarino costa 1,8× tanto.", -"95th percentile":"95° percentile", -"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.":"Le bollette del transit campionano il tuo consumo ogni giorno e addebitano il 95° percentile degli ultimi 30 giorni: i picchi brevi vengono perdonati, quelli lunghi no.", -"Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.":"Il modello di router di ogni POP limita la sua porta più veloce (100G, 400G, 800G, 1.6T) e quanto traffico può inoltrare. Wave e porte più grandi richiedono router migliori a entrambe le estremità. I modelli migliori si sbloccano con il tuo livello clienti. Con un solo router, ogni upgrade vuol dire un giorno di downtime.", -"Dark fiber":"Dark fiber", -"Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.":"Prendi un IRU in affitto o costruisci la tua (lento, con ritardi), poi compra un sistema di linea con amplificatori e accendi canali con transponder 400ZR+, 800ZR+ o 1.6T. Su larga scala costa molto meno delle wave, ma l’hardware si può guastare. Un kit ricambi accelera le riparazioni.", -"Subsea cables":"Cavi sottomarini", -"Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.":"Le wave sottomarine possono seguire solo sistemi di cavi ispirati a quelli reali, disegnati in trasparenza sulla mappa (tocca una città per evidenziarne i cavi). Quelli verde acqua sono nuovi ed economici, quelli viola cari, quelli tratteggiati vecchi e facili da tranciare. Tutte le tue wave su un cavo muoiono insieme quando viene tranciato. Tra continenti collegati via terra puoi spesso scegliere il percorso terrestre (2,5×, tante frontiere) o un cavo.", -"Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.":"Ogni link ha una latenza. I trader HFT pagano una fortuna per un circuito dentro il loro budget di latenza: instradali su “Latenza minima”. Ai clienti di backup massivo non importa, quindi instradali sul “Panoramico” lungo i tuoi link tranquilli, per lasciare liberi quelli trafficati.", -"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.":"Il pulsante del grafico in alto apre i grafici del traffico per uscita (cache, PNI, IX, transit), i soldi nel tempo, il traffico per ASN con come ti raggiunge e quanto costa in transit, più i tuoi link e router più carichi.", -"A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.":"Un mercato strano e poco servito. Il transit costa 2,5× rispetto all’Europa (Africa 2×, Oceania 1,8×), gli incumbent locali fanno quasi sempre peering solo a pagamento, e gli IX sono frammentati. Ma la domanda è enorme e gli utenti si iscrivono il 60% più in fretta che altrove. Qui peering e cache rendono più che mai.", -"Russia":"Russia", -"Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.":"Moscow richiede una scatola governativa obbligatoria in ogni POP, le CDN occidentali se ne sono quasi tutte andate, i video di Goggle sono rallentati a metà velocità, e ogni tanto le esercitazioni dell’internet sovrano isolano Moscow per un giorno.", -"Events, chains and wholesale":"Eventi, catene e wholesale", -"Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.":"Le reti per eventi (una finale, un festival, un keynote) vogliono un picco di capacità in una città per qualche giorno e pagano una volta sola alla fine, in proporzione a quanta folla hai servito; sotto il 70% paghi una penale. Le catene SD-WAN collegano 3–6 dei tuoi POP in hub-and-spoke, quindi uno spoke rotto fa arrabbiare tutto il contratto. Quando gestisci la tua dark fiber, i carrier vogliono affittare i canali liberi come alien wave e, sulla fibra che hai costruito tu, una coppia libera.", -"Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.":"Tocca la tua cassa per aprire la banca. I finanziatori fanno offerte ogni tanto, e molto più spesso quando sei in rosso. Ogni prestito ha una rata mensile e qualche condizione strana; violane una e paghi una penale. Il tuo rating creditizio decide quali banche ti rivolgono la parola. Lo strozzino c’è sempre. Non fare tardi.", -"LAGs":"LAG", -"Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.":"Porte al limite? Raggruppa fino a 8 porte identiche verso lo stesso provider di transit, IX o PNI in un LAG. Ogni membro costa una porta intera; il flow hashing non è mai perfettamente uniforme, quindi un bundle trasporta circa il 95% della somma.", -"Traffic engineering":"Traffic engineering", -"Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.":"Tocca un link per vedere quali reti, quali punti d’ingresso e quali città dei clienti lo riempiono. Alza la metrica di un link per deviarci intorno il traffico, o imposta un’uscita (transit, IX, PNI) su Preferisci o Solo backup.", -"China":"Cina", -"Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.":"La Cina continentale richiede una licenza e una joint venture locale. Molti servizi stranieri lì sono bloccati, e il traffico che attraversa il confine perde pacchetti, a meno che tu non paghi rotte premium.", -"Weird requirements":"Requisiti strani", -"Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.":"Alcuni clienti arrivano con delle condizioni: niente Cogentle da nessuna parte, niente cavi sottomarini per colpa degli squali, due router, un generatore, NetChill on-net, accesso alla Cina con poche perdite e altro. Ognuna paga un bonus. Quelle non rispettate li rendono scontrosi finché non rimedi o se ne vanno.", -"Customer levels":"Livelli clienti", -"As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.":"Man mano che crescono il tuo traffico di picco e la tua presenza, arrivano clienti più grandi: startup di streaming e università, poi data center GPU per l’AI e cloud on-ramp, poi interconnessioni per il training AI e contratti DCI con hyperscaler misurati in terabit. Le bolle rosa $$ segnano quelli grossi.", -"L2VPN & DDoS protection":"L2VPN e protezione DDoS", -"Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).":"Le aziende possono volere un circuito privato tra due dei tuoi POP (viaggia sul tuo backbone), o una protezione DDoS (serve il tuo centro di scrubbing).", -"NNI fabrics":"Fabric NNI", -"Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.":"Megapork, PocketFabric e Consolation Connect vendono una porta più circuiti virtuali tra città. Ottimi per link piccoli e per il remote peering su un IX dove non hai un POP.", -"NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.":"NANOG, RIPE, DENOG e compagnia tornano ogni anno. Iscriviti nella scheda Offerte per $8k. Nei 45 giorni successivi, le reti selective presenti in quella regione chiedono solo metà del traffico abituale prima di fare peering con te. A volte vinci pure la lotteria.", -"Modes":"Modalità", -"Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.":"La Sandbox ti dà un miliardo di dollari, tutto sbloccato e nessun guasto, ma niente badge. Gli Scenari sono sfide costruite a mano con un obiettivo e una scadenza, e la sfida settimanale dà a tutti lo stesso mondo per una settimana. Condividi il tuo risultato con la card nel menu.", -"Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.":"Tocca 🔍 Traceroute su una delle tue città, o aprilo dalla scheda NOC, per vedere il percorso esatto verso una rete o un POP, hop per hop, con latenza, uscita e AS path.", -"Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.":"Sotto i tuoi obiettivi c’è un muro di badge, dai comuni ai leggendari. Alcuni richiedono fortuna, altri anni, e un paio sono segreti. I badge guadagnati nelle partite precedenti restano su questo dispositivo con un contorno tratteggiato.", -"The giants":"I giganti", -"At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.":"Ai livelli clienti 3 e 4 arrivano hyperscaler e cloud AI con contratti che solo loro chiederebbero: WAN AI da terabit tra campus da gigawatt, run di training distribuite su più siti, ingestion di dataset lunghe una settimana e centinaia di coppie di fibre in uno scavo fatto da te. Pagano come nessun altro, e vogliono percorsi diversi, due siti per area metropolitana e zero scuse. Le città vicine ai loro campus li elencano sotto “Chi c’è qui”.", -"Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.":"Una volta installato Auto-TE, puoi programmarlo dalla scheda NOC. Tra le regole ci sono spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams e blackhole ddos. Check fa una prova a secco sul traffico reale; Deploy la rende vera, errori compresi.", -"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.":"Il traffico segue il percorso più corto per distanza e metrica dei link, e si reinstrada da solo quando i link si guastano. Quando un percorso è semplicemente pieno, l’eccesso viene scartato, proprio come in un vero IGP. Dal livello clienti 3 puoi installare Auto-TE nella scheda NOC: riversa l’eccesso su un massimo di due percorsi alternativi con capacità libera, purché non siano lunghi più del doppio.", -"A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.":"Un POP è un solo edificio finché non aggiungi un secondo sito nella scheda Infra. Da lì in poi un blackout, un addetto alle pulizie o un guasto all’aria condizionata mette fuori uso solo mezza città, e scegli in quale sito si collega ogni porta transit, PNI e IX, oppure scegli Entrambi per dividere un LAG tra i due edifici. Distribuiscile, o entrambe le metà della tua ridondanza finiranno nella stessa stanza al buio. Occhio ai tagli dell’anello metropolitano, che isolano il sito B.", -"Wave markets":"Mercati delle wave", -"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Quanto costa una wave dipende da dove passa. L’Europa è economica (tanta fibra in concorrenza), il Nord America nella media, Asia e Sud America più care, e qualsiasi cosa verso l’Africa costa diverse volte tanto. Ogni rotta ha il suo prezzo di mercato, e i nuovi contratti costano circa l’8% in meno ogni anno, quindi aspettare può convenire. Il pianificatore di link ti dice come si piazza una rotta.", -"Regional quirks":"Stranezze regionali", -"Boot times":"Tempi di boot", -"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Alcuni router ci mettono una vita ad avviarsi. La scheda Infra mostra quanto ci mette il tuo. I router lenti al boot allungano i crash e trasformano la sostituzione di un router singolo in un disservizio di tre giorni. Gli chassis più grandi, soprattutto quelli con dentro un PacketOinker™, sono lenti più spesso. Con due router diventa un problema di qualcun altro.", -"Failures":"Guasti", -"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.":"Le cose si rompono di continuo: tagli di fibra, crash dei router, blackout, loop sugli IX, disservizi dei fabric, route leak, DDoS, dita grosse, guasti al raffreddamento, e poi la geopolitica: sanzioni, dazi, hijack BGP, dispute sui permessi di approdo, shutdown nei giorni d’esame e cavi tranciati nel Mar Rosso. Il traffico si reinstrada da solo su altri percorsi e upstream. Link paralleli su percorsi diversi, un secondo router e un generatore di backup aiutano tutti. Oppure paga per accelerare le riparazioni.", -"Export save":"Esporta salvataggio", -"Share my network":"Condividi la mia rete", -"You're a Tier 1!":"Sei un Tier 1!", -"{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.":"{name} (AS{asn}) è transit-free. Fai peering con ogni gigante del pianeta e non paghi nessuno per raggiungere internet. Ci hai messo {days} giorni e {n} incidenti.", -"Keep building":"Continua a costruire", -"Bankrupt":"In bancarotta", -"The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.":"La banca ti ha pignorato i router e li ha rivenduti su eBuy. {name} è durata {days} giorni, con un picco di {peak}.", -"Not happening":"Non se ne parla", -"Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.":"Nessuno vende capacità tra Kyiv e Moscow, e nessuno lo farà mai. Passa invece da Warsaw, Bucharest o Helsinki.", -"Not without a license":"Non senza una licenza", -"Building into mainland China needs a joint venture and an operating license. Open {city} to apply.":"Per costruire nella Cina continentale servono una joint venture e una licenza operativa. Apri {city} per fare domanda.", -"Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.":"I circuiti transfrontalieri verso la Cina continentale li vendono solo carrier con licenza, a 3× il prezzo. Quelli normali perdono circa il 20% del traffico al confine.", -"Regular crossing":"Attraversamento normale", -"Premium crossing +60% · ~3% loss":"Attraversamento premium +60% · ~3% di perdita", -"Premium crossings are only sold in Hong Kong.":"Gli attraversamenti premium si vendono solo a Hong Kong.", -"You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?":"Hai già {n} link qui ({list}). I link paralleli aggiungono capacità. Che percorso deve fare questo?", -"You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?":"Hai già {n} link qui ({list}). I link paralleli aggiungono capacità. Che percorso deve fare questo?", -"Diverse route +40% · survives cuts alone":"Percorso diverso +40% · sopravvive da solo ai tagli", -"Same trench cheaper · one backhoe cuts all":"Stesso scavo più economico · una ruspa li taglia tutti", -"Lease a wave":"Affitta una wave", -"Subsea":"Sottomarino", -"Terrestrial":"Terrestre", -"No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.":"Nessun cavo sottomarino approda sia a {a} che a {b}. I cavi da {a} raggiungono: {list}. Fai tappa in una di queste.", -"The landing permit dispute in {city} blocks new subsea links for {n} more days.":"La disputa sui permessi di approdo a {city} blocca i nuovi link sottomarini per altri {n} giorni.", -"Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.":"Le wave si affittano a canone mensile fisso. Più grandi e più lunghe costano di più, e il sottomarino costa 1,8×. Il primo mese si paga subito.", -"Includes a new POP in {city} ({price}{extra}).":"Include un nuovo POP a {city} ({price}{extra}).", -"government box included":"scatola governativa inclusa", -"free-zone license included":"licenza free zone inclusa", -"local telecom licence included":"licenza telecom locale inclusa", -"needs {what} at both ends":"serve {what} a entrambe le estremità", -"due now {price}":"da pagare ora {price}", -"flat rate":"tariffa fissa", -"Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.":"Qui nessuno vende dark fiber su un cavo sottomarino. La capacità sottomarina arriva come wave in affitto.", -"No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.":"Niente dark fiber dentro gli Emirati. Qui solo i due operatori con licenza possono posare fibra, e vendono solo wave.", -"Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.":"La dark fiber attraverso il confine cinese non è in vendita. Compra piuttosto una wave transfrontaliera.", -"Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.":"La dark fiber si sblocca al livello clienti 2. Ti serve la scala per giustificare l’acquisto di hardware ottico tutto tuo.", -"A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.":"Una coppia di fibre tutta tua. Il vetro costa poco, l’hardware no: compri un sistema di linea con un amplificatore ogni {km} km, poi le ottiche per ogni canale. Il tuo hardware può guastarsi, e lo ripari tu.", -"The glass":"Il vetro", -"Lease an IRU {price}/mo · ready in 30 days":"Affitta un IRU {price}/mese · pronta in 30 giorni", -"Build your own {price} · ~{n} days":"Costruiscila tu {price} · ~{n} giorni", -"Build your own level 3":"Costruiscila tu livello 3", -"A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.":"Una coppia di fibre su {cable}, {km} km. Condivide il cavo con le wave di tutti gli altri, ancore comprese.", -"Your own trench: almost no rent, but permits and digging take forever, and delays happen.":"Uno scavo tutto tuo: quasi nessun affitto, ma permessi e scavi durano un’eternità, e i ritardi capitano.", -"level {n}":"livello {n}", -"Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).":"Più {n} amplificatore in linea ({price} l’uno, {mo}/mese per affitto dello shelter e corrente).", -"Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).":"Più {n} amplificatori in linea ({price} l’uno, {mo}/mese per affitto dello shelter e corrente).", -"Due now":"Da pagare ora", -"For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.":"Per confronto, una wave 1.6T in affitto su questa rotta costa {price}/mese. Le ottiche vengono dopo, dal pannello del link.", -"Start construction":"Avvia i lavori", -"Sign the IRU":"Firma l’IRU", -"Remote peering at {ix} · discouraged":"Remote peering a {ix} · sconsigliato", -"Your POP · needs a fabric port there":"Il tuo POP · serve una porta fabric lì", -"You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.":"Prima ti serve una porta fabric in uno dei tuoi POP. Apri la scheda Infra di un POP e compra una porta su {list}.", -"no POP of yours on it yet":"ancora nessun tuo POP", -"Virtual circuit over an NNI fabric":"Circuito virtuale su un fabric NNI", -"From {city}":"Da {city}", -"To {city}":"Verso {city}", -"No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.":"Nessun costo di attivazione, attivo in pochi minuti, fatturato a mese. Più economico di una wave per piccole capacità, ma viaggia sul fabric di qualcun altro, e quel fabric può guastarsi.", -"Settings":"Impostazioni", -"Animations":"Animazioni", -"Auto":"Auto", -"On":"On", -"Sound":"Suono", -"Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.":"Auto segue l’impostazione “riduci movimento” del tuo dispositivo. Off congela la mappa: niente pacchetti in movimento, pulsazioni o testo fluttuante.", -"no cable lands here":"nessun cavo approda qui", -"from {price}/mo":"da {price}/mese", -"Welcome back, {name}.
Your network is right where you left it: {date}.":"Bentornato, {name}.
La tua rete è proprio dove l’avevi lasciata: {date}.", -"Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.":"Impossibile caricare la partita salvata.
Era danneggiata: ne abbiamo tenuto una copia di backup e puoi ricominciare da zero.", -"Series of Tubes: build the internet, one tube at a time":"Series of Tubes: costruisci internet, un tubo alla volta", -"A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.":"Un gioco gratuito per browser, in stile cartoon, su come funziona internet. Parti come una minuscola rete in una sola città, lancia la banda larga domestica, compra IP transit da carrier Tier 1 e Tier 2, fai peering agli internet exchange, attiva interconnessioni private e cache CDN embedded, e posa fibra terrestre, wave sottomarine e la tua dark fiber con DWDM e ottiche ZR. Firma clienti aziendali, hosting, trading ad alta frequenza, GPU per l’IA e hyperscaler, e tienili contenti mentre ruspe, squali, dita grosse, route leak, attacchi DDoS e geopolitica rompono tutto.", -"Cash · Bank":"Cassa · Banca", -"Traffic served":"Traffico", -"Rank":"Rango", -"Date":"Data", -"Goals & NOC":"Obiettivi e NOC", -"🐘 BREAKING: CVE-2026-31337 IN PHP TAKES DOWN HALF THE INTERNET":"🐘 ULTIM’ORA: LA CVE-2026-31337 DI PHP BUTTA GIÙ MEZZA INTERNET", -"Every WordPress-ish site on Earth is now a crypto miner":"Ogni sito WordPress-ish del pianeta ora mina criptovalute", -"":"", -"Eyeball traffic down 30%":"Traffico eyeball giù del 30%", -"Hosting customers patching at 3 a.m.":"Clienti hosting che patchano alle 3 di notte", -"Security team asks: “are we on PHP?” Everyone: “define we”":"Il team security chiede: “siamo su PHP?” Tutti: “definisci siamo”", -"World map of your network":"Mappa del mondo della tua rete", -"Network menu: save, load or start over":"Menu della rete: salva, carica o ricomincia", -"Cash and bank":"Cassa e banca", -"Game speed":"Velocità di gioco", -"Pause":"Pausa", -"Half speed":"Metà velocità", -"Toggle sound":"Attiva/disattiva suono", -"Want to know how it really works?":"Vuoi sapere come funziona davvero?", -"The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.":"La versione vera, di Thomas Kjær Aabo: una mappa interattiva e zoomabile di come viaggiano davvero i tuoi pacchetti, dal Wi-Fi alla fibra sottomarina, oggi, nel 2010 e nel 1995 (in inglese, danese e tedesco). Questo gioco se lo inventa strada facendo. Quello ci azzecca.", -"The real thing: follow a packet from Wi-Fi to undersea fiber.":"La versione vera: segui un pacchetto dal Wi-Fi alla fibra sottomarina.", -"Explore →":"Esplora →", -"You built a cartoon internet. Now see how the real one works:":"Hai costruito un internet a fumetti. Ora scopri come funziona quello vero:", -"Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.":"Polarizzazione dell’hash su {lab}: quasi tutti i flussi finiscono sullo stesso membro. Il bundle dice di essere su. È anche pieno.", -"LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.":"Timer LACP fast/slow non allineati su {lab}: un membro continua a uscire dal bundle per timeout e a rientrare.", -"One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.":"Un membro di {lab} è stato collegato allo switch sbagliato. LACP lo tiene sospeso, giustamente.", -"Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.":"Qualcuno ha impostato min-links su {lab} pari al numero di membri. Un membro ha flappato e tutto il bundle è andato giù.", -"Fix the LACP config":"Sistema la config LACP", -"Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.":"Microburst su {a}–{b}.
I tuoi router con buffer profondi li hanno assorbiti. Nessuno se n’è accorto.", -"A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.":"Un connettore sporco su {a}–{b} perde il 2% dei pacchetti. TCP lo odia: il throughput crolla anche se il link sembra a posto.", -"Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.":"I microburst su {a}–{b} riempiono i buffer poco profondi dei router: 0,5% di perdita al picco, e ogni videochiamata se ne accorge.", -"CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.":"Errori CRC su {a}–{b}: un’ottica al limite rovina qualche frame ogni mille.", -"Clean the connector":"Pulisci il connettore", -"Rate-limit the bursts":"Limita i burst", -"Swap the optic":"Sostituisci l’ottica", -"Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.":"Il tuo centro di scrubbing restituisce il traffico pulito in un tunnel GRE, e nessuno ha impostato il clamping dell’MSS. I pacchetti grandi verso {net} spariscono, e le pagine si caricano a metà e si fermano.", -"Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.":"Qualcuno ha filtrato tutto l’ICMP sul tuo edge “per sicurezza”. Il Path MTU Discovery si è rotto e le connessioni verso {net} si bloccano subito dopo l’handshake.", -"A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.":"Un salto PPPoE ha tolto 8 byte alla tua MTU e nessuno l’ha detto ai server. I trasferimenti grandi verso {net} restano bloccati per sempre; quelli piccoli funzionano, il che rende tutto molto peggio.", -"Clamp the MSS to 1360":"Imposta l’MSS a 1360", -"{name} transit LAG in {city}":"LAG di transit {name} a {city}", -"PNI LAG with {name} in {city}":"LAG PNI con {name} a {city}", -"{ix} LAG in {city}":"LAG {ix} a {city}", -"LACP trouble":"Problemi LACP", -"Packet loss":"Perdita di pacchetti", -"PMTUD black hole":"Buco nero PMTUD", -"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Una delle bande larghe domestiche più veloci del pianeta, e il mercato del peering più strano. Con il “sender pays”, i tre grandi ISP fanno pagare ogni gigabit che gli consegni, e qui il transit è tra i più cari al mondo.", -"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"L’incumbent coreano. Sender pays: ogni gigabit che gli consegni si paga, oltre alla porta.", -"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"Ha portato in tribunale un gigante dello streaming per decidere chi paga il traffico richiesto dai suoi stessi clienti. Peering a pagamento, a gigabit.", -"The plus is a usage fee. Paid peering, per gigabit.":"Il plus è una tariffa d’uso. Peering a pagamento, a gigabit.", -"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays: solo PNI a pagamento, {fee}/mese più {g} per ogni Gbps che invii", -"Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"Glitch lascia la Corea.
Il sito di streaming di videogiochi dice che le tariffe di rete coreane sono “proibitive” e chiude lì. Il suo traffico a Seoul si dimezza, per sempre. Gli streamer locali sono già passati ad altro.", -"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"Faceplant si è stancata delle tariffe d’uso coreane e ha spostato in silenzio gli utenti coreani sui server di Hong Kong. Le pagine arrivano a passo d’uomo per tutti a Seoul. Il regolatore sta preparando una multa.", -"Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.":"Faceplant ha instradato la Corea via Hong Kong.
Gli utenti di Seoul ne ricevono un quinto in meno per 20 giorni, comunque tu sia connesso.", -"Rerouted via Hong Kong":"Instradato via Hong Kong", -"Gangnam Style Peering":"Gangnam Style Peering", -"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Seoul. Gli eyeball più veloci e affamati della Terra, transit a quattro volte il prezzo, e tre incumbent che ti fatturano ogni gigabit che gli mandi.", -"99% reach and 200 Gbps served without going broke":"99% di copertura e 200 Gbps serviti senza andare in rovina", -"Sender Pays":"Sender Pays", -"Paid PNIs with all three Korean incumbents.":"PNI a pagamento con tutti e tre gli incumbent coreani.", -"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"Il Tier 1 cresciuto in Sicilia. La sua dorsale Seabone domina il Mediterraneo e arriva in profondità nelle Americhe, e chiama ancora casa Palermo.", -"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Fai peering con ogni Tier 1 via PNI e disdici ogni porta di transit. Così nessuno ti fa pagare per raggiungere internet.", -"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.":"Nel Golfo, i POP sauditi richiedono una licenza telecom locale e i dati degli utenti sauditi restano nel Regno; i gigaprogetti chiedono enormi reti dimostrative; e ogni tanto i vicini litigano e ogni link tra Qatar e Arabia Saudita o Emirati va al buio per mesi, quindi tieniti una rotta via mare. Il Sud America è appeso a Miami: il transit costa di più, niente attraversa il Darién Gap via terra, e la fibra sulle Ande costa il doppio e si rompe spesso. IX.brrr in Brasile è gestito da un ente non profit con prezzi pubblici bassi, e i piccoli provedores brasiliani comprano transit all’ingrosso. Negli Emirati solo il duopolio può posare fibra, quindi niente dark fiber e wave a 3×. La Corea funziona con il “sender pays”: il transit verso Seoul costa circa quattro volte il normale e i tre incumbent fanno peering solo con PNI a pagamento, fatturati per ogni gigabit che gli invii. I cavi di Taiwan incontrano un sacco di ancore, la fibra indiana incontra allargamenti stradali e monsoni, e il Sudafrica ha il load shedding: porta un generatore. L’Australia è lontana da tutto: transit e wave costano più che quasi ovunque, anche se le porte IX sono economiche. Le famiglie pagano bene la banda larga, ma la Nearly Broadband Network si tiene quasi metà di ogni bolletta. I router sono montati a testa in giù, e tutto il resto cerca di ucciderti.", -"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Il tuo fornitore di wave ha spinto un solo aggiornamento malformato sul suo control plane ottico, e ha inondato ogni nodo. Tutte le {n} wave in affitto che hai in {reg} sono spente. La loro status page dice “prestazioni ridotte”.", -"Escalate to their CTO":"Scala al loro CTO", -"Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"Meltdown del control plane ottico!
Tutte le wave in affitto in {reg} si sono spente insieme. La tua dark fiber va benissimo. Ecco perché la gente si compra la fibra.", -"Control plane meltdown":"Meltdown del control plane", -"Full screen, works offline, one tap from your home screen.":"A schermo intero, funziona offline, a un tocco dalla schermata Home.", -"Install":"Installa", -"Game":"Gioco", -"Speed":"Velocità", -"The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.":"Lo snodo del Nord, con il suo exchange e prese d’aria dei condizionatori molto umide. I cavi per l’Irlanda e la Danimarca arrivano sulla costa poco più su.", -"Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.":"La capitale della Scozia. I cavi del Mare del Nord verso la Norvegia e le Fær Øer approdano lungo la costa.", -"A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.":"Una cittadina di surfisti in Cornovaglia dove approda una fetta notevole dell’internet transatlantica. Le scogliere sono piene di fibra.", -"Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.":"La capitale norvegese del petrolio, ora piena di data center dentro le montagne, alimentati a idroelettrico e raffreddati dal fiordo. Qui approdano i cavi del Mare del Nord.", -"Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby.":"Dalla Norvegia al Regno Unito attraverso il Mare del Nord. Coppie di fibra in vendita, perché i soldi del petrolio volevano un hobby.", -"Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse.":"Dall’Irlanda alla Norvegia, girando lungo la punta della Scozia. Vichinghi, ma al contrario.", -"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.":"Lo Stallone del Mare: da Blackpool alla Danimarca, al galoppo attorno al nord della Scozia.", -"Scotland to Iceland via Shetland and the Faroes. More sheep than packets.":"Dalla Scozia all’Islanda passando per le Shetland e le Fær Øer. Più pecore che pacchetti.", -"New York to the cliffs of Bude. It made it home in the end.":"Da New York alle scogliere di Bude. Alla fine è tornato a casa.", -"Long Island to Cornwall. Follow it all the way to the wizard in the cable hut.":"Da Long Island alla Cornovaglia. Seguilo fino al mago nella capanna dei cavi.", -"Cornwall to Lagos down the West African coast. Glows faintly when it is working.":"Dalla Cornovaglia a Lagos lungo la costa dell’Africa occidentale. Brilla un po’ quando funziona.", -"Another hop across the Channel, with dark fiber for sale. There is always room for one more.":"Un altro salto attraverso la Manica, con dark fiber in vendita. C’è sempre posto per uno in più.", -"Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football.":"Da Stavanger ai Paesi Bassi passando per ogni piattaforma petrolifera del Mare del Nord. Gli operai delle piattaforme guardano un sacco di calcio in streaming.", -"The UK’s incumbent. Buzzes politely, stings on price.":"L’incumbent britannico. Ronza educatamente, punge sul prezzo.", -"Football, films and a router that looks like a spaceship.":"Calcio, film e un router che sembra un’astronave.", -"Cable broadband for half of Britain. Fast on a good day.":"Banda larga via cavo per mezza Gran Bretagna. Veloce nelle giornate buone.", -"Norway’s incumbent. Neither yes nor no, until you send enough traffic.":"L’incumbent norvegese. Né sì né no, finché non mandi abbastanza traffico.", -"Decommission":"Dismetti", -"Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.":"Chiudi questo POP: link, porte e cache spariscono con lui, e ogni cliente che ne dipende viene lasciato andare, con una penale di recesso anticipato.", -"Decommission {city}…":"Dismetti {city}…", -"Decommission several POPs…":"Dismetti più POP…", -"home":"casa", -"{n} link":"{n} link", -"{n} links":"{n} link", -"{n} customer":"{n} cliente", -"{n} customers":"{n} clienti", -"Decommission POPs":"Dismetti POP", -"Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.":"Scegli i POP da chiudere. Se ne va tutto: router, porte, cache, porte agli exchange e ogni link che li tocca.", -"Links removed":"Link rimossi", -"Eyeballs you stop serving":"Eyeball che smetti di servire", -"{n} customer let go":"{n} cliente lasciato andare", -"{n} customers let go":"{n} clienti lasciati andare", -"Keep at least one POP.":"Tieni almeno un POP.", -"Decommission {n} POP · pay {fee}":"Dismetti {n} POP · paga {fee}", -"Decommission {n} POPs · pay {fee}":"Dismetti {n} POP · paga {fee}", -"Pick a POP":"Scegli un POP", -"Keep them":"Tienili", -"{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP dismesso.
{fee} di penali di recesso anticipato a {m} clienti.", -"{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP dismessi.
{fee} di penali di recesso anticipato a {m} clienti.", -"Other links between these cities:":"Altri link tra queste città:", -"up":"attivi", -"Customer on a fabric (transit over an NNI)":"Cliente su un fabric (transit via NNI)", -"Fabric circuit to one of your POPs":"Circuito dal fabric verso uno dei tuoi POP", -"Comes in over {fab}: needs your {fab} port in {city} with room for {bw}":"Arriva tramite {fab}: serve la tua porta {fab} a {city} con spazio per {bw}", -"{name} via {fab}":"{name} via {fab}", -"Connections":"Connessioni", -"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.":"Tutte le reti sulla mappa. La quota di traffico è quanto del traffico dei tuoi utenti va verso di loro. Tocca una connessione per andare al suo POP.", -"All connections {n}":"Tutte le connessioni {n}", -"Cache":"Cache", -"95th percentile {g}":"95° percentile {g}", -"paid peering":"peering a pagamento", -"your exchange":"il tuo exchange", -"{n} peering session":"{n} sessione di peering", -"{n} peering sessions":"{n} sessioni di peering", -"remote":"remoto", -"virtual circuits and fabric customers":"circuiti virtuali e clienti del fabric", -"Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.":"Ogni porta che ti collega a un’altra rete, e dove si trova. Filtra per tipo, città o rete, e tocca Apri per andarci.", -"No connections yet. Buy transit or join an exchange from a POP.":"Ancora nessuna connessione. Compra transit o entra in un exchange da un POP.", -"All ({n})":"Tutte ({n})", -"City":"Città", -"All cities":"Tutte le città", -"All networks":"Tutte le reti", -"Clear filters":"Azzera filtri", -"Where":"Dove", -"With":"Con", -"Port":"Porta", -"In use":"In uso", -"Per month":"Al mese", -"DOWN":"GIÙ", -"backup":"backup", -"{n} connection":"{n} connessione", -"{n} connections":"{n} connessioni", -"+{n} more":"+{n} altre", -"Installed!
Open Series of Tubes from your home screen. Your saves come along.":"Installato!
Apri Series of Tubes dalla schermata Home. I tuoi salvataggi vengono con te.", -"Best played as an app":"Meglio come app", -"Install it before you start: a game begun in Safari stays in Safari.":"Installala prima di iniziare: una partita cominciata in Safari resta in Safari.", -"Tap Share {icon} in the browser toolbar.":"Tocca Condividi {icon} nella barra del browser.", -"Tap Add to Home Screen. You may need to scroll down, or tap More first.":"Tocca Aggiungi alla schermata Home. Potrebbe servire scorrere in basso, o toccare prima Altro.", -"Open Series of Tubes from your home screen and start your network there.":"Apri Series of Tubes dalla schermata Home e avvia lì la tua rete.", -"Open your browser menu (⋮).":"Apri il menu del browser (⋮).", -"Tap Install app or Add to Home screen.":"Tocca Installa app o Aggiungi a schermata Home.", -"Open Series of Tubes from your home screen.":"Apri Series of Tubes dalla schermata Home.", -"Before you start":"Prima di iniziare", -"Play it as an app":"Giocalo come un’app", -"Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:":"Series of Tubes è fatto per la schermata Home. Ci vogliono dieci secondi, non costa nulla, e lì è un gioco molto migliore:", -"Full screen.":"Schermo intero.", -"No browser bars, a lot more map.":"Niente barre del browser, molta più mappa.", -"Works offline.":"Funziona offline.", -"Build your backbone on the train or on a plane.":"Costruisci la tua dorsale in treno o in aereo.", -"Your save stays safe.":"Il salvataggio resta al sicuro.", -"Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.":"Safari può cancellare i dati dei siti che non apri da una settimana. Un’app sulla schermata Home tiene i suoi.", -"Install first.":"Prima installa.", -"On iPhone, a game started in Safari does not carry over to the home-screen app.":"Su iPhone, una partita iniziata in Safari non passa all’app sulla schermata Home.", -"One tap away.":"A un tocco di distanza.", -"It opens straight into your network, like any other app.":"Si apre direttamente sulla tua rete, come qualsiasi altra app.", -"Install the app":"Installa l’app", -"Play in the browser anyway":"Gioca comunque nel browser", -"Game paused.":"Gioco in pausa.", -"{name} is getting unhappy.
Happiness {p}% in {city}.":"{name} sta diventando scontento.
Soddisfazione {p}% a {city}.", -"Your customers":"I tuoi clienti", -"happiness {p}%":"soddisfazione {p}%", -"{n} unhappy customer, {price}/mo at risk":"{n} cliente scontento, {price}/mese a rischio", -"{n} unhappy customers, {price}/mo at risk":"{n} clienti scontenti, {price}/mese a rischio", -"See who":"Vedi chi", -"All customers":"Tutti i clienti", -"their fiber is down":"la loro fibra è giù", -"getting only {p} of the bandwidth they pay for":"ricevono solo {p} della banda che pagano", -"you cannot reach the whole internet ({p})":"non raggiungi tutta internet ({p})", -"No customers yet. Offers show up in the Deals tab.":"Ancora nessun cliente. Le offerte compaiono nella scheda Offerte.", -"Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.":"Tutti quelli che ti pagano, i più contenti in fondo. Sotto il 60% iniziano a brontolare, sotto il 30% sono furiosi, e a 0% disdicono.", -"Happiness":"Soddisfazione", -"weighted by what they pay":"pesata su quanto pagano", -"Unhappy":"Scontenti", -"{n} furious":"{n} furiosi", -"At risk":"A rischio", -"from unhappy customers":"dai clienti scontenti", -"Unhappy ({n})":"Scontenti ({n})", -"Nobody is unhappy. Enjoy it while it lasts.":"Nessuno è scontento. Goditela finché dura.", -"No customers here.":"Nessun cliente qui.", -"Name":"Nome", -"Resume":"Riprendi", -"Saved on this device.":"Salvate su questo dispositivo.", -"Customers and alerts":"Clienti e avvisi", -"Pause when a customer is furious":"Pausa quando un cliente è furioso", -"The game stops so you can fix their service before they cancel. Most useful at high speed.":"Il gioco si ferma così puoi sistemare il servizio prima che disdicano. Utilissimo ad alta velocità.", -"Warn when a customer gets unhappy":"Avvisa quando un cliente diventa scontento", -"An early heads-up below 60% happiness, long before they are furious.":"Un avviso in anticipo sotto il 60% di soddisfazione, molto prima che siano furiosi.", -"Pause on outages that hurt":"Pausa sui guasti che fanno male", -"Stops the game when a failure costs you real traffic, not when it reroutes by itself.":"Ferma il gioco quando un guasto ti costa traffico vero, non quando si reinstrada da solo.", -"Display and sound":"Schermo e audio", -"Viewport info":"Info viewport", -"For reporting layout bugs: shows what your screen tells the game.":"Per segnalare bug di layout: mostra cosa lo schermo dice al gioco.", -"Done":"Fatto", -"Lv {n}":"Liv. {n}", -"Done!":"Fatto!", -"A path from Marseille to Singapore":"Un percorso da Marsiglia a Singapore", -"Carnaval delivered in full":"Carnevale servito per intero", -"POP in {city}":"POP a {city}", -"Days in a row with 99.5% served":"Giorni di fila con il 99,5% servito", -"{n} of {m}":"{n} su {m}", -"Your score: peak traffic":"Il tuo punteggio: picco di traffico", -"Done in {d} days!":"Fatto in {d} giorni!", -"Scenario":"Scenario", -"Time":"Tempo", -"Continents":"Continenti", -"Customer level {lv} of {max}":"Livello clienti {lv} di {max}", -"Next: {name} unlocks {what}":"Prossimo: {name} sblocca {what}", -"Overview":"Panoramica", -"Links & routers":"Collegamenti e router", -"you buy transit again":"compri di nuovo transit", -"no PNI with {list}":"manca un PNI con {list}", -"your reach is {p}, not 100%":"la tua raggiungibilità è {p}, non 100%", -"Courtesy route to new networks":"Percorso di cortesia verso le nuove reti", -"You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.":"Non sei più Tier 1.
Perché {why}. Il badge Tier 1 resta; riconquista lo status per mostrarlo di nuovo.", -"The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.":"Il percorso di cortesia è finito.
Le nuove reti a cui non ti sei collegato ora si raggiungono solo con il tuo peering e il tuo transit.", -"{optic} to spares":"{optic} nei ricambi", -"Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.":"Venduto un {optic} di ricambio su eBuy.
Rientrano {price}, cioè il {p} del prezzo da nuovo.", -"Courtesy route":"Percorso di cortesia", -"{n} networks · {d} days left":"{n} reti · {d} giorni rimasti", -"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.":"Raggiunge gratis le reti dell’ultimo aggiornamento che non hai altro modo di raggiungere. Collegati a loro prima che finisca.", -"{n} spare on the shelf":"{n} ricambio sullo scaffale", -"{n} spares on the shelf":"{n} ricambi sullo scaffale", -"spare + {price}":"ricambio + {price}", -"spare":"ricambio", -"Unplugged optics go on the spares shelf and are used first next time.":"Le ottiche scollegate vanno sullo scaffale dei ricambi e la volta dopo si usano per prime.", -"Spares shelf":"Scaffale ricambi", -"Sell one {price}":"Vendine uno {price}", -"New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.":"Nuove reti sulla mappa.
Questo aggiornamento ha aggiunto reti a cui non sei ancora collegato. Per {n} giorni un percorso di cortesia gratuito le raggiunge, così la tua raggiungibilità non crolla da un giorno all’altro. Fai peering con loro, o compra transit, prima che finisca.", -"Flood Season":"Stagione delle piene", -"Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.":"Amsterdam, capitale europea dell’hosting, in piena stagione delle botnet. Ogni tostapane smart, baby monitor e frigo mai aggiornato della Terra ha scelto da che parte stare, e non è la tua. Un’ondata ogni pochi giorni, sempre più spesso nei terabit, mentre tutto il resto continua a rompersi. Parti con l’attrezzatura più grossa già sbloccata, e ti servirà.", -"Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better":"Reggi 20 ondate, 5 sopra 1 Tbps, tenendo la città sotto attacco al 97% o meglio", -"Attacker: {who}.":"Attaccante: {who}.", -"Flood held: {g}.
{who} gave up and went back to mining crypto.":"Ondata respinta: {g}.
{who} si è arreso ed è tornato a minare cripto.", -"That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.":"Questa è passata: {g}.
{city} è scesa al {p}. Da qualche parte, {who} è molto fiero di sé.", -"a botnet of 40,000 smart toasters":"una botnet di 40.000 tostapane smart", -"every unpatched baby monitor in Europe":"ogni baby monitor non aggiornato d’Europa", -"a gaming clan that lost one match":"un clan di gamer che ha perso una partita", -"a fridge that achieved sentience and chose violence":"un frigo diventato senziente che ha scelto la violenza", -"a crypto bro shorting your stock":"un cripto-bro che scommette contro le tue azioni", -"a teenager with a stolen credit card and a grudge":"un adolescente con una carta di credito rubata e un rancore", -"a rival ISP’s “stress test”":"lo “stress test” di un ISP rivale", -"ten thousand smart light bulbs, blinking in unison":"diecimila lampadine smart che lampeggiano all’unisono", -"a printer. Just one printer. Nobody knows how":"una stampante. Una sola stampante. Nessuno sa come", -"a botnet run from a cloud you also host":"una botnet che gira in un cloud che ospiti anche tu", -"somebody who did not like your network name":"qualcuno a cui non piaceva il nome della tua rete", -"the internet-connected kettles of a whole country":"i bollitori connessi di un intero paese", -"Floods held":"Ondate respinte", -"Terabit floods held":"Ondate terabit respinte", -"Floods that got through":"Ondate passate", -"Under attack now":"Sotto attacco ora", -"Fill this pair first.
Light all {max} channels before you light another fiber pair.":"Prima riempi questa coppia.
Accendi tutti i {max} canali prima di accendere un’altra coppia di fibre.", -"Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.":"Coppia di fibre {n} accesa: {a}–{b}.
Un altro ROADMaster 9000 e una nuova catena di amplificatori. Spazio per altri {m} canali.", -"{n} fiber pairs lit, the trench is full":"{n} coppie di fibre accese, il cavidotto è pieno", -"Light fiber pair {n} {price} + {mo}/mo":"Accendi la coppia {n} {price} + {mo}/mese", -"The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.":"Le banche hanno smesso di chiamare.
Hai più soldi della maggior parte di loro. Le offerte di prestito tornano se la tua cassa scende sotto {cash}.", -"The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.":"La {ship} salpa!
{name}, il tuo cavo di {km} km da {a} a {b}. Pronto in circa {n} giorni, se le balene collaborano.", -"Light fiber pair {n} {price}":"Accendi la coppia {n} {price}", -"your own subsea cable {name}":"il tuo cavo sottomarino {name}", -"No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.":"Niente siti di rigenerazione in mezzo all’oceano: sui cavi lunghi le ottiche lavorano in modalità long-haul.", -"A whale has parked on the route and will not move.":"Una balena si è parcheggiata sul percorso e non si sposta.", -"The cable ship’s coffee machine broke. Nobody works without coffee.":"La macchina del caffè della nave posacavi si è rotta. Senza caffè non lavora nessuno.", -"A fishing fleet is trawling exactly where you need to lay.":"Una flotta di pescherecci sta strascicando proprio dove devi posare.", -"The seabed survey found an old sea mine. A small, very careful detour.":"Il rilievo del fondale ha trovato una vecchia mina. Una piccola, attentissima deviazione.", -"Storm season. The ship is sheltering in port, playing cards.":"Stagione delle tempeste. La nave è al riparo in porto, a giocare a carte.", -"The crew fished out somebody else’s cable by mistake and has to put it back.":"L’equipaggio ha ripescato per sbaglio il cavo di qualcun altro e deve rimetterlo giù.", -"This route is on land. Build your own fiber instead.":"Questo percorso è via terra. Costruisci la tua fibra invece.", -"Laying your own subsea cable is a Tier 1 thing. Go transit-free first.":"Posare un proprio cavo sottomarino è roba da Tier 1. Prima liberati dal transit.", -"{city} has no cable landing station.":"{city} non ha una stazione di approdo per cavi.", -"Nobody gives a foreign network a landing licence in mainland China.":"Nessuno dà a una rete straniera una licenza di approdo nella Cina continentale.", -"Lay your own subsea cable…":"Posa il tuo cavo sottomarino…", -"Your own subsea cable Tier 1 only":"Il tuo cavo sottomarino solo Tier 1", -"Back":"Indietro", -"Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.":"Il tuo cavo sottomarino personale. Una nave lo posa sul fondale, possiedi ogni coppia di fibre e le onde di nessun altro dividono il tuo vetro. Costa una cifra francamente maleducata e ci vuole parecchio.", -"{km} km of seabed":"{km} km di fondale", -"Fiber pairs":"Coppie di fibre", -"{n} in the cable, the first one lit":"{n} nel cavo, la prima accesa", -"Landing stations":"Stazioni di approdo", -"{a} and {b}":"{a} e {b}", -"Build time":"Tempo di costruzione", -"about {n} days":"circa {n} giorni", -"Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"I tagli succedono lo stesso, ancore e squali compresi, ma la nave di riparazione la chiami tu.", -"Lay the cable {price}":"Posa il cavo {price}", -"…and {n} more change":"…e {n} altra modifica", -"…and {n} more changes":"…e altre {n} modifiche", -"Read the full notes on GitHub":"Leggi le note complete su GitHub", -"No payments at all! Until the very end. Then all of them, at once.":"Nessuna rata! Fino alla fine. Poi tutte insieme.", -"Cheap while the sun shines. Every open incident adds 2% to your rate.":"Economico finché c’è il sole. Ogni incidente aperto aggiunge il 2% al tuo tasso.", -"You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.":"Rimborsi con il 30% della bolletta del transit. Liberati dal transit e smetti di pagare. Fino alla fine.", -"Your rate is set by the stars every month. Mercury is in retrograde a lot.":"Il tuo tasso lo decidono le stelle ogni mese. Mercurio è retrogrado spesso.", -"The cheapest money in town. There is a catch, and it has extra cheese.":"I soldi più economici in città. C’è una fregatura, con doppia mozzarella.", -"Always run an odd number of POPs. Our numerologist insists.":"Tieni sempre un numero dispari di POP. Il nostro numerologo insiste.", -"Never build in Bude. The loan officer had a bad surfing holiday there.":"Mai costruire a Bude. Il funzionario ci ha fatto una brutta vacanza di surf.", -"No diesel generators anywhere. Our sustainability team is watching.":"Nessun generatore diesel, da nessuna parte. Il nostro team sostenibilità ti guarda.", -"No new links on a Friday. The stars do not allow it.":"Niente nuovi collegamenti di venerdì. Le stelle non lo permettono.", -"No Goggle cache boxes. Our chairman lost an argument with a search engine.":"Niente cache di Goggle. Il nostro presidente ha perso una discussione con un motore di ricerca.", -"Reach 99% of the internet at all times. We looked up what a network is for.":"Raggiungi sempre il 99% di internet. Abbiamo cercato a cosa serve una rete.", -"Stay Tier 3. Number go up, rank stay down.":"Resta Tier 3. Il numero sale, il rango resta giù.", -"Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.":"Dai un lavoro al nipote del nostro CEO. Gli servono {price}/mese e un posto auto.", -"Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.":"Il nostro presidente vuole uno yacht per l’estate. Tu non ce l’hai, quindi lo affitti: {price}/mese.", -"Pizza for the whole NOC after every incident: {price} each.":"Pizza per tutto il NOC dopo ogni incidente: {price} ogni volta.", -"Mercury":"Mercurio", -"Saturn":"Saturno", -"Venus":"Venere", -"Your rising sign":"Il tuo ascendente", -"The moon":"La luna", -"Pluto, which is not even a planet":"Plutone, che non è nemmeno un pianeta", -"{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.":"{bank}: il palloncino è scoppiato.
I {price} restanti scadevano oggi, tutti insieme. Sono usciti dal tuo conto.", -"{bank}: {sign} is in retrograde.
Your rate is now {apr}%.":"{bank}: {sign} è retrogrado.
Il tuo tasso ora è {apr}%.", -"You pay {pct} of your transit bill until {price} is repaid.":"Paghi il {pct} della bolletta del transit finché non hai rimborsato {price}.", -"Nothing to pay for {n} months. Then everything.":"Niente da pagare per {n} mesi. Poi tutto.", -"Plus {pct} of your revenue until it is repaid.":"In più il {pct} dei tuoi ricavi finché non è rimborsato.", -"plus {pct} of revenue":"più il {pct} dei ricavi", -"{price}/mo in extras":"{price}/mese di extra", -"{pct} of your transit bill · {n} months left · the rest is due at the end":"{pct} della bolletta del transit · {n} mesi rimasti · il resto si paga alla fine", -"Nothing to pay until the end · {n} months left · growing at {apr}% a year":"Niente da pagare fino alla fine · {n} mesi rimasti · cresce del {apr}% l’anno", +"+ box":"+ box", "+2% per open incident":"+2% per ogni incidente aperto", -"rate set by the stars each month":"tasso deciso dalle stelle ogni mese", -"plus {pct} of revenue until repaid":"più il {pct} dei ricavi fino al rimborso", -"{pct} of your transit bill":"{pct} della bolletta del transit", -"{price} to repay":"{price} da rimborsare", -"the rest is due at the end":"il resto si paga alla fine", -"Nothing to pay until the end":"Niente da pagare fino alla fine", -"then about {price} at once":"poi circa {price} tutto insieme", -"handed off as 4×3.2T":"consegnato come 4×3.2T", -"Tomahack 5 merchant silicon":"silicio merchant Tomahack 5", -"Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.":"Sessantaquattro porte 1.6T con software open source al prezzo di una sola line card. Alle 3 di notte non c'è ancora nessuno da chiamare, ma adesso i crash sono crash da 1.6T.", -"Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.":"Chassis economico, abbonamento eterno. Ogni porta vuole una licenza, ogni licenza vuole un server di licenze, e il server di licenze vuole una licenza.", -"PacketOinker³ (a whole litter)":"PacketOinker³ (una cucciolata intera)", -"3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.":"Porte 3.2T e wave 12.8T consegnate come 4×3.2T. Consuma quanto un paesino e arriva con la sua cabina elettrica. Serve un muletto più grosso.", -"Jerry-cho⁵ deep-buffer silicon":"silicio deep-buffer Jerry-cho⁵", -"A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.":"Centoquarantaquattro porte 3.2T e buffer così profondi da nasconderci una flotta intera. Si avvia ancora prima del tuo flat white. Ora anche la barba ha la barba.", -"Fin-P6 network processor":"network processor Fin-P6", -"Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.":"Costruito come la porta di una sauna: pesante, bollente e quasi indistruttibile. La config ormai è così gerarchica che ha una famiglia reale.", -"several hundred ARM cores and a prayer":"qualche centinaio di core ARM e una preghiera", -"A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.":"Un router 3.2T al prezzo di un'auto usata. L'interfaccia web ha novecento schede, e una di queste è quella che ti serve.", -"forty-two of them":"quarantadue", -"Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.":"Duecentocinquantasei porte 3.2T e abbastanza forwarding per una piccola galassia. Si avvia in 42 minuti. Nessuno ricorda più quale fosse la domanda.", -"Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.":"Accende anche la banda L: il doppio dello spettro, fino a 128 canali su una coppia di fibre, e amplificatori che richiedono il doppio del tempo per essere spiegati.", -"Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.":"Il doppio del WaveMagic. Piena velocità solo sulle tratte più corte, e una ventola che senti dal parcheggio.", -"Esports world final":"Finale mondiale di esport", -"Sovereign cloud region":"Region di cloud sovrano", -"Cloud gaming platform":"Piattaforma di cloud gaming", -"Metaverse platform":"Piattaforma metaverso", -"AGI lab (allegedly)":"Laboratorio AGI (a sentir loro)", -"Mars mission ground station":"Stazione di terra per una missione su Marte", -"Your network diagram is a photo of a whiteboard.":"Il tuo schema di rete è la foto di una lavagna.", -"You now have a change freeze. Nobody remembers who declared it.":"Ora hai un change freeze. Nessuno ricorda chi l'ha dichiarato.", -"It's not DNS. There's no way it's DNS. It was DNS.":"Non è il DNS. Non può essere il DNS. Era il DNS.", -"Your MTU is 9000 on every link except the one that matters.":"Hai MTU 9000 su tutti i link tranne quello che conta.", -"Continental carrier":"Carrier continentale", -"Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.":"Il tuo NOC ha un canale chat chiamato #è-sempre-la-fibra, ed è sempre la fibra.", -"peak 6 Tbps, 15 POPs, 4 continents":"picco 6 Tbps, 15 POP, 4 continenti", -"Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.":"Finali mondiali di esport, e l'era del 4K ovunque: gli eyeball di ogni città vogliono il 15% in più. Gear: router Sonic the Whitebox 64.", -"Transcontinental":"Transcontinentale", -"You joined the outages mailing list. Today you are the outage.":"Ti sei iscritto alla mailing list dei guasti. Oggi il guasto sei tu.", -"peak 9 Tbps and 20 POPs":"picco 9 Tbps e 20 POP", -"Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.":"Region di cloud sovrano, e un PNI gratuito con Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 canali), router Disco 8K Ultra.", -"Global backbone":"Backbone globale", -"Your ASN now shows up in other people's traceroutes, and in their tickets.":"Il tuo ASN ora compare nei traceroute degli altri, e nei loro ticket.", -"peak 12 Tbps, 25 POPs, 5 continents":"picco 12 Tbps, 25 POP, 5 continenti", -"A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.":"Un PNI gratuito con Voda-Phony. Gear: router Absolute Unit 3.2T, porte 3.2T e wave 12.8T.", -"Packet empire":"Impero dei pacchetti", -"Your maintenance window is 2 a.m. in every time zone at once.":"La tua finestra di manutenzione è alle 2 di notte in tutti i fusi orari contemporaneamente.", -"peak 16 Tbps and 32 POPs":"picco 16 Tbps e 32 POP", -"Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.":"Piattaforme di cloud gaming, e l'era del cloud gaming: gli eyeball vogliono un altro 15%. Un PNI gratuito con Tel-Mess. Gear: transponder Sienna WaveMagic 3.2T.", -"Six-continent carrier":"Carrier dei sei continenti", -"Somewhere, on every continent, a backhoe is thinking about you.":"Da qualche parte, in ogni continente, una ruspa sta pensando a te.", -"peak 21 Tbps, 40 POPs, 6 continents":"picco 21 Tbps, 40 POP, 6 continenti", -"Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.":"Piattaforme metaverso (alla fine è decollato), e un PNI gratuito con Etis-a-lot. Gear: router Arrrhipster 7800R5, fabric da 102.4T per il tuo exchange.", -"Backbone of backbones":"Backbone dei backbone", -"Your routing table needs its own routing table.":"La tua tabella di routing ha bisogno di una tabella di routing tutta sua.", -"peak 26 Tbps and 50 POPs":"picco 26 Tbps e 50 POP", -"The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.":"L'era della realtà virtuale: gli eyeball vogliono il 20% in più. Un PNI gratuito con China Moble. Gear: router Knockia 7950 XRS, scrubbing da 100T.", -"Internet weather system":"Sistema meteorologico di internet", -"When your BGP sneezes, a small country catches a cold.":"Quando il tuo BGP starnutisce, un piccolo paese si prende il raffreddore.", -"peak 33 Tbps and 60 POPs":"picco 33 Tbps e 60 POP", -"AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.":"Laboratori AGI (a sentir loro) che vogliono AI WAN da 12.8 a 25.6 Tbps, e PNI gratuiti con Du-opoly e Ooh-redoo. Gear: router Mikrowtik CCR 3.2T.", -"Too big to route":"Troppo grande per essere instradato", -"Your last fat-fingered route leak has its own Wikipedia page.":"Il tuo ultimo route leak da dito grasso ha una pagina Wikipedia tutta sua.", -"peak 40 Tbps and 70 POPs":"picco 40 Tbps e 70 POP", -"The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.":"L'era degli agenti AI: gli eyeball vogliono il 25% in più, perché ora i bot navigano al posto delle persone e non dormono mai. Gear: otto coppie di fibre nei tuoi scavi via terra.", -"The Internet":"Internet", -"People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?":"La gente ti chiama per chiedere se internet è giù. Internet sei tu. Hai provato a spegnerti e riaccenderti?", -"peak 50 Tbps and 80 POPs":"picco 50 Tbps e 80 POP", -"Mars mission ground stations. Gear: The Router at the End of the Universe.":"Stazioni di terra per missioni su Marte. Gear: The Router at the End of the Universe.", -"Peers with you for free now, but only over a PNI":"Ora fa peering con te gratis, ma solo su un PNI", -"Is This the Internet?":"È questa internet?", -"Reach customer level 13.":"Raggiungi il livello clienti 13.", -"{sys} level {n}":"{sys} livello {n}", -"Upgrade to {sys} {price}":"Passa a {sys} {price}", -"Peers with you for free over a PNI. You got too big to charge.":"Fa peering con te gratis su un PNI. Sei diventato troppo grande per farti pagare.", -"Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.":"Solo peering a pagamento: un PNI costa {price}/mese. Gratis dal livello clienti {n}.", -"{km} km of cable carries at most {g} per carrier.":"{km} km di cavo portano al massimo {g} per portante.", -"No {wave} waves on this cable.
{why}":"Niente wave da {wave} su questo cavo.
{why}", -"too far for this cable":"troppo lontano per questo cavo", -"Your wave was sold before the cable owner re-engineered it, so it keeps running.":"La tua wave è stata venduta prima che il proprietario del cavo lo riprogettasse, quindi continua a funzionare.", -"A leased {wave} wave on this route costs {price}/mo.":"Una wave da {wave} in affitto su questa tratta costa {price}/mese.", -"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Sostituiscine 16 Tbps e il cavo si ripaga in circa {n} mesi.", -"{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"{km} km sono più di quanto qualsiasi ottica raggiunga a piena velocità. I transponder andranno in modalità long-haul (1.2T, 800G o 400G per canale), oppure aggiungi siti di rigenerazione lungo il percorso per tornare alla piena velocità.", -"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"L'hallway track si è spostato in un bar sul porto, dove la signora dietro al bancone ha continuato a versare acquavite ben oltre mezzanotte senza chiedere a nessuno il suo AS path. Poi al bar dell'hotel qualcuno ha detto «solo un ultimo bicchiere». Le tue sessioni BGP sono rimaste su tutta la notte. Anche tu.", -"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout locale: transit o una porta IX nella città del cliente, oppure un PNI locale quando sei Tier 1", -"Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.":"Su questa tratta nessuno ti lascia scavare. Confini e licenze sono d’intralcio, quindi continua ad affittare.", -"Digging your own fiber unlocks at customer level 3.":"Scavare la tua fibra si sblocca al livello clienti 3.", -"No optic you can buy reaches {km} km yet.":"Nessuna ottica che puoi comprare arriva ancora a {km} km.", -"{cap} fabric circuit":"circuito fabric da {cap}", -"{cap} on a dark fiber IRU":"{cap} su una dark fiber IRU", -"{cap} wave":"wave da {cap}", -"Leased lines":"Linee affittate", -"Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.":"Ogni wave, circuito fabric e dark fiber IRU che affitti tra due tuoi POP, accanto a quanto costerebbe una dark fiber in affitto o la tua fibra. Le stime includono il sistema di linea, gli amplificatori e abbastanza ottiche per la capacità di oggi. Prima costruisci, poi sposta il traffico, infine disdici l’affitto.", -"You pay for leases":"Paghi di affitti", -"land":"terrestre", -"Your own cable: {up} up front, {mo}/mo, about {n} days to build.":"Il tuo cavo: {up} subito, {mo}/mese, circa {n} giorni di lavori.", -"Your own fiber: {up} up front, {mo}/mo, about {n} days to build.":"La tua fibra: {up} subito, {mo}/mese, circa {n} giorni di lavori.", -"Saves {price}/mo, pays for itself in about {n} months.":"Risparmi {price}/mese, si ripaga in circa {n} mesi.", -"Costs more than leasing at this size.":"A questa capacità costa più dell’affitto.", -"Open your fiber":"Apri la tua fibra", -"Plan a cable":"Progetta un cavo", -"Plan your own fiber":"Progetta la tua fibra", -"Open lease":"Apri l’affitto", -"You do not lease any lines between your POPs.":"Non affitti nessuna linea tra i tuoi POP.", -"Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.":"Dark fiber in affitto: {up} subito, {mo}/mese, pronta in circa {n} giorni.", -"Plan dark fiber":"Progetta la dark fiber", -"Open your dark fiber":"Apri la tua dark fiber", -"− box":"− box", -"You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.":"Qui hai già la tua fibra. Accendi altri {n} canali per {up}, poi disdici l'affitto e risparmi {price}/mese.", -"You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.":"Qui affitti già una dark fiber. Accendi altri {n} canali per {up}, poi disdici le wave e risparmi {price}/mese.", -"Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.":"La tua fibra qui ha spazio per altri {free} canali, e spostare questi affitti ne richiede {n}. Prima accendi un'altra coppia di fibre o aggiorna il line system.", -"No optic you can buy works on your fiber here yet.":"Nessuna ottica che puoi comprare funziona ancora sulla tua fibra qui.", -"Diverse route {n}":"Percorso diverso {n}", -"Main route":"Percorso principale", -"New diverse route +40% · survives cuts alone":"Nuovo percorso diverso +40% · sopravvive da solo ai tagli", -"Waves on the same route share its fate: one backhoe cuts them all.":"Le wave sullo stesso percorso ne condividono la sorte: una ruspa le taglia tutte.", -"you cannot reach {list}":"non raggiungi {list}", -"and {n} more":"e altri {n}", -"Not Tier 1 right now: {why}.":"Al momento non sei Tier 1: {why}.", -"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"Il centro geografico degli Stati Uniti. I data center stanno in vecchie miniere di calcare sottoterra: temperatura costante, niente tornado, e qualcuno continua a trovare le scarpe di Dorothy.", -"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"La porta delle praterie tra Vancouver e il resto del Canada. Un chinook scioglie la neve in un pomeriggio, poi nevica di nuovo.", -"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"La porta del Canada sul Pacifico. Piove così tanto che il raffreddamento gratuito include anche il lavaggio gratuito.", -"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"La capitale del Canada, un tempo chiamata Bytown, nome che le si addice. La rete elettrica salta quando c'è vento, ghiaccio o è martedì, quindi porta un generatore.", -"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"L'incumbent del Canada occidentale. Dicci cosa ti serve e noi ti diremo il prezzo.", -"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"Il gigante canadese del cavo, tenuto insieme con il nastro adesivo. Ogni tanto va giù tutto insieme, il che almeno è coerente.", -"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Un castoro ha rosicchiato la tua wave {a}–{b}. Ha usato la fibra per finire una diga.", -"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"La tua fibra {a}–{b} è giù. La squadra di riparazione ha trovato segni di denti, una tana e un castoro molto orgoglioso.", -"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"Il gelo ha crepato il cavidotto sulla {a}–{b}, e un castoro ha fatto il resto.", -"Dam It":"Porca diga!", -"Have your fiber chewed through by a beaver.":"Fatti rosicchiare la fibra da un castoro.", -"Boxes: {a} in A · {b} in B":"Box: {a} in A · {b} in B", -"Move one to B":"Spostane uno in B", -"Move one to A":"Spostane uno in A", -"Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.":"Proprio in mezzo tra Londra, Amsterdam, Parigi e Francoforte, e chissà come più cara di tutte e quattro. Due reti si spartiscono ogni salotto belga, e nessuno cambia se non fai pubblicità.", -"Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.":"Nell'entroterra di Ostenda, dove arrivano i cavi dall'Inghilterra. Il Mare del Nord è basso, trafficato e pieno di pescherecci.", -"Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.":"I data center del Lussemburgo non sono a Lussemburgo città. Sono qui, Tier IV, raffreddati da una centrale che brucia scarti di legno.", -"A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable.":"Un cavo piccolo e dolce da Broadstairs a Ostenda, e poi verso Oostkamp. Da non confondere con altri cavi al gusto di agrumi.", -"Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.":"Metà del duopolio fiammingo, su cavo coassiale. Tiene una porta minuscola a Frites-IX e si nasconde dietro la sua capogruppo internazionale: porta un PNI.", -"The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.":"L'altra metà del duopolio, su rame e fibra. Strettamente nazionale: il mondo la raggiunge tramite il suo ramo wholesale.", -"Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.":"Il ramo wholesale di Proxyminus. Presente in quasi tutti gli exchange della Terra, e molto belga al riguardo.", -"Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.":"5G privato e fibra per le aziende da Oostkamp. Il suo traffico arriva a improvvise raffiche industriali.", -"A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.":"Uno sciopero forestale ha fermato le consegne di scarti di legno alla centrale che raffredda {dc}. Niente vapore, niente chiller: i tuoi router a {city} vanno a metà capacità.", -"A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.":"Un peschereccio al largo di Ostenda ha trascinato le reti dritte sul tuo cavo {a}–{b}. Il Mare del Nord è profondo una trentina di metri e pieno di barche.", -"A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.":"Una nave di servizio di un parco eolico ha gettato l'ancora sul tuo cavo {a}–{b}. Era lì per riparare una turbina.", -"Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.":"La città portuale della Germania. Tutti dicono «Moin» a qualsiasi ora del giorno, e la pioggia arriva di traverso dall'Elba.", -"Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.":"La capitale della Baviera: auto, assicurazioni e una festa della birra di due settimane che ogni autunno fa schizzare il traffico mobile alle stelle. I rack vanno finiti prima di mezzogiorno, come le salsicce.", -"{pn} routers":"router da {pn}", -"A {wave} wave needs {need} at both ends.":"Una wave da {wave} richiede {need} a entrambe le estremità.", -"Sold a {model} on eBuy.
{price} back.":"Venduto un {model} su eBuy.
{price} recuperati.", -"The new routers in {city} are still being racked.
One swap a day: try again tomorrow.":"I nuovi router a {city} li stanno ancora montando nel rack.
Un cambio al giorno: riprova domani.", -"Sold the old {model} on eBuy.
{price} back toward the new gear.":"Venduto il vecchio {model} su eBuy.
{price} recuperati per il nuovo hardware.", -"Needs routers with {pn} ports or bigger at both ends ({city}).":"Servono router con porte da {pn} o più grandi a entrambe le estremità ({city}).", -"Prices include {p} back for the old routers on eBuy.":"I prezzi includono {p} recuperati vendendo i vecchi router su eBuy.", -"New routers went in today. The next swap can wait until tomorrow.":"I nuovi router sono stati montati oggi. Il prossimo cambio può aspettare domani.", +"+{n} days":"+{n} giorni", +"+{n} more":"+{n} altre", "+{n} more connection":"+{n} altra connessione", "+{n} more connections":"+{n} altre connessioni", "+{n} more customer":"+{n} altro cliente", "+{n} more customers":"+{n} altri clienti", -"line {n}: prepend 1 to 3 times":"riga {n}: prepend da 1 a 3 volte", -"# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.":"# {net}: {g} via transit, ma fa peering a {ix} a {city}, dove hai un POP. Prendi una porta lì.", -"# {net}: {g} over the IX. A PNI would take it off the shared port.":"# {net}: {g} via IX. Un PNI lo toglierebbe dalla porta condivisa.", -"Optimize":"Ottimizza", -"# Suggested by the optimizer from live traffic. It has never been paged at 3 a.m., so check it, then deploy.":"# Suggerito dall’ottimizzatore dal traffico in tempo reale. Non è mai stato svegliato alle 3 di notte, quindi controllalo e poi fai il deploy.", -"Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.":"La capitale pianificata del Brasile, a forma di aeroplano. Tutti i ministeri sono in fila ordinata, e ognuno vuole il suo link.", -"Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.":"Montagne, miniere e più bar per abitante che in qualsiasi altro posto del Brasile. Gli accordi di peering si firmano davanti al pane al formaggio.", -"Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.":"La grande città più fredda del Brasile, quella che ha inventato le corsie degli autobus per tutti gli altri. Per metà dell’anno l’aria fuori è free cooling.", -"The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.":"Il profondo sud, a metà strada per Buenos Aires. Grigliata ogni domenica, e una zucca di mate bollente in ogni mano, anche d’estate.", -"Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.":"Porta dell’Amazzonia, alla foce di un fiume così largo che non si vede l’altra sponda. Piove ogni pomeriggio, puntuale.", -"Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.":"La capitale più a nord del Brasile. L’unica strada verso sud attraversa una riserva indigena che di notte chiude al traffico.", -"Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.":"Organizza la festa di São João più grande del mondo: un mese intero di forró ogni giugno. Ed è anche una città universitaria piena di ingegneri.", -"Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.":"Il polo tech del Brasile, a un’ora da São Paulo: università, laboratori e data center in fila lungo l’autostrada.", -"The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.":"Il centro geografico del Sud America, e una delle città più calde del Brasile. I chiller non hanno mai un giorno libero.", -"Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.":"Immigrati italiani, vigneti e fabbriche. I tuoi rack dividono le colline con la vendemmia.", -"An island capital of beaches and startups. Half the city works remotely from a surf shack.":"Una capitale su un’isola, tra spiagge e startup. Metà città lavora da remoto da una baracca da surf.", -"Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.":"Dove si incontrano Brasile, Argentina e Paraguay, accanto a cascate gigantesche e a una diga ancora più grande. L’energia costa poco, le pratiche doganali no.", -"Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.":"Capitale dell’agribusiness e patria della musica sertanejo. Ogni camion, trattore e silo vuole una connessione.", -"The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.":"La città più a est delle Americhe, dove il sole sorge per primo. Anche il tuo turno al NOC comincia presto.", -"A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.":"Una cittadina con il suo IX.brrr, perché i provedores locali ne volevano uno. Il peering non è solo per le grandi città.", -"Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.":"Proprio sull’equatore, alla foce del Rio delle Amazzoni. Nessuna strada la collega al resto del Brasile, e la sua rete elettrica ha avuto settimane nere molto lunghe.", -"Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.":"Due milioni di persone in mezzo alla foresta pluviale, con una zona franca piena di fabbriche. La fibra segue i fiumi, e quando si rompe la squadra di riparazione parte in barca.", -"Dunes, buggies and the corner of Brazil closest to Africa.":"Dune, buggy e l’angolo del Brasile più vicino all’Africa.", -"Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.":"La capitale di stato più giovane del Brasile, costruita da zero nel 1989. Le strade sono numerate, e anche tutto il resto.", -"Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.":"La capitale brasiliana dell’agribusiness: canna da zucchero, succo d’arancia e, secondo i locali, la birra alla spina più fredda del paese.", -"The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.":"La Venezia del Brasile, tutta ponti e fiumi, con uno dei più grandi parchi tecnologici del paese nel suo vecchio porto.", -"The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.":"La capitale dell’Acre, uno stato che secondo una battuta brasiliana non esiste. I tuoi traceroute dicono il contrario.", -"Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.":"La prima capitale del Brasile, con cavi che approdano nella baia e un Carnevale di due milioni di persone che ballano dietro camion pieni di casse.", -"An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.":"Una città su un’isola, con case coloniali piastrellate, nota come capitale brasiliana del reggae. Le sue maree sono tra le più grandi del paese.", -"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.":"L’unica capitale del Nordest lontana dal mare. Famosa per il caldo, con temporali e fulmini che tengono occupati gli scaricatori di sovratensione.", -"An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.":"Una capitale su un’isola con un grande porto per il minerale di ferro. Il suo stufato di pesce è l’originale, chiedi a chiunque dell’Espírito Santo.", -"Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.":"Uruguay: fibra in quasi ogni casa, un portatile per ogni scolaro, e una telco di stato che gestisce quasi tutto.", -"Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.":"Il Paraguay condivide due dighe giganti con i vicini e ha più energia di quanta ne possa usare. I miner di criptovalute se ne sono accorti.", -"Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.":"La seconda città dell’Argentina: università, fabbriche di auto e fernet con cola, in proporzioni su cui i locali discutono per ore.", -"The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.":"La sede di governo più alta del mondo, a 3.600 m. I pendolari vanno in funivia, e anche un po’ della fibra.", -"A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.":"Una capitale in alto sulle Ande, appena a sud dell’equatore, che paga in dollari USA. Vulcani su ogni orizzonte.", -"The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.":"La città dell’eterna primavera, con scale mobili all’aperto su per le colline e una vivace scena di startup.", -"A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.":"Una capitale in una valle sotto una montagna verde. La rete elettrica nazionale ha avuto qualche giornata nera famosa, quindi porta un generatore.", -"Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.":"La città più grande dell’America Centrale, circondata da vulcani. Uno di loro fuma tutti i giorni.", -"Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.":"Il Costa Rica va quasi tutto a energia rinnovabile, quindi i tuoi rack sono verdi. La foresta nebulosa qui accanto è più verde ancora.", -"Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.":"La città del boom dei data center in Messico, alta e asciutta nel centro del paese. Ogni cloud vuole una region qui.", -"Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.":"La capitale industriale del Messico, a poche ore dal Texas. Fabbriche, acciaio e capretto alla griglia nel weekend.", -"Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.":"La Silicon Valley del Messico, patria del mariachi e della tequila. Progettazione di chip di giorno, musica di notte.", -"Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.":"Dice “oi” a ogni casa del Brasile. La fibra è ottima, il bilancio si sta ancora riprendendo.", -"A mobile network named after the sound of a toast. Cheers to every 5G tower.":"Una rete mobile che porta il nome del suono di un brindisi. Cin cin a ogni antenna 5G.", -"Fiber across the sertão of the Northeast, one dirt road at a time.":"Fibra attraverso il sertão del Nordest, una strada sterrata alla volta.", -"A Spanish carrier starring in every Latin American market, at least until it sells the next one.":"Un carrier spagnolo protagonista in ogni mercato latinoamericano, almeno finché non vende il prossimo.", -"Cables all around the Caribbean, served with a lot of foam.":"Cavi tutto intorno ai Caraibi, serviti con tanta schiuma.", -"Uruguay’s state telco. Fast, everywhere, and a little proud of it.":"La telco di stato dell’Uruguay. Veloce, ovunque, e un po’ orgogliosa.", -"Prepaid mobile from Paraguay to Guatemala, with a logo that roars.":"Mobile prepagato dal Paraguay al Guatemala, con un logo che ruggisce.", -"Order and Progress":"Ordine e Progresso", -"São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.":"São Paulo. Il Brasile è un continente: quaranta exchange IX.brrr, migliaia di provedores e l’Amazzonia tra te e il nord.", -"Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served":"Porte su 20 exchange IX.brrr, una delle quali a Manaus, e 200 Gbps serviti", -"This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.":"Questa rotta entra in Amazzonia: 2× il prezzo. La fibra corre lungo fiumi e strade nella giungla, e le riparazioni si fanno in barca.", -"IX.brrr ports":"Porte IX.brrr", -"A port on IX.brrr Manaus":"Una porta su IX.brrr Manaus", -"Join the NOC chat":"Entra nella chat del NOC", -"Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.":"Il nostro gruppo Signal: scambia screenshot, segnala bug e litiga sulle politiche di peering con altri giocatori. Meno ruspe che nella realtà.", -"Join →":"Entra →", -"Chat on Signal":"Chat su Signal", -"Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.":"La capitale più a ovest dell’Africa, dove metà dei cavi lungo la costa si fermano a riposare. La brezza atlantica è free cooling.", -"The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.":"La capitale degli affari dell’Africa occidentale francofona, con torri di vetro su una laguna e cinque cavi nella baia.", -"Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.":"La capitale del Ghana e un approdo preferito dai cavi. Fibra veloce, traffico lento sulla tangenziale.", -"Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.":"La città portuale del Camerun. Da qui un cavo va dritto in Brasile, la via più corta attraverso l’Atlantico del Sud.", -"One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.":"Una delle città più grandi dell’Africa, proprio di fronte a un’altra capitale sull’altra riva del fiume. La corrente va e viene, la rumba non si ferma mai.", -"Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.":"La capitale petrolifera dell’Angola, e la casa dei cavi che vanno dritti in Brasile. Una delle città più care al mondo per una stanza d’albergo.", -"Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.":"La capitale economica del Marocco sull’Atlantico, la porta tra l’Europa e l’Africa occidentale.", -"White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.":"Case bianche che salgono dal Mediterraneo. I cavi vanno a nord verso Marsiglia, e anche gran parte del traffico.", -"A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.":"Una capitale accanto alle rovine di Cartagine, dove il Mediterraneo è più stretto. I cavi arrivano in Sicilia in un attimo.", -"A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.":"Un paese minuscolo all’imbocco del Mar Rosso dove approdano una dozzina di cavi tra Europa, Asia e Africa. E si fa pagare di conseguenza.", -"Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.":"La capitale dell’Etiopia a 2.400 m, senza una costa sua: tutto arriva da Gibuti. Il caffè migliore della mappa.", -"Where East Africa’s cables come ashore, then ride the railway up to Nairobi.":"Dove approdano i cavi dell’Africa orientale, che poi salgono in treno fino a Nairobi.", -"Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.":"La città più grande della Tanzania e la porta sul mare per una mezza dozzina di paesi senza costa.", -"A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.":"Una città su sette colli sul Lago Vittoria. Niente costa, quindi ogni pacchetto verso il mare passa prima dal Kenya o dalla Tanzania.", -"Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.":"Probabilmente la capitale più pulita dell’Africa, con fibra in ogni quartiere e i sacchetti di plastica vietati alla frontiera.", -"Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.":"La capitale del Mozambico, a un’ora dal Sudafrica. I suoi cavi sono il backup della costa orientale quando gli altri si rompono.", -"South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.":"La costa est del Sudafrica: surf, curry e la spiaggia dove approdano i cavi dell’Oceano Indiano.", -"A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.":"Una piccola capitale in mezzo al deserto. I cavi approdano a Swakopmund, poi attraversano le dune.", -"Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.":"Lo Zambia va a energia idroelettrica da un unico grande lago. Negli anni secchi il lago si abbassa, e anche la rete elettrica.", -"Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.":"Jacarande viola e lunghi blackout. Ogni POP qui ha bisogno di un generatore e di tanto gasolio.", -"Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.":"Botswana: tranquillo, sicuro e ricco di diamanti, con Johannesburg a poca strada.", -"Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands.":"Africa Coast to Europe: una ventina di paesi su un solo cavo, dalla Francia a Città del Capo. La carta migliore in molte mani.", -"West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up.":"Il primo grande cavo dell’Africa occidentale, dal Portogallo a Città del Capo. Vecchio e traballante, ma regge ancora tutto.", -"Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa.":"Dal Portogallo a Lagos, con fermate a Dakar, Abidjan e Accra. Pensa solo all’Africa occidentale.", -"Casablanca down the coast to Abidjan, served sweet and very hot.":"Da Casablanca giù lungo la costa fino ad Abidjan, servito dolce e bollente.", -"Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses.":"Dritto attraverso l’Atlantico del Sud, da Fortaleza al Camerun. Niente fermate, niente isole, niente scuse.", -"The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party.":"Il cavo che ha portato online l’Africa orientale, da Durban su fino a Gibuti e poi a Mumbai. Lo racconta ancora a ogni festa.", -"Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors.":"Da Gibuti giù fino a Durban, rasente la costa dell’Africa orientale. Se la ride di pirati e ancore.", -"Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.":"Fibra dal Capo al Cairo attraverso una dozzina di confini. A volte via terra, a volte fuori budget.", -"Owns the cable that brought East Africa online, and sells you the capacity with a straight face.":"Possiede il cavo che ha portato online l’Africa orientale, e ti vende la capacità senza battere ciglio.", -"Owns the cables from Luanda to Brazil, and always finds an angle on the deal.":"Possiede i cavi da Luanda al Brasile, e trova sempre un angolo nell’affare.", -"A tiny telco in a country where the world’s cables come ashore. Prices to match.":"Una piccola telco in un paese dove approdano i cavi di mezzo mondo. Prezzi in proporzione.", -"Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.":"Il gigante mobile dell’Africa, con un giallo che si vede dall’orbita. Mai davvero vuoto.", -"Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.":"Mobile money e dati prepagati in quattordici paesi. Te lo dice a ogni ricarica.", -"Ethiopia’s state telco: a hundred million customers and very calm about competition.":"La telco di stato dell’Etiopia: cento milioni di clienti e molta calma sulla concorrenza.", -"Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.":"L’operatore storico del Marocco, con reti sorelle lungo la costa dell’Africa occidentale. Porta il peso senza lamentarsi.", -"Cape to Cairo":"Dal Capo al Cairo", -"Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.":"Città del Capo. Costruisci una rete attraverso l’Africa: ogni confine vuole il suo permesso, e metà delle reti elettriche non sono dalla tua parte.", -"A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served":"Un percorso da Città del Capo al Cairo, POP a Lagos e Nairobi, e 150 Gbps serviti", -"This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.":"Questa rotta attraversa un confine in Africa: 2× il prezzo. Ogni paese vuole i suoi permessi, il suo carrier e la sua fetta.", -"A path from Cape Town to Cairo":"Un percorso da Città del Capo al Cairo", -"Both a second switch, +{price}/mo":"Entrambi un secondo switch, +{price}/mese", -"{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.":"{name} è annullato.
La fabbrica di cavi si riprende il vetro che non serve a nessuno: {price} indietro.", -"Your cable":"Il tuo cavo", -"New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.":"Nuovo router a {city}
Sostituito prima che ci fosse collegato qualcosa: zero downtime, zero clienti arrabbiati.", -"{ix} switch":"Switch di {ix}", -"Giving it up now returns {price}.":"Rinunciarci adesso ti restituisce {price}.", -"No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.":"Nessun cavo sottomarino approda a {city}. La stazione di approdo più vicina è {near}: porta prima la fibra fin lì, poi prendi un cavo da lì.", -"{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.":"{km} km sono più di quanto qualsiasi ottica possa illuminare, anche con il miglior equipaggiamento sottomarino (al massimo {max} km). I cavi veri fanno tappa su un’isola o in una stazione di approdo lungo la strada: posane due più corti.", +"+{p} since you started":"+{p} da quando hai iniziato", +", and prices have fallen {p}% since you started":", e i prezzi sono scesi del {p}% da quando hai iniziato", +", in via {e}":", entra da {e}", +", plus {n} small network":", più {n} piccola rete", +", plus {n} small networks":", più {n} piccole reti", +". Did you mean {name}?":". Forse intendevi {name}?", +"1.6T on every hop from Lisbon to Lagos":"1.6T su ogni tratto da Lisbona a Lagos", "1.6T on every hop from Los Angeles to Sydney":"1.6T su ogni tratta da Los Angeles a Sydney", +"1.6T on every hop from Miami to Madrid":"1.6T su ogni tratto da Miami a Madrid", +"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", +"1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.":"Porte 1.6T, un microclima tutto suo e due chip PacketOinker² per line card. Accetta wave 6.4T come 4×1.6T. Serve un muletto.", +"10+ POPs ({n})":"10+ POP ({n})", +"100G per box":"100G per box", +"20+ peering sessions ({n})":"20+ sessioni di peering ({n})", +"270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.":"270 milioni di persone su 17.000 isole. Mobile first, e affamatissime di banda.", +"3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.":"Porte 3.2T e wave 12.8T consegnate come 4×3.2T. Consuma quanto un paesino e arriva con la sua cabina elettrica. Serve un muletto più grosso.", +"40% off for 6 months":"40% di sconto per 6 mesi", +"5+ POPs, ports on 3+ IXs and 15+ peering sessions.":"5+ POP, porte su 3+ IX e 15+ sessioni di peering.", +"90 days in a row with 99.5% of demand served":"90 giorni di fila con il 99.5% della domanda servita", +"95th pct {p95} · commit {commit} · bill {bill}/mo":"95° pct {p95} · commit {commit} · fattura {bill}/mese", +"95th percentile":"95° percentile", +"95th percentile {g}":"95° percentile {g}", +"99% reach and 150 Gbps served":"99% di copertura e 150 Gbps serviti", +"99% reach and 200 Gbps served without going broke":"99% di copertura e 200 Gbps serviti senza andare in rovina", +"; this one is set to {mode}":"; questa è impostata su {mode}", +"":"", +"\"After consulting with management…\"
The price went up. Management was consulted.":"“Dopo un confronto con il management…”
Il prezzo è salito. Il management è stato consultato.", +"\"Just this once.\"
Your account manager found a special discount. Do not tell the others.":"“Solo per questa volta.”
Il tuo account manager ha trovato uno sconto speciale. Non dirlo agli altri.", +"40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.":"40% di sconto su {ix} per 6 mesi.
Il tuo account manager tira un sospiro di sollievo. Le clausole in piccolo leggile dopo.", +"A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.":"Un gigaprogetto vuole una demo.
{bw} per quattro giorni a {city}, per mettere in mostra una città che per ora è soprattutto rendering. Guarda la scheda Offerte.", +"A {fab} fabric unlocks at customer level {lv}.":"Un fabric {fab} si sblocca al livello clienti {lv}.", +"A {wave} wave needs {need} at both ends.":"Una wave da {wave} richiede {need} a entrambe le estremità.", +"AS path: {path}":"AS path: {path}", +"Application filed.
Your local partner says about 45 days. Probably.":"Domanda presentata.
Il tuo partner locale dice circa 45 giorni. Forse.", +"Augment ordered with {net}.
{eta}.":"Ampliamento ordinato con {net}.
{eta}.", +"Augment with {net} delivered in {city}.
Now {port}.":"Ampliamento con {net} consegnato a {city}.
Ora {port}.", +"Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.":"L’Australia è diventata più australiana.
Il transito lì ora costa tre volte il prezzo normale, lo vendono solo gli operatori che lo vendono davvero in Australia, e Telstraya e Floptus fanno peering solo in privato, quindi le loro sessioni all’exchange sono terminate. Controlla i tuoi POP australiani.", +"Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.":"Auto-TE attivo.
Ora il controller sposta il traffico in eccesso su percorsi alternativi quando quello più corto è pieno.", +"Auto-TE unlocks at customer level 3.":"Auto-TE si sblocca al livello clienti 3.", +"BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.":"BGP hijack
Qualcun altro sta annunciando i tuoi prefissi. La copertura resta giù finché non si fa pulizia.", +"Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.":"Cavo danneggiato nel Baltico
Un mercantile ha trascinato l’àncora per 100 km e giura di non essersi accorto di niente. Tu non hai link su quei cavi.", +"Baltic cable damaged
{n} of your links are down for about {d} days.":"Cavo danneggiato nel Baltico
Tuoi link fuori uso: {n}, per circa {d} giorni.", +"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Buco nero ritirato.
{city} è di nuovo raggiungibile. Preparati alla spazzatura.", +"Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.":"Blackout a {city}
La rete elettrica è saltata di nuovo. Il tuo generatore è partito al primo colpo, come sempre qui.", +"Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.":"Cavi tagliati nel Mar Rosso
Una nave ha trascinato l’àncora su diversi cavi. Tutti danno la colpa a tutti. Per fortuna tu quei cavi non li usi.", +"Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.":"Cavi tagliati nel Mar Rosso
Tuoi link sottomarini fuori uso: {n}, per circa {d} giorni, mentre i diplomatici litigano sulle navi posacavi.", +"Can't add {optic}.
{why}":"Impossibile aggiungere {optic}.
{why}", +"Cancel the circuits on this port first.":"Prima disdici i circuiti su questa porta.", +"Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"Controlla (dry run) rigioca il traffico di oggi con lo script e mostra quanto serviresti e quanto costerebbe il transito. Non cambia niente.", +"Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.":"Carenza di chip!
Tutti i produttori di router aspettano gli stessi chip. Router nuovi e upgrade costano il 40% in più per {n} giorni. Tempi di consegna: “sì”.", +"Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.":"Circuito attivo in 59 secondi.
{vxc} su {fab}: {a} → {b}.", +"Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.":"Add-on clean-pipe attivato su {net}.
Ripuliscono un flood prima che raggiunga la tua porta qui, per {mo}/mese.", +"Clean-pipe add-on removed from {net}.":"Add-on clean-pipe rimosso da {net}.", +"Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"Commit completato. Traffico giù del {p}.
L’IA si scusa per la confusione, e resta sicurissima che lo script fosse giusto. Correggilo dalla scheda NOC.", +"Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.":"Commit completato. Traffico giù del {p}.
Ti è appena scappato il dito grosso sulla tua stessa rete. Un classico. Correggi lo script dalla scheda NOC.", +"Construction delay: +{n} days
{why} ({a}–{b})":"Ritardo nei lavori: +{n} giorni
{why} ({a}–{b})", +"Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.":"Comandi: trascina la mappa per spostarti, scorri o pizzica per lo zoom, tocca una città per aprirla. Trascina dal tuo router rosa a un’altra città per posare la fibra. Spazio mette in pausa, 0 è mezza velocità, 1 2 3 4 impostano la velocità. A 1× un giorno dura 2,5 secondi.", +"Copied. Paste it into your favourite NOC chat.":"Copiato. Incollalo nella tua chat NOC preferita.", +"Customer level {lv}: {name}
New customers unlocked: {unlock}":"Livello clienti {lv}: {name}
Nuovi clienti sbloccati: {unlock}", +"DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.":"DE-KICKS ha armonizzato i prezzi.
Armonizzato vuol dire più alto: {ix} ora costa il {p}% in più. Grazie per la tua continua partnership.", +"DE-KICKS sales is still \"aligning\".
They will get back to you in {n} days.":"Il commerciale DE-KICKS si sta ancora “allineando”.
Ti ricontatteranno tra {n} giorni.", +"DE-KICKS will \"circle back\".
Expect an email titled \"Quick question 🙂\" within the hour.":"DE-KICKS ti “ricontatterà”.
Entro un’ora aspettati una mail intitolata “Domandina veloce 🙂”.", +"Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.":"IRU di dark fiber firmato.
{a}–{b} sarà giuntata e consegnata in circa 30 giorni.", +"Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"Deploy lo rende attivo per il controller Auto-TE. Se il traffico cala, correggilo qui o spegni Auto-TE nella scheda NOC.", +"Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.":"Drizzle Electric ti ha mandato una torta IPv6.
L’hai rivenduta per $8k.", +"Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.":"Tutte le navi posacavi sono prenotate.
Gli hyperscaler hanno noleggiato ogni nave posacavi e ogni squadra di scavo del pianeta. Nuove fibre e nuovi cavi costano il 30% in più per {n} giorni.", +"Fabric port in {city} is full.":"La porta fabric a {city} è piena.", +"Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.":"Faceplant ha instradato la Corea via Hong Kong.
Gli utenti di Seoul ne ricevono un quinto in meno per 20 giorni, comunque tu sia connesso.", +"Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.":"Coppia di fibre {n} accesa: {a}–{b}.
Un altro ROADMaster 9000 e una nuova catena di amplificatori. Spazio per altri {m} canali.", +"Fill this pair first.
Light all {max} channels before you light another fiber pair.":"Prima riempi questa coppia.
Accendi tutti i {max} canali prima di accendere un’altra coppia di fibre.", +"Fixed. {what} resolved early.":"Sistemato. {what}: risolto in anticipo.", +"Flood held: {g}.
{who} gave up and went back to mining crypto.":"Ondata respinta: {g}.
{who} si è arreso ed è tornato a minare cripto.", +"Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"Glitch lascia la Corea.
Il sito di streaming di videogiochi dice che le tariffe di rete coreane sono “proibitive” e chiude lì. Il suo traffico a Seoul si dimezza, per sempre. Gli streamer locali sono già passati ad altro.", +"Goal: {goal} · Time: {d} days · start in {city}":"Obiettivo: {goal} · Tempo: {d} giorni · si parte da {city}", +"Golden Week!
Demand in mainland China is up 40% for a week.":"Golden Week!
La domanda nella Cina continentale sale del 40% per una settimana.", +"Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.":"Ben fatto: era un route leak.
{who} ha trovato una route map scritta male. La sessione torna da sola tra qualche giorno.", +"Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.":"Buone notizie! Sei stato iscritto a {addon}.
{blurb} {price}/mese, aggiunti alla tua fattura di {ix}. Puoi disdire quando vuoi nel pannello dell’IX.", +"Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.":"Primo colpo di piccone!
La tua fibra da {a} a {b}. Tra permessi e scavi ci vorranno circa {n} giorni.", +"HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.":"HackBack 3000™ ha colpito il bersaglio sbagliato.
{who} Un’autorità ti manda una multa da {fine}, e l’attacco continua.", +"HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.":"HackBack 3000™ colpisce ancora!
Skynot AI ha tracciato la botnet e l’ha gentilmente spenta. L’attacco su {city} si ferma di colpo.", +"Haggling paused.
{why}":"Trattativa in pausa.
{why}", +"IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.":"Blackhole IX annunciato a {city}.
Circa metà dei membri rispetta il /32 e scarta la spazzatura. Il cliente resta online.", +"IX blackhole withdrawn.":"Blackhole IX ritirato.", +"Import failed.
That save is damaged and could not be loaded. Your current game is untouched.":"Importazione fallita.
Quel salvataggio è danneggiato e non si può caricare. La partita in corso non è stata toccata.", +"Import failed.
{err}":"Importazione fallita.
{err}", +"Installed!
Open Series of Tubes from your home screen. Your saves come along.":"Installato!
Apri Series of Tubes dalla schermata Home. I tuoi salvataggi vengono con te.", +"LAG member added.
{net} in {city} is now {lag}.":"Membro LAG aggiunto.
{net} a {city} ora è {lag}.", +"LAG member removed.":"Membro LAG rimosso.", +"Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.":"Lite sui permessi di approdo a {city}
Due ministeri rivendicano la stessa spiaggia. Per 45 giorni lì non può approdare nessun nuovo link sottomarino.", +"Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.":"Large Peering Model è assunto.
La tua casella ora è un problema suo. {price} all’anno, fatturati ogni mese.", +"Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.":"Carenza di laser!
La fabbrica che produce i laser di metà delle ottiche del mondo si è allagata. Le ottiche costano il 50% in più per {n} giorni. Le scorte sul tuo scaffale sono appena diventate il miglior investimento della tua vita.", +"License granted!
Your joint venture can now build POPs in mainland China.":"Licenza concessa!
La tua joint venture ora può costruire POP nella Cina continentale.", +"Line system swap
All channels are dark for a day while the ROADMs go in.":"Cambio del line system
Tutti i canali restano spenti per un giorno mentre si installano i ROADM.", +"Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.":"In vendita tramite un broker di capacità.
{name} vuole {what}. Accetta dalla fibra o in Offerte.", +"Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.":"Distacchi a rotazione a {city}
Oggi stage {n}. Il tuo generatore ha tossito, poi ha tenuto le luci accese.", +"Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.":"Prestito di {bank} estinto!
Ti hanno mandato un cesto di frutta. Sono quasi tutte banane.", +"Loan from {bank} repaid early.":"Prestito di {bank} estinto in anticipo.", +"Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.":"Limite max-prefix superato: {who} a {ix}.
La sessione resta giù finché non ci guardi.", +"Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.":"Microburst su {a}–{b}.
I tuoi router con buffer profondi li hanno assorbiti. Nessuno se n’è accorto.", +"More crews on site.
Construction is {n} day ahead.":"Più squadre sul posto.
I lavori sono in anticipo di {n} giorno.", +"More crews on site.
Construction is {n} days ahead.":"Più squadre sul posto.
I lavori sono in anticipo di {n} giorni.", +"New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.":"Nuove reti sulla mappa.
Questo aggiornamento ha aggiunto reti a cui non sei ancora collegato. Per {n} giorni un percorso di cortesia gratuito le raggiunge, così la tua raggiungibilità non crolla da un giorno all’altro. Fai peering con loro, o compra transit, prima che finisca.", +"New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.":"Nuovo router a {city}
Sostituito prima che ci fosse collegato qualcosa: zero downtime, zero clienti arrabbiati.", +"New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?":"È uscita la nuova stagione di “Stranger Pings”!
La domanda degli eyeball sale del 25% per una settimana. Hai margine?", +"No IX in {city} to announce a blackhole to.":"Nessun IX a {city} a cui annunciare un blackhole.", +"No attack to blackhole right now.":"Nessun attacco da mettere in buco nero adesso.", +"No cable available for that route right now.":"Al momento non c’è nessun cavo disponibile per quella tratta.", +"No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).":"Nessuna porta router libera a {city}.
{u} di {m} in uso. Aggiungi un router, o passa a un modello con più porte (scheda Infra).", +"No transit in this scenario.
Peering, PNIs, caches and your own fiber only.":"Niente transit in questo scenario.
Solo peering, PNI, cache e la tua fibra.", +"No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.":"Nessuna capacità {wave} su questa tratta al momento.
{why} Prova un’onda più piccola, un’altra tratta, o chiedi di nuovo tra {n} giorni.", +"No {wave} waves on this cable.
{why}":"Niente wave da {wave} su questo cavo.
{why}", +"Not enough cash.
Wait for revenue, or speed up time.":"Cassa insufficiente.
Aspetta i ricavi, o accelera il tempo.", +"Not enough free channels on that fiber any more.":"Su quella fibra non ci sono più abbastanza canali liberi.", +"Not enough room on your fabric port. Upgrade it first.":"Non c’è abbastanza spazio sulla tua porta fabric. Prima fai l’upgrade.", +"Not enough room on your {fab} port in {city}.":"Non c’è abbastanza spazio sulla tua porta {fab} a {city}.", +"Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.":"Niente da vendere su questa fibra.
Ogni canale è acceso o venduto, e nello scavo non c’è una coppia libera.", +"Nothing to hack back right now.":"Niente da contrattaccare adesso.", +"Opted out of {name}.
It took four clicks, a survey and a \"we're sad to see you go\" page.":"Hai disattivato {name}.
Ci sono voluti quattro clic, un sondaggio e una pagina “ci dispiace vederti andare via”.", +"Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"Meltdown del control plane ottico!
Tutte le wave in affitto in {reg} si sono spente insieme. La tua dark fiber va benissimo. Ecco perché la gente si compra la fibra.", +"Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.":"Offline per decreto a {city}
Uno shutdown governativo per gli esami. Il tuo POP lì resta spento per un giorno.", +"PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.":"La PNI con {net} è attiva a {city}.
Un cross-connect in {dc}. Privato e veloce.", +"PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.":"PNI con {net} ordinata.
{eta}. Un cross-connect in {dc}, appena qualcuno trova la LOA.", +"Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.":"Lite di peering!
Cogentle ha tolto il peering a Goggle per 20 giorni. Il traffico Goggle via transit Cogentle è sparito. Fai peering diretto con Goggle o usa un altro upstream.", +"Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.":"Penale da {bank}: {fee}
Aggiunta al tuo debito. La rata mensile ora è {pay}.", +"Port up at {ix}!
Now request peering, or join the route server.":"Porta attiva a {ix}!
Ora richiedi il peering, o entra nel route server.", +"Power cut in {city}
Your backup generator kicked in. Lights stayed on.":"Interruzione di corrente a {city}
È partito il generatore di backup. Luci rimaste accese.", +"Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.":"Riavviato.
Il router di {city} sta ripartendo. Sarà su domani, {chip} permettendo.", +"Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.":"Guerra dei prezzi a {city}!
{ix} ha tagliato del 10% i prezzi delle porte per non farsi scappare i membri verso {rival}. La tua fattura si è appena alleggerita.", +"Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.":"Prezzi bloccati fino al {date}.
L’account manager del tuo fornitore è felicissimo. Ci prende un bonus.", +"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH annunciato.
Hai messo il bersaglio a {city} in buco nero. Il flood si ferma, e con lui tutti quelli lì.", +"Regen site removed.":"Sito di rigenerazione rimosso.", +"Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.":"Il sito di rigenerazione {n} è attivo.
Le tratte ottiche su {a}–{b} ora sono di {km} km.", +"Registered.
Flights booked, badge printed, business cards ordered in the wrong font.":"Iscritto.
Voli prenotati, badge stampato, biglietti da visita ordinati col font sbagliato.", +"Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.":"Il remote peering è l’ultima spiaggia. Le porte arrivano tramite un rivenditore a 1,5× il prezzo, solo l’80% della porta è davvero tuo, la latenza viaggia sul fabric, un solo disservizio del fabric fa cadere tutte le sessioni e molte reti selettive rifiutano i membri remoti. Meglio un POP qui.", +"Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.":"Porta remota attiva a {ix}.
Passa da un reseller, quindi aspettati un ricarico, una porta affollata e qualche rete che non ti rivolge la parola. Qui il route server è tuo amico.", +"Resolved: {what}":"Risolto: {what}", +"Resolved: {what}
{where} is back to normal.":"Risolto: {what}
{where} è tornato alla normalità.", +"Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.":"Upgrade progressivo a {city}
{n} × {model}, sostituiti uno alla volta. Zero downtime.", +"Route server session up.
You now peer with every open network on this IX, in one go.":"Sessione col route server attiva.
Ora fai peering con tutte le reti open di questo IX, in un colpo solo.", +"Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.":"Crash di un router a {city}
Un router è andato in panic e il suo gemello ha preso il comando.{slow} Lì la capacità è ridotta di un router per {d} giorni.", +"Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.":"Router installato a {city}.
Il fornitore l’ha spedito dritto, quindi i tecnici del posto l’hanno capovolto. Qui è tutto sottosopra.", +"Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.":"Router installato a {city}.
A testa in giù, come si usa da queste parti. Ai pacchetti non sembra importare.", +"Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.":"Gestito da DE-KICKS Group. Nessun listino pubblico. Chiedi alle vendite un preventivo personalizzato e porta la tua faccia da trattativa.", +"Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.":"Gestito da un’associazione no-profit. Prezzi pubblici a una frazione di quanto chiedono gli altri exchange, e ci sono quasi tutti.", +"Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.":"Contributo per la banda larga rurale: +$30k
Al Ministero dei Tubi piace quello che stai facendo.", +"SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.":"Violazione SLA: {name}.
L’attacco su {city} è passato e il tuo cliente protetto è andato giù. Devi {pen} in crediti SLA.", +"Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.":"Sanzioni!
La Repubblica del Burocrazistan ha sanzionato il fornitore di viti preferito del tuo vendor di router. I ricambi arrivano col contagocce: per 60 giorni i crash dei router richiedono il doppio del tempo per essere risolti.", +"Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.":"Modalità sandbox
Un miliardo di dollari, tutto sbloccato e non si rompe mai niente. Costruisci l’internet che hai sempre sognato.", +"Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.":"Salvataggio esportato.
{file} è nei tuoi download. Aprilo su un altro dispositivo con “Importa un salvataggio”.", +"Scrubbing upgraded to {tier}.":"Scrubbing aggiornato a {tier}.", +"Second LAG member added.
One member in each building now, so a dark building only takes out half the port.":"Secondo membro LAG aggiunto.
Ora c’è un membro per edificio, così un edificio al buio si porta via solo metà porta.", +"Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.":"Secondo sito attivo a {city}.
{b} è collegato a {a} dal tuo anello metro. Sposta lì qualche uplink dalle schede Transit e Peering.", +"Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.":"La sessione con {who} è di nuovo su.
Nuovo limite: {n} prefissi. Promettono di aggiornare PeeringDB.", +"Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.":"Firmato con DE-KICKS.
Benvenuto in famiglia. Per favore, non dire a nessuno quanto paghi.", +"Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.":"Venduto un {optic} di ricambio su eBuy.
Rientrano {price}, cioè il {p} del prezzo da nuovo.", +"Sold a {model} on eBuy.
{price} back.":"Venduto un {model} su eBuy.
{price} recuperati.", +"Sold the old {model} on eBuy.
{price} back toward the new gear.":"Venduto il vecchio {model} su eBuy.
{price} recuperati per il nuovo hardware.", +"Something in the NOC glitched.
The game kept going. If things look odd, export your save and open an issue on GitHub.":"Qualcosa nel NOC si è inceppato.
Il gioco è andato avanti. Se qualcosa sembra strano, esporta il salvataggio e apri una issue su GitHub.", +"Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.":"Esercitazione di internet sovrano
Mosca si è staccata dal resto di internet per un giorno, giusto per vedere che succede. Tutto ciò che esce dalla Russia resta al buio fino a domani.", +"That customer is gone.
The contract ended since.":"Quel cliente non c’è più.
Nel frattempo il contratto è finito.", +"That file is too big to be a save.":"Quel file è troppo grande per essere un salvataggio.", +"That link is gone.
It was removed or decommissioned since.":"Quel link non c’è più.
Nel frattempo è stato rimosso o dismesso.", +"That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.":"Questa è passata: {g}.
{city} è scesa al {p}. Da qualche parte, {who} è molto fiero di sé.", +"That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.":"Era un route leak.
{who} annunciava {n} prefissi: una full table. La prossima volta, tienila giù.", +"The AI is gone.
It left a 40-page handover document. It is mostly about itself.":"L’IA se n’è andata.
Ha lasciato un documento di passaggio di consegne di 40 pagine. Parla soprattutto di sé.", +"The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.":"Le banche hanno smesso di chiamare.
Hai più soldi della maggior parte di loro. Le offerte di prestito tornano se la tua cassa scende sotto {cash}.", +"The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.":"Il confine si è fatto più severo.
Il packet loss transfrontaliero sale al 35% per 10 giorni. Le rotte premium se ne accorgono appena.", +"The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.":"Il percorso di cortesia è finito.
Le nuove reti a cui non ti sei collegato ora si raggiungono solo con il tuo peering e il tuo transit.", +"The event is already running.
The organisers will not let you walk out now.":"L’evento è già in corso.
Gli organizzatori non ti lasciano andare via adesso.", +"The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"Internet è tornato.
Almeno metà. Tutto è stato patchato di corsa e nessuno ha imparato niente.", +"The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.":"Lo strozzino ti ha mandato un promemoria.
Il tuo POP a {city} resta spento fino a domani.", +"The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.":"I vicini hanno litigato.
Una crisi diplomatica chiude confini e spazio aereo attorno al Qatar. Tutti i link tra Doha e Arabia Saudita o Emirati sono giù per circa {n} giorni. Fai il giro lungo, via mare.", +"The new routers in {city} are still being racked.
One swap a day: try again tomorrow.":"I nuovi router a {city} li stanno ancora montando nel rack.
Un cambio al giorno: riprova domani.", +"The session stays down.
{who} will update PeeringDB and ask again. Eventually.":"La sessione resta giù.
{who} aggiornerà PeeringDB e chiederà di nuovo. Prima o poi.", +"The {model} won't fit.
{why}":"Il {model} non ci sta.
{why}", +"The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.":"La {ship} salpa!
{name}, il tuo cavo di {km} km da {a} a {b}. Pronto in circa {n} giorni, se le balene collaborano.", +"Those optics need the regen site.
Remove the long-haul channels first, or keep the site.":"Quelle ottiche hanno bisogno del sito di rigenerazione.
Rimuovi prima i canali long-haul, oppure tieni il sito.", +"Too late: the event has already started.":"Troppo tardi: l’evento è già iniziato.", +"Too many circuits for a smaller port.":"Troppi circuiti per una porta più piccola.", +"Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.":"Guerra commerciale sulle ottiche
Due governi si sono messi i dazi a vicenda sui laser. Le ottiche costano il 40% in più per 90 giorni.", +"Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.":"I prezzi del transit sono scesi dell’8%.
Succede ogni anno. Nessuno sa dove sia il fondo.", +"Unplug something first.
{used} ports are in use, and one router fewer only has {max}.":"Prima stacca qualcosa.
Ci sono {used} porte in uso, e con un router in meno ne avresti solo {max}.", +"Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.":"Incidente aspirapolvere a {city}
L’addetto alle pulizie di {dc} ha staccato uno dei tuoi router per attaccare l’aspirapolvere. L’altro ha retto. Il pavimento è splendente.", +"Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.":"Incidente aspirapolvere a {city}
L’addetto alle pulizie ha staccato tutto a {siteA}. {siteB} ha tenuto online la città a metà capacità.", +"Welcome back, {name}.
Imported and saved on this device.":"Bentornato, {name}.
Importato e salvato su questo dispositivo.", +"Welcome back, {name}.
Your network is right where you left it: {date}.":"Bentornato, {name}.
La tua rete è proprio dove l’avevi lasciata: {date}.", +"Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.":"Benvenuto, {name}!
Il RIPE NCC ti ha assegnato l’AS{asn}. Il tuo primo router ronza già a {city}.", +"You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.":"Sei in rosso.
Disdici qualcosa di costoso, aspetta i ricavi o chiedi un prestito in banca. A −$100k la banca si prende i tuoi router.", +"You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.":"Non sei più Tier 1.
Perché {why}. Il badge Tier 1 resta; riconquista lo status per mostrarlo di nuovo.", +"You bought out {bank}.
They flew off to find another startup.":"Hai liquidato {bank}.
Sono volati via in cerca di un’altra startup.", +"You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.":"Hai fondato {ix}!
Le reti si uniranno col tempo e ti pagheranno le porte. I membri open fanno peering con te gratis.", +"You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.":"Ora sai le basi.
Da qui in poi ci pensano gli obiettivi a sinistra. Le cose si romperanno. È quello il bello.", +"You need a POP in every city on the contract first.":"Prima ti serve un POP in ogni città del contratto.", +"You need a license first.
Foreign networks need a joint venture to build in mainland China.":"Prima ti serve una licenza.
Per costruire nella Cina continentale le reti straniere hanno bisogno di una joint venture.", +"Your account manager found the order under a desk.
It is a month closer.":"Il tuo account manager ha trovato l’ordine sotto una scrivania.
È un mese più vicino.", +"Your account manager is on paternity leave.
His replacement is also on paternity leave.":"Il tuo account manager è in congedo di paternità.
Anche il suo sostituto è in congedo di paternità.", +"Your browser cannot draw the card.":"Il tuo browser non riesce a disegnare la card.", +"Your router can't take a {port} port.
Upgrade it in the Infra tab.":"Il tuo router non regge una porta {port}.
Aggiornalo nella scheda Infra.", +"Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.":"Impossibile caricare la partita salvata.
Era danneggiata: ne abbiamo tenuto una copia di backup e puoi ricominciare da zero.", +"Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.":"Il tuo ticket è stato unito a un altro ticket.
Quel ticket è stato chiuso come duplicato del tuo.", +"Your {ix} promo ended.
Price is back, plus 10% for \"loyalty programme administration\".":"La tua promo su {ix} è finita.
Il prezzo torna quello di prima, più un 10% per “amministrazione del programma fedeltà”.", +"{bank} are circling.
They now take {pct} of your revenue.":"{bank} ti girano intorno.
Ora si prendono il {pct} dei tuoi ricavi.", +"{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.":"{bank} non è contenta.
Hai violato una condizione del prestito: {cond} Rimedia entro 10 giorni o paghi una penale.", +"{bank} would like to lend you {amount}.":"{bank} vorrebbe prestarti {amount}.", +"{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.":"{bank}: il palloncino è scoppiato.
I {price} restanti scadevano oggi, tutti insieme. Sono usciti dal tuo conto.", +"{bank}: {sign} is in retrograde.
Your rate is now {apr}%.":"{bank}: {sign} è retrogrado.
Il tuo tasso ora è {apr}%.", +"{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.":"{cache} installata a {city}!
{net} te l’ha spedita gratis. Tu paghi {mo}/mese di corrente.", +"{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.":"{conf} arriva a {city} tra 30 giorni.
Peering coordinator, chiacchiere nei corridoi, adesivi gratis. Iscriviti dalla scheda Offerte.", +"{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.":"{conf} a {city}
Hai stretto un sacco di mani. Per {n} giorni, alle reti selective presenti in {region} basta metà del solito traffico per fare peering.", +"{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.":"Porta {fab} attiva a {city}.
Ora ordina circuiti virtuali verso altre città sul loro fabric.", +"{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.":"{ix} ora gira su un fabric {fab}.
Spazio per {max} membri. Aspettati qualche nuovo arrivo.", +"{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"{km} km sono più di quanto qualsiasi ottica raggiunga a piena velocità. I transponder andranno in modalità long-haul (1.2T, 800G o 400G per canale), oppure aggiungi siti di rigenerazione lungo il percorso per tornare alla piena velocità.", +"{model} unlocks at customer level {lv}.":"{model} si sblocca al livello clienti {lv}.", +"{name} cancelled.
Too many outages and too little bandwidth in {city}.":"{name} ha disdetto.
Troppi disservizi e troppa poca banda a {city}.", +"{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.":"{name} si abbatte su {city}
Manca la corrente e il tuo POP resta spento per due giorni. Un generatore l’avrebbe salvato.", +"{name} hits {city}
The grid is down, but your backup generator kept the routers running.":"{name} si abbatte su {city}
La rete elettrica è giù, ma il tuo generatore di backup ha tenuto accesi i router.", +"{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.":"{name} è annullato.
La fabbrica di cavi si riprende il vetro che non serve a nessuno: {price} indietro.", +"{name} is furious.
Fix service in {city} or they leave.":"{name} è su tutte le furie.
Sistema il servizio a {city}, o se ne va.", +"{name} is getting unhappy.
Happiness {p}% in {city}.":"{name} sta diventando scontento.
Soddisfazione {p}% a {city}.", +"{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.":"{name} è finito: +{pay}
Hai consegnato il {pct} di quello che voleva il pubblico.", +"{name} starts today!
{bw} of extra demand in {city} for {d} days.":"{name} inizia oggi!
{bw} di domanda extra a {city} per {d} giorni.", +"{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.":"{name} è stato un disastro.
Consegnato solo il {pct}, ed è finito in tendenza sui social. Penale: {pay}.", +"{net} PNI is back to normal.":"La PNI {net} è tornata normale.", +"{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.":"La PNI {net} è ora un punto di strozzatura sacrificale.
Un flood da lì muore sulla porta piccola invece che dentro la tua rete, ma il traffico legittimo ci passa a metà capacità.", +"{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.":"{net} ti ha tolto il peering su {ix} a {city}.
{why} Il traffico ripiega sul miglior percorso rimasto.", +"{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.":"{net} ti ha tolto il peering su {ix}.
{why} Il traffico ripiega sul miglior percorso rimasto.", +"{net} declined the PNI.
{why}":"{net} ha rifiutato il PNI.
{why}", +"{net} declined.
{why}":"{net} ha rifiutato.
{why}", +"{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.":"{net} non fa PNI da {port}.
Niente sotto i 100G. Torna con più traffico, o con un’ottica più grande.", +"{net} joined {ix}!
Another member paying {fee}/mo for a port.":"{net} è entrato in {ix}!
Un altro membro che paga {fee}/mese per una porta.", +"{net} says not yet.
Send them {min}+ Gbps first.":"{net} dice: non ancora.
Prima mandagli {min}+ Gbps.", +"{net} transit is live in {city}.
Full table received: ~1,000,000 routes.":"Il transit di {net} è attivo a {city}.
Full table ricevuta: ~1.000.000 di rotte.", +"{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP dismesso.
{fee} di penali di recesso anticipato a {m} clienti.", +"{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP dismessi.
{fee} di penali di recesso anticipato a {m} clienti.", +"{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nuova sessione a {ix}.
Reti piccole, ma fanno numero, e contano tutte per il club.", +"{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nuove sessioni a {ix}.
Reti piccole, ma fanno numero, e contano tutte per il club.", +"{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.":"Il {p} del traffico di {city} viene riportato al transito a {to}: {ms} ms di andata e ritorno. Gli utenti se ne accorgono oltre i 20 ms (circa 1.500 km), e oltre i 50 ms banda larga e servizi internet contano come servizio scadente. Compra transito qui o vicino, o fai peering in loco.", +"{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about \"the value of premium interconnection\". Prices unchanged.":"{rival} sta rubando membri a DE-KICKS a {city}.
DE-KICKS ha risposto con un webinar sul “valore dell’interconnessione premium”. Prezzi invariati.", +"{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.":"Centro di scrubbing {tier} attivo a {city}.
Gli attacchi fino a {g} vengono ripuliti, e puoi vendere protezione DDoS.", +"{tier} scrubbing unlocks at customer level {lv}.":"Lo scrubbing {tier} si sblocca al livello cliente {lv}.", +"{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.":"{who} ha chiesto su una mailing list se qualcuno ha un contatto funzionante da {me}.
La loro richiesta di peering è rimasta nella tua casella per un mese.", +"“Could you resend the LOA?”
You have sent it four times.":"“Può rimandarci la LOA?”
L’hai mandata quattro volte.", +"“It is with the provisioning team.”
Nobody has ever met the provisioning team.":"“È in mano al team di provisioning.”
Nessuno ha mai conosciuto il team di provisioning.", +"“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.":"“Stiamo aspettando il colo per il cross-connect.”
Il colo dice che sta aspettando loro.", +"🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.":"🐘 ULTIM’ORA: CVE-2026-31337 ha appena buttato giù mezza internet.
Un bug in PHP ha trasformato ogni sito WordPress-qualcosa sulla Terra in un miner di criptovalute. Il traffico eyeball cala del 30% per qualche giorno mentre il mondo applica le patch. I tuoi clienti hosting lo stanno facendo alle 3 di notte.", +"A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.":"Un router 3.2T al prezzo di un'auto usata. L'interfaccia web ha novecento schede, e una di queste è quella che ti serve.", +"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.":"Ondata di caldo a 45 °C a {city}: la rete ha staccato carichi, i chiller si sono arresi e anche il generatore di {dc}.", +"A CDN's server in your rack. Serves most of that CDN's traffic locally, for the price of power.":"Un server di una CDN nel tuo rack. Serve in locale gran parte del traffico di quella CDN, al prezzo della corrente.", +"A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.":"Un POP (point of presence) è il tuo router in un rack, qui. Poi collegalo: posa fibra da uno dei tuoi POP, o compra transit proprio qui.", +"A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.":"Un POP è un solo edificio finché non aggiungi un secondo sito nella scheda Infra. Da lì in poi un blackout, un addetto alle pulizie o un guasto all’aria condizionata mette fuori uso solo mezza città, e scegli in quale sito si collega ogni porta transit, PNI e IX, oppure scegli Entrambi per dividere un LAG tra i due edifici. Distribuiscile, o entrambe le metà della tua ridondanza finiranno nella stessa stanza al buio. Occhio ai tagli dell’anello metropolitano, che isolano il sito B.", +"A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.":"Un salto PPPoE ha tolto 8 byte alla tua MTU e nessuno l’ha detto ai server. I trasferimenti grandi verso {net} restano bloccati per sempre; quelli piccoli funzionano, il che rende tutto molto peggio.", +"A Petabit a Second":"Un petabit al secondo", +"A Spanish carrier starring in every Latin American market, at least until it sells the next one.":"Un carrier spagnolo protagonista in ogni mercato latinoamericano, almeno finché non vende il prossimo.", +"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.":"Una ruspa ha tagliato il ring metropolitano tra i tuoi due siti a {city}. A quanto pare entrambe le tratte in fibra passavano per la stessa strada.", +"A backhoe found your fiber between {a} and {b}.":"Una ruspa ha trovato la tua fibra tra {a} e {b}.", +"A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.":"Un escavatore che preparava il terreno per un nuovo distributore ha tagliato in pieno la tua fibra {a}–{b}. Secondo i progetti era due metri più a sinistra.", +"A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.":"Uno switch bare-metal con SONiC open source. Fa risparmiare un patrimonio, finché non crasha e non c’è nessuno da chiamare.", +"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Un castoro ha rosicchiato la tua wave {a}–{b}. Ha usato la fibra per finire una diga.", +"A bet on a tiny island in the middle of the Pacific.":"Una scommessa su un’isoletta in mezzo al Pacifico.", +"A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.":"Un fabric più grande porta più traffico e ha posto per più membri. Il tuo router qui deve comunque starci dietro.", +"A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.":"Un blackout ha colpito {city} e il tuo POP non ha un generatore. Tutte le altre reti qui ne hanno uno. Compralo.", +"A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.":"Una capitale in alto sulle Ande, appena a sud dell’equatore, che paga in dollari USA. Vulcani su ogni orizzonte.", +"A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.":"Una capitale in una valle sotto una montagna verde. La rete elettrica nazionale ha avuto qualche giornata nera famosa, quindi porta un generatore.", +"A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.":"Una capitale accanto alle rovine di Cartagine, dove il Mediterraneo è più stretto. I cavi arrivano in Sicilia in un attimo.", +"A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.":"Un mercantile ha trascinato l’àncora sul fondale del Baltico per 100 km e giura di non essersi accorto di niente. Gli inquirenti “stanno verificando”.", +"A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.":"Una nave cargo si è “dimenticata” di salpare l’àncora e l’ha trascinata sul tuo cavo {a}–{b}. Gli armatori sono molto dispiaciuti, e piuttosto difficili da rintracciare.", +"A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.":"Un piccione viaggiatore ha battuto uno dei tuoi link in un test di latenza informale. Il morale è a terra. Il throughput va bene.", +"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.", +"A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.":"Una città su sette colli sul Lago Vittoria. Niente costa, quindi ogni pacchetto verso il mare passa prima dal Kenya o dalla Tanzania.", +"A community exchange in a Hudson Street basement. Schmear not included.":"Un exchange comunitario nel seminterrato di Hudson Street. Schmear non incluso.", +"A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.":"Un exchange comunitario gestito sopra un bar del sidro. Minuscolo, economico, e ogni membro riceve un bicchiere.", +"A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.":"Un template di configurazione ha renderizzato “{{ router_id }}” alla lettera a {city}. Il router l’ha presa sul personale.", +"A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.":"Un raggio cosmico ha invertito un bit nel tuo router di {city}. Ora crede che 10.0.0.0/8 stia in Antartide.", +"A crash here only costs one router’s capacity for a few days.":"Qui un crash costa solo la capacità di un router per qualche giorno.", +"A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.":"Un coccodrillo ha dato un morso alla tua fibra {a}–{b}. Non è rimasto impressionato.", +"A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Un cross-connect con una rete piccola richiede qualche settimana. Con le grandi reti di contenuti, i Tier 1 e i grandi operatori di accesso, una nuova PNI o un ampliamento arriva di solito in circa un mese, ma un ordine su sette slitta a 6-12 mesi. Le reti di contenuti e i Tier 1 partono da 100G. Doitsche Telekomm vende ancora 1G.", +"A curious shark bit your subsea cable {a}–{b}.":"Uno squalo curioso ha morso il tuo cavo sottomarino {a}–{b}.", +"A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.":"Un cliente ha aperto un ticket P1: “internet è lenta”. In allegato, la foto del suo router, staccato dalla presa.", +"A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.":"Un cross-connect dedicato verso una sola rete in {dc}. Richiede più traffico del peering all’IX, ma ha una capacità tutta sua.", +"A digger found your {a}–{b} fiber. A different digger is coming to fix it.":"Una scavatrice ha trovato la tua fibra {a}–{b}. Un’altra scavatrice sta arrivando per ripararla.", +"A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.":"Un connettore sporco su {a}–{b} perde il 2% dei pacchetti. TCP lo odia: il throughput crolla anche se il link sembra a posto.", +"A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.":"Un drop bear è caduto sulla squadra di giunzione su {a}–{b}. Si rifiutano di lavorare sotto gli alberi, e il taglio è proprio sotto gli alberi.", +"A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.":"La trivella per pali di un allevatore ha trovato la tua fibra {a}–{b}. Le pecore guardavano.", +"A fee for being ready for the cloud.":"Una tariffa per essere pronti per il cloud.", +"A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.":"Un traghetto ha gettato l’ancora nello Stretto di Cook e ha trovato il tuo cavo {a}–{b}. Il traghetto sta bene.", +"A fiber co-op for one valley. Every member owns a metre of cable.":"Una cooperativa in fibra per una sola valle. Ogni socio possiede un metro di cavo.", +"A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.":"Una coppia di fibre tutta tua. Il vetro costa poco, l’hardware no: compri un sistema di linea con un amplificatore ogni {km} km, poi le ottiche per ogni canale. Il tuo hardware può guastarsi, e lo ripari tu.", +"A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.":"Una coppia di fibre su {cable}, {km} km. Condivide il cavo con le wave di tutti gli altri, ancore comprese.", +"A fibre here uses optics this model cannot take.":"Qui una fibra usa ottiche che questo modello non supporta.", +"A firmware bug in the {sys} at {a} set every channel to “maintenance”.":"Un bug del firmware nel {sys} a {a} ha messo ogni canale in “manutenzione”.", +"A firmware update bricked your router in {city}.":"Un aggiornamento firmware ha brickato il tuo router a {city}.", +"A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.":"Un peschereccio con un’àncora insolitamente pesante ha tagliato {a}–{b}. Non stava pescando.", +"A fishing fleet is trawling exactly where you need to lay.":"Una flotta di pescherecci sta strascicando proprio dove devi posare.", +"A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.":"Uno sciopero forestale ha fermato le consegne di scarti di legno alla centrale che raffredda {dc}. Niente vapore, niente chiller: i tuoi router a {city} vanno a metà capacità.", +"A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.":"Un PNI gratuito con Voda-Phony. Gear: router Absolute Unit 3.2T, porte 3.2T e wave 12.8T.", +"A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.":"Un gioco gratuito per browser, in stile cartoon, su come funziona internet. Parti come una minuscola rete in una sola città, lancia la banda larga domestica, compra IP transit da carrier Tier 1 e Tier 2, fai peering agli internet exchange, attiva interconnessioni private e cache CDN embedded, e posa fibra terrestre, wave sottomarine e la tua dark fiber con DWDM e ottiche ZR. Firma clienti aziendali, hosting, trading ad alta frequenza, GPU per l’IA e hyperscaler, e tienili contenti mentre ruspe, squali, dita grosse, route leak, attacchi DDoS e geopolitica rompono tutto.", +"A friendly cable with French manners.":"Un cavo amichevole con le buone maniere francesi.", +"A futuristic city that is not built yet, demo day in {city}":"Una città futuristica non ancora costruita, demo day a {city}", +"A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable.":"Un gateway dall’Europa all’India, attraverso il Mar Rosso. Si pronuncia come un cavo molto sorpreso.", +"A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.":"Un’oca ha attaccato il tecnico diretto alla tua capanna degli amplificatori. Ha vinto l’oca. Intervento rimandato, nulla di rotto.", +"A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.":"Uno squalo bianco si è interessato al tuo cavo {a}–{b} e l’ha morso. Poi l’ha sputato: troppo poco saporito.", +"A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.":"Centoquarantaquattro porte 3.2T e buffer così profondi da nasconderci una flotta intera. Si avvia ancora prima del tuo flat white. Ora anche la barba ha la barba.", +"A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.":"Un ragno cacciatore grande come una mano si è trasferito nel router a {city}. Nessuno ha avuto il coraggio di infilarci la mano per riavviarlo.", +"A hyperscaler bought every wave of that size on this route last week.":"Un hyperscaler ha comprato la settimana scorsa ogni onda di questa misura su questa tratta.", +"A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.":"Un canguro ha preso a pugni il tuo tecnico sul campo su {a}–{b}. Il tecnico ha perso ai punti, e la giunzione può aspettare.", +"A kangaroo hit the fiber hut on {a}–{b}. The hut lost.":"Un canguro ha colpito il box della fibra su {a}–{b}. Il box ha perso.", +"A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.":"Un kea ha strappato le guarnizioni di gomma della muffola su {a}–{b}, poi è passato al furgone. I kea sono fatti così.", +"A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.":"Un chilometro di “rame” è sparito dal tuo scavo {a}–{b}. Era la tua fibra. Lo sfasciacarrozze l’ha rispedita indietro con un biglietto.", +"A landslide in the Andes buried your {a}–{b} fiber.":"Una frana nelle Ande ha sepolto la tua fibra {a}–{b}.", +"A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.":"Un secondo intercalare ha convinto uno dei tuoi router che siamo nel 1970. L’uptime ora segna meno 56 anni. Il traffico va benissimo.", +"A leased {wave} wave on this route costs {price}/mo.":"Una wave da {wave} in affitto su questa tratta costa {price}/mese.", +"A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.":"Una mandria di lama ha calpestato il segnalatore della fibra su {a}–{b}. Poi una ruspa ha trovato la fibra.", +"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.":"Un membro di {ix} ha fatto leak dell’intera tabella di routing nel route server. I limiti max-prefix sono scattati ovunque. Il tuo peering lì è giù.", +"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.":"Un membro di {ix} ha fatto leak dell’intera tabella di routing nel route server. I limiti max-prefix sono scattati ovunque. Il tuo peering lì, a {city}, è giù.", +"A mile up and halfway between the coasts, so every cross-country route stops here for a breather.":"Un miglio d’altitudine e a metà strada tra le due coste, quindi ogni rotta coast-to-coast si ferma qui a riprendere fiato.", +"A mobile network named after the sound of a toast. Cheers to every 5G tower.":"Una rete mobile che porta il nome del suono di un brindisi. Cin cin a ogni antenna 5G.", +"A monthly PDF of your own traffic graphs.":"Un PDF mensile con i grafici del tuo stesso traffico.", +"A new VP wants to \"monetise interconnection\" in this market.":"Un nuovo VP vuole “monetizzare l’interconnessione” in questo mercato.", +"A new region is coming online soon. It has been coming online soon since 2019.":"Una nuova region arriverà presto. Arriva presto dal 2019.", +"A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.":"Un nuovo tecnico a {a} ha “messo in ordine” il groviglio di cavi. Il tuo link {a}–{b} faceva parte del groviglio.", +"A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.":"Un nuovo tecnico a {city} ha usato la Vegemite come pasta termica. Conduce il sapore, non il calore, e il tuo router si è cotto.", +"A path from Cape Town to Cairo":"Un percorso da Città del Capo al Cairo", +"A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served":"Un percorso da Città del Capo al Cairo, POP a Lagos e Nairobi, e 150 Gbps serviti", "A path from Los Angeles to Sydney with 1.6T on every hop, a path from Los Angeles to Tokyo, and 150 Gbps served":"Un percorso da Los Angeles a Sydney con 1.6T su ogni tratta, un percorso da Los Angeles a Tokyo e 150 Gbps serviti", "A path from Los Angeles to Tokyo":"Un percorso da Los Angeles a Tokyo", +"A path from Marseille to Singapore":"Un percorso da Marsiglia a Singapore", +"A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row":"Un percorso da Marsiglia a Singapore, e 80 Gbps tra l’Asia e il resto della tua rete per 30 giorni di fila", +"A port here is bigger than {pn}.":"Qui c’è una porta più grande di {pn}.", +"A port on IX.brrr Manaus":"Una porta su IX.brrr Manaus", +"A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.":"Un opossum è entrato nella sottostazione dietro {dc} a {city}. L’opossum sta bene. Il tuo POP no.", +"A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Un’interruzione di corrente ha spento {site} a {city}. {other} ha retto, quindi il POP gira a metà capacità. Tutto ciò che è collegato solo al sito al buio è offline.", +"A private cross-connect to one network in the same data center, for when traffic outgrows the IX.":"Un cross-connect privato verso una rete nello stesso data center, per quando il traffico è troppo per l’IX.", +"A protected hamster species lives along the right-of-way.":"Lungo il tracciato vive una specie protetta di criceto.", +"A quick hop across the Red Sea between Egypt and Saudi Arabia.":"Un salto veloce attraverso il Mar Rosso tra Egitto e Arabia Saudita.", +"A rainbow bridge from Singapore to California, via Jakarta and Manila.":"Un ponte arcobaleno da Singapore alla California, via Jakarta e Manila.", +"A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.":"Un sito di rigenerazione riconverte la luce in bit a metà strada e la rimanda fresca, così le ottiche devono arrivare solo al sito successivo. Ognuno richiede una scheda di rigenerazione per ogni canale acceso. {price}/mese a sito per la casupola.", +"A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.":"A un tecnico remote-hands a {a} è stato chiesto di pulire la fibra sulla porta 1. L’ha pulita con un panino. {a}–{b} è giù.", +"A rich mix of everything the fishermen brought in.":"Un ricco mix di tutto quello che hanno portato i pescatori.", +"A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.":"Una route che hai ritirato nell’Anno 1 è ancora visibile da qualche parte su internet. Nessuno sa dove. Va tutto bene. Probabilmente.", +"A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.":"Un aggiornamento notturno di routine ha lasciato offline il tuo router a {city} fino a pranzo. Floptus ti saluta.", +"A secret badge":"Un badge segreto", +"A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.":"Uno switch condiviso in una città. Una porta, tante sessioni di peering gratuite. Il route server ti mette in peering con tutti i membri aperti in un colpo solo.", +"A ship dragged its anchor across your {a}–{b} cable.":"Una nave ha trascinato l’àncora sul tuo cavo {a}–{b}.", +"A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.":"Una nave alla deriva senza motori ha trascinato l’àncora attraverso i cavi del Mar Rosso. Tutti danno la colpa a tutti. Le navi posacavi hanno bisogno dei permessi di tre governi.", +"A short cable across a very tense strait.":"Un cavo corto attraverso uno stretto molto teso.", +"A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.":"Una piccola capitale in mezzo al deserto. I cavi approdano a Swakopmund, poi attraversano le dune.", +"A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.":"Una piccola città su un grande crocevia. I cavi da Asia, Africa e Medio Oriente approdano qui per evitare il giro lungo.", +"A small island at the crossroads of every Indian Ocean cable.":"Una piccola isola all’incrocio di tutti i cavi dell’Oceano Indiano.", "A small island where cables from the US, Japan, Australia, the Philippines and Singapore all meet. Split a crossing here and each half carries more. Typhoons take the grid down every few years, so bring a generator.":"Una piccola isola dove si incontrano i cavi da Stati Uniti, Giappone, Australia, Filippine e Singapore. Spezza qui una traversata e ogni metà trasporta di più. Ogni pochi anni un tifone butta giù la rete elettrica, quindi porta un generatore.", +"A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.":"Una cittadina con il suo IX.brrr, perché i provedores locali ne volevano uno. Il peering non è solo per le grandi città.", +"A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable.":"Un cavo piccolo e dolce da Broadstairs a Ostenda, e poi verso Oostkamp. Da non confondere con altri cavi al gusto di agrumi.", +"A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.":"Un exchange commerciale più piccolo, in fondo alla strada rispetto a DE-KICKS. Pubblica i suoi prezzi su una pagina web, cosa che DE-KICKS considera un atto di guerra. Le porte arrivano senza webinar commerciale.", +"A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.":"Un giuntista che saldava il cavo di qualcun altro in un pozzetto vicino a {b} ha saldato il tuo.", +"A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.":"Un ISP di stato ha annunciato “per sbaglio” i tuoi prefissi per 18 minuti. Il loro comunicato di scuse era sospettosamente ben scritto. Molte reti stanno ancora instradando il tuo traffico nel vuoto.", +"A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.":"Un cacatua dal ciuffo giallo ha rosicchiato la tua fibra {a}–{b}, poi è tornato per quella di scorta.", +"A terabit per second of happy traffic.":"Un terabit al secondo di traffico felice.", +"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.", +"A thousand tiny social networks on one rack.":"Mille minuscoli social network su un solo rack.", +"A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.":"Un paese minuscolo all’imbocco del Mar Rosso dove approdano una dozzina di cavi tra Europa, Asia e Africa. E si fa pagare di conseguenza.", +"A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.":"Una cittadina di surfisti in Cornovaglia dove approda una fetta notevole dell’internet transatlantica. Le scogliere sono piene di fibra.", +"A tiny telco in a country where the world’s cables come ashore. Prices to match.":"Una piccola telco in un paese dove approdano i cavi di mezzo mondo. Prezzi in proporzione.", +"A town council wants a public hearing. About the color of the manhole covers.":"Il consiglio comunale vuole un’assemblea pubblica. Sul colore dei tombini.", +"A tram line construction project in {city} found your metro ring. Both halves of it.":"Il cantiere di una nuova linea del tram a {city} ha trovato il tuo ring metropolitano. Entrambe le metà.", +"A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.":"Un peschereccio al largo di Ostenda ha trascinato le reti dritte sul tuo cavo {a}–{b}. Il Mare del Nord è profondo una trentina di metri e pieno di barche.", +"A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.":"Una riunione di due ore sugli hostname dei router si è chiusa con un voto per “router-final-v2-NEW”.", +"A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.":"Un ingegnere in visita da Londra ha portato la Marmite nel NOC di {city}. Le relazioni diplomatiche sono saltate, e mentre tutti litigavano è saltato anche il tuo router.", +"A wave here is faster than {pn}.":"Qui c’è una wave più veloce di {pn}.", +"A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.":"Un mercato strano e poco servito. Il transit costa 2,5× rispetto all’Europa (Africa 2×, Oceania 1,8×), gli incumbent locali fanno quasi sempre peering solo a pagamento, e gli IX sono frammentati. Ma la domanda è enorme e gli utenti si iscrivono il 60% più in fretta che altrove. Qui peering e cache rendono più che mai.", +"A whale has parked on the route and will not move.":"Una balena si è parcheggiata sul percorso e non si sposta.", +"A whole network fabric that fits in your pocket.":"Un intero network fabric che ti sta in tasca.", +"A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.":"Una nave di servizio di un parco eolico ha gettato l'ancora sul tuo cavo {a}–{b}. Era lì per riparare una turbina.", +"A {optic} on {a}–{b} overheated and is now a very expensive keychain.":"Un {optic} su {a}–{b} si è surriscaldato e ora è un portachiavi molto costoso.", +"A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.":"Un {optic} su {a}–{b} ha iniziato a segnalare una temperatura di 900°C. Si sbagliava, ma si è spento lo stesso.", +"A {size} {vec} attack is hitting {city}{how}.":"Un attacco {vec} da {size} sta colpendo {city}{how}.", +"AGI lab (allegedly)":"Laboratorio AGI (a sentir loro)", +"AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.":"Laboratori AGI (a sentir loro) che vogliono AI WAN da 12.8 a 25.6 Tbps, e PNI gratuiti con Du-opoly e Ooh-redoo. Gear: router Mikrowtik CCR 3.2T.", +"AI GPU data center":"Data center GPU per l’AI", +"AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.":"Data center GPU per l’AI e on-ramp cloud. Hardware: router Chonk 800, ottiche Sizzle 800ZR+, line system ROADMaster 9000, posa della tua fibra.", +"AI WAN between two AI factories":"AI WAN tra due fabbriche di AI", +"AI and cloud campuses nearby: {list}":"Campus AI e cloud nei dintorni: {list}", +"AI training interconnect":"Interconnessione per training AI", +"AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.":"Interconnessioni per training AI e contratti DCI con hyperscaler da terabit. Hardware: router Absolute Unit 1.6T, transponder Sienna WaveMagic 1.6T.", +"AS number":"Numero AS", +"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.", +"Abandon the fiber":"Abbandona la fibra", +"About {n} days to go. Nothing to do but wait, or chase it.":"Mancano circa {n} giorni. Non resta che aspettare, o sollecitare.", +"Accept":"Accetta", +"Accept all requests":"Accetta tutte le richieste", +"Across the Mediterranean, Egypt to France. Romantic, in a cable way.":"Attraverso il Mediterraneo, dall’Egitto alla Francia. Romantico, a modo suo da cavo.", +"Across-the-River DC":"DC Oltre il Fiume", +"Ad campaign!":"Pubblicità!", +"Ad campaign: {n}d left":"Campagna pubblicitaria: ancora {n}g", +"Add a LAG member or upgrade the PNI.":"Aggiungi un membro al LAG o fai l’upgrade del PNI.", +"Add a LAG member, upgrade the port or buy a second upstream.":"Aggiungi un membro al LAG, fai l’upgrade della porta o compra un secondo upstream.", +"Add a second site {cost} + {mo}/mo":"Aggiungi un secondo sito {cost} + {mo}/mese", +"Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.":"Aggiungi un secondo sito in una metro dalla scheda Infra, così un blackout non spegne più tutta la città.", +"Add parallel link":"Aggiungi link parallelo", +"Add router {cost} + {mo}/mo":"Aggiungi router {cost} + {mo}/mese", +"Afraid of sharks: needs a path with no subsea cable":"Ha paura degli squali: vuole un percorso senza cavi sottomarini", +"Africa":"Africa", +"Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands.":"Africa Coast to Europe: una ventina di paesi su un solo cavo, dalla Francia a Città del Capo. La carta migliore in molte mani.", +"Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.":"Il gigante mobile dell’Africa, con un giallo che si vede dall’orbita. Mai davvero vuoto.", +"Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.":"La capitale più a ovest dell’Africa, dove metà dei cavi lungo la costa si fermano a riposare. La brezza atlantica è free cooling.", +"After that, the normal price returns, plus a small loyalty administration fee.":"Dopodiché torna il prezzo normale, più una piccola commissione di gestione fedeltà.", +"Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.":"Capitale dell’agribusiness e patria della musica sertanejo. Ogni camion, trattore e silo vuole una connessione.", +"All ({n})":"Tutte ({n})", +"All cities":"Tutte le città", +"All connections {n}":"Tutte le connessioni {n}", +"All customers":"Tutti i clienti", +"All networks":"Tutte le reti", +"All quiet":"Tutto ok", +"All roads lead to Rome. Most packets still go via Milan.":"Tutte le strade portano a Roma. Quasi tutti i pacchetti però passano da Milan.", +"All systems green. Enjoy it while it lasts.":"Tutto verde. Goditela finché dura.", +"All the way around Africa and back. Cheapest capacity on the map.":"Tutto intorno all’Africa e ritorno. La capacità più economica della mappa.", +"All your waves on one cable share its fate when it is cut.":"Tutte le tue wave su un solo cavo ne condividono il destino quando viene tagliato.", +"All {n} links in that trench went down with it.":"Tutti i {n} link in quello scavo sono caduti insieme.", +"All {n} out of reach":"Tutte le {n} fuori copertura", +"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Quasi ogni cavo Europa–Asia attraversa l’Egitto. I pedaggi sono leggendari.", +"Already reach you through your transit provider here and think that is fine.":"Ti raggiungono già tramite il tuo provider di transit qui, e per loro va bene così.", +"Always agrees with you. Iberia to West Africa.":"Ti dà sempre ragione. Dalla penisola iberica all’Africa occidentale.", +"Always open. Ask no questions. Do not be late.":"Sempre aperti. Niente domande. Non fare tardi.", +"Always run an odd number of POPs. Our numerologist insists.":"Tieni sempre un numero dispari di POP. Il nostro numerologo insiste.", +"Always-on":"Sempre attivo", "American Samoa to Hawaii and Samoa on old, smoky glass.":"Dalle Samoa Americane alle Hawaii e a Samoa, su vetro vecchio e affumicato.", "American Samoa: a deep harbour, tuna canneries and a branch of the cable from Australia to Oregon.":"Samoa Americane: un porto profondo, conservifici di tonno e una diramazione del cavo dall’Australia all’Oregon.", +"Americas":"Americhe", +"Amp huts and spares":"Shelter amplificatori e ricambi", +"Amplifier failure":"Guasto all’amplificatore", +"Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.":"Amsterdam, capitale europea dell’hosting, in piena stagione delle botnet. Ogni tostapane smart, baby monitor e frigo mai aggiornato della Terra ha scelto da che parte stare, e non è la tua. Un’ondata ogni pochi giorni, sempre più spesso nei terabit, mentre tutto il resto continua a rompersi. Parti con l’attrezzatura più grossa già sbloccata, e ti servirà.", +"An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.":"Un agente IA che risponde per te a ogni richiesta di peering e allarme max-prefix, ogni giorno. {price}/anno. Addestrato su vent’anni di mailing list sul peering.", +"An Asia–America gateway cable that breaks so often it has its own support group.":"Un cavo gateway Asia–America che si rompe così spesso da avere un suo gruppo di supporto.", +"An ISP run from the back of a kebab shop. Late-night support is excellent.":"Un ISP gestito dal retro di un kebabbaro. L’assistenza notturna è eccellente.", +"An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.":"Un bestione con porte 800G, costruito attorno al chip di forwarding Junipurr PacketOinker™. Grugnisce a line rate. Accetta ottiche 800ZR+.", +"An auditor asked for a network diagram. You sent the game map. They approved it.":"Un auditor ha chiesto uno schema della rete. Gli hai mandato la mappa del gioco. L’ha approvata.", +"An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.":"Uno script di automazione a {city} ha lanciato “sed” su tutta la config invece che su una riga. Ora ogni interfaccia si chiama “TODO”.", +"An early heads-up below 60% happiness, long before they are furious.":"Un avviso in anticipo sotto il 60% di soddisfazione, molto prima che siano furiosi.", +"An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.":"Un terremoto ha scollegato la tua fibra {a}–{b} da qualche parte sopra i 4.000 metri.", +"An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.":"Un serpente bruno orientale si è trasferito nel pozzetto dei cavi su {a}–{b}. Nessuno si offre volontario per riparare la tua fibra.", +"An edge cloud that is, despite the name, quite fast.":"Un edge cloud che, nonostante il nome, è piuttosto veloce.", +"An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.":"Un ingegnere di {co} ha invertito Tx e Rx sulla tua wave {a}–{b}. Entra luce, esce confusione.", +"An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.":"Una città enorme e sempre online, lontanissima dal mare. Ogni byte sottomarino fa un backhaul da Mumbai o Chennai.", +"An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.":"Una capanna di amplificazione in linea tra {a} e {b} è rimasta senza corrente. Ci si era trasferita una famiglia di topi.", +"An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.":"Uno stagista ha pushato un’ACL a {city} che nega 0.0.0.0/0. Sicurissima. Offlinissima.", +"An island capital of beaches and startups. Half the city works remotely from a surf shack.":"Una capitale su un’isola, tra spiagge e startup. Metà città lavora da remoto da una baracca da surf.", +"An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.":"Una capitale su un’isola con un grande porto per il minerale di ferro. Il suo stufato di pesce è l’originale, chiedi a chiunque dell’Espírito Santo.", +"An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.":"Una città su un’isola, con case coloniali piastrellate, nota come capitale brasiliana del reggae. Le sue maree sono tra le più grandi del paese.", +"An old cable from Cape Town round to India, via some very small islands.":"Un vecchio cavo da Cape Town fino all’India, passando per isole piccolissime.", +"An old ring around the whole continent, the long way round Cape Horn.":"Un vecchio anello attorno a tutto il continente, con il giro lungo da Capo Horn.", +"An undersea landslide snapped {a}–{b}.":"Una frana sottomarina ha spezzato {a}–{b}.", "An undersea volcano erupted next to your {a}–{b} cable. The repair ship found it in pieces, some of them kilometres away.":"Un vulcano sottomarino è esploso accanto al tuo cavo {a}–{b}. La nave di riparazione l’ha trovato a pezzi, alcuni a chilometri di distanza.", +"Anchors Away":"Ancora tu?", +"Anchors Aweigh":"Ancore levate", +"Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.":"Città antica, cavi nuovi di zecca. La Grecia vuole diventare l’hub di approdo del Mediterraneo orientale.", +"Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.":"La capitale petrolifera dell’Angola, e la casa dei cavi che vanno dritti in Brasile. Una delle città più care al mondo per una stanza d’albergo.", +"Animations":"Animazioni", +"Another London–Amsterdam route. Everyone has one, so prices are low.":"Un’altra rotta London–Amsterdam. Ce l’hanno tutti, quindi i prezzi sono bassi.", +"Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.":"Un’altra àncora, un altro taglio: il tuo cavo {a}–{b}. La bandiera della nave è cambiata due volte durante l’indagine.", +"Another hop across the Channel, with dark fiber for sale. There is always room for one more.":"Un altro salto attraverso la Manica, con dark fiber in vendita. C’è sempre posto per uno in più.", +"Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.":"Un altro cavo sottomarino del Vietnam è rotto: il tuo link {a}–{b}. La nave di riparazione arriverà dopo le feste. Quali feste, non è chiaro.", +"Another one":"Un altro", +"Answered your mail: {a} accepted, {d} declined.":"Ha risposto alla tua posta: {a} accettate, {d} rifiutate.", +"Apply for a license {price} + {mo}/mo · ~45 days":"Richiedi una licenza {price} + {mo}/mese · ~45 giorni", +"Apr":"apr", +"Archaeologists found a Roman bathhouse on your route.":"Gli archeologi hanno trovato delle terme romane sul tuo tracciato. Di nuovo.", +"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.", +"Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.":"La seconda città dell’Argentina: università, fabbriche di auto e fernet con cola, in proporzioni su cui i locali discutono per ore.", +"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.", +"As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.":"Man mano che crescono il tuo traffico di picco e la tua presenza, arrivano clienti più grandi: startup di streaming e università, poi data center GPU per l’AI e cloud on-ramp, poi interconnessioni per il training AI e contratti DCI con hyperscaler misurati in terabit. Le bolle rosa $$ segnano quelli grossi.", +"Asia":"Asia", +"Asia hub. Great peering, far from home.":"Hub dell’Asia. Ottimo peering, lontano da casa.", +"Asia's hub. Expensive, humid, very well connected.":"L’hub dell’Asia. Caro, umido, collegatissimo.", +"Asia, Africa, Europe, and one more thing.":"Asia, Africa, Europa, e un’ultima cosa.", +"Ask for another box. The overflow goes out over peering or transit.":"Chiedi un altro box. L’eccedenza esce via peering o transit.", +"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.", +"Asked NetChill’s peering team to “please provide more Netchill”.":"Ha chiesto al team di peering di NetChill di “fornire più Netchill, per favore”.", +"At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.":"Ai livelli clienti 3 e 4 arrivano hyperscaler e cloud AI con contratti che solo loro chiederebbero: WAN AI da terabit tra campus da gigawatt, run di training distribuite su più siti, ingestion di dataset lunghe una settimana e centinaia di coppie di fibre in uno scavo fatto da te. Pagano come nessun altro, e vogliono percorsi diversi, due siti per area metropolitana e zero scuse. Le città vicine ai loro campus li elencano sotto “Chi c’è qui”.", +"At risk":"A rischio", +"Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!":"Da Athens ad Alessandria, e su per i Dardanelli fino a Istanbul. Opa!", +"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.", +"Attack hauled to scrubbing in {city}":"Attacco portato allo scrubbing di {city}", +"Attacker: {who}.":"Attaccante: {who}.", +"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Gli attacchi vanno al tuo centro di scrubbing più vicino. Da qui è {city}, a {km} km: il flusso viaggia sul tuo backbone fin lì e ritorno, il che aggiunge latenza, e quello che i tuoi link non riescono a portare non viene pulito. Un centro qui pulisce gli attacchi sul posto.", +"Attend {cost}":"Partecipa {cost}", +"Attend a conference.":"Partecipa a una conferenza.", +"Attend six conferences in one game.":"Partecipa a sei conferenze in una partita.", +"Auditor visit":"Visita dell’auditor", +"Aug":"ago", +"Augment on order: {port}, about {n} days to go.":"Ampliamento in ordine: {port}, mancano circa {n} giorni.", +"Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.":"Il colosso australiano. G’day, fanno nove dollari al megabit. Pardon, al gigabit.", +"Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.":"Il numero due dell’Australia. Una volta ha mandato offline l’intero paese per dodici ore con un aggiornamento di routine.", +"Auto":"Auto", +"Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.":"Auto segue l’impostazione “riduci movimento” del tuo dispositivo. Off congela la mappa: niente pacchetti in movimento, pulsazioni o testo fluttuante.", +"Auto-TE controller":"Controller Auto-TE", +"Auto-fix in {n} day":"Si risolve da solo tra {n} giorno", +"Auto-fix in {n} days":"Si risolve da solo tra {n} giorni", +"Automation pushed it to every router, so redundancy did not help.":"L’automazione l’ha propagato a tutti i router, quindi la ridondanza non è servita.", +"Average":"Nella media", +"Avoid":"Evita", +"BGP hijack":"BGP hijack", +"BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.":"Route leak BGP: un piccolo ISP sta annunciando i prefissi di {net}. Il traffico verso di loro via transit finisce in un buco nero. Il peering diretto funziona ancora.", +"BGP session established.":"Sessione BGP stabilita.", +"BGP sessions":"Sessioni BGP", +"Back":"Indietro", +"Back in {n} days.":"Torna tra {n} giorni.", +"Back to my network":"Torna alla mia rete", +"Back to the editor":"Torna all’editor", +"Back to the map":"Torna alla mappa", +"Backbone of backbones":"Backbone dei backbone", +"Backhaul latency":"Latenza di backhaul", +"Backup generator":"Generatore di riserva", +"Backup generator in every city they touch":"Generatore di backup in ogni città che tocca", +"Backup only":"Solo backup", +"Badge unlocked: {name}":"Badge sbloccato: {name}", +"Badges":"Badge", +"Balkan peering hub with famously cheap ports.":"Hub di peering balcanico con porte notoriamente economiche.", +"Bank":"Banca", +"Bankers pretend to be out":"I banchieri fingono di non esserci", +"Bankers return your calls":"I banchieri ti richiamano", +"Bankers return your emails":"I banchieri rispondono alle tue email", +"Bankrupt":"In bancarotta", +"Bankrupt at −$100k":"Bancarotta a −$100k", +"Banks, very punctual packets, and racks inside old bank vaults.":"Banche, pacchetti puntualissimi e rack dentro vecchi caveau.", +"Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.":"La capitale della Baviera: auto, assicurazioni e una festa della birra di due settimane che ogni autunno fa schizzare il traffico mobile alle stelle. I rack vanno finiti prima di mezzogiorno, come le salsicce.", +"Be in two buildings at once":"Stai in due edifici insieme", +"Beaches, cable landings and a Carnival that melts traffic graphs every February.":"Spiagge, approdi di cavi e un Carnevale che fa sciogliere i grafici del traffico ogni febbraio.", +"Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.":"Porta online l’outback da 550 km di quota, poi lo fa atterrare in un data center di Sydney come tutti gli altri.", +"Become a Tier 2":"Diventa un Tier 2", +"Beer is cheaper than water here, and IX ports are cheaper than both.":"Qui la birra costa meno dell’acqua, e le porte IX costano meno di entrambe.", +"Before you start":"Prima di iniziare", +"Behind the Great Firewall":"Dietro il Great Firewall", +"Being spliced":"Giunzioni in corso", +"Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.":"Sotto i tuoi obiettivi c’è un muro di badge, dai comuni ai leggendari. Alcuni richiedono fortuna, altri anni, e un paio sono segreti. I badge guadagnati nelle partite precedenti restano su questo dispositivo con un contorno tratteggiato.", +"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.", +"Best played as an app":"Meglio come app", +"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"Terminali migliori e ottimizzazione ottica estendono la portata sulle lunghe distanze. I ripetitori sono già inclusi; questi aggiornamenti non modificano la latenza.", +"Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.":"Le grandi CDN ti regalano server di cache quando gli mandi abbastanza traffico. Banda gratis, basta aggiungere corrente.", +"Big hungry market, few providers.":"Mercato grande e affamato, pochi provider.", +"Big league":"Serie A", +"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.", +"Big shelf, big reach, big invoice.":"Shelf grande, portata grande, fattura grande.", +"Big, busy and flooded with traffic, sometimes literally.":"Grande, frenetica e allagata di traffico, a volte letteralmente.", +"Biggest fabric money can buy.":"Il fabric più grosso che si possa comprare.", +"Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Fonte principale: {egress} a {city}. Impostala su “Solo backup”, dai ai clienti un’uscita più vicina (peering, una cache, transit locale) o alza la metrica di questo link.", +"Black hole":"Buco nero", +"Blackhole one of your own cities to stop a DDoS.":"Metti in buco nero una tua città per fermare un DDoS.", +"Blackhole the target (RTBH)":"Metti il bersaglio in buco nero (RTBH)", +"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"In buco nero: la spazzatura è sparita, e anche {city}. L’attacco ha ottenuto ciò che voleva.", +"Blitz":"Blitz", +"Boot time":"Tempo di boot", +"Boot times":"Tempi di boot", +"Boston to Dublin. Nobody has thrown it into the harbour yet.":"Da Boston a Dublin. Nessuno l’ha ancora buttato nel porto.", +"Both a second switch, +{price}/mo":"Entrambi un secondo switch, +{price}/mese", +"Both adds a LAG member":"Entrambi aggiunge un membro al LAG", +"Both split the LAG":"Entrambi divide il LAG", +"Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.":"Botswana: tranquillo, sicuro e ricco di diamanti, con Johannesburg a poca strada.", +"Bought by Speedyloop, and still working out which name goes on the bill.":"Comprata da Speedyloop, e ancora non ha capito quale nome mettere in bolletta.", +"Bought used on eBuy. The fans sound like a jet engine.":"Comprato usato su eBuy. Le ventole sembrano un motore a reazione.", +"Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.":"Stagione delle cubomeduse all’approdo {a}–{b}. I sommozzatori hanno dato un’occhiata e sono tornati sulla barca.", +"Boxes: {a} in A · {b} in B":"Box: {a} in A · {b} in B", +"Brand new, cheap, and it lands right next to your racks.":"Nuovo di zecca, economico, e approda proprio accanto ai tuoi rack.", +"Brazil straight to Iberia, skipping the US entirely.":"Dal Brasile dritto alla penisola iberica, saltando del tutto gli USA.", +"Brazil to Florida. The invoice arrives just as fast.":"Dal Brasile alla Florida. La fattura arriva altrettanto veloce.", +"Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.":"La capitale brasiliana dell’agribusiness: canna da zucchero, succo d’arancia e, secondo i locali, la birra alla spina più fredda del paese.", +"Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.":"La grande città più fredda del Brasile, quella che ha inventato le corsie degli autobus per tutti gli altri. Per metà dell’anno l’aria fuori è free cooling.", +"Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.":"La prima capitale del Brasile, con cavi che approdano nella baia e un Carnevale di due milioni di persone che ballano dietro camion pieni di casse.", +"Brazil’s mobile giant. Very much alive.":"Il gigante mobile del Brasile. Vivo e vegeto.", +"Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.":"La capitale più a nord del Brasile. L’unica strada verso sud attraversa una riserva indigena che di notte chiude al traffico.", +"Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.":"La capitale pianificata del Brasile, a forma di aeroplano. Tutti i ministeri sono in fila ordinata, e ognuno vuole il suo link.", +"Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.":"Il polo tech del Brasile, a un’ora da São Paulo: università, laboratori e data center in fila lungo l’autostrada.", +"Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.":"La capitale di stato più giovane del Brasile, costruita da zero nel 1989. Le strade sono numerate, e anche tutto il resto.", +"Bribe their NOC with donuts":"Corrompi il loro NOC con le ciambelle", +"Bridges Europe and Asia, and occasionally your BGP table.":"Unisce Europa e Asia, e ogni tanto pure la tua tabella BGP.", +"Bring up your first peering session.":"Attiva la tua prima sessione di peering.", +"BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.":"BrisVegas: cielo immenso, un temporale alle quattro ogni pomeriggio d’estate, e più vicina ai cavi del Pacifico di quanto Sydney voglia ammettere. Megapork è cresciuta qui.", +"Brisbane to Tokyo with a beach break in Guam.":"Da Brisbane a Tokyo con una pausa in spiaggia a Guam.", +"Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas":"Banda larga a Sydney, Melbourne, Brisbane, Adelaide e Perth, e due cavi diversi verso l’estero", +"Broadband in {city}":"Banda larga a {city}", +"Build POP {cost} + {mo}/mo":"Costruisci POP {cost} + {mo}/mese", +"Build a POP here first.":"Prima costruisci un POP qui.", +"Build a scrubbing center from a POP's Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.":"Costruisci un centro di scrubbing dalla scheda Infra di un POP. Ripulisce gli attacchi fino alla sua capacità e ti permette di vendere protezione DDoS.", +"Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.":"Costruisci un internet. Posa fibra tra le città, compra transit, fai peering agli exchange, metti sotto contratto le aziende e tieni contenti gli eyeball, mentre ruspe, squali e route leak fanno di tutto per fermarti.", +"Build fiber across the Andes.":"Posa fibra attraverso le Ande.", +"Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.":"Costruiscine uno in tutti i POP che vuoi. Un attacco va al centro funzionante più vicino, e quello che non riesce a gestire passa al successivo. Un centro lontano vuol dire che il flusso viaggia sul tuo backbone fin lì e il traffico della vittima torna per la strada lunga: riempie i tuoi link, aggiunge latenza, e quello che i link non riescono a portare non viene pulito. I clienti che comprano protezione DDoS se ne accorgono quando i loro attacchi attraversano un oceano.", +"Build the internet, one tube at a time":"Costruisci internet, un tubo alla volta", +"Build time":"Tempo di costruzione", +"Build your backbone on the train or on a plane.":"Costruisci la tua dorsale in treno o in aereo.", +"Build your own level 3":"Costruiscila tu livello 3", +"Build your own {price} · ~{n} days":"Costruiscila tu {price} · ~{n} giorni", +"Build {tier} {cost} + {mo}/mo":"Costruisci {tier} {cost} + {mo}/mese", +"Building into mainland China needs a joint venture and an operating license. Open {city} to apply.":"Per costruire nella Cina continentale servono una joint venture e una licenza operativa. Apri {city} per fare domanda.", +"Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.":"Costruita per il governo. I data center hanno più nulla osta di sicurezza che dipendenti, e ogni strada finisce in una rotonda.", +"Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.":"Costruito come la porta di una sauna: pesante, bollente e quasi indistruttibile. La config ormai è così gerarchica che ha una famiglia reale.", +"Bulk backup transfer (latency does not matter)":"Backup massivo (la latenza non conta)", +"Bunker Two":"Bunker Due", +"Bunny suits mandatory in the server room.":"Tuta da camera bianca obbligatoria nella sala server.", +"Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.":"Stagione degli incendi: la fibra lungo {a}–{b} si è fusa nel suo condotto. I pompieri hanno salvato il paese, non il cavidotto.", +"Busiest links":"Link più carichi", +"Business customers":"Clienti aziendali", +"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.", +"Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).":"Le aziende possono volere un circuito privato tra due dei tuoi POP (viaggia sul tuo backbone), o una protezione DDoS (serve il tuo centro di scrubbing).", +"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.":"Le aziende spuntano come bolle $ sulla mappa. Apri Offerte e firma il tuo primo cliente.", +"Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.":"Le aziende compaiono con una bolla $. Ti serve un POP nella loro città. Guarda la scheda Offerte.", +"Buy 40 desk fans":"Compra 40 ventilatori da scrivania", +"Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.":"Compra una porta su un fabric, poi ordina circuiti virtuali verso gli altri tuoi POP o verso un IX remoto. Veloce e flessibile, ma condividi il loro fabric.", +"Buy a replacement":"Compra un ricambio", +"Buy a wave inside the UAE.":"Compra una wave dentro gli Emirati.", +"Buy them out {price}":"Liquidali {price}", +"Buy-out {price}":"Riscatto {price}", +"CDN / content":"CDN / contenuti", +"CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.":"I CDN mettono server cache gratis dentro il tuo POP. Gran parte del loro traffico viene così servita direttamente qui, senza transit e senza porta IX.", +"CLDAP flood":"flood CLDAP", +"CN-Too premium on ✓":"CN-Too premium attivo ✓", +"CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.":"Errori CRC su {a}–{b}: un’ottica al limite rovina qualche frame ogni mille.", +"CUT":"TAGLIATO", +"Cable broadband across Central Europe. See you later, in a support queue.":"Banda larga via cavo in tutta l’Europa centrale. Ci vediamo dopo, in coda all’assistenza.", +"Cable broadband for half of America. Haunts your traceroutes.":"Banda larga via cavo per mezza America. Infesta i tuoi traceroute.", +"Cable broadband for half of Britain. Fast on a good day.":"Banda larga via cavo per mezza Gran Bretagna. Veloce nelle giornate buone.", +"Cable design":"Progetto del cavo", +"Cable landing hub for South America.":"Hub di approdo dei cavi per il Sud America.", +"Cable system":"Sistema di cavi", +"Cables all around the Caribbean, served with a lot of foam.":"Cavi tutto intorno ai Caraibi, serviti con tanta schiuma.", +"Cables overseas":"Cavi verso l’estero", +"Cache":"Cache", +"Cache power":"Corrente per le cache", +"Caches":"Cache", "California to Hong Kong via Hawaii and Guam. A layered cake of repairs.":"Dalla California a Hong Kong via Hawaii e Guam. Una torta a strati di riparazioni.", "California to Singapore via Guam. Everyone on it agrees with each other.":"Dalla California a Singapore via Guam. Tutti quelli che ci passano sono d’accordo tra loro.", +"Call everyone you know":"Chiama tutti quelli che conosci", +"Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.":"La città portuale del Camerun. Da qui un cavo va dritto in Brasile, la via più corta attraverso l’Atlantico del Sud.", +"Campus B (the one with parking)":"Campus B (quello col parcheggio)", +"Can you hear me now? Only if you pay for the PNI.":"Mi senti adesso? Solo se paghi la PNI.", +"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"La porta del Canada sul Pacifico. Piove così tanto che il raffreddamento gratuito include anche il lavaggio gratuito.", +"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"Il gigante canadese del cavo, tenuto insieme con il nastro adesivo. Ogni tanto va giù tutto insieme, il che almeno è coerente.", +"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"La capitale del Canada, un tempo chiamata Bytown, nome che le si addice. La rete elettrica salta quando c'è vento, ghiaccio o è martedì, quindi porta un generatore.", +"Canada’s hub. Polite packets, long winters, free cooling.":"L’hub del Canada. Pacchetti educati, inverni lunghi, raffreddamento gratis.", +"Cancel":"Annulla", +"Cancel circuit":"Disdici il circuito", +"Cancel the IRU":"Disdici l’IRU", +"Cancel the order":"Annulla l’ordine", +"Capacity":"Capacità", +"Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.":"Città del Capo. Costruisci una rete attraverso l’Africa: ogni confine vuole il suo permesso, e metà delle reti elettriche non sono dalla tua parte.", +"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.", +"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.", +"Cape to Cairo":"Dal Capo al Cairo", +"Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.":"Fibra dal Capo al Cairo attraverso una dozzina di confini. A volte via terra, a volte fuori budget.", +"Carnaval":"Carnevale", +"Carnaval delivered in full":"Carnevale servito per intero", +"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Auto, ingegneri e Kehrwoche: ogni rack viene spazzato secondo turni rigorosi. Qui nessuno vende transit, c’è solo lo Spätzle-IX. Fai peering in loco o porta il tuo traffico fino a Frankfurt.", +"Casablanca down the coast to Abidjan, served sweet and very hot.":"Da Casablanca giù lungo la costa fino ad Abidjan, servito dolce e bollente.", +"Cash":"Cassa", +"Cash and bank":"Cassa e banca", +"Cash · Bank":"Cassa · Banca", +"Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.":"L’exchange tutto catalano. Piccolo e orgoglioso, e le reti locali non riescono proprio a resistergli.", +"Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.":"La città più grande dell’America Centrale, circondata da vulcani. Uno di loro fuma tutti i giorni.", +"Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.":"L’hub emergente dell’Europa centrale. Più data center ogni anno e una scena ISP agguerritissima.", +"Certificate expired":"Certificato scaduto", +"Change freeze":"Change freeze", +"Channels are lighting up now.":"I canali si stanno accendendo.", +"Charges a lot. Paid peering only, and the name says it all.":"Si fa pagare un sacco. Solo peering a pagamento, e il nome dice tutto.", +"Chase it":"Sollecita", +"Chat on Signal":"Chat su Signal", +"Chat, games and payments. Every message costs ten cents.":"Chat, giochi e pagamenti. Ogni messaggio costa dieci centesimi.", +"Cheap broadband with the sales pitch on a permanent loop.":"Banda larga economica, con la pubblicità in loop perenne.", +"Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.":"Chassis economico, abbonamento eterno. Ogni porta vuole una licenza, ogni licenza vuole un server di licenze, e il server di licenze vuole una licenza.", +"Cheap hydro power makes it a data center favorite.":"L’energia idroelettrica a buon mercato lo rende uno dei posti preferiti per i data center.", +"Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.":"Terreno economico, energia economica ed estati a 48 °C. Gli hyperscaler la adorano. I chiller no.", +"Cheap power, dry air and a surprising number of very quiet data centers.":"Energia economica, aria secca e un numero sorprendente di data center molto silenziosi.", +"Cheap state money for connecting the underserved. Bring a pen.":"Soldi pubblici a buon mercato per connettere chi è rimasto indietro. Porta una penna.", +"Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.":"Costa poco comprarlo, tanto possederlo: chiavi di licenza per ogni porta, ogni funzione e, si dice, per le ventole. Smart Licensing telefona a casa ogni settimana.", +"Cheap while the sun shines. Every open incident adds 2% to your rate.":"Economico finché c’è il sole. Ogni incidente aperto aggiunge il 2% al tuo tasso.", +"Cheap, fast and open late.":"Economico, veloce e aperto fino a tardi.", +"Cheap, filling hosting. Ask for the potato-and-cheese plan.":"Hosting economico e sostanzioso. Chiedi il piano patate e formaggio.", +"Cheap, patient, and very particular about Stuttgart.":"Economica, paziente e fissata con Stuttgart.", +"Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.":"Costa meno di Singapore lì accanto. Chi costruisce data center se n’è accorto, e pure la rete elettrica.", +"Cheapest transit on the map. Famously gentle, except during peering spats.":"Il transit più economico della mappa. Famoso per la sua gentilezza, tranne durante le liti di peering.", +"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.", +"Check (dry run)":"Verifica (dry run)", +"Chennai to Singapore, looking it straight in the eye.":"Da Chennai a Singapore, guardandola dritto negli occhi.", +"China":"Cina", +"City":"Città", +"Clamp the MSS to 1360":"Imposta l’MSS a 1360", +"Clean Pipes":"Tubi puliti", +"Clean the connector":"Pulisci il connettore", +"Clean-pipe on ✓":"Clean-pipe attivo ✓", +"Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.":"Ripulisce gli attacchi DDoS per tutta la tua rete, fino alla sua capacità di banda pulita, e sblocca i contratti di protezione DDoS per le aziende.", +"Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.":"Ripulisce gli attacchi per tutta la tua rete, fino alla sua capacità di banda pulita, e sblocca i contratti di protezione DDoS. Il traffico pulito torna via GRE, che può riaprire il buco nero MSS.", +"Clear filters":"Azzera filtri", +"Click to tear down":"Clicca per chiudere la sessione", +"Close":"Chiudi", +"Close site B":"Chiudi il sito B", +"Cloud gaming platform":"Piattaforma di cloud gaming", +"Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.":"Piattaforme di cloud gaming, e l'era del cloud gaming: gli eyeball vogliono un altro 15%. Un PNI gratuito con Tel-Mess. Gear: transponder Sienna WaveMagic 3.2T.", +"Cloud on-ramp":"On-ramp cloud", +"Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.":"Cogentle e Goggle hanno litigato sul peering. Goggle non è raggiungibile tramite il transit di Cogentle.", +"Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.":"Cogentle e Goggle non si parlano, e stavolta è per sempre. Compra il transit economico, se hai il coraggio.", +"Coherent pluggable in the router. No transponder shelf.":"Pluggable coerente direttamente nel router. Niente shelf di transponder.", +"Collateral Damage":"Danni collaterali", +"Collecting data. Check back in a few days.":"Raccolta dati in corso. Ripassa tra qualche giorno.", +"Colourful, crowded and gets you there eventually.":"Colorato, affollato e prima o poi ti porta a destinazione.", +"Comes alive after dark.":"Si anima dopo il tramonto.", +"Comes in over {fab}: needs your {fab} port in {city} with room for {bw}":"Arriva tramite {fab}: serve la tua porta {fab} a {city} con spazio per {bw}", +"Commit complete.":"Commit completato.", +"Common":"Comune", +"Complete any scenario.":"Completa uno scenario qualsiasi.", +"Complete every scenario.":"Completa tutti gli scenari.", +"Complete three different scenarios.":"Completa tre scenari diversi.", +"Condition broken for {n} day.":"Condizione violata da {n} giorno.", +"Condition broken for {n} days.":"Condizione violata da {n} giorni.", +"Conference Circuit":"Giro delle conferenze", +"Conferences":"Conferenze", +"Confidential":"Riservato", +"Configured: {lim} prefixes. Received: {got}.":"Configurato: {lim} prefissi. Ricevuti: {got}.", +"Congested links":"Link congestionati", +"Congested. Upgrade it or add a parallel path.":"Congestionato. Potenzialo o aggiungi un percorso parallelo.", +"Connections":"Connessioni", +"Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed.":"Collega Doha al resto del Golfo, via mare, il che torna utile quando il confine terrestre è chiuso.", +"Contained on your sacrificial {net} PNI":"Contenuto sulla tua PNI sacrificale {net}", +"Content from":"Contenuti da", +"Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.":"Reti di contenuti come NetChill e Goggle. Gran parte del tuo traffico arriva da loro. Fai peering con loro e quel traffico è gratis.", +"Continental carrier":"Carrier continentale", +"Continents":"Continenti", +"Continue {name} · {date}":"Continua {name} · {date}", +"Control plane meltdown":"Meltdown del control plane", +"Cookieless stats, no tracking":"Statistiche senza cookie, nessun tracciamento", +"Cooling failure":"Guasto al raffreddamento", +"Copy":"Copia", +"Cornwall to Lagos down the West African coast. Glows faintly when it is working.":"Dalla Cornovaglia a Lagos lungo la costa dell’Africa occidentale. Brilla un po’ quando funziona.", +"Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.":"Il Costa Rica va quasi tutto a energia rinnovabile, quindi i tuoi rack sono verdi. La foresta nebulosa qui accanto è più verde ancora.", +"Costs":"Costi", +"Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.":"Costa meno di un pranzo e ha il doppio delle porte del Rusty. Configurarlo richiede più tempo del pranzo.", +"Costs more than leasing at this size.":"A questa capacità costa più dell’affitto.", +"Cosy racks under a hill. Second breakfast at 11.":"Rack accoglienti sotto una collina. Seconda colazione alle 11.", +"Courtesy route":"Percorso di cortesia", +"Courtesy route to new networks":"Percorso di cortesia verso le nuove reti", +"Covered by NDA":"Coperto da NDA", +"Covers a lot of empty ground.":"Copre un sacco di terreno vuoto.", +"Credit rating":"Rating creditizio", +"Crispy on the outside, cheap on the inside.":"Croccante fuori, economico dentro.", +"Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.":"I circuiti transfrontalieri verso la Cina continentale li vendono solo carrier con licenza, a 3× il prezzo. Quelli normali perdono circa il 20% del traffico al confine.", +"Crosses Bass Strait faster than the ferry, and gets seasick less often.":"Attraversa lo Stretto di Bass più in fretta del traghetto, e soffre meno il mal di mare.", +"Crosses the Pacific, mildly annoyed about it.":"Attraversa il Pacifico, vagamente seccato.", +"Crossing the Great Firewall here loses about {p}% of packets.":"Attraversare il Great Firewall qui fa perdere circa il {p}% dei pacchetti.", +"Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.":"Crocevia dei cavi tra Europa, Asia e Africa. Alcune app vocali sono bloccate, e la bolletta dell’aria condizionata è leggendaria.", +"Crossroads of Europe. DE-KICKS IX, cheap transit.":"Crocevia d’Europa. IX DE-KICKS, transit economico.", +"Customer":"Cliente", +"Customer Care":"Cura del cliente", +"Customer Success Story":"Customer Success Story", +"Customer level {lv} of {max}":"Livello clienti {lv} di {max}", +"Customer level {lv}: {name}":"Livello cliente {lv}: {name}", +"Customer levels":"Livelli clienti", +"Customer on a fabric (transit over an NNI)":"Cliente su un fabric (transit via NNI)", +"Customers":"Clienti", +"Customers and alerts":"Clienti e avvisi", +"Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.":"I clienti sono scontenti e se ne vanno. Aggiungi capacità upstream, peering o un link più grosso.", +"Customers here get nothing until it's back.":"I clienti qui restano a secco finché non torna su.", +"Cut!":"Tranciato!", +"Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"I tagli succedono lo stesso, ancore e squali compresi, ma la nave di riparazione la chiami tu.", +"DDoS attack":"Attacco DDoS", +"DDoS junk":"Spazzatura DDoS", +"DDoS protection + DIA":"Protezione DDoS + DIA", +"DDoS scrubbing":"Scrubbing DDoS", +"DDoS scrubbing center":"Centro di scrubbing DDoS", +"DE-KICKS Bingo":"Tombola DE-KICKS", +"DE-KICKS Group · Customer Success":"DE-KICKS Group · Customer Success", +"DE-KICKS Group · Sales":"DE-KICKS Group · Vendite", +"DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).":"Prezzi personalizzati DE-KICKS: {p}% di quanto chiederebbe un IX normale (promo, ancora {n} giorni).", +"DE-KICKS personalised pricing: {p}% of what a normal IX would charge.":"Prezzi personalizzati DE-KICKS: {p}% di quanto chiederebbe un IX normale.", +"DNS reflection":"riflessione DNS", +"DOWN":"GIÙ", +"Dam It":"Porca diga!", +"Danish for “sea fun”. Probably.":"In danese vuol dire “divertimento marino”. Probabilmente.", +"Dark fiber":"Dark fiber", +"Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.":"La dark fiber attraverso il confine cinese non è in vendita. Compra piuttosto una wave transfrontaliera.", +"Dark fiber handed over: {a}–{b}":"Dark fiber consegnata: {a}–{b}", +"Dark fiber pair lease":"Affitto coppia di dark fiber", +"Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.":"La dark fiber si sblocca al livello clienti 2. Ti serve la scala per giustificare l’acquisto di hardware ottico tutto tuo.", +"Dark fiber · {kind} · {km} km":"Dark fiber · {kind} · {km} km", +"Dark!":"Al buio!", +"Darwin Award":"Premio Darwin", +"Darwin to Singapore via Jakarta. Survival of the fittest packets.":"Da Darwin a Singapore via Jakarta. Sopravvivono solo i pacchetti più adatti.", +"Dataset ingest (elephant flow)":"Ingest di dataset (elephant flow)", +"Date":"Data", +"Day {d}":"Giorno {d}", +"Days in a row at {g} or more":"Giorni di fila con almeno {g}", +"Days in a row with 99.5% served":"Giorni di fila con il 99,5% servito", +"Dead optic":"Ottica morta", +"Deals":"Offerte", +"Dear Sir or Madam, please peer. We have three prefixes and very big plans.":"Gentile Signore o Signora, per favore fate peering. Abbiamo tre prefissi e progetti molto grandi.", +"Debt":"Debito", +"Debt-Free Tier 1":"Tier 1 senza debiti", +"Debt-free. Your accountant is suspicious.":"Zero debiti. Il tuo commercialista è sospettoso.", +"Dec":"dic", +"Decline":"Rifiuta", +"Decline all requests":"Rifiuta tutte le richieste", +"Declined {who} at {ix}: “not a strategic fit”. They were.":"Ha rifiutato {who} a {ix}: “non strategico”. Lo era.", +"Decommission":"Dismetti", +"Decommission POPs":"Dismetti POP", +"Decommission link":"Dismetti il link", +"Decommission several POPs…":"Dismetti più POP…", +"Decommission {city}…":"Dismetti {city}…", +"Decommission {n} POP · pay {fee}":"Dismetti {n} POP · paga {fee}", +"Decommission {n} POPs · pay {fee}":"Dismetti {n} POP · paga {fee}", +"Delete and start over":"Cancella e ricomincia", +"Deliver Carnaval in full":"Servi il Carnaval per intero", +"Deliver at least 95% of what your customers want.":"Consegna almeno il 95% di quello che vogliono i tuoi clienti.", +"Delivered fresh every morning.":"Consegnato fresco ogni mattina.", +"Delivered, 30 days":"Consegnato, 30 giorni", +"Delivery: 2 to 6 weeks":"Consegna: da 2 a 6 settimane", +"Delivery: about a month, sometimes 6 to 12 months":"Consegna: circa un mese, a volte da 6 a 12 mesi", +"Demand":"Domanda", +"Dense, filling and very cheap.":"Denso, sostanzioso e molto economico.", +"Deploy":"Deploy", +"Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.":"Pubblica uno RouteScript che taglia del 10% la bolletta del transit senza perdere traffico.", +"Deploy a RouteScript that takes down a third of your traffic.":"Pubblica uno RouteScript che butta giù un terzo del tuo traffico.", +"Digging your own fiber unlocks at customer level 3.":"Scavare la tua fibra si sblocca al livello clienti 3.", +"Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.":"Tutto digitale, e-residency per chiunque, e cavi baltici su cui le navi continuano a trascinare le ancore.", +"Discovered the Atlantic again. Old, pricey and fragile.":"Ha riscoperto l’Atlantico. Vecchio, caro e fragile.", +"Display and sound":"Schermo e audio", +"Diverse route +40% · survives cuts alone":"Percorso diverso +40% · sopravvive da solo ai tagli", +"Diverse route {n}":"Percorso diverso {n}", +"Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors.":"Da Gibuti giù fino a Durban, rasente la costa dell’Africa orientale. Se la ride di pirati e ancore.", +"Do the Kehrwoche: keep your NOC free of incidents older than a week.":"Fai la Kehrwoche: tieni il NOC libero da incidenti più vecchi di una settimana.", +"Done":"Fatto", +"Done in {d} days!":"Fatto in {d} giorni!", +"Done!":"Fatto!", +"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é.", +"Down from 2 to 5 p.m. every day. By design.":"Giù dalle 14 alle 17 ogni giorno. Per scelta progettuale.", +"Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t.":"Giù lungo la costa ovest e attraverso lo Stretto di Cook fino alla Terraferma. I traghetti ballano; il cavo, di solito, no.", +"Download PNG":"Scarica PNG", +"Download our app and enable all notifications.":"Scarica la nostra app e attiva tutte le notifiche.", +"Downstream ISP (buys transit)":"ISP downstream (compra transit)", +"Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.":"ISP downstream, startup di streaming e università. Hardware: router Edge Lord 400, affitto di dark fiber, DWDM Rainbow-in-a-Box, ottiche Ackackia 400ZR+.", +"Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.":"Trascina da questo router a qualsiasi città sulla mappa per posare un nuovo link. Due percorsi verso ogni POP vogliono dire che una ruspa non può metterti offline.", +"Drag from your pink router to another city. Short hops are cheap. Oceans are not.":"Trascina dal tuo router rosa a un’altra città. I salti corti costano poco. Gli oceani no.", +"Drag onto another city":"Trascina su un’altra città", +"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.", +"Drop":"Molla", +"Dubai to Mumbai. Hits hard.":"Da Dubai a Mumbai. Colpisce duro.", +"Dublin to London across the Irish Sea.":"Da Dublin a London attraverso il Mare d’Irlanda.", +"Due now":"Da pagare ora", +"Dug the trench themselves, one field at a time.":"Lo scavo l’hanno fatto da soli, un campo alla volta.", +"Dunes, buggies and the corner of Brazil closest to Africa.":"Dune, buggy e l’angolo del Brasile più vicino all’Africa.", +"Duopoly Customer":"Cliente del duopolio", +"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.", +"Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.":"Il modello di router di ogni POP limita la sua porta più veloce (100G, 400G, 800G, 1.6T) e quanto traffico può inoltrare. Wave e porte più grandi richiedono router migliori a entrambe le estremità. I modelli migliori si sbloccano con il tuo livello clienti. Con un solo router, ogni upgrade vuol dire un giorno di downtime.", +"Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.":"Ogni canale è una coppia di ottiche, una per estremità. Le ottiche ZR+ si infilano direttamente nei tuoi router. I transponder stanno su uno scaffale.", +"East Africa up to Europe via the Red Sea. Lemon squeezy.":"Dall’Africa orientale fino all’Europa via Mar Rosso. Facile facile.", +"East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.":"L’hub dell’Africa orientale. I cavi approdano a Mombasa, e il mobile money manda avanti tutto.", +"Edit RouteScript":"Modifica RouteScript", +"Egress:":"Uscita:", +"Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.":"Interconnessione elastica, ora con pancetta. Cresciuta in una fattoria fuori BrisVegas dal tizio che fonda un’azienda di fibra ogni volta che finisce un flat white. Un circuito in 59 secondi, un grugnito in 60.", +"Embedded cache":"Cache integrata", +"Embedded caches":"Cache integrate", +"Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.":"Ha chiuso il peering gratuito in tutta Europa e l’ha passato a Inter.Clink, il suo “partner di interconnessione”, che ti venderà volentieri una connessione diretta. Solo peering a pagamento, su una PNI. Driin driin, è la fattura.", +"Enterprise DIA":"DIA aziendale", +"Enterprises, game servers, hosting, L2VPNs and DDoS protection.":"Aziende, server di gioco, hosting, L2VPN e protezione DDoS.", +"Enters your network at":"Entra nella tua rete a", +"Epic":"Epico", +"Escalate to their CTO":"Scala al loro CTO", +"Esports world final":"Finale mondiale di esport", +"Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.":"Finali mondiali di esport, e l'era del 4K ovunque: gli eyeball di ogni città vogliono il 15% in più. Gear: router Sonic the Whitebox 64.", +"Estimated latency":"Latenza stimata", +"Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.":"La capitale dell’Etiopia a 2.400 m, senza una costa sua: tutto arriva da Gibuti. Il caffè migliore della mappa.", +"Ethiopia’s state telco: a hundred million customers and very calm about competition.":"La telco di stato dell’Etiopia: cento milioni di clienti e molta calma sulla concorrenza.", +"Europe":"Europa", +"Europe's crossroads. Lots of networks, lots of sausages.":"Il crocevia d’Europa. Tante reti, tante salsicce.", +"Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.":"La nuova porta atlantica d’Europa. I cavi per Brasile, Africa e USA approdano più giù lungo la costa, a Sines.", +"Event network":"Rete per eventi", +"Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.":"Le reti per eventi (una finale, un festival, un keynote) vogliono un picco di capacità in una città per qualche giorno e pagano una volta sola alla fine, in proporzione a quanta folla hai servito; sotto il 70% paghi una penale. Le catene SD-WAN collegano 3–6 dei tuoi POP in hub-and-spoke, quindi uno spoke rotto fa arrabbiare tutto il contratto. Quando gestisci la tua dark fiber, i carrier vogliono affittare i canali liberi come alien wave e, sulla fibra che hai costruito tu, una coppia libera.", +"Events, chains and wholesale":"Eventi, catene e wholesale", +"Every IX is run by DE-KICKS":"Ogni IX è gestito da DE-KICKS", +"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Ogni porta IX porta richieste di peering e allarmi max-prefix, nella scheda Reti. Una sessione che supera il limite resta giù finché non ci guardi: alza il limite se è crescita, tienila giù se è un leak. Ignora la posta e le reti selettive diventano più esigenti.", +"Every POP needs a backup generator. Our risk team saw one disaster movie.":"Ogni POP deve avere un generatore di backup. Il nostro risk team ha visto un film catastrofico.", +"Every WordPress-ish site on Earth is now a crypto miner":"Ogni sito WordPress-ish del pianeta ora mina criptovalute", +"Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.":"Ogni cavo tra le Americhe si infila qui. Nulla attraversa il Darién via terra, quindi il Sud America è sempre a un salto sottomarino di distanza.", +"Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.":"Ogni cavo nel Mar Rosso è tagliato, e anche il salto verso l’Egitto. Fai parlare Marseille con Singapore lo stesso: girando intorno all’Africa, via terra o dall’altra parte del pianeta.", +"Every customer type is unlocked. Go get those terabits.":"Ogni tipo di cliente è sbloccato. Vai a prenderti quei terabit.", +"Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.":"Ogni porta IX porta posta. Rispondi alle richieste di peering e guarda le sessioni che superano il limite max-prefix: è crescita o un route leak? La posta senza risposta ti fa una reputazione, e le reti selettive lo vengono a sapere.", +"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.", +"Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.":"Ogni hyperscaler ci sta costruendo una region. Il terreno costa poco e il biryani è ottimo.", +"Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.":"La sede europea di ogni hyperscaler, soprattutto per motivi fiscali. La rete elettrica è nervosa.", +"Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.":"Ogni link ha una latenza. I trader HFT pagano una fortuna per un circuito dentro il loro budget di latenza: instradali su “Latenza minima”. Ai clienti di backup massivo non importa, quindi instradali sul “Panoramico” lungo i tuoi link tranquilli, per lasciare liberi quelli trafficati.", +"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.":"Tutte le reti sulla mappa. La quota di traffico è quanto del traffico dei tuoi utenti va verso di loro. Tocca una connessione per andare al suo POP.", +"Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.":"Tutte le porte sono occupate. Aggiungi un router o passa a un modello con più porte prima di collegare altro.", +"Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.":"Ogni porta che ti collega a un’altra rete, e dove si trova. Filtra per tipo, città o rete, e tocca Apri per andarci.", +"Every session comes with a coffee break. Strictly enforced.":"Ogni sessione include una pausa caffè. Obbligatoria.", +"Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.":"Ogni wave, circuito fabric e dark fiber IRU che affitti tra due tuoi POP, accanto a quanto costerebbe una dark fiber in affitto o la tua fibra. Le stime includono il sistema di linea, gli amplificatori e abbastanza ottiche per la capacità di oggi. Prima costruisci, poi sposta il traffico, infine disdici l’affitto.", +"Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.":"Tutti quelli che ti pagano, i più contenti in fondo. Sotto il 60% iniziano a brontolare, sotto il 30% sono furiosi, e a 0% disdicono.", +"Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.":"È tutto in un solo edificio. Sposta alcuni uplink sull’altro sito dalle schede Transit e Peering.", +"Everywhere at Once":"Ovunque, contemporaneamente", +"Exit: {exit} in {city}.":"Uscita: {exit} a {city}.", +"Explore →":"Esplora →", +"Export save":"Esporta salvataggio", +"Export save download a file":"Esporta salvataggio scarica un file", +"Eyeball demand":"Domanda eyeball", +"Eyeball traffic down 30%":"Traffico eyeball giù del 30%", +"Eyeballs":"Eyeball", +"Eyeballs grow 50% faster":"Gli eyeball crescono il 50% più in fretta", +"Eyeballs online!":"Eyeball online!", +"Eyeballs you stop serving":"Eyeball che smetti di servire", +"Fabric circuit to one of your POPs":"Circuito dal fabric verso uno dei tuoi POP", +"Fabric outage":"Fabric fuori servizio", +"Fabric ports":"Porte fabric", +"Fabrics: {list}":"Fabric: {list}", +"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"Faceplant si è stancata delle tariffe d’uso coreane e ha spostato in silenzio gli utenti coreani sui server di Hong Kong. Le pagine arrivano a passo d’uomo per tutti a Seoul. Il regolatore sta preparando una multa.", +"Failures":"Guasti", +"Family-run since dial-up. Still answers the phone.":"A conduzione familiare dai tempi del dial-up. Risponde ancora al telefono.", +"Far from everything. Every packet here has a long journey home.":"Lontano da tutto. Ogni pacchetto qui ha un lungo viaggio per tornare a casa.", +"Fast fiber east and west, and one very nervous subsea cable to Germany.":"Fibra veloce verso est e verso ovest, e un cavo sottomarino molto nervoso verso la Germania.", +"Fat Finger":"Dito grosso", +"Fat-fingered ROADM":"ROADM col dito grosso", +"Fat-fingered wave":"Wave col dito grosso", +"Feb":"feb", +"Fiber across the sertão of the Northeast, one dirt road at a time.":"Fibra attraverso il sertão del Nordest, una strada sterrata alla volta.", +"Fiber cut":"Fibra tagliata", +"Fiber from {city}":"Fibra da {city}", +"Fiber laid along the bike lanes. Fastest in the rain.":"Fibra posata lungo le piste ciclabili. Più veloce sotto la pioggia.", +"Fiber laid under the tram tracks during a night shift.":"Fibra posata sotto i binari del tram durante un turno di notte.", +"Fiber pairs":"Coppie di fibre", +"Fiber strung along the chairlifts. Seasonal latency.":"Fibra tesa lungo le seggiovie. Latenza stagionale.", +"Fiber to the Italian home, with a website from 2003.":"Fibra nelle case italiane, con un sito web del 2003.", +"Fibre to the Basement":"Fibra in cantina", "Fiji to Samoa. Always room for one more packet.":"Dalle Figi a Samoa. C’è sempre posto per un altro pacchetto.", "Fiji to Tonga, the only way in. Try saying it three times fast.":"Dalle Figi a Tonga, l’unica via d’accesso. Prova a dirlo tre volte di fila, veloce.", "Fiji’s capital and the crossroads of the South Pacific. Cables between the US, Australia and New Zealand stop here, and smaller ones go on to Tonga and Samoa.":"La capitale delle Figi e il crocevia del Pacifico del Sud. I cavi tra Stati Uniti, Australia e Nuova Zelanda fanno tappa qui, e cavi più piccoli proseguono verso Tonga e Samoa.", "Fiji’s international gateway. Very clever about where your traffic should go, as long as it goes through Suva.":"Il gateway internazionale delle Figi. Molto furbo nel decidere dove va il tuo traffico, purché passi da Suva.", +"Fill in form T-17b in triplicate, every month, forever.":"Compila il modulo T-17b in triplice copia, ogni mese, per sempre.", +"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.", +"Fin-P network processor":"network processor Fin-P", +"Fin-P6 network processor":"network processor Fin-P6", +"Finish a weekly challenge.":"Completa una sfida settimanale.", +"Finish in 1 day {price}":"Termina in 1 giorno {price}", +"Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.":"Ingegneria finlandese: indistruttibile, pignolissima, e la CLI parla solo config gerarchica. Si avvia come un’alba nordica.", +"Fire the AI":"Licenzia l’IA", +"Fire the HackBack 3000™ and flatten an innocent.":"Spara con l’HackBack 3000™ e travolgi un innocente.", +"Five Nines":"Cinque nove", +"Five continents":"Cinque continenti", +"Fix the LACP config":"Sistema la config LACP", +"Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.":"Config fissa, buffer profondi, barba curatissima e benda sull’occhio. Gira su EOS, l’Extensible Operating Ship. Si avvia prima che il tuo flat white al latte d’avena sia pronto, e include una shell Python che nessuno ha chiesto.", +"Fixed mux plus amplifiers. Up to 16 channels, no remote switching.":"Mux fisso più amplificatori. Fino a 16 canali, niente commutazione remota.", +"Flawless.":"Impeccabile.", +"Flood Season":"Stagione delle piene", +"Floods held":"Ondate respinte", +"Floods that got through":"Ondate passate", +"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.", +"Flowspec cannot catch an {vec} (application layer)":"Flowspec non può fermare un {vec} (livello applicativo)", +"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"Le regole di scarto Flowspec vivono nella TCAM del router, quindi solo i router capaci filtrano i flood UDP noti (DNS, NTP, CLDAP, SYN) all’edge. La Rusty usata non ne ha, i modelli merchant-silicon e whitebox un po’, i grandi chassis in pieno. Aggiorna il router di un POP dalla sua scheda Infra.", +"Flowspec on your {model} is dropping {vec} at the edge":"Il Flowspec sul tuo {model} sta scartando {vec} all’edge", +"Flowspec on your {model} trims {vec}, but its TCAM is small":"Il Flowspec sul tuo {model} lima {vec}, ma la sua TCAM è piccola", +"Flowspec-capable POPs":"POP con Flowspec", +"Follow metrics":"Segui le metriche", +"Football, films and a router that looks like a spaceship.":"Calcio, film e un router che sembra un’astronave.", +"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.", +"For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.":"Per confronto, una wave 1.6T in affitto su questa rotta costa {price}/mese. Le ottiche vengono dopo, dal pannello del link.", +"For reporting layout bugs: shows what your screen tells the game.":"Per segnalare bug di layout: mostra cosa lo schermo dice al gioco.", +"Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Per costruire infrastrutture qui, le reti straniere hanno bisogno di una joint venture locale e di una licenza operativa.", +"Formerly a Shopping Mall":"Ex Centro Commerciale", +"Forwarding chip":"Chip di forwarding", +"Forwarding load":"Carico di forwarding", +"Found your own IX {cost} + {mo}/mo":"Fonda il tuo IX {cost} + {mo}/mese", +"Founded after a pub quiz, by the losing team.":"Fondato dopo un pub quiz, dalla squadra che ha perso.", +"Four seasons in one day, and the racks feel every one of them.":"Quattro stagioni in un giorno, e i rack le sentono tutte.", +"Free channels":"Canali liberi", +"Free cooling and geothermal power. Plenty of data centers, very few cables.":"Raffreddamento gratis ed energia geotermica. Data center a volontà, pochissimi cavi.", +"Friend of Giants":"Amico dei giganti", +"From":"Da", +"From {city}":"Da {city}", +"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"Il gelo ha crepato il cavidotto sulla {a}–{b}, e un castoro ha fatto il resto.", +"Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore.":"Da Fujairah a Mumbai, attorno alla punta dell’India fino a Chennai, poi avanti fino a Singapore.", +"Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.":"C-band completa, riconfigurabile da remoto, accetta transponder long-haul. Fino a 64 canali.", +"Full changelog":"Changelog completo", +"Full screen, works offline, one tap from your home screen.":"A schermo intero, funziona offline, a un tocco dalla schermata Home.", +"Full screen.":"Schermo intero.", +"Game":"Gioco", +"Game paused.":"Gioco in pausa.", +"Game servers":"Server di gioco", +"Game servers, energy drinks and a ping obsession.":"Server di gioco, energy drink e un’ossessione per il ping.", +"Game speed":"Velocità di gioco", +"Gangnam Style Peering":"Gangnam Style Peering", +"Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.":"Porta dell’Amazzonia, alla foce di un fiume così largo che non si vede l’altra sponda. Piove ogni pomeriggio, puntuale.", +"Gave a billion people cheap data. Knows exactly where every one of them is.":"Ha dato dati a buon mercato a un miliardo di persone. Sa esattamente dove si trova ognuna di loro.", +"Generator!":"Generatore!", +"Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting.":"Da Genova alla Sicilia e poi fino ad Athens, posato da un gigante della ricerca stufo di affittare.", +"Geopolitical cable cut":"Taglio geopolitico dei cavi", +"Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.":"La città portuale della Germania. Tutti dicono «Moin» a qualsiasi ora del giorno, e la pioggia arriva di traverso dall'Elba.", +"Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.":"Prendi una porta su un IX: un grande switch condiviso dove le reti si scambiano traffico gratis invece di pagare il transit.", +"Get a subsea cable bitten by a shark.":"Fatti mordere un cavo sottomarino da uno squalo.", +"Get bitten by sharks 3 times in one game.":"Fatti mordere dagli squali 3 volte in una partita.", +"Get de-peered by a big network.":"Fatti togliere il peering da una grande rete.", +"Gets along with every other network. Famously chill.":"Va d’accordo con ogni altra rete. Famoso per la sua calma.", +"Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.":"La capitale del Ghana e un approdo preferito dai cavi. Fibra veloce, traffico lento sulla tangenziale.", +"Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.":"Banda larga domestica gigabit al prezzo di un caffè. Qui i clienti pretendono tanto per pochissimo.", +"Gigabit to every flat for the price of a coffee. Peers with anyone.":"Gigabit in ogni appartamento al prezzo di un caffè. Fa peering con chiunque.", +"Gigawatt Landlord":"Padrone del gigawatt", +"Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.":"Dai un lavoro al nipote del nostro CEO. Gli servono {price}/mese e un posto auto.", +"Giving it up now returns {price}.":"Rinunciarci adesso ti restituisce {price}.", +"Global backbone":"Backbone globale", +"Go global":"Diventa globale", +"Go there":"Vai lì", +"Go transit-free.":"Diventa transit-free.", +"Go transit-free: Tier 1!":"Liberati dal transit: Tier 1!", +"Goal":"Obiettivo", +"Goal complete: {name}":"Obiettivo completato: {name}", +"Goals":"Obiettivi", +"Goals & NOC":"Obiettivi e NOC", +"Going to customers in":"Diretto ai clienti a", +"Gold-plated servers, valet parking for packets.":"Server placcati d’oro, parcheggiatore per i pacchetti.", +"Goose incident":"Incidente con l’oca", +"Got it":"Capito", +"Government shutdown":"Shutdown governativo", +"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.", +"Greece’s incumbent. Takes careful notes on every peering request.":"L’incumbent della Grecia. Prende appunti accurati su ogni richiesta di peering.", +"Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.":"Saluti. Siamo una rete in rapida crescita. L’anno scorso avevamo un cliente; quest’anno ne abbiamo due.", +"Grew from a seedling into a global backbone. Leaves no route behind.":"Cresciuto da germoglio a backbone globale. Non perde mai una rotta, né una foglia.", +"Grilled ports, served with mustard and a cold beer.":"Porte alla griglia, servite con senape e una birra fresca.", +"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.":"Cresci: trascina dal tuo router rosa su una città vicina per posare fibra e aprire un secondo POP.", "Guam to the Marshall Islands, with a stop on every atoll that writes in.":"Da Guam alle Isole Marshall, con una tappa su ogni atollo che scrive per chiederla.", "Guam’s incumbent and the way out for half of Micronesia. The prices are a heist, but nobody else is selling.":"L’incumbent di Guam e la via d’uscita per mezza Micronesia. I prezzi sono una rapina, ma nessun altro vende.", "Guam’s mobile network: rice, a burger, a fried egg and lots of gravy, served over 5G.":"La rete mobile di Guam: riso, un hamburger, un uovo fritto e tanto sugo, serviti in 5G.", +"HTTP flood":"flood HTTP", +"HackBack 3000™ $20k":"HackBack 3000™ $20k", +"Haggle":"Tratta", +"Haggle a DE-KICKS quote down.":"Tira giù un preventivo DE-KICKS trattando.", +"Haggles left: {n}.":"Trattative rimaste: {n}.", +"Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.":"Metà del duopolio fiammingo, su cavo coassiale. Tiene una porta minuscola a Frites-IX e si nasconde dietro la sua capogruppo internazionale: porta un PNI.", +"Half speed":"Metà velocità", "Halfway between California and everything else in the Pacific. Cables from the US, Australia, New Zealand, Guam and Tahiti come ashore on Oahu. A POP here ends the light’s long swim: waves start fresh on each side, so each half carries more.":"A metà strada tra la California e tutto il resto del Pacifico. A Oahu approdano i cavi da Stati Uniti, Australia, Nuova Zelanda, Guam e Tahiti. Un POP qui interrompe la lunga nuotata della luce: le wave ripartono da zero su ogni lato, quindi ogni metà trasporta di più.", +"Hallway Track":"Chiacchiere di corridoio", +"Happiness":"Soddisfazione", +"Happiness {p}%":"Soddisfazione {p}%", +"Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.":"Modalità difficile. Tutto ciò che va all’estero costa una fortuna, la gente del posto paga cifre altissime, soprattutto alla Nearly Broadband Network, e tutto il resto cerca di ucciderti.", +"Hardware prices":"Prezzi dell’hardware", +"Has had a /8 since before you were born.":"Ha un /8 da prima che tu nascessi.", +"Has more batteries than customers.":"Ha più batterie che clienti.", +"Has served the lake since 1912. Now with fiber.":"Serve il lago dal 1912. Ora con la fibra.", +"Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.":"Polarizzazione dell’hash su {lab}: quasi tutti i flussi finiscono sullo stesso membro. Il bundle dice di essere su. È anche pieno.", +"Have Auto-TE move 100 Gbps onto alternate paths at once.":"Fai spostare all’Auto-TE 100 Gbps su percorsi alternativi in un colpo solo.", +"Have POPs in 50 cities.":"Apri POP in 50 città.", +"Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.":"Abbi POP su 3 continenti. I cavi sottomarini costano una fortuna, quindi pianifica il percorso.", +"Have a cable cut by a dragged anchor.":"Fatti tagliare un cavo da un’ancora trascinata.", +"Have a fiber cut.":"Subisci un taglio di fibra.", +"Have a second site in 3 metros.":"Apri un secondo sito in 3 città.", +"Have ports on 10 internet exchanges.":"Prendi porte su 10 internet exchange.", +"Have your fiber bitten by a crocodile.":"Fatti mordere la fibra da un coccodrillo.", +"Have your fiber chewed through by a beaver.":"Fatti rosicchiare la fibra da un castoro.", "Hawaii’s incumbent. Every plan comes with two scoops of rice and a side of macaroni salad.":"L’incumbent delle Hawaii. Ogni piano include due palline di riso e un contorno di insalata di maccheroni.", +"Held the Flood":"Hai retto il diluvio", +"Hello! I am Large Peering Model. I have read your inbox and I already have opinions.":"Ciao! Sono Large Peering Model. Ho letto la tua casella e ho già delle opinioni.", +"Hello, Neighbour":"Ciao, vicino", +"Hello, please find attached our peering request as a Word document, scanned from a printout.":"Salve, in allegato la nostra richiesta di peering come documento Word, scansionato da una stampa.", +"Help and ready-made scripts":"Aiuto e script pronti", +"Helsinki to Germany under the Baltic. Anchors keep finding it.":"Da Helsinki alla Germania sotto il Baltico. Le ancore continuano a trovarlo.", +"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”.", +"Hey, quick one: can you peer with us at {ix}? We have a very important Minecraft server.":"Ehi, domanda veloce: potete fare peering con noi a {ix}? Abbiamo un server Minecraft molto importante.", +"Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.":"Ciao! Vorremmo fare peering con voi a {ix}. Il nostro record su PeeringDB è aggiornato.", +"Hide":"Nascondi", +"Hide other models":"Nascondi altri modelli", +"Hide the vacuum":"Nascondi l’aspirapolvere", +"High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.":"In alto sulle Ande. Nessuna fibra attraversa la giungla del Darién verso Panama, quindi la strada per il nord passa sotto il mare.", +"High-frequency trading link":"Link per trader HFT", +"Hire extra crews {price} · −30 days":"Assumi squadre extra {price} · −30 giorni", +"Hire it {mo}/mo":"Assumilo {mo}/mese", +"Hits the high notes across the Atlantic. Huge capacity, cheap waves.":"Prende le note alte attraverso l’Atlantico. Capacità enorme, wave economiche.", +"Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better":"Reggi 20 ondate, 5 sopra 1 Tbps, tenendo la città sotto attacco al 97% o meglio", +"Hold a billion dollars in cash.":"Tieni un miliardo di dollari in cassa.", +"Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.":"Tieni contemporaneamente un contratto AI WAN, un training run, un ingest e uno di coppie di fibra.", +"Hold deals at 3 different AI campuses at once.":"Tieni contratti in 3 campus AI diversi contemporaneamente.", +"Hold music":"Musica d’attesa", +"Home broadband":"Banda larga domestica", +"Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.":"Utenti di banda larga domestica. Scaricano soprattutto dalle CDN e ti pagano per ogni Gbps che consegni. Servili bene e si moltiplicano.", "Honolulu, in the middle of the Pacific. The cables between the Americas, Asia and Australia are so long that a wave on them carries only 400G or 800G. Stop the light on an island, start it fresh, and every hop gets shorter and faster. You start with 1.6T gear unlocked.":"Honolulu, in mezzo al Pacifico. I cavi tra le Americhe, l’Asia e l’Australia sono così lunghi che una wave ci porta solo 400G o 800G. Ferma la luce su un’isola, falla ripartire da zero, e ogni tratta diventa più corta e più veloce. Inizi con l’hardware 1.6T già sbloccato.", +"Hops from New York to the UK and Spain.":"Saltella da New York al Regno Unito e alla Spagna.", +"Hops the Caribbean so Bogotá can skip the jungle.":"Salta i Caraibi così Bogotá può evitare la giungla.", +"Hops via Greenland. Polar bears included.":"Fa tappa in Groenlandia. Orsi polari inclusi.", +"Host an embedded cache":"Ospita una cache embedded", +"Hosting":"Hosting", +"Hosting customers patching at 3 a.m.":"Clienti hosting che patchano alle 3 di notte", +"Hosting for every family restaurant in the south.":"Hosting per ogni trattoria di famiglia del Sud.", +"Hosting for surfboard shops. Closed when the waves are good.":"Hosting per negozi di tavole da surf. Chiuso quando le onde sono buone.", +"Hosts every game you play at 2 a.m. Hates jitter.":"Ospita ogni gioco a cui giochi alle 2 di notte. Odia il jitter.", +"Hosts exactly one website and three lawyers.":"Ospita esattamente un sito web e tre avvocati.", +"How RouteScript works":"Come funziona RouteScript", +"How it arrives":"Come arriva", +"How the internet works here":"Come funziona internet qui", +"How to play":"Come si gioca", +"Huge eyeball market. Pricey neighbours.":"Enorme mercato di eyeball. Vicini costosi.", +"Huge eyeball network. Come for the broadband, stay because there is no other choice.":"Enorme rete eyeball. Vieni per la banda larga, resti perché non c’è alternativa.", +"Huge in Asia. \"Which telecom?\" \"Not that one.\"":"Enorme in Asia. “Quale telecom?” “Non quella.”", +"Huge mobile market. Most of its traffic still detours through the US.":"Enorme mercato mobile. Gran parte del suo traffico fa ancora il giro dagli USA.", +"Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.":"Enorme, densa e affamata. Il suo traffico internazionale passa a fatica da un paio di cavi, o arriva via terra dall’India.", +"Hundred Terabits":"Cento terabit", +"Hundreds of fiber pairs":"Centinaia di coppie in fibra", +"Hyperscaler DCI":"DCI hyperscaler", +"I Survived the Elephant":"Sono sopravvissuto all’elefante", +"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.", +"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.", +"IP transit":"IP transit", +"IPv6 milestone":"Traguardo IPv6", +"IPv6 or bust: you must peer with Drizzle Electric":"IPv6 o niente: devi fare peering con Drizzle Electric", +"IRU handover":"Consegna dell’IRU", +"IRU lease":"Canone IRU", +"IX (Internet Exchange)":"IX (Internet Exchange)", +"IX Collector":"Collezionista di IX", +"IX blackhole ~half honour it":"Blackhole IX ~metà lo rispetta", +"IX blackhole on ✓":"Blackhole IX attivo ✓", +"IX meltdown":"IX in tilt", +"IX members on {ix}: {n}":"Membri IX su {ix}: {n}", +"IX peering":"Peering IX", +"IX peering beats transit":"il peering IX batte il transit", +"IX ports":"Porte IX", +"IX.brrr ports":"Porte IX.brrr", +"IX: {ix}":"IX: {ix}", +"Iceland to Denmark, choreographed.":"Dall’Islanda alla Danimarca, con coreografia.", +"Iceland to Ireland, brand new and still smells like plastic.":"Dall’Islanda all’Irlanda, nuovo di zecca e sa ancora di plastica.", +"Iceland’s lifeline to Scotland. Lonely but determined.":"L’ancora di salvezza dell’Islanda verso la Scozia. Solitario ma determinato.", +"Import a save":"Importa un salvataggio", +"Import a save from a file":"Importa un salvataggio da un file", +"In Debt We Trust":"In Debt We Trust", +"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.":"Nel Golfo, i POP sauditi richiedono una licenza telecom locale e i dati degli utenti sauditi restano nel Regno; i gigaprogetti chiedono enormi reti dimostrative; e ogni tanto i vicini litigano e ogni link tra Qatar e Arabia Saudita o Emirati va al buio per mesi, quindi tieniti una rotta via mare. Il Sud America è appeso a Miami: il transit costa di più, niente attraversa il Darién Gap via terra, e la fibra sulle Ande costa il doppio e si rompe spesso. IX.brrr in Brasile è gestito da un ente non profit con prezzi pubblici bassi, e i piccoli provedores brasiliani comprano transit all’ingrosso. Negli Emirati solo il duopolio può posare fibra, quindi niente dark fiber e wave a 3×. La Corea funziona con il “sender pays”: il transit verso Seoul costa circa quattro volte il normale e i tre incumbent fanno peering solo con PNI a pagamento, fatturati per ogni gigabit che gli invii. I cavi di Taiwan incontrano un sacco di ancore, la fibra indiana incontra allargamenti stradali e monsoni, e il Sudafrica ha il load shedding: porta un generatore. L’Australia è lontana da tutto: transit e wave costano più che quasi ovunque, anche se le porte IX sono economiche. Le famiglie pagano bene la banda larga, ma la Nearly Broadband Network si tiene quasi metà di ogni bolletta. I router sono montati a testa in giù, e tutto il resto cerca di ucciderti.", +"In use":"In uso", +"Inbox":"Posta", +"Inbox zero.":"Inbox zero.", +"Inbox zero. Enjoy it while it lasts.":"Inbox zero. Goditela finché dura.", +"Incident":"Incidente", +"Incidents":"Incidenti", +"Incidents so far":"Incidenti finora", +"Incidents survived":"Incidenti superati", +"Includes a new POP in {city} ({price}{extra}).":"Include un nuovo POP a {city} ({price}{extra}).", +"Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.":"Include l’obbligatoria scatola governativa nel tuo rack: {cost} + {mo}/mese. Arriva con il suo ascoltatore personale.", +"India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way.":"India, Medio Oriente ed Europa occidentale, tutto su un cavo. Lungo la strada fa tappa al Cairo.", +"India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.":"L’hub di approdo sulla costa est dell’India, con cavi per Singapore. La stagione dei cicloni è una cosa seria.", +"India’s other giant. Every outage comes with a story.":"L’altro gigante dell’India. Ogni disservizio ha la sua storia da raccontare.", +"India’s tech capital. Packets move faster than the cars outside.":"La capitale tech dell’India. I pacchetti vanno più veloci delle auto là fuori.", +"Indonesia’s mobile giant. Every packet poses for a photo first.":"Il gigante mobile dell’Indonesia. Ogni pacchetto prima si mette in posa per una foto.", +"Infra":"Infra", +"Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.":"Nell'entroterra di Ostenda, dove arrivano i cavi dall'Inghilterra. Il Mare del Nord è basso, trafficato e pieno di pescherecci.", +"Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.":"Negli Emirati solo i due operatori con licenza, Etis-a-lot e Du-opoly, possono posare fibra. Niente dark fiber, niente scavi in proprio, e le wave costano 3×.", +"Insists on two routers in their city":"Pretende due router nella sua città", +"Inspect":"Ispeziona", +"Install":"Installa", +"Install Auto-TE {cost} + {mo}/mo":"Installa Auto-TE {cost} + {mo}/mese", +"Install first.":"Prima installa.", +"Install generator {cost} + {mo}/mo":"Installa generatore {cost} + {mo}/mese", +"Install it before you start: a game begun in Safari stays in Safari.":"Installala prima di iniziare: una partita cominciata in Safari resta in Safari.", +"Install the app":"Installa l’app", +"Installed":"Installato", +"Instant approval. Instant regret.":"Approvazione istantanea. Pentimento istantaneo.", +"Interconnection fabrics (NNI)":"Fabric di interconnessione (NNI)", +"Internal path over {n} link, chosen by distance and link metrics.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link.", +"Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link. L’Auto-TE può spostare l’eccesso altrove quando è pieno.", +"Internal path over {n} links, chosen by distance and link metrics.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link.", +"Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Percorso interno su {n} link, scelto in base a distanza e metriche dei link. L’Auto-TE può spostare l’eccesso altrove quando è pieno.", +"Internet Exchange":"Internet Exchange", +"Internet Exchanges":"Gli Internet Exchange", +"Internet cafe turned ISP. The gamers came for the ping.":"Internet café diventato ISP. I gamer sono venuti per il ping.", +"Internet weather system":"Sistema meteorologico di internet", +"Investor revenue share":"Quota ricavi agli investitori", +"Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse.":"Dall’Irlanda alla Norvegia, girando lungo la punta della Scozia. Vichinghi, ma al contrario.", +"Iron Curtain Call":"Sipario di ferro", +"Is This the Internet?":"È questa internet?", +"Island Hopper":"Di isola in isola", +"Istanbul to Bucharest's coast across the Black Sea.":"Da Istanbul alla costa di Bucharest attraverso il Mar Nero.", +"It almost never rains, but the sea fog keeps the racks cool.":"Non piove quasi mai, ma la nebbia marina tiene freschi i rack.", +"It is dark. Add optics to light it up.":"È spenta. Aggiungi delle ottiche per accenderla.", +"It is full, so some traffic overflows to the next exit.":"È piena, quindi parte del traffico trabocca sull’uscita successiva.", +"It opens straight into your network, like any other app.":"Si apre direttamente sulla tua rete, come qualsiasi altra app.", +"It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.":"Passa sulla tua fibra, quindi alla Nearly Broadband Network non va niente. Il governo però si prende un contributo del {pct}.", +"It takes two to peer.":"Per il peering bisogna essere in due.", +"It was DNS":"Era il DNS", +"It's not DNS. There's no way it's DNS. It was DNS.":"Non è il DNS. Non può essere il DNS. Era il DNS.", +"Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.":"Immigrati italiani, vigneti e fabbriche. I tuoi rack dividono le colline con la vendemmia.", +"Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.":"La capitale digitale d’Italia. Traffico da fashion week, un NOC a base di espresso e più exchange di quanti te ne aspetteresti.", +"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"L’incumbent d’Italia. Dolce fuori, rigidissimo sui rapporti di peering.", +"Its predecessor was FASTER. Marketing had a good day.":"Il suo predecessore era FASTER. Il marketing ha avuto una bella giornata.", +"Jan":"gen", +"Japanese carrier that builds everything itself. Even the cable ships.":"Carrier giapponese che si costruisce tutto da sé. Perfino le navi posacavi.", +"Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.":"Il secondo hub del Giappone, e il piano di disaster recovery di Tokyo. I terremoti raramente colpiscono entrambe.", +"Jerry-cho deep-buffer silicon":"silicio deep-buffer Jerry-cho", +"Jerry-cho³ deep-buffer silicon":"silicio deep-buffer Jerry-cho³", +"Jerry-cho⁵ deep-buffer silicon":"silicio deep-buffer Jerry-cho⁵", +"Join an Internet Exchange":"Entra in un Internet Exchange", +"Join route server":"Entra nel route server", +"Join the NOC chat":"Entra nella chat del NOC", +"Join →":"Entra →", +"Juicy reach into Europe and Africa.":"Una copertura succosa in Europa e Africa.", +"Jul":"lug", +"Jun":"giu", +"Junk traffic is eating your capacity. Open the NOC to fight back.":"Il traffico spazzatura si sta mangiando la tua capacità. Apri il NOC per difenderti.", +"Just in time.":"Appena in tempo.", +"Keep Calm":"Keep calm", +"Keep POPs on at least 2 continents. Diversification!":"Tieni POP su almeno 2 continenti. Diversificazione!", +"Keep a spares kit {price}/mo":"Tieni un kit ricambi {price}/mese", +"Keep at least one POP.":"Tieni almeno un POP.", +"Keep building":"Continua a costruire", +"Keep it down":"Tienila giù", +"Keep playing":"Continua a giocare", +"Keep them":"Tienili", +"Keep your peering ratio above 30%. The bank read a blog post about peering.":"Tieni la quota di peering sopra il 30%. La banca ha letto un post sul peering.", +"Kenya to the Gulf. Makes the dream work.":"Dal Kenya al Golfo. L’unione fa la forza.", +"Kenya’s mobile giant. Pays you in M-Pesos.":"Il gigante mobile del Kenya. Ti paga in M-Pesos.", +"Kept the lights on in its town through every blackout.":"Ha tenuto le luci accese nella sua città durante ogni blackout.", +"Kept {who} down at {ix} for “suspicious growth”. They had grown by one customer.":"Ha tenuto giù {who} a {ix} per “crescita sospetta”. Erano cresciuti di un cliente.", +"Kept {who} down at {ix}: it was a route leak. Nailed it.":"Ha tenuto giù {who} a {ix}: era un route leak. Centrato.", +"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"L’incumbent coreano. Sender pays: ogni gigabit che gli consegni si paga, oltre alla porta.", +"L2 circuits":"Circuiti L2", +"L2VPN & DDoS protection":"L2VPN e protezione DDoS", +"L2VPN circuit":"Circuito L2VPN", +"L2VPN customers":"Clienti L2VPN", +"L2VPN for {name}":"L2VPN per {name}", +"LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.":"Timer LACP fast/slow non allineati su {lab}: un membro continua a uscire dal bundle per timeout e a rientrare.", +"LACP trouble":"Problemi LACP", +"LAGs":"LAG", +"Laid last century. Cuts often, costs more, still somehow running.":"Posato il secolo scorso. Si taglia spesso, costa di più, eppure in qualche modo funziona ancora.", +"Land a HackBack 3000™ that actually works.":"Riesci in un HackBack 3000™ che funziona davvero.", +"Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.":"Porta a casa una AI WAN, un training multi-sito o un contratto di coppie in fibra con un hyperscaler. Servono il livello cliente 4 e un POP vicino al loro campus.", +"Landing point for cables from the US, Iceland and the Baltic.":"Punto di approdo per i cavi da USA, Islanda e Baltico.", +"Landing stations":"Stazioni di approdo", +"Language":"Lingua", +"Large Peering Model":"Large Peering Model", +"Large Peering Model is answering your mail":"Large Peering Model risponde alla tua posta", +"Large Peering Model is on it.":"Ci pensa Large Peering Model.", +"Latency":"Latenza", +"Latency test":"Test di latenza", +"Later":"Più tardi", +"Launch broadband {cost}":"Lancia la banda larga {cost}", +"Lay the cable {price}":"Posa il cavo {price}", +"Lay your first fiber":"Posa la tua prima fibra", +"Lay your own subsea cable…":"Posa il tuo cavo sottomarino…", +"Layered, resilient and somehow always open.":"A strati, resiliente e chissà come sempre aperto.", +"Laying your own subsea cable is a Tier 1 thing. Go transit-free first.":"Posare un proprio cavo sottomarino è roba da Tier 1. Prima liberati dal transit.", +"Leap second":"Secondo intercalare", +"Lease a wave":"Affitta una wave", +"Lease an IRU {price}/mo · ready in 30 days":"Affitta un IRU {price}/mese · pronta in 30 giorni", +"Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.":"Prendi un IRU in affitto o costruisci la tua (lento, con ritardi), poi compra un sistema di linea con amplificatori e accendi canali con transponder 400ZR+, 800ZR+ o 1.6T. Su larga scala costa molto meno delle wave, ma l’hardware si può guastare. Un kit ricambi accelera le riparazioni.", +"Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.":"Dark fiber in affitto: {up} subito, {mo}/mese, pronta in circa {n} giorni.", +"Lease hundreds of fiber pairs to a hyperscaler.":"Affitta centinaia di coppie di fibra a un hyperscaler.", +"Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.":"Affitta o scava dark fiber, mettici sopra un sistema DWDM e accendi un canale. Costa meno per bit delle wave, quando funziona.", +"Leased lines":"Linee affittate", +"Leave IX":"Esci dall’IX", +"Leave anyway":"Vai via comunque", +"Leave route server":"Lascia il route server", +"Leaves the Gulf from Fujairah and runs up the Red Sea to Europe.":"Lascia il Golfo da Fujairah e risale il Mar Rosso fino all’Europa.", +"Left on Read":"Visualizzato, nessuna risposta", +"Legendary":"Leggendario", +"Lends you money and also a little bit of their own.":"Ti presta soldi, e ogni tanto pure un po’ dei suoi.", +"Level {n}":"Livello {n}", +"License paperwork in progress: {n} days left.":"Pratiche per la licenza in corso: mancano {n} giorni.", +"Licenses and scrubbing":"Licenze e scrubbing", +"Light a wave on the Humboldt cable to Sydney.":"Accendi una wave sul cavo Humboldt verso Sydney.", +"Light fiber pair {n} {price} + {mo}/mo":"Accendi la coppia {n} {price} + {mo}/mese", +"Light fiber pair {n} {price}":"Accendi la coppia {n} {price}", +"Light up your first customers":"Accendi i tuoi primi clienti", +"Light your own dark fiber":"Accendi la tua dark fiber", +"Lighter on paperwork than its namesake. Still heavy on paperwork.":"Meno scartoffie del suo omonimo. Comunque pieno di scartoffie.", +"Lightning hit an amp site on {a}–{b}. The surge protector was decorative.":"Un fulmine ha colpito un sito di amplificazione su {a}–{b}. Lo scaricatore era decorativo.", +"Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.":"Accende anche la banda L: il doppio dello spettro, fino a 128 canali su una coppia di fibre, e amplificatori che richiedono il doppio del tempo per essere spiegati.", +"Like blackholing, but with a Plus.":"Come il blackholing, ma con un Plus.", +"Line system":"Sistema di linea", +"Link Panama City and Bogotá.":"Collega Panama City e Bogotá.", +"Links":"Link", +"Links & routers":"Collegamenti e router", +"Links removed":"Link rimossi", +"Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone.":"Da Lisbona a Barcellona e Marsiglia lungo la costa. Se guardi dritto il grafico della latenza, diventa di pietra.", +"List it with a capacity broker they keep 10%":"Mettila in vendita con un broker di capacità trattiene il 10%", +"List price":"Prezzo di listino", +"Live attack: {city}":"Attacco in corso: {city}", +"Live through the day half the internet went down.":"Sopravvivi al giorno in cui è caduta mezza internet.", +"Live: {state} · {rules}":"Stato: {state} · {rules}", +"Llama Drama":"Dramma lama", +"Load":"Carica", +"Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.":"Distacchi a rotazione stage {n} a {city}, e non hai un generatore. Compralo: qui non è facoltativo.", +"Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"I distacchi a rotazione hanno spento {site} a {city}. {other} ha retto, quindi il POP gira a metà capacità. Tutto ciò che è collegato solo al sito al buio è offline.", +"Load this network":"Carica questa rete", +"Load {name}?":"Caricare {name}?", +"Load-bearing typo":"Refuso portante", +"Loaded {name}. Check it, then deploy.":"{name} caricato. Controllalo, poi fai il deploy.", +"Loan repayments":"Rate dei prestiti", +"Local ISP":"ISP locale", +"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout locale: transit o una porta IX nella città del cliente, oppure un PNI locale quando sei Tier 1", +"Lock prices for a year {cost}":"Blocca i prezzi per un anno {cost}", +"London to Paris under the Channel. Cheaper than the train.":"Da London a Paris sotto la Manica. Costa meno del treno.", +"Lonely Penguin":"Pinguino solitario", +"Long Island to Cornwall. Follow it all the way to the wizard in the cable hut.":"Da Long Island alla Cornovaglia. Seguilo fino al mago nella capanna dei cavi.", +"Looking glass":"Looking glass", +"Los Angeles to Chile, with a small detour for Panama.":"Da Los Angeles al Cile, con una piccola deviazione per Panama.", "Los Angeles to Hawaii, Guam and the Philippines. See you later, packets.":"Da Los Angeles alle Hawaii, a Guam e alle Filippine. Ci vediamo dopo, pacchetti.", +"Lose a metro ring to one backhoe.":"Perdi un anello metro per colpa di una sola ruspa.", +"Lose exclusive benefits?":"Perdere i vantaggi esclusivi?", +"Lose fiber to a llama herd.":"Perdi la fibra per colpa di un branco di lama.", +"Lost":"Perso", +"Lost on the way":"Perso per strada", +"Lots of small sessions on little plates.":"Tante piccole sessioni su piattini.", +"Low latency":"Bassa latenza", +"Lowest latency":"Latenza minima", +"Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.":"I data center del Lussemburgo non sono a Lussemburgo città. Sono qui, Tier IV, raffreddati da una centrale che brucia scarti di legno.", +"Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.":"Le poste del Lussemburgo, che gestiscono anche i telefoni e quasi tutta la fibra. I tuoi pacchetti aspettano allo sportello finché qualcuno non passa a ritirarli.", +"Lv {n}":"Liv. {n}", +"Lyrics servers, low latency, high pitch.":"Server di testi delle canzoni, latenza bassa, tonalità alta.", +"MTU mismatch":"Mismatch di MTU", +"MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.":"MTU non allineato su {a}–{b}: i jumbo frame continuano a incastrarsi nel tubo. Capacità utile dimezzata.", +"Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.":"Stagione delle gazze in picchiata: i tecnici su {a}–{b} non escono dal furgone, e il tuo taglio resta tagliato.", +"Main route":"Percorso principale", +"Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.":"La Cina continentale richiede una licenza e una joint venture locale. Molti servizi stranieri lì sono bloccati, e il traffico che attraversa il confine perde pacchetti, a meno che tu non paghi rotte premium.", +"Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"La Cina continentale gioca con regole tutte sue. {list} e altri servizi stranieri qui sono bloccati, quindi gli utenti raggiungono soprattutto reti cinesi. Il traffico che attraversa il confine perde circa il {pct} tra filtri e congestione, a meno che non viaggi su una rotta premium: transit CN-Too o un circuito transfrontaliero premium (entrambi venduti solo a Hong Kong), oppure un PNI con una rete cinese. Qui i ricavi per utente sono più bassi.", +"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"Cina continentale. Dietro il Great Firewall, con regole tutte sue per le reti straniere.", +"Mainland China. Enormous market, strict rules, and a famously congested border.":"Cina continentale. Mercato enorme, regole rigide e un confine notoriamente congestionato.", +"Maintenance Window":"Finestra di manutenzione", +"Maintenance window":"Finestra di manutenzione", +"Maintenance window in {city}":"Finestra di manutenzione a {city}", +"Make 5 peering friends":"Fatti 5 amici di peering", +"Make sacrificial contains floods · ½ capacity":"Rendi sacrificale contiene i flood · ½ capacità", +"Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.":"Produce la maggior parte dei chip del mondo e dipende da una manciata di cavi sottomarini. Le navi continuano a trascinarci sopra le ancore “per sbaglio”.", +"Makes your port \"ready\" for a product you did not buy.":"Rende la tua porta “pronta” per un prodotto che non hai comprato.", +"Malaysia’s incumbent. In no hurry whatsoever.":"L’incumbent della Malesia. Non ha alcuna fretta.", +"Management declared a change freeze. Someone made a change to announce the change freeze.":"Il management ha dichiarato un change freeze. Qualcuno ha fatto una change per annunciare il change freeze.", +"Mar":"mar", +"Mars mission ground station":"Stazione di terra per una missione su Marte", +"Mars mission ground stations. Gear: The Router at the End of the Universe.":"Stazioni di terra per missioni su Marte. Gear: The Router at the End of the Universe.", +"Marseille to Singapore, then it leaves the party.":"Da Marseille a Singapore, poi lascia la festa.", +"Matching outfits, perfect harmonies, and they peer with absolutely everyone.":"Completi coordinati, armonie perfette, e fanno peering con chiunque.", +"Max-prefix limit hit: {who} at {ix}":"Limite max-prefix superato: {who} a {ix}", +"Max-prefix meltdown":"Max-prefix in tilt", +"Maxed out. Traffic here is being dropped.":"Al limite. Qui il traffico viene scartato.", +"May":"mag", +"Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.":"Megapork, PocketFabric e Consolation Connect vendono una porta più circuiti virtuali tra città. Ottimi per link piccoli e per il remote peering su un IX dove non hai un POP.", +"Member":"Membro", +"Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.":"Di proprietà dei membri e senza scopo di lucro. Più piccolo di LYNX, ma all’assemblea annuale ci sono i biscotti.", +"Members paying you":"Membri paganti", +"Mercury":"Mercurio", +"Met the Backhoe":"Incontro con la ruspa", +"Metaverse platform":"Piattaforma metaverso", +"Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.":"Piattaforme metaverso (alla fine è decollato), e un PNI gratuito con Etis-a-lot. Gear: router Arrrhipster 7800R5, fabric da 102.4T per il tuo exchange.", +"Metro diversity":"Diversità metropolitana", +"Metro ring cut":"Anello metro tagliato", +"Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.":"La Silicon Valley del Messico, patria del mariachi e della tequila. Progettazione di chip di giorno, musica di notte.", +"Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.":"La città del boom dei data center in Messico, alta e asciutta nel centro del paese. Ogni cloud vuole una region qui.", +"Mexico’s giant. Paid peering only, and the pricing is a mess.":"Il gigante del Messico. Solo peering a pagamento, e il listino è un casino.", +"Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.":"La capitale industriale del Messico, a poche ore dal Texas. Fabbriche, acciaio e capretto alla griglia nel weekend.", +"Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.":"I microburst su {a}–{b} riempiono i buffer poco profondi dei router: 0,5% di perdita al picco, e ogni videochiamata se ne accorge.", +"Mid-Atlantic Accent":"Accento medio-atlantico", +"Mind the Gap":"Occhio al Gap", +"Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.":"Mobile money e dati prepagati in quattordici paesi. Te lo dice a ogni ricarica.", +"Mode":"Modalità", +"Modes":"Modalità", +"Money per month":"Soldi al mese", +"Monitoring":"Monitoraggio", +"Monthly":"Mensile", +"Monthly P&L":"Bilancio mensile", +"Monthly price, just for you":"Prezzo mensile, solo per te", +"More scenarios":"Altri scenari", +"More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.":"Più traffico su peering, PNI e cache significa latenza più bassa, e gli utenti felici crescono più in fretta.", +"Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.":"La capitale economica del Marocco sull’Atlantico, la porta tra l’Europa e l’Africa occidentale.", +"Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.":"L’operatore storico del Marocco, con reti sorelle lungo la costa dell’Africa occidentale. Porta il peso senza lamentarsi.", +"Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.":"Moscow richiede una scatola governativa obbligatoria in ogni POP, le CDN occidentali se ne sono quasi tutte andate, i video di Goggle sono rallentati a metà velocità, e ogni tanto le esercitazioni dell’internet sovrano isolano Moscow per un giorno.", +"Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.":"Quasi tutti i cavi degli Emirati approdano su questa costa, fuori dallo Stretto di Hormuz. Andare da qui a Dubai vuol dire affittare dal duopolio.", +"Mostly ignores email":"Ignora quasi tutte le email", +"Mountain wireless. Will spit at bad routes.":"Wireless di montagna. Sputa sulle rotte sbagliate.", +"Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.":"Montagne, miniere e più bar per abitante che in qualsiasi altro posto del Brasile. Gli accordi di peering si firmano davanti al pane al formaggio.", +"Move one to A":"Spostane uno in A", +"Move one to B":"Spostane uno in B", +"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.", +"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à.", +"Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.":"In questa città hanno spostato tutto su PNI. Leggi la loro pagina PearingDB, tutte e 40 le pagine.", +"Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.":"La capitale del Mozambico, a un’ora dal Sudafrica. I suoi cavi sono il backup della costa orientale quando gli altri si rompono.", +"Multi-site training run":"Training multi-sito", +"Mumbai’s street-food exchange. Fast, spicy and cheap.":"L’exchange street food di Mumbai. Veloce, piccante ed economico.", +"Mystery link":"Link misterioso", +"NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.":"NANOG, RIPE, DENOG e compagnia tornano ogni anno. Iscriviti nella scheda Offerte per $8k. Nei 45 giorni successivi, le reti selective presenti in quella regione chiedono solo metà del traffico abituale prima di fare peering con te. A volte vinci pure la lotteria.", +"NNI fabrics":"Fabric NNI", +"NOC dashboard":"Dashboard NOC", +"NTP amplification":"amplificazione NTP", +"Name":"Nome", +"Name your network":"Dai un nome alla tua rete", +"Named after a planet, behaves like one: big and far away.":"Porta il nome di un pianeta, e si comporta come tale: grande e lontano.", +"Named after a wine. São Paulo to Buenos Aires, past Uruguay.":"Porta il nome di un vino. Da São Paulo a Buenos Aires, passando dall’Uruguay.", +"Naming committee":"Comitato nomi", +"Nearly Broadband Network wholesale":"Wholesale della Nearly Broadband Network", +"Needs a POP in {cities}":"Serve un POP a {cities}", +"Needs a POP in {cities} too.":"Serve un POP anche a {cities}.", +"Needs a ROADMaster 9000 line system.":"Serve un sistema di linea ROADMaster 9000.", +"Needs low-loss reach into China":"Vuole raggiungere la Cina con poche perdite", +"Needs routers with {pn} ports or bigger at both ends ({city}).":"Servono router con porte da {pn} o più grandi a entrambe le estremità ({city}).", +"Needs your own scrubbing center (Infra tab).":"Serve il tuo centro di scrubbing (scheda Infra).", +"Needs {min} Gbps of traffic to {net} (now {now})":"Servono {min} Gbps di traffico verso {net} (ora {now})", +"Nervous, but enthusiastic.":"Nervosa, ma entusiasta.", +"Network":"Rete", +"Network menu: save, load or start over":"Menu della rete: salva, carica o ricomincia", +"Network-wide peering ratio":"Quota di peering su tutta la rete", +"Networks":"Reti", +"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.", +"Never Paid List Price":"Mai pagato il listino", +"Never build in Bude. The loan officer had a bad surfing holiday there.":"Mai costruire a Bude. Il funzionario ci ha fatto una brutta vacanza di surf.", +"Never let cash drop below $50k. It makes us sweat.":"Non far mai scendere la cassa sotto i $50k. Ci fa sudare.", +"Never sell your TubeCoin. Diamond hands.":"Non vendere mai i tuoi TubeCoin. Mani di diamante.", "New Caledonia, a slice of France in the Coral Sea, with a cable to Sydney and a nickel mine on every hill.":"La Nuova Caledonia, un pezzo di Francia nel Mar dei Coralli, con un cavo per Sydney e una miniera di nichel su ogni collina.", +"New POP!":"Nuovo POP!", +"New York to Ireland: the tech-tax express.":"Da New York all’Irlanda: l’espresso dell’ottimizzazione fiscale.", +"New York to the cliffs of Bude. It made it home in the end.":"Da New York alle scogliere di Bude. Alla fine è tornato a casa.", +"New Zealand’s shiniest ISP.":"L’ISP più scintillante della Nuova Zelanda.", +"New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore.":"I nuovi cavi approdano sempre più spesso a Jeddah invece che in Egitto. Questo punta verso India e Singapore.", +"New circuit":"Nuovo circuito", +"New diverse route +40% · survives cuts alone":"Nuovo percorso diverso +40% · sopravvive da solo ai tagli", +"New fiber and cable builds":"Nuove fibre e nuovi cavi", +"New in Series of Tubes {v}":"Novità di Series of Tubes {v}", +"New routers went in today. The next swap can wait until tomorrow.":"I nuovi router sono stati montati oggi. Il prossimo cambio può aspettare domani.", +"Next: {name} unlocks {what}":"Prossimo: {name} sblocca {what}", +"Next: {req} unlocks {what}":"Prossimo: {req} sblocca {what}", +"No":"No", +"No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.":"Niente transit Cogentle, da nessuna parte. Il nostro CEO è stato de-peerato una volta e non si è mai ripreso.", +"No Goggle cache boxes. Our chairman lost an argument with a search engine.":"Niente cache di Goggle. Il nostro presidente ha perso una discussione con un motore di ricerca.", +"No IX here yet. You could found one later.":"Qui non c’è ancora un IX. Più avanti potresti fondarne uno.", +"No browser bars, a lot more map.":"Niente barre del browser, molta più mappa.", +"No businesses yet. Offers pop up as $ bubbles on the map.":"Ancora nessuna azienda. Le offerte spuntano come bolle $ sulla mappa.", +"No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.":"Niente capacità in US East. Puoi iscriverti alla lista d’attesa; anche la lista d’attesa è senza capacità.", +"No conditions. That is the scary part.":"Nessuna condizione. Ed è proprio questo che fa paura.", +"No connections yet. Buy transit or join an exchange from a POP.":"Ancora nessuna connessione. Compra transit o entra in un exchange da un POP.", +"No customers here.":"Nessun cliente qui.", +"No customers yet. Offers show up in the Deals tab.":"Ancora nessun cliente. Le offerte compaiono nella scheda Offerte.", +"No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.":"Niente dark fiber dentro gli Emirati. Qui solo i due operatori con licenza possono posare fibra, e vendono solo wave.", +"No diesel generators anywhere. Our sustainability team is watching.":"Nessun generatore diesel, da nessuna parte. Il nostro team sostenibilità ti guarda.", +"No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.":"Nessun costo di attivazione, attivo in pochi minuti, fatturato a mese. Più economico di una wave per piccole capacità, ma viaggia sul fabric di qualcun altro, e quel fabric può guastarsi.", +"No links yet.":"Ancora nessun link.", +"No mail yet. Buy an IX port and it will come.":"Ancora niente posta. Compra una porta IX e arriverà.", +"No navigable sea route connects these landing stations.":"Nessuna rotta marittima navigabile collega queste stazioni di approdo.", +"No new links on a Friday. The stars do not allow it.":"Niente nuovi collegamenti di venerdì. Le stelle non lo permettono.", +"No new subsea links while this loan runs. We are afraid of sharks.":"Niente nuovi link sottomarini finché dura il prestito. Abbiamo paura degli squali.", +"No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.":"Nessuna offerta al momento. Le banche si fanno vive ogni tanto, e molto più in fretta quando sei nei guai. Un rating creditizio migliore porta banche migliori.", +"No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.":"Nessuna offerta aperta al momento. Le aziende cercano reti con un POP nella loro città. Ne spuntano di nuove ogni poche settimane.", +"No optic you can buy reaches {km} km yet.":"Nessuna ottica che puoi comprare arriva ancora a {km} km.", +"No optic you can buy works on your fiber here yet.":"Nessuna ottica che puoi comprare funziona ancora sulla tua fibra qui.", +"No path: every route between these cities is down or missing.":"Nessun percorso: ogni strada tra queste città è giù o non esiste.", +"No payments at all! Until the very end. Then all of them, at once.":"Nessuna rata! Fino alla fine. Poi tutte insieme.", +"No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.":"Niente siti di rigenerazione in mezzo all’oceano: sui cavi lunghi le ottiche lavorano in modalità long-haul.", +"No repayments":"Nessuna rata", +"No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.":"Niente rate, mai. Solo una fetta dei tuoi ricavi, per sempre, e un sacco di opinioni.", +"No scrubbing center":"Nessun centro di scrubbing", +"No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.":"Nessun cavo sottomarino approda sia a {a} che a {b}. I cavi da {a} raggiungono: {list}. Fai tappa in una di queste.", +"No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.":"Nessun cavo sottomarino approda a {city}. La stazione di approdo più vicina è {near}: porta prima la fibra fin lì, poi prendi un cavo da lì.", +"No thanks":"No grazie", +"No traffic right now.":"Nessun traffico al momento.", +"Nobody gives a foreign network a landing licence in mainland China.":"Nessuno dà a una rete straniera una licenza di approdo nella Cina continentale.", +"Nobody is unhappy. Enjoy it while it lasts.":"Nessuno è scontento. Goditela finché dura.", +"Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.":"Su questa tratta nessuno ti lascia scavare. Confini e licenze sono d’intralcio, quindi continua ad affittare.", +"Nobody remembers who it is named after.":"Nessuno si ricorda a chi è dedicato.", +"Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.":"Nessuno vende capacità tra Kyiv e Moscow, e nessuno lo farà mai. Passa invece da Warsaw, Bucharest o Helsinki.", +"Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.":"Qui nessuno vende dark fiber su un cavo sottomarino. La capacità sottomarina arriva come wave in affitto.", +"Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.":"Nessuno vende una coppia di fibre attraverso una dozzina di confini. Tra continenti, la capacità via terra si trova solo come wave in affitto.", +"Nobody sells transit here. Haul your traffic over fiber to a city that has it.":"Qui nessuno vende transit. Porta il tuo traffico via fibra in una città che ce l’ha.", +"None":"Nessuno", +"None (build one from a POP's Infra tab)":"Nessuno (costruiscine uno dalla scheda Infra di un POP)", +"Nordic backbone that tells you exactly where your packets went.":"Backbone nordico che ti dice esattamente dove sono finiti i tuoi pacchetti.", +"Normal":"Normale", +"North America":"Nord America", +"North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen.":"Mulo da soma del Mare del Nord da London ad Amsterdam. Coppie di dark fiber in vendita a dozzine.", +"Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby.":"Dalla Norvegia al Regno Unito attraverso il Mare del Nord. Coppie di fibra in vendita, perché i soldi del petrolio volevano un hobby.", +"Norway’s incumbent. Neither yes nor no, until you send enough traffic.":"L’incumbent norvegese. Né sì né no, finché non mandi abbastanza traffico.", +"Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.":"La capitale norvegese del petrolio, ora piena di data center dentro le montagne, alimentati a idroelettrico e raffreddati dal fiordo. Qui approdano i cavi del Mare del Nord.", +"Not Tier 1 right now: {why}.":"Al momento non sei Tier 1: {why}.", +"Not accepting new peers in this region right now.":"Per ora non accettano nuovi peer in questa regione.", +"Not big enough yet: {list}":"Non sei ancora abbastanza grande: {list}", +"Not happening":"Non se ne parla", +"Not in your cities yet. Nearest: {city}":"Non ancora nelle tue città. La più vicina: {city}", +"Not installed":"Non installato", +"Not present in any of your cities yet":"Non è ancora presente in nessuna delle tue città", +"Not without a license":"Non senza una licenza", +"Nothing in the last 10 minutes.":"Niente negli ultimi 10 minuti.", +"Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.":"Niente sulla tua rete raggiunge {net}: nessun transit, sessione IX, PNI o cache con un percorso funzionante da {city}.", +"Nothing plugged in here yet":"Qui non è ancora collegato niente", +"Nothing spare to sell on this fiber right now.":"Per ora non c’è niente da vendere su questa fibra.", +"Nothing to pay for {n} months. Then everything.":"Niente da pagare per {n} mesi. Poi tutto.", +"Nothing to pay until the end":"Niente da pagare fino alla fine", +"Nothing to pay until the end · {n} months left · growing at {apr}% a year":"Niente da pagare fino alla fine · {n} mesi rimasti · cresce del {apr}% l’anno", +"Nothing: every network is reachable without transit.":"Nessuna: ogni rete è raggiungibile senza transit.", +"Notifications":"Notifiche", +"Nov":"nov", +"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.", +"Now grab an IX port there for remote peering.":"Ora prendi lì una porta IX per il peering remoto.", +"Now you see the fibre, now you don’t.":"Ora la fibra la vedi, ora non la vedi più.", +"Number two in China, with a horn for every backbone.":"Il numero due in Cina, con un corno per ogni backbone.", +"OUTAGE":"DISSERVIZIO", +"Oceania":"Oceania", +"Oct":"ott", +"Off":"Off", +"Offers":"Offerte", +"Offers here":"Offerte qui", +"Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.":"Petrolio, gas e uragani. I generatori qui sono dimensionati per una settimana, e ce n’è stato bisogno.", +"Old Pacific workhorse. Everyone hopes it holds.":"Vecchio mulo da soma del Pacifico. Tutti sperano che regga.", +"On":"On", +"On an island, so every link off it is a subsea cable.":"È su un’isola, quindi ogni link in uscita è un cavo sottomarino.", +"On iPhone, a game started in Safari does not carry over to the home-screen app.":"Su iPhone, una partita iniziata in Safari non passa all’app sulla schermata Home.", +"On the Peering tab, request sessions, or join the route server to peer with every open network at once.":"Nella scheda Peering richiedi delle sessioni, oppure entra nel route server per fare peering con tutte le reti open in un colpo solo.", +"On · moving {g} onto alternate paths":"On · sposta {g} su percorsi alternativi", +"On · {city}":"On · {city}", +"On-demand (engages in {n}d)":"On-demand (si attiva tra {n}g)", +"On-demand scrubbing diverting, live in {n}d":"Scrubbing on-demand in deviazione, attivo tra {n}g", +"Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.":"Una volta installato Auto-TE, puoi programmarlo dalla scheda NOC. Tra le regole ci sono spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams e blackhole ddos. Check fa una prova a secco sul traffico reale; Deploy la rende vera, errori compresi.", +"One fabric across the whole country. Distributed, cheap and a little smug about it.":"Un unico fabric per tutto il paese. Distribuito, economico e un po’ compiaciuto.", +"One foot in Europe, one in Asia. Every land route between them crosses here.":"Un piede in Europa, uno in Asia. Ogni rotta terrestre tra le due passa di qui.", +"One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.":"Un membro di {lab} è stato collegato allo switch sbagliato. LACP lo tiene sospeso, giustamente.", +"One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.":"Una delle città più grandi dell’Africa, proprio di fronte a un’altra capitale sull’altra riva del fiume. La corrente va e viene, la rumba non si ferma mai.", +"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.", +"One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen.":"Un anello per legare Invercargill a Sydney, Melbourne e Auckland. Approda accanto a un pascolo dove qualcuno sta costruendo una fabbrica di IA, ed è così che capisci che potrebbe succedere davvero.", +"One router is a single point of failure.":"Un solo router è un single point of failure.", +"One router means downtime during the swap. Back tomorrow.":"Un solo router vuol dire downtime durante la sostituzione. Di nuovo su domani.", +"One router, and this one takes forever to boot. Back in {n} days.":"Un solo router, e questo ci mette una vita a fare il boot. Di nuovo su tra {n} giorni.", +"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.", +"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.", +"One tap away.":"A un tocco di distanza.", +"One-way latency within {max} ms (best now: {best})":"Latenza di sola andata entro {max} ms (migliore ora: {best})", +"Only Spätzle-IX":"Solo Spätzle-IX", +"Only comes online at night.":"Va online solo di notte.", +"Only lends to people who do not need it.":"Presta soldi solo a chi non ne ha bisogno.", +"Only peers over PNIs in this metro. Order a cross-connect instead.":"In questa metro fa peering solo via PNI. Ordina un cross-connect.", +"Only peers over PNIs, and only with networks it considers important":"Fa peering solo su PNI, e solo con reti che considera importanti", +"Only peers with members they can reach without a 1,500 km hairpin.":"Fanno peering solo con membri raggiungibili senza un hairpin di 1.500 km.", +"Oops":"Ops", +"Open":"Apri", +"Open Series of Tubes from your home screen and start your network there.":"Apri Series of Tubes dalla schermata Home e avvia lì la tua rete.", +"Open Series of Tubes from your home screen.":"Apri Series of Tubes dalla schermata Home.", +"Open Infra":"Apri Infra", +"Open NOC":"Apri il NOC", +"Open NOC dashboard":"Apri la dashboard del NOC", +"Open a POP here":"Apri un POP qui", +"Open a new POP at least every 90 days. Blitzscale or die.":"Apri un nuovo POP almeno ogni 90 giorni. Blitzscale o muori.", +"Open bank":"Apri la banca", +"Open inbox":"Apri la casella", +"Open lease":"Apri l’affitto", +"Open peer, but not on any IX where you have a POP":"Peer aperto, ma non su nessun IX dove hai un POP", +"Open peer, but not on any IX where you have a POP. Nearest: {city}":"Peer aperto, ma non su nessun IX dove hai un POP. Il più vicino: {city}", +"Open peer: join the route server at {ix}":"Peer aperto: entra nel route server di {ix}", +"Open peer: join the route server at {ix} ({city})":"Peer aperto: entra nel route server di {ix} ({city})", +"Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.":"Open: fa peering con chiunque. Selective: vuole prima vedere traffico. Restrictive (i Tier 1): fa peering solo con i giganti, tramite PNI. Paid: esattamente quello che sembra, si paga. Le grandi reti selective hanno anche i loro umori: in certe città rifiutano nuovi peer per qualche mese, o accettano solo PNI, e ogni tanto abbattono una sessione che avevi già. Prova un’altra città o un PNI, e richiedi più avanti.", +"Open to work":"Open to work", +"Open your browser menu (⋮).":"Apri il menu del browser (⋮).", +"Open your dark fiber":"Apri la tua dark fiber", +"Open your fiber":"Apri la tua fibra", +"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.":"Apri la tua città di partenza e premi “Lancia la banda larga”. Gli eyeball sono persone a casa che guardano video di gatti. Ti pagano ogni mese.", +"Open-faced, cheap and available at 3 a.m.":"A faccia aperta, economico e disponibile alle 3 di notte.", +"Opened a ticket with itself to review its own decisions. It approved them.":"Ha aperto un ticket a se stesso per rivedere le proprie decisioni. Le ha approvate.", +"Opened three accounts for you while you read this.":"Ti ha aperto tre conti mentre leggevi questa frase.", +"Opens at six, comes with free snacks, closes when the last session drops.":"Apre alle sei, con stuzzichini gratis, chiude quando cade l’ultima sessione.", +"Opt out":"Disiscriviti", +"Opt out of 3 auto-enrolled add-ons.":"Disattiva 3 add-on attivati d’ufficio.", +"Optical engineering":"Ingegneria ottica", +"Optics":"Ottiche", +"Optimize":"Ottimizza", +"Optimized":"Ottimizzato", +"Or drag from one of your routers to this city to lay fiber and build the POP in one go.":"Oppure trascina da uno dei tuoi router a questa città per posare la fibra e costruire il POP in un colpo solo.", +"Order and Progress":"Ordine e Progresso", +"Order circuit anyway":"Ordina comunque il circuito", +"Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.":"Altri operatori affittano quello che non usi: alien wave sui canali liberi del tuo sistema di linea o, se l’hai costruita tu, una coppia di fibre libera nello scavo.", +"Other links between these cities:":"Altri link tra queste città:", +"Other models":"Altri modelli", +"Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.":"Il nostro gruppo Signal: scambia screenshot, segnala bug e litiga sulle politiche di peering con altri giocatori. Meno ruspe che nella realtà.", +"Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.":"Il nostro presidente vuole uno yacht per l’estate. Tu non ce l’hai, quindi lo affitti: {price}/mese.", +"Our logo goes on every router you own.":"Il nostro logo va su ogni router che possiedi.", +"Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.":"Porte al limite? Raggruppa fino a 8 porte identiche verso lo stesso provider di transit, IX o PNI in un LAG. Ogni membro costa una porta intera; il flow hashing non è mai perfettamente uniforme, quindi un bundle trasporta circa il 95% della somma.", +"Out of reach without transit {n}":"Fuori copertura senza transit {n}", +"Over the Mountains":"Oltre le montagne", +"Overland":"Via terra", +"Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.":"Via terra tra continenti si attraversa una dozzina di confini, e ogni operatore lungo la strada si prende la sua parte: {x}× il prezzo. Via mare costa molto meno.", +"Overview":"Panoramica", +"Owns the cable that brought East Africa online, and sells you the capacity with a straight face.":"Possiede il cavo che ha portato online l’Africa orientale, e ti vende la capacità senza battere ciglio.", +"Owns the cables from Luanda to Brazil, and always finds an angle on the deal.":"Possiede i cavi da Luanda al Brasile, e trova sempre un angolo nell’affare.", +"Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.":"Possiede l’attraversamento terrestre di cui ha bisogno ogni cavo del Mar Rosso. Riscuote pedaggi come un faraone.", +"PMTUD black hole":"Buco nero PMTUD", +"PNI LAG with {name} in {city}":"LAG PNI con {name} a {city}", +"PNI in {city}: {why}":"PNI a {city}: {why}", +"PNI lead times":"Tempi di consegna delle PNI", +"PNI with {net}":"PNI con {net}", +"PNIs":"PNI", +"PNIs beat IX peering":"i PNI battono il peering IX", +"PNIs with every Tier 1":"PNI con ogni Tier 1", +"POP in {city}":"POP a {city}", +"POPs":"POP", +"POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.":"POP tutto attorno al Pacifico: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland e Santiago.", +"POPs and routers":"POP e router", +"POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served":"POP a Bogotá, Lima, Santiago e São Paulo, e 150 Gbps serviti", +"POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.":"POP a Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo e Auckland.", +"POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.":"POP a Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade e Tallinn.", +"POPs in every region on the map.":"POP in ogni regione della mappa.", +"POPs in five of the six regions on the map.":"POP in cinque delle sei regioni della mappa.", +"POPs on 3+ continents":"POP in 3+ continenti", +"Pacific cables land nearby, and everyone meets in one famous building downtown.":"I cavi del Pacifico approdano qui vicino, e tutti si incontrano in un famoso edificio in centro.", +"Packet empire":"Impero dei pacchetti", +"Packet loss":"Perdita di pacchetti", +"PacketOinker² (two pigs, one chassis)":"PacketOinker² (due maiali, un solo chassis)", +"PacketOinker³ (a whole litter)":"PacketOinker³ (una cucciolata intera)", +"Packets hop. Sometimes backwards.":"I pacchetti saltellano. A volte all’indietro.", +"Packets leave on time, to the second.":"I pacchetti partono puntuali, al secondo.", +"Paid PNIs with all three Korean incumbents.":"PNI a pagamento con tutti e tre gli incumbent coreani.", +"Paid in TubeCoin":"Pagato in TubeCoin", +"Paid peering only, over a PNI":"Solo peering a pagamento, su PNI", +"Paid peering only: a PNI costs {price}/mo":"Solo peering a pagamento: un PNI costa {price}/mese", +"Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.":"Solo peering a pagamento: un PNI costa {price}/mese. Gratis dal livello clienti {n}.", +"Paid peering: {price}/mo on top":"Peering a pagamento: {price}/mese in più", +"Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.":"La porta sul mare del Pakistan. Qui approda ogni cavo, e anche ogni nuova regola del firewall.", +"Pakistan’s incumbent. Every session comes with a firewall rule.":"L’incumbent del Pakistan. Ogni sessione arriva con una regola del firewall.", "Palau, on a branch cable from Guam. Coral reefs, jellyfish that do not sting, and very little traffic.":"Palau, su una diramazione del cavo da Guam. Barriere coralline, meduse che non pungono e pochissimo traffico.", "Palau’s telco. Snorkel down and you can see the cable.":"La telco di Palau. Fai snorkeling e vedi il cavo.", +"Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily.":"Da Palermo a Marseille e Alessandria. Ogni scorciatoia Europa–Asia vuole una tappa in Sicilia.", "Papua New Guinea’s capital, in a country of eight hundred languages, with a cable to Sydney. The grid fails often, so bring a generator.":"La capitale della Papua Nuova Guinea, un paese con ottocento lingue, con un cavo per Sydney. La rete elettrica salta spesso, quindi porta un generatore.", "Papua New Guinea’s state telco: eight hundred languages, one billing system.":"La telco di stato della Papua Nuova Guinea: ottocento lingue, un solo sistema di fatturazione.", -"Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.":"Telefoni su ogni isola dalla Papua Nuova Guinea a Tonga, e transit da vendere su ciascuna.", -"Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.":"Gestisce la posta, i telefoni e internet in Nuova Caledonia e nella Polinesia Francese. I pacchetti arrivano affrancati, con un croissant.", -"Samoa to Tahiti by way of the Cook Islands. Steeped slowly.":"Da Samoa a Tahiti passando per le Isole Cook. In infusione lenta.", -"Samoa’s broadband, promised with a slice of something sweet.":"La banda larga di Samoa, promessa con una fetta di qualcosa di dolce.", -"Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.":"La capitale di Samoa, con cavi per le Figi, le Samoa Americane e Tahiti. La domenica è per la chiesa, quindi le finestre di manutenzione sono il sabato.", -"Stepping Stones":"Di isola in isola", -"Sydney to Nouméa. Wishes it were a supercontinent.":"Da Sydney a Nouméa. Sogna di essere un supercontinente.", -"Sydney to Papua New Guinea and the Solomon Islands. Hums while it works.":"Da Sydney alla Papua Nuova Guinea e alle Isole Salomone. Canticchia mentre lavora.", -"Tahiti to Hawaii, trolling for bandwidth.":"Da Tahiti alle Hawaii, a pesca di banda.", -"Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.":"Tahiti, nella Polinesia Francese. Un cavo corre a nord verso le Hawaii, e quello nuovo dal Cile all’Australia fa tappa qui: il trampolino tra il Sud America e l’Oceania.", -"The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.":"La telco delle Isole Marshall, due metri sopra il mare e fiera di ogni centimetro.", -"The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.":"La capitale delle Isole Salomone, su Guadalcanal. Il cavo per Sydney è arrivato solo pochi anni fa; prima era tutto satellite. La corrente è meno affidabile del cavo.", -"The Solomon Islands’ incumbent. Yours sincerely, eventually.":"L’incumbent delle Isole Salomone. Distinti saluti, prima o poi.", -"The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.":"La capitale delle Isole Marshall, un anello di corallo due metri sopra il mare. Un solo cavo per Guam, e ogni pacchetto lo sa.", -"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.":"Il fratellino del vecchio cavallo da tiro: da Los Angeles a Sydney con una diramazione per le Figi.", -"The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"Il fondale al largo di Tonga è franato giù per un pendio e si è portato via il tuo cavo {a}–{b}. La nave di riparazione arriva dalla Papua Nuova Guinea.", -"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga è appesa a un solo cavo dalle Figi. Nel 2022 un vulcano sottomarino l’ha tranciato e il paese è rimasto offline per settimane.", -"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"La telco di Tonga. È sopravvissuta a un vulcano che le ha tranciato l’unico cavo, e ora ci scherza su.", -"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"L’hub della Renania-Ruhr: più data center carrier-neutral di Amburgo o di Monaco, e a un’ora dal confine olandese, quindi la fibra fino ad Amsterdam è corta ed economica. Qui si ordina un’Altbier, mai una Kölsch.", -"Standard":"Standard", -"Optimized":"Ottimizzato", -"Low latency":"Bassa latenza", -"Cable design":"Progetto del cavo", -"Estimated latency":"Latenza stimata", -"Premium submarine terminals":"Terminali sottomarini avanzati", -"Optical engineering":"Ingegneria ottica", -"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Questo canale raggiunge {max} km su questo cavo; il percorso è di {span} km. Valuta terminali sottomarini o ingegneria ottica.", -"Submarine transmission":"Trasmissione sottomarina", -"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"Terminali migliori e ottimizzazione ottica estendono la portata sulle lunghe distanze. I ripetitori sono già inclusi; questi aggiornamenti non modificano la latenza.", -"Ready in {n} days":"Pronto tra {n} giorni", -"{price} · {n} days":"{price} · {n} giorni", -"Up to {g} per channel":"Fino a {g} per canale", -"+{n} days":"+{n} giorni", -"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"Il percorso di questo progetto è di {km} km: troppo lungo per qualsiasi ottica, anche con entrambi i miglioramenti. Un progetto più corto ce la fa.", -"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km sono troppi per le tue ottiche da sole. Aggiungi {what} per accendere questo cavo.", -"Reach 45% of the internet and serve 300 Gbps":"Raggiungi il 45% di internet e servi 300 Gbps", -"Out of reach without transit {n}":"Fuori copertura senza transit {n}", -"Nothing: every network is reachable without transit.":"Nessuna: ogni rete è raggiungibile senza transit.", -"Open peer, but not on any IX where you have a POP. Nearest: {city}":"Peer aperto, ma non su nessun IX dove hai un POP. Il più vicino: {city}", -"Not in your cities yet. Nearest: {city}":"Non ancora nelle tue città. La più vicina: {city}", -"Where to meet them":"Dove trovarli", -"Goal":"Obiettivo", -"Road to Tier 1":"Verso il Tier 1", -"Transit ports to cancel":"Porte transit da disdire", -"PNIs with every Tier 1":"PNI con ogni Tier 1", -"Tier 1s only take a PNI from a network with {list}.":"I Tier 1 accettano un PNI solo da una rete con {list}.", -"Reach without transit":"Copertura senza transit", -"All {n} out of reach":"Tutte le {n} fuori copertura", -"Where?":"Dove?", -"Attack hauled to scrubbing in {city}":"Attacco portato allo scrubbing di {city}", -"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Vuole un centro di scrubbing nel suo continente, così gli attacchi non attraversano un oceano", -"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Il tuo backbone riesce a portarne solo {g} a {city}: il resto non viene pulito", -"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"Lo scrubbing {tier} a {city} lo sta pulendo, portato lì sul tuo backbone (+{ms} ms)", -"Your scrubbing centers are full: {g} leaks past":"I tuoi centri di scrubbing sono pieni: {g} passano lo stesso", -"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Gli attacchi vanno al tuo centro di scrubbing più vicino. Da qui è {city}, a {km} km: il flusso viaggia sul tuo backbone fin lì e ritorno, il che aggiunge latenza, e quello che i tuoi link non riescono a portare non viene pulito. Un centro qui pulisce gli attacchi sul posto.", -"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"gli attacchi su {city} vengono portati a {to} per lo scrubbing: +{ms} ms", -"Scrubbing centers":"Centri di scrubbing", -"Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.":"Costruiscine uno in tutti i POP che vuoi. Un attacco va al centro funzionante più vicino, e quello che non riesce a gestire passa al successivo. Un centro lontano vuol dire che il flusso viaggia sul tuo backbone fin lì e il traffico della vittima torna per la strada lunga: riempie i tuoi link, aggiunge latenza, e quello che i link non riescono a portare non viene pulito. I clienti che comprano protezione DDoS se ne accorgono quando i loro attacchi attraversano un oceano.", -"Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.":"La figlia belga di Tangerine: mobile, cavo e un bel po’ di dark fiber lungo le autostrade della Vallonia. Frizzante.", -"Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.":"Le poste del Lussemburgo, che gestiscono anche i telefoni e quasi tutta la fibra. I tuoi pacchetti aspettano allo sportello finché qualcuno non passa a ritirarli.", -"A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row":"Un percorso da Marsiglia a Singapore, e 80 Gbps tra l’Asia e il resto della tua rete per 30 giorni di fila", -"Your traffic to and from Asia":"Il tuo traffico da e per l’Asia", -"Days in a row at {g} or more":"Giorni di fila con almeno {g}", -"Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.":"Niente da vendere su questa fibra.
Ogni canale è acceso o venduto, e nello scavo non c’è una coppia libera.", -"Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.":"In vendita tramite un broker di capacità.
{name} vuole {what}. Accetta dalla fibra o in Offerte.", -"Selling spare capacity":"Vendere la capacità libera", -"Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.":"Altri operatori affittano quello che non usi: alien wave sui canali liberi del tuo sistema di linea o, se l’hai costruita tu, una coppia di fibre libera nello scavo.", -"Free channels":"Canali liberi", -"via a capacity broker":"tramite un broker di capacità", -"List it with a capacity broker they keep 10%":"Mettila in vendita con un broker di capacità trattiene il 10%", -"Nothing spare to sell on this fiber right now.":"Per ora non c’è niente da vendere su questa fibra.", -"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.", +"Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.":"Il Paraguay condivide due dighe giganti con i vicini e ha più energia di quanta ne possa usare. I miner di criptovalute se ne sono accorti.", +"Patch panel mishap":"Pasticcio al patch panel", +"Path latency: {lat}":"Latenza del percorso: {lat}", +"Pause":"Pausa", +"Pause on outages that hurt":"Pausa sui guasti che fanno male", +"Pause when a customer is furious":"Pausa quando un cliente è furioso", +"Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.":"Paga una rete più grande a Gbps e lei porta il tuo traffico verso tutta internet. Fatturato al 95° percentile degli ultimi 30 giorni, con un commit del 20% e un canone di porta. I picchi come i DDoS alzano la bolletta.", +"Pays out in TubeCoin. Value may vary. A lot.":"Paga in TubeCoin. Il valore può variare. Parecchio.", +"Peak":"Picco", +"Peak traffic":"Picco di traffico", +"Peak traffic served in one year.":"Picco di traffico servito in un anno.", +"Peak traffic served in one year. A new personal best for this week!.":"Picco di traffico servito in un anno. Nuovo record personale per questa settimana!", +"Peak traffic served in one year. Your best this week is {best}.":"Picco di traffico servito in un anno. Il tuo record di questa settimana è {best}.", +"Peer at an IX remotely.":"Fai peering da remoto su un IX.", +"Peer at the Spätzle-IX in Stuttgart. Local money for local packets.":"Fai peering allo Spätzle-IX di Stuttgart. Soldi locali per pacchetti locali.", +"Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.":"Fai peering a {ix} senza costruire un POP. Ordina un circuito virtuale fin qui da uno dei tuoi POP tramite {fabs}.", +"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Fai peering con ogni Tier 1 via PNI e disdici ogni porta di transit. Così nessuno ti fa pagare per raggiungere internet.", +"Peered":"In peering", +"Peered ✓":"In peering ✓", +"Peering":"Peering", "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.", -"Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"Controlla (dry run) rigioca il traffico di oggi con lo script e mostra quanto serviresti e quanto costerebbe il transito. Non cambia niente.", -"Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"Deploy 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.", -"Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"Commit completato. Traffico giù del {p}.
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.", -"Delivery: about a month, sometimes 6 to 12 months":"Consegna: circa un mese, a volte da 6 a 12 mesi", -"Delivery: 2 to 6 weeks":"Consegna: da 2 a 6 settimane", -"Their team quotes {m} months":"Il loro team parla di {m} mesi", -"Ready in about {n} days":"Pronta in circa {n} giorni", -"on order":"in ordine", -"About {n} days to go. Nothing to do but wait, or chase it.":"Mancano circa {n} giorni. Non resta che aspettare, o sollecitare.", -"Chase it":"Sollecita", -"Cancel the order":"Annulla l’ordine", -"PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.":"La PNI con {net} è attiva a {city}.
Un cross-connect in {dc}. Privato e veloce.", -"Augment with {net} delivered in {city}.
Now {port}.":"Ampliamento con {net} consegnato a {city}.
Ora {port}.", -"No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.":"Niente capacità in US East. Puoi iscriverti alla lista d’attesa; anche la lista d’attesa è senza capacità.", -"US East is sold out until further notice. Further notice is also sold out.":"US East è esaurito fino a nuovo avviso. Anche il nuovo avviso è esaurito.", -"Their peering team says US East is “capacity constrained”, which is cloud for “no”.":"Il loro team di peering dice che US East è “capacity constrained”, che in linguaggio cloud vuol dire “no”.", -"A new region is coming online soon. It has been coming online soon since 2019.":"Una nuova region arriverà presto. Arriva presto dal 2019.", -"Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.":"Ciao! Vorremmo fare peering con voi a {ix}. Il nostro record su PeeringDB è aggiornato.", -"Dear Sir or Madam, please peer. We have three prefixes and very big plans.":"Gentile Signore o Signora, per favore fate peering. Abbiamo tre prefissi e progetti molto grandi.", -"We noticed you are at {ix}. So are we. Shall we?":"Abbiamo notato che siete a {ix}. Anche noi. Che ne dite?", -"Hello, please find attached our peering request as a Word document, scanned from a printout.":"Salve, in allegato la nostra richiesta di peering come documento Word, scansionato da una stampa.", +"Peering From the Couch":"Peering dal divano", +"Peering Over Beer":"Peering davanti a una birra", +"Peering inbox":"Casella di peering", +"Peering policy":"Policy di peering", +"Peering ratio":"Quota peering", "Peering request, fifth attempt. Is anyone there?":"Richiesta di peering, quinto tentativo. C’è qualcuno?", -"Hey, quick one: can you peer with us at {ix}? We have a very important Minecraft server.":"Ehi, domanda veloce: potete fare peering con noi a {ix}? Abbiamo un server Minecraft molto importante.", -"Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.":"Saluti. Siamo una rete in rapida crescita. L’anno scorso avevamo un cliente; quest’anno ne abbiamo due.", -"Please configure sessions with us at {ix}. We will do ours next week, or the week after.":"Per favore configurate le sessioni con noi a {ix}. Noi faremo le nostre la settimana prossima, o quella dopo.", -"Replied to a peering request with a haiku about BGP. No answer yet.":"Ha risposto a una richiesta di peering con un haiku sul BGP. Nessuna risposta per ora.", -"Signed you up for a webinar on “Peering in the Age of AI”.":"Ti ha iscritto a un webinar su “Il peering nell’era dell’IA”.", -"Opened a ticket with itself to review its own decisions. It approved them.":"Ha aperto un ticket a se stesso per rivedere le proprie decisioni. Le ha approvate.", -"Wrote a thousand-word apology to a network you never peered with.":"Ha scritto mille parole di scuse a una rete con cui non hai mai fatto peering.", -"Updated your PeeringDB record. Your NOC phone number is now a pizza place.":"Ha aggiornato il tuo record su PeeringDB. Il numero del tuo NOC ora è una pizzeria.", -"Asked NetChill’s peering team to “please provide more Netchill”.":"Ha chiesto al team di peering di NetChill di “fornire più Netchill, per favore”.", -"Responsive":"Reattivo", -"Average":"Nella media", -"Mostly ignores email":"Ignora quasi tutte le email", -"Black hole":"Buco nero", -"Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.":"Limite max-prefix superato: {who} a {ix}.
La sessione resta giù finché non ci guardi.", -"Inbox":"Posta", -"{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.":"{who} ha chiesto su una mailing list se qualcuno ha un contatto funzionante da {me}.
La loro richiesta di peering è rimasta nella tua casella per un mese.", -"{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.":"{who} a {ix} stava mandando una full table, e il limite max-prefix era l’unica cosa che la fermava. Col limite alzato, i prefissi di {net} puntano alla loro cantina. Il traffico verso {net} via transito finisce in un buco nero per qualche giorno.", -"That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.":"Era un route leak.
{who} annunciava {n} prefissi: una full table. La prossima volta, tienila giù.", -"Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.":"La sessione con {who} è di nuovo su.
Nuovo limite: {n} prefissi. Promettono di aggiornare PeeringDB.", -"Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.":"Ben fatto: era un route leak.
{who} ha trovato una route map scritta male. La sessione torna da sola tra qualche giorno.", -"The session stays down.
{who} will update PeeringDB and ask again. Eventually.":"La sessione resta giù.
{who} aggiornerà PeeringDB e chiederà di nuovo. Prima o poi.", -"Declined {who} at {ix}: “not a strategic fit”. They were.":"Ha rifiutato {who} a {ix}: “non strategico”. Lo era.", -"Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.":"Ha alzato il limite max-prefix per {who} a {ix} a {n}. Sembravano simpatici.", -"Kept {who} down at {ix} for “suspicious growth”. They had grown by one customer.":"Ha tenuto giù {who} a {ix} per “crescita sospetta”. Erano cresciuti di un cliente.", -"Raised the max-prefix limit for {who} at {ix}. Correctly, this time.":"Ha alzato il limite max-prefix per {who} a {ix}. Correttamente, stavolta.", -"Kept {who} down at {ix}: it was a route leak. Nailed it.":"Ha tenuto giù {who} a {ix}: era un route leak. Centrato.", -"Answered your mail: {a} accepted, {d} declined.":"Ha risposto alla tua posta: {a} accettate, {d} rifiutate.", -"Tidied up a session it decided was unused: de-peered {who} at {ix}.":"Ha fatto ordine tra le sessioni che riteneva inutili: ha tolto il peering con {who} a {ix}.", -"{n} day ago":"{n} giorno fa", -"{n} days ago":"{n} giorni fa", -"today":"oggi", +"Peering spat":"Lite di peering", "PeeringDB last updated {n} year ago":"PeeringDB aggiornato {n} anno fa", "PeeringDB last updated {n} years ago":"PeeringDB aggiornato {n} anni fa", "PeeringDB updated last month":"PeeringDB aggiornato il mese scorso", -"Max-prefix limit hit: {who} at {ix}":"Limite max-prefix superato: {who} a {ix}", -"Configured: {lim} prefixes. Received: {got}.":"Configurato: {lim} prefissi. Ricevuti: {got}.", +"Peers with anyone, and wants to know everything about your routes.":"Fa peering con chiunque, e vuole sapere tutto delle tue rotte.", +"Peers with you for free now, but only over a PNI":"Ora fa peering con te gratis, ma solo su un PNI", +"Peers with you for free over a PNI. You got too big to charge.":"Fa peering con te gratis su un PNI. Sei diventato troppo grande per farti pagare.", +"Penalties are running.":"Le penali stanno correndo.", +"Penalty in {n} days.":"Penale tra {n} giorni.", +"Penny Pincher":"Spilorcio", +"People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?":"La gente ti chiama per chiedere se internet è giù. Internet sei tu. Hai provato a spegnerti e riaccenderti?", +"Per month":"Al mese", +"Permits, trenching, splicing":"Permessi, scavi, giunzioni", +"Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich.":"Da Perth a Singapore e Giacarta. Preparato fresco ogni mattina, e tagliato più spesso di un panino.", +"Perth to the Gulf across the Indian Ocean. Oh man, it is long.":"Da Perth al Golfo attraverso l’Oceano Indiano. Oh man, quant’è lungo.", +"Philippine giant. Peering requests are reviewed over a cup of tea.":"Gigante filippino. Le richieste di peering vengono valutate davanti a una tazza di tè.", +"Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.":"Telefoni su ogni isola dalla Papua Nuova Guinea a Tonga, e transit da vendere su ciascuna.", +"Pick a POP":"Scegli un POP", +"Pick a challenge":"Scegli una sfida", +"Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.":"Scegli i POP da chiudere. Se ne va tutto: router, porte, cache, porte agli exchange e ogni link che li tocca.", +"Pick your home city":"Scegli la tua città di partenza", +"Pig Whisperer":"L’uomo che sussurrava ai maiali", +"Pink eyeball giant. Peering is available... for a monthly fee.":"Gigante eyeball rosa. Il peering è disponibile... con un canone mensile.", +"Pizza for the whole NOC after every incident: {price} each.":"Pizza per tutto il NOC dopo ogni incidente: {price} ogni volta.", +"Plan a cable":"Progetta un cavo", +"Plan dark fiber":"Progetta la dark fiber", +"Plan your own fiber":"Progetta la tua fibra", +"Play":"Gioca", +"Play in the browser anyway":"Gioca comunque nel browser", +"Play it as an app":"Giocalo come un’app", +"Please configure sessions with us at {ix}. We will do ours next week, or the week after.":"Per favore configurate le sessioni con noi a {ix}. Noi faremo le nostre la settimana prossima, o quella dopo.", +"Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).":"Più {n} amplificatore in linea ({price} l’uno, {mo}/mese per affitto dello shelter e corrente).", +"Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).":"Più {n} amplificatori in linea ({price} l’uno, {mo}/mese per affitto dello shelter e corrente).", +"Plus {pct} of your revenue until it is repaid.":"In più il {pct} dei tuoi ricavi finché non è rimborsato.", +"Pluto, which is not even a planet":"Plutone, che non è nemmeno un pianeta", +"Point of presence: your router in a data center. Everything starts at a POP.":"Point of presence: il tuo router in un data center. Tutto parte da un POP.", +"Policy: no remote peers. Be in the building or be in the transit bill.":"Policy: niente peer remoti. O sei nell’edificio, o sei nella bolletta del transit.", +"Polite, enormous, and sorry about the bill.":"Educato, enorme, e si scusa per la bolletta.", +"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.", +"Port":"Porta", +"Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.":"Porte su tutti e sei gli exchange DE-KICKS. Ti ringraziano per la continua partnership.", +"Ports at {p}% of the usual price.":"Porte al {p}% del prezzo normale.", +"Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served":"Porte su 20 exchange IX.brrr, una delle quali a Manaus, e 200 Gbps serviti", +"Ports on IX.brrr in São Paulo, Rio and Fortaleza.":"Porte su IX.brrr a São Paulo, Rio e Fortaleza.", +"Ports up to {port} are free.":"Le porte fino a {port} sono gratis.", +"Ports, caches and routers running hot":"Porte, cache e router sotto sforzo", +"Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa.":"Dal Portogallo a Lagos, con fermate a Dakar, Abidjan e Accra. Pensa solo all’Africa occidentale.", +"Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one.":"Dal Portogallo al Sud-Est degli USA via Bermuda. In portoghese vuol dire nuvola, e il proprietario è proprio un cloud.", +"Portugal’s incumbent. Purrs when you send it traffic.":"L’incumbent del Portogallo. Fa le fusa quando gli mandi traffico.", +"Post it wherever your peering friends hang out.":"Pubblicala dove si ritrovano i tuoi amici del peering.", +"Power":"Alimentazione", +"Power cuts are covered.":"I blackout sono coperti.", +"Power outage":"Blackout", +"Power outage at {dc} in {city}. The generator did not start.":"Interruzione di corrente a {dc} ({city}). Il generatore non è partito.", +"Powered by renewable rodents. Uptime depends on snack schedule.":"Alimentato da roditori rinnovabili. L’uptime dipende dall’orario degli snack.", +"Prefer":"Preferisci", +"Prefixes":"Prefissi", +"Premium crossing +60% · ~3% loss":"Attraversamento premium +60% · ~3% di perdita", +"Premium crossings are only sold in Hong Kong.":"Gli attraversamenti premium si vendono solo a Hong Kong.", +"Premium submarine terminals":"Terminali sottomarini avanzati", +"Prepaid mobile from Paraguay to Guatemala, with a logo that roars.":"Mobile prepagato dal Paraguay al Guatemala, con un logo che ruggisce.", +"Prepend Diet":"Dieta di prepend", +"Prepend-ageddon":"Prependgeddon", +"Price lock":"Blocco dei prezzi", +"Prices include {p} back for the old routers on eBuy.":"I prezzi includono {p} recuperati vendendo i vecchi router su eBuy.", +"Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.":"I prezzi li rivede il Global Commercial Council, che si riunisce alla prossima luna piena.", +"Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.":"5G privato e fibra per le aziende da Oostkamp. Il suo traffico arriva a improvvise raffiche industriali.", +"Private interconnects (PNI)":"Interconnessioni private (PNI)", +"Private network interconnect: a cable straight to one network in the same building. For big traffic.":"Private network interconnect: un cavo dritto verso una singola rete nello stesso edificio. Per grandi volumi di traffico.", +"Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.":"Probabilmente la capitale più pulita dell’Africa, con fibra in ogni quartiere e i sacchetti di plastica vietati alla frontiera.", +"Provedor (small regional ISP)":"Provedor (piccolo ISP regionale)", +"Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.":"Il ramo wholesale di Proxyminus. Presente in quasi tutti gli exchange della Terra, e molto belga al riguardo.", +"Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.":"Jacarande viola e lunghi blackout. Ogni POP qui ha bisogno di un generatore e di tanto gasolio.", +"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"Il grande operatore del Qatar. Solo peering a pagamento, e ti canta il listino prezzi.", +"Quick Pacific crossing with a stop for snacks.":"Traversata veloce del Pacifico con una sosta per gli snack.", +"Quotes go up with how big you look.":"Il preventivo cresce con quanto sembri grande.", +"RPKI invalid":"RPKI invalid", +"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"L’RTBH è gratis e immediato, ma scarta tutto ciò che va alla vittima: attacco e cliente insieme. Un blackhole IX tiene su il cliente ma solo circa metà dei membri lo rispetta. HackBack 3000™ di Skynot AI a volte lo ferma, e a volte travolge un innocente e ti becca una multa.", +"Racks in the nave, cooling in the crypt. Divine uptime.":"Rack nella navata, raffreddamento nella cripta. Uptime divino.", +"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.":"Alza la metrica di un link pieno così il traffico preferisce un altro percorso, potenzialo, oppure installa Auto-TE.", +"Raise the limit":"Alza il limite", +"Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.":"Ha alzato il limite max-prefix per {who} a {ix} a {n}. Sembravano simpatici.", +"Raised the max-prefix limit for {who} at {ix}. Correctly, this time.":"Ha alzato il limite max-prefix per {who} a {ix}. Correttamente, stavolta.", +"Rank":"Rango", +"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.", +"Rare":"Raro", +"Rate-limit the bursts":"Limita i burst", +"Reach":"Copertura", +"Reach 45% of the internet and serve 300 Gbps":"Raggiungi il 45% di internet e servi 300 Gbps", +"Reach 99% of the internet at all times. We looked up what a network is for.":"Raggiungi sempre il 99% di internet. Abbiamo cercato a cosa serve una rete.", +"Reach Tier 1 within three years.":"Raggiungi il Tier 1 entro tre anni.", +"Reach Tier 1 within two years.":"Raggiungi il Tier 1 entro due anni.", +"Reach Tier 2 with every single session over the route server.":"Raggiungi il Tier 2 con tutte le sessioni via route server.", +"Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.":"Raggiungi un IX con un circuito su fabric senza avere un POP lì. Funziona, e il route server ti dà comunque tutte le reti aperte, ma è sconsigliato: il rivenditore ti fa pagare la porta 1,5× e la vende in oversubscription all’80%, la latenza dipende dal fabric, un disservizio del fabric fa cadere tutte le sessioni, e molte reti selective rifiutano i membri remoti senza appello.", +"Reach customer level 13.":"Raggiungi il livello clienti 13.", +"Reach the whole internet":"Raggiungi tutta internet", +"Reach without transit":"Copertura senza transit", +"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.":"Raggiunge gratis le reti dell’ultimo aggiornamento che non hai altro modo di raggiungere. Collegati a loro prima che finisca.", +"Reaching your network: {g}":"Arriva alla tua rete: {g}", +"Read the full notes on GitHub":"Leggi le note complete su GitHub", +"Ready for a PNI in {city}":"Pronto per un PNI a {city}", +"Ready in about {n} days":"Pronta in circa {n} giorni", +"Ready in {n} days":"Pronto tra {n} giorni", +"Ready-made scripts":"Script pronti", +"Really cancel?":"Annullare davvero?", +"Really close it?":"Chiuderlo davvero?", +"Really decommission?":"Dismettere davvero?", +"Really drop?":"Mollarlo davvero?", +"Really give it up?":"Rinunciare davvero?", +"Really leave?":"Uscire davvero?", +"Really pay {price}?":"Pagare davvero {price}?", +"Really remove?":"Rimuovere davvero?", +"Really shut it down?":"Spegnerlo davvero?", +"Red Sea Crisis":"Crisi nel Mar Rosso", +"Redundancy":"Ridondanza", +"Refuses Cogentle transit anywhere on your network (long story)":"Rifiuta il transit Cogentle ovunque sulla tua rete (lunga storia)", +"Regen sites":"Siti di rigenerazione", +"Region frozen while they renegotiate with the local incumbent.":"Regione congelata mentre rinegoziano con l’incumbent locale.", +"Regional broadband levy":"Contributo per la banda larga regionale", +"Regional player":"Operatore regionale", +"Regional quirks":"Stranezze regionali", +"Registered":"Iscritto", +"Registration closed":"Iscrizioni chiuse", +"Regular crossing":"Attraversamento normale", +"Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.":"Le autorità hanno ordinato a tutte le reti di {city} di spegnersi per un giorno durante gli esami di stato. Sì, succede davvero.", +"Release notes":"Note di rilascio", +"Release to plan a link":"Rilascia per pianificare un link", +"Reload now":"Ricarica ora", +"Remote peering":"Remote peering", +"Remote peering at the IX":"Remote peering all’IX", +"Remote peering at {ix} · discouraged":"Remote peering a {ix} · sconsigliato", +"Remote peering leg into {ix}.":"Tratta di remote peering verso {ix}.", +"Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.":"Porta remota tramite un rivenditore: prezzo 1,5×, 80% utilizzabile, e {n} membro qui rifiuta i peer remoti.", +"Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.":"Porta remota tramite un rivenditore: prezzo 1,5×, 80% utilizzabile, e {n} membri qui rifiutano i peer remoti.", +"Remove":"Rimuovi", +"Remove one":"Rimuovine uno", +"Remove port":"Rimuovi porta", +"Remove script":"Rimuovi script", +"Renew the ROA":"Rinnova la ROA", +"Rent a generator":"Noleggia un generatore", +"Repay early {price} incl. 2% fee":"Estingui in anticipo {price} incl. 2% di commissione", +"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Sostituiscine 16 Tbps e il cavo si ripaga in circa {n} mesi.", +"Replied to a peering request with a haiku about BGP. No answer yet.":"Ha risposto a una richiesta di peering con un haiku sul BGP. Nessuna risposta per ora.", +"Request":"Richiedi", +"Request all {n} willing peers":"Richiedi tutti i {n} peer disponibili", +"Rerouted via Hong Kong":"Instradato via Hong Kong", +"Reset to example":"Ripristina l’esempio", +"Responsive":"Reattivo", +"Resume":"Riprendi", +"Retention offer":"Offerta di fidelizzazione", +"Revenue":"Ricavi", +"Reward {cash}":"Premio {cash}", +"Reward: +{amt}":"Premio: +{amt}", +"Ride out load shedding on your own generator.":"Supera i distacchi programmati con il tuo generatore.", +"Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.":"Proprio in mezzo tra Londra, Amsterdam, Parigi e Francoforte, e chissà come più cara di tutte e quattro. Due reti si spartiscono ogni salotto belga, e nessuno cambia se non fai pubblicità.", +"Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.":"Per ora {city} è un solo edificio. Un blackout, un guasto all’aria condizionata o un addetto alle pulizie con l’aspirapolvere spengono tutta la città, e un secondo router non aiuta. Un secondo data center dall’altra parte della città, unito dal tuo anello metropolitano, tiene su metà del POP.", +"Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.":"Proprio sull’equatore, alla foce del Rio delle Amazzoni. Nessuna strada la collega al resto del Brasile, e la sua rete elettrica ha avuto settimane nere molto lunghe.", +"Right-of-way upkeep":"Manutenzione servitù di passaggio", +"Ring of Fire":"Anello di fuoco", +"Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.":"Rio da zero. Il Carnaval comincia tra 90 giorni e vuole 400 Gbps per cinque giorni di fila. Il mondo intero sta guardando.", +"Road to Tier 1":"Verso il Tier 1", +"Road widening near {a} cut your fiber to {b}. It is always road widening.":"L’allargamento di una strada vicino a {a} ha tagliato la tua fibra verso {b}. È sempre un allargamento stradale.", +"Road works cut {a}–{b}. Nobody called before digging.":"Dei lavori stradali hanno tagliato {a}–{b}. Nessuno ha chiamato prima di scavare.", +"Roll back the config":"Rollback della config", +"Rolling upgrade: one router at a time, no downtime.":"Upgrade a rotazione: un router alla volta, zero downtime.", +"Route":"Percorso", +"Route leak":"Route leak", +"Route:":"Percorso:", +"Router added":"Router aggiunto", +"Router crash":"Crash del router", +"Router load":"Carico dei router", +"Router maxed out":"Router al limite", +"Router ports":"Porte router", +"Routers":"Router", +"Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.":"Router, ottiche e nuove costruzioni ai prezzi di oggi per un anno, carenze comprese. I dazi sono del governo, non del tuo fornitore.", +"Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.":"Router, ottiche e nuove costruzioni rincarano con gli anni, circa il 4% all’anno dopo i primi sei mesi, e ogni tanto una carenza ne fa rincarare uno parecchio per un mese o due. Quello che possiedi già mantiene il suo prezzo. Le scorte sullo scaffale e un blocco annuale dei prezzi dalla scheda NOC attutiscono il colpo.", +"Routing metric":"Metrica di routing", +"Rules":"Regole", +"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.", +"Rules:":"Regole:", +"Run":"Esegui", +"Run a licensed POP in mainland China.":"Gestisci un POP con licenza nella Cina continentale.", +"Run a link round Cape Horn.":"Fai passare un link attorno a Capo Horn.", +"Run a sacrificial PNI choke point.":"Gestisci una PNI sacrificale come punto di strozzatura.", +"Run a slow-booting PacketOinker chassis.":"Usa uno chassis PacketOinker dal boot lentissimo.", +"Run ad campaign $8k · 2× growth 30d":"Lancia una campagna $8k · crescita 2× per 30g", +"Run by hackers on caffeine. The route server has a disco ball.":"Gestito da hacker a base di caffeina. Il route server ha una palla da discoteca.", +"Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).":"Offri banda larga domestica in una zona poco servita (Asia, Africa, Oceania o Sud America).", +"Run two routers in one POP.":"Fai girare due router in un POP.", +"Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.":"Gestire un exchange nella Cina continentale richiede tutt’altra licenza. Fai peering con le reti cinesi tramite PNI, oppure incontrale a Hong Kong.", +"Runs at {g} per channel on this route (long-haul mode).":"Su questa tratta va a {g} per canale (modalità long-haul).", +"Runs on its own route. A cut here leaves the other links up.":"Segue un percorso tutto suo. Un taglio qui lascia in piedi gli altri link.", +"Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.":"Gestisce la posta, i telefoni e internet in Nuova Caledonia e nella Polinesia Francese. I pacchetti arrivano affrancati, con un croissant.", +"Runs the village network between call-outs.":"Gestisce la rete del paese tra un intervento e l’altro.", +"Rural broadband for the islands, one olive tree at a time.":"Banda larga rurale per le isole, un ulivo alla volta.", +"Rural fiber that follows the tractor routes.":"Fibra rurale che segue i percorsi dei trattori.", +"Rush repair":"Riparazione urgente", +"Russia":"Russia", +"SD-WAN for a chain":"SD-WAN per una catena", +"SD-WAN for {name}":"SD-WAN per {name}", +"SYN flood":"flood SYN", +"Sacrificial Lamb":"Agnello sacrificale", +"Sacrificial choke ✓":"Strozzatura sacrificale ✓", +"Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.":"Safari può cancellare i dati dei siti che non apri da una settimana. Un’app sulla schermata Home tiene i suoi.", +"Samba Peering":"Peering a ritmo di samba", +"Same Street":"Stessa strada", +"Same trench cheaper · one backhoe cuts all":"Stesso scavo più economico · una ruspa li taglia tutti", +"Samoa to Tahiti by way of the Cook Islands. Steeped slowly.":"Da Samoa a Tahiti passando per le Isole Cook. In infusione lenta.", +"Samoa’s broadband, promised with a slice of something sweet.":"La banda larga di Samoa, promessa con una fetta di qualcosa di dolce.", +"Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.":"La capitale di Samoa, con cavi per le Figi, le Samoa Americane e Tahiti. La domenica è per la chiesa, quindi le finestre di manutenzione sono il sabato.", +"Sandbox":"Sandbox", +"Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.":"La Sandbox ti dà un miliardo di dollari, tutto sbloccato e nessun guasto, ma niente badge. Gli Scenari sono sfide costruite a mano con un obiettivo e una scadenza, e la sfida settimanale dà a tutti lo stesso mondo per una settimana. Condividi il tuo risultato con la card nel menu.", +"Saturn":"Saturno", +"Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.":"L’hub dei cavi sul Mar Rosso dell’Arabia Saudita. Sempre più cavi tra Europa, Africa e Asia fanno tappa qui invece che in Egitto.", +"Saved on this device.":"Salvate su questo dispositivo.", +"Saves {price}/mo, pays for itself in about {n} months.":"Risparmi {price}/mese, si ripaga in circa {n} mesi.", +"Saw your session come in over a fabric and said \"we can smell the VXC from here\".":"Hanno visto arrivare la tua sessione da un fabric e hanno detto “sentiamo puzza di VXC da qui”.", +"Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.":"Dice “oi” a ogni casa del Brasile. La fibra è ottima, il bilancio si sta ancora riprendendo.", +"Scenario":"Scenario", +"Scenario Grandmaster":"Gran maestro degli scenari", +"Scenario Solver":"Risolutore di scenari", +"Scenario Specialist":"Specialista di scenari", +"Scenario complete":"Scenario completato", +"Scenario over":"Scenario finito", +"Scenarios":"Scenari", +"Scenarios & weekly challenge":"Scenari e sfida settimanale", +"Scenarios & weekly challenge →":"Scenari e sfida settimanale →", +"Scenic (quietest links)":"Panoramico (link più tranquilli)", +"Scotland to Iceland via Shetland and the Faroes. More sheep than packets.":"Dalla Scozia all’Islanda passando per le Shetland e le Fær Øer. Più pecore che pacchetti.", +"Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.":"La capitale della Scozia. I cavi del Mare del Nord verso la Norvegia e le Fær Øer approdano lungo la costa.", +"Script Kiddie":"Script Kiddie", +"Script removed. Plain Auto-TE is back in charge.":"Script rimosso. Torna al comando l’Auto-TE semplice.", +"Scrubbing centers":"Centri di scrubbing", +"Search, maps and a cheerful goodbye.":"Ricerca, mappe e un allegro arrivederci.", +"Search, taxis and maps. Slightly sleepy.":"Ricerca, taxi e mappe. Un po’ assonnato.", +"Search, video and goggles. Mostly goggles.":"Ricerca, video e occhialini. Soprattutto occhialini.", +"Second site and metro ring":"Secondo sito e anello metropolitano", +"Security team asks: “are we on PHP?” Everyone: “define we”":"Il team security chiede: “siamo su PHP?” Tutti: “definisci siamo”", +"See who":"Vedi chi", +"Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.":"Alle reti selective in {region} basta metà del solito traffico per fare peering. È il momento di chiedere quel PNI.", +"Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.":"Vendi internet alle case di qui. Parte da circa {start} e cresce verso {max} finché il servizio è buono. Rende {rate} per Gbps servito, ogni mese.", +"Sell one {price}":"Vendine uno {price}", +"Selling spare capacity":"Vendere la capacità libera", +"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.", +"Send us your monthly report by fax.":"Mandaci il report mensile via fax.", +"Sender Pays":"Sender Pays", +"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays: solo PNI a pagamento, {fee}/mese più {g} per ogni Gbps che invii", +"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Seoul. Gli eyeball più veloci e affamati della Terra, transit a quattro volte il prezzo, e tre incumbent che ti fatturano ogni gigabit che gli mandi.", +"Sep":"set", +"Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:":"Series of Tubes è fatto per la schermata Home. Ci vogliono dieci secondi, non costa nulla, e lì è un gioco molto migliore:", +"Series of Tubes {v} is out!":"È uscito Series of Tubes {v}!", +"Series of Tubes: build the internet, one tube at a time":"Series of Tubes: costruisci internet, un tubo alla volta", +"Serious backbone":"Backbone serio", +"Serve 1 Pbps: a thousand terabits of happy traffic.":"Servi 1 Pbps: mille terabit di traffico felice.", +"Serve 1 Tbps":"Servi 1 Tbps", +"Serve 10 Tbps":"Servi 10 Tbps", +"Serve 100 Tbps.":"Servi 100 Tbps.", +"Serve 99.5% of demand every single day for a whole year.":"Servi il 99,5% della domanda ogni singolo giorno per un anno intero.", +"Serve as much traffic as you can in one year.":"Servi più traffico che puoi in un anno.", +"Served in {city}":"Servito a {city}", +"Servers cooled by the lake, then used to heat the sauna.":"Server raffreddati dal lago, poi usati per scaldare la sauna.", +"Set MTU 9216 everywhere":"Imposta MTU 9216 ovunque", +"Set up a PNI":"Attiva un PNI", +"Set up a PNI while the conference glow lasts.":"Attiva un PNI finché dura l’euforia della conferenza.", +"Settings":"Impostazioni", +"Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.":"Peering settlement-free con radici frisone. Le porte 10G e 100G non costano nulla. Porta un ASN e la passione per i route server. La maionese si paga a parte.", +"Share":"Condividi", +"Share my network":"Condividi la mia rete", +"Share my result":"Condividi il risultato", +"Share your network image card":"Condividi la tua rete come immagine", +"Shares a trench with {n} other link. One cut takes them all down.":"Condivide lo scavo con {n} altro link. Un taglio li butta giù tutti.", +"Shares a trench with {n} other links. One cut takes them all down.":"Condivide lo scavo con altri {n} link. Un taglio li butta giù tutti.", +"Share…":"Condividi…", +"Shark Bait":"Esca per squali", +"Shark Week":"Settimana dello squalo", +"Shark bites":"Morsi di squalo", +"Shark season: subsea cuts twice as likely":"Stagione degli squali: tagli sottomarini due volte più probabili", +"Sharp, edgy, and finally speaks 400G and 400ZR+.":"Affilato, spigoloso, e finalmente parla 400G e 400ZR+.", +"Shields Up":"Scudi alzati", +"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protegge mezzo web dalle orde di bot. Il Rackstar Partner Program (RPP) ti mette una cache nel rack quando gli mandi abbastanza traffico.", +"Ships parcels and packets, both overnight.":"Spedisce pacchi e pacchetti, entrambi in 24 ore.", +"Shopping festivals that melt traffic graphs.":"Festival dello shopping che fanno sciogliere i grafici del traffico.", +"Short hop across the North Sea. An odyssey it is not.":"Breve salto attraverso il Mare del Nord. Un’odissea non è.", +"Short hops under the Baltic Sea. Every passing ship seems to find it.":"Brevi salti sotto il Mar Baltico. Ogni nave di passaggio sembra trovarlo.", +"Short videos, very long traffic graphs.":"Video brevi, grafici del traffico lunghissimi.", +"Shortage":"Carenza", +"Show":"Mostra", +"Show all {n}":"Mostra tutte e {n}", +"Show fewer":"Mostra meno", +"Show me":"Fammi vedere", +"Shut down":"Spegni", +"Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.":"Chiudi questo POP: link, porte e cache spariscono con lui, e ogni cliente che ne dipende viene lasciato andare, con una penale di recesso anticipato.", +"Sign {price}/mo":"Firma {price}/mese", +"Sign a business customer":"Firma un cliente business", +"Sign a giant":"Firma un gigante", +"Sign the IRU":"Firma l’IRU", +"Signed you up for a webinar on “Peering in the Age of AI”.":"Ti ha iscritto a un webinar su “Il peering nell’era dell’IA”.", +"Signed!":"Firmato!", +"Singapore to Sydney via Perth, on the days it is up.":"Da Singapore a Sydney passando per Perth, nei giorni in cui funziona.", +"Sings your packets across Asia-Pacific.":"Canta i tuoi pacchetti attraverso l’Asia-Pacifico.", +"Site outage":"Sito fuori servizio", +"Site:":"Sito:", +"Six Continents":"Sei continenti", +"Six-continent carrier":"Carrier dei sei continenti", +"Sixth in a long-running series. Europe to India to Singapore.":"Sesto di una lunga saga. Europa, India, Singapore.", +"Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.":"Sessantaquattro porte 1.6T con software open source al prezzo di una sola line card. Alle 3 di notte non c'è ancora nessuno da chiamare, ma adesso i crash sono crash da 1.6T.", +"Skip tutorial":"Salta il tutorial", +"Skynot AI flattened a grandma's internet-connected fridge.":"Skynot AI ha steso il frigo connesso di una nonna.", +"Skynot Smiles":"Skynot sorride", +"Slop it with AI":"Fallo sloppare all’IA", +"Slow cities":"Città lente", +"Slow on the hills, fast on the flat.":"Lento in salita, veloce in pianura.", +"Small, fast and always leaping to the next deal. Ribbit.":"Piccolo, veloce e sempre pronto a saltare sull’offerta successiva. Cra cra.", +"Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.":"Piccola, ricca e collegatissima, finché i vicini si rivolgono la parola. Il suo unico confine terrestre è con l’Arabia Saudita.", +"Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.":"La neve ha chiuso il passo di montagna, e con lui la squadra di riparazione: {a}–{b} è giù.", +"Social media. Everyone keeps falling for it.":"Social media. Tutti continuano a cascarci.", +"Social network with perfect vision.":"Social network dalla vista perfetta.", +"Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.":"Alcuni clienti arrivano con delle condizioni: niente Cogentle da nessuna parte, niente cavi sottomarini per colpa degli squali, due router, un generatore, NetChill on-net, accesso alla Cina con poche perdite e altro. Ognuna paga un bonus. Quelle non rispettate li rendono scontrosi finché non rimedi o se ne vanno.", +"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Una delle bande larghe domestiche più veloci del pianeta, e il mercato del peering più strano. Con il “sender pays”, i tre grandi ISP fanno pagare ogni gigabit che gli consegni, e qui il transit è tra i più cari al mondo.", +"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Alcuni router ci mettono una vita ad avviarsi. La scheda Infra mostra quanto ci mette il tuo. I router lenti al boot allungano i crash e trasformano la sostituzione di un router singolo in un disservizio di tre giorni. Gli chassis più grandi, soprattutto quelli con dentro un PacketOinker™, sono lenti più spesso. Con due router diventa un problema di qualcun altro.", +"Somebody else’s gas main was exactly where the map said it was not.":"La condotta del gas di qualcun altro era esattamente dove la mappa diceva che non c’era.", +"Someone committed a config in {city} with “commit confirmed 1” and went to lunch.":"Qualcuno ha fatto commit di una config a {city} con “commit confirmed 1” ed è andato a pranzo.", +"Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.":"Qualcuno ha cancellato il record DNS del wiki interno. Il runbook per sistemare il DNS stava sul wiki.", +"Someone deployed to {city} on a Friday at 16:59.":"Qualcuno ha fatto un deploy a {city} di venerdì alle 16:59.", +"Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.":"Qualcuno ha filtrato tutto l’ICMP sul tuo edge “per sicurezza”. Il Path MTU Discovery si è rotto e le connessioni verso {net} si bloccano subito dopo l’handshake.", +"Someone from Goggle bought you a beer. You did not get their name, only a sticker.":"Qualcuno di Goggle ti ha offerto una birra. Non hai capito il nome, solo un adesivo.", +"Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.":"Qualcuno a {dc} ha etichettato ogni bretella “NON STACCARE”. Qualcun altro ne ha staccata una comunque: il tuo link {a}–{b}.", +"Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.":"Qualcuno ha chiamato una VLAN “prodcution”. Ora è portante e non potrà mai più essere rinominata.", +"Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.":"Qualcuno ha collegato un loop al fabric di {ix}. Broadcast storm! Tutto il peering lì è giù.", +"Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.":"Qualcuno ha staccato il cross-connect sbagliato nella meet-me room di {city}, e {siteB} è isolato da {siteA}.", +"Someone ran “reload” on the {city} router, thinking it was their laptop terminal.":"Qualcuno ha lanciato “reload” sul router di {city}, convinto di essere nel terminale del suo portatile.", +"Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.":"Qualcuno ha impostato min-links su {lab} pari al numero di membri. Un membro ha flappato e tutto il bundle è andato giù.", +"Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.":"Qualcuno ha impostato il termostato del data center di {city} in Fahrenheit pensando fossero Celsius. I router cuociono a metà velocità.", +"Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.":"Qualcuno ha rubato il rame della messa a terra da una capanna degli amplificatori su {a}–{b}. Tutti i canali spenti.", +"Somewhere, on every continent, a backhoe is thinking about you.":"Da qualche parte, in ogni continente, una ruspa sta pensando a te.", +"Sound":"Suono", +"Source on GitHub":"Codice su GitHub", +"South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.":"La costa est del Sudafrica: surf, curry e la spiaggia dove approdano i cavi dell’Oceano Indiano.", +"South America":"Sud America", +"South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.":"Il mercato più grande del Sud America, e casa di IX.brrr: gestito da una nonprofit, prezzi pubblici, e ci sono praticamente tutti.", +"South Atlantic, cool and confident.":"Atlantico del Sud, fresco e sicuro di sé.", +"Southeast Asia to Japan, with snacks.":"Dal Sud-Est asiatico al Giappone, con snack.", +"Sovereign cloud region":"Region di cloud sovrano", +"Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.":"Region di cloud sovrano, e un PNI gratuito con Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 canali), router Disco 8K Ultra.", +"Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.":"Regole da internet sovrano: ogni POP vuole una scatola governativa nel rack, i video di Goggle sono rallentati e il firewall nazionale fa le esercitazioni.", +"Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.":"Ottiche e schede amplificatore di scorta sullo scaffale trasformano guasti hardware da più giorni in sostituzioni da un giorno.", +"Spares bought now are already paid for when the next shortage hits.":"Le scorte comprate adesso sono già pagate quando arriva la prossima carenza.", +"Spares kit on ✓":"Kit ricambi attivo ✓", +"Spares shelf":"Scaffale ricambi", +"Speed":"Velocità", +"Speedrun":"Speedrun", +"Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.":"Veloce di nome. Ha una fetta del cavo per Singapore e continua a comprarsi ISP più piccoli.", +"Spicy pricing, mild latency.":"Prezzi piccanti, latenza delicata.", +"Splice it tonight":"Giunzione stanotte", +"Spreadsheet IPAM":"IPAM su foglio di calcolo", +"Squirrels chewed through {a}–{b}. They regret nothing.":"Gli scoiattoli hanno rosicchiato {a}–{b}. Non si pentono di nulla.", +"Stage Six":"Fase sei", +"Stand up DDoS defences":"Alza le difese anti-DDoS", +"Standard":"Standard", +"Start a new network":"Crea una nuova rete", +"Start a new network?":"Vuoi creare una nuova rete?", +"Start building":"Inizia a costruire", +"Start construction":"Avvia i lavori", +"Start here":"Si parte da qui", +"Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.":"Parti da Panama City. Niente attraversa il Darién Gap via terra, e le Ande sono d’intralcio a tutto il resto.", +"Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.":"Parti da Stuttgart, dove nessuno vende transit. Raggiungi internet solo con peering, PNI, cache e la tua fibra. Niente transit, da nessuna parte, mai.", +"Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.":"Si parte da {city} · {mods} · un anno, punteggio = picco di traffico. Lo stesso mondo per tutti, questa settimana.", +"Start the challenge":"Inizia la sfida", +"Start the clock with 1× and watch traffic and money flow. You can pause any time.":"Fai partire il tempo con 1× e guarda scorrere traffico e soldi. Puoi mettere in pausa quando vuoi.", +"Start the scenario":"Inizia lo scenario", +"Start the weekly challenge?":"Vuoi iniziare la sfida settimanale?", +"Start with only $100k":"Parti con soli $100k", +"Start {name}?":"Vuoi iniziare {name}?", +"Started in Venice. Upgraded to land.":"Nato a Venezia. Poi è passato alla terraferma.", +"Started in somebody’s garage, like everything else round here.":"Nato nel garage di qualcuno, come tutto il resto da queste parti.", +"Startups, techno and a surprising number of data centers in old breweries.":"Startup, techno e un numero sorprendente di data center in vecchi birrifici.", +"Stats card for {name}":"Card con le statistiche di {name}", +"Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football.":"Da Stavanger ai Paesi Bassi passando per ogni piattaforma petrolifera del Mare del Nord. Gli operai delle piattaforme guardano un sacco di calcio in streaming.", +"Stay Tier 3. Number go up, rank stay down.":"Resta Tier 3. Il numero sale, il rango resta giù.", +"Stay out of mainland China. Compliance said so.":"Stai fuori dalla Cina continentale. L’ha detto la compliance.", +"Stay, take the discount":"Resta, prendi lo sconto", +"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.", +"Step {n} of {total}":"Passo {n} di {total}", +"Stepping Stones":"Di isola in isola", +"Still owed":"Ancora da restituire", +"Stock a spare {optic} {price}":"Metti da parte un {optic} di scorta {price}", +"Stockpiled bandwidth in 2020 and still has a few rolls left.":"Ha fatto scorta di banda nel 2020 e ha ancora qualche rotolo.", +"Stop blackholing":"Togli il buco nero", +"Stops the game when a failure costs you real traffic, not when it reroutes by itself.":"Ferma il gioco quando un guasto ti costa traffico vero, non quando si reinstrada da solo.", +"Storm season. The ship is sheltering in port, playing cards.":"Stagione delle tempeste. La nave è al riparo in porto, a giocare a carte.", +"Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses.":"Dritto attraverso l’Atlantico del Sud, da Fortaleza al Camerun. Niente fermate, niente isole, niente scuse.", +"Straight from São Paulo to New York, skipping the Miami hairpin.":"Dritto da São Paulo a New York, saltando il tornante di Miami.", +"Streaming startup":"Startup di streaming", +"Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.":"Fa streaming del 40% del traffico serale. Regala cache se gli mandi abbastanza eyeball.", +"Strong in Asia and Africa. Every circuit comes with a consolation prize.":"Forte in Asia e Africa. Ogni circuito arriva con un premio di consolazione.", +"Strong, sweet and cheaper than the incumbent.":"Forte, dolce e più economico dell’incumbent.", +"Submarine transmission":"Trasmissione sottomarina", +"Subsea":"Sottomarino", +"Subsea cable":"Cavo sottomarino", +"Subsea cables":"Cavi sottomarini", +"Subsea cables to Africa and Asia land here.":"Qui approdano i cavi sottomarini per l’Africa e l’Asia.", +"Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.":"Le wave sottomarine possono seguire solo sistemi di cavi ispirati a quelli reali, disegnati in trasparenza sulla mappa (tocca una città per evidenziarne i cavi). Quelli verde acqua sono nuovi ed economici, quelli viola cari, quelli tratteggiati vecchi e facili da tranciare. Tutte le tue wave su un cavo muoiono insieme quando viene tranciato. Tra continenti collegati via terra puoi spesso scegliere il percorso terrestre (2,5×, tante frontiere) o un cavo.", +"Suburban Mega-shed":"Megacapannone in Periferia", +"Supply chain":"Catena di fornitura", +"Surveying a sea route…":"Ricerca di una rotta marittima…", +"Survive 100 incidents without customer impact.":"Sopravvivi a 100 incidenti senza impatto sui clienti.", +"Survive a failure":"Sopravvivi a un guasto", +"Survived with no impact":"Superati senza danni", +"Swap {cost} + {mo}/mo":"Sostituisci {cost} + {mo}/mese", +"Swap the optic":"Sostituisci l’ottica", +"Swapped from your spares kit by tomorrow.":"Sostituito dal tuo kit di ricambi entro domani.", +"Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.":"Sostituzione dell’unico router di {city} con un {model}. Finestra di manutenzione: di nuovo su domani.", +"Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.":"Sostituzione dell’unico router di {city} con un {model}. Il nuovo {how}. Di nuovo su tra {n} giorni.", +"Sweet, fuzzy and surprisingly reliable.":"Dolce, vellutato e sorprendentemente affidabile.", +"Switch to CN-Too premium {x}× price · ~3% loss into China":"Passa a CN-Too premium prezzo {x}× · ~3% di perdita verso la Cina", +"Switch to always-on":"Passa a sempre attivo", +"Switch to on-demand cheaper":"Passa a on-demand più economico", +"Sydney to Auckland with plenty to spare.":"Da Sydney ad Auckland, con capacità d’avanzo.", +"Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem.":"Da Sydney a Honolulu, e non un metro più in là. Arrivare al continente è un problema tuo.", +"Sydney to Nouméa. Wishes it were a supercontinent.":"Da Sydney a Nouméa. Sogna di essere un supercontinente.", +"Sydney to Papua New Guinea and the Solomon Islands. Hums while it works.":"Da Sydney alla Papua Nuova Guinea e alle Isole Salomone. Canticchia mentre lavora.", +"Sydney to Tokyo by way of Guam, going round and round since 2001.":"Da Sydney a Tokyo passando per Guam, e gira e rigira dal 2001.", +"Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.":"Sydney, 2013. Il Toilet Paper Group ha portato la sua fibra nelle cantine dei condomini, e la rete nazionale ha gridato al cherry-picking. Tocca a te: salta la Nearly Broadband Network, paga il contributo e arriva per primo.", +"Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white.":"Sydney, Melbourne, Adelaide e Perth via mare, così i tuoi pacchetti non devono mai attraversare il Nullarbor. Un’altra creatura del tizio che fonda un’azienda di fibra ogni volta che finisce un flat white.", +"São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.":"São Paulo. Il Brasile è un continente: quaranta exchange IX.brrr, migliaia di provedores e l’Amazzonia tra te e il nord.", +"Tahiti to Hawaii, trolling for bandwidth.":"Da Tahiti alle Hawaii, a pesca di banda.", +"Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.":"Tahiti, nella Polinesia Francese. Un cavo corre a nord verso le Hawaii, e quello nuovo dal Cile all’Australia fa tappa qui: il trampolino tra il Sud America e l’Oceania.", +"Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.":"L’incumbent di Taiwan. Resta calmo mentre le navi trascinano le ancore sui suoi cavi.", +"Take a DE-KICKS retention offer.":"Accetta un’offerta di fidelizzazione DE-KICKS.", +"Take out a loan.":"Chiedi un prestito.", +"Take the money":"Prendi i soldi", +"Takes forever to set up, but very filling.":"Ci vuole una vita a configurarlo, ma sazia parecchio.", +"Taking {pct} of your revenue every month.":"Si prende il {pct} dei tuoi ricavi ogni mese.", +"Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.":"Tallinn. Le navi trascinano le ancore sui cavi del Baltico tre volte più spesso del solito.", +"Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.":"La figlia belga di Tangerine: mobile, cavo e un bel po’ di dark fiber lungo le autostrade della Vallonia. Frizzante.", +"Tango, steak and a currency that changes value while you read this.":"Tango, bistecca e una valuta che cambia valore mentre leggi.", +"Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.":"La città più grande della Tanzania e la porta sul mare per una mezza dozzina di paesi senza costa.", +"Tap Add to Home Screen. You may need to scroll down, or tap More first.":"Tocca Aggiungi alla schermata Home. Potrebbe servire scorrere in basso, o toccare prima Altro.", +"Tap Install app or Add to Home screen.":"Tocca Installa app o Aggiungi a schermata Home.", +"Tap Share {icon} in the browser toolbar.":"Tocca Condividi {icon} nella barra del browser.", +"Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.":"Tocca un link per vedere quali reti, quali punti d’ingresso e quali città dei clienti lo riempiono. Alza la metrica di un link per deviarci intorno il traffico, o imposta un’uscita (transit, IX, PNI) su Preferisci o Solo backup.", +"Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.":"Tocca la tua cassa per aprire la banca. I finanziatori fanno offerte ogni tanto, e molto più spesso quando sei in rosso. Ogni prestito ha una rata mensile e qualche condizione strana; violane una e paghi una penale. Il tuo rating creditizio decide quali banche ti rivolgono la parola. Lo strozzino c’è sempre. Non fare tardi.", +"Tap your city, then Launch broadband":"Tocca la tua città, poi Lancia la banda larga", +"Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.":"Tocca 🔍 Traceroute su una delle tue città, o aprilo dalla scheda NOC, per vedere il percorso esatto verso una rete o un POP, hop per hop, con latenza, uscita e AS path.", +"Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.":"Il marchio low cost di Telstraya. Più economico, più allegro, e comunque non fa peering con te.", +"Ten terabits per second of happy traffic. The giants will notice.":"Dieci terabit al secondo di traffico felice. I giganti se ne accorgeranno.", +"Ten thousand GPUs and a podcast.":"Diecimila GPU e un podcast.", +"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.", +"Terabit floods held":"Ondate terabit respinte", +"Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.":"Le termiti si sono mangiate il cavidotto su {a}–{b}. Poi la fibra. Poi il cavidotto nuovo.", +"Terms apply. Several terms.":"Si applicano condizioni. Parecchie condizioni.", +"Terrestrial":"Terrestre", +"Terrestrial fiber":"Fibra terrestre", +"Thailand’s mobile giant. Its coverage maps are mostly true.":"Il gigante mobile della Thailandia. Le sue mappe di copertura sono per lo più vere.", +"That does not look like a Series of Tubes save.":"Non sembra un salvataggio di Series of Tubes.", +"That file is not valid JSON.":"Quel file non è un JSON valido.", +"That network went bankrupt. It cannot be brought back, only mourned.":"Quella rete è finita in bancarotta. Non si può resuscitare, solo piangere.", +"That save has a POP in a city this version does not know ({city}).":"Quel salvataggio ha un POP in una città che questa versione non conosce ({city}).", +"The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.":"L’aria condizionata di {dc} è morta nel giorno più caldo dell’anno. I tuoi router a {city} sono scesi a metà capacità.", +"The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.":"L'era degli agenti AI: gli eyeball vogliono il 25% in più, perché ora i bot navigano al posto delle persone e non dormono mai. Gear: otto coppie di fibre nei tuoi scavi via terra.", +"The Annex":"L’Annesso", +"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.", +"The Cheaper One":"Quello Che Costa Meno", +"The Cogentle Spat":"La lite Cogentle", +"The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.":"La Città Giardino e la città più grande dell’Isola del Sud, che qui chiamano «la Terraferma» senza ridere. Tutto ciò che va verso l’Isola del Nord attraversa lo Stretto di Cook.", +"The Internet":"Internet", +"The Kingdom’s incumbent. Once you are in, you stay in.":"L’incumbent del Regno. Una volta dentro, ci resti.", +"The Long Way Round":"Il giro lungo", +"The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.":"La telco delle Isole Marshall, due metri sopra il mare e fiera di ogni centimetro.", +"The Nearly Broadband Network keeps {pct} of it for the last mile.":"La Nearly Broadband Network se ne tiene il {pct} per l’ultimo miglio.", +"The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.":"Lo snodo del Nord, con il suo exchange e prese d’aria dei condizionatori molto umide. I cavi per l’Irlanda e la Danimarca arrivano sulla costa poco più su.", +"The Other Building":"L’Altro Edificio", +"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.":"La porta sul Pacifico. Le Ande stanno tra lei e tutto il resto, e ogni tanto la terra trema.", +"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"L’hub della Renania-Ruhr: più data center carrier-neutral di Amburgo o di Monaco, e a un’ora dal confine olandese, quindi la fibra fino ad Amsterdam è corta ed economica. Qui si ordina un’Altbier, mai una Kölsch.", +"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.":"Lo Stallone del Mare: da Blackpool alla Danimarca, al galoppo attorno al nord della Scozia.", +"The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.":"La capitale delle Isole Salomone, su Guadalcanal. Il cavo per Sydney è arrivato solo pochi anni fa; prima era tutto satellite. La corrente è meno affidabile del cavo.", +"The Solomon Islands’ incumbent. Yours sincerely, eventually.":"L’incumbent delle Isole Salomone. Distinti saluti, prima o poi.", +"The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.":"Il carrier hotel del Sud-Est. L’aeroporto più trafficato, il peering più trafficato a sud di Ashburn.", +"The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.":"Il certificato TLS della dashboard del NOC è scaduto. Nessuno vede più i grafici, quindi tecnicamente non ci sono problemi.", +"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"Il Tier 1 cresciuto in Sicilia. La sua dorsale Seabone domina il Mediterraneo e arriva in profondità nelle Americhe, e chiama ancora casa Palermo.", +"The UK’s incumbent. Buzzes politely, stings on price.":"L’incumbent britannico. Ronza educatamente, punge sul prezzo.", +"The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.":"L'era della realtà virtuale: gli eyeball vogliono il 20% in più. Un PNI gratuito con China Moble. Gear: router Knockia 7950 XRS, scrubbing da 100T.", +"The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.":"La Venezia del Brasile, tutta ponti e fiumi, con uno dei più grandi parchi tecnologici del paese nel suo vecchio porto.", +"The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.":"La banca ti ha pignorato i router e li ha rivenduti su eBuy. {name} è durata {days} giorni, con un picco di {peak}.", +"The big regional carrier. Sees everything clearly, especially your invoice.":"Il grande carrier regionale. Vede tutto con chiarezza, soprattutto la tua fattura.", +"The biggest network in China. Its CN-Too premium route skips the congested border, for a price.":"La rete più grande della Cina. Il suo percorso premium CN-Too evita il confine congestionato, a caro prezzo.", +"The botnet was already someone else’s botnet. They are furious.":"La botnet era già la botnet di qualcun altro. Sono furiosi.", +"The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.":"Il fondo del paese, su linee elettriche costruite per una fonderia di alluminio. Qualcuno sta costruendo un campus IA da 280 MW in un pascolo fuori città, quindi i cavi arriveranno. Probabilmente.", +"The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.":"In fondo alla mappa. Aria fresca, idroelettrico a buon mercato e tutto lo Stretto di Bass tra te e il continente.", +"The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.":"La capitale degli affari dell’Africa occidentale francofona, con torri di vetro su una laguna e cinque cavi nella baia.", +"The cable ship’s coffee machine broke. Nobody works without coffee.":"La macchina del caffè della nave posacavi si è rotta. Senza caffè non lavora nessuno.", +"The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party.":"Il cavo che ha portato online l’Africa orientale, da Durban su fino a Gibuti e poi a Mumbai. Lo racconta ancora a ogni festa.", +"The capacity is “available in the system”. Nobody can find it in the system.":"La capacità è “disponibile nel sistema”. Nessuno la trova nel sistema.", +"The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.":"La capitale dell’Acre, uno stato che secondo una battuta brasiliana non esiste. I tuoi traceroute dicono il contrario.", +"The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.":"La capitale delle Isole Marshall, un anello di corallo due metri sopra il mare. Un solo cavo per Guam, e ogni pacchetto lo sa.", +"The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.":"La capitale, che costruisce campus AI su scala gigawatt. I dati degli utenti sauditi devono restare nel Regno, e ogni POP richiede una licenza telecom locale.", +"The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.":"La capitale. Soldi sovrani per l’AI e data center enormi. Negli Emirati solo i due operatori con licenza possono posare fibra.", +"The carrier is out of spectrum here until its next line-system upgrade.":"Il carrier ha finito lo spettro qui fino al prossimo aggiornamento del sistema di linea.", +"The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.":"La sfidante di IX Straya. Spunta ai margini di ogni città, comprese quelle di cui non si cura nessun altro. Un gusto da acquisire, come la Vegemite.", +"The challenger to the DE-KICKS fabric, wrapped and ready to go.":"Lo sfidante del fabric DE-KICKS, avvolto e pronto da portar via.", +"The challenger. Fresh every morning, a bit crusty by the evening.":"Lo sfidante. Fresco ogni mattina, un po’ raffermo la sera.", +"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.":"Il pulsante del grafico in alto apre i grafici del traffico per uscita (cache, PNI, IX, transit), i soldi nel tempo, il traffico per ASN con come ti raggiunge e quanto costa in transit, più i tuoi link e router più carichi.", +"The cheapest money in town. There is a catch, and it has extra cheese.":"I soldi più economici in città. C’è una fregatura, con doppia mozzarella.", +"The cheapest plan in the country. Smells like a bargain.":"Il piano più economico del paese. Profuma di affare.", +"The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.":"La città dell’eterna primavera, con scale mobili all’aperto su per le colline e una vivace scena di startup.", +"The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.":"L’addetto alle pulizie di {dc} ha staccato il tuo router per attaccare l’aspirapolvere. Il pavimento è splendente.", +"The cleaner unplugged everything at {siteA}.":"L’addetto alle pulizie ha staccato tutto a {siteA}.", +"The cloud. It's just someone else's Ashburn.":"Il cloud. È solo l’Ashburn di qualcun altro.", +"The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.":"Il fornitore del raffreddamento a {city} ha sostituito i chiller con un ventilatore molto sicuro di sé. Metà capacità per due giorni.", +"The crashed one {what}.":"Quello crashato {what}.", +"The crew fished out somebody else’s cable by mistake and has to put it back.":"L’equipaggio ha ripescato per sbaglio il cavo di qualcun altro e deve rimetterlo giù.", +"The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.":"La capitale dei data center. Si dice che ci passi il 70% di internet, e nessuno ha controllato.", +"The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.":"Il profondo sud, a metà strada per Buenos Aires. Grigliata ogni domenica, e una zucca di mate bollente in ogni mano, anche d’estate.", +"The drilling crew hit a granite boulder the size of a bus.":"La squadra di trivellazione ha beccato un masso di granito grande come un autobus.", +"The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.":"La città più a est delle Americhe, dove il sole sorge per primo. Anche il tuo turno al NOC comincia presto.", +"The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.":"Gli emù hanno vinto di nuovo: uno stormo ha abbattuto i paletti di segnalazione su {a}–{b}, e una livellatrice ha scavato dritta attraverso la fibra.", +"The first cable from South America to Oceania. 14,000 km of very lonely glass.":"Il primo cavo dal Sud America all’Oceania. 14.000 km di vetro molto solitario.", +"The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.":"Il temporale delle quattro è arrivato su BrisVegas puntuale e si è portato via la rete elettrica dietro {dc}. Il tuo POP è al buio insieme alle slot machine.", +"The game stops so you can fix their service before they cancel. Most useful at high speed.":"Il gioco si ferma così puoi sistemare il servizio prima che disdicano. Utilissimo ad alta velocità.", +"The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.":"Il centro geografico del Sud America, e una delle città più calde del Brasile. I chiller non hanno mai un giorno libero.", +"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"Il centro geografico degli Stati Uniti. I data center stanno in vecchie miniere di calcare sottoterra: temperatura costante, niente tornado, e qualcuno continua a trovare le scarpe di Dorothy.", +"The giants":"I giganti", +"The glass":"Il vetro", +"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.":"Il gruppo dietro diversi grandi exchange (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) tratta i listini come un segreto di Stato. Le porte vengono quotate cliente per cliente e salgono quanto più sembri grande. Contrattare può funzionare, ritorcertisi contro o arenarsi per una settimana. Una volta l’anno i prezzi vengono “armonizzati” verso l’alto, in fattura spuntano servizi aggiuntivi finché non li disdici, e provare ad andartene ti frutta uno sconto fedeltà che finisce con una penale.", +"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"L'hallway track si è spostato in un bar sul porto, dove la signora dietro al bancone ha continuato a versare acquavite ben oltre mezzanotte senza chiedere a nessuno il suo AS path. Poi al bar dell'hotel qualcuno ha detto «solo un ultimo bicchiere». Le tue sessioni BGP sono rimaste su tutta la notte. Anche tu.", +"The harbour, the bridge and most of the country’s data centres. Rent is the real latency.":"Il porto, il ponte e quasi tutti i data center del paese. La vera latenza è l’affitto.", +"The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.":"La sede di governo più alta del mondo, a 3.600 m. I pendolari vanno in funivia, e anche un po’ della fibra.", +"The landing permit dispute in {city} blocks new subsea links for {n} more days.":"La disputa sui permessi di approdo a {city} blocca i nuovi link sottomarini per altri {n} giorni.", +"The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.":"Il padrone di casa a {a} ha rifatto il montante dell’edificio e ha schiacciato la tua dark fiber verso {b}.", +"The largest mobile network on Earth. Paid peering only.":"La rete mobile più grande della Terra. Solo peering a pagamento.", +"The laser in a {optic} on {a}–{b} died. One channel dark.":"Il laser di un {optic} su {a}–{b} è morto. Un canale spento.", +"The long tail":"La coda lunga", +"The long tail ({n} small networks)":"La coda lunga ({n} reti piccole)", +"The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.":"Lo storico exchange di Madrid. Interconnessione neutrale, sapore locale e un route server che non fa mai la siesta.", +"The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.":"Il modello decide la tua interfaccia più veloce e quanto può inoltrare questo POP. Più router aggiungono capacità e sopravvivono ai crash.", +"The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.":"Quello modulare. Novantasei porte 800G, buffer così profondi da perderci dentro una nave, e release notes solo su vinile. Arrr.", +"The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.":"Il monsone ha allagato un pozzetto su {a}–{b}. La fibra ora è sott’acqua, come il pozzetto.", +"The moon":"La luna", +"The most isolated big city on Earth. Asia is closer than Sydney.":"La grande città più isolata della Terra. L’Asia è più vicina di Sydney.", +"The national carrier. Every punchline is pre-approved.":"Il carrier nazionale. Ogni battuta è pre-approvata.", +"The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.":"Le reti che raggiungi pagando il transit, dalla più grande, e il modo più economico di spostare ognuna sul peering. È la tua lista delle cose da fare sulla strada verso il Tier 1.", +"The old gateway to Eastern Europe. Packets still bow politely on the way through.":"L’antica porta verso l’Europa dell’Est. I pacchetti fanno ancora un inchino educato quando passano.", +"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.":"Il fratellino del vecchio cavallo da tiro: da Los Angeles a Sydney con una diramazione per le Figi.", +"The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.":"Il più vecchio exchange di Johannesburg, gestito dall’associazione degli ISP locali. Tocca ferro prima di ogni finestra di manutenzione.", +"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.":"L’unica capitale del Nordest lontana dal mare. Famosa per il caldo, con temporali e fulmini che tengono occupati gli scaricatori di sovratensione.", +"The original CDN. Maybe it is already in your rack.":"La CDN originale. Forse è già nel tuo rack.", +"The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.":"L’altra metà del duopolio degli Emirati. Fa quello che fa Etis-a-lot, ma di un altro colore.", +"The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.":"L'altra metà del duopolio, su rame e fibra. Strettamente nazionale: il mondo la raggiunge tramite il suo ramo wholesale.", +"The peering coordinator for this city is on a six-month sabbatical.":"Il loro peering coordinator per questa città è in sabbatico per sei mesi.", +"The permit office lost your permit. And then the replacement.":"L’ufficio permessi ha perso il tuo permesso. E poi anche il duplicato.", +"The plus is a usage fee. Paid peering, per gigabit.":"Il plus è una tariffa d’uso. Peering a pagamento, a gigabit.", +"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"La porta delle praterie tra Vancouver e il resto del Canada. Un chinook scioglie la neve in un pomeriggio, poi nevica di nuovo.", +"The pretty way around East Asia.":"Il giro panoramico dell’Asia orientale.", +"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.":"La generazione precedente. Porta ancora quasi tutto il traffico di Pakistan, Sri Lanka e Bangladesh, tenuto insieme dalla speranza.", +"The railway changed its mind about the easement.":"Le ferrovie hanno cambiato idea sulla servitù di passaggio.", +"The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.":"La versione vera, di Thomas Kjær Aabo: una mappa interattiva e zoomabile di come viaggiano davvero i tuoi pacchetti, dal Wi-Fi alla fibra sottomarina, oggi, nel 2010 e nel 1995 (in inglese, danese e tedesco). Questo gioco se lo inventa strada facendo. Quello ci azzecca.", +"The real thing: follow a packet from Wi-Fi to undersea fiber.":"La versione vera: segui un pacchetto dal Wi-Fi alla fibra sottomarina.", +"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.", +"The same route server, in a gold-coloured portal.":"Lo stesso route server, in un portale color oro.", +"The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.":"I pappataci hanno cacciato la tua squadra di giuntisti da {a}–{b}. Torneranno quando si alza il vento.", +"The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"Il fondale al largo di Tonga è franato giù per un pendio e si è portato via il tuo cavo {a}–{b}. La nave di riparazione arriva dalla Papua Nuova Guinea.", +"The seabed survey found an old sea mine. A small, very careful detour.":"Il rilievo del fondale ha trovato una vecchia mina. Una piccola, attentissima deviazione.", +"The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.":"La fonderia di Tiwai Point ha tirato un po’ di più dalla rete, e il tuo POP a {city} ha ceduto per primo.", +"The straightest line across the Atlantic. Traders pay double to save a few milliseconds.":"La linea più dritta attraverso l’Atlantico. I trader pagano il doppio per risparmiare qualche millisecondo.", +"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.", +"The transponders for this route are on a container ship. The ship is somewhere near Singapore.":"I transponder per questa tratta sono su una nave portacontainer. La nave è da qualche parte vicino a Singapore.", +"The upgrade is planned for Q3. Which year, the email does not say.":"L’aggiornamento è previsto per il Q3. Di quale anno, l’email non lo dice.", +"Their CEO hates puns. Please do not mention the network names.":"Il loro CEO odia i giochi di parole. Per favore, non citare i nomi delle reti.", +"Their IX port here is full until the next upgrade. They promise it is soon.":"La loro porta sull’IX qui è piena fino al prossimo upgrade. Giurano che sarà presto.", +"Their PearingDB entry says \"Remote peering: No (we mean it)\".":"La loro scheda PearingDB dice “Remote peering: No (e lo diciamo sul serio)”.", "Their PeeringDB says {lim}, last updated {n} year ago.":"Il loro PeeringDB dice {lim}, aggiornato {n} anno fa.", "Their PeeringDB says {lim}, last updated {n} years ago.":"Il loro PeeringDB dice {lim}, aggiornato {n} anni fa.", -"Raise the limit":"Alza il limite", -"Keep it down":"Tienila giù", -"bumped":"sollecitata", -"Peering inbox":"Casella di peering", -"{n} unanswered":"{n} senza risposta", -"Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.":"Ogni porta IX porta posta. Rispondi alle richieste di peering e guarda le sessioni che superano il limite max-prefix: è crescita o un route leak? La posta senza risposta ti fa una reputazione, e le reti selettive lo vengono a sapere.", +"Their capacity planner is on holiday, and he took the spreadsheet with him.":"Il loro capacity planner è in ferie, e si è portato via il foglio di calcolo.", +"Their lawyers are reviewing every peering agreement in this country. Again.":"I loro avvocati stanno riesaminando ogni accordo di peering in questo paese. Di nuovo.", +"Their peering team says US East is “capacity constrained”, which is cloud for “no”.":"Il loro team di peering dice che US East è “capacity constrained”, che in linguaggio cloud vuol dire “no”.", +"Their policy here says \"IX peering by invitation only\". You were not invited.":"La loro policy qui dice “IX peering solo su invito”. Tu non sei stato invitato.", +"Their routers in this city are \"at capacity\". They are not.":"I loro router in questa città sono “al limite della capacità”. Non lo sono.", +"Their team quotes {m} months":"Il loro team parla di {m} mesi", +"Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.":"I loro utenti escono attraverso un transito lontano. Oltre i 50 ms di andata e ritorno, banda larga e servizi internet contano come servizio scadente.", +"There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.":"A {city} non c’è ancora un IX. Fondane uno: le reti si uniscono col tempo, ti pagano le porte e fanno peering con te gratis.", +"They checked your PearingDB page and liked the traffic numbers.":"Hanno controllato la tua pagina PearingDB e i numeri del traffico gli sono piaciuti.", +"They heard you might be in a spot of bother.":"Hanno sentito che potresti essere un po’ nei guai.", +"They need the full internet. Your reach is {pct}.":"Vogliono internet per intero. La tua copertura è del {pct}.", +"They now own {p} of your revenue.":"Ora possiedono il {p} dei tuoi ricavi.", +"They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.":"Ti hanno mandato un NDA di 14 pagine prima di poterti anche solo ripetere il prezzo. Gli avvocati stimano una settimana.", +"They will reconsider in {n} day.":"Ci ripenseranno tra {n} giorno.", +"They will reconsider in {n} days.":"Ci ripenseranno tra {n} giorni.", +"Thick, comforting and very New England.":"Denso, confortante e molto New England.", +"Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.":"I ladri hanno scavato il tuo cavo {a}–{b}, convinti che fosse rame. Era fibra. L’hanno lasciato tagliato nel fosso, profondamente delusi.", +"Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.":"Le cose si rompono di continuo. Costruisci un secondo percorso o un secondo upstream, così il traffico si reinstrada quando qualcosa muore.", +"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.":"Le cose si rompono di continuo: tagli di fibra, crash dei router, blackout, loop sugli IX, disservizi dei fabric, route leak, DDoS, dita grosse, guasti al raffreddamento, e poi la geopolitica: sanzioni, dazi, hijack BGP, dispute sui permessi di approdo, shutdown nei giorni d’esame e cavi tranciati nel Mar Rosso. Il traffico si reinstrada da solo su altri percorsi e upstream. Link paralleli su percorsi diversi, un secondo router e un generatore di backup aiutano tutti. Oppure paga per accelerare le riparazioni.", +"This POP is down":"Questo POP è down", +"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Questo canale raggiunge {max} km su questo cavo; il percorso è di {span} km. Valuta terminali sottomarini o ingegneria ottica.", +"This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.":"Questo chassis ci mette una vita a fare il boot: i crash durano di più, e sostituire l’unico router qui richiede 3 giorni. Un secondo router lo nasconde.", +"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"Il percorso di questo progetto è di {km} km: troppo lungo per qualsiasi ottica, anche con entrambi i miglioramenti. Un progetto più corto ce la fa.", +"This fiber is dark. Add optics below to carry traffic.":"Questa fibra è spenta. Aggiungi le ottiche qui sotto per trasportare traffico.", +"This is the only link between these cities. Add a parallel one, or a path through another city.":"È l’unico link tra queste città. Aggiungine uno parallelo, o un percorso che passi da un’altra città.", +"This replaces {name}. Export it first if you want to keep it.":"Sostituisce {name}. Esportala prima, se vuoi tenerla.", +"This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.":"Questa rotta attraversa un confine in Africa: 2× il prezzo. Ogni paese vuole i suoi permessi, il suo carrier e la sua fetta.", +"This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.":"Questa rotta attraversa le Ande: 2× il prezzo, e frane e neve la tagliano molto più spesso della fibra in pianura.", +"This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.":"Questo percorso attraversa il Nullarbor: prezzo {x}×. Mille chilometri di niente, e gli incumbent ne possiedono ogni metro.", +"This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.":"Questa rotta entra in Amazzonia: 2× il prezzo. La fibra corre lungo fiumi e strade nella giungla, e le riparazioni si fanno in barca.", +"This route is on land. Build your own fiber instead.":"Questo percorso è via terra. Costruisci la tua fibra invece.", +"Three servers, one dehumidifier and a very patient grandmother.":"Tre server, un deumidificatore e una nonna molto paziente.", +"Three-hour films, zero-second start times.":"Film di tre ore, avvio in zero secondi.", +"Through the Wall":"Oltre la Muraglia", +"Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.":"Organizza la festa di São João più grande del mondo: un mese intero di forró ogni giugno. Ed è anche una città universitaria piena di ingegneri.", +"Ticket of the week":"Ticket della settimana", +"Tidied up a session it decided was unused: de-peered {who} at {ix}.":"Ha fatto ordine tra le sessioni che riteneva inutili: ha tolto il peering con {who} a {ix}.", +"Tier 1":"Tier 1", +"Tier 1: only a PNI, and only once you are big enough for the Tier 1 club":"Tier 1: solo un PNI, e solo quando sarai abbastanza grande per il club dei Tier 1", +"Tier 1s never peer at IXs":"I Tier 1 non fanno mai peering agli IX", +"Tier 1s only take a PNI from a network with {list}.":"I Tier 1 accettano un PNI solo da una rete con {list}.", +"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.":"I Tier 1 raggiungono tutto internet senza pagare nessuno, perché fanno tutti peering tra loro. I Tier 2 fanno molto peering ma comprano ancora un po’ di transit.", +"Tier 2":"Tier 2", +"Time":"Tempo", +"Time's up":"Tempo scaduto", +"Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.":"Piccola, tropicale e la città australiana più vicina all’Asia. Qui approdano nuovi cavi per Singapore e Jakarta, accanto ai coccodrilli.", +"Tip: drag from your pink router to another city to lay fiber":"Suggerimento: trascina dal tuo router rosa a un’altra città per posare la fibra", +"To":"A", +"To {city}":"Verso {city}", +"Toaster Wrangler":"Domatore di tostapane", +"Today":"Oggi", +"Toggle sound":"Attiva/disattiva suono", +"Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.":"Tokyo ha più exchange di quanti chiunque riesca a nominarne. Questo l’ha fondato un colosso della banda larga ed è confezionato con cura, ogni membro nel suo scomparto.", +"Tomahack 5 merchant silicon":"silicio merchant Tomahack 5", +"Tomahack merchant silicon":"merchant silicon Tomahack", +"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga è appesa a un solo cavo dalle Figi. Nel 2022 un vulcano sottomarino l’ha tranciato e il paese è rimasto offline per settimane.", +"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"La telco di Tonga. È sopravvissuta a un vulcano che le ha tranciato l’unico cavo, e ora ci scherza su.", +"Too big to route":"Troppo grande per essere instradato", +"Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).":"Troppo lontano anche alla velocità più bassa: qui una tratta ottica è di {span} km e l’ottica arriva a {max} km. Aggiungi un sito di rigenerazione (Sistema di linea).", +"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"Ha portato in tribunale un gigante dello streaming per decidere chi paga il traffico richiesto dai suoi stessi clienti. Peering a pagamento, a gigabit.", +"Top destinations on this port":"Destinazioni principali su questa porta", +"Totals for all {n} links between these cities.":"Totali di tutti i {n} link tra queste città.", +"Traceroute":"Traceroute", +"Traffic":"Traffico", +"Traffic Whisperer":"L’uomo che sussurrava al traffico", +"Traffic by network (ASN)":"Traffico per rete (ASN)", +"Traffic by way out":"Traffico per via d’uscita", +"Traffic engineering":"Traffic engineering", +"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.":"Il traffico segue il percorso più corto per distanza e metrica dei link, e si reinstrada da solo quando i link si guastano. Quando un percorso è semplicemente pieno, l’eccesso viene scartato, proprio come in un vero IGP. Dal livello clienti 3 puoi installare Auto-TE nella scheda NOC: riversa l’eccesso su un massimo di due percorsi alternativi con capacità libera, purché non siano lunghi più del doppio.", +"Traffic now":"Traffico ora", +"Traffic rerouted, customers barely noticed.":"Traffico reinstradato, i clienti se ne sono accorti appena.", +"Traffic served":"Traffico", +"Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.":"Il traffico prende il percorso più breve, anche quando è pieno. Un controller di traffic engineering riversa l’eccesso sui percorsi migliori successivi che hanno spazio.", +"Transcontinental":"Transcontinentale", +"Transit":"Transit", +"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.":"Le bollette del transit campionano il tuo consumo ogni giorno e addebitano il 95° percentile degli ultimi 30 giorni: i picchi brevi vengono perdonati, quelli lunghi no.", +"Transit cost":"Costo transit", +"Transit costs 30% more":"Il transit costa il 30% in più", +"Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.":"Il transit si paga a gigabit. Il peering è gratis: apri la scheda Peering, compra una porta IX, poi entra nel route server.", +"Transit ports to cancel":"Porte transit da disdire", +"Transit sellers: {list}":"Venditori di transit: {list}", +"Transit {x}× pricier":"Transit {x}× più caro", +"Trench Landlord":"Padrone dello scavo", +"Tried a remote peer once. It flapped during a product launch. Never again.":"Hanno provato un peer remoto, una volta. Ha flappato durante il lancio di un prodotto. Mai più.", +"Truck a spare amp out":"Porta un amplificatore di ricambio sul posto", +"Try again":"Riprova", +"TubeCoin moved down {p}% on the way to your account.":"TubeCoin è sceso del {p}% mentre arrivava sul tuo conto.", +"TubeCoin moved up {p}% on the way to your account.":"TubeCoin è salito del {p}% mentre arrivava sul tuo conto.", +"Turn Auto-TE off":"Spegni Auto-TE", +"Turn Auto-TE on":"Accendi Auto-TE", +"Turn it off and on again":"Spegni e riaccendi", +"Turn it off and on again (it will take a while)":"Spegni e riaccendi (ci vorrà un po’)", +"Turn on a transit clean-pipe add-on.":"Attiva un add-on clean-pipe su un transit.", +"Twenty minutes from everything, except anywhere else.":"A venti minuti da tutto, tranne che da qualsiasi altro posto.", +"Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.":"Il doppio del WaveMagic. Piena velocità solo sulle tratte più corte, e una ventola che senti dal parcheggio.", +"Twice the failures":"Guasti raddoppiati", +"Twice the speed, shorter reach.":"Velocità doppia, portata più corta.", +"Twins":"Gemelli", +"Two Buildings, Three Cities":"Due edifici, tre città", +"Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.":"Due edifici uniti dal tuo anello metropolitano. Un blackout o un addetto alle pulizie in uno lascia l’altro attivo a metà capacità. Gli uplink funzionano solo finché il loro sito è su, a meno che tu non li divida: scegli Entrambi su una porta per mettere membri LAG in ciascun edificio.", +"Two data centers in every metro they touch":"Due data center in ogni area metropolitana che tocca", +"Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.":"Duecentocinquantasei porte 3.2T e abbastanza forwarding per una piccola galassia. Si avvia in 42 minuti. Nessuno ricorda più quale fosse la domanda.", +"Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.":"Due milioni di persone in mezzo alla foresta pluviale, con una zona franca piena di fabbriche. La fibra segue i fiumi, e quando si rompe la squadra di riparazione parte in barca.", +"Two paths that share no trench or fabric":"Due percorsi che non condividono né scavo né fabric", +"Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} \"as a reminder\".":"Due signori molto grossi di Loan Shark Telecom Finance hanno staccato il tuo router a {city} “come promemoria”.", +"Type":"Tipo", +"Typhoon Bandwidth":"Tifone Banda", +"Typhoon Jitter":"Tifone Jitter", +"Typhoon Latency":"Tifone Latenza", +"Typhoon Packet-Loss":"Tifone Packet-Loss", +"Typhoons, earthquakes and a lot of very online people.":"Tifoni, terremoti e tantissima gente sempre online.", +"US East is sold out until further notice. Further notice is also sold out.":"US East è esaurito fino a nuovo avviso. Anche il nuovo avviso è esaurito.", +"Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.":"La più grande rete mobile dell’Ucraina. Ha continuato a funzionare attraverso cose che la maggior parte delle reti non deve mai mettere in conto.", +"Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.":"Gli ingegneri di rete ucraini hanno tenuto in piedi internet tra blackout e cose molto peggiori. Generatori, fibra di scorta e ridondanza su tutto qui sono la norma, e la scena del peering è notoriamente tosta.", +"Unbreakable":"Indistruttibile", +"Under attack now":"Sotto attacco ora", +"Under construction":"In costruzione", +"Underserved: users grow 60% faster":"Poco servita: gli utenti crescono il 60% più in fretta", +"Unhappy":"Scontenti", +"Unhappy ({n})":"Scontenti ({n})", +"Unicorn":"Unicorno", +"Universities, biotech and a carrier hotel that has outlived most of its carriers.":"Università, biotech e un carrier hotel che è sopravvissuto alla maggior parte dei suoi carrier.", +"University network":"Rete universitaria", +"Unlocks at customer level 3":"Si sblocca al livello cliente 3", +"Unlocks at customer level {n}.":"Si sblocca al livello cliente {n}.", +"Unnamed network":"Rete senza nome", +"Unplugged optics go on the spares shelf and are used first next time.":"Le ottiche scollegate vanno sullo scaffale dei ricambi e la volta dopo si usano per prime.", +"Unsubscribed":"Disiscritto", +"Up the west coast of Africa. Something on it is always down.":"Risale la costa ovest dell’Africa. C’è sempre qualcosa giù.", +"Up to {g} per channel":"Fino a {g} per canale", +"Up to {pn} interfaces · {ports} ports and {cap} per router":"Interfacce fino a {pn} · {ports} porte e {cap} per router", +"Updated your PeeringDB record. Your NOC phone number is now a pizza place.":"Ha aggiornato il tuo record su PeeringDB. Il numero del tuo NOC ora è una pizzeria.", +"Updates. So many updates.":"Aggiornamenti. Tantissimi aggiornamenti.", +"Upgrade all to {port} {cost} + {mo}/mo":"Porta tutte a {port} {cost} + {mo}/mese", +"Upgrade fabric to {name} {cost} + {mo}/mo":"Passa al fabric {name} {cost} + {mo}/mese", +"Upgrade the IX port or add a LAG member.":"Fai l’upgrade della porta IX o aggiungi un membro al LAG.", +"Upgrade the router or add a second one in the Infra tab.":"Fai l’upgrade del router o aggiungine un secondo nella scheda Infra.", +"Upgrade to {model} {cost} + {mo}/mo":"Passa a {model} {cost} + {mo}/mese", +"Upgrade to {sys} {price}":"Passa a {sys} {price}", +"Upgrade to {tier} {cost}":"Aggiorna a {tier} {cost}", +"Upgrade {port} {cost} + {mo}/mo":"Passa a {port} {cost} + {mo}/mese", +"Upgrade {port} {price}/mo":"Passa a {port} {price}/mese", +"Upgrade {port} {price}":"Passa a {port} {price}", +"Upstream outage":"Disservizio upstream", +"Upstreams":"Upstream", +"Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.":"Uruguay: fibra in quasi ogni casa, un portatile per ogni scolaro, e una telco di stato che gestisce quasi tutto.", +"Uruguay’s state telco. Fast, everywhere, and a little proud of it.":"La telco di stato dell’Uruguay. Veloce, ovunque, e un po’ orgogliosa.", +"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.", +"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.":"Gli utenti sentono l’andata e ritorno fino al punto in cui il loro traffico lascia la tua rete per il transito. Fino a 20 ms (circa 1.500 km) va bene; oltre i 50 ms banda larga e servizi internet contano come servizio scadente, e costa ricavi e clienti. Il traffico sul tuo peering, sulle PNI e sulle cache non viene penalizzato.", +"Utah’s dipping-sauce of an ISP.":"La salsina da intingere degli ISP dello Utah.", +"Vacuum incident":"Incidente con l’aspirapolvere", +"Vendor TAC":"TAC del vendor", +"Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.":"Il supporto del vendor ti ha chiesto di “provare a spegnere e riaccendere”. Il router che avevi già riavviato. Ticket chiuso.", +"Venus":"Venere", +"Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.":"Sempre online e servita male dal mare: in qualsiasi momento almeno uno dei suoi cavi sottomarini è rotto.", +"Very solid. Mostly.":"Solidissima. Più o meno.", +"Vietnam’s giant. Will tell you which subsea cable is broken this week.":"Il gigante del Vietnam. Ti dirà quale cavo sottomarino è rotto questa settimana.", +"Viewport info":"Info viewport", +"Vigilante":"Giustiziere", +"Virtual circuit over an NNI fabric":"Circuito virtuale su un fabric NNI", +"Virtual circuit · {name} · {km} km":"Circuito virtuale · {name} · {km} km", +"Voice chat for millions of gamers who all talk at once.":"Chat vocale per milioni di gamer che parlano tutti insieme.", +"Volunteers with rooftop antennas and strong opinions about IPv6.":"Volontari con antenne sui tetti e opinioni forti sull’IPv6.", +"Wait! Before you go…":"Aspetta! Prima che tu vada…", +"Walk away":"Lascia perdere", +"Want to know how it really works?":"Vuoi sapere come funziona davvero?", +"Wants NetChill on-net: a cache or a PNI":"Vuole NetChill on-net: una cache o un PNI", +"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Vuole un centro di scrubbing nel suo continente, così gli attacchi non attraversano un oceano", +"Wants two different transit providers (or none at all)":"Vuole due provider di transit diversi (o nessuno)", +"Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})":"Vuole che tu sia un Tier 2, o che gli mandi ≥ {need} Gbps (ne mandi {dem})", +"Wants ≥ {need} Gbps of traffic from you (you send {dem})":"Vuole ≥ {need} Gbps di traffico da te (ne mandi {dem})", +"Warn when a customer gets unhappy":"Avvisa quando un cliente diventa scontento", +"Warsaw has more exchanges than anyone can count. This is the second biggest, this week.":"Warsaw ha più exchange di quanti se ne possano contare. Questo è il secondo più grande, questa settimana.", +"Waste heat goes straight into the spa next door.":"Il calore di scarto finisce dritto nelle terme accanto.", +"Wave lease":"Affitto della wave", +"Wave markets":"Mercati delle wave", +"Waves":"Wave", +"Waves and fiber":"Wave e fibra", +"Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.":"Le wave si affittano a canone mensile fisso. Più grandi e più lunghe costano di più, e il sottomarino costa 1,8×. Il primo mese si paga subito.", +"Waves goodbye to latency across the Indian Ocean.":"Manda una wave d’addio alla latenza attraverso l’Oceano Indiano.", +"Waves on the same route share its fate: one backhoe cuts them all.":"Le wave sullo stesso percorso ne condividono la sorte: una ruspa le taglia tutte.", +"We noticed you are at {ix}. So are we. Shall we?":"Abbiamo notato che siete a {ix}. Anche noi. Che ne dite?", +"We value our partnership too much to let a little thing like price get in the way.":"Teniamo troppo alla nostra partnership per lasciare che una sciocchezza come il prezzo si metta in mezzo.", +"Weather a DDoS with your defences ready.":"Reggi un DDoS con le difese pronte.", +"Weather a multi-terabit DDoS.":"Reggi un DDoS da più terabit.", +"Weekly Regular":"Presenza fissa", +"Weekly challenge {key}":"Sfida settimanale {key}", +"Weekly {key}":"Settimanale {key}", +"Weird requirements":"Requisiti strani", +"West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up.":"Il primo grande cavo dell’Africa occidentale, dal Portogallo a Città del Capo. Vecchio e traballante, ma regge ancora tutto.", +"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"L'incumbent del Canada occidentale. Dicci cosa ti serve e noi ti diremo il prezzo.", +"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Quanto costa una wave dipende da dove passa. L’Europa è economica (tanta fibra in concorrenza), il Nord America nella media, Asia e Sud America più care, e qualsiasi cosa verso l’Africa costa diverse volte tanto. Ogni rotta ha il suo prezzo di mercato, e i nuovi contratti costano circa l’8% in meno ogni anno, quindi aspettare può convenire. Il pianificatore di link ti dice come si piazza una rotta.", +"What others pay":"Quanto pagano gli altri", +"What's on this link":"Cosa passa su questo link", +"What’s new in {v}":"Novità della {v}", +"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.", +"When your BGP sneezes, a small country catches a cold.":"Quando il tuo BGP starnutisce, un piccolo paese si prende il raffreddore.", +"Where":"Dove", +"Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.":"Dove si incontrano Brasile, Argentina e Paraguay, accanto a cascate gigantesche e a una diga ancora più grande. L’energia costa poco, le pratiche doganali no.", +"Where East Africa’s cables come ashore, then ride the railway up to Nairobi.":"Dove approdano i cavi dell’Africa orientale, che poi salgono in treno fino a Nairobi.", +"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Dove i cavi del Sud America approdano davvero. Europa, Africa e USA arrivano a riva qui, poi fanno un lungo backhaul verso sud.", +"Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.":"Dove approdano i cavi atlantici per il sud dell’Africa. Pinguini sulla spiaggia, distacchi programmati sulla rete elettrica.", +"Where the money goes":"Dove vanno i soldi", +"Where to meet them":"Dove trovarli", +"Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.":"Da dove arriva il traffico dei tuoi utenti, e come ti raggiunge. Il transit è l’unica parte che paghi a gigabit; cache, PNI e peering IX sono gratis o a tariffa fissa. Tocca una colonna per ordinare.", +"Where?":"Dove?", +"White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.":"Case bianche che salgono dal Mediterraneo. I cavi vanno a nord verso Marsiglia, e anche gran parte del traffico.", +"Who your transit carries":"Chi trasporta il tuo transit", +"Who's here":"Chi c’è qui", +"Wholesale wave":"Wave all’ingrosso", +"Wi-Fi on every ferry, backhaul on every bridge.":"Wi-Fi su ogni traghetto, backhaul su ogni ponte.", +"Wi-Fi on minibuses, and the music is free.":"Wi-Fi sui minibus, e la musica è gratis.", +"Will only sign with a network that runs a DDoS scrubbing center":"Firma solo con una rete che ha un centro di scrubbing DDoS", +"Will peer at {ix}: request a session":"Farà peering a {ix}: richiedi una sessione", +"Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.":"Fa peering con chiunque, ovunque. Si dice spedisca torte IPv6 per posta.", +"Win without ever taking a loan.":"Vinci senza mai chiedere un prestito.", +"Wireless internet from the top of a grain silo.":"Internet wireless dalla cima di un silo del grano.", +"Wireless links across the tundra. Antlers occasionally in the way.":"Link wireless attraverso la tundra. Ogni tanto ci si mettono in mezzo le corna.", +"With":"Con", +"With one router, the upgrade needs a maintenance window: this POP goes dark for a day.":"Con un solo router, l’upgrade richiede una finestra di manutenzione: questo POP resta al buio per un giorno.", +"With time to spare.":"Con tempo da vendere.", +"Works offline.":"Funziona offline.", +"World map of your network":"Mappa del mondo della tua rete", +"Write a RouteScript":"Scrivi un RouteScript", +"Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.":"Scrivi le regole, verificale sul traffico reale, poi fai il deploy. Un deploy sbagliato è un modo molto concreto per rompere la tua rete.", +"Writing a script":"Scrivere uno script", +"Wrote a thousand-word apology to a network you never peered with.":"Ha scritto mille parole di scuse a una rete con cui non hai mai fatto peering.", +"Yee-haw and low Earth orbit.":"Yee-haw e orbita bassa terrestre.", +"You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?":"Hai già {n} link qui ({list}). I link paralleli aggiungono capacità. Che percorso deve fare questo?", +"You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?":"Hai già {n} link qui ({list}). I link paralleli aggiungono capacità. Che percorso deve fare questo?", +"You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.":"Qui affitti già una dark fiber. Accendi altri {n} canali per {up}, poi disdici le wave e risparmi {price}/mese.", +"You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.":"Qui hai già la tua fibra. Accendi altri {n} canali per {up}, poi disdici l'affitto e risparmi {price}/mese.", +"You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.":"Hai pure vinto alla lotteria: {cash} di ottiche, rivendute su eBuy la sera stessa.", +"You built a cartoon internet. Now see how the real one works:":"Hai costruito un internet a fumetti. Ora scopri come funziona quello vero:", +"You can pre-install optics now so it lights up the day it's ready.":"Puoi già installare le ottiche, così si accende il giorno in cui è pronta.", +"You can’t see the fabric, but it is definitely there.":"Il fabric non lo vedi, ma c’è di sicuro.", +"You counter-flooded a hospital in a country you cannot pronounce.":"Hai contro-floodato un ospedale in un paese che non sai pronunciare.", +"You do not lease any lines between your POPs.":"Non affitti nessuna linea tra i tuoi POP.", +"You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.":"Hai sbagliato col dito grosso il piano dei canali su {a}–{b} e acceso un nuovo canale proprio sopra tutti quelli esistenti.", +"You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.":"Hai trovato in inventario un link da 10G che nessuno ha ordinato, nessuno paga, e che porta 3 Gbps di qualcosa.", +"You have {n} days.":"Hai {n} giorni.", +"You joined the outages mailing list. Today you are the outage.":"Ti sei iscritto alla mailing list dei guasti. Oggi il guasto sei tu.", +"You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.":"Prima ti serve una porta fabric in uno dei tuoi POP. Apri la scheda Infra di un POP e compra una porta su {list}.", +"You now have a change freeze. Nobody remembers who declared it.":"Ora hai un change freeze. Nessuno ricorda chi l'ha dichiarato.", +"You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.":"Paghi una rete più grande a Gbps e lei consegna il tuo traffico ovunque. Facile, copertura completa, mai gratis.", +"You pay for leases":"Paghi di affitti", +"You pay {pct} of your transit bill until {price} is repaid.":"Paghi il {pct} della bolletta del transit finché non hai rimborsato {price}.", +"You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.":"Rimborsi con il 30% della bolletta del transit. Liberati dal transit e smetti di pagare. Fino alla fine.", +"You use {u} ports here and {r} × {model} only has {max}.":"Qui usi {u} porte e {r} × {model} ne ha solo {max}.", +"You're a Tier 1!":"Sei un Tier 1!", +"Your AS":"Il tuo AS", +"Your ASN now shows up in other people's traceroutes, and in their tickets.":"Il tuo ASN ora compare nei traceroute degli altri, e nei loro ticket.", +"Your CEO plays golf with our CEO every Thursday.":"Il tuo CEO gioca a golf con il nostro CEO ogni giovedì.", +"Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.":"Il foglio di calcolo degli indirizzi IP ha raggiunto 1.048.576 righe. Excel ha qualcosa da ridire.", +"Your IPv6 traffic grew 400%. From one packet to five.":"Il tuo traffico IPv6 è cresciuto del 400%. Da un pacchetto a cinque.", +"Your IX":"Il tuo IX", +"Your MTU is 9000 on every link except the one that matters.":"Hai MTU 9000 su tutti i link tranne quello che conta.", +"Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.":"Il tuo NOC ha un canale chat chiamato #è-sempre-la-fibra, ed è sempre la fibra.", +"Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.":"Il tuo Network Operations Center. Qui arriva anche ogni notifica. Su internet le cose si rompono di continuo. Link ridondanti e più upstream permettono al traffico di reinstradarsi da solo.", +"Your POP":"Il tuo POP", +"Your POP · needs a fabric port there":"Il tuo POP · serve una porta fabric lì", +"Your POPs":"I tuoi POP", +"Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.":"La tua ROA è scaduta nel weekend. I tuoi prefissi sono RPKI-invalid e circa mezza internet li sta scartando.", +"Your account manager has stopped replying to haggling.":"Il tuo account manager ha smesso di rispondere alle trattative.", +"Your account manager is at a conference in Dubai. And then one in Madrid.":"Il tuo account manager è a una conferenza a Dubai. E poi a una a Madrid.", +"Your account manager is hungry.":"Il tuo account manager ha fame.", +"Your account manager would love to \"align on value\" first. Strategic call booked for next week.":"Il tuo account manager vorrebbe prima “allinearsi sul valore”. Call strategica fissata per la settimana prossima.", +"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Il tuo backbone riesce a portarne solo {g} a {city}: il resto non viene pulito", +"Your best: {best}.":"Il tuo record: {best}.", +"Your cable":"Il tuo cavo", +"Your customers":"I tuoi clienti", +"Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.":"I tuoi clienti vogliono tutta internet. Apri la scheda Transit e compra una porta da un carrier.", +"Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.":"I tuoi eyeball vogliono tutto. Compra IP transit da un Tier 1 o un Tier 2 nella tua città. Il transit ti dà la tabella di routing completa.", +"Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.":"La tua fibra qui ha spazio per altri {free} canali, e spostare questi affitti ne richiede {n}. Prima accendi un'altra coppia di fibre o aggiorna il line system.", +"Your fiber is finished: {a}–{b}":"La tua fibra è pronta: {a}–{b}", +"Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.":"I tuoi link in fibra sono wave in affitto a canone mensile fisso. Più lunghe e più grandi costano di più (10G → 6.4T), e il sottomarino costa 1,8× tanto.", +"Your game is saved automatically.":"La tua partita viene salvata automaticamente.", +"Your game saves itself every few seconds on this device.":"La partita si salva da sola ogni pochi secondi su questo dispositivo.", +"Your joint venture holds an operating license.":"La tua joint venture ha una licenza operativa.", +"Your last fat-fingered route leak has its own Wikipedia page.":"Il tuo ultimo route leak da dito grasso ha una pagina Wikipedia tutta sua.", +"Your loans":"I tuoi prestiti", +"Your maintenance window is 2 a.m. in every time zone at once.":"La tua finestra di manutenzione è alle 2 di notte in tutti i fusi orari contemporaneamente.", +"Your mitigation is eating most of it.":"La tua mitigazione se ne sta mangiando quasi tutto.", +"Your monitoring system went down. You found out because nothing alerted. Very peaceful week.":"Il tuo sistema di monitoraggio è andato giù. Te ne sei accorto perché non è scattato nessun allarme. Settimana tranquillissima.", +"Your network":"La tua rete", +"Your network card":"La card della tua rete", +"Your network diagram is a photo of a whiteboard.":"Il tuo schema di rete è la foto di una lavagna.", +"Your network {name} was saved and is waiting for you.":"La tua rete {name} è stata salvata e ti sta aspettando.", +"Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.":"Il tuo reperibile ha digitato “clear bgp *” in produzione a {city} alle 3 di notte. Ha ripulito tutto.", +"Your own cable: {up} up front, {mo}/mo, about {n} days to build.":"Il tuo cavo: {up} subito, {mo}/mese, circa {n} giorni di lavori.", +"Your own fabric · {name}":"Il tuo fabric · {name}", +"Your own fiber: {up} up front, {mo}/mo, about {n} days to build.":"La tua fibra: {up} subito, {mo}/mese, circa {n} giorni di lavori.", +"Your own subsea cable Tier 1 only":"Il tuo cavo sottomarino solo Tier 1", +"Your own trench: almost no rent, but permits and digging take forever, and delays happen.":"Uno scavo tutto tuo: quasi nessun affitto, ma permessi e scavi durano un’eternità, e i ritardi capitano.", +"Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.":"Il tuo peering coordinator ha aggiornato il profilo con “open to work”. Tre Tier 1 all’improvviso vogliono fare due chiacchiere. Non è successo niente, ma è stato bello.", +"Your personalised {port} quote for {ix}":"Il tuo preventivo personalizzato {port} per {ix}", +"Your port light now blinks in brand colours.":"La spia della tua porta ora lampeggia nei colori del brand.", +"Your price lock covers you until {date}.":"Il tuo blocco dei prezzi ti copre fino al {date}.", +"Your rate is set by the stars every month. Mercury is in retrograde a lot.":"Il tuo tasso lo decidono le stelle ogni mese. Mercurio è retrogrado spesso.", "Your reputation":"La tua reputazione", -"Large Peering Model is answering your mail":"Large Peering Model risponde alla tua posta", -"{price}/year. It never sleeps, never complains and is often wrong.":"{price}/anno. Non dorme mai, non si lamenta mai e sbaglia spesso.", -"Day {d}":"Giorno {d}", -"Fire the AI":"Licenzia l’IA", -"Large Peering Model":"Large Peering Model", -"An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.":"Un agente IA che risponde per te a ogni richiesta di peering e allarme max-prefix, ogni giorno. {price}/anno. Addestrato su vent’anni di mailing list sul peering.", -"Hire it {mo}/mo":"Assumilo {mo}/mese", -"Accept all requests":"Accetta tutte le richieste", -"Decline all requests":"Rifiuta tutte le richieste", -"Inbox zero. Enjoy it while it lasts.":"Inbox zero. Goditela finché dura.", -"No mail yet. Buy an IX port and it will come.":"Ancora niente posta. Compra una porta IX e arriverà.", -"Augment ordered with {net}.
{eta}.":"Ampliamento ordinato con {net}.
{eta}.", -"{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.":"{net} non fa PNI da {port}.
Niente sotto i 100G. Torna con più traffico, o con un’ottica più grande.", -"PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.":"PNI con {net} ordinata.
{eta}. Un cross-connect in {dc}, appena qualcuno trova la LOA.", -"Your account manager found the order under a desk.
It is a month closer.":"Il tuo account manager ha trovato l’ordine sotto una scrivania.
È un mese più vicino.", -"“It is with the provisioning team.”
Nobody has ever met the provisioning team.":"“È in mano al team di provisioning.”
Nessuno ha mai conosciuto il team di provisioning.", -"“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.":"“Stiamo aspettando il colo per il cross-connect.”
Il colo dice che sta aspettando loro.", -"Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.":"Il tuo ticket è stato unito a un altro ticket.
Quel ticket è stato chiuso come duplicato del tuo.", -"“Could you resend the LOA?”
You have sent it four times.":"“Può rimandarci la LOA?”
L’hai mandata quattro volte.", -"Your account manager is on paternity leave.
His replacement is also on paternity leave.":"Il tuo account manager è in congedo di paternità.
Anche il suo sostituto è in congedo di paternità.", -"Hello! I am Large Peering Model. I have read your inbox and I already have opinions.":"Ciao! Sono Large Peering Model. Ho letto la tua casella e ho già delle opinioni.", -"Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.":"Large Peering Model è assunto.
La tua casella ora è un problema suo. {price} all’anno, fatturati ogni mese.", -"The AI is gone.
It left a 40-page handover document. It is mostly about itself.":"L’IA se n’è andata.
Ha lasciato un documento di passaggio di consegne di 40 pagine. Parla soprattutto di sé.", -"Large Peering Model is on it.":"Ci pensa Large Peering Model.", -"{n} session is down on its max-prefix limit.":"{n} sessione è giù per il limite max-prefix.", -"{n} sessions are down on their max-prefix limit.":"{n} sessioni sono giù per il limite max-prefix.", +"Your rising sign":"Il tuo ascendente", +"Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.":"Il tuo router a {city} è crashato e si sta riavviando. Ora {what}. Tempo di boot di questo modello: circa {min} minuti a tentativo, ed è al tentativo numero {n}.", +"Your router in {city} crashed. Kernel panic, packet panic.":"Il tuo router a {city} è crashato. Kernel panic, packet panic.", +"Your router is live. Press “Launch broadband” to sell internet to the people of your city.":"Il tuo router è acceso. Premi “Lancia la banda larga” per vendere internet alla gente della tua città.", +"Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.":"I tuoi router qui stanno inoltrando {load} su {cap}. Il traffico viene scartato. Potenzia o aggiungi un router nella scheda Infra.", +"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"I tuoi router scelgono il percorso a costo minore. Alza la metrica per spingere il traffico su altri percorsi. “Solo backup” lo lascia a riposo finché il resto funziona. Vale per tutti i link tra queste due città.", +"Your routing table needs its own routing table.":"La tua tabella di routing ha bisogno di una tabella di routing tutta sua.", +"Your save stays safe.":"Il salvataggio resta al sicuro.", +"Your score: peak traffic":"Il tuo punteggio: picco di traffico", +"Your score: {score}":"Il tuo punteggio: {score}", +"Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.":"Il tuo centro di scrubbing restituisce il traffico pulito in un tunnel GRE, e nessuno ha impostato il clamping dell’MSS. I pacchetti grandi verso {net} spariscono, e le pagine si caricano a metà e si fermano.", +"Your scrubbing centers are full: {g} leaks past":"I tuoi centri di scrubbing sono pieni: {g} passano lo stesso", +"Your spares kit gets it back tomorrow.":"Il tuo kit di ricambi lo rimette in piedi domani.", +"Your traffic crossing the border":"Il tuo traffico che passa il confine", +"Your traffic to and from Asia":"Il tuo traffico da e per l’Asia", +"Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.":"Il supporto del tuo upstream ha sempre gli stessi 11 secondi di musica d’attesa. Il tuo reperibile ora sa canticchiarla in quattro tonalità.", +"Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.":"Il tuo cavo sottomarino personale. Una nave lo posa sul fondale, possiedi ogni coppia di fibre e le onde di nessun altro dividono il tuo vetro. Costa una cifra francamente maleducata e ci vuole parecchio.", +"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Il tuo fornitore di wave ha spinto un solo aggiornamento malformato sul suo control plane ottico, e ha inondato ogni nodo. Tutte le {n} wave in affitto che hai in {reg} sono spente. La loro status page dice “prestazioni ridotte”.", +"Your wave was sold before the cable owner re-engineered it, so it keeps running.":"La tua wave è stata venduta prima che il proprietario del cavo lo riprogettasse, quindi continua a funzionare.", +"Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.":"Il tuo cavo {a}–{b} si è rotto nello stesso punto dell’ultima volta. La squadra di riparazione l’ha riconosciuto.", +"Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.":"Il tuo cavo {a}–{b} è di nuovo tagliato. La nave di riparazione ormai non se ne va più: parcheggia direttamente sopra il punto.", +"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.", +"Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.":"La tua fibra {a}–{b} si è rotta da qualche parte nel Nullarbor. La squadra delle giunzioni ha fatto le valigie per una settimana.", +"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"La tua fibra {a}–{b} è giù. La squadra di riparazione ha trovato segni di denti, una tana e un castoro molto orgoglioso.", +"Your {model} here has no Flowspec TCAM":"Il tuo {model} qui non ha TCAM per il Flowspec", +"Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).":"Il tuo {model} qui arriva al massimo a porte da {pn}. Per porte più grandi serve un upgrade del router (scheda Infra).", +"Y{y} · {mon} {d}":"A{y} · {d} {mon}", +"Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.":"Lo Zambia va a energia idroelettrica da un unico grande lago. Negli anni secchi il lago si abbassa, e anche la rete elettrica.", +"Zero Peers Given":"Zero peer, zero pensieri", +"Zombie route":"Route zombie", +"a botnet of 40,000 smart toasters":"una botnet di 40.000 tostapane smart", +"a botnet run from a cloud you also host":"una botnet che gira in un cloud che ospiti anche tu", +"a crypto bro shorting your stock":"un cripto-bro che scommette contro le tue azioni", +"a few dozen ARM cores":"qualche dozzina di core ARM", +"a fridge that achieved sentience and chose violence":"un frigo diventato senziente che ha scelto la violenza", +"a gaming clan that lost one match":"un clan di gamer che ha perso una partita", +"a mystery ASIC":"un ASIC misterioso", +"a printer. Just one printer. Nobody knows how":"una stampante. Una sola stampante. Nessuno sa come", +"a rival ISP’s “stress test”":"lo “stress test” di un ISP rivale", +"a spare fiber pair in your {a}–{b} trench":"una coppia di fibre libera nel tuo scavo {a}–{b}", +"a teenager with a stolen credit card and a grudge":"un adolescente con una carta di credito rubata e un rancore", +"about average":"nella media", +"about {n} days":"circa {n} giorni", +"about {price}/mo":"circa {price}/mese", +"across the {ix} switch":"attraverso lo switch di {ix}", +"after loan payments":"dopo le rate dei prestiti", +"and {n} more":"e altri {n}", +"as when you started":"come quando hai iniziato", +"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"gli attacchi su {city} vengono portati a {to} per lo scrubbing: +{ms} ms", +"auto-enrolled":"iscritto d’ufficio", +"backup":"backup", +"blackholed {g}":"blackhole {g}", +"blackholing {g}":"{g} in blackhole", +"booted, panicked about a missing fan tray, and started again":"si è avviato, è andato in panico per un fan tray mancante, e ha ricominciato da capo", +"boots in ~{n} min":"si avvia in ~{n} min", +"budget {ms} ms":"budget {ms} ms", +"building":"in costruzione", +"bumped":"sollecitata", +"caches beat PNIs":"le cache battono i PNI", +"caches, PNIs and IX":"cache, PNI e IX", +"carrying {g}":"trasporta {g}", +"carrying {g} per site":"trasporta {g} per sede", +"challenger":"sfidante", +"cheap: lots of competing fiber":"economico: tanta fibra in concorrenza", +"city":"città", +"commit failed":"commit fallito", +"controller is off":"controller spento", +"controller off":"controller spento", +"crashes more":"crasha più spesso", +"customers are upset":"clienti furiosi", +"dark":"spenta", +"dark fiber IRU":"dark fiber IRU", +"day {n} of {d}":"giorno {n} di {d}", +"deployed":"in produzione", +"diverse":"diversificato", +"diverse route":"percorso diverso", +"done in {d} days":"fatto in {d} giorni", +"dropping or overflowing":"scarta o trabocca", +"due now {price}":"da pagare ora {price}", +"earned before":"già ottenuto", +"embedded cache in your rack":"cache embedded nel tuo rack", +"every unpatched baby monitor in Europe":"ogni baby monitor non aggiornato d’Europa", +"expensive: scarce capacity":"costoso: capacità scarsa", +"fabric circuit":"circuito fabric", +"fiber is down":"la fibra è down", +"five nines-ish":"cinque nove, più o meno", +"flat rate":"tariffa fissa", +"forty-two of them":"quarantadue", +"found a newer firmware on the USB stick someone left in it, and is installing it":"ha trovato un firmware più nuovo sulla chiavetta USB che qualcuno ci ha lasciato attaccata, e lo sta installando", +"free":"gratis", +"free-zone license included":"licenza free zone inclusa", +"from unhappy customers":"dai clienti scontenti", +"from {net}":"da {net}", +"from {price}/mo":"da {price}/mese", +"getting only {p} of the bandwidth they pay for":"ricevono solo {p} della banda che pagano", +"government box included":"scatola governativa inclusa", +"hand-off to {net}":"passaggio a {net}", +"handed off as 4×1.6T":"consegnata come 4×1.6T", +"handed off as 4×3.2T":"consegnato come 4×3.2T", +"happiness {p}%":"soddisfazione {p}%", +"has errors, not running":"ha errori, non gira", +"home":"casa", +"in progress":"in corso", +"in the vault":"nel caveau", +"in {n} days":"tra {n} giorni", +"incumbent":"incumbent", +"is \"synchronising the routing engines\". Nobody knows what that means":"sta “sincronizzando i routing engine”. Nessuno sa cosa voglia dire", +"is counting to 2 million routes. Out loud. One at a time":"sta contando fino a 2 milioni di rotte. Ad alta voce. Una alla volta", +"is oinking through the self-test of every PacketOinker on every line card":"sta grugnendo attraverso il self-test di ogni PacketOinker su ogni line card", +"is running fsck on a compact flash card older than your interns":"sta facendo fsck su una compact flash più vecchia dei tuoi stagisti", +"is waiting for the line cards to agree on who is the primary":"sta aspettando che le line card si mettano d’accordo su chi è il primario", +"just now":"proprio ora", +"land":"terrestre", +"last 10 minutes":"ultimi 10 minuti", +"leased IRU":"IRU in affitto", +"level {n}":"livello {n}", +"line {n}: I don't understand “{text}”. Try: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos":"riga {n}: non capisco “{text}”. Prova: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos", +"line {n}: prepend 1 to 3 times":"riga {n}: prepend da 1 a 3 volte", +"line {n}: spill must be between 20% and 100%":"riga {n}: spill deve essere tra 20% e 100%", +"line {n}: {err}":"riga {n}: {err}", +"local telecom licence included":"licenza telecom locale inclusa", +"merchant silicon":"merchant silicon", +"missing {what}":"{what} mancante", +"needs a scrubbing center":"serve un centro di scrubbing", +"needs {what}":"serve {what}", +"needs {what} at both ends":"serve {what} a entrambe le estremità", +"network":"rete", +"no 10G: {net} starts at 100G":"niente 10G: {net} parte da 100G", +"no PNI with {list}":"manca un PNI con {list}", +"no POP of yours on it yet":"ancora nessun tuo POP", +"no cable lands here":"nessun cavo approda qui", +"no path":"nessun percorso", +"no path right now":"nessun percorso al momento", +"no working path between these POPs":"nessun percorso funzionante tra questi POP", +"nobody yet":"ancora nessuno", +"none":"nessuno", +"not active":"non attivo", +"not this time":"non stavolta", +"nothing yet":"ancora niente", +"of {g} wanted":"su {g} richiesti", +"offer ends in {n}d":"l’offerta scade tra {n} g", +"old, cuts often":"vecchio, si taglia spesso", +"on order":"in ordine", +"on order: {n} days":"in ordine: {n} giorni", +"own dark fiber":"la tua dark fiber", +"paid peering":"peering a pagamento", +"peak 1 Tbps and 6 POPs":"picco di 1 Tbps e 6 POP", +"peak 12 Tbps, 25 POPs, 5 continents":"picco 12 Tbps, 25 POP, 5 continenti", +"peak 16 Tbps and 32 POPs":"picco 16 Tbps e 32 POP", +"peak 200 Gbps and 3 POPs":"picco di 200 Gbps e 3 POP", +"peak 21 Tbps, 40 POPs, 6 continents":"picco 21 Tbps, 40 POP, 6 continenti", +"peak 26 Tbps and 50 POPs":"picco 26 Tbps e 50 POP", +"peak 3 Tbps, 10 POPs, 3 continents":"picco di 3 Tbps, 10 POP, 3 continenti", +"peak 33 Tbps and 60 POPs":"picco 33 Tbps e 60 POP", +"peak 40 Tbps and 70 POPs":"picco 40 Tbps e 70 POP", +"peak 50 Tbps and 80 POPs":"picco 50 Tbps e 80 POP", +"peak 6 Tbps, 15 POPs, 4 continents":"picco 6 Tbps, 15 POP, 4 continenti", +"peak 9 Tbps and 20 POPs":"picco 9 Tbps e 20 POP", +"plus {pct} of revenue":"più il {pct} dei ricavi", +"plus {pct} of revenue until repaid":"più il {pct} dei ricavi fino al rimborso", +"pricey: fewer carriers":"caro: pochi carrier", +"private cross-connect":"cross-connect privato", +"provisioning, {n}d grace":"in attivazione, {n}g di tolleranza", +"rate set by the stars each month":"tasso deciso dalle stelle ogni mese", +"ready in {n}d":"pronto tra {n}g", +"remote":"remoto", +"same trench":"stesso scavo", +"saved by v{ver}":"salvato dalla v{ver}", +"score {v}":"punteggio {v}", +"sells PNIs down to 1G":"vende PNI anche da 1G", +"serve 1.5 Tbps ({v})":"servire 1,5 Tbps ({v})", +"served {a} → {b}":"servito {a} → {b}", +"serving {v}":"serve {v}", +"several hundred ARM cores and a prayer":"qualche centinaio di core ARM e una preghiera", +"sold out for {n} days":"esaurito per {n} giorni", +"somebody who did not like your network name":"qualcuno a cui non piaceva il nome della tua rete", +"spare":"ricambio", +"spare + {price}":"ricambio + {price}", +"spilled {g} onto alternate paths":"deviato {g} su percorsi alternativi", +"split over two equally quiet paths":"ripartito su due percorsi altrettanto tranquilli", +"starting in {n}d":"inizia tra {n}g", +"subsea":"sottomarino", +"ten thousand smart light bulbs, blinking in unison":"diecimila lampadine smart che lampeggiano all’unisono", +"terrestrial":"terrestre", +"terrestrial wave":"wave terrestre", +"the internet-connected kettles of a whole country":"i bollitori connessi di un intero paese", +"the rest is due at the end":"il resto si paga alla fine", +"their fiber is down":"la loro fibra è giù", +"then about {price} at once":"poi circa {price} tutto insieme", +"thought for {s} seconds":"ha pensato per {s} secondi", +"tiny":"minuscola", +"today":"oggi", +"too far for this cable":"troppo lontano per questo cavo", +"transit {a}/mo → {b}/mo":"transit {a}/mese → {b}/mese", +"transit ${price}/Gbps":"transit ${price}/Gbps", +"transit is the last resort":"il transit è l’ultima spiaggia", +"transit provider":"provider di transit", +"two nines and change":"due nove e spiccioli", +"unknown {what} “{word}”":"{what} “{word}” inesistente", +"until {date}, at +{p}":"fino al {date}, a +{p}", +"up":"attivi", +"via RS":"via RS", +"via a capacity broker":"tramite un broker di capacità", +"virtual circuit via {fab}":"circuito virtuale via {fab}", +"virtual circuits and fabric customers":"circuiti virtuali e clienti del fabric", +"weighted by what they pay":"pesata su quanto pagano", +"you buy transit again":"compri di nuovo transit", +"you cannot reach the whole internet ({p})":"non raggiungi tutta internet ({p})", +"you cannot reach {list}":"non raggiungi {list}", +"your exchange":"il tuo exchange", +"your own build":"costruita da te", +"your own subsea cable {name}":"il tuo cavo sottomarino {name}", +"your reach is {p}, not 100%":"la tua raggiungibilità è {p}, non 100%", +"{amt} from {bank} has landed.":"Sono arrivati {amt} da {bank}.", +"{apr}% APR":"TAEG {apr}%", +"{a} and {b}":"{a} e {b}", +"{a} of {b}":"{a} su {b}", +"{a} to {b}":"{a} → {b}", +"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.":"{a}–{b} è giù. Stesso cavo, ancora nuova. La squadra di riparazione ha aperto una tessera fedeltà.", +"{bank} offers {amount}":"{bank} offre {amount}", +"{bw} extra for {d} days, {when} · pays {fee} when it is over":"{bw} in più per {d} giorni, {when} · paga {fee} alla fine", +"{cap} fabric circuit":"circuito fabric da {cap}", +"{cap} on a dark fiber IRU":"{cap} su una dark fiber IRU", +"{cap} wave":"wave da {cap}", +"{cash} in the bank":"{cash} in cassa", +"{city} has no cable landing station.":"{city} non ha una stazione di approdo per cavi.", +"{city}, your router":"{city}, il tuo router", +"{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.":"{co} ha dismesso la tua wave {a}–{b} perché nel ticket c’era scritto “decom” invece di “docs”.", +"{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.":"{co} ha fatto una “manutenzione veloce” sulla lunghezza d’onda sbagliata. La tua wave {a}–{b} ora trasporta i video di gatti di qualcun altro.", +"{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.":"{co} ha sbagliato un cross-connect col dito grosso e ha collegato la tua wave {a}–{b} a un forno per pizza.", +"{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.":"{co} ha programmato la manutenzione in UTC. Il tuo team l’ha letta come ora locale. {a}–{b} si è spento all’ora di punta.", +"{fabric} is having a bad day. Every virtual circuit on their fabric is down.":"{fabric} sta avendo una brutta giornata. Tutti i circuiti virtuali sul loro fabric sono giù.", +"{goal} was not reached in {d} days. Keep playing this network as free play, or try again.":"Obiettivo non raggiunto in {d} giorni: {goal}. Continua a giocare questa rete in modalità libera, o riprova.", +"{got}/{total} this game · {ever} ever":"{got}/{total} in questa partita · {ever} in totale", +"{g} lost":"{g} persi", +"{g} of circuits":"{g} di circuiti", +"{g} of eyeballs":"{g} di eyeball", +"{g} to {km} km":"{g} fino a {km} km", +"{in} in · {out} out":"{in} entrate · {out} uscite", +"{ix} LAG":"LAG {ix}", +"{ix} LAG in {city}":"LAG {ix} a {city}", +"{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.":"{ix} è uno switch condiviso. Con una porta fai peering gratis con tutti i membri. Membri: {list}.", +"{ix} peering":"Peering {ix}", +"{ix} switch":"Switch di {ix}", +"{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.":"{km} km sono più di quanto qualsiasi ottica possa illuminare, anche con il miglior equipaggiamento sottomarino (al massimo {max} km). I cavi veri fanno tappa su un’isola o in una stazione di approdo lungo la strada: posane due più corti.", +"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km sono troppi per le tue ottiche da sole. Aggiungi {what} per accendere questo cavo.", +"{km} km of cable carries at most {g} per carrier.":"{km} km di cavo portano al massimo {g} per portante.", +"{km} km of seabed":"{km} km di fondale", +"{model} level {lv}":"{model} livello {lv}", +"{ms} ms one-way":"{ms} ms sola andata", +"{ms} ms to transit":"{ms} ms al transito", +"{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.":"{name} (AS{asn}) è transit-free. Fai peering con ogni gigante del pianeta e non paghi nessuno per raggiungere internet. Ci hai messo {days} giorni e {n} incidenti.", +"{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at":"{name} (AS{asn}): {tier}, picco di {peak}. Costruisci il tuo internet su", +"{name} (hub: {site})":"{name} (hub: {site})", +"{name} and everything it owns will be deleted. This cannot be undone.":"{name} e tutto ciò che possiede verranno cancellati. Non si torna indietro.", +"{name} at {site}":"{name} presso {site}", +"{name} cache":"Cache {name}", +"{name} caches":"cache {name}", +"{name} circuit":"Circuito {name}", +"{name} fabric level {lv}":"Fabric {name} livello {lv}", +"{name} glow: {n} days left":"Effetto {name}: ancora {n} giorni", +"{name} in {city}":"{name} a {city}", +"{name} is down. Nothing you can do but wait, or have another path.":"{name} è giù. Non puoi far altro che aspettare, o avere un altro percorso.", +"{name} knocked out power in {city}. Your POP has no generator.":"{name} ha lasciato {city} senza corrente. Il tuo POP non ha un generatore.", +"{name} parallel link":"Link parallelo {name}", +"{name} transit":"Transit {name}", +"{name} transit LAG in {city}":"LAG di transit {name} a {city}", +"{name} via {fab}":"{name} via {fab}", +"{name} wave":"Wave {name}", +"{name} will be replaced. Export it from the menu first if you want to keep it.":"La partita con {name} verrà sostituita. Se vuoi tenerla, prima esportala dal menu.", +"{name}: done in {d} days":"{name}: fatto in {d} giorni", +"{net} accepted!":"{net} ha accettato!", +"{net} carries it to {city}":"{net} lo porta fino a {city}", +"{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.":"{net} ha sbagliato una route-map col dito grosso e ha fatto prepend del tuo AS {n} volte a {city}. Nessuno vuole quel percorso.", +"{net} hands it to {to}":"{net} lo passa a {to}", +"{net} is having an outage in {city}. Your transit port there is dark.":"{net} ha un disservizio a {city}. La tua porta di transit lì è spenta.", +"{net} is scrubbing it upstream (clean-pipe)":"{net} lo sta ripulendo a monte (clean-pipe)", +"{net} transit":"transit {net}", +"{net} transit · {lag}":"transit {net} · {lag}", +"{n} POP":"{n} POP", +"{n} POPs":"{n} POP", +"{n} amp huts":"{n} shelter amplificatori", +"{n} amplifiers":"{n} amplificatori", +"{n} box":"{n} box", +"{n} boxes":"{n} box", +"{n} businesses":"{n} aziende", +"{n} connection":"{n} connessione", +"{n} connections":"{n} connessioni", +"{n} customer":"{n} cliente", +"{n} customer let go":"{n} cliente lasciato andare", +"{n} customers":"{n} clienti", +"{n} customers let go":"{n} clienti lasciati andare", +"{n} day ago":"{n} giorno fa", +"{n} days ago":"{n} giorni fa", +"{n} days left":"mancano {n} giorni", +"{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.":"A {city} si fanno concorrenza {n} exchange. I membri si sovrappongono, ma non del tutto, e gli sfidanti fanno prezzi più bassi dell’incumbent. Le reti piccole spesso stanno su uno solo.", +"{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it":"{n} coppie di fibra nel tuo scavo {a}–{b}. Lo scavo era la parte costosa, quindi le vogliono tutte", +"{n} fiber pairs lit, the trench is full":"{n} coppie di fibre accese, il cavidotto è pieno", +"{n} furious":"{n} furiosi", +"{n} in the cable, the first one lit":"{n} nel cavo, la prima accesa", +"{n} in {r} regions":"{n} in {r} regioni", +"{n} incident":"{n} incidente", +"{n} incidents":"{n} incidenti", +"{n} link":"{n} link", +"{n} links":"{n} link", +"{n} lit":"{n} accesi", +"{n} loan":"{n} prestito", +"{n} loans":"{n} prestiti", "{n} message waiting for an answer.":"{n} messaggio aspetta una risposta.", "{n} messages waiting for an answer.":"{n} messaggi aspettano una risposta.", -"Inbox zero.":"Inbox zero.", -"Open inbox":"Apri la casella", -"Augment on order: {port}, about {n} days to go.":"Ampliamento in ordine: {port}, mancano circa {n} giorni.", -"no 10G: {net} starts at 100G":"niente 10G: {net} parte da 100G", -"sells PNIs down to 1G":"vende PNI anche da 1G", -"on order: {n} days":"in ordine: {n} giorni", -"PNI lead times":"Tempi di consegna delle PNI", -"A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Un cross-connect con una rete piccola richiede qualche settimana. Con le grandi reti di contenuti, i Tier 1 e i grandi operatori di accesso, una nuova PNI o un ampliamento arriva di solito in circa un mese, ma un ordine su sette slitta a 6-12 mesi. Le reti di contenuti e i Tier 1 partono da 100G. Doitsche Telekomm vende ancora 1G.", -"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Ogni porta IX porta richieste di peering e allarmi max-prefix, nella scheda Reti. Una sessione che supera il limite resta giù finché non ci guardi: alza il limite se è crescita, tienila giù se è un leak. Ignora la posta e le reti selettive diventano più esigenti.", - "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…", -"{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.":"Il {p} del traffico di {city} viene riportato al transito a {to}: {ms} ms di andata e ritorno. Gli utenti se ne accorgono oltre i 20 ms (circa 1.500 km), e oltre i 50 ms banda larga e servizi internet contano come servizio scadente. Compra transito qui o vicino, o fai peering in loco.", -"Slow cities":"Città lente", -"Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.":"I loro utenti escono attraverso un transito lontano. Oltre i 50 ms di andata e ritorno, banda larga e servizi internet contano come servizio scadente.", -"{p} of its traffic · {ms} ms round trip · service {sf}":"{p} del suo traffico · {ms} ms andata e ritorno · servizio {sf}", -"{ms} ms to transit":"{ms} ms al transito", -"Backhaul latency":"Latenza di backhaul", -"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.":"Gli utenti sentono l’andata e ritorno fino al punto in cui il loro traffico lascia la tua rete per il transito. Fino a 20 ms (circa 1.500 km) va bene; oltre i 50 ms banda larga e servizi internet contano come servizio scadente, e costa ricavi e clienti. Il traffico sul tuo peering, sulle PNI e sulle cache non viene penalizzato.", -"That link is gone.
It was removed or decommissioned since.":"Quel link non c’è più.
Nel frattempo è stato rimosso o dismesso.", -"That customer is gone.
The contract ended since.":"Quel cliente non c’è più.
Nel frattempo il contratto è finito.", +"{n} min ago":"{n} min fa", +"{n} months":"{n} mesi", +"{n} networks · {d} days left":"{n} reti · {d} giorni rimasti", "{n} new notification":"{n} nuova notifica", "{n} new notifications":"{n} nuove notifiche", -"just now":"proprio ora", -"{n} min ago":"{n} min fa", -"Notifications":"Notifiche", -"last 10 minutes":"ultimi 10 minuti", -"Nothing in the last 10 minutes.":"Niente negli ultimi 10 minuti.", -"Show fewer":"Mostra meno", -"Show all {n}":"Mostra tutte e {n}", -"Resolved: {what}
{where} is back to normal.":"Risolto: {what}
{where} è tornato alla normalità.", -"Resolved: {what}":"Risolto: {what}", -"The harbour, the bridge and most of the country’s data centres. Rent is the real latency.":"Il porto, il ponte e quasi tutti i data center del paese. La vera latenza è l’affitto.", -"Twenty minutes from everything, except anywhere else.":"A venti minuti da tutto, tranne che da qualsiasi altro posto.", -"Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.":"Costruita per il governo. I data center hanno più nulla osta di sicurezza che dipendenti, e ogni strada finisce in una rotonda.", -"The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.":"In fondo alla mappa. Aria fresca, idroelettrico a buon mercato e tutto lo Stretto di Bass tra te e il continente.", -"Sydney to Tokyo by way of Guam, going round and round since 2001.":"Da Sydney a Tokyo passando per Guam, e gira e rigira dal 2001.", -"Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem.":"Da Sydney a Honolulu, e non un metro più in là. Arrivare al continente è un problema tuo.", -"Crosses Bass Strait faster than the ferry, and gets seasick less often.":"Attraversa lo Stretto di Bass più in fretta del traghetto, e soffre meno il mal di mare.", -"Stockpiled bandwidth in 2020 and still has a few rolls left.":"Ha fatto scorta di banda nel 2020 e ha ancora qualche rotolo.", -"Now you see the fibre, now you don’t.":"Ora la fibra la vedi, ora non la vedi più.", -"Matching outfits, perfect harmonies, and they peer with absolutely everyone.":"Completi coordinati, armonie perfette, e fanno peering con chiunque.", -"Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.":"Veloce di nome. Ha una fetta del cavo per Singapore e continua a comprarsi ISP più piccoli.", -"Bought by Speedyloop, and still working out which name goes on the bill.":"Comprata da Speedyloop, e ancora non ha capito quale nome mettere in bolletta.", -"The cheapest plan in the country. Smells like a bargain.":"Il piano più economico del paese. Profuma di affare.", -"Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.":"Porta online l’outback da 550 km di quota, poi lo fa atterrare in un data center di Sydney come tutti gli altri.", -"Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.":"Il marchio low cost di Telstraya. Più economico, più allegro, e comunque non fa peering con te.", -"Cheap broadband with the sales pitch on a permanent loop.":"Banda larga economica, con la pubblicità in loop perenne.", -"Small, fast and always leaping to the next deal. Ribbit.":"Piccolo, veloce e sempre pronto a saltare sull’offerta successiva. Cra cra.", -"The Nearly Broadband Network keeps {pct} of it for the last mile.":"La Nearly Broadband Network se ne tiene il {pct} per l’ultimo miglio.", -"Nearly Broadband Network wholesale":"Wholesale della Nearly Broadband Network", -"Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.":"Modalità difficile. Tutto ciò che va all’estero costa una fortuna, la gente del posto paga cifre altissime, soprattutto alla Nearly Broadband Network, e tutto il resto cerca di ucciderti.", -"Fibre to the Basement":"Fibra in cantina", -"Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.":"Sydney, 2013. Il Toilet Paper Group ha portato la sua fibra nelle cantine dei condomini, e la rete nazionale ha gridato al cherry-picking. Tocca a te: salta la Nearly Broadband Network, paga il contributo e arriva per primo.", -"Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas":"Banda larga a Sydney, Melbourne, Brisbane, Adelaide e Perth, e due cavi diversi verso l’estero", -"It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.":"Passa sulla tua fibra, quindi alla Nearly Broadband Network non va niente. Il governo però si prende un contributo del {pct}.", -"Broadband in {city}":"Banda larga a {city}", -"Cables overseas":"Cavi verso l’estero", -"Regional broadband levy":"Contributo per la banda larga regionale", -"Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich.":"Da Perth a Singapore e Giacarta. Preparato fresco ogni mattina, e tagliato più spesso di un panino.", -"Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white.":"Sydney, Melbourne, Adelaide e Perth via mare, così i tuoi pacchetti non devono mai attraversare il Nullarbor. Un’altra creatura del tizio che fonda un’azienda di fibra ogni volta che finisce un flat white.", -"Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.":"Il numero due dell’Australia. Una volta ha mandato offline l’intero paese per dodici ore con un aggiornamento di routine.", -"This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.":"Questo percorso attraversa il Nullarbor: prezzo {x}×. Mille chilometri di niente, e gli incumbent ne possiedono ogni metro.", -"Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.":"Il tuo cavo {a}–{b} è di nuovo tagliato. La nave di riparazione ormai non se ne va più: parcheggia direttamente sopra il punto.", -"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.":"{a}–{b} è giù. Stesso cavo, ancora nuova. La squadra di riparazione ha aperto una tessera fedeltà.", -"A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.":"Un cacatua dal ciuffo giallo ha rosicchiato la tua fibra {a}–{b}, poi è tornato per quella di scorta.", -"A kangaroo hit the fiber hut on {a}–{b}. The hut lost.":"Un canguro ha colpito il box della fibra su {a}–{b}. Il box ha perso.", -"A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.":"Un escavatore che preparava il terreno per un nuovo distributore ha tagliato in pieno la tua fibra {a}–{b}. Secondo i progetti era due metri più a sinistra.", -"The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.":"Gli emù hanno vinto di nuovo: uno stormo ha abbattuto i paletti di segnalazione su {a}–{b}, e una livellatrice ha scavato dritta attraverso la fibra.", -"Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.":"Stagione degli incendi: la fibra lungo {a}–{b} si è fusa nel suo condotto. I pompieri hanno salvato il paese, non il cavidotto.", -"Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.":"La tua fibra {a}–{b} si è rotta da qualche parte nel Nullarbor. La squadra delle giunzioni ha fatto le valigie per una settimana.", -"A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.":"Un aggiornamento notturno di routine ha lasciato offline il tuo router a {city} fino a pranzo. Floptus ti saluta.", -"A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.":"Un ragno cacciatore grande come una mano si è trasferito nel router a {city}. Nessuno ha avuto il coraggio di infilarci la mano per riavviarlo.", -"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.":"Ondata di caldo a 45 °C a {city}: la rete ha staccato carichi, i chiller si sono arresi e anche il generatore di {dc}.", -"A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.":"Un opossum è entrato nella sottostazione dietro {dc} a {city}. L’opossum sta bene. Il tuo POP no.", -"Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.":"I ladri hanno scavato il tuo cavo {a}–{b}, convinti che fosse rame. Era fibra. L’hanno lasciato tagliato nel fosso, profondamente delusi.", -"A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.":"Un chilometro di “rame” è sparito dal tuo scavo {a}–{b}. Era la tua fibra. Lo sfasciacarrozze l’ha rispedita indietro con un biglietto.", -"Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.":"Stagione delle cubomeduse all’approdo {a}–{b}. I sommozzatori hanno dato un’occhiata e sono tornati sulla barca.", -"A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.":"Uno squalo bianco si è interessato al tuo cavo {a}–{b} e l’ha morso. Poi l’ha sputato: troppo poco saporito.", -"A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.":"Un canguro ha preso a pugni il tuo tecnico sul campo su {a}–{b}. Il tecnico ha perso ai punti, e la giunzione può aspettare.", -"A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.":"Un drop bear è caduto sulla squadra di giunzione su {a}–{b}. Si rifiutano di lavorare sotto gli alberi, e il taglio è proprio sotto gli alberi.", -"An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.":"Un serpente bruno orientale si è trasferito nel pozzetto dei cavi su {a}–{b}. Nessuno si offre volontario per riparare la tua fibra.", -"Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.":"Stagione delle gazze in picchiata: i tecnici su {a}–{b} non escono dal furgone, e il tuo taglio resta tagliato.", -"A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.":"Un nuovo tecnico a {city} ha usato la Vegemite come pasta termica. Conduce il sapore, non il calore, e il tuo router si è cotto.", -"A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.":"Un ingegnere in visita da Londra ha portato la Marmite nel NOC di {city}. Le relazioni diplomatiche sono saltate, e mentre tutti litigavano è saltato anche il tuo router.", -"The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.":"Il temporale delle quattro è arrivato su BrisVegas puntuale e si è portato via la rete elettrica dietro {dc}. Il tuo POP è al buio insieme alle slot machine.", -"Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.":"Router installato a {city}.
A testa in giù, come si usa da queste parti. Ai pacchetti non sembra importare.", -"Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.":"Router installato a {city}.
Il fornitore l’ha spedito dritto, quindi i tecnici del posto l’hanno capovolto. Qui è tutto sottosopra.", -"The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.":"La Città Giardino e la città più grande dell’Isola del Sud, che qui chiamano «la Terraferma» senza ridere. Tutto ciò che va verso l’Isola del Nord attraversa lo Stretto di Cook.", -"The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.":"Il fondo del paese, su linee elettriche costruite per una fonderia di alluminio. Qualcuno sta costruendo un campus IA da 280 MW in un pascolo fuori città, quindi i cavi arriveranno. Probabilmente.", -"Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t.":"Giù lungo la costa ovest e attraverso lo Stretto di Cook fino alla Terraferma. I traghetti ballano; il cavo, di solito, no.", -"One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen.":"Un anello per legare Invercargill a Sydney, Melbourne e Auckland. Approda accanto a un pascolo dove qualcuno sta costruendo una fabbrica di IA, ed è così che capisci che potrebbe succedere davvero.", -"A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.":"Un kea ha strappato le guarnizioni di gomma della muffola su {a}–{b}, poi è passato al furgone. I kea sono fatti così.", -"The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.":"I pappataci hanno cacciato la tua squadra di giuntisti da {a}–{b}. Torneranno quando si alza il vento.", -"A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.":"La trivella per pali di un allevatore ha trovato la tua fibra {a}–{b}. Le pecore guardavano.", -"A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.":"Un traghetto ha gettato l’ancora nello Stretto di Cook e ha trovato il tuo cavo {a}–{b}. Il traghetto sta bene.", -"The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.":"La fonderia di Tiwai Point ha tirato un po’ di più dalla rete, e il tuo POP a {city} ha ceduto per primo.", -"Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.":"L’Australia è diventata più australiana.
Il transito lì ora costa tre volte il prezzo normale, lo vendono solo gli operatori che lo vendono davvero in Australia, e Telstraya e Floptus fanno peering solo in privato, quindi le loro sessioni all’exchange sono terminate. Controlla i tuoi POP australiani.", -"Finish in 1 day {price}":"Termina in 1 giorno {price}", -"More crews on site.
Construction is {n} days ahead.":"Più squadre sul posto.
I lavori sono in anticipo di {n} giorni.", -"More crews on site.
Construction is {n} day ahead.":"Più squadre sul posto.
I lavori sono in anticipo di {n} giorno.", -"# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.":"# {net}: {g} via transit, ma fa peering a {ix}, dove hai un POP. Prendi una porta lì.", -"{ix} LAG":"LAG {ix}", -"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.":"Un membro di {ix} ha fatto leak dell’intera tabella di routing nel route server. I limiti max-prefix sono scattati ovunque. Il tuo peering lì è giù.", -"{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.":"{net} ti ha tolto il peering su {ix}.
{why} Il traffico ripiega sul miglior percorso rimasto.", -"A hyperscaler bought every wave of that size on this route last week.":"Un hyperscaler ha comprato la settimana scorsa ogni onda di questa misura su questa tratta.", -"The carrier is out of spectrum here until its next line-system upgrade.":"Il carrier ha finito lo spettro qui fino al prossimo aggiornamento del sistema di linea.", -"The transponders for this route are on a container ship. The ship is somewhere near Singapore.":"I transponder per questa tratta sono su una nave portacontainer. La nave è da qualche parte vicino a Singapore.", -"The capacity is “available in the system”. Nobody can find it in the system.":"La capacità è “disponibile nel sistema”. Nessuno la trova nel sistema.", -"Their capacity planner is on holiday, and he took the spreadsheet with him.":"Il loro capacity planner è in ferie, e si è portato via il foglio di calcolo.", -"The upgrade is planned for Q3. Which year, the email does not say.":"L’aggiornamento è previsto per il Q3. Di quale anno, l’email non lo dice.", -"No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.":"Nessuna capacità {wave} su questa tratta al momento.
{why} Prova un’onda più piccola, un’altra tratta, o chiedi di nuovo tra {n} giorni.", -"sold out for {n} days":"esaurito per {n} giorni", -"Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.":"Carenza di laser!
La fabbrica che produce i laser di metà delle ottiche del mondo si è allagata. Le ottiche costano il 50% in più per {n} giorni. Le scorte sul tuo scaffale sono appena diventate il miglior investimento della tua vita.", -"Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.":"Carenza di chip!
Tutti i produttori di router aspettano gli stessi chip. Router nuovi e upgrade costano il 40% in più per {n} giorni. Tempi di consegna: “sì”.", -"New fiber and cable builds":"Nuove fibre e nuovi cavi", -"Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.":"Tutte le navi posacavi sono prenotate.
Gli hyperscaler hanno noleggiato ogni nave posacavi e ogni squadra di scavo del pianeta. Nuove fibre e nuovi cavi costano il 30% in più per {n} giorni.", -"Your price lock covers you until {date}.":"Il tuo blocco dei prezzi ti copre fino al {date}.", -"Supply chain":"Catena di fornitura", -"Hardware prices":"Prezzi dell’hardware", -"+{p} since you started":"+{p} da quando hai iniziato", -"as when you started":"come quando hai iniziato", -"Shortage":"Carenza", +"{n} of up to {max} · {price}/mo":"{n} su un massimo di {max} · {price}/mese", +"{n} of {max} channels lit":"{n} di {max} canali accesi", +"{n} of {m}":"{n} su {m}", +"{n} peering session":"{n} sessione di peering", +"{n} peering sessions":"{n} sessioni di peering", +"{n} ports":"{n} porte", +"{n} regen site would bring it back to {g}.":"{n} sito di rigenerazione lo riporterebbe a {g}.", +"{n} regen sites would bring it back to {g}.":"{n} siti di rigenerazione lo riporterebbero a {g}.", +"{n} rule live, transit bill down {p}.":"{n} regola attiva, bolletta del transit giù del {p}.", +"{n} rule live.":"{n} regola attiva.", +"{n} rules active":"regole attive: {n}", +"{n} rules live":"{n} regole attive", +"{n} rules live, transit bill down {p}.":"{n} regole attive, bolletta del transit giù del {p}.", +"{n} rules live.":"{n} regole attive.", +"{n} session is down on its max-prefix limit.":"{n} sessione è giù per il limite max-prefix.", +"{n} sessions are down on their max-prefix limit.":"{n} sessioni sono giù per il limite max-prefix.", +"{n} shrugged off":"{n} scrollati di dosso", +"{n} sites: {list} · {bw} per site · {price}/mo":"{n} sedi: {list} · {bw} per sede · {price}/mese", +"{n} small networks":"{n} piccole reti", +"{n} sold as alien waves":"{n} venduti come alien wave", +"{n} spare on the shelf":"{n} ricambio sullo scaffale", +"{n} spares on the shelf":"{n} ricambi sullo scaffale", +"{n} special requirement":"{n} requisito speciale", +"{n} special requirements":"{n} requisiti speciali", +"{n} unanswered":"{n} senza risposta", +"{n} unhappy customer, {price}/mo at risk":"{n} cliente scontento, {price}/mese a rischio", +"{n} unhappy customers, {price}/mo at risk":"{n} clienti scontenti, {price}/mese a rischio", +"{n} · optical spans of {km} km":"{n} · tratte ottiche da {km} km", +"{n}d left":"ancora {n}g", +"{n}× 400G alien wave on your {a}–{b} fiber":"{n}× alien wave 400G sulla tua fibra {a}–{b}", +"{n}× 400G alien waves on your {a}–{b} fiber":"{n}× alien wave 400G sulla tua fibra {a}–{b}", +"{optic} to spares":"{optic} nei ricambi", +"{pay}/mo for {n} months.":"{pay}/mese per {n} mesi.", +"{pay}/mo · {n} months left · {apr}% APR":"{pay}/mese · mancano {n} mesi · TAEG {apr}%", +"{pct} of revenue, forever":"{pct} dei ricavi, per sempre", +"{pct} of your transit bill":"{pct} della bolletta del transit", +"{pct} of your transit bill · {n} months left · the rest is due at the end":"{pct} della bolletta del transit · {n} mesi rimasti · il resto si paga alla fine", +"{pn} routers":"router da {pn}", +"{port} {cost} + {mo}/mo":"{port} {cost} + {mo}/mese", +"{port} port":"porta {port}", +"{port} port Price on request ☎":"Porta {port} Prezzo su richiesta ☎", +"{port} port {price}/mo":"Porta {port} {price}/mese", +"{port} port {price}":"Porta {port} {price}", +"{port} port · {price}/mo":"Porta {port} · {price}/mese", +"{price} to repay":"{price} da rimborsare", +"{price} · {n} days":"{price} · {n} giorni", +"{price}/mo":"{price}/mese", +"{price}/mo in extras":"{price}/mese di extra", +"{price}/year. It never sleeps, never complains and is often wrong.":"{price}/anno. Non dorme mai, non si lamenta mai e sbaglia spesso.", +"{p} full":"{p} pieno", +"{p} of its traffic · {ms} ms round trip · service {sf}":"{p} del suo traffico · {ms} ms andata e ritorno · servizio {sf}", +"{p}% of traffic":"{p}% del traffico", +"{p}% of traffic between them, scattered across exchanges. You peer with {n}.":"{p}% del traffico in tutto, sparse tra vari exchange. Sei in peering con {n}.", +"{rule}, and closer exits win ties":"{rule}, e a parità vince l’uscita più vicina", +"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · {n}g rimasti", +"{sys} level {n}":"{sys} livello {n}", +"{sys} is full ({max} channels).":"{sys} è pieno ({max} canali).", +"{sys} is full ({max} channels, {sold} sold to customers).":"{sys} è pieno ({max} canali, {sold} venduti ai clienti).", +"{tier} scrubbing in {city} is cleaning it":"Lo scrubbing {tier} a {city} lo sta pulendo", +"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"Lo scrubbing {tier} a {city} lo sta pulendo, portato lì sul tuo backbone (+{ms} ms)", +"{used} / {max} in use":"{used} / {max} in uso", +"{wave} lit!":"{wave} accesa!", "{what} +{p} · {n} days left":"{what} +{p} · {n} giorni rimasti", -"Price lock":"Blocco dei prezzi", -"until {date}, at +{p}":"fino al {date}, a +{p}", -"Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.":"Router, ottiche e nuove costruzioni ai prezzi di oggi per un anno, carenze comprese. I dazi sono del governo, non del tuo fornitore.", -"Lock prices for a year {cost}":"Blocca i prezzi per un anno {cost}", -"Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.":"Prezzi bloccati fino al {date}.
L’account manager del tuo fornitore è felicissimo. Ci prende un bonus.", -"Stock a spare {optic} {price}":"Metti da parte un {optic} di scorta {price}", -"Spares bought now are already paid for when the next shortage hits.":"Le scorte comprate adesso sono già pagate quando arriva la prossima carenza.", -"Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.":"Router, ottiche e nuove costruzioni rincarano con gli anni, circa il 4% all’anno dopo i primi sei mesi, e ogni tanto una carenza ne fa rincarare uno parecchio per un mese o due. Quello che possiedi già mantiene il suo prezzo. Le scorte sullo scaffale e un blocco annuale dei prezzi dalla scheda NOC attutiscono il colpo.", +"{where}: {lvl}. This route is right at the going rate{since}.":"{where}: {lvl}. Questa rotta è esattamente al prezzo di mercato{since}.", +"{where}: {lvl}. This route is {p}% above the going rate{since}.":"{where}: {lvl}. Questa rotta è il {p}% sopra il prezzo di mercato{since}.", +"{where}: {lvl}. This route is {p}% below the going rate{since}.":"{where}: {lvl}. Questa rotta è il {p}% sotto il prezzo di mercato{since}.", +"{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.":"{who} a {ix} stava mandando una full table, e il limite max-prefix era l’unica cosa che la fermava. Col limite alzato, i prefissi di {net} puntano alla loro cantina. Il traffico verso {net} via transito finisce in un buco nero per qualche giorno.", +"~{n} min":"~{n} min", +"~{n} min · a slow one":"~{n} min · una lumaca", +"“Thanks for your interest! We don't publish prices, because every customer is unique.”":"“Grazie per l’interesse! Non pubblichiamo i prezzi, perché ogni cliente è unico.”", +"…and {n} more change":"…e {n} altra modifica", +"…and {n} more changes":"…e altre {n} modifiche", +"− Regen site":"− Sito di rigenerazione", +"− box":"− box", +"− member":"− membro", +"✓ {n} rule OK":"✓ {n} regola OK", +"✓ {n} rules OK":"✓ {n} regole OK", +"🐘 BREAKING: CVE-2026-31337 IN PHP TAKES DOWN HALF THE INTERNET":"🐘 ULTIM’ORA: LA CVE-2026-31337 DI PHP BUTTA GIÙ MEZZA INTERNET", }; diff --git a/site/i18n/pt.js b/site/i18n/pt.js index d29ce8b..dd6c97e 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -1,2933 +1,2933 @@ -// Portuguese (Brazil). Keys are the English text exactly as passed to tr()/trn()/N_() in index.html (or as it stands -// in its data-i18n markup, aria-label or title); check with: npm run i18n:check +// Portuguese (Brazil). Keys are the English text exactly as passed to tr()/trn()/N_() in src/ (or as it stands +// in its data-i18n markup, aria-label or title); sorted; check with: npm run i18n:check, add with scripts/i18n-add.js (window.I18N=window.I18N||{}).pt={ -"The Other Building":"O Outro Prédio", -"Campus B (the one with parking)":"Campus B (aquele com estacionamento)", -"Across-the-River DC":"DC do Outro Lado do Rio", -"The Annex":"O Anexo", -"Suburban Mega-shed":"Megagalpão no Subúrbio", -"The Cheaper One":"O Mais Barato", -"Formerly a Shopping Mall":"Ex-Shopping Center", -"Bunker Two":"Bunker Dois", -"handed off as 4×1.6T":"entregue como 4×1.6T", -"a mystery ASIC":"um ASIC misterioso", -"Bought used on eBuy. The fans sound like a jet engine.":"Comprado usado no eBuy. As ventoinhas parecem uma turbina de avião.", -"merchant silicon":"merchant silicon", -"Sharp, edgy, and finally speaks 400G and 400ZR+.":"Afiado, ousado e finalmente fala 400G e 400ZR+.", -"An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.":"Um monstro com portas 800G, construído em torno do chip de forwarding Junipurr PacketOinker™. Ronca em line rate. Aceita ópticas 800ZR+.", -"PacketOinker² (two pigs, one chassis)":"PacketOinker² (dois porcos, um chassi)", -"1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.":"Portas 1.6T, um microclima próprio e dois chips PacketOinker² por line card. Aceita waves 6.4T como 4×1.6T. Precisa de empilhadeira.", -"a few dozen ARM cores":"algumas dezenas de cores ARM", -"Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.":"Custa menos que um almoço e tem o dobro de portas do Rusty. Configurar leva mais tempo que o almoço.", -"Tomahack merchant silicon":"merchant silicon Tomahack", -"A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.":"Um switch bare-metal rodando SONiC open source. Economiza uma fortuna, até travar e não ter ninguém pra quem ligar.", -"Jerry-cho deep-buffer silicon":"silício deep-buffer Jerry-cho", -"Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.":"Config fixa, buffers profundos, barba bem aparada e tapa-olho. Roda EOS, o Extensible Operating Ship. Liga antes do seu flat white com leite de aveia ficar pronto, e vem com um shell Python que ninguém pediu.", -"Jerry-cho³ deep-buffer silicon":"silício deep-buffer Jerry-cho³", -"The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.":"O modular. Noventa e seis portas 800G, buffers tão profundos que dá pra perder um navio lá dentro, e release notes só em vinil. Arrr.", -"Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.":"Barato pra comprar, caro pra manter: chave de licença pra cada porta, cada recurso e, dizem, pras ventoinhas. O Smart Licensing liga pra casa toda semana.", -"Fin-P network processor":"network processor Fin-P", -"Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.":"Engenharia finlandesa: indestrutível, minuciosa ao extremo, e a CLI só fala config hierárquica. Liga como um amanhecer nórdico.", -"is oinking through the self-test of every PacketOinker on every line card":"está roncando no self-test de cada PacketOinker em cada line card", -"is running fsck on a compact flash card older than your interns":"está rodando fsck num cartão compact flash mais velho que seus estagiários", -"found a newer firmware on the USB stick someone left in it, and is installing it":"achou um firmware mais novo no pendrive que alguém esqueceu espetado e está instalando", -"is counting to 2 million routes. Out loud. One at a time":"está contando até 2 milhões de rotas. Em voz alta. Uma de cada vez", -"is waiting for the line cards to agree on who is the primary":"está esperando as line cards decidirem quem é a primária", -"booted, panicked about a missing fan tray, and started again":"ligou, entrou em pânico por falta de uma fan tray e começou de novo", -"is \"synchronising the routing engines\". Nobody knows what that means":"está \"sincronizando os routing engines\". Ninguém sabe o que isso quer dizer", -"No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).":"Nenhuma porta de router livre em {city}.
{u} de {m} em uso. Adicione um router ou troque por um modelo com mais portas (aba Infra).", -"A wave here is faster than {pn}.":"Tem uma wave aqui mais rápida que {pn}.", -"A port here is bigger than {pn}.":"Tem uma porta aqui maior que {pn}.", -"A fibre here uses optics this model cannot take.":"Uma fibra aqui usa ópticas que este modelo não aceita.", -"You use {u} ports here and {r} × {model} only has {max}.":"Você usa {u} portas aqui e {r} × {model} só tem {max}.", -"Fixed mux plus amplifiers. Up to 16 channels, no remote switching.":"Mux fixo mais amplificadores. Até 16 canais, sem comutação remota.", -"Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.":"C-band completa, reconfigurável remotamente, aceita transponders long-haul. Até 64 canais.", -"Coherent pluggable in the router. No transponder shelf.":"Pluggable coerente direto no router. Sem shelf de transponders.", -"Twice the speed, shorter reach.":"Dobro da velocidade, alcance menor.", -"Big shelf, big reach, big invoice.":"Shelf grande, alcance grande, fatura grande.", -"Jan":"jan", -"Feb":"fev", -"Mar":"mar", -"Apr":"abr", -"May":"mai", -"Jun":"jun", -"Jul":"jul", -"Aug":"ago", -"Sep":"set", -"Oct":"out", -"Nov":"nov", -"Dec":"dez", -"Americas":"Américas", -"South America":"América do Sul", -"Europe":"Europa", -"Africa":"África", -"Asia":"Ásia", -"Oceania":"Oceania", -"Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.":"Interconexão elástica, agora com bacon. Criada numa fazenda perto de BrisVegas pelo sujeito que abre uma empresa de fibra toda vez que termina um flat white. Um circuito em 59 segundos, um oinc em 60.", -"A whole network fabric that fits in your pocket.":"Um network fabric inteiro que cabe no seu bolso.", -"Strong in Asia and Africa. Every circuit comes with a consolation prize.":"Forte na Ásia e na África. Todo circuito vem com prêmio de consolação.", -"Prefer":"Preferir", -"Normal":"Normal", -"Avoid":"Evitar", -"Backup only":"Só backup", -"building":"em obras", -"dark":"apagada", -"The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.":"A capital dos data centers. Dizem que 70% da internet passa por aqui, e ninguém conferiu.", -"Cable landing hub for South America.":"Hub de chegada de cabos da América do Sul.", -"South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.":"O maior mercado da América do Sul e casa do IX.brrr: gerido por uma ONG, preços públicos, e praticamente todo mundo está nele.", -"On an island, so every link off it is a subsea cable.":"Fica numa ilha, então todo link pra fora é cabo submarino.", -"Europe's crossroads. Lots of networks, lots of sausages.":"A encruzilhada da Europa. Muitas redes, muitas salsichas.", -"Subsea cables to Africa and Asia land here.":"Cabos submarinos para a África e a Ásia chegam aqui.", -"Canada’s hub. Polite packets, long winters, free cooling.":"O hub do Canadá. Pacotes educados, invernos longos, resfriamento grátis.", -"Cheap hydro power makes it a data center favorite.":"Energia hidrelétrica barata faz dele um dos queridinhos dos data centers.", -"Pacific cables land nearby, and everyone meets in one famous building downtown.":"Cabos do Pacífico chegam aqui perto, e todo mundo se encontra num prédio famoso no centro.", -"Huge mobile market. Most of its traffic still detours through the US.":"Mercado mobile enorme. A maior parte do tráfego ainda dá a volta pelos EUA.", -"Free cooling and geothermal power. Plenty of data centers, very few cables.":"Resfriamento grátis e energia geotérmica. Data center de sobra, pouquíssimos cabos.", -"Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.":"A sede europeia de todo hyperscaler, principalmente por motivos fiscais. A rede elétrica está nervosa.", -"Landing point for cables from the US, Iceland and the Baltic.":"Ponto de chegada de cabos dos EUA, da Islândia e do Báltico.", -"Fast fiber east and west, and one very nervous subsea cable to Germany.":"Fibra rápida para leste e oeste, e um cabo submarino bem nervoso até a Alemanha.", -"Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.":"O exchange da Catalunha. Pequeno e orgulhoso, e as redes locais não conseguem resistir.", -"Balkan peering hub with famously cheap ports.":"Hub de peering dos Bálcãs com portas famosas de tão baratas.", -"Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.":"Encruzilhada dos cabos entre Europa, Ásia e África. Alguns apps de voz são bloqueados, e a conta do ar-condicionado é lendária.", -"Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.":"Regras de internet soberana: todo POP precisa de uma caixa do governo no rack, os vídeos do Goggle são estrangulados e o firewall nacional faz simulados.", -"Far from everything. Every packet here has a long journey home.":"Longe de tudo. Todo pacote daqui tem uma longa viagem de volta pra casa.", -"The most isolated big city on Earth. Asia is closer than Sydney.":"A cidade grande mais isolada da Terra. A Ásia fica mais perto que Sydney.", -"270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.":"270 milhões de pessoas em 17.000 ilhas. Mobile first, e com muita fome de banda.", -"Typhoons, earthquakes and a lot of very online people.":"Tufões, terremotos e muita gente cronicamente online.", -"Startups, techno and a surprising number of data centers in old breweries.":"Startups, techno e um número surpreendente de data centers em cervejarias antigas.", -"Banks, very punctual packets, and racks inside old bank vaults.":"Bancos, pacotes pontualíssimos e racks dentro de cofres de banco antigos.", -"East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.":"O hub da África Oriental. Os cabos chegam em Mombasa, e o dinheiro via celular move tudo.", -"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Quase todo cabo Europa–Ásia atravessa o Egito. Os pedágios são lendários.", -"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Carros, engenheiros e Kehrwoche: cada rack é varrido numa escala rigorosa. Aqui ninguém vende transit, só existe o Spätzle-IX. Faça peering local ou leve seu tráfego até Frankfurt.", -"Asia's hub. Expensive, humid, very well connected.":"O hub da Ásia. Caro, úmido, superconectado.", -"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"China continental. Atrás do Great Firewall, com regras próprias para redes estrangeiras.", -"Mainland China. Enormous market, strict rules, and a famously congested border.":"China continental. Mercado enorme, regras rígidas e uma fronteira famosa pelo congestionamento.", -"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Onde os cabos da América do Sul chegam de verdade. Europa, África e EUA desembarcam aqui e depois pegam um longo backhaul para o sul.", -"Beaches, cable landings and a Carnival that melts traffic graphs every February.":"Praias, chegada de cabos e um Carnaval que derrete os gráficos de tráfego todo fevereiro.", -"Tango, steak and a currency that changes value while you read this.":"Tango, churrasco e uma moeda que muda de valor enquanto você lê isto.", -"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.":"A porta para o Pacífico. Os Andes ficam entre ela e todo o resto, e de vez em quando a terra treme.", -"It almost never rains, but the sea fog keeps the racks cool.":"Quase nunca chove, mas a neblina do mar mantém os racks fresquinhos.", -"High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.":"Lá no alto dos Andes. Nenhuma fibra atravessa a selva de Darién até o Panamá, então o caminho para o norte é por baixo do mar.", -"Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.":"Todo cabo entre as Américas se espreme por aqui. Nada atravessa Darién por terra, então a América do Sul está sempre a um salto submarino.", -"An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.":"Uma cidade enorme e cronicamente online, bem longe do mar. Todo byte submarino pega um backhaul de Mumbai ou Chennai.", -"India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.":"O hub de chegada da costa leste da Índia, com cabos para Singapura. A temporada de ciclones é coisa séria.", -"India’s tech capital. Packets move faster than the cars outside.":"A capital tech da Índia. Os pacotes andam mais rápido que os carros lá fora.", -"Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.":"Todo hyperscaler está construindo uma region aqui. O terreno é barato e o biryani é excelente.", -"Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.":"Fabrica a maioria dos chips do mundo e depende de um punhado de cabos submarinos. Os navios vivem arrastando âncoras em cima deles \"sem querer\".", -"The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.":"A capital. Dinheiro soberano para IA e data centers enormes. Nos Emirados, só as duas operadoras licenciadas podem passar fibra.", -"Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.":"A maioria dos cabos dos Emirados chega nesta costa, fora do Estreito de Ormuz. Ir daqui até Dubai significa alugar do duopólio.", -"Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.":"Onde chegam os cabos atlânticos do sul da África. Pinguins na praia, apagões programados na rede elétrica.", -"Four seasons in one day, and the racks feel every one of them.":"Quatro estações num dia só, e os racks sentem cada uma delas.", -"BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.":"BrisVegas: céu enorme, uma tempestade às quatro em toda tarde de verão, e mais perto dos cabos do Pacífico do que Sydney gostaria de admitir. A Megapork cresceu aqui.", -"Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.":"Pequena, tropical e a cidade australiana mais perto da Ásia. Cabos novos para Singapura e Jakarta chegam aqui, ao lado dos crocodilos.", -"Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.":"O segundo hub do Japão e o plano de disaster recovery de Tóquio. Terremotos raramente atingem as duas.", -"Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.":"Mais barato que Singapura, logo ao lado. Quem constrói data center percebeu, e a rede elétrica também.", -"Big, busy and flooded with traffic, sometimes literally.":"Grande, agitada e inundada de tráfego, às vezes literalmente.", -"Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.":"Cronicamente online e mal servida pelo mar: a qualquer momento, pelo menos um dos seus cabos submarinos está rompido.", -"Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.":"A porta do Paquistão para o mar. Todo cabo chega aqui, e toda nova regra de firewall também.", -"Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.":"Enorme, densa e faminta. O tráfego internacional se espreme por um par de cabos ou vem por terra da Índia.", -"A small island at the crossroads of every Indian Ocean cable.":"Uma ilhota na encruzilhada de todos os cabos do Oceano Índico.", -"Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.":"O hub em ascensão da Europa Central. Mais data centers a cada ano e uma cena de ISPs ferozmente competitiva.", -"Beer is cheaper than water here, and IX ports are cheaper than both.":"Aqui a cerveja é mais barata que a água, e as portas de IX são mais baratas que as duas.", -"The old gateway to Eastern Europe. Packets still bow politely on the way through.":"A antiga porta de entrada do Leste Europeu. Os pacotes ainda fazem uma reverência educada ao passar.", -"Waste heat goes straight into the spa next door.":"O calor residual vai direto para o spa ao lado.", -"Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.":"Banda larga gigabit em casa pelo preço de um café. Os clientes aqui esperam muito por quase nada.", -"Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.":"Tudo digital, e-residency pra qualquer um e cabos no Báltico em que os navios vivem arrastando âncoras.", -"One foot in Europe, one in Asia. Every land route between them crosses here.":"Um pé na Europa, outro na Ásia. Toda rota terrestre entre as duas passa por aqui.", -"Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.":"Os engenheiros de rede ucranianos mantiveram a internet de pé em meio a apagões e coisa muito pior. Geradores, fibra reserva e redundância em tudo são padrão aqui, e a cena de peering é famosa por ser casca-grossa.", -"Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.":"O hub de cabos da Arábia Saudita no Mar Vermelho. Cada vez mais cabos entre Europa, África e Ásia param aqui em vez do Egito.", -"The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.":"A capital, construindo campi de IA em escala de gigawatt. Dados de usuários sauditas precisam ficar no Reino, e todo POP precisa de licença de telecom local.", -"Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.":"Pequeno, rico e superconectado, desde que os vizinhos estejam se falando. A única fronteira terrestre é com a Arábia Saudita.", -"Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.":"A capital digital da Itália. Tráfego de fashion week, um NOC movido a espresso e mais exchanges do que você imaginaria.", -"All roads lead to Rome. Most packets still go via Milan.":"Todos os caminhos levam a Roma. A maioria dos pacotes ainda passa por Milan.", -"A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.":"Uma cidade pequena numa grande encruzilhada. Cabos da Ásia, da África e do Oriente Médio chegam aqui para evitar a volta longa.", -"Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.":"A nova porta atlântica da Europa. Cabos para Brasil, África e EUA chegam mais abaixo na costa, em Sines.", -"Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.":"Cidade antiga, cabos novinhos. A Grécia quer ser o hub de chegada do Mediterrâneo oriental.", -"The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.":"O carrier hotel do Sudeste. Aeroporto mais movimentado, peering mais movimentado ao sul de Ashburn.", -"A mile up and halfway between the coasts, so every cross-country route stops here for a breather.":"Uma milha de altitude e no meio do caminho entre as costas, então toda rota de costa a costa para aqui pra tomar fôlego.", -"Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.":"Terreno barato, energia barata e verões de 48 °C. Os hyperscalers amam. Os chillers, não.", -"Universities, biotech and a carrier hotel that has outlived most of its carriers.":"Universidades, biotech e um carrier hotel que sobreviveu à maioria dos seus carriers.", -"Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.":"Petróleo, gás e furacões. Os geradores aqui são dimensionados para uma semana, e já precisaram disso.", -"Cheap power, dry air and a surprising number of very quiet data centers.":"Energia barata, ar seco e um número surpreendente de data centers bem silenciosos.", -"Hits the high notes across the Atlantic. Huge capacity, cheap waves.":"Alcança as notas altas do Atlântico. Capacidade enorme, waves baratas.", -"Hops from New York to the UK and Spain.":"Pula de New York para o Reino Unido e a Espanha.", -"Nobody remembers who it is named after.":"Ninguém lembra quem dá nome a ele.", -"A friendly cable with French manners.":"Um cabo simpático com bons modos franceses.", -"The straightest line across the Atlantic. Traders pay double to save a few milliseconds.":"A linha mais reta através do Atlântico. Traders pagam o dobro para economizar alguns milissegundos.", -"Laid last century. Cuts often, costs more, still somehow running.":"Lançado no século passado. Rompe com frequência, custa mais e, sabe-se lá como, ainda funciona.", -"Brazil straight to Iberia, skipping the US entirely.":"Do Brasil direto para a Península Ibérica, pulando os EUA por completo.", -"South Atlantic, cool and confident.":"Atlântico Sul, tranquilo e confiante.", -"Discovered the Atlantic again. Old, pricey and fragile.":"Redescobriu o Atlântico. Velho, caro e frágil.", -"All the way around Africa and back. Cheapest capacity on the map.":"Dá a volta inteira na África e volta. A capacidade mais barata do mapa.", -"Always agrees with you. Iberia to West Africa.":"Sempre concorda com você. Da Península Ibérica à África Ocidental.", -"Sixth in a long-running series. Europe to India to Singapore.":"Sexto de uma longa franquia. Europa, Índia, Singapura.", -"Marseille to Singapore, then it leaves the party.":"De Marseille a Singapura, e aí sai da festa.", -"Asia, Africa, Europe, and one more thing.":"Ásia, África, Europa e mais uma coisinha.", -"The pretty way around East Asia.":"O caminho bonito pela Ásia Oriental.", -"Named after a planet, behaves like one: big and far away.":"Tem nome de planeta e age como um: grande e distante.", -"Its predecessor was FASTER. Marketing had a good day.":"O antecessor era o FASTER. O marketing estava inspirado.", -"Crosses the Pacific, mildly annoyed about it.":"Atravessa o Pacífico, levemente irritado com isso.", -"Lighter on paperwork than its namesake. Still heavy on paperwork.":"Menos burocracia que o xará. Ainda assim, muita burocracia.", -"Old Pacific workhorse. Everyone hopes it holds.":"Velho burro de carga do Pacífico. Todo mundo torce pra ele aguentar.", -"Quick Pacific crossing with a stop for snacks.":"Travessia rápida do Pacífico com parada pro lanche.", -"Singapore to Sydney via Perth, on the days it is up.":"De Singapura a Sydney via Perth, nos dias em que está funcionando.", -"A bet on a tiny island in the middle of the Pacific.":"Uma aposta numa ilhota no meio do Pacífico.", -"Perth to the Gulf across the Indian Ocean. Oh man, it is long.":"De Perth ao Golfo pelo Oceano Índico. Nossa, como é comprido.", -"Sydney to Auckland with plenty to spare.":"De Sydney a Auckland, com capacidade de sobra.", -"A rainbow bridge from Singapore to California, via Jakarta and Manila.":"Uma ponte de arco-íris de Singapura à Califórnia, via Jakarta e Manila.", -"Southeast Asia to Japan, with snacks.":"Do Sudeste Asiático ao Japão, com lanchinho.", -"Iceland’s lifeline to Scotland. Lonely but determined.":"A tábua de salvação da Islândia até a Escócia. Solitário, mas determinado.", -"Iceland to Denmark, choreographed.":"Da Islândia à Dinamarca, com coreografia.", -"Hops via Greenland. Polar bears included.":"Faz escala na Groenlândia. Ursos-polares inclusos.", -"Iceland to Ireland, brand new and still smells like plastic.":"Da Islândia à Irlanda, novinho em folha e ainda com cheiro de plástico.", -"New York to Ireland: the tech-tax express.":"De New York à Irlanda: o expresso do planejamento tributário.", -"Danish for “sea fun”. Probably.":"Em dinamarquês quer dizer \"diversão no mar\". Provavelmente.", -"Dublin to London across the Irish Sea.":"De Dublin a London pelo Mar da Irlanda.", -"Dubai to Mumbai. Hits hard.":"De Dubai a Mumbai. Bate forte.", -"A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable.":"Um gateway da Europa à Índia pelo Mar Vermelho. Pronuncia-se como um cabo muito surpreso.", -"Helsinki to Germany under the Baltic. Anchors keep finding it.":"De Helsinki à Alemanha por baixo do Báltico. As âncoras vivem achando ele.", -"Short hop across the North Sea. An odyssey it is not.":"Um pulinho pelo Mar do Norte. Odisseia não é.", -"London to Paris under the Channel. Cheaper than the train.":"De London a Paris por baixo do Canal da Mancha. Mais barato que o trem.", -"Across the Mediterranean, Egypt to France. Romantic, in a cable way.":"Pelo Mediterrâneo, do Egito à França. Romântico, do jeito de um cabo.", -"East Africa up to Europe via the Red Sea. Lemon squeezy.":"Da África Oriental até a Europa via Mar Vermelho. Moleza.", -"Kenya to the Gulf. Makes the dream work.":"Do Quênia ao Golfo. Faz o sonho acontecer.", -"Brazil to Florida. The invoice arrives just as fast.":"Do Brasil à Flórida. A fatura chega tão rápido quanto.", -"Straight from São Paulo to New York, skipping the Miami hairpin.":"Direto de São Paulo a New York, pulando a curva de Miami.", -"An old ring around the whole continent, the long way round Cape Horn.":"Um anel antigo em volta do continente inteiro, pelo caminho longo do Cabo Horn.", -"Los Angeles to Chile, with a small detour for Panama.":"De Los Angeles ao Chile, com um desviozinho pelo Panamá.", -"Hops the Caribbean so Bogotá can skip the jungle.":"Pula pelo Caribe pra Bogotá não precisar passar pela selva.", -"Named after a wine. São Paulo to Buenos Aires, past Uruguay.":"Tem nome de vinho. De São Paulo a Buenos Aires, passando pelo Uruguai.", -"The first cable from South America to Oceania. 14,000 km of very lonely glass.":"O primeiro cabo da América do Sul à Oceania. 14.000 km de vidro muito solitário.", -"Up the west coast of Africa. Something on it is always down.":"Sobe a costa oeste da África. Sempre tem alguma coisa fora do ar.", -"An old cable from Cape Town round to India, via some very small islands.":"Um cabo antigo de Cape Town até a Índia, passando por ilhas minúsculas.", -"Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore.":"De Fujairah a Mumbai, contornando a ponta da Índia até Chennai, e depois até Singapura.", -"Chennai to Singapore, looking it straight in the eye.":"De Chennai a Singapura, olhando no olho.", -"A short cable across a very tense strait.":"Um cabo curto atravessando um estreito bem tenso.", -"Leaves the Gulf from Fujairah and runs up the Red Sea to Europe.":"Sai do Golfo por Fujairah e sobe o Mar Vermelho até a Europa.", -"An Asia–America gateway cable that breaks so often it has its own support group.":"Um cabo gateway Ásia–América que rompe tanto que tem até grupo de apoio.", -"Darwin to Singapore via Jakarta. Survival of the fittest packets.":"De Darwin a Singapura via Jakarta. Só os pacotes mais aptos sobrevivem.", -"Brisbane to Tokyo with a beach break in Guam.":"De Brisbane a Tóquio com uma pausa na praia em Guam.", -"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.":"A geração anterior. Ainda leva quase tudo de Paquistão, Sri Lanka e Bangladesh, na base da esperança.", -"Short hops under the Baltic Sea. Every passing ship seems to find it.":"Pulinhos por baixo do Mar Báltico. Todo navio que passa parece encontrá-lo.", -"Istanbul to Bucharest's coast across the Black Sea.":"De Istanbul à costa de Bucharest pelo Mar Negro.", -"North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen.":"Burro de carga do Mar do Norte de London a Amsterdam. Pares de dark fiber à venda às dúzias.", -"Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone.":"De Lisboa a Barcelona e Marseille pela costa. Olhe direto para o gráfico de latência e ele vira pedra.", -"Another London–Amsterdam route. Everyone has one, so prices are low.":"Mais uma rota London–Amsterdam. Todo mundo tem uma, então os preços são baixos.", -"Brand new, cheap, and it lands right next to your racks.":"Novinho, barato e chega bem do lado dos seus racks.", -"India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way.":"Índia, Oriente Médio e Europa Ocidental, tudo num cabo só. Passa pelo Cairo no caminho.", -"New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore.":"Os cabos novos chegam cada vez mais em Jeddah em vez do Egito. Este vai para a Índia e Singapura.", -"A quick hop across the Red Sea between Egypt and Saudi Arabia.":"Um pulinho pelo Mar Vermelho entre o Egito e a Arábia Saudita.", -"Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed.":"Liga Doha ao resto do Golfo pelo mar, o que vem a calhar quando a fronteira terrestre fecha.", -"Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one.":"De Portugal ao Sudeste dos EUA via Bermudas. Em português significa nuvem, e o dono é uma.", -"Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting.":"De Genova à Sicília e depois até Athens, lançado por um gigante das buscas que cansou de alugar.", -"Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily.":"De Palermo a Marseille e Alexandria. Todo atalho Europa–Ásia quer uma parada na Sicília.", -"Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!":"De Athens a Alexandria, e subindo os Dardanelos até Istanbul. Opa!", -"Boston to Dublin. Nobody has thrown it into the harbour yet.":"De Boston a Dublin. Ninguém jogou ele no porto ainda.", -"Grew from a seedling into a global backbone. Leaves no route behind.":"Cresceu de mudinha a backbone global. Não deixa nenhuma rota pra trás.", -"Huge in Asia. \"Which telecom?\" \"Not that one.\"":"Enorme na Ásia. \"Qual telecom?\" \"Não essa.\"", -"Nordic backbone that tells you exactly where your packets went.":"Backbone nórdico que te diz exatamente pra onde foram seus pacotes.", -"Cheapest transit on the map. Famously gentle, except during peering spats.":"O transit mais barato do mapa. Famoso pela gentileza, menos durante as brigas de peering.", -"Waves goodbye to latency across the Indian Ocean.":"Dá tchau pra latência com uma wave pelo Oceano Índico.", -"Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.":"Faz peering com qualquer um, em qualquer lugar. Dizem que manda bolos IPv6 pelo correio.", -"Juicy reach into Europe and Africa.":"Alcance suculento na Europa e na África.", -"Sings your packets across Asia-Pacific.":"Canta seus pacotes pela Ásia-Pacífico.", -"Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.":"Acabou com o peering gratuito na Europa e passou para a Inter.Clink, sua \"parceira de interconexão\", que vende uma conexão direta com prazer. Só peering pago, via PNI. Trim trim, é a fatura.", -"The biggest network in China. Its CN-Too premium route skips the congested border, for a price.":"A maior rede da China. A rota premium CN-Too evita a fronteira congestionada, por um preço.", -"Number two in China, with a horn for every backbone.":"A número dois da China, com um chifre para cada backbone.", -"The largest mobile network on Earth. Paid peering only.":"A maior rede mobile da Terra. Só peering pago.", -"Huge eyeball network. Come for the broadband, stay because there is no other choice.":"Rede eyeball gigante. Vem pela banda larga, fica porque não tem outra opção.", -"Pink eyeball giant. Peering is available... for a monthly fee.":"Gigante eyeball cor-de-rosa. O peering está disponível... mediante mensalidade.", -"Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.":"Faz streaming de 40% do tráfego da noite. Dá caches de graça se você mandar eyeballs suficientes.", -"Search, video and goggles. Mostly goggles.":"Busca, vídeo e óculos de natação. Principalmente óculos.", -"Social media. Everyone keeps falling for it.":"Rede social. Todo mundo continua caindo nessa.", -"The original CDN. Maybe it is already in your rack.":"A CDN original. Talvez já esteja no seu rack.", -"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protege metade da web de multidões de bots. O Rackstar Partner Program (RPP) coloca um cache no seu rack quando você envia tráfego suficiente.", -"The cloud. It's just someone else's Ashburn.":"A nuvem. É só o Ashburn de outra pessoa.", -"Updates. So many updates.":"Atualizações. Tantas atualizações.", -"Short videos, very long traffic graphs.":"Vídeos curtos, gráficos de tráfego longuíssimos.", -"An edge cloud that is, despite the name, quite fast.":"Um edge cloud que, apesar do nome, é bem rápido.", -"Chat, games and payments. Every message costs ten cents.":"Chat, jogos e pagamentos. Cada mensagem custa dez centavos.", -"Shopping festivals that melt traffic graphs.":"Festivais de compras que derretem gráficos de tráfego.", -"Search, maps and a cheerful goodbye.":"Busca, mapas e um tchau animado.", -"The national carrier. Every punchline is pre-approved.":"A operadora nacional. Toda piada é pré-aprovada.", -"Search, taxis and maps. Slightly sleepy.":"Busca, táxis e mapas. Meio sonolento.", -"Social network with perfect vision.":"Rede social com visão perfeita.", -"Charges a lot. Paid peering only, and the name says it all.":"Cobra caro. Só peering pago, e o nome já diz tudo.", -"Mexico’s giant. Paid peering only, and the pricing is a mess.":"O gigante do México. Só peering pago, e a tabela de preços é uma bagunça.", -"Polite, enormous, and sorry about the bill.":"Educado, enorme e pedindo desculpas pela conta.", -"Indonesia’s mobile giant. Every packet poses for a photo first.":"O gigante mobile da Indonésia. Todo pacote faz pose pra foto antes.", -"Philippine giant. Peering requests are reviewed over a cup of tea.":"Gigante filipino. Pedidos de peering são avaliados com uma xícara de chá.", -"New Zealand’s shiniest ISP.":"O ISP mais brilhante da Nova Zelândia.", -"Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.":"O grandão da Austrália. G'day, são nove dólares o megabit. Ops, gigabit.", -"Kenya’s mobile giant. Pays you in M-Pesos.":"O gigante mobile do Quênia. Te paga em M-Pesos.", -"Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.":"Dono da travessia terrestre de que todo cabo do Mar Vermelho precisa. Cobra pedágio como um faraó.", -"The big regional carrier. Sees everything clearly, especially your invoice.":"A grande operadora regional. Vê tudo com clareza, principalmente a sua fatura.", -"Brazil’s mobile giant. Very much alive.":"O gigante mobile do Brasil. Vivíssimo.", -"Ships parcels and packets, both overnight.":"Entrega pacotes e pacotes, os dois em 24 horas.", -"Gave a billion people cheap data. Knows exactly where every one of them is.":"Deu dados baratos a um bilhão de pessoas. Sabe exatamente onde cada uma está.", -"India’s other giant. Every outage comes with a story.":"O outro gigante da Índia. Toda queda vem com uma história.", -"Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.":"A incumbent de Taiwan. Mantém a calma enquanto navios arrastam âncoras sobre seus cabos.", -"The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.":"A outra metade do duopólio dos Emirados. Faz o mesmo que a Etis-a-lot, em outra cor.", -"Japanese carrier that builds everything itself. Even the cable ships.":"Operadora japonesa que constrói tudo sozinha. Até os navios lançadores de cabo.", -"Thailand’s mobile giant. Its coverage maps are mostly true.":"O gigante mobile da Tailândia. Os mapas de cobertura são quase todos verdadeiros.", -"Vietnam’s giant. Will tell you which subsea cable is broken this week.":"O gigante do Vietnã. Te conta qual cabo submarino está rompido esta semana.", -"Pakistan’s incumbent. Every session comes with a firewall rule.":"A incumbent do Paquistão. Toda sessão vem com uma regra de firewall.", -"Malaysia’s incumbent. In no hurry whatsoever.":"A incumbent da Malásia. Sem pressa nenhuma.", -"Bridges Europe and Asia, and occasionally your BGP table.":"Une Europa e Ásia, e de vez em quando a sua tabela BGP.", -"Gigabit to every flat for the price of a coffee. Peers with anyone.":"Gigabit em todo apartamento pelo preço de um café. Faz peering com qualquer um.", -"Cable broadband across Central Europe. See you later, in a support queue.":"Banda larga a cabo em toda a Europa Central. Até mais, na fila do suporte.", -"Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.":"A maior rede mobile da Ucrânia. Continuou funcionando em situações que a maioria das redes nunca precisa planejar.", -"The Kingdom’s incumbent. Once you are in, you stay in.":"A incumbent do Reino. Entrou, não sai mais.", -"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"A grande operadora do Catar. Só peering pago, e ela canta a tabela de preços pra você.", -"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"A incumbent da Itália. Doce por fora, firme demais nos ratios de peering.", -"Fiber to the Italian home, with a website from 2003.":"Fibra até a casa dos italianos, com um site de 2003.", -"Portugal’s incumbent. Purrs when you send it traffic.":"A incumbent de Portugal. Ronrona quando você manda tráfego.", -"Peers with anyone, and wants to know everything about your routes.":"Faz peering com qualquer um, e quer saber tudo sobre as suas rotas.", -"Greece’s incumbent. Takes careful notes on every peering request.":"A incumbent da Grécia. Anota tudo com cuidado em cada pedido de peering.", -"Cable broadband for half of America. Haunts your traceroutes.":"Banda larga a cabo para meia América. Assombra seus traceroutes.", -"Can you hear me now? Only if you pay for the PNI.":"Tá me ouvindo agora? Só se pagar pela PNI.", -"A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.":"Um exchange comercial menor, na mesma rua do DE-KICKS. Publica seus preços numa página da web, o que o DE-KICKS considera um ato de guerra. As portas vêm sem webinar de vendas.", -"A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.":"Um exchange comunitário que funciona em cima de um bar de sidra. Minúsculo, barato, e todo membro ganha um copo.", -"One fabric across the whole country. Distributed, cheap and a little smug about it.":"Um fabric só para o país inteiro. Distribuído, barato e meio convencido disso.", -"Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.":"Peering settlement-free com raízes frísias. As portas 10G e 100G não custam nada. Traga um ASN e apetite por route servers. Maionese é à parte.", -"Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.":"Dos membros e sem fins lucrativos. Menor que o LYNX, mas a assembleia anual tem biscoito.", -"The challenger. Fresh every morning, a bit crusty by the evening.":"O desafiante. Fresquinho toda manhã, meio amanhecido à noite.", -"The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.":"O tradicional exchange de Madrid. Interconexão neutra, sabor local e um route server que nunca tira siesta.", -"Opens at six, comes with free snacks, closes when the last session drops.":"Abre às seis, vem com petiscos grátis e fecha quando cai a última sessão.", -"Run by hackers on caffeine. The route server has a disco ball.":"Gerido por hackers à base de cafeína. O route server tem globo de discoteca.", -"Warsaw has more exchanges than anyone can count. This is the second biggest, this week.":"Warsaw tem mais exchanges do que dá pra contar. Este é o segundo maior, esta semana.", -"Open-faced, cheap and available at 3 a.m.":"Aberto, barato e disponível às 3 da manhã.", -"Dense, filling and very cheap.":"Denso, substancioso e baratíssimo.", -"Grilled ports, served with mustard and a cold beer.":"Portas na brasa, servidas com mostarda e uma cerveja gelada.", -"Every session comes with a coffee break. Strictly enforced.":"Toda sessão vem com pausa pro café. Obrigatória.", -"Layered, resilient and somehow always open.":"Em camadas, resiliente e, não se sabe como, sempre aberto.", -"A community exchange in a Hudson Street basement. Schmear not included.":"Um exchange comunitário num porão da Hudson Street. Schmear não incluso.", -"Takes forever to set up, but very filling.":"Leva uma eternidade pra configurar, mas enche a barriga.", -"Started in somebody’s garage, like everything else round here.":"Nasceu na garagem de alguém, como tudo por aqui.", -"You can’t see the fabric, but it is definitely there.":"Você não vê o fabric, mas ele está lá, com certeza.", -"Strong, sweet and cheaper than the incumbent.":"Forte, docinho e mais barato que o incumbente.", -"Lots of small sessions on little plates.":"Várias sessõezinhas em pratinhos.", -"Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.":"Tokyo tem mais exchanges do que alguém consegue nomear. Este foi criado por um gigante da banda larga e vem bem embalado, cada membro no seu compartimento.", -"The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.":"A desafiante do IX Straya. Aparece na borda de toda cidade, inclusive nas que ninguém mais se dá ao trabalho de atender. Um gosto adquirido, como Vegemite.", -"The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.":"O exchange mais antigo de Johannesburg, gerido pela associação de ISPs locais. Bata na madeira antes de cada janela de manutenção.", -"Mumbai’s street-food exchange. Fast, spicy and cheap.":"O exchange street food de Mumbai. Rápido, apimentado e barato.", -"The challenger to the DE-KICKS fabric, wrapped and ready to go.":"O desafiante do fabric DE-KICKS, embrulhado e pronto pra viagem.", -"Three servers, one dehumidifier and a very patient grandmother.":"Três servidores, um desumidificador e uma avó muito paciente.", -"Powered by renewable rodents. Uptime depends on snack schedule.":"Movido a roedores renováveis. O uptime depende do horário do lanche.", -"A fiber co-op for one valley. Every member owns a metre of cable.":"Uma cooperativa de fibra para um único vale. Cada membro é dono de um metro de cabo.", -"An ISP run from the back of a kebab shop. Late-night support is excellent.":"Um ISP operado nos fundos de uma lanchonete de kebab. O suporte de madrugada é excelente.", -"Volunteers with rooftop antennas and strong opinions about IPv6.":"Voluntários com antenas no telhado e opiniões fortes sobre IPv6.", -"Dug the trench themselves, one field at a time.":"Cavaram a vala eles mesmos, um campo de cada vez.", -"Hosts exactly one website and three lawyers.":"Hospeda exatamente um site e três advogados.", -"Packets leave on time, to the second.":"Os pacotes saem no horário, cravado no segundo.", -"Game servers, energy drinks and a ping obsession.":"Servidores de jogos, energéticos e uma obsessão por ping.", -"Racks in the nave, cooling in the crypt. Divine uptime.":"Racks na nave, refrigeração na cripta. Uptime divino.", -"Wireless internet from the top of a grain silo.":"Internet wireless do alto de um silo de grãos.", -"Rural fiber that follows the tractor routes.":"Fibra rural que segue as rotas dos tratores.", -"Has served the lake since 1912. Now with fiber.":"Atende o lago desde 1912. Agora com fibra.", -"Hosting for surfboard shops. Closed when the waves are good.":"Hosting para lojas de prancha de surfe. Fecha quando o mar está bom.", -"Fiber strung along the chairlifts. Seasonal latency.":"Fibra esticada ao longo dos teleféricos. Latência sazonal.", -"Covers a lot of empty ground.":"Cobre um monte de terreno vazio.", -"Ten thousand GPUs and a podcast.":"Dez mil GPUs e um podcast.", -"Has had a /8 since before you were born.":"Tem um /8 desde antes de você nascer.", -"Family-run since dial-up. Still answers the phone.":"Familiar desde a internet discada. Ainda atende o telefone.", -"Yee-haw and low Earth orbit.":"Yee-haw e órbita baixa da Terra.", -"Utah’s dipping-sauce of an ISP.":"O molhinho especial dos ISPs de Utah.", -"Servers cooled by the lake, then used to heat the sauna.":"Servidores resfriados pelo lago, depois usados para aquecer a sauna.", -"Wireless links across the tundra. Antlers occasionally in the way.":"Links wireless pela tundra. De vez em quando tem uns chifres no caminho.", -"Cheap, filling hosting. Ask for the potato-and-cheese plan.":"Hosting barato e que sustenta. Peça o plano batata com queijo.", -"Kept the lights on in its town through every blackout.":"Manteve as luzes acesas na sua cidade em todos os apagões.", -"Fiber laid under the tram tracks during a night shift.":"Fibra lançada sob os trilhos do bonde num turno da noite.", -"Spicy pricing, mild latency.":"Preços apimentados, latência suave.", -"Only comes online at night.":"Só fica online de noite.", -"Wi-Fi on every ferry, backhaul on every bridge.":"Wi-Fi em toda balsa, backhaul em toda ponte.", -"Started in Venice. Upgraded to land.":"Nasceu em Veneza. Depois foi promovido a terra firme.", -"Hosting for every family restaurant in the south.":"Hosting para toda cantina de família do Sul.", -"Slow on the hills, fast on the flat.":"Lento na subida, rápido no plano.", -"Rural broadband for the islands, one olive tree at a time.":"Banda larga rural para as ilhas, uma oliveira de cada vez.", -"Down from 2 to 5 p.m. every day. By design.":"Fora do ar das 14h às 17h todo dia. De propósito.", -"A rich mix of everything the fishermen brought in.":"Um mix caprichado de tudo que os pescadores trouxeram.", -"Delivered fresh every morning.":"Entregue fresquinho toda manhã.", -"Founded after a pub quiz, by the losing team.":"Fundado depois de um pub quiz, pelo time que perdeu.", -"Internet cafe turned ISP. The gamers came for the ping.":"Lan house que virou ISP. Os gamers vieram pelo ping.", -"Wi-Fi on minibuses, and the music is free.":"Wi-Fi nos micro-ônibus, e a música é de graça.", -"Has more batteries than customers.":"Tem mais baterias do que clientes.", -"Three-hour films, zero-second start times.":"Filmes de três horas, zero segundo pra começar.", -"Cheap, fast and open late.":"Barato, rápido e aberto até tarde.", -"Lyrics servers, low latency, high pitch.":"Servidores de letras de música, latência baixa, tom alto.", -"Comes alive after dark.":"Ganha vida depois que escurece.", -"Packets hop. Sometimes backwards.":"Os pacotes pulam. Às vezes pra trás.", -"Cosy racks under a hill. Second breakfast at 11.":"Racks aconchegantes debaixo de uma colina. Segundo café da manhã às 11.", -"Gets along with every other network. Famously chill.":"Se dá bem com todas as outras redes. Famoso por ser de boa.", -"Mountain wireless. Will spit at bad routes.":"Wireless de montanha. Cospe em rotas ruins.", -"Gold-plated servers, valet parking for packets.":"Servidores banhados a ouro, manobrista para os pacotes.", -"It takes two to peer.":"Quando um não quer, dois não fazem peering.", -"Crispy on the outside, cheap on the inside.":"Crocante por fora, barato por dentro.", -"Colourful, crowded and gets you there eventually.":"Colorido, lotado e uma hora te leva lá.", -"Hosts every game you play at 2 a.m. Hates jitter.":"Hospeda todo jogo que você joga às 2 da manhã. Odeia jitter.", -"Voice chat for millions of gamers who all talk at once.":"Chat de voz para milhões de gamers que falam todos ao mesmo tempo.", -"A thousand tiny social networks on one rack.":"Mil redes sociais minúsculas num só rack.", -"Fiber laid along the bike lanes. Fastest in the rain.":"Fibra lançada ao longo das ciclovias. Mais rápida na chuva.", -"Bunny suits mandatory in the server room.":"Macacão de sala limpa obrigatório na sala de servidores.", -"Runs the village network between call-outs.":"Cuida da rede da vila entre um chamado e outro.", -"Sweet, fuzzy and surprisingly reliable.":"Doce, aveludado e surpreendentemente confiável.", -"Thick, comforting and very New England.":"Encorpado, reconfortante e muito New England.", -"Tier 1":"Tier 1", -"Tier 2":"Tier 2", -"CDN / content":"CDN / conteúdo", -"Eyeballs":"Eyeballs", -"Enterprise DIA":"DIA corporativo", -"Game servers":"Servidores de jogos", -"Hosting":"Hosting", -"Downstream ISP (buys transit)":"ISP downstream (compra transit)", -"L2VPN circuit":"Circuito L2VPN", -"Streaming startup":"Startup de streaming", -"University network":"Rede universitária", -"AI GPU data center":"Data center de GPU para IA", -"Cloud on-ramp":"On-ramp de cloud", -"AI training interconnect":"Interconexão para treino de IA", -"Hyperscaler DCI":"DCI de hyperscaler", -"High-frequency trading link":"Link para trading HFT", -"Bulk backup transfer (latency does not matter)":"Backup em massa (latência não importa)", -"Event network":"Rede de evento", -"SD-WAN for a chain":"SD-WAN para uma rede de lojas", -"Wholesale wave":"Wave no atacado", -"Dark fiber pair lease":"Aluguel de par de dark fiber", -"DDoS protection + DIA":"Proteção DDoS + DIA", -"AI WAN between two AI factories":"AI WAN entre duas fábricas de IA", -"Multi-site training run":"Treino multi-site", -"Dataset ingest (elephant flow)":"Ingest de dataset (elephant flow)", -"Hundreds of fiber pairs":"Centenas de pares de fibra", -"Provedor (small regional ISP)":"Provedor (pequeno ISP regional)", -"Local ISP":"ISP local", -"Start here":"Comece aqui", -"Enterprises, game servers, hosting, L2VPNs and DDoS protection.":"Empresas, servidores de jogos, hosting, L2VPNs e proteção DDoS.", -"Regional player":"Player regional", -"peak 200 Gbps and 3 POPs":"pico de 200 Gbps e 3 POPs", -"Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.":"ISPs downstream, startups de streaming e universidades. Equipamento: routers Edge Lord 400, aluguel de dark fiber, DWDM Rainbow-in-a-Box, ópticas Ackackia 400ZR+.", -"Serious backbone":"Backbone de respeito", -"peak 1 Tbps and 6 POPs":"pico de 1 Tbps e 6 POPs", -"AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.":"Data centers de GPU para IA e on-ramps de cloud. Equipamento: routers Chonk 800, ópticas Sizzle 800ZR+, line systems ROADMaster 9000 e fibra própria.", -"Big league":"Primeira divisão", -"peak 3 Tbps, 10 POPs, 3 continents":"pico de 3 Tbps, 10 POPs, 3 continentes", -"AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.":"Interconexões para treino de IA e contratos de DCI com hyperscalers na casa dos terabits. Equipamento: routers Absolute Unit 1.6T, transponders Sienna WaveMagic 1.6T.", -"Light up your first customers":"Acenda seus primeiros clientes", -"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.":"Abra sua cidade natal e aperte “Lançar banda larga”. Eyeballs são pessoas em casa vendo vídeo de gatinho. Elas te pagam todo mês.", -"Reach the whole internet":"Alcance a internet inteira", -"Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.":"Seus eyeballs querem tudo. Compre IP transit de um Tier 1 ou Tier 2 na sua cidade. O transit te dá a tabela de roteamento completa.", -"Join an Internet Exchange":"Entre num Internet Exchange", -"Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.":"Pegue uma porta num IX: um grande switch compartilhado onde as redes trocam tráfego de graça em vez de pagar transit.", -"Make 5 peering friends":"Faça 5 amigos de peering", -"On the Peering tab, request sessions, or join the route server to peer with every open network at once.":"Na aba Peering, peça sessões ou entre no route server para fazer peering com todas as redes abertas de uma vez.", -"Lay your first fiber":"Lance sua primeira fibra", -"Drag from your pink router to another city. Short hops are cheap. Oceans are not.":"Arraste do seu router rosa até outra cidade. Saltos curtos são baratos. Oceanos, não.", -"Sign a business customer":"Feche um cliente empresarial", -"Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.":"Empresas aparecem com uma bolha de $. Você precisa de um POP na cidade delas. Veja a aba Negócios.", -"Survive a failure":"Sobreviva a uma falha", -"Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.":"As coisas quebram o tempo todo. Construa um segundo caminho ou um segundo upstream para o tráfego ser redirecionado quando algo morrer.", -"Host an embedded cache":"Hospede um cache embedded", -"Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.":"As grandes CDNs te dão caixas de cache de graça quando você manda tráfego suficiente pra elas. Banda grátis, é só ligar na tomada.", -"Set up a PNI":"Ative um PNI", -"A private cross-connect to one network in the same data center, for when traffic outgrows the IX.":"Um cross-connect privado com uma rede no mesmo data center, para quando o tráfego não cabe mais no IX.", -"Go global":"Vire global", -"Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.":"Tenha POPs em 3 continentes. Cabos submarinos custam uma fortuna, então planeje a rota.", -"Become a Tier 2":"Vire Tier 2", -"5+ POPs, ports on 3+ IXs and 15+ peering sessions.":"5+ POPs, portas em 3+ IXs e 15+ sessões de peering.", -"Serve 1 Tbps":"Sirva 1 Tbps", -"A terabit per second of happy traffic.":"Um terabit por segundo de tráfego feliz.", -"Light your own dark fiber":"Acenda sua própria dark fiber", -"Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.":"Alugue ou cave dark fiber, coloque um sistema DWDM e acenda um canal. Mais barato por bit que waves, quando funciona.", -"Be in two buildings at once":"Esteja em dois prédios ao mesmo tempo", -"Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.":"Adicione um segundo site numa metrópole pela aba Infra, para um apagão não deixar mais a cidade inteira no escuro.", -"Five continents":"Cinco continentes", -"POPs in five of the six regions on the map.":"POPs em cinco das seis regiões do mapa.", -"Sign a giant":"Feche com um gigante", -"Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.":"Conquiste uma AI WAN, um treino multi-site ou um contrato de pares de fibra com um hyperscaler. Exige nível de cliente 4 e um POP perto do campus deles.", -"Serve 10 Tbps":"Sirva 10 Tbps", -"Ten terabits per second of happy traffic. The giants will notice.":"Dez terabits por segundo de tráfego feliz. Os gigantes vão notar.", -"Go transit-free: Tier 1!":"Livre de transit: Tier 1!", -"Only lends to people who do not need it.":"Só empresta dinheiro pra quem não precisa.", -"Very solid. Mostly.":"Muito sólido. Quase sempre.", -"Lends you money and also a little bit of their own.":"Te empresta dinheiro e, às vezes, um pouquinho do dele também.", -"Nervous, but enthusiastic.":"Nervoso, mas empolgado.", -"Opened three accounts for you while you read this.":"Abriu três contas pra você enquanto você lia isto.", -"Cheap, patient, and very particular about Stuttgart.":"Barato, paciente e muito exigente com Stuttgart.", -"Instant approval. Instant regret.":"Aprovação instantânea. Arrependimento instantâneo.", -"Cheap state money for connecting the underserved. Bring a pen.":"Dinheiro público barato para conectar quem ficou de fora. Traga uma caneta.", -"Pays out in TubeCoin. Value may vary. A lot.":"Paga em TubeCoin. O valor pode variar. Muito.", -"No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.":"Sem parcelas, nunca. Só uma fatia da sua receita, pra sempre, e muitas opiniões.", -"Always open. Ask no questions. Do not be late.":"Sempre aberto. Sem perguntas. Não se atrase.", -"Keep your peering ratio above 30%. The bank read a blog post about peering.":"Mantenha sua taxa de peering acima de 30%. O banco leu um post de blog sobre peering.", -"Keep POPs on at least 2 continents. Diversification!":"Mantenha POPs em pelo menos 2 continentes. Diversificação!", -"Your CEO plays golf with our CEO every Thursday.":"Seu CEO joga golfe com o nosso CEO toda quinta.", -"No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.":"Nada de transit da Cogentle, em lugar nenhum. Nosso CEO levou um de-peering uma vez e nunca se recuperou.", -"Every POP needs a backup generator. Our risk team saw one disaster movie.":"Todo POP precisa de um gerador de backup. Nosso time de risco viu um filme-catástrofe.", -"Send us your monthly report by fax.":"Mande seu relatório mensal por fax.", -"Deliver at least 95% of what your customers want.":"Entregue pelo menos 95% do que seus clientes querem.", -"Our logo goes on every router you own.":"Nosso logo vai em todo router que você tiver.", -"Never let cash drop below $50k. It makes us sweat.":"Nunca deixe o caixa cair abaixo de $50k. Isso nos dá suor frio.", -"Stay out of mainland China. Compliance said so.":"Fique fora da China continental. O compliance mandou.", -"No new subsea links while this loan runs. We are afraid of sharks.":"Nada de novos links submarinos enquanto durar o empréstimo. Temos medo de tubarão.", -"Peer at the Spätzle-IX in Stuttgart. Local money for local packets.":"Faça peering no Spätzle-IX em Stuttgart. Dinheiro local para pacotes locais.", -"Do the Kehrwoche: keep your NOC free of incidents older than a week.":"Faça a Kehrwoche: mantenha seu NOC livre de incidentes com mais de uma semana.", -"Download our app and enable all notifications.":"Baixe nosso app e ative todas as notificações.", -"Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).":"Ofereça banda larga residencial em algum lugar mal atendido (Ásia, África, Oceania ou América do Sul).", -"Fill in form T-17b in triplicate, every month, forever.":"Preencha o formulário T-17b em três vias, todo mês, pra sempre.", -"Never sell your TubeCoin. Diamond hands.":"Nunca venda seus TubeCoins. Mãos de diamante.", -"Open a new POP at least every 90 days. Blitzscale or die.":"Abra um novo POP pelo menos a cada 90 dias. Blitzscale ou morra.", -"{bank} would like to lend you {amount}.":"{bank} quer te emprestar {amount}.", -"They heard you might be in a spot of bother.":"Ficaram sabendo que você pode estar meio enrolado.", -"Terms apply. Several terms.":"Sujeito a condições. Várias condições.", -"Open bank":"Abrir banco", -"{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.":"{bank} não está feliz.
Você violou uma condição do empréstimo: {cond} Resolva em 10 dias ou pague uma multa.", -"{bank} are circling.
They now take {pct} of your revenue.":"{bank} estão rondando.
Agora eles levam {pct} da sua receita.", -"Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.":"Multa de {bank}: {fee}
Somada ao que você deve. Sua parcela mensal agora é {pay}.", -"Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.":"Empréstimo de {bank} quitado!
Mandaram uma cesta de frutas. É quase tudo banana.", -"Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} \"as a reminder\".":"Dois senhores muito grandes da Loan Shark Telecom Finance desligaram seu router em {city} “como lembrete”.", -"The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.":"O agiota mandou um lembrete.
Seu POP em {city} fica apagado até amanhã.", -"Only Spätzle-IX":"Só Spätzle-IX", -"Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.":"Comece em Stuttgart, onde ninguém vende transit. Alcance a internet só com peering, PNIs, caches e sua própria fibra. Nada de transit, em lugar nenhum, nunca.", -"Red Sea Crisis":"Crise no Mar Vermelho", -"Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.":"Todos os cabos pelo Mar Vermelho foram cortados, e o salto para o Egito também. Faça Marseille falar com Singapore mesmo assim: contornando a África, por terra ou pelo outro lado do planeta.", -"The Cogentle Spat":"A briga da Cogentle", -"Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.":"Cogentle e Goggle não se falam, e desta vez é pra sempre. Compre o transit barato, se tiver coragem.", -"99% reach and 150 Gbps served":"99% de alcance e 150 Gbps servidos", -"Carnaval":"Carnaval", -"Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.":"Rio do zero. O Carnaval começa em 90 dias e quer 400 Gbps por cinco dias seguidos. O mundo inteiro está assistindo.", -"Deliver Carnaval in full":"Entregue o Carnaval completo", -"Mind the Gap":"Cuidado com o Vão", -"Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.":"Comece em Panama City. Nada atravessa o Darién Gap por terra, e os Andes atrapalham todo o resto.", -"POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served":"POPs em Bogotá, Lima, Santiago e São Paulo, e 150 Gbps servidos", -"Anchors Away":"Âncoras ao mar", -"Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.":"Tallinn. Os navios arrastam âncoras sobre os cabos do Báltico três vezes mais que o normal.", -"90 days in a row with 99.5% of demand served":"90 dias seguidos com 99.5% da demanda servida", -"Transit costs 30% more":"Transit custa 30% a mais", -"Twice the failures":"O dobro de falhas", -"Start with only $100k":"Comece com só $100k", -"Eyeballs grow 50% faster":"Eyeballs crescem 50% mais rápido", -"Every IX is run by DE-KICKS":"Todo IX é operado pela DE-KICKS", -"Shark season: subsea cuts twice as likely":"Temporada de tubarão: cortes submarinos duas vezes mais prováveis", -"Weekly challenge {key}":"Desafio semanal {key}", -"Serve as much traffic as you can in one year.":"Sirva o máximo de tráfego que conseguir em um ano.", -"You have {n} days.":"Você tem {n} dias.", -"Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.":"Modo sandbox
Um bilhão de dólares, tudo desbloqueado e nada nunca quebra. Construa a internet que você sempre quis.", -"Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.":"Boas-vindas, {name}!
O RIPE NCC te atribuiu o AS{asn}. Seu primeiro router já está zumbindo em {city}.", -"{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.":"{conf} chega a {city} em 30 dias.
Peering coordinators, hallway track, adesivos grátis. Inscreva-se na aba Negócios.", -"Show me":"Mostrar", -"You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.":"Você também ganhou o sorteio: {cash} em ópticas, vendidas no eBuy na mesma noite.", -"Someone from Goggle bought you a beer. You did not get their name, only a sticker.":"Alguém da Goggle te pagou uma cerveja. Você não pegou o nome, só um adesivo.", -"{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.":"{conf} em {city}
Você apertou muitas mãos. Por {n} dias, redes seletivas com presença em {region} pedem metade do tráfego de sempre para fazer peering.", -"Conferences":"Conferências", -"{name} glow: {n} days left":"Efeito {name}: faltam {n} dias", -"Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.":"Redes seletivas em {region} pedem metade do tráfego de sempre para fazer peering. Agora é a hora de pedir aquele PNI.", -"Today":"Hoje", -"in {n} days":"em {n} dias", -"Registered":"Inscrito", -"Registration closed":"Inscrições encerradas", -"Attend {cost}":"Participar {cost}", -"Your router is live. Press “Launch broadband” to sell internet to the people of your city.":"Seu router está no ar. Aperte “Lançar banda larga” para vender internet ao pessoal da sua cidade.", -"Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.":"Seus clientes querem a internet inteira. Abra a aba Transit e compre uma porta de uma operadora.", -"Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.":"Transit custa por gigabit. Peering é grátis: abra a aba Peering, compre uma porta no IX e entre no route server.", -"Start the clock with 1× and watch traffic and money flow. You can pause any time.":"Comece o relógio em 1× e veja o tráfego e o dinheiro fluírem. Dá pra pausar a qualquer momento.", -"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.":"Cresça: arraste do seu router rosa até uma cidade próxima para lançar fibra e abrir um segundo POP.", -"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.":"Empresas aparecem como bolhas de $ no mapa. Abra Negócios e feche seu primeiro cliente.", -"You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.":"Você já sabe o básico.
Daqui em diante, os objetivos à esquerda te guiam. As coisas vão quebrar. Essa é a parte divertida.", -"Step {n} of {total}":"Passo {n} de {total}", -"Skip tutorial":"Pular tutorial", -"{name} cache":"Cache {name}", -"{ix} peering":"Peering {ix}", -"{name} transit":"Transit {name}", -"{city}, your router":"{city}, seu router", -"own dark fiber":"dark fiber própria", -"fabric circuit":"circuito de fabric", -"terrestrial wave":"wave terrestre", -"no working path between these POPs":"nenhum caminho funcionando entre esses POPs", -"No path: every route between these cities is down or missing.":"Sem caminho: todas as rotas entre essas cidades estão fora do ar ou não existem.", -"Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Caminho interno por {n} link, escolhido por distância e métricas de link. O Auto-TE pode desviar o excesso quando este encher.", -"Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Caminho interno por {n} links, escolhido por distância e métricas de link. O Auto-TE pode desviar o excesso quando este encher.", -"Internal path over {n} link, chosen by distance and link metrics.":"Caminho interno por {n} link, escolhido por distância e métricas de link.", -"Internal path over {n} links, chosen by distance and link metrics.":"Caminho interno por {n} links, escolhido por distância e métricas de link.", -"!N network unreachable":"!N rede inalcançável", -"Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.":"Nada na sua rede alcança {net}: nenhum transit, sessão de IX, PNI ou cache com caminho funcionando a partir de {city}.", -"hand-off to {net}":"entrega para {net}", -"{net} carries it to {city}":"{net} leva até {city}", -"{net} hands it to {to}":"{net} passa para {to}", -"across the {ix} switch":"pelo switch do {ix}", -"private cross-connect":"cross-connect privado", -"embedded cache in your rack":"cache embedded no seu rack", -"caches beat PNIs":"caches vencem PNIs", -"PNIs beat IX peering":"PNIs vencem peering no IX", -"IX peering beats transit":"peering no IX vence transit", -"transit is the last resort":"transit é o último recurso", -"Crossing the Great Firewall here loses about {p}% of packets.":"Atravessar o Great Firewall aqui perde cerca de {p}% dos pacotes.", -"Exit: {exit} in {city}.":"Saída: {exit} em {city}.", -"{rule}, and closer exits win ties":"{rule}, e no empate vence a saída mais próxima", -"; this one is set to {mode}":"; esta está configurada como {mode}", -"It is full, so some traffic overflows to the next exit.":"Está cheia, então parte do tráfego transborda para a próxima saída.", -"Looking glass":"Looking glass", -"Traceroute":"Traceroute", -"Close":"Fechar", -"From":"De", -"To":"Para", -"Networks":"Redes", -"Your POPs":"Seus POPs", -"Run":"Executar", -"AS path: {path}":"AS path: {path}", -"Copy":"Copiar", -"Sandbox":"Sandbox", -"Peak traffic":"Pico de tráfego", -"Peered":"Em peering", -"POPs":"POPs", -"{n} in {r} regions":"{n} em {r} regiões", -"Links":"Links", -"Customers":"Clientes", -"Incidents survived":"Incidentes superados", -"Shark bites":"Mordidas de tubarão", -"Badges":"Medalhas", -"Weekly {key}":"Semanal {key}", -"score {v}":"pontuação {v}", -"not this time":"não foi dessa vez", -"in progress":"em andamento", -"Build the internet, one tube at a time":"Construa a internet, um tubo de cada vez", -"Your browser cannot draw the card.":"Seu navegador não consegue desenhar o card.", -"Share":"Compartilhar", -"Your network card":"O card da sua rede", -"Stats card for {name}":"Card de estatísticas de {name}", -"Share…":"Compartilhar…", -"Download PNG":"Baixar PNG", -"Post it wherever your peering friends hang out.":"Poste onde seus amigos de peering se encontram.", -"Your score: {score}":"Sua pontuação: {score}", -"Peak traffic served in one year. Your best this week is {best}.":"Pico de tráfego servido em um ano. Seu melhor desta semana é {best}.", -"Peak traffic served in one year. A new personal best for this week!.":"Pico de tráfego servido em um ano. Novo recorde pessoal da semana!", -"Peak traffic served in one year.":"Pico de tráfego servido em um ano.", -"Share my result":"Compartilhar resultado", -"Keep playing":"Continuar jogando", -"Scenario complete":"Cenário concluído", -"{name}: done in {d} days":"{name}: feito em {d} dias", -"With time to spare.":"Com tempo de sobra.", -"Just in time.":"Bem na hora.", -"More scenarios":"Mais cenários", -"Scenario over":"Fim do cenário", -"Time's up":"Acabou o tempo", -"{goal} was not reached in {d} days. Keep playing this network as free play, or try again.":"Objetivo não alcançado em {d} dias: {goal}. Continue jogando esta rede no modo livre, ou tente de novo.", -"Try again":"Tentar de novo", -"Scenarios":"Cenários", -"Pick a challenge":"Escolha um desafio", -"Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.":"Comece em {city} · {mods} · um ano, pontuação = pico de tráfego. O mesmo mundo para todos nesta semana.", -"Your best: {best}.":"Seu recorde: {best}.", -"Play":"Jogar", -"done in {d} days":"feito em {d} dias", -"Goal: {goal} · Time: {d} days · start in {city}":"Objetivo: {goal} · Tempo: {d} dias · começa em {city}", -"Y{y} · {mon} {d}":"A{y} · {d} {mon}", -"{port} port":"porta {port}", -"POPs on 3+ continents":"POPs em 3+ continentes", -"10+ POPs ({n})":"10+ POPs ({n})", -"serve 1.5 Tbps ({v})":"entregar 1,5 Tbps ({v})", -"20+ peering sessions ({n})":"20+ sessões de peering ({n})", -"Only peers over PNIs in this metro. Order a cross-connect instead.":"Nesta metro, só faz peering via PNI. Peça um cross-connect.", -"Their IX port here is full until the next upgrade. They promise it is soon.":"A porta deles no IX aqui está lotada até o próximo upgrade. Juram que é logo.", -"Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.":"Passaram tudo nesta cidade para PNI. Leia a página deles no PearingDB, todas as 40 páginas.", -"The peering coordinator for this city is on a six-month sabbatical.":"O peering coordinator desta cidade está num sabático de seis meses.", -"Their policy here says \"IX peering by invitation only\". You were not invited.":"A policy deles aqui diz “IX peering só com convite”. Você não foi convidado.", -"Not accepting new peers in this region right now.":"No momento não aceitam novos peers nesta região.", -"Region frozen while they renegotiate with the local incumbent.":"Região congelada enquanto renegociam com a incumbente local.", -"Their routers in this city are \"at capacity\". They are not.":"Os routers deles nesta cidade estão “no limite da capacidade”. Não estão.", -"Already reach you through your transit provider here and think that is fine.":"Já chegam até você pelo seu provedor de transit aqui e acham que está ótimo.", -"Their lawyers are reviewing every peering agreement in this country. Again.":"Os advogados deles estão revisando todo acordo de peering neste país. De novo.", -"A new VP wants to \"monetise interconnection\" in this market.":"Um novo VP quer “monetizar a interconexão” neste mercado.", -"Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.":"Remote peering é o último recurso. As portas vêm por um revendedor a 1,5× o preço, só 80% da porta é sua de verdade, a latência viaja pelo fabric, uma queda do fabric derruba todas as sessões e muitas redes seletivas recusam membros remotos. Melhor um POP aqui.", -"Policy: no remote peers. Be in the building or be in the transit bill.":"Policy: nada de peers remotos. Ou você está no prédio, ou está na conta do transit.", -"Saw your session come in over a fabric and said \"we can smell the VXC from here\".":"Viram sua sessão chegando por um fabric e disseram “dá pra sentir o cheiro de VXC daqui”.", -"Only peers with members they can reach without a 1,500 km hairpin.":"Só fazem peering com membros que alcançam sem um hairpin de 1.500 km.", -"Their PearingDB entry says \"Remote peering: No (we mean it)\".":"O cadastro deles no PearingDB diz “Remote peering: No (é sério)”.", -"Tried a remote peer once. It flapped during a product launch. Never again.":"Tentaram um peer remoto uma vez. Ele flapou durante um lançamento de produto. Nunca mais.", -"{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about \"the value of premium interconnection\". Prices unchanged.":"{rival} está roubando membros do DE-KICKS em {city}.
O DE-KICKS respondeu com um webinar sobre “o valor da interconexão premium”. Preços inalterados.", -"Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.":"Guerra de preços em {city}!
{ix} cortou 10% no preço das portas para os membros não fugirem para {rival}. Sua fatura acabou de emagrecer.", -"Like blackholing, but with a Plus.":"Como blackholing, mas com um Plus.", -"The same route server, in a gold-coloured portal.":"O mesmo route server, num portal cor de ouro.", -"Your port light now blinks in brand colours.":"A luzinha da sua porta agora pisca nas cores da marca.", -"A monthly PDF of your own traffic graphs.":"Um PDF mensal com os gráficos do seu próprio tráfego.", -"Makes your port \"ready\" for a product you did not buy.":"Deixa sua porta “pronta” para um produto que você não comprou.", -"A fee for being ready for the cloud.":"Uma taxa por estar pronto para a nuvem.", -"Your account manager is hungry.":"Seu account manager está com fome.", -"Your account manager would love to \"align on value\" first. Strategic call booked for next week.":"Seu account manager adoraria “alinhar o valor” antes. Call estratégica marcada para a semana que vem.", -"Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.":"Os preços são revisados pelo Global Commercial Council, que se reúne na próxima lua cheia.", -"They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.":"Mandaram um NDA de 14 páginas antes mesmo de repetir o preço. Os advogados estimam uma semana.", -"Your account manager is at a conference in Dubai. And then one in Madrid.":"Seu account manager está numa conferência em Dubai. E depois em outra em Madri.", -"DE-KICKS Group · Sales":"DE-KICKS Group · Vendas", -"Your personalised {port} quote for {ix}":"Sua cotação personalizada {port} para {ix}", -"“Thanks for your interest! We don't publish prices, because every customer is unique.”":"“Obrigado pelo interesse! Não publicamos preços, porque cada cliente é único.”", -"Monthly price, just for you":"Preço mensal, só para você", -"{price}/mo":"{price}/mês", -"List price":"Preço de tabela", -"Confidential":"Confidencial", -"What others pay":"Quanto os outros pagam", -"Covered by NDA":"Coberto por NDA", -"Quotes go up with how big you look.":"A cotação sobe conforme o tamanho que você aparenta.", -"Your account manager has stopped replying to haggling.":"Seu account manager parou de responder à pechincha.", -"Haggles left: {n}.":"Pechinchas restantes: {n}.", -"Sign {price}/mo":"Assinar {price}/mês", -"Haggle":"Pechinchar", -"Walk away":"Desistir", -"Your {ix} promo ended.
Price is back, plus 10% for \"loyalty programme administration\".":"Sua promoção no {ix} acabou.
O preço voltou, mais 10% de “administração do programa de fidelidade”.", -"DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.":"O DE-KICKS harmonizou os preços.
Harmonizar quer dizer subir: {ix} agora custa {p}% a mais. Obrigado pela parceria contínua.", -"Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.":"Boa notícia! Você foi inscrito no {addon}.
{blurb} {price}/mês, somados à sua fatura do {ix}. Cancele quando quiser no painel do IX.", -"🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.":"🐘 URGENTE: CVE-2026-31337 acabou de derrubar meia internet.
Um bug no PHP transformou todo site meio-WordPress do planeta num minerador de cripto. O tráfego eyeball cai 30% por alguns dias enquanto o mundo aplica patches. Seus clientes de hosting estão fazendo isso às 3 da manhã.", -"They will reconsider in {n} day.":"Vão reconsiderar em {n} dia.", -"They will reconsider in {n} days.":"Vão reconsiderar em {n} dias.", -"Wants ≥ {need} Gbps of traffic from you (you send {dem})":"Quer ≥ {need} Gbps de tráfego seu (você manda {dem})", -"Paid peering only, over a PNI":"Só peering pago, via PNI", -"Only peers over PNIs, and only with networks it considers important":"Só faz peering via PNI, e só com redes que considera importantes", -"Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})":"Quer que você seja Tier 2, ou que mande ≥ {need} Gbps para ele (você manda {dem})", -"Tier 1s never peer at IXs":"Tier 1 nunca faz peering em IX", -"Not big enough yet: {list}":"Você ainda não é grande o bastante: {list}", -"{net} transit · {lag}":"transit {net} · {lag}", -"Add a LAG member, upgrade the port or buy a second upstream.":"Adicione um membro ao LAG, faça upgrade da porta ou compre um segundo upstream.", -"Upgrade the IX port or add a LAG member.":"Faça upgrade da porta do IX ou adicione um membro ao LAG.", -"PNI with {net}":"PNI com {net}", -"Add a LAG member or upgrade the PNI.":"Adicione um membro ao LAG ou faça upgrade do PNI.", -"{name} caches":"caches {name}", -"Ask for another box. The overflow goes out over peering or transit.":"Peça outra caixa. O excedente sai via peering ou transit.", -"Routers":"Routers", -"Upgrade the router or add a second one in the Infra tab.":"Faça upgrade do router ou adicione um segundo na aba Infra.", -"missing {what}":"falta {what}", -"unknown {what} “{word}”":"{what} “{word}” desconhecido", -". Did you mean {name}?":". Você quis dizer {name}?", -"line {n}: spill must be between 20% and 100%":"linha {n}: spill deve estar entre 20% e 100%", -"network":"rede", -"line {n}: {err}":"linha {n}: {err}", -"transit provider":"provedor de transit", -"city":"cidade", -"line {n}: I don't understand “{text}”. Try: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos":"linha {n}: não entendi “{text}”. Tente: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos", -"Auto-TE controller":"Controlador Auto-TE", -"Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.":"Escreva regras, teste no tráfego real e faça o deploy. Um deploy ruim é um jeito bem real de quebrar sua rede.", -"Check (dry run)":"Testar (dry run)", -"Deploy":"Deploy", -"Remove script":"Remover script", -"Reset to example":"Voltar ao exemplo", -"Rules:":"Regras:", -"Live: {state} · {rules}":"Ao vivo: {state} · {rules}", -"deployed":"em produção", -"controller is off":"controlador desligado", -"{n} rules active":"{n} regras ativas", -"not active":"inativo", -"{net} transit":"transit {net}", -"SD-WAN for {name}":"SD-WAN para {name}", -"L2VPN for {name}":"L2VPN para {name}", -"Your IX":"Seu IX", -"Customer":"Cliente", -"One-way latency within {max} ms (best now: {best})":"Latência de ida até {max} ms (melhor agora: {best})", -"no path":"sem caminho", -"Two paths that share no trench or fabric":"Dois caminhos sem vala nem fabric em comum", -"Afraid of sharks: needs a path with no subsea cable":"Tem medo de tubarão: quer um caminho sem cabo submarino", -"Refuses Cogentle transit anywhere on your network (long story)":"Recusa transit da Cogentle em qualquer ponto da sua rede (longa história)", -"IPv6 or bust: you must peer with Drizzle Electric":"IPv6 ou nada: você precisa fazer peering com a Drizzle Electric", -"Wants NetChill on-net: a cache or a PNI":"Quer a NetChill on-net: uma cache ou um PNI", -"Backup generator in every city they touch":"Gerador de backup em toda cidade que tocar", -"Insists on two routers in their city":"Exige dois routers na cidade dele", -"Two data centers in every metro they touch":"Dois data centers em toda metro que tocar", -"Wants two different transit providers (or none at all)":"Quer dois provedores de transit diferentes (ou nenhum)", -"Needs low-loss reach into China":"Precisa chegar na China com pouca perda", -"Will only sign with a network that runs a DDoS scrubbing center":"Só assina com uma rede que tenha centro de scrubbing DDoS", -"Their CEO hates puns. Please do not mention the network names.":"O CEO deles odeia trocadilhos. Por favor, não mencione os nomes das redes.", -"{bw} extra for {d} days, {when} · pays {fee} when it is over":"{bw} a mais por {d} dias, {when} · paga {fee} no final", -"day {n} of {d}":"dia {n} de {d}", -"starting in {n}d":"começa em {n}d", -"{n} sites: {list} · {bw} per site · {price}/mo":"{n} sites: {list} · {bw} por site · {price}/mês", -"{name} starts today!
{bw} of extra demand in {city} for {d} days.":"{name} começa hoje!
{bw} de demanda extra em {city} por {d} dias.", -"{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.":"{name} acabou: +{pay}
Você entregou {pct} do que o público queria.", -"Flawless.":"Impecável.", -"{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.":"{name} foi um desastre.
Só {pct} entregue, e virou trending nas redes. Multa: {pay}.", -"{name} at {site}":"{name} em {site}", -"{name} (hub: {site})":"{name} (hub: {site})", -"{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it":"{n} pares de fibra na sua vala {a}–{b}. Cavar foi a parte cara, então eles querem todos", -"{name} in {city}":"{name} em {city}", -"{n}× 400G alien wave on your {a}–{b} fiber":"{n}× alien wave 400G na sua fibra {a}–{b}", -"{n}× 400G alien waves on your {a}–{b} fiber":"{n}× alien waves 400G na sua fibra {a}–{b}", -"a spare fiber pair in your {a}–{b} trench":"um par de fibra livre na sua vala {a}–{b}", -"Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.":"Nos Emirados, só as duas operadoras licenciadas, Etis-a-lot e Du-opoly, podem passar fibra. Nada de dark fiber, nada de cavar por conta própria, e as waves custam 3×.", -"Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.":"Por terra entre continentes, você cruza uma dúzia de fronteiras e cada operadora no caminho leva a sua parte: {x}× o preço. Submarino sai bem mais barato.", -"Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.":"Ninguém vende um par de fibra atravessando uma dúzia de fronteiras. Entre continentes, capacidade por terra só existe como wave alugada.", -"This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.":"Esta rota cruza os Andes: 2× o preço, e deslizamentos e neve a cortam bem mais que fibra em terreno plano.", -"North America":"América do Norte", -"{a} to {b}":"{a} → {b}", -"cheap: lots of competing fiber":"barato: muita fibra concorrendo", -"about average":"na média", -"pricey: fewer carriers":"salgado: poucas operadoras", -"expensive: scarce capacity":"caro: capacidade escassa", -", and prices have fallen {p}% since you started":", e os preços caíram {p}% desde que você começou", -"{where}: {lvl}. This route is {p}% below the going rate{since}.":"{where}: {lvl}. Esta rota está {p}% abaixo do preço de mercado{since}.", -"{where}: {lvl}. This route is {p}% above the going rate{since}.":"{where}: {lvl}. Esta rota está {p}% acima do preço de mercado{since}.", -"{where}: {lvl}. This route is right at the going rate{since}.":"{where}: {lvl}. Esta rota está bem no preço de mercado{since}.", -"Overland":"Por terra", -"old, cuts often":"velho, corta com frequência", -"Route":"Rota", -"All your waves on one cable share its fate when it is cut.":"Todas as suas waves num só cabo compartilham o destino dele quando é cortado.", -"Follow metrics":"Seguir métricas", -"Lowest latency":"Menor latência", -"Scenic (quietest links)":"Panorâmica (links mais tranquilos)", -"Route:":"Rota:", -"Path latency: {lat}":"Latência do caminho: {lat}", -"{ms} ms one-way":"{ms} ms só ida", -"no path right now":"sem caminho no momento", -"budget {ms} ms":"orçamento {ms} ms", -"split over two equally quiet paths":"dividido em dois caminhos igualmente tranquilos", -"Site:":"Site:", -"Both adds a LAG member":"Ambos adiciona membro ao LAG", -"Both split the LAG":"Ambos divide o LAG", -"{n} ports":"{n} portas", -"boots in ~{n} min":"liga em ~{n} min", -"crashes more":"trava mais", -"Level {n}":"Nível {n}", -"Swap {cost} + {mo}/mo":"Trocar {cost} + {mo}/mês", -"Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).":"Seu {model} aqui só vai até portas de {pn}. Portas maiores pedem upgrade do router (aba Infra).", -"Certificate expired":"Certificado expirado", -"The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.":"O certificado TLS do dashboard do NOC expirou. Ninguém consegue ver gráfico nenhum, então tecnicamente não há problemas.", -"It was DNS":"Foi o DNS", -"Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.":"Alguém apagou o registro DNS da wiki interna. O runbook para consertar DNS estava na wiki.", -"Leap second":"Segundo bissexto", -"A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.":"Um segundo bissexto convenceu um dos seus routers de que estamos em 1970. O uptime agora marca menos 56 anos. O tráfego está ótimo.", -"Change freeze":"Change freeze", -"Management declared a change freeze. Someone made a change to announce the change freeze.":"A gerência decretou um change freeze. Alguém fez uma change para anunciar o change freeze.", -"Ticket of the week":"Ticket da semana", -"A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.":"Um cliente abriu um ticket P1: “a internet está lenta”. Em anexo, uma foto do router dele, desligado da tomada.", -"Monitoring":"Monitoramento", -"Your monitoring system went down. You found out because nothing alerted. Very peaceful week.":"Seu sistema de monitoramento caiu. Você descobriu porque nenhum alarme tocou. Semana bem tranquila.", -"Load-bearing typo":"Erro de digitação estrutural", -"Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.":"Alguém chamou uma VLAN de “prodcution”. Agora ela é estrutural e nunca mais pode ser renomeada.", -"IPv6 milestone":"Marco do IPv6", -"Your IPv6 traffic grew 400%. From one packet to five.":"Seu tráfego IPv6 cresceu 400%. De um pacote para cinco.", -"Mystery link":"Link misterioso", -"You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.":"Você achou no inventário um link de 10G que ninguém pediu, ninguém paga e que carrega 3 Gbps de alguma coisa.", -"Spreadsheet IPAM":"IPAM em planilha", -"Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.":"Sua planilha de endereços IP chegou a 1.048.576 linhas. O Excel tem opiniões.", -"Goose incident":"Incidente com ganso", -"A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.":"Um ganso atacou o técnico a caminho da sua cabana de amplificadores. O ganso venceu. Reparo remarcado, nada quebrou.", -"Latency test":"Teste de latência", -"A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.":"Um pombo-correio venceu um dos seus links num teste informal de latência. O moral está baixo. O throughput está ótimo.", -"Zombie route":"Rota zumbi", -"A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.":"Uma rota que você retirou no Ano 1 ainda aparece em algum lugar da internet. Ninguém sabe onde. Tudo bem. Provavelmente.", -"Auditor visit":"Visita do auditor", -"An auditor asked for a network diagram. You sent the game map. They approved it.":"Um auditor pediu um diagrama da rede. Você mandou o mapa do jogo. Ele aprovou.", -"Open to work":"Open to work", -"Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.":"Seu peering coordinator atualizou o perfil para “open to work”. Três Tier 1 de repente querem bater um papo. Nada aconteceu, mas foi bom.", -"Hold music":"Música de espera", -"Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.":"O suporte do seu upstream toca os mesmos 11 segundos de música de espera. Seu plantonista já cantarola em quatro tons.", -"Naming committee":"Comitê de nomes", -"A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.":"Uma reunião de duas horas sobre hostnames de routers terminou com votação em “router-final-v2-NOVO”.", -"Vendor TAC":"TAC do fabricante", -"Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.":"O suporte do fabricante pediu para você “desligar e ligar de novo”. O router que você já tinha reiniciado. Ticket fechado.", -"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.":"Uma retroescavadeira cortou o anel metropolitano entre seus dois sites em {city}. Pelo visto, as duas rotas de fibra passavam pela mesma rua.", -"Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.":"Alguém puxou o cross-connect errado na meet-me room de {city}, e {siteB} ficou isolado de {siteA}.", -"A tram line construction project in {city} found your metro ring. Both halves of it.":"A obra de uma linha de bonde em {city} encontrou seu anel metropolitano. As duas metades.", -"Splice it tonight":"Emendar hoje à noite", -"The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.":"O ar-condicionado do {dc} morreu no dia mais quente do ano. Seus routers em {city} caíram para metade da capacidade.", -"Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.":"Alguém configurou o termostato do data center em {city} em Fahrenheit achando que era Celsius. Os routers estão cozinhando a meia velocidade.", -"The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.":"A empresa de refrigeração em {city} trocou os chillers por um ventilador muito autoconfiante. Metade da capacidade por dois dias.", -"Buy 40 desk fans":"Comprar 40 ventiladores de mesa", -"Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.":"Alguém no {dc} etiquetou cada patch cord com “NÃO DESCONECTE”. Outra pessoa desconectou um mesmo assim: seu link {a}–{b}.", -"A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.":"Pediram a um técnico de remote hands em {a} para limpar a fibra da porta 1. Ele limpou com um sanduíche. {a}–{b} caiu.", -"A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.":"Um técnico novo em {a} “arrumou” a bagunça de cabos. Seu link {a}–{b} fazia parte da bagunça.", -"The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.":"O dono do prédio em {a} refez o riser e esmagou sua dark fiber para {b}.", -"A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.":"Um emendador fundindo o cabo de outra pessoa numa caixa subterrânea perto de {b} fundiu o seu.", -"{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.":"{co} errou um cross-connect no dedo gordo e ligou sua wave {a}–{b} num forno de pizza.", -"{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.":"{co} fez uma “manutenção rápida” no comprimento de onda errado. Sua wave {a}–{b} agora carrega os vídeos de gato de outra pessoa.", -"{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.":"{co} agendou a manutenção em UTC. Seu time leu como horário local. {a}–{b} apagou no horário de pico.", -"An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.":"Um engenheiro da {co} inverteu Tx e Rx na sua wave {a}–{b}. Entra luz, sai confusão.", -"{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.":"{co} desativou sua wave {a}–{b} porque o ticket dizia “decom” em vez de “docs”.", -"Bribe their NOC with donuts":"Suborne o NOC deles com donuts", -"MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.":"MTU diferente em {a}–{b}: os jumbo frames vivem entalando no tubo. Capacidade útil pela metade.", -"Set MTU 9216 everywhere":"Configurar MTU 9216 em tudo", -"The cleaner unplugged everything at {siteA}.":"A faxineira desligou tudo no {siteA}.", -"Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.":"Incidente do aspirador em {city}
A faxineira desligou tudo no {siteA}. O {siteB} manteve a cidade online com metade da capacidade.", -"Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.":"Incidente do aspirador em {city}
A faxineira do {dc} desligou um dos seus routers para ligar o aspirador. O outro aguentou. O chão está brilhando.", -"The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.":"A faxineira do {dc} desligou seu router para ligar o aspirador. O chão está brilhando.", -"Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.":"Seu plantonista digitou “clear bgp *” em produção em {city} às 3 da manhã. Limpou mesmo.", -"An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.":"Um estagiário subiu uma ACL em {city} que nega 0.0.0.0/0. Seguríssima. Offlinezíssima.", -"Someone ran “reload” on the {city} router, thinking it was their laptop terminal.":"Alguém rodou “reload” no router de {city}, achando que era o terminal do notebook.", -"A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.":"Um template de config renderizou “{{ router_id }}” literalmente em {city}. O router levou para o lado pessoal.", -"Someone committed a config in {city} with “commit confirmed 1” and went to lunch.":"Alguém deu commit numa config em {city} com “commit confirmed 1” e foi almoçar.", -"Someone deployed to {city} on a Friday at 16:59.":"Alguém fez deploy em {city} numa sexta-feira às 16:59.", -"A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.":"Um raio cósmico inverteu um bit no seu router de {city}. Agora ele acha que 10.0.0.0/8 mora na Antártida.", -"An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.":"Um script de automação em {city} rodou “sed” na config inteira em vez de uma linha. Toda interface agora se chama “TODO”.", -"Automation pushed it to every router, so redundancy did not help.":"A automação empurrou para todos os routers, então a redundância não ajudou.", -"Roll back the config":"Fazer rollback da config", -"Hide the vacuum":"Esconder o aspirador", -"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.":"Um membro do {ix} vazou a tabela de roteamento inteira no route server. Limites de max-prefix estouraram em todo lugar. Seu peering lá, em {city}, caiu.", -"Something in the NOC glitched.
The game kept going. If things look odd, export your save and open an issue on GitHub.":"Algo no NOC deu pau.
O jogo continuou. Se algo parecer estranho, exporte seu save e abra uma issue no GitHub.", -"{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.":"{net} errou uma route-map no dedo gordo e fez prepend do seu AS {n} vezes em {city}. Ninguém quer esse caminho.", -"Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.":"Sua ROA expirou no fim de semana. Seus prefixos estão RPKI-invalid e mais ou menos meia internet está descartando eles.", -"Renew the ROA":"Renovar a ROA", -"You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.":"Você errou o plano de canais em {a}–{b} no dedo gordo e acendeu um canal novo bem em cima de todos os existentes.", -"An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.":"Uma cabana de amplificador em linha entre {a} e {b} ficou sem energia. Uma família de ratos tinha se mudado para lá.", -"Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.":"Alguém roubou o cobre do aterramento de uma cabana de amplificadores em {a}–{b}. Todos os canais apagados.", -"A firmware bug in the {sys} at {a} set every channel to “maintenance”.":"Um bug de firmware no {sys} em {a} colocou todos os canais em “manutenção”.", -"Lightning hit an amp site on {a}–{b}. The surge protector was decorative.":"Um raio atingiu um site de amplificação em {a}–{b}. O protetor de surto era decorativo.", -"Your spares kit gets it back tomorrow.":"Seu kit de sobressalentes traz de volta amanhã.", -"Truck a spare amp out":"Levar um amplificador reserva de caminhão", -"A {optic} on {a}–{b} overheated and is now a very expensive keychain.":"Um {optic} em {a}–{b} superaqueceu e agora é um chaveiro caríssimo.", -"The laser in a {optic} on {a}–{b} died. One channel dark.":"O laser de um {optic} em {a}–{b} morreu. Um canal apagado.", -"A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.":"Um {optic} em {a}–{b} começou a reportar temperatura de 900°C. Estava errado, mas desligou mesmo assim.", -"Swapped from your spares kit by tomorrow.":"Trocado com seu kit de sobressalentes até amanhã.", -"Buy a replacement":"Comprar um substituto", -"Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.":"Mais um cabo submarino do Vietnã quebrou: seu link {a}–{b}. O navio de reparo vem depois dos feriados. Quais feriados, ninguém sabe.", -"Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.":"Seu cabo {a}–{b} quebrou no mesmo ponto da última vez. A equipe de reparo reconheceu.", -"A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.":"Um crocodilo deu uma mordida na sua fibra {a}–{b}. Não gostou do sabor.", -"Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.":"Cupins comeram o duto em {a}–{b}. Depois a fibra. Depois o duto novo.", -"A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.":"Um navio cargueiro “esqueceu” de levantar a âncora e arrastou pelo seu cabo {a}–{b}. Os donos lamentam muito, e são meio difíceis de achar.", -"Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.":"Outra âncora, outro corte: seu cabo {a}–{b}. A bandeira do navio mudou duas vezes durante a investigação.", -"A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.":"Um barco de pesca com uma âncora estranhamente pesada cortou {a}–{b}. Não estava pescando.", -"A landslide in the Andes buried your {a}–{b} fiber.":"Um deslizamento nos Andes soterrou sua fibra {a}–{b}.", -"Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.":"A neve fechou a passagem na montanha, e a equipe de reparo junto: {a}–{b} caiu.", -"An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.":"Um terremoto soltou sua fibra {a}–{b} em algum ponto acima de 4.000 metros.", -"A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.":"Um rebanho de lhamas pisoteou o marcador da fibra em {a}–{b}. Depois uma retroescavadeira achou a fibra.", -"Road widening near {a} cut your fiber to {b}. It is always road widening.":"Uma obra de alargamento de estrada perto de {a} cortou sua fibra para {b}. É sempre alargamento de estrada.", -"The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.":"A monção alagou uma caixa subterrânea em {a}–{b}. A fibra agora está debaixo d’água, assim como a caixa.", -"A digger found your {a}–{b} fiber. A different digger is coming to fix it.":"Uma escavadeira achou sua fibra {a}–{b}. Outra escavadeira está vindo consertar.", -"A curious shark bit your subsea cable {a}–{b}.":"Um tubarão curioso mordeu seu cabo submarino {a}–{b}.", -"A ship dragged its anchor across your {a}–{b} cable.":"Um navio arrastou a âncora pelo seu cabo {a}–{b}.", -"An undersea landslide snapped {a}–{b}.":"Um deslizamento submarino rompeu {a}–{b}.", -"A backhoe found your fiber between {a} and {b}.":"Uma retroescavadeira achou sua fibra entre {a} e {b}.", -"Squirrels chewed through {a}–{b}. They regret nothing.":"Esquilos roeram {a}–{b}. Não se arrependem de nada.", -"Road works cut {a}–{b}. Nobody called before digging.":"Obras na rua cortaram {a}–{b}. Ninguém ligou antes de cavar.", -"All {n} links in that trench went down with it.":"Todos os {n} links daquela vala caíram junto.", -"Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.":"Router travou em {city}
Um router entrou em panic e o gêmeo assumiu.{slow} Lá a capacidade fica com um router a menos por {d} dias.", -"The crashed one {what}.":"O que travou {what}.", -"Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"O rodízio de energia derrubou {site} em {city}. {other} aguentou, então o POP roda com metade da capacidade. Tudo que está ligado só no site apagado está offline.", -"A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Uma queda de energia derrubou {site} em {city}. {other} aguentou, então o POP roda com metade da capacidade. Tudo que está ligado só no site apagado está offline.", -"Rent a generator":"Alugar um gerador", -"Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.":"Apagão em {city}
A rede elétrica caiu de novo. Seu gerador pegou de primeira, como sempre aqui.", -"Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.":"Rodízio de energia em {city}
Stage {n} hoje. Seu gerador tossiu, depois manteve as luzes acesas.", -"Power cut in {city}
Your backup generator kicked in. Lights stayed on.":"Queda de energia em {city}
Seu gerador de backup entrou. As luzes ficaram acesas.", -"Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.":"Seu router em {city} travou e está reiniciando. Ele {what}. Tempo de boot deste: uns {min} minutos por tentativa, e está na tentativa {n}.", -"Your router in {city} crashed. Kernel panic, packet panic.":"Seu router em {city} travou. Kernel panic, packet panic.", -"A firmware update bricked your router in {city}.":"Uma atualização de firmware brickou seu router em {city}.", -"A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.":"Um apagão atingiu {city} e seu POP não tem gerador. Todas as outras redes aqui têm. Compre um.", -"Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.":"Rodízio de energia stage {n} em {city}, e você não tem gerador. Compre um: aqui não é opcional.", -"Power outage at {dc} in {city}. The generator did not start.":"Queda de energia no {dc} em {city}. O gerador não ligou.", -"Turn it off and on again (it will take a while)":"Desligar e ligar de novo (vai demorar)", -"Turn it off and on again":"Desligar e ligar de novo", -"{net} is having an outage in {city}. Your transit port there is dark.":"{net} está com uma falha em {city}. Sua porta de transit lá está apagada.", -"Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.":"Alguém plugou um loop no fabric do {ix}. Broadcast storm! Todo o peering lá caiu.", -"BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.":"Route leak de BGP: um ISP pequeno está anunciando os prefixos de {net}. O tráfego para eles via transit cai num buraco negro. O peering direto ainda funciona.", -"{fabric} is having a bad day. Every virtual circuit on their fabric is down.":"{fabric} está num dia ruim. Todos os circuitos virtuais do fabric deles caíram.", -"DNS reflection":"reflexão DNS", -"NTP amplification":"amplificação NTP", -"CLDAP flood":"flood CLDAP", -"SYN flood":"flood SYN", -"HTTP flood":"flood HTTP", -"A {size} {vec} attack is hitting {city}{how}.":"Um ataque {vec} de {size} está atingindo {city}{how}.", -", in via {e}":", entrando por {e}", -"Your mitigation is eating most of it.":"Sua mitigação está engolindo quase tudo.", -"Junk traffic is eating your capacity. Open the NOC to fight back.":"Tráfego lixo está comendo sua capacidade. Abra o NOC para revidar.", -"Open NOC":"Abrir NOC", -"Live attack: {city}":"Ataque ao vivo: {city}", -"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · faltam {n}d", -"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"Em blackhole: o lixo sumiu, e {city} também. O ataque conseguiu o que queria.", -"Reaching your network: {g}":"Chegando na sua rede: {g}", -"On-demand scrubbing diverting, live in {n}d":"Scrubbing on-demand desviando, ativo em {n}d", -"{tier} scrubbing in {city} is cleaning it":"O scrubbing {tier} em {city} está limpando", -"{net} is scrubbing it upstream (clean-pipe)":"{net} está limpando upstream (clean-pipe)", -"Contained on your sacrificial {net} PNI":"Contido no seu PNI sacrificial com {net}", -"IX blackhole on ✓":"Blackhole IX ativo ✓", -"IX blackhole ~half honour it":"Blackhole IX ~metade respeita", -"Clean-pipe on ✓":"Clean-pipe ativo ✓", -"+ Clean-pipe {mo}/mo · scrubs DDoS upstream":"+ Clean-pipe {mo}/mês · limpa DDoS upstream", -"Sacrificial choke ✓":"Gargalo sacrificial ✓", -"Make sacrificial contains floods · ½ capacity":"Tornar sacrificial contém floods · ½ capacidade", -"No scrubbing center":"Sem centro de scrubbing", -"Flowspec on your {model} is dropping {vec} at the edge":"O Flowspec no seu {model} está descartando {vec} na borda", -"Flowspec on your {model} trims {vec}, but its TCAM is small":"O Flowspec no seu {model} reduz {vec}, mas a TCAM é pequena", -"Your {model} here has no Flowspec TCAM":"Seu {model} aqui não tem TCAM para Flowspec", -"Flowspec cannot catch an {vec} (application layer)":"Flowspec não pega um {vec} (camada de aplicação)", -"Stop blackholing":"Parar blackhole", -"Blackhole the target (RTBH)":"Blackhole no alvo (RTBH)", -"HackBack 3000™ $20k":"HackBack 3000™ $20k", -"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"RTBH é grátis e instantâneo, mas descarta tudo que vai para a vítima, ataque e cliente juntos. Um blackhole no IX mantém o cliente no ar, mas só cerca de metade dos membros respeita. O HackBack 3000™ da Skynot AI às vezes resolve, e às vezes derruba um inocente e te rende uma multa.", -"Flowspec-capable POPs":"POPs com Flowspec", -"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"As regras de descarte do Flowspec ficam na TCAM do router, então só routers capazes filtram floods UDP conhecidos (DNS, NTP, CLDAP, SYN) na borda. O Rusty usado não tem nenhuma, os modelos merchant-silicon e whitebox fazem um pouco, os chassis grandes fazem tudo. Faça upgrade do router de um POP na aba Infra.", -"No attack to blackhole right now.":"Nenhum ataque para mandar ao blackhole agora.", -"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH anunciado.
Você mandou o alvo em {city} para o blackhole. O flood para, e todo mundo lá também.", -"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Blackhole retirado.
{city} está acessível de novo. Prepare-se para o lixo.", -"Nothing to hack back right now.":"Nada para contra-atacar agora.", -"HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.":"O HackBack 3000™ contra-ataca!
A Skynot AI rastreou a botnet e educadamente a transformou em tijolo. O ataque a {city} para na hora.", -"HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.":"O HackBack 3000™ acertou o alvo errado.
{who} Um órgão regulador te manda uma multa de {fine}, e o ataque continua.", -"Skynot AI flattened a grandma's internet-connected fridge.":"A Skynot AI derrubou a geladeira conectada de uma vovó.", -"You counter-flooded a hospital in a country you cannot pronounce.":"Você contra-floodou um hospital num país que você nem sabe pronunciar.", -"The botnet was already someone else’s botnet. They are furious.":"A botnet já era a botnet de outra pessoa. Eles estão furiosos.", -"Vigilante":"Justiceiro", -"Fire the HackBack 3000™ and flatten an innocent.":"Dispare o HackBack 3000™ e derrube um inocente.", -"Collateral Damage":"Dano colateral", -"Blackhole one of your own cities to stop a DDoS.":"Mande uma das suas próprias cidades para o blackhole para parar um DDoS.", -"Toaster Wrangler":"Domador de torradeiras", -"Weather a DDoS with your defences ready.":"Aguente um DDoS com as defesas prontas.", -"Clean Pipes":"Tubos limpos", -"Turn on a transit clean-pipe add-on.":"Ative um add-on clean-pipe num transit.", -"Sacrificial Lamb":"Boi de piranha", -"Run a sacrificial PNI choke point.":"Use um PNI sacrificial como ponto de gargalo.", -"Held the Flood":"Segurou a enxurrada", -"Weather a multi-terabit DDoS.":"Aguente um DDoS de vários terabits.", -"Skynot Smiles":"Skynot sorri", -"Land a HackBack 3000™ that actually works.":"Acerte um HackBack 3000™ que funcione de verdade.", -"Stand up DDoS defences":"Monte defesas anti-DDoS", -"Build a scrubbing center from a POP's Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.":"Construa um centro de scrubbing na aba Infra de um POP. Ele limpa ataques até a capacidade dele e permite vender proteção DDoS.", -"Traffic rerouted, customers barely noticed.":"Tráfego redirecionado, os clientes mal perceberam.", -"Rush repair":"Reparo urgente", -"Metro ring cut":"Anel metro cortado", -"Site outage":"Site fora do ar", -"Fiber cut":"Fibra cortada", -"Router crash":"Crash do router", -"Power outage":"Queda de energia", -"Upstream outage":"Queda do upstream", -"IX meltdown":"Pane no IX", -"Route leak":"Route leak", -"DDoS attack":"Ataque DDoS", -"Fabric outage":"Fabric fora do ar", -"Peering spat":"Briga de peering", -"Fat-fingered wave":"Wave com dedo gordo", -"Patch panel mishap":"Acidente no patch panel", -"MTU mismatch":"Mismatch de MTU", -"Oops":"Ops", -"Vacuum incident":"Incidente com o aspirador", -"Max-prefix meltdown":"Pane de max-prefix", -"Prepend-ageddon":"Prependgeddon", -"RPKI invalid":"RPKI invalid", -"Amplifier failure":"Falha no amplificador", -"Fat-fingered ROADM":"ROADM com dedo gordo", -"Dead optic":"Óptica morta", -"Maintenance window":"Janela de manutenção", -"Cooling failure":"Falha na refrigeração", -"BGP hijack":"BGP hijack", -"Government shutdown":"Shutdown do governo", -"Geopolitical cable cut":"Corte geopolítico de cabo", -"Incident":"Incidente", -"The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.":"Os vizinhos brigaram.
Uma crise diplomática fecha fronteiras e espaço aéreo em volta do Catar. Todos os links entre Doha e Arábia Saudita ou Emirados ficam fora por cerca de {n} dias. Dê a volta longa, por mar.", -"A futuristic city that is not built yet, demo day in {city}":"Uma cidade futurista que ainda não foi construída, demo day em {city}", -"A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.":"Um gigaprojeto quer uma demo.
{bw} por quatro dias em {city}, para exibir uma cidade que ainda é quase só renderização. Veja a aba Negócios.", -"Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.":"Sanções!
A República do Burocracistão sancionou o fornecedor de parafusos favorito do fabricante do seu router. As peças estão demorando: por 60 dias, crashes de router levam o dobro do tempo para consertar.", -"Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.":"Guerra comercial das ópticas
Dois governos taxaram os lasers um do outro. Ópticas custam 40% a mais por 90 dias.", -"A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.":"Um ISP estatal “sem querer” anunciou seus prefixos por 18 minutos. O comunicado de desculpas estava suspeitamente bem escrito. Muitas redes ainda estão roteando seu tráfego para o vazio.", -"Call everyone you know":"Ligue para todo mundo que você conhece", -"BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.":"BGP hijack
Outra rede está anunciando seus prefixos. O alcance fica baixo até limparem a bagunça.", -"Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.":"Disputa de licença de ancoragem em {city}
Dois ministérios reivindicam a mesma praia. Nenhum novo link submarino pode chegar ali por 45 dias.", -"Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.":"As autoridades mandaram todas as redes em {city} desligarem por um dia durante os exames nacionais. Sim, isso acontece de verdade.", -"Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.":"Offline por decreto em {city}
Um shutdown do governo em dia de prova. Seu POP lá fica apagado por um dia.", -"Typhoon Bandwidth":"Tufão Banda", -"Typhoon Latency":"Tufão Latência", -"Typhoon Jitter":"Tufão Jitter", -"Typhoon Packet-Loss":"Tufão Packet-Loss", -"{name} hits {city}
The grid is down, but your backup generator kept the routers running.":"{name} atinge {city}
A rede elétrica caiu, mas seu gerador de backup manteve os routers ligados.", -"{name} knocked out power in {city}. Your POP has no generator.":"{name} derrubou a energia em {city}. Seu POP não tem gerador.", -"{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.":"{name} atinge {city}
Faltou energia e seu POP fica apagado por dois dias. Um gerador teria salvado.", -"Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.":"Treino de internet soberana
Moscou se desconectou do resto da internet por um dia só para ver o que acontece. Tudo que sai da Rússia fica no escuro até amanhã.", -"Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.":"Cabo danificado no Báltico
Um cargueiro arrastou a âncora por 100 km e jura que não percebeu nada. Você não tem links nesses cabos.", -"A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.":"Um cargueiro arrastou a âncora pelo fundo do Báltico por 100 km e jura que não percebeu nada. Os investigadores estão “analisando o caso”.", -"Baltic cable damaged
{n} of your links are down for about {d} days.":"Cabo danificado no Báltico
Seus links fora do ar: {n}, por cerca de {d} dias.", -"Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.":"Cabos cortados no Mar Vermelho
Um navio arrastou a âncora por vários cabos. Todo mundo culpa todo mundo. Por sorte você não usa esses cabos.", -"A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.":"Um navio à deriva sem energia arrastou a âncora pelos cabos do Mar Vermelho. Todo mundo culpa todo mundo. Os navios de reparo precisam de licença de três governos.", -"Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.":"Cabos cortados no Mar Vermelho
Seus links submarinos fora do ar: {n}, por cerca de {d} dias, enquanto os diplomatas discutem sobre os navios de reparo.", -"Golden Week!
Demand in mainland China is up 40% for a week.":"Golden Week!
A demanda na China continental sobe 40% por uma semana.", -"The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.":"A fronteira ficou mais rígida.
O packet loss transfronteiriço sobe para 35% por 10 dias. Rotas premium quase não são afetadas.", -"New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?":"Saiu a nova temporada de “Stranger Pings”!
A demanda de eyeballs sobe 25% por uma semana. Tem folga?", -"Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.":"Os preços de transit caíram 8%.
Isso acontece todo ano. Ninguém sabe onde fica o fundo do poço.", -"Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.":"Verba para banda larga rural: +$30k
O Ministério dos Tubos gosta do que você está fazendo.", -"Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.":"Cogentle e Goggle estão brigando por peering. A Goggle está inacessível pelo transit da Cogentle.", -"Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.":"Briga de peering!
A Cogentle cortou o peering com a Goggle por 20 dias. O tráfego da Goggle via transit Cogentle sumiu. Faça peering direto com a Goggle ou use outro upstream.", -"Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.":"A Drizzle Electric te mandou um bolo IPv6.
Você vendeu por $8k.", -"The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"A internet voltou.
Metade dela, pelo menos. Tudo foi remendado às pressas e ninguém aprendeu nada.", -"{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.":"{net} cortou o peering com você no {ix} em {city}.
{why} O tráfego volta para o seu próximo melhor caminho.", -"License granted!
Your joint venture can now build POPs in mainland China.":"Licença concedida!
Sua joint venture agora pode construir POPs na China continental.", -"Customer level {lv}: {name}
New customers unlocked: {unlock}":"Nível de clientes {lv}: {name}
Novos clientes desbloqueados: {unlock}", -"Your fiber is finished: {a}–{b}":"Sua fibra ficou pronta: {a}–{b}", -"Dark fiber handed over: {a}–{b}":"Dark fiber entregue: {a}–{b}", -"Channels are lighting up now.":"Os canais estão acendendo agora.", -"It is dark. Add optics to light it up.":"Está apagada. Adicione ópticas para acendê-la.", -"Open":"Abrir", -"Construction delay: +{n} days
{why} ({a}–{b})":"Atraso na obra: +{n} dias
{why} ({a}–{b})", -"Archaeologists found a Roman bathhouse on your route.":"Arqueólogos encontraram uma terma romana na sua rota.", -"A protected hamster species lives along the right-of-way.":"Uma espécie protegida de hamster vive ao longo da faixa de servidão.", -"The railway changed its mind about the easement.":"A ferrovia mudou de ideia sobre a servidão de passagem.", -"The drilling crew hit a granite boulder the size of a bus.":"A equipe de perfuração bateu numa pedra de granito do tamanho de um ônibus.", -"A town council wants a public hearing. About the color of the manhole covers.":"A câmara municipal quer uma audiência pública. Sobre a cor das tampas de bueiro.", -"Somebody else’s gas main was exactly where the map said it was not.":"O gasoduto de outra empresa estava exatamente onde o mapa dizia que não estava.", -"The permit office lost your permit. And then the replacement.":"A prefeitura perdeu sua licença. E depois a segunda via.", -"{name} cancelled.
Too many outages and too little bandwidth in {city}.":"{name} cancelou.
Quedas demais e banda de menos em {city}.", -"{name} is furious.
Fix service in {city} or they leave.":"{name} está uma fera.
Arrume o serviço em {city} ou vai perder o cliente.", -"{net} joined {ix}!
Another member paying {fee}/mo for a port.":"{net} entrou no {ix}!
Mais um membro pagando {fee}/mês por uma porta.", -"You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.":"Você está no vermelho.
Cancele algo caro, espere a receita ou peça um empréstimo no banco. Em −$100k o banco leva seus routers.", -"Common":"Comum", -"Rare":"Raro", -"Epic":"Épico", -"Legendary":"Lendário", -"Hello, Neighbour":"Olá, vizinho", -"Bring up your first peering session.":"Suba sua primeira sessão de peering.", -"Met the Backhoe":"Conheceu a retroescavadeira", -"Have a fiber cut.":"Sofra um corte de fibra.", -"In Debt We Trust":"In Debt We Trust", -"Take out a loan.":"Pegue um empréstimo.", -"Twins":"Gêmeos", -"Run two routers in one POP.":"Rode dois routers em um POP.", -"Shark Week":"Semana do Tubarão", -"Get a subsea cable bitten by a shark.":"Tenha um cabo submarino mordido por um tubarão.", -"IX Collector":"Colecionador de IX", -"Have ports on 10 internet exchanges.":"Tenha portas em 10 internet exchanges.", -"Never Paid List Price":"Nunca paguei preço de tabela", -"Haggle a DE-KICKS quote down.":"Pechinche um orçamento da DE-KICKS.", -"Unsubscribed":"Descadastrado", -"Opt out of 3 auto-enrolled add-ons.":"Cancele 3 add-ons ativados sem você pedir.", -"Left on Read":"Deixado no vácuo", -"Get de-peered by a big network.":"Leve um corte de peering de uma rede grande.", -"Peering From the Couch":"Peering do sofá", -"Peer at an IX remotely.":"Faça peering remoto num IX.", -"Pig Whisperer":"Encantador de porcos", -"Run a slow-booting PacketOinker chassis.":"Rode um chassis PacketOinker de boot lento.", -"Link Panama City and Bogotá.":"Conecte Panama City a Bogotá.", -"Over the Mountains":"Por cima das montanhas", -"Build fiber across the Andes.":"Construa fibra cruzando os Andes.", -"Duopoly Customer":"Cliente do duopólio", -"Buy a wave inside the UAE.":"Compre uma wave dentro dos Emirados.", -"Stage Six":"Estágio seis", -"Ride out load shedding on your own generator.":"Aguente os apagões programados com seu próprio gerador.", -"Two Buildings, Three Cities":"Dois prédios, três cidades", -"Have a second site in 3 metros.":"Tenha um segundo site em 3 cidades.", -"Lonely Penguin":"Pinguim solitário", -"Light a wave on the Humboldt cable to Sydney.":"Acenda uma wave no cabo Humboldt até Sydney.", -"The Long Way Round":"A volta longa", -"Run a link round Cape Horn.":"Passe um link pelo Cabo Horn.", -"Six Continents":"Seis continentes", -"POPs in every region on the map.":"POPs em todas as regiões do mapa.", -"Friend of Giants":"Amigo dos gigantes", -"Hold deals at 3 different AI campuses at once.":"Tenha contratos em 3 campi de IA diferentes ao mesmo tempo.", -"Trench Landlord":"Dono da vala", -"Lease hundreds of fiber pairs to a hyperscaler.":"Alugue centenas de pares de fibra a um hyperscaler.", -"Go transit-free.":"Fique transit-free.", -"Shark Bait":"Isca de tubarão", -"Get bitten by sharks 3 times in one game.":"Seja mordido por tubarões 3 vezes numa partida.", -"Five Nines":"Cinco noves", -"Serve 99.5% of demand every single day for a whole year.":"Atenda 99,5% da demanda todos os dias por um ano inteiro.", -"Everywhere at Once":"Em todo lugar ao mesmo tempo", -"Have POPs in 50 cities.":"Tenha POPs em 50 cidades.", -"Unicorn":"Unicórnio", -"Hold a billion dollars in cash.":"Tenha um bilhão de dólares em caixa.", -"Debt-Free Tier 1":"Tier 1 sem dívidas", -"Win without ever taking a loan.":"Vença sem nunca pegar um empréstimo.", -"Speedrun":"Speedrun", -"Reach Tier 1 within three years.":"Chegue ao Tier 1 em até três anos.", -"Traffic Whisperer":"Encantador de tráfego", -"Have Auto-TE move 100 Gbps onto alternate paths at once.":"Faça o Auto-TE mover 100 Gbps para caminhos alternativos de uma vez.", -"Same Street":"Mesma rua", -"Lose a metro ring to one backhoe.":"Perca um anel metro para uma única retroescavadeira.", -"Anchors Aweigh":"Levantar âncora", -"Have a cable cut by a dragged anchor.":"Tenha um cabo cortado por uma âncora arrastada.", -"Customer Success Story":"Customer Success Story", -"Take a DE-KICKS retention offer.":"Aceite uma oferta de retenção da DE-KICKS.", -"Samba Peering":"Peering no samba", -"DE-KICKS Bingo":"Bingo DE-KICKS", -"Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.":"Portas em todos os seis exchanges DE-KICKS. Eles agradecem pela parceria contínua.", -"Ring of Fire":"Anel de Fogo", -"POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.":"POPs em toda a volta do Pacífico: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland e Santiago.", -"Iron Curtain Call":"Cortina de Ferro", -"POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.":"POPs em Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade e Tallinn.", -"Island Hopper":"De ilha em ilha", -"POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.":"POPs em Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo e Auckland.", -"Through the Wall":"Através da Muralha", -"Run a licensed POP in mainland China.":"Opere um POP licenciado na China continental.", -"Darwin Award":"Prêmio Darwin", -"Have your fiber bitten by a crocodile.":"Tenha sua fibra mordida por um crocodilo.", -"Unbreakable":"Inquebrável", -"Survive 100 incidents without customer impact.":"Sobreviva a 100 incidentes sem impacto nos clientes.", -"Gigawatt Landlord":"Senhor do gigawatt", -"Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.":"Tenha ao mesmo tempo um contrato de AI WAN, um training run, um ingest e um de pares de fibra.", -"Blitz":"Blitz", -"Reach Tier 1 within two years.":"Chegue ao Tier 1 em até dois anos.", -"Hundred Terabits":"Cem terabits", -"Serve 100 Tbps.":"Atenda 100 Tbps.", -"A Petabit a Second":"Um petabit por segundo", -"Serve 1 Pbps: a thousand terabits of happy traffic.":"Atenda 1 Pbps: mil terabits de tráfego feliz.", -"Llama Drama":"Drama de lhama", -"Lose fiber to a llama herd.":"Perca fibra para um rebanho de lhamas.", -"Hallway Track":"Papo de corredor", -"Attend a conference.":"Participe de uma conferência.", -"Peering Over Beer":"Peering no boteco", -"Set up a PNI while the conference glow lasts.":"Monte um PNI enquanto dura o clima da conferência.", -"Conference Circuit":"Circuito de conferências", -"Attend six conferences in one game.":"Participe de seis conferências numa partida.", -"Script Kiddie":"Script Kiddie", -"Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.":"Publique um RouteScript que corte 10% da conta de transit sem perder tráfego.", -"Fat Finger":"Dedo gordo", -"Deploy a RouteScript that takes down a third of your traffic.":"Publique um RouteScript que derrube um terço do seu tráfego.", -"Scenario Solver":"Resolvedor de cenários", -"Complete any scenario.":"Complete qualquer cenário.", -"Weekly Regular":"Figurinha carimbada", -"Finish a weekly challenge.":"Termine um desafio semanal.", -"Scenario Specialist":"Especialista em cenários", -"Complete three different scenarios.":"Complete três cenários diferentes.", -"Scenario Grandmaster":"Grão-mestre dos cenários", -"Complete every scenario.":"Complete todos os cenários.", -"I Survived the Elephant":"Sobrevivi ao elefante", -"Live through the day half the internet went down.":"Sobreviva ao dia em que metade da internet caiu.", -"Zero Peers Given":"Zero peers, zero problemas", -"Reach Tier 2 with every single session over the route server.":"Chegue ao Tier 2 com todas as sessões via route server.", -"Badge unlocked: {name}":"Badge desbloqueado: {name}", -"{got}/{total} this game · {ever} ever":"{got}/{total} nesta partida · {ever} no total", -"A secret badge":"Um badge secreto", -"earned before":"já conquistado", -"Goal complete: {name}":"Meta concluída: {name}", -"Reward: +{amt}":"Prêmio: +{amt}", -"Not enough cash.
Wait for revenue, or speed up time.":"Dinheiro insuficiente.
Espere a receita ou acelere o tempo.", -"TubeCoin moved up {p}% on the way to your account.":"A TubeCoin subiu {p}% no caminho até sua conta.", -"TubeCoin moved down {p}% on the way to your account.":"A TubeCoin caiu {p}% no caminho até sua conta.", -"{amt} from {bank} has landed.":"{amt} de {bank} caiu na conta.", -"They now own {p} of your revenue.":"Agora eles são donos de {p} da sua receita.", -"{pay}/mo for {n} months.":"{pay}/mês por {n} meses.", -"You bought out {bank}.
They flew off to find another startup.":"Você comprou a parte de {bank}.
Eles voaram em busca de outra startup.", -"Loan from {bank} repaid early.":"Empréstimo de {bank} quitado antes do prazo.", -"You need a license first.
Foreign networks need a joint venture to build in mainland China.":"Primeiro você precisa de uma licença.
Redes estrangeiras precisam de uma joint venture para construir na China continental.", -"New POP!":"Novo POP!", -"Eyeballs online!":"Eyeballs online!", -"Ad campaign!":"Campanha!", -"No transit in this scenario.
Peering, PNIs, caches and your own fiber only.":"Sem transit neste cenário.
Só peering, PNIs, caches e sua própria fibra.", -"Your router can't take a {port} port.
Upgrade it in the Infra tab.":"Seu router não aguenta uma porta {port}.
Faça upgrade na aba Infra.", -"{net} transit is live in {city}.
Full table received: ~1,000,000 routes.":"Transit da {net} ativo em {city}.
Full table recebida: ~1.000.000 de rotas.", -"LAG member added.
{net} in {city} is now {lag}.":"Membro do LAG adicionado.
{net} em {city} agora é {lag}.", -"LAG member removed.":"Membro do LAG removido.", -"DE-KICKS sales is still \"aligning\".
They will get back to you in {n} days.":"O comercial da DE-KICKS ainda está “se alinhando”.
Eles retornam em {n} dias.", -"Port up at {ix}!
Now request peering, or join the route server.":"Porta ativa no {ix}!
Agora peça peering ou entre no route server.", -"Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.":"Porta remota ativa no {ix}.
Veio por um revendedor, então espere uma margem extra, uma porta lotada e algumas redes que não vão falar com você. Aqui o route server é seu amigo.", -"DE-KICKS Group · Customer Success":"DE-KICKS Group · Customer Success", -"Wait! Before you go…":"Espere! Antes de ir…", -"We value our partnership too much to let a little thing like price get in the way.":"Valorizamos demais nossa parceria para deixar uma bobagem como o preço atrapalhar.", -"Retention offer":"Oferta de retenção", -"40% off for 6 months":"40% de desconto por 6 meses", -"After that, the normal price returns, plus a small loyalty administration fee.":"Depois disso, volta o preço normal, mais uma pequena taxa de administração de fidelidade.", -"Stay, take the discount":"Ficar com o desconto", -"Leave anyway":"Sair mesmo assim", -"Route server session up.
You now peer with every open network on this IX, in one go.":"Sessão com o route server ativa.
Agora você faz peering com todas as redes abertas deste IX, de uma vez só.", -"Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.":"Contrato assinado com a DE-KICKS.
Bem-vindo à família. Por favor, não conte a ninguém quanto você paga.", -"\"Just this once.\"
Your account manager found a special discount. Do not tell the others.":"“Só desta vez.”
Seu account manager achou um desconto especial. Não conte aos outros.", -"\"After consulting with management…\"
The price went up. Management was consulted.":"“Depois de consultar a diretoria…”
O preço subiu. A diretoria foi consultada.", -"Haggling paused.
{why}":"Negociação pausada.
{why}", -"DE-KICKS will \"circle back\".
Expect an email titled \"Quick question 🙂\" within the hour.":"A DE-KICKS vai “dar um retorno”.
Espere um e-mail com o assunto “Pergunta rápida 🙂” dentro de uma hora.", -"Opted out of {name}.
It took four clicks, a survey and a \"we're sad to see you go\" page.":"Você cancelou {name}.
Foram quatro cliques, uma pesquisa e uma página de “que pena que você vai embora”.", -"40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.":"40% de desconto no {ix} por 6 meses.
Seu account manager respirou aliviado. Leia as letras miúdas depois.", -"Script removed. Plain Auto-TE is back in charge.":"Script removido. O Auto-TE simples volta ao comando.", -"✓ {n} rule OK":"✓ {n} regra OK", -"✓ {n} rules OK":"✓ {n} regras OK", -"served {a} → {b}":"servido {a} → {b}", -"transit {a}/mo → {b}/mo":"transit {a}/mês → {b}/mês", -"spilled {g} onto alternate paths":"desviado {g} para rotas alternativas", -"blackholed {g}":"blackhole {g}", -"commit failed":"commit falhou", -"Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.":"Commit concluído. Tráfego caiu {p}.
Você acabou de dar um fat-finger na própria rede. Clássico. Corrija o script na aba NOC.", -"Commit complete.":"Commit concluído.", -"{n} rule live, transit bill down {p}.":"{n} regra ativa, conta de transit caiu {p}.", -"{n} rules live, transit bill down {p}.":"{n} regras ativas, conta de transit caiu {p}.", -"{n} rule live.":"{n} regra ativa.", -"{n} rules live.":"{n} regras ativas.", -"Auto-TE unlocks at customer level 3.":"Auto-TE desbloqueia no nível de cliente 3.", -"Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.":"Auto-TE ativo.
Agora o controller joga o excesso para rotas alternativas sempre que a mais curta lota.", -"Copied. Paste it into your favourite NOC chat.":"Copiado. Cole no seu chat de NOC favorito.", -"{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at":"{name} (AS{asn}): {tier}, pico de {peak}. Construa sua própria internet em", -"Registered.
Flights booked, badge printed, business cards ordered in the wrong font.":"Inscrito.
Voos reservados, crachá impresso, cartões de visita encomendados na fonte errada.", -"Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.":"Segundo site ativo em {city}.
{b} está ligado a {a} pelo seu próprio anel metro. Mova alguns uplinks pra lá nas abas Transit e Peering.", -"Second LAG member added.
One member in each building now, so a dark building only takes out half the port.":"Segundo membro do LAG adicionado.
Agora tem um membro em cada prédio, então um prédio apagado só derruba metade da porta.", -"{net} declined.
{why}":"{net} recusou.
{why}", -"{net} accepted!":"{net} aceitou!", -"They checked your PearingDB page and liked the traffic numbers.":"Eles olharam sua página no PearingDB e curtiram os números de tráfego.", -"BGP session established.":"Sessão BGP estabelecida.", -"{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nova sessão em {ix}.
Redes pequenas, mas somam, e todas contam para o clube.", -"{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} novas sessões em {ix}.
Redes pequenas, mas somam, e todas contam para o clube.", -"{net} declined the PNI.
{why}":"{net} recusou o PNI.
{why}", -"{net} says not yet.
Send them {min}+ Gbps first.":"{net} diz: ainda não.
Mande {min}+ Gbps pra eles primeiro.", -"{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.":"{cache} instalado em {city}!
{net} mandou de graça. Você paga {mo}/mês de energia.", -"You need a POP in every city on the contract first.":"Primeiro você precisa de um POP em cada cidade do contrato.", -"Not enough free channels on that fiber any more.":"Não há mais canais livres suficientes nessa fibra.", -"Too late: the event has already started.":"Tarde demais: o evento já começou.", -"Signed!":"Assinado!", -"The event is already running.
The organisers will not let you walk out now.":"O evento já está rolando.
Os organizadores não vão deixar você sair agora.", -"Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.":"Reiniciado.
O router em {city} está dando boot de novo. Volta amanhã, se o {chip} quiser.", -"Fixed. {what} resolved early.":"Resolvido. {what}: resolvido antes da hora.", -"A {fab} fabric unlocks at customer level {lv}.":"Um fabric {fab} desbloqueia no nível de cliente {lv}.", -"{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.":"{ix} agora roda num fabric {fab}.
Espaço para {max} membros. Espere mais alguns chegarem.", -"You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.":"Você fundou o {ix}!
As redes vão entrar com o tempo e pagar pelas portas. Membros open fazem peering com você de graça.", -"No cable available for that route right now.":"Nenhum cabo disponível para essa rota agora.", -"{wave} lit!":"{wave} acesa!", -"Too many circuits for a smaller port.":"Circuitos demais para uma porta menor.", -"{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.":"Porta {fab} no ar em {city}.
Agora peça circuitos virtuais para outras cidades no fabric deles.", -"Cancel the circuits on this port first.":"Cancele os circuitos desta porta primeiro.", -"Not enough room on your fabric port. Upgrade it first.":"Sem espaço na sua porta de fabric. Faça upgrade primeiro.", -"Not enough room on your {fab} port in {city}.":"Sem espaço na sua porta {fab} em {city}.", -"Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.":"Circuito no ar em 59 segundos.
{vxc} via {fab}: {a} → {b}.", -"Now grab an IX port there for remote peering.":"Agora pegue uma porta de IX lá para remote peering.", -"Fabric port in {city} is full.":"A porta de fabric em {city} está cheia.", -"Application filed.
Your local partner says about 45 days. Probably.":"Pedido protocolado.
Seu parceiro local diz uns 45 dias. Provavelmente.", -"{tier} scrubbing unlocks at customer level {lv}.":"Scrubbing {tier} desbloqueia no nível de cliente {lv}.", -"{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.":"Centro de scrubbing {tier} no ar em {city}.
Ataques de até {g} são limpos, e você pode vender proteção DDoS.", -"Scrubbing upgraded to {tier}.":"Scrubbing atualizado para {tier}.", -"Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.":"Add-on clean-pipe ativado em {net}.
Eles limpam um flood antes de chegar na sua porta aqui, por {mo}/mês.", -"Clean-pipe add-on removed from {net}.":"Add-on clean-pipe removido de {net}.", -"{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.":"O PNI com {net} agora é um gargalo de sacrifício.
Um flood vindo de lá morre na porta pequena em vez de dentro da sua rede, mas o tráfego legítimo passa com metade da capacidade.", -"{net} PNI is back to normal.":"O PNI com {net} voltou ao normal.", -"No IX in {city} to announce a blackhole to.":"Não há IX em {city} para anunciar um blackhole.", -"IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.":"Blackhole no IX anunciado em {city}.
Cerca de metade dos membros respeita o /32 e descarta o lixo. O cliente continua no ar.", -"IX blackhole withdrawn.":"Blackhole no IX retirado.", -"SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.":"Violação de SLA: {name}.
O ataque em {city} passou e seu cliente protegido caiu. Você deve {pen} em créditos de SLA.", -"Router added":"Router adicionado", -"Unplug something first.
{used} ports are in use, and one router fewer only has {max}.":"Desconecte algo primeiro.
Há {used} portas em uso, e com um router a menos só teria {max}.", -"The {model} won't fit.
{why}":"O {model} não cabe.
{why}", -"{model} unlocks at customer level {lv}.":"{model} desbloqueia no nível de cliente {lv}.", -"Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.":"Trocando o único router de {city} por um {model}. O novo {how}. Volta em {n} dias.", -"Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.":"Trocando o único router de {city} por um {model}. Janela de manutenção: volta amanhã.", -"Maintenance window in {city}":"Janela de manutenção em {city}", -"One router, and this one takes forever to boot. Back in {n} days.":"Um router só, e esse demora uma eternidade pra dar boot. Volta em {n} dias.", -"One router means downtime during the swap. Back tomorrow.":"Um router só significa downtime durante a troca. Volta amanhã.", -"Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.":"Upgrade gradual em {city}
{n} × {model}, trocados um de cada vez. Zero downtime.", -"Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.":"Pedra fundamental!
Sua própria fibra de {a} a {b}. Licenças e escavação levam uns {n} dias.", -"Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.":"IRU de dark fiber assinado.
{a}–{b} será emendada e entregue em uns 30 dias.", -"Can't add {optic}.
{why}":"Não dá para adicionar {optic}.
{why}", -"Line system swap
All channels are dark for a day while the ROADMs go in.":"Troca do line system
Todos os canais ficam apagados por um dia enquanto os ROADMs são instalados.", -"Generator!":"Gerador!", -"Start {name}?":"Começar {name}?", -"{name} will be replaced. Export it from the menu first if you want to keep it.":"{name} será substituído. Exporte pelo menu antes se quiser guardar.", -"Start the scenario":"Começar o cenário", -"Start the weekly challenge?":"Começar o desafio semanal?", -"Start the challenge":"Começar o desafio", -"Import failed.
That save is damaged and could not be loaded. Your current game is untouched.":"Falha na importação.
Esse save está corrompido e não pôde ser carregado. Seu jogo atual não foi mexido.", -"Welcome back, {name}.
Imported and saved on this device.":"Bem-vindo de volta, {name}.
Importado e salvo neste dispositivo.", -"Your game saves itself every few seconds on this device.":"Seu jogo se salva sozinho a cada poucos segundos neste dispositivo.", -"Back to the map":"Voltar ao mapa", -"Export save download a file":"Exportar save baixar um arquivo", -"Import a save from a file":"Importar um save de um arquivo", -"Share your network image card":"Compartilhar sua rede card de imagem", -"Scenarios & weekly challenge":"Cenários & desafio semanal", -"How to play":"Como jogar", -"What’s new in {v}":"Novidades da {v}", -"Start a new network":"Começar uma nova rede", -"Start a new network?":"Começar uma nova rede?", -"{name} and everything it owns will be deleted. This cannot be undone.":"{name} e tudo o que ela possui serão apagados. Não dá para desfazer.", -"Your network":"Sua rede", -"Delete and start over":"Apagar e recomeçar", -"Unlocks at customer level {n}.":"Desbloqueia no nível de cliente {n}.", -"Needs a ROADMaster 9000 line system.":"Precisa de um line system ROADMaster 9000.", -"Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).":"Longe demais até na configuração mais lenta: um span óptico aqui tem {span} km e ela alcança {max} km. Adicione um site de regeneração (Line system).", -"{sys} is full ({max} channels, {sold} sold to customers).":"{sys} está cheio ({max} canais, {sold} vendidos a clientes).", -"{sys} is full ({max} channels).":"{sys} está cheio ({max} canais).", -"Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.":"Save exportado.
{file} está nos seus downloads. Abra em outro dispositivo com “Importar um save”.", -"That file is not valid JSON.":"Esse arquivo não é um JSON válido.", -"That does not look like a Series of Tubes save.":"Isso não parece um save de Series of Tubes.", -"That network went bankrupt. It cannot be brought back, only mourned.":"Essa rede foi à falência. Não dá para trazer de volta, só chorar.", -"That save has a POP in a city this version does not know ({city}).":"Esse save tem um POP numa cidade que esta versão não conhece ({city}).", -"Unnamed network":"Rede sem nome", -"That file is too big to be a save.":"Esse arquivo é grande demais para ser um save.", -"Import failed.
{err}":"Falha na importação.
{err}", -"Import a save":"Importar um save", -"Load {name}?":"Carregar {name}?", -"{cash} in the bank":"{cash} no banco", -"{n} POP":"{n} POP", -"{n} POPs":"{n} POPs", -"saved by v{ver}":"salvo pela v{ver}", -"This replaces {name}. Export it first if you want to keep it.":"Isso substitui {name}. Exporte antes se quiser guardar.", -"Load this network":"Carregar esta rede", -"Cancel":"Cancelar", -"{n}d left":"faltam {n}d", -"{n} incident":"{n} incidente", -"{n} incidents":"{n} incidentes", -"All quiet":"Tudo tranquilo", -"Goals":"Metas", -"Deals":"Negócios", -"Reward {cash}":"Prêmio {cash}", -"Customer level {lv}: {name}":"Nível de cliente {lv}: {name}", -"Next: {req} unlocks {what}":"Próximo: {req} desbloqueia {what}", -"Every customer type is unlocked. Go get those terabits.":"Todos os tipos de cliente estão desbloqueados. Vai lá buscar esses terabits.", -"No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.":"Nenhuma oferta aberta agora. Empresas procuram redes com POP na cidade delas. Novas aparecem a cada poucas semanas.", -"{n} special requirement":"{n} requisito especial", -"{n} special requirements":"{n} requisitos especiais", -"Accept":"Aceitar", -"Go there":"Ir lá", -"Decline":"Recusar", -"Needs a POP in {cities}":"Precisa de um POP em {cities}", -"Open NOC dashboard":"Abrir painel do NOC", -"Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.":"Seu Network Operations Center. Toda notificação também cai aqui. Na internet as coisas quebram o tempo todo. Links redundantes e vários upstreams deixam o tráfego se rerotear sozinho.", -"DDoS scrubbing":"Scrubbing DDoS", -"On · {city}":"On · {city}", -"None (build one from a POP's Infra tab)":"Nenhum (construa um na aba Infra de um POP)", -"On · moving {g} onto alternate paths":"On · movendo {g} para rotas alternativas", -"Off":"Off", -"Turn Auto-TE off":"Desligar Auto-TE", -"Turn Auto-TE on":"Ligar Auto-TE", -"Edit RouteScript":"Editar RouteScript", -"Write a RouteScript":"Escrever um RouteScript", -"{n} rules live":"{n} regras ativas", -"has errors, not running":"tem erros, não está rodando", -"controller off":"controller desligado", -"blackholing {g}":"{g} em blackhole", -"Unlocks at customer level 3":"Desbloqueia no nível de cliente 3", -"Not installed":"Não instalado", -"Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.":"O tráfego pega a rota mais curta, mesmo lotada. Um controller de traffic engineering joga o excesso para as próximas melhores rotas com espaço.", -"Install Auto-TE {cost} + {mo}/mo":"Instalar Auto-TE {cost} + {mo}/mês", -"Congested links":"Links congestionados", -"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.":"Aumente a métrica de um link cheio para o tráfego preferir outra rota, faça upgrade nele ou instale o Auto-TE.", -"{p} full":"{p} cheio", -"Inspect":"Inspecionar", -"Ports, caches and routers running hot":"Portas, caches e routers no talo", -"dropping or overflowing":"descartando ou transbordando", -"All systems green. Enjoy it while it lasts.":"Tudo verde. Aproveite enquanto dura.", -"Auto-fix in {n} day":"Se resolve sozinho em {n} dia", -"Auto-fix in {n} days":"Se resolve sozinho em {n} dias", -"{g} lost":"{g} perdidos", -"Incidents so far":"Incidentes até agora", -"Survived with no impact":"Sobreviveu sem impacto", -"Transit":"Transit", -"{p}% of traffic":"{p}% do tráfego", -"transit ${price}/Gbps":"transit ${price}/Gbps", -"The long tail":"A cauda longa", -"{n} small networks":"{n} redes pequenas", -"{p}% of traffic between them, scattered across exchanges. You peer with {n}.":"{p}% do tráfego somadas, espalhadas pelos exchanges. Você faz peering com {n}.", -"Hide":"Ocultar", -"Show":"Mostrar", -"{g} of eyeballs":"{g} de eyeballs", -"Transit {x}× pricier":"Transit {x}× mais caro", -"Underserved: users grow 60% faster":"Mal atendida: usuários crescem 60% mais rápido", -"IX: {ix}":"IX: {ix}", -"Your POP":"Seu POP", -"Open a POP here":"Abrir um POP aqui", -"A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.":"Um POP (point of presence) é seu router num rack aqui. Depois conecte: lance fibra de um dos seus POPs ou compre transit aqui mesmo.", -"Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.":"Inclui a caixa obrigatória do governo no seu rack: {cost} + {mo}/mês. Já vem com ouvinte próprio.", -"Build POP {cost} + {mo}/mo":"Construir POP {cost} + {mo}/mês", -"Or drag from one of your routers to this city to lay fiber and build the POP in one go.":"Ou arraste de um dos seus routers até esta cidade para lançar fibra e construir o POP de uma vez.", -"Internet Exchange":"Internet Exchange", -"Remote peering at the IX":"Remote peering no IX", -"Remote peering":"Remote peering", -"Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.":"Faça peering em {ix} sem construir um POP. Peça aqui um circuito virtual a partir de um dos seus POPs via {fabs}.", " or ":" ou ", -"Order circuit anyway":"Pedir o circuito mesmo assim", -"Who's here":"Quem está aqui", -"AI and cloud campuses nearby: {list}":"Campi de IA e cloud por perto: {list}", -"Transit sellers: {list}":"Vendedores de transit: {list}", -"none":"nenhum", -"Fabrics: {list}":"Fabrics: {list}", -"IX members on {ix}: {n}":"Membros do IX em {ix}: {n}", -"No IX here yet. You could found one later.":"Ainda não tem IX aqui. Você pode fundar um depois.", -"Peering":"Peering", -"Infra":"Infra", -"This POP is down":"Este POP está fora do ar", -"Customers here get nothing until it's back.":"Os clientes daqui ficam sem nada até ele voltar.", -"Router maxed out":"Router no limite", -"Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.":"Seus routers aqui estão encaminhando {load} de {cap}. Tráfego sendo descartado. Faça upgrade ou adicione um router na aba Infra.", -"Open Infra":"Abrir Infra", -"Home broadband":"Banda larga residencial", -"Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.":"Venda internet para as casas daqui. Começa em uns {start} e cresce até {max} enquanto o serviço for bom. Paga {rate} por Gbps servido, todo mês.", -"Launch broadband {cost}":"Lançar banda larga {cost}", -"Eyeball demand":"Demanda de eyeballs", -"{a} of {b}":"{a} de {b}", -"Served in {city}":"Servido em {city}", -"Revenue":"Receita", -"Network-wide peering ratio":"Taxa de peering da rede toda", -"More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.":"Mais tráfego por peering, PNIs e caches significa latência menor, e usuários felizes crescem mais rápido.", -"Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.":"Os clientes estão insatisfeitos e indo embora. Adicione capacidade de upstream, peering ou um link maior.", -"Ad campaign: {n}d left":"Campanha de anúncios: faltam {n}d", -"Run ad campaign $8k · 2× growth 30d":"Rodar campanha $8k · 2× crescimento 30d", -"Business customers":"Clientes empresariais", -"No businesses yet. Offers pop up as $ bubbles on the map.":"Nenhuma empresa ainda. As ofertas aparecem como bolhas de $ no mapa.", -"carrying {g} per site":"levando {g} por site", -"carrying {g}":"levando {g}", -"fiber is down":"a fibra caiu", -"serving {v}":"atendendo {v}", -"needs a scrubbing center":"precisa de um centro de scrubbing", -"provisioning, {n}d grace":"em ativação, {n}d de carência", -"Happiness {p}%":"Satisfação {p}%", -"Really drop?":"Largar mesmo?", -"Drop":"Largar", -"IP transit":"IP transit", -"Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.":"Pague por Gbps a uma rede maior e ela leva seu tráfego para a internet inteira. Cobrado pelo percentil 95 dos últimos 30 dias, com commit de 20% e taxa de porta. Picos como DDoS aumentam sua conta.", -"Nobody sells transit here. Haul your traffic over fiber to a city that has it.":"Ninguém vende transit aqui. Leve seu tráfego por fibra até uma cidade que tenha.", +"!N network unreachable":"!N rede inalcançável", +"# 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.", +"# Buy transit from a second upstream, then prefer the cheaper one.":"# Compre trânsito de um segundo upstream e depois prefira o mais barato.", +"# Confidence: 100%.":"# Confiança: 100%.", +"# Customer Care: the people who pay for an SLA come first.":"# Cuidado com o cliente: quem paga um SLA vem primeiro.", +"# Keep Calm: one rule, hard to get wrong.":"# Fique calmo: uma regra, difícil de errar.", +"# 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.", +"# 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.", +"# Peering First: free paths before paid ones.":"# Peering primeiro: caminhos grátis antes dos pagos.", +"# Penny Pincher: cheapest upstream first, priciest last.":"# Mão de vaca: o upstream mais barato primeiro, o mais caro por último.", +"# 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.", +"# Shields Up: for the length of the attack only.":"# Escudos ativados: só enquanto durar o ataque.", +"# Suggested by the optimizer from live traffic. It has never been paged at 3 a.m., so check it, then deploy.":"# Sugerido pelo otimizador a partir do tráfego ao vivo. Ele nunca foi acionado às 3 da manhã, então confira e depois faça o deploy.", +"# {net}: {g} over the IX. A PNI would take it off the shared port.":"# {net}: {g} via IX. Um PNI tiraria isso da porta compartilhada.", +"# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.":"# {net}: {g} via transit, mas faz peering no {ix} em {city}, onde você tem um POP. Pegue uma porta lá.", +"# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.":"# {net}: {g} via transit, mas faz peering no {ix}, onde você tem um POP. Pegue uma porta lá.", +"# ✨ Written by {ai}. Prompt: “make my network good”.":"# ✨ Escrito por {ai}. Prompt: “deixa minha rede boa”.", "${price} per Gbps / month · billed on 95th percentile":"${price} por Gbps / mês · cobrado no percentil 95", -"OUTAGE":"FORA DO AR", -"CN-Too premium on ✓":"CN-Too premium ativo ✓", -"Switch to CN-Too premium {x}× price · ~3% loss into China":"Mudar para CN-Too premium preço {x}× · ~3% de perda para a China", -"Top destinations on this port":"Principais destinos nesta porta", -"95th pct {p95} · commit {commit} · bill {bill}/mo":"pct 95 {p95} · commit {commit} · conta {bill}/mês", -"Upgrade all to {port} {cost} + {mo}/mo":"Upgrade de todas para {port} {cost} + {mo}/mês", -"Upgrade {port} {cost} + {mo}/mo":"Upgrade para {port} {cost} + {mo}/mês", -"+ LAG member {cost} + {mo}/mo":"+ membro LAG {cost} + {mo}/mês", -"− member":"− membro", -"Really cancel?":"Cancelar mesmo?", -"{port} {cost} + {mo}/mo":"{port} {cost} + {mo}/mês", -"Private interconnects (PNI)":"Interconexões privadas (PNI)", -"A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.":"Um cross-connect dedicado para uma única rede em {dc}. Exige mais tráfego que peering no IX, mas tem capacidade própria.", -"Really remove?":"Remover mesmo?", -"Remove":"Remover", -"Paid peering: {price}/mo on top":"Peering pago: {price}/mês a mais", -"Embedded caches":"Caches embarcados", -"CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.":"CDNs colocam servidores de cache grátis dentro do seu POP. A maior parte do tráfego delas é servida aqui mesmo, sem transit e sem porta de IX.", -"from {net}":"de {net}", -"{n} box":"{n} caixa", -"{n} boxes":"{n} caixas", -"100G per box":"100G por caixa", -"Needs {min} Gbps of traffic to {net} (now {now})":"Precisa de {min} Gbps de tráfego para {net} (agora {now})", -"+ box":"+ caixa", -"Request":"Pedir", -"The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.":"O modelo define sua interface mais rápida e quanto este POP consegue encaminhar. Mais routers somam capacidade e sobrevivem a crashes.", -"Up to {pn} interfaces · {ports} ports and {cap} per router":"Interfaces até {pn} · {ports} portas e {cap} por router", -"Router ports":"Portas do router", -"{used} / {max} in use":"{used} / {max} em uso", -"Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.":"Todas as portas estão ocupadas. Adicione um router ou troque por um modelo com mais portas antes de plugar algo novo.", -"Forwarding chip":"Chip de forwarding", -"Boot time":"Tempo de boot", -"~{n} min · a slow one":"~{n} min · uma lesma", -"~{n} min":"~{n} min", -"This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.":"Este chassi demora uma eternidade pra dar boot: crashes duram mais, e trocar o único router daqui leva 3 dias. Um segundo router disfarça isso.", -"Forwarding load":"Carga de forwarding", -"Maxed out. Traffic here is being dropped.":"No limite. O tráfego aqui está sendo descartado.", -"{model} level {lv}":"{model} nível {lv}", -"Upgrade to {model} {cost} + {mo}/mo":"Upgrade para {model} {cost} + {mo}/mês", -"Hide other models":"Ocultar outros modelos", -"Other models":"Outros modelos", -"Add router {cost} + {mo}/mo":"Adicionar router {cost} + {mo}/mês", -"Remove one":"Remover um", -"Rolling upgrade: one router at a time, no downtime.":"Upgrade gradual: um router por vez, sem downtime.", -"With one router, the upgrade needs a maintenance window: this POP goes dark for a day.":"Com um router só, o upgrade precisa de janela de manutenção: este POP fica apagado por um dia.", -"A crash here only costs one router’s capacity for a few days.":"Um crash aqui só custa a capacidade de um router por alguns dias.", -"One router is a single point of failure.":"Um router só é um single point of failure.", -"Metro diversity":"Diversidade metro", "(split)":"(dividido)", -"Nothing plugged in here yet":"Nada plugado aqui ainda", -"Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.":"Dois prédios ligados pelo seu próprio anel metro. Uma queda de energia ou um faxineiro em um deixa o outro rodando com metade da capacidade. Uplinks só funcionam enquanto o site deles está no ar, a menos que você os divida: escolha Ambos numa porta para pôr membros do LAG em cada prédio.", -"Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.":"Está tudo num prédio só. Mova alguns uplinks para o outro site nas abas Transit e Peering.", -"Second site and metro ring":"Segundo site e anel metro", -"Really close it?":"Fechar mesmo?", -"Close site B":"Fechar site B", -"Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.":"Agora {city} é um prédio só. Uma queda de energia, uma pane no ar-condicionado ou um faxineiro com aspirador apaga a cidade toda, e um segundo router não ajuda nisso. Um segundo data center do outro lado da cidade, ligado pelo seu próprio anel metro, mantém metade do POP no ar.", -"Add a second site {cost} + {mo}/mo":"Adicionar um segundo site {cost} + {mo}/mês", -"Power":"Energia", -"Backup generator":"Gerador de backup", -"Installed":"Instalado", -"None":"Nenhum", -"Power cuts are covered.":"Quedas de energia estão cobertas.", -"Install generator {cost} + {mo}/mo":"Instalar gerador {cost} + {mo}/mês", -"DDoS scrubbing center":"Centro de scrubbing DDoS", -"Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.":"Limpa ataques para a rede toda, até a capacidade de banda limpa, e desbloqueia contratos de proteção DDoS. O tráfego limpo volta via GRE, o que pode reabrir o buraco negro do MSS.", -"On-demand (engages in {n}d)":"On-demand (ativa em {n}d)", -"Always-on":"Always-on", -"Switch to always-on":"Mudar para always-on", -"Switch to on-demand cheaper":"Mudar para on-demand mais barato", -"Upgrade to {tier} {cost}":"Upgrade para {tier} {cost}", -"Really shut it down?":"Desligar mesmo?", -"Shut down":"Desligar", -"Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.":"Limpa ataques DDoS de toda a sua rede, até a capacidade de banda limpa, e libera contratos de proteção DDoS para empresas.", -"Build {tier} {cost} + {mo}/mo":"Construir {tier} {cost} + {mo}/mês", -"Interconnection fabrics (NNI)":"Fabrics de interconexão (NNI)", -"Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.":"Compre uma porta num fabric e depois peça circuitos virtuais para seus outros POPs ou para um IX remoto. Rápido e flexível, mas você divide o fabric deles.", -"{port} port · {price}/mo":"Porta {port} · {price}/mês", -"{g} of circuits":"{g} de circuitos", -"New circuit":"Novo circuito", -"Remove port":"Remover porta", -"{port} port {price}/mo":"Porta {port} {price}/mês", -"{port} port {price}":"Porta {port} {price}", -"free":"grátis", -"Fiber from {city}":"Fibra de {city}", -"Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.":"Arraste deste router até qualquer cidade no mapa para lançar um novo link. Dois caminhos para cada POP significam que uma retroescavadeira não te derruba.", -"No links yet.":"Nenhum link ainda.", -"diverse":"diverso", -"CUT":"CORTADO", -"virtual circuit via {fab}":"circuito virtual via {fab}", -"dark fiber IRU":"dark fiber IRU", -"ready in {n}d":"pronto em {n}d", -"subsea":"submarino", -"terrestrial":"terrestre", -"Internet Exchanges":"Internet Exchanges", -"{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.":"{n} exchanges competem em {city}. Os membros se sobrepõem, mas não totalmente, e os desafiantes cobram menos que o incumbente. Redes pequenas costumam ficar em só um deles.", -"challenger":"desafiante", -"incumbent":"incumbente", -"Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.":"Operar um exchange na China continental exige uma licença totalmente diferente. Faça peering com redes chinesas via PNI ou encontre-as em Hong Kong.", -"There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.":"Ainda não há IX em {city}. Funde um: as redes entram com o tempo, pagam pelas portas e fazem peering com você de graça.", -"Found your own IX {cost} + {mo}/mo":"Fundar seu próprio IX {cost} + {mo}/mês", -"Build a POP here first.":"Construa um POP aqui primeiro.", -"{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.":"{ix} é um switch compartilhado. Com uma porta você faz peering grátis com todos os membros. Membros: {list}.", -"nobody yet":"ninguém ainda", -", plus {n} small network":", mais {n} rede pequena", -", plus {n} small networks":", mais {n} redes pequenas", -"Ports at {p}% of the usual price.":"Portas a {p}% do preço normal.", -"Ports up to {port} are free.":"Portas até {port} são grátis.", -"Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.":"Gerido por uma ONG. Preços públicos a uma fração do que os outros exchanges cobram, e quase todo mundo está aqui.", -"Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.":"Gerido pelo DE-KICKS Group. Sem tabela de preços pública. Peça ao comercial uma cotação personalizada e capriche na cara de pechincha.", -"{port} port Price on request ☎":"Porta {port} Preço sob consulta ☎", -"Your own fabric · {name}":"Seu próprio fabric · {name}", -"DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).":"Preço personalizado DE-KICKS: {p}% do que um IX normal cobraria (promo, faltam {n} dias).", -"DE-KICKS personalised pricing: {p}% of what a normal IX would charge.":"Preço personalizado DE-KICKS: {p}% do que um IX normal cobraria.", -"auto-enrolled":"inscrito automaticamente", -"Lose exclusive benefits?":"Perder benefícios exclusivos?", -"Opt out":"Sair", -"Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.":"Porta remota via revendedor: preço 1,5×, 80% utilizável, e {n} membro aqui recusa peers remotos.", -"Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.":"Porta remota via revendedor: preço 1,5×, 80% utilizável, e {n} membros aqui recusam peers remotos.", -"Members paying you":"Membros pagantes", -"{n} of up to {max} · {price}/mo":"{n} de até {max} · {price}/mês", -"{name} fabric level {lv}":"Fabric {name} nível {lv}", -"Upgrade fabric to {name} {cost} + {mo}/mo":"Upgrade para fabric {name} {cost} + {mo}/mês", -"A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.":"Um fabric maior carrega mais tráfego e tem espaço para mais membros. Seu router aqui ainda precisa dar conta.", -"Biggest fabric money can buy.":"O maior fabric que o dinheiro pode comprar.", -"Upgrade {port} {price}/mo":"Upgrade para {port} {price}/mês", -"Upgrade {port} {price}":"Upgrade para {port} {price}", +"+ Clean-pipe {mo}/mo · scrubs DDoS upstream":"+ Clean-pipe {mo}/mês · limpa DDoS upstream", +"+ LAG member {cost} + {mo}/mo":"+ membro LAG {cost} + {mo}/mês", "+ LAG member {price}":"+ membro LAG {price}", -"Leave route server":"Sair do route server", -"Join route server":"Entrar no route server", -"Really leave?":"Sair mesmo?", -"Leave IX":"Sair do IX", -"Request all {n} willing peers":"Pedir todos os {n} peers dispostos", -"tiny":"minúscula", -"Member":"Membro", -"via RS":"via RS", -"Peered ✓":"Em peering ✓", -"Click to tear down":"Clique para encerrar", -"Virtual circuit · {name} · {km} km":"Circuito virtual · {name} · {km} km", -"{name} is down. Nothing you can do but wait, or have another path.":"{name} caiu. Não há o que fazer além de esperar, ou ter outro caminho.", -"Capacity":"Capacidade", -"{name} circuit":"Circuito {name}", -"Monthly":"Mensal", -"Remote peering leg into {ix}.":"Trecho de remote peering até {ix}.", -"Cancel circuit":"Cancelar circuito", -"Egress:":"Saída:", -"What's on this link":"O que passa neste link", -"No traffic right now.":"Sem tráfego no momento.", -"DDoS junk":"Lixo de DDoS", -"L2VPN customers":"Clientes L2VPN", -"Totals for all {n} links between these cities.":"Totais de todos os {n} links entre essas cidades.", -"Content from":"Conteúdo de", -"Enters your network at":"Entra na sua rede em", -"Going to customers in":"Indo para clientes em", -"Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Maior fonte: {egress} em {city}. Coloque em “Só backup”, dê aos clientes uma saída mais próxima (peering, um cache, transit local) ou aumente a métrica deste link.", -"Routing metric":"Métrica de roteamento", -"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"Seus routers escolhem o caminho de menor custo. Aumente a métrica para empurrar o tráfego para outros caminhos. “Só backup” deixa o link ocioso a menos que nada mais funcione. Vale para todos os links entre essas duas cidades.", -"Behind the Great Firewall":"Atrás do Great Firewall", -"Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"A China continental joga com regras próprias. {list} e outros serviços estrangeiros são bloqueados aqui, então os usuários acessam principalmente redes chinesas. O tráfego que cruza a fronteira perde cerca de {pct} com filtragem e congestionamento, a menos que vá por uma rota premium: transit CN-Too ou um circuito transfronteiriço premium (ambos vendidos só em Hong Kong), ou um PNI com uma rede chinesa. A receita por usuário aqui é menor.", -"Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Redes estrangeiras precisam de uma joint venture local e de uma licença de operação para construir infraestrutura aqui.", -"Apply for a license {price} + {mo}/mo · ~45 days":"Pedir licença {price} + {mo}/mês · ~45 dias", -"License paperwork in progress: {n} days left.":"Papelada da licença em andamento: faltam {n} dias.", -"Your joint venture holds an operating license.":"Sua joint venture tem uma licença de operação.", -"Your traffic crossing the border":"Seu tráfego cruzando a fronteira", -"Lost on the way":"Perdido no caminho", -"Dark fiber · {kind} · {km} km":"Dark fiber · {kind} · {km} km", -"your own build":"construção própria", -"leased IRU":"IRU alugado", -"Under construction":"Em construção", -"Being spliced":"Sendo emendada", -"Permits, trenching, splicing":"Licenças, valas, emendas", -"IRU handover":"Entrega do IRU", -"{n} days left":"faltam {n} dias", -"Hire extra crews {price} · −30 days":"Contratar equipes extras {price} · −30 dias", -"You can pre-install optics now so it lights up the day it's ready.":"Você já pode pré-instalar as ópticas, para ela acender no dia em que ficar pronta.", -"Dark!":"Apagada!", -"{n} of {max} channels lit":"{n} de {max} canais acesos", -"{n} sold as alien waves":"{n} vendidos como alien waves", -"Latency":"Latência", -"Right-of-way upkeep":"Manutenção da faixa de servidão", -"IRU lease":"Aluguel do IRU", -"{n} amp huts":"{n} abrigos de amplificador", -"This fiber is dark. Add optics below to carry traffic.":"Esta fibra está apagada. Adicione ópticas abaixo para levar tráfego.", -"Optics":"Ópticas", -"Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.":"Cada canal é um par de ópticas, uma em cada ponta. Ópticas ZR+ encaixam direto nos seus routers. Transponders ficam numa prateleira.", -"{g} to {km} km":"{g} até {km} km", -"Runs at {g} per channel on this route (long-haul mode).":"Nesta rota roda a {g} por canal (modo long-haul).", -"{n} regen site would bring it back to {g}.":"{n} site de regeneração traria de volta a {g}.", -"{n} regen sites would bring it back to {g}.":"{n} sites de regeneração trariam de volta a {g}.", -"Regen sites":"Sites de regeneração", -"{n} · optical spans of {km} km":"{n} · trechos ópticos de {km} km", -"A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.":"Um site de regeneração transforma a luz de volta em bits no meio do caminho e a reenvia novinha, então as ópticas só precisam alcançar o próximo site. Cada um precisa de uma placa de regeneração para cada canal aceso. {price}/mês por site pelo abrigo.", "+ Regen site {price}":"+ Site de regeneração {price}", -"− Regen site":"− Site de regeneração", -"Those optics need the regen site.
Remove the long-haul channels first, or keep the site.":"Essas ópticas precisam do site de regeneração.
Remova primeiro os canais long-haul, ou mantenha o site.", -"Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.":"O site de regeneração {n} está ativo.
Os trechos ópticos em {a}–{b} agora têm {km} km.", -"Regen site removed.":"Site de regeneração removido.", -"{n} lit":"{n} acesos", -"Line system":"Sistema de linha", -"{n} amplifiers":"{n} amplificadores", -"Spares kit on ✓":"Kit de reserva ativo ✓", -"Keep a spares kit {price}/mo":"Manter kit de reserva {price}/mês", -"Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.":"Ópticas e placas de amplificador de reserva na prateleira transformam falhas de hardware de vários dias em trocas de um dia.", -"Really give it up?":"Desistir mesmo?", -"Abandon the fiber":"Abandonar a fibra", -"Cancel the IRU":"Cancelar o IRU", -"Offers here":"Ofertas aqui", -"They need the full internet. Your reach is {pct}.":"Eles querem a internet inteira. Seu alcance é de {pct}.", -"Needs your own scrubbing center (Infra tab).":"Requer seu próprio centro de scrubbing (aba Infra).", -"Needs a POP in {cities} too.":"Requer um POP em {cities} também.", -"No":"Não", -"Subsea cable":"Cabo submarino", -"Terrestrial fiber":"Fibra terrestre", -"Cut!":"Cortado!", -"Back in {n} days.":"Volta em {n} dias.", -"{name} wave":"Wave {name}", -"Cable system":"Sistema de cabo", -"Wave lease":"Aluguel da wave", -"Congested. Upgrade it or add a parallel path.":"Congestionado. Faça upgrade ou adicione um caminho paralelo.", -"needs {what}":"requer {what}", -"Redundancy":"Redundância", -"Shares a trench with {n} other link. One cut takes them all down.":"Divide a vala com {n} outro link. Um corte derruba todos.", -"Shares a trench with {n} other links. One cut takes them all down.":"Divide a vala com outros {n} links. Um corte derruba todos.", -"Runs on its own route. A cut here leaves the other links up.":"Segue uma rota própria. Um corte aqui deixa os outros links de pé.", -"This is the only link between these cities. Add a parallel one, or a path through another city.":"É o único link entre essas cidades. Adicione um paralelo, ou um caminho passando por outra cidade.", -"{name} parallel link":"Link paralelo {name}", -"same trench":"mesma vala", -"diverse route":"rota diversa", -"Add parallel link":"Adicionar link paralelo", -"Really decommission?":"Desativar mesmo?", -"Decommission link":"Desativar link", -"Caches":"Caches", -"PNIs":"PNIs", -"IX peering":"Peering IX", -"L2 circuits":"Circuitos L2", -"Collecting data. Check back in a few days.":"Coletando dados. Volte em alguns dias.", -"Tier 1: only a PNI, and only once you are big enough for the Tier 1 club":"Tier 1: só PNI, e só quando você for grande o bastante para o clube dos Tier 1", -"Open peer: join the route server at {ix}":"Peer aberto: entre no route server do {ix}", -"Open peer: join the route server at {ix} ({city})":"Peer aberto: entre no route server do {ix} ({city})", -"Open peer, but not on any IX where you have a POP":"Peer aberto, mas em nenhum IX onde você tem POP", -"Paid peering only: a PNI costs {price}/mo":"Só peering pago: um PNI custa {price}/mês", -"Ready for a PNI in {city}":"Pronto para um PNI em {city}", -"Will peer at {ix}: request a session":"Faz peering no {ix}: peça uma sessão", -"PNI in {city}: {why}":"PNI em {city}: {why}", -"Not present in any of your cities yet":"Ainda não está em nenhuma das suas cidades", -"NOC dashboard":"Dashboard do NOC", -"Traffic now":"Tráfego agora", -"of {g} wanted":"de {g} pedidos", -"Peak":"Pico", -"Delivered, 30 days":"Entregue, 30 dias", -"five nines-ish":"cinco noves, quase", -"two nines and change":"dois noves e uns trocados", -"customers are upset":"clientes furiosos", -"Peering ratio":"Taxa de peering", -"caches, PNIs and IX":"caches, PNIs e IX", -"Monthly P&L":"DRE mensal", -"{in} in · {out} out":"{in} entram · {out} saem", -"Incidents":"Incidentes", -"{n} shrugged off":"{n} tirados de letra", -"Traffic by way out":"Tráfego por saída", -"Demand":"Demanda", -"Money per month":"Dinheiro por mês", -"Costs":"Custos", -"Where the money goes":"Para onde vai o dinheiro", -"POPs and routers":"POPs e routers", -"Waves and fiber":"Waves e fibra", -"IX ports":"Portas IX", -"Cache power":"Energia dos caches", -"Fabric ports":"Portas de fabric", -"Amp huts and spares":"Abrigos de amplificador e reservas", -"Loan repayments":"Parcelas de empréstimos", -"Investor revenue share":"Receita dividida com investidores", -"Licenses and scrubbing":"Licenças e scrubbing", -"The long tail ({n} small networks)":"A cauda longa ({n} redes pequenas)", -"Traffic by network (ASN)":"Tráfego por rede (ASN)", -"Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.":"De onde vem o tráfego dos seus usuários e como ele chega até você. Transit é a única parte que você paga por gigabit; caches, PNIs e peering IX são grátis ou de preço fixo. Toque numa coluna para ordenar.", -"Network":"Rede", -"Type":"Tipo", -"Traffic":"Tráfego", -"How it arrives":"Como chega", -"Transit cost":"Custo de transit", -"Lost":"Perdido", -"nothing yet":"nada ainda", -"Who your transit carries":"Quem seu transit carrega", -"The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.":"As redes que você paga transit para alcançar, da maior para a menor, e o jeito mais barato de levar cada uma para peering. É a sua lista de tarefas rumo ao Tier 1.", -"about {price}/mo":"cerca de {price}/mês", -"Busiest links":"Links mais carregados", -"Router load":"Carga dos routers", -"Your AS":"Seu AS", -"AS number":"Número do AS", -"Prefixes":"Prefixos", -"BGP sessions":"Sessões BGP", -"Upstreams":"Upstreams", -"Reach":"Alcance", -"{n} businesses":"{n} empresas", -"No repayments":"Sem parcelas", -"{pct} of revenue, forever":"{pct} da receita, para sempre", -"Buy-out {price}":"Recompra {price}", -"{apr}% APR":"{apr}% a.a.", -"{n} months":"{n} meses", -"Paid in TubeCoin":"Pago em TubeCoin", -"No conditions. That is the scary part.":"Sem condições. É isso que dá medo.", -"Bank":"Banco", -"Cash":"Caixa", -"Bankrupt at −$100k":"Falência em −$100k", -"in the vault":"no cofre", -"after loan payments":"após as parcelas", -"Credit rating":"Rating de crédito", -"Bankers return your calls":"Os banqueiros retornam suas ligações", -"Bankers return your emails":"Os banqueiros respondem seus e-mails", -"Bankers pretend to be out":"Os banqueiros fingem que não estão", -"Debt":"Dívida", -"{n} loan":"{n} empréstimo", -"{n} loans":"{n} empréstimos", -"Offers":"Ofertas", -"No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.":"Nenhuma oferta no momento. Os bancos aparecem de vez em quando, e bem mais rápido quando você está em apuros. Um rating de crédito melhor atrai bancos melhores.", -"{bank} offers {amount}":"{bank} oferece {amount}", -"offer ends in {n}d":"oferta termina em {n}d", -"Take the money":"Pegar o dinheiro", -"No thanks":"Não, obrigado", -"Your loans":"Seus empréstimos", -"Debt-free. Your accountant is suspicious.":"Sem dívidas. Seu contador está desconfiado.", -"Taking {pct} of your revenue every month.":"Levando {pct} da sua receita todo mês.", -"Still owed":"Ainda devido", -"{pay}/mo · {n} months left · {apr}% APR":"{pay}/mês · faltam {n} meses · {apr}% a.a.", -"Condition broken for {n} day.":"Condição descumprida há {n} dia.", -"Condition broken for {n} days.":"Condição descumprida há {n} dias.", -"Penalty in {n} days.":"Multa em {n} dias.", -"Penalties are running.":"As multas estão correndo.", -"Really pay {price}?":"Pagar mesmo {price}?", -"Buy them out {price}":"Comprar a parte deles {price}", -"Repay early {price} incl. 2% fee":"Quitar antes {price} c/ 2% de taxa", -"Release to plan a link":"Solte para planejar um link", -"Drag onto another city":"Arraste até outra cidade", -"Tip: drag from your pink router to another city to lay fiber":"Dica: arraste do seu router rosa até outra cidade para lançar fibra", -"Tap your city, then Launch broadband":"Toque na sua cidade e depois em Lançar banda larga", -"Crossroads of Europe. DE-KICKS IX, cheap transit.":"Encruzilhada da Europa. IX DE-KICKS, transit barato.", -"Huge eyeball market. Pricey neighbours.":"Mercado enorme de eyeballs. Vizinhos caros.", -"Asia hub. Great peering, far from home.":"Hub da Ásia. Ótimo peering, longe de casa.", -"Big hungry market, few providers.":"Mercado grande e faminto, poucos provedores.", -"Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.":"Construa uma internet. Lance fibra entre cidades, compre transit, faça peering nos exchanges, feche contratos com empresas e mantenha os eyeballs felizes enquanto retroescavadeiras, tubarões e route leaks fazem de tudo para te parar.", -"Continue {name} · {date}":"Continuar {name} · {date}", -"Name your network":"Dê um nome à sua rede", -"Another one":"Outro", -"Pick your home city":"Escolha sua cidade natal", -"Mode":"Modo", -"Scenarios & weekly challenge →":"Cenários e desafio semanal →", -"Language":"Idioma", -"Start building":"Começar a construir", -"Source on GitHub":"Código no GitHub", -"Cookieless stats, no tracking":"Estatísticas sem cookies, sem rastreamento", -"Release notes":"Notas de versão", -"New in Series of Tubes {v}":"Novidades no Series of Tubes {v}", -"Your network {name} was saved and is waiting for you.":"Sua rede {name} foi salva e está te esperando.", -"Back to my network":"Voltar para minha rede", -"Got it":"Entendi", -"Full changelog":"Changelog completo", -"Series of Tubes {v} is out!":"Saiu o Series of Tubes {v}!", -"Your game is saved automatically.":"Seu jogo é salvo automaticamente.", -"Reload now":"Recarregar agora", -"Later":"Depois", -"How the internet works here":"Como a internet funciona aqui", -"Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.":"Controles: arraste o mapa para mover, role ou faça pinça para dar zoom, toque numa cidade para abri-la. Arraste do seu router rosa até outra cidade para lançar fibra. Espaço pausa, 0 é meia velocidade, 1 2 3 4 definem a velocidade. Em 1× um dia dura 2,5 segundos.", -"Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.":"Usuários de banda larga residencial. Eles baixam principalmente de CDNs e te pagam por Gbps entregue. Atenda bem e eles se multiplicam.", -"Point of presence: your router in a data center. Everything starts at a POP.":"Point of presence: seu router num data center. Tudo começa num POP.", -"You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.":"Você paga uma rede maior por Gbps e ela entrega seu tráfego em qualquer lugar. Fácil, alcance total, nunca de graça.", -"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.":"Os Tier 1 alcançam a internet toda sem pagar ninguém, porque todos fazem peering entre si. Os Tier 2 fazem muito peering, mas ainda compram algum transit.", -"Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.":"Redes de conteúdo como NetChill e Goggle. A maior parte do seu tráfego vem delas. Faça peering com elas e esse tráfego sai de graça.", -"IX (Internet Exchange)":"IX (Internet Exchange)", -"A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.":"Um switch compartilhado numa cidade. Uma porta, muitas sessões de peering grátis. O route server te coloca em peering com todos os membros abertos de uma vez.", -"Private network interconnect: a cable straight to one network in the same building. For big traffic.":"Private network interconnect: um cabo direto para uma única rede no mesmo prédio. Para tráfego grande.", -"Embedded cache":"Cache embarcado", -"A CDN's server in your rack. Serves most of that CDN's traffic locally, for the price of power.":"Um servidor de uma CDN no seu rack. Entrega localmente a maior parte do tráfego dessa CDN, pelo preço da energia.", -"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.":"O grupo por trás de vários grandes exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) trata tabela de preços como segredo de Estado. As portas são cotadas cliente a cliente e sobem quanto maior você parece. Pechinchar pode funcionar, sair pela culatra ou travar por uma semana. Uma vez por ano os preços são \"harmonizados\" para cima, serviços extras aparecem na sua fatura até você cancelar, e tentar sair te rende um desconto de retenção que termina em multa.", -"Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.":"Chegue a um IX por um circuito de fabric sem ter POP lá. Funciona, e o route server ainda te dá todas as redes abertas, mas não é recomendado: o revendedor cobra 1,5× pela porta e faz oversubscription a 80%, a latência depende do fabric, uma queda do fabric derruba todas as sessões, e muitas redes seletivas recusam membros remotos na hora.", -"Peering policy":"Política de peering", -"Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.":"Open faz peering com qualquer um. Selective quer ver tráfego antes. Restrictive (Tier 1s) só faz peering com gigantes, via PNI. Paid é exatamente isso. Redes seletivas grandes também têm seus humores: em algumas cidades recusam novos peers por alguns meses, ou só aceitam PNI, e de vez em quando derrubam uma sessão que você já tinha. Tente outra cidade ou um PNI, e peça de novo mais tarde.", -"Waves":"Waves", -"Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.":"Seus links de fibra são waves alugadas a uma mensalidade fixa. Mais longa e maior custa mais (10G → 6.4T), e subsea custa 1,8×.", -"95th percentile":"Percentil 95", -"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.":"A conta do transit mede seu uso todo dia e cobra o percentil 95 dos últimos 30 dias, então picos curtos são perdoados, mas os longos não.", -"Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.":"O modelo de router de cada POP limita a porta mais rápida (100G, 400G, 800G, 1.6T) e quanto ele consegue encaminhar. Waves e portas maiores pedem routers melhores nas duas pontas. Modelos melhores desbloqueiam com seu nível de clientes. Com um router só, upgrade significa um dia fora do ar.", -"Dark fiber":"Dark fiber", -"Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.":"Alugue um IRU ou construa a sua (devagar, com atrasos), depois compre um line system com amplificadores e canais de luz com transponders 400ZR+, 800ZR+ ou 1.6T. Bem mais barato que waves em escala, mas o equipamento pode falhar. Um kit de peças de reposição acelera os reparos.", -"Subsea cables":"Cabos submarinos", -"Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.":"Waves subsea só podem seguir sistemas de cabos inspirados nos reais, desenhados de leve no mapa (toque numa cidade para destacar seus cabos). Os verde-azulados são novos e baratos, os roxos são caros, os tracejados são velhos e vivem sendo cortados. Todas as suas waves num cabo morrem juntas quando ele é cortado. Entre continentes por terra, muitas vezes dá para escolher a rota terrestre (2,5×, muitas fronteiras) ou um cabo.", -"Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.":"Todo link tem latência. Traders de alta frequência pagam uma fortuna por um circuito dentro do orçamento de latência deles; roteie-os por “Menor latência”. Clientes de backup em massa não ligam, então roteie-os pela “Panorâmica” nos seus links tranquilos para deixar livres os movimentados.", -"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.":"O botão de gráfico no topo abre gráficos de tráfego por saída (caches, PNIs, IX, transit), dinheiro ao longo do tempo, tráfego por ASN com como ele chega até você e quanto custa o transit dele, além dos seus links e routers mais ocupados.", -"A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.":"Um mercado esquisito e mal atendido. O transit custa 2,5× o preço da Europa (África 2×, Oceania 1,8×), as incumbentes locais quase só fazem peering pago, e os IXs são fragmentados. Mas a demanda é enorme e os usuários assinam 60% mais rápido que em qualquer outro lugar. Peering e caches compensam mais aqui.", -"Russia":"Rússia", -"Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.":"Moscou exige uma caixa obrigatória do governo em cada POP, as CDNs ocidentais quase todas foram embora, o vídeo da Goggle é estrangulado a meia velocidade, e os testes da internet soberana de vez em quando isolam Moscou por um dia.", -"Events, chains and wholesale":"Eventos, redes e atacado", -"Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.":"Redes de evento (uma final, um festival, uma keynote) precisam de uma rajada de capacidade numa cidade por alguns dias e pagam uma vez no fim, proporcional a quanto do público você atendeu; abaixo de 70% você paga multa. Redes SD-WAN ligam de 3 a 6 POPs seus em hub-and-spoke, então um spoke quebrado azeda o contrato inteiro. Quando você tiver sua própria dark fiber, as operadoras vão querer alugar canais livres como alien waves, e na fibra que você mesmo construiu, um par sobrando.", -"Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.":"Toque no seu dinheiro para abrir o banco. Credores fazem ofertas de vez em quando, e bem mais quando você está no vermelho. Cada empréstimo tem uma parcela mensal e umas condições estranhas; quebre uma e pague multa. Sua nota de crédito decide quais bancos falam com você. O agiota está sempre lá. Não atrase.", -"LAGs":"LAGs", -"Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.":"Sem velocidade de porta? Junte até 8 portas idênticas para o mesmo provedor de transit, IX ou PNI num LAG. Cada membro custa uma porta inteira; o hashing de fluxos nunca é perfeitamente uniforme, então o bundle carrega cerca de 95% da soma.", -"Traffic engineering":"Engenharia de tráfego", -"Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.":"Toque num link para ver quais redes, quais pontos de entrada e quais cidades de clientes o enchem. Aumente a métrica de um link para desviar tráfego dele, ou ponha uma saída (transit, IX, PNI) em Preferir ou Só backup.", -"China":"China", -"Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.":"A China continental exige licença e uma joint venture local. Muitos serviços estrangeiros são bloqueados lá, e o tráfego que cruza a fronteira perde pacotes, a não ser que você pague por rotas premium.", -"Weird requirements":"Exigências esquisitas", -"Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.":"Alguns clientes vêm com condições: nada de Cogentle em lugar nenhum, nada de cabo submarino por causa dos tubarões, dois routers, um gerador, NetChill on-net, acesso à China com pouca perda e mais. Cada uma paga um bônus. As não atendidas deixam o cliente rabugento até você resolver ou ele ir embora.", -"Customer levels":"Níveis de clientes", -"As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.":"Conforme seu tráfego de pico e sua presença crescem, aparecem clientes maiores: startups de streaming e universidades, depois data centers de GPU para IA e on-ramps de nuvem, depois interconexões de treinamento de IA e contratos de DCI de hyperscalers medidos em terabits. Bolhas rosa de $$ marcam os grandes.", -"L2VPN & DDoS protection":"L2VPN e proteção DDoS", -"Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).":"Empresas podem querer um circuito privado entre dois POPs seus (ele roda no seu backbone), ou proteção DDoS (precisa do seu próprio centro de scrubbing).", -"NNI fabrics":"Fabrics NNI", -"Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.":"Megapork, PocketFabric e Consolation Connect vendem uma porta mais circuitos virtuais entre cidades. Ótimo para links pequenos e peering remoto num IX onde você não tem POP.", -"NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.":"NANOG, RIPE, DENOG e a turma aparecem todo ano. Inscreva-se na aba Negócios por $8k. Nos 45 dias seguintes, redes seletivas presentes naquela região pedem só metade do tráfego de sempre antes de fazer peering com você. Às vezes você ainda ganha o sorteio.", -"Modes":"Modos", -"Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.":"O Sandbox te dá um bilhão de dólares, tudo desbloqueado e nenhuma falha, mas nada de medalhas. Cenários são desafios feitos à mão com uma meta e um prazo, e o desafio semanal dá a todo mundo o mesmo mundo por uma semana. Compartilhe seu resultado com o cartão no menu.", -"Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.":"Toque em 🔍 Traceroute em qualquer cidade sua, ou abra pela aba NOC, para ver o caminho exato até uma rede ou POP, hop a hop, com latência, a saída e o AS path.", -"Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.":"Abaixo das suas metas fica um mural de medalhas, de comuns a lendárias. Algumas pedem sorte, outras levam anos, e umas duas são secretas. Medalhas conquistadas em jogos anteriores ficam neste aparelho com contorno tracejado.", -"The giants":"Os gigantes", -"At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.":"Nos níveis de clientes 3 e 4, hyperscalers e nuvens de IA aparecem com contratos que só eles pediriam: WANs de IA de terabits entre campi de gigawatts, treinamentos espalhados por vários sites, ingestões de dataset de uma semana e centenas de pares de fibra numa vala que você mesmo cavou. Pagam como ninguém, e querem caminhos diversos, dois sites por metrópole e zero desculpas. Cidades perto dos campi deles os listam em “Quem está aqui”.", -"Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.":"Com o Auto-TE instalado, você pode programá-lo pela aba NOC. As regras incluem spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams e blackhole ddos. Verificar faz um dry run contra o tráfego real; Aplicar torna tudo real, erros incluídos.", -"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.":"O tráfego segue o caminho mais curto por distância e métrica de link, e se reroteia sozinho quando links caem. Quando um caminho só está cheio, o excesso é descartado, igualzinho a um IGP de verdade. A partir do nível de clientes 3 você pode instalar o Auto-TE na aba NOC: ele joga o excesso em até dois caminhos alternativos com capacidade livre, desde que não sejam mais que o dobro do comprimento.", -"A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.":"Um POP é um prédio só até você adicionar um segundo site na aba Infra. Aí uma queda de energia, um faxineiro ou uma pane no ar-condicionado só derruba meia cidade, e você escolhe em qual site cada porta de transit, PNI e IX se conecta, ou escolhe Ambos para dividir um LAG entre os dois prédios. Espalhe-os, ou as duas metades da sua redundância vão ficar na mesma sala escura. Cuidado com cortes no anel metropolitano, que isolam o site B.", -"Wave markets":"Mercados de waves", -"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Quanto custa uma wave depende de onde ela passa. A Europa é barata (muita fibra concorrendo), a América do Norte é mediana, a Ásia e a América do Sul são mais caras, e qualquer coisa indo para a África custa várias vezes mais. Cada rota tem seu preço de mercado, e novos aluguéis ficam uns 8% mais baratos a cada ano, então esperar pode compensar. O planejador de links diz como uma rota se compara.", -"Regional quirks":"Peculiaridades regionais", -"Boot times":"Tempo de boot", -"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Alguns routers levam uma eternidade para dar boot. A aba Infra mostra quanto o seu demora. Os lentos fazem os crashes durarem mais e transformam a troca de um router único numa queda de três dias. Chassis maiores, principalmente qualquer coisa com um PacketOinker™ dentro, são lentos com mais frequência. Routers gêmeos fazem disso problema de outra pessoa.", -"Failures":"Falhas", -"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.":"As coisas quebram o tempo todo: cortes de fibra, crashes de router, quedas de energia, loops no IX, quedas de fabric, route leaks, DDoS, dedo gordo, falhas de refrigeração e geopolítica: sanções, tarifas, sequestros de BGP, disputas de licença de desembarque, apagões em dia de prova e cortes de cabo no Mar Vermelho. O tráfego se reroteia sozinho por outros caminhos e upstreams. Links paralelos em rotas diversas, um segundo router e um gerador de backup, tudo ajuda. Ou pague para acelerar os reparos.", -"Export save":"Exportar save", -"Share my network":"Compartilhar minha rede", -"You're a Tier 1!":"Você é Tier 1!", -"{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.":"{name} (AS{asn}) é transit-free. Você faz peering com todos os gigantes do planeta e não paga ninguém para chegar à internet. Levou {days} dias e {n} incidentes.", -"Keep building":"Continuar construindo", -"Bankrupt":"Falência", -"The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.":"O banco tomou seus routers e vendeu no eBuy. {name} durou {days} dias e chegou ao pico de {peak}.", -"Not happening":"Não vai rolar", -"Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.":"Ninguém vende capacidade entre Kyiv e Moscou, e ninguém vai vender. Passe por Varsóvia, Bucareste ou Helsinque.", -"Not without a license":"Não sem licença", -"Building into mainland China needs a joint venture and an operating license. Open {city} to apply.":"Construir na China continental exige uma joint venture e uma licença de operação. Abra {city} para solicitar.", -"Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.":"Circuitos transfronteiriços para a China continental só são vendidos por operadoras licenciadas, a 3× o preço. Os comuns perdem cerca de 20% do tráfego na fronteira.", -"Regular crossing":"Travessia comum", -"Premium crossing +60% · ~3% loss":"Travessia premium +60% · ~3% de perda", -"Premium crossings are only sold in Hong Kong.":"Travessias premium só são vendidas em Hong Kong.", -"You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?":"Você já tem {n} link aqui ({list}). Links paralelos somam capacidade. Como este deve ser roteado?", -"You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?":"Você já tem {n} links aqui ({list}). Links paralelos somam capacidade. Como este deve ser roteado?", -"Diverse route +40% · survives cuts alone":"Rota diversa +40% · sobrevive a cortes sozinha", -"Same trench cheaper · one backhoe cuts all":"Mesma vala mais barato · uma retro corta tudo", -"Lease a wave":"Alugar uma wave", -"Subsea":"Subsea", -"Terrestrial":"Terrestre", -"No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.":"Nenhum cabo submarino desembarca em {a} e {b} ao mesmo tempo. Os cabos de {a} chegam a {list}. Faça um hop por um deles.", -"The landing permit dispute in {city} blocks new subsea links for {n} more days.":"A disputa de licença de desembarque em {city} bloqueia novos links subsea por mais {n} dias.", -"Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.":"Waves são alugadas a uma mensalidade fixa. Maior e mais longa custa mais, e subsea é 1,8×. O primeiro mês vence agora.", -"Includes a new POP in {city} ({price}{extra}).":"Inclui um novo POP em {city} ({price}{extra}).", -"government box included":"caixa do governo incluída", -"free-zone license included":"licença de zona franca incluída", -"local telecom licence included":"licença de telecom local incluída", -"needs {what} at both ends":"precisa de {what} nas duas pontas", -"due now {price}":"a pagar agora {price}", -"flat rate":"preço fixo", -"Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.":"Ninguém vende dark fiber em cabo submarino aqui. Capacidade subsea vem como waves alugadas.", -"No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.":"Nada de dark fiber dentro dos Emirados. Só as duas operadoras licenciadas podem passar fibra aqui, e elas só vendem waves.", -"Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.":"Dark fiber atravessando a fronteira chinesa não está à venda. Compre uma wave transfronteiriça.", -"Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.":"Dark fiber desbloqueia no nível de clientes 2. Você precisa de escala para justificar comprar seu próprio equipamento óptico.", -"A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.":"Um par de fibra só seu. O vidro é barato, o equipamento não: você compra um line system com um amplificador a cada {km} km, depois a óptica de cada canal. Seu equipamento pode falhar, e quem conserta é você.", -"The glass":"O vidro", -"Lease an IRU {price}/mo · ready in 30 days":"Alugar um IRU {price}/mês · pronto em 30 dias", -"Build your own {price} · ~{n} days":"Construir a sua {price} · ~{n} dias", -"Build your own level 3":"Construir a sua nível 3", -"A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.":"Um par de fibra no {cable}, {km} km. Divide o cabo com as waves de todo mundo, âncoras incluídas.", -"Your own trench: almost no rent, but permits and digging take forever, and delays happen.":"Sua própria vala: quase nenhum aluguel, mas licenças e escavação levam uma eternidade, e atrasos acontecem.", -"level {n}":"nível {n}", -"Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).":"Mais {n} amplificador em linha ({price} cada, {mo}/mês de aluguel da cabine e energia).", -"Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).":"Mais {n} amplificadores em linha ({price} cada, {mo}/mês de aluguel da cabine e energia).", -"Due now":"A pagar agora", -"For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.":"Para comparar, uma wave alugada de 1.6T nesta rota sai {price}/mês. A óptica vem depois, pelo painel do link.", -"Start construction":"Iniciar obra", -"Sign the IRU":"Assinar o IRU", -"Remote peering at {ix} · discouraged":"Peering remoto em {ix} · não recomendado", -"Your POP · needs a fabric port there":"Seu POP · precisa de uma porta de fabric lá", -"You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.":"Primeiro você precisa de uma porta de fabric em um dos seus POPs. Abra a aba Infra de um POP e compre uma porta em {list}.", -"no POP of yours on it yet":"nenhum POP seu nele ainda", -"Virtual circuit over an NNI fabric":"Circuito virtual sobre um fabric NNI", -"From {city}":"De {city}", -"To {city}":"Para {city}", -"No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.":"Sem taxa de instalação, no ar em minutos, cobrado por mês. Mais barato que uma wave para pouca capacidade, mas roda no fabric de outra pessoa, e esse fabric pode falhar.", -"Settings":"Configurações", -"Animations":"Animações", -"Auto":"Auto", -"On":"Ligado", -"Sound":"Som", -"Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.":"Auto segue a configuração de reduzir movimento do seu aparelho. Desligado congela o mapa: sem pacotes andando, pulsos ou texto flutuante.", -"no cable lands here":"nenhum cabo desembarca aqui", -"from {price}/mo":"a partir de {price}/mês", -"Welcome back, {name}.
Your network is right where you left it: {date}.":"Bem-vindo de volta, {name}.
Sua rede está do jeitinho que você deixou: {date}.", -"Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.":"Não deu para carregar seu jogo salvo.
Ele estava corrompido, então guardamos um backup e você pode começar do zero.", -"Series of Tubes: build the internet, one tube at a time":"Series of Tubes: construa a internet, um tubo de cada vez", -"A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.":"Um jogo de navegador gratuito, em desenho animado, sobre como a internet funciona. Comece como uma redezinha numa cidade, lance banda larga residencial, compre IP transit de operadoras Tier 1 e Tier 2, faça peering em pontos de troca de tráfego, monte interconexões privadas e caches de CDN embarcados, e lance fibra terrestre, waves submarinas e sua própria dark fiber com DWDM e óptica ZR. Feche contratos com clientes corporativos, de hospedagem, de trading de alta frequência, de GPU para IA e hyperscalers, e mantenha todos felizes enquanto retroescavadeiras, tubarões, dedos gordos, route leaks, ataques DDoS e a geopolítica quebram tudo.", -"Cash · Bank":"Caixa · Banco", -"Traffic served":"Tráfego entregue", -"Rank":"Ranking", -"Date":"Data", -"Goals & NOC":"Metas e NOC", -"🐘 BREAKING: CVE-2026-31337 IN PHP TAKES DOWN HALF THE INTERNET":"🐘 URGENTE: CVE-2026-31337 NO PHP DERRUBA METADE DA INTERNET", -"Every WordPress-ish site on Earth is now a crypto miner":"Todo site meio WordPress da Terra agora minera cripto", -"":"", -"Eyeball traffic down 30%":"Tráfego de eyeballs cai 30%", -"Hosting customers patching at 3 a.m.":"Clientes de hospedagem aplicando patch às 3 da manhã", -"Security team asks: “are we on PHP?” Everyone: “define we”":"O time de segurança pergunta: “a gente usa PHP?” Todo mundo: “define a gente”", -"World map of your network":"Mapa-múndi da sua rede", -"Network menu: save, load or start over":"Menu da rede: salvar, carregar ou recomeçar", -"Cash and bank":"Dinheiro e banco", -"Game speed":"Velocidade do jogo", -"Pause":"Pausar", -"Half speed":"Meia velocidade", -"Toggle sound":"Ligar/desligar som", -"Want to know how it really works?":"Quer saber como funciona de verdade?", -"The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.":"A coisa de verdade, por Thomas Kjær Aabo: um mapa interativo com zoom de como seus pacotes viajam de fato, do Wi-Fi à fibra submarina, hoje, em 2010 e em 1995. Este jogo inventa tudo pelo caminho. Aquele acerta.", -"The real thing: follow a packet from Wi-Fi to undersea fiber.":"A coisa de verdade: siga um pacote do Wi-Fi até a fibra submarina.", -"Explore →":"Explorar →", -"You built a cartoon internet. Now see how the real one works:":"Você construiu uma internet de desenho animado. Agora veja como a de verdade funciona:", -"Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.":"Polarização de hash no seu {lab}: quase todo fluxo cai no mesmo membro. O bundle diz que está up. Também está lotado.", -"LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.":"Timer LACP fast/slow desencontrado no seu {lab}: um membro vive dando timeout no bundle e voltando.", -"One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.":"Um membro do seu {lab} foi ligado no switch errado. O LACP o mantém suspenso, com toda razão.", -"Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.":"Alguém configurou o min-links do seu {lab} igual ao número de membros. Um membro oscilou, e o bundle inteiro caiu.", -"Fix the LACP config":"Corrigir a config do LACP", -"Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.":"Microbursts em {a}–{b}.
Seus routers de buffer profundo absorveram tudo. Ninguém percebeu.", -"A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.":"Um conector sujo em {a}–{b} descarta 2% dos pacotes. O TCP odeia isso: o throughput despenca mesmo com o link parecendo ok.", -"Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.":"Microbursts em {a}–{b} estouram os buffers rasos do router: 0,5% de perda no pico, e toda videochamada percebe.", -"CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.":"Erros de CRC em {a}–{b}: uma óptica marginal está estragando alguns frames a cada mil.", -"Clean the connector":"Limpar o conector", -"Rate-limit the bursts":"Limitar os bursts", -"Swap the optic":"Trocar a óptica", -"Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.":"Seu centro de scrubbing devolve tráfego limpo por um túnel GRE, e ninguém fez clamp do MSS. Pacotes grandes para {net} somem, então as páginas carregam pela metade e param.", -"Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.":"Alguém filtrou todo ICMP na sua borda “por segurança”. O Path MTU discovery quebrou, e as conexões com {net} travam logo depois do handshake.", -"A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.":"Um hop PPPoE comeu 8 bytes do seu MTU e ninguém avisou os servidores. Transferências grandes para {net} travam para sempre; as pequenas funcionam, o que deixa tudo muito pior.", -"Clamp the MSS to 1360":"Fazer clamp do MSS em 1360", -"{name} transit LAG in {city}":"LAG de transit {name} em {city}", -"PNI LAG with {name} in {city}":"LAG de PNI com {name} em {city}", -"{ix} LAG in {city}":"LAG do {ix} em {city}", -"LACP trouble":"Problema de LACP", -"Packet loss":"Perda de pacotes", -"PMTUD black hole":"Buraco negro de PMTUD", -"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Uma das bandas largas residenciais mais rápidas do planeta, e o mercado de peering mais estranho. No “sender pays”, os três grandes ISPs cobram por cada gigabit entregue a eles, e o transit aqui está entre os mais caros do mundo.", -"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"A incumbente da Coreia. Sender pays: cada gigabit que você entrega a ela é cobrado, além da porta.", -"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"Levou um gigante do streaming aos tribunais para decidir quem paga pelo tráfego que os próprios clientes pediram. Peering pago, por gigabit.", -"The plus is a usage fee. Paid peering, per gigabit.":"O plus é uma taxa de uso. Peering pago, por gigabit.", -"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays: só PNI pago, {fee}/mês mais {g} por Gbps que você envia", -"Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"A Glitch está saindo da Coreia.
O site de streaming de games diz que as taxas de rede coreanas são “proibitivamente caras” e fecha as portas lá. O tráfego de Seoul dela cai pela metade, para sempre. Os streamers locais já mudaram de casa.", -"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"O Faceplant cansou das taxas de uso coreanas e mudou em silêncio os usuários coreanos para os servidores de Hong Kong. As páginas se arrastam para todo mundo em Seoul. O regulador está preparando uma multa.", -"Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.":"O Faceplant rerroteou a Coreia via Hong Kong.
Os usuários de Seoul recebem um quinto a menos dele por 20 dias, não importa como você se conecte.", -"Rerouted via Hong Kong":"Rerroteado via Hong Kong", -"Gangnam Style Peering":"Gangnam Style Peering", -"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Seoul. Os eyeballs mais rápidos e famintos da Terra, transit a quatro vezes o preço, e três incumbentes que te cobram por cada gigabit que você manda.", -"99% reach and 200 Gbps served without going broke":"99% de alcance e 200 Gbps entregues sem quebrar", -"Sender Pays":"Sender Pays", -"Paid PNIs with all three Korean incumbents.":"PNIs pagos com as três incumbentes coreanas.", -"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"A Tier 1 que cresceu na Sicília. Seu backbone Seabone domina o Mediterrâneo e vai fundo nas Américas, e ela ainda chama Palermo de casa.", -"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Faça peering com todas as Tier 1 via PNI e cancele todas as portas de transit. Aí ninguém te cobra para chegar à internet.", -"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.":"No Golfo, POPs sauditas precisam de licença de telecom local e dados de usuários sauditas ficam no Reino; gigaprojetos pedem redes de demonstração enormes; e de vez em quando os vizinhos brigam e todo link entre o Catar e a Arábia Saudita ou os Emirados apaga por meses, então mantenha uma rota pelo mar. A América do Sul depende de Miami: o transit é mais caro, nada atravessa o Tampão de Darién por terra, e fibra pelos Andes custa o dobro e quebra muito. O IX.brrr no Brasil é tocado por uma entidade sem fins lucrativos com preços públicos baratos, e os pequenos provedores brasileiros compram transit no atacado. Dentro dos Emirados só o duopólio pode passar fibra, então nada de dark fiber e waves a 3×. A Coreia roda no “sender pays”: transit para Seoul custa umas quatro vezes o preço normal e as três incumbentes só fazem peering via PNI pago, cobrado por gigabit que você manda. Os cabos de Taiwan encontram muitas âncoras, a fibra indiana encontra obras de alargamento de estrada e a monção, e a África do Sul tem racionamento de energia: leve um gerador. A Austrália fica longe de tudo: trânsito e waves custam mais do que em quase qualquer lugar, embora as portas de IX sejam baratas. As casas pagam bem pela banda larga, mas a Nearly Broadband Network fica com quase metade de cada conta. Os roteadores são instalados de cabeça para baixo, e todo o resto quer te matar.", -"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Seu fornecedor de waves empurrou uma atualização malformada para o control plane óptico, e ela inundou todos os nós. Todas as {n} waves alugadas que você tem em {reg} apagaram. A página de status deles diz “degradado”.", -"Escalate to their CTO":"Escalar para o CTO deles", -"Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"Derretimento do control plane óptico!
Todas as waves alugadas em {reg} apagaram de uma vez. Sua dark fiber própria está ok. É por isso que as pessoas têm fibra própria.", -"Control plane meltdown":"Control plane derreteu", -"Full screen, works offline, one tap from your home screen.":"Tela cheia, funciona offline, a um toque da sua tela inicial.", -"Install":"Instalar", -"Game":"Jogo", -"Speed":"Velocidade", -"The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.":"O hub do Norte, com exchange próprio e entradas de ar-condicionado bem úmidas. Cabos para a Irlanda e a Dinamarca chegam pela costa.", -"Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.":"A capital da Escócia. Cabos do Mar do Norte para a Noruega e as Faroé desembarcam pela costa.", -"A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.":"Uma cidadezinha de surfe na Cornualha onde uma fatia impressionante da internet transatlântica chega à terra. Os penhascos estão cheios de fibra.", -"Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.":"A capital do petróleo da Noruega, agora cheia de data centers dentro de montanhas, movidos a hidrelétrica e resfriados pelo fiorde. Cabos do Mar do Norte desembarcam aqui.", -"Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby.":"Da Noruega ao Reino Unido pelo Mar do Norte. Pares de fibra à venda, porque o dinheiro do petróleo queria um hobby.", -"Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse.":"Da Irlanda à Noruega, pelo caminho mais longo, contornando o topo da Escócia. Vikings, só que ao contrário.", -"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.":"O Sea Stallion: de Blackpool à Dinamarca, galopando pelo norte da Escócia.", -"Scotland to Iceland via Shetland and the Faroes. More sheep than packets.":"Da Escócia à Islândia via Shetland e Faroé. Mais ovelhas que pacotes.", -"New York to the cliffs of Bude. It made it home in the end.":"De New York aos penhascos de Bude. No fim, chegou em casa.", -"Long Island to Cornwall. Follow it all the way to the wizard in the cable hut.":"De Long Island à Cornualha. Siga até o mago na cabine do cabo.", -"Cornwall to Lagos down the West African coast. Glows faintly when it is working.":"Da Cornualha a Lagos pela costa da África Ocidental. Brilha fraquinho quando está funcionando.", -"Another hop across the Channel, with dark fiber for sale. There is always room for one more.":"Mais um hop pelo Canal da Mancha, com dark fiber à venda. Sempre cabe mais um.", -"Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football.":"De Stavanger à Holanda passando por todas as plataformas de petróleo do Mar do Norte. Os petroleiros fazem muito streaming de futebol.", -"The UK’s incumbent. Buzzes politely, stings on price.":"A incumbente do Reino Unido. Zumbe educada, ferroa no preço.", -"Football, films and a router that looks like a spaceship.":"Futebol, filmes e um router com cara de nave espacial.", -"Cable broadband for half of Britain. Fast on a good day.":"Banda larga a cabo para metade da Grã-Bretanha. Rápida num dia bom.", -"Norway’s incumbent. Neither yes nor no, until you send enough traffic.":"A incumbente da Noruega. Nem sim nem não, até você mandar tráfego suficiente.", -"Decommission":"Desativar", -"Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.":"Desligar este POP: links, portas e caches vão junto, e todo cliente que depende dele é dispensado, com multa por rescisão antecipada.", -"Decommission {city}…":"Desativar {city}…", -"Decommission several POPs…":"Desativar vários POPs…", -"home":"casa", -"{n} link":"{n} link", -"{n} links":"{n} links", -"{n} customer":"{n} cliente", -"{n} customers":"{n} clientes", -"Decommission POPs":"Desativar POPs", -"Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.":"Escolha os POPs para desligar. Vai tudo junto: routers, portas, caches, portas de exchange e todo link que encosta neles.", -"Links removed":"Links removidos", -"Eyeballs you stop serving":"Eyeballs que você deixa de atender", -"{n} customer let go":"{n} cliente dispensado", -"{n} customers let go":"{n} clientes dispensados", -"Keep at least one POP.":"Mantenha pelo menos um POP.", -"Decommission {n} POP · pay {fee}":"Desativar {n} POP · pagar {fee}", -"Decommission {n} POPs · pay {fee}":"Desativar {n} POPs · pagar {fee}", -"Pick a POP":"Escolha um POP", -"Keep them":"Manter", -"{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP desativado.
{fee} em multas por rescisão antecipada para {m} clientes.", -"{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POPs desativados.
{fee} em multas por rescisão antecipada para {m} clientes.", -"Other links between these cities:":"Outros links entre estas cidades:", -"up":"up", -"Customer on a fabric (transit over an NNI)":"Cliente num fabric (transit via NNI)", -"Fabric circuit to one of your POPs":"Circuito de fabric até um dos seus POPs", -"Comes in over {fab}: needs your {fab} port in {city} with room for {bw}":"Chega via {fab}: precisa da sua porta {fab} em {city} com folga para {bw}", -"{name} via {fab}":"{name} via {fab}", -"Connections":"Conexões", -"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.":"Todas as redes do mapa. A fatia de tráfego é quanto do tráfego dos seus usuários vai para elas. Toque numa conexão para ir ao POP dela.", -"All connections {n}":"Todas as conexões {n}", -"Cache":"Cache", -"95th percentile {g}":"Percentil 95 {g}", -"paid peering":"peering pago", -"your exchange":"seu exchange", -"{n} peering session":"{n} sessão de peering", -"{n} peering sessions":"{n} sessões de peering", -"remote":"remoto", -"virtual circuits and fabric customers":"circuitos virtuais e clientes de fabric", -"Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.":"Toda porta que te liga a outra rede, e onde ela fica. Filtre por tipo, cidade ou rede, e toque em Abrir para ir até ela.", -"No connections yet. Buy transit or join an exchange from a POP.":"Nenhuma conexão ainda. Compre transit ou entre num exchange a partir de um POP.", -"All ({n})":"Todos ({n})", -"City":"Cidade", -"All cities":"Todas as cidades", -"All networks":"Todas as redes", -"Clear filters":"Limpar filtros", -"Where":"Onde", -"With":"Com", -"Port":"Porta", -"In use":"Em uso", -"Per month":"Por mês", -"DOWN":"DOWN", -"backup":"backup", -"{n} connection":"{n} conexão", -"{n} connections":"{n} conexões", -"+{n} more":"+{n} mais", -"Installed!
Open Series of Tubes from your home screen. Your saves come along.":"Instalado!
Abra o Series of Tubes pela tela inicial. Seus saves vão junto.", -"Best played as an app":"Melhor jogar como app", -"Install it before you start: a game begun in Safari stays in Safari.":"Instale antes de começar: um jogo iniciado no Safari fica no Safari.", -"Tap Share {icon} in the browser toolbar.":"Toque em Compartilhar {icon} na barra do navegador.", -"Tap Add to Home Screen. You may need to scroll down, or tap More first.":"Toque em Adicionar à Tela de Início. Talvez precise rolar para baixo, ou tocar em Mais antes.", -"Open Series of Tubes from your home screen and start your network there.":"Abra o Series of Tubes pela tela inicial e comece sua rede por lá.", -"Open your browser menu (⋮).":"Abra o menu do navegador (⋮).", -"Tap Install app or Add to Home screen.":"Toque em Instalar app ou Adicionar à tela inicial.", -"Open Series of Tubes from your home screen.":"Abra o Series of Tubes pela tela inicial.", -"Before you start":"Antes de começar", -"Play it as an app":"Jogue como app", -"Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:":"Series of Tubes foi feito para a sua tela inicial. Leva dez segundos, não custa nada, e o jogo fica muito melhor lá:", -"Full screen.":"Tela cheia.", -"No browser bars, a lot more map.":"Sem barras do navegador, muito mais mapa.", -"Works offline.":"Funciona offline.", -"Build your backbone on the train or on a plane.":"Monte seu backbone no trem ou no avião.", -"Your save stays safe.":"Seu save fica seguro.", -"Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.":"O Safari pode apagar os dados de sites que você não abre há uma semana. Um app na tela inicial guarda os seus.", -"Install first.":"Instale primeiro.", -"On iPhone, a game started in Safari does not carry over to the home-screen app.":"No iPhone, um jogo iniciado no Safari não passa para o app da tela inicial.", -"One tap away.":"A um toque.", -"It opens straight into your network, like any other app.":"Abre direto na sua rede, como qualquer outro app.", -"Install the app":"Instalar o app", -"Play in the browser anyway":"Jogar no navegador mesmo", -"Game paused.":"Jogo pausado.", -"{name} is getting unhappy.
Happiness {p}% in {city}.":"{name} está ficando insatisfeito.
Satisfação de {p}% em {city}.", -"Your customers":"Seus clientes", -"happiness {p}%":"satisfação {p}%", -"{n} unhappy customer, {price}/mo at risk":"{n} cliente insatisfeito, {price}/mês em risco", -"{n} unhappy customers, {price}/mo at risk":"{n} clientes insatisfeitos, {price}/mês em risco", -"See who":"Ver quem", -"All customers":"Todos os clientes", -"their fiber is down":"a fibra deles caiu", -"getting only {p} of the bandwidth they pay for":"recebendo só {p} da banda que pagam", -"you cannot reach the whole internet ({p})":"você não alcança a internet inteira ({p})", -"No customers yet. Offers show up in the Deals tab.":"Nenhum cliente ainda. As ofertas aparecem na aba Negócios.", -"Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.":"Todo mundo que te paga, os mais felizes por último. Abaixo de 60% começam a reclamar, abaixo de 30% ficam furiosos, e em 0% cancelam.", -"Happiness":"Satisfação", -"weighted by what they pay":"ponderada pelo que pagam", -"Unhappy":"Insatisfeitos", -"{n} furious":"{n} furiosos", -"At risk":"Em risco", -"from unhappy customers":"de clientes insatisfeitos", -"Unhappy ({n})":"Insatisfeitos ({n})", -"Nobody is unhappy. Enjoy it while it lasts.":"Ninguém está insatisfeito. Aproveite enquanto dura.", -"No customers here.":"Nenhum cliente aqui.", -"Name":"Nome", -"Resume":"Continuar", -"Saved on this device.":"Salvo neste dispositivo.", -"Customers and alerts":"Clientes e alertas", -"Pause when a customer is furious":"Pausar quando um cliente estiver furioso", -"The game stops so you can fix their service before they cancel. Most useful at high speed.":"O jogo para para você consertar o serviço antes que cancelem. Muito útil em alta velocidade.", -"Warn when a customer gets unhappy":"Avisar quando um cliente ficar insatisfeito", -"An early heads-up below 60% happiness, long before they are furious.":"Um aviso antecipado abaixo de 60% de satisfação, bem antes de ficarem furiosos.", -"Pause on outages that hurt":"Pausar em falhas que doem", -"Stops the game when a failure costs you real traffic, not when it reroutes by itself.":"Para o jogo quando uma falha custa tráfego de verdade, não quando ela se reroteia sozinha.", -"Display and sound":"Tela e som", -"Viewport info":"Info do viewport", -"For reporting layout bugs: shows what your screen tells the game.":"Para reportar bugs de layout: mostra o que sua tela informa ao jogo.", -"Done":"Pronto", -"Lv {n}":"Nv {n}", -"Done!":"Pronto!", -"A path from Marseille to Singapore":"Um caminho de Marselha a Singapura", -"Carnaval delivered in full":"Carnaval entregue por completo", -"POP in {city}":"POP em {city}", -"Days in a row with 99.5% served":"Dias seguidos com 99,5% atendido", -"{n} of {m}":"{n} de {m}", -"Your score: peak traffic":"Sua pontuação: pico de tráfego", -"Done in {d} days!":"Feito em {d} dias!", -"Scenario":"Cenário", -"Time":"Tempo", -"Continents":"Continentes", -"Customer level {lv} of {max}":"Nível de clientes {lv} de {max}", -"Next: {name} unlocks {what}":"Próximo: {name} desbloqueia {what}", -"Overview":"Visão geral", -"Links & routers":"Links e routers", -"you buy transit again":"você volta a comprar transit", -"no PNI with {list}":"sem PNI com {list}", -"your reach is {p}, not 100%":"seu alcance é {p}, não 100%", -"Courtesy route to new networks":"Rota de cortesia para novas redes", -"You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.":"Você não é mais Tier 1.
Porque {why}. Seu selo Tier 1 fica; reconquiste o status para exibi-lo de novo.", -"The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.":"A rota de cortesia acabou.
As novas redes às quais você não se conectou agora só são alcançáveis pelo seu próprio peering e transit.", -"{optic} to spares":"{optic} para o estoque", -"Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.":"Vendeu um {optic} reserva no eBuy.
Voltaram {price}, ou seja, {p} do preço de novo.", -"Courtesy route":"Rota de cortesia", -"{n} networks · {d} days left":"{n} redes · faltam {d} dias", -"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.":"Alcança de graça as redes da última atualização que você não tem outro caminho para alcançar. Conecte-se a elas antes que acabe.", -"{n} spare on the shelf":"{n} reserva na prateleira", -"{n} spares on the shelf":"{n} reservas na prateleira", -"spare + {price}":"reserva + {price}", -"spare":"reserva", -"Unplugged optics go on the spares shelf and are used first next time.":"Ópticos desconectados vão para a prateleira de reservas e são usados primeiro na próxima vez.", -"Spares shelf":"Prateleira de reservas", -"Sell one {price}":"Vender um {price}", -"New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.":"Novas redes no mapa.
Esta atualização adicionou redes às quais você ainda não está conectado. Por {n} dias uma rota de cortesia gratuita as alcança, para seu alcance não despencar da noite pro dia. Faça peering com elas, ou compre transit, antes que acabe.", -"Flood Season":"Temporada de Enchentes", -"Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.":"Amsterdã, capital europeia do hosting, em plena temporada de botnets. Cada torradeira smart, babá eletrônica e geladeira sem patch da Terra escolheu um lado, e não é o seu. Uma enxurrada a cada poucos dias, cada vez mais na casa dos terabits, enquanto todo o resto continua quebrando também. Você começa com equipamento maior desbloqueado, e vai precisar.", -"Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better":"Aguente 20 enxurradas, 5 delas acima de 1 Tbps, mantendo a cidade atacada em 97% ou mais", -"Attacker: {who}.":"Atacante: {who}.", -"Flood held: {g}.
{who} gave up and went back to mining crypto.":"Enxurrada contida: {g}.
{who} desistiu e voltou a minerar cripto.", -"That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.":"Essa passou: {g}.
{city} caiu para {p}. Em algum lugar, {who} está muito orgulhoso de si.", -"a botnet of 40,000 smart toasters":"uma botnet de 40.000 torradeiras smart", -"every unpatched baby monitor in Europe":"toda babá eletrônica sem patch da Europa", -"a gaming clan that lost one match":"um clã de gamers que perdeu uma partida", -"a fridge that achieved sentience and chose violence":"uma geladeira que ganhou consciência e escolheu a violência", -"a crypto bro shorting your stock":"um cripto-bro apostando contra suas ações", -"a teenager with a stolen credit card and a grudge":"um adolescente com um cartão de crédito roubado e muito rancor", -"a rival ISP’s “stress test”":"o “teste de estresse” de um ISP rival", -"ten thousand smart light bulbs, blinking in unison":"dez mil lâmpadas smart piscando em uníssono", -"a printer. Just one printer. Nobody knows how":"uma impressora. Uma impressora só. Ninguém sabe como", -"a botnet run from a cloud you also host":"uma botnet rodando numa cloud que você também hospeda", -"somebody who did not like your network name":"alguém que não gostou do nome da sua rede", -"the internet-connected kettles of a whole country":"as chaleiras conectadas de um país inteiro", -"Floods held":"Enxurradas contidas", -"Terabit floods held":"Enxurradas de terabit contidas", -"Floods that got through":"Enxurradas que passaram", -"Under attack now":"Sob ataque agora", -"Fill this pair first.
Light all {max} channels before you light another fiber pair.":"Encha este par primeiro.
Acenda todos os {max} canais antes de acender outro par de fibras.", -"Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.":"Par de fibras {n} aceso: {a}–{b}.
Mais um ROADMaster 9000 e uma nova cadeia de amplificadores. Espaço para mais {m} canais.", -"{n} fiber pairs lit, the trench is full":"{n} pares de fibras acesos, a vala está cheia", -"Light fiber pair {n} {price} + {mo}/mo":"Acender par {n} {price} + {mo}/mês", -"The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.":"Os bancos pararam de ligar.
Você tem mais dinheiro que a maioria deles. As ofertas de empréstimo voltam se seu caixa cair abaixo de {cash}.", -"The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.":"O {ship} zarpou!
{name}, seu próprio cabo de {km} km de {a} a {b}. Pronto em cerca de {n} dias, se as baleias colaborarem.", -"Light fiber pair {n} {price}":"Acender par {n} {price}", -"your own subsea cable {name}":"seu próprio cabo submarino {name}", -"No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.":"Sem sites de regeneração no meio do oceano: cabos longos rodam os ópticos em modo long-haul.", -"A whale has parked on the route and will not move.":"Uma baleia estacionou na rota e não quer sair.", -"The cable ship’s coffee machine broke. Nobody works without coffee.":"A máquina de café do navio lançador quebrou. Ninguém trabalha sem café.", -"A fishing fleet is trawling exactly where you need to lay.":"Uma frota pesqueira está arrastando redes bem onde você precisa lançar.", -"The seabed survey found an old sea mine. A small, very careful detour.":"O levantamento do leito marinho achou uma mina antiga. Um desvio pequeno e muito cuidadoso.", -"Storm season. The ship is sheltering in port, playing cards.":"Temporada de tempestades. O navio está abrigado no porto, jogando baralho.", -"The crew fished out somebody else’s cable by mistake and has to put it back.":"A tripulação pescou o cabo de outra pessoa por engano e precisa devolvê-lo.", -"This route is on land. Build your own fiber instead.":"Esta rota é por terra. Construa sua própria fibra.", -"Laying your own subsea cable is a Tier 1 thing. Go transit-free first.":"Lançar seu próprio cabo submarino é coisa de Tier 1. Primeiro fique livre de transit.", -"{city} has no cable landing station.":"{city} não tem estação de ancoragem de cabos.", -"Nobody gives a foreign network a landing licence in mainland China.":"Ninguém dá licença de ancoragem a uma rede estrangeira na China continental.", -"Lay your own subsea cable…":"Lançar seu próprio cabo submarino…", -"Your own subsea cable Tier 1 only":"Seu próprio cabo submarino só Tier 1", -"Back":"Voltar", -"Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.":"Seu cabo submarino só seu. Um navio o lança no leito do mar, você é dono de cada par de fibras e as waves de mais ninguém dividem o seu vidro. Custa uma grana francamente ofensiva e demora bastante.", -"{km} km of seabed":"{km} km de leito marinho", -"Fiber pairs":"Pares de fibras", -"{n} in the cable, the first one lit":"{n} no cabo, o primeiro aceso", -"Landing stations":"Estações de ancoragem", -"{a} and {b}":"{a} e {b}", -"Build time":"Tempo de obra", -"about {n} days":"cerca de {n} dias", -"Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"Cortes ainda acontecem, âncoras e tubarões incluídos, mas o navio de reparo é você quem chama.", -"Lay the cable {price}":"Lançar o cabo {price}", -"…and {n} more change":"…e mais {n} mudança", -"…and {n} more changes":"…e mais {n} mudanças", -"Read the full notes on GitHub":"Leia as notas completas no GitHub", -"No payments at all! Until the very end. Then all of them, at once.":"Nenhuma parcela! Até o finalzinho. Aí todas de uma vez.", -"Cheap while the sun shines. Every open incident adds 2% to your rate.":"Barato enquanto faz sol. Cada incidente aberto soma 2% à sua taxa.", -"You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.":"Você paga com 30% da sua conta de transit. Fique livre de transit e para de pagar. Até o fim.", -"Your rate is set by the stars every month. Mercury is in retrograde a lot.":"Sua taxa é definida pelos astros todo mês. Mercúrio fica retrógrado com frequência.", -"The cheapest money in town. There is a catch, and it has extra cheese.":"O dinheiro mais barato da cidade. Tem uma pegadinha, e ela vem com borda recheada.", -"Always run an odd number of POPs. Our numerologist insists.":"Sempre tenha um número ímpar de POPs. Nosso numerólogo insiste.", -"Never build in Bude. The loan officer had a bad surfing holiday there.":"Nunca construa em Bude. O gerente do empréstimo teve umas férias de surfe ruins lá.", -"No diesel generators anywhere. Our sustainability team is watching.":"Nada de gerador a diesel em lugar nenhum. Nosso time de sustentabilidade está de olho.", -"No new links on a Friday. The stars do not allow it.":"Nada de links novos na sexta-feira. Os astros não permitem.", -"No Goggle cache boxes. Our chairman lost an argument with a search engine.":"Nada de caixas de cache do Goggle. Nosso presidente perdeu uma discussão para um buscador.", -"Reach 99% of the internet at all times. We looked up what a network is for.":"Alcance 99% da internet o tempo todo. Pesquisamos para que serve uma rede.", -"Stay Tier 3. Number go up, rank stay down.":"Continue Tier 3. Número sobe, ranking fica embaixo.", -"Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.":"Dê um emprego ao sobrinho do nosso CEO. Ele precisa de {price}/mês e uma vaga na garagem.", -"Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.":"Nosso presidente precisa de um iate no verão. Você não tem um, então aluga: {price}/mês.", -"Pizza for the whole NOC after every incident: {price} each.":"Pizza para o NOC inteiro depois de cada incidente: {price} por vez.", -"Mercury":"Mercúrio", -"Saturn":"Saturno", -"Venus":"Vênus", -"Your rising sign":"Seu ascendente", -"The moon":"A lua", -"Pluto, which is not even a planet":"Plutão, que nem planeta é", -"{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.":"{bank}: o balão estourou.
Os {price} restantes venceram hoje, todos de uma vez. Já saíram da sua conta.", -"{bank}: {sign} is in retrograde.
Your rate is now {apr}%.":"{bank}: {sign} está retrógrado.
Sua taxa agora é {apr}%.", -"You pay {pct} of your transit bill until {price} is repaid.":"Você paga {pct} da sua conta de transit até quitar {price}.", -"Nothing to pay for {n} months. Then everything.":"Nada a pagar por {n} meses. Depois, tudo.", -"Plus {pct} of your revenue until it is repaid.":"Mais {pct} da sua receita até quitar.", -"plus {pct} of revenue":"mais {pct} da receita", -"{price}/mo in extras":"{price}/mês em extras", -"{pct} of your transit bill · {n} months left · the rest is due at the end":"{pct} da sua conta de transit · faltam {n} meses · o resto vence no fim", -"Nothing to pay until the end · {n} months left · growing at {apr}% a year":"Nada a pagar até o fim · faltam {n} meses · crescendo {apr}% ao ano", +"+ box":"+ caixa", "+2% per open incident":"+2% por incidente aberto", -"rate set by the stars each month":"taxa definida pelos astros todo mês", -"plus {pct} of revenue until repaid":"mais {pct} da receita até quitar", -"{pct} of your transit bill":"{pct} da sua conta de transit", -"{price} to repay":"{price} a quitar", -"the rest is due at the end":"o resto vence no fim", -"Nothing to pay until the end":"Nada a pagar até o fim", -"then about {price} at once":"depois cerca de {price} de uma vez", -"handed off as 4×3.2T":"entregue como 4×3.2T", -"Tomahack 5 merchant silicon":"silício merchant Tomahack 5", -"Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.":"Sessenta e quatro portas 1.6T com software open source pelo preço de uma line card. Ainda não tem ninguém para ligar às 3 da manhã, mas agora os crashes são de 1.6T.", -"Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.":"Chassi barato, assinatura eterna. Cada porta precisa de licença, cada licença precisa de um servidor de licenças, e o servidor de licenças precisa de licença.", -"PacketOinker³ (a whole litter)":"PacketOinker³ (uma ninhada inteira)", -"3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.":"Portas 3.2T e waves de 12.8T entregues como 4×3.2T. Consome tanta energia quanto uma cidadezinha e vem com a própria subestação. Precisa de uma empilhadeira maior.", -"Jerry-cho⁵ deep-buffer silicon":"silício deep-buffer Jerry-cho⁵", -"A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.":"Cento e quarenta e quatro portas 3.2T e buffers fundos o bastante para esconder uma frota inteira. Ainda liga antes do seu flat white. Agora a barba tem barba.", -"Fin-P6 network processor":"network processor Fin-P6", -"Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.":"Construído como porta de sauna: pesado, quente e quase impossível de quebrar. A config agora é tão hierárquica que tem família real.", -"several hundred ARM cores and a prayer":"algumas centenas de cores ARM e uma oração", -"A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.":"Um router 3.2T pelo preço de um carro usado. A interface web tem novecentas abas, e uma delas é a que você precisa.", -"forty-two of them":"quarenta e dois deles", -"Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.":"Duzentas e cinquenta e seis portas 3.2T e forwarding suficiente para uma pequena galáxia. Liga em 42 minutos. Ninguém lembra qual era a pergunta.", -"Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.":"Acende também a banda L: o dobro do espectro, até 128 canais num par de fibras, e amplificadores que levam o dobro do tempo para explicar.", -"Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.":"O dobro do WaveMagic. Velocidade máxima só em trechos mais curtos, e uma ventoinha que dá para ouvir do estacionamento.", -"Esports world final":"Final mundial de esports", -"Sovereign cloud region":"Region de cloud soberana", -"Cloud gaming platform":"Plataforma de cloud gaming", -"Metaverse platform":"Plataforma de metaverso", -"AGI lab (allegedly)":"Laboratório de AGI (supostamente)", -"Mars mission ground station":"Estação terrestre de missão a Marte", -"Your network diagram is a photo of a whiteboard.":"Seu diagrama de rede é uma foto de um quadro branco.", -"You now have a change freeze. Nobody remembers who declared it.":"Agora você tem um change freeze. Ninguém lembra quem decretou.", -"It's not DNS. There's no way it's DNS. It was DNS.":"Não é DNS. Não tem como ser DNS. Era DNS.", -"Your MTU is 9000 on every link except the one that matters.":"Seu MTU é 9000 em todos os links, menos no que importa.", -"Continental carrier":"Carrier continental", -"Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.":"Seu NOC tem um canal de chat chamado #é-sempre-a-fibra, e é sempre a fibra.", -"peak 6 Tbps, 15 POPs, 4 continents":"pico de 6 Tbps, 15 POPs, 4 continentes", -"Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.":"Finais mundiais de esports e a era do 4K em tudo: os eyeballs de cada cidade querem 15% a mais. Gear: routers Sonic the Whitebox 64.", -"Transcontinental":"Transcontinental", -"You joined the outages mailing list. Today you are the outage.":"Você entrou na mailing list de outages. Hoje o outage é você.", -"peak 9 Tbps and 20 POPs":"pico de 9 Tbps e 20 POPs", -"Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.":"Regions de cloud soberana e um PNI grátis com a Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 canais), routers Disco 8K Ultra.", -"Global backbone":"Backbone global", -"Your ASN now shows up in other people's traceroutes, and in their tickets.":"Seu ASN agora aparece no traceroute dos outros, e nos tickets deles.", -"peak 12 Tbps, 25 POPs, 5 continents":"pico de 12 Tbps, 25 POPs, 5 continentes", -"A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.":"Um PNI grátis com a Voda-Phony. Gear: routers Absolute Unit 3.2T, portas 3.2T e waves de 12.8T.", -"Packet empire":"Império dos pacotes", -"Your maintenance window is 2 a.m. in every time zone at once.":"Sua janela de manutenção é às 2 da manhã em todos os fusos ao mesmo tempo.", -"peak 16 Tbps and 32 POPs":"pico de 16 Tbps e 32 POPs", -"Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.":"Plataformas de cloud gaming e a era do cloud gaming: os eyeballs querem mais 15%. Um PNI grátis com a Tel-Mess. Gear: transponders Sienna WaveMagic 3.2T.", -"Six-continent carrier":"Carrier dos seis continentes", -"Somewhere, on every continent, a backhoe is thinking about you.":"Em algum lugar, em cada continente, uma retroescavadeira está pensando em você.", -"peak 21 Tbps, 40 POPs, 6 continents":"pico de 21 Tbps, 40 POPs, 6 continentes", -"Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.":"Plataformas de metaverso (finalmente decolou) e um PNI grátis com a Etis-a-lot. Gear: routers Arrrhipster 7800R5, fabrics de 102.4T para o seu próprio exchange.", -"Backbone of backbones":"Backbone dos backbones", -"Your routing table needs its own routing table.":"Sua tabela de roteamento precisa de uma tabela de roteamento própria.", -"peak 26 Tbps and 50 POPs":"pico de 26 Tbps e 50 POPs", -"The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.":"A era da realidade virtual: os eyeballs querem 20% a mais. Um PNI grátis com a China Moble. Gear: routers Knockia 7950 XRS, scrubbing de 100T.", -"Internet weather system":"Sistema meteorológico da internet", -"When your BGP sneezes, a small country catches a cold.":"Quando o seu BGP espirra, um país pequeno pega um resfriado.", -"peak 33 Tbps and 60 POPs":"pico de 33 Tbps e 60 POPs", -"AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.":"Laboratórios de AGI (supostamente) querendo AI WANs de 12.8 a 25.6 Tbps, e PNIs grátis com a Du-opoly e a Ooh-redoo. Gear: routers Mikrowtik CCR 3.2T.", -"Too big to route":"Grande demais para rotear", -"Your last fat-fingered route leak has its own Wikipedia page.":"Seu último route leak por dedo gordo tem página própria na Wikipédia.", -"peak 40 Tbps and 70 POPs":"pico de 40 Tbps e 70 POPs", -"The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.":"A era dos agentes de IA: os eyeballs querem 25% a mais, porque agora os bots navegam pelas pessoas e nunca dormem. Gear: oito pares de fibras nas suas próprias valas terrestres.", -"The Internet":"A Internet", -"People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?":"As pessoas ligam para perguntar se a internet caiu. A internet é você. Já tentou se desligar e ligar de novo?", -"peak 50 Tbps and 80 POPs":"pico de 50 Tbps e 80 POPs", -"Mars mission ground stations. Gear: The Router at the End of the Universe.":"Estações terrestres de missões a Marte. Gear: The Router at the End of the Universe.", -"Peers with you for free now, but only over a PNI":"Agora faz peering com você de graça, mas só via PNI", -"Is This the Internet?":"Isso é a internet?", -"Reach customer level 13.":"Alcance o nível de clientes 13.", -"{sys} level {n}":"{sys} nível {n}", -"Upgrade to {sys} {price}":"Atualizar para {sys} {price}", -"Peers with you for free over a PNI. You got too big to charge.":"Faz peering com você de graça via PNI. Você ficou grande demais para ser cobrado.", -"Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.":"Só peering pago: um PNI custa {price}/mês. Grátis a partir do nível de clientes {n}.", -"{km} km of cable carries at most {g} per carrier.":"{km} km de cabo levam no máximo {g} por portadora.", -"No {wave} waves on this cable.
{why}":"Sem waves de {wave} neste cabo.
{why}", -"too far for this cable":"longe demais para este cabo", -"Your wave was sold before the cable owner re-engineered it, so it keeps running.":"Sua wave foi vendida antes de o dono do cabo reprojetá-lo, então continua funcionando.", -"A leased {wave} wave on this route costs {price}/mo.":"Uma wave de {wave} alugada nesta rota custa {price}/mês.", -"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Substitua 16 Tbps delas e o cabo se paga em cerca de {n} meses.", -"{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"{km} km é mais do que qualquer óptico alcança em velocidade máxima. Os transponders vão rodar em modo long-haul (1.2T, 800G ou 400G por canal), ou adicione sites de regeneração no caminho para recuperar a velocidade máxima.", -"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"O hallway track mudou para um bar no porto, onde a moça atrás do balcão serviu aquavit até bem depois da meia-noite sem perguntar o AS path de ninguém. De volta ao bar do hotel, alguém disse “só mais uma”. Suas sessões BGP ficaram de pé a noite toda. Você também.", -"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout local: transit ou uma porta de IX na cidade deles, ou um PNI local quando Tier 1", -"Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.":"Ninguém deixa você cavar nesta rota. Fronteiras e licenças atrapalham, então continue alugando.", -"Digging your own fiber unlocks at customer level 3.":"Cavar sua própria fibra desbloqueia no nível de clientes 3.", -"No optic you can buy reaches {km} km yet.":"Nenhum óptico à venda alcança {km} km ainda.", -"{cap} fabric circuit":"circuito de fabric de {cap}", -"{cap} on a dark fiber IRU":"{cap} numa IRU de dark fiber", -"{cap} wave":"wave de {cap}", -"Leased lines":"Linhas alugadas", -"Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.":"Cada wave, circuito de fabric e IRU de dark fiber que você aluga entre dois POPs seus, ao lado do que custaria uma dark fiber alugada ou sua própria fibra. As estimativas incluem o line system, amplificadores e ópticos suficientes para a capacidade de hoje. Construa primeiro, mova o tráfego e depois cancele o aluguel.", -"You pay for leases":"Você paga em aluguéis", -"land":"terrestre", -"Your own cable: {up} up front, {mo}/mo, about {n} days to build.":"Seu próprio cabo: {up} à vista, {mo}/mês, cerca de {n} dias de obra.", -"Your own fiber: {up} up front, {mo}/mo, about {n} days to build.":"Sua própria fibra: {up} à vista, {mo}/mês, cerca de {n} dias de obra.", -"Saves {price}/mo, pays for itself in about {n} months.":"Economiza {price}/mês, se paga em cerca de {n} meses.", -"Costs more than leasing at this size.":"Nesse tamanho custa mais que alugar.", -"Open your fiber":"Abrir sua fibra", -"Plan a cable":"Planejar um cabo", -"Plan your own fiber":"Planejar sua fibra", -"Open lease":"Abrir aluguel", -"You do not lease any lines between your POPs.":"Você não aluga nenhuma linha entre seus POPs.", -"Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.":"Alugar dark fiber: {up} à vista, {mo}/mês, pronta em cerca de {n} dias.", -"Plan dark fiber":"Planejar dark fiber", -"Open your dark fiber":"Abrir sua dark fiber", -"− box":"− box", -"You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.":"Você já tem fibra própria aqui. Acenda mais {n} canais por {up} e cancele o aluguel para economizar {price}/mês.", -"You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.":"Você já aluga dark fiber aqui. Acenda mais {n} canais por {up} e cancele as waves para economizar {price}/mês.", -"Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.":"Sua fibra aqui tem espaço para mais {free} canais, e mover esses aluguéis exige {n}. Acenda outro par de fibras ou atualize o line system primeiro.", -"No optic you can buy works on your fiber here yet.":"Nenhum óptico à venda funciona na sua fibra aqui ainda.", -"Diverse route {n}":"Rota diversa {n}", -"Main route":"Rota principal", -"New diverse route +40% · survives cuts alone":"Nova rota diversa +40% · sobrevive a cortes sozinha", -"Waves on the same route share its fate: one backhoe cuts them all.":"Waves na mesma rota compartilham o destino: uma retroescavadeira corta todas.", -"you cannot reach {list}":"você não alcança {list}", -"and {n} more":"e mais {n}", -"Not Tier 1 right now: {why}.":"Não é Tier 1 agora: {why}.", -"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"O centro geográfico dos EUA. Os data centers ficam em antigas minas de calcário subterrâneas: temperatura estável, nada de tornados, e alguém vive achando os sapatos da Dorothy.", -"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"A porta das pradarias entre Vancouver e o resto do Canadá. Um chinook derrete a neve numa tarde, e aí neva de novo.", -"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"A porta do Canadá para o Pacífico. Chove tanto que o resfriamento grátis vem com lavagem grátis.", -"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"A capital do Canadá, antes chamada Bytown, o que combina. A energia cai quando venta, gela ou é terça-feira, então traga um gerador.", -"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"O incumbente do oeste do Canadá. Diga do que você precisa, e nós diremos o preço.", -"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"O gigante canadense do cabo, preso com fita adesiva. De vez em quando cai tudo de uma vez, o que pelo menos é coerente.", -"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Um castor roeu sua wave {a}–{b}. Usou a fibra para terminar uma represa.", -"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"Sua fibra {a}–{b} caiu. A equipe de reparo achou marcas de dentes, uma toca e um castor muito orgulhoso.", -"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"O congelamento do solo rachou o duto em {a}–{b}, e um castor fez o resto.", -"Dam It":"Castorstrofe!", -"Have your fiber chewed through by a beaver.":"Tenha sua fibra roída por um castor.", -"Boxes: {a} in A · {b} in B":"Boxes: {a} em A · {b} em B", -"Move one to B":"Mover um para B", -"Move one to A":"Mover um para A", -"Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.":"Bem no meio de Londres, Amsterdã, Paris e Frankfurt, e de algum jeito mais cara que as quatro. Duas redes dominam toda sala de estar belga, e ninguém troca a não ser que você faça propaganda.", -"Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.":"No interior a partir de Ostende, onde chegam os cabos da Inglaterra. O Mar do Norte é raso, movimentado e cheio de barcos de arrasto.", -"Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.":"Os data centers de Luxemburgo não ficam na Cidade de Luxemburgo. Ficam aqui, Tier IV, refrigerados por uma usina que queima resíduos de madeira.", -"A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable.":"Um cabo pequeno e docinho de Broadstairs a Ostende, depois para o interior até Oostkamp. Não confundir com nenhum outro cabo sabor cítrico.", -"Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.":"Metade do duopólio de Flandres, no coaxial. Mantém uma porta minúscula no Frites-IX e se esconde atrás da matriz internacional, então leve um PNI.", -"The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.":"A outra metade do duopólio, em cobre e fibra. Estritamente doméstica: o mundo chega nela pelo seu braço de atacado.", -"Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.":"O braço de atacado da Proxyminus. Presente em quase todo exchange da Terra, e bem belga quanto a isso.", -"Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.":"5G privado e fibra empresarial de Oostkamp. O tráfego chega em rajadas industriais repentinas.", -"A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.":"Uma greve florestal parou as entregas de resíduos de madeira para a usina que refrigera o {dc}. Sem vapor, sem chillers: seus routers em {city} rodam a meia capacidade.", -"A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.":"Um barco de arrasto ao largo de Ostende arrastou as redes bem em cima do seu cabo {a}–{b}. O Mar do Norte tem uns trinta metros de profundidade e é cheio de barcos.", -"A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.":"Um navio de serviço de um parque eólico jogou âncora no seu cabo {a}–{b}. Ele estava lá para consertar uma turbina.", -"Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.":"A cidade portuária da Alemanha. Todo mundo diz “Moin”, a qualquer hora do dia, e a chuva vem de lado do Elba.", -"Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.":"A capital da Baviera: carros, seguradoras e uma festa da cerveja de duas semanas que faz o tráfego móvel ir às alturas todo outono. Os racks têm que ficar prontos antes do meio-dia, como as salsichas.", -"{pn} routers":"routers de {pn}", -"A {wave} wave needs {need} at both ends.":"Uma wave de {wave} precisa de {need} nas duas pontas.", -"Sold a {model} on eBuy.
{price} back.":"Vendeu um {model} no eBuy.
Voltaram {price}.", -"The new routers in {city} are still being racked.
One swap a day: try again tomorrow.":"Os novos routers em {city} ainda estão sendo montados no rack.
Uma troca por dia: tente de novo amanhã.", -"Sold the old {model} on eBuy.
{price} back toward the new gear.":"Vendeu o {model} antigo no eBuy.
{price} de volta para o equipamento novo.", -"Needs routers with {pn} ports or bigger at both ends ({city}).":"Precisa de routers com portas de {pn} ou maiores nas duas pontas ({city}).", -"Prices include {p} back for the old routers on eBuy.":"Os preços incluem {p} de volta pelos routers antigos no eBuy.", -"New routers went in today. The next swap can wait until tomorrow.":"Os routers novos foram instalados hoje. A próxima troca pode esperar até amanhã.", +"+{n} days":"+{n} dias", +"+{n} more":"+{n} mais", "+{n} more connection":"+{n} conexão a mais", "+{n} more connections":"+{n} conexões a mais", "+{n} more customer":"+{n} cliente a mais", "+{n} more customers":"+{n} clientes a mais", -"line {n}: prepend 1 to 3 times":"linha {n}: prepend de 1 a 3 vezes", -"# {net}: {g} over transit, but it peers at {ix} in {city}, where you have a POP. Get a port there.":"# {net}: {g} via transit, mas faz peering no {ix} em {city}, onde você tem um POP. Pegue uma porta lá.", -"# {net}: {g} over the IX. A PNI would take it off the shared port.":"# {net}: {g} via IX. Um PNI tiraria isso da porta compartilhada.", -"Optimize":"Otimizar", -"# Suggested by the optimizer from live traffic. It has never been paged at 3 a.m., so check it, then deploy.":"# Sugerido pelo otimizador a partir do tráfego ao vivo. Ele nunca foi acionado às 3 da manhã, então confira e depois faça o deploy.", -"Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.":"A capital planejada do Brasil, em forma de avião. Cada ministério fica numa fila arrumadinha, e cada um quer seu próprio link.", -"Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.":"Montanhas, minas e mais bares por habitante do que em qualquer outro lugar do Brasil. Acordo de peering se fecha com pão de queijo.", -"Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.":"A cidade grande mais fria do Brasil, e a que inventou o corredor de ônibus para todo mundo. Metade do ano, o ar lá fora é refrigeração de graça.", -"The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.":"O extremo sul, a meio caminho de Buenos Aires. Churrasco todo domingo e uma cuia de chimarrão em cada mão, até no verão.", -"Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.":"Porta de entrada da Amazônia, na foz de um rio tão largo que não dá para ver a outra margem. Chove toda tarde, na hora marcada.", -"Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.":"A capital mais ao norte do Brasil. A única estrada para o sul cruza uma terra indígena que fecha para o trânsito toda noite.", -"Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.":"Faz o maior São João do mundo: um mês inteiro de forró todo junho. E é cidade universitária, cheia de engenheiros.", -"Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.":"O polo de tecnologia do Brasil, a uma hora de São Paulo: universidades, laboratórios e data centers enfileirados ao longo da rodovia.", -"The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.":"O centro geográfico da América do Sul e uma das cidades mais quentes do Brasil. Os chillers nunca tiram folga.", -"Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.":"Imigrantes italianos, vinhedos e fábricas. Seus racks dividem as serras com a colheita da uva.", -"An island capital of beaches and startups. Half the city works remotely from a surf shack.":"Uma capital na ilha, de praias e startups. Metade da cidade trabalha remoto de uma barraca de surfe.", -"Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.":"Onde Brasil, Argentina e Paraguai se encontram, ao lado de cataratas gigantes e de uma usina ainda maior. A energia é barata, a papelada da alfândega não.", -"Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.":"Capital do agronegócio e terra do sertanejo. Todo caminhão, trator e silo quer uma conexão.", -"The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.":"A cidade mais a leste das Américas, onde o sol nasce primeiro. Seu plantão no NOC começa cedo também.", -"A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.":"Uma cidade pequena com seu próprio IX.brrr, porque os provedores locais quiseram. Peering não é só coisa de cidade grande.", -"Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.":"Bem na linha do equador, na foz do Amazonas. Nenhuma estrada a liga ao resto do Brasil, e a rede elétrica já teve semanas ruins bem longas.", -"Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.":"Dois milhões de pessoas no meio da floresta, com uma zona franca de fábricas. A fibra segue os rios e, quando rompe, a equipe de reparo vai de barco.", -"Dunes, buggies and the corner of Brazil closest to Africa.":"Dunas, bugues e o cantinho do Brasil mais perto da África.", -"Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.":"A capital estadual mais nova do Brasil, construída do zero em 1989. As ruas são numeradas, e todo o resto também.", -"Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.":"A capital do agronegócio: cana, suco de laranja e, segundo os locais, o chope mais gelado do país.", -"The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.":"A Veneza brasileira, toda pontes e rios, com um dos maiores parques tecnológicos do país no porto antigo.", -"The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.":"A capital do Acre, o estado que os brasileiros brincam que não existe. Seus traceroutes dizem o contrário.", -"Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.":"A primeira capital do Brasil, com cabos chegando na baía e um Carnaval de dois milhões de pessoas dançando atrás de trios elétricos.", -"An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.":"Uma cidade na ilha, de casarões coloniais azulejados, conhecida como a capital brasileira do reggae. Suas marés estão entre as maiores do país.", -"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.":"A única capital nordestina longe do mar. Famosa pelo calor, com tempestades de raios que mantêm os protetores de surto ocupados.", -"An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.":"Uma capital na ilha com um grande porto de minério de ferro. A moqueca de lá é a original, pergunte a qualquer capixaba.", -"Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.":"Uruguai: fibra em quase toda casa, um notebook para cada aluno e uma telco estatal que cuida de quase tudo.", -"Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.":"O Paraguai divide duas usinas gigantes com os vizinhos e tem mais energia do que consegue usar. Os mineradores de cripto perceberam.", -"Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.":"A segunda cidade da Argentina: universidades, montadoras e fernet com cola, numa proporção que os locais discutem por horas.", -"The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.":"A sede de governo mais alta do planeta, a 3.600 m. O pessoal vai trabalhar de teleférico, e parte da fibra também.", -"A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.":"Uma capital no alto dos Andes, logo ao sul do equador, que paga em dólar. Vulcões em todo horizonte.", -"The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.":"A cidade da eterna primavera, com escadas rolantes a céu aberto subindo os morros e uma cena de startups agitada.", -"A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.":"Uma capital num vale ao pé de uma montanha verde. A rede elétrica nacional já teve dias ruins famosos, então leve um gerador.", -"Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.":"A maior cidade da América Central, cercada de vulcões. Um deles solta fumaça todo santo dia.", -"Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.":"A Costa Rica roda quase toda com energia renovável, então seus racks são verdes. A floresta nublada ao lado é mais verde ainda.", -"Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.":"A cidade do boom de data centers no México, alta e seca no meio do país. Toda nuvem quer uma região aqui.", -"Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.":"A capital industrial do México, a poucas horas do Texas. Fábricas, aço e cabrito assado no fim de semana.", -"Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.":"O Vale do Silício do México, terra do mariachi e da tequila. Projeto de chips de dia, música à noite.", -"Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.":"Diz “oi” para todas as casas do Brasil. A fibra é ótima, o balanço ainda está se recuperando.", -"A mobile network named after the sound of a toast. Cheers to every 5G tower.":"Uma rede móvel com nome de brinde. Tim-tim para cada torre 5G.", -"Fiber across the sertão of the Northeast, one dirt road at a time.":"Fibra pelo sertão do Nordeste, uma estrada de terra de cada vez.", -"A Spanish carrier starring in every Latin American market, at least until it sells the next one.":"Uma operadora espanhola estrelando em todo mercado latino-americano, pelo menos até vender o próximo.", -"Cables all around the Caribbean, served with a lot of foam.":"Cabos pelo Caribe inteiro, servidos com muita espuma.", -"Uruguay’s state telco. Fast, everywhere, and a little proud of it.":"A telco estatal do Uruguai. Rápida, em todo lugar, e um pouco orgulhosa disso.", -"Prepaid mobile from Paraguay to Guatemala, with a logo that roars.":"Celular pré-pago do Paraguai à Guatemala, com um logo que ruge.", -"Order and Progress":"Ordem e Progresso", -"São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.":"São Paulo. O Brasil é um continente: quarenta exchanges IX.brrr, milhares de provedores e a Amazônia entre você e o norte.", -"Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served":"Portas em 20 exchanges IX.brrr, uma delas em Manaus, e 200 Gbps servidos", -"This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.":"Esta rota entra na Amazônia: 2× o preço. A fibra corre por rios e estradas na mata, e os reparos vão de barco.", -"Ports on IX.brrr in São Paulo, Rio and Fortaleza.":"Portas no IX.brrr em São Paulo, Rio e Fortaleza.", -"IX.brrr ports":"Portas no IX.brrr", -"A port on IX.brrr Manaus":"Uma porta no IX.brrr Manaus", -"Join the NOC chat":"Entre no chat do NOC", -"Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.":"Nosso grupo no Signal: troque capturas de tela, reporte bugs e discuta política de peering com outros jogadores. Menos retroescavadeiras que na vida real.", -"Join →":"Entrar →", -"Chat on Signal":"Chat no Signal", -"Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.":"A capital mais ocidental da África, onde metade dos cabos da costa para descansar. A brisa do Atlântico é refrigeração de graça.", -"The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.":"A capital dos negócios da África Ocidental francófona, com torres de vidro numa laguna e cinco cabos na baía.", -"Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.":"A capital de Gana e um dos pontos de chegada favoritos dos cabos. Fibra rápida, trânsito lento no anel viário.", -"Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.":"A cidade portuária de Camarões. Daqui um cabo vai direto para o Brasil, o caminho mais curto pelo Atlântico Sul.", -"One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.":"Uma das maiores cidades da África, bem do outro lado do rio de outra capital. A energia vai e volta, a rumba nunca para.", -"Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.":"A capital do petróleo de Angola e a casa dos cabos que vão direto para o Brasil. Uma das cidades mais caras do mundo para um quarto de hotel.", -"Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.":"A capital dos negócios do Marrocos no Atlântico, a porta entre a Europa e a África Ocidental.", -"White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.":"Casas brancas subindo a partir do Mediterrâneo. Os cabos vão para o norte, até Marselha, e boa parte do tráfego também.", -"A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.":"Uma capital ao lado das ruínas de Cartago, onde o Mediterrâneo é mais estreito. Os cabos chegam à Sicília num instante.", -"A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.":"Um país minúsculo na entrada do Mar Vermelho, onde uma dúzia de cabos entre Europa, Ásia e África chega à terra. E cobra por isso.", -"Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.":"A capital da Etiópia a 2.400 m, sem litoral: tudo sobe de Djibouti. O melhor café do mapa.", -"Where East Africa’s cables come ashore, then ride the railway up to Nairobi.":"Onde os cabos da África Oriental chegam à terra e depois sobem de trem até Nairóbi.", -"Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.":"A maior cidade da Tanzânia e a porta para o mar de meia dúzia de países sem litoral.", -"A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.":"Uma cidade em sete colinas às margens do Lago Vitória. Sem litoral, todo pacote para o mar passa antes pelo Quênia ou pela Tanzânia.", -"Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.":"Provavelmente a capital mais limpa da África, com fibra em todos os bairros e sacolas plásticas proibidas na fronteira.", -"Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.":"A capital de Moçambique, a uma hora da África do Sul. Seus cabos são o reserva da costa leste quando os outros quebram.", -"South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.":"A costa leste da África do Sul: surfe, curry e a praia onde chegam os cabos do Oceano Índico.", -"A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.":"Uma pequena capital no meio do deserto. Os cabos chegam em Swakopmund e depois atravessam as dunas.", -"Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.":"A Zâmbia vive da energia de um grande lago. Num ano seco o lago baixa, e a rede elétrica também.", -"Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.":"Jacarandás roxos e longas quedas de energia. Todo POP aqui precisa de um gerador e muito diesel.", -"Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.":"Botsuana: tranquila, segura e rica em diamantes, com Joanesburgo a um pulo de carro.", -"Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands.":"Africa Coast to Europe: vinte e tantos países num só cabo, da França à Cidade do Cabo. A melhor carta de muitas mãos.", -"West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up.":"O primeiro grande cabo da África Ocidental, de Portugal à Cidade do Cabo. Velho e bambo, mas ainda segurando as pontas.", -"Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa.":"Portugal a Lagos, com paradas em Dacar, Abidjan e Acra. Só pensa na África Ocidental.", -"Casablanca down the coast to Abidjan, served sweet and very hot.":"De Casablanca costa abaixo até Abidjan, servido doce e bem quente.", -"Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses.":"Direto pelo Atlântico Sul, de Fortaleza a Camarões. Sem paradas, sem ilhas, sem desculpas.", -"The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party.":"O cabo que pôs a África Oriental online, de Durban a Djibouti e daí a Mumbai. Ainda conta a história em toda festa.", -"Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors.":"De Djibouti até Durban, colado na costa da África Oriental. Ri de piratas e de âncoras.", -"Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.":"Fibra do Cabo ao Cairo atravessando uma dúzia de fronteiras. Às vezes por terra, às vezes acima do orçamento.", -"Owns the cable that brought East Africa online, and sells you the capacity with a straight face.":"Dono do cabo que pôs a África Oriental online, e vende a capacidade sem dar risada.", -"Owns the cables from Luanda to Brazil, and always finds an angle on the deal.":"Dona dos cabos de Luanda ao Brasil, e sempre encontra um ângulo no negócio.", -"A tiny telco in a country where the world’s cables come ashore. Prices to match.":"Uma operadora minúscula num país onde os cabos do mundo chegam à terra. Os preços acompanham.", -"Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.":"A gigante móvel da África, num amarelo que dá para ver do espaço. Nunca está vazia de verdade.", -"Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.":"Dinheiro móvel e dados pré-pagos em catorze países. Avisa a cada recarga.", -"Ethiopia’s state telco: a hundred million customers and very calm about competition.":"A estatal da Etiópia: cem milhões de clientes e muito calma em relação à concorrência.", -"Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.":"A incumbente do Marrocos, com redes irmãs pela costa da África Ocidental. Carrega o peso sem reclamar.", -"Cape to Cairo":"Do Cabo ao Cairo", -"Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.":"Cidade do Cabo. Construa uma rede pela África: cada fronteira quer sua própria licença, e metade das redes elétricas não está do seu lado.", -"A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served":"Um caminho da Cidade do Cabo ao Cairo, POPs em Lagos e Nairóbi, e 150 Gbps atendidos", -"This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.":"Esta rota cruza uma fronteira na África: 2× o preço. Cada país quer suas próprias licenças, sua própria operadora e sua parte.", -"A path from Cape Town to Cairo":"Um caminho da Cidade do Cabo ao Cairo", -"Both a second switch, +{price}/mo":"Ambos um segundo switch, +{price}/mês", -"{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.":"{name} foi cancelado.
A fábrica de cabos pega de volta o vidro que ninguém precisa: {price} de volta.", -"Your cable":"Seu cabo", -"New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.":"Roteador novo em {city}
Trocado antes de qualquer coisa estar conectada: zero downtime, zero clientes bravos.", -"{ix} switch":"Switch do {ix}", -"Giving it up now returns {price}.":"Desistir agora devolve {price}.", -"No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.":"Nenhum cabo submarino chega a {city}. A estação de chegada mais próxima é {near}: leve fibra até lá primeiro e depois pegue um cabo de lá.", -"{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.":"{km} km é mais do que qualquer óptica consegue iluminar, mesmo com o melhor equipamento submarino ({max} km no máximo). Cabos de verdade param numa ilha ou numa estação de chegada no caminho: lance dois mais curtos.", +"+{p} since you started":"+{p} desde o começo", +", and prices have fallen {p}% since you started":", e os preços caíram {p}% desde que você começou", +", in via {e}":", entrando por {e}", +", plus {n} small network":", mais {n} rede pequena", +", plus {n} small networks":", mais {n} redes pequenas", +". Did you mean {name}?":". Você quis dizer {name}?", +"1.6T on every hop from Lisbon to Lagos":"1.6T em cada trecho de Lisboa a Lagos", "1.6T on every hop from Los Angeles to Sydney":"1.6T em cada trecho de Los Angeles a Sydney", +"1.6T on every hop from Miami to Madrid":"1.6T em cada trecho de Miami a Madri", +"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", +"1.6T ports, its own weather system and two PacketOinker² chips per line card. Takes 6.4T waves as 4×1.6T. Needs a forklift.":"Portas 1.6T, um microclima próprio e dois chips PacketOinker² por line card. Aceita waves 6.4T como 4×1.6T. Precisa de empilhadeira.", +"10+ POPs ({n})":"10+ POPs ({n})", +"100G per box":"100G por caixa", +"20+ peering sessions ({n})":"20+ sessões de peering ({n})", +"270 million people on 17,000 islands. Mobile first, and very hungry for bandwidth.":"270 milhões de pessoas em 17.000 ilhas. Mobile first, e com muita fome de banda.", +"3.2T ports, and 12.8T waves handed off as 4×3.2T. Draws as much power as a small town and ships with its own substation. Needs a bigger forklift.":"Portas 3.2T e waves de 12.8T entregues como 4×3.2T. Consome tanta energia quanto uma cidadezinha e vem com a própria subestação. Precisa de uma empilhadeira maior.", +"40% off for 6 months":"40% de desconto por 6 meses", +"5+ POPs, ports on 3+ IXs and 15+ peering sessions.":"5+ POPs, portas em 3+ IXs e 15+ sessões de peering.", +"90 days in a row with 99.5% of demand served":"90 dias seguidos com 99.5% da demanda servida", +"95th pct {p95} · commit {commit} · bill {bill}/mo":"pct 95 {p95} · commit {commit} · conta {bill}/mês", +"95th percentile":"Percentil 95", +"95th percentile {g}":"Percentil 95 {g}", +"99% reach and 150 Gbps served":"99% de alcance e 150 Gbps servidos", +"99% reach and 200 Gbps served without going broke":"99% de alcance e 200 Gbps entregues sem quebrar", +"; this one is set to {mode}":"; esta está configurada como {mode}", +"":"", +"\"After consulting with management…\"
The price went up. Management was consulted.":"“Depois de consultar a diretoria…”
O preço subiu. A diretoria foi consultada.", +"\"Just this once.\"
Your account manager found a special discount. Do not tell the others.":"“Só desta vez.”
Seu account manager achou um desconto especial. Não conte aos outros.", +"40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.":"40% de desconto no {ix} por 6 meses.
Seu account manager respirou aliviado. Leia as letras miúdas depois.", +"A gigaproject wants a demo.
{bw} for four days in {city}, to show off a city that is still mostly renderings. Check the Deals tab.":"Um gigaprojeto quer uma demo.
{bw} por quatro dias em {city}, para exibir uma cidade que ainda é quase só renderização. Veja a aba Negócios.", +"A {fab} fabric unlocks at customer level {lv}.":"Um fabric {fab} desbloqueia no nível de cliente {lv}.", +"A {wave} wave needs {need} at both ends.":"Uma wave de {wave} precisa de {need} nas duas pontas.", +"AS path: {path}":"AS path: {path}", +"Application filed.
Your local partner says about 45 days. Probably.":"Pedido protocolado.
Seu parceiro local diz uns 45 dias. Provavelmente.", +"Augment ordered with {net}.
{eta}.":"Ampliação encomendada com {net}.
{eta}.", +"Augment with {net} delivered in {city}.
Now {port}.":"Ampliação com {net} entregue em {city}.
Agora {port}.", +"Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.":"A Austrália ficou mais australiana.
O trânsito lá agora custa três vezes o preço normal, só as operadoras que realmente vendem trânsito na Austrália o vendem, e Telstraya e Floptus só fazem peering privado, então as sessões delas no IX terminaram. Confira seus POPs australianos.", +"Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.":"Auto-TE ativo.
Agora o controller joga o excesso para rotas alternativas sempre que a mais curta lota.", +"Auto-TE unlocks at customer level 3.":"Auto-TE desbloqueia no nível de cliente 3.", +"BGP hijack
Someone else is announcing your prefixes. Reach is down until it is cleaned up.":"BGP hijack
Outra rede está anunciando seus prefixos. O alcance fica baixo até limparem a bagunça.", +"Baltic cable damaged
A cargo ship dragged its anchor for 100 km and swears it noticed nothing. You have no links on those cables.":"Cabo danificado no Báltico
Um cargueiro arrastou a âncora por 100 km e jura que não percebeu nada. Você não tem links nesses cabos.", +"Baltic cable damaged
{n} of your links are down for about {d} days.":"Cabo danificado no Báltico
Seus links fora do ar: {n}, por cerca de {d} dias.", +"Blackhole withdrawn.
{city} is reachable again. Brace for the junk.":"Blackhole retirado.
{city} está acessível de novo. Prepare-se para o lixo.", +"Blackout in {city}
The grid went dark again. Your generator started on the first try, like it always does here.":"Apagão em {city}
A rede elétrica caiu de novo. Seu gerador pegou de primeira, como sempre aqui.", +"Cables cut in the Red Sea
A ship dragged its anchor across several cables. Everyone blames everyone. Luckily you do not use those cables.":"Cabos cortados no Mar Vermelho
Um navio arrastou a âncora por vários cabos. Todo mundo culpa todo mundo. Por sorte você não usa esses cabos.", +"Cables cut in the Red Sea
{n} of your subsea links are down for about {d} days while the diplomats argue about repair ships.":"Cabos cortados no Mar Vermelho
Seus links submarinos fora do ar: {n}, por cerca de {d} dias, enquanto os diplomatas discutem sobre os navios de reparo.", +"Can't add {optic}.
{why}":"Não dá para adicionar {optic}.
{why}", +"Cancel the circuits on this port first.":"Cancele os circuitos desta porta primeiro.", +"Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"Verificar (dry run) repete o tráfego de hoje com o script e mostra quanto você serviria e quanto o trânsito custaria. Nada muda.", +"Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.":"Falta de chips!
Todo fabricante de roteador está esperando os mesmos chips. Roteadores novos e upgrades custam 40% a mais por {n} dias. Prazo de entrega: “sim”.", +"Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.":"Circuito no ar em 59 segundos.
{vxc} via {fab}: {a} → {b}.", +"Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.":"Add-on clean-pipe ativado em {net}.
Eles limpam um flood antes de chegar na sua porta aqui, por {mo}/mês.", +"Clean-pipe add-on removed from {net}.":"Add-on clean-pipe removido de {net}.", +"Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"Commit concluído. Tráfego caiu {p}.
A IA pede desculpas pela confusão, e continua totalmente certa de que o script estava correto. Corrija pela aba NOC.", +"Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.":"Commit concluído. Tráfego caiu {p}.
Você acabou de dar um fat-finger na própria rede. Clássico. Corrija o script na aba NOC.", +"Construction delay: +{n} days
{why} ({a}–{b})":"Atraso na obra: +{n} dias
{why} ({a}–{b})", +"Controls: drag the map to pan, scroll or pinch to zoom, tap a city to open it. Drag from your pink router to another city to lay fiber. Space pauses, 0 is half speed, 1 2 3 4 set speed. At 1× a day lasts 2.5 seconds.":"Controles: arraste o mapa para mover, role ou faça pinça para dar zoom, toque numa cidade para abri-la. Arraste do seu router rosa até outra cidade para lançar fibra. Espaço pausa, 0 é meia velocidade, 1 2 3 4 definem a velocidade. Em 1× um dia dura 2,5 segundos.", +"Copied. Paste it into your favourite NOC chat.":"Copiado. Cole no seu chat de NOC favorito.", +"Customer level {lv}: {name}
New customers unlocked: {unlock}":"Nível de clientes {lv}: {name}
Novos clientes desbloqueados: {unlock}", +"DE-KICKS has harmonised its prices.
Harmonised means up: {ix} now costs {p}% more. Thank you for your continued partnership.":"O DE-KICKS harmonizou os preços.
Harmonizar quer dizer subir: {ix} agora custa {p}% a mais. Obrigado pela parceria contínua.", +"DE-KICKS sales is still \"aligning\".
They will get back to you in {n} days.":"O comercial da DE-KICKS ainda está “se alinhando”.
Eles retornam em {n} dias.", +"DE-KICKS will \"circle back\".
Expect an email titled \"Quick question 🙂\" within the hour.":"A DE-KICKS vai “dar um retorno”.
Espere um e-mail com o assunto “Pergunta rápida 🙂” dentro de uma hora.", +"Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.":"IRU de dark fiber assinado.
{a}–{b} será emendada e entregue em uns 30 dias.", +"Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"Deploy 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.", +"Drizzle Electric sent you an IPv6 cake.
You sold it for $8k.":"A Drizzle Electric te mandou um bolo IPv6.
Você vendeu por $8k.", +"Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.":"Todos os navios lançadores de cabo estão reservados.
Os hyperscalers contrataram todos os navios e todas as equipes de escavação do planeta. Novas fibras e novos cabos custam 30% a mais por {n} dias.", +"Fabric port in {city} is full.":"A porta de fabric em {city} está cheia.", +"Faceplant rerouted Korea via Hong Kong.
Seoul users get a fifth less of it for 20 days, however you connect.":"O Faceplant rerroteou a Coreia via Hong Kong.
Os usuários de Seoul recebem um quinto a menos dele por 20 dias, não importa como você se conecte.", +"Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.":"Par de fibras {n} aceso: {a}–{b}.
Mais um ROADMaster 9000 e uma nova cadeia de amplificadores. Espaço para mais {m} canais.", +"Fill this pair first.
Light all {max} channels before you light another fiber pair.":"Encha este par primeiro.
Acenda todos os {max} canais antes de acender outro par de fibras.", +"Fixed. {what} resolved early.":"Resolvido. {what}: resolvido antes da hora.", +"Flood held: {g}.
{who} gave up and went back to mining crypto.":"Enxurrada contida: {g}.
{who} desistiu e voltou a minerar cripto.", +"Glitch is leaving Korea.
The game-streaming site says Korean network fees are “prohibitively expensive” and shuts down there. Its Seoul traffic drops by half, for good. Local streamers have already moved on.":"A Glitch está saindo da Coreia.
O site de streaming de games diz que as taxas de rede coreanas são “proibitivamente caras” e fecha as portas lá. O tráfego de Seoul dela cai pela metade, para sempre. Os streamers locais já mudaram de casa.", +"Goal: {goal} · Time: {d} days · start in {city}":"Objetivo: {goal} · Tempo: {d} dias · começa em {city}", +"Golden Week!
Demand in mainland China is up 40% for a week.":"Golden Week!
A demanda na China continental sobe 40% por uma semana.", +"Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.":"Boa: era um vazamento de rotas.
{who} achou um route map digitado errado. A sessão volta sozinha em alguns dias.", +"Good news! You've been enrolled in {addon}.
{blurb} {price}/mo, added to your {ix} invoice. Opt out any time in the IX panel.":"Boa notícia! Você foi inscrito no {addon}.
{blurb} {price}/mês, somados à sua fatura do {ix}. Cancele quando quiser no painel do IX.", +"Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.":"Pedra fundamental!
Sua própria fibra de {a} a {b}. Licenças e escavação levam uns {n} dias.", +"HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.":"O HackBack 3000™ acertou o alvo errado.
{who} Um órgão regulador te manda uma multa de {fine}, e o ataque continua.", +"HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.":"O HackBack 3000™ contra-ataca!
A Skynot AI rastreou a botnet e educadamente a transformou em tijolo. O ataque a {city} para na hora.", +"Haggling paused.
{why}":"Negociação pausada.
{why}", +"IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.":"Blackhole no IX anunciado em {city}.
Cerca de metade dos membros respeita o /32 e descarta o lixo. O cliente continua no ar.", +"IX blackhole withdrawn.":"Blackhole no IX retirado.", +"Import failed.
That save is damaged and could not be loaded. Your current game is untouched.":"Falha na importação.
Esse save está corrompido e não pôde ser carregado. Seu jogo atual não foi mexido.", +"Import failed.
{err}":"Falha na importação.
{err}", +"Installed!
Open Series of Tubes from your home screen. Your saves come along.":"Instalado!
Abra o Series of Tubes pela tela inicial. Seus saves vão junto.", +"LAG member added.
{net} in {city} is now {lag}.":"Membro do LAG adicionado.
{net} em {city} agora é {lag}.", +"LAG member removed.":"Membro do LAG removido.", +"Landing permit dispute in {city}
Two ministries both claim the beach. No new subsea links can land there for 45 days.":"Disputa de licença de ancoragem em {city}
Dois ministérios reivindicam a mesma praia. Nenhum novo link submarino pode chegar ali por 45 dias.", +"Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.":"Large Peering Model contratado.
Sua caixa de entrada agora é problema dele. {price} por ano, cobrados por mês.", +"Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.":"Falta de lasers!
A fábrica que faz os lasers de metade das ópticas do mundo inundou. Ópticas custam 50% a mais por {n} dias. Os sobressalentes na sua prateleira acabaram de virar o melhor investimento da sua vida.", +"License granted!
Your joint venture can now build POPs in mainland China.":"Licença concedida!
Sua joint venture agora pode construir POPs na China continental.", +"Line system swap
All channels are dark for a day while the ROADMs go in.":"Troca do line system
Todos os canais ficam apagados por um dia enquanto os ROADMs são instalados.", +"Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.":"Anunciado com um corretor de capacidade.
{name} quer {what}. Aceite na fibra ou em Negócios.", +"Load shedding in {city}
Stage {n} today. Your generator coughed, then kept the lights on.":"Rodízio de energia em {city}
Stage {n} hoje. Seu gerador tossiu, depois manteve as luzes acesas.", +"Loan from {bank} paid off!
They sent a fruit basket. It is mostly bananas.":"Empréstimo de {bank} quitado!
Mandaram uma cesta de frutas. É quase tudo banana.", +"Loan from {bank} repaid early.":"Empréstimo de {bank} quitado antes do prazo.", +"Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.":"Limite de max-prefix estourado: {who} no {ix}.
A sessão fica fora até você dar uma olhada.", +"Microbursts on {a}–{b}.
Your deep-buffer routers soaked them up. Nobody noticed.":"Microbursts em {a}–{b}.
Seus routers de buffer profundo absorveram tudo. Ninguém percebeu.", +"More crews on site.
Construction is {n} day ahead.":"Mais equipes no local.
A construção está {n} dia adiantada.", +"More crews on site.
Construction is {n} days ahead.":"Mais equipes no local.
A construção está {n} dias adiantada.", +"New networks on the map.
This update added networks you are not connected to yet. For {n} days a free courtesy route reaches them, so your reach does not drop overnight. Peer with them, or buy transit, before it ends.":"Novas redes no mapa.
Esta atualização adicionou redes às quais você ainda não está conectado. Por {n} dias uma rota de cortesia gratuita as alcança, para seu alcance não despencar da noite pro dia. Faça peering com elas, ou compre transit, antes que acabe.", +"New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.":"Roteador novo em {city}
Trocado antes de qualquer coisa estar conectada: zero downtime, zero clientes bravos.", +"New season of “Stranger Pings” just dropped!
Eyeball demand is up 25% for a week. Got headroom?":"Saiu a nova temporada de “Stranger Pings”!
A demanda de eyeballs sobe 25% por uma semana. Tem folga?", +"No IX in {city} to announce a blackhole to.":"Não há IX em {city} para anunciar um blackhole.", +"No attack to blackhole right now.":"Nenhum ataque para mandar ao blackhole agora.", +"No cable available for that route right now.":"Nenhum cabo disponível para essa rota agora.", +"No free router ports in {city}.
{u} of {m} in use. Add a router, or swap to a model with more ports (Infra tab).":"Nenhuma porta de router livre em {city}.
{u} de {m} em uso. Adicione um router ou troque por um modelo com mais portas (aba Infra).", +"No transit in this scenario.
Peering, PNIs, caches and your own fiber only.":"Sem transit neste cenário.
Só peering, PNIs, caches e sua própria fibra.", +"No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.":"Sem capacidade de {wave} nesta rota agora.
{why} Tente uma onda menor, outra rota, ou pergunte de novo em {n} dias.", +"No {wave} waves on this cable.
{why}":"Sem waves de {wave} neste cabo.
{why}", +"Not enough cash.
Wait for revenue, or speed up time.":"Dinheiro insuficiente.
Espere a receita ou acelere o tempo.", +"Not enough free channels on that fiber any more.":"Não há mais canais livres suficientes nessa fibra.", +"Not enough room on your fabric port. Upgrade it first.":"Sem espaço na sua porta de fabric. Faça upgrade primeiro.", +"Not enough room on your {fab} port in {city}.":"Sem espaço na sua porta {fab} em {city}.", +"Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.":"Nada sobrando para vender nesta fibra.
Todos os canais estão acesos ou vendidos, e a vala não tem par livre.", +"Nothing to hack back right now.":"Nada para contra-atacar agora.", +"Opted out of {name}.
It took four clicks, a survey and a \"we're sad to see you go\" page.":"Você cancelou {name}.
Foram quatro cliques, uma pesquisa e uma página de “que pena que você vai embora”.", +"Optical control plane meltdown!
Every leased wave in {reg} just went dark at once. Your own dark fiber is fine. This is why people own fiber.":"Derretimento do control plane óptico!
Todas as waves alugadas em {reg} apagaram de uma vez. Sua dark fiber própria está ok. É por isso que as pessoas têm fibra própria.", +"Ordered offline in {city}
A government exam-day shutdown. Your POP there is dark for a day.":"Offline por decreto em {city}
Um shutdown do governo em dia de prova. Seu POP lá fica apagado por um dia.", +"PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.":"A PNI com {net} está no ar em {city}.
Um cross-connect em {dc}. Privado e rápido.", +"PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.":"PNI com {net} encomendada.
{eta}. Um cross-connect em {dc}, assim que alguém achar a LOA.", +"Peering spat!
Cogentle de-peered Goggle for 20 days. Goggle traffic over Cogentle transit is gone. Peer with Goggle directly or use another upstream.":"Briga de peering!
A Cogentle cortou o peering com a Goggle por 20 dias. O tráfego da Goggle via transit Cogentle sumiu. Faça peering direto com a Goggle ou use outro upstream.", +"Penalty from {bank}: {fee}
Added to what you owe. Your monthly payment is now {pay}.":"Multa de {bank}: {fee}
Somada ao que você deve. Sua parcela mensal agora é {pay}.", +"Port up at {ix}!
Now request peering, or join the route server.":"Porta ativa no {ix}!
Agora peça peering ou entre no route server.", +"Power cut in {city}
Your backup generator kicked in. Lights stayed on.":"Queda de energia em {city}
Seu gerador de backup entrou. As luzes ficaram acesas.", +"Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.":"Reiniciado.
O router em {city} está dando boot de novo. Volta amanhã, se o {chip} quiser.", +"Price war in {city}!
{ix} cut its port prices 10% to stop members drifting to {rival}. Your invoice just got smaller.":"Guerra de preços em {city}!
{ix} cortou 10% no preço das portas para os membros não fugirem para {rival}. Sua fatura acabou de emagrecer.", +"Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.":"Preços congelados até {date}.
O gerente de contas do seu fornecedor está radiante. Ele ganha um bônus por isso.", +"RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.":"RTBH anunciado.
Você mandou o alvo em {city} para o blackhole. O flood para, e todo mundo lá também.", +"Regen site removed.":"Site de regeneração removido.", +"Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.":"O site de regeneração {n} está ativo.
Os trechos ópticos em {a}–{b} agora têm {km} km.", +"Registered.
Flights booked, badge printed, business cards ordered in the wrong font.":"Inscrito.
Voos reservados, crachá impresso, cartões de visita encomendados na fonte errada.", +"Remote peering is a last resort. Ports come through a reseller at 1.5× the price, only 80% of the port is really yours, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members. A POP here is better.":"Remote peering é o último recurso. As portas vêm por um revendedor a 1,5× o preço, só 80% da porta é sua de verdade, a latência viaja pelo fabric, uma queda do fabric derruba todas as sessões e muitas redes seletivas recusam membros remotos. Melhor um POP aqui.", +"Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.":"Porta remota ativa no {ix}.
Veio por um revendedor, então espere uma margem extra, uma porta lotada e algumas redes que não vão falar com você. Aqui o route server é seu amigo.", +"Resolved: {what}":"Resolvido: {what}", +"Resolved: {what}
{where} is back to normal.":"Resolvido: {what}
{where} voltou ao normal.", +"Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.":"Upgrade gradual em {city}
{n} × {model}, trocados um de cada vez. Zero downtime.", +"Route server session up.
You now peer with every open network on this IX, in one go.":"Sessão com o route server ativa.
Agora você faz peering com todas as redes abertas deste IX, de uma vez só.", +"Router crash in {city}
One router panicked and its twin took over.{slow} Capacity there is down one router for {d} days.":"Router travou em {city}
Um router entrou em panic e o gêmeo assumiu.{slow} Lá a capacidade fica com um router a menos por {d} dias.", +"Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.":"Roteador instalado em {city}.
O fornecedor mandou do lado certo, então os técnicos locais viraram. Aqui tudo é de cabeça para baixo.", +"Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.":"Roteador instalado em {city}.
De cabeça para baixo, como é costume por aqui. Os pacotes não parecem se importar.", +"Run by DE-KICKS Group. No public price list. Ask sales for a personalised quote and bring your haggling face.":"Gerido pelo DE-KICKS Group. Sem tabela de preços pública. Peça ao comercial uma cotação personalizada e capriche na cara de pechincha.", +"Run by a nonprofit. Public prices at a fraction of what other exchanges charge, and almost everyone is here.":"Gerido por uma ONG. Preços públicos a uma fração do que os outros exchanges cobram, e quase todo mundo está aqui.", +"Rural broadband grant: +$30k
The Ministry of Tubes likes what you are doing.":"Verba para banda larga rural: +$30k
O Ministério dos Tubos gosta do que você está fazendo.", +"SLA breach: {name}.
The attack on {city} got through and your protected customer went down. You owe {pen} in SLA credits.":"Violação de SLA: {name}.
O ataque em {city} passou e seu cliente protegido caiu. Você deve {pen} em créditos de SLA.", +"Sanctions!
The Republic of Paperworkistan sanctioned your router vendor’s favorite screw supplier. Spare parts are slow: router crashes take twice as long to fix for 60 days.":"Sanções!
A República do Burocracistão sancionou o fornecedor de parafusos favorito do fabricante do seu router. As peças estão demorando: por 60 dias, crashes de router levam o dobro do tempo para consertar.", +"Sandbox mode
A billion dollars, every unlock, and nothing ever breaks. Build the internet you always wanted.":"Modo sandbox
Um bilhão de dólares, tudo desbloqueado e nada nunca quebra. Construa a internet que você sempre quis.", +"Save exported.
{file} is in your downloads. Open it on another device with “Import a save”.":"Save exportado.
{file} está nos seus downloads. Abra em outro dispositivo com “Importar um save”.", +"Scrubbing upgraded to {tier}.":"Scrubbing atualizado para {tier}.", +"Second LAG member added.
One member in each building now, so a dark building only takes out half the port.":"Segundo membro do LAG adicionado.
Agora tem um membro em cada prédio, então um prédio apagado só derruba metade da porta.", +"Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.":"Segundo site ativo em {city}.
{b} está ligado a {a} pelo seu próprio anel metro. Mova alguns uplinks pra lá nas abas Transit e Peering.", +"Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.":"A sessão com {who} voltou.
Novo limite: {n} prefixos. Eles prometem atualizar o PeeringDB.", +"Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.":"Contrato assinado com a DE-KICKS.
Bem-vindo à família. Por favor, não conte a ninguém quanto você paga.", +"Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.":"Vendeu um {optic} reserva no eBuy.
Voltaram {price}, ou seja, {p} do preço de novo.", +"Sold a {model} on eBuy.
{price} back.":"Vendeu um {model} no eBuy.
Voltaram {price}.", +"Sold the old {model} on eBuy.
{price} back toward the new gear.":"Vendeu o {model} antigo no eBuy.
{price} de volta para o equipamento novo.", +"Something in the NOC glitched.
The game kept going. If things look odd, export your save and open an issue on GitHub.":"Algo no NOC deu pau.
O jogo continuou. Se algo parecer estranho, exporte seu save e abra uma issue no GitHub.", +"Sovereign internet drill
Moscow unplugged itself from the rest of the internet for a day to see what happens. Everything leaving Russia is dark until tomorrow.":"Treino de internet soberana
Moscou se desconectou do resto da internet por um dia só para ver o que acontece. Tudo que sai da Rússia fica no escuro até amanhã.", +"That customer is gone.
The contract ended since.":"Esse cliente não existe mais.
O contrato terminou desde então.", +"That file is too big to be a save.":"Esse arquivo é grande demais para ser um save.", +"That link is gone.
It was removed or decommissioned since.":"Esse link não existe mais.
Foi removido ou desativado desde então.", +"That one got through: {g}.
{city} sank to {p}. Somewhere, {who} is very proud of itself.":"Essa passou: {g}.
{city} caiu para {p}. Em algum lugar, {who} está muito orgulhoso de si.", +"That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.":"Era um vazamento de rotas.
{who} anunciava {n} prefixos: uma tabela completa. Da próxima vez, deixe fora.", +"The AI is gone.
It left a 40-page handover document. It is mostly about itself.":"A IA foi embora.
Deixou um documento de transição de 40 páginas. Ele fala principalmente dela mesma.", +"The banks have stopped calling.
You have more money than most of them. Loan offers come back if your cash ever drops below {cash}.":"Os bancos pararam de ligar.
Você tem mais dinheiro que a maioria deles. As ofertas de empréstimo voltam se seu caixa cair abaixo de {cash}.", +"The border got stricter.
Cross-border packet loss rises to 35% for 10 days. Premium routes are barely affected.":"A fronteira ficou mais rígida.
O packet loss transfronteiriço sobe para 35% por 10 dias. Rotas premium quase não são afetadas.", +"The courtesy route has ended.
New networks you have not connected to are now only reachable through your own peering and transit.":"A rota de cortesia acabou.
As novas redes às quais você não se conectou agora só são alcançáveis pelo seu próprio peering e transit.", +"The event is already running.
The organisers will not let you walk out now.":"O evento já está rolando.
Os organizadores não vão deixar você sair agora.", +"The internet is back.
Half of it, anyway. Everything was patched in a hurry and nobody learned anything.":"A internet voltou.
Metade dela, pelo menos. Tudo foi remendado às pressas e ninguém aprendeu nada.", +"The loan shark sent a reminder.
Your POP in {city} is dark until tomorrow.":"O agiota mandou um lembrete.
Seu POP em {city} fica apagado até amanhã.", +"The neighbours have fallen out.
A diplomatic spat closes borders and airspace around Qatar. Every link between Doha and Saudi Arabia or the UAE is down for about {n} days. Route the long way round, by sea.":"Os vizinhos brigaram.
Uma crise diplomática fecha fronteiras e espaço aéreo em volta do Catar. Todos os links entre Doha e Arábia Saudita ou Emirados ficam fora por cerca de {n} dias. Dê a volta longa, por mar.", +"The new routers in {city} are still being racked.
One swap a day: try again tomorrow.":"Os novos routers em {city} ainda estão sendo montados no rack.
Uma troca por dia: tente de novo amanhã.", +"The session stays down.
{who} will update PeeringDB and ask again. Eventually.":"A sessão continua fora.
{who} vai atualizar o PeeringDB e pedir de novo. Algum dia.", +"The {model} won't fit.
{why}":"O {model} não cabe.
{why}", +"The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.":"O {ship} zarpou!
{name}, seu próprio cabo de {km} km de {a} a {b}. Pronto em cerca de {n} dias, se as baleias colaborarem.", +"Those optics need the regen site.
Remove the long-haul channels first, or keep the site.":"Essas ópticas precisam do site de regeneração.
Remova primeiro os canais long-haul, ou mantenha o site.", +"Too late: the event has already started.":"Tarde demais: o evento já começou.", +"Too many circuits for a smaller port.":"Circuitos demais para uma porta menor.", +"Trade war on optics
Two governments slapped tariffs on each other’s lasers. Optics cost 40% more for 90 days.":"Guerra comercial das ópticas
Dois governos taxaram os lasers um do outro. Ópticas custam 40% a mais por 90 dias.", +"Transit prices fell 8%.
They do this every year. Nobody knows where the bottom is.":"Os preços de transit caíram 8%.
Isso acontece todo ano. Ninguém sabe onde fica o fundo do poço.", +"Unplug something first.
{used} ports are in use, and one router fewer only has {max}.":"Desconecte algo primeiro.
Há {used} portas em uso, e com um router a menos só teria {max}.", +"Vacuum incident in {city}
The cleaner at {dc} unplugged one of your routers to plug in a vacuum. The other one kept going. The floor is spotless.":"Incidente do aspirador em {city}
A faxineira do {dc} desligou um dos seus routers para ligar o aspirador. O outro aguentou. O chão está brilhando.", +"Vacuum incident in {city}
The cleaner unplugged everything at {siteA}. {siteB} kept the city online at half capacity.":"Incidente do aspirador em {city}
A faxineira desligou tudo no {siteA}. O {siteB} manteve a cidade online com metade da capacidade.", +"Welcome back, {name}.
Imported and saved on this device.":"Bem-vindo de volta, {name}.
Importado e salvo neste dispositivo.", +"Welcome back, {name}.
Your network is right where you left it: {date}.":"Bem-vindo de volta, {name}.
Sua rede está do jeitinho que você deixou: {date}.", +"Welcome, {name}!
The RIPE NCC assigned you AS{asn}. Your first router is humming in {city}.":"Boas-vindas, {name}!
O RIPE NCC te atribuiu o AS{asn}. Seu primeiro router já está zumbindo em {city}.", +"You are in the red.
Cancel something expensive, wait for revenue, or check the bank for a loan. At −$100k the bank takes your routers.":"Você está no vermelho.
Cancele algo caro, espere a receita ou peça um empréstimo no banco. Em −$100k o banco leva seus routers.", +"You are no longer Tier 1.
Because {why}. Your Tier 1 badge stays; win the status back to show it again.":"Você não é mais Tier 1.
Porque {why}. Seu selo Tier 1 fica; reconquiste o status para exibi-lo de novo.", +"You bought out {bank}.
They flew off to find another startup.":"Você comprou a parte de {bank}.
Eles voaram em busca de outra startup.", +"You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.":"Você fundou o {ix}!
As redes vão entrar com o tempo e pagar pelas portas. Membros open fazem peering com você de graça.", +"You know the basics.
The goals on the left take it from here. Things will break. That is the fun part.":"Você já sabe o básico.
Daqui em diante, os objetivos à esquerda te guiam. As coisas vão quebrar. Essa é a parte divertida.", +"You need a POP in every city on the contract first.":"Primeiro você precisa de um POP em cada cidade do contrato.", +"You need a license first.
Foreign networks need a joint venture to build in mainland China.":"Primeiro você precisa de uma licença.
Redes estrangeiras precisam de uma joint venture para construir na China continental.", +"Your account manager found the order under a desk.
It is a month closer.":"Seu gerente de contas achou o pedido embaixo de uma mesa.
Está um mês mais perto.", +"Your account manager is on paternity leave.
His replacement is also on paternity leave.":"Seu gerente de contas está de licença-paternidade.
O substituto dele também está de licença-paternidade.", +"Your browser cannot draw the card.":"Seu navegador não consegue desenhar o card.", +"Your router can't take a {port} port.
Upgrade it in the Infra tab.":"Seu router não aguenta uma porta {port}.
Faça upgrade na aba Infra.", +"Your saved game could not be loaded.
It was damaged, so a backup was kept and you can start fresh.":"Não deu para carregar seu jogo salvo.
Ele estava corrompido, então guardamos um backup e você pode começar do zero.", +"Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.":"Seu chamado foi juntado a outro chamado.
Esse chamado foi fechado como duplicado do seu.", +"Your {ix} promo ended.
Price is back, plus 10% for \"loyalty programme administration\".":"Sua promoção no {ix} acabou.
O preço voltou, mais 10% de “administração do programa de fidelidade”.", +"{bank} are circling.
They now take {pct} of your revenue.":"{bank} estão rondando.
Agora eles levam {pct} da sua receita.", +"{bank} is unhappy.
You broke a loan condition: {cond} Fix it within 10 days or pay a penalty.":"{bank} não está feliz.
Você violou uma condição do empréstimo: {cond} Resolva em 10 dias ou pague uma multa.", +"{bank} would like to lend you {amount}.":"{bank} quer te emprestar {amount}.", +"{bank}: the balloon popped.
The remaining {price} was due today, all at once. It has left your account.":"{bank}: o balão estourou.
Os {price} restantes venceram hoje, todos de uma vez. Já saíram da sua conta.", +"{bank}: {sign} is in retrograde.
Your rate is now {apr}%.":"{bank}: {sign} está retrógrado.
Sua taxa agora é {apr}%.", +"{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.":"{cache} instalado em {city}!
{net} mandou de graça. Você paga {mo}/mês de energia.", +"{conf} comes to {city} in 30 days.
Peering coordinators, hallway track, free stickers. Register in the Deals tab.":"{conf} chega a {city} em 30 dias.
Peering coordinators, hallway track, adesivos grátis. Inscreva-se na aba Negócios.", +"{conf} in {city}
You shook a lot of hands. For {n} days, selective networks with a presence in {region} want half the usual traffic before they peer.":"{conf} em {city}
Você apertou muitas mãos. Por {n} dias, redes seletivas com presença em {region} pedem metade do tráfego de sempre para fazer peering.", +"{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.":"Porta {fab} no ar em {city}.
Agora peça circuitos virtuais para outras cidades no fabric deles.", +"{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.":"{ix} agora roda num fabric {fab}.
Espaço para {max} membros. Espere mais alguns chegarem.", +"{km} km is longer than any optic reaches at full speed. Transponders will run in long-haul mode (1.2T, 800G or 400G per channel), or add regen sites along the way to get full speed back.":"{km} km é mais do que qualquer óptico alcança em velocidade máxima. Os transponders vão rodar em modo long-haul (1.2T, 800G ou 400G por canal), ou adicione sites de regeneração no caminho para recuperar a velocidade máxima.", +"{model} unlocks at customer level {lv}.":"{model} desbloqueia no nível de cliente {lv}.", +"{name} cancelled.
Too many outages and too little bandwidth in {city}.":"{name} cancelou.
Quedas demais e banda de menos em {city}.", +"{name} hits {city}
Power is out and your POP is dark for two days. A generator would have saved it.":"{name} atinge {city}
Faltou energia e seu POP fica apagado por dois dias. Um gerador teria salvado.", +"{name} hits {city}
The grid is down, but your backup generator kept the routers running.":"{name} atinge {city}
A rede elétrica caiu, mas seu gerador de backup manteve os routers ligados.", +"{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.":"{name} foi cancelado.
A fábrica de cabos pega de volta o vidro que ninguém precisa: {price} de volta.", +"{name} is furious.
Fix service in {city} or they leave.":"{name} está uma fera.
Arrume o serviço em {city} ou vai perder o cliente.", +"{name} is getting unhappy.
Happiness {p}% in {city}.":"{name} está ficando insatisfeito.
Satisfação de {p}% em {city}.", +"{name} is over: +{pay}
You delivered {pct} of what the crowd wanted.":"{name} acabou: +{pay}
Você entregou {pct} do que o público queria.", +"{name} starts today!
{bw} of extra demand in {city} for {d} days.":"{name} começa hoje!
{bw} de demanda extra em {city} por {d} dias.", +"{name} was a disaster.
Only {pct} delivered, and it trended on social media. Penalty: {pay}.":"{name} foi um desastre.
Só {pct} entregue, e virou trending nas redes. Multa: {pay}.", +"{net} PNI is back to normal.":"O PNI com {net} voltou ao normal.", +"{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.":"O PNI com {net} agora é um gargalo de sacrifício.
Um flood vindo de lá morre na porta pequena em vez de dentro da sua rede, mas o tráfego legítimo passa com metade da capacidade.", +"{net} de-peered you at {ix} in {city}.
{why} Traffic falls back to your next best path.":"{net} cortou o peering com você no {ix} em {city}.
{why} O tráfego volta para o seu próximo melhor caminho.", +"{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.":"{net} cortou o peering com você no {ix}.
{why} O tráfego volta para o seu próximo melhor caminho.", +"{net} declined the PNI.
{why}":"{net} recusou o PNI.
{why}", +"{net} declined.
{why}":"{net} recusou.
{why}", +"{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.":"{net} não faz PNI de {port}.
Nada abaixo de 100G. Volte com mais tráfego, ou uma óptica maior.", +"{net} joined {ix}!
Another member paying {fee}/mo for a port.":"{net} entrou no {ix}!
Mais um membro pagando {fee}/mês por uma porta.", +"{net} says not yet.
Send them {min}+ Gbps first.":"{net} diz: ainda não.
Mande {min}+ Gbps pra eles primeiro.", +"{net} transit is live in {city}.
Full table received: ~1,000,000 routes.":"Transit da {net} ativo em {city}.
Full table recebida: ~1.000.000 de rotas.", +"{n} POP decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POP desativado.
{fee} em multas por rescisão antecipada para {m} clientes.", +"{n} POPs decommissioned.
{fee} in early-termination penalties to {m} customers.":"{n} POPs desativados.
{fee} em multas por rescisão antecipada para {m} clientes.", +"{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} nova sessão em {ix}.
Redes pequenas, mas somam, e todas contam para o clube.", +"{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.":"{n} novas sessões em {ix}.
Redes pequenas, mas somam, e todas contam para o clube.", +"{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.":"{p} do tráfego de {city} vai até o trânsito em {to}: {ms} ms de ida e volta. Os usuários percebem qualquer coisa acima de 20 ms (cerca de 1.500 km), e acima de 50 ms banda larga e serviços de internet contam como serviço ruim. Compre trânsito aqui ou perto, ou faça peering local.", +"{rival} is poaching DE-KICKS members in {city}.
DE-KICKS responded with a webinar about \"the value of premium interconnection\". Prices unchanged.":"{rival} está roubando membros do DE-KICKS em {city}.
O DE-KICKS respondeu com um webinar sobre “o valor da interconexão premium”. Preços inalterados.", +"{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.":"Centro de scrubbing {tier} no ar em {city}.
Ataques de até {g} são limpos, e você pode vender proteção DDoS.", +"{tier} scrubbing unlocks at customer level {lv}.":"Scrubbing {tier} desbloqueia no nível de cliente {lv}.", +"{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.":"{who} perguntou numa lista de e-mails se alguém tem um contato que funcione na {me}.
O pedido de peering deles ficou um mês na sua caixa de entrada.", +"“Could you resend the LOA?”
You have sent it four times.":"“Pode reenviar a LOA?”
Você já mandou quatro vezes.", +"“It is with the provisioning team.”
Nobody has ever met the provisioning team.":"“Está com o time de provisionamento.”
Ninguém nunca conheceu o time de provisionamento.", +"“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.":"“Estamos esperando o colo fazer o cross-connect.”
O colo diz que está esperando por eles.", +"🐘 BREAKING: CVE-2026-31337 just took down half the internet.
A bug in PHP turned every WordPress-ish site on Earth into a crypto miner. Eyeball traffic is down 30% for a few days while the world patches. Your hosting customers are doing it at 3 a.m.":"🐘 URGENTE: CVE-2026-31337 acabou de derrubar meia internet.
Um bug no PHP transformou todo site meio-WordPress do planeta num minerador de cripto. O tráfego eyeball cai 30% por alguns dias enquanto o mundo aplica patches. Seus clientes de hosting estão fazendo isso às 3 da manhã.", +"A 3.2T router for the price of a used car. The web interface has nine hundred tabs, and one of them is the one you need.":"Um router 3.2T pelo preço de um carro usado. A interface web tem novecentas abas, e uma delas é a que você precisa.", +"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.":"Onda de calor de 45 °C em {city}: a rede cortou carga, os chillers desistiram e o gerador do {dc} também.", +"A CDN's server in your rack. Serves most of that CDN's traffic locally, for the price of power.":"Um servidor de uma CDN no seu rack. Entrega localmente a maior parte do tráfego dessa CDN, pelo preço da energia.", +"A POP (point of presence) is your router in a rack here. Then connect it: lay fiber from one of your POPs, or buy transit right here.":"Um POP (point of presence) é seu router num rack aqui. Depois conecte: lance fibra de um dos seus POPs ou compre transit aqui mesmo.", +"A POP is one building until you add a second site in the Infra tab. Then a power cut, cleaner or A/C failure only takes out half the city, and you choose which site each transit, PNI and IX port plugs into, or pick Both to split a LAG across the two buildings. Spread them out, or both halves of your redundancy will sit in the same dark room. Watch out for metro ring cuts, which cut site B off.":"Um POP é um prédio só até você adicionar um segundo site na aba Infra. Aí uma queda de energia, um faxineiro ou uma pane no ar-condicionado só derruba meia cidade, e você escolhe em qual site cada porta de transit, PNI e IX se conecta, ou escolhe Ambos para dividir um LAG entre os dois prédios. Espalhe-os, ou as duas metades da sua redundância vão ficar na mesma sala escura. Cuidado com cortes no anel metropolitano, que isolam o site B.", +"A PPPoE hop shaved 8 bytes off your MTU and nothing told the servers. Large transfers to {net} stall forever; small ones work fine, which makes it so much worse.":"Um hop PPPoE comeu 8 bytes do seu MTU e ninguém avisou os servidores. Transferências grandes para {net} travam para sempre; as pequenas funcionam, o que deixa tudo muito pior.", +"A Petabit a Second":"Um petabit por segundo", +"A Spanish carrier starring in every Latin American market, at least until it sells the next one.":"Uma operadora espanhola estrelando em todo mercado latino-americano, pelo menos até vender o próximo.", +"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.":"Uma retroescavadeira cortou o anel metropolitano entre seus dois sites em {city}. Pelo visto, as duas rotas de fibra passavam pela mesma rua.", +"A backhoe found your fiber between {a} and {b}.":"Uma retroescavadeira achou sua fibra entre {a} e {b}.", +"A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.":"Uma retroescavadeira abrindo espaço para um posto novo cortou sua fibra {a}–{b} bem no meio. A planta dizia que ela estava dois metros à esquerda.", +"A bare-metal switch running open-source SONiC. Saves a fortune, until it crashes and there is nobody to call.":"Um switch bare-metal rodando SONiC open source. Economiza uma fortuna, até travar e não ter ninguém pra quem ligar.", +"A beaver chewed through your {a}–{b} wave. It used the fiber to finish a dam.":"Um castor roeu sua wave {a}–{b}. Usou a fibra para terminar uma represa.", +"A bet on a tiny island in the middle of the Pacific.":"Uma aposta numa ilhota no meio do Pacífico.", +"A bigger fabric carries more traffic and has room for more members. Your router here still has to keep up.":"Um fabric maior carrega mais tráfego e tem espaço para mais membros. Seu router aqui ainda precisa dar conta.", +"A blackout hit {city} and your POP has no generator. Every other network here has one. Buy one.":"Um apagão atingiu {city} e seu POP não tem gerador. Todas as outras redes aqui têm. Compre um.", +"A capital high in the Andes, just south of the equator, that pays in US dollars. Volcanoes on every horizon.":"Uma capital no alto dos Andes, logo ao sul do equador, que paga em dólar. Vulcões em todo horizonte.", +"A capital in a valley under a green mountain. The national grid has had some famous bad days, so bring a generator.":"Uma capital num vale ao pé de uma montanha verde. A rede elétrica nacional já teve dias ruins famosos, então leve um gerador.", +"A capital next to the ruins of Carthage, where the Mediterranean is at its narrowest. Cables cross to Sicily in no time.":"Uma capital ao lado das ruínas de Cartago, onde o Mediterrâneo é mais estreito. Os cabos chegam à Sicília num instante.", +"A cargo ship dragged its anchor along the Baltic seabed for 100 km and swears it noticed nothing. Investigators are “looking into it”.":"Um cargueiro arrastou a âncora pelo fundo do Báltico por 100 km e jura que não percebeu nada. Os investigadores estão “analisando o caso”.", +"A cargo ship “forgot” to raise its anchor and dragged it across your {a}–{b} cable. The owners are very sorry, and somewhat hard to reach.":"Um navio cargueiro “esqueceu” de levantar a âncora e arrastou pelo seu cabo {a}–{b}. Os donos lamentam muito, e são meio difíceis de achar.", +"A carrier pigeon beat one of your links in an informal latency test. Morale is low. Throughput is fine.":"Um pombo-correio venceu um dos seus links num teste informal de latência. O moral está baixo. O throughput está ótimo.", +"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.", +"A city on seven hills by Lake Victoria. No coast, so every packet to the sea crosses Kenya or Tanzania first.":"Uma cidade em sete colinas às margens do Lago Vitória. Sem litoral, todo pacote para o mar passa antes pelo Quênia ou pela Tanzânia.", +"A community exchange in a Hudson Street basement. Schmear not included.":"Um exchange comunitário num porão da Hudson Street. Schmear não incluso.", +"A community exchange run from above a cider bar. Tiny, cheap, and every member gets a glass.":"Um exchange comunitário que funciona em cima de um bar de sidra. Minúsculo, barato, e todo membro ganha um copo.", +"A config template rendered “{{ router_id }}” literally in {city}. The router took it personally.":"Um template de config renderizou “{{ router_id }}” literalmente em {city}. O router levou para o lado pessoal.", +"A cosmic ray flipped a bit in your {city} router. It now believes 10.0.0.0/8 lives in Antarctica.":"Um raio cósmico inverteu um bit no seu router de {city}. Agora ele acha que 10.0.0.0/8 mora na Antártida.", +"A crash here only costs one router’s capacity for a few days.":"Um crash aqui só custa a capacidade de um router por alguns dias.", +"A crocodile took a bite out of your {a}–{b} fiber. It was not impressed.":"Um crocodilo deu uma mordida na sua fibra {a}–{b}. Não gostou do sabor.", +"A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Um cross-connect com uma rede pequena leva algumas semanas. Com as grandes redes de conteúdo, os Tier 1 e as grandes operadoras de acesso, uma PNI nova ou uma ampliação costuma levar cerca de um mês, mas um pedido em cada sete atrasa para 6 a 12 meses. As redes de conteúdo e os Tier 1 começam em 100G. A Doitsche Telekomm ainda vende 1G.", +"A curious shark bit your subsea cable {a}–{b}.":"Um tubarão curioso mordeu seu cabo submarino {a}–{b}.", +"A customer opened a P1 ticket: “the internet is slow”. Attached was a photo of their router, unplugged.":"Um cliente abriu um ticket P1: “a internet está lenta”. Em anexo, uma foto do router dele, desligado da tomada.", +"A dedicated cross-connect to one network in {dc}. Needs more traffic than IX peering, but has its own capacity.":"Um cross-connect dedicado para uma única rede em {dc}. Exige mais tráfego que peering no IX, mas tem capacidade própria.", +"A digger found your {a}–{b} fiber. A different digger is coming to fix it.":"Uma escavadeira achou sua fibra {a}–{b}. Outra escavadeira está vindo consertar.", +"A dirty connector on {a}–{b} drops 2% of packets. TCP hates it: throughput collapses even though the link looks fine.":"Um conector sujo em {a}–{b} descarta 2% dos pacotes. O TCP odeia isso: o throughput despenca mesmo com o link parecendo ok.", +"A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.":"Um drop bear caiu na equipe de emenda em {a}–{b}. Eles se recusam a trabalhar debaixo de árvores, e o corte fica debaixo de árvores.", +"A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.":"O perfurador de mourões de um fazendeiro achou sua fibra {a}–{b}. As ovelhas assistiram.", +"A fee for being ready for the cloud.":"Uma taxa por estar pronto para a nuvem.", +"A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.":"Uma balsa lançou âncora no Estreito de Cook e achou seu cabo {a}–{b}. A balsa está bem.", +"A fiber co-op for one valley. Every member owns a metre of cable.":"Uma cooperativa de fibra para um único vale. Cada membro é dono de um metro de cabo.", +"A fiber pair of your own. The glass is cheap, the gear is not: you buy a line system with an amplifier every {km} km, then optics for each channel. Your gear can fail, and you fix it.":"Um par de fibra só seu. O vidro é barato, o equipamento não: você compra um line system com um amplificador a cada {km} km, depois a óptica de cada canal. Seu equipamento pode falhar, e quem conserta é você.", +"A fiber pair on {cable}, {km} km. It shares the cable with everyone else's waves, anchors included.":"Um par de fibra no {cable}, {km} km. Divide o cabo com as waves de todo mundo, âncoras incluídas.", +"A fibre here uses optics this model cannot take.":"Uma fibra aqui usa ópticas que este modelo não aceita.", +"A firmware bug in the {sys} at {a} set every channel to “maintenance”.":"Um bug de firmware no {sys} em {a} colocou todos os canais em “manutenção”.", +"A firmware update bricked your router in {city}.":"Uma atualização de firmware brickou seu router em {city}.", +"A fishing boat with an unusually heavy anchor cut {a}–{b}. It was not fishing.":"Um barco de pesca com uma âncora estranhamente pesada cortou {a}–{b}. Não estava pescando.", +"A fishing fleet is trawling exactly where you need to lay.":"Uma frota pesqueira está arrastando redes bem onde você precisa lançar.", +"A forestry strike stopped the waste-wood deliveries to the power plant that cools {dc}. No steam, no chillers: your routers in {city} run at half capacity.":"Uma greve florestal parou as entregas de resíduos de madeira para a usina que refrigera o {dc}. Sem vapor, sem chillers: seus routers em {city} rodam a meia capacidade.", +"A free PNI with Voda-Phony. Gear: Absolute Unit 3.2T routers, 3.2T ports and 12.8T waves.":"Um PNI grátis com a Voda-Phony. Gear: routers Absolute Unit 3.2T, portas 3.2T e waves de 12.8T.", +"A free cartoon browser game about how the internet works. Start as a tiny network in one city, launch home broadband, buy IP transit from Tier 1 and Tier 2 carriers, peer at internet exchanges, set up private interconnects and embedded CDN caches, and lay terrestrial fiber, subsea waves and your own dark fiber with DWDM and ZR optics. Sign enterprise, hosting, high-frequency trading, AI GPU and hyperscaler customers, and keep them happy while backhoes, sharks, fat fingers, route leaks, DDoS attacks and geopolitics break things.":"Um jogo de navegador gratuito, em desenho animado, sobre como a internet funciona. Comece como uma redezinha numa cidade, lance banda larga residencial, compre IP transit de operadoras Tier 1 e Tier 2, faça peering em pontos de troca de tráfego, monte interconexões privadas e caches de CDN embarcados, e lance fibra terrestre, waves submarinas e sua própria dark fiber com DWDM e óptica ZR. Feche contratos com clientes corporativos, de hospedagem, de trading de alta frequência, de GPU para IA e hyperscalers, e mantenha todos felizes enquanto retroescavadeiras, tubarões, dedos gordos, route leaks, ataques DDoS e a geopolítica quebram tudo.", +"A friendly cable with French manners.":"Um cabo simpático com bons modos franceses.", +"A futuristic city that is not built yet, demo day in {city}":"Uma cidade futurista que ainda não foi construída, demo day em {city}", +"A gateway from Europe to India, through the Red Sea. Pronounced like a very surprised cable.":"Um gateway da Europa à Índia pelo Mar Vermelho. Pronuncia-se como um cabo muito surpreso.", +"A goose attacked the technician on the way to your amp hut. The goose won. Repair rescheduled, nothing broke.":"Um ganso atacou o técnico a caminho da sua cabana de amplificadores. O ganso venceu. Reparo remarcado, nada quebrou.", +"A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.":"Um tubarão-branco se interessou pelo seu cabo {a}–{b} e deu uma mordida. Depois cuspiu: sem sabor.", +"A hundred and forty-four 3.2T ports and buffers deep enough to hide a whole fleet. Still boots before your flat white. The beard now has a beard.":"Cento e quarenta e quatro portas 3.2T e buffers fundos o bastante para esconder uma frota inteira. Ainda liga antes do seu flat white. Agora a barba tem barba.", +"A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.":"Uma aranha-caçadora do tamanho da sua mão se mudou para o roteador em {city}. Ninguém teve coragem de enfiar a mão para reiniciar.", +"A hyperscaler bought every wave of that size on this route last week.":"Um hyperscaler comprou semana passada todas as ondas desse tamanho nesta rota.", +"A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.":"Um canguru encheu de socos seu técnico de campo em {a}–{b}. O técnico perdeu por pontos, e a emenda pode esperar.", +"A kangaroo hit the fiber hut on {a}–{b}. The hut lost.":"Um canguru acertou a cabine da fibra em {a}–{b}. A cabine perdeu.", +"A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.":"Um kea arrancou as borrachas da caixa de emenda em {a}–{b} e depois partiu para a van. Os keas são assim.", +"A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.":"Um quilômetro de “cobre” sumiu da sua vala {a}–{b}. Era a sua fibra. O ferro-velho devolveu com um bilhete.", +"A landslide in the Andes buried your {a}–{b} fiber.":"Um deslizamento nos Andes soterrou sua fibra {a}–{b}.", +"A leap second convinced one of your routers it is 1970. Uptime now reads minus 56 years. Traffic is fine.":"Um segundo bissexto convenceu um dos seus routers de que estamos em 1970. O uptime agora marca menos 56 anos. O tráfego está ótimo.", +"A leased {wave} wave on this route costs {price}/mo.":"Uma wave de {wave} alugada nesta rota custa {price}/mês.", +"A llama herd trampled the fiber marker on {a}–{b}. Then a backhoe found the fiber.":"Um rebanho de lhamas pisoteou o marcador da fibra em {a}–{b}. Depois uma retroescavadeira achou a fibra.", +"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.":"Um membro do {ix} vazou a tabela de roteamento inteira no route server. Limites de max-prefix estouraram em todo lugar. Seu peering lá caiu.", +"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there, in {city}, is down.":"Um membro do {ix} vazou a tabela de roteamento inteira no route server. Limites de max-prefix estouraram em todo lugar. Seu peering lá, em {city}, caiu.", +"A mile up and halfway between the coasts, so every cross-country route stops here for a breather.":"Uma milha de altitude e no meio do caminho entre as costas, então toda rota de costa a costa para aqui pra tomar fôlego.", +"A mobile network named after the sound of a toast. Cheers to every 5G tower.":"Uma rede móvel com nome de brinde. Tim-tim para cada torre 5G.", +"A monthly PDF of your own traffic graphs.":"Um PDF mensal com os gráficos do seu próprio tráfego.", +"A new VP wants to \"monetise interconnection\" in this market.":"Um novo VP quer “monetizar a interconexão” neste mercado.", +"A new region is coming online soon. It has been coming online soon since 2019.":"Uma nova região vai entrar no ar em breve. Ela está entrando no ar em breve desde 2019.", +"A new tech in {a} “tidied up” the cable mess. Your {a}–{b} link was part of the mess.":"Um técnico novo em {a} “arrumou” a bagunça de cabos. Seu link {a}–{b} fazia parte da bagunça.", +"A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.":"Um técnico novo em {city} usou Vegemite como pasta térmica. Ela conduz sabor, não calor, e seu roteador cozinhou.", +"A path from Cape Town to Cairo":"Um caminho da Cidade do Cabo ao Cairo", +"A path from Cape Town to Cairo, POPs in Lagos and Nairobi, and 150 Gbps served":"Um caminho da Cidade do Cabo ao Cairo, POPs em Lagos e Nairóbi, e 150 Gbps atendidos", "A path from Los Angeles to Sydney with 1.6T on every hop, a path from Los Angeles to Tokyo, and 150 Gbps served":"Um caminho de Los Angeles a Sydney com 1.6T em cada trecho, um caminho de Los Angeles a Tóquio e 150 Gbps atendidos", "A path from Los Angeles to Tokyo":"Um caminho de Los Angeles a Tóquio", +"A path from Marseille to Singapore":"Um caminho de Marselha a Singapura", +"A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row":"Um caminho de Marselha a Singapura, e 80 Gbps entre a Ásia e o resto da sua rede por 30 dias seguidos", +"A port here is bigger than {pn}.":"Tem uma porta aqui maior que {pn}.", +"A port on IX.brrr Manaus":"Uma porta no IX.brrr Manaus", +"A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.":"Um gambá entrou na subestação atrás do {dc} em {city}. O gambá está bem. Seu POP, não.", +"A power cut took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"Uma queda de energia derrubou {site} em {city}. {other} aguentou, então o POP roda com metade da capacidade. Tudo que está ligado só no site apagado está offline.", +"A private cross-connect to one network in the same data center, for when traffic outgrows the IX.":"Um cross-connect privado com uma rede no mesmo data center, para quando o tráfego não cabe mais no IX.", +"A protected hamster species lives along the right-of-way.":"Uma espécie protegida de hamster vive ao longo da faixa de servidão.", +"A quick hop across the Red Sea between Egypt and Saudi Arabia.":"Um pulinho pelo Mar Vermelho entre o Egito e a Arábia Saudita.", +"A rainbow bridge from Singapore to California, via Jakarta and Manila.":"Uma ponte de arco-íris de Singapura à Califórnia, via Jakarta e Manila.", +"A regen site turns the light back into bits halfway and sends it on fresh, so optics only have to reach the next site. Each needs a regen card for every lit channel. {price}/mo per site for the hut.":"Um site de regeneração transforma a luz de volta em bits no meio do caminho e a reenvia novinha, então as ópticas só precisam alcançar o próximo site. Cada um precisa de uma placa de regeneração para cada canal aceso. {price}/mês por site pelo abrigo.", +"A remote-hands tech in {a} was asked to clean the fiber on port 1. They cleaned it with a sandwich. {a}–{b} is down.":"Pediram a um técnico de remote hands em {a} para limpar a fibra da porta 1. Ele limpou com um sanduíche. {a}–{b} caiu.", +"A rich mix of everything the fishermen brought in.":"Um mix caprichado de tudo que os pescadores trouxeram.", +"A route you withdrew in Year 1 is still visible somewhere in the internet. Nobody knows where. It is fine. Probably.":"Uma rota que você retirou no Ano 1 ainda aparece em algum lugar da internet. Ninguém sabe onde. Tudo bem. Provavelmente.", +"A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.":"Uma atualização de rotina durante a noite deixou seu roteador em {city} offline até a hora do almoço. A Floptus manda lembranças.", +"A secret badge":"Um badge secreto", +"A shared switch in a city. One port, many free peering sessions. The route server peers you with every open member at once.":"Um switch compartilhado numa cidade. Uma porta, muitas sessões de peering grátis. O route server te coloca em peering com todos os membros abertos de uma vez.", +"A ship dragged its anchor across your {a}–{b} cable.":"Um navio arrastou a âncora pelo seu cabo {a}–{b}.", +"A ship drifting without power dragged its anchor through the Red Sea cables. Everyone blames everyone. Repair ships need permits from three governments.":"Um navio à deriva sem energia arrastou a âncora pelos cabos do Mar Vermelho. Todo mundo culpa todo mundo. Os navios de reparo precisam de licença de três governos.", +"A short cable across a very tense strait.":"Um cabo curto atravessando um estreito bem tenso.", +"A small capital in the middle of the desert. The cables land at Swakopmund, then cross the dunes.":"Uma pequena capital no meio do deserto. Os cabos chegam em Swakopmund e depois atravessam as dunas.", +"A small city on a big crossroads. Cables from Asia, Africa and the Middle East land here to skip the long way round.":"Uma cidade pequena numa grande encruzilhada. Cabos da Ásia, da África e do Oriente Médio chegam aqui para evitar a volta longa.", +"A small island at the crossroads of every Indian Ocean cable.":"Uma ilhota na encruzilhada de todos os cabos do Oceano Índico.", "A small island where cables from the US, Japan, Australia, the Philippines and Singapore all meet. Split a crossing here and each half carries more. Typhoons take the grid down every few years, so bring a generator.":"Uma ilha pequena onde se encontram os cabos dos EUA, do Japão, da Austrália, das Filipinas e de Singapura. Divida uma travessia aqui e cada metade carrega mais. A cada poucos anos um tufão derruba a rede elétrica, então traga um gerador.", +"A small town with its own IX.brrr, because the local provedores wanted one. Peering is not just for big cities.":"Uma cidade pequena com seu próprio IX.brrr, porque os provedores locais quiseram. Peering não é só coisa de cidade grande.", +"A small, sweet cable from Broadstairs to Ostend, then inland to Oostkamp. Not to be confused with any other citrus-flavoured cable.":"Um cabo pequeno e docinho de Broadstairs a Ostende, depois para o interior até Oostkamp. Não confundir com nenhum outro cabo sabor cítrico.", +"A smaller commercial exchange down the road from DE-KICKS. Publishes its prices on one web page, which DE-KICKS considers an act of war. Ports come without a sales webinar.":"Um exchange comercial menor, na mesma rua do DE-KICKS. Publica seus preços numa página da web, o que o DE-KICKS considera um ato de guerra. As portas vêm sem webinar de vendas.", +"A splicer fusing someone else’s cable in a manhole near {b} fused yours instead.":"Um emendador fundindo o cabo de outra pessoa numa caixa subterrânea perto de {b} fundiu o seu.", +"A state-owned ISP “accidentally” announced your prefixes for 18 minutes. Their apology press release was suspiciously well written. Many networks are still routing your traffic into the void.":"Um ISP estatal “sem querer” anunciou seus prefixos por 18 minutos. O comunicado de desculpas estava suspeitamente bem escrito. Muitas redes ainda estão roteando seu tráfego para o vazio.", +"A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.":"Uma cacatua-de-crista-amarela roeu sua fibra {a}–{b} e depois voltou para a reserva.", +"A terabit per second of happy traffic.":"Um terabit por segundo de tráfego feliz.", +"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.", +"A thousand tiny social networks on one rack.":"Mil redes sociais minúsculas num só rack.", +"A tiny country at the mouth of the Red Sea where a dozen cables between Europe, Asia and Africa come ashore. It charges accordingly.":"Um país minúsculo na entrada do Mar Vermelho, onde uma dúzia de cabos entre Europa, Ásia e África chega à terra. E cobra por isso.", +"A tiny surfing town in Cornwall where a remarkable share of the transatlantic internet comes ashore. The cliffs are full of fiber.":"Uma cidadezinha de surfe na Cornualha onde uma fatia impressionante da internet transatlântica chega à terra. Os penhascos estão cheios de fibra.", +"A tiny telco in a country where the world’s cables come ashore. Prices to match.":"Uma operadora minúscula num país onde os cabos do mundo chegam à terra. Os preços acompanham.", +"A town council wants a public hearing. About the color of the manhole covers.":"A câmara municipal quer uma audiência pública. Sobre a cor das tampas de bueiro.", +"A tram line construction project in {city} found your metro ring. Both halves of it.":"A obra de uma linha de bonde em {city} encontrou seu anel metropolitano. As duas metades.", +"A trawler off Ostend dragged its gear straight through your {a}–{b} cable. The North Sea is about thirty metres deep and full of boats.":"Um barco de arrasto ao largo de Ostende arrastou as redes bem em cima do seu cabo {a}–{b}. O Mar do Norte tem uns trinta metros de profundidade e é cheio de barcos.", +"A two-hour meeting about router hostnames ended with a vote for “router-final-v2-NEW”.":"Uma reunião de duas horas sobre hostnames de routers terminou com votação em “router-final-v2-NOVO”.", +"A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.":"Um engenheiro de Londres em visita levou Marmite para o NOC de {city}. As relações diplomáticas caíram, e seu roteador também, enquanto todo mundo discutia.", +"A wave here is faster than {pn}.":"Tem uma wave aqui mais rápida que {pn}.", +"A weird, underserved market. Transit costs 2.5× what it does in Europe (Africa 2×, Oceania 1.8×), local incumbents mostly peer only for pay, and IXs are fragmented. But demand is enormous and users sign up 60% faster than anywhere else. Peering and caches pay off most here.":"Um mercado esquisito e mal atendido. O transit custa 2,5× o preço da Europa (África 2×, Oceania 1,8×), as incumbentes locais quase só fazem peering pago, e os IXs são fragmentados. Mas a demanda é enorme e os usuários assinam 60% mais rápido que em qualquer outro lugar. Peering e caches compensam mais aqui.", +"A whale has parked on the route and will not move.":"Uma baleia estacionou na rota e não quer sair.", +"A whole network fabric that fits in your pocket.":"Um network fabric inteiro que cabe no seu bolso.", +"A wind-farm service vessel dropped anchor on your {a}–{b} cable. It was there to fix a turbine.":"Um navio de serviço de um parque eólico jogou âncora no seu cabo {a}–{b}. Ele estava lá para consertar uma turbina.", +"A {optic} on {a}–{b} overheated and is now a very expensive keychain.":"Um {optic} em {a}–{b} superaqueceu e agora é um chaveiro caríssimo.", +"A {optic} on {a}–{b} started reporting a temperature of 900°C. It was wrong, but it shut down anyway.":"Um {optic} em {a}–{b} começou a reportar temperatura de 900°C. Estava errado, mas desligou mesmo assim.", +"A {size} {vec} attack is hitting {city}{how}.":"Um ataque {vec} de {size} está atingindo {city}{how}.", +"AGI lab (allegedly)":"Laboratório de AGI (supostamente)", +"AGI labs (allegedly) wanting AI WANs of 12.8 to 25.6 Tbps, and free PNIs with Du-opoly and Ooh-redoo. Gear: Mikrowtik CCR 3.2T routers.":"Laboratórios de AGI (supostamente) querendo AI WANs de 12.8 a 25.6 Tbps, e PNIs grátis com a Du-opoly e a Ooh-redoo. Gear: routers Mikrowtik CCR 3.2T.", +"AI GPU data center":"Data center de GPU para IA", +"AI GPU data centers and cloud on-ramps. Gear: Chonk 800 routers, Sizzle 800ZR+ optics, ROADMaster 9000 line systems, building your own fiber.":"Data centers de GPU para IA e on-ramps de cloud. Equipamento: routers Chonk 800, ópticas Sizzle 800ZR+, line systems ROADMaster 9000 e fibra própria.", +"AI WAN between two AI factories":"AI WAN entre duas fábricas de IA", +"AI and cloud campuses nearby: {list}":"Campi de IA e cloud por perto: {list}", +"AI training interconnect":"Interconexão para treino de IA", +"AI training interconnects and hyperscaler DCI deals in the terabits. Gear: Absolute Unit 1.6T routers, Sienna WaveMagic 1.6T transponders.":"Interconexões para treino de IA e contratos de DCI com hyperscalers na casa dos terabits. Equipamento: routers Absolute Unit 1.6T, transponders Sienna WaveMagic 1.6T.", +"AS number":"Número do AS", +"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.", +"Abandon the fiber":"Abandonar a fibra", +"About {n} days to go. Nothing to do but wait, or chase it.":"Faltam cerca de {n} dias. Não há nada a fazer além de esperar, ou cobrar.", +"Accept":"Aceitar", +"Accept all requests":"Aceitar todos os pedidos", +"Across the Mediterranean, Egypt to France. Romantic, in a cable way.":"Pelo Mediterrâneo, do Egito à França. Romântico, do jeito de um cabo.", +"Across-the-River DC":"DC do Outro Lado do Rio", +"Ad campaign!":"Campanha!", +"Ad campaign: {n}d left":"Campanha de anúncios: faltam {n}d", +"Add a LAG member or upgrade the PNI.":"Adicione um membro ao LAG ou faça upgrade do PNI.", +"Add a LAG member, upgrade the port or buy a second upstream.":"Adicione um membro ao LAG, faça upgrade da porta ou compre um segundo upstream.", +"Add a second site {cost} + {mo}/mo":"Adicionar um segundo site {cost} + {mo}/mês", +"Add a second site in a metro from the Infra tab, so one power cut no longer takes the whole city dark.":"Adicione um segundo site numa metrópole pela aba Infra, para um apagão não deixar mais a cidade inteira no escuro.", +"Add parallel link":"Adicionar link paralelo", +"Add router {cost} + {mo}/mo":"Adicionar router {cost} + {mo}/mês", +"Afraid of sharks: needs a path with no subsea cable":"Tem medo de tubarão: quer um caminho sem cabo submarino", +"Africa":"África", +"Africa Coast to Europe: twenty-odd countries on one cable, from France to Cape Town. The best card in a lot of hands.":"Africa Coast to Europe: vinte e tantos países num só cabo, da França à Cidade do Cabo. A melhor carta de muitas mãos.", +"Africa’s mobile giant, in a yellow you can see from orbit. Never actually empty.":"A gigante móvel da África, num amarelo que dá para ver do espaço. Nunca está vazia de verdade.", +"Africa’s westernmost capital, where half the cables down the coast stop for a rest. The Atlantic breeze is free cooling.":"A capital mais ocidental da África, onde metade dos cabos da costa para descansar. A brisa do Atlântico é refrigeração de graça.", +"After that, the normal price returns, plus a small loyalty administration fee.":"Depois disso, volta o preço normal, mais uma pequena taxa de administração de fidelidade.", +"Agribusiness capital and home of sertanejo music. Every truck, tractor and silo wants a connection.":"Capital do agronegócio e terra do sertanejo. Todo caminhão, trator e silo quer uma conexão.", +"All ({n})":"Todos ({n})", +"All cities":"Todas as cidades", +"All connections {n}":"Todas as conexões {n}", +"All customers":"Todos os clientes", +"All networks":"Todas as redes", +"All quiet":"Tudo tranquilo", +"All roads lead to Rome. Most packets still go via Milan.":"Todos os caminhos levam a Roma. A maioria dos pacotes ainda passa por Milan.", +"All systems green. Enjoy it while it lasts.":"Tudo verde. Aproveite enquanto dura.", +"All the way around Africa and back. Cheapest capacity on the map.":"Dá a volta inteira na África e volta. A capacidade mais barata do mapa.", +"All your waves on one cable share its fate when it is cut.":"Todas as suas waves num só cabo compartilham o destino dele quando é cortado.", +"All {n} links in that trench went down with it.":"Todos os {n} links daquela vala caíram junto.", +"All {n} out of reach":"Todas as {n} fora de alcance", +"Almost every Europe–Asia cable crosses Egypt. The tolls are legendary.":"Quase todo cabo Europa–Ásia atravessa o Egito. Os pedágios são lendários.", +"Already reach you through your transit provider here and think that is fine.":"Já chegam até você pelo seu provedor de transit aqui e acham que está ótimo.", +"Always agrees with you. Iberia to West Africa.":"Sempre concorda com você. Da Península Ibérica à África Ocidental.", +"Always open. Ask no questions. Do not be late.":"Sempre aberto. Sem perguntas. Não se atrase.", +"Always run an odd number of POPs. Our numerologist insists.":"Sempre tenha um número ímpar de POPs. Nosso numerólogo insiste.", +"Always-on":"Always-on", "American Samoa to Hawaii and Samoa on old, smoky glass.":"Da Samoa Americana ao Havaí e a Samoa, em vidro velho e enfumaçado.", "American Samoa: a deep harbour, tuna canneries and a branch of the cable from Australia to Oregon.":"Samoa Americana: um porto fundo, fábricas de atum em lata e um ramal do cabo da Austrália ao Oregon.", +"Americas":"Américas", +"Amp huts and spares":"Abrigos de amplificador e reservas", +"Amplifier failure":"Falha no amplificador", +"Amsterdam, hosting capital of Europe, in peak botnet season. Every smart toaster, baby monitor and unpatched fridge on Earth has picked a side, and it is not yours. A flood every few days, more and more of them in the terabits, while everything else keeps breaking too. You start with bigger gear unlocked, and you will need it.":"Amsterdã, capital europeia do hosting, em plena temporada de botnets. Cada torradeira smart, babá eletrônica e geladeira sem patch da Terra escolheu um lado, e não é o seu. Uma enxurrada a cada poucos dias, cada vez mais na casa dos terabits, enquanto todo o resto continua quebrando também. Você começa com equipamento maior desbloqueado, e vai precisar.", +"An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.":"Um agente de IA que responde por você a cada pedido de peering e alerta de max-prefix, todo dia. {price}/ano. Treinado em vinte anos de listas de e-mails sobre peering.", +"An Asia–America gateway cable that breaks so often it has its own support group.":"Um cabo gateway Ásia–América que rompe tanto que tem até grupo de apoio.", +"An ISP run from the back of a kebab shop. Late-night support is excellent.":"Um ISP operado nos fundos de uma lanchonete de kebab. O suporte de madrugada é excelente.", +"An absolute unit with 800G ports, built around the Junipurr PacketOinker™ forwarding chip. Oinks at line rate. Takes 800ZR+ optics.":"Um monstro com portas 800G, construído em torno do chip de forwarding Junipurr PacketOinker™. Ronca em line rate. Aceita ópticas 800ZR+.", +"An auditor asked for a network diagram. You sent the game map. They approved it.":"Um auditor pediu um diagrama da rede. Você mandou o mapa do jogo. Ele aprovou.", +"An automation script in {city} ran “sed” on the whole config instead of one line. Every interface is now named “TODO”.":"Um script de automação em {city} rodou “sed” na config inteira em vez de uma linha. Toda interface agora se chama “TODO”.", +"An early heads-up below 60% happiness, long before they are furious.":"Um aviso antecipado abaixo de 60% de satisfação, bem antes de ficarem furiosos.", +"An earthquake shook your {a}–{b} fiber loose somewhere above 4,000 metres.":"Um terremoto soltou sua fibra {a}–{b} em algum ponto acima de 4.000 metros.", +"An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.":"Uma cobra-marrom-oriental se mudou para a caixa de passagem em {a}–{b}. Ninguém se oferece para consertar sua fibra.", +"An edge cloud that is, despite the name, quite fast.":"Um edge cloud que, apesar do nome, é bem rápido.", +"An engineer at {co} swapped Tx and Rx on your {a}–{b} wave. Light goes in, confusion comes out.":"Um engenheiro da {co} inverteu Tx e Rx na sua wave {a}–{b}. Entra luz, sai confusão.", +"An enormous, very online city a long way from the sea. Every subsea byte rides a backhaul from Mumbai or Chennai.":"Uma cidade enorme e cronicamente online, bem longe do mar. Todo byte submarino pega um backhaul de Mumbai ou Chennai.", +"An in-line amplifier hut between {a} and {b} lost power. A family of mice had moved in.":"Uma cabana de amplificador em linha entre {a} e {b} ficou sem energia. Uma família de ratos tinha se mudado para lá.", +"An intern pushed an ACL in {city} that denies 0.0.0.0/0. Very secure. Very offline.":"Um estagiário subiu uma ACL em {city} que nega 0.0.0.0/0. Seguríssima. Offlinezíssima.", +"An island capital of beaches and startups. Half the city works remotely from a surf shack.":"Uma capital na ilha, de praias e startups. Metade da cidade trabalha remoto de uma barraca de surfe.", +"An island capital with a big iron ore port. Its fish stew is the original, ask anyone from Espírito Santo.":"Uma capital na ilha com um grande porto de minério de ferro. A moqueca de lá é a original, pergunte a qualquer capixaba.", +"An island city of tiled colonial houses, known as Brazil’s reggae capital. Its tides are among the biggest in the country.":"Uma cidade na ilha, de casarões coloniais azulejados, conhecida como a capital brasileira do reggae. Suas marés estão entre as maiores do país.", +"An old cable from Cape Town round to India, via some very small islands.":"Um cabo antigo de Cape Town até a Índia, passando por ilhas minúsculas.", +"An old ring around the whole continent, the long way round Cape Horn.":"Um anel antigo em volta do continente inteiro, pelo caminho longo do Cabo Horn.", +"An undersea landslide snapped {a}–{b}.":"Um deslizamento submarino rompeu {a}–{b}.", "An undersea volcano erupted next to your {a}–{b} cable. The repair ship found it in pieces, some of them kilometres away.":"Um vulcão submarino entrou em erupção ao lado do seu cabo {a}–{b}. O navio de reparo o encontrou em pedaços, alguns a quilômetros de distância.", +"Anchors Away":"Âncoras ao mar", +"Anchors Aweigh":"Levantar âncora", +"Ancient city, brand new cables. Greece wants to be the eastern Mediterranean’s landing hub.":"Cidade antiga, cabos novinhos. A Grécia quer ser o hub de chegada do Mediterrâneo oriental.", +"Angola’s oil capital, and the home of cables that run straight to Brazil. One of the priciest cities on Earth for a hotel room.":"A capital do petróleo de Angola e a casa dos cabos que vão direto para o Brasil. Uma das cidades mais caras do mundo para um quarto de hotel.", +"Animations":"Animações", +"Another London–Amsterdam route. Everyone has one, so prices are low.":"Mais uma rota London–Amsterdam. Todo mundo tem uma, então os preços são baixos.", +"Another anchor, another cut: your {a}–{b} cable. The ship’s flag changed twice during the investigation.":"Outra âncora, outro corte: seu cabo {a}–{b}. A bandeira do navio mudou duas vezes durante a investigação.", +"Another hop across the Channel, with dark fiber for sale. There is always room for one more.":"Mais um hop pelo Canal da Mancha, com dark fiber à venda. Sempre cabe mais um.", +"Another of Vietnam’s subsea cables is broken: your {a}–{b} link. The repair ship will come after the holidays. Which holidays is unclear.":"Mais um cabo submarino do Vietnã quebrou: seu link {a}–{b}. O navio de reparo vem depois dos feriados. Quais feriados, ninguém sabe.", +"Another one":"Outro", +"Answered your mail: {a} accepted, {d} declined.":"Respondeu seus e-mails: {a} aceitos, {d} recusados.", +"Apply for a license {price} + {mo}/mo · ~45 days":"Pedir licença {price} + {mo}/mês · ~45 dias", +"Apr":"abr", +"Archaeologists found a Roman bathhouse on your route.":"Arqueólogos encontraram uma terma romana na sua rota.", +"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.", +"Argentina’s second city: universities, car factories and fernet with cola, in a ratio locals will argue about for hours.":"A segunda cidade da Argentina: universidades, montadoras e fernet com cola, numa proporção que os locais discutem por horas.", +"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.", +"As your peak traffic and footprint grow, bigger customers show up: streaming startups and universities, then AI GPU data centers and cloud on-ramps, then AI training interconnects and hyperscaler DCI deals measured in terabits. Pink $$ bubbles mark the big ones.":"Conforme seu tráfego de pico e sua presença crescem, aparecem clientes maiores: startups de streaming e universidades, depois data centers de GPU para IA e on-ramps de nuvem, depois interconexões de treinamento de IA e contratos de DCI de hyperscalers medidos em terabits. Bolhas rosa de $$ marcam os grandes.", +"Asia":"Ásia", +"Asia hub. Great peering, far from home.":"Hub da Ásia. Ótimo peering, longe de casa.", +"Asia's hub. Expensive, humid, very well connected.":"O hub da Ásia. Caro, úmido, superconectado.", +"Asia, Africa, Europe, and one more thing.":"Ásia, África, Europa e mais uma coisinha.", +"Ask for another box. The overflow goes out over peering or transit.":"Peça outra caixa. O excedente sai via peering ou transit.", +"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.", +"Asked NetChill’s peering team to “please provide more Netchill”.":"Pediu ao time de peering da NetChill “mais Netchill, por favor”.", +"At customer level 3 and 4, hyperscalers and AI clouds show up with deals only they would ask for: terabit AI WANs between gigawatt campuses, training runs spread over several sites, week-long dataset ingests, and hundreds of fiber pairs in a trench you dug yourself. They pay like nobody else, and they want diverse paths, two sites per metro and zero excuses. Cities near their campuses list them under “Who’s here”.":"Nos níveis de clientes 3 e 4, hyperscalers e nuvens de IA aparecem com contratos que só eles pediriam: WANs de IA de terabits entre campi de gigawatts, treinamentos espalhados por vários sites, ingestões de dataset de uma semana e centenas de pares de fibra numa vala que você mesmo cavou. Pagam como ninguém, e querem caminhos diversos, dois sites por metrópole e zero desculpas. Cidades perto dos campi deles os listam em “Quem está aqui”.", +"At risk":"Em risco", +"Athens to Alexandria, and up the Dardanelles to Istanbul. Opa!":"De Athens a Alexandria, e subindo os Dardanelos até Istanbul. Opa!", +"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.", +"Attack hauled to scrubbing in {city}":"Ataque levado ao scrubbing em {city}", +"Attacker: {who}.":"Atacante: {who}.", +"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Os ataques vão para o seu centro de scrubbing mais próximo. Daqui é {city}, a {km} km: a enxurrada viaja pelo seu backbone até lá e volta, o que aumenta a latência, e o que seus links não conseguem levar não é limpo. Um centro aqui limpa os ataques na hora.", +"Attend {cost}":"Participar {cost}", +"Attend a conference.":"Participe de uma conferência.", +"Attend six conferences in one game.":"Participe de seis conferências numa partida.", +"Auditor visit":"Visita do auditor", +"Aug":"ago", +"Augment on order: {port}, about {n} days to go.":"Ampliação encomendada: {port}, faltam cerca de {n} dias.", +"Australia’s big one. G’day, that will be nine dollars a megabit. Sorry, gigabit.":"O grandão da Austrália. G'day, são nove dólares o megabit. Ops, gigabit.", +"Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.":"O número dois da Austrália. Uma vez deixou o país inteiro offline por doze horas com uma atualização de rotina.", +"Auto":"Auto", +"Auto follows your device’s reduce-motion setting. Off freezes the map: no moving packets, pulses or floating text.":"Auto segue a configuração de reduzir movimento do seu aparelho. Desligado congela o mapa: sem pacotes andando, pulsos ou texto flutuante.", +"Auto-TE controller":"Controlador Auto-TE", +"Auto-fix in {n} day":"Se resolve sozinho em {n} dia", +"Auto-fix in {n} days":"Se resolve sozinho em {n} dias", +"Automation pushed it to every router, so redundancy did not help.":"A automação empurrou para todos os routers, então a redundância não ajudou.", +"Average":"Na média", +"Avoid":"Evitar", +"BGP hijack":"BGP hijack", +"BGP route leak: a small ISP is announcing {net}'s prefixes. Traffic to them over transit is black-holed. Direct peering still works.":"Route leak de BGP: um ISP pequeno está anunciando os prefixos de {net}. O tráfego para eles via transit cai num buraco negro. O peering direto ainda funciona.", +"BGP session established.":"Sessão BGP estabelecida.", +"BGP sessions":"Sessões BGP", +"Back":"Voltar", +"Back in {n} days.":"Volta em {n} dias.", +"Back to my network":"Voltar para minha rede", +"Back to the editor":"Voltar ao editor", +"Back to the map":"Voltar ao mapa", +"Backbone of backbones":"Backbone dos backbones", +"Backhaul latency":"Latência de backhaul", +"Backup generator":"Gerador de backup", +"Backup generator in every city they touch":"Gerador de backup em toda cidade que tocar", +"Backup only":"Só backup", +"Badge unlocked: {name}":"Badge desbloqueado: {name}", +"Badges":"Medalhas", +"Balkan peering hub with famously cheap ports.":"Hub de peering dos Bálcãs com portas famosas de tão baratas.", +"Bank":"Banco", +"Bankers pretend to be out":"Os banqueiros fingem que não estão", +"Bankers return your calls":"Os banqueiros retornam suas ligações", +"Bankers return your emails":"Os banqueiros respondem seus e-mails", +"Bankrupt":"Falência", +"Bankrupt at −$100k":"Falência em −$100k", +"Banks, very punctual packets, and racks inside old bank vaults.":"Bancos, pacotes pontualíssimos e racks dentro de cofres de banco antigos.", +"Bavaria’s capital: cars, insurers and a two-week beer festival that sends mobile traffic through the roof every autumn. Racks must be finished before noon, like the sausages.":"A capital da Baviera: carros, seguradoras e uma festa da cerveja de duas semanas que faz o tráfego móvel ir às alturas todo outono. Os racks têm que ficar prontos antes do meio-dia, como as salsichas.", +"Be in two buildings at once":"Esteja em dois prédios ao mesmo tempo", +"Beaches, cable landings and a Carnival that melts traffic graphs every February.":"Praias, chegada de cabos e um Carnaval que derrete os gráficos de tráfego todo fevereiro.", +"Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.":"Coloca o outback online a 550 km de altura e depois aterrissa tudo num data center em Sydney, como todo mundo.", +"Become a Tier 2":"Vire Tier 2", +"Beer is cheaper than water here, and IX ports are cheaper than both.":"Aqui a cerveja é mais barata que a água, e as portas de IX são mais baratas que as duas.", +"Before you start":"Antes de começar", +"Behind the Great Firewall":"Atrás do Great Firewall", +"Being spliced":"Sendo emendada", +"Below your goals sits a wall of badges, from common to legendary. Some take luck, some take years, and a couple are secret. Badges you earned in earlier games stay on this device with a dashed outline.":"Abaixo das suas metas fica um mural de medalhas, de comuns a lendárias. Algumas pedem sorte, outras levam anos, e umas duas são secretas. Medalhas conquistadas em jogos anteriores ficam neste aparelho com contorno tracejado.", +"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.", +"Best played as an app":"Melhor jogar como app", +"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"Terminais melhores e ajuste óptico aumentam o alcance de longa distância. Os repetidores já estão incluídos; essas melhorias não mudam a latência.", +"Big CDNs give you free cache boxes once you send them enough traffic. Free bandwidth, just add power.":"As grandes CDNs te dão caixas de cache de graça quando você manda tráfego suficiente pra elas. Banda grátis, é só ligar na tomada.", +"Big hungry market, few providers.":"Mercado grande e faminto, poucos provedores.", +"Big league":"Primeira divisão", +"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.", +"Big shelf, big reach, big invoice.":"Shelf grande, alcance grande, fatura grande.", +"Big, busy and flooded with traffic, sometimes literally.":"Grande, agitada e inundada de tráfego, às vezes literalmente.", +"Biggest fabric money can buy.":"O maior fabric que o dinheiro pode comprar.", +"Biggest feeder: {egress} in {city}. Set it to “Backup only”, give the customers a closer egress (peering, a cache, local transit), or raise this link's metric.":"Maior fonte: {egress} em {city}. Coloque em “Só backup”, dê aos clientes uma saída mais próxima (peering, um cache, transit local) ou aumente a métrica deste link.", +"Black hole":"Buraco negro", +"Blackhole one of your own cities to stop a DDoS.":"Mande uma das suas próprias cidades para o blackhole para parar um DDoS.", +"Blackhole the target (RTBH)":"Blackhole no alvo (RTBH)", +"Blackholed: the junk is gone, and so is {city}. The attack got what it wanted.":"Em blackhole: o lixo sumiu, e {city} também. O ataque conseguiu o que queria.", +"Blitz":"Blitz", +"Boot time":"Tempo de boot", +"Boot times":"Tempo de boot", +"Boston to Dublin. Nobody has thrown it into the harbour yet.":"De Boston a Dublin. Ninguém jogou ele no porto ainda.", +"Both a second switch, +{price}/mo":"Ambos um segundo switch, +{price}/mês", +"Both adds a LAG member":"Ambos adiciona membro ao LAG", +"Both split the LAG":"Ambos divide o LAG", +"Botswana: quiet, safe and rich in diamonds, with Johannesburg a short drive away.":"Botsuana: tranquila, segura e rica em diamantes, com Joanesburgo a um pulo de carro.", +"Bought by Speedyloop, and still working out which name goes on the bill.":"Comprada pela Speedyloop, e ainda tentando decidir qual nome vai na fatura.", +"Bought used on eBuy. The fans sound like a jet engine.":"Comprado usado no eBuy. As ventoinhas parecem uma turbina de avião.", +"Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.":"Temporada de vespas-do-mar no pouso {a}–{b}. Os mergulhadores deram uma olhada e voltaram para o barco.", +"Boxes: {a} in A · {b} in B":"Boxes: {a} em A · {b} em B", +"Brand new, cheap, and it lands right next to your racks.":"Novinho, barato e chega bem do lado dos seus racks.", +"Brazil straight to Iberia, skipping the US entirely.":"Do Brasil direto para a Península Ibérica, pulando os EUA por completo.", +"Brazil to Florida. The invoice arrives just as fast.":"Do Brasil à Flórida. A fatura chega tão rápido quanto.", +"Brazil’s agribusiness capital: sugarcane, orange juice and, by local opinion, the coldest draft beer in the country.":"A capital do agronegócio: cana, suco de laranja e, segundo os locais, o chope mais gelado do país.", +"Brazil’s coldest big city, and the one that invented bus lanes for everyone else. Half the year, the air outside is free cooling.":"A cidade grande mais fria do Brasil, e a que inventou o corredor de ônibus para todo mundo. Metade do ano, o ar lá fora é refrigeração de graça.", +"Brazil’s first capital, with cables landing in the bay and a Carnival of two million people dancing behind trucks full of speakers.":"A primeira capital do Brasil, com cabos chegando na baía e um Carnaval de dois milhões de pessoas dançando atrás de trios elétricos.", +"Brazil’s mobile giant. Very much alive.":"O gigante mobile do Brasil. Vivíssimo.", +"Brazil’s northernmost capital. The only road south crosses an indigenous reserve that closes to traffic every night.":"A capital mais ao norte do Brasil. A única estrada para o sul cruza uma terra indígena que fecha para o trânsito toda noite.", +"Brazil’s planned capital, shaped like an airplane. Every ministry sits in a neat row, and every one of them wants its own link.":"A capital planejada do Brasil, em forma de avião. Cada ministério fica numa fila arrumadinha, e cada um quer seu próprio link.", +"Brazil’s tech hub, an hour from São Paulo: universities, labs and data centers lined up along the highway.":"O polo de tecnologia do Brasil, a uma hora de São Paulo: universidades, laboratórios e data centers enfileirados ao longo da rodovia.", +"Brazil’s youngest state capital, built from scratch in 1989. The streets are numbered, and so is everything else.":"A capital estadual mais nova do Brasil, construída do zero em 1989. As ruas são numeradas, e todo o resto também.", +"Bribe their NOC with donuts":"Suborne o NOC deles com donuts", +"Bridges Europe and Asia, and occasionally your BGP table.":"Une Europa e Ásia, e de vez em quando a sua tabela BGP.", +"Bring up your first peering session.":"Suba sua primeira sessão de peering.", +"BrisVegas: big sky, a thunderstorm at four every summer afternoon, and closer to the Pacific cables than Sydney would like to admit. Megapork grew up here.":"BrisVegas: céu enorme, uma tempestade às quatro em toda tarde de verão, e mais perto dos cabos do Pacífico do que Sydney gostaria de admitir. A Megapork cresceu aqui.", +"Brisbane to Tokyo with a beach break in Guam.":"De Brisbane a Tóquio com uma pausa na praia em Guam.", +"Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas":"Banda larga em Sydney, Melbourne, Brisbane, Adelaide e Perth, e dois cabos diferentes para o exterior", +"Broadband in {city}":"Banda larga em {city}", +"Build POP {cost} + {mo}/mo":"Construir POP {cost} + {mo}/mês", +"Build a POP here first.":"Construa um POP aqui primeiro.", +"Build a scrubbing center from a POP's Infra tab. It cleans attacks up to its capacity and lets you sell DDoS protection.":"Construa um centro de scrubbing na aba Infra de um POP. Ele limpa ataques até a capacidade dele e permite vender proteção DDoS.", +"Build an internet. Lay fiber between cities, buy transit, peer at exchanges, sign up businesses, and keep the eyeballs happy while backhoes, sharks and route leaks do their best to stop you.":"Construa uma internet. Lance fibra entre cidades, compre transit, faça peering nos exchanges, feche contratos com empresas e mantenha os eyeballs felizes enquanto retroescavadeiras, tubarões e route leaks fazem de tudo para te parar.", +"Build fiber across the Andes.":"Construa fibra cruzando os Andes.", +"Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.":"Construa um em quantos POPs quiser. Um ataque vai para o centro ativo mais próximo, e o que ele não aguenta transborda para o seguinte. Um centro distante significa que a enxurrada viaja pelo seu backbone até lá e o tráfego da vítima volta pelo caminho longo: enche seus links, aumenta a latência, e o que os links não conseguem levar não é limpo. Clientes que compram proteção DDoS percebem quando os ataques deles atravessam um oceano.", +"Build the internet, one tube at a time":"Construa a internet, um tubo de cada vez", +"Build time":"Tempo de obra", +"Build your backbone on the train or on a plane.":"Monte seu backbone no trem ou no avião.", +"Build your own level 3":"Construir a sua nível 3", +"Build your own {price} · ~{n} days":"Construir a sua {price} · ~{n} dias", +"Build {tier} {cost} + {mo}/mo":"Construir {tier} {cost} + {mo}/mês", +"Building into mainland China needs a joint venture and an operating license. Open {city} to apply.":"Construir na China continental exige uma joint venture e uma licença de operação. Abra {city} para solicitar.", +"Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.":"Construída para o governo. Os data centers têm mais credenciais de segurança do que funcionários, e toda rua termina numa rotatória.", +"Built like a sauna door: heavy, hot and nearly impossible to break. The config is now so hierarchical it has a royal family.":"Construído como porta de sauna: pesado, quente e quase impossível de quebrar. A config agora é tão hierárquica que tem família real.", +"Bulk backup transfer (latency does not matter)":"Backup em massa (latência não importa)", +"Bunker Two":"Bunker Dois", +"Bunny suits mandatory in the server room.":"Macacão de sala limpa obrigatório na sala de servidores.", +"Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.":"Temporada de incêndios: a fibra ao longo de {a}–{b} derreteu no conduíte. Os bombeiros salvaram a cidade, não o duto.", +"Busiest links":"Links mais carregados", +"Business customers":"Clientes empresariais", +"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.", +"Businesses may want a private circuit between two of your POPs (it rides your backbone), or DDoS protection (needs your own scrubbing center).":"Empresas podem querer um circuito privado entre dois POPs seus (ele roda no seu backbone), ou proteção DDoS (precisa do seu próprio centro de scrubbing).", +"Businesses pop up as $ bubbles on the map. Open Deals and sign your first customer.":"Empresas aparecem como bolhas de $ no mapa. Abra Negócios e feche seu primeiro cliente.", +"Businesses show up with a $ bubble. You need a POP in their city. Check the Deals tab.":"Empresas aparecem com uma bolha de $. Você precisa de um POP na cidade delas. Veja a aba Negócios.", +"Buy 40 desk fans":"Comprar 40 ventiladores de mesa", +"Buy a port on a fabric, then order virtual circuits to your other POPs or to a remote IX. Fast and flexible, but you share their fabric.":"Compre uma porta num fabric e depois peça circuitos virtuais para seus outros POPs ou para um IX remoto. Rápido e flexível, mas você divide o fabric deles.", +"Buy a replacement":"Comprar um substituto", +"Buy a wave inside the UAE.":"Compre uma wave dentro dos Emirados.", +"Buy them out {price}":"Comprar a parte deles {price}", +"Buy-out {price}":"Recompra {price}", +"CDN / content":"CDN / conteúdo", +"CDNs put free cache servers inside your POP. Most of their traffic is then served right here, with no transit and no IX port.":"CDNs colocam servidores de cache grátis dentro do seu POP. A maior parte do tráfego delas é servida aqui mesmo, sem transit e sem porta de IX.", +"CLDAP flood":"flood CLDAP", +"CN-Too premium on ✓":"CN-Too premium ativo ✓", +"CRC errors on {a}–{b}: a marginal optic is mangling a few frames in every thousand.":"Erros de CRC em {a}–{b}: uma óptica marginal está estragando alguns frames a cada mil.", +"CUT":"CORTADO", +"Cable broadband across Central Europe. See you later, in a support queue.":"Banda larga a cabo em toda a Europa Central. Até mais, na fila do suporte.", +"Cable broadband for half of America. Haunts your traceroutes.":"Banda larga a cabo para meia América. Assombra seus traceroutes.", +"Cable broadband for half of Britain. Fast on a good day.":"Banda larga a cabo para metade da Grã-Bretanha. Rápida num dia bom.", +"Cable design":"Projeto do cabo", +"Cable landing hub for South America.":"Hub de chegada de cabos da América do Sul.", +"Cable system":"Sistema de cabo", +"Cables all around the Caribbean, served with a lot of foam.":"Cabos pelo Caribe inteiro, servidos com muita espuma.", +"Cables overseas":"Cabos para o exterior", +"Cache":"Cache", +"Cache power":"Energia dos caches", +"Caches":"Caches", "California to Hong Kong via Hawaii and Guam. A layered cake of repairs.":"Da Califórnia a Hong Kong via Havaí e Guam. Um bolo em camadas de reparos.", "California to Singapore via Guam. Everyone on it agrees with each other.":"Da Califórnia a Singapura via Guam. Todo mundo nele concorda com todo mundo.", +"Call everyone you know":"Ligue para todo mundo que você conhece", +"Cameroon’s port city. A cable from here goes straight to Brazil, which is the shortest way across the South Atlantic.":"A cidade portuária de Camarões. Daqui um cabo vai direto para o Brasil, o caminho mais curto pelo Atlântico Sul.", +"Campus B (the one with parking)":"Campus B (aquele com estacionamento)", +"Can you hear me now? Only if you pay for the PNI.":"Tá me ouvindo agora? Só se pagar pela PNI.", +"Canada’s Pacific door. It rains so much that the free cooling comes with free washing.":"A porta do Canadá para o Pacífico. Chove tanto que o resfriamento grátis vem com lavagem grátis.", +"Canada’s cable giant, held together with duct tape. Now and then all of it goes down at once, which is at least consistent.":"O gigante canadense do cabo, preso com fita adesiva. De vez em quando cai tudo de uma vez, o que pelo menos é coerente.", +"Canada’s capital, once called Bytown, which suits it. The grid goes out when it is windy, icy or Tuesday, so bring a generator.":"A capital do Canadá, antes chamada Bytown, o que combina. A energia cai quando venta, gela ou é terça-feira, então traga um gerador.", +"Canada’s hub. Polite packets, long winters, free cooling.":"O hub do Canadá. Pacotes educados, invernos longos, resfriamento grátis.", +"Cancel":"Cancelar", +"Cancel circuit":"Cancelar circuito", +"Cancel the IRU":"Cancelar o IRU", +"Cancel the order":"Cancelar o pedido", +"Capacity":"Capacidade", +"Cape Town. Build a network across Africa: every border wants its own permit, and half the power grids are not on your side.":"Cidade do Cabo. Construa uma rede pela África: cada fronteira quer sua própria licença, e metade das redes elétricas não está do seu lado.", +"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.", +"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.", +"Cape to Cairo":"Do Cabo ao Cairo", +"Cape-to-Cairo fiber across a dozen borders. Sometimes over land, sometimes over budget.":"Fibra do Cabo ao Cairo atravessando uma dúzia de fronteiras. Às vezes por terra, às vezes acima do orçamento.", +"Carnaval":"Carnaval", +"Carnaval delivered in full":"Carnaval entregue por completo", +"Cars, engineers and Kehrwoche: every rack is swept on a strict rota. Nobody sells transit here, there is only the Spätzle-IX. Peer locally or haul your traffic to Frankfurt.":"Carros, engenheiros e Kehrwoche: cada rack é varrido numa escala rigorosa. Aqui ninguém vende transit, só existe o Spätzle-IX. Faça peering local ou leve seu tráfego até Frankfurt.", +"Casablanca down the coast to Abidjan, served sweet and very hot.":"De Casablanca costa abaixo até Abidjan, servido doce e bem quente.", +"Cash":"Caixa", +"Cash and bank":"Dinheiro e banco", +"Cash · Bank":"Caixa · Banco", +"Catalonia’s own exchange. Small and proud, and local networks find it impossible to resist.":"O exchange da Catalunha. Pequeno e orgulhoso, e as redes locais não conseguem resistir.", +"Central America’s biggest city, ringed by volcanoes. One of them smokes every single day.":"A maior cidade da América Central, cercada de vulcões. Um deles solta fumaça todo santo dia.", +"Central Europe’s rising hub. More data centers every year and a fiercely competitive ISP scene.":"O hub em ascensão da Europa Central. Mais data centers a cada ano e uma cena de ISPs ferozmente competitiva.", +"Certificate expired":"Certificado expirado", +"Change freeze":"Change freeze", +"Channels are lighting up now.":"Os canais estão acendendo agora.", +"Charges a lot. Paid peering only, and the name says it all.":"Cobra caro. Só peering pago, e o nome já diz tudo.", +"Chase it":"Cobrar", +"Chat on Signal":"Chat no Signal", +"Chat, games and payments. Every message costs ten cents.":"Chat, jogos e pagamentos. Cada mensagem custa dez centavos.", +"Cheap broadband with the sales pitch on a permanent loop.":"Banda larga barata, com o discurso de vendas em loop eterno.", +"Cheap chassis, eternal subscription. Every port needs a licence, every licence needs a licence server, and the licence server needs a licence.":"Chassi barato, assinatura eterna. Cada porta precisa de licença, cada licença precisa de um servidor de licenças, e o servidor de licenças precisa de licença.", +"Cheap hydro power makes it a data center favorite.":"Energia hidrelétrica barata faz dele um dos queridinhos dos data centers.", +"Cheap land, cheap power and 48 °C summers. Hyperscalers love it. Chillers do not.":"Terreno barato, energia barata e verões de 48 °C. Os hyperscalers amam. Os chillers, não.", +"Cheap power, dry air and a surprising number of very quiet data centers.":"Energia barata, ar seco e um número surpreendente de data centers bem silenciosos.", +"Cheap state money for connecting the underserved. Bring a pen.":"Dinheiro público barato para conectar quem ficou de fora. Traga uma caneta.", +"Cheap to buy, expensive to own: licence keys for every port, every feature and, rumour has it, the fans. Smart Licensing phones home every week.":"Barato pra comprar, caro pra manter: chave de licença pra cada porta, cada recurso e, dizem, pras ventoinhas. O Smart Licensing liga pra casa toda semana.", +"Cheap while the sun shines. Every open incident adds 2% to your rate.":"Barato enquanto faz sol. Cada incidente aberto soma 2% à sua taxa.", +"Cheap, fast and open late.":"Barato, rápido e aberto até tarde.", +"Cheap, filling hosting. Ask for the potato-and-cheese plan.":"Hosting barato e que sustenta. Peça o plano batata com queijo.", +"Cheap, patient, and very particular about Stuttgart.":"Barato, paciente e muito exigente com Stuttgart.", +"Cheaper than Singapore next door. The data center builders noticed, and so did the power grid.":"Mais barato que Singapura, logo ao lado. Quem constrói data center percebeu, e a rede elétrica também.", +"Cheapest transit on the map. Famously gentle, except during peering spats.":"O transit mais barato do mapa. Famoso pela gentileza, menos durante as brigas de peering.", +"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.", +"Check (dry run)":"Testar (dry run)", +"Chennai to Singapore, looking it straight in the eye.":"De Chennai a Singapura, olhando no olho.", +"China":"China", +"City":"Cidade", +"Clamp the MSS to 1360":"Fazer clamp do MSS em 1360", +"Clean Pipes":"Tubos limpos", +"Clean the connector":"Limpar o conector", +"Clean-pipe on ✓":"Clean-pipe ativo ✓", +"Cleans DDoS attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts for businesses.":"Limpa ataques DDoS de toda a sua rede, até a capacidade de banda limpa, e libera contratos de proteção DDoS para empresas.", +"Cleans attacks for your whole network, up to its clean-bandwidth capacity, and unlocks DDoS protection contracts. Clean traffic returns over GRE, which can re-open the MSS black hole.":"Limpa ataques para a rede toda, até a capacidade de banda limpa, e desbloqueia contratos de proteção DDoS. O tráfego limpo volta via GRE, o que pode reabrir o buraco negro do MSS.", +"Clear filters":"Limpar filtros", +"Click to tear down":"Clique para encerrar", +"Close":"Fechar", +"Close site B":"Fechar site B", +"Cloud gaming platform":"Plataforma de cloud gaming", +"Cloud gaming platforms, and the cloud gaming era: eyeballs want another 15%. A free PNI with Tel-Mess. Gear: Sienna WaveMagic 3.2T transponders.":"Plataformas de cloud gaming e a era do cloud gaming: os eyeballs querem mais 15%. Um PNI grátis com a Tel-Mess. Gear: transponders Sienna WaveMagic 3.2T.", +"Cloud on-ramp":"On-ramp de cloud", +"Cogentle and Goggle are in a peering spat. Goggle is unreachable through Cogentle transit.":"Cogentle e Goggle estão brigando por peering. A Goggle está inacessível pelo transit da Cogentle.", +"Cogentle and Goggle are not speaking, and this time it is permanent. Buy the cheap transit if you dare.":"Cogentle e Goggle não se falam, e desta vez é pra sempre. Compre o transit barato, se tiver coragem.", +"Coherent pluggable in the router. No transponder shelf.":"Pluggable coerente direto no router. Sem shelf de transponders.", +"Collateral Damage":"Dano colateral", +"Collecting data. Check back in a few days.":"Coletando dados. Volte em alguns dias.", +"Colourful, crowded and gets you there eventually.":"Colorido, lotado e uma hora te leva lá.", +"Comes alive after dark.":"Ganha vida depois que escurece.", +"Comes in over {fab}: needs your {fab} port in {city} with room for {bw}":"Chega via {fab}: precisa da sua porta {fab} em {city} com folga para {bw}", +"Commit complete.":"Commit concluído.", +"Common":"Comum", +"Complete any scenario.":"Complete qualquer cenário.", +"Complete every scenario.":"Complete todos os cenários.", +"Complete three different scenarios.":"Complete três cenários diferentes.", +"Condition broken for {n} day.":"Condição descumprida há {n} dia.", +"Condition broken for {n} days.":"Condição descumprida há {n} dias.", +"Conference Circuit":"Circuito de conferências", +"Conferences":"Conferências", +"Confidential":"Confidencial", +"Configured: {lim} prefixes. Received: {got}.":"Configurado: {lim} prefixos. Recebidos: {got}.", +"Congested links":"Links congestionados", +"Congested. Upgrade it or add a parallel path.":"Congestionado. Faça upgrade ou adicione um caminho paralelo.", +"Connections":"Conexões", +"Connects Doha to the rest of the Gulf, by sea, which is handy when the land border is closed.":"Liga Doha ao resto do Golfo pelo mar, o que vem a calhar quando a fronteira terrestre fecha.", +"Contained on your sacrificial {net} PNI":"Contido no seu PNI sacrificial com {net}", +"Content from":"Conteúdo de", +"Content networks like NetChill and Goggle. Most of your traffic comes from them. Peer with them and that traffic is free.":"Redes de conteúdo como NetChill e Goggle. A maior parte do seu tráfego vem delas. Faça peering com elas e esse tráfego sai de graça.", +"Continental carrier":"Carrier continental", +"Continents":"Continentes", +"Continue {name} · {date}":"Continuar {name} · {date}", +"Control plane meltdown":"Control plane derreteu", +"Cookieless stats, no tracking":"Estatísticas sem cookies, sem rastreamento", +"Cooling failure":"Falha na refrigeração", +"Copy":"Copiar", +"Cornwall to Lagos down the West African coast. Glows faintly when it is working.":"Da Cornualha a Lagos pela costa da África Ocidental. Brilha fraquinho quando está funcionando.", +"Costa Rica runs almost entirely on renewable power, so your racks are green. The cloud forest next door is greener.":"A Costa Rica roda quase toda com energia renovável, então seus racks são verdes. A floresta nublada ao lado é mais verde ainda.", +"Costs":"Custos", +"Costs less than lunch and has twice the ports of the Rusty. Configuring it takes longer than the lunch.":"Custa menos que um almoço e tem o dobro de portas do Rusty. Configurar leva mais tempo que o almoço.", +"Costs more than leasing at this size.":"Nesse tamanho custa mais que alugar.", +"Cosy racks under a hill. Second breakfast at 11.":"Racks aconchegantes debaixo de uma colina. Segundo café da manhã às 11.", +"Courtesy route":"Rota de cortesia", +"Courtesy route to new networks":"Rota de cortesia para novas redes", +"Covered by NDA":"Coberto por NDA", +"Covers a lot of empty ground.":"Cobre um monte de terreno vazio.", +"Credit rating":"Rating de crédito", +"Crispy on the outside, cheap on the inside.":"Crocante por fora, barato por dentro.", +"Cross-border circuits into mainland China are sold only by licensed carriers, at 3× the price. Regular ones lose about 20% of traffic at the border.":"Circuitos transfronteiriços para a China continental só são vendidos por operadoras licenciadas, a 3× o preço. Os comuns perdem cerca de 20% do tráfego na fronteira.", +"Crosses Bass Strait faster than the ferry, and gets seasick less often.":"Atravessa o Estreito de Bass mais rápido que a balsa, e enjoa menos.", +"Crosses the Pacific, mildly annoyed about it.":"Atravessa o Pacífico, levemente irritado com isso.", +"Crossing the Great Firewall here loses about {p}% of packets.":"Atravessar o Great Firewall aqui perde cerca de {p}% dos pacotes.", +"Crossroads for cables between Europe, Asia and Africa. Some voice apps are blocked, and the A/C bill is legendary.":"Encruzilhada dos cabos entre Europa, Ásia e África. Alguns apps de voz são bloqueados, e a conta do ar-condicionado é lendária.", +"Crossroads of Europe. DE-KICKS IX, cheap transit.":"Encruzilhada da Europa. IX DE-KICKS, transit barato.", +"Customer":"Cliente", +"Customer Care":"Cuidado com o cliente", +"Customer Success Story":"Customer Success Story", +"Customer level {lv} of {max}":"Nível de clientes {lv} de {max}", +"Customer level {lv}: {name}":"Nível de cliente {lv}: {name}", +"Customer levels":"Níveis de clientes", +"Customer on a fabric (transit over an NNI)":"Cliente num fabric (transit via NNI)", +"Customers":"Clientes", +"Customers and alerts":"Clientes e alertas", +"Customers are unhappy and leaving. Add upstream capacity, peering, or a bigger link.":"Os clientes estão insatisfeitos e indo embora. Adicione capacidade de upstream, peering ou um link maior.", +"Customers here get nothing until it's back.":"Os clientes daqui ficam sem nada até ele voltar.", +"Cut!":"Cortado!", +"Cuts still happen, anchors and sharks included, but the repair ship is yours to call.":"Cortes ainda acontecem, âncoras e tubarões incluídos, mas o navio de reparo é você quem chama.", +"DDoS attack":"Ataque DDoS", +"DDoS junk":"Lixo de DDoS", +"DDoS protection + DIA":"Proteção DDoS + DIA", +"DDoS scrubbing":"Scrubbing DDoS", +"DDoS scrubbing center":"Centro de scrubbing DDoS", +"DE-KICKS Bingo":"Bingo DE-KICKS", +"DE-KICKS Group · Customer Success":"DE-KICKS Group · Customer Success", +"DE-KICKS Group · Sales":"DE-KICKS Group · Vendas", +"DE-KICKS personalised pricing: {p}% of what a normal IX would charge (promo, {n} days left).":"Preço personalizado DE-KICKS: {p}% do que um IX normal cobraria (promo, faltam {n} dias).", +"DE-KICKS personalised pricing: {p}% of what a normal IX would charge.":"Preço personalizado DE-KICKS: {p}% do que um IX normal cobraria.", +"DNS reflection":"reflexão DNS", +"DOWN":"DOWN", +"Dam It":"Castorstrofe!", +"Danish for “sea fun”. Probably.":"Em dinamarquês quer dizer \"diversão no mar\". Provavelmente.", +"Dark fiber":"Dark fiber", +"Dark fiber across the Chinese border is not for sale. Buy a cross-border wave instead.":"Dark fiber atravessando a fronteira chinesa não está à venda. Compre uma wave transfronteiriça.", +"Dark fiber handed over: {a}–{b}":"Dark fiber entregue: {a}–{b}", +"Dark fiber pair lease":"Aluguel de par de dark fiber", +"Dark fiber unlocks at customer level 2. You need the scale to justify buying your own optical gear.":"Dark fiber desbloqueia no nível de clientes 2. Você precisa de escala para justificar comprar seu próprio equipamento óptico.", +"Dark fiber · {kind} · {km} km":"Dark fiber · {kind} · {km} km", +"Dark!":"Apagada!", +"Darwin Award":"Prêmio Darwin", +"Darwin to Singapore via Jakarta. Survival of the fittest packets.":"De Darwin a Singapura via Jakarta. Só os pacotes mais aptos sobrevivem.", +"Dataset ingest (elephant flow)":"Ingest de dataset (elephant flow)", +"Date":"Data", +"Day {d}":"Dia {d}", +"Days in a row at {g} or more":"Dias seguidos com {g} ou mais", +"Days in a row with 99.5% served":"Dias seguidos com 99,5% atendido", +"Dead optic":"Óptica morta", +"Deals":"Negócios", +"Dear Sir or Madam, please peer. We have three prefixes and very big plans.":"Prezado senhor ou senhora, por favor façam peering. Temos três prefixos e planos enormes.", +"Debt":"Dívida", +"Debt-Free Tier 1":"Tier 1 sem dívidas", +"Debt-free. Your accountant is suspicious.":"Sem dívidas. Seu contador está desconfiado.", +"Dec":"dez", +"Decline":"Recusar", +"Decline all requests":"Recusar todos os pedidos", +"Declined {who} at {ix}: “not a strategic fit”. They were.":"Recusou {who} no {ix}: “não é estratégico”. Era.", +"Decommission":"Desativar", +"Decommission POPs":"Desativar POPs", +"Decommission link":"Desativar link", +"Decommission several POPs…":"Desativar vários POPs…", +"Decommission {city}…":"Desativar {city}…", +"Decommission {n} POP · pay {fee}":"Desativar {n} POP · pagar {fee}", +"Decommission {n} POPs · pay {fee}":"Desativar {n} POPs · pagar {fee}", +"Delete and start over":"Apagar e recomeçar", +"Deliver Carnaval in full":"Entregue o Carnaval completo", +"Deliver at least 95% of what your customers want.":"Entregue pelo menos 95% do que seus clientes querem.", +"Delivered fresh every morning.":"Entregue fresquinho toda manhã.", +"Delivered, 30 days":"Entregue, 30 dias", +"Delivery: 2 to 6 weeks":"Entrega: de 2 a 6 semanas", +"Delivery: about a month, sometimes 6 to 12 months":"Entrega: cerca de um mês, às vezes de 6 a 12 meses", +"Demand":"Demanda", +"Dense, filling and very cheap.":"Denso, substancioso e baratíssimo.", +"Deploy":"Deploy", +"Deploy a RouteScript that cuts your transit bill by 10% without losing traffic.":"Publique um RouteScript que corte 10% da conta de transit sem perder tráfego.", +"Deploy a RouteScript that takes down a third of your traffic.":"Publique um RouteScript que derrube um terço do seu tráfego.", +"Digging your own fiber unlocks at customer level 3.":"Cavar sua própria fibra desbloqueia no nível de clientes 3.", +"Digital everything, e-residency for anyone, and Baltic cables that ships keep dragging their anchors over.":"Tudo digital, e-residency pra qualquer um e cabos no Báltico em que os navios vivem arrastando âncoras.", +"Discovered the Atlantic again. Old, pricey and fragile.":"Redescobriu o Atlântico. Velho, caro e frágil.", +"Display and sound":"Tela e som", +"Diverse route +40% · survives cuts alone":"Rota diversa +40% · sobrevive a cortes sozinha", +"Diverse route {n}":"Rota diversa {n}", +"Djibouti down to Durban, hugging the East African coast. Laughs at pirates and anchors.":"De Djibouti até Durban, colado na costa da África Oriental. Ri de piratas e de âncoras.", +"Do the Kehrwoche: keep your NOC free of incidents older than a week.":"Faça a Kehrwoche: mantenha seu NOC livre de incidentes com mais de uma semana.", +"Done":"Pronto", +"Done in {d} days!":"Feito em {d} dias!", +"Done!":"Pronto!", +"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.", +"Down from 2 to 5 p.m. every day. By design.":"Fora do ar das 14h às 17h todo dia. De propósito.", +"Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t.":"Desce a costa oeste e atravessa o Estreito de Cook até o Continente. As balsas balançam; o cabo, quase sempre, não.", +"Download PNG":"Baixar PNG", +"Download our app and enable all notifications.":"Baixe nosso app e ative todas as notificações.", +"Downstream ISP (buys transit)":"ISP downstream (compra transit)", +"Downstream ISPs, streaming startups and universities. Gear: Edge Lord 400 routers, dark fiber leases, Rainbow-in-a-Box DWDM, Ackackia 400ZR+ optics.":"ISPs downstream, startups de streaming e universidades. Equipamento: routers Edge Lord 400, aluguel de dark fiber, DWDM Rainbow-in-a-Box, ópticas Ackackia 400ZR+.", +"Drag from this router to any city on the map to lay a new link. Two paths to every POP means a backhoe can't take you offline.":"Arraste deste router até qualquer cidade no mapa para lançar um novo link. Dois caminhos para cada POP significam que uma retroescavadeira não te derruba.", +"Drag from your pink router to another city. Short hops are cheap. Oceans are not.":"Arraste do seu router rosa até outra cidade. Saltos curtos são baratos. Oceanos, não.", +"Drag onto another city":"Arraste até outra cidade", +"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.", +"Drop":"Largar", +"Dubai to Mumbai. Hits hard.":"De Dubai a Mumbai. Bate forte.", +"Dublin to London across the Irish Sea.":"De Dublin a London pelo Mar da Irlanda.", +"Due now":"A pagar agora", +"Dug the trench themselves, one field at a time.":"Cavaram a vala eles mesmos, um campo de cada vez.", +"Dunes, buggies and the corner of Brazil closest to Africa.":"Dunas, bugues e o cantinho do Brasil mais perto da África.", +"Duopoly Customer":"Cliente do duopólio", +"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.", +"Each POP's router model caps its fastest port (100G, 400G, 800G, 1.6T) and how much it can forward. Bigger waves and ports need better routers at both ends. Better models unlock with your customer level. With one router, upgrades mean a day of downtime.":"O modelo de router de cada POP limita a porta mais rápida (100G, 400G, 800G, 1.6T) e quanto ele consegue encaminhar. Waves e portas maiores pedem routers melhores nas duas pontas. Modelos melhores desbloqueiam com seu nível de clientes. Com um router só, upgrade significa um dia fora do ar.", +"Each channel is a pair of optics, one per end. ZR+ optics plug straight into your routers. Transponders sit on a shelf.":"Cada canal é um par de ópticas, uma em cada ponta. Ópticas ZR+ encaixam direto nos seus routers. Transponders ficam numa prateleira.", +"East Africa up to Europe via the Red Sea. Lemon squeezy.":"Da África Oriental até a Europa via Mar Vermelho. Moleza.", +"East Africa’s hub. Cables land in Mombasa, and mobile money runs everything.":"O hub da África Oriental. Os cabos chegam em Mombasa, e o dinheiro via celular move tudo.", +"Edit RouteScript":"Editar RouteScript", +"Egress:":"Saída:", +"Elastic interconnection, now with bacon. Raised on a farm outside BrisVegas by the bloke who starts a fibre company every time he finishes a flat white. Spin up a circuit in 59 seconds, oink in 60.":"Interconexão elástica, agora com bacon. Criada numa fazenda perto de BrisVegas pelo sujeito que abre uma empresa de fibra toda vez que termina um flat white. Um circuito em 59 segundos, um oinc em 60.", +"Embedded cache":"Cache embarcado", +"Embedded caches":"Caches embarcados", +"Ended free peering across Europe and handed it to Inter.Clink, its “interconnection partner”, who will happily sell you a direct connection. Paid peering only, over a PNI. Ring ring, it’s the invoice.":"Acabou com o peering gratuito na Europa e passou para a Inter.Clink, sua \"parceira de interconexão\", que vende uma conexão direta com prazer. Só peering pago, via PNI. Trim trim, é a fatura.", +"Enterprise DIA":"DIA corporativo", +"Enterprises, game servers, hosting, L2VPNs and DDoS protection.":"Empresas, servidores de jogos, hosting, L2VPNs e proteção DDoS.", +"Enters your network at":"Entra na sua rede em", +"Epic":"Épico", +"Escalate to their CTO":"Escalar para o CTO deles", +"Esports world final":"Final mundial de esports", +"Esports world finals, and the 4K-everything era: eyeballs in every city want 15% more. Gear: Sonic the Whitebox 64 routers.":"Finais mundiais de esports e a era do 4K em tudo: os eyeballs de cada cidade querem 15% a mais. Gear: routers Sonic the Whitebox 64.", +"Estimated latency":"Latência estimada", +"Ethiopia’s capital at 2,400 m, with no coast of its own: everything comes up from Djibouti. The coffee is the best on the map.":"A capital da Etiópia a 2.400 m, sem litoral: tudo sobe de Djibouti. O melhor café do mapa.", +"Ethiopia’s state telco: a hundred million customers and very calm about competition.":"A estatal da Etiópia: cem milhões de clientes e muito calma em relação à concorrência.", +"Europe":"Europa", +"Europe's crossroads. Lots of networks, lots of sausages.":"A encruzilhada da Europa. Muitas redes, muitas salsichas.", +"Europe’s new Atlantic gateway. Cables to Brazil, Africa and the US land down the coast in Sines.":"A nova porta atlântica da Europa. Cabos para Brasil, África e EUA chegam mais abaixo na costa, em Sines.", +"Event network":"Rede de evento", +"Event networks (a final, a festival, a keynote) need a burst of capacity in one city for a few days and pay once at the end, prorated by how much of the crowd you served; below 70% you pay a penalty. SD-WAN chains connect 3–6 of your POPs hub-and-spoke, so one broken spoke upsets the whole contract. Once you run your own dark fiber, carriers want to rent spare channels as alien waves, and on fiber you built yourself, a spare pair.":"Redes de evento (uma final, um festival, uma keynote) precisam de uma rajada de capacidade numa cidade por alguns dias e pagam uma vez no fim, proporcional a quanto do público você atendeu; abaixo de 70% você paga multa. Redes SD-WAN ligam de 3 a 6 POPs seus em hub-and-spoke, então um spoke quebrado azeda o contrato inteiro. Quando você tiver sua própria dark fiber, as operadoras vão querer alugar canais livres como alien waves, e na fibra que você mesmo construiu, um par sobrando.", +"Events, chains and wholesale":"Eventos, redes e atacado", +"Every IX is run by DE-KICKS":"Todo IX é operado pela DE-KICKS", +"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Cada porta de IX traz pedidos de peering e alertas de max-prefix, na aba Redes. Uma sessão que estoura o limite fica fora até você olhar: aumente o limite se for crescimento, deixe fora se for vazamento. Ignore seus e-mails e as redes seletivas ficam mais exigentes.", +"Every POP needs a backup generator. Our risk team saw one disaster movie.":"Todo POP precisa de um gerador de backup. Nosso time de risco viu um filme-catástrofe.", +"Every WordPress-ish site on Earth is now a crypto miner":"Todo site meio WordPress da Terra agora minera cripto", +"Every cable between the Americas squeezes past here. Nothing crosses the Darién Gap by land, so South America is always a subsea hop away.":"Todo cabo entre as Américas se espreme por aqui. Nada atravessa Darién por terra, então a América do Sul está sempre a um salto submarino.", +"Every cable through the Red Sea is cut, and so is the hop to Egypt. Get Marseille talking to Singapore anyway: round Africa, overland, or the other way round the planet.":"Todos os cabos pelo Mar Vermelho foram cortados, e o salto para o Egito também. Faça Marseille falar com Singapore mesmo assim: contornando a África, por terra ou pelo outro lado do planeta.", +"Every customer type is unlocked. Go get those terabits.":"Todos os tipos de cliente estão desbloqueados. Vai lá buscar esses terabits.", +"Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.":"Cada porta de IX traz e-mails. Responda aos pedidos de peering e olhe as sessões que estouraram o limite de max-prefix: é crescimento ou vazamento de rotas? E-mail sem resposta te dá uma reputação, e as redes seletivas ficam sabendo.", +"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.", +"Every hyperscaler is building a region here. The land is cheap and the biryani is excellent.":"Todo hyperscaler está construindo uma region aqui. O terreno é barato e o biryani é excelente.", +"Every hyperscaler’s European HQ, mostly for tax reasons. The power grid is nervous.":"A sede europeia de todo hyperscaler, principalmente por motivos fiscais. A rede elétrica está nervosa.", +"Every link has latency. High-frequency traders pay a fortune for a circuit within their latency budget; route them “Lowest latency”. Bulk backup customers do not care, so route them “Scenic” over your quiet links to keep busy ones free.":"Todo link tem latência. Traders de alta frequência pagam uma fortuna por um circuito dentro do orçamento de latência deles; roteie-os por “Menor latência”. Clientes de backup em massa não ligam, então roteie-os pela “Panorâmica” nos seus links tranquilos para deixar livres os movimentados.", +"Every network on the map. Traffic share is how much of your users' traffic goes to them. Tap a connection to jump to its POP.":"Todas as redes do mapa. A fatia de tráfego é quanto do tráfego dos seus usuários vai para elas. Toque numa conexão para ir ao POP dela.", +"Every port is taken. Add a router or swap to a model with more ports before you plug in anything new.":"Todas as portas estão ocupadas. Adicione um router ou troque por um modelo com mais portas antes de plugar algo novo.", +"Every port that connects you to another network, and where it is. Filter by type, city or network, and tap Open to go to it.":"Toda porta que te liga a outra rede, e onde ela fica. Filtre por tipo, cidade ou rede, e toque em Abrir para ir até ela.", +"Every session comes with a coffee break. Strictly enforced.":"Toda sessão vem com pausa pro café. Obrigatória.", +"Every wave, fabric circuit and dark fiber IRU you rent between two of your POPs, next to what leased dark fiber or your own fiber would cost. Estimates include the line system, amplifiers and enough optics for today’s capacity. Build first, move the traffic, then cancel the lease.":"Cada wave, circuito de fabric e IRU de dark fiber que você aluga entre dois POPs seus, ao lado do que custaria uma dark fiber alugada ou sua própria fibra. As estimativas incluem o line system, amplificadores e ópticos suficientes para a capacidade de hoje. Construa primeiro, mova o tráfego e depois cancele o aluguel.", +"Everyone who pays you, happiest last. Below 60% they start to grumble, below 30% they are furious, and at 0% they cancel.":"Todo mundo que te paga, os mais felizes por último. Abaixo de 60% começam a reclamar, abaixo de 30% ficam furiosos, e em 0% cancelam.", +"Everything is in one building. Move some uplinks to the other site from the Transit and Peering tabs.":"Está tudo num prédio só. Mova alguns uplinks para o outro site nas abas Transit e Peering.", +"Everywhere at Once":"Em todo lugar ao mesmo tempo", +"Exit: {exit} in {city}.":"Saída: {exit} em {city}.", +"Explore →":"Explorar →", +"Export save":"Exportar save", +"Export save download a file":"Exportar save baixar um arquivo", +"Eyeball demand":"Demanda de eyeballs", +"Eyeball traffic down 30%":"Tráfego de eyeballs cai 30%", +"Eyeballs":"Eyeballs", +"Eyeballs grow 50% faster":"Eyeballs crescem 50% mais rápido", +"Eyeballs online!":"Eyeballs online!", +"Eyeballs you stop serving":"Eyeballs que você deixa de atender", +"Fabric circuit to one of your POPs":"Circuito de fabric até um dos seus POPs", +"Fabric outage":"Fabric fora do ar", +"Fabric ports":"Portas de fabric", +"Fabrics: {list}":"Fabrics: {list}", +"Faceplant got tired of Korean usage fees and quietly moved Korean users to its Hong Kong servers. Pages crawl in for everyone in Seoul. The regulator is drafting a fine.":"O Faceplant cansou das taxas de uso coreanas e mudou em silêncio os usuários coreanos para os servidores de Hong Kong. As páginas se arrastam para todo mundo em Seoul. O regulador está preparando uma multa.", +"Failures":"Falhas", +"Family-run since dial-up. Still answers the phone.":"Familiar desde a internet discada. Ainda atende o telefone.", +"Far from everything. Every packet here has a long journey home.":"Longe de tudo. Todo pacote daqui tem uma longa viagem de volta pra casa.", +"Fast fiber east and west, and one very nervous subsea cable to Germany.":"Fibra rápida para leste e oeste, e um cabo submarino bem nervoso até a Alemanha.", +"Fat Finger":"Dedo gordo", +"Fat-fingered ROADM":"ROADM com dedo gordo", +"Fat-fingered wave":"Wave com dedo gordo", +"Feb":"fev", +"Fiber across the sertão of the Northeast, one dirt road at a time.":"Fibra pelo sertão do Nordeste, uma estrada de terra de cada vez.", +"Fiber cut":"Fibra cortada", +"Fiber from {city}":"Fibra de {city}", +"Fiber laid along the bike lanes. Fastest in the rain.":"Fibra lançada ao longo das ciclovias. Mais rápida na chuva.", +"Fiber laid under the tram tracks during a night shift.":"Fibra lançada sob os trilhos do bonde num turno da noite.", +"Fiber pairs":"Pares de fibras", +"Fiber strung along the chairlifts. Seasonal latency.":"Fibra esticada ao longo dos teleféricos. Latência sazonal.", +"Fiber to the Italian home, with a website from 2003.":"Fibra até a casa dos italianos, com um site de 2003.", +"Fibre to the Basement":"Fibra até o porão", "Fiji to Samoa. Always room for one more packet.":"De Fiji a Samoa. Sempre cabe mais um pacote.", "Fiji to Tonga, the only way in. Try saying it three times fast.":"De Fiji a Tonga, o único caminho. Tente falar três vezes bem rápido.", "Fiji’s capital and the crossroads of the South Pacific. Cables between the US, Australia and New Zealand stop here, and smaller ones go on to Tonga and Samoa.":"A capital de Fiji e a encruzilhada do Pacífico Sul. Os cabos entre os EUA, a Austrália e a Nova Zelândia param aqui, e cabos menores seguem para Tonga e Samoa.", "Fiji’s international gateway. Very clever about where your traffic should go, as long as it goes through Suva.":"O gateway internacional de Fiji. Muito esperto sobre para onde seu tráfego deve ir, desde que passe por Suva.", +"Fill in form T-17b in triplicate, every month, forever.":"Preencha o formulário T-17b em três vias, todo mês, pra sempre.", +"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.", +"Fin-P network processor":"network processor Fin-P", +"Fin-P6 network processor":"network processor Fin-P6", +"Finish a weekly challenge.":"Termine um desafio semanal.", +"Finish in 1 day {price}":"Concluir em 1 dia {price}", +"Finnish engineering: indestructible, extremely thorough, and the CLI only speaks hierarchical config. Boots like a Nordic sunrise.":"Engenharia finlandesa: indestrutível, minuciosa ao extremo, e a CLI só fala config hierárquica. Liga como um amanhecer nórdico.", +"Fire the AI":"Demitir a IA", +"Fire the HackBack 3000™ and flatten an innocent.":"Dispare o HackBack 3000™ e derrube um inocente.", +"Five Nines":"Cinco noves", +"Five continents":"Cinco continentes", +"Fix the LACP config":"Corrigir a config do LACP", +"Fixed config, deep buffers, a well-groomed beard and an eyepatch. Runs EOS, the Extensible Operating Ship. Boots before your oat-milk flat white is ready, and ships a Python shell nobody asked for.":"Config fixa, buffers profundos, barba bem aparada e tapa-olho. Roda EOS, o Extensible Operating Ship. Liga antes do seu flat white com leite de aveia ficar pronto, e vem com um shell Python que ninguém pediu.", +"Fixed mux plus amplifiers. Up to 16 channels, no remote switching.":"Mux fixo mais amplificadores. Até 16 canais, sem comutação remota.", +"Flawless.":"Impecável.", +"Flood Season":"Temporada de Enchentes", +"Floods held":"Enxurradas contidas", +"Floods that got through":"Enxurradas que passaram", +"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.", +"Flowspec cannot catch an {vec} (application layer)":"Flowspec não pega um {vec} (camada de aplicação)", +"Flowspec drop rules live in router TCAM, so only capable routers filter known UDP floods (DNS, NTP, CLDAP, SYN) at the edge. The used Rusty has none, merchant-silicon and whitebox models do a little, the big chassis do it in full. Upgrade a POP’s router from its Infra tab.":"As regras de descarte do Flowspec ficam na TCAM do router, então só routers capazes filtram floods UDP conhecidos (DNS, NTP, CLDAP, SYN) na borda. O Rusty usado não tem nenhuma, os modelos merchant-silicon e whitebox fazem um pouco, os chassis grandes fazem tudo. Faça upgrade do router de um POP na aba Infra.", +"Flowspec on your {model} is dropping {vec} at the edge":"O Flowspec no seu {model} está descartando {vec} na borda", +"Flowspec on your {model} trims {vec}, but its TCAM is small":"O Flowspec no seu {model} reduz {vec}, mas a TCAM é pequena", +"Flowspec-capable POPs":"POPs com Flowspec", +"Follow metrics":"Seguir métricas", +"Football, films and a router that looks like a spaceship.":"Futebol, filmes e um router com cara de nave espacial.", +"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.", +"For comparison, a leased 1.6T wave on this route is {price}/mo. Optics come next, from the link panel.":"Para comparar, uma wave alugada de 1.6T nesta rota sai {price}/mês. A óptica vem depois, pelo painel do link.", +"For reporting layout bugs: shows what your screen tells the game.":"Para reportar bugs de layout: mostra o que sua tela informa ao jogo.", +"Foreign networks need a local joint venture and an operating license to build infrastructure here.":"Redes estrangeiras precisam de uma joint venture local e de uma licença de operação para construir infraestrutura aqui.", +"Formerly a Shopping Mall":"Ex-Shopping Center", +"Forwarding chip":"Chip de forwarding", +"Forwarding load":"Carga de forwarding", +"Found your own IX {cost} + {mo}/mo":"Fundar seu próprio IX {cost} + {mo}/mês", +"Founded after a pub quiz, by the losing team.":"Fundado depois de um pub quiz, pelo time que perdeu.", +"Four seasons in one day, and the racks feel every one of them.":"Quatro estações num dia só, e os racks sentem cada uma delas.", +"Free channels":"Canais livres", +"Free cooling and geothermal power. Plenty of data centers, very few cables.":"Resfriamento grátis e energia geotérmica. Data center de sobra, pouquíssimos cabos.", +"Friend of Giants":"Amigo dos gigantes", +"From":"De", +"From {city}":"De {city}", +"Frost heave cracked the duct on {a}–{b}, and a beaver did the rest.":"O congelamento do solo rachou o duto em {a}–{b}, e um castor fez o resto.", +"Fujairah to Mumbai, round the tip of India to Chennai, then on to Singapore.":"De Fujairah a Mumbai, contornando a ponta da Índia até Chennai, e depois até Singapura.", +"Full C-band, remotely reconfigurable, takes long-haul transponders. Up to 64 channels.":"C-band completa, reconfigurável remotamente, aceita transponders long-haul. Até 64 canais.", +"Full changelog":"Changelog completo", +"Full screen, works offline, one tap from your home screen.":"Tela cheia, funciona offline, a um toque da sua tela inicial.", +"Full screen.":"Tela cheia.", +"Game":"Jogo", +"Game paused.":"Jogo pausado.", +"Game servers":"Servidores de jogos", +"Game servers, energy drinks and a ping obsession.":"Servidores de jogos, energéticos e uma obsessão por ping.", +"Game speed":"Velocidade do jogo", +"Gangnam Style Peering":"Gangnam Style Peering", +"Gateway to the Amazon, at the mouth of a river so wide you cannot see the other side. It rains every afternoon, right on schedule.":"Porta de entrada da Amazônia, na foz de um rio tão largo que não dá para ver a outra margem. Chove toda tarde, na hora marcada.", +"Gave a billion people cheap data. Knows exactly where every one of them is.":"Deu dados baratos a um bilhão de pessoas. Sabe exatamente onde cada uma está.", +"Generator!":"Gerador!", +"Genoa to Sicily and on to Athens, laid by a search giant that got tired of renting.":"De Genova à Sicília e depois até Athens, lançado por um gigante das buscas que cansou de alugar.", +"Geopolitical cable cut":"Corte geopolítico de cabo", +"Germany’s port city. Everyone says “Moin”, at any time of day, and the rain comes in sideways off the Elbe.":"A cidade portuária da Alemanha. Todo mundo diz “Moin”, a qualquer hora do dia, e a chuva vem de lado do Elba.", +"Get a port at an IX: a big shared switch where networks swap traffic for free instead of paying transit.":"Pegue uma porta num IX: um grande switch compartilhado onde as redes trocam tráfego de graça em vez de pagar transit.", +"Get a subsea cable bitten by a shark.":"Tenha um cabo submarino mordido por um tubarão.", +"Get bitten by sharks 3 times in one game.":"Seja mordido por tubarões 3 vezes numa partida.", +"Get de-peered by a big network.":"Leve um corte de peering de uma rede grande.", +"Gets along with every other network. Famously chill.":"Se dá bem com todas as outras redes. Famoso por ser de boa.", +"Ghana’s capital and a favourite landing spot for cables. Fast fiber, slow traffic on the ring road.":"A capital de Gana e um dos pontos de chegada favoritos dos cabos. Fibra rápida, trânsito lento no anel viário.", +"Gigabit home broadband for the price of a coffee. Customers here expect a lot for very little.":"Banda larga gigabit em casa pelo preço de um café. Os clientes aqui esperam muito por quase nada.", +"Gigabit to every flat for the price of a coffee. Peers with anyone.":"Gigabit em todo apartamento pelo preço de um café. Faz peering com qualquer um.", +"Gigawatt Landlord":"Senhor do gigawatt", +"Give our CEO’s nephew a job. He needs {price}/mo and a parking spot.":"Dê um emprego ao sobrinho do nosso CEO. Ele precisa de {price}/mês e uma vaga na garagem.", +"Giving it up now returns {price}.":"Desistir agora devolve {price}.", +"Global backbone":"Backbone global", +"Go global":"Vire global", +"Go there":"Ir lá", +"Go transit-free.":"Fique transit-free.", +"Go transit-free: Tier 1!":"Livre de transit: Tier 1!", +"Goal":"Meta", +"Goal complete: {name}":"Meta concluída: {name}", +"Goals":"Metas", +"Goals & NOC":"Metas e NOC", +"Going to customers in":"Indo para clientes em", +"Gold-plated servers, valet parking for packets.":"Servidores banhados a ouro, manobrista para os pacotes.", +"Goose incident":"Incidente com ganso", +"Got it":"Entendi", +"Government shutdown":"Shutdown do governo", +"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.", +"Greece’s incumbent. Takes careful notes on every peering request.":"A incumbent da Grécia. Anota tudo com cuidado em cada pedido de peering.", +"Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.":"Saudações. Somos uma rede em rápido crescimento. Ano passado tínhamos um cliente; este ano temos dois.", +"Grew from a seedling into a global backbone. Leaves no route behind.":"Cresceu de mudinha a backbone global. Não deixa nenhuma rota pra trás.", +"Grilled ports, served with mustard and a cold beer.":"Portas na brasa, servidas com mostarda e uma cerveja gelada.", +"Grow: drag from your pink router onto a nearby city to lay fiber and open a second POP.":"Cresça: arraste do seu router rosa até uma cidade próxima para lançar fibra e abrir um segundo POP.", "Guam to the Marshall Islands, with a stop on every atoll that writes in.":"De Guam às Ilhas Marshall, com uma parada em cada atol que manda carta pedindo.", "Guam’s incumbent and the way out for half of Micronesia. The prices are a heist, but nobody else is selling.":"A incumbente de Guam e a saída para meia Micronésia. Os preços são um assalto, mas ninguém mais vende.", "Guam’s mobile network: rice, a burger, a fried egg and lots of gravy, served over 5G.":"A rede móvel de Guam: arroz, hambúrguer, ovo frito e muito molho, servidos via 5G.", +"HTTP flood":"flood HTTP", +"HackBack 3000™ $20k":"HackBack 3000™ $20k", +"Haggle":"Pechinchar", +"Haggle a DE-KICKS quote down.":"Pechinche um orçamento da DE-KICKS.", +"Haggles left: {n}.":"Pechinchas restantes: {n}.", +"Half of the Flanders duopoly, on coax. Keeps a tiny port at Frites-IX and hides behind its international parent, so bring a PNI.":"Metade do duopólio de Flandres, no coaxial. Mantém uma porta minúscula no Frites-IX e se esconde atrás da matriz internacional, então leve um PNI.", +"Half speed":"Meia velocidade", "Halfway between California and everything else in the Pacific. Cables from the US, Australia, New Zealand, Guam and Tahiti come ashore on Oahu. A POP here ends the light’s long swim: waves start fresh on each side, so each half carries more.":"No meio do caminho entre a Califórnia e todo o resto do Pacífico. Os cabos dos EUA, da Austrália, da Nova Zelândia, de Guam e do Taiti chegam a Oahu. Um POP aqui encerra o longo nado da luz: as waves recomeçam do zero de cada lado, então cada metade carrega mais.", +"Hallway Track":"Papo de corredor", +"Happiness":"Satisfação", +"Happiness {p}%":"Satisfação {p}%", +"Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.":"Modo difícil. Tudo que vai para fora custa uma fortuna, os locais pagam caro, principalmente para a Nearly Broadband Network, e todo o resto quer te matar.", +"Hardware prices":"Preços de hardware", +"Has had a /8 since before you were born.":"Tem um /8 desde antes de você nascer.", +"Has more batteries than customers.":"Tem mais baterias do que clientes.", +"Has served the lake since 1912. Now with fiber.":"Atende o lago desde 1912. Agora com fibra.", +"Hash polarisation on your {lab}: nearly every flow hashes onto the same member. The bundle says it is up. It is also full.":"Polarização de hash no seu {lab}: quase todo fluxo cai no mesmo membro. O bundle diz que está up. Também está lotado.", +"Have Auto-TE move 100 Gbps onto alternate paths at once.":"Faça o Auto-TE mover 100 Gbps para caminhos alternativos de uma vez.", +"Have POPs in 50 cities.":"Tenha POPs em 50 cidades.", +"Have POPs on 3 continents. Subsea cables cost a fortune, so plan the route.":"Tenha POPs em 3 continentes. Cabos submarinos custam uma fortuna, então planeje a rota.", +"Have a cable cut by a dragged anchor.":"Tenha um cabo cortado por uma âncora arrastada.", +"Have a fiber cut.":"Sofra um corte de fibra.", +"Have a second site in 3 metros.":"Tenha um segundo site em 3 cidades.", +"Have ports on 10 internet exchanges.":"Tenha portas em 10 internet exchanges.", +"Have your fiber bitten by a crocodile.":"Tenha sua fibra mordida por um crocodilo.", +"Have your fiber chewed through by a beaver.":"Tenha sua fibra roída por um castor.", "Hawaii’s incumbent. Every plan comes with two scoops of rice and a side of macaroni salad.":"A incumbente do Havaí. Todo plano vem com duas conchas de arroz e uma porção de salada de macarrão.", +"Held the Flood":"Segurou a enxurrada", +"Hello! I am Large Peering Model. I have read your inbox and I already have opinions.":"Olá! Eu sou o Large Peering Model. Li sua caixa de entrada e já tenho opiniões.", +"Hello, Neighbour":"Olá, vizinho", +"Hello, please find attached our peering request as a Word document, scanned from a printout.":"Olá, segue em anexo nosso pedido de peering como documento Word, escaneado de uma impressão.", +"Help and ready-made scripts":"Ajuda e scripts prontos", +"Helsinki to Germany under the Baltic. Anchors keep finding it.":"De Helsinki à Alemanha por baixo do Báltico. As âncoras vivem achando ele.", +"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”.", +"Hey, quick one: can you peer with us at {ix}? We have a very important Minecraft server.":"E aí, rapidinho: dá pra fazer peering com a gente no {ix}? Temos um servidor de Minecraft muito importante.", +"Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.":"Oi! Gostaríamos de fazer peering com vocês no {ix}. Nosso registro no PeeringDB está atualizado.", +"Hide":"Ocultar", +"Hide other models":"Ocultar outros modelos", +"Hide the vacuum":"Esconder o aspirador", +"High up in the Andes. No fiber crosses the Darién Gap jungle to Panama, so the way north is under the sea.":"Lá no alto dos Andes. Nenhuma fibra atravessa a selva de Darién até o Panamá, então o caminho para o norte é por baixo do mar.", +"High-frequency trading link":"Link para trading HFT", +"Hire extra crews {price} · −30 days":"Contratar equipes extras {price} · −30 dias", +"Hire it {mo}/mo":"Contratar {mo}/mês", +"Hits the high notes across the Atlantic. Huge capacity, cheap waves.":"Alcança as notas altas do Atlântico. Capacidade enorme, waves baratas.", +"Hold 20 floods, 5 of them over 1 Tbps, keeping the city under attack at 97% or better":"Aguente 20 enxurradas, 5 delas acima de 1 Tbps, mantendo a cidade atacada em 97% ou mais", +"Hold a billion dollars in cash.":"Tenha um bilhão de dólares em caixa.", +"Hold an AI WAN, a training run, an ingest and a fiber-pairs deal at the same time.":"Tenha ao mesmo tempo um contrato de AI WAN, um training run, um ingest e um de pares de fibra.", +"Hold deals at 3 different AI campuses at once.":"Tenha contratos em 3 campi de IA diferentes ao mesmo tempo.", +"Hold music":"Música de espera", +"Home broadband":"Banda larga residencial", +"Home broadband users. They mostly download from CDNs and pay you per Gbps you deliver. Serve them well and they multiply.":"Usuários de banda larga residencial. Eles baixam principalmente de CDNs e te pagam por Gbps entregue. Atenda bem e eles se multiplicam.", "Honolulu, in the middle of the Pacific. The cables between the Americas, Asia and Australia are so long that a wave on them carries only 400G or 800G. Stop the light on an island, start it fresh, and every hop gets shorter and faster. You start with 1.6T gear unlocked.":"Honolulu, no meio do Pacífico. Os cabos entre as Américas, a Ásia e a Austrália são tão longos que uma wave neles carrega só 400G ou 800G. Pare a luz numa ilha, recomece do zero, e cada trecho fica mais curto e mais rápido. Você começa com equipamento 1.6T desbloqueado.", +"Hops from New York to the UK and Spain.":"Pula de New York para o Reino Unido e a Espanha.", +"Hops the Caribbean so Bogotá can skip the jungle.":"Pula pelo Caribe pra Bogotá não precisar passar pela selva.", +"Hops via Greenland. Polar bears included.":"Faz escala na Groenlândia. Ursos-polares inclusos.", +"Host an embedded cache":"Hospede um cache embedded", +"Hosting":"Hosting", +"Hosting customers patching at 3 a.m.":"Clientes de hospedagem aplicando patch às 3 da manhã", +"Hosting for every family restaurant in the south.":"Hosting para toda cantina de família do Sul.", +"Hosting for surfboard shops. Closed when the waves are good.":"Hosting para lojas de prancha de surfe. Fecha quando o mar está bom.", +"Hosts every game you play at 2 a.m. Hates jitter.":"Hospeda todo jogo que você joga às 2 da manhã. Odeia jitter.", +"Hosts exactly one website and three lawyers.":"Hospeda exatamente um site e três advogados.", +"How RouteScript works":"Como o RouteScript funciona", +"How it arrives":"Como chega", +"How the internet works here":"Como a internet funciona aqui", +"How to play":"Como jogar", +"Huge eyeball market. Pricey neighbours.":"Mercado enorme de eyeballs. Vizinhos caros.", +"Huge eyeball network. Come for the broadband, stay because there is no other choice.":"Rede eyeball gigante. Vem pela banda larga, fica porque não tem outra opção.", +"Huge in Asia. \"Which telecom?\" \"Not that one.\"":"Enorme na Ásia. \"Qual telecom?\" \"Não essa.\"", +"Huge mobile market. Most of its traffic still detours through the US.":"Mercado mobile enorme. A maior parte do tráfego ainda dá a volta pelos EUA.", +"Huge, dense and hungry. Its international traffic squeezes through a couple of cables, or comes overland from India.":"Enorme, densa e faminta. O tráfego internacional se espreme por um par de cabos ou vem por terra da Índia.", +"Hundred Terabits":"Cem terabits", +"Hundreds of fiber pairs":"Centenas de pares de fibra", +"Hyperscaler DCI":"DCI de hyperscaler", +"I Survived the Elephant":"Sobrevivi ao elefante", +"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.", +"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.", +"IP transit":"IP transit", +"IPv6 milestone":"Marco do IPv6", +"IPv6 or bust: you must peer with Drizzle Electric":"IPv6 ou nada: você precisa fazer peering com a Drizzle Electric", +"IRU handover":"Entrega do IRU", +"IRU lease":"Aluguel do IRU", +"IX (Internet Exchange)":"IX (Internet Exchange)", +"IX Collector":"Colecionador de IX", +"IX blackhole ~half honour it":"Blackhole IX ~metade respeita", +"IX blackhole on ✓":"Blackhole IX ativo ✓", +"IX meltdown":"Pane no IX", +"IX members on {ix}: {n}":"Membros do IX em {ix}: {n}", +"IX peering":"Peering IX", +"IX peering beats transit":"peering no IX vence transit", +"IX ports":"Portas IX", +"IX.brrr ports":"Portas no IX.brrr", +"IX: {ix}":"IX: {ix}", +"Iceland to Denmark, choreographed.":"Da Islândia à Dinamarca, com coreografia.", +"Iceland to Ireland, brand new and still smells like plastic.":"Da Islândia à Irlanda, novinho em folha e ainda com cheiro de plástico.", +"Iceland’s lifeline to Scotland. Lonely but determined.":"A tábua de salvação da Islândia até a Escócia. Solitário, mas determinado.", +"Import a save":"Importar um save", +"Import a save from a file":"Importar um save de um arquivo", +"In Debt We Trust":"In Debt We Trust", +"In the Gulf, Saudi POPs need a local telecom licence and data on Saudi users stays in the Kingdom; gigaprojects ask for huge demo networks; and now and then the neighbours fall out and every link between Qatar and Saudi Arabia or the UAE goes dark for months, so keep a sea route. South America hangs off Miami: transit is pricier, nothing crosses the Darién Gap by land, and fiber over the Andes costs double and breaks often. IX.brrr in Brazil is run by a nonprofit with cheap public prices, and small Brazilian provedores buy transit in bulk. Inside the UAE only the duopoly may run fiber, so no dark fiber and 3× waves. Korea runs on “sender pays”: transit into Seoul costs about four times the usual price and the three incumbents only peer over paid PNIs, billed per gigabit you send them. Taiwan’s cables meet a lot of anchors, Indian fiber meets road widening and the monsoon, and South Africa has load shedding: bring a generator. Australia is a long way from everywhere: transit and waves cost more than almost anywhere else, though the IX ports are cheap. Homes pay well for broadband, but the Nearly Broadband Network keeps almost half of every bill. The routers are mounted upside down, and everything else is trying to kill you.":"No Golfo, POPs sauditas precisam de licença de telecom local e dados de usuários sauditas ficam no Reino; gigaprojetos pedem redes de demonstração enormes; e de vez em quando os vizinhos brigam e todo link entre o Catar e a Arábia Saudita ou os Emirados apaga por meses, então mantenha uma rota pelo mar. A América do Sul depende de Miami: o transit é mais caro, nada atravessa o Tampão de Darién por terra, e fibra pelos Andes custa o dobro e quebra muito. O IX.brrr no Brasil é tocado por uma entidade sem fins lucrativos com preços públicos baratos, e os pequenos provedores brasileiros compram transit no atacado. Dentro dos Emirados só o duopólio pode passar fibra, então nada de dark fiber e waves a 3×. A Coreia roda no “sender pays”: transit para Seoul custa umas quatro vezes o preço normal e as três incumbentes só fazem peering via PNI pago, cobrado por gigabit que você manda. Os cabos de Taiwan encontram muitas âncoras, a fibra indiana encontra obras de alargamento de estrada e a monção, e a África do Sul tem racionamento de energia: leve um gerador. A Austrália fica longe de tudo: trânsito e waves custam mais do que em quase qualquer lugar, embora as portas de IX sejam baratas. As casas pagam bem pela banda larga, mas a Nearly Broadband Network fica com quase metade de cada conta. Os roteadores são instalados de cabeça para baixo, e todo o resto quer te matar.", +"In use":"Em uso", +"Inbox":"Caixa de entrada", +"Inbox zero.":"Caixa zerada.", +"Inbox zero. Enjoy it while it lasts.":"Caixa zerada. Aproveite enquanto dura.", +"Incident":"Incidente", +"Incidents":"Incidentes", +"Incidents so far":"Incidentes até agora", +"Incidents survived":"Incidentes superados", +"Includes a new POP in {city} ({price}{extra}).":"Inclui um novo POP em {city} ({price}{extra}).", +"Includes the mandatory government box in your rack: {cost} + {mo}/mo. It comes with its own listener.":"Inclui a caixa obrigatória do governo no seu rack: {cost} + {mo}/mês. Já vem com ouvinte próprio.", +"India, the Middle East and Western Europe, all on one cable. Lands in Cairo on the way.":"Índia, Oriente Médio e Europa Ocidental, tudo num cabo só. Passa pelo Cairo no caminho.", +"India’s east-coast landing hub, with cables to Singapore. Cyclone season is a thing.":"O hub de chegada da costa leste da Índia, com cabos para Singapura. A temporada de ciclones é coisa séria.", +"India’s other giant. Every outage comes with a story.":"O outro gigante da Índia. Toda queda vem com uma história.", +"India’s tech capital. Packets move faster than the cars outside.":"A capital tech da Índia. Os pacotes andam mais rápido que os carros lá fora.", +"Indonesia’s mobile giant. Every packet poses for a photo first.":"O gigante mobile da Indonésia. Todo pacote faz pose pra foto antes.", +"Infra":"Infra", +"Inland from Ostend, where the cables from England come ashore. The North Sea is shallow, busy and full of trawlers.":"No interior a partir de Ostende, onde chegam os cabos da Inglaterra. O Mar do Norte é raso, movimentado e cheio de barcos de arrasto.", +"Inside the UAE only the two licensed operators, Etis-a-lot and Du-opoly, may run fiber. No dark fiber, no digging your own, and waves cost 3×.":"Nos Emirados, só as duas operadoras licenciadas, Etis-a-lot e Du-opoly, podem passar fibra. Nada de dark fiber, nada de cavar por conta própria, e as waves custam 3×.", +"Insists on two routers in their city":"Exige dois routers na cidade dele", +"Inspect":"Inspecionar", +"Install":"Instalar", +"Install Auto-TE {cost} + {mo}/mo":"Instalar Auto-TE {cost} + {mo}/mês", +"Install first.":"Instale primeiro.", +"Install generator {cost} + {mo}/mo":"Instalar gerador {cost} + {mo}/mês", +"Install it before you start: a game begun in Safari stays in Safari.":"Instale antes de começar: um jogo iniciado no Safari fica no Safari.", +"Install the app":"Instalar o app", +"Installed":"Instalado", +"Instant approval. Instant regret.":"Aprovação instantânea. Arrependimento instantâneo.", +"Interconnection fabrics (NNI)":"Fabrics de interconexão (NNI)", +"Internal path over {n} link, chosen by distance and link metrics.":"Caminho interno por {n} link, escolhido por distância e métricas de link.", +"Internal path over {n} link, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Caminho interno por {n} link, escolhido por distância e métricas de link. O Auto-TE pode desviar o excesso quando este encher.", +"Internal path over {n} links, chosen by distance and link metrics.":"Caminho interno por {n} links, escolhido por distância e métricas de link.", +"Internal path over {n} links, chosen by distance and link metrics. Auto-TE may move overflow elsewhere when this is full.":"Caminho interno por {n} links, escolhido por distância e métricas de link. O Auto-TE pode desviar o excesso quando este encher.", +"Internet Exchange":"Internet Exchange", +"Internet Exchanges":"Internet Exchanges", +"Internet cafe turned ISP. The gamers came for the ping.":"Lan house que virou ISP. Os gamers vieram pelo ping.", +"Internet weather system":"Sistema meteorológico da internet", +"Investor revenue share":"Receita dividida com investidores", +"Ireland to Norway, the long way round the top of Scotland. Vikings, but in reverse.":"Da Irlanda à Noruega, pelo caminho mais longo, contornando o topo da Escócia. Vikings, só que ao contrário.", +"Iron Curtain Call":"Cortina de Ferro", +"Is This the Internet?":"Isso é a internet?", +"Island Hopper":"De ilha em ilha", +"Istanbul to Bucharest's coast across the Black Sea.":"De Istanbul à costa de Bucharest pelo Mar Negro.", +"It almost never rains, but the sea fog keeps the racks cool.":"Quase nunca chove, mas a neblina do mar mantém os racks fresquinhos.", +"It is dark. Add optics to light it up.":"Está apagada. Adicione ópticas para acendê-la.", +"It is full, so some traffic overflows to the next exit.":"Está cheia, então parte do tráfego transborda para a próxima saída.", +"It opens straight into your network, like any other app.":"Abre direto na sua rede, como qualquer outro app.", +"It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.":"Roda na sua própria fibra, então a Nearly Broadband Network não leva nada. O governo ainda cobra uma taxa de {pct}.", +"It takes two to peer.":"Quando um não quer, dois não fazem peering.", +"It was DNS":"Foi o DNS", +"It's not DNS. There's no way it's DNS. It was DNS.":"Não é DNS. Não tem como ser DNS. Era DNS.", +"Italian immigrants, vineyards and factories. Your racks share the hills with the grape harvest.":"Imigrantes italianos, vinhedos e fábricas. Seus racks dividem as serras com a colheita da uva.", +"Italy’s digital capital. Fashion-week traffic, an espresso-powered NOC and more exchanges than you would expect.":"A capital digital da Itália. Tráfego de fashion week, um NOC movido a espresso e mais exchanges do que você imaginaria.", +"Italy’s incumbent. Sweet on the outside, very firm about peering ratios.":"A incumbent da Itália. Doce por fora, firme demais nos ratios de peering.", +"Its predecessor was FASTER. Marketing had a good day.":"O antecessor era o FASTER. O marketing estava inspirado.", +"Jan":"jan", +"Japanese carrier that builds everything itself. Even the cable ships.":"Operadora japonesa que constrói tudo sozinha. Até os navios lançadores de cabo.", +"Japan’s second hub, and Tokyo’s disaster-recovery plan. Earthquakes rarely hit both.":"O segundo hub do Japão e o plano de disaster recovery de Tóquio. Terremotos raramente atingem as duas.", +"Jerry-cho deep-buffer silicon":"silício deep-buffer Jerry-cho", +"Jerry-cho³ deep-buffer silicon":"silício deep-buffer Jerry-cho³", +"Jerry-cho⁵ deep-buffer silicon":"silício deep-buffer Jerry-cho⁵", +"Join an Internet Exchange":"Entre num Internet Exchange", +"Join route server":"Entrar no route server", +"Join the NOC chat":"Entre no chat do NOC", +"Join →":"Entrar →", +"Juicy reach into Europe and Africa.":"Alcance suculento na Europa e na África.", +"Jul":"jul", +"Jun":"jun", +"Junk traffic is eating your capacity. Open the NOC to fight back.":"Tráfego lixo está comendo sua capacidade. Abra o NOC para revidar.", +"Just in time.":"Bem na hora.", +"Keep Calm":"Fique calmo", +"Keep POPs on at least 2 continents. Diversification!":"Mantenha POPs em pelo menos 2 continentes. Diversificação!", +"Keep a spares kit {price}/mo":"Manter kit de reserva {price}/mês", +"Keep at least one POP.":"Mantenha pelo menos um POP.", +"Keep building":"Continuar construindo", +"Keep it down":"Deixar fora", +"Keep playing":"Continuar jogando", +"Keep them":"Manter", +"Keep your peering ratio above 30%. The bank read a blog post about peering.":"Mantenha sua taxa de peering acima de 30%. O banco leu um post de blog sobre peering.", +"Kenya to the Gulf. Makes the dream work.":"Do Quênia ao Golfo. Faz o sonho acontecer.", +"Kenya’s mobile giant. Pays you in M-Pesos.":"O gigante mobile do Quênia. Te paga em M-Pesos.", +"Kept the lights on in its town through every blackout.":"Manteve as luzes acesas na sua cidade em todos os apagões.", +"Kept {who} down at {ix} for “suspicious growth”. They had grown by one customer.":"Deixou {who} fora no {ix} por “crescimento suspeito”. Eles tinham ganhado um cliente.", +"Kept {who} down at {ix}: it was a route leak. Nailed it.":"Deixou {who} fora no {ix}: era um vazamento de rotas. Acertou em cheio.", +"Korea’s incumbent. Sender pays: every gigabit you hand it is billed, on top of the port.":"A incumbente da Coreia. Sender pays: cada gigabit que você entrega a ela é cobrado, além da porta.", +"L2 circuits":"Circuitos L2", +"L2VPN & DDoS protection":"L2VPN e proteção DDoS", +"L2VPN circuit":"Circuito L2VPN", +"L2VPN customers":"Clientes L2VPN", +"L2VPN for {name}":"L2VPN para {name}", +"LACP fast/slow timer mismatch on your {lab}: one member keeps timing out of the bundle and coming back.":"Timer LACP fast/slow desencontrado no seu {lab}: um membro vive dando timeout no bundle e voltando.", +"LACP trouble":"Problema de LACP", +"LAGs":"LAGs", +"Laid last century. Cuts often, costs more, still somehow running.":"Lançado no século passado. Rompe com frequência, custa mais e, sabe-se lá como, ainda funciona.", +"Land a HackBack 3000™ that actually works.":"Acerte um HackBack 3000™ que funcione de verdade.", +"Land an AI WAN, a multi-site training run or a fiber-pairs deal with a hyperscaler. Customer level 4 and a POP near their campus required.":"Conquiste uma AI WAN, um treino multi-site ou um contrato de pares de fibra com um hyperscaler. Exige nível de cliente 4 e um POP perto do campus deles.", +"Landing point for cables from the US, Iceland and the Baltic.":"Ponto de chegada de cabos dos EUA, da Islândia e do Báltico.", +"Landing stations":"Estações de ancoragem", +"Language":"Idioma", +"Large Peering Model":"Large Peering Model", +"Large Peering Model is answering your mail":"Large Peering Model está respondendo seus e-mails", +"Large Peering Model is on it.":"Large Peering Model está cuidando disso.", +"Latency":"Latência", +"Latency test":"Teste de latência", +"Later":"Depois", +"Launch broadband {cost}":"Lançar banda larga {cost}", +"Lay the cable {price}":"Lançar o cabo {price}", +"Lay your first fiber":"Lance sua primeira fibra", +"Lay your own subsea cable…":"Lançar seu próprio cabo submarino…", +"Layered, resilient and somehow always open.":"Em camadas, resiliente e, não se sabe como, sempre aberto.", +"Laying your own subsea cable is a Tier 1 thing. Go transit-free first.":"Lançar seu próprio cabo submarino é coisa de Tier 1. Primeiro fique livre de transit.", +"Leap second":"Segundo bissexto", +"Lease a wave":"Alugar uma wave", +"Lease an IRU {price}/mo · ready in 30 days":"Alugar um IRU {price}/mês · pronto em 30 dias", +"Lease an IRU or build your own (slow, with delays), then buy a line system with amplifiers and light channels with 400ZR+, 800ZR+ or 1.6T transponders. Much cheaper than waves at scale, but the gear can fail. A spares kit speeds up repairs.":"Alugue um IRU ou construa a sua (devagar, com atrasos), depois compre um line system com amplificadores e canais de luz com transponders 400ZR+, 800ZR+ ou 1.6T. Bem mais barato que waves em escala, mas o equipamento pode falhar. Um kit de peças de reposição acelera os reparos.", +"Lease dark fiber: {up} up front, {mo}/mo, ready in about {n} days.":"Alugar dark fiber: {up} à vista, {mo}/mês, pronta em cerca de {n} dias.", +"Lease hundreds of fiber pairs to a hyperscaler.":"Alugue centenas de pares de fibra a um hyperscaler.", +"Lease or dig dark fiber, put a DWDM system on it and light a channel. Cheaper per bit than waves, once it works.":"Alugue ou cave dark fiber, coloque um sistema DWDM e acenda um canal. Mais barato por bit que waves, quando funciona.", +"Leased lines":"Linhas alugadas", +"Leave IX":"Sair do IX", +"Leave anyway":"Sair mesmo assim", +"Leave route server":"Sair do route server", +"Leaves the Gulf from Fujairah and runs up the Red Sea to Europe.":"Sai do Golfo por Fujairah e sobe o Mar Vermelho até a Europa.", +"Left on Read":"Deixado no vácuo", +"Legendary":"Lendário", +"Lends you money and also a little bit of their own.":"Te empresta dinheiro e, às vezes, um pouquinho do dele também.", +"Level {n}":"Nível {n}", +"License paperwork in progress: {n} days left.":"Papelada da licença em andamento: faltam {n} dias.", +"Licenses and scrubbing":"Licenças e scrubbing", +"Light a wave on the Humboldt cable to Sydney.":"Acenda uma wave no cabo Humboldt até Sydney.", +"Light fiber pair {n} {price} + {mo}/mo":"Acender par {n} {price} + {mo}/mês", +"Light fiber pair {n} {price}":"Acender par {n} {price}", +"Light up your first customers":"Acenda seus primeiros clientes", +"Light your own dark fiber":"Acenda sua própria dark fiber", +"Lighter on paperwork than its namesake. Still heavy on paperwork.":"Menos burocracia que o xará. Ainda assim, muita burocracia.", +"Lightning hit an amp site on {a}–{b}. The surge protector was decorative.":"Um raio atingiu um site de amplificação em {a}–{b}. O protetor de surto era decorativo.", +"Lights the L-band as well: twice the spectrum, up to 128 channels on one fiber pair, and amplifiers that take twice as long to explain.":"Acende também a banda L: o dobro do espectro, até 128 canais num par de fibras, e amplificadores que levam o dobro do tempo para explicar.", +"Like blackholing, but with a Plus.":"Como blackholing, mas com um Plus.", +"Line system":"Sistema de linha", +"Link Panama City and Bogotá.":"Conecte Panama City a Bogotá.", +"Links":"Links", +"Links & routers":"Links e routers", +"Links removed":"Links removidos", +"Lisbon to Barcelona and Marseille along the coast. Look straight at the latency graph and it turns to stone.":"De Lisboa a Barcelona e Marseille pela costa. Olhe direto para o gráfico de latência e ele vira pedra.", +"List it with a capacity broker they keep 10%":"Anunciar com um corretor de capacidade ele fica com 10%", +"List price":"Preço de tabela", +"Live attack: {city}":"Ataque ao vivo: {city}", +"Live through the day half the internet went down.":"Sobreviva ao dia em que metade da internet caiu.", +"Live: {state} · {rules}":"Ao vivo: {state} · {rules}", +"Llama Drama":"Drama de lhama", +"Load":"Carregar", +"Load shedding stage {n} in {city}, and you have no generator. Buy one: here it is not optional.":"Rodízio de energia stage {n} em {city}, e você não tem gerador. Compre um: aqui não é opcional.", +"Load shedding took out {site} in {city}. {other} kept going, so the POP runs at half capacity. Anything plugged in only at the dark site is offline.":"O rodízio de energia derrubou {site} em {city}. {other} aguentou, então o POP roda com metade da capacidade. Tudo que está ligado só no site apagado está offline.", +"Load this network":"Carregar esta rede", +"Load {name}?":"Carregar {name}?", +"Load-bearing typo":"Erro de digitação estrutural", +"Loaded {name}. Check it, then deploy.":"{name} carregado. Verifique e depois faça o deploy.", +"Loan repayments":"Parcelas de empréstimos", +"Local ISP":"ISP local", +"Local breakout: transit or an IX port in their own city, or a local PNI while Tier 1":"Breakout local: transit ou uma porta de IX na cidade deles, ou um PNI local quando Tier 1", +"Lock prices for a year {cost}":"Congelar preços por um ano {cost}", +"London to Paris under the Channel. Cheaper than the train.":"De London a Paris por baixo do Canal da Mancha. Mais barato que o trem.", +"Lonely Penguin":"Pinguim solitário", +"Long Island to Cornwall. Follow it all the way to the wizard in the cable hut.":"De Long Island à Cornualha. Siga até o mago na cabine do cabo.", +"Looking glass":"Looking glass", +"Los Angeles to Chile, with a small detour for Panama.":"De Los Angeles ao Chile, com um desviozinho pelo Panamá.", "Los Angeles to Hawaii, Guam and the Philippines. See you later, packets.":"De Los Angeles ao Havaí, a Guam e às Filipinas. Até mais, pacotes.", +"Lose a metro ring to one backhoe.":"Perca um anel metro para uma única retroescavadeira.", +"Lose exclusive benefits?":"Perder benefícios exclusivos?", +"Lose fiber to a llama herd.":"Perca fibra para um rebanho de lhamas.", +"Lost":"Perdido", +"Lost on the way":"Perdido no caminho", +"Lots of small sessions on little plates.":"Várias sessõezinhas em pratinhos.", +"Low latency":"Baixa latência", +"Lowest latency":"Menor latência", +"Luxembourg’s data centers are not in Luxembourg City. They are here, Tier IV, and cooled by a power plant that burns waste wood.":"Os data centers de Luxemburgo não ficam na Cidade de Luxemburgo. Ficam aqui, Tier IV, refrigerados por uma usina que queima resíduos de madeira.", +"Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.":"Os correios de Luxemburgo, que também cuidam dos telefones e de quase toda a fibra. Seus pacotes esperam no balcão até alguém vir buscar.", +"Lv {n}":"Nv {n}", +"Lyrics servers, low latency, high pitch.":"Servidores de letras de música, latência baixa, tom alto.", +"MTU mismatch":"Mismatch de MTU", +"MTU mismatch on {a}–{b}: jumbo frames keep getting stuck in the tube. Usable capacity halved.":"MTU diferente em {a}–{b}: os jumbo frames vivem entalando no tubo. Capacidade útil pela metade.", +"Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.":"Temporada dos rasantes das pegas: os técnicos em {a}–{b} não saem da van, e seu corte continua cortado.", +"Main route":"Rota principal", +"Mainland China needs a license and a local joint venture. Many foreign services are blocked there, and traffic crossing the border loses packets unless you pay for premium routes.":"A China continental exige licença e uma joint venture local. Muitos serviços estrangeiros são bloqueados lá, e o tráfego que cruza a fronteira perde pacotes, a não ser que você pague por rotas premium.", +"Mainland China plays by its own rules. {list} and other foreign services are blocked here, so users mostly reach Chinese networks. Traffic crossing the border loses about {pct} to filtering and congestion, unless it rides a premium route: CN-Too transit or a premium cross-border circuit (both sold only in Hong Kong), or a PNI with a Chinese network. Revenue per user is lower here.":"A China continental joga com regras próprias. {list} e outros serviços estrangeiros são bloqueados aqui, então os usuários acessam principalmente redes chinesas. O tráfego que cruza a fronteira perde cerca de {pct} com filtragem e congestionamento, a menos que vá por uma rota premium: transit CN-Too ou um circuito transfronteiriço premium (ambos vendidos só em Hong Kong), ou um PNI com uma rede chinesa. A receita por usuário aqui é menor.", +"Mainland China. Behind the Great Firewall, with its own rules for foreign networks.":"China continental. Atrás do Great Firewall, com regras próprias para redes estrangeiras.", +"Mainland China. Enormous market, strict rules, and a famously congested border.":"China continental. Mercado enorme, regras rígidas e uma fronteira famosa pelo congestionamento.", +"Maintenance Window":"Janela de manutenção", +"Maintenance window":"Janela de manutenção", +"Maintenance window in {city}":"Janela de manutenção em {city}", +"Make 5 peering friends":"Faça 5 amigos de peering", +"Make sacrificial contains floods · ½ capacity":"Tornar sacrificial contém floods · ½ capacidade", +"Makes most of the world’s chips and hangs on a handful of subsea cables. Ships keep “accidentally” dragging their anchors over them.":"Fabrica a maioria dos chips do mundo e depende de um punhado de cabos submarinos. Os navios vivem arrastando âncoras em cima deles \"sem querer\".", +"Makes your port \"ready\" for a product you did not buy.":"Deixa sua porta “pronta” para um produto que você não comprou.", +"Malaysia’s incumbent. In no hurry whatsoever.":"A incumbent da Malásia. Sem pressa nenhuma.", +"Management declared a change freeze. Someone made a change to announce the change freeze.":"A gerência decretou um change freeze. Alguém fez uma change para anunciar o change freeze.", +"Mar":"mar", +"Mars mission ground station":"Estação terrestre de missão a Marte", +"Mars mission ground stations. Gear: The Router at the End of the Universe.":"Estações terrestres de missões a Marte. Gear: The Router at the End of the Universe.", +"Marseille to Singapore, then it leaves the party.":"De Marseille a Singapura, e aí sai da festa.", +"Matching outfits, perfect harmonies, and they peer with absolutely everyone.":"Roupas combinando, harmonias perfeitas, e fazem peering com absolutamente todo mundo.", +"Max-prefix limit hit: {who} at {ix}":"Limite de max-prefix estourado: {who} no {ix}", +"Max-prefix meltdown":"Pane de max-prefix", +"Maxed out. Traffic here is being dropped.":"No limite. O tráfego aqui está sendo descartado.", +"May":"mai", +"Megapork, PocketFabric and Consolation Connect sell a port plus virtual circuits between cities. Great for small links and remote peering at an IX where you have no POP.":"Megapork, PocketFabric e Consolation Connect vendem uma porta mais circuitos virtuais entre cidades. Ótimo para links pequenos e peering remoto num IX onde você não tem POP.", +"Member":"Membro", +"Member-owned and not-for-profit. Smaller than LYNX, but the AGM has biscuits.":"Dos membros e sem fins lucrativos. Menor que o LYNX, mas a assembleia anual tem biscoito.", +"Members paying you":"Membros pagantes", +"Mercury":"Mercúrio", +"Met the Backhoe":"Conheceu a retroescavadeira", +"Metaverse platform":"Plataforma de metaverso", +"Metaverse platforms (it finally took off), and a free PNI with Etis-a-lot. Gear: Arrrhipster 7800R5 routers, 102.4T fabrics for your own exchange.":"Plataformas de metaverso (finalmente decolou) e um PNI grátis com a Etis-a-lot. Gear: routers Arrrhipster 7800R5, fabrics de 102.4T para o seu próprio exchange.", +"Metro diversity":"Diversidade metro", +"Metro ring cut":"Anel metro cortado", +"Mexico’s Silicon Valley, home of mariachi and tequila. Chip design by day, music by night.":"O Vale do Silício do México, terra do mariachi e da tequila. Projeto de chips de dia, música à noite.", +"Mexico’s data center boom town, high and dry in the middle of the country. Every cloud wants a region here.":"A cidade do boom de data centers no México, alta e seca no meio do país. Toda nuvem quer uma região aqui.", +"Mexico’s giant. Paid peering only, and the pricing is a mess.":"O gigante do México. Só peering pago, e a tabela de preços é uma bagunça.", +"Mexico’s industrial capital, a few hours from Texas. Factories, steel and grilled goat on weekends.":"A capital industrial do México, a poucas horas do Texas. Fábricas, aço e cabrito assado no fim de semana.", +"Microbursts on {a}–{b} overflow shallow router buffers: 0.5% loss at peak, and every video call notices.":"Microbursts em {a}–{b} estouram os buffers rasos do router: 0,5% de perda no pico, e toda videochamada percebe.", +"Mid-Atlantic Accent":"Sotaque do meio do Atlântico", +"Mind the Gap":"Cuidado com o Vão", +"Mobile money and prepaid data in fourteen countries. Tells you so with every top-up.":"Dinheiro móvel e dados pré-pagos em catorze países. Avisa a cada recarga.", +"Mode":"Modo", +"Modes":"Modos", +"Money per month":"Dinheiro por mês", +"Monitoring":"Monitoramento", +"Monthly":"Mensal", +"Monthly P&L":"DRE mensal", +"Monthly price, just for you":"Preço mensal, só para você", +"More scenarios":"Mais cenários", +"More traffic over peering, PNIs and caches means lower latency, and happier users grow faster.":"Mais tráfego por peering, PNIs e caches significa latência menor, e usuários felizes crescem mais rápido.", +"Morocco’s business capital on the Atlantic, the gateway between Europe and West Africa.":"A capital dos negócios do Marrocos no Atlântico, a porta entre a Europa e a África Ocidental.", +"Morocco’s incumbent, with sister networks down the West African coast. Carries the weight without complaint.":"A incumbente do Marrocos, com redes irmãs pela costa da África Ocidental. Carrega o peso sem reclamar.", +"Moscow needs a mandatory government box in every POP, Western CDNs are mostly gone, Goggle video is throttled to half speed, and the sovereign internet drills now and then cut Moscow off for a day.":"Moscou exige uma caixa obrigatória do governo em cada POP, as CDNs ocidentais quase todas foram embora, o vídeo da Goggle é estrangulado a meia velocidade, e os testes da internet soberana de vez em quando isolam Moscou por um dia.", +"Most UAE cables land on this coast, outside the Strait of Hormuz. Getting from here to Dubai means renting from the duopoly.":"A maioria dos cabos dos Emirados chega nesta costa, fora do Estreito de Ormuz. Ir daqui até Dubai significa alugar do duopólio.", +"Mostly ignores email":"Ignora quase todos os e-mails", +"Mountain wireless. Will spit at bad routes.":"Wireless de montanha. Cospe em rotas ruins.", +"Mountains, mines and more bars per head than anywhere else in Brazil. Peering deals get signed over cheese bread.":"Montanhas, minas e mais bares por habitante do que em qualquer outro lugar do Brasil. Acordo de peering se fecha com pão de queijo.", +"Move one to A":"Mover um para A", +"Move one to B":"Mover um para B", +"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.", +"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.", +"Moved everything in this city to PNIs. Please read their PearingDB page, all 40 pages of it.":"Passaram tudo nesta cidade para PNI. Leia a página deles no PearingDB, todas as 40 páginas.", +"Mozambique’s capital, an hour from South Africa. Its cables are the east coast’s backup when the others break.":"A capital de Moçambique, a uma hora da África do Sul. Seus cabos são o reserva da costa leste quando os outros quebram.", +"Multi-site training run":"Treino multi-site", +"Mumbai’s street-food exchange. Fast, spicy and cheap.":"O exchange street food de Mumbai. Rápido, apimentado e barato.", +"Mystery link":"Link misterioso", +"NANOG, RIPE, DENOG and friends come round every year. Register in the Deals tab for $8k. For 45 days after, selective networks with a presence in that region need only half the usual traffic before they peer with you. Sometimes you also win the raffle.":"NANOG, RIPE, DENOG e a turma aparecem todo ano. Inscreva-se na aba Negócios por $8k. Nos 45 dias seguintes, redes seletivas presentes naquela região pedem só metade do tráfego de sempre antes de fazer peering com você. Às vezes você ainda ganha o sorteio.", +"NNI fabrics":"Fabrics NNI", +"NOC dashboard":"Dashboard do NOC", +"NTP amplification":"amplificação NTP", +"Name":"Nome", +"Name your network":"Dê um nome à sua rede", +"Named after a planet, behaves like one: big and far away.":"Tem nome de planeta e age como um: grande e distante.", +"Named after a wine. São Paulo to Buenos Aires, past Uruguay.":"Tem nome de vinho. De São Paulo a Buenos Aires, passando pelo Uruguai.", +"Naming committee":"Comitê de nomes", +"Nearly Broadband Network wholesale":"Atacado da Nearly Broadband Network", +"Needs a POP in {cities}":"Precisa de um POP em {cities}", +"Needs a POP in {cities} too.":"Requer um POP em {cities} também.", +"Needs a ROADMaster 9000 line system.":"Precisa de um line system ROADMaster 9000.", +"Needs low-loss reach into China":"Precisa chegar na China com pouca perda", +"Needs routers with {pn} ports or bigger at both ends ({city}).":"Precisa de routers com portas de {pn} ou maiores nas duas pontas ({city}).", +"Needs your own scrubbing center (Infra tab).":"Requer seu próprio centro de scrubbing (aba Infra).", +"Needs {min} Gbps of traffic to {net} (now {now})":"Precisa de {min} Gbps de tráfego para {net} (agora {now})", +"Nervous, but enthusiastic.":"Nervoso, mas empolgado.", +"Network":"Rede", +"Network menu: save, load or start over":"Menu da rede: salvar, carregar ou recomeçar", +"Network-wide peering ratio":"Taxa de peering da rede toda", +"Networks":"Redes", +"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.", +"Never Paid List Price":"Nunca paguei preço de tabela", +"Never build in Bude. The loan officer had a bad surfing holiday there.":"Nunca construa em Bude. O gerente do empréstimo teve umas férias de surfe ruins lá.", +"Never let cash drop below $50k. It makes us sweat.":"Nunca deixe o caixa cair abaixo de $50k. Isso nos dá suor frio.", +"Never sell your TubeCoin. Diamond hands.":"Nunca venda seus TubeCoins. Mãos de diamante.", "New Caledonia, a slice of France in the Coral Sea, with a cable to Sydney and a nickel mine on every hill.":"A Nova Caledônia, um pedaço da França no Mar de Coral, com um cabo para Sydney e uma mina de níquel em cada morro.", +"New POP!":"Novo POP!", +"New York to Ireland: the tech-tax express.":"De New York à Irlanda: o expresso do planejamento tributário.", +"New York to the cliffs of Bude. It made it home in the end.":"De New York aos penhascos de Bude. No fim, chegou em casa.", +"New Zealand’s shiniest ISP.":"O ISP mais brilhante da Nova Zelândia.", +"New cables increasingly land in Jeddah instead of Egypt. This one heads for India and Singapore.":"Os cabos novos chegam cada vez mais em Jeddah em vez do Egito. Este vai para a Índia e Singapura.", +"New circuit":"Novo circuito", +"New diverse route +40% · survives cuts alone":"Nova rota diversa +40% · sobrevive a cortes sozinha", +"New fiber and cable builds":"Novas fibras e novos cabos", +"New in Series of Tubes {v}":"Novidades no Series of Tubes {v}", +"New routers went in today. The next swap can wait until tomorrow.":"Os routers novos foram instalados hoje. A próxima troca pode esperar até amanhã.", +"Next: {name} unlocks {what}":"Próximo: {name} desbloqueia {what}", +"Next: {req} unlocks {what}":"Próximo: {req} desbloqueia {what}", +"No":"Não", +"No Cogentle transit anywhere. Our CEO got de-peered once and has not recovered.":"Nada de transit da Cogentle, em lugar nenhum. Nosso CEO levou um de-peering uma vez e nunca se recuperou.", +"No Goggle cache boxes. Our chairman lost an argument with a search engine.":"Nada de caixas de cache do Goggle. Nosso presidente perdeu uma discussão para um buscador.", +"No IX here yet. You could found one later.":"Ainda não tem IX aqui. Você pode fundar um depois.", +"No browser bars, a lot more map.":"Sem barras do navegador, muito mais mapa.", +"No businesses yet. Offers pop up as $ bubbles on the map.":"Nenhuma empresa ainda. As ofertas aparecem como bolhas de $ no mapa.", +"No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.":"Sem capacidade em US East. Você pode entrar na lista de espera; a lista de espera também está sem capacidade.", +"No conditions. That is the scary part.":"Sem condições. É isso que dá medo.", +"No connections yet. Buy transit or join an exchange from a POP.":"Nenhuma conexão ainda. Compre transit ou entre num exchange a partir de um POP.", +"No customers here.":"Nenhum cliente aqui.", +"No customers yet. Offers show up in the Deals tab.":"Nenhum cliente ainda. As ofertas aparecem na aba Negócios.", +"No dark fiber inside the UAE. Only the two licensed operators may run fiber here, and they only sell waves.":"Nada de dark fiber dentro dos Emirados. Só as duas operadoras licenciadas podem passar fibra aqui, e elas só vendem waves.", +"No diesel generators anywhere. Our sustainability team is watching.":"Nada de gerador a diesel em lugar nenhum. Nosso time de sustentabilidade está de olho.", +"No install fee, live in minutes, billed monthly. Cheaper than a wave for small capacity, but it rides someone else's fabric, and that fabric can fail.":"Sem taxa de instalação, no ar em minutos, cobrado por mês. Mais barato que uma wave para pouca capacidade, mas roda no fabric de outra pessoa, e esse fabric pode falhar.", +"No links yet.":"Nenhum link ainda.", +"No mail yet. Buy an IX port and it will come.":"Nenhum e-mail ainda. Compre uma porta de IX que eles chegam.", +"No navigable sea route connects these landing stations.":"Nenhuma rota marítima navegável conecta estas estações de aterragem.", +"No new links on a Friday. The stars do not allow it.":"Nada de links novos na sexta-feira. Os astros não permitem.", +"No new subsea links while this loan runs. We are afraid of sharks.":"Nada de novos links submarinos enquanto durar o empréstimo. Temos medo de tubarão.", +"No offers right now. Banks get in touch now and then, and much faster when you are in trouble. A better credit rating brings better banks.":"Nenhuma oferta no momento. Os bancos aparecem de vez em quando, e bem mais rápido quando você está em apuros. Um rating de crédito melhor atrai bancos melhores.", +"No open offers right now. Businesses look for networks with POPs in their city. New ones pop up every few weeks.":"Nenhuma oferta aberta agora. Empresas procuram redes com POP na cidade delas. Novas aparecem a cada poucas semanas.", +"No optic you can buy reaches {km} km yet.":"Nenhum óptico à venda alcança {km} km ainda.", +"No optic you can buy works on your fiber here yet.":"Nenhum óptico à venda funciona na sua fibra aqui ainda.", +"No path: every route between these cities is down or missing.":"Sem caminho: todas as rotas entre essas cidades estão fora do ar ou não existem.", +"No payments at all! Until the very end. Then all of them, at once.":"Nenhuma parcela! Até o finalzinho. Aí todas de uma vez.", +"No regen sites in the middle of the ocean: long cables run their optics in long-haul mode.":"Sem sites de regeneração no meio do oceano: cabos longos rodam os ópticos em modo long-haul.", +"No repayments":"Sem parcelas", +"No repayments, ever. Just a slice of your revenue, forever, and a lot of opinions.":"Sem parcelas, nunca. Só uma fatia da sua receita, pra sempre, e muitas opiniões.", +"No scrubbing center":"Sem centro de scrubbing", +"No subsea cable lands in both {a} and {b}. Cables from {a} reach {list}. Hop through one of those.":"Nenhum cabo submarino desembarca em {a} e {b} ao mesmo tempo. Os cabos de {a} chegam a {list}. Faça um hop por um deles.", +"No subsea cable lands in {city}. The nearest landing station is {near}: run fiber there first, then take a cable from it.":"Nenhum cabo submarino chega a {city}. A estação de chegada mais próxima é {near}: leve fibra até lá primeiro e depois pegue um cabo de lá.", +"No thanks":"Não, obrigado", +"No traffic right now.":"Sem tráfego no momento.", +"Nobody gives a foreign network a landing licence in mainland China.":"Ninguém dá licença de ancoragem a uma rede estrangeira na China continental.", +"Nobody is unhappy. Enjoy it while it lasts.":"Ninguém está insatisfeito. Aproveite enquanto dura.", +"Nobody lets you dig on this route. Borders and licences are in the way, so keep leasing.":"Ninguém deixa você cavar nesta rota. Fronteiras e licenças atrapalham, então continue alugando.", +"Nobody remembers who it is named after.":"Ninguém lembra quem dá nome a ele.", +"Nobody sells capacity between Kyiv and Moscow, and nobody is going to. Route through Warsaw, Bucharest or Helsinki instead.":"Ninguém vende capacidade entre Kyiv e Moscou, e ninguém vai vender. Passe por Varsóvia, Bucareste ou Helsinque.", +"Nobody sells dark fiber on a subsea cable here. Subsea capacity comes as leased waves.":"Ninguém vende dark fiber em cabo submarino aqui. Capacidade subsea vem como waves alugadas.", +"Nobody sells one fiber pair across a dozen borders. Between continents, overland capacity only comes as leased waves.":"Ninguém vende um par de fibra atravessando uma dúzia de fronteiras. Entre continentes, capacidade por terra só existe como wave alugada.", +"Nobody sells transit here. Haul your traffic over fiber to a city that has it.":"Ninguém vende transit aqui. Leve seu tráfego por fibra até uma cidade que tenha.", +"None":"Nenhum", +"None (build one from a POP's Infra tab)":"Nenhum (construa um na aba Infra de um POP)", +"Nordic backbone that tells you exactly where your packets went.":"Backbone nórdico que te diz exatamente pra onde foram seus pacotes.", +"Normal":"Normal", +"North America":"América do Norte", +"North Sea workhorse from London to Amsterdam. Dark fiber pairs for sale by the dozen.":"Burro de carga do Mar do Norte de London a Amsterdam. Pares de dark fiber à venda às dúzias.", +"Norway to the UK across the North Sea. Fiber pairs for sale, because the oil money wanted a hobby.":"Da Noruega ao Reino Unido pelo Mar do Norte. Pares de fibra à venda, porque o dinheiro do petróleo queria um hobby.", +"Norway’s incumbent. Neither yes nor no, until you send enough traffic.":"A incumbente da Noruega. Nem sim nem não, até você mandar tráfego suficiente.", +"Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.":"A capital do petróleo da Noruega, agora cheia de data centers dentro de montanhas, movidos a hidrelétrica e resfriados pelo fiorde. Cabos do Mar do Norte desembarcam aqui.", +"Not Tier 1 right now: {why}.":"Não é Tier 1 agora: {why}.", +"Not accepting new peers in this region right now.":"No momento não aceitam novos peers nesta região.", +"Not big enough yet: {list}":"Você ainda não é grande o bastante: {list}", +"Not happening":"Não vai rolar", +"Not in your cities yet. Nearest: {city}":"Ainda não está nas suas cidades. A mais próxima: {city}", +"Not installed":"Não instalado", +"Not present in any of your cities yet":"Ainda não está em nenhuma das suas cidades", +"Not without a license":"Não sem licença", +"Nothing in the last 10 minutes.":"Nada nos últimos 10 minutos.", +"Nothing on your network reaches {net}: no transit, IX session, PNI or cache with a working path from {city}.":"Nada na sua rede alcança {net}: nenhum transit, sessão de IX, PNI ou cache com caminho funcionando a partir de {city}.", +"Nothing plugged in here yet":"Nada plugado aqui ainda", +"Nothing spare to sell on this fiber right now.":"Nada sobrando para vender nesta fibra por enquanto.", +"Nothing to pay for {n} months. Then everything.":"Nada a pagar por {n} meses. Depois, tudo.", +"Nothing to pay until the end":"Nada a pagar até o fim", +"Nothing to pay until the end · {n} months left · growing at {apr}% a year":"Nada a pagar até o fim · faltam {n} meses · crescendo {apr}% ao ano", +"Nothing: every network is reachable without transit.":"Nenhuma: toda rede é alcançável sem transit.", +"Notifications":"Notificações", +"Nov":"nov", +"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.", +"Now grab an IX port there for remote peering.":"Agora pegue uma porta de IX lá para remote peering.", +"Now you see the fibre, now you don’t.":"Agora você vê a fibra, agora não vê mais.", +"Number two in China, with a horn for every backbone.":"A número dois da China, com um chifre para cada backbone.", +"OUTAGE":"FORA DO AR", +"Oceania":"Oceania", +"Oct":"out", +"Off":"Off", +"Offers":"Ofertas", +"Offers here":"Ofertas aqui", +"Oil, gas and hurricanes. The generators here are sized for a week, and they have needed it.":"Petróleo, gás e furacões. Os geradores aqui são dimensionados para uma semana, e já precisaram disso.", +"Old Pacific workhorse. Everyone hopes it holds.":"Velho burro de carga do Pacífico. Todo mundo torce pra ele aguentar.", +"On":"Ligado", +"On an island, so every link off it is a subsea cable.":"Fica numa ilha, então todo link pra fora é cabo submarino.", +"On iPhone, a game started in Safari does not carry over to the home-screen app.":"No iPhone, um jogo iniciado no Safari não passa para o app da tela inicial.", +"On the Peering tab, request sessions, or join the route server to peer with every open network at once.":"Na aba Peering, peça sessões ou entre no route server para fazer peering com todas as redes abertas de uma vez.", +"On · moving {g} onto alternate paths":"On · movendo {g} para rotas alternativas", +"On · {city}":"On · {city}", +"On-demand (engages in {n}d)":"On-demand (ativa em {n}d)", +"On-demand scrubbing diverting, live in {n}d":"Scrubbing on-demand desviando, ativo em {n}d", +"Once Auto-TE is installed, you can program it from the NOC tab. Rules include spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams and blackhole ddos. Check runs a dry run against live traffic; Deploy makes it real, mistakes included.":"Com o Auto-TE instalado, você pode programá-lo pela aba NOC. As regras incluem spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams e blackhole ddos. Verificar faz um dry run contra o tráfego real; Aplicar torna tudo real, erros incluídos.", +"One fabric across the whole country. Distributed, cheap and a little smug about it.":"Um fabric só para o país inteiro. Distribuído, barato e meio convencido disso.", +"One foot in Europe, one in Asia. Every land route between them crosses here.":"Um pé na Europa, outro na Ásia. Toda rota terrestre entre as duas passa por aqui.", +"One member of your {lab} was patched into the wrong switch. LACP keeps it suspended, quite correctly.":"Um membro do seu {lab} foi ligado no switch errado. O LACP o mantém suspenso, com toda razão.", +"One of Africa’s biggest cities, right across the river from another capital. The grid comes and goes, the rumba never stops.":"Uma das maiores cidades da África, bem do outro lado do rio de outra capital. A energia vai e volta, a rumba nunca para.", +"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.", +"One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen.":"Um anel para unir Invercargill a Sydney, Melbourne e Auckland. Chega à terra ao lado de um pasto onde alguém está construindo uma fábrica de IA, e é assim que você sabe que pode mesmo acontecer.", +"One router is a single point of failure.":"Um router só é um single point of failure.", +"One router means downtime during the swap. Back tomorrow.":"Um router só significa downtime durante a troca. Volta amanhã.", +"One router, and this one takes forever to boot. Back in {n} days.":"Um router só, e esse demora uma eternidade pra dar boot. Volta em {n} dias.", +"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ã.", +"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.", +"One tap away.":"A um toque.", +"One-way latency within {max} ms (best now: {best})":"Latência de ida até {max} ms (melhor agora: {best})", +"Only Spätzle-IX":"Só Spätzle-IX", +"Only comes online at night.":"Só fica online de noite.", +"Only lends to people who do not need it.":"Só empresta dinheiro pra quem não precisa.", +"Only peers over PNIs in this metro. Order a cross-connect instead.":"Nesta metro, só faz peering via PNI. Peça um cross-connect.", +"Only peers over PNIs, and only with networks it considers important":"Só faz peering via PNI, e só com redes que considera importantes", +"Only peers with members they can reach without a 1,500 km hairpin.":"Só fazem peering com membros que alcançam sem um hairpin de 1.500 km.", +"Oops":"Ops", +"Open":"Abrir", +"Open Series of Tubes from your home screen and start your network there.":"Abra o Series of Tubes pela tela inicial e comece sua rede por lá.", +"Open Series of Tubes from your home screen.":"Abra o Series of Tubes pela tela inicial.", +"Open Infra":"Abrir Infra", +"Open NOC":"Abrir NOC", +"Open NOC dashboard":"Abrir painel do NOC", +"Open a POP here":"Abrir um POP aqui", +"Open a new POP at least every 90 days. Blitzscale or die.":"Abra um novo POP pelo menos a cada 90 dias. Blitzscale ou morra.", +"Open bank":"Abrir banco", +"Open inbox":"Abrir a caixa", +"Open lease":"Abrir aluguel", +"Open peer, but not on any IX where you have a POP":"Peer aberto, mas em nenhum IX onde você tem POP", +"Open peer, but not on any IX where you have a POP. Nearest: {city}":"Peer aberto, mas em nenhum IX onde você tem POP. O mais próximo: {city}", +"Open peer: join the route server at {ix}":"Peer aberto: entre no route server do {ix}", +"Open peer: join the route server at {ix} ({city})":"Peer aberto: entre no route server do {ix} ({city})", +"Open peers with anyone. Selective wants to see traffic first. Restrictive (Tier 1s) only peers with giants, over PNIs. Paid means exactly that. Big selective networks also have moods: in some cities they refuse new peers for a few months, or only take PNIs, and now and then they tear down a session you already had. Try another city or a PNI, and ask again later.":"Open faz peering com qualquer um. Selective quer ver tráfego antes. Restrictive (Tier 1s) só faz peering com gigantes, via PNI. Paid é exatamente isso. Redes seletivas grandes também têm seus humores: em algumas cidades recusam novos peers por alguns meses, ou só aceitam PNI, e de vez em quando derrubam uma sessão que você já tinha. Tente outra cidade ou um PNI, e peça de novo mais tarde.", +"Open to work":"Open to work", +"Open your browser menu (⋮).":"Abra o menu do navegador (⋮).", +"Open your dark fiber":"Abrir sua dark fiber", +"Open your fiber":"Abrir sua fibra", +"Open your home city and press “Launch broadband”. Eyeballs are people at home watching cat videos. They pay you every month.":"Abra sua cidade natal e aperte “Lançar banda larga”. Eyeballs são pessoas em casa vendo vídeo de gatinho. Elas te pagam todo mês.", +"Open-faced, cheap and available at 3 a.m.":"Aberto, barato e disponível às 3 da manhã.", +"Opened a ticket with itself to review its own decisions. It approved them.":"Abriu um chamado para si mesma para revisar as próprias decisões. Aprovou todas.", +"Opened three accounts for you while you read this.":"Abriu três contas pra você enquanto você lia isto.", +"Opens at six, comes with free snacks, closes when the last session drops.":"Abre às seis, vem com petiscos grátis e fecha quando cai a última sessão.", +"Opt out":"Sair", +"Opt out of 3 auto-enrolled add-ons.":"Cancele 3 add-ons ativados sem você pedir.", +"Optical engineering":"Engenharia óptica", +"Optics":"Ópticas", +"Optimize":"Otimizar", +"Optimized":"Otimizado", +"Or drag from one of your routers to this city to lay fiber and build the POP in one go.":"Ou arraste de um dos seus routers até esta cidade para lançar fibra e construir o POP de uma vez.", +"Order and Progress":"Ordem e Progresso", +"Order circuit anyway":"Pedir o circuito mesmo assim", +"Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.":"Outras operadoras alugam o que você não usa: alien waves nos canais livres do seu sistema de linha ou, se a obra é sua, um par de fibra livre na vala.", +"Other links between these cities:":"Outros links entre estas cidades:", +"Other models":"Outros modelos", +"Our Signal group: swap screenshots, report bugs and argue about peering policy with other players. Fewer backhoes than the real thing.":"Nosso grupo no Signal: troque capturas de tela, reporte bugs e discuta política de peering com outros jogadores. Menos retroescavadeiras que na vida real.", +"Our chairman needs a yacht for the summer. You don’t own one, so you rent one: {price}/mo.":"Nosso presidente precisa de um iate no verão. Você não tem um, então aluga: {price}/mês.", +"Our logo goes on every router you own.":"Nosso logo vai em todo router que você tiver.", +"Out of port speed? Bundle up to 8 identical ports to the same transit provider, IX or PNI into a LAG. Each member costs a full port; flow hashing is never perfectly even, so a bundle carries about 95% of the sum.":"Sem velocidade de porta? Junte até 8 portas idênticas para o mesmo provedor de transit, IX ou PNI num LAG. Cada membro custa uma porta inteira; o hashing de fluxos nunca é perfeitamente uniforme, então o bundle carrega cerca de 95% da soma.", +"Out of reach without transit {n}":"Fora de alcance sem transit {n}", +"Over the Mountains":"Por cima das montanhas", +"Overland":"Por terra", +"Overland between continents crosses a dozen borders, and every carrier on the way takes a cut: {x}× the price. Subsea is far cheaper.":"Por terra entre continentes, você cruza uma dúzia de fronteiras e cada operadora no caminho leva a sua parte: {x}× o preço. Submarino sai bem mais barato.", +"Overview":"Visão geral", +"Owns the cable that brought East Africa online, and sells you the capacity with a straight face.":"Dono do cabo que pôs a África Oriental online, e vende a capacidade sem dar risada.", +"Owns the cables from Luanda to Brazil, and always finds an angle on the deal.":"Dona dos cabos de Luanda ao Brasil, e sempre encontra um ângulo no negócio.", +"Owns the land crossing every Red Sea cable needs. Collects tolls like a pharaoh.":"Dono da travessia terrestre de que todo cabo do Mar Vermelho precisa. Cobra pedágio como um faraó.", +"PMTUD black hole":"Buraco negro de PMTUD", +"PNI LAG with {name} in {city}":"LAG de PNI com {name} em {city}", +"PNI in {city}: {why}":"PNI em {city}: {why}", +"PNI lead times":"Prazos de PNI", +"PNI with {net}":"PNI com {net}", +"PNIs":"PNIs", +"PNIs beat IX peering":"PNIs vencem peering no IX", +"PNIs with every Tier 1":"PNIs com cada Tier 1", +"POP in {city}":"POP em {city}", +"POPs":"POPs", +"POPs all the way round the Pacific: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland and Santiago.":"POPs em toda a volta do Pacífico: Los Angeles, Tokyo, Taipei, Manila, Jakarta, Sydney, Auckland e Santiago.", +"POPs and routers":"POPs e routers", +"POPs in Bogotá, Lima, Santiago and São Paulo, and 150 Gbps served":"POPs em Bogotá, Lima, Santiago e São Paulo, e 150 Gbps servidos", +"POPs in Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo and Auckland.":"POPs em Reykjavik, Dublin, London, Colombo, Taipei, Manila, Tokyo e Auckland.", +"POPs in Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade and Tallinn.":"POPs em Warsaw, Prague, Vienna, Budapest, Bucharest, Sofia, Belgrade e Tallinn.", +"POPs in every region on the map.":"POPs em todas as regiões do mapa.", +"POPs in five of the six regions on the map.":"POPs em cinco das seis regiões do mapa.", +"POPs on 3+ continents":"POPs em 3+ continentes", +"Pacific cables land nearby, and everyone meets in one famous building downtown.":"Cabos do Pacífico chegam aqui perto, e todo mundo se encontra num prédio famoso no centro.", +"Packet empire":"Império dos pacotes", +"Packet loss":"Perda de pacotes", +"PacketOinker² (two pigs, one chassis)":"PacketOinker² (dois porcos, um chassi)", +"PacketOinker³ (a whole litter)":"PacketOinker³ (uma ninhada inteira)", +"Packets hop. Sometimes backwards.":"Os pacotes pulam. Às vezes pra trás.", +"Packets leave on time, to the second.":"Os pacotes saem no horário, cravado no segundo.", +"Paid PNIs with all three Korean incumbents.":"PNIs pagos com as três incumbentes coreanas.", +"Paid in TubeCoin":"Pago em TubeCoin", +"Paid peering only, over a PNI":"Só peering pago, via PNI", +"Paid peering only: a PNI costs {price}/mo":"Só peering pago: um PNI custa {price}/mês", +"Paid peering only: a PNI costs {price}/mo. Free from customer level {n}.":"Só peering pago: um PNI custa {price}/mês. Grátis a partir do nível de clientes {n}.", +"Paid peering: {price}/mo on top":"Peering pago: {price}/mês a mais", +"Pakistan’s door to the sea. Every cable lands here, and so does every new firewall rule.":"A porta do Paquistão para o mar. Todo cabo chega aqui, e toda nova regra de firewall também.", +"Pakistan’s incumbent. Every session comes with a firewall rule.":"A incumbent do Paquistão. Toda sessão vem com uma regra de firewall.", "Palau, on a branch cable from Guam. Coral reefs, jellyfish that do not sting, and very little traffic.":"Palau, num ramal do cabo de Guam. Recifes de coral, águas-vivas que não queimam e pouquíssimo tráfego.", "Palau’s telco. Snorkel down and you can see the cable.":"A operadora de Palau. Mergulhe de snorkel e dá para ver o cabo.", +"Palermo to Marseille and Alexandria. Every Europe–Asia shortcut wants a stop in Sicily.":"De Palermo a Marseille e Alexandria. Todo atalho Europa–Ásia quer uma parada na Sicília.", "Papua New Guinea’s capital, in a country of eight hundred languages, with a cable to Sydney. The grid fails often, so bring a generator.":"A capital de Papua-Nova Guiné, um país com oitocentas línguas, com um cabo para Sydney. A rede elétrica cai com frequência, então traga um gerador.", "Papua New Guinea’s state telco: eight hundred languages, one billing system.":"A operadora estatal de Papua-Nova Guiné: oitocentas línguas, um só sistema de cobrança.", -"Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.":"Celulares em cada ilha de Papua-Nova Guiné a Tonga, e transit para vender em cada uma.", -"Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.":"Cuida do correio, dos telefones e da internet na Nova Caledônia e na Polinésia Francesa. Os pacotes chegam selados, com um croissant.", -"Samoa to Tahiti by way of the Cook Islands. Steeped slowly.":"De Samoa ao Taiti passando pelas Ilhas Cook. Em infusão lenta.", -"Samoa’s broadband, promised with a slice of something sweet.":"A banda larga de Samoa, prometida com uma fatia de algo doce.", -"Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.":"A capital de Samoa, com cabos para Fiji, Samoa Americana e o Taiti. Domingo é dia de igreja, então as janelas de manutenção são no sábado.", -"Stepping Stones":"De ilha em ilha", -"Sydney to Nouméa. Wishes it were a supercontinent.":"De Sydney a Nouméa. Sonha em ser um supercontinente.", -"Sydney to Papua New Guinea and the Solomon Islands. Hums while it works.":"De Sydney a Papua-Nova Guiné e às Ilhas Salomão. Cantarola enquanto trabalha.", -"Tahiti to Hawaii, trolling for bandwidth.":"Do Taiti ao Havaí, pescando banda.", -"Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.":"O Taiti, na Polinésia Francesa. Um cabo segue ao norte para o Havaí, e o novo do Chile à Austrália para aqui: o trampolim entre a América do Sul e a Oceania.", -"The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.":"A operadora das Ilhas Marshall, a dois metros acima do mar e orgulhosa de cada centímetro.", -"The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.":"A capital das Ilhas Salomão, em Guadalcanal. O cabo para Sydney só chegou há poucos anos; antes era tudo satélite. A energia é menos confiável que o cabo.", -"The Solomon Islands’ incumbent. Yours sincerely, eventually.":"A incumbente das Ilhas Salomão. Atenciosamente, uma hora dessas.", -"The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.":"A capital das Ilhas Marshall, um anel de coral a dois metros acima do mar. Um único cabo para Guam, e todo pacote sabe disso.", -"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.":"O irmão mais novo do velho burro de carga: de Los Angeles a Sydney com um ramal para Fiji.", -"The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"O fundo do mar perto de Tonga deslizou encosta abaixo e levou junto o seu cabo {a}–{b}. O navio de reparo está vindo de Papua-Nova Guiné.", -"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga depende de um único cabo vindo de Fiji. Em 2022 um vulcão submarino o cortou, e o país ficou offline por semanas.", -"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"A operadora de Tonga. Sobreviveu a um vulcão que cortou seu único cabo e hoje faz piada disso.", -"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"O hub do Reno-Ruhr: mais data centers neutros do que Hamburgo ou Munique, e a uma hora da fronteira holandesa, então a fibra até Amsterdã é curta e barata. Aqui se pede uma Altbier, nunca uma Kölsch.", -"Premium submarine terminals":"Terminais submarinos premium", -"Optical engineering":"Engenharia óptica", -"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Este canal alcança {max} km neste cabo; a rota tem {span} km. Considere terminais submarinos ou engenharia óptica.", -"Submarine transmission":"Transmissão submarina", -"Better terminals and optical tuning extend long-haul reach. Repeaters are already included; these upgrades do not change latency.":"Terminais melhores e ajuste óptico aumentam o alcance de longa distância. Os repetidores já estão incluídos; essas melhorias não mudam a latência.", -"Ready in {n} days":"Pronto em {n} dias", -"{price} · {n} days":"{price} · {n} dias", -"Up to {g} per channel":"Até {g} por canal", -"Cable design":"Projeto do cabo", -"Standard":"Padrão", -"Optimized":"Otimizado", -"Low latency":"Baixa latência", -"+{n} days":"+{n} dias", -"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"A rota deste projeto tem {km} km: longa demais para qualquer óptica, mesmo com as duas melhorias. Um projeto mais curto consegue.", -"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km é longe demais para as suas ópticas sozinhas. Adicione {what} para acender este cabo.", -"Estimated latency":"Latência estimada", -"Reach 45% of the internet and serve 300 Gbps":"Alcance 45% da internet e atenda 300 Gbps", -"Out of reach without transit {n}":"Fora de alcance sem transit {n}", -"Nothing: every network is reachable without transit.":"Nenhuma: toda rede é alcançável sem transit.", -"Open peer, but not on any IX where you have a POP. Nearest: {city}":"Peer aberto, mas em nenhum IX onde você tem POP. O mais próximo: {city}", -"Not in your cities yet. Nearest: {city}":"Ainda não está nas suas cidades. A mais próxima: {city}", -"Where to meet them":"Onde encontrá-los", -"Goal":"Meta", -"Road to Tier 1":"Rumo ao Tier 1", -"Transit ports to cancel":"Portas de transit a cancelar", -"PNIs with every Tier 1":"PNIs com cada Tier 1", -"Tier 1s only take a PNI from a network with {list}.":"Os Tier 1 só aceitam PNI de uma rede com {list}.", -"Reach without transit":"Alcance sem transit", -"All {n} out of reach":"Todas as {n} fora de alcance", -"Where?":"Onde?", -"Attack hauled to scrubbing in {city}":"Ataque levado ao scrubbing em {city}", -"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Quer um centro de scrubbing no próprio continente, para que os ataques não atravessem um oceano", -"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Seu backbone só consegue levar {g} até {city}: o resto não é limpo", -"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"O scrubbing {tier} em {city} está limpando, levado pelo seu backbone (+{ms} ms)", -"Your scrubbing centers are full: {g} leaks past":"Seus centros de scrubbing estão cheios: {g} passam direto", -"Attacks go to your nearest scrubbing center. From here that is {city}, {km} km away: the flood rides your backbone there and back, which adds latency, and whatever your links cannot carry is not scrubbed. A center here cleans attacks on the spot.":"Os ataques vão para o seu centro de scrubbing mais próximo. Daqui é {city}, a {km} km: a enxurrada viaja pelo seu backbone até lá e volta, o que aumenta a latência, e o que seus links não conseguem levar não é limpo. Um centro aqui limpa os ataques na hora.", -"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"os ataques em {city} são levados a {to} para scrubbing: +{ms} ms", -"Scrubbing centers":"Centros de scrubbing", -"Build one in as many POPs as you like. An attack goes to the nearest working center, and what it cannot take spills to the next. A far center means the flood rides your backbone there and the victim’s traffic comes back the long way: it fills your links, adds latency, and whatever the links cannot carry is not scrubbed. Customers who buy DDoS protection notice when their attacks cross an ocean.":"Construa um em quantos POPs quiser. Um ataque vai para o centro ativo mais próximo, e o que ele não aguenta transborda para o seguinte. Um centro distante significa que a enxurrada viaja pelo seu backbone até lá e o tráfego da vítima volta pelo caminho longo: enche seus links, aumenta a latência, e o que os links não conseguem levar não é limpo. Clientes que compram proteção DDoS percebem quando os ataques deles atravessam um oceano.", -"Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.":"A filha belga da Tangerine: celular, cabo e muita dark fiber ao longo das rodovias da Valônia. Cítrica.", -"Luxembourg’s post office, which also runs the phones and most of the fiber. Your packets wait at the counter until somebody collects them.":"Os correios de Luxemburgo, que também cuidam dos telefones e de quase toda a fibra. Seus pacotes esperam no balcão até alguém vir buscar.", -"A path from Marseille to Singapore, and 80 Gbps between Asia and the rest of your network for 30 days in a row":"Um caminho de Marselha a Singapura, e 80 Gbps entre a Ásia e o resto da sua rede por 30 dias seguidos", -"Your traffic to and from Asia":"Seu tráfego de e para a Ásia", -"Days in a row at {g} or more":"Dias seguidos com {g} ou mais", -"Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.":"Nada sobrando para vender nesta fibra.
Todos os canais estão acesos ou vendidos, e a vala não tem par livre.", -"Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.":"Anunciado com um corretor de capacidade.
{name} quer {what}. Aceite na fibra ou em Negócios.", -"Selling spare capacity":"Vender capacidade ociosa", -"Other carriers rent what you do not use: alien waves on free channels of your line system, or on your own build a spare fiber pair in the trench.":"Outras operadoras alugam o que você não usa: alien waves nos canais livres do seu sistema de linha ou, se a obra é sua, um par de fibra livre na vala.", -"Free channels":"Canais livres", -"via a capacity broker":"por um corretor de capacidade", -"List it with a capacity broker they keep 10%":"Anunciar com um corretor de capacidade ele fica com 10%", -"Nothing spare to sell on this fiber right now.":"Nada sobrando para vender nesta fibra por enquanto.", -"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.", +"Paraguay shares two giant dams with its neighbours and has more power than it can use. Crypto miners noticed.":"O Paraguai divide duas usinas gigantes com os vizinhos e tem mais energia do que consegue usar. Os mineradores de cripto perceberam.", +"Patch panel mishap":"Acidente no patch panel", +"Path latency: {lat}":"Latência do caminho: {lat}", +"Pause":"Pausar", +"Pause on outages that hurt":"Pausar em falhas que doem", +"Pause when a customer is furious":"Pausar quando um cliente estiver furioso", +"Pay a bigger network per Gbps and it carries your traffic to the whole internet. Billed on the 95th percentile of the last 30 days, with a 20% commit and a port fee. Spikes like DDoS raise your bill.":"Pague por Gbps a uma rede maior e ela leva seu tráfego para a internet inteira. Cobrado pelo percentil 95 dos últimos 30 dias, com commit de 20% e taxa de porta. Picos como DDoS aumentam sua conta.", +"Pays out in TubeCoin. Value may vary. A lot.":"Paga em TubeCoin. O valor pode variar. Muito.", +"Peak":"Pico", +"Peak traffic":"Pico de tráfego", +"Peak traffic served in one year.":"Pico de tráfego servido em um ano.", +"Peak traffic served in one year. A new personal best for this week!.":"Pico de tráfego servido em um ano. Novo recorde pessoal da semana!", +"Peak traffic served in one year. Your best this week is {best}.":"Pico de tráfego servido em um ano. Seu melhor desta semana é {best}.", +"Peer at an IX remotely.":"Faça peering remoto num IX.", +"Peer at the Spätzle-IX in Stuttgart. Local money for local packets.":"Faça peering no Spätzle-IX em Stuttgart. Dinheiro local para pacotes locais.", +"Peer at {ix} without building a POP. Order a virtual circuit here from one of your POPs over {fabs}.":"Faça peering em {ix} sem construir um POP. Peça aqui um circuito virtual a partir de um dos seus POPs via {fabs}.", +"Peer with every Tier 1 over PNIs and cancel every transit port. Then nobody charges you to reach the internet.":"Faça peering com todas as Tier 1 via PNI e cancele todas as portas de transit. Aí ninguém te cobra para chegar à internet.", +"Peered":"Em peering", +"Peered ✓":"Em peering ✓", +"Peering":"Peering", "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.", -"Check (dry run) replays today’s traffic with the script and shows what you would serve and what transit would cost. Nothing changes.":"Verificar (dry run) repete o tráfego de hoje com o script e mostra quanto você serviria e quanto o trânsito custaria. Nada muda.", -"Deploy makes it live for the Auto-TE controller. If traffic falls, fix it here or switch Auto-TE off in the NOC tab.":"Deploy 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.", -"Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.":"Commit concluído. Tráfego caiu {p}.
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.", -"Delivery: about a month, sometimes 6 to 12 months":"Entrega: cerca de um mês, às vezes de 6 a 12 meses", -"Delivery: 2 to 6 weeks":"Entrega: de 2 a 6 semanas", -"Their team quotes {m} months":"A equipe deles fala em {m} meses", -"Ready in about {n} days":"Pronta em cerca de {n} dias", -"on order":"encomendada", -"About {n} days to go. Nothing to do but wait, or chase it.":"Faltam cerca de {n} dias. Não há nada a fazer além de esperar, ou cobrar.", -"Chase it":"Cobrar", -"Cancel the order":"Cancelar o pedido", -"PNI with {net} is up in {city}.
A cross-connect in {dc}. Private and fast.":"A PNI com {net} está no ar em {city}.
Um cross-connect em {dc}. Privado e rápido.", -"Augment with {net} delivered in {city}.
Now {port}.":"Ampliação com {net} entregue em {city}.
Agora {port}.", -"No capacity in US East. You can join the waitlist; the waitlist is also out of capacity.":"Sem capacidade em US East. Você pode entrar na lista de espera; a lista de espera também está sem capacidade.", -"US East is sold out until further notice. Further notice is also sold out.":"US East está esgotado até segunda ordem. A segunda ordem também esgotou.", -"Their peering team says US East is “capacity constrained”, which is cloud for “no”.":"O time de peering deles diz que US East está “capacity constrained”, que na língua da nuvem quer dizer “não”.", -"A new region is coming online soon. It has been coming online soon since 2019.":"Uma nova região vai entrar no ar em breve. Ela está entrando no ar em breve desde 2019.", -"Hi! We would like to peer with you at {ix}. Our PeeringDB record is up to date.":"Oi! Gostaríamos de fazer peering com vocês no {ix}. Nosso registro no PeeringDB está atualizado.", -"Dear Sir or Madam, please peer. We have three prefixes and very big plans.":"Prezado senhor ou senhora, por favor façam peering. Temos três prefixos e planos enormes.", -"We noticed you are at {ix}. So are we. Shall we?":"Vimos que vocês estão no {ix}. Nós também. Vamos?", -"Hello, please find attached our peering request as a Word document, scanned from a printout.":"Olá, segue em anexo nosso pedido de peering como documento Word, escaneado de uma impressão.", +"Peering From the Couch":"Peering do sofá", +"Peering Over Beer":"Peering no boteco", +"Peering inbox":"Caixa de peering", +"Peering policy":"Política de peering", +"Peering ratio":"Taxa de peering", "Peering request, fifth attempt. Is anyone there?":"Pedido de peering, quinta tentativa. Tem alguém aí?", -"Hey, quick one: can you peer with us at {ix}? We have a very important Minecraft server.":"E aí, rapidinho: dá pra fazer peering com a gente no {ix}? Temos um servidor de Minecraft muito importante.", -"Greetings. We are a fast-growing network. Last year we had one customer; this year we have two.":"Saudações. Somos uma rede em rápido crescimento. Ano passado tínhamos um cliente; este ano temos dois.", -"Please configure sessions with us at {ix}. We will do ours next week, or the week after.":"Por favor configurem as sessões com a gente no {ix}. Nós faremos as nossas semana que vem, ou na outra.", -"Replied to a peering request with a haiku about BGP. No answer yet.":"Respondeu a um pedido de peering com um haicai sobre BGP. Nenhuma resposta ainda.", -"Signed you up for a webinar on “Peering in the Age of AI”.":"Inscreveu você num webinar sobre “Peering na era da IA”.", -"Opened a ticket with itself to review its own decisions. It approved them.":"Abriu um chamado para si mesma para revisar as próprias decisões. Aprovou todas.", -"Wrote a thousand-word apology to a network you never peered with.":"Escreveu um pedido de desculpas de mil palavras para uma rede com quem você nunca fez peering.", -"Updated your PeeringDB record. Your NOC phone number is now a pizza place.":"Atualizou seu registro no PeeringDB. O telefone do seu NOC agora é de uma pizzaria.", -"Asked NetChill’s peering team to “please provide more Netchill”.":"Pediu ao time de peering da NetChill “mais Netchill, por favor”.", -"Responsive":"Responde rápido", -"Average":"Na média", -"Mostly ignores email":"Ignora quase todos os e-mails", -"Black hole":"Buraco negro", -"Max-prefix limit hit: {who} at {ix}.
The session is down until you look at it.":"Limite de max-prefix estourado: {who} no {ix}.
A sessão fica fora até você dar uma olhada.", -"Inbox":"Caixa de entrada", -"{who} asked a mailing list whether anyone has a working contact at {me}.
Their peering request sat in your inbox for a month.":"{who} perguntou numa lista de e-mails se alguém tem um contato que funcione na {me}.
O pedido de peering deles ficou um mês na sua caixa de entrada.", -"{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.":"{who} no {ix} estava mandando uma tabela completa, e o limite de max-prefix era a única coisa que segurava. Com o limite aumentado, os prefixos da {net} apontam para o porão deles. O tráfego para a {net} via trânsito vai para um buraco negro por alguns dias.", -"That was a route leak.
{who} was announcing {n} prefixes: a full table. Next time, keep it down.":"Era um vazamento de rotas.
{who} anunciava {n} prefixos: uma tabela completa. Da próxima vez, deixe fora.", -"Session with {who} is back up.
New limit: {n} prefixes. They promise to update PeeringDB.":"A sessão com {who} voltou.
Novo limite: {n} prefixos. Eles prometem atualizar o PeeringDB.", -"Good call: it was a route leak.
{who} found a fat-fingered route map. The session comes back on its own in a few days.":"Boa: era um vazamento de rotas.
{who} achou um route map digitado errado. A sessão volta sozinha em alguns dias.", -"The session stays down.
{who} will update PeeringDB and ask again. Eventually.":"A sessão continua fora.
{who} vai atualizar o PeeringDB e pedir de novo. Algum dia.", -"Declined {who} at {ix}: “not a strategic fit”. They were.":"Recusou {who} no {ix}: “não é estratégico”. Era.", -"Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.":"Aumentou o limite de max-prefix de {who} no {ix} para {n}. Pareciam simpáticos.", -"Kept {who} down at {ix} for “suspicious growth”. They had grown by one customer.":"Deixou {who} fora no {ix} por “crescimento suspeito”. Eles tinham ganhado um cliente.", -"Raised the max-prefix limit for {who} at {ix}. Correctly, this time.":"Aumentou o limite de max-prefix de {who} no {ix}. Corretamente, desta vez.", -"Kept {who} down at {ix}: it was a route leak. Nailed it.":"Deixou {who} fora no {ix}: era um vazamento de rotas. Acertou em cheio.", -"Answered your mail: {a} accepted, {d} declined.":"Respondeu seus e-mails: {a} aceitos, {d} recusados.", -"Tidied up a session it decided was unused: de-peered {who} at {ix}.":"Fez uma faxina nas sessões que achou inúteis: desfez o peering com {who} no {ix}.", -"{n} day ago":"há {n} dia", -"{n} days ago":"há {n} dias", -"today":"hoje", +"Peering spat":"Briga de peering", "PeeringDB last updated {n} year ago":"PeeringDB atualizado há {n} ano", "PeeringDB last updated {n} years ago":"PeeringDB atualizado há {n} anos", "PeeringDB updated last month":"PeeringDB atualizado no mês passado", -"Max-prefix limit hit: {who} at {ix}":"Limite de max-prefix estourado: {who} no {ix}", -"Configured: {lim} prefixes. Received: {got}.":"Configurado: {lim} prefixos. Recebidos: {got}.", +"Peers with anyone, and wants to know everything about your routes.":"Faz peering com qualquer um, e quer saber tudo sobre as suas rotas.", +"Peers with you for free now, but only over a PNI":"Agora faz peering com você de graça, mas só via PNI", +"Peers with you for free over a PNI. You got too big to charge.":"Faz peering com você de graça via PNI. Você ficou grande demais para ser cobrado.", +"Penalties are running.":"As multas estão correndo.", +"Penalty in {n} days.":"Multa em {n} dias.", +"Penny Pincher":"Mão de vaca", +"People phone you to ask if the internet is down. You are the internet. Have you tried turning yourself off and on again?":"As pessoas ligam para perguntar se a internet caiu. A internet é você. Já tentou se desligar e ligar de novo?", +"Per month":"Por mês", +"Permits, trenching, splicing":"Licenças, valas, emendas", +"Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich.":"De Perth a Singapura e Jacarta. Preparado fresquinho toda manhã, e cortado mais vezes que um sanduíche.", +"Perth to the Gulf across the Indian Ocean. Oh man, it is long.":"De Perth ao Golfo pelo Oceano Índico. Nossa, como é comprido.", +"Philippine giant. Peering requests are reviewed over a cup of tea.":"Gigante filipino. Pedidos de peering são avaliados com uma xícara de chá.", +"Phones on every island from Papua New Guinea to Tonga, and transit to sell on each one.":"Celulares em cada ilha de Papua-Nova Guiné a Tonga, e transit para vender em cada uma.", +"Pick a POP":"Escolha um POP", +"Pick a challenge":"Escolha um desafio", +"Pick the POPs to shut down. Everything in them goes: routers, ports, caches, exchange ports and every link that touches them.":"Escolha os POPs para desligar. Vai tudo junto: routers, portas, caches, portas de exchange e todo link que encosta neles.", +"Pick your home city":"Escolha sua cidade natal", +"Pig Whisperer":"Encantador de porcos", +"Pink eyeball giant. Peering is available... for a monthly fee.":"Gigante eyeball cor-de-rosa. O peering está disponível... mediante mensalidade.", +"Pizza for the whole NOC after every incident: {price} each.":"Pizza para o NOC inteiro depois de cada incidente: {price} por vez.", +"Plan a cable":"Planejar um cabo", +"Plan dark fiber":"Planejar dark fiber", +"Plan your own fiber":"Planejar sua fibra", +"Play":"Jogar", +"Play in the browser anyway":"Jogar no navegador mesmo", +"Play it as an app":"Jogue como app", +"Please configure sessions with us at {ix}. We will do ours next week, or the week after.":"Por favor configurem as sessões com a gente no {ix}. Nós faremos as nossas semana que vem, ou na outra.", +"Plus {n} in-line amplifier ({price} each, {mo}/mo for hut rent and power).":"Mais {n} amplificador em linha ({price} cada, {mo}/mês de aluguel da cabine e energia).", +"Plus {n} in-line amplifiers ({price} each, {mo}/mo for hut rent and power).":"Mais {n} amplificadores em linha ({price} cada, {mo}/mês de aluguel da cabine e energia).", +"Plus {pct} of your revenue until it is repaid.":"Mais {pct} da sua receita até quitar.", +"Pluto, which is not even a planet":"Plutão, que nem planeta é", +"Point of presence: your router in a data center. Everything starts at a POP.":"Point of presence: seu router num data center. Tudo começa num POP.", +"Policy: no remote peers. Be in the building or be in the transit bill.":"Policy: nada de peers remotos. Ou você está no prédio, ou está na conta do transit.", +"Polite, enormous, and sorry about the bill.":"Educado, enorme e pedindo desculpas pela conta.", +"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.", +"Port":"Porta", +"Ports at all six DE-KICKS exchanges. They thank you for your continued partnership.":"Portas em todos os seis exchanges DE-KICKS. Eles agradecem pela parceria contínua.", +"Ports at {p}% of the usual price.":"Portas a {p}% do preço normal.", +"Ports on 20 IX.brrr exchanges, one of them in Manaus, and 200 Gbps served":"Portas em 20 exchanges IX.brrr, uma delas em Manaus, e 200 Gbps servidos", +"Ports on IX.brrr in São Paulo, Rio and Fortaleza.":"Portas no IX.brrr em São Paulo, Rio e Fortaleza.", +"Ports up to {port} are free.":"Portas até {port} são grátis.", +"Ports, caches and routers running hot":"Portas, caches e routers no talo", +"Portugal to Lagos, with stops in Dakar, Abidjan and Accra. Only ever thinks about West Africa.":"Portugal a Lagos, com paradas em Dacar, Abidjan e Acra. Só pensa na África Ocidental.", +"Portugal to the US Southeast via Bermuda. Means cloud in Portuguese, and is owned by one.":"De Portugal ao Sudeste dos EUA via Bermudas. Em português significa nuvem, e o dono é uma.", +"Portugal’s incumbent. Purrs when you send it traffic.":"A incumbent de Portugal. Ronrona quando você manda tráfego.", +"Post it wherever your peering friends hang out.":"Poste onde seus amigos de peering se encontram.", +"Power":"Energia", +"Power cuts are covered.":"Quedas de energia estão cobertas.", +"Power outage":"Queda de energia", +"Power outage at {dc} in {city}. The generator did not start.":"Queda de energia no {dc} em {city}. O gerador não ligou.", +"Powered by renewable rodents. Uptime depends on snack schedule.":"Movido a roedores renováveis. O uptime depende do horário do lanche.", +"Prefer":"Preferir", +"Prefixes":"Prefixos", +"Premium crossing +60% · ~3% loss":"Travessia premium +60% · ~3% de perda", +"Premium crossings are only sold in Hong Kong.":"Travessias premium só são vendidas em Hong Kong.", +"Premium submarine terminals":"Terminais submarinos premium", +"Prepaid mobile from Paraguay to Guatemala, with a logo that roars.":"Celular pré-pago do Paraguai à Guatemala, com um logo que ruge.", +"Prepend Diet":"Dieta de prepend", +"Prepend-ageddon":"Prependgeddon", +"Price lock":"Congelamento de preços", +"Prices include {p} back for the old routers on eBuy.":"Os preços incluem {p} de volta pelos routers antigos no eBuy.", +"Pricing is reviewed by the Global Commercial Council, who meet on the next full moon.":"Os preços são revisados pelo Global Commercial Council, que se reúne na próxima lua cheia.", +"Private 5G and business fiber from Oostkamp. Its traffic arrives in sudden industrial bursts.":"5G privado e fibra empresarial de Oostkamp. O tráfego chega em rajadas industriais repentinas.", +"Private interconnects (PNI)":"Interconexões privadas (PNI)", +"Private network interconnect: a cable straight to one network in the same building. For big traffic.":"Private network interconnect: um cabo direto para uma única rede no mesmo prédio. Para tráfego grande.", +"Probably the cleanest capital in Africa, with fiber to every district and plastic bags banned at the border.":"Provavelmente a capital mais limpa da África, com fibra em todos os bairros e sacolas plásticas proibidas na fronteira.", +"Provedor (small regional ISP)":"Provedor (pequeno ISP regional)", +"Proxyminus’s wholesale arm. Present at nearly every exchange on Earth, and Belgian about it.":"O braço de atacado da Proxyminus. Presente em quase todo exchange da Terra, e bem belga quanto a isso.", +"Purple jacaranda trees and long power cuts. Every POP here needs a generator and a lot of diesel.":"Jacarandás roxos e longas quedas de energia. Todo POP aqui precisa de um gerador e muito diesel.", +"Qatar’s big operator. Paid peering only, and it sings the price list to you.":"A grande operadora do Catar. Só peering pago, e ela canta a tabela de preços pra você.", +"Quick Pacific crossing with a stop for snacks.":"Travessia rápida do Pacífico com parada pro lanche.", +"Quotes go up with how big you look.":"A cotação sobe conforme o tamanho que você aparenta.", +"RPKI invalid":"RPKI invalid", +"RTBH is free and instant, but it drops everything to the victim, attack and customer alike. An IX blackhole keeps the customer up but only about half the members honour it. HackBack 3000™ by Skynot AI sometimes ends it, and sometimes flattens an innocent and earns you a fine.":"RTBH é grátis e instantâneo, mas descarta tudo que vai para a vítima, ataque e cliente juntos. Um blackhole no IX mantém o cliente no ar, mas só cerca de metade dos membros respeita. O HackBack 3000™ da Skynot AI às vezes resolve, e às vezes derruba um inocente e te rende uma multa.", +"Racks in the nave, cooling in the crypt. Divine uptime.":"Racks na nave, refrigeração na cripta. Uptime divino.", +"Raise a full link’s metric so traffic prefers another path, upgrade it, or install Auto-TE.":"Aumente a métrica de um link cheio para o tráfego preferir outra rota, faça upgrade nele ou instale o Auto-TE.", +"Raise the limit":"Aumentar o limite", +"Raised the max-prefix limit for {who} at {ix} to {n}. They seemed nice.":"Aumentou o limite de max-prefix de {who} no {ix} para {n}. Pareciam simpáticos.", +"Raised the max-prefix limit for {who} at {ix}. Correctly, this time.":"Aumentou o limite de max-prefix de {who} no {ix}. Corretamente, desta vez.", +"Rank":"Ranking", +"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.", +"Rare":"Raro", +"Rate-limit the bursts":"Limitar os bursts", +"Reach":"Alcance", +"Reach 45% of the internet and serve 300 Gbps":"Alcance 45% da internet e atenda 300 Gbps", +"Reach 99% of the internet at all times. We looked up what a network is for.":"Alcance 99% da internet o tempo todo. Pesquisamos para que serve uma rede.", +"Reach Tier 1 within three years.":"Chegue ao Tier 1 em até três anos.", +"Reach Tier 1 within two years.":"Chegue ao Tier 1 em até dois anos.", +"Reach Tier 2 with every single session over the route server.":"Chegue ao Tier 2 com todas as sessões via route server.", +"Reach an IX over a fabric circuit without a POP there. It works, and the route server still gets you every open network, but it is discouraged: the reseller charges 1.5× for the port and oversubscribes it to 80%, latency rides the fabric, one fabric outage drops every session, and many selective networks refuse remote members outright.":"Chegue a um IX por um circuito de fabric sem ter POP lá. Funciona, e o route server ainda te dá todas as redes abertas, mas não é recomendado: o revendedor cobra 1,5× pela porta e faz oversubscription a 80%, a latência depende do fabric, uma queda do fabric derruba todas as sessões, e muitas redes seletivas recusam membros remotos na hora.", +"Reach customer level 13.":"Alcance o nível de clientes 13.", +"Reach the whole internet":"Alcance a internet inteira", +"Reach without transit":"Alcance sem transit", +"Reaches networks from the last update that you have no other path to, for free. Connect to them before it ends.":"Alcança de graça as redes da última atualização que você não tem outro caminho para alcançar. Conecte-se a elas antes que acabe.", +"Reaching your network: {g}":"Chegando na sua rede: {g}", +"Read the full notes on GitHub":"Leia as notas completas no GitHub", +"Ready for a PNI in {city}":"Pronto para um PNI em {city}", +"Ready in about {n} days":"Pronta em cerca de {n} dias", +"Ready in {n} days":"Pronto em {n} dias", +"Ready-made scripts":"Scripts prontos", +"Really cancel?":"Cancelar mesmo?", +"Really close it?":"Fechar mesmo?", +"Really decommission?":"Desativar mesmo?", +"Really drop?":"Largar mesmo?", +"Really give it up?":"Desistir mesmo?", +"Really leave?":"Sair mesmo?", +"Really pay {price}?":"Pagar mesmo {price}?", +"Really remove?":"Remover mesmo?", +"Really shut it down?":"Desligar mesmo?", +"Red Sea Crisis":"Crise no Mar Vermelho", +"Redundancy":"Redundância", +"Refuses Cogentle transit anywhere on your network (long story)":"Recusa transit da Cogentle em qualquer ponto da sua rede (longa história)", +"Regen sites":"Sites de regeneração", +"Region frozen while they renegotiate with the local incumbent.":"Região congelada enquanto renegociam com a incumbente local.", +"Regional broadband levy":"Taxa de banda larga regional", +"Regional player":"Player regional", +"Regional quirks":"Peculiaridades regionais", +"Registered":"Inscrito", +"Registration closed":"Inscrições encerradas", +"Regular crossing":"Travessia comum", +"Regulators ordered every network in {city} to switch off for a day during national school exams. Yes, this really happens.":"As autoridades mandaram todas as redes em {city} desligarem por um dia durante os exames nacionais. Sim, isso acontece de verdade.", +"Release notes":"Notas de versão", +"Release to plan a link":"Solte para planejar um link", +"Reload now":"Recarregar agora", +"Remote peering":"Remote peering", +"Remote peering at the IX":"Remote peering no IX", +"Remote peering at {ix} · discouraged":"Peering remoto em {ix} · não recomendado", +"Remote peering leg into {ix}.":"Trecho de remote peering até {ix}.", +"Remote port via a reseller: 1.5× price, 80% usable, and {n} member here refuse remote peers.":"Porta remota via revendedor: preço 1,5×, 80% utilizável, e {n} membro aqui recusa peers remotos.", +"Remote port via a reseller: 1.5× price, 80% usable, and {n} members here refuse remote peers.":"Porta remota via revendedor: preço 1,5×, 80% utilizável, e {n} membros aqui recusam peers remotos.", +"Remove":"Remover", +"Remove one":"Remover um", +"Remove port":"Remover porta", +"Remove script":"Remover script", +"Renew the ROA":"Renovar a ROA", +"Rent a generator":"Alugar um gerador", +"Repay early {price} incl. 2% fee":"Quitar antes {price} c/ 2% de taxa", +"Replace 16 Tbps of them and the cable pays for itself in about {n} months.":"Substitua 16 Tbps delas e o cabo se paga em cerca de {n} meses.", +"Replied to a peering request with a haiku about BGP. No answer yet.":"Respondeu a um pedido de peering com um haicai sobre BGP. Nenhuma resposta ainda.", +"Request":"Pedir", +"Request all {n} willing peers":"Pedir todos os {n} peers dispostos", +"Rerouted via Hong Kong":"Rerroteado via Hong Kong", +"Reset to example":"Voltar ao exemplo", +"Responsive":"Responde rápido", +"Resume":"Continuar", +"Retention offer":"Oferta de retenção", +"Revenue":"Receita", +"Reward {cash}":"Prêmio {cash}", +"Reward: +{amt}":"Prêmio: +{amt}", +"Ride out load shedding on your own generator.":"Aguente os apagões programados com seu próprio gerador.", +"Right between London, Amsterdam, Paris and Frankfurt, and somehow pricier than all four. Two networks own every Belgian living room, and nobody switches unless you advertise.":"Bem no meio de Londres, Amsterdã, Paris e Frankfurt, e de algum jeito mais cara que as quatro. Duas redes dominam toda sala de estar belga, e ninguém troca a não ser que você faça propaganda.", +"Right now {city} is one building. A power cut, an A/C failure or a cleaner with a vacuum takes the whole city dark, and a second router does not help with that. A second data center across town, joined by your own metro ring, keeps half the POP up.":"Agora {city} é um prédio só. Uma queda de energia, uma pane no ar-condicionado ou um faxineiro com aspirador apaga a cidade toda, e um segundo router não ajuda nisso. Um segundo data center do outro lado da cidade, ligado pelo seu próprio anel metro, mantém metade do POP no ar.", +"Right on the equator, at the mouth of the Amazon. No road links it to the rest of Brazil, and its power grid has had very long bad weeks.":"Bem na linha do equador, na foz do Amazonas. Nenhuma estrada a liga ao resto do Brasil, e a rede elétrica já teve semanas ruins bem longas.", +"Right-of-way upkeep":"Manutenção da faixa de servidão", +"Ring of Fire":"Anel de Fogo", +"Rio from scratch. Carnaval starts in 90 days and wants 400 Gbps for five days straight. The whole world is watching.":"Rio do zero. O Carnaval começa em 90 dias e quer 400 Gbps por cinco dias seguidos. O mundo inteiro está assistindo.", +"Road to Tier 1":"Rumo ao Tier 1", +"Road widening near {a} cut your fiber to {b}. It is always road widening.":"Uma obra de alargamento de estrada perto de {a} cortou sua fibra para {b}. É sempre alargamento de estrada.", +"Road works cut {a}–{b}. Nobody called before digging.":"Obras na rua cortaram {a}–{b}. Ninguém ligou antes de cavar.", +"Roll back the config":"Fazer rollback da config", +"Rolling upgrade: one router at a time, no downtime.":"Upgrade gradual: um router por vez, sem downtime.", +"Route":"Rota", +"Route leak":"Route leak", +"Route:":"Rota:", +"Router added":"Router adicionado", +"Router crash":"Crash do router", +"Router load":"Carga dos routers", +"Router maxed out":"Router no limite", +"Router ports":"Portas do router", +"Routers":"Routers", +"Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.":"Roteadores, ópticas e novas obras aos preços de hoje por um ano, faltas incluídas. As tarifas são do governo, não do seu fornecedor.", +"Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.":"Roteadores, ópticas e novas obras ficam mais caros com os anos, cerca de 4% ao ano depois dos primeiros seis meses, e de vez em quando uma falta deixa um deles bem mais caro por um ou dois meses. O que você já tem mantém o preço. Sobressalentes na prateleira e um congelamento anual de preços na aba NOC amortecem o golpe.", +"Routing metric":"Métrica de roteamento", +"Rules":"Regras", +"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.", +"Rules:":"Regras:", +"Run":"Executar", +"Run a licensed POP in mainland China.":"Opere um POP licenciado na China continental.", +"Run a link round Cape Horn.":"Passe um link pelo Cabo Horn.", +"Run a sacrificial PNI choke point.":"Use um PNI sacrificial como ponto de gargalo.", +"Run a slow-booting PacketOinker chassis.":"Rode um chassis PacketOinker de boot lento.", +"Run ad campaign $8k · 2× growth 30d":"Rodar campanha $8k · 2× crescimento 30d", +"Run by hackers on caffeine. The route server has a disco ball.":"Gerido por hackers à base de cafeína. O route server tem globo de discoteca.", +"Run home broadband somewhere underserved (Asia, Africa, Oceania or South America).":"Ofereça banda larga residencial em algum lugar mal atendido (Ásia, África, Oceania ou América do Sul).", +"Run two routers in one POP.":"Rode dois routers em um POP.", +"Running an exchange in mainland China takes a different license entirely. Peer with Chinese networks over PNIs, or meet them in Hong Kong.":"Operar um exchange na China continental exige uma licença totalmente diferente. Faça peering com redes chinesas via PNI ou encontre-as em Hong Kong.", +"Runs at {g} per channel on this route (long-haul mode).":"Nesta rota roda a {g} por canal (modo long-haul).", +"Runs on its own route. A cut here leaves the other links up.":"Segue uma rota própria. Um corte aqui deixa os outros links de pé.", +"Runs the post, the phones and the internet in New Caledonia and French Polynesia. Packets arrive stamped, with a croissant.":"Cuida do correio, dos telefones e da internet na Nova Caledônia e na Polinésia Francesa. Os pacotes chegam selados, com um croissant.", +"Runs the village network between call-outs.":"Cuida da rede da vila entre um chamado e outro.", +"Rural broadband for the islands, one olive tree at a time.":"Banda larga rural para as ilhas, uma oliveira de cada vez.", +"Rural fiber that follows the tractor routes.":"Fibra rural que segue as rotas dos tratores.", +"Rush repair":"Reparo urgente", +"Russia":"Rússia", +"SD-WAN for a chain":"SD-WAN para uma rede de lojas", +"SD-WAN for {name}":"SD-WAN para {name}", +"SYN flood":"flood SYN", +"Sacrificial Lamb":"Boi de piranha", +"Sacrificial choke ✓":"Gargalo sacrificial ✓", +"Safari can clear the data of websites you have not opened for a week. A home-screen app keeps its own.":"O Safari pode apagar os dados de sites que você não abre há uma semana. Um app na tela inicial guarda os seus.", +"Samba Peering":"Peering no samba", +"Same Street":"Mesma rua", +"Same trench cheaper · one backhoe cuts all":"Mesma vala mais barato · uma retro corta tudo", +"Samoa to Tahiti by way of the Cook Islands. Steeped slowly.":"De Samoa ao Taiti passando pelas Ilhas Cook. Em infusão lenta.", +"Samoa’s broadband, promised with a slice of something sweet.":"A banda larga de Samoa, prometida com uma fatia de algo doce.", +"Samoa’s capital, with cables to Fiji, American Samoa and Tahiti. Sunday is for church, so maintenance windows are on Saturday.":"A capital de Samoa, com cabos para Fiji, Samoa Americana e o Taiti. Domingo é dia de igreja, então as janelas de manutenção são no sábado.", +"Sandbox":"Sandbox", +"Sandbox gives you a billion dollars, every unlock and no failures, but no badges. Scenarios are hand-built challenges with a goal and a deadline, and the weekly challenge gives everyone the same world for a week. Share your result with the card in the menu.":"O Sandbox te dá um bilhão de dólares, tudo desbloqueado e nenhuma falha, mas nada de medalhas. Cenários são desafios feitos à mão com uma meta e um prazo, e o desafio semanal dá a todo mundo o mesmo mundo por uma semana. Compartilhe seu resultado com o cartão no menu.", +"Saturn":"Saturno", +"Saudi Arabia’s Red Sea cable hub. More and more of the cables between Europe, Africa and Asia stop here instead of in Egypt.":"O hub de cabos da Arábia Saudita no Mar Vermelho. Cada vez mais cabos entre Europa, África e Ásia param aqui em vez do Egito.", +"Saved on this device.":"Salvo neste dispositivo.", +"Saves {price}/mo, pays for itself in about {n} months.":"Economiza {price}/mês, se paga em cerca de {n} meses.", +"Saw your session come in over a fabric and said \"we can smell the VXC from here\".":"Viram sua sessão chegando por um fabric e disseram “dá pra sentir o cheiro de VXC daqui”.", +"Says “oi” to every home in Brazil. The fiber is great, the balance sheet is still recovering.":"Diz “oi” para todas as casas do Brasil. A fibra é ótima, o balanço ainda está se recuperando.", +"Scenario":"Cenário", +"Scenario Grandmaster":"Grão-mestre dos cenários", +"Scenario Solver":"Resolvedor de cenários", +"Scenario Specialist":"Especialista em cenários", +"Scenario complete":"Cenário concluído", +"Scenario over":"Fim do cenário", +"Scenarios":"Cenários", +"Scenarios & weekly challenge":"Cenários & desafio semanal", +"Scenarios & weekly challenge →":"Cenários e desafio semanal →", +"Scenic (quietest links)":"Panorâmica (links mais tranquilos)", +"Scotland to Iceland via Shetland and the Faroes. More sheep than packets.":"Da Escócia à Islândia via Shetland e Faroé. Mais ovelhas que pacotes.", +"Scotland’s capital. North Sea cables to Norway and the Faroes land up the coast.":"A capital da Escócia. Cabos do Mar do Norte para a Noruega e as Faroé desembarcam pela costa.", +"Script Kiddie":"Script Kiddie", +"Script removed. Plain Auto-TE is back in charge.":"Script removido. O Auto-TE simples volta ao comando.", +"Scrubbing centers":"Centros de scrubbing", +"Search, maps and a cheerful goodbye.":"Busca, mapas e um tchau animado.", +"Search, taxis and maps. Slightly sleepy.":"Busca, táxis e mapas. Meio sonolento.", +"Search, video and goggles. Mostly goggles.":"Busca, vídeo e óculos de natação. Principalmente óculos.", +"Second site and metro ring":"Segundo site e anel metro", +"Security team asks: “are we on PHP?” Everyone: “define we”":"O time de segurança pergunta: “a gente usa PHP?” Todo mundo: “define a gente”", +"See who":"Ver quem", +"Selective networks in {region} need half the usual traffic to peer. Now is the time to ask for that PNI.":"Redes seletivas em {region} pedem metade do tráfego de sempre para fazer peering. Agora é a hora de pedir aquele PNI.", +"Sell internet to homes here. Starts around {start} and grows toward {max} while service is good. Pays {rate} per Gbps served, every month.":"Venda internet para as casas daqui. Começa em uns {start} e cresce até {max} enquanto o serviço for bom. Paga {rate} por Gbps servido, todo mês.", +"Sell one {price}":"Vender um {price}", +"Selling spare capacity":"Vender capacidade ociosa", +"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.", +"Send us your monthly report by fax.":"Mande seu relatório mensal por fax.", +"Sender Pays":"Sender Pays", +"Sender pays: a paid PNI only, {fee}/mo plus {g} per Gbps you send":"Sender pays: só PNI pago, {fee}/mês mais {g} por Gbps que você envia", +"Seoul. The fastest, hungriest eyeballs on Earth, transit at four times the price, and three incumbents who bill you for every gigabit you send them.":"Seoul. Os eyeballs mais rápidos e famintos da Terra, transit a quatro vezes o preço, e três incumbentes que te cobram por cada gigabit que você manda.", +"Sep":"set", +"Series of Tubes is made for your home screen. It takes ten seconds, costs nothing, and it is a much better game there:":"Series of Tubes foi feito para a sua tela inicial. Leva dez segundos, não custa nada, e o jogo fica muito melhor lá:", +"Series of Tubes {v} is out!":"Saiu o Series of Tubes {v}!", +"Series of Tubes: build the internet, one tube at a time":"Series of Tubes: construa a internet, um tubo de cada vez", +"Serious backbone":"Backbone de respeito", +"Serve 1 Pbps: a thousand terabits of happy traffic.":"Atenda 1 Pbps: mil terabits de tráfego feliz.", +"Serve 1 Tbps":"Sirva 1 Tbps", +"Serve 10 Tbps":"Sirva 10 Tbps", +"Serve 100 Tbps.":"Atenda 100 Tbps.", +"Serve 99.5% of demand every single day for a whole year.":"Atenda 99,5% da demanda todos os dias por um ano inteiro.", +"Serve as much traffic as you can in one year.":"Sirva o máximo de tráfego que conseguir em um ano.", +"Served in {city}":"Servido em {city}", +"Servers cooled by the lake, then used to heat the sauna.":"Servidores resfriados pelo lago, depois usados para aquecer a sauna.", +"Set MTU 9216 everywhere":"Configurar MTU 9216 em tudo", +"Set up a PNI":"Ative um PNI", +"Set up a PNI while the conference glow lasts.":"Monte um PNI enquanto dura o clima da conferência.", +"Settings":"Configurações", +"Settlement-free peering with Frysian roots. The 10G and 100G ports cost nothing. Bring an ASN and an appetite for route servers. Mayonnaise is extra.":"Peering settlement-free com raízes frísias. As portas 10G e 100G não custam nada. Traga um ASN e apetite por route servers. Maionese é à parte.", +"Share":"Compartilhar", +"Share my network":"Compartilhar minha rede", +"Share my result":"Compartilhar resultado", +"Share your network image card":"Compartilhar sua rede card de imagem", +"Shares a trench with {n} other link. One cut takes them all down.":"Divide a vala com {n} outro link. Um corte derruba todos.", +"Shares a trench with {n} other links. One cut takes them all down.":"Divide a vala com outros {n} links. Um corte derruba todos.", +"Share…":"Compartilhar…", +"Shark Bait":"Isca de tubarão", +"Shark Week":"Semana do Tubarão", +"Shark bites":"Mordidas de tubarão", +"Shark season: subsea cuts twice as likely":"Temporada de tubarão: cortes submarinos duas vezes mais prováveis", +"Sharp, edgy, and finally speaks 400G and 400ZR+.":"Afiado, ousado e finalmente fala 400G e 400ZR+.", +"Shields Up":"Escudos ativados", +"Shields half the web from crowds of bots. The Rackstar Partner Program (RPP) puts a cache in your rack once you send enough traffic.":"Protege metade da web de multidões de bots. O Rackstar Partner Program (RPP) coloca um cache no seu rack quando você envia tráfego suficiente.", +"Ships parcels and packets, both overnight.":"Entrega pacotes e pacotes, os dois em 24 horas.", +"Shopping festivals that melt traffic graphs.":"Festivais de compras que derretem gráficos de tráfego.", +"Short hop across the North Sea. An odyssey it is not.":"Um pulinho pelo Mar do Norte. Odisseia não é.", +"Short hops under the Baltic Sea. Every passing ship seems to find it.":"Pulinhos por baixo do Mar Báltico. Todo navio que passa parece encontrá-lo.", +"Short videos, very long traffic graphs.":"Vídeos curtos, gráficos de tráfego longuíssimos.", +"Shortage":"Falta", +"Show":"Mostrar", +"Show all {n}":"Mostrar todas as {n}", +"Show fewer":"Mostrar menos", +"Show me":"Mostrar", +"Shut down":"Desligar", +"Shut this POP down: its links, ports and caches go with it, and every customer that depends on it is let go, with an early-termination penalty.":"Desligar este POP: links, portas e caches vão junto, e todo cliente que depende dele é dispensado, com multa por rescisão antecipada.", +"Sign {price}/mo":"Assinar {price}/mês", +"Sign a business customer":"Feche um cliente empresarial", +"Sign a giant":"Feche com um gigante", +"Sign the IRU":"Assinar o IRU", +"Signed you up for a webinar on “Peering in the Age of AI”.":"Inscreveu você num webinar sobre “Peering na era da IA”.", +"Signed!":"Assinado!", +"Singapore to Sydney via Perth, on the days it is up.":"De Singapura a Sydney via Perth, nos dias em que está funcionando.", +"Sings your packets across Asia-Pacific.":"Canta seus pacotes pela Ásia-Pacífico.", +"Site outage":"Site fora do ar", +"Site:":"Site:", +"Six Continents":"Seis continentes", +"Six-continent carrier":"Carrier dos seis continentes", +"Sixth in a long-running series. Europe to India to Singapore.":"Sexto de uma longa franquia. Europa, Índia, Singapura.", +"Sixty-four 1.6T ports on open-source software for the price of one line card. There is still nobody to call at 3 a.m., but now the crashes are 1.6T crashes.":"Sessenta e quatro portas 1.6T com software open source pelo preço de uma line card. Ainda não tem ninguém para ligar às 3 da manhã, mas agora os crashes são de 1.6T.", +"Skip tutorial":"Pular tutorial", +"Skynot AI flattened a grandma's internet-connected fridge.":"A Skynot AI derrubou a geladeira conectada de uma vovó.", +"Skynot Smiles":"Skynot sorri", +"Slop it with AI":"Deixa a IA fazer nas coxas", +"Slow cities":"Cidades lentas", +"Slow on the hills, fast on the flat.":"Lento na subida, rápido no plano.", +"Small, fast and always leaping to the next deal. Ribbit.":"Pequeno, rápido e sempre pulando para a próxima oferta. Croac.", +"Small, rich and very well connected, as long as the neighbours are on speaking terms. Its only land border is with Saudi Arabia.":"Pequeno, rico e superconectado, desde que os vizinhos estejam se falando. A única fronteira terrestre é com a Arábia Saudita.", +"Snow closed the mountain pass, and the repair crew with it: {a}–{b} is down.":"A neve fechou a passagem na montanha, e a equipe de reparo junto: {a}–{b} caiu.", +"Social media. Everyone keeps falling for it.":"Rede social. Todo mundo continua caindo nessa.", +"Social network with perfect vision.":"Rede social com visão perfeita.", +"Some customers come with conditions: no Cogentle anywhere, no subsea cables because of sharks, two routers, a generator, NetChill on-net, low-loss China reach and more. Each pays a bonus. Unmet ones make them grumpy until you fix it or they leave.":"Alguns clientes vêm com condições: nada de Cogentle em lugar nenhum, nada de cabo submarino por causa dos tubarões, dois routers, um gerador, NetChill on-net, acesso à China com pouca perda e mais. Cada uma paga um bônus. As não atendidas deixam o cliente rabugento até você resolver ou ele ir embora.", +"Some of the fastest home broadband on the planet, and the strangest peering market. Under “sender pays”, the big three ISPs charge for every gigabit handed to them, and transit here is among the priciest anywhere.":"Uma das bandas largas residenciais mais rápidas do planeta, e o mercado de peering mais estranho. No “sender pays”, os três grandes ISPs cobram por cada gigabit entregue a eles, e o transit aqui está entre os mais caros do mundo.", +"Some routers take forever to boot. The Infra tab shows how long yours takes. Slow booters make crashes last longer and turn a one-router swap into a three-day outage. Bigger chassis, especially anything with a PacketOinker™ inside, are slow more often. Twin routers make it someone else’s problem.":"Alguns routers levam uma eternidade para dar boot. A aba Infra mostra quanto o seu demora. Os lentos fazem os crashes durarem mais e transformam a troca de um router único numa queda de três dias. Chassis maiores, principalmente qualquer coisa com um PacketOinker™ dentro, são lentos com mais frequência. Routers gêmeos fazem disso problema de outra pessoa.", +"Somebody else’s gas main was exactly where the map said it was not.":"O gasoduto de outra empresa estava exatamente onde o mapa dizia que não estava.", +"Someone committed a config in {city} with “commit confirmed 1” and went to lunch.":"Alguém deu commit numa config em {city} com “commit confirmed 1” e foi almoçar.", +"Someone deleted the DNS record for the internal wiki. The runbook for fixing DNS was on the wiki.":"Alguém apagou o registro DNS da wiki interna. O runbook para consertar DNS estava na wiki.", +"Someone deployed to {city} on a Friday at 16:59.":"Alguém fez deploy em {city} numa sexta-feira às 16:59.", +"Someone filtered all ICMP on your edge “for security”. Path MTU discovery broke, and connections to {net} hang right after the handshake.":"Alguém filtrou todo ICMP na sua borda “por segurança”. O Path MTU discovery quebrou, e as conexões com {net} travam logo depois do handshake.", +"Someone from Goggle bought you a beer. You did not get their name, only a sticker.":"Alguém da Goggle te pagou uma cerveja. Você não pegou o nome, só um adesivo.", +"Someone in {dc} labeled every patch cable “DO NOT UNPLUG”. Someone else unplugged one anyway: your {a}–{b} link.":"Alguém no {dc} etiquetou cada patch cord com “NÃO DESCONECTE”. Outra pessoa desconectou um mesmo assim: seu link {a}–{b}.", +"Someone named a VLAN “prodcution”. It is now load-bearing and can never be renamed.":"Alguém chamou uma VLAN de “prodcution”. Agora ela é estrutural e nunca mais pode ser renomeada.", +"Someone plugged a loop into the {ix} fabric. Broadcast storm! All peering there is down.":"Alguém plugou um loop no fabric do {ix}. Broadcast storm! Todo o peering lá caiu.", +"Someone pulled the wrong cross-connect at the meet-me room in {city}, and {siteB} is cut off from {siteA}.":"Alguém puxou o cross-connect errado na meet-me room de {city}, e {siteB} ficou isolado de {siteA}.", +"Someone ran “reload” on the {city} router, thinking it was their laptop terminal.":"Alguém rodou “reload” no router de {city}, achando que era o terminal do notebook.", +"Someone set min-links on your {lab} to the number of members. One member flapped, so the whole bundle went down.":"Alguém configurou o min-links do seu {lab} igual ao número de membros. Um membro oscilou, e o bundle inteiro caiu.", +"Someone set the data center thermostat in {city} to Fahrenheit thinking it was Celsius. Routers are cooking at half speed.":"Alguém configurou o termostato do data center em {city} em Fahrenheit achando que era Celsius. Os routers estão cozinhando a meia velocidade.", +"Someone stole the copper grounding from an amp hut on {a}–{b}. All channels dark.":"Alguém roubou o cobre do aterramento de uma cabana de amplificadores em {a}–{b}. Todos os canais apagados.", +"Somewhere, on every continent, a backhoe is thinking about you.":"Em algum lugar, em cada continente, uma retroescavadeira está pensando em você.", +"Sound":"Som", +"Source on GitHub":"Código no GitHub", +"South Africa’s east coast: surf, curry and the beach where the Indian Ocean cables land.":"A costa leste da África do Sul: surfe, curry e a praia onde chegam os cabos do Oceano Índico.", +"South America":"América do Sul", +"South America’s biggest market, and home of IX.brrr: run by a nonprofit, public prices, and nearly everyone is on it.":"O maior mercado da América do Sul e casa do IX.brrr: gerido por uma ONG, preços públicos, e praticamente todo mundo está nele.", +"South Atlantic, cool and confident.":"Atlântico Sul, tranquilo e confiante.", +"Southeast Asia to Japan, with snacks.":"Do Sudeste Asiático ao Japão, com lanchinho.", +"Sovereign cloud region":"Region de cloud soberana", +"Sovereign cloud regions, and a free PNI with Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 channels), Disco 8K Ultra routers.":"Regions de cloud soberana e um PNI grátis com a Doitsche Telekomm. Gear: ROADMaster 9000 C+L (128 canais), routers Disco 8K Ultra.", +"Sovereign internet rules: every POP needs a government box in the rack, Goggle video is throttled, and the national firewall runs drills.":"Regras de internet soberana: todo POP precisa de uma caixa do governo no rack, os vídeos do Goggle são estrangulados e o firewall nacional faz simulados.", +"Spare optics and amplifier cards on the shelf turn multi-day hardware failures into one-day swaps.":"Ópticas e placas de amplificador de reserva na prateleira transformam falhas de hardware de vários dias em trocas de um dia.", +"Spares bought now are already paid for when the next shortage hits.":"Sobressalentes comprados agora já estão pagos quando vier a próxima falta.", +"Spares kit on ✓":"Kit de reserva ativo ✓", +"Spares shelf":"Prateleira de reservas", +"Speed":"Velocidade", +"Speedrun":"Speedrun", +"Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.":"Rápido no nome. Tem uma fatia do cabo para Singapura e não para de comprar provedores menores.", +"Spicy pricing, mild latency.":"Preços apimentados, latência suave.", +"Splice it tonight":"Emendar hoje à noite", +"Spreadsheet IPAM":"IPAM em planilha", +"Squirrels chewed through {a}–{b}. They regret nothing.":"Esquilos roeram {a}–{b}. Não se arrependem de nada.", +"Stage Six":"Estágio seis", +"Stand up DDoS defences":"Monte defesas anti-DDoS", +"Standard":"Padrão", +"Start a new network":"Começar uma nova rede", +"Start a new network?":"Começar uma nova rede?", +"Start building":"Começar a construir", +"Start construction":"Iniciar obra", +"Start here":"Comece aqui", +"Start in Panama City. Nothing crosses the Darién Gap by land, and the Andes are in the way of everything else.":"Comece em Panama City. Nada atravessa o Darién Gap por terra, e os Andes atrapalham todo o resto.", +"Start in Stuttgart, where nobody sells transit. Reach the internet through peering, PNIs, caches and your own fiber only. No transit anywhere, ever.":"Comece em Stuttgart, onde ninguém vende transit. Alcance a internet só com peering, PNIs, caches e sua própria fibra. Nada de transit, em lugar nenhum, nunca.", +"Start in {city} · {mods} · one year, score = peak traffic. The same world for everyone this week.":"Comece em {city} · {mods} · um ano, pontuação = pico de tráfego. O mesmo mundo para todos nesta semana.", +"Start the challenge":"Começar o desafio", +"Start the clock with 1× and watch traffic and money flow. You can pause any time.":"Comece o relógio em 1× e veja o tráfego e o dinheiro fluírem. Dá pra pausar a qualquer momento.", +"Start the scenario":"Começar o cenário", +"Start the weekly challenge?":"Começar o desafio semanal?", +"Start with only $100k":"Comece com só $100k", +"Start {name}?":"Começar {name}?", +"Started in Venice. Upgraded to land.":"Nasceu em Veneza. Depois foi promovido a terra firme.", +"Started in somebody’s garage, like everything else round here.":"Nasceu na garagem de alguém, como tudo por aqui.", +"Startups, techno and a surprising number of data centers in old breweries.":"Startups, techno e um número surpreendente de data centers em cervejarias antigas.", +"Stats card for {name}":"Card de estatísticas de {name}", +"Stavanger to the Netherlands via every oil platform in the North Sea. The roughnecks stream a lot of football.":"De Stavanger à Holanda passando por todas as plataformas de petróleo do Mar do Norte. Os petroleiros fazem muito streaming de futebol.", +"Stay Tier 3. Number go up, rank stay down.":"Continue Tier 3. Número sobe, ranking fica embaixo.", +"Stay out of mainland China. Compliance said so.":"Fique fora da China continental. O compliance mandou.", +"Stay, take the discount":"Ficar com o desconto", +"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.", +"Step {n} of {total}":"Passo {n} de {total}", +"Stepping Stones":"De ilha em ilha", +"Still owed":"Ainda devido", +"Stock a spare {optic} {price}":"Guardar um {optic} sobressalente {price}", +"Stockpiled bandwidth in 2020 and still has a few rolls left.":"Estocou banda em 2020 e ainda tem alguns rolos sobrando.", +"Stop blackholing":"Parar blackhole", +"Stops the game when a failure costs you real traffic, not when it reroutes by itself.":"Para o jogo quando uma falha custa tráfego de verdade, não quando ela se reroteia sozinha.", +"Storm season. The ship is sheltering in port, playing cards.":"Temporada de tempestades. O navio está abrigado no porto, jogando baralho.", +"Straight across the South Atlantic from Fortaleza to Cameroon. No stops, no islands, no excuses.":"Direto pelo Atlântico Sul, de Fortaleza a Camarões. Sem paradas, sem ilhas, sem desculpas.", +"Straight from São Paulo to New York, skipping the Miami hairpin.":"Direto de São Paulo a New York, pulando a curva de Miami.", +"Streaming startup":"Startup de streaming", +"Streams 40% of evening traffic. Hands out free caches if you send enough eyeballs.":"Faz streaming de 40% do tráfego da noite. Dá caches de graça se você mandar eyeballs suficientes.", +"Strong in Asia and Africa. Every circuit comes with a consolation prize.":"Forte na Ásia e na África. Todo circuito vem com prêmio de consolação.", +"Strong, sweet and cheaper than the incumbent.":"Forte, docinho e mais barato que o incumbente.", +"Submarine transmission":"Transmissão submarina", +"Subsea":"Subsea", +"Subsea cable":"Cabo submarino", +"Subsea cables":"Cabos submarinos", +"Subsea cables to Africa and Asia land here.":"Cabos submarinos para a África e a Ásia chegam aqui.", +"Subsea waves can only follow cable systems modelled on real ones, drawn faintly on the map (tap a city to highlight its cables). Teal ones are new and cheap, purple ones pricey, dashed ones old and cut-prone. All your waves on one cable die together when it is cut. Between continents on land, you can often choose overland (2.5×, many borders) or a cable.":"Waves subsea só podem seguir sistemas de cabos inspirados nos reais, desenhados de leve no mapa (toque numa cidade para destacar seus cabos). Os verde-azulados são novos e baratos, os roxos são caros, os tracejados são velhos e vivem sendo cortados. Todas as suas waves num cabo morrem juntas quando ele é cortado. Entre continentes por terra, muitas vezes dá para escolher a rota terrestre (2,5×, muitas fronteiras) ou um cabo.", +"Suburban Mega-shed":"Megagalpão no Subúrbio", +"Supply chain":"Cadeia de suprimentos", +"Surveying a sea route…":"Pesquisando uma rota marítima…", +"Survive 100 incidents without customer impact.":"Sobreviva a 100 incidentes sem impacto nos clientes.", +"Survive a failure":"Sobreviva a uma falha", +"Survived with no impact":"Sobreviveu sem impacto", +"Swap {cost} + {mo}/mo":"Trocar {cost} + {mo}/mês", +"Swap the optic":"Trocar a óptica", +"Swapped from your spares kit by tomorrow.":"Trocado com seu kit de sobressalentes até amanhã.", +"Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.":"Trocando o único router de {city} por um {model}. Janela de manutenção: volta amanhã.", +"Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.":"Trocando o único router de {city} por um {model}. O novo {how}. Volta em {n} dias.", +"Sweet, fuzzy and surprisingly reliable.":"Doce, aveludado e surpreendentemente confiável.", +"Switch to CN-Too premium {x}× price · ~3% loss into China":"Mudar para CN-Too premium preço {x}× · ~3% de perda para a China", +"Switch to always-on":"Mudar para always-on", +"Switch to on-demand cheaper":"Mudar para on-demand mais barato", +"Sydney to Auckland with plenty to spare.":"De Sydney a Auckland, com capacidade de sobra.", +"Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem.":"De Sydney a Honolulu, e nem um metro além. Chegar ao continente é problema seu.", +"Sydney to Nouméa. Wishes it were a supercontinent.":"De Sydney a Nouméa. Sonha em ser um supercontinente.", +"Sydney to Papua New Guinea and the Solomon Islands. Hums while it works.":"De Sydney a Papua-Nova Guiné e às Ilhas Salomão. Cantarola enquanto trabalha.", +"Sydney to Tokyo by way of Guam, going round and round since 2001.":"De Sydney a Tóquio passando por Guam, dando voltas e voltas desde 2001.", +"Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.":"Sydney, 2013. O Toilet Paper Group levou a própria fibra até o porão dos prédios, e a rede nacional reclamou de cherry-picking. Sua vez: pule a Nearly Broadband Network, pague a taxa e chegue primeiro.", +"Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white.":"Sydney, Melbourne, Adelaide e Perth pelo mar, para seus pacotes nunca precisarem cruzar o Nullarbor. Mais uma do sujeito que abre uma empresa de fibra toda vez que termina um flat white.", +"São Paulo. Brazil is a continent: forty IX.brrr exchanges, thousands of provedores, and the Amazon between you and the north.":"São Paulo. O Brasil é um continente: quarenta exchanges IX.brrr, milhares de provedores e a Amazônia entre você e o norte.", +"Tahiti to Hawaii, trolling for bandwidth.":"Do Taiti ao Havaí, pescando banda.", +"Tahiti, in French Polynesia. A cable runs north to Hawaii, and the new one from Chile to Australia stops here: the stepping stone between South America and Oceania.":"O Taiti, na Polinésia Francesa. Um cabo segue ao norte para o Havaí, e o novo do Chile à Austrália para aqui: o trampolim entre a América do Sul e a Oceania.", +"Taiwan’s incumbent. Stays calm while ships drag their anchors over its cables.":"A incumbent de Taiwan. Mantém a calma enquanto navios arrastam âncoras sobre seus cabos.", +"Take a DE-KICKS retention offer.":"Aceite uma oferta de retenção da DE-KICKS.", +"Take out a loan.":"Pegue um empréstimo.", +"Take the money":"Pegar o dinheiro", +"Takes forever to set up, but very filling.":"Leva uma eternidade pra configurar, mas enche a barriga.", +"Taking {pct} of your revenue every month.":"Levando {pct} da sua receita todo mês.", +"Tallinn. Ships drag their anchors over Baltic cables three times as often as usual.":"Tallinn. Os navios arrastam âncoras sobre os cabos do Báltico três vezes mais que o normal.", +"Tangerine’s Belgian daughter: mobile, cable and a lot of Walloon highway dark fiber. Zesty.":"A filha belga da Tangerine: celular, cabo e muita dark fiber ao longo das rodovias da Valônia. Cítrica.", +"Tango, steak and a currency that changes value while you read this.":"Tango, churrasco e uma moeda que muda de valor enquanto você lê isto.", +"Tanzania’s biggest city and the sea gate for half a dozen countries with no coast of their own.":"A maior cidade da Tanzânia e a porta para o mar de meia dúzia de países sem litoral.", +"Tap Add to Home Screen. You may need to scroll down, or tap More first.":"Toque em Adicionar à Tela de Início. Talvez precise rolar para baixo, ou tocar em Mais antes.", +"Tap Install app or Add to Home screen.":"Toque em Instalar app ou Adicionar à tela inicial.", +"Tap Share {icon} in the browser toolbar.":"Toque em Compartilhar {icon} na barra do navegador.", +"Tap a link to see which networks, which entry points and which customer cities fill it. Raise a link's metric to steer traffic around it, or set an egress (transit, IX, PNI) to Prefer or Backup only.":"Toque num link para ver quais redes, quais pontos de entrada e quais cidades de clientes o enchem. Aumente a métrica de um link para desviar tráfego dele, ou ponha uma saída (transit, IX, PNI) em Preferir ou Só backup.", +"Tap your cash to open the bank. Lenders make offers now and then, and much more often when you are in the red. Each loan has a monthly payment and some odd conditions; break one and you pay a penalty. Your credit rating decides which banks talk to you. The loan shark is always there. Do not be late.":"Toque no seu dinheiro para abrir o banco. Credores fazem ofertas de vez em quando, e bem mais quando você está no vermelho. Cada empréstimo tem uma parcela mensal e umas condições estranhas; quebre uma e pague multa. Sua nota de crédito decide quais bancos falam com você. O agiota está sempre lá. Não atrase.", +"Tap your city, then Launch broadband":"Toque na sua cidade e depois em Lançar banda larga", +"Tap 🔍 Traceroute on any of your cities, or open it from the NOC tab, to see the exact path to a network or POP, hop by hop, with latency, the exit and the AS path.":"Toque em 🔍 Traceroute em qualquer cidade sua, ou abra pela aba NOC, para ver o caminho exato até uma rede ou POP, hop a hop, com latência, a saída e o AS path.", +"Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.":"A marca econômica da Telstraya. Mais barata, mais alegre, e mesmo assim não faz peering com você.", +"Ten terabits per second of happy traffic. The giants will notice.":"Dez terabits por segundo de tráfego feliz. Os gigantes vão notar.", +"Ten thousand GPUs and a podcast.":"Dez mil GPUs e um podcast.", +"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.", +"Terabit floods held":"Enxurradas de terabit contidas", +"Termites ate the duct on {a}–{b}. Then the fiber. Then the replacement duct.":"Cupins comeram o duto em {a}–{b}. Depois a fibra. Depois o duto novo.", +"Terms apply. Several terms.":"Sujeito a condições. Várias condições.", +"Terrestrial":"Terrestre", +"Terrestrial fiber":"Fibra terrestre", +"Thailand’s mobile giant. Its coverage maps are mostly true.":"O gigante mobile da Tailândia. Os mapas de cobertura são quase todos verdadeiros.", +"That does not look like a Series of Tubes save.":"Isso não parece um save de Series of Tubes.", +"That file is not valid JSON.":"Esse arquivo não é um JSON válido.", +"That network went bankrupt. It cannot be brought back, only mourned.":"Essa rede foi à falência. Não dá para trazer de volta, só chorar.", +"That save has a POP in a city this version does not know ({city}).":"Esse save tem um POP numa cidade que esta versão não conhece ({city}).", +"The A/C at {dc} died on the hottest day of the year. Your routers in {city} throttled to half capacity.":"O ar-condicionado do {dc} morreu no dia mais quente do ano. Seus routers em {city} caíram para metade da capacidade.", +"The AI agent era: eyeballs want 25% more, because bots now browse the web for people and they never sleep. Gear: eight fiber pairs in your own land trenches.":"A era dos agentes de IA: os eyeballs querem 25% a mais, porque agora os bots navegam pelas pessoas e nunca dormem. Gear: oito pares de fibras nas suas próprias valas terrestres.", +"The Annex":"O Anexo", +"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.", +"The Cheaper One":"O Mais Barato", +"The Cogentle Spat":"A briga da Cogentle", +"The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.":"A Cidade Jardim, e a maior cidade da Ilha Sul, que os locais chamam de «o Continente» sem rir. Tudo o que vai para a Ilha Norte atravessa o Estreito de Cook.", +"The Internet":"A Internet", +"The Kingdom’s incumbent. Once you are in, you stay in.":"A incumbent do Reino. Entrou, não sai mais.", +"The Long Way Round":"A volta longa", +"The Marshall Islands’ telco, two metres above the sea and proud of every centimetre.":"A operadora das Ilhas Marshall, a dois metros acima do mar e orgulhosa de cada centímetro.", +"The Nearly Broadband Network keeps {pct} of it for the last mile.":"A Nearly Broadband Network fica com {pct} disso pela última milha.", +"The North’s hub, with its own exchange and very damp air-conditioning intakes. Cables to Ireland and Denmark come ashore up the coast.":"O hub do Norte, com exchange próprio e entradas de ar-condicionado bem úmidas. Cabos para a Irlanda e a Dinamarca chegam pela costa.", +"The Other Building":"O Outro Prédio", +"The Pacific gateway. The Andes sit between it and everything else, and the ground shakes now and then.":"A porta para o Pacífico. Os Andes ficam entre ela e todo o resto, e de vez em quando a terra treme.", +"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg or Munich, and an hour from the Dutch border, so fiber to Amsterdam is short and cheap. Order an Altbier here, never a Kölsch.":"O hub do Reno-Ruhr: mais data centers neutros do que Hamburgo ou Munique, e a uma hora da fronteira holandesa, então a fibra até Amsterdã é curta e barata. Aqui se pede uma Altbier, nunca uma Kölsch.", +"The Sea Stallion: Blackpool to Denmark, galloping round the north of Scotland.":"O Sea Stallion: de Blackpool à Dinamarca, galopando pelo norte da Escócia.", +"The Solomon Islands’ capital, on Guadalcanal. The cable to Sydney only arrived a few years ago; before that it was all satellite. The power is less reliable than the cable.":"A capital das Ilhas Salomão, em Guadalcanal. O cabo para Sydney só chegou há poucos anos; antes era tudo satélite. A energia é menos confiável que o cabo.", +"The Solomon Islands’ incumbent. Yours sincerely, eventually.":"A incumbente das Ilhas Salomão. Atenciosamente, uma hora dessas.", +"The Southeast’s carrier hotel. Busiest airport, busiest peering south of Ashburn.":"O carrier hotel do Sudeste. Aeroporto mais movimentado, peering mais movimentado ao sul de Ashburn.", +"The TLS certificate on your NOC dashboard expired. Nobody can see any graphs, so technically there are no problems.":"O certificado TLS do dashboard do NOC expirou. Ninguém consegue ver gráfico nenhum, então tecnicamente não há problemas.", +"The Tier 1 that grew up in Sicily. Its Seabone backbone owns the Mediterranean and reaches deep into the Americas, and it still calls Palermo home.":"A Tier 1 que cresceu na Sicília. Seu backbone Seabone domina o Mediterrâneo e vai fundo nas Américas, e ela ainda chama Palermo de casa.", +"The UK’s incumbent. Buzzes politely, stings on price.":"A incumbente do Reino Unido. Zumbe educada, ferroa no preço.", +"The VR era: eyeballs want 20% more. A free PNI with China Moble. Gear: Knockia 7950 XRS routers, 100T scrubbing.":"A era da realidade virtual: os eyeballs querem 20% a mais. Um PNI grátis com a China Moble. Gear: routers Knockia 7950 XRS, scrubbing de 100T.", +"The Venice of Brazil, all bridges and rivers, with one of the country’s biggest tech parks in its old harbour.":"A Veneza brasileira, toda pontes e rios, com um dos maiores parques tecnológicos do país no porto antigo.", +"The bank repossessed your routers and sold them on eBuy. {name} lasted {days} days and peaked at {peak}.":"O banco tomou seus routers e vendeu no eBuy. {name} durou {days} dias e chegou ao pico de {peak}.", +"The big regional carrier. Sees everything clearly, especially your invoice.":"A grande operadora regional. Vê tudo com clareza, principalmente a sua fatura.", +"The biggest network in China. Its CN-Too premium route skips the congested border, for a price.":"A maior rede da China. A rota premium CN-Too evita a fronteira congestionada, por um preço.", +"The botnet was already someone else’s botnet. They are furious.":"A botnet já era a botnet de outra pessoa. Eles estão furiosos.", +"The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.":"O fim do país, em linhas de energia construídas para uma fundição de alumínio. Alguém está construindo um campus de IA de 280 MW num pasto fora da cidade, então os cabos vão chegar. Provavelmente.", +"The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.":"O pé do mapa. Ar fresco, energia hidrelétrica barata e o Estreito de Bass inteiro entre você e o continente.", +"The business capital of French-speaking West Africa, with glass towers on a lagoon and five cables in the bay.":"A capital dos negócios da África Ocidental francófona, com torres de vidro numa laguna e cinco cabos na baía.", +"The cable ship’s coffee machine broke. Nobody works without coffee.":"A máquina de café do navio lançador quebrou. Ninguém trabalha sem café.", +"The cable that brought East Africa online, from Durban up to Djibouti and on to Mumbai. Still tells the story at every party.":"O cabo que pôs a África Oriental online, de Durban a Djibouti e daí a Mumbai. Ainda conta a história em toda festa.", +"The capacity is “available in the system”. Nobody can find it in the system.":"A capacidade está “disponível no sistema”. Ninguém acha no sistema.", +"The capital of Acre, a state Brazilians joke does not exist. Your traceroutes say otherwise.":"A capital do Acre, o estado que os brasileiros brincam que não existe. Seus traceroutes dizem o contrário.", +"The capital of the Marshall Islands, a ring of coral two metres above the sea. One cable to Guam, and every packet knows it.":"A capital das Ilhas Marshall, um anel de coral a dois metros acima do mar. Um único cabo para Guam, e todo pacote sabe disso.", +"The capital, building AI campuses at gigawatt scale. Data about Saudi users has to stay in the Kingdom, and every POP needs a local telecom licence.":"A capital, construindo campi de IA em escala de gigawatt. Dados de usuários sauditas precisam ficar no Reino, e todo POP precisa de licença de telecom local.", +"The capital. Sovereign AI money and very big data centers. Inside the UAE only the two licensed operators may run fiber.":"A capital. Dinheiro soberano para IA e data centers enormes. Nos Emirados, só as duas operadoras licenciadas podem passar fibra.", +"The carrier is out of spectrum here until its next line-system upgrade.":"A operadora está sem espectro aqui até a próxima atualização do sistema de linha.", +"The challenger to IX Straya. Pops up at the edge of every city, including the ones nobody else bothers with. An acquired taste, like Vegemite.":"A desafiante do IX Straya. Aparece na borda de toda cidade, inclusive nas que ninguém mais se dá ao trabalho de atender. Um gosto adquirido, como Vegemite.", +"The challenger to the DE-KICKS fabric, wrapped and ready to go.":"O desafiante do fabric DE-KICKS, embrulhado e pronto pra viagem.", +"The challenger. Fresh every morning, a bit crusty by the evening.":"O desafiante. Fresquinho toda manhã, meio amanhecido à noite.", +"The chart button at the top opens traffic graphs by exit (caches, PNIs, IX, transit), money over time, per-ASN traffic with how it reaches you and what its transit costs, plus your busiest links and routers.":"O botão de gráfico no topo abre gráficos de tráfego por saída (caches, PNIs, IX, transit), dinheiro ao longo do tempo, tráfego por ASN com como ele chega até você e quanto custa o transit dele, além dos seus links e routers mais ocupados.", +"The cheapest money in town. There is a catch, and it has extra cheese.":"O dinheiro mais barato da cidade. Tem uma pegadinha, e ela vem com borda recheada.", +"The cheapest plan in the country. Smells like a bargain.":"O plano mais barato do país. Tem cheiro de pechincha.", +"The city of eternal spring, with outdoor escalators up the hillsides and a busy startup scene.":"A cidade da eterna primavera, com escadas rolantes a céu aberto subindo os morros e uma cena de startups agitada.", +"The cleaner at {dc} unplugged your router to plug in a vacuum. The floor is spotless.":"A faxineira do {dc} desligou seu router para ligar o aspirador. O chão está brilhando.", +"The cleaner unplugged everything at {siteA}.":"A faxineira desligou tudo no {siteA}.", +"The cloud. It's just someone else's Ashburn.":"A nuvem. É só o Ashburn de outra pessoa.", +"The cooling contractor in {city} replaced the chillers with a very confident fan. Half capacity for two days.":"A empresa de refrigeração em {city} trocou os chillers por um ventilador muito autoconfiante. Metade da capacidade por dois dias.", +"The crashed one {what}.":"O que travou {what}.", +"The crew fished out somebody else’s cable by mistake and has to put it back.":"A tripulação pescou o cabo de outra pessoa por engano e precisa devolvê-lo.", +"The data-center capital. Rumor says 70% of the internet passes through here, and nobody has checked.":"A capital dos data centers. Dizem que 70% da internet passa por aqui, e ninguém conferiu.", +"The deep south, halfway to Buenos Aires. Barbecue every Sunday, and a hot gourd of mate in every hand, even in summer.":"O extremo sul, a meio caminho de Buenos Aires. Churrasco todo domingo e uma cuia de chimarrão em cada mão, até no verão.", +"The drilling crew hit a granite boulder the size of a bus.":"A equipe de perfuração bateu numa pedra de granito do tamanho de um ônibus.", +"The easternmost city of the Americas, where the sun rises first. Your NOC shift starts early too.":"A cidade mais a leste das Américas, onde o sol nasce primeiro. Seu plantão no NOC começa cedo também.", +"The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.":"Os emus venceram de novo: um bando derrubou os marcos de sinalização em {a}–{b}, e uma motoniveladora cavou direto na fibra.", +"The first cable from South America to Oceania. 14,000 km of very lonely glass.":"O primeiro cabo da América do Sul à Oceania. 14.000 km de vidro muito solitário.", +"The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.":"A tempestade das quatro passou por BrisVegas na hora certa e levou junto a rede elétrica atrás de {dc}. Seu POP está no escuro com os caça-níqueis.", +"The game stops so you can fix their service before they cancel. Most useful at high speed.":"O jogo para para você consertar o serviço antes que cancelem. Muito útil em alta velocidade.", +"The geographic center of South America, and one of the hottest cities in Brazil. The chillers never get a day off.":"O centro geográfico da América do Sul e uma das cidades mais quentes do Brasil. Os chillers nunca tiram folga.", +"The geographic middle of the US. Data centers sit in old limestone mines underground: steady temperature, no tornadoes, and somebody keeps finding Dorothy’s shoes.":"O centro geográfico dos EUA. Os data centers ficam em antigas minas de calcário subterrâneas: temperatura estável, nada de tornados, e alguém vive achando os sapatos da Dorothy.", +"The giants":"Os gigantes", +"The glass":"O vidro", +"The group behind several big exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) treats price lists as a state secret. Ports are quoted per customer and go up the bigger you look. Haggling can work, backfire or stall for a week. Prices get \"harmonised\" upwards once a year, add-ons appear on your invoice until you opt out, and trying to leave earns you a retention discount that ends with a fee.":"O grupo por trás de vários grandes exchanges (Frankfurt, Madrid, Marseille, Dubai, Mumbai, New York) trata tabela de preços como segredo de Estado. As portas são cotadas cliente a cliente e sobem quanto maior você parece. Pechinchar pode funcionar, sair pela culatra ou travar por uma semana. Uma vez por ano os preços são \"harmonizados\" para cima, serviços extras aparecem na sua fatura até você cancelar, e tentar sair te rende um desconto de retenção que termina em multa.", +"The hallway track moved to a bar by the harbour, where the woman behind the bar kept pouring aquavit long past midnight and asked nobody about their AS path. Back at the hotel bar, someone said “just one more drink”. Your BGP sessions stayed up all night. So did you.":"O hallway track mudou para um bar no porto, onde a moça atrás do balcão serviu aquavit até bem depois da meia-noite sem perguntar o AS path de ninguém. De volta ao bar do hotel, alguém disse “só mais uma”. Suas sessões BGP ficaram de pé a noite toda. Você também.", +"The harbour, the bridge and most of the country’s data centres. Rent is the real latency.":"O porto, a ponte e quase todos os data centers do país. A latência de verdade é o aluguel.", +"The highest seat of government on Earth, at 3,600 m. Commuters ride cable cars, and so does some of the fiber.":"A sede de governo mais alta do planeta, a 3.600 m. O pessoal vai trabalhar de teleférico, e parte da fibra também.", +"The landing permit dispute in {city} blocks new subsea links for {n} more days.":"A disputa de licença de desembarque em {city} bloqueia novos links subsea por mais {n} dias.", +"The landlord in {a} re-routed the building riser and pinched your dark fiber to {b}.":"O dono do prédio em {a} refez o riser e esmagou sua dark fiber para {b}.", +"The largest mobile network on Earth. Paid peering only.":"A maior rede mobile da Terra. Só peering pago.", +"The laser in a {optic} on {a}–{b} died. One channel dark.":"O laser de um {optic} em {a}–{b} morreu. Um canal apagado.", +"The long tail":"A cauda longa", +"The long tail ({n} small networks)":"A cauda longa ({n} redes pequenas)", +"The long-established Madrid exchange. Neutral interconnection, local flavour and a route server that never takes a siesta.":"O tradicional exchange de Madrid. Interconexão neutra, sabor local e um route server que nunca tira siesta.", +"The model sets your fastest interface and how much this POP can forward. More routers add capacity and survive crashes.":"O modelo define sua interface mais rápida e quanto este POP consegue encaminhar. Mais routers somam capacidade e sobrevivem a crashes.", +"The modular one. Ninety-six 800G ports, buffers deep enough to lose a ship in, and a vinyl-only release notes policy. Arrr.":"O modular. Noventa e seis portas 800G, buffers tão profundos que dá pra perder um navio lá dentro, e release notes só em vinil. Arrr.", +"The monsoon flooded a manhole on {a}–{b}. The fiber is now underwater, as is the manhole.":"A monção alagou uma caixa subterrânea em {a}–{b}. A fibra agora está debaixo d’água, assim como a caixa.", +"The moon":"A lua", +"The most isolated big city on Earth. Asia is closer than Sydney.":"A cidade grande mais isolada da Terra. A Ásia fica mais perto que Sydney.", +"The national carrier. Every punchline is pre-approved.":"A operadora nacional. Toda piada é pré-aprovada.", +"The networks you pay transit to reach, biggest first, and the cheapest way to move each one to peering. This is your to-do list on the way to Tier 1.":"As redes que você paga transit para alcançar, da maior para a menor, e o jeito mais barato de levar cada uma para peering. É a sua lista de tarefas rumo ao Tier 1.", +"The old gateway to Eastern Europe. Packets still bow politely on the way through.":"A antiga porta de entrada do Leste Europeu. Os pacotes ainda fazem uma reverência educada ao passar.", +"The old workhorse’s younger sibling: Los Angeles to Sydney with a branch to Fiji.":"O irmão mais novo do velho burro de carga: de Los Angeles a Sydney com um ramal para Fiji.", +"The older Johannesburg exchange, run by the local ISP association. Knock on wood before every maintenance window.":"O exchange mais antigo de Johannesburg, gerido pela associação de ISPs locais. Bata na madeira antes de cada janela de manutenção.", +"The only northeastern capital away from the sea. Famously hot, with lightning storms that keep the surge protectors busy.":"A única capital nordestina longe do mar. Famosa pelo calor, com tempestades de raios que mantêm os protetores de surto ocupados.", +"The original CDN. Maybe it is already in your rack.":"A CDN original. Talvez já esteja no seu rack.", +"The other half of the UAE duopoly. Does what Etis-a-lot does, in a different colour.":"A outra metade do duopólio dos Emirados. Faz o mesmo que a Etis-a-lot, em outra cor.", +"The other half of the duopoly, on copper and fiber. Strictly domestic: the world reaches it through its wholesale arm.":"A outra metade do duopólio, em cobre e fibra. Estritamente doméstica: o mundo chega nela pelo seu braço de atacado.", +"The peering coordinator for this city is on a six-month sabbatical.":"O peering coordinator desta cidade está num sabático de seis meses.", +"The permit office lost your permit. And then the replacement.":"A prefeitura perdeu sua licença. E depois a segunda via.", +"The plus is a usage fee. Paid peering, per gigabit.":"O plus é uma taxa de uso. Peering pago, por gigabit.", +"The prairie gateway between Vancouver and the rest of Canada. A chinook melts the snow in an afternoon, then it snows again.":"A porta das pradarias entre Vancouver e o resto do Canadá. Um chinook derrete a neve numa tarde, e aí neva de novo.", +"The pretty way around East Asia.":"O caminho bonito pela Ásia Oriental.", +"The previous generation. Still carries most of Pakistan, Sri Lanka and Bangladesh, held together with hope.":"A geração anterior. Ainda leva quase tudo de Paquistão, Sri Lanka e Bangladesh, na base da esperança.", +"The railway changed its mind about the easement.":"A ferrovia mudou de ideia sobre a servidão de passagem.", +"The real thing, by Thomas Kjær Aabo: a zoomable, interactive map of how your packets actually travel, from Wi-Fi to undersea fiber, today, in 2010 and in 1995. This game makes it up as it goes. That one gets it right.":"A coisa de verdade, por Thomas Kjær Aabo: um mapa interativo com zoom de como seus pacotes viajam de fato, do Wi-Fi à fibra submarina, hoje, em 2010 e em 1995. Este jogo inventa tudo pelo caminho. Aquele acerta.", +"The real thing: follow a packet from Wi-Fi to undersea fiber.":"A coisa de verdade: siga um pacote do Wi-Fi até a fibra submarina.", +"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.", +"The same route server, in a gold-coloured portal.":"O mesmo route server, num portal cor de ouro.", +"The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.":"Os borrachudos expulsaram sua equipe de emenda de {a}–{b}. Ela volta quando o vento aumentar.", +"The seabed off Tonga slid down a slope and took your {a}–{b} cable with it. The repair ship is coming from Papua New Guinea.":"O fundo do mar perto de Tonga deslizou encosta abaixo e levou junto o seu cabo {a}–{b}. O navio de reparo está vindo de Papua-Nova Guiné.", +"The seabed survey found an old sea mine. A small, very careful detour.":"O levantamento do leito marinho achou uma mina antiga. Um desvio pequeno e muito cuidadoso.", +"The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.":"A fundição de Tiwai Point puxou um pouco mais da rede, e seu POP em {city} piscou primeiro.", +"The straightest line across the Atlantic. Traders pay double to save a few milliseconds.":"A linha mais reta através do Atlântico. Traders pagam o dobro para economizar alguns milissegundos.", +"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.", +"The transponders for this route are on a container ship. The ship is somewhere near Singapore.":"Os transponders desta rota estão num navio porta-contêineres. O navio está em algum lugar perto de Singapura.", +"The upgrade is planned for Q3. Which year, the email does not say.":"A atualização está prevista para o Q3. De que ano, o e-mail não diz.", +"Their CEO hates puns. Please do not mention the network names.":"O CEO deles odeia trocadilhos. Por favor, não mencione os nomes das redes.", +"Their IX port here is full until the next upgrade. They promise it is soon.":"A porta deles no IX aqui está lotada até o próximo upgrade. Juram que é logo.", +"Their PearingDB entry says \"Remote peering: No (we mean it)\".":"O cadastro deles no PearingDB diz “Remote peering: No (é sério)”.", "Their PeeringDB says {lim}, last updated {n} year ago.":"O PeeringDB deles diz {lim}, atualizado há {n} ano.", "Their PeeringDB says {lim}, last updated {n} years ago.":"O PeeringDB deles diz {lim}, atualizado há {n} anos.", -"Raise the limit":"Aumentar o limite", -"Keep it down":"Deixar fora", -"bumped":"cobrado de novo", -"Peering inbox":"Caixa de peering", -"{n} unanswered":"{n} sem resposta", -"Every exchange port brings mail. Answer peering requests, and look at sessions that hit their max-prefix limit: is it growth, or a route leak? Unanswered mail gets you a reputation, and selective networks hear about it.":"Cada porta de IX traz e-mails. Responda aos pedidos de peering e olhe as sessões que estouraram o limite de max-prefix: é crescimento ou vazamento de rotas? E-mail sem resposta te dá uma reputação, e as redes seletivas ficam sabendo.", +"Their capacity planner is on holiday, and he took the spreadsheet with him.":"O planejador de capacidade deles está de férias, e levou a planilha junto.", +"Their lawyers are reviewing every peering agreement in this country. Again.":"Os advogados deles estão revisando todo acordo de peering neste país. De novo.", +"Their peering team says US East is “capacity constrained”, which is cloud for “no”.":"O time de peering deles diz que US East está “capacity constrained”, que na língua da nuvem quer dizer “não”.", +"Their policy here says \"IX peering by invitation only\". You were not invited.":"A policy deles aqui diz “IX peering só com convite”. Você não foi convidado.", +"Their routers in this city are \"at capacity\". They are not.":"Os routers deles nesta cidade estão “no limite da capacidade”. Não estão.", +"Their team quotes {m} months":"A equipe deles fala em {m} meses", +"Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.":"Os usuários delas saem por um trânsito distante. Acima de 50 ms de ida e volta, banda larga e serviços de internet contam como serviço ruim.", +"There's no IX in {city} yet. Found one: networks join over time, pay you for ports, and peer with you for free.":"Ainda não há IX em {city}. Funde um: as redes entram com o tempo, pagam pelas portas e fazem peering com você de graça.", +"They checked your PearingDB page and liked the traffic numbers.":"Eles olharam sua página no PearingDB e curtiram os números de tráfego.", +"They heard you might be in a spot of bother.":"Ficaram sabendo que você pode estar meio enrolado.", +"They need the full internet. Your reach is {pct}.":"Eles querem a internet inteira. Seu alcance é de {pct}.", +"They now own {p} of your revenue.":"Agora eles são donos de {p} da sua receita.", +"They sent a 14-page NDA before they can even repeat the price. Lawyers estimate a week.":"Mandaram um NDA de 14 páginas antes mesmo de repetir o preço. Os advogados estimam uma semana.", +"They will reconsider in {n} day.":"Vão reconsiderar em {n} dia.", +"They will reconsider in {n} days.":"Vão reconsiderar em {n} dias.", +"Thick, comforting and very New England.":"Encorpado, reconfortante e muito New England.", +"Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.":"Ladrões desenterraram seu cabo {a}–{b}, certos de que era cobre. Era fibra. Deixaram tudo cortado na vala, profundamente decepcionados.", +"Things break all the time. Build a second path or a second upstream so traffic reroutes when something dies.":"As coisas quebram o tempo todo. Construa um segundo caminho ou um segundo upstream para o tráfego ser redirecionado quando algo morrer.", +"Things break all the time: fiber cuts, router crashes, power cuts, IX loops, fabric outages, route leaks, DDoS, fat fingers, cooling failures, and geopolitics: sanctions, tariffs, BGP hijacks, landing permit disputes, exam-day shutdowns and Red Sea cable cuts. Traffic reroutes automatically over other paths and upstreams. Parallel links on diverse routes, a second router and a backup generator all help. Or pay to rush repairs.":"As coisas quebram o tempo todo: cortes de fibra, crashes de router, quedas de energia, loops no IX, quedas de fabric, route leaks, DDoS, dedo gordo, falhas de refrigeração e geopolítica: sanções, tarifas, sequestros de BGP, disputas de licença de desembarque, apagões em dia de prova e cortes de cabo no Mar Vermelho. O tráfego se reroteia sozinho por outros caminhos e upstreams. Links paralelos em rotas diversas, um segundo router e um gerador de backup, tudo ajuda. Ou pague para acelerar os reparos.", +"This POP is down":"Este POP está fora do ar", +"This channel reaches {max} km on this cable; the route is {span} km. Consider submarine terminals or optical engineering.":"Este canal alcança {max} km neste cabo; a rota tem {span} km. Considere terminais submarinos ou engenharia óptica.", +"This chassis takes forever to boot: crashes last longer, and swapping the only router here takes 3 days. A second router hides it.":"Este chassi demora uma eternidade pra dar boot: crashes duram mais, e trocar o único router daqui leva 3 dias. Um segundo router disfarça isso.", +"This design’s route is {km} km: too long for any optics, even with both upgrades. A shorter design can make it.":"A rota deste projeto tem {km} km: longa demais para qualquer óptica, mesmo com as duas melhorias. Um projeto mais curto consegue.", +"This fiber is dark. Add optics below to carry traffic.":"Esta fibra está apagada. Adicione ópticas abaixo para levar tráfego.", +"This is the only link between these cities. Add a parallel one, or a path through another city.":"É o único link entre essas cidades. Adicione um paralelo, ou um caminho passando por outra cidade.", +"This replaces {name}. Export it first if you want to keep it.":"Isso substitui {name}. Exporte antes se quiser guardar.", +"This route crosses a border in Africa: 2× the price. Every country wants its own permits, its own carrier and its own cut.":"Esta rota cruza uma fronteira na África: 2× o preço. Cada país quer suas próprias licenças, sua própria operadora e sua parte.", +"This route crosses the Andes: 2× the price, and landslides and snow cut it far more often than flat fiber.":"Esta rota cruza os Andes: 2× o preço, e deslizamentos e neve a cortam bem mais que fibra em terreno plano.", +"This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.":"Esta rota cruza o Nullarbor: {x}× o preço. Mil quilômetros de nada, e as incumbentes são donas de tudo.", +"This route goes into the Amazon: 2× the price. The fiber runs along rivers and jungle roads, and repairs go by boat.":"Esta rota entra na Amazônia: 2× o preço. A fibra corre por rios e estradas na mata, e os reparos vão de barco.", +"This route is on land. Build your own fiber instead.":"Esta rota é por terra. Construa sua própria fibra.", +"Three servers, one dehumidifier and a very patient grandmother.":"Três servidores, um desumidificador e uma avó muito paciente.", +"Three-hour films, zero-second start times.":"Filmes de três horas, zero segundo pra começar.", +"Through the Wall":"Através da Muralha", +"Throws the biggest São João festival in the world: a whole month of forró every June. Also a university town full of engineers.":"Faz o maior São João do mundo: um mês inteiro de forró todo junho. E é cidade universitária, cheia de engenheiros.", +"Ticket of the week":"Ticket da semana", +"Tidied up a session it decided was unused: de-peered {who} at {ix}.":"Fez uma faxina nas sessões que achou inúteis: desfez o peering com {who} no {ix}.", +"Tier 1":"Tier 1", +"Tier 1: only a PNI, and only once you are big enough for the Tier 1 club":"Tier 1: só PNI, e só quando você for grande o bastante para o clube dos Tier 1", +"Tier 1s never peer at IXs":"Tier 1 nunca faz peering em IX", +"Tier 1s only take a PNI from a network with {list}.":"Os Tier 1 só aceitam PNI de uma rede com {list}.", +"Tier 1s reach the whole internet without paying anyone, because they all peer with each other. Tier 2s peer a lot but still buy some transit.":"Os Tier 1 alcançam a internet toda sem pagar ninguém, porque todos fazem peering entre si. Os Tier 2 fazem muito peering, mas ainda compram algum transit.", +"Tier 2":"Tier 2", +"Time":"Tempo", +"Time's up":"Acabou o tempo", +"Tiny, tropical and the closest Australian city to Asia. New cables to Singapore and Jakarta land here, next to the crocodiles.":"Pequena, tropical e a cidade australiana mais perto da Ásia. Cabos novos para Singapura e Jakarta chegam aqui, ao lado dos crocodilos.", +"Tip: drag from your pink router to another city to lay fiber":"Dica: arraste do seu router rosa até outra cidade para lançar fibra", +"To":"Para", +"To {city}":"Para {city}", +"Toaster Wrangler":"Domador de torradeiras", +"Today":"Hoje", +"Toggle sound":"Ligar/desligar som", +"Tokyo has more exchanges than anyone can name. This one was started by a broadband giant and comes neatly packed, every member in its own compartment.":"Tokyo tem mais exchanges do que alguém consegue nomear. Este foi criado por um gigante da banda larga e vem bem embalado, cada membro no seu compartimento.", +"Tomahack 5 merchant silicon":"silício merchant Tomahack 5", +"Tomahack merchant silicon":"merchant silicon Tomahack", +"Tonga hangs on one cable from Fiji. In 2022 an undersea volcano cut it, and the country was offline for weeks.":"Tonga depende de um único cabo vindo de Fiji. Em 2022 um vulcão submarino o cortou, e o país ficou offline por semanas.", +"Tonga’s own telco. Lived through a volcano that cut its only cable, and jokes about it now.":"A operadora de Tonga. Sobreviveu a um vulcão que cortou seu único cabo e hoje faz piada disso.", +"Too big to route":"Grande demais para rotear", +"Too far even at its slowest setting: an optical span here is {span} km and it reaches {max} km. Add a regen site (Line system).":"Longe demais até na configuração mais lenta: um span óptico aqui tem {span} km e ela alcança {max} km. Adicione um site de regeneração (Line system).", +"Took a streaming giant to court over who pays for the traffic its own customers asked for. Paid peering, per gigabit.":"Levou um gigante do streaming aos tribunais para decidir quem paga pelo tráfego que os próprios clientes pediram. Peering pago, por gigabit.", +"Top destinations on this port":"Principais destinos nesta porta", +"Totals for all {n} links between these cities.":"Totais de todos os {n} links entre essas cidades.", +"Traceroute":"Traceroute", +"Traffic":"Tráfego", +"Traffic Whisperer":"Encantador de tráfego", +"Traffic by network (ASN)":"Tráfego por rede (ASN)", +"Traffic by way out":"Tráfego por saída", +"Traffic engineering":"Engenharia de tráfego", +"Traffic follows the shortest path by distance and link metric, and reroutes by itself when links fail. When a path is merely full, the overflow is dropped, just like a real IGP. From customer level 3 you can install Auto-TE in the NOC tab: it spills overflow onto up to two alternate paths with free capacity, as long as they are no more than twice as long.":"O tráfego segue o caminho mais curto por distância e métrica de link, e se reroteia sozinho quando links caem. Quando um caminho só está cheio, o excesso é descartado, igualzinho a um IGP de verdade. A partir do nível de clientes 3 você pode instalar o Auto-TE na aba NOC: ele joga o excesso em até dois caminhos alternativos com capacidade livre, desde que não sejam mais que o dobro do comprimento.", +"Traffic now":"Tráfego agora", +"Traffic rerouted, customers barely noticed.":"Tráfego redirecionado, os clientes mal perceberam.", +"Traffic served":"Tráfego entregue", +"Traffic takes the shortest path, even when it is full. A traffic-engineering controller spills the overflow onto the next-best paths with room.":"O tráfego pega a rota mais curta, mesmo lotada. Um controller de traffic engineering joga o excesso para as próximas melhores rotas com espaço.", +"Transcontinental":"Transcontinental", +"Transit":"Transit", +"Transit bills sample your usage every day and charge the 95th percentile of the last 30 days, so short spikes are forgiven but long ones are not.":"A conta do transit mede seu uso todo dia e cobra o percentil 95 dos últimos 30 dias, então picos curtos são perdoados, mas os longos não.", +"Transit cost":"Custo de transit", +"Transit costs 30% more":"Transit custa 30% a mais", +"Transit costs money per gigabit. Peering is free: open the Peering tab, buy an IX port, then join the route server.":"Transit custa por gigabit. Peering é grátis: abra a aba Peering, compre uma porta no IX e entre no route server.", +"Transit ports to cancel":"Portas de transit a cancelar", +"Transit sellers: {list}":"Vendedores de transit: {list}", +"Transit {x}× pricier":"Transit {x}× mais caro", +"Trench Landlord":"Dono da vala", +"Tried a remote peer once. It flapped during a product launch. Never again.":"Tentaram um peer remoto uma vez. Ele flapou durante um lançamento de produto. Nunca mais.", +"Truck a spare amp out":"Levar um amplificador reserva de caminhão", +"Try again":"Tentar de novo", +"TubeCoin moved down {p}% on the way to your account.":"A TubeCoin caiu {p}% no caminho até sua conta.", +"TubeCoin moved up {p}% on the way to your account.":"A TubeCoin subiu {p}% no caminho até sua conta.", +"Turn Auto-TE off":"Desligar Auto-TE", +"Turn Auto-TE on":"Ligar Auto-TE", +"Turn it off and on again":"Desligar e ligar de novo", +"Turn it off and on again (it will take a while)":"Desligar e ligar de novo (vai demorar)", +"Turn on a transit clean-pipe add-on.":"Ative um add-on clean-pipe num transit.", +"Twenty minutes from everything, except anywhere else.":"A vinte minutos de tudo, menos de qualquer outro lugar.", +"Twice the WaveMagic. Full speed only on shorter spans, and a cooling fan you can hear from the car park.":"O dobro do WaveMagic. Velocidade máxima só em trechos mais curtos, e uma ventoinha que dá para ouvir do estacionamento.", +"Twice the failures":"O dobro de falhas", +"Twice the speed, shorter reach.":"Dobro da velocidade, alcance menor.", +"Twins":"Gêmeos", +"Two Buildings, Three Cities":"Dois prédios, três cidades", +"Two buildings joined by your own metro ring. A power cut or cleaner in one leaves the other running at half capacity. Uplinks only work while their site is up, unless you split them: choose Both on a port to put LAG members in each building.":"Dois prédios ligados pelo seu próprio anel metro. Uma queda de energia ou um faxineiro em um deixa o outro rodando com metade da capacidade. Uplinks só funcionam enquanto o site deles está no ar, a menos que você os divida: escolha Ambos numa porta para pôr membros do LAG em cada prédio.", +"Two data centers in every metro they touch":"Dois data centers em toda metro que tocar", +"Two hundred and fifty-six 3.2T ports and enough forwarding for a small galaxy. Boots in 42 minutes. Nobody remembers what the question was.":"Duzentas e cinquenta e seis portas 3.2T e forwarding suficiente para uma pequena galáxia. Liga em 42 minutos. Ninguém lembra qual era a pergunta.", +"Two million people in the middle of the rainforest, with a duty-free factory zone. The fiber follows the rivers, and when it breaks, the repair crew goes by boat.":"Dois milhões de pessoas no meio da floresta, com uma zona franca de fábricas. A fibra segue os rios e, quando rompe, a equipe de reparo vai de barco.", +"Two paths that share no trench or fabric":"Dois caminhos sem vala nem fabric em comum", +"Two very large gentlemen from Loan Shark Telecom Finance unplugged your router in {city} \"as a reminder\".":"Dois senhores muito grandes da Loan Shark Telecom Finance desligaram seu router em {city} “como lembrete”.", +"Type":"Tipo", +"Typhoon Bandwidth":"Tufão Banda", +"Typhoon Jitter":"Tufão Jitter", +"Typhoon Latency":"Tufão Latência", +"Typhoon Packet-Loss":"Tufão Packet-Loss", +"Typhoons, earthquakes and a lot of very online people.":"Tufões, terremotos e muita gente cronicamente online.", +"US East is sold out until further notice. Further notice is also sold out.":"US East está esgotado até segunda ordem. A segunda ordem também esgotou.", +"Ukraine’s biggest mobile network. Has kept working through things most networks never have to plan for.":"A maior rede mobile da Ucrânia. Continuou funcionando em situações que a maioria das redes nunca precisa planejar.", +"Ukrainian network engineers kept the internet running through blackouts and much worse. Generators, spare fiber and redundant everything are standard here, and the peering scene is famously tough.":"Os engenheiros de rede ucranianos mantiveram a internet de pé em meio a apagões e coisa muito pior. Geradores, fibra reserva e redundância em tudo são padrão aqui, e a cena de peering é famosa por ser casca-grossa.", +"Unbreakable":"Inquebrável", +"Under attack now":"Sob ataque agora", +"Under construction":"Em construção", +"Underserved: users grow 60% faster":"Mal atendida: usuários crescem 60% mais rápido", +"Unhappy":"Insatisfeitos", +"Unhappy ({n})":"Insatisfeitos ({n})", +"Unicorn":"Unicórnio", +"Universities, biotech and a carrier hotel that has outlived most of its carriers.":"Universidades, biotech e um carrier hotel que sobreviveu à maioria dos seus carriers.", +"University network":"Rede universitária", +"Unlocks at customer level 3":"Desbloqueia no nível de cliente 3", +"Unlocks at customer level {n}.":"Desbloqueia no nível de cliente {n}.", +"Unnamed network":"Rede sem nome", +"Unplugged optics go on the spares shelf and are used first next time.":"Ópticos desconectados vão para a prateleira de reservas e são usados primeiro na próxima vez.", +"Unsubscribed":"Descadastrado", +"Up the west coast of Africa. Something on it is always down.":"Sobe a costa oeste da África. Sempre tem alguma coisa fora do ar.", +"Up to {g} per channel":"Até {g} por canal", +"Up to {pn} interfaces · {ports} ports and {cap} per router":"Interfaces até {pn} · {ports} portas e {cap} por router", +"Updated your PeeringDB record. Your NOC phone number is now a pizza place.":"Atualizou seu registro no PeeringDB. O telefone do seu NOC agora é de uma pizzaria.", +"Updates. So many updates.":"Atualizações. Tantas atualizações.", +"Upgrade all to {port} {cost} + {mo}/mo":"Upgrade de todas para {port} {cost} + {mo}/mês", +"Upgrade fabric to {name} {cost} + {mo}/mo":"Upgrade para fabric {name} {cost} + {mo}/mês", +"Upgrade the IX port or add a LAG member.":"Faça upgrade da porta do IX ou adicione um membro ao LAG.", +"Upgrade the router or add a second one in the Infra tab.":"Faça upgrade do router ou adicione um segundo na aba Infra.", +"Upgrade to {model} {cost} + {mo}/mo":"Upgrade para {model} {cost} + {mo}/mês", +"Upgrade to {sys} {price}":"Atualizar para {sys} {price}", +"Upgrade to {tier} {cost}":"Upgrade para {tier} {cost}", +"Upgrade {port} {cost} + {mo}/mo":"Upgrade para {port} {cost} + {mo}/mês", +"Upgrade {port} {price}/mo":"Upgrade para {port} {price}/mês", +"Upgrade {port} {price}":"Upgrade para {port} {price}", +"Upstream outage":"Queda do upstream", +"Upstreams":"Upstreams", +"Uruguay: fiber to almost every home, a laptop for every schoolkid, and a state telco that runs most of it.":"Uruguai: fibra em quase toda casa, um notebook para cada aluno e uma telco estatal que cuida de quase tudo.", +"Uruguay’s state telco. Fast, everywhere, and a little proud of it.":"A telco estatal do Uruguai. Rápida, em todo lugar, e um pouco orgulhosa disso.", +"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.", +"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.":"Os usuários sentem a ida e volta até onde o tráfego deles sai da sua rede para o trânsito. Até 20 ms (cerca de 1.500 km) está tudo bem; acima de 50 ms banda larga e serviços de internet contam como serviço ruim, o que custa receita e clientes. O tráfego pelo seu próprio peering, PNIs e caches não é penalizado.", +"Utah’s dipping-sauce of an ISP.":"O molhinho especial dos ISPs de Utah.", +"Vacuum incident":"Incidente com o aspirador", +"Vendor TAC":"TAC do fabricante", +"Vendor support asked you to “try turning it off and on again”. For the router you already rebooted. Ticket closed.":"O suporte do fabricante pediu para você “desligar e ligar de novo”. O router que você já tinha reiniciado. Ticket fechado.", +"Venus":"Vênus", +"Very online and badly served by the sea: at least one of its subsea cables is broken at any given time.":"Cronicamente online e mal servida pelo mar: a qualquer momento, pelo menos um dos seus cabos submarinos está rompido.", +"Very solid. Mostly.":"Muito sólido. Quase sempre.", +"Vietnam’s giant. Will tell you which subsea cable is broken this week.":"O gigante do Vietnã. Te conta qual cabo submarino está rompido esta semana.", +"Viewport info":"Info do viewport", +"Vigilante":"Justiceiro", +"Virtual circuit over an NNI fabric":"Circuito virtual sobre um fabric NNI", +"Virtual circuit · {name} · {km} km":"Circuito virtual · {name} · {km} km", +"Voice chat for millions of gamers who all talk at once.":"Chat de voz para milhões de gamers que falam todos ao mesmo tempo.", +"Volunteers with rooftop antennas and strong opinions about IPv6.":"Voluntários com antenas no telhado e opiniões fortes sobre IPv6.", +"Wait! Before you go…":"Espere! Antes de ir…", +"Walk away":"Desistir", +"Want to know how it really works?":"Quer saber como funciona de verdade?", +"Wants NetChill on-net: a cache or a PNI":"Quer a NetChill on-net: uma cache ou um PNI", +"Wants a scrubbing center on its own continent, so attacks are not hauled across an ocean":"Quer um centro de scrubbing no próprio continente, para que os ataques não atravessem um oceano", +"Wants two different transit providers (or none at all)":"Quer dois provedores de transit diferentes (ou nenhum)", +"Wants you to be a Tier 2, or send ≥ {need} Gbps to it (you send {dem})":"Quer que você seja Tier 2, ou que mande ≥ {need} Gbps para ele (você manda {dem})", +"Wants ≥ {need} Gbps of traffic from you (you send {dem})":"Quer ≥ {need} Gbps de tráfego seu (você manda {dem})", +"Warn when a customer gets unhappy":"Avisar quando um cliente ficar insatisfeito", +"Warsaw has more exchanges than anyone can count. This is the second biggest, this week.":"Warsaw tem mais exchanges do que dá pra contar. Este é o segundo maior, esta semana.", +"Waste heat goes straight into the spa next door.":"O calor residual vai direto para o spa ao lado.", +"Wave lease":"Aluguel da wave", +"Wave markets":"Mercados de waves", +"Waves":"Waves", +"Waves and fiber":"Waves e fibra", +"Waves are leased at a flat monthly rate. Bigger and longer costs more, and subsea is 1.8×. First month is due now.":"Waves são alugadas a uma mensalidade fixa. Maior e mais longa custa mais, e subsea é 1,8×. O primeiro mês vence agora.", +"Waves goodbye to latency across the Indian Ocean.":"Dá tchau pra latência com uma wave pelo Oceano Índico.", +"Waves on the same route share its fate: one backhoe cuts them all.":"Waves na mesma rota compartilham o destino: uma retroescavadeira corta todas.", +"We noticed you are at {ix}. So are we. Shall we?":"Vimos que vocês estão no {ix}. Nós também. Vamos?", +"We value our partnership too much to let a little thing like price get in the way.":"Valorizamos demais nossa parceria para deixar uma bobagem como o preço atrapalhar.", +"Weather a DDoS with your defences ready.":"Aguente um DDoS com as defesas prontas.", +"Weather a multi-terabit DDoS.":"Aguente um DDoS de vários terabits.", +"Weekly Regular":"Figurinha carimbada", +"Weekly challenge {key}":"Desafio semanal {key}", +"Weekly {key}":"Semanal {key}", +"Weird requirements":"Exigências esquisitas", +"West Africa’s first big cable, from Portugal to Cape Town. Old and wobbly, but still holding things up.":"O primeiro grande cabo da África Ocidental, de Portugal à Cidade do Cabo. Velho e bambo, mas ainda segurando as pontas.", +"Western Canada’s incumbent. Tell us what you need, and we will tell you the price.":"O incumbente do oeste do Canadá. Diga do que você precisa, e nós diremos o preço.", +"What a wave costs depends on where it runs. Europe is cheap (lots of competing fiber), North America is average, Asia and South America are pricier, and anything into Africa is several times the price. Every route has its own going rate, and new leases get about 8% cheaper each year, so waiting can pay. The link planner tells you how a route compares.":"Quanto custa uma wave depende de onde ela passa. A Europa é barata (muita fibra concorrendo), a América do Norte é mediana, a Ásia e a América do Sul são mais caras, e qualquer coisa indo para a África custa várias vezes mais. Cada rota tem seu preço de mercado, e novos aluguéis ficam uns 8% mais baratos a cada ano, então esperar pode compensar. O planejador de links diz como uma rota se compara.", +"What others pay":"Quanto os outros pagam", +"What's on this link":"O que passa neste link", +"What’s new in {v}":"Novidades da {v}", +"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.", +"When your BGP sneezes, a small country catches a cold.":"Quando o seu BGP espirra, um país pequeno pega um resfriado.", +"Where":"Onde", +"Where Brazil, Argentina and Paraguay meet, next to giant waterfalls and an even bigger hydro dam. Power is cheap, customs paperwork is not.":"Onde Brasil, Argentina e Paraguai se encontram, ao lado de cataratas gigantes e de uma usina ainda maior. A energia é barata, a papelada da alfândega não.", +"Where East Africa’s cables come ashore, then ride the railway up to Nairobi.":"Onde os cabos da África Oriental chegam à terra e depois sobem de trem até Nairóbi.", +"Where South America’s cables actually land. Europe, Africa and the US come ashore here, then ride a long backhaul south.":"Onde os cabos da América do Sul chegam de verdade. Europa, África e EUA desembarcam aqui e depois pegam um longo backhaul para o sul.", +"Where the Atlantic cables to Africa’s south land. Penguins on the beach, load shedding on the grid.":"Onde chegam os cabos atlânticos do sul da África. Pinguins na praia, apagões programados na rede elétrica.", +"Where the money goes":"Para onde vai o dinheiro", +"Where to meet them":"Onde encontrá-los", +"Where your users' traffic comes from, and how it gets to you. Transit is the only part you pay per gigabit; caches, PNIs and IX peering are free or flat-rate. Tap a column to sort.":"De onde vem o tráfego dos seus usuários e como ele chega até você. Transit é a única parte que você paga por gigabit; caches, PNIs e peering IX são grátis ou de preço fixo. Toque numa coluna para ordenar.", +"Where?":"Onde?", +"White houses climbing up from the Mediterranean. The cables go north to Marseille, and so does a lot of the traffic.":"Casas brancas subindo a partir do Mediterrâneo. Os cabos vão para o norte, até Marselha, e boa parte do tráfego também.", +"Who your transit carries":"Quem seu transit carrega", +"Who's here":"Quem está aqui", +"Wholesale wave":"Wave no atacado", +"Wi-Fi on every ferry, backhaul on every bridge.":"Wi-Fi em toda balsa, backhaul em toda ponte.", +"Wi-Fi on minibuses, and the music is free.":"Wi-Fi nos micro-ônibus, e a música é de graça.", +"Will only sign with a network that runs a DDoS scrubbing center":"Só assina com uma rede que tenha centro de scrubbing DDoS", +"Will peer at {ix}: request a session":"Faz peering no {ix}: peça uma sessão", +"Will peer with anyone, anywhere. Rumored to mail out IPv6 cakes.":"Faz peering com qualquer um, em qualquer lugar. Dizem que manda bolos IPv6 pelo correio.", +"Win without ever taking a loan.":"Vença sem nunca pegar um empréstimo.", +"Wireless internet from the top of a grain silo.":"Internet wireless do alto de um silo de grãos.", +"Wireless links across the tundra. Antlers occasionally in the way.":"Links wireless pela tundra. De vez em quando tem uns chifres no caminho.", +"With":"Com", +"With one router, the upgrade needs a maintenance window: this POP goes dark for a day.":"Com um router só, o upgrade precisa de janela de manutenção: este POP fica apagado por um dia.", +"With time to spare.":"Com tempo de sobra.", +"Works offline.":"Funciona offline.", +"World map of your network":"Mapa-múndi da sua rede", +"Write a RouteScript":"Escrever um RouteScript", +"Write rules, check them against live traffic, then deploy. A bad deploy is a very real way to break your network.":"Escreva regras, teste no tráfego real e faça o deploy. Um deploy ruim é um jeito bem real de quebrar sua rede.", +"Writing a script":"Escrevendo um script", +"Wrote a thousand-word apology to a network you never peered with.":"Escreveu um pedido de desculpas de mil palavras para uma rede com quem você nunca fez peering.", +"Yee-haw and low Earth orbit.":"Yee-haw e órbita baixa da Terra.", +"You already have {n} link here ({list}). Parallel links add capacity. How should this one be routed?":"Você já tem {n} link aqui ({list}). Links paralelos somam capacidade. Como este deve ser roteado?", +"You already have {n} links here ({list}). Parallel links add capacity. How should this one be routed?":"Você já tem {n} links aqui ({list}). Links paralelos somam capacidade. Como este deve ser roteado?", +"You already lease dark fiber here. Light {n} more channels for {up}, then cancel the waves to save {price}/mo.":"Você já aluga dark fiber aqui. Acenda mais {n} canais por {up} e cancele as waves para economizar {price}/mês.", +"You already own fiber here. Light {n} more channels for {up}, then cancel the lease to save {price}/mo.":"Você já tem fibra própria aqui. Acenda mais {n} canais por {up} e cancele o aluguel para economizar {price}/mês.", +"You also won the raffle: {cash} worth of optics, sold on eBuy the same evening.":"Você também ganhou o sorteio: {cash} em ópticas, vendidas no eBuy na mesma noite.", +"You built a cartoon internet. Now see how the real one works:":"Você construiu uma internet de desenho animado. Agora veja como a de verdade funciona:", +"You can pre-install optics now so it lights up the day it's ready.":"Você já pode pré-instalar as ópticas, para ela acender no dia em que ficar pronta.", +"You can’t see the fabric, but it is definitely there.":"Você não vê o fabric, mas ele está lá, com certeza.", +"You counter-flooded a hospital in a country you cannot pronounce.":"Você contra-floodou um hospital num país que você nem sabe pronunciar.", +"You do not lease any lines between your POPs.":"Você não aluga nenhuma linha entre seus POPs.", +"You fat-fingered the channel plan on {a}–{b} and lit a new channel right on top of every existing one.":"Você errou o plano de canais em {a}–{b} no dedo gordo e acendeu um canal novo bem em cima de todos os existentes.", +"You found a 10G link in the inventory that nobody ordered, nobody pays for, and that carries 3 Gbps of something.":"Você achou no inventário um link de 10G que ninguém pediu, ninguém paga e que carrega 3 Gbps de alguma coisa.", +"You have {n} days.":"Você tem {n} dias.", +"You joined the outages mailing list. Today you are the outage.":"Você entrou na mailing list de outages. Hoje o outage é você.", +"You need a fabric port at one of your POPs first. Open a POP's Infra tab and buy a port on {list}.":"Primeiro você precisa de uma porta de fabric em um dos seus POPs. Abra a aba Infra de um POP e compre uma porta em {list}.", +"You now have a change freeze. Nobody remembers who declared it.":"Agora você tem um change freeze. Ninguém lembra quem decretou.", +"You pay a bigger network per Gbps and it delivers your traffic anywhere. Easy, full reach, never free.":"Você paga uma rede maior por Gbps e ela entrega seu tráfego em qualquer lugar. Fácil, alcance total, nunca de graça.", +"You pay for leases":"Você paga em aluguéis", +"You pay {pct} of your transit bill until {price} is repaid.":"Você paga {pct} da sua conta de transit até quitar {price}.", +"You repay with 30% of your transit bill. Go transit-free and you stop paying. Until the end.":"Você paga com 30% da sua conta de transit. Fique livre de transit e para de pagar. Até o fim.", +"You use {u} ports here and {r} × {model} only has {max}.":"Você usa {u} portas aqui e {r} × {model} só tem {max}.", +"You're a Tier 1!":"Você é Tier 1!", +"Your AS":"Seu AS", +"Your ASN now shows up in other people's traceroutes, and in their tickets.":"Seu ASN agora aparece no traceroute dos outros, e nos tickets deles.", +"Your CEO plays golf with our CEO every Thursday.":"Seu CEO joga golfe com o nosso CEO toda quinta.", +"Your IP address spreadsheet hit 1,048,576 rows. Excel has opinions.":"Sua planilha de endereços IP chegou a 1.048.576 linhas. O Excel tem opiniões.", +"Your IPv6 traffic grew 400%. From one packet to five.":"Seu tráfego IPv6 cresceu 400%. De um pacote para cinco.", +"Your IX":"Seu IX", +"Your MTU is 9000 on every link except the one that matters.":"Seu MTU é 9000 em todos os links, menos no que importa.", +"Your NOC has a chat channel called #its-always-the-fiber, and it is always the fiber.":"Seu NOC tem um canal de chat chamado #é-sempre-a-fibra, e é sempre a fibra.", +"Your Network Operations Center. Every notification also lands here. Things fail all the time on the internet. Redundant links and multiple upstreams let traffic reroute by itself.":"Seu Network Operations Center. Toda notificação também cai aqui. Na internet as coisas quebram o tempo todo. Links redundantes e vários upstreams deixam o tráfego se rerotear sozinho.", +"Your POP":"Seu POP", +"Your POP · needs a fabric port there":"Seu POP · precisa de uma porta de fabric lá", +"Your POPs":"Seus POPs", +"Your ROA expired over the weekend. Your prefixes are RPKI-invalid and about half the internet is dropping them.":"Sua ROA expirou no fim de semana. Seus prefixos estão RPKI-invalid e mais ou menos meia internet está descartando eles.", +"Your account manager has stopped replying to haggling.":"Seu account manager parou de responder à pechincha.", +"Your account manager is at a conference in Dubai. And then one in Madrid.":"Seu account manager está numa conferência em Dubai. E depois em outra em Madri.", +"Your account manager is hungry.":"Seu account manager está com fome.", +"Your account manager would love to \"align on value\" first. Strategic call booked for next week.":"Seu account manager adoraria “alinhar o valor” antes. Call estratégica marcada para a semana que vem.", +"Your backbone can only haul {g} of it to {city}: the rest is not scrubbed":"Seu backbone só consegue levar {g} até {city}: o resto não é limpo", +"Your best: {best}.":"Seu recorde: {best}.", +"Your cable":"Seu cabo", +"Your customers":"Seus clientes", +"Your customers want the whole internet. Open the Transit tab and buy a port from a carrier.":"Seus clientes querem a internet inteira. Abra a aba Transit e compre uma porta de uma operadora.", +"Your eyeballs want everything. Buy IP transit from a Tier 1 or Tier 2 in your city. Transit gives you the full routing table.":"Seus eyeballs querem tudo. Compre IP transit de um Tier 1 ou Tier 2 na sua cidade. O transit te dá a tabela de roteamento completa.", +"Your fiber here has room for {free} more channels, and moving these leases needs {n}. Light another fiber pair or upgrade the line system first.":"Sua fibra aqui tem espaço para mais {free} canais, e mover esses aluguéis exige {n}. Acenda outro par de fibras ou atualize o line system primeiro.", +"Your fiber is finished: {a}–{b}":"Sua fibra ficou pronta: {a}–{b}", +"Your fiber links are leased waves at a flat monthly rate. Longer and bigger costs more (10G → 6.4T), and subsea is 1.8× the price.":"Seus links de fibra são waves alugadas a uma mensalidade fixa. Mais longa e maior custa mais (10G → 6.4T), e subsea custa 1,8×.", +"Your game is saved automatically.":"Seu jogo é salvo automaticamente.", +"Your game saves itself every few seconds on this device.":"Seu jogo se salva sozinho a cada poucos segundos neste dispositivo.", +"Your joint venture holds an operating license.":"Sua joint venture tem uma licença de operação.", +"Your last fat-fingered route leak has its own Wikipedia page.":"Seu último route leak por dedo gordo tem página própria na Wikipédia.", +"Your loans":"Seus empréstimos", +"Your maintenance window is 2 a.m. in every time zone at once.":"Sua janela de manutenção é às 2 da manhã em todos os fusos ao mesmo tempo.", +"Your mitigation is eating most of it.":"Sua mitigação está engolindo quase tudo.", +"Your monitoring system went down. You found out because nothing alerted. Very peaceful week.":"Seu sistema de monitoramento caiu. Você descobriu porque nenhum alarme tocou. Semana bem tranquila.", +"Your network":"Sua rede", +"Your network card":"O card da sua rede", +"Your network diagram is a photo of a whiteboard.":"Seu diagrama de rede é uma foto de um quadro branco.", +"Your network {name} was saved and is waiting for you.":"Sua rede {name} foi salva e está te esperando.", +"Your on-call engineer typed “clear bgp *” in production in {city} at 3am. It cleared.":"Seu plantonista digitou “clear bgp *” em produção em {city} às 3 da manhã. Limpou mesmo.", +"Your own cable: {up} up front, {mo}/mo, about {n} days to build.":"Seu próprio cabo: {up} à vista, {mo}/mês, cerca de {n} dias de obra.", +"Your own fabric · {name}":"Seu próprio fabric · {name}", +"Your own fiber: {up} up front, {mo}/mo, about {n} days to build.":"Sua própria fibra: {up} à vista, {mo}/mês, cerca de {n} dias de obra.", +"Your own subsea cable Tier 1 only":"Seu próprio cabo submarino só Tier 1", +"Your own trench: almost no rent, but permits and digging take forever, and delays happen.":"Sua própria vala: quase nenhum aluguel, mas licenças e escavação levam uma eternidade, e atrasos acontecem.", +"Your peering coordinator updated their profile to “open to work”. Three Tier 1s suddenly want to chat. Nothing happened, but it felt nice.":"Seu peering coordinator atualizou o perfil para “open to work”. Três Tier 1 de repente querem bater um papo. Nada aconteceu, mas foi bom.", +"Your personalised {port} quote for {ix}":"Sua cotação personalizada {port} para {ix}", +"Your port light now blinks in brand colours.":"A luzinha da sua porta agora pisca nas cores da marca.", +"Your price lock covers you until {date}.":"Seu congelamento de preços te cobre até {date}.", +"Your rate is set by the stars every month. Mercury is in retrograde a lot.":"Sua taxa é definida pelos astros todo mês. Mercúrio fica retrógrado com frequência.", "Your reputation":"Sua reputação", -"Large Peering Model is answering your mail":"Large Peering Model está respondendo seus e-mails", -"{price}/year. It never sleeps, never complains and is often wrong.":"{price}/ano. Nunca dorme, nunca reclama e erra com frequência.", -"Day {d}":"Dia {d}", -"Fire the AI":"Demitir a IA", -"Large Peering Model":"Large Peering Model", -"An AI agent that answers every peering request and max-prefix alert for you, every day. {price}/year. Trained on twenty years of peering mailing lists.":"Um agente de IA que responde por você a cada pedido de peering e alerta de max-prefix, todo dia. {price}/ano. Treinado em vinte anos de listas de e-mails sobre peering.", -"Hire it {mo}/mo":"Contratar {mo}/mês", -"Accept all requests":"Aceitar todos os pedidos", -"Decline all requests":"Recusar todos os pedidos", -"Inbox zero. Enjoy it while it lasts.":"Caixa zerada. Aproveite enquanto dura.", -"No mail yet. Buy an IX port and it will come.":"Nenhum e-mail ainda. Compre uma porta de IX que eles chegam.", -"Augment ordered with {net}.
{eta}.":"Ampliação encomendada com {net}.
{eta}.", -"{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.":"{net} não faz PNI de {port}.
Nada abaixo de 100G. Volte com mais tráfego, ou uma óptica maior.", -"PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.":"PNI com {net} encomendada.
{eta}. Um cross-connect em {dc}, assim que alguém achar a LOA.", -"Your account manager found the order under a desk.
It is a month closer.":"Seu gerente de contas achou o pedido embaixo de uma mesa.
Está um mês mais perto.", -"“It is with the provisioning team.”
Nobody has ever met the provisioning team.":"“Está com o time de provisionamento.”
Ninguém nunca conheceu o time de provisionamento.", -"“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.":"“Estamos esperando o colo fazer o cross-connect.”
O colo diz que está esperando por eles.", -"Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.":"Seu chamado foi juntado a outro chamado.
Esse chamado foi fechado como duplicado do seu.", -"“Could you resend the LOA?”
You have sent it four times.":"“Pode reenviar a LOA?”
Você já mandou quatro vezes.", -"Your account manager is on paternity leave.
His replacement is also on paternity leave.":"Seu gerente de contas está de licença-paternidade.
O substituto dele também está de licença-paternidade.", -"Hello! I am Large Peering Model. I have read your inbox and I already have opinions.":"Olá! Eu sou o Large Peering Model. Li sua caixa de entrada e já tenho opiniões.", -"Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.":"Large Peering Model contratado.
Sua caixa de entrada agora é problema dele. {price} por ano, cobrados por mês.", -"The AI is gone.
It left a 40-page handover document. It is mostly about itself.":"A IA foi embora.
Deixou um documento de transição de 40 páginas. Ele fala principalmente dela mesma.", -"Large Peering Model is on it.":"Large Peering Model está cuidando disso.", -"{n} session is down on its max-prefix limit.":"{n} sessão está fora pelo limite de max-prefix.", -"{n} sessions are down on their max-prefix limit.":"{n} sessões estão fora pelo limite de max-prefix.", +"Your rising sign":"Seu ascendente", +"Your router in {city} crashed and is rebooting. It {what}. Boot time on this one: about {min} minutes per attempt, and it is on attempt {n}.":"Seu router em {city} travou e está reiniciando. Ele {what}. Tempo de boot deste: uns {min} minutos por tentativa, e está na tentativa {n}.", +"Your router in {city} crashed. Kernel panic, packet panic.":"Seu router em {city} travou. Kernel panic, packet panic.", +"Your router is live. Press “Launch broadband” to sell internet to the people of your city.":"Seu router está no ar. Aperte “Lançar banda larga” para vender internet ao pessoal da sua cidade.", +"Your routers here are forwarding {load} of {cap}. Traffic is being dropped. Upgrade or add a router in the Infra tab.":"Seus routers aqui estão encaminhando {load} de {cap}. Tráfego sendo descartado. Faça upgrade ou adicione um router na aba Infra.", +"Your routers pick the lowest-cost path. Raise the metric to push traffic onto other paths. “Backup only” keeps it idle unless nothing else works. Applies to every link between these two cities.":"Seus routers escolhem o caminho de menor custo. Aumente a métrica para empurrar o tráfego para outros caminhos. “Só backup” deixa o link ocioso a menos que nada mais funcione. Vale para todos os links entre essas duas cidades.", +"Your routing table needs its own routing table.":"Sua tabela de roteamento precisa de uma tabela de roteamento própria.", +"Your save stays safe.":"Seu save fica seguro.", +"Your score: peak traffic":"Sua pontuação: pico de tráfego", +"Your score: {score}":"Sua pontuação: {score}", +"Your scrubbing center returns clean traffic over a GRE tunnel, and nobody clamped the MSS. Big packets to {net} vanish, so pages load halfway and stop.":"Seu centro de scrubbing devolve tráfego limpo por um túnel GRE, e ninguém fez clamp do MSS. Pacotes grandes para {net} somem, então as páginas carregam pela metade e param.", +"Your scrubbing centers are full: {g} leaks past":"Seus centros de scrubbing estão cheios: {g} passam direto", +"Your spares kit gets it back tomorrow.":"Seu kit de sobressalentes traz de volta amanhã.", +"Your traffic crossing the border":"Seu tráfego cruzando a fronteira", +"Your traffic to and from Asia":"Seu tráfego de e para a Ásia", +"Your upstream support line plays the same 11 seconds of hold music. Your on-call engineer can now hum it in four keys.":"O suporte do seu upstream toca os mesmos 11 segundos de música de espera. Seu plantonista já cantarola em quatro tons.", +"Your very own subsea cable. A ship lays it across the seabed, you own every fiber pair in it, and nobody else’s waves share your glass. It costs a frankly rude amount of money and takes a long time.":"Seu cabo submarino só seu. Um navio o lança no leito do mar, você é dono de cada par de fibras e as waves de mais ninguém dividem o seu vidro. Custa uma grana francamente ofensiva e demora bastante.", +"Your wave supplier pushed one malformed update to its optical control plane, and it flooded every node. All {n} leased waves you have in {reg} are dark. Their status page says “degraded”.":"Seu fornecedor de waves empurrou uma atualização malformada para o control plane óptico, e ela inundou todos os nós. Todas as {n} waves alugadas que você tem em {reg} apagaram. A página de status deles diz “degradado”.", +"Your wave was sold before the cable owner re-engineered it, so it keeps running.":"Sua wave foi vendida antes de o dono do cabo reprojetá-lo, então continua funcionando.", +"Your {a}–{b} cable broke in the same spot as last time. The repair crew recognised it.":"Seu cabo {a}–{b} quebrou no mesmo ponto da última vez. A equipe de reparo reconheceu.", +"Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.":"Seu cabo {a}–{b} foi cortado de novo. O navio de reparo nem vai mais embora; só estaciona em cima do lugar.", +"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.", +"Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.":"Sua fibra {a}–{b} quebrou em algum lugar do Nullarbor. A equipe de emenda fez as malas para uma semana.", +"Your {a}–{b} fiber is down. The repair crew found tooth marks, a lodge, and a very proud beaver.":"Sua fibra {a}–{b} caiu. A equipe de reparo achou marcas de dentes, uma toca e um castor muito orgulhoso.", +"Your {model} here has no Flowspec TCAM":"Seu {model} aqui não tem TCAM para Flowspec", +"Your {model} here tops out at {pn} ports. Bigger ports need a router upgrade (Infra tab).":"Seu {model} aqui só vai até portas de {pn}. Portas maiores pedem upgrade do router (aba Infra).", +"Y{y} · {mon} {d}":"A{y} · {d} {mon}", +"Zambia runs on hydro power from one big lake. In a dry year the lake runs low, and so does the grid.":"A Zâmbia vive da energia de um grande lago. Num ano seco o lago baixa, e a rede elétrica também.", +"Zero Peers Given":"Zero peers, zero problemas", +"Zombie route":"Rota zumbi", +"a botnet of 40,000 smart toasters":"uma botnet de 40.000 torradeiras smart", +"a botnet run from a cloud you also host":"uma botnet rodando numa cloud que você também hospeda", +"a crypto bro shorting your stock":"um cripto-bro apostando contra suas ações", +"a few dozen ARM cores":"algumas dezenas de cores ARM", +"a fridge that achieved sentience and chose violence":"uma geladeira que ganhou consciência e escolheu a violência", +"a gaming clan that lost one match":"um clã de gamers que perdeu uma partida", +"a mystery ASIC":"um ASIC misterioso", +"a printer. Just one printer. Nobody knows how":"uma impressora. Uma impressora só. Ninguém sabe como", +"a rival ISP’s “stress test”":"o “teste de estresse” de um ISP rival", +"a spare fiber pair in your {a}–{b} trench":"um par de fibra livre na sua vala {a}–{b}", +"a teenager with a stolen credit card and a grudge":"um adolescente com um cartão de crédito roubado e muito rancor", +"about average":"na média", +"about {n} days":"cerca de {n} dias", +"about {price}/mo":"cerca de {price}/mês", +"across the {ix} switch":"pelo switch do {ix}", +"after loan payments":"após as parcelas", +"and {n} more":"e mais {n}", +"as when you started":"como no começo", +"attacks on {city} are hauled to {to} for scrubbing: +{ms} ms":"os ataques em {city} são levados a {to} para scrubbing: +{ms} ms", +"auto-enrolled":"inscrito automaticamente", +"backup":"backup", +"blackholed {g}":"blackhole {g}", +"blackholing {g}":"{g} em blackhole", +"booted, panicked about a missing fan tray, and started again":"ligou, entrou em pânico por falta de uma fan tray e começou de novo", +"boots in ~{n} min":"liga em ~{n} min", +"budget {ms} ms":"orçamento {ms} ms", +"building":"em obras", +"bumped":"cobrado de novo", +"caches beat PNIs":"caches vencem PNIs", +"caches, PNIs and IX":"caches, PNIs e IX", +"carrying {g}":"levando {g}", +"carrying {g} per site":"levando {g} por site", +"challenger":"desafiante", +"cheap: lots of competing fiber":"barato: muita fibra concorrendo", +"city":"cidade", +"commit failed":"commit falhou", +"controller is off":"controlador desligado", +"controller off":"controller desligado", +"crashes more":"trava mais", +"customers are upset":"clientes furiosos", +"dark":"apagada", +"dark fiber IRU":"dark fiber IRU", +"day {n} of {d}":"dia {n} de {d}", +"deployed":"em produção", +"diverse":"diverso", +"diverse route":"rota diversa", +"done in {d} days":"feito em {d} dias", +"dropping or overflowing":"descartando ou transbordando", +"due now {price}":"a pagar agora {price}", +"earned before":"já conquistado", +"embedded cache in your rack":"cache embedded no seu rack", +"every unpatched baby monitor in Europe":"toda babá eletrônica sem patch da Europa", +"expensive: scarce capacity":"caro: capacidade escassa", +"fabric circuit":"circuito de fabric", +"fiber is down":"a fibra caiu", +"five nines-ish":"cinco noves, quase", +"flat rate":"preço fixo", +"forty-two of them":"quarenta e dois deles", +"found a newer firmware on the USB stick someone left in it, and is installing it":"achou um firmware mais novo no pendrive que alguém esqueceu espetado e está instalando", +"free":"grátis", +"free-zone license included":"licença de zona franca incluída", +"from unhappy customers":"de clientes insatisfeitos", +"from {net}":"de {net}", +"from {price}/mo":"a partir de {price}/mês", +"getting only {p} of the bandwidth they pay for":"recebendo só {p} da banda que pagam", +"government box included":"caixa do governo incluída", +"hand-off to {net}":"entrega para {net}", +"handed off as 4×1.6T":"entregue como 4×1.6T", +"handed off as 4×3.2T":"entregue como 4×3.2T", +"happiness {p}%":"satisfação {p}%", +"has errors, not running":"tem erros, não está rodando", +"home":"casa", +"in progress":"em andamento", +"in the vault":"no cofre", +"in {n} days":"em {n} dias", +"incumbent":"incumbente", +"is \"synchronising the routing engines\". Nobody knows what that means":"está \"sincronizando os routing engines\". Ninguém sabe o que isso quer dizer", +"is counting to 2 million routes. Out loud. One at a time":"está contando até 2 milhões de rotas. Em voz alta. Uma de cada vez", +"is oinking through the self-test of every PacketOinker on every line card":"está roncando no self-test de cada PacketOinker em cada line card", +"is running fsck on a compact flash card older than your interns":"está rodando fsck num cartão compact flash mais velho que seus estagiários", +"is waiting for the line cards to agree on who is the primary":"está esperando as line cards decidirem quem é a primária", +"just now":"agora mesmo", +"land":"terrestre", +"last 10 minutes":"últimos 10 minutos", +"leased IRU":"IRU alugado", +"level {n}":"nível {n}", +"line {n}: I don't understand “{text}”. Try: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos":"linha {n}: não entendi “{text}”. Tente: spill at 80%, prefer pni for goggle, avoid transit for netchill, cap transit cogentle at 20 gbps, drain paris, avoid link fra-ams, blackhole ddos", +"line {n}: prepend 1 to 3 times":"linha {n}: prepend de 1 a 3 vezes", +"line {n}: spill must be between 20% and 100%":"linha {n}: spill deve estar entre 20% e 100%", +"line {n}: {err}":"linha {n}: {err}", +"local telecom licence included":"licença de telecom local incluída", +"merchant silicon":"merchant silicon", +"missing {what}":"falta {what}", +"needs a scrubbing center":"precisa de um centro de scrubbing", +"needs {what}":"requer {what}", +"needs {what} at both ends":"precisa de {what} nas duas pontas", +"network":"rede", +"no 10G: {net} starts at 100G":"sem 10G: {net} começa em 100G", +"no PNI with {list}":"sem PNI com {list}", +"no POP of yours on it yet":"nenhum POP seu nele ainda", +"no cable lands here":"nenhum cabo desembarca aqui", +"no path":"sem caminho", +"no path right now":"sem caminho no momento", +"no working path between these POPs":"nenhum caminho funcionando entre esses POPs", +"nobody yet":"ninguém ainda", +"none":"nenhum", +"not active":"inativo", +"not this time":"não foi dessa vez", +"nothing yet":"nada ainda", +"of {g} wanted":"de {g} pedidos", +"offer ends in {n}d":"oferta termina em {n}d", +"old, cuts often":"velho, corta com frequência", +"on order":"encomendada", +"on order: {n} days":"encomendada: {n} dias", +"own dark fiber":"dark fiber própria", +"paid peering":"peering pago", +"peak 1 Tbps and 6 POPs":"pico de 1 Tbps e 6 POPs", +"peak 12 Tbps, 25 POPs, 5 continents":"pico de 12 Tbps, 25 POPs, 5 continentes", +"peak 16 Tbps and 32 POPs":"pico de 16 Tbps e 32 POPs", +"peak 200 Gbps and 3 POPs":"pico de 200 Gbps e 3 POPs", +"peak 21 Tbps, 40 POPs, 6 continents":"pico de 21 Tbps, 40 POPs, 6 continentes", +"peak 26 Tbps and 50 POPs":"pico de 26 Tbps e 50 POPs", +"peak 3 Tbps, 10 POPs, 3 continents":"pico de 3 Tbps, 10 POPs, 3 continentes", +"peak 33 Tbps and 60 POPs":"pico de 33 Tbps e 60 POPs", +"peak 40 Tbps and 70 POPs":"pico de 40 Tbps e 70 POPs", +"peak 50 Tbps and 80 POPs":"pico de 50 Tbps e 80 POPs", +"peak 6 Tbps, 15 POPs, 4 continents":"pico de 6 Tbps, 15 POPs, 4 continentes", +"peak 9 Tbps and 20 POPs":"pico de 9 Tbps e 20 POPs", +"plus {pct} of revenue":"mais {pct} da receita", +"plus {pct} of revenue until repaid":"mais {pct} da receita até quitar", +"pricey: fewer carriers":"salgado: poucas operadoras", +"private cross-connect":"cross-connect privado", +"provisioning, {n}d grace":"em ativação, {n}d de carência", +"rate set by the stars each month":"taxa definida pelos astros todo mês", +"ready in {n}d":"pronto em {n}d", +"remote":"remoto", +"same trench":"mesma vala", +"saved by v{ver}":"salvo pela v{ver}", +"score {v}":"pontuação {v}", +"sells PNIs down to 1G":"vende PNI a partir de 1G", +"serve 1.5 Tbps ({v})":"entregar 1,5 Tbps ({v})", +"served {a} → {b}":"servido {a} → {b}", +"serving {v}":"atendendo {v}", +"several hundred ARM cores and a prayer":"algumas centenas de cores ARM e uma oração", +"sold out for {n} days":"esgotado por {n} dias", +"somebody who did not like your network name":"alguém que não gostou do nome da sua rede", +"spare":"reserva", +"spare + {price}":"reserva + {price}", +"spilled {g} onto alternate paths":"desviado {g} para rotas alternativas", +"split over two equally quiet paths":"dividido em dois caminhos igualmente tranquilos", +"starting in {n}d":"começa em {n}d", +"subsea":"submarino", +"ten thousand smart light bulbs, blinking in unison":"dez mil lâmpadas smart piscando em uníssono", +"terrestrial":"terrestre", +"terrestrial wave":"wave terrestre", +"the internet-connected kettles of a whole country":"as chaleiras conectadas de um país inteiro", +"the rest is due at the end":"o resto vence no fim", +"their fiber is down":"a fibra deles caiu", +"then about {price} at once":"depois cerca de {price} de uma vez", +"thought for {s} seconds":"pensou por {s} segundos", +"tiny":"minúscula", +"today":"hoje", +"too far for this cable":"longe demais para este cabo", +"transit {a}/mo → {b}/mo":"transit {a}/mês → {b}/mês", +"transit ${price}/Gbps":"transit ${price}/Gbps", +"transit is the last resort":"transit é o último recurso", +"transit provider":"provedor de transit", +"two nines and change":"dois noves e uns trocados", +"unknown {what} “{word}”":"{what} “{word}” desconhecido", +"until {date}, at +{p}":"até {date}, a +{p}", +"up":"up", +"via RS":"via RS", +"via a capacity broker":"por um corretor de capacidade", +"virtual circuit via {fab}":"circuito virtual via {fab}", +"virtual circuits and fabric customers":"circuitos virtuais e clientes de fabric", +"weighted by what they pay":"ponderada pelo que pagam", +"you buy transit again":"você volta a comprar transit", +"you cannot reach the whole internet ({p})":"você não alcança a internet inteira ({p})", +"you cannot reach {list}":"você não alcança {list}", +"your exchange":"seu exchange", +"your own build":"construção própria", +"your own subsea cable {name}":"seu próprio cabo submarino {name}", +"your reach is {p}, not 100%":"seu alcance é {p}, não 100%", +"{amt} from {bank} has landed.":"{amt} de {bank} caiu na conta.", +"{apr}% APR":"{apr}% a.a.", +"{a} and {b}":"{a} e {b}", +"{a} of {b}":"{a} de {b}", +"{a} to {b}":"{a} → {b}", +"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.":"{a}–{b} caiu. Mesmo cabo, âncora nova. A equipe de reparo criou um cartão fidelidade.", +"{bank} offers {amount}":"{bank} oferece {amount}", +"{bw} extra for {d} days, {when} · pays {fee} when it is over":"{bw} a mais por {d} dias, {when} · paga {fee} no final", +"{cap} fabric circuit":"circuito de fabric de {cap}", +"{cap} on a dark fiber IRU":"{cap} numa IRU de dark fiber", +"{cap} wave":"wave de {cap}", +"{cash} in the bank":"{cash} no banco", +"{city} has no cable landing station.":"{city} não tem estação de ancoragem de cabos.", +"{city}, your router":"{city}, seu router", +"{co} decommissioned your {a}–{b} wave because the ticket said “decom” instead of “docs”.":"{co} desativou sua wave {a}–{b} porque o ticket dizia “decom” em vez de “docs”.", +"{co} did “quick maintenance” on the wrong wavelength. Your {a}–{b} wave is now carrying someone else's cat videos.":"{co} fez uma “manutenção rápida” no comprimento de onda errado. Sua wave {a}–{b} agora carrega os vídeos de gato de outra pessoa.", +"{co} fat-fingered a cross-connect and patched your {a}–{b} wave into a pizza oven.":"{co} errou um cross-connect no dedo gordo e ligou sua wave {a}–{b} num forno de pizza.", +"{co} scheduled maintenance in UTC. Your team read it as local time. {a}–{b} went dark at peak.":"{co} agendou a manutenção em UTC. Seu time leu como horário local. {a}–{b} apagou no horário de pico.", +"{fabric} is having a bad day. Every virtual circuit on their fabric is down.":"{fabric} está num dia ruim. Todos os circuitos virtuais do fabric deles caíram.", +"{goal} was not reached in {d} days. Keep playing this network as free play, or try again.":"Objetivo não alcançado em {d} dias: {goal}. Continue jogando esta rede no modo livre, ou tente de novo.", +"{got}/{total} this game · {ever} ever":"{got}/{total} nesta partida · {ever} no total", +"{g} lost":"{g} perdidos", +"{g} of circuits":"{g} de circuitos", +"{g} of eyeballs":"{g} de eyeballs", +"{g} to {km} km":"{g} até {km} km", +"{in} in · {out} out":"{in} entram · {out} saem", +"{ix} LAG":"LAG do {ix}", +"{ix} LAG in {city}":"LAG do {ix} em {city}", +"{ix} is a shared switch. One port lets you peer with every member for free. Members: {list}.":"{ix} é um switch compartilhado. Com uma porta você faz peering grátis com todos os membros. Membros: {list}.", +"{ix} peering":"Peering {ix}", +"{ix} switch":"Switch do {ix}", +"{km} km is more than any optic can light, even on the best subsea gear ({max} km at most). Real cables stop at an island or a landing station on the way: lay two shorter ones.":"{km} km é mais do que qualquer óptica consegue iluminar, mesmo com o melhor equipamento submarino ({max} km no máximo). Cabos de verdade param numa ilha ou numa estação de chegada no caminho: lance dois mais curtos.", +"{km} km is too far for your optics on their own. Add {what} to light this cable.":"{km} km é longe demais para as suas ópticas sozinhas. Adicione {what} para acender este cabo.", +"{km} km of cable carries at most {g} per carrier.":"{km} km de cabo levam no máximo {g} por portadora.", +"{km} km of seabed":"{km} km de leito marinho", +"{model} level {lv}":"{model} nível {lv}", +"{ms} ms one-way":"{ms} ms só ida", +"{ms} ms to transit":"{ms} ms até o trânsito", +"{name} (AS{asn}) is transit-free. You peer with every giant on the planet and pay nobody to reach the internet. Took you {days} days and {n} incidents.":"{name} (AS{asn}) é transit-free. Você faz peering com todos os gigantes do planeta e não paga ninguém para chegar à internet. Levou {days} dias e {n} incidentes.", +"{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at":"{name} (AS{asn}): {tier}, pico de {peak}. Construa sua própria internet em", +"{name} (hub: {site})":"{name} (hub: {site})", +"{name} and everything it owns will be deleted. This cannot be undone.":"{name} e tudo o que ela possui serão apagados. Não dá para desfazer.", +"{name} at {site}":"{name} em {site}", +"{name} cache":"Cache {name}", +"{name} caches":"caches {name}", +"{name} circuit":"Circuito {name}", +"{name} fabric level {lv}":"Fabric {name} nível {lv}", +"{name} glow: {n} days left":"Efeito {name}: faltam {n} dias", +"{name} in {city}":"{name} em {city}", +"{name} is down. Nothing you can do but wait, or have another path.":"{name} caiu. Não há o que fazer além de esperar, ou ter outro caminho.", +"{name} knocked out power in {city}. Your POP has no generator.":"{name} derrubou a energia em {city}. Seu POP não tem gerador.", +"{name} parallel link":"Link paralelo {name}", +"{name} transit":"Transit {name}", +"{name} transit LAG in {city}":"LAG de transit {name} em {city}", +"{name} via {fab}":"{name} via {fab}", +"{name} wave":"Wave {name}", +"{name} will be replaced. Export it from the menu first if you want to keep it.":"{name} será substituído. Exporte pelo menu antes se quiser guardar.", +"{name}: done in {d} days":"{name}: feito em {d} dias", +"{net} accepted!":"{net} aceitou!", +"{net} carries it to {city}":"{net} leva até {city}", +"{net} fat-fingered a route-map and prepended your AS {n} times in {city}. Nobody wants that path.":"{net} errou uma route-map no dedo gordo e fez prepend do seu AS {n} vezes em {city}. Ninguém quer esse caminho.", +"{net} hands it to {to}":"{net} passa para {to}", +"{net} is having an outage in {city}. Your transit port there is dark.":"{net} está com uma falha em {city}. Sua porta de transit lá está apagada.", +"{net} is scrubbing it upstream (clean-pipe)":"{net} está limpando upstream (clean-pipe)", +"{net} transit":"transit {net}", +"{net} transit · {lag}":"transit {net} · {lag}", +"{n} POP":"{n} POP", +"{n} POPs":"{n} POPs", +"{n} amp huts":"{n} abrigos de amplificador", +"{n} amplifiers":"{n} amplificadores", +"{n} box":"{n} caixa", +"{n} boxes":"{n} caixas", +"{n} businesses":"{n} empresas", +"{n} connection":"{n} conexão", +"{n} connections":"{n} conexões", +"{n} customer":"{n} cliente", +"{n} customer let go":"{n} cliente dispensado", +"{n} customers":"{n} clientes", +"{n} customers let go":"{n} clientes dispensados", +"{n} day ago":"há {n} dia", +"{n} days ago":"há {n} dias", +"{n} days left":"faltam {n} dias", +"{n} exchanges compete in {city}. Members overlap, but not completely, and the challengers undercut the incumbent. Small networks often sit on just one of them.":"{n} exchanges competem em {city}. Os membros se sobrepõem, mas não totalmente, e os desafiantes cobram menos que o incumbente. Redes pequenas costumam ficar em só um deles.", +"{n} fiber pairs in your {a}–{b} trench. Trenching was the expensive part, so they want all of it":"{n} pares de fibra na sua vala {a}–{b}. Cavar foi a parte cara, então eles querem todos", +"{n} fiber pairs lit, the trench is full":"{n} pares de fibras acesos, a vala está cheia", +"{n} furious":"{n} furiosos", +"{n} in the cable, the first one lit":"{n} no cabo, o primeiro aceso", +"{n} in {r} regions":"{n} em {r} regiões", +"{n} incident":"{n} incidente", +"{n} incidents":"{n} incidentes", +"{n} link":"{n} link", +"{n} links":"{n} links", +"{n} lit":"{n} acesos", +"{n} loan":"{n} empréstimo", +"{n} loans":"{n} empréstimos", "{n} message waiting for an answer.":"{n} mensagem esperando resposta.", "{n} messages waiting for an answer.":"{n} mensagens esperando resposta.", -"Inbox zero.":"Caixa zerada.", -"Open inbox":"Abrir a caixa", -"Augment on order: {port}, about {n} days to go.":"Ampliação encomendada: {port}, faltam cerca de {n} dias.", -"no 10G: {net} starts at 100G":"sem 10G: {net} começa em 100G", -"sells PNIs down to 1G":"vende PNI a partir de 1G", -"on order: {n} days":"encomendada: {n} dias", -"PNI lead times":"Prazos de PNI", -"A cross-connect with a small network takes a few weeks. With the big content networks, Tier 1s and big eyeball networks, a new PNI or an augment usually takes about a month, but one order in seven slips to 6 to 12 months. The content networks and Tier 1s start at 100G. Doitsche Telekomm still sells 1G.":"Um cross-connect com uma rede pequena leva algumas semanas. Com as grandes redes de conteúdo, os Tier 1 e as grandes operadoras de acesso, uma PNI nova ou uma ampliação costuma levar cerca de um mês, mas um pedido em cada sete atrasa para 6 a 12 meses. As redes de conteúdo e os Tier 1 começam em 100G. A Doitsche Telekomm ainda vende 1G.", -"Every IX port brings peering requests and max-prefix alerts, in the Networks tab. A session that blows past its limit is down until you look: raise the limit for growth, keep it down for a leak. Ignore your mail and selective networks get pickier.":"Cada porta de IX traz pedidos de peering e alertas de max-prefix, na aba Redes. Uma sessão que estoura o limite fica fora até você olhar: aumente o limite se for crescimento, deixe fora se for vazamento. Ignore seus e-mails e as redes seletivas ficam mais exigentes.", - "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…", -"{p} of {city}’s traffic is backhauled to transit in {to}: {ms} ms round trip. Users notice anything over 20 ms (about 1,500 km), and past 50 ms broadband and internet services count as bad service. Buy transit here or nearby, or peer locally.":"{p} do tráfego de {city} vai até o trânsito em {to}: {ms} ms de ida e volta. Os usuários percebem qualquer coisa acima de 20 ms (cerca de 1.500 km), e acima de 50 ms banda larga e serviços de internet contam como serviço ruim. Compre trânsito aqui ou perto, ou faça peering local.", -"Slow cities":"Cidades lentas", -"Their users go out through transit far away. Past 50 ms round trip, broadband and internet services count as bad service.":"Os usuários delas saem por um trânsito distante. Acima de 50 ms de ida e volta, banda larga e serviços de internet contam como serviço ruim.", -"{p} of its traffic · {ms} ms round trip · service {sf}":"{p} do tráfego · {ms} ms de ida e volta · serviço {sf}", -"{ms} ms to transit":"{ms} ms até o trânsito", -"Backhaul latency":"Latência de backhaul", -"Users feel the round trip to wherever their traffic leaves your network for transit. Up to 20 ms (about 1,500 km) is fine; past 50 ms broadband and internet services count as bad service, which costs revenue and customers. Traffic over your own peering, PNIs and caches is not penalised.":"Os usuários sentem a ida e volta até onde o tráfego deles sai da sua rede para o trânsito. Até 20 ms (cerca de 1.500 km) está tudo bem; acima de 50 ms banda larga e serviços de internet contam como serviço ruim, o que custa receita e clientes. O tráfego pelo seu próprio peering, PNIs e caches não é penalizado.", -"That link is gone.
It was removed or decommissioned since.":"Esse link não existe mais.
Foi removido ou desativado desde então.", -"That customer is gone.
The contract ended since.":"Esse cliente não existe mais.
O contrato terminou desde então.", +"{n} min ago":"há {n} min", +"{n} months":"{n} meses", +"{n} networks · {d} days left":"{n} redes · faltam {d} dias", "{n} new notification":"{n} notificação nova", "{n} new notifications":"{n} notificações novas", -"just now":"agora mesmo", -"{n} min ago":"há {n} min", -"Notifications":"Notificações", -"last 10 minutes":"últimos 10 minutos", -"Nothing in the last 10 minutes.":"Nada nos últimos 10 minutos.", -"Show fewer":"Mostrar menos", -"Show all {n}":"Mostrar todas as {n}", -"Resolved: {what}
{where} is back to normal.":"Resolvido: {what}
{where} voltou ao normal.", -"Resolved: {what}":"Resolvido: {what}", -"The harbour, the bridge and most of the country’s data centres. Rent is the real latency.":"O porto, a ponte e quase todos os data centers do país. A latência de verdade é o aluguel.", -"Twenty minutes from everything, except anywhere else.":"A vinte minutos de tudo, menos de qualquer outro lugar.", -"Built for the government. The data centres have more security clearances than staff, and every road ends in a roundabout.":"Construída para o governo. Os data centers têm mais credenciais de segurança do que funcionários, e toda rua termina numa rotatória.", -"The bottom of the map. Cool air, cheap hydro, and all of Bass Strait between you and the mainland.":"O pé do mapa. Ar fresco, energia hidrelétrica barata e o Estreito de Bass inteiro entre você e o continente.", -"Sydney to Tokyo by way of Guam, going round and round since 2001.":"De Sydney a Tóquio passando por Guam, dando voltas e voltas desde 2001.", -"Sydney to Honolulu, and not a metre further. Getting to the mainland is your problem.":"De Sydney a Honolulu, e nem um metro além. Chegar ao continente é problema seu.", -"Crosses Bass Strait faster than the ferry, and gets seasick less often.":"Atravessa o Estreito de Bass mais rápido que a balsa, e enjoa menos.", -"Stockpiled bandwidth in 2020 and still has a few rolls left.":"Estocou banda em 2020 e ainda tem alguns rolos sobrando.", -"Now you see the fibre, now you don’t.":"Agora você vê a fibra, agora não vê mais.", -"Matching outfits, perfect harmonies, and they peer with absolutely everyone.":"Roupas combinando, harmonias perfeitas, e fazem peering com absolutamente todo mundo.", -"Speedy by name. Owns a slice of the cable to Singapore and keeps buying smaller ISPs.":"Rápido no nome. Tem uma fatia do cabo para Singapura e não para de comprar provedores menores.", -"Bought by Speedyloop, and still working out which name goes on the bill.":"Comprada pela Speedyloop, e ainda tentando decidir qual nome vai na fatura.", -"The cheapest plan in the country. Smells like a bargain.":"O plano mais barato do país. Tem cheiro de pechincha.", -"Beams the outback online from 550 km up, then lands it in a Sydney data centre like everyone else.":"Coloca o outback online a 550 km de altura e depois aterrissa tudo num data center em Sydney, como todo mundo.", -"Telstraya’s budget brand. Cheaper, cheerier, and it still won’t peer with you.":"A marca econômica da Telstraya. Mais barata, mais alegre, e mesmo assim não faz peering com você.", -"Cheap broadband with the sales pitch on a permanent loop.":"Banda larga barata, com o discurso de vendas em loop eterno.", -"Small, fast and always leaping to the next deal. Ribbit.":"Pequeno, rápido e sempre pulando para a próxima oferta. Croac.", -"The Nearly Broadband Network keeps {pct} of it for the last mile.":"A Nearly Broadband Network fica com {pct} disso pela última milha.", -"Nearly Broadband Network wholesale":"Atacado da Nearly Broadband Network", -"Hard mode. Everything overseas costs a fortune, locals pay top dollar, mostly to the Nearly Broadband Network, and everything else is trying to kill you.":"Modo difícil. Tudo que vai para fora custa uma fortuna, os locais pagam caro, principalmente para a Nearly Broadband Network, e todo o resto quer te matar.", -"Fibre to the Basement":"Fibra até o porão", -"Sydney, 2013. The Toilet Paper Group ran its own fibre into apartment basements, and the national network cried cherry-picking. Your turn: skip the Nearly Broadband Network, pay the levy, and get there first.":"Sydney, 2013. O Toilet Paper Group levou a própria fibra até o porão dos prédios, e a rede nacional reclamou de cherry-picking. Sua vez: pule a Nearly Broadband Network, pague a taxa e chegue primeiro.", -"Broadband in Sydney, Melbourne, Brisbane, Adelaide and Perth, and two different cables overseas":"Banda larga em Sydney, Melbourne, Brisbane, Adelaide e Perth, e dois cabos diferentes para o exterior", -"It runs on your own fibre, so the Nearly Broadband Network gets nothing. The government still takes a {pct} levy.":"Roda na sua própria fibra, então a Nearly Broadband Network não leva nada. O governo ainda cobra uma taxa de {pct}.", -"Broadband in {city}":"Banda larga em {city}", -"Cables overseas":"Cabos para o exterior", -"Regional broadband levy":"Taxa de banda larga regional", -"Perth to Singapore and Jakarta. Packed fresh every morning, and cut more often than a sandwich.":"De Perth a Singapura e Jacarta. Preparado fresquinho toda manhã, e cortado mais vezes que um sanduíche.", -"Sydney, Melbourne, Adelaide and Perth by sea, so your packets never have to cross the Nullarbor. Another one from the bloke who starts a fibre company every time he finishes a flat white.":"Sydney, Melbourne, Adelaide e Perth pelo mar, para seus pacotes nunca precisarem cruzar o Nullarbor. Mais uma do sujeito que abre uma empresa de fibra toda vez que termina um flat white.", -"Australia’s number two. Once took the whole country offline for twelve hours with a routine upgrade.":"O número dois da Austrália. Uma vez deixou o país inteiro offline por doze horas com uma atualização de rotina.", -"This route crosses the Nullarbor: {x}× the price. A thousand kilometres of nothing, and the incumbents own all of it.":"Esta rota cruza o Nullarbor: {x}× o preço. Mil quilômetros de nada, e as incumbentes são donas de tudo.", -"Your {a}–{b} cable is cut again. The repair ship never really leaves any more; it just parks over the spot.":"Seu cabo {a}–{b} foi cortado de novo. O navio de reparo nem vai mais embora; só estaciona em cima do lugar.", -"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.":"{a}–{b} caiu. Mesmo cabo, âncora nova. A equipe de reparo criou um cartão fidelidade.", -"A sulphur-crested cockatoo chewed through your {a}–{b} fiber, then came back for the spare.":"Uma cacatua-de-crista-amarela roeu sua fibra {a}–{b} e depois voltou para a reserva.", -"A kangaroo hit the fiber hut on {a}–{b}. The hut lost.":"Um canguru acertou a cabine da fibra em {a}–{b}. A cabine perdeu.", -"A backhoe putting in a new servo dug straight through your {a}–{b} fiber. The plans said it was two metres to the left.":"Uma retroescavadeira abrindo espaço para um posto novo cortou sua fibra {a}–{b} bem no meio. A planta dizia que ela estava dois metros à esquerda.", -"The emus won again: a mob of them flattened the marker posts on {a}–{b}, and a grader dug straight through the fiber.":"Os emus venceram de novo: um bando derrubou os marcos de sinalização em {a}–{b}, e uma motoniveladora cavou direto na fibra.", -"Bushfire season: the fiber along {a}–{b} melted in its conduit. The fireys saved the town, not the duct.":"Temporada de incêndios: a fibra ao longo de {a}–{b} derreteu no conduíte. Os bombeiros salvaram a cidade, não o duto.", -"Your {a}–{b} fiber broke somewhere on the Nullarbor. The splicing crew packed for a week.":"Sua fibra {a}–{b} quebrou em algum lugar do Nullarbor. A equipe de emenda fez as malas para uma semana.", -"A routine overnight upgrade took your router in {city} offline until lunchtime. Floptus sends its regards.":"Uma atualização de rotina durante a noite deixou seu roteador em {city} offline até a hora do almoço. A Floptus manda lembranças.", -"A huntsman spider the size of your hand moved into the router in {city}. Nobody would reach in to reboot it.":"Uma aranha-caçadora do tamanho da sua mão se mudou para o roteador em {city}. Ninguém teve coragem de enfiar a mão para reiniciar.", -"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.":"Onda de calor de 45 °C em {city}: a rede cortou carga, os chillers desistiram e o gerador do {dc} também.", -"A possum got into the substation behind {dc} in {city}. The possum is fine. Your POP is not.":"Um gambá entrou na subestação atrás do {dc} em {city}. O gambá está bem. Seu POP, não.", -"Thieves dug up your {a}–{b} cable, sure it was copper. It was fiber. They left it cut in the ditch, deeply disappointed.":"Ladrões desenterraram seu cabo {a}–{b}, certos de que era cobre. Era fibra. Deixaram tudo cortado na vala, profundamente decepcionados.", -"A kilometre of “copper” went missing from your {a}–{b} trench. It was your fiber. The scrap yard sent it back with a note.":"Um quilômetro de “cobre” sumiu da sua vala {a}–{b}. Era a sua fibra. O ferro-velho devolveu com um bilhete.", -"Box jellyfish season at the {a}–{b} landing. The divers took one look and went back to the boat.":"Temporada de vespas-do-mar no pouso {a}–{b}. Os mergulhadores deram uma olhada e voltaram para o barco.", -"A great white took an interest in your {a}–{b} cable and bit it. Then it spat it out: not enough flavour.":"Um tubarão-branco se interessou pelo seu cabo {a}–{b} e deu uma mordida. Depois cuspiu: sem sabor.", -"A kangaroo boxed your field tech on {a}–{b}. The tech lost on points, and the splice can wait.":"Um canguru encheu de socos seu técnico de campo em {a}–{b}. O técnico perdeu por pontos, e a emenda pode esperar.", -"A drop bear fell on the splicing crew on {a}–{b}. They refuse to work under trees, and the cut runs under trees.":"Um drop bear caiu na equipe de emenda em {a}–{b}. Eles se recusam a trabalhar debaixo de árvores, e o corte fica debaixo de árvores.", -"An eastern brown snake moved into the cable pit on {a}–{b}. Nobody is volunteering to fix your fiber.":"Uma cobra-marrom-oriental se mudou para a caixa de passagem em {a}–{b}. Ninguém se oferece para consertar sua fibra.", -"Magpie swooping season: the field techs on {a}–{b} will not leave the van, and your cut stays cut.":"Temporada dos rasantes das pegas: os técnicos em {a}–{b} não saem da van, e seu corte continua cortado.", -"A new tech in {city} used Vegemite as thermal paste. It conducts flavour, not heat, and your router cooked.":"Um técnico novo em {city} usou Vegemite como pasta térmica. Ela conduz sabor, não calor, e seu roteador cozinhou.", -"A visiting engineer from London brought Marmite to the {city} NOC. Diplomatic relations broke down, and so did your router while everyone argued.":"Um engenheiro de Londres em visita levou Marmite para o NOC de {city}. As relações diplomáticas caíram, e seu roteador também, enquanto todo mundo discutia.", -"The four o’clock storm rolled over BrisVegas right on time and took the grid behind {dc} with it. Your POP is in the dark with the pokies.":"A tempestade das quatro passou por BrisVegas na hora certa e levou junto a rede elétrica atrás de {dc}. Seu POP está no escuro com os caça-níqueis.", -"Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.":"Roteador instalado em {city}.
De cabeça para baixo, como é costume por aqui. Os pacotes não parecem se importar.", -"Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.":"Roteador instalado em {city}.
O fornecedor mandou do lado certo, então os técnicos locais viraram. Aqui tudo é de cabeça para baixo.", -"The Garden City, and the biggest city on the South Island, which locals call the Mainland with a straight face. Everything bound for the North Island crosses Cook Strait.":"A Cidade Jardim, e a maior cidade da Ilha Sul, que os locais chamam de «o Continente» sem rir. Tudo o que vai para a Ilha Norte atravessa o Estreito de Cook.", -"The bottom of the country, on power lines built for an aluminium smelter. Someone is building a 280 MW AI campus in a paddock out of town, so the cables are coming. Probably.":"O fim do país, em linhas de energia construídas para uma fundição de alumínio. Alguém está construindo um campus de IA de 280 MW num pasto fora da cidade, então os cabos vão chegar. Provavelmente.", -"Down the west coast and across Cook Strait to the Mainland. The ferries bounce about; the cable mostly doesn’t.":"Desce a costa oeste e atravessa o Estreito de Cook até o Continente. As balsas balançam; o cabo, quase sempre, não.", -"One ring to bind Invercargill to Sydney, Melbourne and Auckland. It lands next to a paddock where someone is building an AI factory, which is how you know it might really happen.":"Um anel para unir Invercargill a Sydney, Melbourne e Auckland. Chega à terra ao lado de um pasto onde alguém está construindo uma fábrica de IA, e é assim que você sabe que pode mesmo acontecer.", -"A kea pulled the rubber seals off the splice box on {a}–{b}, then started on the van. Kea are like that.":"Um kea arrancou as borrachas da caixa de emenda em {a}–{b} e depois partiu para a van. Os keas são assim.", -"The sandflies drove your splicing crew off {a}–{b}. They will be back when the wind picks up.":"Os borrachudos expulsaram sua equipe de emenda de {a}–{b}. Ela volta quando o vento aumentar.", -"A farmer’s post-hole digger found your {a}–{b} fiber. The sheep watched.":"O perfurador de mourões de um fazendeiro achou sua fibra {a}–{b}. As ovelhas assistiram.", -"A ferry dropped anchor in Cook Strait and found your {a}–{b} cable. The ferry is fine.":"Uma balsa lançou âncora no Estreito de Cook e achou seu cabo {a}–{b}. A balsa está bem.", -"The smelter at Tiwai Point pulled a little harder on the grid, and your POP in {city} blinked first.":"A fundição de Tiwai Point puxou um pouco mais da rede, e seu POP em {city} piscou primeiro.", -"Australia got more Australian.
Transit there now costs three times the usual price, only carriers that really sell transit in Australia sell it, and Telstraya and Floptus only peer privately, so their exchange sessions have ended. Check your Australian POPs.":"A Austrália ficou mais australiana.
O trânsito lá agora custa três vezes o preço normal, só as operadoras que realmente vendem trânsito na Austrália o vendem, e Telstraya e Floptus só fazem peering privado, então as sessões delas no IX terminaram. Confira seus POPs australianos.", -"Finish in 1 day {price}":"Concluir em 1 dia {price}", -"More crews on site.
Construction is {n} days ahead.":"Mais equipes no local.
A construção está {n} dias adiantada.", -"More crews on site.
Construction is {n} day ahead.":"Mais equipes no local.
A construção está {n} dia adiantada.", -"# {net}: {g} over transit, but it peers at {ix}, where you have a POP. Get a port there.":"# {net}: {g} via transit, mas faz peering no {ix}, onde você tem um POP. Pegue uma porta lá.", -"{ix} LAG":"LAG do {ix}", -"A member at {ix} leaked the full routing table into the route server. Max-prefix limits tripped everywhere. Your peering there is down.":"Um membro do {ix} vazou a tabela de roteamento inteira no route server. Limites de max-prefix estouraram em todo lugar. Seu peering lá caiu.", -"{net} de-peered you at {ix}.
{why} Traffic falls back to your next best path.":"{net} cortou o peering com você no {ix}.
{why} O tráfego volta para o seu próximo melhor caminho.", -"A hyperscaler bought every wave of that size on this route last week.":"Um hyperscaler comprou semana passada todas as ondas desse tamanho nesta rota.", -"The carrier is out of spectrum here until its next line-system upgrade.":"A operadora está sem espectro aqui até a próxima atualização do sistema de linha.", -"The transponders for this route are on a container ship. The ship is somewhere near Singapore.":"Os transponders desta rota estão num navio porta-contêineres. O navio está em algum lugar perto de Singapura.", -"The capacity is “available in the system”. Nobody can find it in the system.":"A capacidade está “disponível no sistema”. Ninguém acha no sistema.", -"Their capacity planner is on holiday, and he took the spreadsheet with him.":"O planejador de capacidade deles está de férias, e levou a planilha junto.", -"The upgrade is planned for Q3. Which year, the email does not say.":"A atualização está prevista para o Q3. De que ano, o e-mail não diz.", -"No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.":"Sem capacidade de {wave} nesta rota agora.
{why} Tente uma onda menor, outra rota, ou pergunte de novo em {n} dias.", -"sold out for {n} days":"esgotado por {n} dias", -"Laser shortage!
The factory that makes the lasers for half the world’s optics flooded. Optics cost 50% more for {n} days. Spares on your shelf just became the best investment you ever made.":"Falta de lasers!
A fábrica que faz os lasers de metade das ópticas do mundo inundou. Ópticas custam 50% a mais por {n} dias. Os sobressalentes na sua prateleira acabaram de virar o melhor investimento da sua vida.", -"Chip shortage!
Every router vendor is waiting for the same chips. New routers and router upgrades cost 40% more for {n} days. Lead time: “yes”.":"Falta de chips!
Todo fabricante de roteador está esperando os mesmos chips. Roteadores novos e upgrades custam 40% a mais por {n} dias. Prazo de entrega: “sim”.", -"New fiber and cable builds":"Novas fibras e novos cabos", -"Every cable ship is booked.
Hyperscalers have hired every cable ship and trenching crew on the planet. New fiber and cable builds cost 30% more for {n} days.":"Todos os navios lançadores de cabo estão reservados.
Os hyperscalers contrataram todos os navios e todas as equipes de escavação do planeta. Novas fibras e novos cabos custam 30% a mais por {n} dias.", -"Your price lock covers you until {date}.":"Seu congelamento de preços te cobre até {date}.", -"Supply chain":"Cadeia de suprimentos", -"Hardware prices":"Preços de hardware", -"+{p} since you started":"+{p} desde o começo", -"as when you started":"como no começo", -"Shortage":"Falta", +"{n} of up to {max} · {price}/mo":"{n} de até {max} · {price}/mês", +"{n} of {max} channels lit":"{n} de {max} canais acesos", +"{n} of {m}":"{n} de {m}", +"{n} peering session":"{n} sessão de peering", +"{n} peering sessions":"{n} sessões de peering", +"{n} ports":"{n} portas", +"{n} regen site would bring it back to {g}.":"{n} site de regeneração traria de volta a {g}.", +"{n} regen sites would bring it back to {g}.":"{n} sites de regeneração trariam de volta a {g}.", +"{n} rule live, transit bill down {p}.":"{n} regra ativa, conta de transit caiu {p}.", +"{n} rule live.":"{n} regra ativa.", +"{n} rules active":"{n} regras ativas", +"{n} rules live":"{n} regras ativas", +"{n} rules live, transit bill down {p}.":"{n} regras ativas, conta de transit caiu {p}.", +"{n} rules live.":"{n} regras ativas.", +"{n} session is down on its max-prefix limit.":"{n} sessão está fora pelo limite de max-prefix.", +"{n} sessions are down on their max-prefix limit.":"{n} sessões estão fora pelo limite de max-prefix.", +"{n} shrugged off":"{n} tirados de letra", +"{n} sites: {list} · {bw} per site · {price}/mo":"{n} sites: {list} · {bw} por site · {price}/mês", +"{n} small networks":"{n} redes pequenas", +"{n} sold as alien waves":"{n} vendidos como alien waves", +"{n} spare on the shelf":"{n} reserva na prateleira", +"{n} spares on the shelf":"{n} reservas na prateleira", +"{n} special requirement":"{n} requisito especial", +"{n} special requirements":"{n} requisitos especiais", +"{n} unanswered":"{n} sem resposta", +"{n} unhappy customer, {price}/mo at risk":"{n} cliente insatisfeito, {price}/mês em risco", +"{n} unhappy customers, {price}/mo at risk":"{n} clientes insatisfeitos, {price}/mês em risco", +"{n} · optical spans of {km} km":"{n} · trechos ópticos de {km} km", +"{n}d left":"faltam {n}d", +"{n}× 400G alien wave on your {a}–{b} fiber":"{n}× alien wave 400G na sua fibra {a}–{b}", +"{n}× 400G alien waves on your {a}–{b} fiber":"{n}× alien waves 400G na sua fibra {a}–{b}", +"{optic} to spares":"{optic} para o estoque", +"{pay}/mo for {n} months.":"{pay}/mês por {n} meses.", +"{pay}/mo · {n} months left · {apr}% APR":"{pay}/mês · faltam {n} meses · {apr}% a.a.", +"{pct} of revenue, forever":"{pct} da receita, para sempre", +"{pct} of your transit bill":"{pct} da sua conta de transit", +"{pct} of your transit bill · {n} months left · the rest is due at the end":"{pct} da sua conta de transit · faltam {n} meses · o resto vence no fim", +"{pn} routers":"routers de {pn}", +"{port} {cost} + {mo}/mo":"{port} {cost} + {mo}/mês", +"{port} port":"porta {port}", +"{port} port Price on request ☎":"Porta {port} Preço sob consulta ☎", +"{port} port {price}/mo":"Porta {port} {price}/mês", +"{port} port {price}":"Porta {port} {price}", +"{port} port · {price}/mo":"Porta {port} · {price}/mês", +"{price} to repay":"{price} a quitar", +"{price} · {n} days":"{price} · {n} dias", +"{price}/mo":"{price}/mês", +"{price}/mo in extras":"{price}/mês em extras", +"{price}/year. It never sleeps, never complains and is often wrong.":"{price}/ano. Nunca dorme, nunca reclama e erra com frequência.", +"{p} full":"{p} cheio", +"{p} of its traffic · {ms} ms round trip · service {sf}":"{p} do tráfego · {ms} ms de ida e volta · serviço {sf}", +"{p}% of traffic":"{p}% do tráfego", +"{p}% of traffic between them, scattered across exchanges. You peer with {n}.":"{p}% do tráfego somadas, espalhadas pelos exchanges. Você faz peering com {n}.", +"{rule}, and closer exits win ties":"{rule}, e no empate vence a saída mais próxima", +"{size} · {vec}{entry} · {n}d left":"{size} · {vec}{entry} · faltam {n}d", +"{sys} level {n}":"{sys} nível {n}", +"{sys} is full ({max} channels).":"{sys} está cheio ({max} canais).", +"{sys} is full ({max} channels, {sold} sold to customers).":"{sys} está cheio ({max} canais, {sold} vendidos a clientes).", +"{tier} scrubbing in {city} is cleaning it":"O scrubbing {tier} em {city} está limpando", +"{tier} scrubbing in {city} is cleaning it, hauled over your backbone (+{ms} ms)":"O scrubbing {tier} em {city} está limpando, levado pelo seu backbone (+{ms} ms)", +"{used} / {max} in use":"{used} / {max} em uso", +"{wave} lit!":"{wave} acesa!", "{what} +{p} · {n} days left":"{what} +{p} · faltam {n} dias", -"Price lock":"Congelamento de preços", -"until {date}, at +{p}":"até {date}, a +{p}", -"Routers, optics and new builds at today’s prices for a year, shortages included. Tariffs are the government’s, not your vendor’s.":"Roteadores, ópticas e novas obras aos preços de hoje por um ano, faltas incluídas. As tarifas são do governo, não do seu fornecedor.", -"Lock prices for a year {cost}":"Congelar preços por um ano {cost}", -"Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.":"Preços congelados até {date}.
O gerente de contas do seu fornecedor está radiante. Ele ganha um bônus por isso.", -"Stock a spare {optic} {price}":"Guardar um {optic} sobressalente {price}", -"Spares bought now are already paid for when the next shortage hits.":"Sobressalentes comprados agora já estão pagos quando vier a próxima falta.", -"Routers, optics and new builds get dearer over the years, about 4% a year after the first six months, and now and then a shortage makes one of them a lot dearer for a month or two. What you already own keeps its price. Spares on the shelf and a yearly price lock from the NOC tab soften the blow.":"Roteadores, ópticas e novas obras ficam mais caros com os anos, cerca de 4% ao ano depois dos primeiros seis meses, e de vez em quando uma falta deixa um deles bem mais caro por um ou dois meses. O que você já tem mantém o preço. Sobressalentes na prateleira e um congelamento anual de preços na aba NOC amortecem o golpe.", +"{where}: {lvl}. This route is right at the going rate{since}.":"{where}: {lvl}. Esta rota está bem no preço de mercado{since}.", +"{where}: {lvl}. This route is {p}% above the going rate{since}.":"{where}: {lvl}. Esta rota está {p}% acima do preço de mercado{since}.", +"{where}: {lvl}. This route is {p}% below the going rate{since}.":"{where}: {lvl}. Esta rota está {p}% abaixo do preço de mercado{since}.", +"{who} at {ix} was sending a full table, and the max-prefix limit was the only thing stopping it. With the limit raised, {net}’s prefixes point at their basement. Traffic to {net} over transit is black-holed for a few days.":"{who} no {ix} estava mandando uma tabela completa, e o limite de max-prefix era a única coisa que segurava. Com o limite aumentado, os prefixos da {net} apontam para o porão deles. O tráfego para a {net} via trânsito vai para um buraco negro por alguns dias.", +"~{n} min":"~{n} min", +"~{n} min · a slow one":"~{n} min · uma lesma", +"“Thanks for your interest! We don't publish prices, because every customer is unique.”":"“Obrigado pelo interesse! Não publicamos preços, porque cada cliente é único.”", +"…and {n} more change":"…e mais {n} mudança", +"…and {n} more changes":"…e mais {n} mudanças", +"− Regen site":"− Site de regeneração", +"− box":"− box", +"− member":"− membro", +"✓ {n} rule OK":"✓ {n} regra OK", +"✓ {n} rules OK":"✓ {n} regras OK", +"🐘 BREAKING: CVE-2026-31337 IN PHP TAKES DOWN HALF THE INTERNET":"🐘 URGENTE: CVE-2026-31337 NO PHP DERRUBA METADE DA INTERNET", }; diff --git a/src/game/20-world/20-landmasses.js b/src/game/20-world/20-landmasses.js index 184862e..0bf46b6 100644 --- a/src/game/20-world/20-landmasses.js +++ b/src/game/20-world/20-landmasses.js @@ -1,8 +1,45 @@ -const LANDS_LL=[{id:'am',ll:[[-166,68],[-157,71.2],[-141,69.8],[-128,70],[-115,68.5],[-97,68],[-94,62],[-92.5,57.5],[-85,55.2],[-80,51.5],[-78.5,58],[-77,62],[-70,61],[-64.5,60],[-61.5,56.5],[-57,52],[-55.6,49.5],[-53,47],[-59,46.5],[-61,45.2],[-63.2,44.4],[-66,44.5],[-70,43.3],[-70,42],[-74,40.6],[-76,38],[-75.8,35.5],[-77.5,34.5],[-79,33],[-81,31],[-80.05,27],[-80.1,25.3],[-81.5,25],[-82.7,27.5],[-84,30],[-89,30.2],[-94,29.5],[-97,28],[-97.5,25],[-97.7,22],[-96,19],[-94,18.3],[-91,18.5],[-90.4,21],[-87,21.5],[-88,17],[-88.5,15.8],[-84,15.8],[-83.4,12],[-83.7,10.5],[-81.5,9],[-79.5,9.5],[-77.5,8.6],[-75,10.8],[-71.5,12.3],[-68,10.6],[-62,10.5],[-60,8],[-57,6],[-52,5],[-50,1.5],[-48,-1],[-44,-2.5],[-39,-3.5],[-35,-5.5],[-35,-9],[-37.5,-12.5],[-39,-15],[-39.7,-19],[-41,-22],[-44,-23],[-48,-26],[-48.6,-28.5],[-51,-31],[-53,-34],[-58,-34.5],[-57,-37],[-62,-39],[-65,-41],[-64,-43],[-67.5,-46],[-66,-48],[-69,-51],[-68.5,-53],[-70,-55],[-73,-53],[-75,-48],[-73.5,-43],[-73.5,-37],[-71.5,-32],[-71.3,-27],[-70.5,-20],[-71.5,-17],[-76,-14],[-78,-10],[-81,-6],[-80.5,-3],[-80,0],[-79,1.5],[-77.5,4],[-77.4,7.5],[-80,7.3],[-82.5,8.2],[-85.7,10],[-87,12.5],[-91,14],[-94,16],[-96.5,15.7],[-100,17],[-105.5,20],[-105.5,22.5],[-108,25.5],[-110.8,27.9],[-113,31.3],[-114.7,31.7],[-113.5,29],[-112,26.5],[-110,24],[-109.5,23],[-112,24.8],[-114,27.5],[-115.5,29.8],[-117,32.5],[-118.5,34],[-120.6,34.6],[-122.5,37.5],[-124,40.5],[-124.5,43],[-124,46.2],[-124.7,48.4],[-123,49],[-126,50.5],[-130,54.5],[-133,57.5],[-137,58.5],[-141,60],[-146,61],[-150,59.5],[-152,58.5],[-156,57.5],[-158,56.8],[-162,55.5],[-164.5,54.5],[-158,58.5],[-162,60],[-165,61.5],[-166,64],[-164,65.5]]},{id:'eu',ll:[[-9,39],[-9.5,43],[-8,43.7],[-1.8,43.4],[-1.2,46],[-2.5,47.3],[-4.5,48],[-1.6,48.6],[1.5,50.2],[3,51.2],[4.5,52.5],[5,53.4],[7,53.6],[8.6,54],[8.2,55.5],[8.1,57],[10.5,57.7],[10.5,56.5],[11.2,56],[12.6,56.1],[12.7,55.6],[12.1,54.9],[11,54.3],[14,54],[18.5,54.8],[21,55.3],[21,57],[24,57.5],[24,59.2],[28,59.5],[30,60],[28,60.5],[25,60.1],[22.5,60.3],[21.5,61.5],[21.5,63],[25,65],[25.5,65.6],[22,65.8],[20.5,63.5],[18,62.5],[17.4,61],[19,59.8],[18,59],[16.5,57],[16,56.2],[14.2,55.4],[13,55.4],[12.9,56.5],[11.5,58],[10.5,59.3],[8,58],[5.5,58.5],[5,60],[5,62],[7,63],[10,64],[12.5,66],[15,68.5],[18,69.8],[21.5,70.2],[26,71],[30,70],[33,69.3],[41,67],[44,68.5],[53,68.5],[58,69],[68,69],[69,72.8],[73,72.5],[80,73.5],[87,74.8],[100,76],[104,77.7],[112,74],[113.5,73.5],[127,73.5],[132,71.5],[140,72.5],[150,71.5],[160,70],[170,70],[180,69],[190,66.5],[186,64.5],[182,65],[178,62.5],[173,61],[170,60],[164,60],[164,57],[162,55],[159,52],[156.7,51],[156,55.5],[157,58],[155,59.5],[150,59.5],[143,59.3],[137,54.5],[141,53],[140,48.5],[135,43.5],[131,42.7],[129.5,41],[129.4,37],[129.4,35.5],[127.5,34.6],[126.3,34.8],[126.5,37],[125,37.8],[124.5,39.7],[121.5,39],[121.7,40.8],[119,39.3],[117.8,38.5],[119,37.2],[122.5,37.3],[120.5,36],[119.2,35],[121,32],[121.9,30.8],[121.5,28],[119.5,25.5],[116.5,23],[114.3,22.1],[111,21.5],[109.7,20.5],[108.5,21.6],[106.5,20],[106,18],[108.5,15],[109.3,12],[107,10.5],[105,8.6],[104.8,10.3],[103,11],[100.9,12.6],[100,13.4],[99.3,10.5],[100.3,7],[101,6.8],[103.4,4],[104.3,1.4],[103.6,1.25],[101.3,2.8],[100.2,5.3],[98.3,8],[98.6,13],[97.7,16.5],[94.4,16.2],[94.2,18.8],[92.3,20.6],[91.8,22.6],[90,22],[88.3,21.6],[86.9,20.6],[85,19.5],[82.3,16.6],[80.3,15.8],[80.3,13.5],[79.8,10.3],[78.3,8.9],[77.5,8.1],[76.5,8.9],[75.8,11.5],[74.8,12.9],[73.5,16],[72.8,19],[72.7,21.2],[70,22.5],[68.5,23.5],[66.6,25.4],[61.6,25.2],[57.3,25.8],[56.4,27.1],[54.7,26.5],[51.5,27.9],[50,30],[48,30],[48.4,28.5],[49.5,26.7],[50.8,24.8],[50.85,25.6],[51.2,26.15],[51.62,25.9],[51.62,24.6],[52.6,24.2],[54.3,24.6],[55.3,25.3],[55.9,25.75],[56.1,26.1],[56.35,26.38],[56.42,25.8],[56.38,25.0],[56.5,24.6],[57.8,23.8],[58.8,22.5],[59.8,22.4],[58.5,20.5],[57.7,19],[55.4,17.7],[52.2,15.7],[48.7,14],[45,12.8],[43.4,12.6],[42.7,15.7],[42.5,17.2],[41,19.5],[39.1,21.6],[38.4,23.6],[37,25.5],[35.2,28],[34.9,29.5],[34.3,27.8],[33,28.8],[32.6,30],[32.3,31.2],[34.2,31.3],[34.9,32.8],[35.6,34.5],[36,35.8],[36.2,36.7],[34.5,36.8],[32.5,36.1],[30.5,36.4],[29,36.6],[27.3,37.4],[26.3,38.6],[26.5,40],[26.2,40.6],[24,40.8],[22.6,40.4],[24.1,38.2],[24,37.6],[23.2,37.5],[22.3,36.5],[21.7,36.8],[21.2,38.4],[19.5,40],[19.5,41.8],[18.5,42.5],[16,43.5],[13.7,45.6],[12.3,45.3],[12.4,44.2],[13.6,43.5],[15.9,41.6],[18.5,40.2],[17,39],[16.6,38],[15.6,38],[15.3,37],[15.1,36.65],[12.4,37.8],[13.3,38.25],[15.55,38.3],[16.1,39],[15.6,40.1],[14.3,40.6],[12.5,41.6],[11,42.5],[10.2,43.9],[8.8,44.4],[7.5,43.8],[6,43.1],[4,43.5],[3.1,43.1],[3.2,41.9],[0.8,41],[0,39.5],[-0.3,38.4],[-0.8,37.6],[-2.1,36.7],[-4.4,36.7],[-5.6,36],[-6.3,36.8],[-7.4,37.2],[-8.9,37],[-8.8,38.4],[-9.5,38.6]]},{id:'af',ll:[[-17.5,14.7],[-17,21],[-16,24],[-13,27.5],[-9.8,30],[-9.2,32.5],[-6.8,34],[-5.9,35.8],[-2,35.1],[1,36.5],[5,36.8],[9.8,37.3],[11,36.9],[10.2,35.2],[11.1,33.3],[15.2,32.3],[19,30.3],[20.1,32],[23,32.6],[25,31.7],[29,30.9],[32.2,31.3],[32.6,30],[33.5,28],[35.5,24],[37.2,21],[38.5,18],[39.6,15.5],[41.6,13.5],[43.3,12.4],[44,10.4],[47,11.1],[51.2,11.8],[51,10.4],[49.5,7],[47.8,4.5],[45,1.6],[42,-1],[40.2,-2.8],[39.3,-4.8],[38.8,-6.5],[39.6,-10],[40.5,-11],[40.6,-14.6],[37,-17.5],[35.4,-22],[35.5,-24],[32.9,-25.9],[32.5,-28.6],[31,-29.9],[28,-32.7],[25.6,-33.9],[22.5,-34],[20,-34.8],[18.4,-34],[17.9,-32.5],[16.5,-28.6],[15.2,-27],[14.4,-23],[12.8,-19],[11.8,-16.8],[12.2,-14.5],[13.6,-12.2],[13.2,-8.8],[12.3,-6],[11.8,-3.5],[9.5,-1],[9.4,1],[9.8,3.2],[8.9,4.5],[6,4.3],[4.3,6.3],[1.6,6.2],[-2,4.8],[-4.6,5.2],[-7.5,4.4],[-9.4,5.4],[-11.5,6.9],[-13.2,8.7],[-15,10.9],[-16.7,12.4]]},{id:'uk',ll:[[-5.7,50.1],[-3,50.6],[1.4,51.2],[1.7,52.7],[0.3,53.4],[-0.2,54.3],[-1.6,55.6],[-2,56.4],[-1.8,57.6],[-3.4,58.6],[-5,58.6],[-6.2,57.5],[-5.6,56.3],[-5,55],[-3.2,54.9],[-3.4,54],[-3,53.4],[-4.6,53.3],[-4.2,52.2],[-5.2,51.7],[-3.2,51.4],[-4.6,51]]},{id:'ie',ll:[[-6,52.2],[-6.2,53.5],[-5.6,54.6],[-6.4,55.2],[-7.4,55.4],[-8.5,54.5],[-10,54.2],[-9.6,53.2],[-10.2,51.9],[-9.6,51.5],[-8.2,51.8]]},{id:'is',ll:[[-22.5,63.9],[-24,65.5],[-22,66.4],[-16,66.5],[-14.5,65.3],[-14.6,64.4],[-18,63.4]]},{id:'jp',ll:[[129.6,33.3],[130.2,31.3],[131.4,31.5],[132,33],[133.5,33.4],[135.2,33.6],[136.8,34.3],[138.8,34.6],[140,35],[140.8,35.7],[141,38.2],[141.9,39.5],[141.4,41.4],[140,41.4],[139.9,40.3],[139.8,38.5],[138.8,37.8],[137.3,36.9],[136,36],[135.4,35.6],[133,35.5],[131.5,34.6],[130.9,34]]},{id:'oc',ll:[[113.5,-22],[114,-26.5],[115,-30],[115.7,-33.6],[115,-34.3],[117.9,-35.1],[123.5,-33.9],[126,-32.3],[131,-31.5],[134,-32.8],[135.6,-34.8],[137.6,-35.6],[138.3,-34.5],[139.6,-36.9],[141.5,-38.4],[144.9,-37.9],[146.4,-39.1],[150,-37.5],[150.8,-34.5],[152.5,-32.4],[153.6,-28.5],[153,-25],[150.8,-22.5],[149,-20.6],[146.3,-18.9],[145.4,-16],[145.3,-14.9],[143.5,-12.3],[142.5,-10.7],[141.6,-12.8],[141.6,-16],[140.6,-17.6],[139.3,-17.4],[137,-15.9],[135.8,-15],[136.8,-12.2],[135,-12],[132.6,-11.5],[131,-12.2],[129.5,-14.9],[128,-15.4],[126.5,-13.9],[124.5,-16.5],[122.2,-18.2],[121,-19.7],[118.5,-20.3],[116.7,-20.6],[114.6,-21.8]]},{id:'tas',ll:[[144.6,-40.7],[146.5,-41.1],[148.3,-40.9],[148.3,-42.2],[147.9,-43.2],[146.9,-43.6],[146,-43.5],[145.2,-42.2],[144.7,-41.2]]},{id:'nz',ll:[[172.7,-34.4],[174.5,-36],[175.9,-37.5],[178.5,-37.7],[177.9,-39.2],[176.9,-39.6],[175.2,-41.6],[174.6,-41.2],[174.9,-39.9],[173.8,-39.3],[174.6,-38.1],[174.5,-37.3],[173.1,-35.3]]},{id:'nzs',ll:[[172.6,-40.5],[174.3,-41.0],[174.2,-41.7],[173.3,-42.9],[172.8,-43.9],[171.3,-44.4],[170.7,-45.8],[169.3,-46.6],[168.3,-46.6],[166.5,-46.0],[166.8,-45.3],[168.2,-44.0],[170.6,-43.0],[171.4,-41.8],[172.1,-40.9]]},{id:'idn',ll:[[105.2,-6.8],[106.8,-6.1],[108.5,-6.4],[110.5,-6.9],[112.6,-6.9],[114.6,-7.7],[114.4,-8.7],[111,-8.3],[108,-7.8],[105.5,-7]]},{id:'ph',ll:[[120.6,18.5],[122.2,18.5],[122,16.5],[121.6,14.2],[124,13.8],[124,12.5],[123.3,13],[121,13.6],[120.6,14.5],[119.8,16.2]]}]; +const LANDS_LL=[ + {id:'am',ll:[[-166,68],[-157,71.2],[-141,69.8],[-128,70],[-115,68.5],[-97,68],[-94,62],[-92.5,57.5],[-85,55.2],[-80,51.5],[-78.5,58],[-77,62],[-70,61],[-64.5,60],[-61.5,56.5],[-57,52],[-55.6,49.5],[-53,47],[-59,46.5],[-61,45.2],[-63.2,44.4],[-66,44.5],[-70,43.3],[-70,42],[-74,40.6],[-76,38],[-75.8,35.5],[-77.5,34.5],[-79,33],[-81,31],[-80.05,27],[-80.1,25.3],[-81.5,25],[-82.7,27.5],[-84,30],[-89,30.2],[-94,29.5],[-97,28],[-97.5,25],[-97.7,22],[-96,19],[-94,18.3],[-91,18.5],[-90.4,21],[-87,21.5],[-88,17],[-88.5,15.8],[-84,15.8],[-83.4,12],[-83.7,10.5],[-81.5,9],[-79.5,9.5],[-77.5,8.6],[-75,10.8],[-71.5,12.3],[-68,10.6],[-62,10.5],[-60,8],[-57,6],[-52,5],[-50,1.5],[-48,-1],[-44,-2.5],[-39,-3.5],[-35,-5.5],[-35,-9],[-37.5,-12.5],[-39,-15],[-39.7,-19],[-41,-22],[-44,-23],[-48,-26],[-48.6,-28.5],[-51,-31],[-53,-34],[-58,-34.5],[-57,-37],[-62,-39],[-65,-41],[-64,-43],[-67.5,-46],[-66,-48],[-69,-51],[-68.5,-53],[-70,-55],[-73,-53],[-75,-48],[-73.5,-43],[-73.5,-37],[-71.5,-32],[-71.3,-27],[-70.5,-20],[-71.5,-17],[-76,-14],[-78,-10],[-81,-6],[-80.5,-3],[-80,0],[-79,1.5],[-77.5,4],[-77.4,7.5],[-80,7.3],[-82.5,8.2],[-85.7,10],[-87,12.5],[-91,14],[-94,16],[-96.5,15.7],[-100,17],[-105.5,20],[-105.5,22.5],[-108,25.5],[-110.8,27.9],[-113,31.3],[-114.7,31.7],[-113.5,29],[-112,26.5],[-110,24],[-109.5,23],[-112,24.8],[-114,27.5],[-115.5,29.8],[-117,32.5],[-118.5,34],[-120.6,34.6],[-122.5,37.5],[-124,40.5],[-124.5,43],[-124,46.2],[-124.7,48.4],[-123,49],[-126,50.5],[-130,54.5],[-133,57.5],[-137,58.5],[-141,60],[-146,61],[-150,59.5],[-152,58.5],[-156,57.5],[-158,56.8],[-162,55.5],[-164.5,54.5],[-158,58.5],[-162,60],[-165,61.5],[-166,64],[-164,65.5]]}, + {id:'eu',ll:[[-9,39],[-9.5,43],[-8,43.7],[-1.8,43.4],[-1.2,46],[-2.5,47.3],[-4.5,48],[-1.6,48.6],[1.5,50.2],[3,51.2],[4.5,52.5],[5,53.4],[7,53.6],[8.6,54],[8.2,55.5],[8.1,57],[10.5,57.7],[10.5,56.5],[11.2,56],[12.6,56.1],[12.7,55.6],[12.1,54.9],[11,54.3],[14,54],[18.5,54.8],[21,55.3],[21,57],[24,57.5],[24,59.2],[28,59.5],[30,60],[28,60.5],[25,60.1],[22.5,60.3],[21.5,61.5],[21.5,63],[25,65],[25.5,65.6],[22,65.8],[20.5,63.5],[18,62.5],[17.4,61],[19,59.8],[18,59],[16.5,57],[16,56.2],[14.2,55.4],[13,55.4],[12.9,56.5],[11.5,58],[10.5,59.3],[8,58],[5.5,58.5],[5,60],[5,62],[7,63],[10,64],[12.5,66],[15,68.5],[18,69.8],[21.5,70.2],[26,71],[30,70],[33,69.3],[41,67],[44,68.5],[53,68.5],[58,69],[68,69],[69,72.8],[73,72.5],[80,73.5],[87,74.8],[100,76],[104,77.7],[112,74],[113.5,73.5],[127,73.5],[132,71.5],[140,72.5],[150,71.5],[160,70],[170,70],[180,69],[190,66.5],[186,64.5],[182,65],[178,62.5],[173,61],[170,60],[164,60],[164,57],[162,55],[159,52],[156.7,51],[156,55.5],[157,58],[155,59.5],[150,59.5],[143,59.3],[137,54.5],[141,53],[140,48.5],[135,43.5],[131,42.7],[129.5,41],[129.4,37],[129.4,35.5],[127.5,34.6],[126.3,34.8],[126.5,37],[125,37.8],[124.5,39.7],[121.5,39],[121.7,40.8],[119,39.3],[117.8,38.5],[119,37.2],[122.5,37.3],[120.5,36],[119.2,35],[121,32],[121.9,30.8],[121.5,28],[119.5,25.5],[116.5,23],[114.3,22.1],[111,21.5],[109.7,20.5],[108.5,21.6],[106.5,20],[106,18],[108.5,15],[109.3,12],[107,10.5],[105,8.6],[104.8,10.3],[103,11],[100.9,12.6],[100,13.4],[99.3,10.5],[100.3,7],[101,6.8],[103.4,4],[104.3,1.4],[103.6,1.25],[101.3,2.8],[100.2,5.3],[98.3,8],[98.6,13],[97.7,16.5],[94.4,16.2],[94.2,18.8],[92.3,20.6],[91.8,22.6],[90,22],[88.3,21.6],[86.9,20.6],[85,19.5],[82.3,16.6],[80.3,15.8],[80.3,13.5],[79.8,10.3],[78.3,8.9],[77.5,8.1],[76.5,8.9],[75.8,11.5],[74.8,12.9],[73.5,16],[72.8,19],[72.7,21.2],[70,22.5],[68.5,23.5],[66.6,25.4],[61.6,25.2],[57.3,25.8],[56.4,27.1],[54.7,26.5],[51.5,27.9],[50,30],[48,30],[48.4,28.5],[49.5,26.7],[50.8,24.8],[50.85,25.6],[51.2,26.15],[51.62,25.9],[51.62,24.6],[52.6,24.2],[54.3,24.6],[55.3,25.3],[55.9,25.75],[56.1,26.1],[56.35,26.38],[56.42,25.8],[56.38,25.0],[56.5,24.6],[57.8,23.8],[58.8,22.5],[59.8,22.4],[58.5,20.5],[57.7,19],[55.4,17.7],[52.2,15.7],[48.7,14],[45,12.8],[43.4,12.6],[42.7,15.7],[42.5,17.2],[41,19.5],[39.1,21.6],[38.4,23.6],[37,25.5],[35.2,28],[34.9,29.5],[34.3,27.8],[33,28.8],[32.6,30],[32.3,31.2],[34.2,31.3],[34.9,32.8],[35.6,34.5],[36,35.8],[36.2,36.7],[34.5,36.8],[32.5,36.1],[30.5,36.4],[29,36.6],[27.3,37.4],[26.3,38.6],[26.5,40],[26.2,40.6],[24,40.8],[22.6,40.4],[24.1,38.2],[24,37.6],[23.2,37.5],[22.3,36.5],[21.7,36.8],[21.2,38.4],[19.5,40],[19.5,41.8],[18.5,42.5],[16,43.5],[13.7,45.6],[12.3,45.3],[12.4,44.2],[13.6,43.5],[15.9,41.6],[18.5,40.2],[17,39],[16.6,38],[15.6,38],[15.3,37],[15.1,36.65],[12.4,37.8],[13.3,38.25],[15.55,38.3],[16.1,39],[15.6,40.1],[14.3,40.6],[12.5,41.6],[11,42.5],[10.2,43.9],[8.8,44.4],[7.5,43.8],[6,43.1],[4,43.5],[3.1,43.1],[3.2,41.9],[0.8,41],[0,39.5],[-0.3,38.4],[-0.8,37.6],[-2.1,36.7],[-4.4,36.7],[-5.6,36],[-6.3,36.8],[-7.4,37.2],[-8.9,37],[-8.8,38.4],[-9.5,38.6]]}, + {id:'af',ll:[[-17.5,14.7],[-17,21],[-16,24],[-13,27.5],[-9.8,30],[-9.2,32.5],[-6.8,34],[-5.9,35.8],[-2,35.1],[1,36.5],[5,36.8],[9.8,37.3],[11,36.9],[10.2,35.2],[11.1,33.3],[15.2,32.3],[19,30.3],[20.1,32],[23,32.6],[25,31.7],[29,30.9],[32.2,31.3],[32.6,30],[33.5,28],[35.5,24],[37.2,21],[38.5,18],[39.6,15.5],[41.6,13.5],[43.3,12.4],[44,10.4],[47,11.1],[51.2,11.8],[51,10.4],[49.5,7],[47.8,4.5],[45,1.6],[42,-1],[40.2,-2.8],[39.3,-4.8],[38.8,-6.5],[39.6,-10],[40.5,-11],[40.6,-14.6],[37,-17.5],[35.4,-22],[35.5,-24],[32.9,-25.9],[32.5,-28.6],[31,-29.9],[28,-32.7],[25.6,-33.9],[22.5,-34],[20,-34.8],[18.4,-34],[17.9,-32.5],[16.5,-28.6],[15.2,-27],[14.4,-23],[12.8,-19],[11.8,-16.8],[12.2,-14.5],[13.6,-12.2],[13.2,-8.8],[12.3,-6],[11.8,-3.5],[9.5,-1],[9.4,1],[9.8,3.2],[8.9,4.5],[6,4.3],[4.3,6.3],[1.6,6.2],[-2,4.8],[-4.6,5.2],[-7.5,4.4],[-9.4,5.4],[-11.5,6.9],[-13.2,8.7],[-15,10.9],[-16.7,12.4]]}, + {id:'uk',ll:[[-5.7,50.1],[-3,50.6],[1.4,51.2],[1.7,52.7],[0.3,53.4],[-0.2,54.3],[-1.6,55.6],[-2,56.4],[-1.8,57.6],[-3.4,58.6],[-5,58.6],[-6.2,57.5],[-5.6,56.3],[-5,55],[-3.2,54.9],[-3.4,54],[-3,53.4],[-4.6,53.3],[-4.2,52.2],[-5.2,51.7],[-3.2,51.4],[-4.6,51]]}, + {id:'ie',ll:[[-6,52.2],[-6.2,53.5],[-5.6,54.6],[-6.4,55.2],[-7.4,55.4],[-8.5,54.5],[-10,54.2],[-9.6,53.2],[-10.2,51.9],[-9.6,51.5],[-8.2,51.8]]}, + {id:'is',ll:[[-22.5,63.9],[-24,65.5],[-22,66.4],[-16,66.5],[-14.5,65.3],[-14.6,64.4],[-18,63.4]]}, + {id:'jp',ll:[[129.6,33.3],[130.2,31.3],[131.4,31.5],[132,33],[133.5,33.4],[135.2,33.6],[136.8,34.3],[138.8,34.6],[140,35],[140.8,35.7],[141,38.2],[141.9,39.5],[141.4,41.4],[140,41.4],[139.9,40.3],[139.8,38.5],[138.8,37.8],[137.3,36.9],[136,36],[135.4,35.6],[133,35.5],[131.5,34.6],[130.9,34]]}, + {id:'oc',ll:[[113.5,-22],[114,-26.5],[115,-30],[115.7,-33.6],[115,-34.3],[117.9,-35.1],[123.5,-33.9],[126,-32.3],[131,-31.5],[134,-32.8],[135.6,-34.8],[137.6,-35.6],[138.3,-34.5],[139.6,-36.9],[141.5,-38.4],[144.9,-37.9],[146.4,-39.1],[150,-37.5],[150.8,-34.5],[152.5,-32.4],[153.6,-28.5],[153,-25],[150.8,-22.5],[149,-20.6],[146.3,-18.9],[145.4,-16],[145.3,-14.9],[143.5,-12.3],[142.5,-10.7],[141.6,-12.8],[141.6,-16],[140.6,-17.6],[139.3,-17.4],[137,-15.9],[135.8,-15],[136.8,-12.2],[135,-12],[132.6,-11.5],[131,-12.2],[129.5,-14.9],[128,-15.4],[126.5,-13.9],[124.5,-16.5],[122.2,-18.2],[121,-19.7],[118.5,-20.3],[116.7,-20.6],[114.6,-21.8]]}, + {id:'tas',ll:[[144.6,-40.7],[146.5,-41.1],[148.3,-40.9],[148.3,-42.2],[147.9,-43.2],[146.9,-43.6],[146,-43.5],[145.2,-42.2],[144.7,-41.2]]}, + {id:'nz',ll:[[172.7,-34.4],[174.5,-36],[175.9,-37.5],[178.5,-37.7],[177.9,-39.2],[176.9,-39.6],[175.2,-41.6],[174.6,-41.2],[174.9,-39.9],[173.8,-39.3],[174.6,-38.1],[174.5,-37.3],[173.1,-35.3]]}, + {id:'nzs',ll:[[172.6,-40.5],[174.3,-41.0],[174.2,-41.7],[173.3,-42.9],[172.8,-43.9],[171.3,-44.4],[170.7,-45.8],[169.3,-46.6],[168.3,-46.6],[166.5,-46.0],[166.8,-45.3],[168.2,-44.0],[170.6,-43.0],[171.4,-41.8],[172.1,-40.9]]}, + {id:'idn',ll:[[105.2,-6.8],[106.8,-6.1],[108.5,-6.4],[110.5,-6.9],[112.6,-6.9],[114.6,-7.7],[114.4,-8.7],[111,-8.3],[108,-7.8],[105.5,-7]]}, + {id:'ph',ll:[[120.6,18.5],[122.2,18.5],[122,16.5],[121.6,14.2],[124,13.8],[124,12.5],[123.3,13],[121,13.6],[120.6,14.5],[119.8,16.2]]}, +]; // South America is drawn as part of 'am' but counts as its own landmass: nothing crosses the Darién Gap. // Atlantic islands, each its own landmass too. -LANDS_LL.push({id:'bm',ll:[[-65.18,32.59],[-64.38,32.59],[-64.38,31.99],[-65.18,31.99]]},{id:'az',ll:[[-26.07,38.04],[-25.27,38.04],[-25.27,37.44],[-26.07,37.44]]},{id:'ic',ll:[[-16.65,28.76],[-15.85,28.76],[-15.85,28.16],[-16.65,28.16]]},{id:'cv',ll:[[-23.91,15.22],[-23.11,15.22],[-23.11,14.62],[-23.91,14.62]]},{id:'sh',ll:[[-6.12,-15.63],[-5.32,-15.63],[-5.32,-16.23],[-6.12,-16.23]]}); +LANDS_LL.push( + {id:'bm',ll:[[-65.18,32.59],[-64.38,32.59],[-64.38,31.99],[-65.18,31.99]]}, + {id:'az',ll:[[-26.07,38.04],[-25.27,38.04],[-25.27,37.44],[-26.07,37.44]]}, + {id:'ic',ll:[[-16.65,28.76],[-15.85,28.76],[-15.85,28.16],[-16.65,28.16]]}, + {id:'cv',ll:[[-23.91,15.22],[-23.11,15.22],[-23.11,14.62],[-23.91,14.62]]}, + {id:'sh',ll:[[-6.12,-15.63],[-5.32,-15.63],[-5.32,-16.23],[-6.12,-16.23]]}, +); // Pacific islands, each its own landmass. -LANDS_LL.push({id:'hi',ll:[[-158.26,21.61],[-157.46,21.61],[-157.46,21.01],[-158.26,21.01]]},{id:'gu',ll:[[144.35,13.77],[145.15,13.77],[145.15,13.17],[144.35,13.17]]},{id:'pw',ll:[[134.08,7.64],[134.88,7.64],[134.88,7.04],[134.08,7.04]]},{id:'mh',ll:[[170.98,7.39],[171.78,7.39],[171.78,6.79],[170.98,6.79]]},{id:'pg',ll:[[146.78,-9.14],[147.58,-9.14],[147.58,-9.74],[146.78,-9.74]]},{id:'sb',ll:[[159.55,-9.13],[160.35,-9.13],[160.35,-9.73],[159.55,-9.73]]},{id:'nc',ll:[[166.06,-21.97],[166.86,-21.97],[166.86,-22.57],[166.06,-22.57]]},{id:'fj',ll:[[178.04,-17.84],[178.84,-17.84],[178.84,-18.44],[178.04,-18.44]]},{id:'to',ll:[[-175.60,-20.84],[-174.80,-20.84],[-174.80,-21.44],[-175.60,-21.44]]},{id:'ws',ll:[[-172.16,-13.53],[-171.36,-13.53],[-171.36,-14.13],[-172.16,-14.13]]},{id:'as',ll:[[-171.10,-13.98],[-170.30,-13.98],[-170.30,-14.58],[-171.10,-14.58]]},{id:'pf',ll:[[-149.97,-17.23],[-149.17,-17.23],[-149.17,-17.83],[-149.97,-17.83]]}); -LANDS_LL.push({id:'lk',ll:[[79.9, 9.8], [80.6, 9.6], [81.4, 8.5], [81.9, 7.4], [81.6, 6.4], [80.6, 5.9], [80.0, 6.2], [79.75, 7.2], [79.75, 8.3]]},{id:'sa',hide:true,ll:[[-77.5, 8.6], [-75, 10.8], [-71.5, 12.3], [-68, 10.6], [-62, 10.5], [-60, 8], [-57, 6], [-52, 5], [-50, 1.5], [-48, -1], [-44, -2.5], [-39, -3.5], [-35, -5.5], [-35, -9], [-37.5, -12.5], [-39, -15], [-39.7, -19], [-41, -22], [-44, -23], [-48, -26], [-48.6, -28.5], [-51, -31], [-53, -34], [-58, -34.5], [-57, -37], [-62, -39], [-65, -41], [-64, -43], [-67.5, -46], [-66, -48], [-69, -51], [-68.5, -53], [-70, -55], [-73, -53], [-75, -48], [-73.5, -43], [-73.5, -37], [-71.5, -32], [-71.3, -27], [-70.5, -20], [-71.5, -17], [-76, -14], [-78, -10], [-81, -6], [-80.5, -3], [-80, 0], [-79, 1.5], [-77.5, 4], [-77.4, 7.5]]},{id:'tw',ll:[[121.5, 25.35], [122.05, 25.0], [121.85, 24.3], [121.4, 23.0], [120.85, 21.9], [120.6, 22.3], [120.15, 22.9], [120.1, 23.6], [120.55, 24.5], [121.0, 25.1]]}); +LANDS_LL.push( + {id:'hi',ll:[[-158.26,21.61],[-157.46,21.61],[-157.46,21.01],[-158.26,21.01]]}, + {id:'gu',ll:[[144.35,13.77],[145.15,13.77],[145.15,13.17],[144.35,13.17]]}, + {id:'pw',ll:[[134.08,7.64],[134.88,7.64],[134.88,7.04],[134.08,7.04]]}, + {id:'mh',ll:[[170.98,7.39],[171.78,7.39],[171.78,6.79],[170.98,6.79]]}, + {id:'pg',ll:[[146.78,-9.14],[147.58,-9.14],[147.58,-9.74],[146.78,-9.74]]}, + {id:'sb',ll:[[159.55,-9.13],[160.35,-9.13],[160.35,-9.73],[159.55,-9.73]]}, + {id:'nc',ll:[[166.06,-21.97],[166.86,-21.97],[166.86,-22.57],[166.06,-22.57]]}, + {id:'fj',ll:[[178.04,-17.84],[178.84,-17.84],[178.84,-18.44],[178.04,-18.44]]}, + {id:'to',ll:[[-175.60,-20.84],[-174.80,-20.84],[-174.80,-21.44],[-175.60,-21.44]]}, + {id:'ws',ll:[[-172.16,-13.53],[-171.36,-13.53],[-171.36,-14.13],[-172.16,-14.13]]}, + {id:'as',ll:[[-171.10,-13.98],[-170.30,-13.98],[-170.30,-14.58],[-171.10,-14.58]]}, + {id:'pf',ll:[[-149.97,-17.23],[-149.17,-17.23],[-149.17,-17.83],[-149.97,-17.83]]}, +); +LANDS_LL.push( + {id:'lk',ll:[[79.9, 9.8], [80.6, 9.6], [81.4, 8.5], [81.9, 7.4], [81.6, 6.4], [80.6, 5.9], [80.0, 6.2], [79.75, 7.2], [79.75, 8.3]]}, + {id:'sa',hide:true,ll:[[-77.5, 8.6], [-75, 10.8], [-71.5, 12.3], [-68, 10.6], [-62, 10.5], [-60, 8], [-57, 6], [-52, 5], [-50, 1.5], [-48, -1], [-44, -2.5], [-39, -3.5], [-35, -5.5], [-35, -9], [-37.5, -12.5], [-39, -15], [-39.7, -19], [-41, -22], [-44, -23], [-48, -26], [-48.6, -28.5], [-51, -31], [-53, -34], [-58, -34.5], [-57, -37], [-62, -39], [-65, -41], [-64, -43], [-67.5, -46], [-66, -48], [-69, -51], [-68.5, -53], [-70, -55], [-73, -53], [-75, -48], [-73.5, -43], [-73.5, -37], [-71.5, -32], [-71.3, -27], [-70.5, -20], [-71.5, -17], [-76, -14], [-78, -10], [-81, -6], [-80.5, -3], [-80, 0], [-79, 1.5], [-77.5, 4], [-77.4, 7.5]]}, + {id:'tw',ll:[[121.5, 25.35], [122.05, 25.0], [121.85, 24.3], [121.4, 23.0], [120.85, 21.9], [120.6, 22.3], [120.15, 22.9], [120.1, 23.6], [120.55, 24.5], [121.0, 25.1]]}, +); const LANDS=LANDS_LL.map(l=>({id:l.id,hide:true,pts:l.ll.map(q=>proj(q[0],q[1]))})); diff --git a/src/game/20-world/40-city-coords.js b/src/game/20-world/40-city-coords.js index 5051cb4..65ae278 100644 --- a/src/game/20-world/40-city-coords.js +++ b/src/game/20-world/40-city-coords.js @@ -1 +1,204 @@ -const CITY_LL={"chc":[172.55,-43.53],"ivc":[168.35,-46.41],"adl":[138.6,-34.93],"cbr":[149.13,-35.28],"hba":[147.25,-42.85],"hfx":[-63.62,44.68],"bda":[-64.78,32.29],"pdl":[-25.67,37.74],"tci":[-16.3,28.44],"rai":[-23.55,14.98],"jam":[-5.72,-15.93],"man":[-2.24,53.48],"edi":[-3.19,55.95],"bde":[-4.54,50.83],"svg":[5.73,58.97],"bcn":[2.17,41.39],"mil":[9.19,45.46],"rom":[12.5,41.9],"pmo":[13.36,38.12],"lis":[-9.14,38.72],"ath":[23.73,37.98],"atn":[-84.39,33.75],"den":[-104.99,39.74],"phx":[-112.07,33.45],"bos":[-71.06,42.36],"hou":[-95.37,29.76],"slc":[-111.89,40.76],"jed":[39.25,21.55],"ruh":[46.72,24.71],"doh":[51.45,25.28],"kyv":[30.52,50.45],"mel":[144.96, -37.81],"bne":[153.03, -27.47],"drw":[131.05,-12.46],"osa":[135.5, 34.69],"kul":[101.69, 3.14],"bkk":[100.5, 13.76],"sgn":[106.66, 10.76],"khi":[67.14,25.0],"dac":[90.41, 23.81],"cbo":[80.0, 6.95],"waw":[21.01, 52.23],"prg":[14.42, 50.08],"vie":[16.37, 48.21],"bud":[19.04, 47.5],"buh":[26.1, 44.43],"tll":[24.45,58.9],"ist":[28.98, 41.01],"for":[-38.54, -3.73],"rio":[-43.11,-22.57],"bsb":[-47.88,-15.79],"bhz":[-43.94,-19.92],"cwb":[-49.27,-25.43],"poa":[-51.23,-30.03],"aju":[-37.07,-10.91],"bel":[-48.5,-1.46],"bvb":[-60.67,2.82],"cac":[-53.46,-24.96],"cpv":[-35.88,-7.23],"cpq":[-47.06,-22.91],"cgr":[-54.65,-20.47],"cau":[-35.98,-8.28],"cgb":[-56.1,-15.6],"cxj":[-51.18,-29.17],"fec":[-38.97,-12.27],"fln":[-48.55,-27.6],"igu":[-54.59,-25.55],"gyn":[-49.25,-16.69],"jpa":[-34.86,-7.12],"ljd":[-51.96,-29.47],"ldb":[-51.16,-23.31],"mcp":[-51.07,0.03],"mcz":[-35.74,-9.67],"mao":[-60.02,-3.12],"mgf":[-51.94,-23.42],"nat":[-35.21,-5.79],"pmw":[-48.33,-10.18],"pvh":[-63.9,-8.76],"rao":[-47.81,-21.18],"rec":[-34.88,-8.05],"rbr":[-67.81,-9.97],"ssa":[-38.5,-12.97],"ria":[-53.81,-29.68],"sjp":[-49.38,-20.81],"slz":[-44.3,-2.53],"the":[-42.8,-5.09],"vix":[-40.31,-20.32],"mvd":[-56.16,-34.9],"asu":[-57.58,-25.26],"cor":[-64.18,-31.42],"lpb":[-68.15,-16.5],"uio":[-78.47,-0.18],"mde":[-75.57,6.24],"ccs":[-66.9,10.49],"gua":[-90.51,14.63],"sjo":[-84.09,9.93],"qro":[-100.39,20.59],"mty":[-100.31,25.69],"gdl":[-103.35,20.67],"bue":[-58.38, -34.6],"scl":[-70.67, -33.45],"lim":[-76.85,-12.05],"bog":[-74.07, 4.71],"pan":[-79.52, 8.98],"del":[77.21, 28.61],"maa":[80.18,13.25],"blr":[77.59, 12.97],"hyd":[78.49, 17.39],"tpe":[121.56, 25.03],"auh":[54.37, 24.45],"fuj":[56.15,25.07],"cpt":[18.42, -33.92],"dkr":[-17.45,14.69],"abj":[-4.03,5.32],"acc":[-0.19,5.6],"dla":[9.7,4.05],"fih":[15.27,-4.33],"lad":[13.23,-8.84],"cas":[-7.59,33.57],"alg":[3.06,36.75],"tun":[10.18,36.81],"jib":[43.15,11.59],"add":[38.75,9.03],"mba":[39.67,-4.04],"dar":[39.28,-6.79],"kla":[32.58,0.35],"kgl":[30.06,-1.95],"mpm":[32.57,-25.97],"dur":[31.03,-29.86],"wdh":[17.08,-22.56],"lun":[28.32,-15.39],"hre":[31.05,-17.83],"gbe":[25.91,-24.65],"stg":[9.18,48.78],"ber":[13.4,52.52],"zrh":[8.54,47.37],"nbo":[36.82,-1.29],"cai":[31.24,30.04],"sea":[-122.33,47.61],"sjc":[-121.89,37.34],"lax":[-118.24,34.05],"dal":[-96.8,32.78],"chi":[-87.63,41.88],"ash":[-77.49,39.04],"nyc":[-74.0,40.71],"mia":[-80.19,25.76],"tor":[-79.38,43.65],"kcy":[-94.58,39.1],"cal":[-114.07,51.05],"van":[-123.12,49.28],"ott":[-75.7,45.42],"mtl":[-73.57,45.5],"mex":[-99.13,19.43],"sao":[-46.63,-23.55],"lon":[-0.13,51.51],"dub":[-6.26,53.35],"rek":[-21.94,64.15],"ams":[4.9,52.37],"bru":[4.35,50.85],"oos":[3.23,51.15],"bet":[6.1,49.52],"fra":[8.68,50.11],"ham":[9.99,53.55],"dus":[6.78,51.22],"muc":[11.58,48.14],"par":[2.35,48.86],"mrs":[5.37,43.3],"mad":[-3.7,40.42],"sto":[18.07,59.33],"osl":[10.75,59.91],"cph":[12.57,55.68],"hel":[24.94,60.17],"beg":[20.46,44.79],"sof":[23.32,42.7],"mos":[37.62,55.76],"lag":[3.38,6.52],"jnb":[28.05,-26.2],"dxb":[55.27,25.2],"bom":[72.88,19.08],"sin":[103.82,1.35],"jkt":[106.85,-6.2],"mnl":[120.98,14.6],"hkg":[114.17,22.32],"sha":[121.47,31.23],"pek":[116.4,39.9],"icn":[126.98,37.57],"tok":[139.69,35.69],"syd":[151.21,-33.87],"per":[115.86,-31.95],"akl":[174.76,-36.85],"hnl":[-157.86,21.31],"gum":[144.75,13.47],"ror":[134.48,7.34],"maj":[171.38,7.09],"pom":[147.18,-9.44],"hir":[159.95,-9.43],"nou":[166.46,-22.27],"suv":[178.44,-18.14],"tbu":[-175.2,-21.14],"apw":[-171.76,-13.83],"ppg":[-170.7,-14.28],"ppt":[-149.57,-17.53]}; +const CITY_LL={ + "abj":[-4.03,5.32], + "acc":[-0.19,5.6], + "add":[38.75,9.03], + "adl":[138.6,-34.93], + "aju":[-37.07,-10.91], + "akl":[174.76,-36.85], + "alg":[3.06,36.75], + "ams":[4.9,52.37], + "apw":[-171.76,-13.83], + "ash":[-77.49,39.04], + "asu":[-57.58,-25.26], + "ath":[23.73,37.98], + "atn":[-84.39,33.75], + "auh":[54.37, 24.45], + "bcn":[2.17,41.39], + "bda":[-64.78,32.29], + "bde":[-4.54,50.83], + "beg":[20.46,44.79], + "bel":[-48.5,-1.46], + "ber":[13.4,52.52], + "bet":[6.1,49.52], + "bhz":[-43.94,-19.92], + "bkk":[100.5, 13.76], + "blr":[77.59, 12.97], + "bne":[153.03, -27.47], + "bog":[-74.07, 4.71], + "bom":[72.88,19.08], + "bos":[-71.06,42.36], + "bru":[4.35,50.85], + "bsb":[-47.88,-15.79], + "bud":[19.04, 47.5], + "bue":[-58.38, -34.6], + "buh":[26.1, 44.43], + "bvb":[-60.67,2.82], + "cac":[-53.46,-24.96], + "cai":[31.24,30.04], + "cal":[-114.07,51.05], + "cas":[-7.59,33.57], + "cau":[-35.98,-8.28], + "cbo":[80.0, 6.95], + "cbr":[149.13,-35.28], + "ccs":[-66.9,10.49], + "cgb":[-56.1,-15.6], + "cgr":[-54.65,-20.47], + "chc":[172.55,-43.53], + "chi":[-87.63,41.88], + "cor":[-64.18,-31.42], + "cph":[12.57,55.68], + "cpq":[-47.06,-22.91], + "cpt":[18.42, -33.92], + "cpv":[-35.88,-7.23], + "cwb":[-49.27,-25.43], + "cxj":[-51.18,-29.17], + "dac":[90.41, 23.81], + "dal":[-96.8,32.78], + "dar":[39.28,-6.79], + "del":[77.21, 28.61], + "den":[-104.99,39.74], + "dkr":[-17.45,14.69], + "dla":[9.7,4.05], + "doh":[51.45,25.28], + "drw":[131.05,-12.46], + "dub":[-6.26,53.35], + "dur":[31.03,-29.86], + "dus":[6.78,51.22], + "dxb":[55.27,25.2], + "edi":[-3.19,55.95], + "fec":[-38.97,-12.27], + "fih":[15.27,-4.33], + "fln":[-48.55,-27.6], + "for":[-38.54, -3.73], + "fra":[8.68,50.11], + "fuj":[56.15,25.07], + "gbe":[25.91,-24.65], + "gdl":[-103.35,20.67], + "gua":[-90.51,14.63], + "gum":[144.75,13.47], + "gyn":[-49.25,-16.69], + "ham":[9.99,53.55], + "hba":[147.25,-42.85], + "hel":[24.94,60.17], + "hfx":[-63.62,44.68], + "hir":[159.95,-9.43], + "hkg":[114.17,22.32], + "hnl":[-157.86,21.31], + "hou":[-95.37,29.76], + "hre":[31.05,-17.83], + "hyd":[78.49, 17.39], + "icn":[126.98,37.57], + "igu":[-54.59,-25.55], + "ist":[28.98, 41.01], + "ivc":[168.35,-46.41], + "jam":[-5.72,-15.93], + "jed":[39.25,21.55], + "jib":[43.15,11.59], + "jkt":[106.85,-6.2], + "jnb":[28.05,-26.2], + "jpa":[-34.86,-7.12], + "kcy":[-94.58,39.1], + "kgl":[30.06,-1.95], + "khi":[67.14,25.0], + "kla":[32.58,0.35], + "kul":[101.69, 3.14], + "kyv":[30.52,50.45], + "lad":[13.23,-8.84], + "lag":[3.38,6.52], + "lax":[-118.24,34.05], + "ldb":[-51.16,-23.31], + "lim":[-76.85,-12.05], + "lis":[-9.14,38.72], + "ljd":[-51.96,-29.47], + "lon":[-0.13,51.51], + "lpb":[-68.15,-16.5], + "lun":[28.32,-15.39], + "maa":[80.18,13.25], + "mad":[-3.7,40.42], + "maj":[171.38,7.09], + "man":[-2.24,53.48], + "mao":[-60.02,-3.12], + "mba":[39.67,-4.04], + "mcp":[-51.07,0.03], + "mcz":[-35.74,-9.67], + "mde":[-75.57,6.24], + "mel":[144.96, -37.81], + "mex":[-99.13,19.43], + "mgf":[-51.94,-23.42], + "mia":[-80.19,25.76], + "mil":[9.19,45.46], + "mnl":[120.98,14.6], + "mos":[37.62,55.76], + "mpm":[32.57,-25.97], + "mrs":[5.37,43.3], + "mtl":[-73.57,45.5], + "mty":[-100.31,25.69], + "muc":[11.58,48.14], + "mvd":[-56.16,-34.9], + "nat":[-35.21,-5.79], + "nbo":[36.82,-1.29], + "nou":[166.46,-22.27], + "nyc":[-74.0,40.71], + "oos":[3.23,51.15], + "osa":[135.5, 34.69], + "osl":[10.75,59.91], + "ott":[-75.7,45.42], + "pan":[-79.52, 8.98], + "par":[2.35,48.86], + "pdl":[-25.67,37.74], + "pek":[116.4,39.9], + "per":[115.86,-31.95], + "phx":[-112.07,33.45], + "pmo":[13.36,38.12], + "pmw":[-48.33,-10.18], + "poa":[-51.23,-30.03], + "pom":[147.18,-9.44], + "ppg":[-170.7,-14.28], + "ppt":[-149.57,-17.53], + "prg":[14.42, 50.08], + "pvh":[-63.9,-8.76], + "qro":[-100.39,20.59], + "rai":[-23.55,14.98], + "rao":[-47.81,-21.18], + "rbr":[-67.81,-9.97], + "rec":[-34.88,-8.05], + "rek":[-21.94,64.15], + "ria":[-53.81,-29.68], + "rio":[-43.11,-22.57], + "rom":[12.5,41.9], + "ror":[134.48,7.34], + "ruh":[46.72,24.71], + "sao":[-46.63,-23.55], + "scl":[-70.67, -33.45], + "sea":[-122.33,47.61], + "sgn":[106.66, 10.76], + "sha":[121.47,31.23], + "sin":[103.82,1.35], + "sjc":[-121.89,37.34], + "sjo":[-84.09,9.93], + "sjp":[-49.38,-20.81], + "slc":[-111.89,40.76], + "slz":[-44.3,-2.53], + "sof":[23.32,42.7], + "ssa":[-38.5,-12.97], + "stg":[9.18,48.78], + "sto":[18.07,59.33], + "suv":[178.44,-18.14], + "svg":[5.73,58.97], + "syd":[151.21,-33.87], + "tbu":[-175.2,-21.14], + "tci":[-16.3,28.44], + "the":[-42.8,-5.09], + "tll":[24.45,58.9], + "tok":[139.69,35.69], + "tor":[-79.38,43.65], + "tpe":[121.56, 25.03], + "tun":[10.18,36.81], + "uio":[-78.47,-0.18], + "van":[-123.12,49.28], + "vie":[16.37, 48.21], + "vix":[-40.31,-20.32], + "waw":[21.01, 52.23], + "wdh":[17.08,-22.56], + "zrh":[8.54,47.37], +}; diff --git a/src/game/20-world/50-cities.js b/src/game/20-world/50-cities.js index 54dc932..b212b70 100644 --- a/src/game/20-world/50-cities.js +++ b/src/game/20-world/50-cities.js @@ -203,6 +203,69 @@ const CITIES=[ {id:'svg',name:'Stavanger',x:0,y:0,land:'eu',reg:'EU',P:60,ix:'Brunost-IX',dc:'Inside-a-Mountain DC',note:tr('Norway’s oil capital, now full of data centers inside mountains, run on hydro and cooled by the fjord. North Sea cables land here.')}, ]; // Display-only nudges for cities that sit on top of each other at map scale; distances still use real lon/lat. -const CITY_NUDGE={stg:[7,1],zrh:[-3,3],bru:[1,3],oos:[-3,0],van:[-3,-6],sea:[1,4],ott:[-3,-3],bcn:[-6,-4],auh:[-5,6],dxb:[9,-7],fuj:[8,15],tll:[-4,22],osa:[-10,6],khi:[-2,-6],hou:[0,6],dal:[0,-4],nyc:[.3,-.7],mia:[-.6,.4],mtl:[.8,0],cph:[-.7,.3],hel:[-.8,-.2],akl:[.6,.4],sin:[-1.3,-1.3],hkg:[.8,0],ist:[.8,0],lis:[.8,0],aju:[-13.5,-2.7],bel:[0.4,0.4],cac:[2.4,-0.7],cpv:[-10.2,-5.1],cpq:[-2.8,-5.2],cau:[-10.2,2.4],cxj:[5.4,-9.4],fec:[-10.8,1.4],fln:[0.8,4.4],igu:[-3.9,5.3],gyn:[-4,2.6],jpa:[-0.9,0.6],ljd:[-5.2,-7.7],ldb:[6.2,0.1],mcp:[-1.7,1.7],mcz:[-7.2,8],mgf:[-5.8,-4.4],nat:[-1.5,-3.3],rao:[3.6,-2.6],rec:[-2.4,7.2],ssa:[0.5,-0.2],ria:[-2.4,4.9],sjp:[-3.5,0.4],slz:[0.3,0.3],vix:[-0.4,0.4],mvd:[2.2,-4.3],asu:[-1.2,-0.8],mde:[-1.7,-1.9],qro:[-1.9,-3.9],gdl:[-1.2,0.2],cas:[0.6,0.6],alg:[0.9,0.9],jib:[0.1,0.2],mba:[-0.8,0],dar:[0,12.6],dur:[-0.2,0]}; +const CITY_NUDGE={ + aju:[-13.5,-2.7], + akl:[.6,.4], + alg:[0.9,0.9], + asu:[-1.2,-0.8], + auh:[-5,6], + bcn:[-6,-4], + bel:[0.4,0.4], + bru:[1,3], + cac:[2.4,-0.7], + cas:[0.6,0.6], + cau:[-10.2,2.4], + cph:[-.7,.3], + cpq:[-2.8,-5.2], + cpv:[-10.2,-5.1], + cxj:[5.4,-9.4], + dal:[0,-4], + dar:[0,12.6], + dur:[-0.2,0], + dxb:[9,-7], + fec:[-10.8,1.4], + fln:[0.8,4.4], + fuj:[8,15], + gdl:[-1.2,0.2], + gyn:[-4,2.6], + hel:[-.8,-.2], + hkg:[.8,0], + hou:[0,6], + igu:[-3.9,5.3], + ist:[.8,0], + jib:[0.1,0.2], + jpa:[-0.9,0.6], + khi:[-2,-6], + ldb:[6.2,0.1], + lis:[.8,0], + ljd:[-5.2,-7.7], + mba:[-0.8,0], + mcp:[-1.7,1.7], + mcz:[-7.2,8], + mde:[-1.7,-1.9], + mgf:[-5.8,-4.4], + mia:[-.6,.4], + mtl:[.8,0], + mvd:[2.2,-4.3], + nat:[-1.5,-3.3], + nyc:[.3,-.7], + oos:[-3,0], + osa:[-10,6], + ott:[-3,-3], + qro:[-1.9,-3.9], + rao:[3.6,-2.6], + rec:[-2.4,7.2], + ria:[-2.4,4.9], + sea:[1,4], + sin:[-1.3,-1.3], + sjp:[-3.5,0.4], + slz:[0.3,0.3], + ssa:[0.5,-0.2], + stg:[7,1], + tll:[-4,22], + van:[-3,-6], + vix:[-0.4,0.4], + zrh:[-3,3], +}; for(const c of CITIES){const q=CITY_LL[c.id];if(q){c.lon=q[0];c.lat=q[1];const pt=proj(q[0],q[1]),n=CITY_NUDGE[c.id]||[0,0];c.x=pt[0]+n[0];c.y=pt[1]+n[1];}} const CITY=Object.fromEntries(CITIES.map(c=>[c.id,c])),CIDX=Object.fromEntries(CITIES.map((c,i)=>[c.id,i])); diff --git a/src/game/90-actions/00-actions.js b/src/game/90-actions/00-actions.js deleted file mode 100644 index c79e4f3..0000000 --- a/src/game/90-actions/00-actions.js +++ /dev/null @@ -1,294 +0,0 @@ -/* ================= ACTIONS ================= */ -function spend(c){if(S.cashNot enough cash.
Wait for revenue, or speed up time.'),'bad');sfx('err');return false;}S.cash-=c;sfx('build');return true;} -const ACT={ - speed:({v})=>{v=+v;if(![0,0.5,1,2,4,8].includes(v))return;if(v)UI.lastSpeed=v;UI.speed=v;renderHUD();}, - help:()=>showHelp(), - dash:()=>{if(!S)return;const d=$('dash');d.hidden=!d.hidden;if(!d.hidden)renderDash();}, - dashClose:()=>{$('dash').hidden=true;}, - dashTab:({k})=>{if(!DTABS.includes(k))return;UI.dtab=k;renderDash();const d=$('dash');if(d)d.scrollTop=0;}, - dashSort:({k})=>{if(!['name','asn','type','traffic','cost','lost'].includes(k))return;if(UI.dashSort===k)UI.dashDir=-(UI.dashDir||-1);else{UI.dashSort=k;UI.dashDir=k==='name'||k==='type'||k==='asn'?1:-1;}renderDash();}, - bank:()=>{if(!S)return;UI.confirm=null;$('dash').hidden=true;const b=$('bankBox');b.hidden=false;UI._bh=null;renderBank();}, - bankClose:()=>{UI.confirm=null;$('bankBox').hidden=true;}, - takeLoan:({id})=>{const o=S.loanOffers.find(x=>x.id===id);if(!o)return;S.stats.loans=(S.stats.loans||0)+1;const B=BANKS[o.bank];let got=o.amount,note=''; - if(B.crypto){const f=0.55+Math.random()*0.8;got=Math.round(o.amount*f);note=' '+(f>=1?tr('TubeCoin moved up {p}% on the way to your account.',{p:Math.round(Math.abs(f-1)*100)}):tr('TubeCoin moved down {p}% on the way to your account.',{p:Math.round(Math.abs(f-1)*100)}));} - S.cash+=got;S.loanOffers=S.loanOffers.filter(x=>x!==o); - S.loans.push({id:o.id,bank:o.bank,start:S.day,amount:o.amount,got,bal:o.model==='transit'?o.owe:o.amount,apr:o.apr||0,apr0:o.apr||0,pay:o.pay||0,left:o.term||0,term:o.term||0,share:o.share||0,model:o.model,cut:o.cut,covs:o.covs,base:{sub:S.links.filter(x=>x.sub).length}}); - track('loan_taken');toast(`${tr('{amt} from {bank} has landed.',{amt:fmt$(got),bank:esc(B.name)})}
${B.equity?tr('They now own {p} of your revenue.',{p:pct(o.share)}):loanSummary(o)}${note}`,'good');sfx('coin');after();renderBank();}, - declineLoan:({id})=>{S.loanOffers=S.loanOffers.filter(x=>x.id!==id);sfx('click');renderBank();renderHUD();save();}, - repayLoan:({id})=>{const l=S.loans.find(x=>x.id===id);if(!l)return;const B=BANKS[l.bank];const cost=repayCost(l,B); - if(UI.confirm!==id){UI.confirm=id;renderBank();return;}UI.confirm=null;if(!spend(cost)){renderBank();return;}S.loans=S.loans.filter(x=>x!==l);track('loan_repaid'); - toast(B.equity?tr('You bought out {bank}.
They flew off to find another startup.',{bank:esc(B.name)}):tr('Loan from {bank} repaid early.',{bank:esc(B.name)}),'good');after();renderBank();}, - leaseSwap:({a,b,src})=>{if(!S.pops[a]||!S.pops[b]||a===b)return;$('dash').hidden=true;UI.lmode='df';UI.dfSrc=['lease','build','cable'].includes(src)?src:isSub(a,b)?'cable':'build';UI.dfSys=lvl()>=3?'roadm':'lite';openLinkModal(a,b);}, - dashLink:({id})=>{$('dash').hidden=true;selectLink(id);}, - animSet:({v})=>{if(!['auto','on','off'].includes(v))return;UI.anim=v;try{localStorage.setItem('sot-anim',v);}catch(e){}applyAnim();refreshSettings();}, - soundSet:({v})=>{UI.muted=v==='off';try{localStorage.setItem('sot-mute',UI.muted?'1':'0');}catch(e){}renderHUD();refreshSettings();}, - langSet:({v})=>{if(!Object.hasOwn(LANGS,v)||v===LANG)return;try{localStorage.setItem('sot-lang',v);}catch(e){}save();location.reload();}, - mute:()=>{UI.muted=!UI.muted;try{localStorage.setItem('sot-mute',UI.muted?'1':'0');}catch(e){}renderHUD();}, - closePanel:()=>{UI.sel=null;UI.confirm=null;renderPanel();renderLeft();}, - closeModal:()=>closeModal(), - tab:({t})=>{UI.tab=t;UI.confirm=null;renderPanel();}, - leftTab:({t})=>{UI.left=t;UI.leftOpen=true;renderLeft();}, - netFocus:({id})=>{if(!NET[id])return;$('dash').hidden=true;UI.netFocus=id;UI.nf='all';UI.left='nets';UI.leftOpen=true;UI.sel=null;renderPanel();renderLeft();const b=$('leftBody');if(b)b.scrollTop=0;}, - netFilter:({f})=>{UI.nf=f==='out'?'out':'all';UI.netFocus=null;$('dash').hidden=true;UI.left='nets';UI.leftOpen=true;UI.sel=null;renderPanel();renderLeft();const b=$('leftBody');if(b)b.scrollTop=0;}, - meetGo:({city})=>{if(!isCity(city))return;$('dash').hidden=true;ACT.focusCity({city});if(S.pops[city]){UI.tab='peer';renderPanel();}}, - toggleLeft:()=>{UI.leftOpen=!UI.leftOpen;renderLeft();}, - phoneTab:({t})=>{if(!['goals','deals','noc','nets'].includes(t))return;haptic(8);if(UI.leftOpen&&UI.left===t&&!UI.sel){UI.leftOpen=false;}else{UI.left=t;UI.leftOpen=true;UI.sel=null;renderPanel();}$('left').classList.remove('full');renderLeft();}, - phonePlay:()=>{haptic(10);if(UI.speed){UI.lastSpeed=UI.speed;UI.speed=0;}else UI.speed=UI.lastSpeed||1;renderHUD();}, - phoneSpeed:()=>{haptic(8);const cur=UI.speed||UI.lastSpeed||1,i=SPEEDS.indexOf(cur),n=SPEEDS[(i+1)%SPEEDS.length];UI.speed=n;UI.lastSpeed=n;renderHUD();}, - install:()=>{if(installEvt){installEvt.prompt();installEvt.userChoice.finally(()=>{installEvt=null;});return;} - openModal(pitchHtml(false));}, - pitchSkip:()=>{const p=UI.pendGame;UI.pendGame=null;UI.pitched=true;if(p)beginGame(...p);else closeModal();}, - logOpen:({id})=>{const e=(S.log||[]).find(x=>x.id===id),o=e&&e.o;if(!o)return;$('dash').hidden=true;closeModal(); - if(o.a==='city'&&isCity(o.v)){ACT.focusCity({city:o.v});return;} - if(o.a==='link'){if(S.links.some(l=>l.id===o.v)){ACT.selLink({id:o.v});return;}toast(tr('That link is gone.
It was removed or decommissioned since.'),'');return;} - if(o.a==='cust'){if(S.biz.some(b=>b.id===o.v)){ACT.custGo({id:o.v});return;}toast(tr('That customer is gone.
The contract ended since.'),'');return;} - if(o.a==='bank'){ACT.bank({});return;}if(o.a==='inbox'){ACT.inbox({});return;}if(o.a==='tab'&&LOG_TABS.includes(o.v))ACT.leftTab({t:o.v});}, - logAll:()=>{UI.logAll=!UI.logAll;renderLeft();}, - focusCity:({city})=>{selectCity(city);const C=CITY[city];cam.x=C.x;cam.y=C.y;cam.z=Math.max(cam.z,1.2);if(innerWidth<760)UI.leftOpen=false;renderLeft();}, - selLink:({id})=>selectLink(id), - buildPop:({city})=>{if(S.pops[city])return;const flipNote=CITY[city]&&CITY[city].au;if(cnCity(city)&&!cnOk()){toast(tr('You need a license first.
Foreign networks need a joint venture to build in mainland China.'),'bad');sfx('err');return;}if(!spend(popCost(city)))return;S.pops[city]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false};floater(CITY[city].x,CITY[city].y-30,tr('New POP!'),'#FF4F9A');if(flipNote)toast(pick([tr('Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.',{city:CITY[city].name}),tr('Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.',{city:CITY[city].name})]),'good',[],{a:'city',v:city});UI.tab='cust';after();}, - launchBB:({city})=>{const p=S.pops[city];if(!p||p.bb)return;const C=CITY[city];if(!spend(bbCost(city)))return;p.bb={d:bbStart(city)};floater(C.x,C.y-30,tr('Eyeballs online!'),'#16A866');after();}, - ad:({city})=>{const p=S.pops[city];if(!p||!p.bb)return;if(!spend(8000))return;p.boost=S.day+30;floater(CITY[city].x,CITY[city].y-30,tr('Ad campaign!'),'#FF8A3D');after();}, - buyTransit:({city,net,tier})=>{tier=+tier;if(scnRule('noTransit')){toast(tr('No transit in this scenario.
Peering, PNIs, caches and your own fiber only.'),'bad');sfx('err');return;}if(!S.pops[city]||!NET[net]||!sellsAt(NET[net],city)||!PORT[tier])return;if(!portOk(city,tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}const ex=S.transit.find(t=>t.city===city&&t.net===net);if(ex&&tier<=ex.tier)return;if(!portGate(city,ex?(PORT_SLOT(tier)-PORT_SLOT(ex.tier))*(ex.n||1):PORT_SLOT(tier)))return;if(!spend(PORT[tier].setup*(ex&&ex.n||1)))return;if(ex)ex.tier=tier;else S.transit.push({id:uid(),city,net,tier,down:0});toast(tr('{net} transit is live in {city}.
Full table received: ~1,000,000 routes.',{net:esc(NET[net].name),city:CITY[city].name}),'good');after();}, - lagT:({id,d})=>{d=+d;if(d!==1&&d!==-1)return;const t=S.transit.find(x=>x.id===id);if(!t)return;const n=(t.n||1)+(+d);if(n<1||n>LAG_MAX)return;if(+d>0){if(!portOk(t.city,t.tier)||!portGate(t.city,PORT_SLOT(t.tier)))return;if(!spend(PORT[t.tier].setup))return;}t.n=n;if(n<2&&t.site==='ab')t.site='a';toast(+d>0?tr('LAG member added.
{net} in {city} is now {lag}.',{net:esc(NET[t.net].name),city:CITY[t.city].name,lag:lagName(t.tier,n)}):tr(`LAG member removed.`),'good');after();}, - lagP:({id,d})=>{d=+d;if(d!==1&&d!==-1)return;const p=S.pni.find(x=>x.id===id);if(!p)return;const n=(p.n||1)+(+d);if(n<1||n>LAG_MAX)return;if(d>0&&(!pniOn(p)||p.up||msfNope(p.net,p.city)))return;if(+d>0&&(!portGate(p.city,PORT_SLOT(p.tier))||!spend(1500+PORT[p.tier].setup/2)))return; - // A LAG member is an augment: the big networks take months for that too. - if(d>0){const lead=pniLead(p.net);p.up={tier:p.tier,n,ready:S.day+lead,g1:!!p.g1};toast(tr('Augment ordered with {net}.
{eta}.',{net:esc(NET[p.net].name),eta:pniWhen(lead)}),'good');after();return;}p.n=n;if(n<2&&p.site==='ab')p.site='a';sfx('build');after();}, - lagIx:({city,d})=>{d=+d;if(d!==1&&d!==-1)return;if(!isIx(city)||S.ixp[city]===undefined||S.myIx[city]||!S.pops[ixCity(city)])return;S.ixn=S.ixn||{};const n=(S.ixn[city]||1)+(+d);if(n<1||n>LAG_MAX)return;if(+d>0&&(!portGate(ixCity(city),PORT_SLOT(S.ixp[city]))||!spend(ixPortMo(city,S.ixp[city]))))return;S.ixn[city]=n;if(n<2&&S.ixSite&&S.ixSite[city]==='ab')S.ixSite[city]='a';sfx('build');after();}, - cancelTransit:({id,ok})=>{if(!ok&&UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.transit=S.transit.filter(t=>t.id!==id);UI.confirm=null;after();}, - buyIx:({city,tier,signed})=>{tier=+tier;if(!PORT[tier]||!ixName(city)||(!S.pops[ixCity(city)]&&(!remoteCities().includes(ixCity(city))||tier>1))||(S.ixp[city]!==undefined&&tier<=S.ixp[city]))return;if(S.pops[ixCity(city)]&&!portOk(ixCity(city),tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}{const h0=S.ixp[city]!==undefined;if(!S.myIx[city]&&!portGate(ixCity(city),h0?(PORT_SLOT(tier)-PORT_SLOT(S.ixp[city]))*((S.ixn||{})[city]||1):PORT_SLOT(tier)))return;} - if(isDk(city)&&S.ixp[city]===undefined&&!signed){const dk=dkState();if(dk.stall>S.day){toast(tr('DE-KICKS sales is still "aligning".
They will get back to you in {n} days.',{n:dk.stall-S.day}),'bad');sfx('err');return;}dk.lastQ=dk.lastQ||{};const lq=dk.lastQ[city];dk.q={city,tier,m:lq&&lq.until>S.day?lq.m:dkQuoteMult(),h:lq&&lq.until>S.day?lq.h:0};dk.lastQ[city]={m:dk.q.m,h:dk.q.h,until:S.day+90};dkQuoteModal();return;}const had=S.ixp[city]!==undefined;if(!spend(ixPortMo(city,tier)*(had?((S.ixn||{})[city]||1):1)))return;S.ixp[city]=tier;if(!had)toast(S.pops[ixCity(city)]?tr('Port up at {ix}!
Now request peering, or join the route server.',{ix:esc(ixName(city))}):tr("Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.",{ix:esc(ixName(city))}),'good',[],{a:'city',v:ixCity(city)});after();}, - cancelIx:({city,sure,ok})=>{if(!ok&&UI.confirm!=='ix'+city){UI.confirm='ix'+city;renderPanel();return;} - if(isDk(city)&&!sure){const dk=dkState();if(!dk.retUsed[city]){openModal(`
${tr('DE-KICKS Group · Customer Success')}

${tr('Wait! Before you go…')}

${tr('We value our partnership too much to let a little thing like price get in the way.')}

${tr('Retention offer')}${tr('40% off for 6 months')}

${tr('After that, the normal price returns, plus a small loyalty administration fee.')}

${btn(tr('Stay, take the discount'),'dkStay',{city},'pink')}${btn(tr('Leave anyway'),'cancelIx',{city,sure:1},'ghost')}
`);return;}} - closeModal();if(S.dk){if(S.dk.m[city]){S.dk.lastQ=S.dk.lastQ||{};S.dk.lastQ[city]={m:S.dk.m[city],h:3,until:S.day+365};}delete S.dk.m[city];delete S.dk.add[city];delete S.dk.ret[city];}delete S.ixp[city];delete S.rs[city];if(S.ixn)delete S.ixn[city];for(const k in S.peers)if(k.endsWith('@'+city))delete S.peers[k];UI.confirm=null;after();}, - rs:({city})=>{if(!isIx(city)||S.ixp[city]===undefined)return;S.rs[city]=!S.rs[city];if(S.rs[city])toast(tr('Route server session up.
You now peer with every open network on this IX, in one go.'),'good');sfx('build');after();}, - dkAccept:()=>{const dk=dkState(),q=dk.q;if(!q)return;dk.m[q.city]=q.m;dk.q=null;closeModal();ACT.buyIx({city:q.city,tier:q.tier,signed:true});if(S.ixp[q.city]===undefined)delete dk.m[q.city];else toast(tr(`Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.`),'good');}, - dkHaggle:()=>{const dk=dkState(),q=dk.q;if(!q||q.h>=3)return;q.h++;const r=Math.random(); - if(r<0.45){S.stats.haggleWin=1;q.m=+(q.m*(0.75+Math.random()*0.15)).toFixed(2);dkQuoteModal();toast(tr('"Just this once."
Your account manager found a special discount. Do not tell the others.'),'good');} - else if(r<0.75){q.m=+(q.m*1.1).toFixed(2);dkQuoteModal();toast(tr('"After consulting with management…"
The price went up. Management was consulted.'),'bad');} - else{dk.stall=S.day+5+Math.floor(Math.random()*6);dk.q=null;closeModal();toast(tr('Haggling paused.
{why}',{why:esc(pick(DK_STALL))}),'bad');}}, - dkWalk:()=>{const dk=dkState(),q=dk.q;if(q){dk.lastQ=dk.lastQ||{};dk.lastQ[q.city]={m:q.m,h:q.h,until:S.day+90};if(q.h>0)dk.stall=Math.max(dk.stall||0,S.day+3);}dk.q=null;closeModal();toast(tr('DE-KICKS will "circle back".
Expect an email titled "Quick question 🙂" within the hour.'),'');}, - dkOptOut:({city,n})=>{const dk=dkState(),k='dk'+city+n;if(UI.confirm!==k){UI.confirm=k;renderPanel();return;}dk.add[city]=(dk.add[city]||[]).filter(x=>x.n!==n);UI.confirm=null;S.stats.optouts=(S.stats.optouts||0)+1;toast(tr(`Opted out of {name}.
It took four clicks, a survey and a "we're sad to see you go" page.`,{name:esc(n)}),'good');after();}, - dkStay:({city})=>{S.stats.retained=1;const dk=dkState();dk.ret[city]=S.day+180;dk.retUsed[city]=true;UI.confirm=null;closeModal();toast(tr('40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.',{ix:esc(ixName(city))}),'good');after();}, - teEdit:()=>{if(!S.te)return;UI.teDraft=undefined;teModal();}, - teClose:()=>{const t=$('teSrc');if(t)UI.teDraft=t.value;closeModal();}, - teOpt:()=>{UI.teDraft=teOptimize();teModal();}, - teExample:()=>{UI.teDraft=TE_EXAMPLE;teModal();}, - teSlop:()=>{const t0=performance.now(),a=aiSlop(Math.random()<0.02),secs=Math.max(0.1,(performance.now()-t0)/1000);UI.teDraft=UI.slop=a.src;teModal(`

🤖 ${esc(a.ai)} ${tr('thought for {s} seconds',{s:secs.toFixed(1)})}
${tr(a.say)}

`);sfx('build');}, - teHelp:()=>{const t=$('teSrc');if(t)UI.teDraft=t.value;teHelpModal();}, - teBack:()=>teModal(), - teRecipe:({id})=>{const r=TE_RECIPES.find(x=>x.id===id);if(!r)return;UI.teDraft=r.src().join('\n');teModal(`

${tr('Loaded {name}. Check it, then deploy.',{name:tr(r.n)})}

`);}, - teClear:()=>{S.te.script='';UI.teDraft=undefined;TE_CACHE={src:null,p:null};after();teModal(`

${tr('Script removed. Plain Auto-TE is back in charge.')}

`);}, - teCheck:()=>{const t=$('teSrc');const src=t?t.value:'';UI.teDraft=src;const p=teParse(src);if(p.errors.length){teModal(`
${esc(p.errors.join('\n'))}
`);return;}const r=teTrial(src);teModal(`
${esc(trn('✓ {n} rule OK','✓ {n} rules OK',p.n)+'\n'+tr('served     {a} → {b}',{a:fmtG(r.before.served),b:fmtG(r.after.served)})+'\n'+tr('transit    {a}/mo → {b}/mo',{a:fmt$(r.before.tc),b:fmt$(r.after.tc)})+'\n'+tr('spilled    {g} onto alternate paths',{g:fmtG(r.after.moved)})+(r.after.bh?'\n'+tr('blackholed {g}',{g:fmtG(r.after.bh)}):''))}
`);}, - teDeploy:()=>{const t=$('teSrc');const src=(t?t.value:'').slice(0,4000);UI.teDraft=src;const p=teParse(src);if(p.errors.length){teModal(`
${esc(tr('commit failed')+'\n'+p.errors.join('\n'))}
`);sfx('err');return;}const r=teTrial(src);S.te.script=src;S.te.on=true;TE_CACHE={src:null,p:null};UI.teDraft=undefined;after(); - const drop=r.before.served>1?1-r.after.served/r.before.served:0,saved=r.before.tc>0?1-r.after.tc/r.before.tc:0; - if(drop>0.1&&UI.slop===src){if(drop>0.3)S.stats.fat=1;toast(tr('Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.',{p:pct(drop)}),'bad');sfx('alert');} - else if(drop>0.3){S.stats.fat=1;toast(tr('Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.',{p:pct(drop)}),'bad');sfx('alert');} - else{if(saved>0.1&&drop<0.01)S.stats.kiddie=1;toast(`${tr('Commit complete.')}
${saved>0.01?trn('{n} rule live, transit bill down {p}.','{n} rules live, transit bill down {p}.',p.n,{p:pct(saved)}):trn('{n} rule live.','{n} rules live.',p.n)}`,'good');sfx('build');}closeModal();UI.slop=undefined;checkGoals();}, - buyTE:()=>{if(S.te)return;if(lvl()<3){toast(tr('Auto-TE unlocks at customer level 3.'),'bad');sfx('err');return;}if(!spend(TE_COST))return;S.te={on:true,day:S.day};toast(tr('Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.'),'good');after();}, - teToggle:()=>{if(!S.te)return;S.te.on=!S.te.on;after();}, - trace:({city})=>traceModal(city), - traceRun:()=>{const f=$('trFrom'),t=$('trTo');traceModal(f&&f.value,t&&t.value);}, - traceCopy:()=>{try{navigator.clipboard.writeText(UI.trText||'');toast(tr('Copied. Paste it into your favourite NOC chat.'),'good');}catch(e){}}, - share:()=>shareModal(), - shareDl:()=>shareFile(f=>{if(!f)return;const a=document.createElement('a');a.href=URL.createObjectURL(f);a.download=f.name;document.body.appendChild(a);a.click();setTimeout(()=>{URL.revokeObjectURL(a.href);a.remove();},1000);track('share_download');}), - shareGo:()=>shareFile(f=>{const d={title:'Series of Tubes',text:tr('{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at',{name:S.name,asn:S.asn,tier:tierLabel(),peak:fmtG(S.stats.peak||0)}),url:'https://seriesoftub.es/'};try{if(f&&navigator.canShare&&navigator.canShare({files:[f]}))d.files=[f];navigator.share(d).then(()=>track('share_done')).catch(()=>{});}catch(e){}}), - confGo:({key})=>{S.confReg=S.confReg||{};if(S.confReg[key])return;const cf=upcomingConfs(75).find(x=>x.key===key);if(!cf||cf.day<=S.day)return;if(!spend(CONF_COST))return;S.confReg[key]=true;toast(tr('Registered.
Flights booked, badge printed, business cards ordered in the wrong font.'),'good');after();}, - tutSkip:()=>{S.tut=null;try{localStorage.setItem('sot-tut','1');}catch(e){}renderCoach();}, - addSite:({city})=>{const p=S.pops[city];if(!p||p.site2)return;if(!spend(SITE2_COST))return;p.site2=true;p.site2Day=S.day;toast(tr('Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.',{city:CITY[city].name,b:esc(siteName(city,'b')),a:esc(siteName(city,'a'))}),'good');sfx('build');after();}, - rmSite:({city})=>{const p=S.pops[city];if(!p||!p.site2)return;if(UI.confirm!=='site'+city){UI.confirm='site'+city;renderPanel();return;}UI.confirm=null;p.site2=0;p.sdown=null;p.ringcut=0;for(const t of S.transit)if(t.city===city)t.site='a';for(const x of S.pni)if(x.city===city)x.site='a';for(const x of S.caches)if(x.city===city)x.site='a';if(S.ixSite)for(const x of ixIdsIn(city))delete S.ixSite[x];after();}, - siteSet:({k,id,s})=>{if(!['a','b','ab'].includes(s))return; - const o=k==='t'?S.transit.find(x=>x.id===id):k==='p'?S.pni.find(x=>x.id===id):null;if(k!=='ix'&&!o)return;if(k==='ix'&&(!isIx(id)||S.ixp[id]===undefined||!S.pops[ixCity(id)]))return; - if(k==='ix'&&S.myIx[id]){S.ixSite=S.ixSite||{};S.ixSite[id]=s;after();return;} - const n=()=>k==='ix'?((S.ixn||{})[id]||1):(o.n||1); - if(s==='ab'&&n()<2){const before=n();if(k==='t')ACT.lagT({id,d:1});else if(k==='p')ACT.lagP({id,d:1});else ACT.lagIx({city:id,d:1});if(n()<2||n()===before)return;toast(tr(`Second LAG member added.
One member in each building now, so a dark building only takes out half the port.`),'good');} - if(k==='ix'){S.ixSite=S.ixSite||{};S.ixSite[id]=s;}else o.site=s;after();}, - peer:({city,net})=>{if(!isIx(city)||!isNet(net)||S.ixp[city]===undefined||!ixMembers(city).includes(net))return;const r=peerOk(net,'ix',city);if(!r.ok){toast(tr('{net} declined.
{why}',{net:esc(NET[net].name),why:esc(r.why)}),'bad');sfx('err');return;}S.peers[net+'@'+city]=true; - toast(`${tr('{net} accepted!',{net:esc(NET[net].name)})}
${NET[net].pol==='selective'?tr('They checked your PearingDB page and liked the traffic numbers.'):tr('BGP session established.')}`,'good');sfx('build');after();}, - unpeer:({city,net})=>{delete S.peers[net+'@'+city];after();}, - peerAll:({city})=>{if(!isIx(city)||S.ixp[city]===undefined)return;const set=ixSessions(city);let n=0;for(const id of ixMembers(city))if(!set.has(id)&&peerOk(id,'ix',city).ok){S.peers[id+'@'+city]=true;n++;}if(!n)return;toast(trn('{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.','{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.',n,{ix:esc(ixName(city))}),'good',[],{a:'city',v:ixCity(city)});sfx('build');after();}, - tailTog:()=>{UI.tailOpen=!UI.tailOpen;renderLeft();}, - pni:({city,net,tier})=>{tier=+tier;const g1=tier===-1;if(g1){if(!pniG1(net))return;tier=0;}if(!S.pops[city]||!NET[net]||!NET[net].pops.includes(city)||!PORT[tier])return;if(!portOk(city,tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}const r=peerOk(net,'pni',city);if(!r.ok){toast(tr('{net} declined the PNI.
{why}',{net:esc(NET[net].name),why:esc(r.why)}),'bad');sfx('err');after();return;} - if(!g1&&tier{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.',{net:esc(NET[net].name),port:PORT[tier].n}),'bad');sfx('err');return;} - const ex=S.pni.find(p=>p.city===city&&p.net===net);if(ex&&(g1||!pniOn(ex)||ex.up))return;if(ex&&!(ex.g1&&tier===0)&&tier<=ex.tier)return; - const cost=g1?PNI_G1_COST:(1500+PORT[tier].setup/2)*(ex&&ex.n||1);if(!portGate(city,ex?(PORT_SLOT(tier)-PORT_SLOT(ex.tier))*(ex.n||1):PORT_SLOT(tier)))return;if(!spend(cost))return;if(S.conf&&S.conf.until>S.day)S.stats.beerPni=1; - // Nothing is instant: a cross-connect takes weeks, and the big networks quote months for a new PNI or an augment. - const lead=pniLead(net);if(ex)ex.up={tier,n:ex.n||1,ready:S.day+lead,g1:false};else S.pni.push({id:uid(),city,net,tier,g1:g1||undefined,ready:S.day+lead}); - toast(tr('PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.',{net:esc(NET[net].name),eta:pniWhen(lead),dc:esc(siteName(city,'a'))}),'good');after();}, - pniChase:({id})=>{const p=S.pni.find(x=>x.id===id);if(!p||(pniOn(p)&&!p.up))return;const r=Math.random(); - if(r<0.15){if(p.up)p.up.ready=Math.max(S.day+1,p.up.ready-30);else p.ready=Math.max(S.day+1,p.ready-30);toast(tr('Your account manager found the order under a desk.
It is a month closer.'),'good');} - else toast(pick([tr('“It is with the provisioning team.”
Nobody has ever met the provisioning team.'),tr('“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.'),tr('Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.'),tr('“Could you resend the LOA?”
You have sent it four times.'),tr('Your account manager is on paternity leave.
His replacement is also on paternity leave.')]));after();}, - inbox:()=>{inboxModal();}, - inboxAct:({id,a})=>{if(!['accept','decline','raise','keep'].includes(a))return;ibxAnswer(+id,a);after();inboxModal();}, - inboxAll:({a})=>{if(a!=='accept'&&a!=='decline')return;const I=ibx();for(const x of I.items.filter(x=>x.k==='req'))ibxAnswer(x.id,a,true);after();inboxModal();}, - inboxBot:({on})=>{const I=ibx();if(+on){if(I.bot||!spend(AI_MO))return;I.bot=true;ibxLog(N_('Hello! I am Large Peering Model. I have read your inbox and I already have opinions.'),{});toast(tr('Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.',{price:fmt$(20e6)}),'good');}else{I.bot=false;toast(tr('The AI is gone.
It left a 40-page handover document. It is mostly about itself.'));}after();inboxModal();}, - cancelPni:({id,ok})=>{if(!ok&&UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.pni=S.pni.filter(p=>p.id!==id);UI.confirm=null;after();}, - cache:({city,net})=>{const n=NET[net];if(!n||!n.cache||!S.pops[city])return;if((R.demTo[net]||0){net} says not yet.
Send them {min}+ Gbps first.',{net:esc(n.name),min:n.cache.min}),'bad');sfx('err');return;}if(!portGate(city,1))return; - {const hv=S.caches.filter(x=>x.city===city&&x.net===net),nb=hv.filter(x=>x.site==='b').length;S.caches.push({id:uid(),city,net,site:S.pops[city].site2&&nb{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.',{cache:esc(n.cache.name),city:CITY[city].name,net:esc(n.name),mo:fmt$(CACHE_MO)}),'good');sfx('build');after();}, - rmCache:({id})=>{S.caches=S.caches.filter(c=>c.id!==id);after();}, - // Move one of a CDN's boxes to the other building (#69), so a dark building only takes out part of the cache. - cacheSite:({city,net,s})=>{if(s!=='a'&&s!=='b'||!S.pops[city]||!S.pops[city].site2)return;const x=S.caches.find(c=>c.city===city&&c.net===net&&(c.site==='b'?'b':'a')!==s);if(!x)return;x.site=s;sfx('click');after();}, - advertise:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||l.ready>S.day)return;if(S.offers.some(o=>o.link===l.id))return; - const t=freeCh(l)>=1?'wwave':pairFree(l)?'dfpair':null;if(!t){toast(tr('Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.'),'bad');sfx('err');return;} - const T=BIZ_T[t],nm=()=>{const list=T.names.filter(n=>!S.usedNames.includes(n)),n=list.length?pick(list):pick(T.names);S.usedNames.push(n);return n;}; - // A capacity broker finds a buyer at once and keeps 10% of the monthly price. - const o=fiberOffer(t,l,nm,0.9);o.broker=true;S.offers.push(o);toast(tr('Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.',{name:esc(o.name),what:esc(o.what)}),'good');sfx('click');after();}, - accept:({id})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!bHas(o)){toast(tr('You need a POP in every city on the contract first.'),'bad');return;} - if(o.type==='wwave'){const l=S.links.find(x=>x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)Not enough free channels on that fiber any more.'),'bad');return;}} - if(BIZ_T[o.type].event&&S.day>=o.start){toast(tr('Too late: the event has already started.'),'bad');return;} - // A carrier renting more alien waves on a fiber it already rents grows its contract, like a real order for extra waves, - // instead of a new customer for every few waves (a big fiber business otherwise fills the save with tiny contracts). - const more=o.type==='wwave'&&S.biz.find(b=>b.type==='wwave'&&b.link===o.link&&b.name===o.name); - if(more){const l=S.links.find(x=>x.id===o.link);S.offers=S.offers.filter(x=>x!==o);more.slots=(more.slots||0)+(o.slots||0);more.rate+=o.rate;if(l)more.what=wwWhat(l,more.slots); - floater(CITY[o.city].x,CITY[o.city].y-30,tr('Signed!'),'#16A866');sfx('coin');after();return;} - S.offers=S.offers.filter(x=>x!==o);S.biz.push({id:o.id,city:o.city,city2:o.city2||null,reqs:o.reqs||[],latMax:o.latMax||null,route:BIZ_T[o.type].scenic?'scenic':BIZ_T[o.type].lat?'fast':'normal',name:o.name,type:o.type,bw:o.bw,rate:o.rate,mood:100,since:S.day,sites:o.sites||null,start:o.start,dur:o.dur,fee:o.fee,link:o.link,slots:o.slots||0,what:o.what,prov:o.prov}); - floater(CITY[o.city].x,CITY[o.city].y-30,tr('Signed!'),'#16A866');sfx('coin');after();}, - decline:({id})=>{S.offers=S.offers.filter(x=>x.id!==id);after();}, - dropBiz:({id})=>{const b0=S.biz.find(x=>x.id===id);if(!b0)return;if(BIZ_T[b0.type].event&&S.day>=b0.start){toast(tr('The event is already running.
The organisers will not let you walk out now.'),'bad');sfx('err');return;}if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.biz=S.biz.filter(b=>b.id!==id);UI.confirm=null;after();}, - upLink:({id,tier})=>{tier=+tier;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='wave'||!LT[tier]||tier<=l.tier)return;{const w=subWaveWhy(tier,l.km,l.sub);if(w){toast(tr('No {wave} waves on this cable.
{why}',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}if(!waveOk(l.a,l.b,tier)){toast(tr('A {wave} wave needs {need} at both ends.',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;}const nm=Math.round(waveMo(l.km,l.sub,tier)*(l.mult||1));if(!spend(nm))return;l.mo=nm;l.tier=tier;after();}, - decomOpen:({city})=>{UI.decom=new Set(city&&S.pops[city]?[city]:[]);decomModal();}, - decomToggle:({city})=>{if(!S.pops[city])return;UI.decom=UI.decom||new Set();if(UI.decom.has(city))UI.decom.delete(city);else UI.decom.add(city);decomModal();}, - decomGo:()=>{const sel=[...(UI.decom||[])].filter(c=>S.pops[c]);if(!sel.length||sel.length>=Object.keys(S.pops).length)return;closeModal();UI.decom=null;UI.sel=null;decommission(sel);sfx('alert');after();}, - rmLink:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}{const l=S.links.find(x=>x.id===id),back=cabBack(l);if(back>0){S.cash+=back;toast(tr('{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.',{name:esc(l.cname||tr('Your cable')),price:fmt$(back)}),'good');}}S.links=S.links.filter(l=>l.id!==id);UI.sel=null;UI.confirm=null;after();}, - fixInc:({id})=>{const i=S.inc.find(x=>x.id===id);if(!i||!(i.cost>0))return;if(i.slow&&i.rushed)return;if(!spend(i.cost))return; - if(i.slow&&i.until>S.day+1){i.rushed=true;i.cost=0;i.until=S.day+1;const p=S.pops[i.ref];if(p)p.down=Math.min(p.down,S.day+1);toast(tr('Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.',{city:esc(CITY[i.ref].name),chip:esc(RG[(p&&p.rgen)||0].chip)}),'good');after();return;}clearInc(i);toast(tr('Fixed. {what} resolved early.',{what:incTitle(i.type)}),'good');after();}, - myIxUp:({city})=>{const m=S.myIx[city];if(!m)return;const f=(m.fab|0)+1,N=MYIX_FAB[f];if(!N)return;if(N.lvl>lvl()){toast(tr('A {fab} fabric unlocks at customer level {lv}.',{fab:N.n,lv:N.lvl}),'bad');sfx('err');return;}if(!spend(N.cost))return;m.fab=f;toast(tr('{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.',{ix:esc(m.name),fab:N.n,max:N.max}),'good');m.next=Math.min(m.next,S.day+3);after();}, - foundIx:({city})=>{if(!S.pops[city]||S.myIx[city]||CITY[city].ix||CITY[city].cn)return;if(!spend(MYIX_COST))return;const nm=(S.name.split(' ')[0]||'My').replace(/[^A-Za-z0-9]/g,'').slice(0,10)+'-IX '+CITY[city].name; - S.myIx[city]={name:nm,members:[],next:S.day+4};S.ixp[city]=2;toast(tr('You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.',{ix:esc(nm)}),'goal');after();}, - buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p)return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); - if((cnCity(a)||cnCity(b))&&!cnOk())return; - if(!waveOk(a,b,tier)){toast(tr('A {wave} wave needs {need} at both ends.',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;} - const wr=waveRoute(a,b,mult,border);if(!wr){toast(tr('No cable available for that route right now.'),'bad');sfx('err');return;} - {const so=soldOut(a,b,tier,wr.cab);if(so){toast(tr('No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.',{wave:LT[tier].n,why:tr(so.why),n:Math.max(1,so.until-S.day)}),'bad');sfx('err');return;}}{const w=subWaveWhy(tier,wr.km,wr.sub);if(w){toast(tr('No {wave} waves on this cable.
{why}',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}const base=Math.round(waveMo(wr.km,wr.sub,tier)*wr.wm),cost=base+(S.pops[b]?0:popCost(b)); - if(!portGate(a,1)||!portGate(b,1))return;if(!spend(cost))return;if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false}; - const id=uid();const l={id,a,b,kind:'wave',border,premium:border&&!!UI.cnPrem&&(a==='hkg'||b==='hkg'),tier,km:wr.km,sub:wr.sub,cable:wr.cab,mo:base,mult:wr.wm,trench:wr.cab?'cab:'+wr.cab:(jn?jn.k:id),cut:0,day:S.day};S.links.push(l);closeModal(); - if(sib.length){UI.sel={type:'link',id};}else{UI.sel={type:'city',id:b};UI.tab='cust';} - floater((CITY[a].x+CITY[a].x+wrapDx(CITY[a].x,CITY[b].x))/2,(CITY[a].y+CITY[b].y)/2-20,tr('{wave} lit!',{wave:LT[tier].n}),'#FF4F9A');after();}, - buyNni:({city,prov,tier})=>{tier=+tier;if(!NNI[tier]||!isCity(city)||!own(FAB,prov)||!FAB[prov].cities.includes(city)||!S.pops[city])return;const ex=nniPort(city,prov);if(ex&&tier<=ex.tier)return;if(!ex&&!portGate(city,1))return;if(ex&&nniUsed(city,prov)>NNI[tier].g){toast(tr('Too many circuits for a smaller port.'),'bad');return;}if(!spend(NNI[tier].mo))return;if(ex)ex.tier=tier;else S.nni.push({id:uid(),city,prov,tier});toast(tr('{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.',{fab:esc(FAB[prov].name),city:CITY[city].name}),'good');after();}, - rmNni:({city,prov})=>{if(nniUsed(city,prov)>0){toast(tr('Cancel the circuits on this port first.'),'bad');sfx('err');return;}S.nni=S.nni.filter(x=>!(x.city===city&&x.prov===prov));after();}, - openVxc:(a)=>openVxcModal(a), - buyVxc:({a,b,prov,t})=>{t=+t;const g=VXC[t].g,pa=nniPort(a,prov);if(!pa||nniUsed(a,prov)+g>NNI[pa.tier].g){toast(tr('Not enough room on your fabric port. Upgrade it first.'),'bad');sfx('err');return;} - if(S.pops[b]){const pb=nniPort(b,prov);if(!pb||nniUsed(b,prov)+g>NNI[pb.tier].g){toast(tr('Not enough room on your {fab} port in {city}.',{fab:esc(FAB[prov].name),city:CITY[b].name}),'bad');sfx('err');return;}} - const km=kmBetween(a,b),sub=isSub(a,b),mo=vxcMo(km,sub,t);if(!spend(mo))return;S.links.push({id:uid(),a,b,kind:'vxc',prov,vt:t,km,sub,mo,cut:0,day:S.day});closeModal(); - toast(tr('Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.',{vxc:VXC[t].n,fab:esc(FAB[prov].name),a:CITY[a].name,b:CITY[b].name})+(S.pops[b]?'':' '+tr('Now grab an IX port there for remote peering.')),'good');if(!S.pops[b])selectCity(b);after();}, - upVxc:({id,t})=>{t=+t;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='vxc'||!VXC[t]||t<=l.vt)return;const extra=VXC[t].g-VXC[l.vt].g;for(const c of [l.a,l.b]){const pt=nniPort(c,l.prov);if(pt&&nniUsed(c,l.prov)+extra>NNI[pt.tier].g){toast(tr('Fabric port in {city} is full.',{city:CITY[c].name}),'bad');sfx('err');return;}}const mo=vxcMo(l.km,l.sub,t);if(!spend(mo))return;l.vt=t;l.mo=mo;after();}, - cancelVxc:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.links=S.links.filter(l=>l.id!==id);const rem=remoteCities();for(const c in S.ixp){if(!S.pops[ixCity(c)]&&!rem.includes(ixCity(c))){delete S.ixp[c];delete S.rs[c];for(const k in S.peers)if(k.endsWith('@'+c))delete S.peers[k];}}UI.sel=null;UI.confirm=null;after();}, - setPref:({kind,id,v})=>{if(!own(PREF,v))return;if(kind!=='t'&&kind!=='p'&&!(isIx(id)&&S.ixp[id]!==undefined))return;if(kind==='t'){const t=S.transit.find(x=>x.id===id);if(t)t.pref=v;}else if(kind==='p'){const x=S.pni.find(y=>y.id===id);if(x)x.pref=v;}else{S.ixPref=S.ixPref||{};S.ixPref[id]=v;}sfx('click');after();}, - setMetric:({id,v})=>{if(!own(MET,v))return;const l=S.links.find(x=>x.id===id);if(!l)return;for(const x of pairLinks(l.a,l.b))x.metric=v;sfx('click');after();}, - goEgress:({city,k})=>{ACT.focusCity({city});UI.tab=k==='t'?'up':k==='l2'?'cust':k==='nni'?'links':'peer';renderPanel();}, - custGo:({id})=>{const b=S.biz.find(x=>x.id===id);if(!b)return;$('dash').hidden=true;ACT.focusCity({city:b.city});UI.tab='cust';renderPanel();}, - listMore:({k})=>{if(k!=='conn'&&k!=='cust')return;UI.listN=UI.listN||{};UI.listN[k]=listN(k)+LIST_PAGE;renderDash();}, - custF:({v})=>{UI.kf=UI.kf||{};UI.kf.f=v==='sad'?'sad':'';listReset('cust');renderDash();}, - custCity:({v})=>{UI.kf=UI.kf||{};UI.kf.city=isCity(v)?v:'';listReset('cust');renderDash();}, - custSort:({k})=>{if(!['mood','mo','name','city'].includes(k))return;listReset('cust');if(UI.custSort===k)UI.custDir=-(UI.custDir||1);else{UI.custSort=k;UI.custDir=k==='mo'?-1:1;}renderDash();}, - custOpen:({sad}={})=>{if(!S)return;UI.kf=sad?{f:'sad'}:{};listReset('cust');UI.dtab='cust';const d=$('dash');d.hidden=false;renderDash();d.scrollTop=0;}, - goConn:({city,k})=>{if(!isCity(city)||!own(CONN_K,k))return;$('dash').hidden=true;ACT.goEgress({city,k});}, - connF:({f,v})=>{const F=UI.cf=UI.cf||{};listReset('conn');if(f==='all'){UI.cf={};}else if(f==='k'){F.k=own(CONN_K,v)?v:'';}renderDash();}, - connCity:({v})=>{UI.cf=UI.cf||{};listReset('conn');UI.cf.city=isCity(v)?v:'';renderDash();}, - connNet:({v})=>{UI.cf=UI.cf||{};listReset('conn');UI.cf.net=NET[v]?v:'';renderDash();}, - connSort:({k})=>{if(!['k','city','name','use','mo'].includes(k))return;listReset('conn');if(UI.connSort===k)UI.connDir=-(UI.connDir||1);else{UI.connSort=k;UI.connDir=k==='use'||k==='mo'?-1:1;}renderDash();}, - connFor:({net})=>{if(!NET[net])return;UI.cf={net};ACT.connOpen();}, - connCancel:({k,id})=>{const r=conns().find(x=>x.k===k&&x.id===id);if(!r||r.mine)return;const key='cc:'+k+':'+id;if(UI.confirm!==key){UI.confirm=key;renderDash();return;}UI.confirm=null; - if(k==='t')ACT.cancelTransit({id,ok:1});else if(k==='p')ACT.cancelPni({id,ok:1});else if(k==='ix')ACT.cancelIx({city:id,ok:1});else if(k==='c')ACT.rmCache({id});else{const [city,prov]=id.split('|');ACT.rmNni({city,prov});}renderDash();}, - connOpen:()=>{if(!S)return;UI.dtab='conn';listReset('conn');const d=$('dash');d.hidden=false;renderDash();d.scrollTop=0;}, - applyCn:()=>{if(S.cnLic.state!=='none')return;if(!spend(CN_LIC))return;S.cnLic={state:'pending',ready:S.day+45};toast(tr('Application filed.
Your local partner says about 45 days. Probably.'),'goal');after();}, - togglePrem:({id})=>{const t=S.transit.find(x=>x.id===id);if(!t)return;t.premium=!t.premium;sfx('click');after();}, - buildScrub:({city,tier})=>{if(!S.pops[city]||S.scrubs.some(x=>x.city===city))return;const T=SCRUB_TIERS[tier||0];if(!T)return;if((lvl()||1){tier} scrubbing unlocks at customer level {lv}.',{tier:T.n,lv:T.lvl}),'bad');sfx('err');return;}if(!spend(T.cost))return;if(!hasScrub())S.scrubMode='always';S.scrubs.push({city,tier:tier||0});toast(tr('{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.',{tier:T.n,city:CITY[city].name,g:fmtG(T.g)}),'good');after();}, - scrubUp:({city,tier})=>{const x=S.scrubs.find(q=>q.city===city);tier=+tier;if(!x||!SCRUB_TIERS[tier]||tier<=(x.tier||0))return;const T=SCRUB_TIERS[tier];if((lvl()||1){tier} scrubbing unlocks at customer level {lv}.',{tier:T.n,lv:T.lvl}),'bad');sfx('err');return;}if(!spend(Math.round(T.cost*0.6)))return;x.tier=tier;toast(tr('Scrubbing upgraded to {tier}.',{tier:T.n}),'good');after();}, - scrubMode:()=>{if(!hasScrub())return;S.scrubMode=S.scrubMode==='ondemand'?'always':'ondemand';sfx('click');after();}, - rmScrub:({city})=>{if(!S.scrubs.some(x=>x.city===city))return;if(UI.confirm!=='scrub:'+city){UI.confirm='scrub:'+city;renderAll();return;}S.scrubs=S.scrubs.filter(x=>x.city!==city);if(!hasScrub())S.scrubMode='always';UI.confirm=null;after();}, - cleanPipe:({id})=>{const t=S.transit.find(x=>x.id===id);if(!t)return;t.clean=!t.clean;toast(t.clean?tr('Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.',{net:NET[t.net].name,mo:fmt$(cleanMo(t))}):tr('Clean-pipe add-on removed from {net}.',{net:NET[t.net].name}),t.clean?'good':'');after();}, - sacrif:({id})=>{const p=S.pni.find(x=>x.id===id);if(!p)return;p.sacrif=!p.sacrif;toast(p.sacrif?tr('{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.',{net:NET[p.net].name}):tr('{net} PNI is back to normal.',{net:NET[p.net].name}),p.sacrif?'good':'');after();}, - ixbh:()=>{const a=S.ev.ddos;if(!a){toast(tr('No attack to blackhole right now.'),'');return;}if(!hasIxAt(a.city)){toast(tr('No IX in {city} to announce a blackhole to.',{city:CITY[a.city].name}),'bad');sfx('err');return;}a.ixbh=!a.ixbh;toast(a.ixbh?tr('IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.',{city:CITY[a.city].name}):tr('IX blackhole withdrawn.'),a.ixbh?'good':'');sfx('alert');after();}, - rtbh:()=>{const a=S.ev.ddos;if(!a){toast(tr('No attack to blackhole right now.'),'');return;}a.bh=true;S.stats.rtbh=(S.stats.rtbh||0)+1;toast(tr('RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.',{city:CITY[a.city].name}),'bad');sfx('alert');after();}, - unrtbh:()=>{const a=S.ev.ddos;if(!a||!a.bh)return;a.bh=false;toast(tr('Blackhole withdrawn.
{city} is reachable again. Brace for the junk.',{city:CITY[a.city].name}),'');after();}, - hackback:()=>{const a=S.ev.ddos;if(!a||a.until<=S.day){toast(tr('Nothing to hack back right now.'),'');return;}if(!spend(20000))return;S.stats.hackback=(S.stats.hackback||0)+1; - if(Math.random()<0.35){a.until=S.day;a.bh=false;S.stats.hackWin=(S.stats.hackWin||0)+1;toast(tr('HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.',{city:CITY[a.city].name}),'goal');sfx('coin');} - else{const fine=15000+Math.floor(Math.random()*35000);S.cash-=fine;S.stats.vigilante=(S.stats.vigilante||0)+1; - toast(tr('HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.',{who:pick([tr("Skynot AI flattened a grandma's internet-connected fridge."),tr('You counter-flooded a hospital in a country you cannot pronounce.'),tr('The botnet was already someone else’s botnet. They are furious.')]),fine:fmt$(fine)}),'bad');sfx('err');} - after();}, - cnPrem:({v})=>{UI.cnPrem=!!+v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - via:({v})=>{UI.via=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - setRoute:({id,m})=>{if(!own(RT,m))return;const b=S.biz.find(x=>x.id===id);if(b){b.route=m;sfx('click');after();}}, - route:({r})=>{UI.route=r;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - addParallel:({id})=>{const l=S.links.find(x=>x.id===id);if(l)openLinkModal(l.a,l.b);}, - addRouter:({city})=>{const p=S.pops[city];if(!p||(p.routers||1)>=RMAX)return;if(!spend(routerCost(p.rgen||0)))return;p.routers=(p.routers||1)+1;floater(CITY[city].x,CITY[city].y-30,tr('Router added'),'#FF4F9A');after();}, - models:()=>{UI.models=!UI.models;renderPanel();}, - rmRouter:({city})=>{const p=S.pops[city];if(!p||(p.routers||1)<=1)return;if(portsUsed(city)>portsMax(city,undefined,p.routers-1)){toast(tr('Unplug something first.
{used} ports are in use, and one router fewer only has {max}.',{used:fmtPorts(portsUsed(city)),max:portsMax(city,undefined,p.routers-1)}),'bad');sfx('err');return;}p.routers--;{const back=tradeIn(p.rgen||0,1);if(back>0){S.cash+=back;toast(tr('Sold a {model} on eBuy.
{price} back.',{model:esc(RG[p.rgen||0].n),price:fmt$(back)}),'good');}}after();}, - upRouter:({city,g})=>{const p=S.pops[city];if(!p)return;g=g===undefined?mainRG(RG[p.rgen||0].cls+1):+g;if(!RG[g]||g===(p.rgen||0))return;{const why=modelFits(city,g);if(why){toast(tr("The {model} won't fit.
{why}",{model:esc(RG[g].n),why:esc(why)}),'bad');sfx('err');return;}}if(RG[g].lvl>lvl()){toast(tr('{model} unlocks at customer level {lv}.',{model:esc(RG[g].n),lv:RG[g].lvl}),'bad');sfx('err');return;} - const rt=p.routers||1,old=p.rgen||0;if(p.rupDay===S.day){toast(tr('The new routers in {city} are still being racked.
One swap a day: try again tomorrow.',{city:CITY[city].name}),'bad');sfx('err');return;}const back=tradeIn(old,rt);if(!spend(swapCost(city,g)))return;p.rgen=g;p.rupDay=S.day;if(back>0)toast(tr('Sold the old {model} on eBuy.
{price} back toward the new gear.',{model:esc(RG[old].n),price:fmt$(back)}),'good'); - if(rt===1&&popIdle(city))toast(tr('New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.',{city:CITY[city].name}),'good'); - else if(rt===1){const sl=slowBoot(city),dd=sl?3:1;p.down=Math.max(p.down||0,S.day+dd);addInc({type:'maint',ref:city,until:S.day+dd,msg:sl?tr('Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.',{city:CITY[city].name,model:RG[g].n,how:pick(SLOW_BOOT),n:dd}):tr('Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.',{city:CITY[city].name,model:RG[g].n}),cost:0});toast(`${tr('Maintenance window in {city}',{city:CITY[city].name})}
${sl?tr('One router, and this one takes forever to boot. Back in {n} days.',{n:dd}):tr('One router means downtime during the swap. Back tomorrow.')}`,'bad');} - else toast(tr('Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.',{city:CITY[city].name,n:rt,model:esc(RG[g].n)}),'good'); - floater(CITY[city].x,CITY[city].y-30,RG[g].n+'!','#FF4F9A');after();}, - dfMode:({m})=>{UI.lmode=m;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - seaPackage:({k})=>{if(!own(SUB_UPGRADES,k))return;UI['sea'+k]=!UI['sea'+k];if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - subUpgrade:({id,k})=>{const l=S.links.find(l=>l.id===id);if(!l||l.kind!=='df'||!l.own||!l.sub||!own(SUB_UPGRADES,k)||lvl()<4||l['sub'+k]!==undefined)return;if(!spend(subUpgradeCost(l,k)))return;l.paid=(l.paid>0?l.paid:ownCabCost(l.km))+subUpgradeCost(l,k);l['sub'+k]=Math.max(S.day,l.ready||0)+SUB_UPGRADES[k].days;after();}, - seaDesign:({v})=>{if(!own(SEA_DESIGNS,v))return;UI.seaDesign=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - ownCab:()=>{UI.lmode='df';UI.dfSrc='cable';UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - dfSrc:({v})=>{UI.dfSrc=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - dfSys:({v})=>{UI.dfSys=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, - orderCable:()=>{const p=UI.pending;if(!p)return;const {a,b}=p;if(ownCabWhy(a,b))return;const design=own(SEA_DESIGNS,UI.seaDesign)?UI.seaDesign:'standard',up={terminal:!!UI.seaterminal,engineering:!!UI.seaengineering},q=seaQuote(a,b,design,up),km=q.km,cost=q.cost+(S.pops[b]?0:popCost(b));if(seaLack(km,up).length||!spend(cost))return; - if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0}; - const used=new Set(S.links.map(l=>l.cname).filter(Boolean)),cname=OWNCAB_NAMES.find(n=>!used.has(n))||`${pick(OWNCAB_NAMES)} ${used.size+1}`,ship=pick(OWNCAB_SHIPS),id=uid(),days=q.days; - S.links.push({id,a,b,kind:'df',own:true,sub:true,seaDesign:design,seaPath:q.pts.map(p=>p.slice()),sys:'roadm',ch:[],km,cable:null,cname,mo:Math.round(km*OWNCAB_OM),trench:'own:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:1}); - const laid=S.links[S.links.length-1];laid.paid=q.cost;for(const k of Object.keys(SUB_UPGRADES))if(up[k])laid['sub'+k]=laid.ready;UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false; - S.stats.ownCab=(S.stats.ownCab||0)+1;UI.dfSrc='lease';closeModal();UI.sel={type:'link',id}; - toast(tr('The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.',{ship,name:cname,km:km.toLocaleString(),a:CITY[a].name,b:CITY[b].name,n:days}),'goal');sfx('build');after();}, - orderDf:()=>{const p=UI.pending;if(!p)return;const {a,b}=p;if(!dfAllowed(a,b))return;const sc=isSub(a,b)?subDfCable(a,b):null,km=sc?sc.km:kmBetween(a,b); - const own=UI.dfSrc==='build'&&lvl()>=3&&!sc,sys=DF_SYS[UI.dfSys]&&DF_SYS[UI.dfSys].lvl<=lvl()?UI.dfSys:'lite';if(lvl()<2)return; - const up=(own?dfBuildCost(km):0)+DF_SYS[sys].cost+ampCount(km)*AMP_COST+(S.pops[b]?0:popCost(b));if(!spend(up))return; - if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0}; - const sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),id=uid(); - const l={id,a,b,kind:'df',own,sys,ch:[],km,sub:!!sc,cable:sc?sc.cid:null,mo:own?Math.round(km*0.15):dfLeaseMo(km),trench:sc?'cab:'+sc.cid:id,cut:0,day:S.day,ready:S.day+(own?dfBuildDays(km):30),spares:false}; - S.links.push(l);closeModal();UI.sel={type:'link',id}; - toast(own?tr('Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.',{a:CITY[a].name,b:CITY[b].name,n:dfBuildDays(km)}):tr('Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.',{a:CITY[a].name,b:CITY[b].name}),'goal');after();}, - regen:({id,d})=>{d=+d;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||l.sub||(d!==1&&d!==-1))return;const n=(l.regen|0)+d;if(n<0||n>REGEN_MAX)return; - if(d<0&&(l.ch||[]).some(o=>!optMode(o,{km:l.km,regen:n}))){toast(tr('Those optics need the regen site.
Remove the long-haul channels first, or keep the site.'),'bad');sfx('err');return;} - if(d>0&&!spend(REGEN_COST+Math.round((l.ch||[]).reduce((a,c)=>a+optCost(c),0)*REGEN_CH)))return;l.regen=n;toast(d>0?tr('Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.',{n,a:CITY[l.a].name,b:CITY[l.b].name,km:spanKm(l).toLocaleString()}):tr('Regen site removed.'),'good');sfx('build');after();}, - addCh:({id,o})=>{const l=S.links.find(x=>x.id===id),O=OPT[o];if(!l||!O||l.kind!=='df')return;const why=chWhy(l,o);if(why){toast(tr("Can't add {optic}.
{why}",{optic:O.n,why:esc(why)}),'bad');sfx('err');return;}if(!portGate(l.a,1)||!portGate(l.b,1))return;const sp=spareN(o)>0;if(!spend(chCost(l,o)))return;if(sp)S.spares[o]--;(l.ch=l.ch||[]).push(o);floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,`+${O.n}`,'#FF4F9A');after();}, - rmCh:({id,o})=>{const l=S.links.find(x=>x.id===id);if(!l||!OPT[o])return;const i=(l.ch||[]).lastIndexOf(o);if(i<0)return;l.ch.splice(i,1);S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,tr('{optic} to spares',{optic:OPT[o].n}),'#7B61FF');after();}, - hwLock:()=>{if(hwLock())return;const c=hwLockCost();if(!spend(c))return;S.hw=S.hw||{};S.hw.lock={until:S.day+HW_LOCK_DAYS,mul:hwTrend(S.day)};toast(tr('Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.',{date:dateStr(S.hw.lock.until)}),'good');after();}, - buySpare:({o})=>{if(!OPT[o]||OPT[o].lvl>lvl()||spareN(o)>=64)return;if(!spend(optCost(o)))return;S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;sfx('build');after();}, - sellSpare:({o})=>{if(!OPT[o]||spareN(o)<1)return;S.spares[o]--;const v=spareValue(o);S.cash+=v;toast(tr('Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.',{optic:OPT[o].n,price:fmt$(v),p:pct(SPARE_RESALE)}),'good');sfx('coin');after();}, - addPair:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||!isRdm(l.sys)||l.ready>S.day)return;const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return;if((l.ch||[]).length+soldSlots(l)Fill this pair first.
Light all {max} channels before you light another fiber pair.',{max:chMax(l)}),'bad');sfx('err');return;}if(!spend(pairCost(l)))return;l.pairs=n+1;toast(tr('Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.',{n:n+1,a:CITY[l.a].name,b:CITY[l.b].name,m:DF_SYS[l.sys].max}),'good');sfx('build');after();}, - upSys:({id})=>{const l=S.links.find(x=>x.id===id),to=l&&sysNext(l);if(!to||DF_SYS[to].lvl>lvl())return;if(!spend(sysUpCost(l)))return;l.sys=to;if(l.ready<=S.day){l.eqDown=S.day+1;toast(tr('Line system swap
All channels are dark for a day while the ROADMs go in.'),'bad');}after();}, - spares:({id})=>{const l=S.links.find(x=>x.id===id);if(!l)return;l.spares=!l.spares;sfx('click');after();}, - crews:({id,all})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||l.ready<=S.day+1)return;const n=all?crewSteps(l):1,c=n*crewCost(l);if(!spend(c))return;const ready=Math.max(S.day+1,l.ready-30*n),saved=l.ready-ready;setCableReady(l,ready);toast(trn('More crews on site.
Construction is {n} day ahead.','More crews on site.
Construction is {n} days ahead.',saved,{n:saved}),'good');after();}, - addGen:({city})=>{const p=S.pops[city];if(!p||p.gen)return;if(!spend(GEN_COST))return;p.gen=true;floater(CITY[city].x,CITY[city].y-30,tr('Generator!'),'#FF8A3D');after();}, - randomName:()=>{const input=$('nmIn');if(input)input.value=UI.nm=randomNetworkName(input.value);}, - start:()=>{const nm=(($('nmIn')&&$('nmIn').value)||randomNetworkName()).slice(0,24);beginGame(nm,UI.startCity,{mode:UI.mode==='sandbox'?'sandbox':'normal'});}, - modeSet:({m})=>{UI.mode=m;document.querySelectorAll('.modeb').forEach(b=>b.classList.toggle('pink',b.dataset.m===m));document.querySelectorAll('.modeb').forEach(b=>b.classList.toggle('ghost',b.dataset.m!==m));}, - scenarios:()=>{UI.nm=(($('nmIn')&&$('nmIn').value)||UI.nm||(S&&S.name)||randomNetworkName()).slice(0,24);scenarioModal();}, - startScn:({id,sure})=>{const sc=SCN.find(x=>x.id===id);if(!sc)return;if(!sure&&S&&UI.started&&!S.lost&&!(S.scn&&(S.scn.done||S.scn.failed))){openModal(`

${tr('Start {name}?',{name:esc(sc.n)})}

${tr('{name} will be replaced. Export it from the menu first if you want to keep it.',{name:esc(S.name)})}

${btn(tr('Start the scenario'),'startScn',{id,sure:1},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);return;}beginGame(UI.nm||(S&&S.name)||randomNetworkName(),sc.city,{scn:sc});}, - startWeekly:({sure}={})=>{if(!sure&&S&&UI.started&&!S.lost&&!(S.scn&&(S.scn.done||S.scn.failed))){openModal(`

${tr('Start the weekly challenge?')}

${tr('{name} will be replaced. Export it from the menu first if you want to keep it.',{name:esc(S.name)})}

${btn(tr('Start the challenge'),'startWeekly',{sure:1},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);return;}const wk=weekly();beginGame(UI.nm||(S&&S.name)||randomNetworkName(),wk.city,{scn:wk,seed:wk.seed});}, - pickStart:({city})=>{UI.startCity=city;document.querySelectorAll('.start').forEach(b=>b.classList.toggle('on',b.dataset.city===city));}, - cont:()=>{migrate(S);track('game_continue',true);UI.started=true;closeModal();renderAll();}, - newgame:()=>{try{localStorage.removeItem('sot-save-v1');}catch(e){}S=null;UI.started=false;UI.sel=null;UI.nm=null;$('dash').hidden=true;$('bankBox').hidden=true;renderAll();showTitle();}, - keepPlaying:()=>{closeModal();}, - exportSave:()=>exportSave(), - importPick:()=>{let f=$('importIn');if(!f){f=document.createElement('input');f.type='file';f.accept='.json,application/json';f.id='importIn';f.hidden=true;document.body.appendChild(f);f.addEventListener('change',()=>{importFile(f.files[0]);f.value='';});}f.click();}, - importGo:()=>{const s0=UI.importing;if(!s0)return;UI.importing=null;const prev=S;try{S=migrate(JSON.parse(JSON.stringify(s0)));compute();checkGoals();renderAll();}catch(e){S=prev;if(S)compute();renderAll();toast(tr('Import failed.
That save is damaged and could not be loaded. Your current game is untouched.'),'bad');sfx('err');return;}UI.confirm=null;$('bankBox').hidden=true;$('dash').hidden=true;UI.started=true;UI.sel=null;UI.speed=S.uiSpeed===undefined?1:S.uiSpeed;if(S.cam&&isFinite(S.cam.x))Object.assign(cam,S.cam);else{const h=CITY[S.home];if(h){cam.x=h.x;cam.y=h.y;}}closeModal();$('modal').hidden=true;compute();renderAll();save();toast(tr('Welcome back, {name}.
Imported and saved on this device.',{name:esc(S.name)}),'good');sfx('coin');track('game_import');}, - menu:()=>{if(!S||!UI.started){showTitle();return;}openModal(`
AS${S.asn} · ${esc(dateStr(S.day))} · ${tierLabel()}

${esc(S.name)}

-

${tr('Your game saves itself every few seconds on this device.')}

${isPhone()?installRow():''} - ${chatHtml()}`);}, - settings:()=>{UI.setOpen=true;openModal(settingsHtml());}, - settingsClose:()=>{UI.setOpen=false;if(!S||!UI.started)showTitle();else closeModal();}, - prefSet:({v})=>{const [k,b]=String(v).split(':');if(!own(PREF_DEF,k))return;setPref(k,b==='1');sfx('click');refreshSettings();}, - vpSet:({v})=>{vpOn(v==='on');refreshSettings();}, - resetAsk:()=>openModal(`

${tr('Start a new network?')}

${tr('{name} and everything it owns will be deleted. This cannot be undone.',{name:esc(S?S.name:tr('Your network'))})}

${btn(tr('Delete and start over'),'newgame',{},'red big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`), - whatsNewShow:()=>whatsNew(true,true), - updateNow:()=>{save();location.reload();}, - updateLater:()=>{$('update').hidden=true;UI.updLater=Date.now();}, - helpClose:()=>{if(UI.started)closeModal();else showTitle();}, -}; diff --git a/src/game/90-actions/10-interface.js b/src/game/90-actions/10-interface.js new file mode 100644 index 0000000..4024ae4 --- /dev/null +++ b/src/game/90-actions/10-interface.js @@ -0,0 +1,49 @@ +/* ================= ACTIONS ================= */ +function spend(c){if(S.cashNot enough cash.
Wait for revenue, or speed up time.'),'bad');sfx('err');return false;}S.cash-=c;sfx('build');return true;} +const ACT={ + speed:({v})=>{v=+v;if(![0,0.5,1,2,4,8].includes(v))return;if(v)UI.lastSpeed=v;UI.speed=v;renderHUD();}, + help:()=>showHelp(), + dash:()=>{if(!S)return;const d=$('dash');d.hidden=!d.hidden;if(!d.hidden)renderDash();}, + dashClose:()=>{$('dash').hidden=true;}, + dashTab:({k})=>{if(!DTABS.includes(k))return;UI.dtab=k;renderDash();const d=$('dash');if(d)d.scrollTop=0;}, + dashSort:({k})=>{if(!['name','asn','type','traffic','cost','lost'].includes(k))return;if(UI.dashSort===k)UI.dashDir=-(UI.dashDir||-1);else{UI.dashSort=k;UI.dashDir=k==='name'||k==='type'||k==='asn'?1:-1;}renderDash();}, + bank:()=>{if(!S)return;UI.confirm=null;$('dash').hidden=true;const b=$('bankBox');b.hidden=false;UI._bh=null;renderBank();}, + bankClose:()=>{UI.confirm=null;$('bankBox').hidden=true;}, + takeLoan:({id})=>{const o=S.loanOffers.find(x=>x.id===id);if(!o)return;S.stats.loans=(S.stats.loans||0)+1;const B=BANKS[o.bank];let got=o.amount,note=''; + if(B.crypto){const f=0.55+Math.random()*0.8;got=Math.round(o.amount*f);note=' '+(f>=1?tr('TubeCoin moved up {p}% on the way to your account.',{p:Math.round(Math.abs(f-1)*100)}):tr('TubeCoin moved down {p}% on the way to your account.',{p:Math.round(Math.abs(f-1)*100)}));} + S.cash+=got;S.loanOffers=S.loanOffers.filter(x=>x!==o); + S.loans.push({id:o.id,bank:o.bank,start:S.day,amount:o.amount,got,bal:o.model==='transit'?o.owe:o.amount,apr:o.apr||0,apr0:o.apr||0,pay:o.pay||0,left:o.term||0,term:o.term||0,share:o.share||0,model:o.model,cut:o.cut,covs:o.covs,base:{sub:S.links.filter(x=>x.sub).length}}); + track('loan_taken');toast(`${tr('{amt} from {bank} has landed.',{amt:fmt$(got),bank:esc(B.name)})}
${B.equity?tr('They now own {p} of your revenue.',{p:pct(o.share)}):loanSummary(o)}${note}`,'good');sfx('coin');after();renderBank();}, + declineLoan:({id})=>{S.loanOffers=S.loanOffers.filter(x=>x.id!==id);sfx('click');renderBank();renderHUD();save();}, + repayLoan:({id})=>{const l=S.loans.find(x=>x.id===id);if(!l)return;const B=BANKS[l.bank];const cost=repayCost(l,B); + if(UI.confirm!==id){UI.confirm=id;renderBank();return;}UI.confirm=null;if(!spend(cost)){renderBank();return;}S.loans=S.loans.filter(x=>x!==l);track('loan_repaid'); + toast(B.equity?tr('You bought out {bank}.
They flew off to find another startup.',{bank:esc(B.name)}):tr('Loan from {bank} repaid early.',{bank:esc(B.name)}),'good');after();renderBank();}, + leaseSwap:({a,b,src})=>{if(!S.pops[a]||!S.pops[b]||a===b)return;$('dash').hidden=true;UI.lmode='df';UI.dfSrc=['lease','build','cable'].includes(src)?src:isSub(a,b)?'cable':'build';UI.dfSys=lvl()>=3?'roadm':'lite';openLinkModal(a,b);}, + dashLink:({id})=>{$('dash').hidden=true;selectLink(id);}, + animSet:({v})=>{if(!['auto','on','off'].includes(v))return;UI.anim=v;try{localStorage.setItem('sot-anim',v);}catch(e){}applyAnim();refreshSettings();}, + soundSet:({v})=>{UI.muted=v==='off';try{localStorage.setItem('sot-mute',UI.muted?'1':'0');}catch(e){}renderHUD();refreshSettings();}, + langSet:({v})=>{if(!Object.hasOwn(LANGS,v)||v===LANG)return;try{localStorage.setItem('sot-lang',v);}catch(e){}save();location.reload();}, + mute:()=>{UI.muted=!UI.muted;try{localStorage.setItem('sot-mute',UI.muted?'1':'0');}catch(e){}renderHUD();}, + closePanel:()=>{UI.sel=null;UI.confirm=null;renderPanel();renderLeft();}, + closeModal:()=>closeModal(), + tab:({t})=>{UI.tab=t;UI.confirm=null;renderPanel();}, + leftTab:({t})=>{UI.left=t;UI.leftOpen=true;renderLeft();}, + netFocus:({id})=>{if(!NET[id])return;$('dash').hidden=true;UI.netFocus=id;UI.nf='all';UI.left='nets';UI.leftOpen=true;UI.sel=null;renderPanel();renderLeft();const b=$('leftBody');if(b)b.scrollTop=0;}, + netFilter:({f})=>{UI.nf=f==='out'?'out':'all';UI.netFocus=null;$('dash').hidden=true;UI.left='nets';UI.leftOpen=true;UI.sel=null;renderPanel();renderLeft();const b=$('leftBody');if(b)b.scrollTop=0;}, + meetGo:({city})=>{if(!isCity(city))return;$('dash').hidden=true;ACT.focusCity({city});if(S.pops[city]){UI.tab='peer';renderPanel();}}, + toggleLeft:()=>{UI.leftOpen=!UI.leftOpen;renderLeft();}, + phoneTab:({t})=>{if(!['goals','deals','noc','nets'].includes(t))return;haptic(8);if(UI.leftOpen&&UI.left===t&&!UI.sel){UI.leftOpen=false;}else{UI.left=t;UI.leftOpen=true;UI.sel=null;renderPanel();}$('left').classList.remove('full');renderLeft();}, + phonePlay:()=>{haptic(10);if(UI.speed){UI.lastSpeed=UI.speed;UI.speed=0;}else UI.speed=UI.lastSpeed||1;renderHUD();}, + phoneSpeed:()=>{haptic(8);const cur=UI.speed||UI.lastSpeed||1,i=SPEEDS.indexOf(cur),n=SPEEDS[(i+1)%SPEEDS.length];UI.speed=n;UI.lastSpeed=n;renderHUD();}, + install:()=>{if(installEvt){installEvt.prompt();installEvt.userChoice.finally(()=>{installEvt=null;});return;} + openModal(pitchHtml(false));}, + pitchSkip:()=>{const p=UI.pendGame;UI.pendGame=null;UI.pitched=true;if(p)beginGame(...p);else closeModal();}, + logOpen:({id})=>{const e=(S.log||[]).find(x=>x.id===id),o=e&&e.o;if(!o)return;$('dash').hidden=true;closeModal(); + if(o.a==='city'&&isCity(o.v)){ACT.focusCity({city:o.v});return;} + if(o.a==='link'){if(S.links.some(l=>l.id===o.v)){ACT.selLink({id:o.v});return;}toast(tr('That link is gone.
It was removed or decommissioned since.'),'');return;} + if(o.a==='cust'){if(S.biz.some(b=>b.id===o.v)){ACT.custGo({id:o.v});return;}toast(tr('That customer is gone.
The contract ended since.'),'');return;} + if(o.a==='bank'){ACT.bank({});return;}if(o.a==='inbox'){ACT.inbox({});return;}if(o.a==='tab'&&LOG_TABS.includes(o.v))ACT.leftTab({t:o.v});}, + logAll:()=>{UI.logAll=!UI.logAll;renderLeft();}, + focusCity:({city})=>{selectCity(city);const C=CITY[city];cam.x=C.x;cam.y=C.y;cam.z=Math.max(cam.z,1.2);if(innerWidth<760)UI.leftOpen=false;renderLeft();}, + selLink:({id})=>selectLink(id), +}; diff --git a/src/game/90-actions/20-pops-transit-ix.js b/src/game/90-actions/20-pops-transit-ix.js new file mode 100644 index 0000000..648bebc --- /dev/null +++ b/src/game/90-actions/20-pops-transit-ix.js @@ -0,0 +1,26 @@ +Object.assign(ACT,{ + buildPop:({city})=>{if(S.pops[city])return;const flipNote=CITY[city]&&CITY[city].au;if(cnCity(city)&&!cnOk()){toast(tr('You need a license first.
Foreign networks need a joint venture to build in mainland China.'),'bad');sfx('err');return;}if(!spend(popCost(city)))return;S.pops[city]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false};floater(CITY[city].x,CITY[city].y-30,tr('New POP!'),'#FF4F9A');if(flipNote)toast(pick([tr('Router installed in {city}.
Upside down, as is customary down here. The packets don’t seem to mind.',{city:CITY[city].name}),tr('Router installed in {city}.
The vendor shipped it the right way up, so the local techs turned it over. Everything else here is upside down too.',{city:CITY[city].name})]),'good',[],{a:'city',v:city});UI.tab='cust';after();}, + launchBB:({city})=>{const p=S.pops[city];if(!p||p.bb)return;const C=CITY[city];if(!spend(bbCost(city)))return;p.bb={d:bbStart(city)};floater(C.x,C.y-30,tr('Eyeballs online!'),'#16A866');after();}, + ad:({city})=>{const p=S.pops[city];if(!p||!p.bb)return;if(!spend(8000))return;p.boost=S.day+30;floater(CITY[city].x,CITY[city].y-30,tr('Ad campaign!'),'#FF8A3D');after();}, + buyTransit:({city,net,tier})=>{tier=+tier;if(scnRule('noTransit')){toast(tr('No transit in this scenario.
Peering, PNIs, caches and your own fiber only.'),'bad');sfx('err');return;}if(!S.pops[city]||!NET[net]||!sellsAt(NET[net],city)||!PORT[tier])return;if(!portOk(city,tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}const ex=S.transit.find(t=>t.city===city&&t.net===net);if(ex&&tier<=ex.tier)return;if(!portGate(city,ex?(PORT_SLOT(tier)-PORT_SLOT(ex.tier))*(ex.n||1):PORT_SLOT(tier)))return;if(!spend(PORT[tier].setup*(ex&&ex.n||1)))return;if(ex)ex.tier=tier;else S.transit.push({id:uid(),city,net,tier,down:0});toast(tr('{net} transit is live in {city}.
Full table received: ~1,000,000 routes.',{net:esc(NET[net].name),city:CITY[city].name}),'good');after();}, + lagT:({id,d})=>{d=+d;if(d!==1&&d!==-1)return;const t=S.transit.find(x=>x.id===id);if(!t)return;const n=(t.n||1)+(+d);if(n<1||n>LAG_MAX)return;if(+d>0){if(!portOk(t.city,t.tier)||!portGate(t.city,PORT_SLOT(t.tier)))return;if(!spend(PORT[t.tier].setup))return;}t.n=n;if(n<2&&t.site==='ab')t.site='a';toast(+d>0?tr('LAG member added.
{net} in {city} is now {lag}.',{net:esc(NET[t.net].name),city:CITY[t.city].name,lag:lagName(t.tier,n)}):tr(`LAG member removed.`),'good');after();}, + lagP:({id,d})=>{d=+d;if(d!==1&&d!==-1)return;const p=S.pni.find(x=>x.id===id);if(!p)return;const n=(p.n||1)+(+d);if(n<1||n>LAG_MAX)return;if(d>0&&(!pniOn(p)||p.up||msfNope(p.net,p.city)))return;if(+d>0&&(!portGate(p.city,PORT_SLOT(p.tier))||!spend(1500+PORT[p.tier].setup/2)))return; + // A LAG member is an augment: the big networks take months for that too. + if(d>0){const lead=pniLead(p.net);p.up={tier:p.tier,n,ready:S.day+lead,g1:!!p.g1};toast(tr('Augment ordered with {net}.
{eta}.',{net:esc(NET[p.net].name),eta:pniWhen(lead)}),'good');after();return;}p.n=n;if(n<2&&p.site==='ab')p.site='a';sfx('build');after();}, + lagIx:({city,d})=>{d=+d;if(d!==1&&d!==-1)return;if(!isIx(city)||S.ixp[city]===undefined||S.myIx[city]||!S.pops[ixCity(city)])return;S.ixn=S.ixn||{};const n=(S.ixn[city]||1)+(+d);if(n<1||n>LAG_MAX)return;if(+d>0&&(!portGate(ixCity(city),PORT_SLOT(S.ixp[city]))||!spend(ixPortMo(city,S.ixp[city]))))return;S.ixn[city]=n;if(n<2&&S.ixSite&&S.ixSite[city]==='ab')S.ixSite[city]='a';sfx('build');after();}, + cancelTransit:({id,ok})=>{if(!ok&&UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.transit=S.transit.filter(t=>t.id!==id);UI.confirm=null;after();}, + buyIx:({city,tier,signed})=>{tier=+tier;if(!PORT[tier]||!ixName(city)||(!S.pops[ixCity(city)]&&(!remoteCities().includes(ixCity(city))||tier>1))||(S.ixp[city]!==undefined&&tier<=S.ixp[city]))return;if(S.pops[ixCity(city)]&&!portOk(ixCity(city),tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}{const h0=S.ixp[city]!==undefined;if(!S.myIx[city]&&!portGate(ixCity(city),h0?(PORT_SLOT(tier)-PORT_SLOT(S.ixp[city]))*((S.ixn||{})[city]||1):PORT_SLOT(tier)))return;} + if(isDk(city)&&S.ixp[city]===undefined&&!signed){const dk=dkState();if(dk.stall>S.day){toast(tr('DE-KICKS sales is still "aligning".
They will get back to you in {n} days.',{n:dk.stall-S.day}),'bad');sfx('err');return;}dk.lastQ=dk.lastQ||{};const lq=dk.lastQ[city];dk.q={city,tier,m:lq&&lq.until>S.day?lq.m:dkQuoteMult(),h:lq&&lq.until>S.day?lq.h:0};dk.lastQ[city]={m:dk.q.m,h:dk.q.h,until:S.day+90};dkQuoteModal();return;}const had=S.ixp[city]!==undefined;if(!spend(ixPortMo(city,tier)*(had?((S.ixn||{})[city]||1):1)))return;S.ixp[city]=tier;if(!had)toast(S.pops[ixCity(city)]?tr('Port up at {ix}!
Now request peering, or join the route server.',{ix:esc(ixName(city))}):tr("Remote port up at {ix}.
It came through a reseller, so expect a markup, a crowded port and some networks that won't talk to you. The route server is your friend here.",{ix:esc(ixName(city))}),'good',[],{a:'city',v:ixCity(city)});after();}, + cancelIx:({city,sure,ok})=>{if(!ok&&UI.confirm!=='ix'+city){UI.confirm='ix'+city;renderPanel();return;} + if(isDk(city)&&!sure){const dk=dkState();if(!dk.retUsed[city]){openModal(`
${tr('DE-KICKS Group · Customer Success')}

${tr('Wait! Before you go…')}

${tr('We value our partnership too much to let a little thing like price get in the way.')}

${tr('Retention offer')}${tr('40% off for 6 months')}

${tr('After that, the normal price returns, plus a small loyalty administration fee.')}

${btn(tr('Stay, take the discount'),'dkStay',{city},'pink')}${btn(tr('Leave anyway'),'cancelIx',{city,sure:1},'ghost')}
`);return;}} + closeModal();if(S.dk){if(S.dk.m[city]){S.dk.lastQ=S.dk.lastQ||{};S.dk.lastQ[city]={m:S.dk.m[city],h:3,until:S.day+365};}delete S.dk.m[city];delete S.dk.add[city];delete S.dk.ret[city];}delete S.ixp[city];delete S.rs[city];if(S.ixn)delete S.ixn[city];for(const k in S.peers)if(k.endsWith('@'+city))delete S.peers[k];UI.confirm=null;after();}, + rs:({city})=>{if(!isIx(city)||S.ixp[city]===undefined)return;S.rs[city]=!S.rs[city];if(S.rs[city])toast(tr('Route server session up.
You now peer with every open network on this IX, in one go.'),'good');sfx('build');after();}, + dkAccept:()=>{const dk=dkState(),q=dk.q;if(!q)return;dk.m[q.city]=q.m;dk.q=null;closeModal();ACT.buyIx({city:q.city,tier:q.tier,signed:true});if(S.ixp[q.city]===undefined)delete dk.m[q.city];else toast(tr(`Signed with DE-KICKS.
Welcome to the family. Please don't tell anyone what you pay.`),'good');}, + dkHaggle:()=>{const dk=dkState(),q=dk.q;if(!q||q.h>=3)return;q.h++;const r=Math.random(); + if(r<0.45){S.stats.haggleWin=1;q.m=+(q.m*(0.75+Math.random()*0.15)).toFixed(2);dkQuoteModal();toast(tr('"Just this once."
Your account manager found a special discount. Do not tell the others.'),'good');} + else if(r<0.75){q.m=+(q.m*1.1).toFixed(2);dkQuoteModal();toast(tr('"After consulting with management…"
The price went up. Management was consulted.'),'bad');} + else{dk.stall=S.day+5+Math.floor(Math.random()*6);dk.q=null;closeModal();toast(tr('Haggling paused.
{why}',{why:esc(pick(DK_STALL))}),'bad');}}, + dkWalk:()=>{const dk=dkState(),q=dk.q;if(q){dk.lastQ=dk.lastQ||{};dk.lastQ[q.city]={m:q.m,h:q.h,until:S.day+90};if(q.h>0)dk.stall=Math.max(dk.stall||0,S.day+3);}dk.q=null;closeModal();toast(tr('DE-KICKS will "circle back".
Expect an email titled "Quick question 🙂" within the hour.'),'');}, + dkOptOut:({city,n})=>{const dk=dkState(),k='dk'+city+n;if(UI.confirm!==k){UI.confirm=k;renderPanel();return;}dk.add[city]=(dk.add[city]||[]).filter(x=>x.n!==n);UI.confirm=null;S.stats.optouts=(S.stats.optouts||0)+1;toast(tr(`Opted out of {name}.
It took four clicks, a survey and a "we're sad to see you go" page.`,{name:esc(n)}),'good');after();}, + dkStay:({city})=>{S.stats.retained=1;const dk=dkState();dk.ret[city]=S.day+180;dk.retUsed[city]=true;UI.confirm=null;closeModal();toast(tr('40% off {ix} for 6 months.
Your account manager is relieved. Read the small print later.',{ix:esc(ixName(city))}),'good');after();}, +}); diff --git a/src/game/90-actions/30-route-script-and-tools.js b/src/game/90-actions/30-route-script-and-tools.js new file mode 100644 index 0000000..47342b5 --- /dev/null +++ b/src/game/90-actions/30-route-script-and-tools.js @@ -0,0 +1,27 @@ +Object.assign(ACT,{ + teEdit:()=>{if(!S.te)return;UI.teDraft=undefined;teModal();}, + teClose:()=>{const t=$('teSrc');if(t)UI.teDraft=t.value;closeModal();}, + teOpt:()=>{UI.teDraft=teOptimize();teModal();}, + teExample:()=>{UI.teDraft=TE_EXAMPLE;teModal();}, + teSlop:()=>{const t0=performance.now(),a=aiSlop(Math.random()<0.02),secs=Math.max(0.1,(performance.now()-t0)/1000);UI.teDraft=UI.slop=a.src;teModal(`

🤖 ${esc(a.ai)} ${tr('thought for {s} seconds',{s:secs.toFixed(1)})}
${tr(a.say)}

`);sfx('build');}, + teHelp:()=>{const t=$('teSrc');if(t)UI.teDraft=t.value;teHelpModal();}, + teBack:()=>teModal(), + teRecipe:({id})=>{const r=TE_RECIPES.find(x=>x.id===id);if(!r)return;UI.teDraft=r.src().join('\n');teModal(`

${tr('Loaded {name}. Check it, then deploy.',{name:tr(r.n)})}

`);}, + teClear:()=>{S.te.script='';UI.teDraft=undefined;TE_CACHE={src:null,p:null};after();teModal(`

${tr('Script removed. Plain Auto-TE is back in charge.')}

`);}, + teCheck:()=>{const t=$('teSrc');const src=t?t.value:'';UI.teDraft=src;const p=teParse(src);if(p.errors.length){teModal(`
${esc(p.errors.join('\n'))}
`);return;}const r=teTrial(src);teModal(`
${esc(trn('✓ {n} rule OK','✓ {n} rules OK',p.n)+'\n'+tr('served     {a} → {b}',{a:fmtG(r.before.served),b:fmtG(r.after.served)})+'\n'+tr('transit    {a}/mo → {b}/mo',{a:fmt$(r.before.tc),b:fmt$(r.after.tc)})+'\n'+tr('spilled    {g} onto alternate paths',{g:fmtG(r.after.moved)})+(r.after.bh?'\n'+tr('blackholed {g}',{g:fmtG(r.after.bh)}):''))}
`);}, + teDeploy:()=>{const t=$('teSrc');const src=(t?t.value:'').slice(0,4000);UI.teDraft=src;const p=teParse(src);if(p.errors.length){teModal(`
${esc(tr('commit failed')+'\n'+p.errors.join('\n'))}
`);sfx('err');return;}const r=teTrial(src);S.te.script=src;S.te.on=true;TE_CACHE={src:null,p:null};UI.teDraft=undefined;after(); + const drop=r.before.served>1?1-r.after.served/r.before.served:0,saved=r.before.tc>0?1-r.after.tc/r.before.tc:0; + if(drop>0.1&&UI.slop===src){if(drop>0.3)S.stats.fat=1;toast(tr('Commit complete. Traffic down {p}.
The AI apologises for the confusion, and remains completely sure the script was right. Fix it from the NOC tab.',{p:pct(drop)}),'bad');sfx('alert');} + else if(drop>0.3){S.stats.fat=1;toast(tr('Commit complete. Traffic down {p}.
You just fat-fingered your own network. Classic. Fix the script from the NOC tab.',{p:pct(drop)}),'bad');sfx('alert');} + else{if(saved>0.1&&drop<0.01)S.stats.kiddie=1;toast(`${tr('Commit complete.')}
${saved>0.01?trn('{n} rule live, transit bill down {p}.','{n} rules live, transit bill down {p}.',p.n,{p:pct(saved)}):trn('{n} rule live.','{n} rules live.',p.n)}`,'good');sfx('build');}closeModal();UI.slop=undefined;checkGoals();}, + buyTE:()=>{if(S.te)return;if(lvl()<3){toast(tr('Auto-TE unlocks at customer level 3.'),'bad');sfx('err');return;}if(!spend(TE_COST))return;S.te={on:true,day:S.day};toast(tr('Auto-TE is live.
The controller now pushes overflow onto alternate paths whenever the shortest one is full.'),'good');after();}, + teToggle:()=>{if(!S.te)return;S.te.on=!S.te.on;after();}, + trace:({city})=>traceModal(city), + traceRun:()=>{const f=$('trFrom'),t=$('trTo');traceModal(f&&f.value,t&&t.value);}, + traceCopy:()=>{try{navigator.clipboard.writeText(UI.trText||'');toast(tr('Copied. Paste it into your favourite NOC chat.'),'good');}catch(e){}}, + share:()=>shareModal(), + shareDl:()=>shareFile(f=>{if(!f)return;const a=document.createElement('a');a.href=URL.createObjectURL(f);a.download=f.name;document.body.appendChild(a);a.click();setTimeout(()=>{URL.revokeObjectURL(a.href);a.remove();},1000);track('share_download');}), + shareGo:()=>shareFile(f=>{const d={title:'Series of Tubes',text:tr('{name} (AS{asn}): {tier}, {peak} peak. Build your own internet at',{name:S.name,asn:S.asn,tier:tierLabel(),peak:fmtG(S.stats.peak||0)}),url:'https://seriesoftub.es/'};try{if(f&&navigator.canShare&&navigator.canShare({files:[f]}))d.files=[f];navigator.share(d).then(()=>track('share_done')).catch(()=>{});}catch(e){}}), + confGo:({key})=>{S.confReg=S.confReg||{};if(S.confReg[key])return;const cf=upcomingConfs(75).find(x=>x.key===key);if(!cf||cf.day<=S.day)return;if(!spend(CONF_COST))return;S.confReg[key]=true;toast(tr('Registered.
Flights booked, badge printed, business cards ordered in the wrong font.'),'good');after();}, + tutSkip:()=>{S.tut=null;try{localStorage.setItem('sot-tut','1');}catch(e){}renderCoach();}, +}); diff --git a/src/game/90-actions/40-sites-peering-caches.js b/src/game/90-actions/40-sites-peering-caches.js new file mode 100644 index 0000000..bceade6 --- /dev/null +++ b/src/game/90-actions/40-sites-peering-caches.js @@ -0,0 +1,35 @@ +Object.assign(ACT,{ + addSite:({city})=>{const p=S.pops[city];if(!p||p.site2)return;if(!spend(SITE2_COST))return;p.site2=true;p.site2Day=S.day;toast(tr('Second site live in {city}.
{b} is joined to {a} by your own metro ring. Move some uplinks there from the Transit and Peering tabs.',{city:CITY[city].name,b:esc(siteName(city,'b')),a:esc(siteName(city,'a'))}),'good');sfx('build');after();}, + rmSite:({city})=>{const p=S.pops[city];if(!p||!p.site2)return;if(UI.confirm!=='site'+city){UI.confirm='site'+city;renderPanel();return;}UI.confirm=null;p.site2=0;p.sdown=null;p.ringcut=0;for(const t of S.transit)if(t.city===city)t.site='a';for(const x of S.pni)if(x.city===city)x.site='a';for(const x of S.caches)if(x.city===city)x.site='a';if(S.ixSite)for(const x of ixIdsIn(city))delete S.ixSite[x];after();}, + siteSet:({k,id,s})=>{if(!['a','b','ab'].includes(s))return; + const o=k==='t'?S.transit.find(x=>x.id===id):k==='p'?S.pni.find(x=>x.id===id):null;if(k!=='ix'&&!o)return;if(k==='ix'&&(!isIx(id)||S.ixp[id]===undefined||!S.pops[ixCity(id)]))return; + if(k==='ix'&&S.myIx[id]){S.ixSite=S.ixSite||{};S.ixSite[id]=s;after();return;} + const n=()=>k==='ix'?((S.ixn||{})[id]||1):(o.n||1); + if(s==='ab'&&n()<2){const before=n();if(k==='t')ACT.lagT({id,d:1});else if(k==='p')ACT.lagP({id,d:1});else ACT.lagIx({city:id,d:1});if(n()<2||n()===before)return;toast(tr(`Second LAG member added.
One member in each building now, so a dark building only takes out half the port.`),'good');} + if(k==='ix'){S.ixSite=S.ixSite||{};S.ixSite[id]=s;}else o.site=s;after();}, + peer:({city,net})=>{if(!isIx(city)||!isNet(net)||S.ixp[city]===undefined||!ixMembers(city).includes(net))return;const r=peerOk(net,'ix',city);if(!r.ok){toast(tr('{net} declined.
{why}',{net:esc(NET[net].name),why:esc(r.why)}),'bad');sfx('err');return;}S.peers[net+'@'+city]=true; + toast(`${tr('{net} accepted!',{net:esc(NET[net].name)})}
${NET[net].pol==='selective'?tr('They checked your PearingDB page and liked the traffic numbers.'):tr('BGP session established.')}`,'good');sfx('build');after();}, + unpeer:({city,net})=>{delete S.peers[net+'@'+city];after();}, + peerAll:({city})=>{if(!isIx(city)||S.ixp[city]===undefined)return;const set=ixSessions(city);let n=0;for(const id of ixMembers(city))if(!set.has(id)&&peerOk(id,'ix',city).ok){S.peers[id+'@'+city]=true;n++;}if(!n)return;toast(trn('{n} new session at {ix}.
Small networks, but they add up, and they all count towards the club.','{n} new sessions at {ix}.
Small networks, but they add up, and they all count towards the club.',n,{ix:esc(ixName(city))}),'good',[],{a:'city',v:ixCity(city)});sfx('build');after();}, + tailTog:()=>{UI.tailOpen=!UI.tailOpen;renderLeft();}, + pni:({city,net,tier})=>{tier=+tier;const g1=tier===-1;if(g1){if(!pniG1(net))return;tier=0;}if(!S.pops[city]||!NET[net]||!NET[net].pops.includes(city)||!PORT[tier])return;if(!portOk(city,tier)){toast(tr("Your router can't take a {port} port.
Upgrade it in the Infra tab.",{port:PORT[tier].n}),'bad');sfx('err');return;}const r=peerOk(net,'pni',city);if(!r.ok){toast(tr('{net} declined the PNI.
{why}',{net:esc(NET[net].name),why:esc(r.why)}),'bad');sfx('err');after();return;} + if(!g1&&tier{net} does not do {port} PNIs.
Nothing smaller than 100G. Come back with more traffic, or a bigger optic.',{net:esc(NET[net].name),port:PORT[tier].n}),'bad');sfx('err');return;} + const ex=S.pni.find(p=>p.city===city&&p.net===net);if(ex&&(g1||!pniOn(ex)||ex.up))return;if(ex&&!(ex.g1&&tier===0)&&tier<=ex.tier)return; + const cost=g1?PNI_G1_COST:(1500+PORT[tier].setup/2)*(ex&&ex.n||1);if(!portGate(city,ex?(PORT_SLOT(tier)-PORT_SLOT(ex.tier))*(ex.n||1):PORT_SLOT(tier)))return;if(!spend(cost))return;if(S.conf&&S.conf.until>S.day)S.stats.beerPni=1; + // Nothing is instant: a cross-connect takes weeks, and the big networks quote months for a new PNI or an augment. + const lead=pniLead(net);if(ex)ex.up={tier,n:ex.n||1,ready:S.day+lead,g1:false};else S.pni.push({id:uid(),city,net,tier,g1:g1||undefined,ready:S.day+lead}); + toast(tr('PNI with {net} ordered.
{eta}. A cross-connect in {dc}, once somebody finds the LOA.',{net:esc(NET[net].name),eta:pniWhen(lead),dc:esc(siteName(city,'a'))}),'good');after();}, + pniChase:({id})=>{const p=S.pni.find(x=>x.id===id);if(!p||(pniOn(p)&&!p.up))return;const r=Math.random(); + if(r<0.15){if(p.up)p.up.ready=Math.max(S.day+1,p.up.ready-30);else p.ready=Math.max(S.day+1,p.ready-30);toast(tr('Your account manager found the order under a desk.
It is a month closer.'),'good');} + else toast(pick([tr('“It is with the provisioning team.”
Nobody has ever met the provisioning team.'),tr('“We are waiting on the colo for the cross-connect.”
The colo says it is waiting on them.'),tr('Your ticket was merged into another ticket.
That ticket was closed as a duplicate of yours.'),tr('“Could you resend the LOA?”
You have sent it four times.'),tr('Your account manager is on paternity leave.
His replacement is also on paternity leave.')]));after();}, + inbox:()=>{inboxModal();}, + inboxAct:({id,a})=>{if(!['accept','decline','raise','keep'].includes(a))return;ibxAnswer(+id,a);after();inboxModal();}, + inboxAll:({a})=>{if(a!=='accept'&&a!=='decline')return;const I=ibx();for(const x of I.items.filter(x=>x.k==='req'))ibxAnswer(x.id,a,true);after();inboxModal();}, + inboxBot:({on})=>{const I=ibx();if(+on){if(I.bot||!spend(AI_MO))return;I.bot=true;ibxLog(N_('Hello! I am Large Peering Model. I have read your inbox and I already have opinions.'),{});toast(tr('Large Peering Model is hired.
Your inbox is its problem now. {price} a year, billed monthly.',{price:fmt$(20e6)}),'good');}else{I.bot=false;toast(tr('The AI is gone.
It left a 40-page handover document. It is mostly about itself.'));}after();inboxModal();}, + cancelPni:({id,ok})=>{if(!ok&&UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.pni=S.pni.filter(p=>p.id!==id);UI.confirm=null;after();}, + cache:({city,net})=>{const n=NET[net];if(!n||!n.cache||!S.pops[city])return;if((R.demTo[net]||0){net} says not yet.
Send them {min}+ Gbps first.',{net:esc(n.name),min:n.cache.min}),'bad');sfx('err');return;}if(!portGate(city,1))return; + {const hv=S.caches.filter(x=>x.city===city&&x.net===net),nb=hv.filter(x=>x.site==='b').length;S.caches.push({id:uid(),city,net,site:S.pops[city].site2&&nb{cache} installed in {city}!
{net} shipped it for free. You pay {mo}/mo power.',{cache:esc(n.cache.name),city:CITY[city].name,net:esc(n.name),mo:fmt$(CACHE_MO)}),'good');sfx('build');after();}, + rmCache:({id})=>{S.caches=S.caches.filter(c=>c.id!==id);after();}, + // Move one of a CDN's boxes to the other building (#69), so a dark building only takes out part of the cache. + cacheSite:({city,net,s})=>{if(s!=='a'&&s!=='b'||!S.pops[city]||!S.pops[city].site2)return;const x=S.caches.find(c=>c.city===city&&c.net===net&&(c.site==='b'?'b':'a')!==s);if(!x)return;x.site=s;sfx('click');after();}, +}); diff --git a/src/game/90-actions/50-customers.js b/src/game/90-actions/50-customers.js new file mode 100644 index 0000000..9bce026 --- /dev/null +++ b/src/game/90-actions/50-customers.js @@ -0,0 +1,19 @@ +Object.assign(ACT,{ + advertise:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||l.ready>S.day)return;if(S.offers.some(o=>o.link===l.id))return; + const t=freeCh(l)>=1?'wwave':pairFree(l)?'dfpair':null;if(!t){toast(tr('Nothing spare to sell on this fiber.
Every channel is lit or sold, and the trench has no free pair.'),'bad');sfx('err');return;} + const T=BIZ_T[t],nm=()=>{const list=T.names.filter(n=>!S.usedNames.includes(n)),n=list.length?pick(list):pick(T.names);S.usedNames.push(n);return n;}; + // A capacity broker finds a buyer at once and keeps 10% of the monthly price. + const o=fiberOffer(t,l,nm,0.9);o.broker=true;S.offers.push(o);toast(tr('Listed with a capacity broker.
{name} wants {what}. Accept it on the fiber or in Deals.',{name:esc(o.name),what:esc(o.what)}),'good');sfx('click');after();}, + accept:({id})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!bHas(o)){toast(tr('You need a POP in every city on the contract first.'),'bad');return;} + if(o.type==='wwave'){const l=S.links.find(x=>x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)Not enough free channels on that fiber any more.'),'bad');return;}} + if(BIZ_T[o.type].event&&S.day>=o.start){toast(tr('Too late: the event has already started.'),'bad');return;} + // A carrier renting more alien waves on a fiber it already rents grows its contract, like a real order for extra waves, + // instead of a new customer for every few waves (a big fiber business otherwise fills the save with tiny contracts). + const more=o.type==='wwave'&&S.biz.find(b=>b.type==='wwave'&&b.link===o.link&&b.name===o.name); + if(more){const l=S.links.find(x=>x.id===o.link);S.offers=S.offers.filter(x=>x!==o);more.slots=(more.slots||0)+(o.slots||0);more.rate+=o.rate;if(l)more.what=wwWhat(l,more.slots); + floater(CITY[o.city].x,CITY[o.city].y-30,tr('Signed!'),'#16A866');sfx('coin');after();return;} + S.offers=S.offers.filter(x=>x!==o);S.biz.push({id:o.id,city:o.city,city2:o.city2||null,reqs:o.reqs||[],latMax:o.latMax||null,route:BIZ_T[o.type].scenic?'scenic':BIZ_T[o.type].lat?'fast':'normal',name:o.name,type:o.type,bw:o.bw,rate:o.rate,mood:100,since:S.day,sites:o.sites||null,start:o.start,dur:o.dur,fee:o.fee,link:o.link,slots:o.slots||0,what:o.what,prov:o.prov}); + floater(CITY[o.city].x,CITY[o.city].y-30,tr('Signed!'),'#16A866');sfx('coin');after();}, + decline:({id})=>{S.offers=S.offers.filter(x=>x.id!==id);after();}, + dropBiz:({id})=>{const b0=S.biz.find(x=>x.id===id);if(!b0)return;if(BIZ_T[b0.type].event&&S.day>=b0.start){toast(tr('The event is already running.
The organisers will not let you walk out now.'),'bad');sfx('err');return;}if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.biz=S.biz.filter(b=>b.id!==id);UI.confirm=null;after();}, +}); diff --git a/src/game/90-actions/60-links.js b/src/game/90-actions/60-links.js new file mode 100644 index 0000000..ebd48ee --- /dev/null +++ b/src/game/90-actions/60-links.js @@ -0,0 +1,33 @@ +Object.assign(ACT,{ + upLink:({id,tier})=>{tier=+tier;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='wave'||!LT[tier]||tier<=l.tier)return;{const w=subWaveWhy(tier,l.km,l.sub);if(w){toast(tr('No {wave} waves on this cable.
{why}',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}if(!waveOk(l.a,l.b,tier)){toast(tr('A {wave} wave needs {need} at both ends.',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;}const nm=Math.round(waveMo(l.km,l.sub,tier)*(l.mult||1));if(!spend(nm))return;l.mo=nm;l.tier=tier;after();}, + decomOpen:({city})=>{UI.decom=new Set(city&&S.pops[city]?[city]:[]);decomModal();}, + decomToggle:({city})=>{if(!S.pops[city])return;UI.decom=UI.decom||new Set();if(UI.decom.has(city))UI.decom.delete(city);else UI.decom.add(city);decomModal();}, + decomGo:()=>{const sel=[...(UI.decom||[])].filter(c=>S.pops[c]);if(!sel.length||sel.length>=Object.keys(S.pops).length)return;closeModal();UI.decom=null;UI.sel=null;decommission(sel);sfx('alert');after();}, + rmLink:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}{const l=S.links.find(x=>x.id===id),back=cabBack(l);if(back>0){S.cash+=back;toast(tr('{name} is called off.
The cable factory takes back the glass nobody needs: {price} back.',{name:esc(l.cname||tr('Your cable')),price:fmt$(back)}),'good');}}S.links=S.links.filter(l=>l.id!==id);UI.sel=null;UI.confirm=null;after();}, + fixInc:({id})=>{const i=S.inc.find(x=>x.id===id);if(!i||!(i.cost>0))return;if(i.slow&&i.rushed)return;if(!spend(i.cost))return; + if(i.slow&&i.until>S.day+1){i.rushed=true;i.cost=0;i.until=S.day+1;const p=S.pops[i.ref];if(p)p.down=Math.min(p.down,S.day+1);toast(tr('Power-cycled.
The router in {city} is booting again. It will be up tomorrow, the {chip} willing.',{city:esc(CITY[i.ref].name),chip:esc(RG[(p&&p.rgen)||0].chip)}),'good');after();return;}clearInc(i);toast(tr('Fixed. {what} resolved early.',{what:incTitle(i.type)}),'good');after();}, + myIxUp:({city})=>{const m=S.myIx[city];if(!m)return;const f=(m.fab|0)+1,N=MYIX_FAB[f];if(!N)return;if(N.lvl>lvl()){toast(tr('A {fab} fabric unlocks at customer level {lv}.',{fab:N.n,lv:N.lvl}),'bad');sfx('err');return;}if(!spend(N.cost))return;m.fab=f;toast(tr('{ix} now runs a {fab} fabric.
Room for {max} members. Expect a few more to join.',{ix:esc(m.name),fab:N.n,max:N.max}),'good');m.next=Math.min(m.next,S.day+3);after();}, + foundIx:({city})=>{if(!S.pops[city]||S.myIx[city]||CITY[city].ix||CITY[city].cn)return;if(!spend(MYIX_COST))return;const nm=(S.name.split(' ')[0]||'My').replace(/[^A-Za-z0-9]/g,'').slice(0,10)+'-IX '+CITY[city].name; + S.myIx[city]={name:nm,members:[],next:S.day+4};S.ixp[city]=2;toast(tr('You founded {ix}!
Networks will join over time and pay you for ports. Open members peer with you for free.',{ix:esc(nm)}),'goal');after();}, + buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p)return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); + if((cnCity(a)||cnCity(b))&&!cnOk())return; + if(!waveOk(a,b,tier)){toast(tr('A {wave} wave needs {need} at both ends.',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;} + const wr=waveRoute(a,b,mult,border);if(!wr){toast(tr('No cable available for that route right now.'),'bad');sfx('err');return;} + {const so=soldOut(a,b,tier,wr.cab);if(so){toast(tr('No {wave} capacity on this route right now.
{why} Try a smaller wave, another route, or ask again in {n} days.',{wave:LT[tier].n,why:tr(so.why),n:Math.max(1,so.until-S.day)}),'bad');sfx('err');return;}}{const w=subWaveWhy(tier,wr.km,wr.sub);if(w){toast(tr('No {wave} waves on this cable.
{why}',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}const base=Math.round(waveMo(wr.km,wr.sub,tier)*wr.wm),cost=base+(S.pops[b]?0:popCost(b)); + if(!portGate(a,1)||!portGate(b,1))return;if(!spend(cost))return;if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false}; + const id=uid();const l={id,a,b,kind:'wave',border,premium:border&&!!UI.cnPrem&&(a==='hkg'||b==='hkg'),tier,km:wr.km,sub:wr.sub,cable:wr.cab,mo:base,mult:wr.wm,trench:wr.cab?'cab:'+wr.cab:(jn?jn.k:id),cut:0,day:S.day};S.links.push(l);closeModal(); + if(sib.length){UI.sel={type:'link',id};}else{UI.sel={type:'city',id:b};UI.tab='cust';} + floater((CITY[a].x+CITY[a].x+wrapDx(CITY[a].x,CITY[b].x))/2,(CITY[a].y+CITY[b].y)/2-20,tr('{wave} lit!',{wave:LT[tier].n}),'#FF4F9A');after();}, + buyNni:({city,prov,tier})=>{tier=+tier;if(!NNI[tier]||!isCity(city)||!own(FAB,prov)||!FAB[prov].cities.includes(city)||!S.pops[city])return;const ex=nniPort(city,prov);if(ex&&tier<=ex.tier)return;if(!ex&&!portGate(city,1))return;if(ex&&nniUsed(city,prov)>NNI[tier].g){toast(tr('Too many circuits for a smaller port.'),'bad');return;}if(!spend(NNI[tier].mo))return;if(ex)ex.tier=tier;else S.nni.push({id:uid(),city,prov,tier});toast(tr('{fab} port is up in {city}.
Now order virtual circuits to other cities on their fabric.',{fab:esc(FAB[prov].name),city:CITY[city].name}),'good');after();}, + rmNni:({city,prov})=>{if(nniUsed(city,prov)>0){toast(tr('Cancel the circuits on this port first.'),'bad');sfx('err');return;}S.nni=S.nni.filter(x=>!(x.city===city&&x.prov===prov));after();}, + openVxc:(a)=>openVxcModal(a), + buyVxc:({a,b,prov,t})=>{t=+t;const g=VXC[t].g,pa=nniPort(a,prov);if(!pa||nniUsed(a,prov)+g>NNI[pa.tier].g){toast(tr('Not enough room on your fabric port. Upgrade it first.'),'bad');sfx('err');return;} + if(S.pops[b]){const pb=nniPort(b,prov);if(!pb||nniUsed(b,prov)+g>NNI[pb.tier].g){toast(tr('Not enough room on your {fab} port in {city}.',{fab:esc(FAB[prov].name),city:CITY[b].name}),'bad');sfx('err');return;}} + const km=kmBetween(a,b),sub=isSub(a,b),mo=vxcMo(km,sub,t);if(!spend(mo))return;S.links.push({id:uid(),a,b,kind:'vxc',prov,vt:t,km,sub,mo,cut:0,day:S.day});closeModal(); + toast(tr('Circuit up in 59 seconds.
{vxc} over {fab}: {a} → {b}.',{vxc:VXC[t].n,fab:esc(FAB[prov].name),a:CITY[a].name,b:CITY[b].name})+(S.pops[b]?'':' '+tr('Now grab an IX port there for remote peering.')),'good');if(!S.pops[b])selectCity(b);after();}, + upVxc:({id,t})=>{t=+t;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='vxc'||!VXC[t]||t<=l.vt)return;const extra=VXC[t].g-VXC[l.vt].g;for(const c of [l.a,l.b]){const pt=nniPort(c,l.prov);if(pt&&nniUsed(c,l.prov)+extra>NNI[pt.tier].g){toast(tr('Fabric port in {city} is full.',{city:CITY[c].name}),'bad');sfx('err');return;}}const mo=vxcMo(l.km,l.sub,t);if(!spend(mo))return;l.vt=t;l.mo=mo;after();}, + cancelVxc:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.links=S.links.filter(l=>l.id!==id);const rem=remoteCities();for(const c in S.ixp){if(!S.pops[ixCity(c)]&&!rem.includes(ixCity(c))){delete S.ixp[c];delete S.rs[c];for(const k in S.peers)if(k.endsWith('@'+c))delete S.peers[k];}}UI.sel=null;UI.confirm=null;after();}, + setPref:({kind,id,v})=>{if(!own(PREF,v))return;if(kind!=='t'&&kind!=='p'&&!(isIx(id)&&S.ixp[id]!==undefined))return;if(kind==='t'){const t=S.transit.find(x=>x.id===id);if(t)t.pref=v;}else if(kind==='p'){const x=S.pni.find(y=>y.id===id);if(x)x.pref=v;}else{S.ixPref=S.ixPref||{};S.ixPref[id]=v;}sfx('click');after();}, + setMetric:({id,v})=>{if(!own(MET,v))return;const l=S.links.find(x=>x.id===id);if(!l)return;for(const x of pairLinks(l.a,l.b))x.metric=v;sfx('click');after();}, + goEgress:({city,k})=>{ACT.focusCity({city});UI.tab=k==='t'?'up':k==='l2'?'cust':k==='nni'?'links':'peer';renderPanel();}, +}); diff --git a/src/game/90-actions/70-dashboard-lists.js b/src/game/90-actions/70-dashboard-lists.js new file mode 100644 index 0000000..41d9ff6 --- /dev/null +++ b/src/game/90-actions/70-dashboard-lists.js @@ -0,0 +1,17 @@ +Object.assign(ACT,{ + custGo:({id})=>{const b=S.biz.find(x=>x.id===id);if(!b)return;$('dash').hidden=true;ACT.focusCity({city:b.city});UI.tab='cust';renderPanel();}, + listMore:({k})=>{if(k!=='conn'&&k!=='cust')return;UI.listN=UI.listN||{};UI.listN[k]=listN(k)+LIST_PAGE;renderDash();}, + custF:({v})=>{UI.kf=UI.kf||{};UI.kf.f=v==='sad'?'sad':'';listReset('cust');renderDash();}, + custCity:({v})=>{UI.kf=UI.kf||{};UI.kf.city=isCity(v)?v:'';listReset('cust');renderDash();}, + custSort:({k})=>{if(!['mood','mo','name','city'].includes(k))return;listReset('cust');if(UI.custSort===k)UI.custDir=-(UI.custDir||1);else{UI.custSort=k;UI.custDir=k==='mo'?-1:1;}renderDash();}, + custOpen:({sad}={})=>{if(!S)return;UI.kf=sad?{f:'sad'}:{};listReset('cust');UI.dtab='cust';const d=$('dash');d.hidden=false;renderDash();d.scrollTop=0;}, + goConn:({city,k})=>{if(!isCity(city)||!own(CONN_K,k))return;$('dash').hidden=true;ACT.goEgress({city,k});}, + connF:({f,v})=>{const F=UI.cf=UI.cf||{};listReset('conn');if(f==='all'){UI.cf={};}else if(f==='k'){F.k=own(CONN_K,v)?v:'';}renderDash();}, + connCity:({v})=>{UI.cf=UI.cf||{};listReset('conn');UI.cf.city=isCity(v)?v:'';renderDash();}, + connNet:({v})=>{UI.cf=UI.cf||{};listReset('conn');UI.cf.net=NET[v]?v:'';renderDash();}, + connSort:({k})=>{if(!['k','city','name','use','mo'].includes(k))return;listReset('conn');if(UI.connSort===k)UI.connDir=-(UI.connDir||1);else{UI.connSort=k;UI.connDir=k==='use'||k==='mo'?-1:1;}renderDash();}, + connFor:({net})=>{if(!NET[net])return;UI.cf={net};ACT.connOpen();}, + connCancel:({k,id})=>{const r=conns().find(x=>x.k===k&&x.id===id);if(!r||r.mine)return;const key='cc:'+k+':'+id;if(UI.confirm!==key){UI.confirm=key;renderDash();return;}UI.confirm=null; + if(k==='t')ACT.cancelTransit({id,ok:1});else if(k==='p')ACT.cancelPni({id,ok:1});else if(k==='ix')ACT.cancelIx({city:id,ok:1});else if(k==='c')ACT.rmCache({id});else{const [city,prov]=id.split('|');ACT.rmNni({city,prov});}renderDash();}, + connOpen:()=>{if(!S)return;UI.dtab='conn';listReset('conn');const d=$('dash');d.hidden=false;renderDash();d.scrollTop=0;}, +}); diff --git a/src/game/90-actions/80-security-and-china.js b/src/game/90-actions/80-security-and-china.js new file mode 100644 index 0000000..c2af07b --- /dev/null +++ b/src/game/90-actions/80-security-and-china.js @@ -0,0 +1,19 @@ +Object.assign(ACT,{ + applyCn:()=>{if(S.cnLic.state!=='none')return;if(!spend(CN_LIC))return;S.cnLic={state:'pending',ready:S.day+45};toast(tr('Application filed.
Your local partner says about 45 days. Probably.'),'goal');after();}, + togglePrem:({id})=>{const t=S.transit.find(x=>x.id===id);if(!t)return;t.premium=!t.premium;sfx('click');after();}, + buildScrub:({city,tier})=>{if(!S.pops[city]||S.scrubs.some(x=>x.city===city))return;const T=SCRUB_TIERS[tier||0];if(!T)return;if((lvl()||1){tier} scrubbing unlocks at customer level {lv}.',{tier:T.n,lv:T.lvl}),'bad');sfx('err');return;}if(!spend(T.cost))return;if(!hasScrub())S.scrubMode='always';S.scrubs.push({city,tier:tier||0});toast(tr('{tier} scrubbing center online in {city}.
Attacks up to {g} are cleaned, and you can sell DDoS protection.',{tier:T.n,city:CITY[city].name,g:fmtG(T.g)}),'good');after();}, + scrubUp:({city,tier})=>{const x=S.scrubs.find(q=>q.city===city);tier=+tier;if(!x||!SCRUB_TIERS[tier]||tier<=(x.tier||0))return;const T=SCRUB_TIERS[tier];if((lvl()||1){tier} scrubbing unlocks at customer level {lv}.',{tier:T.n,lv:T.lvl}),'bad');sfx('err');return;}if(!spend(Math.round(T.cost*0.6)))return;x.tier=tier;toast(tr('Scrubbing upgraded to {tier}.',{tier:T.n}),'good');after();}, + scrubMode:()=>{if(!hasScrub())return;S.scrubMode=S.scrubMode==='ondemand'?'always':'ondemand';sfx('click');after();}, + rmScrub:({city})=>{if(!S.scrubs.some(x=>x.city===city))return;if(UI.confirm!=='scrub:'+city){UI.confirm='scrub:'+city;renderAll();return;}S.scrubs=S.scrubs.filter(x=>x.city!==city);if(!hasScrub())S.scrubMode='always';UI.confirm=null;after();}, + cleanPipe:({id})=>{const t=S.transit.find(x=>x.id===id);if(!t)return;t.clean=!t.clean;toast(t.clean?tr('Clean-pipe add-on enabled on {net}.
They scrub a flood before it reaches your port here, for {mo}/mo.',{net:NET[t.net].name,mo:fmt$(cleanMo(t))}):tr('Clean-pipe add-on removed from {net}.',{net:NET[t.net].name}),t.clean?'good':'');after();}, + sacrif:({id})=>{const p=S.pni.find(x=>x.id===id);if(!p)return;p.sacrif=!p.sacrif;toast(p.sacrif?tr('{net} PNI is now a sacrificial choke point.
A flood from there dies on the small port instead of inside your network, but legit traffic over it runs at half capacity.',{net:NET[p.net].name}):tr('{net} PNI is back to normal.',{net:NET[p.net].name}),p.sacrif?'good':'');after();}, + ixbh:()=>{const a=S.ev.ddos;if(!a){toast(tr('No attack to blackhole right now.'),'');return;}if(!hasIxAt(a.city)){toast(tr('No IX in {city} to announce a blackhole to.',{city:CITY[a.city].name}),'bad');sfx('err');return;}a.ixbh=!a.ixbh;toast(a.ixbh?tr('IX blackhole announced in {city}.
About half the members honour the /32 and drop the junk. The customer stays up.',{city:CITY[a.city].name}):tr('IX blackhole withdrawn.'),a.ixbh?'good':'');sfx('alert');after();}, + rtbh:()=>{const a=S.ev.ddos;if(!a){toast(tr('No attack to blackhole right now.'),'');return;}a.bh=true;S.stats.rtbh=(S.stats.rtbh||0)+1;toast(tr('RTBH announced.
You blackholed the target in {city}. The flood stops, and so does everyone there.',{city:CITY[a.city].name}),'bad');sfx('alert');after();}, + unrtbh:()=>{const a=S.ev.ddos;if(!a||!a.bh)return;a.bh=false;toast(tr('Blackhole withdrawn.
{city} is reachable again. Brace for the junk.',{city:CITY[a.city].name}),'');after();}, + hackback:()=>{const a=S.ev.ddos;if(!a||a.until<=S.day){toast(tr('Nothing to hack back right now.'),'');return;}if(!spend(20000))return;S.stats.hackback=(S.stats.hackback||0)+1; + if(Math.random()<0.35){a.until=S.day;a.bh=false;S.stats.hackWin=(S.stats.hackWin||0)+1;toast(tr('HackBack 3000™ strikes back!
Skynot AI traced the botnet and politely bricked it. The attack on {city} stops cold.',{city:CITY[a.city].name}),'goal');sfx('coin');} + else{const fine=15000+Math.floor(Math.random()*35000);S.cash-=fine;S.stats.vigilante=(S.stats.vigilante||0)+1; + toast(tr('HackBack 3000™ hit the wrong target.
{who} A regulator sends you a {fine} fine, and the attack rolls on.',{who:pick([tr("Skynot AI flattened a grandma's internet-connected fridge."),tr('You counter-flooded a hospital in a country you cannot pronounce.'),tr('The botnet was already someone else’s botnet. They are furious.')]),fine:fmt$(fine)}),'bad');sfx('err');} + after();}, + cnPrem:({v})=>{UI.cnPrem=!!+v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, +}); diff --git a/src/game/90-actions/85-routing-and-routers.js b/src/game/90-actions/85-routing-and-routers.js new file mode 100644 index 0000000..af997f4 --- /dev/null +++ b/src/game/90-actions/85-routing-and-routers.js @@ -0,0 +1,15 @@ +Object.assign(ACT,{ + via:({v})=>{UI.via=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + setRoute:({id,m})=>{if(!own(RT,m))return;const b=S.biz.find(x=>x.id===id);if(b){b.route=m;sfx('click');after();}}, + route:({r})=>{UI.route=r;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + addParallel:({id})=>{const l=S.links.find(x=>x.id===id);if(l)openLinkModal(l.a,l.b);}, + addRouter:({city})=>{const p=S.pops[city];if(!p||(p.routers||1)>=RMAX)return;if(!spend(routerCost(p.rgen||0)))return;p.routers=(p.routers||1)+1;floater(CITY[city].x,CITY[city].y-30,tr('Router added'),'#FF4F9A');after();}, + models:()=>{UI.models=!UI.models;renderPanel();}, + rmRouter:({city})=>{const p=S.pops[city];if(!p||(p.routers||1)<=1)return;if(portsUsed(city)>portsMax(city,undefined,p.routers-1)){toast(tr('Unplug something first.
{used} ports are in use, and one router fewer only has {max}.',{used:fmtPorts(portsUsed(city)),max:portsMax(city,undefined,p.routers-1)}),'bad');sfx('err');return;}p.routers--;{const back=tradeIn(p.rgen||0,1);if(back>0){S.cash+=back;toast(tr('Sold a {model} on eBuy.
{price} back.',{model:esc(RG[p.rgen||0].n),price:fmt$(back)}),'good');}}after();}, + upRouter:({city,g})=>{const p=S.pops[city];if(!p)return;g=g===undefined?mainRG(RG[p.rgen||0].cls+1):+g;if(!RG[g]||g===(p.rgen||0))return;{const why=modelFits(city,g);if(why){toast(tr("The {model} won't fit.
{why}",{model:esc(RG[g].n),why:esc(why)}),'bad');sfx('err');return;}}if(RG[g].lvl>lvl()){toast(tr('{model} unlocks at customer level {lv}.',{model:esc(RG[g].n),lv:RG[g].lvl}),'bad');sfx('err');return;} + const rt=p.routers||1,old=p.rgen||0;if(p.rupDay===S.day){toast(tr('The new routers in {city} are still being racked.
One swap a day: try again tomorrow.',{city:CITY[city].name}),'bad');sfx('err');return;}const back=tradeIn(old,rt);if(!spend(swapCost(city,g)))return;p.rgen=g;p.rupDay=S.day;if(back>0)toast(tr('Sold the old {model} on eBuy.
{price} back toward the new gear.',{model:esc(RG[old].n),price:fmt$(back)}),'good'); + if(rt===1&&popIdle(city))toast(tr('New router in {city}
Swapped before anything was plugged in: zero downtime, zero angry customers.',{city:CITY[city].name}),'good'); + else if(rt===1){const sl=slowBoot(city),dd=sl?3:1;p.down=Math.max(p.down||0,S.day+dd);addInc({type:'maint',ref:city,until:S.day+dd,msg:sl?tr('Swapping the only router in {city} for a {model}. The new one {how}. Back in {n} days.',{city:CITY[city].name,model:RG[g].n,how:pick(SLOW_BOOT),n:dd}):tr('Swapping the only router in {city} for a {model}. Maintenance window: back tomorrow.',{city:CITY[city].name,model:RG[g].n}),cost:0});toast(`${tr('Maintenance window in {city}',{city:CITY[city].name})}
${sl?tr('One router, and this one takes forever to boot. Back in {n} days.',{n:dd}):tr('One router means downtime during the swap. Back tomorrow.')}`,'bad');} + else toast(tr('Rolling upgrade in {city}
{n} × {model}, swapped one at a time. Zero downtime.',{city:CITY[city].name,n:rt,model:esc(RG[g].n)}),'good'); + floater(CITY[city].x,CITY[city].y-30,RG[g].n+'!','#FF4F9A');after();}, +}); diff --git a/src/game/90-actions/87-fiber-and-hardware.js b/src/game/90-actions/87-fiber-and-hardware.js new file mode 100644 index 0000000..c64ecc4 --- /dev/null +++ b/src/game/90-actions/87-fiber-and-hardware.js @@ -0,0 +1,37 @@ +Object.assign(ACT,{ + dfMode:({m})=>{UI.lmode=m;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + seaPackage:({k})=>{if(!own(SUB_UPGRADES,k))return;UI['sea'+k]=!UI['sea'+k];if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + subUpgrade:({id,k})=>{const l=S.links.find(l=>l.id===id);if(!l||l.kind!=='df'||!l.own||!l.sub||!own(SUB_UPGRADES,k)||lvl()<4||l['sub'+k]!==undefined)return;if(!spend(subUpgradeCost(l,k)))return;l.paid=(l.paid>0?l.paid:ownCabCost(l.km))+subUpgradeCost(l,k);l['sub'+k]=Math.max(S.day,l.ready||0)+SUB_UPGRADES[k].days;after();}, + seaDesign:({v})=>{if(!own(SEA_DESIGNS,v))return;UI.seaDesign=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + ownCab:()=>{UI.lmode='df';UI.dfSrc='cable';UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + dfSrc:({v})=>{UI.dfSrc=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + dfSys:({v})=>{UI.dfSys=v;if(UI.pending)openLinkModal(UI.pending.a,UI.pending.b);}, + orderCable:()=>{const p=UI.pending;if(!p)return;const {a,b}=p;if(ownCabWhy(a,b))return;const design=own(SEA_DESIGNS,UI.seaDesign)?UI.seaDesign:'standard',up={terminal:!!UI.seaterminal,engineering:!!UI.seaengineering},q=seaQuote(a,b,design,up),km=q.km,cost=q.cost+(S.pops[b]?0:popCost(b));if(seaLack(km,up).length||!spend(cost))return; + if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0}; + const used=new Set(S.links.map(l=>l.cname).filter(Boolean)),cname=OWNCAB_NAMES.find(n=>!used.has(n))||`${pick(OWNCAB_NAMES)} ${used.size+1}`,ship=pick(OWNCAB_SHIPS),id=uid(),days=q.days; + S.links.push({id,a,b,kind:'df',own:true,sub:true,seaDesign:design,seaPath:q.pts.map(p=>p.slice()),sys:'roadm',ch:[],km,cable:null,cname,mo:Math.round(km*OWNCAB_OM),trench:'own:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:1}); + const laid=S.links[S.links.length-1];laid.paid=q.cost;for(const k of Object.keys(SUB_UPGRADES))if(up[k])laid['sub'+k]=laid.ready;UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false; + S.stats.ownCab=(S.stats.ownCab||0)+1;UI.dfSrc='lease';closeModal();UI.sel={type:'link',id}; + toast(tr('The {ship} sets sail!
{name}, your own {km} km cable from {a} to {b}. Ready in about {n} days, if the whales cooperate.',{ship,name:cname,km:km.toLocaleString(),a:CITY[a].name,b:CITY[b].name,n:days}),'goal');sfx('build');after();}, + orderDf:()=>{const p=UI.pending;if(!p)return;const {a,b}=p;if(!dfAllowed(a,b))return;const sc=isSub(a,b)?subDfCable(a,b):null,km=sc?sc.km:kmBetween(a,b); + const own=UI.dfSrc==='build'&&lvl()>=3&&!sc,sys=DF_SYS[UI.dfSys]&&DF_SYS[UI.dfSys].lvl<=lvl()?UI.dfSys:'lite';if(lvl()<2)return; + const up=(own?dfBuildCost(km):0)+DF_SYS[sys].cost+ampCount(km)*AMP_COST+(S.pops[b]?0:popCost(b));if(!spend(up))return; + if(!S.pops[b])S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0}; + const sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),id=uid(); + const l={id,a,b,kind:'df',own,sys,ch:[],km,sub:!!sc,cable:sc?sc.cid:null,mo:own?Math.round(km*0.15):dfLeaseMo(km),trench:sc?'cab:'+sc.cid:id,cut:0,day:S.day,ready:S.day+(own?dfBuildDays(km):30),spares:false}; + S.links.push(l);closeModal();UI.sel={type:'link',id}; + toast(own?tr('Groundbreaking!
Your own fiber from {a} to {b}. Permits and digging take about {n} days.',{a:CITY[a].name,b:CITY[b].name,n:dfBuildDays(km)}):tr('Dark fiber IRU signed.
{a}–{b} will be spliced and handed over in about 30 days.',{a:CITY[a].name,b:CITY[b].name}),'goal');after();}, + regen:({id,d})=>{d=+d;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||l.sub||(d!==1&&d!==-1))return;const n=(l.regen|0)+d;if(n<0||n>REGEN_MAX)return; + if(d<0&&(l.ch||[]).some(o=>!optMode(o,{km:l.km,regen:n}))){toast(tr('Those optics need the regen site.
Remove the long-haul channels first, or keep the site.'),'bad');sfx('err');return;} + if(d>0&&!spend(REGEN_COST+Math.round((l.ch||[]).reduce((a,c)=>a+optCost(c),0)*REGEN_CH)))return;l.regen=n;toast(d>0?tr('Regen site {n} is up.
Optical spans on {a}–{b} are now {km} km.',{n,a:CITY[l.a].name,b:CITY[l.b].name,km:spanKm(l).toLocaleString()}):tr('Regen site removed.'),'good');sfx('build');after();}, + addCh:({id,o})=>{const l=S.links.find(x=>x.id===id),O=OPT[o];if(!l||!O||l.kind!=='df')return;const why=chWhy(l,o);if(why){toast(tr("Can't add {optic}.
{why}",{optic:O.n,why:esc(why)}),'bad');sfx('err');return;}if(!portGate(l.a,1)||!portGate(l.b,1))return;const sp=spareN(o)>0;if(!spend(chCost(l,o)))return;if(sp)S.spares[o]--;(l.ch=l.ch||[]).push(o);floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,`+${O.n}`,'#FF4F9A');after();}, + rmCh:({id,o})=>{const l=S.links.find(x=>x.id===id);if(!l||!OPT[o])return;const i=(l.ch||[]).lastIndexOf(o);if(i<0)return;l.ch.splice(i,1);S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,tr('{optic} to spares',{optic:OPT[o].n}),'#7B61FF');after();}, + hwLock:()=>{if(hwLock())return;const c=hwLockCost();if(!spend(c))return;S.hw=S.hw||{};S.hw.lock={until:S.day+HW_LOCK_DAYS,mul:hwTrend(S.day)};toast(tr('Prices locked until {date}.
Your vendor’s account manager is delighted. He gets a bonus for this.',{date:dateStr(S.hw.lock.until)}),'good');after();}, + buySpare:({o})=>{if(!OPT[o]||OPT[o].lvl>lvl()||spareN(o)>=64)return;if(!spend(optCost(o)))return;S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;sfx('build');after();}, + sellSpare:({o})=>{if(!OPT[o]||spareN(o)<1)return;S.spares[o]--;const v=spareValue(o);S.cash+=v;toast(tr('Sold a spare {optic} on eBuy.
{price} back, which is {p} of what it cost new.',{optic:OPT[o].n,price:fmt$(v),p:pct(SPARE_RESALE)}),'good');sfx('coin');after();}, + addPair:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||!isRdm(l.sys)||l.ready>S.day)return;const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return;if((l.ch||[]).length+soldSlots(l)Fill this pair first.
Light all {max} channels before you light another fiber pair.',{max:chMax(l)}),'bad');sfx('err');return;}if(!spend(pairCost(l)))return;l.pairs=n+1;toast(tr('Fiber pair {n} is lit: {a}–{b}.
Another ROADMaster 9000 and a fresh chain of amplifiers. Room for {m} more channels.',{n:n+1,a:CITY[l.a].name,b:CITY[l.b].name,m:DF_SYS[l.sys].max}),'good');sfx('build');after();}, + upSys:({id})=>{const l=S.links.find(x=>x.id===id),to=l&&sysNext(l);if(!to||DF_SYS[to].lvl>lvl())return;if(!spend(sysUpCost(l)))return;l.sys=to;if(l.ready<=S.day){l.eqDown=S.day+1;toast(tr('Line system swap
All channels are dark for a day while the ROADMs go in.'),'bad');}after();}, + spares:({id})=>{const l=S.links.find(x=>x.id===id);if(!l)return;l.spares=!l.spares;sfx('click');after();}, + crews:({id,all})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||l.ready<=S.day+1)return;const n=all?crewSteps(l):1,c=n*crewCost(l);if(!spend(c))return;const ready=Math.max(S.day+1,l.ready-30*n),saved=l.ready-ready;setCableReady(l,ready);toast(trn('More crews on site.
Construction is {n} day ahead.','More crews on site.
Construction is {n} days ahead.',saved,{n:saved}),'good');after();}, + addGen:({city})=>{const p=S.pops[city];if(!p||p.gen)return;if(!spend(GEN_COST))return;p.gen=true;floater(CITY[city].x,CITY[city].y-30,tr('Generator!'),'#FF8A3D');after();}, +}); diff --git a/src/game/90-actions/89-game-and-settings.js b/src/game/90-actions/89-game-and-settings.js new file mode 100644 index 0000000..ef76ea6 --- /dev/null +++ b/src/game/90-actions/89-game-and-settings.js @@ -0,0 +1,37 @@ +Object.assign(ACT,{ + randomName:()=>{const input=$('nmIn');if(input)input.value=UI.nm=randomNetworkName(input.value);}, + start:()=>{const nm=(($('nmIn')&&$('nmIn').value)||randomNetworkName()).slice(0,24);beginGame(nm,UI.startCity,{mode:UI.mode==='sandbox'?'sandbox':'normal'});}, + modeSet:({m})=>{UI.mode=m;document.querySelectorAll('.modeb').forEach(b=>b.classList.toggle('pink',b.dataset.m===m));document.querySelectorAll('.modeb').forEach(b=>b.classList.toggle('ghost',b.dataset.m!==m));}, + scenarios:()=>{UI.nm=(($('nmIn')&&$('nmIn').value)||UI.nm||(S&&S.name)||randomNetworkName()).slice(0,24);scenarioModal();}, + startScn:({id,sure})=>{const sc=SCN.find(x=>x.id===id);if(!sc)return;if(!sure&&S&&UI.started&&!S.lost&&!(S.scn&&(S.scn.done||S.scn.failed))){openModal(`

${tr('Start {name}?',{name:esc(sc.n)})}

${tr('{name} will be replaced. Export it from the menu first if you want to keep it.',{name:esc(S.name)})}

${btn(tr('Start the scenario'),'startScn',{id,sure:1},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);return;}beginGame(UI.nm||(S&&S.name)||randomNetworkName(),sc.city,{scn:sc});}, + startWeekly:({sure}={})=>{if(!sure&&S&&UI.started&&!S.lost&&!(S.scn&&(S.scn.done||S.scn.failed))){openModal(`

${tr('Start the weekly challenge?')}

${tr('{name} will be replaced. Export it from the menu first if you want to keep it.',{name:esc(S.name)})}

${btn(tr('Start the challenge'),'startWeekly',{sure:1},'pink big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`);return;}const wk=weekly();beginGame(UI.nm||(S&&S.name)||randomNetworkName(),wk.city,{scn:wk,seed:wk.seed});}, + pickStart:({city})=>{UI.startCity=city;document.querySelectorAll('.start').forEach(b=>b.classList.toggle('on',b.dataset.city===city));}, + cont:()=>{migrate(S);track('game_continue',true);UI.started=true;closeModal();renderAll();}, + newgame:()=>{try{localStorage.removeItem('sot-save-v1');}catch(e){}S=null;UI.started=false;UI.sel=null;UI.nm=null;$('dash').hidden=true;$('bankBox').hidden=true;renderAll();showTitle();}, + keepPlaying:()=>{closeModal();}, + exportSave:()=>exportSave(), + importPick:()=>{let f=$('importIn');if(!f){f=document.createElement('input');f.type='file';f.accept='.json,application/json';f.id='importIn';f.hidden=true;document.body.appendChild(f);f.addEventListener('change',()=>{importFile(f.files[0]);f.value='';});}f.click();}, + importGo:()=>{const s0=UI.importing;if(!s0)return;UI.importing=null;const prev=S;try{S=migrate(JSON.parse(JSON.stringify(s0)));compute();checkGoals();renderAll();}catch(e){S=prev;if(S)compute();renderAll();toast(tr('Import failed.
That save is damaged and could not be loaded. Your current game is untouched.'),'bad');sfx('err');return;}UI.confirm=null;$('bankBox').hidden=true;$('dash').hidden=true;UI.started=true;UI.sel=null;UI.speed=S.uiSpeed===undefined?1:S.uiSpeed;if(S.cam&&isFinite(S.cam.x))Object.assign(cam,S.cam);else{const h=CITY[S.home];if(h){cam.x=h.x;cam.y=h.y;}}closeModal();$('modal').hidden=true;compute();renderAll();save();toast(tr('Welcome back, {name}.
Imported and saved on this device.',{name:esc(S.name)}),'good');sfx('coin');track('game_import');}, + menu:()=>{if(!S||!UI.started){showTitle();return;}openModal(`
AS${S.asn} · ${esc(dateStr(S.day))} · ${tierLabel()}

${esc(S.name)}

+

${tr('Your game saves itself every few seconds on this device.')}

${isPhone()?installRow():''} + ${chatHtml()}`);}, + settings:()=>{UI.setOpen=true;openModal(settingsHtml());}, + settingsClose:()=>{UI.setOpen=false;if(!S||!UI.started)showTitle();else closeModal();}, + prefSet:({v})=>{const [k,b]=String(v).split(':');if(!own(PREF_DEF,k))return;setPref(k,b==='1');sfx('click');refreshSettings();}, + vpSet:({v})=>{vpOn(v==='on');refreshSettings();}, + resetAsk:()=>openModal(`

${tr('Start a new network?')}

${tr('{name} and everything it owns will be deleted. This cannot be undone.',{name:esc(S?S.name:tr('Your network'))})}

${btn(tr('Delete and start over'),'newgame',{},'red big')}${btn(tr('Keep playing'),'closeModal',{},'ghost big')}
`), + whatsNewShow:()=>whatsNew(true,true), + updateNow:()=>{save();location.reload();}, + updateLater:()=>{$('update').hidden=true;UI.updLater=Date.now();}, + helpClose:()=>{if(UI.started)closeModal();else showTitle();}, +}); From 657e7b8083f9a7daf98cd9565e0510a88e4a77f8 Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Tue, 27 Oct 2026 10:10:56 +0100 Subject: [PATCH 007/546] port-branch: also handles branches started from older versions of the page --- scripts/legacy/split-index-html.js | 17 ++++++++++------- scripts/legacy/transforms.js | 10 ++++------ 2 files changed, 14 insertions(+), 13 deletions(-) diff --git a/scripts/legacy/split-index-html.js b/scripts/legacy/split-index-html.js index ee069c5..4a47af3 100644 --- a/scripts/legacy/split-index-html.js +++ b/scripts/legacy/split-index-html.js @@ -12,7 +12,7 @@ const fs = require('node:fs'); const path = require('node:path'); -// [partial, first line of it]. Each regex must match a line that comes after the previous cut. +// [partial, first line of it]. Each regex is looked for after the previous cut. const CSS = [ ['styles/00-base.css', /^\/\* Layout: full-bleed/], ['styles/10-hud.css', /^\/\* HUD \*\/$/], @@ -134,18 +134,21 @@ function liftOverComments(lines, i, floor) { // Cuts lines[from, to) into [file, text] pairs by the spec. function cut(lines, from, to, spec, what) { - const starts = []; + // Older versions lack some later sections: a part whose marker is missing is left out, and its code (if + // any) stays in the part before it. The first part of each section is required. + const found = []; let at = from; for (const [file, re] of spec) { let i = at; while (i < to && !re.test(lines[i])) i++; - if (i >= to) throw new Error(`${what}: no line matches ${re} (for ${file}) after line ${at + 1}`); - const s = starts.length ? liftOverComments(lines, i, starts[starts.length - 1]) : from; - starts.push(s); + if (i >= to) { + if (!found.length) throw new Error(`${what}: no line matches ${re} (for ${file})`); + continue; + } + found.push([file, found.length ? liftOverComments(lines, i, found[found.length - 1][1]) : from]); at = i + 1; } - if (starts[0] !== from) throw new Error(`${what}: unexpected text before ${spec[0][0]}`); - return spec.map(([file], k) => [file, lines.slice(starts[k], k + 1 < starts.length ? starts[k + 1] : to).map((l) => l + '\n').join('')]); + return found.map(([file, s], k) => [file, lines.slice(s, k + 1 < found.length ? found[k + 1][1] : to).map((l) => l + '\n').join('')]); } function split(html) { diff --git a/scripts/legacy/transforms.js b/scripts/legacy/transforms.js index ecff6af..08dbf38 100644 --- a/scripts/legacy/transforms.js +++ b/scripts/legacy/transforms.js @@ -31,13 +31,11 @@ function splitActions(text) { if (open < 0 || close < open) throw new Error('90-actions: no `const ACT={ … };` block'); if (lines.slice(close + 1).some((l) => l.trim())) throw new Error('90-actions: code after the ACT block'); const keyAt = (k) => lines.findIndex((l, i) => i > open && i < close && l.startsWith(` ${k}:`)); - const starts = ACT_GROUPS.map(([file, k]) => { - const i = keyAt(k); - if (i < 0) throw new Error(`90-actions: action ${k} not found (for ${file})`); - return i; - }); + // A group whose first action does not exist (yet, in an older version) is left out. + const groups = ACT_GROUPS.map(([file, k], g) => [file, g ? keyAt(k) : 0]).filter(([, i]) => i >= 0); + const starts = groups.map(([, i]) => i); if (starts.some((s, i) => i && s <= starts[i - 1])) throw new Error('90-actions: actions are out of the expected order'); - return ACT_GROUPS.map(([file], g) => { + return groups.map(([file], g) => { const from = g ? starts[g] : 0, to = g + 1 < starts.length ? starts[g + 1] : close; const body = lines.slice(from, to); const out = g ? ['Object.assign(ACT,{', ...body, '});'] : [...body, '};']; From 052fdd713fdafc2d4610e964e5cb9dbd493e42ec Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Tue, 27 Oct 2026 10:11:07 +0100 Subject: [PATCH 008/546] port-branch: keep code after the ACT block in very old versions --- scripts/legacy/transforms.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/legacy/transforms.js b/scripts/legacy/transforms.js index 08dbf38..5fc0f78 100644 --- a/scripts/legacy/transforms.js +++ b/scripts/legacy/transforms.js @@ -29,7 +29,8 @@ function splitActions(text) { if (lines[lines.length - 1] === '') lines.pop(); const open = lines.indexOf('const ACT={'), close = lines.lastIndexOf('};'); if (open < 0 || close < open) throw new Error('90-actions: no `const ACT={ … };` block'); - if (lines.slice(close + 1).some((l) => l.trim())) throw new Error('90-actions: code after the ACT block'); + // Old versions without the action-helpers cut keep that code here; it stays after the last group. + const after = lines.slice(close + 1); const keyAt = (k) => lines.findIndex((l, i) => i > open && i < close && l.startsWith(` ${k}:`)); // A group whose first action does not exist (yet, in an older version) is left out. const groups = ACT_GROUPS.map(([file, k], g) => [file, g ? keyAt(k) : 0]).filter(([, i]) => i >= 0); @@ -39,6 +40,7 @@ function splitActions(text) { const from = g ? starts[g] : 0, to = g + 1 < starts.length ? starts[g + 1] : close; const body = lines.slice(from, to); const out = g ? ['Object.assign(ACT,{', ...body, '});'] : [...body, '};']; + if (g === groups.length - 1) out.push(...after); return [file, out.join('\n') + '\n']; }); } From 05ff4ea7adf868c5416dc8e5ffca5aa73ecc1035 Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Tue, 27 Oct 2026 10:15:12 +0100 Subject: [PATCH 009/546] Docs and guard rails: GitHub Pages only, where code goes, updated skills - docs/adr/0001: GitHub Pages is the only host, not open for renegotiation - docs/adr/0002: source in many files, shipped as one page assembled at build - tests/pages.test.js: builds stay static files Pages can serve, all local references resolve, only release.yml deploys and only via the Pages actions - tests/build.test.js: partial naming and layout rules - new skills: github-pages, edit-the-game; add-strings, performance, release and write-tests updated for src/, sorted dictionaries and --base-ref - CLAUDE.md, ARCHITECTURE.md, CONTRIBUTING.md (incl. porting older branches), README.md and the PR template describe the new layout --- .claude/skills/add-strings/SKILL.md | 30 +++--- .claude/skills/edit-the-game/SKILL.md | 67 ++++++++++++++ .claude/skills/github-pages/SKILL.md | 52 +++++++++++ .claude/skills/performance/SKILL.md | 17 ++-- .claude/skills/release/SKILL.md | 8 +- .claude/skills/write-tests/SKILL.md | 13 ++- .gitattributes | 3 + CLAUDE.md | 59 ++++++++---- CONTRIBUTING.md | 53 +++++++++-- README.md | 26 ++++-- docs/ARCHITECTURE.md | 96 +++++++++++++------- docs/adr/0001-github-pages-only.md | 54 +++++++++++ docs/adr/0002-one-page-assembled-at-build.md | 68 ++++++++++++++ tests/build.test.js | 13 +++ tests/pages.test.js | 72 +++++++++++++++ 15 files changed, 530 insertions(+), 101 deletions(-) create mode 100644 .claude/skills/edit-the-game/SKILL.md create mode 100644 .claude/skills/github-pages/SKILL.md create mode 100644 .gitattributes create mode 100644 docs/adr/0001-github-pages-only.md create mode 100644 docs/adr/0002-one-page-assembled-at-build.md create mode 100644 tests/pages.test.js diff --git a/.claude/skills/add-strings/SKILL.md b/.claude/skills/add-strings/SKILL.md index 52fb997..ab600c6 100644 --- a/.claude/skills/add-strings/SKILL.md +++ b/.claude/skills/add-strings/SKILL.md @@ -7,7 +7,7 @@ description: Add or change player-facing text in Series of Tubes and keep every The English text is the translation key. Every string a player can see must go through the translation helpers and have an entry in every dictionary in `site/i18n/` -(currently `it.js`, Italian). +(Italian `it.js`, Portuguese `pt.js`, French `fr.js`). The code is in `src/`. ## In the code @@ -23,21 +23,25 @@ through the translation helpers and have an entry in every dictionary in `site/i ## In the dictionary -`site/i18n/it.js` is one object, `"English": "Italiano",` per line, ending with `};`. -Append new entries before the closing `};`. A small script avoids quoting mistakes: +`site/i18n/.js` is one object, `"English":"Translation",` per line, **sorted by the English +text**. Sorted files mean two pull requests that add strings touch different lines instead of both +appending at the end. Don't edit the lines by hand; use the script, which quotes correctly, keeps the +order and works on every dictionary at once: -```python -import json -it = {"New English text": "Nuovo testo italiano"} -q = 'site/i18n/it.js'; t = open(q).read().rstrip() -assert t.endswith('};') -t = t[:-2] + ''.join(json.dumps(k, ensure_ascii=False) + ':' + json.dumps(v, ensure_ascii=False) + ',\n' - for k, v in it.items() if json.dumps(k, ensure_ascii=False) + ':' not in t) + '};\n' -open(q, 'w').write(t) +```bash +cat > /tmp/strings.json <<'JSON' +{ + "it": { "New English text": "Nuovo testo italiano", "Text that was removed": null }, + "pt": { "New English text": "Novo texto em português" }, + "fr": { "New English text": "Nouveau texte en français" } +} +JSON +node scripts/i18n-add.js /tmp/strings.json # a string adds or replaces, null removes +node scripts/i18n-add.js --rename "Old English" "New English" # English text changed: move the key everywhere ``` -When you **change** English text, rename the key in every dictionary too; when you -remove text, delete its entry. +If a dictionary got out of order anyway (a hand edit, a merge), `npm run i18n:fix` sorts it again; +`npm run i18n:check` fails until it is sorted. ## Italian style diff --git a/.claude/skills/edit-the-game/SKILL.md b/.claude/skills/edit-the-game/SKILL.md new file mode 100644 index 0000000..bfacf0e --- /dev/null +++ b/.claude/skills/edit-the-game/SKILL.md @@ -0,0 +1,67 @@ +--- +name: edit-the-game +description: Find, change and add game code in Series of Tubes, which lives in many small files under src/ that the build joins into one page. Use for any feature, fix or refactor in the game itself (anything in src/). +--- + +# Editing the game + +The game's source is `src/`. The build (`scripts/lib/page.js`) pastes the files together, in path order, +into one `index.html` with one inline `` at the start of a line. +File names are `NN-lower-case.js` / `.css`; `tests/build.test.js` checks both. + +## Still the same rules + +Everything in CLAUDE.md applies unchanged: translate every string (`add-strings`), sanitize saves, +phones first, a test with every change (`write-tests`), performance shown against `main` +(`performance`), hosting on GitHub Pages only (`github-pages`), a CHANGELOG bullet for players. +The CHANGELOG is the one file every change touches; a conflict there is expected: keep both bullets. diff --git a/.claude/skills/github-pages/SKILL.md b/.claude/skills/github-pages/SKILL.md new file mode 100644 index 0000000..3eafcfb --- /dev/null +++ b/.claude/skills/github-pages/SKILL.md @@ -0,0 +1,52 @@ +--- +name: github-pages +description: Series of Tubes is hosted on GitHub Pages and nowhere else, non-negotiably. Use before any change to hosting, deploys, the build output, caching, the service worker, new runtime requests or anything that would need a server, and whenever someone suggests another host. +--- + +# GitHub Pages, always + +Series of Tubes is served by GitHub Pages at https://seriesoftub.es and **only** there. This is settled +([docs/adr/0001-github-pages-only.md](../../../docs/adr/0001-github-pages-only.md)) and not up for +discussion: do not propose, prepare or "keep the door open" for another host, a CDN in front, a +backend or server-side rendering, even when asked to evaluate options. If a feature seems to need +one, redesign the feature. + +## What that means for a change + +- **The output is static files.** `npm run build` writes `_site/`: the assembled page, `site/`'s files, + `version.json`. No server code, no runtime secrets: everything there is public. +- **No HTTP headers, redirects or rewrites.** Pages ignores `_headers`, `_redirects`, `.htaccess`, + `vercel.json`, `netlify.toml`. Need a policy? Use a `` tag. Need a different URL? Add a + static file there. +- **Caching is Pages' (short, the same for every file) plus the service worker's.** Offline play and + updates are `site/sw.js`'s job; its cache name carries the version. When you add a file the game + needs offline, add it to `CORE` there. +- **Same origin.** The page, dictionaries, icons and data come from seriesoftub.es. Do not add CDN + libraries or third-party APIs the game needs to work; the web fonts and the analytics counter are + the only exceptions and the game runs without them. +- **More files are fine, from the same origin.** Pages serves many small files well over HTTP/2. + Still: the game page itself stays one assembled `index.html` (see + [ADR 0002](../../../docs/adr/0002-one-page-assembled-at-build.md)), and anything the first frame + needs must not add a round trip. +- **Limits:** about 1 GB for the whole site, 100 MB per file. +- **Paths:** the site lives at the domain root (`site/CNAME`), so `/` paths are fine; unknown paths get + `404.html`. + +## How it deploys + +Only releases deploy. Bumping `version` in `package.json` on `main` runs `auto-release.yml`, which tags, +publishes the GitHub release and starts `release.yml`: test, `REQUIRE_NOTES=1 npm run build`, +`actions/upload-pages-artifact` with `./_site`, `actions/deploy-pages`. That job is the only one with +`pages: write`. Pushes to `main` and pull requests build but never deploy. The `release` skill has the +steps. + +## Before you hand back a change that touches the build, deploy or loading + +```bash +npm run build && npm run serve # the production build, served as static files +npm test -- tests/pages.test.js # static-only, all references resolve, Pages-only deploy +``` + +`tests/pages.test.js` fails on host configuration files, files over the limits, local references +that do not exist in `_site/`, scripts loaded from other origins, and any workflow that deploys +anywhere else. Do not weaken it to make a change pass; change the change. diff --git a/.claude/skills/performance/SKILL.md b/.claude/skills/performance/SKILL.md index 1f1e598..c071f46 100644 --- a/.claude/skills/performance/SKILL.md +++ b/.claude/skills/performance/SKILL.md @@ -5,7 +5,7 @@ description: Measure and demonstrate the performance of every Series of Tubes ch # Performance is always demonstrated -Every change to the game (anything in `site/`) shows its performance on a very large network, +Every change to the game (anything in `src/` or `site/`) shows its performance on a very large network, compared with `main`, before it is merged or released. A speed claim without numbers does not count, and neither does "it feels fine on my small game". Most players who complain about lag have huge late-game networks, and most of them are on phones. @@ -13,11 +13,14 @@ have huge late-game networks, and most of them are on phones. ## Measure ```bash -git show origin/main:site/index.html > /tmp/base.html -npm run perf -- --base /tmp/base.html # headless only, a few minutes -npm run perf -- --base /tmp/base.html --browser # plus real Chromium, desktop and phone (what CI runs) +npm run perf -- --base-ref origin/main # headless only, a few minutes +npm run perf -- --base-ref origin/main --browser # plus real Chromium, desktop and phone (what CI runs) ``` +`--base-ref` assembles that commit's page with its own scripts (`node scripts/lib/page.js --ref REF`; +for commits from before the split it reads their `site/index.html`). `--base FILE` takes a built page +instead. The head is always this checkout's `src/`, assembled the way the build does it. + `scripts/perf-bench.js` loads `tests/fixtures/big-network.json` (about 100 POPs, 150 links, 950 PNIs, 830 cache boxes, 110 IX ports, 170 customers) into the base and into this checkout and times them in alternating turns, 15 runs each. It prints one table per environment: @@ -57,7 +60,7 @@ Without `--base` it just times this checkout. `--runs N`, `--md FILE`, `--json F save and a file from the in-game menu's Export save work: ```bash -npm run perf -- --save ~/Downloads/series-of-tubes-save.json --base /tmp/base.html +npm run perf -- --save ~/Downloads/series-of-tubes-save.json --base-ref origin/main ``` Routing speed-ups must also keep the two equivalence tests green: `tests/speed.test.js` (the fast @@ -70,10 +73,10 @@ incidents and failures). - **Every pull request**: the Performance workflow runs the same comparison and posts the table as a comment on the PR (updated on every push). Read it before merging. Locally, paste the table into the PR description or the commit summary you report. -- **Everything you hand back to Frederic** that touched `site/`: include the table, or at least the +- **Everything you hand back to Frederic** that touched `src/` or `site/`: include the table, or at least the rows that moved, in your summary. Say plainly when something got slower. - **Before a release**: compare the release against the previous tag - (`git show v:site/index.html > /tmp/base.html`) and mention notable changes. + (`npm run perf -- --base-ref v`) and mention notable changes. ## Read the table diff --git a/.claude/skills/release/SKILL.md b/.claude/skills/release/SKILL.md index 6307236..79087df 100644 --- a/.claude/skills/release/SKILL.md +++ b/.claude/skills/release/SKILL.md @@ -7,8 +7,10 @@ description: Cut and ship a Series of Tubes release (patch or minor) from main v Bumping `version` in `package.json` on `main` is the release button. The `auto-release.yml` workflow tests, tags `v`, publishes a GitHub release with -that version's CHANGELOG section as notes, and dispatches `release.yml`, which deploys -to GitHub Pages (https://seriesoftub.es). +that version's CHANGELOG section as notes, and dispatches `release.yml`, which builds +`_site/` (`npm run build`: the page assembled from `src/` plus `site/`) and deploys it +to GitHub Pages (https://seriesoftub.es). GitHub Pages is the only host, ever: see the +`github-pages` skill. ## Only release when Frederic says so @@ -53,7 +55,7 @@ gh api repos/fjaeckel/seriesoftubes/releases/latest --jq '.tag_name+" "+.publish - `package-lock.json` → top-level `"version"` and `packages[""].version` 4. `npm test` once more. Then compare performance with the previous release and mention anything notable to Frederic: - `git show v:site/index.html > /tmp/base.html && npm run perf -- --base /tmp/base.html`. + `npm run perf -- --base-ref v`. 5. Commit on `main` as Frederic, with no attribution trailers: ```bash git -c user.name="Frederic Jung" -c user.email="frederic@jc-ix.net" commit \ diff --git a/.claude/skills/write-tests/SKILL.md b/.claude/skills/write-tests/SKILL.md index 4f0ce7c..b465835 100644 --- a/.claude/skills/write-tests/SKILL.md +++ b/.claude/skills/write-tests/SKILL.md @@ -5,8 +5,8 @@ description: Write deterministic jsdom tests for Series of Tubes features and fi # Writing tests -Tests use `node:test` and `tests/harness.js`, which loads `site/index.html` in jsdom -with the animation loop off, a seeded `Math.random` and a recording fake canvas. +Tests use `node:test` and `tests/harness.js`, which assembles the game page from `src/` +(once per test file) and loads it in jsdom with the animation loop off, a seeded `Math.random` and a recording fake canvas. Code runs inside the page through `ev()`. ## Pattern @@ -29,8 +29,11 @@ test('what the player should see happen', () => { Pick the suite by topic: `game` (core loop), `build`, `persist` (save/import/migrate), `services` (customers), `peering`, `issues` (GitHub issue regressions, name them -`#NN …`), `regions`, `modes` (scenarios, sandbox, weekly), `i18n`. A new file must be -added to the `test` script in `package.json`. +`#NN …`), `regions`, `modes` (scenarios, sandbox, weekly), `i18n`, `pages` (hosting). +For a new feature, prefer a new file named after it (`tests/route-servers.test.js`): every +`tests/*.test.js` runs on its own (`scripts/test.js`), and a file of your own never conflicts +with someone else's tests. Appending to the big suites (`issues`, `regions`) is where +pull requests collide. Run one file with `npm test -- tests/route-servers.test.js`. ## Rules @@ -40,7 +43,7 @@ added to the `test` script in `package.json`. ```js ev("eval('('+fireFailure.toString().replace('const e=pick(opts);',\"const e='crash';\")+')')()"); ``` - Check the current source for the exact `pick` line first; it may differ. + Check the current source for the exact `pick` line first (`grep -rn "function fireFailure" src/game`); it may differ. - **Drive the game through `ACT`** like a player would, then `compute()` or `dayTick()`. - **Saves:** for persistence changes, round-trip `JSON.stringify(S)` through `parseSave()`/`migrate()`, and test that an *old* save without the new field still loads. diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..cb714b7 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,3 @@ +# The assembler joins src/ byte for byte and refuses CR line endings; keep LF everywhere it reads. +src/** text eol=lf +site/i18n/*.js text eol=lf diff --git a/CLAUDE.md b/CLAUDE.md index 9eaf5e8..ea30581 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,30 +1,43 @@ # Series of Tubes: notes for Claude A free cartoon browser game about how the internet works, live at -https://seriesoftub.es. The whole game is one static page: `site/index.html` -(HTML, CSS and JS in one file, no framework, no build step for development). +https://seriesoftub.es, hosted on GitHub Pages. The game is one static page with no framework. +Its source is many small files in `src/` (`src/styles/*.css`, `src/game/**/*.js`, the shell +`src/index.html`); the build pastes them together, in path order, into a single `index.html`, the +same one-file page players have always loaded. Static files (dictionaries, icons, service worker) +live in `site/`. Read these before larger changes: -- `docs/ARCHITECTURE.md`: how the code is laid out and how a day of simulation runs. -- `.claude/skills/`: step-by-step procedures (release, translations, tests). +- `docs/ARCHITECTURE.md`: where the code is, and how a day of simulation runs. +- `docs/adr/`: decisions that are settled (GitHub Pages only; one page assembled at build). +- `.claude/skills/`: step-by-step procedures (`edit-the-game`, `github-pages`, release, + translations, tests, performance). ## Commands ```bash npm ci # once: installs jsdom for the tests -npm test # node:test + jsdom, all suites, must stay green -node scripts/i18n-check.js # must report "0 missing, 0 unused, 0 broken" -npm run build # builds _site/ (stamps version, bakes release notes) -npm run serve # build and serve locally -npm run perf -- --base /tmp/base.html # big-network benchmark vs another version (see `performance`) -npm run perf -- --base /tmp/base.html --browser # the same, also in real Chromium (desktop and phone) +npm run dev # play while developing: http://localhost:8080, reloads on save +npm test # node:test + jsdom, every tests/*.test.js, must stay green +node scripts/i18n-check.js # must report "0 missing, 0 unused, 0 broken" (and sorted dictionaries) +node scripts/i18n-add.js FILE.json # add/change/remove translations (see `add-strings`) +npm run build # builds _site/ for GitHub Pages (assembles src/, stamps version, bakes release notes) +npm run serve # build and serve the production site locally +npm run perf -- --base-ref origin/main # big-network benchmark vs main (see `performance`) +npm run perf -- --base-ref origin/main --browser # the same, also in real Chromium (desktop and phone) ``` -To play during development, open `site/index.html` directly or run `npm run serve`. - ## Hard rules +- **GitHub Pages, always.** The game is hosted on GitHub Pages and nowhere else. This is not up + for discussion: never propose or prepare another host, a CDN in front, a backend, server-side + rendering, redirects or custom headers. The build output stays plain static files from one + origin. If a feature seems to need a server, redesign the feature. See the `github-pages` skill + and `docs/adr/0001-github-pages-only.md`. +- **No runtime cost for structure.** The page ships as one assembled `index.html`. Organise code + into files under `src/` freely (build time is cheap), but never in a way that adds requests or + work to page load or to the game loop. - **Git:** work on `main`, no branches. Commits are authored and committed as `Frederic Jung `. Never add `Co-Authored-By`, `Claude-Session` or any other attribution trailers. @@ -42,25 +55,33 @@ To play during development, open `site/index.html` directly or run `npm run serv - **Easter eggs stay secret.** Never mention hidden jokes or easter eggs (for example whatever `elephant()` does) in commit messages, release notes or the CHANGELOG. - **Every player-facing string is translated.** Wrap it in `tr()`, `trn()` or `N_()` - and add the Italian to `site/i18n/it.js` in the same change (see `add-strings`). + and add every translation (`site/i18n/*.js`) in the same change with `scripts/i18n-add.js` + (see `add-strings`). - **Phones first.** About 70% of players are on phones. Every new panel, button and modal must work at 360 px wide, in portrait and landscape, using the phone tab bar and bottom sheets. Check `isPhone()` layouts, not just desktop. - **Saves are sacred.** Old saves must keep loading. Any new state field gets a default in `newGame()` and a check/repair in `sanitize()`; renamed fields are migrated there. -- **Performance is always demonstrated.** Every change to `site/` is measured on the big-network - fixture against `main` (`npm run perf -- --base /tmp/base.html`, see the `performance` skill), +- **Performance is always demonstrated.** Every change to `src/` or `site/` is measured on the big-network + fixture against `main` (`npm run perf -- --base-ref origin/main`, see the `performance` skill), and the numbers go into the PR and into your summary. Every PR also gets them as a comment from CI. Anything slower needs a reason or a fix. - **Tests come with features.** Add or extend a test in `tests/` for every feature or - fix. Tests are seeded, so they must not depend on luck. + fix (a new feature gets its own `tests/.test.js`). Tests are seeded, so they must not + depend on luck. - **CHANGELOG style:** plain English, written for players, one bullet per change, - issue numbers in parentheses like `(#37)`. No internal names, no jokes explained. + issue numbers in parentheses like `(#37)`. No internal names, no jokes explained. The CHANGELOG + is the one file every change touches; conflicts there are expected (keep both bullets). ## Style of the code -- Dense, single-file JavaScript. Match the surrounding style: short helper names, - arrow functions, template-literal HTML, no new dependencies. +- Dense JavaScript in small topic files under `src/game/` (see `edit-the-game`): a new feature gets + its own `NN-name.js` in the folder of its topic, actions go in the matching + `src/game/90-actions/*.js`. All files share one top-level scope; top-level values may only use + top-level values from earlier files. Match the surrounding style: short helper names, arrow + functions, template-literal HTML, no new dependencies. +- Lists people add to (cities, cables, networks, dictionaries) are one entry per line; id-keyed + objects and dictionaries stay sorted, so additions do not collide. - UI is rebuilt from state: change `S`, then call `after()` (recompute, check goals, re-render, save). Buttons are `btn(label, actName, args, cls, disabled)`, which dispatch to `ACT[actName](args)` through `data-act`/`data-args`. diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index d945d44..3dcf1d7 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -18,19 +18,49 @@ Not sure yet whether something is a bug or an idea worth an issue? Ask in the ## Development -The game is one static page, `site/index.html`, with no framework and no build step -while developing. +The game is one static page with no framework, hosted on GitHub Pages. Its source is split into +small files under `src/` (styles in `src/styles/`, the game script in `src/game/`), which the build +joins, in path order, into a single `index.html`. Static files such as the translations live in `site/`. ```bash npm ci # installs jsdom for the tests -npm run serve # builds and serves the game locally +npm run dev # http://localhost:8080, reloads when you save a file npm test # all tests must pass -node scripts/i18n-check.js # translations must be complete +node scripts/i18n-check.js # translations must be complete and sorted +npm run serve # the production build, as GitHub Pages will serve it ``` -Opening `site/index.html` directly in a browser also works. +Where things are, and how a day of the simulation runs: [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). -A tour of the code is in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). +### Keeping pull requests apart + +Many people work on the game at once. A few habits keep your pull request from colliding with theirs: + +- Put a new feature in its own file in the folder of its topic (for example + `src/game/70-rules/85-route-servers.js`), and its tests in their own `tests/.test.js`. + New files in `src/` and `tests/` are picked up automatically; nothing needs registering. +- Add actions to the matching file in `src/game/90-actions/`, not wherever there is room. +- Lists (cities, cables, networks) take one entry per line; keep id-keyed tables sorted. +- Add translations with `node scripts/i18n-add.js` rather than by hand: it keeps the dictionaries + sorted, so your new strings don't land on the same lines as everyone else's. +- The `CHANGELOG.md` bullet is the one place everybody writes. If it conflicts, keep both bullets. + +### Your branch still edits `site/index.html`? + +Until version 1.33 the whole game was one file, `site/index.html`. If your branch was started before +the split, merge `main` and let a script move your changes into `src/`: + +```bash +git fetch origin +git merge origin/main # stops: site/index.html was deleted on main +node scripts/legacy/port-branch.js # moves your edits into the matching src/ files +git status # fix any conflict it lists, then +npm test && git commit +``` + +It splits your version of the page and the one you started from the same way `src/` was made, merges +each piece into `src/`, and applies your dictionary changes entry by entry. It only reports conflicts +where your change and `main` touched the same lines. ## Pull requests @@ -42,11 +72,14 @@ A tour of the code is in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). must not depend on luck. - Add a bullet for players under `## [Unreleased]` in `CHANGELOG.md`, in plain English. Releases are cut by the maintainer. -- Show the performance of changes to `site/` on a big network. The Performance check posts a table +- Show the performance of changes to `src/` on a big network. The Performance check posts a table comparing your PR with `main` as a comment; to run it yourself: - `git show origin/main:site/index.html > /tmp/base.html && npm run perf -- --base /tmp/base.html` + `npm run perf -- --base-ref origin/main` (add `--browser` to also time it in Chromium as a desktop and a phone, like CI does). Anything marked slower needs an explanation. +- The game is hosted on GitHub Pages, and that will not change. Changes must work as plain static + files: no server code, no other host, no redirects or custom headers (see + [docs/adr/0001-github-pages-only.md](docs/adr/0001-github-pages-only.md)). - Old saves must keep loading. New state needs a default for new games and a check in `sanitize()`. - Check your change on a phone-sized screen (about 360 px wide). Most players are on @@ -64,8 +97,8 @@ A tour of the code is in [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md). ## Translations Every player-facing string goes through `tr()`, `trn()` or `N_()`. Dictionaries live -in `site/i18n/` (English text → translation). To add a language, copy `it.js`, translate -the values, register the language in the language list in `site/index.html`, and run +in `site/i18n/` (English text → translation, one entry per line, sorted). To add a language, copy +`it.js`, translate the values, register the language in the language list in `src/index.html`, and run `node scripts/i18n-check.js ` until it reports nothing missing, unused or broken. The CI job "translations" runs the same check on every pull request, shows each language's coverage in the run summary, and also fails if a new language is not added to the language list or to the offline cache in `site/sw.js`. Language pull requests must be reviewed by a human who speaks the language, and diff --git a/README.md b/README.md index 9940c8b..e64a010 100644 --- a/README.md +++ b/README.md @@ -36,10 +36,11 @@ an hour there than from a year of laying cartoon fiber here. ## Playing locally -It is a single static page with no build step for development: +It is a single static page, assembled from the files in `src/` by a small Node script: ```sh -open site/index.html # or: npm run serve +npm ci +npm run dev # http://localhost:8080 ``` Progress is saved in your browser's local storage. @@ -51,32 +52,39 @@ and remembers the one you pick under Settings or on the title screen. ```sh npm ci +npm run dev # development server: assembles src/ on every request, reloads on save npm test # headless tests: boot, geography, a year of play, every incident, every panel -npm run build # writes the deployable site to _site/ with version and date stamped in +npm run build # writes the site for GitHub Pages to _site/, with version and date stamped in npm run i18n:check # lists text missing from (or stale in) the translations ``` ``` -site/ everything that is deployed - index.html the whole game (HTML, CSS and JS in one file) +src/ the game page, in pieces (joined into one index.html at build) + index.html the shell: , static markup, @include lines + styles/ CSS + game/ the game script, by topic: world, networks, simulation, actions, UI, map… +site/ static files, deployed as they are i18n/it.js Italian translation, loaded only when the game runs in Italian i18n/pt.js Portuguese (Brazil) translation, loaded only when the game runs in Portuguese i18n/fr.js French translation, loaded only when the game runs in French images/og-image.png social preview (1200×630) favicon.*, icon-* favicons, app icons, manifest + sw.js service worker (offline play) robots.txt, sitemap.xml, llms.txt, 404.html, CNAME -scripts/build.sh copies site/ to _site/ and stamps __VERSION__ / __BUILD_DATE__ +scripts/build.js builds _site/ for GitHub Pages: site/ + the assembled page, stamped +scripts/lib/page.js joins src/ into the page tests/ node:test + jsdom -.github/workflows/ ci.yml (pushes to main and PRs) and release.yml (Pages deploy) +docs/ architecture and decisions (docs/adr/) +.github/workflows/ ci.yml (pushes to main and PRs) and release.yml (GitHub Pages deploy) ``` ## Translations -English is the source text. Player-facing strings in `index.html` go through +English is the source text. Player-facing strings in `src/` go through `tr('Unlocks at level {n}.', {n})` (or `trn(one, other, n)` for plurals); static markup uses `data-i18n`, and `aria-label`/`title` are translated at boot. Each language is a `site/i18n/.js` file mapping the English text to its translation, plus an entry in -`SOT_LANGS` (the language loader at the top of the page). Missing entries fall back to +`SOT_LANGS` (the language loader in `src/index.html`). Missing entries fall back to English, so new English text never breaks the game; `npm run i18n:check` lists what needs translating, and the tests make sure every translation keeps its `{placeholders}` and HTML tags. diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index bd626c8..39af49d 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -1,50 +1,75 @@ # Architecture -Everything that runs in the browser lives in `site/index.html`. It is large (several -thousand lines), so find things by the section banners rather than by line number: +Series of Tubes is a static web game hosted on **GitHub Pages, and only there** +([ADR 0001](adr/0001-github-pages-only.md)). Its source is split into many small files under `src/`; +the build joins them into **one self-contained `index.html`** (one inline ` diff --git a/src/styles/00-base.css b/src/styles/00-base.css index dc23fc4..c13c729 100644 --- a/src/styles/00-base.css +++ b/src/styles/00-base.css @@ -1,7 +1,9 @@ -/* Layout: full-bleed cartoon world map on canvas; sticker-style panels float above it (HUD top, goals left, inspector right / bottom sheet on phones). Single committed bright look. */ +/* Layout: full-bleed cartoon world map on canvas; sticker-style panels float above it (HUD top, goals left, inspector right / bottom sheet on phones). + Two looks, light and dark (05-theme.css): --ink is the stickers' dark outline (and text on bright fills) in both, + --text the text on the panels. */ :root{ --sea:#57C4E5; --sea2:#3AA6CF; --wave:#9BE2F2; --land:#9BDA6C; --land2:#7FC455; --sand:#F8E6A8; - --ink:#1E2640; --ink2:#55608A; --paper:#FFFFFF; --soft:#EEF5FB; --line:#D5DEEC; + --ink:#1E2640; --ink2:#55608A; --text:#1E2640; --paper:#FFFFFF; --soft:#EEF5FB; --line:#D5DEEC; --me:#FF4F9A; --sun:#FFD23F; --ok:#22C47A; --warn:#FFAA1F; --bad:#FF4D5E; --t1:#7B61FF; --t2:#2F8CFF; --cdn:#FF8A3D; --eye:#16A866; --display:'Baloo 2','Trebuchet MS',system-ui,sans-serif; @@ -14,7 +16,7 @@ body{margin:0} .sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0} .ver{font-size:11.5px;color:var(--ink2);margin-top:10px} .ver a{color:inherit} -body{background:var(--sea);color:var(--ink);font-family:var(--body);overflow:hidden;font-size:14px;-webkit-font-smoothing:antialiased} +body{background:var(--sea);color:var(--text);font-family:var(--body);overflow:hidden;font-size:14px;-webkit-font-smoothing:antialiased} #map{position:fixed;inset:0;width:100%;height:100%;touch-action:none;display:block;cursor:grab} #map.linking{cursor:crosshair} /* The WebGL tubes and the 2D overlay above them (58-webgl-links.js): pictures only, the map underneath takes the pointer. */ diff --git a/src/styles/05-theme.css b/src/styles/05-theme.css new file mode 100644 index 0000000..dce9763 --- /dev/null +++ b/src/styles/05-theme.css @@ -0,0 +1,23 @@ +/* Dark (#80): , set by the page's from Settings › Theme (93-ui/15-theme.js). The panels take + the night colours of the NOC window: dark paper, light text, the stickers' outlines darker still. Light tints (a goal + to work on, a toast, a pick) are written where they are used as var(--tint-…, light colour): only this look sets them. + Text on bright fills (yellow buttons, warning tags) stays dark ink in both looks. */ +:root[data-theme="dark"]{ + color-scheme:dark; + --sea:#0E2A44; --ink:#070B16; --ink2:#A9B7D8; --text:#E9EFFB; --paper:#1A2340; --soft:#232E50; --line:#364470; --eye:#2BC987; + --tint-y:#3B3418; --tint-g:#173B2C; --tint-r:#45212B; --tint-p:#43213D; --tint-b:#17324F; --tint-v:#2C2752; --tint-o:#42301A; + --tint-n:#252F4C; --tint-nl:var(--line); --tx-red:#FF8E9B; --tx-amber:#FFB65C; + scrollbar-color:#4A5B8E transparent; +} +/* The green of good news is lighter as text on dark paper; a tag keeps the deeper green under its white letters. */ +:root[data-theme="dark"] .tag.eye{background:#16A866} +/* A ghost button on dark paper: a shade lighter, so it still reads as a button. */ +:root[data-theme="dark"] .b.ghost,:root[data-theme="dark"] .x{background:var(--soft)} +/* The dropdowns' arrow is a picture: drawn again in the light text colour. */ +:root[data-theme="dark"] select.pick{background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%23E9EFFB' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E")} +/* Badge variants: the frost and the fire, at night. */ +:root[data-theme="dark"] .bdg.on.v-freeze{background:linear-gradient(160deg,#15344C,#0F4562);box-shadow:0 2px 0 #5BC0EB,inset 0 0 0 2px var(--paper)} +:root[data-theme="dark"] .bdg.on.v-bgp{background:linear-gradient(160deg,#3E2A16,#55280F)} +:root[data-theme="dark"] .bdg.v-bgp .bv,:root[data-theme="dark"] .bdg.on.v-bgp .bv{color:#FF8A5C} +:root[data-theme="dark"] .bdg.v-freeze .bv{color:#7FD3F5} +:root[data-theme="dark"] .legend .lg:hover{background:rgba(233,239,251,.08)} diff --git a/src/styles/10-hud.css b/src/styles/10-hud.css index e00a535..2362dd3 100644 --- a/src/styles/10-hud.css +++ b/src/styles/10-hud.css @@ -16,7 +16,7 @@ #hNoc{position:relative}#hNoc .badge{position:absolute;top:-8px;right:-8px;background:var(--me);color:#fff;border:2.5px solid var(--ink);border-radius:10px;font:900 11px Nunito,sans-serif;padding:0 6px;line-height:16px} .speed{flex-direction:row;align-items:center;gap:4px;padding:4px 6px} .speed button{border:2.5px solid var(--ink);background:var(--paper);border-radius:9px;min-width:34px;height:32px;font-family:var(--display);font-weight:800;cursor:pointer;font-size:13px} -.speed button.on{background:var(--sun)} +.speed button.on{background:var(--sun);color:var(--ink)} .spacer{flex:1} .noc{cursor:pointer;border:3px solid var(--ink)} .hotk{display:inline-flex;align-items:center;justify-content:center;min-width:24px;height:24px;padding:0 4px;border-radius:12px;border:2px solid var(--ink,#1E2640);font:900 11px Nunito,sans-serif;margin-right:8px;color:#fff;background:#FF4D5E} @@ -24,7 +24,7 @@ .noc.hot{background:var(--bad);color:#fff;animation:throb 1s ease-in-out infinite} .noc.hot .lbl{color:#FFE1E4} #hCust .cnt{display:inline-block;min-width:18px;padding:0 5px;border-radius:9px;background:var(--bad);color:#fff;font-size:11px;line-height:18px;text-align:center;vertical-align:3px;margin-left:2px} -#hCust.hot{background:#FFE1E4} +#hCust.hot{background:var(--tint-r,#FFE1E4)} @keyframes throb{50%{transform:scale(1.05)}} .minibar{height:6px;border-radius:4px;background:var(--line);overflow:hidden;margin-top:2px;width:100%} .minibar i{display:block;height:100%;background:var(--ok)} diff --git a/src/styles/20-drawers.css b/src/styles/20-drawers.css index 31fc819..a34dfd1 100644 --- a/src/styles/20-drawers.css +++ b/src/styles/20-drawers.css @@ -20,8 +20,8 @@ .x{margin-left:auto;border:2.5px solid var(--ink);background:var(--paper);border-radius:10px;width:32px;height:32px;font-size:20px;line-height:1;cursor:pointer;font-weight:900;flex:none} .facts{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px} .fact{background:var(--soft);border:2px solid var(--ink);border-radius:9px;padding:1px 8px;font-size:12px;font-weight:700} -.fact.bad{background:#FFE3E3}.latwarn{background:#FFF1F1;border:2px solid #FF5A5F;border-radius:10px;padding:8px 10px;margin:6px 0;font-size:13px;line-height:1.4} -.fact.ixf{background:#FFF3C4} +.fact.bad{background:var(--tint-r,#FFE3E3)}.latwarn{background:var(--tint-r,#FFF1F1);border:2px solid #FF5A5F;border-radius:10px;padding:8px 10px;margin:6px 0;font-size:13px;line-height:1.4} +.fact.ixf{background:var(--tint-y,#FFF3C4)} .fact.mine{background:var(--me);color:#fff} .fact.down{background:var(--bad);color:#fff} section{padding:10px 0;border-bottom:2px dashed var(--line)} @@ -37,13 +37,13 @@ section h3{font-size:17px;margin-bottom:6px;display:flex;align-items:center;gap: .row .nm{font-weight:800;font-size:13.5px;line-height:1.2} .row .meta{font-size:11.5px;color:var(--ink2);line-height:1.3} .btns{display:flex;flex-wrap:wrap;gap:5px;margin-top:5px} -.why{font-size:11px;color:#B23A48;font-weight:700;margin-top:3px;line-height:1.3} +.why{font-size:11px;color:var(--tx-red,#B23A48);font-weight:700;margin-top:3px;line-height:1.3} -.b{font-family:var(--display);font-weight:800;border:2.5px solid var(--ink);border-radius:11px;background:var(--sun);box-shadow:0 3px 0 var(--ink);padding:4px 11px 3px;cursor:pointer;font-size:14px;line-height:1.2;white-space:nowrap;transition:transform .06s} +.b{font-family:var(--display);font-weight:800;border:2.5px solid var(--ink);border-radius:11px;background:var(--sun);box-shadow:0 3px 0 var(--ink);padding:4px 11px 3px;cursor:pointer;font-size:14px;line-height:1.2;white-space:nowrap;transition:transform .06s;color:var(--ink)} .b:hover{filter:brightness(1.05)} .b:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)} .b:disabled{opacity:.42;cursor:not-allowed;transform:none;box-shadow:0 3px 0 var(--ink)} -.b.ghost{background:var(--paper)} +.b.ghost{background:var(--paper);color:var(--text)} .b.pink{background:var(--me);color:#fff} .b.red{background:var(--bad);color:#fff} .b.green{background:var(--ok);color:#fff} @@ -52,14 +52,14 @@ section h3{font-size:17px;margin-bottom:6px;display:flex;align-items:center;gap: .b small{font-family:var(--body);font-weight:800;font-size:10.5px;opacity:.85;margin-left:3px} .logo{width:30px;height:30px;border-radius:50%;background:var(--c);border:2.5px solid var(--ink);display:grid;place-items:center;color:#fff;font-family:var(--display);font-weight:800;font-size:11px;flex:none;letter-spacing:-.02em} -.tag{display:inline-block;border:1.8px solid var(--ink);border-radius:7px;padding:0 5px;font-size:10px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;vertical-align:1px;color:#fff;background:var(--ink2)} +.tag{display:inline-block;border:1.8px solid var(--ink);border-radius:7px;padding:0 5px;font-size:10px;font-weight:900;letter-spacing:.03em;text-transform:uppercase;vertical-align:1px;color:#fff;background:#55608A} .tag.t1{background:var(--t1)} .tag.t2{background:var(--t2)} .tag.cdn{background:var(--cdn)} .tag.eye{background:var(--eye)} .tag.open{background:var(--ok)} .tag.selective{background:var(--warn);color:var(--ink)} .tag.restrictive{background:var(--bad)} .tag.paid{background:var(--me)} -.tag.st{background:var(--paper);color:var(--ink)} +.tag.st{background:var(--paper);color:var(--text)} /* PNI list (#175): one status chip per network, a one-line value, folded groups. Chips wrap on narrow screens. */ .tag.worth{background:var(--warn);color:var(--ink)} .pchips{display:flex;flex-wrap:wrap;gap:4px;margin:3px 0} -.pchip{display:inline-block;max-width:100%;border:1.5px solid var(--ink);border-radius:999px;padding:0 7px;font-size:11px;font-weight:800;line-height:1.5;background:var(--paper);color:var(--ink);overflow-wrap:anywhere} +.pchip{display:inline-block;max-width:100%;border:1.5px solid var(--ink);border-radius:999px;padding:0 7px;font-size:11px;font-weight:800;line-height:1.5;background:var(--paper);color:var(--text);overflow-wrap:anywhere} .pchip.pk-here,.pchip.pk-else{background:var(--ok);color:#fff} .pchip.pk-ix{background:var(--t2);color:#fff} .pchip.pk-none{background:var(--bad);color:#fff} @@ -79,12 +79,12 @@ section h3{font-size:17px;margin-bottom:6px;display:flex;align-items:center;gap: .goal .ck{width:22px;height:22px;border:2.5px solid var(--ink);border-radius:7px;flex:none;display:grid;place-items:center;font-weight:900;background:var(--paper);font-size:13px} .goal.done .ck{background:var(--ok);color:#fff} .goal.done .gt{text-decoration:line-through;color:var(--ink2)} -.goal.cur{background:#FFF6CF;margin:0 -14px;padding:9px 14px;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)} +.goal.cur{background:var(--tint-y,#FFF6CF);margin:0 -14px;padding:9px 14px;border-top:2px solid var(--ink);border-bottom:2px solid var(--ink)} .goal .gt{font-weight:900;font-size:13.5px} .goal .gd{font-size:12px;color:var(--ink2);line-height:1.4;margin-top:2px} .goal .gr{font-size:11px;font-weight:900;color:var(--eye);margin-top:2px} .empty{color:var(--ink2);font-size:12.5px;line-height:1.45;padding:6px 0} -.inc{border:2.5px solid var(--ink);border-radius:12px;padding:8px 10px;margin-bottom:8px;background:#FFF0F1} +.inc{border:2.5px solid var(--ink);border-radius:12px;padding:8px 10px;margin-bottom:8px;background:var(--tint-r,#FFF0F1)} .inc .nm{font-weight:900} .inc .meta{font-size:12px;color:var(--ink2);margin-top:2px;line-height:1.35} diff --git a/src/styles/30-toasts.css b/src/styles/30-toasts.css index 0086d63..c82aa74 100644 --- a/src/styles/30-toasts.css +++ b/src/styles/30-toasts.css @@ -1,15 +1,15 @@ /* toasts */ #toasts{position:fixed;left:50%;transform:translateX(-50%);bottom:calc(env(safe-area-inset-bottom,0px) + 14px);display:flex;flex-direction:column-reverse;gap:8px;z-index:8;width:min(460px,calc(100% - 32px));pointer-events:none} .toast{pointer-events:none;background:var(--paper);border:3px solid var(--ink);border-radius:14px;box-shadow:3px 3px 0 var(--ink);padding:9px 12px;display:flex;gap:10px;align-items:center;animation:pop .25s cubic-bezier(.3,1.6,.6,1)} -.toast.good{background:#DFFBEA} .toast.bad{background:#FFE1E4} .toast.goal{background:#FFF3C4} +.toast.good{background:var(--tint-g,#DFFBEA)} .toast.bad{background:var(--tint-r,#FFE1E4)} .toast.goal{background:var(--tint-y,#FFF3C4)} .toast .b{pointer-events:auto} .seg{display:flex;flex-wrap:wrap;gap:6px} .seg .b{white-space:normal;text-align:left} /* A segmented control: one framed row of equal tabs, the active one filled like the HUD's speed buttons (Pie Control). */ .segc{display:flex;gap:3px;padding:3px;margin:6px 0 10px;border:3px solid var(--ink);border-radius:14px;background:var(--soft);box-shadow:3px 3px 0 var(--ink)} -.segc button{flex:1 1 0;min-width:0;min-height:40px;padding:3px 2px;border:2.5px solid transparent;border-radius:10px;background:none;color:var(--ink);font-family:var(--display);font-weight:800;font-size:min(13.5px,3.6vw);line-height:1.1;cursor:pointer;overflow-wrap:anywhere;hyphens:auto} +.segc button{flex:1 1 0;min-width:0;min-height:40px;padding:3px 2px;border:2.5px solid transparent;border-radius:10px;background:none;color:var(--text);font-family:var(--display);font-weight:800;font-size:min(13.5px,3.6vw);line-height:1.1;cursor:pointer;overflow-wrap:anywhere;hyphens:auto} .segc button:hover{background:var(--paper)} -.segc button.on{background:var(--sun);border-color:var(--ink)} +.segc button.on{background:var(--sun);border-color:var(--ink);color:var(--ink)} .segc button:focus-visible{outline:3px solid var(--me);outline-offset:1px} .toast .tx{flex:1;font-size:13px;line-height:1.35} .toast .tx b{font-family:var(--display);font-size:14.5px} diff --git a/src/styles/36-ops.css b/src/styles/36-ops.css index e00dd87..94ba823 100644 --- a/src/styles/36-ops.css +++ b/src/styles/36-ops.css @@ -1,5 +1,5 @@ /* Standing orders: the intern's card in the NOC and the Ops sheet */ -.ops-card{border:2px solid #8E5CF7;background:#F7F2FF;border-radius:12px;padding:8px 10px;margin:8px 0} +.ops-card{border:2px solid #8E5CF7;background:var(--tint-v,#F7F2FF);border-radius:12px;padding:8px 10px;margin:8px 0} .ops-card .nm{font-weight:800} .ops-o{border:2px solid var(--line);border-radius:12px;padding:8px 10px;margin:8px 0;background:var(--paper)} .ops-o.on{border-color:var(--ok)} @@ -12,10 +12,10 @@ .ops-p .b{white-space:normal;text-align:left;min-height:36px} /* A setting is a list to pick from: two to a row on a phone, the list as wide as its column. */ .ops-sel{display:flex;flex-direction:column;gap:2px;flex:1 1 140px;min-width:0;font:800 12px Nunito,sans-serif;color:var(--ink2)} -.ops-sel select{width:100%;min-height:36px;font:700 14px Nunito,sans-serif;color:var(--ink);background:var(--paper);padding:4px 6px;border:2px solid var(--ink);border-radius:8px} +.ops-sel select{width:100%;min-height:36px;font:700 14px Nunito,sans-serif;color:var(--text);background:var(--paper);padding:4px 6px;border:2px solid var(--ink);border-radius:8px} .ops-log{white-space:pre-wrap;font-size:11.5px;max-height:160px;overflow:auto} .ops-mood{margin:6px 0 0;font-style:italic;font-size:13px;color:var(--ink2)} -.ops-rep{border-left:3px solid #8E5CF7;background:#F7F2FF;border-radius:0 8px 8px 0;padding:6px 8px;margin:6px 0;font-size:13px;line-height:1.35;overflow-wrap:anywhere} +.ops-rep{border-left:3px solid #8E5CF7;background:var(--tint-v,#F7F2FF);border-radius:0 8px 8px 0;padding:6px 8px;margin:6px 0;font-size:13px;line-height:1.35;overflow-wrap:anywhere} .ops-rep .eyebrow{margin-bottom:2px} /* Pie Control's Company tab ends with the Founder's feed: a quiet section, older posts folded away. */ .pie-feed{border-top:2px solid var(--line);margin-top:12px;padding-top:4px} diff --git a/src/styles/38-pie-globe.css b/src/styles/38-pie-globe.css index 867140e..83ec44c 100644 --- a/src/styles/38-pie-globe.css +++ b/src/styles/38-pie-globe.css @@ -9,7 +9,7 @@ .pft-cr,.pft-d{margin:6px 0} .pft-cr .kv span,.pft-d .kv span{min-width:0;overflow-wrap:anywhere} .pft-list{display:flex;flex-direction:column;gap:6px} -.pft-row{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 10px;border:2px solid var(--line);border-radius:12px;background:var(--paper);color:var(--ink);font:inherit;text-align:left;cursor:pointer;box-sizing:border-box} +.pft-row{display:flex;align-items:center;gap:8px;width:100%;min-height:44px;padding:6px 10px;border:2px solid var(--line);border-radius:12px;background:var(--paper);color:var(--text);font:inherit;text-align:left;cursor:pointer;box-sizing:border-box} .pft-row.on{border-color:var(--me);box-shadow:0 0 0 2px var(--me) inset} .pft-ic{font-size:20px;flex:none} .pft-m{flex:1;min-width:0;display:flex;flex-direction:column} diff --git a/src/styles/40-modal.css b/src/styles/40-modal.css index 32acfbd..c07d336 100644 --- a/src/styles/40-modal.css +++ b/src/styles/40-modal.css @@ -2,13 +2,13 @@ .seg.site{margin-top:4px;align-items:center} .seg.site .meta{margin-right:4px} .badges{display:grid;grid-template-columns:repeat(auto-fill,minmax(118px,1fr));gap:6px} -.bdg{border:2px solid #C9CEDD;border-radius:12px;padding:6px 7px;background:#F3F4F8;opacity:.6;display:flex;flex-direction:column;gap:1px;min-width:0} +.bdg{border:2px solid var(--tint-nl,#C9CEDD);border-radius:12px;padding:6px 7px;background:var(--tint-n,#F3F4F8);opacity:.6;display:flex;flex-direction:column;gap:1px;min-width:0} .bdg .bi{font-size:20px;filter:grayscale(1)} -.bdg .bt{font:800 12.5px/1.2 "Baloo 2",sans-serif;color:var(--ink)} +.bdg .bt{font:800 12.5px/1.2 "Baloo 2",sans-serif;color:var(--text)} .bdg .br{font:900 10px Nunito,sans-serif;color:var(--rc);text-transform:uppercase;letter-spacing:.04em} -.bdg .bd{font-size:11px;color:#5A6280;line-height:1.25} +.bdg .bd{font-size:11px;color:var(--ink2);line-height:1.25} .bdg.ever{opacity:.85;border-style:dashed;border-color:var(--rc)} -.bdg.on{opacity:1;border-color:var(--rc);background:#fff;box-shadow:0 2px 0 var(--rc)} +.bdg.on{opacity:1;border-color:var(--rc);background:var(--paper);box-shadow:0 2px 0 var(--rc)} .bdg.on .bi,.bdg.ever .bi{filter:none} .bdg .bv{font:900 10px Nunito,sans-serif;letter-spacing:.02em} .bdg.on.v-freeze{background:linear-gradient(160deg,#F2FBFF,#D6F1FC);border-color:#5BC0EB;box-shadow:0 2px 0 #5BC0EB,inset 0 0 0 2px #fff} @@ -17,19 +17,19 @@ .bdg.v-bgp .bv{color:#C8102E} .bdg.ever.v-freeze{border-color:#5BC0EB}.bdg.ever.v-bgp{border-color:#FF5A1F} .bshelf{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px} -.bsh{font:800 12px Nunito,sans-serif;border:2px solid #C9CEDD;border-radius:999px;padding:2px 9px;background:#fff;white-space:nowrap} +.bsh{font:800 12px Nunito,sans-serif;border:2px solid var(--tint-nl,#C9CEDD);border-radius:999px;padding:2px 9px;background:var(--paper);white-space:nowrap} .bsh.v-freeze{border-color:#5BC0EB}.bsh.v-oncall{border-color:#FFD23F}.bsh.v-bgp{border-color:#FF5A1F} .bsh.cur{box-shadow:0 2px 0 var(--ink)} .bvt.v-freeze{color:#2A8DB8;font-weight:900}.bvt.v-bgp{color:#FF5A1F;font-weight:900} -.scn{display:flex;gap:10px;align-items:center;border:2px solid #DDE1EC;border-radius:12px;padding:8px 10px;margin-top:8px} -.scn.wk{border-color:var(--me);background:#FFF0F6} +.scn{display:flex;gap:10px;align-items:center;border:2px solid var(--tint-nl,#DDE1EC);border-radius:12px;padding:8px 10px;margin-top:8px} +.scn.wk{border-color:var(--me);background:var(--tint-p,#FFF0F6)} .scn .nm{font-weight:900} .term{background:#1E2640;color:#7CFFB2;font:600 12px/1.5 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;padding:10px 12px;border-radius:10px;overflow-x:auto;white-space:pre;margin:8px 0} .trsel{display:flex;flex-wrap:wrap;gap:8px;align-items:flex-end;margin-top:8px} .trsel label{display:flex;flex-direction:column;font:800 12px Nunito,sans-serif;gap:2px} .trsel select{font:700 14px Nunito,sans-serif;padding:4px 6px;border:2px solid var(--ink);border-radius:8px;max-width:240px} -.fact.trb{cursor:pointer;font:inherit;border:2px solid var(--ink);background:#fff} -#coach{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 74px);z-index:16;width:min(520px,calc(100% - 24px));background:#fff;border:3px solid var(--ink);border-radius:14px;box-shadow:0 4px 0 var(--ink);padding:8px 10px;display:flex;gap:8px;align-items:center} +.fact.trb{cursor:pointer;font:inherit;border:2px solid var(--ink);background:var(--paper)} +#coach{position:fixed;left:50%;transform:translateX(-50%);top:calc(env(safe-area-inset-top,0px) + 74px);z-index:16;width:min(520px,calc(100% - 24px));background:var(--paper);border:3px solid var(--ink);border-radius:14px;box-shadow:0 4px 0 var(--ink);padding:8px 10px;display:flex;gap:8px;align-items:center} #coach .ct{flex:1;font-weight:800;font-size:14px;line-height:1.35} #coach .cs{display:block;font:900 10px Nunito,sans-serif;color:var(--me);text-transform:uppercase;letter-spacing:.05em} .coach-glow{animation:coachglow 1s ease-in-out infinite;position:relative;z-index:2} @@ -43,13 +43,13 @@ .btns.tcta .b{margin:0;display:flex;align-items:center;justify-content:center;text-align:center;line-height:1.15;white-space:normal;hyphens:auto;-webkit-hyphens:auto;min-height:40px;padding:4px 6px;font-size:14px} .btns.tcta .b.big{grid-column:1/-1;font-size:18px;padding:7px 18px 5px} /* Dropdowns that look like the game's buttons. 16px text: iOS zooms into anything smaller when it is tapped. */ -select.pick{-webkit-appearance:none;appearance:none;font:800 16px var(--display);color:var(--ink);background:var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2640' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;border:3px solid var(--ink);border-radius:12px;padding:6px 36px 6px 12px;min-height:44px;cursor:pointer;box-shadow:0 3px 0 var(--ink)} +select.pick{-webkit-appearance:none;appearance:none;font:800 16px var(--display);color:var(--text);background:var(--soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%231E2640' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat right 12px center;border:3px solid var(--ink);border-radius:12px;padding:6px 36px 6px 12px;min-height:44px;cursor:pointer;box-shadow:0 3px 0 var(--ink)} select.pick:focus-visible{outline:3px solid #FF4F9A;outline-offset:2px} label.f+select.pick{width:100%} .thb{font:inherit;font-weight:900;background:none;border:0;padding:0;cursor:pointer;color:inherit} -.ttop{margin:4px 0;padding:4px 8px;border-left:3px solid #FF8A3D;background:#FFF6EC;border-radius:6px} -.ibx{border:2px solid var(--line,#DDE3EE);border-radius:12px;padding:8px 10px;margin:8px 0;background:#fff}.ibx .nm{font-weight:800} -.aibtn{background:linear-gradient(90deg,#8E5CF7,#E84FA8);color:#fff}.aisay{background:#F3ECFF;border:2px solid #8E5CF7;border-radius:10px;padding:8px 10px;color:var(--ink)} +.ttop{margin:4px 0;padding:4px 8px;border-left:3px solid #FF8A3D;background:var(--tint-o,#FFF6EC);border-radius:6px} +.ibx{border:2px solid var(--line,#DDE3EE);border-radius:12px;padding:8px 10px;margin:8px 0;background:var(--paper)}.ibx .nm{font-weight:800} +.aibtn{background:linear-gradient(90deg,#8E5CF7,#E84FA8);color:#fff}.aisay{background:var(--tint-v,#F3ECFF);border:2px solid #8E5CF7;border-radius:10px;padding:8px 10px;color:var(--text)} .tehelp h3{margin:14px 0 4px}.tehelp ul{margin:4px 0;padding-left:18px}.tehelp li{margin:4px 0;font-size:13.5px;line-height:1.4}.tehelp dt{margin-top:8px}.tehelp dd{margin:2px 0 0;font-size:13px;line-height:1.4;color:var(--ink2)}.tehelp code{font:600 12.5px ui-monospace,Menlo,Consolas,monospace;background:#1E2640;color:#E6F0FF;border-radius:6px;padding:1px 6px;word-break:break-word} .terec{display:flex;align-items:center;gap:10px;justify-content:space-between;border-top:2px dashed var(--line,#DDE3EE);padding:8px 0}.terec .btn{flex:none} .tecode{width:100%;box-sizing:border-box;font:600 13px/1.45 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;background:#1E2640;color:#E6F0FF;border:3px solid var(--ink);border-radius:10px;padding:10px;margin-top:8px;resize:vertical;tab-size:2} @@ -79,7 +79,7 @@ label.f+select.pick{width:100%} .loan{border:2.5px solid var(--ink);border-radius:14px;padding:10px 12px;margin-top:10px;display:flex;gap:10px;align-items:flex-start} .loan .grow{flex:1;min-width:0} .loan .terms{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0} -.grade{font-family:var(--display);font-weight:800;font-size:30px;line-height:1;border:3px solid var(--ink);border-radius:12px;padding:4px 10px;background:var(--sun)} +.grade{font-family:var(--display);font-weight:800;font-size:30px;line-height:1;border:3px solid var(--ink);border-radius:12px;padding:4px 10px;background:var(--sun);color:var(--ink)} #dash{position:fixed;inset:0;background:rgba(30,38,64,.35);z-index:15;overflow:auto;padding:calc(env(safe-area-inset-top,0px) + 12px) max(12px,env(safe-area-inset-right,0px)) 16px max(12px,env(safe-area-inset-left,0px))} #dashCard{max-width:980px;margin:0 auto;padding:16px 18px 18px;background:var(--paper)} .dgrid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:8px;margin:10px 0} @@ -110,18 +110,18 @@ label.f+select.pick{width:100%} .title-art h1 span{color:var(--me)} .tagline{color:var(--ink2);font-size:14.5px;line-height:1.45;margin:10px 0 14px} label.f{display:block;font-weight:900;font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:var(--ink2);margin:12px 0 5px} -input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radius:12px;padding:8px 12px;font-family:var(--display);font-weight:800;font-size:18px;background:var(--soft);color:var(--ink);-webkit-text-fill-color:var(--ink)} +input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radius:12px;padding:8px 12px;font-family:var(--display);font-weight:800;font-size:18px;background:var(--soft);color:var(--text);-webkit-text-fill-color:var(--text)} .network-name{display:flex;flex-wrap:wrap;align-items:center;gap:8px} .network-name{flex-wrap:nowrap}.nmwrap{position:relative;flex:1 1 auto;min-width:0}.nmwrap input.t{width:100%;padding-right:44px;font-size:16px} .reroll{position:absolute;right:6px;top:50%;transform:translateY(-50%);width:32px;height:32px;border-radius:50%;border:2px solid var(--ink);background:#22C47A;color:#fff;font:900 18px/1 var(--display);cursor:pointer;padding:0;display:flex;align-items:center;justify-content:center}.reroll:active{transform:translateY(-50%) rotate(-90deg)} -.asnwrap{display:flex;align-items:center;gap:4px;flex:0 0 auto;font:800 14px var(--display);color:var(--ink2)}.asnwrap input.t{width:92px;font-size:15px;padding:8px 6px}.asnwrap input.t::placeholder{color:var(--ink2);opacity:.7}.asnwrap input.t.bad{border-color:#E03A3A;background:#FFE8E8} +.asnwrap{display:flex;align-items:center;gap:4px;flex:0 0 auto;font:800 14px var(--display);color:var(--ink2)}.asnwrap input.t{width:92px;font-size:15px;padding:8px 6px}.asnwrap input.t::placeholder{color:var(--ink2);opacity:.7}.asnwrap input.t.bad{border-color:#E03A3A;background:var(--tint-r,#FFE8E8)} .metric-in{display:flex;gap:6px;align-items:center;margin-top:6px}.metric-in input.t{flex:1 1 120px;width:auto;min-width:0;font-size:16px;padding:4px 10px} -.plug{display:flex;gap:12px;align-items:center;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;margin:10px 0 4px;background:var(--soft);box-shadow:0 3px 0 var(--ink);color:var(--ink);text-decoration:none} -.plug:hover{background:#FFF6D6}.plug .pi{font-size:30px;line-height:1}.plug b{font-family:var(--display);font-size:16px}.plug .meta{display:block;margin-top:2px}.plug .go{margin-left:auto;font-weight:900;white-space:nowrap} +.plug{display:flex;gap:12px;align-items:center;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;margin:10px 0 4px;background:var(--soft);box-shadow:0 3px 0 var(--ink);color:var(--text);text-decoration:none} +.plug:hover{background:var(--tint-y,#FFF6D6)}.plug .pi{font-size:30px;line-height:1}.plug b{font-family:var(--display);font-size:16px}.plug .meta{display:block;margin-top:2px}.plug .go{margin-left:auto;font-weight:900;white-space:nowrap} .starts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.starts .start:last-child:nth-child(odd){grid-column:1/-1} .start{border:3px solid var(--ink);border-radius:14px;padding:8px 10px;background:var(--paper);cursor:pointer;text-align:left;box-shadow:0 3px 0 var(--ink)} .starts.one{grid-template-columns:1fr} -.start.on{background:#FFE3F0;border-color:var(--me);box-shadow:0 3px 0 var(--me)} +.start.on{background:var(--tint-p,#FFE3F0);border-color:var(--me);box-shadow:0 3px 0 var(--me)} .start b{font-family:var(--display);font-size:17px;display:block} .start span{font-size:12px;color:var(--ink2);line-height:1.3;display:block} /* Home cities: compact tiles stacked in one column, the dropdown for any other city last. */ @@ -132,13 +132,13 @@ input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radi .door i,.preset i,.chs i{font-style:normal;font-size:26px;line-height:1.1} .door b,.preset b,.chs b{font-family:var(--display);font-size:18px;line-height:1.1} .door span,.preset span,.chs span{font-size:12.5px;color:var(--ink2);line-height:1.3} -.door.on,.preset.on,.chs.on{background:#FFE3F0;border-color:var(--me);box-shadow:0 4px 0 var(--me)} +.door.on,.preset.on,.chs.on{background:var(--tint-p,#FFE3F0);border-color:var(--me);box-shadow:0 4px 0 var(--me)} .door.on::after,.preset.on::after,.chs.on::after{content:"✓";position:absolute;top:6px;right:9px;font:900 15px var(--display);color:var(--me)} .door[data-door=puzzle],.door[data-door=scn]{background:var(--soft)} .presets{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px} .preset small{font-size:11px;color:var(--ink2);line-height:1.3;margin-top:4px;border-top:2px dashed var(--line);padding-top:4px} -.preset[data-preset=bgp].on{background:#FFE9D6;border-color:#FF6A2B;box-shadow:0 4px 0 #FF6A2B}.preset[data-preset=bgp].on::after{color:#FF6A2B} -.preset[data-preset=freeze].on{background:#E2F5FF;border-color:var(--sea2);box-shadow:0 4px 0 var(--sea2)}.preset[data-preset=freeze].on::after{color:var(--sea2)} +.preset[data-preset=bgp].on{background:var(--tint-o,#FFE9D6);border-color:#FF6A2B;box-shadow:0 4px 0 #FF6A2B}.preset[data-preset=bgp].on::after{color:#FF6A2B} +.preset[data-preset=freeze].on{background:var(--tint-b,#E2F5FF);border-color:var(--sea2);box-shadow:0 4px 0 var(--sea2)}.preset[data-preset=freeze].on::after{color:var(--sea2)} .chaos{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px} .chs{padding:7px 8px 6px}.chs i{font-size:20px}.chs b{font-size:15px}.chs span{font-size:11px} .lockn{margin:8px 0 0} @@ -152,7 +152,7 @@ input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radi .setline select.pick{min-height:36px;padding:4px 30px 4px 10px;border-width:2px;border-radius:10px;box-shadow:0 2px 0 var(--ink);background-position:right 9px center} .tiers{display:grid;gap:7px;margin-top:10px} .tierbtn{display:flex;align-items:center;gap:10px;border:3px solid var(--ink);border-radius:13px;padding:8px 12px;background:var(--paper);cursor:pointer;box-shadow:0 3px 0 var(--ink);text-align:left} -.tierbtn:hover{background:#FFF6CF} +.tierbtn:hover{background:var(--tint-y,#FFF6CF)} .tierbtn:disabled{opacity:.4;cursor:not-allowed} .tierbtn .sz{font-family:var(--display);font-weight:800;font-size:22px;width:70px} .tierbtn .grow{flex:1} @@ -169,7 +169,7 @@ input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radi .slots{display:flex;flex-direction:column;gap:7px;margin-bottom:6px;max-height:min(46vh,330px);overflow:auto;padding:2px 2px 5px} .slot{display:flex;align-items:stretch;border:3px solid var(--ink);border-radius:16px;background:var(--paper);box-shadow:0 4px 0 var(--ink);flex:none;transition:transform .08s ease,box-shadow .08s ease} .slot:active{transform:translateY(3px);box-shadow:0 1px 0 var(--ink)} -.slot.top{background:#FFE3F0;border-color:var(--me);box-shadow:0 4px 0 var(--me)} +.slot.top{background:var(--tint-p,#FFE3F0);border-color:var(--me);box-shadow:0 4px 0 var(--me)} .slot.busy{background:var(--soft);border-style:dashed} .slot.broken{opacity:.75;border-style:dashed} .slot-go{flex:1;min-width:0;display:flex;align-items:center;gap:10px;background:none;border:0;padding:8px 6px 8px 11px;font:inherit;color:inherit;text-align:left;cursor:pointer;min-height:52px} @@ -181,7 +181,7 @@ input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radi .slot.busy .tag{color:var(--ink2)} .slot .sm{flex:none;display:flex;flex-direction:column;align-items:flex-end;text-align:right} .slot .sm em{font:800 15px var(--display);font-style:normal} -.slot-more{flex:none;width:44px;border:0;border-left:2px dashed var(--line);background:none;font:900 22px var(--display);color:var(--ink);cursor:pointer;border-radius:0 13px 13px 0} +.slot-more{flex:none;width:44px;border:0;border-left:2px dashed var(--line);background:none;font:900 22px var(--display);color:var(--text);cursor:pointer;border-radius:0 13px 13px 0} .slot-more:hover,.slot-go:hover{background:rgba(255,79,154,.06)} .slot-go:focus-visible,.slot-more:focus-visible{outline:3px solid #FF4F9A;outline-offset:-3px} .ibx.space{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.ibx.space .btns{margin:0} @@ -194,21 +194,21 @@ h2 .rn{font-size:18px;vertical-align:middle;padding:2px 4px} .tcont .b{white-space:normal;max-width:100%;overflow-wrap:anywhere;line-height:1.15} #modalCard{overflow-x:hidden} .menu-tiles{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:10px} -.mtile{border:3px solid var(--ink);border-radius:14px;background:var(--paper);box-shadow:0 3px 0 var(--ink);padding:8px 4px 7px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;font:800 13px/1.15 var(--display);color:var(--ink);text-align:center;min-height:68px;justify-content:center} +.mtile{border:3px solid var(--ink);border-radius:14px;background:var(--paper);box-shadow:0 3px 0 var(--ink);padding:8px 4px 7px;display:flex;flex-direction:column;align-items:center;gap:2px;cursor:pointer;font:800 13px/1.15 var(--display);color:var(--text);text-align:center;min-height:68px;justify-content:center} .mtile i{font-style:normal;font-size:22px;line-height:1}.mtile:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)} .menu-links{margin:12px 0 0;text-align:center;line-height:2;color:var(--ink2)} .menu-links .lnk{background:none;border:0;padding:4px 2px;font-weight:700;font-size:14px;font-family:inherit;color:var(--ink2);text-decoration:underline;text-underline-offset:3px;cursor:pointer} .menu-plugs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-top:12px} -.mplug{border:2px solid var(--line);border-radius:12px;padding:8px 10px;font-weight:700;font-size:13px;line-height:1.25;color:var(--ink);text-decoration:none;background:var(--soft);display:flex;align-items:center} +.mplug{border:2px solid var(--line);border-radius:12px;padding:8px 10px;font-weight:700;font-size:13px;line-height:1.25;color:var(--text);text-decoration:none;background:var(--soft);display:flex;align-items:center} /* Find a city: big tap targets, the first result (what Enter picks) highlighted. */ .findlist{margin-top:8px} -.findrow{width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);font:inherit;color:var(--ink);min-height:48px;padding:6px 8px;cursor:pointer;border-radius:0} +.findrow{width:100%;text-align:left;background:none;border:0;border-top:1px solid var(--line);font:inherit;color:var(--text);min-height:48px;padding:6px 8px;cursor:pointer;border-radius:0} .findrow .nm,.findrow .meta{display:block} .findrow.on{background:var(--soft);border-radius:10px} .findrow:hover{background:var(--soft)} /* The charter picker (36-specialist.js): three big choices, one tap each, nothing else to close it with. */ .chpick h2{margin:2px 0 4px}.chpick .tagline{margin:0 0 6px} -.chopt{display:flex;align-items:flex-start;gap:12px;width:100%;margin-top:8px;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;background:var(--paper);box-shadow:0 3px 0 var(--ink);font:inherit;color:var(--ink);text-align:left;cursor:pointer} +.chopt{display:flex;align-items:flex-start;gap:12px;width:100%;margin-top:8px;border:3px solid var(--ink);border-radius:14px;padding:10px 12px;background:var(--paper);box-shadow:0 3px 0 var(--ink);font:inherit;color:var(--text);text-align:left;cursor:pointer} .chopt:hover,.chopt:focus-visible{background:var(--soft)}.chopt:active{transform:translateY(2px);box-shadow:0 1px 0 var(--ink)} .chi{font-size:28px;line-height:1.1;flex:none}.cht{display:flex;flex-direction:column;gap:2px;min-width:0} .cht b{font:800 17px/1.2 var(--display)}.cht span{font-size:13px;line-height:1.35;color:var(--ink2)} diff --git a/src/styles/41-multiplayer.css b/src/styles/41-multiplayer.css index ccd50e6..2552670 100644 --- a/src/styles/41-multiplayer.css +++ b/src/styles/41-multiplayer.css @@ -12,7 +12,7 @@ .mpboard,.mpfeed{display:flex;flex-direction:column;gap:4px} .mpfeed{max-height:220px;overflow:auto;margin-top:6px} .mprow{display:flex;align-items:center;gap:8px;border:2px solid var(--line);border-radius:12px;padding:6px 10px;min-width:0} -.mprow.me{border-color:var(--me);background:#FFF2F8} +.mprow.me{border-color:var(--me);background:var(--tint-p,#FFF2F8)} .mprow .grow,.mpf .grow{min-width:0;overflow-wrap:anywhere} .mprow b{font-family:var(--display);font-size:15px} .mprk{font:900 15px var(--display);width:20px;text-align:center;flex:0 0 auto} @@ -27,7 +27,7 @@ /* No room for the chip on a phone (it is hide-sm), nor on a tablet whose top bar still wraps at fitHud's last step: where you stand shows as a badge on the menu button, which also opens the session. */ #hud .menubtn{position:relative} -.mpbadge{display:none;position:absolute;top:-8px;right:-8px;background:var(--paper);color:var(--ink);border:2.5px solid var(--ink);border-radius:10px;font:900 11px Nunito,sans-serif;padding:0 5px;line-height:16px;pointer-events:none} +.mpbadge{display:none;position:absolute;top:-8px;right:-8px;background:var(--paper);color:var(--text);border:2.5px solid var(--ink);border-radius:10px;font:900 11px Nunito,sans-serif;padding:0 5px;line-height:16px;pointer-events:none} #hud.fit3 .mpchip{display:none !important} #hud.fit3 .mpbadge{display:block} @media (max-width:760px){ diff --git a/src/styles/42-chart-tooltips.css b/src/styles/42-chart-tooltips.css index 34334c6..99b2712 100644 --- a/src/styles/42-chart-tooltips.css +++ b/src/styles/42-chart-tooltips.css @@ -8,7 +8,9 @@ .chtip div span{margin-left:auto;padding-left:10px;font-variant-numeric:tabular-nums} .chtip i{width:9px;height:9px;border-radius:3px;border:1px solid #fff} .chtip .tot{border-top:1px solid rgba(255,255,255,.35);margin-top:4px;padding-top:3px} -.chcur{position:fixed;z-index:59;pointer-events:none;width:0;border-left:1px dashed var(--ink)} +.chcur{position:fixed;z-index:59;pointer-events:none;width:0;border-left:1px dashed var(--text)} +/* The charts' grid and axis labels follow the theme (their attributes give the light look's colours). */ +.chart line{stroke:var(--line)}.chart text{fill:var(--ink2)} .mix[data-mix]{cursor:help} .nw-chart[data-ch]{touch-action:pan-y;cursor:crosshair} .noc-window .chtip{border:1px solid #3A4A78} diff --git a/src/styles/45-noc-window.css b/src/styles/45-noc-window.css index e215a87..03d3330 100644 --- a/src/styles/45-noc-window.css +++ b/src/styles/45-noc-window.css @@ -75,7 +75,7 @@ body.noc-window [data-act="dashClose"]{display:none} .nw-bar{height:7px;border-radius:9px;background:#26324F;overflow:hidden;margin:3px 0} .nw-bar i{display:block;height:100%;border-radius:9px} .nw-pc{font-family:var(--display);font-size:16px;min-width:42px;text-align:right} -.nw-btns{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px;--ink:#1E2640;--paper:#fff;color:#1E2640} +.nw-btns{grid-column:1/-1;display:flex;flex-wrap:wrap;gap:4px;--ink:#1E2640;--paper:#fff;--soft:#EEF5FB;--text:#1E2640;color:#1E2640} .nw-btns .meta{color:#9FB0D3} .nw-row{display:flex;align-items:center;gap:8px;padding:4px 0} .nw-row .nw-pm{flex:1} diff --git a/src/styles/60-phone.css b/src/styles/60-phone.css index 8e28606..9cfe4ce 100644 --- a/src/styles/60-phone.css +++ b/src/styles/60-phone.css @@ -3,15 +3,15 @@ (play, speed, goals, deals, NOC, networks), and bottom sheets you drag up, down or away. */ html,body{overscroll-behavior:none} .dtabs{position:sticky;top:-12px;z-index:3;display:flex;gap:6px;overflow-x:auto;margin:10px -4px 4px;padding:8px 4px;background:var(--paper);border-bottom:2.5px solid var(--ink);scrollbar-width:none} -.dtabs button{flex:0 0 auto;font:800 13px Nunito,sans-serif;border:2.5px solid var(--ink);border-radius:999px;background:#fff;padding:5px 12px;cursor:pointer;color:var(--ink)} +.dtabs button{flex:0 0 auto;font:800 13px Nunito,sans-serif;border:2.5px solid var(--ink);border-radius:999px;background:var(--paper);padding:5px 12px;cursor:pointer;color:var(--text)} .dtabs button.on{background:var(--pink,#FF4F9A);color:#fff} .dtabs .cnt{display:inline-block;margin-left:5px;min-width:16px;padding:0 4px;border-radius:8px;background:var(--bad);color:#fff;font-size:10.5px;line-height:16px;text-align:center} -.pcard{border:2.5px solid var(--ink);border-radius:14px;padding:8px 10px;margin:0 0 10px;background:#FFF6CF} +.pcard{border:2.5px solid var(--ink);border-radius:14px;padding:8px 10px;margin:0 0 10px;background:var(--tint-y,#FFF6CF)} .pcard .pt{font-weight:900;font-size:15px;margin:1px 0 2px}.pcard .kv{margin-top:5px}.pcard .bar{margin-top:2px} -.pcard.lv{background:#EAF6FF} -.pitch{list-style:none;padding:0;margin:10px 0}.pitch li{margin:7px 0;line-height:1.38;font-size:14px}.pitch li.warn{background:#FFF4D6;border:2px solid var(--ink);border-radius:10px;padding:6px 8px} +.pcard.lv{background:var(--tint-b,#EAF6FF)} +.pitch{list-style:none;padding:0;margin:10px 0}.pitch li{margin:7px 0;line-height:1.38;font-size:14px}.pitch li.warn{background:var(--tint-y,#FFF4D6);border:2px solid var(--ink);border-radius:10px;padding:6px 8px} .isteps{padding-left:22px;margin:8px 0 4px}.isteps li{margin:5px 0;line-height:1.38;font-size:14px}.isteps svg{vertical-align:-3px} -.icard{margin:8px 0 10px;border:2.5px solid var(--ink);border-radius:14px;padding:8px 10px;background:#FFF4D6} +.icard{margin:8px 0 10px;border:2.5px solid var(--ink);border-radius:14px;padding:8px 10px;background:var(--tint-y,#FFF4D6)} /* iPhone home-screen app with a viewport shorter than the screen: the page box takes the real screen height and becomes the containing block for everything fixed, so bottom-anchored UI reaches the bottom. */ html.iosfix,html.iosfix body{height:var(--app-h)} @@ -29,10 +29,10 @@ button,.chip,.b,a{touch-action:manipulation;-webkit-tap-highlight-color:transpar #leftToggle{display:none !important} #tabbar{display:flex;position:fixed;left:0;right:0;bottom:0;z-index:9;height:var(--tabbar);padding:6px max(6px,env(safe-area-inset-right,0px)) env(safe-area-inset-bottom,0px) max(6px,env(safe-area-inset-left,0px));background:var(--paper);border-top:3px solid var(--ink);box-sizing:border-box;gap:2px;align-items:stretch} #tabbar button{flex:1 1 0;min-width:0;border:0;background:transparent;border-radius:12px;font:inherit;font-weight:900;font-size:10.5px;color:var(--ink2);display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;padding:2px 0;position:relative} - #tabbar button .ic{font-size:19px;line-height:1.05;color:var(--ink)} - #tabbar button.on{background:var(--soft);color:var(--ink)} + #tabbar button .ic{font-size:19px;line-height:1.05;color:var(--text)} + #tabbar button.on{background:var(--soft);color:var(--text)} #tabbar button.play .ic{font-size:21px} - #tabbar button.play.paused{background:#FFE3F0} + #tabbar button.play.paused{background:var(--tint-p,#FFE3F0)} #tabbar .cnt{position:absolute;top:2px;right:calc(50% - 22px);min-width:16px;height:16px;padding:0 4px;border-radius:8px;background:var(--me);color:#fff;font-size:10px;line-height:16px;box-sizing:border-box} #tabbar .cnt.red{background:var(--bad)} #tabbar .cnt.dot{min-width:0;width:10px;height:10px;padding:0;top:6px;right:calc(50% - 16px)} @@ -85,7 +85,7 @@ button,.chip,.b,a{touch-action:manipulation;-webkit-tap-highlight-color:transpar } /* Installed as an app: no browser chrome, so leave room for the notch and the home indicator. */ @media (display-mode: standalone){ - body{background:#57C4E5} + body{background:var(--sea)} } /* Whatever the language, the HUD stays on one row: fitHud() drops chips until it fits. */ #hud.fit1 .hide-md2,#hud.fit2 .hide-md{display:none !important} diff --git a/src/styles/70-puzzles.css b/src/styles/70-puzzles.css index ace2ce8..16ae092 100644 --- a/src/styles/70-puzzles.css +++ b/src/styles/70-puzzles.css @@ -4,20 +4,20 @@ body.pz #hud .chip:not(.brand):not(.speed),body.pz #hud .speed button:not(#muteB #pzBox .pzh{display:flex;align-items:center;gap:8px}#pzBox h3{font-size:19px} .pzj{margin:4px 0 6px;font-size:12.5px;color:var(--ink2);line-height:1.35} .pzs{display:flex;gap:6px;margin:6px 0}.pzs span{flex:1;display:flex;flex-direction:column;align-items:center;border:2.5px solid var(--ink);border-radius:11px;padding:3px 0;font-size:20px;filter:grayscale(1);opacity:.45;transition:transform .25s,opacity .25s} -.pzs span small{font:900 10px var(--body);text-transform:uppercase;letter-spacing:.05em}.pzs span.on{filter:none;opacity:1;background:#FFF3C4;transform:scale(1.05)} -.pzck{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}.pzc{font-weight:900;font-size:12px;border:2px solid var(--ink);border-radius:999px;padding:1px 8px;background:#fff} +.pzs span small{font:900 10px var(--body);text-transform:uppercase;letter-spacing:.05em}.pzs span.on{filter:none;opacity:1;background:var(--tint-y,#FFF3C4);transform:scale(1.05)} +.pzck{display:flex;flex-wrap:wrap;gap:5px;margin:6px 0}.pzc{font-weight:900;font-size:12px;border:2px solid var(--ink);border-radius:999px;padding:1px 8px;background:var(--paper)} .pzc i{font-style:normal} -.pzc.s1{background:#FFE3F0}.pzc.s2{background:var(--ok);color:#fff} +.pzc.s1{background:var(--tint-p,#FFE3F0)}.pzc.s2{background:var(--ok);color:#fff} .pzsrc{font-size:12px;font-weight:800;color:var(--ink2);margin:4px 0} .pzfl{margin:4px 0 6px}.pzf{margin:4px 0;padding:3px 6px;border:2px solid var(--line);border-radius:10px}.pzf.ok{border-color:var(--ok)} .pzf .kv{font-size:12px;gap:6px}.pzf .bar{margin:2px 0}.pzf .meta .bad{color:var(--bad);font-weight:900}.pzf .seg.pzrt{margin-top:3px} -.pzpair{border-top:2px dashed var(--line);padding-top:4px;margin-top:4px}.pzhave{font-size:13px;font-weight:800;margin:6px 0;padding:4px 8px;border-radius:10px;background:#FFF4D6} -.pznote{font-weight:800;font-size:13.5px;margin:8px 0;padding:8px 10px;border:2.5px solid var(--ink);border-radius:12px;background:#FFF3C4} -.row.on{background:#FFE3F0;border-radius:10px} +.pzpair{border-top:2px dashed var(--line);padding-top:4px;margin-top:4px}.pzhave{font-size:13px;font-weight:800;margin:6px 0;padding:4px 8px;border-radius:10px;background:var(--tint-y,#FFF4D6)} +.pznote{font-weight:800;font-size:13.5px;margin:8px 0;padding:8px 10px;border:2.5px solid var(--ink);border-radius:12px;background:var(--tint-y,#FFF3C4)} +.row.on{background:var(--tint-p,#FFE3F0);border-radius:10px} .pztw{font-size:12.5px;font-weight:800;color:var(--bad);margin:3px 0}.pztw.ok{color:var(--eye)}.pztw.rule{color:var(--ink2)} .pzbud{margin:6px 0}.pzbud .kv{font-size:12.5px} .pzn1{font-size:12.5px;font-weight:800;margin:6px 0;padding:4px 8px;border:2px solid var(--line);border-radius:10px;color:var(--ink2)} -.pzn1.on{border-color:var(--ok);background:#DFFBEA;color:var(--ink);animation:pzglow 1.6s ease-in-out infinite}.pzn1.bad{border-color:var(--warn);background:#FFF4D6;color:var(--ink)} +.pzn1.on{border-color:var(--ok);background:var(--tint-g,#DFFBEA);color:var(--text);animation:pzglow 1.6s ease-in-out infinite}.pzn1.bad{border-color:var(--warn);background:var(--tint-y,#FFF4D6);color:var(--text)} @keyframes pzglow{50%{box-shadow:0 0 0 4px rgba(34,196,122,.25)}} #pzBox .btns{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px} #pzBox .grab{display:none} @@ -30,9 +30,9 @@ body.pz #hud .chip:not(.brand):not(.speed),body.pz #hud .speed button:not(#muteB .pzgi{width:24px;flex:none;text-align:center;font-size:16px}.pzgi i{font-style:normal;display:inline-block;width:20px;height:20px;border:2px solid var(--line);border-radius:50%;font:900 11px/16px var(--body);color:var(--ink2);box-sizing:border-box} .pzgv{font-size:12.5px;font-weight:800;color:var(--ink2);white-space:nowrap} .pzgoal.done b{font-weight:700;color:var(--ink2)}.pzgoal:not(.done):not(.cur){opacity:.6} -.pzgoal.cur{background:#FFF4D6;border:2px solid var(--warn);border-radius:12px;padding:6px 8px;margin:3px 0} +.pzgoal.cur{background:var(--tint-y,#FFF4D6);border:2px solid var(--warn);border-radius:12px;padding:6px 8px;margin:3px 0} .pzgh{font-size:13px;line-height:1.4;margin:3px 0 1px 32px}#pzBox .pzgh .pzshow{margin:2px 0 0 2px;padding:2px 10px;min-height:0;vertical-align:middle} -.pzchips{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0}.pzchip{font-size:12px;font-weight:800;border:2px solid var(--ok);border-radius:999px;padding:1px 9px;background:#fff;white-space:nowrap}.pzchip b{font-weight:900} +.pzchips{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0}.pzchip{font-size:12px;font-weight:800;border:2px solid var(--ok);border-radius:999px;padding:1px 9px;background:var(--paper);white-space:nowrap}.pzchip b{font-weight:900} .pzprog{margin:6px 0 4px}.pzpack{font-size:17px;margin:14px 0 2px}.pzst{font-size:12px;letter-spacing:-1px;white-space:nowrap} .scn.lock{opacity:.5} .pzres{position:relative}.pzstars{display:flex;justify-content:center;gap:10px;margin:10px 0 2px} @@ -61,20 +61,20 @@ body.pz #hud .chip:not(.brand):not(.speed),body.pz #hud .speed button:not(#muteB .pzd-nm{flex:1 1 auto;min-width:0;font:800 15px/1.2 var(--display);white-space:nowrap;overflow:hidden;text-overflow:ellipsis} .pzd-stars{display:flex;gap:2px;flex:none} .pzd-st{display:inline-grid;place-items:center;width:22px;height:22px;border:2px solid var(--line);border-radius:50%;font:900 11px var(--body);color:var(--ink2);box-sizing:border-box} - .pzd-st.on{border:0;font-size:17px}.pzd-st.cur{border-color:var(--warn);background:#FFF4D6;color:var(--ink)} + .pzd-st.on{border:0;font-size:17px}.pzd-st.cur{border-color:var(--warn);background:var(--tint-y,#FFF4D6);color:var(--text)} .pzd-bud{flex:none;font-weight:900;font-size:12.5px;font-variant-numeric:tabular-nums;white-space:nowrap}.pzd-bud.bad{color:var(--bad)} #pzBox.dock .pzd-bar .b.sm{min-width:36px;min-height:36px;padding:2px 8px;font-size:16px} - .pzd-goal{display:flex;align-items:center;gap:8px;margin-top:6px;padding:5px 8px;background:#FFF4D6;border:2px solid var(--warn);border-radius:12px} - .pzd-goal.done{background:#DFFBEA;border-color:var(--ok)}.pzd-goal.bad{background:#FFE6E9;border-color:var(--bad)} + .pzd-goal{display:flex;align-items:center;gap:8px;margin-top:6px;padding:5px 8px;background:var(--tint-y,#FFF4D6);border:2px solid var(--warn);border-radius:12px} + .pzd-goal.done{background:var(--tint-g,#DFFBEA);border-color:var(--ok)}.pzd-goal.bad{background:var(--tint-r,#FFE6E9);border-color:var(--bad)} #pzBox.dock .arsteps{margin:6px 0 4px}#pzBox.dock .arsteps i{height:6px}#pzBox.dock .arbrief{font-size:13px;margin:0 0 2px} #pzBox.dock .arsites{display:contents}#pzBox.dock .arsite{font-size:12px;padding:2px 8px} body.pz.sheet-open #pzBox.dock .arbrief,body.pz.sheet-open #pzBox.dock .arsteps{display:none} .pzd-goal{flex-wrap:wrap}.pzd-gi{flex:none;font-size:16px}.pzd-gt{flex:1 1 170px;min-width:0;font-size:13px;line-height:1.3}.pzd-gt b{font-weight:800} .pzd-ga{flex:none;display:flex;flex-direction:column;gap:4px}#pzBox.dock .pzd-ga{margin-left:auto}#pzBox.dock .pzd-ga .b{min-height:32px;padding:2px 10px;font-size:13px;white-space:nowrap} .pzd-chips{display:flex;flex-wrap:wrap;gap:4px;margin-top:6px} - .pzd-chip{font:800 12px/1.2 var(--body);color:var(--ink);background:#fff;border:2px solid var(--line);border-radius:999px;padding:3px 8px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;cursor:pointer} + .pzd-chip{font:800 12px/1.2 var(--body);color:var(--text);background:var(--paper);border:2px solid var(--line);border-radius:999px;padding:3px 8px;white-space:nowrap;max-width:100%;overflow:hidden;text-overflow:ellipsis;cursor:pointer} .pzd-chip b{font-weight:900;font-variant-numeric:tabular-nums}.pzd-chip .bad{color:var(--bad)} - .pzd-chip.ok{border-color:var(--ok);background:#DFFBEA}.pzd-chip.part{border-color:var(--warn);background:#FFF4D6}.pzd-chip.none{border-color:var(--bad);background:#FFE6E9} + .pzd-chip.ok{border-color:var(--ok);background:var(--tint-g,#DFFBEA)}.pzd-chip.part{border-color:var(--warn);background:var(--tint-y,#FFF4D6)}.pzd-chip.none{border-color:var(--bad);background:var(--tint-r,#FFE6E9)} .pzd-chip.rule{cursor:default;color:var(--ink2)} /* The card: as tall as its tab, under the bar at most; tabs keep each part short enough to need no scrolling. */ body.pz #panel{max-height:calc(100% - var(--pzdock,60px) - 18px - env(safe-area-inset-top,0px)) !important} @@ -85,14 +85,14 @@ body.pz #hud .chip:not(.brand):not(.speed),body.pz #hud .speed button:not(#muteB .pzd-body{padding:0 14px calc(10px + env(safe-area-inset-bottom,0px))} .pzd-tabs{display:flex;gap:4px;margin:6px 0 8px;border-bottom:2px solid var(--line)} .pzd-tabs button{flex:1;font:800 13px var(--body);color:var(--ink2);background:none;border:0;border-bottom:3px solid transparent;margin-bottom:-2px;padding:6px 2px;min-height:36px} - .pzd-tabs button.on{color:var(--ink);border-bottom-color:var(--me)} - .pzd-row{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1.5px dashed var(--line);font-size:13px}.pzd-row .grow{min-width:0}.pzd-row.on{background:#FFE3F0;border-radius:8px} + .pzd-tabs button.on{color:var(--text);border-bottom-color:var(--me)} + .pzd-row{display:flex;align-items:center;gap:8px;padding:4px 0;border-bottom:1.5px dashed var(--line);font-size:13px}.pzd-row .grow{min-width:0}.pzd-row.on{background:var(--tint-p,#FFE3F0);border-radius:8px} .pzd-to{flex-wrap:wrap}.pzd-foot{justify-content:flex-end} .pzd-models{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:5px;margin-top:6px} - .pzd-model{display:flex;flex-direction:column;align-items:flex-start;gap:0;text-align:left;font:inherit;color:var(--ink);background:#fff;border:2px solid var(--ink);border-radius:10px;padding:3px 7px;min-width:0;cursor:pointer} + .pzd-model{display:flex;flex-direction:column;align-items:flex-start;gap:0;text-align:left;font:inherit;color:var(--text);background:var(--paper);border:2px solid var(--ink);border-radius:10px;padding:3px 7px;min-width:0;cursor:pointer} .pzd-mh{display:flex;gap:6px;width:100%;align-items:baseline}.pzd-mh b{flex:1 1 auto;min-width:0;font-size:12.5px;font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.pzd-mh span{flex:none;font-weight:900;font-size:12.5px} .pzd-model small{font-size:11px;color:var(--ink2);line-height:1.25;max-width:100%;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} - .pzd-model.on{background:#FFE3F0;border-color:var(--me)}.pzd-model:disabled:not(.on){opacity:.45;border-color:var(--line)} + .pzd-model.on{background:var(--tint-p,#FFE3F0);border-color:var(--me)}.pzd-model:disabled:not(.on){opacity:.45;border-color:var(--line)} .pzd-rt{margin:6px 0 0}.pzd-rt .b{min-height:34px} .pzd-tiers{display:grid;grid-template-columns:1fr 1fr;gap:6px}.pzd-tiers .b{margin:0;display:flex;flex-direction:column;align-items:center;gap:0;white-space:normal;line-height:1.15;padding:4px 6px}.pzd-tiers .b small{font-size:11px} /* What a routing metric does, and the redundancy check's question, are on the desktop card; here the buttons speak. */ @@ -110,4 +110,4 @@ body.pz #hud .chip:not(.brand):not(.speed),body.pz #hud .speed button:not(#muteB .pznew{display:inline-block;font:900 10.5px/1.2 var(--body);font-style:normal;text-transform:uppercase;letter-spacing:.04em;background:var(--me);color:#fff;border:2px solid var(--ink);border-radius:999px;padding:1px 7px;white-space:nowrap;vertical-align:1px} .door .pznew{position:absolute;top:-9px;right:8px;transform:rotate(4deg);animation:pznew 2.4s ease-in-out infinite} @keyframes pznew{50%{transform:rotate(-3deg) scale(1.08)}} -.scn.wk{flex-wrap:wrap}.scn.wk .grow{min-width:0;flex:1 1 200px}.pzcd{font-weight:800;color:var(--ink)} +.scn.wk{flex-wrap:wrap}.scn.wk .grow{min-width:0;flex:1 1 200px}.pzcd{font-weight:800;color:var(--text)} diff --git a/src/styles/71-architect.css b/src/styles/71-architect.css index e4f6d62..627673c 100644 --- a/src/styles/71-architect.css +++ b/src/styles/71-architect.css @@ -1,18 +1,18 @@ /* Architect runs (prototype): the brief, its sites, the review line */ -.arsteps{display:flex;gap:4px;margin:4px 0 6px}.arsteps i{flex:1;height:7px;border:2px solid var(--ink);border-radius:99px;background:#fff} +.arsteps{display:flex;gap:4px;margin:4px 0 6px}.arsteps i{flex:1;height:7px;border:2px solid var(--ink);border-radius:99px;background:var(--paper)} .arsteps i.done{background:var(--ok)}.arsteps i.on{background:#FFD23F} .arbrief{margin:2px 0 8px;font-size:14.5px;font-weight:800;line-height:1.35} .arsites{display:flex;flex-wrap:wrap;gap:5px;margin:4px 0 6px} -.arsite{font-weight:900;font-size:12px;border:2px solid var(--line);border-radius:999px;padding:1px 8px;background:#fff;color:var(--ink2)} -.arsite.ok{border-color:var(--ok);color:var(--ink)}.arsite.gold{border-color:#E5484D;background:#FFE8E8} -.arline{font-size:12.5px;font-weight:800;margin:3px 0;color:var(--ink2)}.arline.ok{color:var(--ink)}.arline.bad{color:var(--bad)} +.arsite{font-weight:900;font-size:12px;border:2px solid var(--line);border-radius:999px;padding:1px 8px;background:var(--paper);color:var(--ink2)} +.arsite.ok{border-color:var(--ok);color:var(--text)}.arsite.gold{border-color:#E5484D;background:var(--tint-r,#FFE8E8)} +.arline{font-size:12.5px;font-weight:800;margin:3px 0;color:var(--ink2)}.arline.ok{color:var(--text)}.arline.bad{color:var(--bad)} .arshape{font-size:12.5px;font-weight:900;margin:4px 0} .arrev{font-size:12.5px;font-weight:800;margin:6px 0;padding:5px 8px;border:2px solid var(--line);border-radius:10px;color:var(--ink2)} -.arrev.on{border-color:#FF8A3D;background:#FFF0E3;color:var(--ink)}.arrev.ok{border-color:var(--ok);background:#DFFBEA;color:var(--ink)} -.arrev.bad{border-color:var(--bad);background:#FFE6E9;color:var(--ink)} +.arrev.on{border-color:#FF8A3D;background:var(--tint-o,#FFF0E3);color:var(--text)}.arrev.ok{border-color:var(--ok);background:var(--tint-g,#DFFBEA);color:var(--text)} +.arrev.bad{border-color:var(--bad);background:var(--tint-r,#FFE6E9);color:var(--text)} #pzBox .arbtns .b.big{flex:1 1 100%} .artubes{display:flex;justify-content:space-between;align-items:center;font-size:12.5px;font-weight:800;margin:4px 0}.artubes b{font-size:15px;letter-spacing:2px;color:var(--me)} -.artubes em{font-style:normal;font-size:11.5px;letter-spacing:0;color:#B86A00}.artubes.over b{color:#B86A00} +.artubes em{font-style:normal;font-size:11.5px;letter-spacing:0;color:var(--tx-amber,#B86A00)}.artubes.over b{color:var(--tx-amber,#B86A00)} /* Laptops and up: a bigger card, easier to read at a glance */ @media (min-width:761px) and (min-height:501px){ #pzBox.ar{width:390px;padding:14px 18px 16px} @@ -24,4 +24,4 @@ #pzBox.ar .artubes b{font-size:19px}#pzBox.ar .pzbud .bar{height:12px} #pzBox.ar .arbtns .b.sm{font-size:13px;padding:5px 11px} } -.arsite small{font-weight:800;opacity:.75}.arsite.thin{border-color:var(--bad);background:#FFE6E9;color:var(--ink)} +.arsite small{font-weight:800;opacity:.75}.arsite.thin{border-color:var(--bad);background:var(--tint-r,#FFE6E9);color:var(--text)} diff --git a/tests/build.test.js b/tests/build.test.js index 4b3b2c4..cbc6d78 100644 --- a/tests/build.test.js +++ b/tests/build.test.js @@ -52,7 +52,7 @@ test('src: partials follow the layout rules (docs/adr/0002-one-page-assembled-at for (const dev of [false, true]) { const { html, map } = assemble({ dev }); assert.equal((html.match(/^const ACT=\{$/gm) || []).length, 1, 'ACT is declared once; other action files use Object.assign(ACT,{…})'); - assert.equal([...new JSDOM(html).window.document.scripts].filter((s) => !s.attributes.length).length, 2, 'the language loader and the game: one inline game script'); + assert.equal([...new JSDOM(html).window.document.scripts].filter((s) => !s.attributes.length).length, 3, 'the theme, the language loader and the game: one inline game script'); assert.ok(map.length > 50 && map.every((m) => m.to >= m.from), 'the line map covers every partial'); } }); diff --git a/tests/dark-mode.test.js b/tests/dark-mode.test.js new file mode 100644 index 0000000..59b7d41 --- /dev/null +++ b/tests/dark-mode.test.js @@ -0,0 +1,380 @@ +// Dark mode (#80): Settings › Theme is Auto (the device's light or dark setting), Light or Dark, a choice kept on the +// device (localStorage sot-theme), never in the save. The page's sets before the first paint; +// the panels follow through CSS custom properties, and the map paints its sea, land, clouds and labels in the night +// colours in both renderers, painting its cached layers again once when the theme changes (not on every frame). +// jsdom has no matchMedia: the tests lend the page one, before it is parsed (the harness's browser hook) or after. +const test = require('node:test'); +const assert = require('node:assert/strict'); +const fs = require('node:fs'); +const path = require('node:path'); +const { JSDOM } = require('jsdom'); +const { load, browser, flush } = require('./harness'); +const { assemble } = require('../scripts/lib/page'); + +// A device setting the test can flip: matchMedia('(prefers-color-scheme: dark)') with change listeners. +const device = (dark) => { + const q = { matches: dark, media: '(prefers-color-scheme: dark)', fns: [], + addEventListener(t, f) { if (t === 'change') this.fns.push(f); }, removeEventListener(t, f) { this.fns = this.fns.filter((x) => x !== f); }, + set(v) { this.matches = v; for (const f of this.fns.slice()) f({ matches: v }); } }; + return { q, attach(w) { w.matchMedia = (m) => (/prefers-color-scheme:\s*dark/.test(m) ? q : { matches: false, addEventListener() {}, removeEventListener() {} }); } }; +}; +const meta = (doc, n) => doc.querySelector(`meta[name="${n}"]`).getAttribute('content'); +// WCAG contrast between two #RRGGBB colours. +const lum = (h) => { h = h.replace('#', ''); const c = [0, 2, 4].map((i) => parseInt(h.slice(i, i + 2), 16) / 255).map((v) => (v <= 0.03928 ? v / 12.92 : ((v + 0.055) / 1.055) ** 2.4)); return 0.2126 * c[0] + 0.7152 * c[1] + 0.0722 * c[2]; }; +const cr = (a, b) => { const x = lum(a), y = lum(b); return (Math.max(x, y) + 0.05) / (Math.min(x, y) + 0.05); }; +// Only the page's , up to its styles, as the browser runs it before the first paint: the game script at the end +// of (which sets the theme as well, but late) is not there. ls: what window.localStorage gives, or throws. +const headOnly = (dark, ls) => { + const html = assemble().html, head = html.slice(0, html.indexOf('')); + const block = (sel) => { const i = css.indexOf(sel + '{'); assert.ok(i >= 0, sel); return css.slice(i, css.indexOf('}', i)); }; + const dark = block(':root[data-theme="dark"]'), light = block(':root'); + const val = (b, k) => { const m = new RegExp(`--${k}:\\s*([^;\\n]+);`).exec(b); return m && m[1].trim(); }; + // Every var(--tint-…, light) and var(--tx-…, light) in the styles and the game's own markup has a dark value. + const src = css + fs.readdirSync(path.join(__dirname, '..', 'src', 'game'), { recursive: true }).filter((f) => f.endsWith('.js')).map((f) => fs.readFileSync(path.join(__dirname, '..', 'src', 'game', f), 'utf8')).join('\n'); + const used = new Set([...src.matchAll(/var\(--((?:tint|tx)-[a-z]+),\s*#[0-9A-Fa-f]{3,6}\)/g)].map((m) => m[1])); + assert.ok(used.size >= 8, `tints in use (${[...used]})`); + for (const k of used) assert.ok(val(dark, k), `--${k} has a dark value`); + // Every plain var(--x) in the styles is defined for the light look (dark only overrides). + for (const m of css.matchAll(/var\(--([a-z0-9-]+)\)/g)) if (!/^(tabbar|app-h|c|rc|d|x|t|r|dl|pzdock)$/.test(m[1])) assert.ok(val(light, m[1]), `--${m[1]} is defined`); + const bgs = ['paper', 'soft', 'tint-y', 'tint-g', 'tint-r', 'tint-p', 'tint-b', 'tint-v', 'tint-o', 'tint-n'].map((k) => [k, val(dark, k)]); + for (const t of ['text', 'ink2', 'eye']) for (const [k, b] of bgs) assert.ok(cr(val(dark, t), b) >= 4.5, `--${t} on --${k}: ${cr(val(dark, t), b).toFixed(2)}`); + for (const t of ['tx-red', 'tx-amber']) assert.ok(cr(val(dark, t), val(dark, 'paper')) >= 4.5, `--${t} on the dark paper`); + // The outline stays dark in both looks, so text on bright fills (yellow buttons, warning tags) keeps reading. + assert.ok(cr(val(dark, 'ink'), '#FFD23F') >= 7, 'dark ink on the yellow buttons'); + // Badge labels (10px, so 4.5:1) on their night cards: each variant's gradient, and the dimmed card of one not earned now. + const rules = css.replace(/\/\*[\s\S]*?\*\//g, '').split('}').map((r) => { const i = r.indexOf('{'); return i < 0 ? null : { sel: r.slice(0, i).split(',').map((x) => x.trim()), body: r.slice(i + 1) }; }).filter(Boolean); + const decl = (sel, prop) => { let v = null; for (const r of rules) if (r.sel.includes(sel)) { const m = new RegExp(`(?:^|;)\\s*${prop}\\s*:\\s*([^;]+)`).exec(r.body); if (m) v = m[1].trim(); } return v; }; + const D = ':root[data-theme="dark"] '; + for (const v of ['freeze', 'bgp']) { + const label = decl(D + `.bdg.v-${v} .bv`, 'color') || decl(`.bdg.v-${v} .bv`, 'color'), stops = decl(D + `.bdg.on.v-${v}`, 'background').match(/#[0-9A-Fa-f]{6}/g); + assert.ok(label && stops.length >= 2, v); + for (const b of [...stops, val(dark, 'tint-n')]) assert.ok(cr(label, b) >= 4.5, `the ${v} badge label ${label} on ${b}: ${cr(label, b).toFixed(2)}`); + } + // The dashboard's Demand key is an outline in its line's colour (--text): dark ink by day as before, light at night. + assert.equal(val(light, 'text'), val(light, 'ink'), 'by day the key looks as it always did'); + assert.ok(cr(val(dark, 'text'), val(dark, 'paper')) >= 3, 'at night the key\'s outline shows on the card'); +}); + +test('the dashboard\'s Demand key matches its dashed line, by night too', () => { + const { dom, ev, errors } = load({ storage: { 'sot-theme': 'dark' } }); + ev(started + "for(let i=0;i<3;i++)dayTick();ACT.dash({});"); + const card = dom.window.document.getElementById('dashCard'); + const line = card.querySelector('svg path[stroke-dasharray="5 4"]'); + assert.ok(line, 'the dashed Demand line'); + const stroke = /stroke:\s*([^;"]+)/.exec(line.getAttribute('style'))[1].trim(); + const key = [...card.querySelectorAll('.legend .lg')].find((b) => JSON.parse(b.dataset.args).k === 'dem').querySelector('i'); + assert.equal(key.style.borderStyle, 'dashed'); + assert.equal(key.style.borderColor, stroke, 'the key is outlined in the line\'s own colour'); + assert.equal(stroke, 'var(--text)'); + assert.deepEqual(errors, []); + dom.window.close(); +}); From eac06043002ad9f41515fe84c682b36883cf86b3 Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 01:04:00 +0100 Subject: [PATCH 469/546] IPv4 address space: scarce, bought, leased, leased out; IPv6 is free (#150) A rule (ip4), on in On-call and BGP at 3 a.m., off in the gentler presets, sandbox and puzzles; scenarios only when they opt in. You start with a /21 from the registry, sized so the early game never notices (a gameplay-rules F1 test plays six start cities for 50 days). Business customers need a block by kind and size; broadband homes take what is left and the rest go behind CGNAT, which costs a box per home and annoys some customers. An offer that does not fit cannot be signed and says why, and a customer that cannot grow at renewal stays its size. The bank's Address space section buys and sells blocks on a transfer market with a gentle trend, leases blocks in, and leases spare blocks out for monthly income, in real CIDR sizes (/24 to /16), at most 256 blocks (what a save keeps). Old saves get what they already use, plus room, so nothing changes on load. The dashboard's AS box now lists the blocks you announce. --- .claude/skills/gameplay-rules/SKILL.md | 4 +- CHANGELOG.md | 1 + scripts/lib/fuzz-page.js | 5 +- scripts/lib/route-fuzz.js | 2 + site/i18n/de.js | 48 ++ site/i18n/es.js | 48 ++ site/i18n/fr.js | 48 ++ site/i18n/it.js | 48 ++ site/i18n/pt.js | 48 ++ src/agent/10-domains.js | 3 + src/agent/20-commands.js | 21 +- src/agent/30-docs.js | 3 +- src/game/40-progress/30-rules.js | 15 +- src/game/60-features/33-address-space.js | 89 ++++ src/game/60-features/38-sales-desk.js | 4 +- src/game/60-features/39-sales-auto.js | 2 +- src/game/60-features/80-new-game.js | 2 +- src/game/80-simulation/30-compute.js | 3 +- src/game/80-simulation/50-sanitize.js | 1 + .../80-simulation/75-customer-lifecycle.js | 14 +- src/game/88-days/10-day-tick.js | 1 + src/game/90-actions/50-customers.js | 2 +- src/game/90-actions/54-address-space.js | 29 ++ src/game/93-ui/40-hud-and-panels.js | 2 +- src/game/93-ui/70-link-panels.js | 2 +- src/game/94-dashboard/60-dashboard.js | 4 +- src/game/94-dashboard/70-bank.js | 2 +- src/game/94-dashboard/72-address-space.js | 22 + src/game/95-modals/40-title.js | 2 +- src/i18n/en.js | 48 ++ tests/address-space.test.js | 442 ++++++++++++++++++ tests/gameplay-rules.test.js | 20 +- tests/mcp-commands.test.js | 2 +- tests/sales-desk.test.js | 2 + 34 files changed, 957 insertions(+), 32 deletions(-) create mode 100644 src/game/60-features/33-address-space.js create mode 100644 src/game/90-actions/54-address-space.js create mode 100644 src/game/94-dashboard/72-address-space.js create mode 100644 tests/address-space.test.js diff --git a/.claude/skills/gameplay-rules/SKILL.md b/.claude/skills/gameplay-rules/SKILL.md index 294d399..6f149f4 100644 --- a/.claude/skills/gameplay-rules/SKILL.md +++ b/.claude/skills/gameplay-rules/SKILL.md @@ -46,7 +46,7 @@ These are what the game promises, held up by `tests/gameplay-rules.test.js` (one | --- | --- | --- | | M1 | On-call is the classic game: it equals `RULE_DEF`, and a save without rules loads as On-call. The seeded suites (`tests/game.test.js`, `tests/rules.test.js`) are its behaviour. | Old saves never change under them. | | M2 | Presets are ordered: Best Effort never harsher than Change Freeze, Change Freeze never harsher than On-call, BGP at 3 a.m. never gentler (chaos, lead times, market; and a seeded year of incidents). Only Best Effort mends sea cuts without ships, skips conferences, rescues instead of game over, has patient customers and instant PNIs. | The names promise it. | -| M3 | Every subsystem that can annoy the player reads a rule: outages and events (`chaos`), DDoS, sold-out routes, de-peering and hardware prices (`market`), lead times (`lead`), the clock, cable ships (`sea`), conferences (`confs`), going broke (`broke`), customer patience (`moods`), PNI delivery (`pnis`), and the day's toasts (quiet notifications). A quiet ruleset gives a quiet year. | Rules are presets of flags, not separate code. | +| M3 | Every subsystem that can annoy the player reads a rule: outages and events (`chaos`), DDoS, sold-out routes, de-peering and hardware prices (`market`), lead times (`lead`), the clock, cable ships (`sea`), conferences (`confs`), going broke (`broke`), customer patience (`moods`), PNI delivery (`pnis`), scarce IPv4 and CGNAT (`ip4`, On-call and BGP at 3 a.m. only; scenarios opt in), and the day's toasts (quiet notifications). A quiet ruleset gives a quiet year. | Rules are presets of flags, not separate code. | | M4 | Scenarios and the weekly challenge always run On-call plus their own `S.scn.rules`. | Fair scores. | | M5 | Sandbox has no locked feature: open gates, every level, own cables, endless money. | It is a sandbox. | | M6 | A Normal game picks its charter once, when it starts (sandbox, puzzles and scenarios never do). A charter changes what you set out to do, never what things cost: the Cable broker gets glass (fiber, line systems, optics, own subsea cables and the routers to light them) from day one at the prices everyone pays at the top level, and everything else by level. | Same prices and rules for every charter (#300). | @@ -64,7 +64,7 @@ These are what the game promises, held up by `tests/gameplay-rules.test.js` (one | Id | Rule | Why | | --- | --- | --- | -| F1 | A new network gets a gentle start: no outage before day 45, no event before day 40 and only good news before day 50, nothing sold out for 90 days, hardware prices hold for 180, and a new customer loses no mood for 15 days. | New players learn before they get punished. | +| F1 | A new network gets a gentle start: no outage before day 45, no event before day 40 and only good news before day 50, nothing sold out for 90 days, hardware prices hold for 180, and a new customer loses no mood for 15 days. Its first IPv4 block covers the start: no home behind CGNAT, no IPv4 bill and no IPv4 warning before day 50, even signing every offer that fits. | New players learn before they get punished. | | F2 | On On-call, a simple build in a start city (broadband, the cheapest 100G transit, an exchange port with the route server) makes money within 3 months, in Frankfurt, New York, Singapore and Johannesburg. | Seeded today it turns a profit in month 1 or 2; a balance change that breaks this makes the start too hard. | | F3 | A specialist path (#187) only brings a customer type in below its level when the network can already serve it, or nearly: the spotted cities have POPs, the latency is met, the fiber carries at least three quarters of the smallest order. | Capability, not luck: an offer you cannot fulfil with a reasonable build is a trap. | | F4 | The chaos monkey visits only On-call and BGP at 3 a.m. (never Change Freeze, Sandbox, puzzles or scenarios), not before day 180, for 120 to 240 days; while it is here its snips replace the ordinary failures, each snip heals within a week, and it goes after tubes with no other way round first. | A test of resilience you can prepare for, not a pile-on: the reward goes to networks built with a second path. | diff --git a/CHANGELOG.md b/CHANGELOG.md index e349380..e5f8d8e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -11,6 +11,7 @@ All notable changes to this project are documented here. The project follows - Dark mode: pick Light, Dark or Auto (follows your device) under Settings › Theme. The panels, the NOC dashboard and the map all go dark, with a night-time sea and land, and the setting is kept on your device (#80). - Your intern can standardize your routers on a model you choose: pick it in Keep routers ahead, and every POP on a smaller model is swapped to it, the busiest first, within the monthly budget. Every setting in the Standing orders sheet is now a list to pick from instead of a button to tap through. - Set a build standard for your whole network: routers, a second building and a generator at every POP, LAGs, exchange ports and PNIs, line systems, optics and wave sizes, all in one sheet. New POPs get the POP part the day they open, the sheet shows what is below the standard and what fixing it costs, one tap brings everything up, and the new "Keep to the build standard" order has your intern do it a few jobs a day with money to spare. Find it in the menu, the Standing orders sheet and every POP's router section. +- IPv4 is scarce now: business customers need public address blocks, and the homes that do not fit share addresses behind CGNAT. A new network starts with a /21 from its registry, enough for its first months; buy, lease or sell blocks from /24 to /16 on the transfer market in the bank's new Address space section, or lease spare ones out for a monthly income. An offer you have no addresses for says so and waits, a customer that wants to grow at renewal stays at its size until you have the addresses, CGNAT costs a little and annoys some gamers, and you pick how many homes share an address. IPv6 stays free for everyone. This is part of On-call and BGP at 3 a.m.; the gentler rules, Sandbox, puzzles and scenarios keep IPv4 plentiful, and saved games get the addresses they already use plus room to grow (#150). ## [3.0.0] — 2026-11-06 diff --git a/scripts/lib/fuzz-page.js b/scripts/lib/fuzz-page.js index 5b05a14..61f7ce9 100644 --- a/scripts/lib/fuzz-page.js +++ b/scripts/lib/fuzz-page.js @@ -185,5 +185,8 @@ return { a, b, c }; }; const acts = () => Object.keys(ACT); - window.__fz = { acts, direct, lists, start, state, screen, press, close, poke, day, routing, parts, sKeys, sDigest, sParts, check, errs, modalOpen }; + // Scarce IPv4 off (#150, rule ip4), the same rules object with its keys in the same order on both pages: the driver calls + // it only while the base has no such rule, so the pages play the same game until it lands. + const noIp4 = () => { if (S && S.rules) { const { ip4, mods, ...r } = S.rules; S.rules = { ...r, ip4: false, mods }; } }; + window.__fz = { acts, direct, lists, start, state, screen, press, close, poke, day, routing, parts, sKeys, sDigest, sParts, check, errs, modalOpen, noIp4 }; })(); diff --git a/scripts/lib/route-fuzz.js b/scripts/lib/route-fuzz.js index dfca595..580dcac 100644 --- a/scripts/lib/route-fuzz.js +++ b/scripts/lib/route-fuzz.js @@ -95,6 +95,8 @@ function playGame(pages, seed, opts = {}) { preset: kind === 'sandbox' ? r.pick(['none', 'calm', 'normal', 'spicy']) : r.pick(PRESETS), id: kind === 'scenario' ? r.pick(L.scn) : kind === 'puzzle' ? r.pick(L.pz) : kind === 'architect' ? r.pick(L.ar) : undefined }; const [s0, s1] = both('start', st); + // A base without scarce IPv4 (#150) plays the classic game: both pages switch the rule off. Once it is on main, both play it. + if (!base.call('acts').includes('ip4Buy')) both('noIp4'); same('start', s0, s1); note('start ' + JSON.stringify(st)); // A normal game signs its charter first: a popup on newer pages (which seeded pages skip), a card on older ones. Both diff --git a/site/i18n/de.js b/site/i18n/de.js index 405ba56..a152ee3 100644 --- a/site/i18n/de.js +++ b/site/i18n/de.js @@ -2640,6 +2640,54 @@ "interface.tubecoin_moved_down_p_on_the":"TubeCoin ist auf dem Weg zu deinem Konto um {p} % gefallen.", "interface.tubecoin_moved_up_p_on_the":"TubeCoin ist auf dem Weg zu deinem Konto um {p} % gestiegen.", "interface.you_bought_out_bank_they_flew":"Du hast {bank} ausbezahlt.
Sie sind weitergeflogen, um ein anderes Startup zu finden.", +"ip4.block_size":"Blockgröße", +"ip4.blocks":"Deine Blöcke", +"ip4.bought":"Einen {p}-Block ({n} Adressen) für {price} gekauft.", +"ip4.bought_on":"Gekauft {date}", +"ip4.business":"Von Geschäftskunden genutzt", +"ip4.buy":"Kaufen {price}", +"ip4.cgnat_boxes":"CGNAT-Boxen", +"ip4.cgnat_note":"Mehr Haushalte pro Adresse macht Platz für Kunden, aber Spiele und Portweiterleitungen leiden: {p} der Rechnung eines CGNAT-Haushalts gehen als Erstattung zurück.", +"ip4.cgnat_ratio":"CGNAT: Haushalte pro Adresse", +"ip4.costs_row":"IPv4-Mieten und CGNAT", +"ip4.free":"Frei für neue Kunden (Haushalte kommen zuerst hinter CGNAT)", +"ip4.from_rir":"Von der RIR", +"ip4.give_back":"Zurückgeben", +"ip4.held":"Die RIR überträgt diesen Block erst ab {date} wieder.", +"ip4.homes":"Breitband-Haushalte", +"ip4.homes_cgnat":"{n}, davon {p} hinter CGNAT", +"ip4.in_use":"Deine Kunden brauchen diese Adressen: steck mehr Haushalte hinter CGNAT oder hol dir erst einen weiteren Block.", +"ip4.lease":"Mieten {price}/Monat", +"ip4.lease_out":"Vermieten +{price}/Monat", +"ip4.leased_in":"Einen {p}-Block ({n} Adressen) für {price}/Monat gemietet.", +"ip4.leased_in_mo":"Gemietet · {price}/Monat", +"ip4.leased_out":"Dein {p}-Block ist vermietet: +{price}/Monat.", +"ip4.leased_out_mo":"Vermietet · +{price}/Monat", +"ip4.leases_in":"Gemietete Blöcke", +"ip4.leases_out":"Vermietete Blöcke", +"ip4.market":"Transfermarkt", +"ip4.market_note":"IPv4 kostet etwa {px} pro Adresse (große Blöcke etwas weniger), zur Miete {lin} pro Adresse und Monat, und vermietet bringt es nach dem Anteil des Brokers {lout}. Ein Verkauf bringt {p} des Preises, und ein Block darf erst zwei Jahre nach seinem letzten Transfer wieder übertragen werden.", +"ip4.movable_from":"wieder übertragbar ab {date}", +"ip4.n_addresses":{"one":"{n} Adresse","other":"{n} Adressen"}, +"ip4.n_homes_per_address":{"one":"{n} Haushalt pro Adresse","other":"{n} Haushalte pro Adresse"}, +"ip4.no_grow":"{name} ({city}) wollte auf {bw} wachsen, aber du hattest keine freien IPv4-Adressen dafür.", +"ip4.no_space":"{name} braucht einen IPv4-Block {p} ({n} Adressen), und nur {free} sind frei. Kauf oder miete einen Block oder steck mehr Haushalte hinter CGNAT.", +"ip4.note":"IPv6 ist kostenlos und unendlich. IPv4 ist seit Jahren aus: Geschäftskunden brauchen öffentliche Blöcke davon, und Haushalte, die nicht mehr reinpassen, teilen sich Adressen hinter CGNAT (IPv6-Traffic läuft an der Box vorbei).", +"ip4.off":"Nach den Regeln dieses Spiels gibt es IPv4 reichlich.", +"ip4.offer_needs":"Braucht einen IPv4-Block {p} ({n} Adressen); nur {free} frei.", +"ip4.preset_plenty":"IPv4 gibt es reichlich für alle.", +"ip4.preset_scarce":"IPv4 ist knapp: kaufen, mieten oder hinter CGNAT teilen.", +"ip4.really_sell":"Wirklich für {price} verkaufen?", +"ip4.refunds":"Erstattungen an genervte Gamer", +"ip4.section":"Adressraum", +"ip4.sell":"Verkaufen {price}", +"ip4.sold":"Dein {p}-Block ist für {price} verkauft.", +"ip4.squeezed":"Kein Platz mehr: {p} der Haushalte passen nicht mal bei {r} Haushalten pro Adresse rein. Ihre Verbindungen brechen ab und sie wollen Geld zurück: kauf oder miete einen Block.", +"ip4.take_back":"Zurückholen", +"ip4.toast_cgnat":"Dein IPv4 ist voll. {p} deiner Haushalte teilen sich jetzt Adressen hinter CGNAT, und ein paar Gamer haben schon geschrieben.", +"ip4.toast_out":"IPv4 ist aus. Selbst bei {r} Haushalten pro Adresse passt nicht jeder hinter CGNAT: kauf oder miete einen Block bei der Bank.", +"ip4.too_many":"Du hast {n} IPv4-Blöcke, mehr kann ein Netz nicht führen. Verkauf kleine Blöcke oder gib sie zurück, um Platz für einen größeren zu schaffen.", +"ip4.yours":"Deine IPv4-Adressen", "ix_downgrade.pni_downgraded":"Das PNI mit {net} in {city} ist jetzt {port}.", "ix_downgrade.port_downgraded_at_ix":"Der Port bei {ix} ist jetzt {port}.", "ix_downgrade.transit_downgraded":"{net}-Transit in {city} ist jetzt {port}.", diff --git a/site/i18n/es.js b/site/i18n/es.js index 427ba64..1f8b28a 100644 --- a/site/i18n/es.js +++ b/site/i18n/es.js @@ -2638,6 +2638,54 @@ "interface.tubecoin_moved_down_p_on_the":"TubeCoin bajó un {p} % de camino a tu cuenta.", "interface.tubecoin_moved_up_p_on_the":"TubeCoin subió un {p} % de camino a tu cuenta.", "interface.you_bought_out_bank_they_flew":"Compraste {bank}.
Se fueron volando a buscar otra startup.", +"ip4.block_size":"Tamaño del bloque", +"ip4.blocks":"Tus bloques", +"ip4.bought":"Has comprado un {p} ({n} direcciones) por {price}.", +"ip4.bought_on":"Comprado el {date}", +"ip4.business":"Usadas por clientes empresariales", +"ip4.buy":"Comprar {price}", +"ip4.cgnat_boxes":"Equipos CGNAT", +"ip4.cgnat_note":"Más hogares por dirección liberan espacio para clientes, pero los juegos y el port forwarding sufren: el {p} de la factura de un hogar con CGNAT se devuelve en reembolsos.", +"ip4.cgnat_ratio":"CGNAT: hogares por dirección", +"ip4.costs_row":"Alquiler de IPv4 y CGNAT", +"ip4.free":"Libres para nuevos clientes (los hogares pasan antes a CGNAT)", +"ip4.from_rir":"Del RIR", +"ip4.give_back":"Devolver", +"ip4.held":"El RIR no volverá a transferir ese bloque antes del {date}.", +"ip4.homes":"Hogares con banda ancha", +"ip4.homes_cgnat":"{n}, {p} detrás de CGNAT", +"ip4.in_use":"Tus clientes necesitan esas direcciones: pon más hogares detrás de CGNAT o consigue antes otro bloque.", +"ip4.lease":"Alquilar {price}/mes", +"ip4.lease_out":"Ceder en alquiler +{price}/mes", +"ip4.leased_in":"Has alquilado un {p} ({n} direcciones) por {price}/mes.", +"ip4.leased_in_mo":"Alquilado · {price}/mes", +"ip4.leased_out":"Tu {p} está cedido en alquiler: +{price}/mes.", +"ip4.leased_out_mo":"Cedido en alquiler · +{price}/mes", +"ip4.leases_in":"Bloques alquilados", +"ip4.leases_out":"Bloques cedidos en alquiler", +"ip4.market":"Mercado de transferencias", +"ip4.market_note":"IPv4 se vende a unos {px} por dirección (los bloques grandes, algo menos), se alquila a {lin} por dirección al mes y, cedido en alquiler, rinde {lout} tras la comisión del bróker. Una venta paga el {p} del precio, y un bloque solo puede volver a transferirse dos años después de su último traspaso.", +"ip4.movable_from":"transferible desde el {date}", +"ip4.n_addresses":{"one":"{n} dirección","other":"{n} direcciones"}, +"ip4.n_homes_per_address":{"one":"{n} hogar por dirección","other":"{n} hogares por dirección"}, +"ip4.no_grow":"{name} ({city}) quería crecer a {bw}, pero no tenías direcciones IPv4 libres para ello.", +"ip4.no_space":"{name} necesita un {p} de IPv4 ({n} direcciones) y solo hay {free} libres. Compra o alquila un bloque, o pon más hogares detrás de CGNAT.", +"ip4.note":"IPv6 es gratis e infinito. IPv4 se agotó hace años: los clientes empresariales necesitan bloques públicos, y los hogares que no caben comparten direcciones detrás de CGNAT (el tráfico IPv6 rodea la caja).", +"ip4.off":"Con las reglas de esta partida sobra IPv4.", +"ip4.offer_needs":"Necesita un {p} de IPv4 ({n} direcciones); solo hay {free} libres.", +"ip4.preset_plenty":"IPv4 de sobra para todos.", +"ip4.preset_scarce":"IPv4 escasea: cómpralo, alquílalo o compártelo detrás de CGNAT.", +"ip4.really_sell":"¿Vender de verdad por {price}?", +"ip4.refunds":"Reembolsos a gamers enfadados", +"ip4.section":"Espacio de direcciones", +"ip4.sell":"Vender {price}", +"ip4.sold":"Has vendido tu {p} por {price}.", +"ip4.squeezed":"Sin espacio: el {p} de los hogares no cabe ni con {r} hogares por dirección. Sus conexiones fallan y piden reembolsos: compra o alquila un bloque.", +"ip4.take_back":"Recuperar", +"ip4.toast_cgnat":"Tu IPv4 está lleno. El {p} de tus hogares comparte ahora direcciones detrás de CGNAT, y algunos gamers ya han escrito.", +"ip4.toast_out":"Sin IPv4. Ni con {r} hogares por dirección cabe todo el mundo en el CGNAT: compra o alquila un bloque en el banco.", +"ip4.too_many":"Tienes {n} bloques IPv4, el máximo que puede llevar una red. Vende o devuelve bloques pequeños para hacer sitio a uno más grande.", +"ip4.yours":"Tus direcciones IPv4", "ix_downgrade.pni_downgraded":"El PNI con {net} en {city} ahora es {port}.", "ix_downgrade.port_downgraded_at_ix":"El puerto en {ix} es ahora de {port}.", "ix_downgrade.transit_downgraded":"El tránsito de {net} en {city} ahora es {port}.", diff --git a/site/i18n/fr.js b/site/i18n/fr.js index 2a134ae..7729036 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -2638,6 +2638,54 @@ "interface.tubecoin_moved_down_p_on_the":"Le TubeCoin a perdu {p} % en route vers ton compte.", "interface.tubecoin_moved_up_p_on_the":"Le TubeCoin a pris {p} % en route vers ton compte.", "interface.you_bought_out_bank_they_flew":"Tu as racheté la part de {bank}.
Ils se sont envolés à la recherche d’une autre startup.", +"ip4.block_size":"Taille du bloc", +"ip4.blocks":"Tes blocs", +"ip4.bought":"Tu as acheté un {p} ({n} adresses) pour {price}.", +"ip4.bought_on":"Acheté le {date}", +"ip4.business":"Utilisées par les clients pros", +"ip4.buy":"Acheter {price}", +"ip4.cgnat_boxes":"Boîtiers CGNAT", +"ip4.cgnat_note":"Plus de foyers par adresse libère de la place pour les clients, mais les jeux et la redirection de ports en pâtissent : {p} de la facture d’un foyer derrière le CGNAT repart en remboursements.", +"ip4.cgnat_ratio":"CGNAT : foyers par adresse", +"ip4.costs_row":"Locations IPv4 et CGNAT", +"ip4.free":"Libres pour de nouveaux clients (les foyers passent d’abord derrière le CGNAT)", +"ip4.from_rir":"Attribué par le RIR", +"ip4.give_back":"Le rendre", +"ip4.held":"Le RIR ne transférera pas ce bloc avant le {date}.", +"ip4.homes":"Foyers en haut débit", +"ip4.homes_cgnat":"{n}, dont {p} derrière le CGNAT", +"ip4.in_use":"Tes clients ont besoin de ces adresses : mets plus de foyers derrière le CGNAT ou trouve d’abord un autre bloc.", +"ip4.lease":"Louer {price}/mois", +"ip4.lease_out":"Mettre en location +{price}/mois", +"ip4.leased_in":"Tu as loué un {p} ({n} adresses) pour {price}/mois.", +"ip4.leased_in_mo":"Loué · {price}/mois", +"ip4.leased_out":"Ton {p} est en location : +{price}/mois.", +"ip4.leased_out_mo":"Mis en location · +{price}/mois", +"ip4.leases_in":"Blocs loués", +"ip4.leases_out":"Blocs mis en location", +"ip4.market":"Marché des transferts", +"ip4.market_note":"L’IPv4 se vend environ {px} l’adresse (un peu moins pour les gros blocs), se loue {lin} l’adresse par mois et, mis en location, rapporte {lout} après la part du courtier. Une vente rapporte {p} du prix, et un bloc ne peut être transféré à nouveau que deux ans après son dernier transfert.", +"ip4.movable_from":"transférable à partir du {date}", +"ip4.n_addresses":{"one":"{n} adresse","other":"{n} adresses"}, +"ip4.n_homes_per_address":{"one":"{n} foyer par adresse","other":"{n} foyers par adresse"}, +"ip4.no_grow":"{name} ({city}) voulait passer à {bw}, mais tu n’avais pas d’adresses IPv4 libres pour ça.", +"ip4.no_space":"{name} a besoin d’un {p} d’IPv4 ({n} adresses), et seulement {free} sont libres. Achète ou loue un bloc, ou mets plus de foyers derrière le CGNAT.", +"ip4.note":"L’IPv6 est gratuit et sans fin. L’IPv4 est épuisé depuis des années : les clients pros ont besoin de blocs publics, et les foyers qui ne rentrent plus partagent des adresses derrière le CGNAT (le trafic IPv6 contourne la boîte).", +"ip4.off":"Avec les règles de cette partie, l’IPv4 ne manque pas.", +"ip4.offer_needs":"Il lui faut un {p} d’IPv4 ({n} adresses) ; seulement {free} libres.", +"ip4.preset_plenty":"De l’IPv4 à volonté pour tout le monde.", +"ip4.preset_scarce":"L’IPv4 est rare : achète-le, loue-le ou partage-le derrière le CGNAT.", +"ip4.really_sell":"Vraiment vendre pour {price} ?", +"ip4.refunds":"Remboursements aux gamers grincheux", +"ip4.section":"Espace d’adressage", +"ip4.sell":"Vendre {price}", +"ip4.sold":"Ton {p} est vendu pour {price}.", +"ip4.squeezed":"Plus de place : {p} des foyers ne rentrent pas, même à {r} foyers par adresse. Leurs connexions lâchent et ils veulent être remboursés : achète ou loue un bloc.", +"ip4.take_back":"Le reprendre", +"ip4.toast_cgnat":"Ton IPv4 est plein. {p} de tes foyers partagent maintenant des adresses derrière le CGNAT, et quelques gamers ont déjà écrit.", +"ip4.toast_out":"Plus d’IPv4. Même à {r} foyers par adresse, le CGNAT ne suffit pas pour tout le monde : achète ou loue un bloc à la banque.", +"ip4.too_many":"Tu as {n} blocs IPv4, le maximum qu’un réseau peut garder. Vends ou rends de petits blocs pour faire de la place à un plus grand.", +"ip4.yours":"Tes adresses IPv4", "ix_downgrade.pni_downgraded":"Le PNI avec {net} à {city} est maintenant en {port}.", "ix_downgrade.port_downgraded_at_ix":"Le port chez {ix} est maintenant en {port}.", "ix_downgrade.transit_downgraded":"Le transit {net} à {city} est maintenant en {port}.", diff --git a/site/i18n/it.js b/site/i18n/it.js index 2d75e8e..cc61779 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -2638,6 +2638,54 @@ "interface.tubecoin_moved_down_p_on_the":"TubeCoin è sceso del {p}% mentre arrivava sul tuo conto.", "interface.tubecoin_moved_up_p_on_the":"TubeCoin è salito del {p}% mentre arrivava sul tuo conto.", "interface.you_bought_out_bank_they_flew":"Hai liquidato {bank}.
Sono volati via in cerca di un’altra startup.", +"ip4.block_size":"Dimensione del blocco", +"ip4.blocks":"I tuoi blocchi", +"ip4.bought":"Comprato un {p} ({n} indirizzi) per {price}.", +"ip4.bought_on":"Comprato il {date}", +"ip4.business":"Usati dai clienti business", +"ip4.buy":"Compra {price}", +"ip4.cgnat_boxes":"Apparati CGNAT", +"ip4.cgnat_note":"Più case per indirizzo liberano spazio per i clienti, ma giochi e port forwarding ne soffrono: il {p} della bolletta di una casa dietro il CGNAT torna indietro in rimborsi.", +"ip4.cgnat_ratio":"CGNAT: case per indirizzo", +"ip4.costs_row":"Affitti IPv4 e CGNAT", +"ip4.free":"Liberi per nuovi clienti (prima le case passano dietro il CGNAT)", +"ip4.from_rir":"Dal RIR", +"ip4.give_back":"Restituiscilo", +"ip4.held":"Il RIR non trasferisce di nuovo quel blocco prima del {date}.", +"ip4.homes":"Case in banda larga", +"ip4.homes_cgnat":"{n}, il {p} dietro il CGNAT", +"ip4.in_use":"I tuoi clienti hanno bisogno di quegli indirizzi: metti più case dietro il CGNAT o prendi prima un altro blocco.", +"ip4.lease":"Affitta {price}/mese", +"ip4.lease_out":"Dai in affitto +{price}/mese", +"ip4.leased_in":"Preso in affitto un {p} ({n} indirizzi) per {price}/mese.", +"ip4.leased_in_mo":"In affitto · {price}/mese", +"ip4.leased_out":"Il tuo {p} è dato in affitto: +{price}/mese.", +"ip4.leased_out_mo":"Dato in affitto · +{price}/mese", +"ip4.leases_in":"Blocchi presi in affitto", +"ip4.leases_out":"Blocchi dati in affitto", +"ip4.market":"Mercato dei trasferimenti", +"ip4.market_note":"IPv4 costa circa {px} a indirizzo (i blocchi grandi un po' meno), in affitto {lin} a indirizzo al mese, e dato in affitto rende {lout} dopo la quota del broker. Una vendita paga il {p} del prezzo, e un blocco si può trasferire di nuovo solo due anni dopo l'ultimo trasferimento.", +"ip4.movable_from":"trasferibile dal {date}", +"ip4.n_addresses":{"one":"{n} indirizzo","other":"{n} indirizzi"}, +"ip4.n_homes_per_address":{"one":"{n} casa per indirizzo","other":"{n} case per indirizzo"}, +"ip4.no_grow":"{name} ({city}) voleva crescere a {bw}, ma non avevi indirizzi IPv4 liberi per farlo.", +"ip4.no_space":"{name} ha bisogno di un {p} di IPv4 ({n} indirizzi), e ne restano liberi solo {free}. Compra o affitta un blocco, o metti più case dietro il CGNAT.", +"ip4.note":"IPv6 è gratis e infinito. IPv4 è finito anni fa: i clienti business hanno bisogno di blocchi pubblici, e le case che non ci stanno condividono gli indirizzi dietro il CGNAT (il traffico IPv6 gli passa accanto).", +"ip4.off":"Con le regole di questa partita l'IPv4 abbonda.", +"ip4.offer_needs":"Serve un {p} di IPv4 ({n} indirizzi); solo {free} liberi.", +"ip4.preset_plenty":"IPv4 in abbondanza per tutti.", +"ip4.preset_scarce":"IPv4 scarseggia: compralo, affittalo o condividilo dietro il CGNAT.", +"ip4.really_sell":"Vendere davvero per {price}?", +"ip4.refunds":"Rimborsi ai gamer arrabbiati", +"ip4.section":"Spazio di indirizzi", +"ip4.sell":"Vendi {price}", +"ip4.sold":"Venduto il tuo {p} per {price}.", +"ip4.squeezed":"Spazio esaurito: il {p} delle case non ci sta nemmeno con {r} case per indirizzo. Le connessioni saltano e vogliono un rimborso: compra o affitta un blocco.", +"ip4.take_back":"Riprendilo", +"ip4.toast_cgnat":"Il tuo IPv4 è pieno. Il {p} delle tue case ora condivide gli indirizzi dietro il CGNAT, e qualche gamer ha già scritto.", +"ip4.toast_out":"IPv4 esaurito. Nemmeno con {r} case per indirizzo il CGNAT basta per tutti: compra o affitta un blocco in banca.", +"ip4.too_many":"Hai {n} blocchi IPv4, il massimo che una rete può tenere. Vendi o restituisci qualche blocco piccolo per fare posto a uno più grande.", +"ip4.yours":"I tuoi indirizzi IPv4", "ix_downgrade.pni_downgraded":"Il PNI con {net} a {city} ora è {port}.", "ix_downgrade.port_downgraded_at_ix":"La porta su {ix} ora è da {port}.", "ix_downgrade.transit_downgraded":"Il transito {net} a {city} ora è {port}.", diff --git a/site/i18n/pt.js b/site/i18n/pt.js index f65faba..5fc3410 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -2638,6 +2638,54 @@ "interface.tubecoin_moved_down_p_on_the":"A TubeCoin caiu {p}% no caminho até sua conta.", "interface.tubecoin_moved_up_p_on_the":"A TubeCoin subiu {p}% no caminho até sua conta.", "interface.you_bought_out_bank_they_flew":"Você comprou a parte de {bank}.
Eles voaram em busca de outra startup.", +"ip4.block_size":"Tamanho do bloco", +"ip4.blocks":"Seus blocos", +"ip4.bought":"Você comprou um {p} ({n} endereços) por {price}.", +"ip4.bought_on":"Comprado em {date}", +"ip4.business":"Usados por clientes empresariais", +"ip4.buy":"Comprar {price}", +"ip4.cgnat_boxes":"Caixas de CGNAT", +"ip4.cgnat_note":"Mais casas por endereço liberam espaço para clientes, mas jogos e redirecionamento de portas sofrem: {p} da conta de uma casa atrás do CGNAT volta como reembolso.", +"ip4.cgnat_ratio":"CGNAT: casas por endereço", +"ip4.costs_row":"Aluguel de IPv4 e CGNAT", +"ip4.free":"Livres para novos clientes (as casas vão antes para trás do CGNAT)", +"ip4.from_rir":"Do RIR", +"ip4.give_back":"Devolver", +"ip4.held":"O RIR não transfere esse bloco de novo antes de {date}.", +"ip4.homes":"Casas com banda larga", +"ip4.homes_cgnat":"{n}, {p} atrás do CGNAT", +"ip4.in_use":"Seus clientes precisam desses endereços: coloque mais casas atrás do CGNAT ou arrume outro bloco antes.", +"ip4.lease":"Alugar {price}/mês", +"ip4.lease_out":"Alugar para terceiros +{price}/mês", +"ip4.leased_in":"Você alugou um {p} ({n} endereços) por {price}/mês.", +"ip4.leased_in_mo":"Alugado · {price}/mês", +"ip4.leased_out":"Seu {p} está alugado: +{price}/mês.", +"ip4.leased_out_mo":"Alugado para terceiros · +{price}/mês", +"ip4.leases_in":"Blocos alugados", +"ip4.leases_out":"Blocos alugados para terceiros", +"ip4.market":"Mercado de transferências", +"ip4.market_note":"IPv4 sai por cerca de {px} o endereço (blocos grandes, um pouco menos), aluga-se por {lin} o endereço por mês e, alugado para terceiros, rende {lout} depois da comissão do broker. Uma venda paga {p} do preço, e um bloco só pode ser transferido de novo dois anos depois da última transferência.", +"ip4.movable_from":"transferível a partir de {date}", +"ip4.n_addresses":{"one":"{n} endereço","other":"{n} endereços"}, +"ip4.n_homes_per_address":{"one":"{n} casa por endereço","other":"{n} casas por endereço"}, +"ip4.no_grow":"{name} ({city}) queria crescer para {bw}, mas você não tinha endereços IPv4 livres para isso.", +"ip4.no_space":"{name} precisa de um {p} de IPv4 ({n} endereços), e só {free} estão livres. Compre ou alugue um bloco, ou coloque mais casas atrás do CGNAT.", +"ip4.note":"IPv6 é grátis e infinito. IPv4 acabou há anos: clientes empresariais precisam de blocos públicos, e as casas que não cabem compartilham endereços atrás do CGNAT (o tráfego IPv6 passa por fora da caixa).", +"ip4.off":"Nas regras deste jogo, IPv4 não falta.", +"ip4.offer_needs":"Precisa de um {p} de IPv4 ({n} endereços); só {free} livres.", +"ip4.preset_plenty":"IPv4 de sobra para todo mundo.", +"ip4.preset_scarce":"IPv4 é escasso: compre, alugue ou compartilhe atrás do CGNAT.", +"ip4.really_sell":"Vender mesmo por {price}?", +"ip4.refunds":"Reembolsos para gamers irritados", +"ip4.section":"Espaço de endereços", +"ip4.sell":"Vender {price}", +"ip4.sold":"Seu {p} foi vendido por {price}.", +"ip4.squeezed":"Sem espaço: {p} das casas não cabem nem com {r} casas por endereço. As conexões caem e elas querem reembolso: compre ou alugue um bloco.", +"ip4.take_back":"Pegar de volta", +"ip4.toast_cgnat":"Seu IPv4 está cheio. {p} das suas casas agora compartilham endereços atrás do CGNAT, e alguns gamers já reclamaram.", +"ip4.toast_out":"Acabou o IPv4. Nem com {r} casas por endereço o CGNAT comporta todo mundo: compre ou alugue um bloco no banco.", +"ip4.too_many":"Você tem {n} blocos IPv4, o máximo que uma rede pode manter. Venda ou devolva blocos pequenos para abrir espaço para um maior.", +"ip4.yours":"Seus endereços IPv4", "ix_downgrade.pni_downgraded":"O PNI com {net} em {city} agora é {port}.", "ix_downgrade.port_downgraded_at_ix":"A porta em {ix} agora é de {port}.", "ix_downgrade.transit_downgraded":"O trânsito de {net} em {city} agora é {port}.", diff --git a/src/agent/10-domains.js b/src/agent/10-domains.js index 4b199a2..3a51abb 100644 --- a/src/agent/10-domains.js +++ b/src/agent/10-domains.js @@ -86,6 +86,9 @@ const API_DOMAINS={ pieSpatId:{table:'PIE_SPAT_DEF',kind:'key'}, pieSpatChoice:{kind:'enum',values:[0,1]}, countryCode:{kind:'enum',values:()=>[...new Set(CITIES.map(c=>c.cc))].sort()}, + // Address space: an IPv4 prefix length the market sells, and the CGNAT ratios. + ip4Len:{kind:'enum',values:()=>Array.from({length:IP4_MAX-IP4_MIN+1},(_,i)=>IP4_MIN+i)}, + ip4Ratio:{kind:'enum',values:()=>IP4_NAT.slice()}, scnId:{table:'SCN',kind:'id'}, // A traceroute target in the modal's own terms. }; diff --git a/src/agent/20-commands.js b/src/agent/20-commands.js index 6d3f47b..cfb4e36 100644 --- a/src/agent/20-commands.js +++ b/src/agent/20-commands.js @@ -232,7 +232,7 @@ const API_CMD={ doc:'Set how many channels of one optic model a dark-fiber span carries, in one change. Added optics come from the spares shelf when you have them (regen cards still cost their share); removed ones go back to the shelf.'}, /* ---------- customers ---------- */ accept:{args:[['id','entityId']], - doc:'Sign a pending offer. Rejected without a POP in every city it needs, without free channels for a wave sale, or after an event\'s start date. Extra waves for a carrier you already serve grow that contract.'}, + doc:'Sign a pending offer. Rejected without a POP in every city it needs, without the IPv4 addresses it needs (rule ip4: see the bank\'s Address space), without free channels for a wave sale, or after an event\'s start date. Extra waves for a carrier you already serve grow that contract.'}, decline:{args:[['id','entityId']], doc:'Throw an offer away.'}, salesHire:{args:[['id','salesPersona']], @@ -282,6 +282,23 @@ const API_CMD={ repayLoan:{args:[['id','entityId']],confirm:'double', quote:a=>{const l=S.loans.find(x=>x.id===a.id);return l?{setup:repayCost(l,BANKS[l.bank])}:{};}, doc:'Repay a loan early, or buy an equity investor out.'}, +/* ---------- address space (IPv4, rule ip4: On-call and BGP at 3 a.m.) ---------- */ + ip4Buy:{args:[['len','ip4Len']],watch:['ip4'], + quote:a=>({setup:ip4Cost(Number(a.len)),blocked:[ip4On()?'':tr('ip4.off'),ip4On()&&ip4Full()?tr('ip4.too_many',{n:IP4_BLK}):''].filter(Boolean)}), + doc:'Buy an IPv4 block of this prefix length (24 = 256 addresses up to 16 = 65,536) on the transfer market at today\'s price. It can be sold again two years after this transfer. A network holds at most 256 blocks, bought, leased in and from the registry together.'}, + ip4Lease:{args:[['len','ip4Len']],watch:['ip4'], + quote:a=>({setup:0,monthly:ip4InMo(Number(a.len)),blocked:[ip4On()?'':tr('ip4.off'),ip4On()&&ip4Full()?tr('ip4.too_many',{n:IP4_BLK}):''].filter(Boolean)}), + doc:'Lease an IPv4 block of this prefix length by the month, at today\'s rate (fixed for the lease). Hand it back with ip4Return. Refused at 256 blocks, like ip4Buy.'}, + ip4Sell:{args:[['id','entityId']],confirm:'double',watch:['ip4'], + doc:'Sell an owned block (not leased out) for 92% of the market price. Refused within two years of its last transfer, or when the customers signed would no longer fit with every home behind CGNAT.'}, + ip4Out:{args:[['id','entityId']],watch:['ip4'], + doc:'Lease an owned block out through a broker for a monthly income, while your own customers still fit without it.'}, + ip4Back:{args:[['id','entityId']],watch:['ip4'], + doc:'End the lease of a block you leased out; its addresses are yours to use again.'}, + ip4Return:{args:[['id','entityId']],watch:['ip4'], + doc:'Hand a leased-in block back, ending its monthly fee, when your customers still fit without it.'}, + ip4Nat:{args:[['v','ip4Ratio']],watch:['ip4'], + doc:'Set how many broadband homes share one IPv4 address behind CGNAT (8, 16, 32 or 64). More frees space for business customers but more gamers ask for refunds; fewer is refused when the customers signed would not fit.'}, /* ---------- security, China, incidents ---------- */ buildScrub:{args:[['city','cityId'],['tier','scrubTier',false]],watch:['scrubs'], quote:a=>{const T=SCRUB_TIERS[a.tier||0];return {setup:T?T.cost:undefined,monthly:T?T.mo:undefined};}, @@ -453,6 +470,8 @@ const API_CMD={ const API_VIEW={ pieOpen:{args:[],doc:'Open Pie Control, the rocket company\'s panel.'}, + ip4Open:{args:[],doc:'Open the bank at its Address space section: your IPv4 blocks, who uses them, CGNAT and the transfer market.'}, + ip4Pick:{args:[['v','ip4Len']],doc:'Pick the block size the Address space market quotes (a prefix length, 24 to 16).'}, pieGovOpen:{args:[],doc:'Open the bank at its Government money section: the rocket company\'s fund auctions, the Pitcairn grant and the Ex-Im Pie Bank (it used to be Pie Control\'s Gov tab).'}, pieTab:{args:[['t','pieTab']],doc:'Switch the Pie Control tab: traffic, co (the company, its books and the Founder\'s posts), fly (launches) or dish.'}, pieCity:{args:[['v','cityId']],doc:'Pick the POP the Dishes tab works on.'}, diff --git a/src/agent/30-docs.js b/src/agent/30-docs.js index fb43b45..c3d1212 100644 --- a/src/agent/30-docs.js +++ b/src/agent/30-docs.js @@ -9,7 +9,7 @@ const API_STATE_DOC={ cash:{type:'number',doc:'Cash on hand. Goes negative into the red; -100k is bankruptcy.'}, priceMul:{type:'number',doc:'Multiplier on transit prices (weekly modifier).'}, mode:{type:'string',doc:'normal | sandbox | scenario | puzzle.'}, - rules:{type:'map',doc:'The rules this network locked in at its door: preset (soft, freeze, oncall, bgp, sandbox or puzzle), the chaos dial, lead times, the market, and the Best Effort extras (sea, confs, broke, moods, pnis), which are only written where they differ from the classic game. They stay for the network\'s whole life.'}, + rules:{type:'map',doc:'The rules this network locked in at its door: preset (soft, freeze, oncall, bgp, sandbox or puzzle), the chaos dial, lead times, the market, and the later rules (sea, confs, broke, moods, pnis, and ip4 for scarce IPv4, off outside On-call and BGP at 3 a.m.), which are only written where they differ from the classic game. They stay for the network\'s whole life.'}, charter:{type:'string',doc:'The charter a normal game signed when it started: global | boutique | broker. chartSet is false until one is signed.'}, baronWon:{type:'number',doc:'The day a broker won Glass Baron, or 0.'}, chartSet:{type:'boolean',doc:'The charter has been picked; false while the choice is still open.'}, @@ -61,6 +61,7 @@ const API_STATE_DOC={ ops:{type:'map',doc:'The NOC intern: who is hired, each standing order\'s on/off switch and settings (network work only: deals belong to the sales desk, slAuto), the monthly budget and what it spent, per-POP exceptions, the new-POP template and the weekly log.'}, core:{type:'map',doc:'Your backbone technology: lv bought, the level it runs at, the interop lab.'}, ddosAuto:{type:'map',doc:'The NOC\'s auto-mitigation switches: rtbh and scrub.'}, + ip4:{type:'map',doc:'IPv4 address space (rule ip4): b, the blocks, at most 256 (len: prefix length 16-24, k: rir from the registry, buy bought, in leased in; d: the day it last moved, out: leased out, mo: the monthly fee or income), nat: homes per address behind CGNAT, w: which warnings were shown. What customers use is derived from their kind and size.'}, popStd:{type:'map',doc:'The build standard, or null for none. g router model (an RG index), rt routers, then only the targets that are set: site2, gen (true), lag (2 or 4 members), split, ix (true), pni (2 or 3 cities per network), sys (roadm, cl), opt (fast), wv (an LT index). New POPs get g, rt, site2 and gen at once; the std standing order and bstdApply bring the rest up.'}, mp:{type:'map',doc:'Multiplayer, only in a self-hosted copy with a session server: the session code, your player id, the AS number and seed the session gave you, its rules preset, your colour, its title and the last save number the server holds; null in every other game.'}, demo:{type:'map',doc:'Vendor demo units on order, by "kind:id" → ready day.'}, diff --git a/src/game/40-progress/30-rules.js b/src/game/40-progress/30-rules.js index 0dce567..dfda734 100644 --- a/src/game/40-progress/30-rules.js +++ b/src/game/40-progress/30-rules.js @@ -6,17 +6,18 @@ // sea: cable ships sail out to subsea cuts, or (timer) a cut mends on its own clock. confs: conference season. // broke: deep in the red ends the game, or (rescue) a state loan keeps it going. moods: patient customers sour half as fast. // pnis: PNIs and their augments wait for the other network's team, or (instant) are up the moment they are ordered. -const RULE_DEF={clock:true,chaos:'normal',lead:'real',market:true,money:'normal',gates:'ladder',sea:'ships',confs:true,broke:'lose',moods:'normal',pnis:'wait',mods:[]}; -const RULE_LATE=['sea','confs','broke','moods','pnis']; -const RULE_OK={clock:[true,false],chaos:['none','calm','normal','spicy'],lead:['real','quick'],market:[true,false],money:['normal','infinite'],gates:['ladder','open'],sea:['ships','timer'],confs:[true,false],broke:['lose','rescue'],moods:['normal','patient'],pnis:['wait','instant']}; +// ip4: IPv4 is scarce (#150, 33-address-space.js): customers need addresses, homes share them behind CGNAT. +const RULE_DEF={clock:true,chaos:'normal',lead:'real',market:true,money:'normal',gates:'ladder',sea:'ships',confs:true,broke:'lose',moods:'normal',pnis:'wait',ip4:true,mods:[]}; +const RULE_LATE=['sea','confs','broke','moods','pnis','ip4']; +const RULE_OK={clock:[true,false],chaos:['none','calm','normal','spicy'],lead:['real','quick'],market:[true,false],money:['normal','infinite'],gates:['ladder','open'],sea:['ships','timer'],confs:[true,false],broke:['lose','rescue'],moods:['normal','patient'],pnis:['wait','instant'],ip4:[true,false]}; // i: icon, n: name, d: the one-line joke, x: what is different, in small print. const PRESETS={ - soft:{i:'☕',n:tr('rules.best_effort'),d:tr('rules.no_sla_no_pager_no_promises'),x:tr('rules.rare_outages_no_ddos_pnis_at_once'),clock:true,chaos:'calm',lead:'quick',market:false,money:'normal',gates:'ladder',sea:'timer',confs:false,broke:'rescue',moods:'patient',pnis:'instant'}, - freeze:{i:'🧊',n:tr('rules.change_freeze'),d:tr('rules.nobody_touches_prod_even_the_backhoes'),x:tr('rules.a_third_of_the_outages_no_ddos_pnis'),clock:true,chaos:'calm',lead:'quick',market:false,money:'normal',gates:'ladder'}, + soft:{i:'☕',n:tr('rules.best_effort'),d:tr('rules.no_sla_no_pager_no_promises'),x:tr('rules.rare_outages_no_ddos_pnis_at_once'),clock:true,chaos:'calm',lead:'quick',market:false,money:'normal',gates:'ladder',sea:'timer',confs:false,broke:'rescue',moods:'patient',pnis:'instant',ip4:false}, + freeze:{i:'🧊',n:tr('rules.change_freeze'),d:tr('rules.nobody_touches_prod_even_the_backhoes'),x:tr('rules.a_third_of_the_outages_no_ddos_pnis'),clock:true,chaos:'calm',lead:'quick',market:false,money:'normal',gates:'ladder',ip4:false}, oncall:{i:'📟',n:tr('rules.on_call'),d:tr('rules.the_real_thing_your_pager_has'),x:tr('rules.real_lead_times_real_outages_a_real'),clock:true,chaos:'normal',lead:'real',market:true,money:'normal',gates:'ladder'}, bgp:{i:'🔥',n:tr('rules.bgp_at_3_a_m'),d:tr('rules.everything_is_on_fire_and_it'),x:tr('rules.more_and_longer_outages_more_ddos'),clock:true,chaos:'spicy',lead:'real',market:true,money:'normal',gates:'ladder'}, - sandbox:{i:'🏖️',n:tr('common.sandbox'),d:tr('rules.a_billion_dollars_every_unlock_your'),x:tr('rules.infinite_money_everything_unlocked_quick'),clock:true,chaos:'none',lead:'quick',market:true,money:'infinite',gates:'open'}, - puzzle:{i:'🧩',n:tr('rules.puzzle'),d:tr('rules.one_small_network_one_tricky_goal'),x:tr('rules.no_clock_no_bills_nothing_breaks'),clock:false,chaos:'none',lead:'quick',market:false,money:'normal',gates:'open'}, + sandbox:{i:'🏖️',n:tr('common.sandbox'),d:tr('rules.a_billion_dollars_every_unlock_your'),x:tr('rules.infinite_money_everything_unlocked_quick'),clock:true,chaos:'none',lead:'quick',market:true,money:'infinite',gates:'open',ip4:false}, + puzzle:{i:'🧩',n:tr('rules.puzzle'),d:tr('rules.one_small_network_one_tricky_goal'),x:tr('rules.no_clock_no_bills_nothing_breaks'),clock:false,chaos:'none',lead:'quick',market:false,money:'normal',gates:'open',ip4:false}, }; const NORMAL_PRESETS=['soft','freeze','oncall','bgp']; // How often things break, against the classic game. Spicy outages also last half as long again. diff --git a/src/game/60-features/33-address-space.js b/src/game/60-features/33-address-space.js new file mode 100644 index 0000000..8d91812 --- /dev/null +++ b/src/game/60-features/33-address-space.js @@ -0,0 +1,89 @@ +/* ---------- Address space (#150): IPv6 is free for everyone, IPv4 ran out years ago ---------- + The network holds IPv4 blocks in real CIDR sizes (/24 to /16): its first allocation from the RIR, blocks bought on + the transfer market and blocks leased in by the month. Owned blocks can be leased out (a broker finds the tenant) or + sold, once two years have passed since they last moved (the RIRs' holding period, which also stops flipping). + Business customers on IP service take a public block each, sized by kind and port (a /29 for a small DIA port, a /23 + for a big hosting company); broadband homes take what is left, and the homes that do not fit share addresses behind + CGNAT at the player's ratio. CGNAT costs a little per Gbps it carries (IPv6 goes around the box) and some gamers want + their money back. An offer that needs more than is free, with every home already behind CGNAT, cannot be signed, and a + customer renewing bigger stays at its size when the bigger block is not free (clGrow). + Nothing is stored per customer: what each one needs follows from its kind and size, so growing customers and old saves + need no new fields. On in On-call and BGP at 3 a.m. (rule ip4), off in the gentler presets, sandbox and puzzles; + scenarios only when they opt in (S.scn.rules.ip4). No random draws: the market price is a function of the day. + The first allocation is a /21: one transit's worth of broadband levels off at about 1,300 homes in every start city, + so the first months fit with room for a few customers (gameplay rule F1). */ +// IP4_BLK: the most blocks a network holds; buying and leasing stop there, and a save keeps that many. +const IP4_START=21,IP4_MIN=16,IP4_MAX=24,IP4_HOLD=730,IP4_NAT=[8,16,32,64],IP4_NAT0=16,IP4_BLK=256; +// Public addresses per Gbps of busy-hour broadband (a home each), and the part of it CGNAT still carries: the rest is IPv6. +const IP4_BB=10,IP4_V4=0.55,IP4_CGN=2; +// The market: dollars per address, flat for half a year, then +3% a year on a slow four-year swing. Leases are by the +// month (a broker keeps a cut of what yours earn), sales pay 92% of the price after the broker's fee. +const IP4_PX=38,IP4_FREE=180,IP4_YR=0.03,IP4_IN=0.5,IP4_OUT=0.4,IP4_SELL=0.92; +// Of the bill of a home behind CGNAT, the share that comes back as refunds (gamers, mostly): more homes per address, more +// grumbling. Homes squeezed past the ratio (port exhaustion) are worse. +const IP4_ANNOY={8:0.01,16:0.015,32:0.025,64:0.04},IP4_SQZ=0.15; +// Per kind of customer: addresses per Gbps of port, and the smallest block it takes. Circuits, waves and fiber carry no +// addresses of yours; downstream ISPs and universities bring their own (universities sit on legacy /16s); orbit +// terminals sit behind the satellite operator's own CGNAT. +const IP4_BIZ={cgame:[0.5,256],dia:[2,8],fabip:[2,8],game:[2,16],gpu:[0.5,64],host:[4,64],metav:[0.25,256],scrub:[2,8],stream:[1,32]}; +const ip4Sz=len=>2**(32-len),ip4LenOk=len=>Number.isInteger(len)&&len>=IP4_MIN&&len<=IP4_MAX; +const ip4Cidr=n=>'/'+(32-Math.ceil(Math.log2(Math.max(1,n)))),ip4N=n=>Math.round(n).toLocaleString(); +function ip4On(){return !!S&&!!S.ip4&&rule('ip4')===true&&(S.scn?scnRule('ip4'):S.mode==='normal');} +function ip4Need(b){const k=b&&IP4_BIZ[b.type];if(!k||!(b.bw>0))return 0;return Math.min(4096,2**Math.ceil(Math.log2(Math.max(k[1],b.bw*k[0]))));} +/* Who uses what. T: usable addresses (owned and leased in, without what is leased out); B: business customers; H: homes; + cg: homes behind CGNAT; over: the share of homes that do not fit even at the ratio; free: what a new customer can have + with every home behind CGNAT. */ +function ip4Use(s=S){const I=s.ip4,r=I.nat;let own=0,inn=0,out=0,B=0,H=0; + for(const b of I.b){const n=ip4Sz(b.len);if(b.k==='in')inn+=n;else if(b.out)out+=n;else own+=n;} + for(const b of s.biz)B+=ip4Need(b); + for(const c in s.pops){const p=s.pops[c];if(p.bb)H+=p.bb.d*IP4_BB;} + H=Math.ceil(H);const T=own+inn,A=Math.max(0,T-B),min=Math.ceil(H/r);let cg=0,over=0; + if(A=min)cg=Math.min(H,Math.ceil((H-A)*r/(r-1)));else{cg=H;over=min?1-A/min:0;}} + return {T,own,inn,out,B,H,cg,over,free:T-B-min,r};} +const ip4Fits=o=>!ip4On()||ip4Need(o)<=Math.max(0,ip4Use().free); +// A customer renewing at bw: does the bigger block it needs fit what is free? +const ip4GrowOk=(b,bw)=>!ip4On()||ip4Need({type:b.type,bw})-ip4Need(b)<=Math.max(0,ip4Use().free); +const ip4Full=()=>S.ip4.b.length>=IP4_BLK; +// What you announce, as the AS box shows it: your blocks by prefix length, without the ones leased out to others. +const ip4Pfx=()=>{const c={};for(const b of S.ip4.b)if(!b.out)c[b.len]=(c[b.len]||0)+1;return Object.keys(c).sort((a,b)=>a-b).map(l=>`${c[l]} × /${l}`).join(', ');}; +// Would giving this block up (selling, leasing it out, handing it back) still leave room for everyone? +const ip4Spare=b=>ip4Use().free>=ip4Sz(b.len); +const ip4Held=b=>b.k!=='in'&&S.day-b.dMath.round(ip4Sz(len)*ip4Px()*(1-0.015*(IP4_MAX-len))/100)*100; +const ip4Value=len=>Math.round(ip4Cost(len)*IP4_SELL/100)*100; +const ip4InMo=len=>Math.round(ip4Sz(len)*IP4_IN*ip4Px()/IP4_PX),ip4OutMo=len=>Math.round(ip4Sz(len)*IP4_OUT*ip4Px()/IP4_PX); +// The month's IPv4 bill: leases in and out, CGNAT boxes, refunds (eye: what broadband earns a month). +function ip4Bill(eye){const u=ip4Use();let lin=0,lout=0;for(const b of S.ip4.b){if(b.k==='in')lin+=b.mo||0;else if(b.out)lout+=b.mo||0;} + const cgS=u.H?u.cg/u.H:0;return {u,lin,lout,box:u.cg/IP4_BB*IP4_V4*IP4_CGN,refund:eye*(cgS*IP4_ANNOY[u.r]+u.over*IP4_SQZ)};} +// computeMoney: only what is there, so a network with nothing to pay keeps its money rows as they were. +function ip4Money(C,V){if(!ip4On())return;const b=ip4Bill(V.eyeballs||0),c=Math.round(b.lin+b.box+b.refund);if(c>0)C.ip4=c;if(b.lout>0)V.ip4=b.lout;} +/* A new network gets its /21 from the RIR. An older save gets what it already uses registered to it and a quarter more to + grow into (about a month for a big, fast-growing network), rounded up to /24s in real CIDR blocks (a /21 at the + least), so nothing changes on load; those blocks move like any other two years on. + Their ids are fixed (rir0, rir1…), not uid(): a new game draws no id, so every id after it stays as it was. */ +function ip4Grant(s){const d=s.day||0,b=[],add=len=>b.push({id:'rir'+b.length,len,k:'rir',d});let need=0; + for(const x of s.biz||[])need+=ip4Need(x); + for(const c in s.pops||{}){const p=s.pops[c];if(p&&p.bb&&p.bb.d>0)need+=p.bb.d*IP4_BB;} + need=Math.max(ip4Sz(IP4_START),Math.ceil(need*1.25/256)*256); + while(need>=ip4Sz(IP4_MIN)&&b.length<200){add(IP4_MIN);need-=ip4Sz(IP4_MIN);} + for(let len=IP4_MIN+1;len<=IP4_MAX;len++)if(need>=ip4Sz(len)){add(len);need-=ip4Sz(len);} + return {b,nat:IP4_NAT0,w:0};} +const ip4New=()=>ip4Grant({}); +function ip4Fix(s){const I=s.ip4&&typeof s.ip4==='object'&&!Array.isArray(s.ip4)?s.ip4:null;if(!I){s.ip4=ip4Grant(s);return;} + const day=Math.max(0,num(s.day,0)),mo=v=>Math.round(Math.min(1e8,Math.max(0,num(v,0)))); + const b=(Array.isArray(I.b)?I.b:[]).filter(x=>x&&typeof x==='object'&&ip4LenOk(x.len)&&['rir','buy','in'].includes(x.k)).slice(0,IP4_BLK).map(x=>{ + const o={id:typeof x.id==='string'&&x.id&&x.id.length<=40?x.id:uid(),len:x.len,k:x.k,d:int(x.d,0,day,0)}; + if(x.k==='in')o.mo=mo(x.mo);else if(x.out===true){o.out=true;o.mo=mo(x.mo);}return o;}); + s.ip4={b,nat:IP4_NAT.includes(I.nat)?I.nat:IP4_NAT0,w:int(I.w,0,3,0)};} +/* Once a day: say so when homes go behind CGNAT (a percent of them at least), and when even CGNAT cannot fit them all + (w: what was said). Each rearms only with room to spare again, so homes hovering at the limit hear it once. */ +function ip4Day(d){if(!ip4On())return;const I=S.ip4,u=ip4Use(),A=u.T-u.B,go=[{l:tr('ip4.section'),act:'ip4Open'}]; + if(u.cg>=Math.max(1,u.H*0.01)){if(!(I.w&1)){I.w|=1;toast(tr('ip4.toast_cgnat',{p:pct(u.cg/u.H)}),'',go);}}else if(A>=u.H*1.05)I.w&=~1; + if(u.over>0){if(!(I.w&2)){I.w|=2;toast(tr('ip4.toast_out',{r:u.r}),'bad',go);sfx('err');}}else if(A>=Math.ceil(u.H/u.r)*1.1)I.w&=~2;} +// Renewals that wanted a bigger block than is free (clGrow, [customer, bandwidth]): they stay as they are, and hear why. +function ip4News(l=[]){for(const [b,bw] of l.slice(0,3))toast(tr('ip4.no_grow',{name:esc(b.name),city:esc(clWhere(b)),bw:fmtG(bw)}),'',[{l:tr('ip4.section'),act:'ip4Open'}]);} +// The line under an offer that cannot be signed for want of addresses. +function ip4Why(o){if(ip4Fits(o))return '';const n=ip4Need(o); + return `
${tr('ip4.offer_needs',{p:ip4Cidr(n),n:ip4N(n),free:ip4N(Math.max(0,ip4Use().free))})} ${btn(tr('ip4.section'),'ip4Open',{},'ghost sm')}
`;} diff --git a/src/game/60-features/38-sales-desk.js b/src/game/60-features/38-sales-desk.js index ff2efd0..9c68f86 100644 --- a/src/game/60-features/38-sales-desk.js +++ b/src/game/60-features/38-sales-desk.js @@ -65,13 +65,13 @@ function salesDay(d){const L=S.sales;if(!L)return; // With a rocket company, every other game is with the Founder, and in orbit (pieGolf, 99-pie-sales.js). const SALES_GOLF=['metav','cgame','gpu','stream','isp','edu','host','dia']; function salesGolf(d){if(pieGolf(d))return;const mine=Object.keys(S.pops).filter(c=>popUp(c)&&bizCity(c));if(!mine.length)return; - const t=SALES_GOLF.find(x=>(BIZ_T[x].lv||1)<=lvl());if(!t)return;const T=BIZ_T[t],city=mine.sort((a,b)=>CITY[b].P-CITY[a].P||(a(BIZ_T[x].lv||1)<=lvl()&&ip4Fits({type:x,bw:BIZ_T[x].opts[BIZ_T[x].opts.length-1]}));if(!t)return;const T=BIZ_T[t],city=mine.sort((a,b)=>CITY[b].P-CITY[a].P||(a!S.usedNames.includes(n));const name=list.length?list[Math.floor(slR('golfn|'+d)*list.length)]:(T.names||BIZ_N)[0];useName(name); const o={id:uid(),city,city2:null,name,type:t,bw:T.opts[T.opts.length-1],rate:Math.round((CITY[city].au?T.rate*AU_ARPU:T.rate)*mkt()*0.7),reqs:[],exp:d+40}; const k=salesPromise(o);if(k)o.reqs.push(k);const b=offerCustomer(o);b.by='ceo';b.mk=mkt();S.biz.push(clSign(b)); toast(tr('sales.ceo_golf',{name:esc(name),city:esc(CITY[city].name),bw:fmtG(o.bw),price:fmt$(o.bw*o.rate)})+(k?' '+tr('sales.ceo_promised',{req:esc(typeof REQS[k].l==='function'?REQS[k].l(o):REQS[k].l)}):''),'goal',[{l:tr('common.show_me'),act:'custGo',args:{id:b.id}}]);sfx('coin');} // Declining an offer the CEO likes: about one in three, he already shook hands on it. -function salesOverride(o){if(slP()!=='ceo'||!o||!bHas(o)||BIZ_T[o.type].event||slR('veto|'+slKey(o))>=0.33)return false; +function salesOverride(o){if(slP()!=='ceo'||!o||!bHas(o)||BIZ_T[o.type].event||!ip4Fits(o)||slR('veto|'+slKey(o))>=0.33)return false; const b=offerCustomer(o);if(o.mk)b.mk=o.mk;b.by='ceo';S.offers=S.offers.filter(x=>x!==o);S.biz.push(clSign(b));toast(tr('sales.ceo_override',{name:esc(o.name)}),'');return true;} // Saves: who is at the desk, the VP on the way, the CEO's calendar; who brought each offer and signed each customer. function salesFix(s){const L=s.sales&&typeof s.sales==='object'&&!Array.isArray(s.sales)?s.sales:{},n=v=>Number.isInteger(v)&&v>=0&&v<1e7?v:null; diff --git a/src/game/60-features/39-sales-auto.js b/src/game/60-features/39-sales-auto.js index 11f3b81..7251224 100644 --- a/src/game/60-features/39-sales-auto.js +++ b/src/game/60-features/39-sales-auto.js @@ -32,7 +32,7 @@ function slAutoDay(d){if(!slAutoOn())return;const A=S.slAuto,p=slP(),w=Math.floo const won=o=>{if(S.offers.includes(o))return false;W.n++;W.rev+=Math.round(bizMo(o));dirty=true;return true;}; opsQuiet(()=>{for(const o of S.offers.slice()){if(!S.offers.includes(o))continue;const T=BIZ_T[o.type];if(!T||!(o.exp>d))continue;const v=T.event?(o.fee||0):bizMo(o); if(A.min&&vb0){W.y++;W.rev+=Math.round(bizMo(o));dirty=true;}continue;} - if(!A.on)continue; + if(!A.on||!ip4Fits(o))continue; if(T.orbit){const k=slSkyOk(o,used);if(!k||(p==='shark'&&S.cashd)))continue;ACT.accept({id:o.id});won(o);continue;} diff --git a/src/game/60-features/80-new-game.js b/src/game/60-features/80-new-game.js index 3559593..7903fdd 100644 --- a/src/game/60-features/80-new-game.js +++ b/src/game/60-features/80-new-game.js @@ -1,6 +1,6 @@ function newGame(name,home){ S={v:1,name,asn:200000+Math.floor(_rand()*15000),home,day:0,cash:START_CASH, - ltv:2,t1v:4,auV:1,calV:1,pieV:1,pie:null,ops:opsNew(),slAuto:slAutoNew(),achP:{},seen:NETS.map(n=>n.id),spares:{},pops:{[home]:{day:0,bb:null,boost:0,down:0,routers:1,gen:false}},links:[],nni:[],transit:[],ixp:{},rs:{},peers:{},pni:[],caches:[],biz:[],offers:[],myIx:{},pairMet:{}, + ltv:2,t1v:4,auV:1,calV:1,pieV:1,pie:null,ip4:ip4New(),ops:opsNew(),slAuto:slAutoNew(),achP:{},seen:NETS.map(n=>n.id),spares:{},pops:{[home]:{day:0,bb:null,boost:0,down:0,routers:1,gen:false}},links:[],nni:[],transit:[],ixp:{},rs:{},peers:{},pni:[],caches:[],biz:[],offers:[],myIx:{},pairMet:{}, done:{},inc:[],fleet:{},ev:{ddosMore:[]},ddosStarts:[],priceMul:1,nextFail:45,nextEvent:40,usedNames:[],stats:{survived:0,incidents:0,peak:0},cnLic:{state:'none'},scrubs:[],scrubMode:'always',ddosAuto:{rtbh:false,scrub:true},capDeal:null,core:{lv:0,run:0},popStd:null,won:false,lost:false,neg:0,loans:[],loanOffers:[],loanStrikes:0,ppol:'open',pdesk:null,pdeskRep:null,hw:{},rules:makeRules('oncall'),charter:'global',chartSet:false,demo:{},seatOff:null,solWon:0,monkey:{next:null,on:0},mp:null}; } diff --git a/src/game/80-simulation/30-compute.js b/src/game/80-simulation/30-compute.js index 6b28350..4829518 100644 --- a/src/game/80-simulation/30-compute.js +++ b/src/game/80-simulation/30-compute.js @@ -374,10 +374,11 @@ function computeMoney(R2,PX=null){ C.wholesale=0;C.levy=0;const lev=scnRule('levy');for(const c in S.pops){const sf=sfOf(R2,c)*(R2.bbF[c]??1),v=R2.cityEye[c]*sf*EYE_RATE*arpuOf(c);V.eyeballs+=v;if(CITY[c].au){if(lev)C.levy+=v*AU_LEVY;else C.wholesale+=v*AU_WHOLESALE;}} const ids=linkIds();for(const b of S.biz){if(capPend(b)||BIZ_T[b.type].orbit)continue;const sf=BIZ_T[b.type].fiber?(fiberOk(b,ids)?1:0):BIZ_T[b.type].l2?clamp((R2.l2[b.id]||0)/b.bw,0,1):sfOf(R2,b.city)*(R2.tgtF[b.id]??1);V.business+=b.bw*b.rate*Math.min(1,sf/0.95);} for(const c in S.myIx)V.ix+=S.myIx[c].members.length*MYIX_FEE; + ip4Money(C,V); if(PX)pieMoney(PX,R2,V); // The UK grant for Pitcairn, its satellite tier once orbit is known; the Rural Digital Pie Fund (99-pie-subsidies.js). {const on=grantOn(R2),sky=!on&&!!PX&&grantSky(R2);V.grant=on?GRANT_MO:sky?GRANT_SKY_MO:0;if(PX)V.gov=pieGovMo();if(PX)R2.pie.gov={rdf:V.gov||0,sky:sky?GRANT_SKY_MO:0};} C.revshare=(S.loans||[]).reduce((a,l)=>a+(BANKS[l.bank].equity||l.bal>0?l.share||0:0),0)*(V.eyeballs+V.business+V.ix+(V.orbit||0)); R2.costMo=Object.values(C).reduce((a,b)=>a+b,0); - R2.revMo=V.eyeballs+V.business+V.ix+V.grant+(V.gov||0)+(V.orbit||0); + R2.revMo=V.eyeballs+V.business+V.ix+V.grant+(V.gov||0)+(V.orbit||0)+(V.ip4||0); } diff --git a/src/game/80-simulation/50-sanitize.js b/src/game/80-simulation/50-sanitize.js index e6c94b3..b18f5b9 100644 --- a/src/game/80-simulation/50-sanitize.js +++ b/src/game/80-simulation/50-sanitize.js @@ -112,6 +112,7 @@ function sanitize(s){ const m={mods:r.mods};s.rules=s.scn&&typeof s.scn==='object'?makeRules('oncall',m):s.mode==='sandbox'?makeRules('sandbox',{...m,chaos:r.chaos}):makeRules(NORMAL_PRESETS.includes(r.preset)?r.preset:'oncall',m);} specSanitize(s);mpSanitize(s); pieSanitize(s);pieIncFix(s); + ip4Fix(s); if(s.te){if(typeof s.te!=='object')s.te=null;else{s.te.on=!!s.te.on;s.te.script=typeof s.te.script==='string'?s.te.script.slice(0,4000):'';}} return s;} function migrate(s){sanitize(s); diff --git a/src/game/80-simulation/75-customer-lifecycle.js b/src/game/80-simulation/75-customer-lifecycle.js index 97a5d5d..2bba376 100644 --- a/src/game/80-simulation/75-customer-lifecycle.js +++ b/src/game/80-simulation/75-customer-lifecycle.js @@ -58,14 +58,16 @@ function clRenew(b,rate){b.rate=Math.max(0,Math.round(rate));b.mk=mkt();delete b function clGone(b,why){S.biz=S.biz.filter(x=>x!==b);clNote('lost',why);} const clWhere=b=>bCities(b).map(c=>CITY[c].name).join(' ⇄ '); -// Growing: the next size up their type sells, or twice the bandwidth past the top one. Fiber grows by renewing. -function clGrow(b){const T=BIZ_T[b.type];if(T.fiber)return false;const up=(T.opts||[]).find(x=>x>b.bw);b.bw=up||b.bw*2;return true;} +// Growing: the next size up their type sells, or twice the bandwidth past the top one. Fiber grows by renewing. Not +// when the bigger IPv4 block it needs is not free (#150): out.v4 lists them for the day's news. +function clGrow(b,out){const T=BIZ_T[b.type];if(T.fiber)return false;const bw=(T.opts||[]).find(x=>x>b.bw)||b.bw*2; + if(!ip4GrowOk(b,bw)){if(out)out.v4.push([b,bw]);return false;}b.bw=bw;return true;} // Leaving, or one of the not-your-fault turns that keeps them. Returns what the log says. function clLeave(b,d,out){const T=BIZ_T[b.type],v={name:esc(b.name),city:esc(clWhere(b))}; if(b.mood<50){clGone(b,'sad');out.lost.push(tr('lifecycle.left_unhappy',v));return;} const C=S.cl;if(d-C.odd>=CL_ODD_GAP&&clR(b,'odd')<0.25){C.odd=d;clGone(b,'odd');out.lost.push(tr('lifecycle.left_odd',{...v,why:tr(clPick(CL_ODD,b,'oddline'))}));return;} const ks=Object.keys(CL_WHY).filter(k=>CL_WHY[k].ok(b.type)),k=clPick(ks,b,'why'); - if(k==='acq'&&clR(b,'acqbig')<0.3&&clGrow(b)){clRenew(b,clFair(b));clNote('grew');out.ok.push(tr('lifecycle.acquired_stays_bigger',{...v,bw:fmtG(b.bw)}));return;} + if(k==='acq'&&clR(b,'acqbig')<0.3&&clGrow(b,out)){clRenew(b,clFair(b));clNote('grew');out.ok.push(tr('lifecycle.acquired_stays_bigger',{...v,bw:fmtG(b.bw)}));return;} if(k==='moved'){const reg=CITY[b.city].reg,to=Object.keys(S.pops).filter(c=>c!==b.city&&CITY[c].reg===reg&&bizCity(c)).sort(); const c2=to.length&&clR(b,'stay')<0.5?clPick(to,b,'to'):null; if(c2){const from=CITY[b.city].name;b.city=c2;clRenew(b,clFair(b));clNote('ren');out.ok.push(tr('lifecycle.moved_stays',{name:v.name,from:esc(from),to:esc(CITY[c2].name)}));return;}} @@ -75,7 +77,7 @@ function clLeave(b,d,out){const T=BIZ_T[b.type],v={name:esc(b.name),city:esc(clW /* A day of contracts, after the moods. 30 days before a term ends a customer with competitors around may ask for a discount (at most three open at a time); at the end, the rest renew, grow or leave. An unanswered haggle renews at the asked price. */ -function clDay(d){if(!S.cl)S.cl={odd:-1e9,mo:[]};const out={ren:0,grew:0,ok:[],lost:[],hag:[]};let open=S.biz.reduce((a,b)=>a+(b.hag?1:0),0); +function clDay(d){if(!S.cl)S.cl={odd:-1e9,mo:[]};const out={ren:0,grew:0,ok:[],lost:[],hag:[],v4:[]};let open=S.biz.reduce((a,b)=>a+(b.hag?1:0),0); const pat=rule('moods')==='patient'?0.5:1; for(const b of S.biz.slice()){if(!b.te||!clOn(b))continue; if(b.hag){if(d>=b.hag.until){clRenew(b,b.hag.rate);clNote('ren');out.ren++;}continue;} @@ -86,7 +88,7 @@ function clDay(d){if(!S.cl)S.cl={odd:-1e9,mo:[]};const out={ren:0,grew:0,ok:[],l continue;} const cf=Math.min(1,clComp(b)/6),u=(100-b.mood)/100,leave=(0.04+0.08*cf+0.35*u*u)*pat*salesLeaveMul(b); if(clR(b,'leave')=80&&g<0.3)||(b.mood>=60&&g<0.12)){if(clGrow(b)){clRenew(b,clFair(b));clNote('grew');out.grew++;out.ok.push(tr('lifecycle.renewed_and_grew',{name:esc(b.name),city:esc(clWhere(b)),bw:fmtG(b.bw)}));continue;}} + const g=clR(b,'grow');if((b.mood>=80&&g<0.3)||(b.mood>=60&&g<0.12)){if(clGrow(b,out)){clRenew(b,clFair(b));clNote('grew');out.grew++;out.ok.push(tr('lifecycle.renewed_and_grew',{name:esc(b.name),city:esc(clWhere(b)),bw:fmtG(b.bw)}));continue;}} clRenew(b,clFair(b));clNote('ren');out.ren++;} clNews(out);clReferral(d);} // What the day says: haggles one by one (they want an answer), the rest in a few lines so a big network is not a wall of toasts. @@ -94,7 +96,7 @@ function clNews(out){ for(const b of out.hag){const was=bizMo(b),now=BIZ_T[b.type].fiber?b.hag.rate:b.bw*b.hag.rate; toast(tr('lifecycle.haggle',{name:esc(b.name),city:esc(clWhere(b)),price:fmt$(now),p:pct(1-now/Math.max(1,was)),n:b.hag.until-S.day}),'',[{l:tr('common.deals'),act:'leftTab',args:{t:'deals'}}],{a:'cust',v:b.id});} const few=(list,kind)=>{for(const t of list.slice(0,3))toast(t,kind);if(list.length>3)toast(trn('lifecycle.n_more',list.length-3),kind);}; - few(out.ok,'good');few(out.lost,''); + few(out.ok,'good');ip4News(out.v4);few(out.lost,''); if(out.ren)toast(trn('lifecycle.n_renewed',out.ren,{p:mktTxt()}),'');} const mktTxt=()=>{const m=mkt();return Math.abs(m-1)<0.005?tr('lifecycle.market_as_start'):m<1?tr('lifecycle.market_below',{p:pct(1-m)}):tr('lifecycle.market_above',{p:pct(m-1)});}; diff --git a/src/game/88-days/10-day-tick.js b/src/game/88-days/10-day-tick.js index 2f008db..7c2a989 100644 --- a/src/game/88-days/10-day-tick.js +++ b/src/game/88-days/10-day-tick.js @@ -94,6 +94,7 @@ function dayPost(d){ scnTick(d); confTick(d); specDay(d); + ip4Day(d); // money trouble if(S.cash<0){S.neg++;if(S.neg===1)toast(tr('day_tick.you_are_in_the_red_cancel'),'bad');} else S.neg=0; diff --git a/src/game/90-actions/50-customers.js b/src/game/90-actions/50-customers.js index aa5e4c8..d683de8 100644 --- a/src/game/90-actions/50-customers.js +++ b/src/game/90-actions/50-customers.js @@ -4,7 +4,7 @@ Object.assign(ACT,{ if(!w&&!p){toast(tr('customers.nothing_spare_to_sell_on_this'),'bad');sfx('err');return;}const L=l.list||(l.list={w:0,p:0});L.w+=w;L.p+=p; toast(tr('broker.listed',{a:CITY[l.a].name,b:CITY[l.b].name}),'good');sfx('click');after();}, unlistFiber:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||!l.list)return;delete l.list;sfx('click');after();}, - accept:({id,auto=false})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;const customer=auto?autoOffer(o):offerCustomer(o);if(!customer)return;if(!bHas(o)){toast(tr('customers.you_need_a_pop_in_every'),'bad');return;} + accept:({id,auto=false})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!ip4Fits(o)){const n=ip4Need(o);toast(tr('ip4.no_space',{name:esc(o.name),p:ip4Cidr(n),n:ip4N(n),free:ip4N(Math.max(0,ip4Use().free))}),'bad',[{l:tr('ip4.section'),act:'ip4Open'}]);sfx('err');return;}const customer=auto?autoOffer(o):offerCustomer(o);if(!customer)return;if(!bHas(o)){toast(tr('customers.you_need_a_pop_in_every'),'bad');return;} if(o.type==='wwave'){const l=S.links.find(x=>x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)=o.start){toast(tr('customers.too_late_the_event_has_already'),'bad');return;} // A carrier renting more alien waves on a fiber it already rents grows its contract, like a real order for extra waves, diff --git a/src/game/90-actions/54-address-space.js b/src/game/90-actions/54-address-space.js new file mode 100644 index 0000000..e2c934f --- /dev/null +++ b/src/game/90-actions/54-address-space.js @@ -0,0 +1,29 @@ +/* Address space (#150, 33-address-space.js): buy, lease in, lease out, sell, hand back, and the CGNAT ratio. Every block + change keeps room for the customers already signed, with every home behind CGNAT. */ +const ip4Re=()=>{after();renderBank();}; +function ip4Can(){if(ip4On())return true;toast(tr('ip4.off'),'bad');sfx('err');return false;} +const ip4Blk=id=>S.ip4.b.find(b=>b.id===id); +function ip4Busy(){toast(tr('ip4.in_use'),'bad');sfx('err');} +// No more blocks than a save keeps (IP4_BLK): a new one is refused with the way out. +function ip4Room(){if(!ip4Full())return true;toast(tr('ip4.too_many',{n:IP4_BLK}),'bad');sfx('err');return false;} +Object.assign(ACT,{ + ip4Open:()=>{if(!S||pzOn()||!ip4On())return;if(!$('modal').hidden)closeModal();ACT.bank();const g=$('bankIp4');if(g&&g.scrollIntoView)g.scrollIntoView({block:'start'});}, + // The size the market rows quote (a dropdown: v is the prefix length). + ip4Pick:({v})=>{const len=Number(v);if(ip4LenOk(len))UI.ip4Len=len;renderBank();}, + ip4Buy:({len})=>{if(!ip4Can())return;len=Number(len);if(!ip4LenOk(len)||!ip4Room())return;const c=ip4Cost(len);if(!spend(c))return; + S.ip4.b.push({id:uid(),len,k:'buy',d:S.day});toast(tr('ip4.bought',{p:'/'+len,n:ip4N(ip4Sz(len)),price:fmt$(c)}),'good');sfx('coin');ip4Re();}, + ip4Lease:({len})=>{if(!ip4Can())return;len=Number(len);if(!ip4LenOk(len)||!ip4Room())return;const mo=ip4InMo(len); + S.ip4.b.push({id:uid(),len,k:'in',d:S.day,mo});toast(tr('ip4.leased_in',{p:'/'+len,n:ip4N(ip4Sz(len)),price:fmt$(mo)}),'good');sfx('click');ip4Re();}, + ip4Sell:({id})=>{if(!ip4Can())return;const b=ip4Blk(id);if(!b||b.k==='in'||b.out)return; + if(ip4Held(b)){toast(tr('ip4.held',{date:dateStr(b.d+IP4_HOLD)}),'bad');sfx('err');return;}if(!ip4Spare(b)){ip4Busy();return;} + if(UI.confirm!==id){UI.confirm=id;renderBank();return;}UI.confirm=null;const v=ip4Value(b.len);S.ip4.b=S.ip4.b.filter(x=>x!==b);S.cash+=v; + toast(tr('ip4.sold',{p:'/'+b.len,price:fmt$(v)}),'good');sfx('coin');ip4Re();}, + ip4Out:({id})=>{if(!ip4Can())return;const b=ip4Blk(id);if(!b||b.k==='in'||b.out)return;if(!ip4Spare(b)){ip4Busy();return;} + b.out=true;b.mo=ip4OutMo(b.len);toast(tr('ip4.leased_out',{p:'/'+b.len,price:fmt$(b.mo)}),'good');sfx('coin');ip4Re();}, + ip4Back:({id})=>{if(!ip4Can())return;const b=ip4Blk(id);if(!b||!b.out)return;delete b.out;delete b.mo;sfx('click');ip4Re();}, + ip4Return:({id})=>{if(!ip4Can())return;const b=ip4Blk(id);if(!b||b.k!=='in')return;if(!ip4Spare(b)){ip4Busy();return;} + S.ip4.b=S.ip4.b.filter(x=>x!==b);sfx('click');ip4Re();}, + // Fewer homes per address needs more addresses: refused when the customers already signed would not fit. + ip4Nat:({v})=>{if(!ip4Can())return;const r=Number(v);if(!IP4_NAT.includes(r)||r===S.ip4.nat)return;const u=ip4Use(); + if(r
${tr('hud_and_panels.customer_level_lv_name',{lv,name:LEVELS[lv-1].n})}
${nx?tr('hud_and_panels.next_req_unlocks_what',{req:nx.req,what:lc1(nx.unlock)}):tr('common.every_customer_type_is_unlocked_go')}
`;} if(!S.offers.length)h+=`

${tr('hud_and_panels.no_open_offers_right_now_businesses')}

`; for(const o of S.offers.slice().sort((a,b)=>a.exp-b.exp)){const has=bHas(o); - h+=`
${esc(o.name)}
${esc(BIZ_T[o.type].l)} · ${CITY[o.city].name}${o.city2?' ⇄ '+CITY[o.city2].name:''} · ${bTerms(o)} · ${tr('ui.n_d_left',{n:o.exp-S.day})}${(o.reqs||[]).length?` · ${trn('hud_and_panels.n_special_requirement',o.reqs.length)}`:''}
${o.refN?`
${tr('lifecycle.referred_by',{name:esc(o.refN)})}
`:''}${spotWhy(o)}${bRisk(o)}${reqList(o)} + h+=`
${esc(o.name)}
${esc(BIZ_T[o.type].l)} · ${CITY[o.city].name}${o.city2?' ⇄ '+CITY[o.city2].name:''} · ${bTerms(o)} · ${tr('ui.n_d_left',{n:o.exp-S.day})}${(o.reqs||[]).length?` · ${trn('hud_and_panels.n_special_requirement',o.reqs.length)}`:''}
${o.refN?`
${tr('lifecycle.referred_by',{name:esc(o.refN)})}
`:''}${spotWhy(o)}${ip4Why(o)}${bRisk(o)}${reqList(o)}
${has?btn(tr('common.accept'),'accept',{id:o.id},'green sm'):btn(tr('common.go_there'),'focusCity',{city:bCities(o).find(c=>!S.pops[c])},'ghost sm')}${btn(tr('common.decline'),'decline',{id:o.id},'ghost sm')}
${has?'':`
${tr('hud_and_panels.needs_a_pop_in_cities',{cities:bCities(o).filter(x=>!S.pops[x]).map(x=>CITY[x].name).join(', ')})}
`}
`;} }else if(UI.left==='noc'){ h+=`
${btn(tr('hud_and_panels.open_noc_dashboard'),'dash',{},'pink')}${pieNocBtn()}${btn(`⚙️ ${tr('routing.routing_and_ddos')}${S.te&&!coreTE()?'':''}`,'routingOpen',{},'')}
`; diff --git a/src/game/93-ui/70-link-panels.js b/src/game/93-ui/70-link-panels.js index 43a2309..249a97f 100644 --- a/src/game/93-ui/70-link-panels.js +++ b/src/game/93-ui/70-link-panels.js @@ -140,7 +140,7 @@ function dfPanel(l){ } function offersHere(c){ const os=S.offers.filter(o=>bCities(o).includes(c));if(!os.length)return ''; - return `

${tr('common.offers_here')}

${os.map(o=>`
${esc(o.name)}
${esc(BIZ_T[o.type].l)}${o.city2?` ${CITY[o.city].name} ⇄ ${CITY[o.city2].name}`:''} · ${bTerms(o)} · ${tr('ui.n_d_left',{n:o.exp-S.day})}
${spotWhy(o)}${R.reach<0.99&&!BIZ_T[o.type].l2?`
${tr('link_panels.they_need_the_full_internet_your',{pct:pct(R.reach)})}
`:''}${o.type==='scrub'&&!hasScrub()?`
${tr('link_panels.needs_your_own_scrubbing_center')}
`:''}${bRisk(o)}${reqList(o)}${bHas(o)?'':`
${tr('link_panels.needs_a_pop_in_cities_too',{cities:bCities(o).filter(x=>!S.pops[x]).map(x=>CITY[x].name).join(', ')})}
`}
${bHas(o)?btn(tr('common.accept'),'accept',{id:o.id},'green sm'):''}${btn(tr('common.no'),'decline',{id:o.id},'ghost sm')}
`).join('')}
`; + return `

${tr('common.offers_here')}

${os.map(o=>`
${esc(o.name)}
${esc(BIZ_T[o.type].l)}${o.city2?` ${CITY[o.city].name} ⇄ ${CITY[o.city2].name}`:''} · ${bTerms(o)} · ${tr('ui.n_d_left',{n:o.exp-S.day})}
${spotWhy(o)}${R.reach<0.99&&!BIZ_T[o.type].l2?`
${tr('link_panels.they_need_the_full_internet_your',{pct:pct(R.reach)})}
`:''}${o.type==='scrub'&&!hasScrub()?`
${tr('link_panels.needs_your_own_scrubbing_center')}
`:''}${ip4Why(o)}${bRisk(o)}${reqList(o)}${bHas(o)?'':`
${tr('link_panels.needs_a_pop_in_cities_too',{cities:bCities(o).filter(x=>!S.pops[x]).map(x=>CITY[x].name).join(', ')})}
`}
${bHas(o)?btn(tr('common.accept'),'accept',{id:o.id},'green sm'):''}${btn(tr('common.no'),'decline',{id:o.id},'ghost sm')}
`).join('')}
`; } function linkPanel(id){ const l=S.links.find(x=>x.id===id);if(!l){UI.sel=null;return '';} diff --git a/src/game/94-dashboard/60-dashboard.js b/src/game/94-dashboard/60-dashboard.js index b1e662f..b1ede29 100644 --- a/src/game/94-dashboard/60-dashboard.js +++ b/src/game/94-dashboard/60-dashboard.js @@ -9,7 +9,7 @@ function renderDash(){checkLayer();
${tile(tr('common.traffic_now'),fmtG(R.served),tr('dashboard.of_g_wanted',{g:fmtG(R.demand)}))}${tile(tr('common.peak'),fmtG(S.stats.peak))}${tile(tr('dashboard.delivered_30_days'),(up*100).toFixed(1)+'%',up>=0.999?tr('dashboard.five_nines_ish'):up>=0.99?tr('dashboard.two_nines_and_change'):tr('dashboard.customers_are_upset'))}${tile(tr('common.peering_ratio'),pct(R.peerShare||0),tr('dashboard.caches_pnis_and_ix'))}${tile(tr('dashboard.monthly_p_l'),`${net>=0?'+':''}${fmt$(net)}`,tr('dashboard.in_in_out_out',{in:fmt$(R.revMo),out:fmt$(R.costMo)}))}${tile(tr('common.incidents'),S.stats.incidents,tr('dashboard.n_shrugged_off',{n:S.stats.survived}))}

${tr('dashboard.traffic_by_way_out')}

${svgChart(rows,['c','p','ix','t','l2'],[{k:'dem',col:'var(--text)',dash:true}],v=>fmtCap(Math.round(v)),'traffic')}${chartLegend('traffic',k=>k==='dem'?'':' '+pct((R.egT[k]||0)/tot))}

${tr('dashboard.money_per_month')}

${svgChart(rows,[],[{k:'rev',col:'#16A866'},{k:'cost',col:'#FF4D5E'}],v=>fmt$(v),'money')}${chartLegend('money')} -

${tr('dashboard.where_the_money_goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('dashboard.pops_and_routers'),links:tr('dashboard.waves_and_fiber'),transit:tr('common.transit'),ix:tr('common.ix_ports'),pni:tr('common.pnis'),caches:tr('common.cache_power'),nni:tr('common.fabric_ports'),optical:tr('dashboard.amp_huts_and_spares'),loans:tr('common.loan_repayments'),revshare:tr('dashboard.investor_revenue_share'),extras:tr('dashboard.licenses_and_scrubbing'),wholesale:tr('dashboard.nearly_broadband_network_wholesale'),levy:tr('dashboard.regional_broadband_levy'),pie:tr('pie.costs_row')}[k]||k}${tr('common.price_mo',{price:fmt$(v)})}
`).join('')}
`; +

${tr('dashboard.where_the_money_goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('dashboard.pops_and_routers'),links:tr('dashboard.waves_and_fiber'),transit:tr('common.transit'),ix:tr('common.ix_ports'),pni:tr('common.pnis'),caches:tr('common.cache_power'),nni:tr('common.fabric_ports'),optical:tr('dashboard.amp_huts_and_spares'),loans:tr('common.loan_repayments'),revshare:tr('dashboard.investor_revenue_share'),extras:tr('dashboard.licenses_and_scrubbing'),wholesale:tr('dashboard.nearly_broadband_network_wholesale'),levy:tr('dashboard.regional_broadband_levy'),pie:tr('pie.costs_row'),ip4:tr('ip4.costs_row')}[k]||k}${tr('common.price_mo',{price:fmt$(v)})}
`).join('')}
`; const tT=(R.egT.t||0)||1; const offMix=(UI.chartOff&&UI.chartOff.mix)||{},filt=Object.keys(offMix).length>0; // The legend above the table picks which ways in count; "lost" still looks at everything the network gets. @@ -28,7 +28,7 @@ function renderDash(){checkLayer(); const rs=Object.keys(S.pops).map(c=>({c,u:(R.nodeLoad[c]||0)/(R.nodeCap[c]||1)})).sort((a,b)=>b.u-a.u).slice(0,6); if(DT==='infra')h+=`

${tr('common.busiest_links')}

${ls.length?ls.map(({l,u})=>`
${CITY[l.a].name} ⇄ ${CITY[l.b].name} ${capName(l)} · ${linkLat(l).toFixed(1)} ms
${pct(u)}${btn(tr('common.open'),'dashLink',{id:l.id},'ghost sm')}
`).join(''):'

'+tr('common.no_links_yet')+'

'}

${tr('common.router_load')}

${rs.map(({c,u})=>`
${CITY[c].name} ${(S.pops[c].routers||1)} × ${esc(RG[S.pops[c].rgen||0].n)}
${pct(u)}
`).join('')} -

${tr('common.your_as')}

${tr('common.as_number')}AS${S.asn}
${tr('common.prefixes')}${Math.max(1,Math.ceil(Object.keys(S.pops).length/3))} × /22 IPv4, 1 × /32 IPv6
${tr('common.bgp_sessions')}${R.sessions}
${tr('common.upstreams')}${new Set(S.transit.map(t=>t.net)).size}
${tr('common.reach')}${pct(R.reach)}
${tr('common.customers')}${tr('dashboard.n_businesses',{n:S.biz.length})}
`; +

${tr('common.your_as')}

${tr('common.as_number')}AS${S.asn}
${tr('common.prefixes')}${(ip4On()&&ip4Pfx())||Math.max(1,Math.ceil(Object.keys(S.pops).length/3))+' × /22'} IPv4, 1 × /32 IPv6
${tr('common.bgp_sessions')}${R.sessions}
${tr('common.upstreams')}${new Set(S.transit.map(t=>t.net)).size}
${tr('common.reach')}${pct(R.reach)}
${tr('common.customers')}${tr('dashboard.n_businesses',{n:S.biz.length})}
`; if(DT==='pops')h+=popsSection(); if(DT==='lease')h+=leaseTab(); if(h!==UI._dh){UI._dh=h;morph($('dashCard'),h);} diff --git a/src/game/94-dashboard/70-bank.js b/src/game/94-dashboard/70-bank.js index 9affb05..72566a4 100644 --- a/src/game/94-dashboard/70-bank.js +++ b/src/game/94-dashboard/70-bank.js @@ -29,6 +29,6 @@ function renderBank(){ ${B.equity?`
${tr('bank.taking_pct_of_your_revenue_every',{pct:pct(l.share)})}
`:`
${tr('common.still_owed')}${fmt$(l.bal)}
${loanLine(l)}
`} ${covList(l)}${l.breach>=1?`
${trn('bank.condition_broken_for_n_day',l.breach)} ${l.breach<10?tr('bank.penalty_in_n_days',{n:10-l.breach}):tr('bank.penalties_are_running')}
`:''}
${btn(UI.confirm===l.id?tr('bank.really_pay_price',{price:fmt$(cost)}):B.equity?tr('bank.buy_them_out_price',{price:fmt$(cost)}):tr('bank.repay_early_price_incl_2_fee',{price:fmt$(cost)}),'repayLoan',{id:l.id},UI.confirm===l.id?'red sm':'sm',S.cash
`;} - h+=pieGovBank(); + h+=pieGovBank()+ip4Bank(); if(h!==UI._bh){UI._bh=h;$('bankCard').innerHTML=h;} } diff --git a/src/game/94-dashboard/72-address-space.js b/src/game/94-dashboard/72-address-space.js new file mode 100644 index 0000000..149689c --- /dev/null +++ b/src/game/94-dashboard/72-address-space.js @@ -0,0 +1,22 @@ +/* The bank's Address space section (#150, 33-address-space.js): what you hold and who uses it, the CGNAT ratio, your + blocks, and the transfer market. Phones: the boxes are full width, the dropdowns stack and every button row wraps. */ +const ip4Pc=x=>(x*100).toFixed(1).replace(/\.0$/,'')+'%'; +function ip4Bank(){if(!S||!ip4On())return '';const I=S.ip4,B=ip4Bill((R.rev&&R.rev.eyeballs)||0),u=B.u,len=ip4LenOk(UI.ip4Len)?UI.ip4Len:IP4_MAX,px=ip4Px(),full=ip4Full(); + const kv=(l,v,bad)=>`
${l}${v}
`,mo=v=>tr('common.price_mo',{price:fmt$(v)}); + let h=`

🔢 ${tr('ip4.section')}

${tr('ip4.note')}

`; + h+=`
${kv(tr('ip4.yours'),ip4N(u.T))}${kv(tr('ip4.business'),ip4N(u.B))}${kv(tr('ip4.homes'),u.cg?tr('ip4.homes_cgnat',{n:ip4N(u.H),p:pct(u.cg/u.H)}):ip4N(u.H))}${kv(tr('ip4.free'),ip4N(Math.max(0,u.free)),u.free<=0)}`; + if(u.over>0)h+=`
${tr('ip4.squeezed',{p:pct(u.over),r:u.r})}
`; + if(B.lin>0)h+=kv(tr('ip4.leases_in'),mo(B.lin));if(B.box>=1)h+=kv(tr('ip4.cgnat_boxes'),mo(B.box));if(B.refund>=1)h+=kv(tr('ip4.refunds'),mo(B.refund));if(B.lout>0)h+=kv(tr('ip4.leases_out'),'+'+mo(B.lout)); + h+=` +

${tr('ip4.cgnat_note',{p:ip4Pc(IP4_ANNOY[I.nat])})}

`; + h+=`
${tr('ip4.blocks')}
`; + for(const b of I.b){const n=ip4Sz(b.len),spare=u.free>=n,held=ip4Held(b),sure=UI.confirm===b.id; + const what=b.k==='in'?tr('ip4.leased_in_mo',{price:fmt$(b.mo||0)}):b.out?tr('ip4.leased_out_mo',{price:fmt$(b.mo||0)}):b.k==='buy'?tr('ip4.bought_on',{date:dateStr(b.d)}):tr('ip4.from_rir'); + const btns=b.k==='in'?btn(tr('ip4.give_back'),'ip4Return',{id:b.id},'ghost sm',!spare):b.out?btn(tr('ip4.take_back'),'ip4Back',{id:b.id},'ghost sm') + :btn(tr('ip4.lease_out',{price:fmt$(ip4OutMo(b.len))}),'ip4Out',{id:b.id},'sm',!spare)+btn(sure?tr('ip4.really_sell',{price:fmt$(ip4Value(b.len))}):tr('ip4.sell',{price:fmt$(ip4Value(b.len))}),'ip4Sell',{id:b.id},sure?'red sm':'ghost sm',held||!spare); + // Greyed for want of room: say so (a disabled button never gets to show ip4Busy's toast). + h+=`
/${b.len} · ${trn('ip4.n_addresses',n,{n:ip4N(n)})}
${what}${held&&!b.out?' · '+tr('ip4.movable_from',{date:dateStr(b.d+IP4_HOLD)}):''}
${!spare&&!b.out?`
${tr('ip4.in_use')}
`:''}
${btns}
`;} + h+=`
${tr('ip4.market')}

${tr('ip4.market_note',{px:fmt$(px),lin:'$'+(IP4_IN*px/IP4_PX).toFixed(2),lout:'$'+(IP4_OUT*px/IP4_PX).toFixed(2),p:pct(IP4_SELL)})}

+ + ${full?`
${tr('ip4.too_many',{n:IP4_BLK})}
`:''}
${btn(tr('ip4.buy',{price:fmt$(ip4Cost(len))}),'ip4Buy',{len},'pink sm',full||S.cash
`; + return h;} diff --git a/src/game/95-modals/40-title.js b/src/game/95-modals/40-title.js index e71afef..e582aae 100644 --- a/src/game/95-modals/40-title.js +++ b/src/game/95-modals/40-title.js @@ -43,7 +43,7 @@ function whatsNew(returning,force){ const DOORS=[['puzzle','🧩',tr('title.puzzles'),tr('title.one_network_one_knot_no_clock')],['sandbox','🏖️',tr('common.sandbox'),tr('title.a_billion_dollars_and_every_toy')],['normal','📟',tr('common.normal'),tr('title.the_real_game_climb_from_tier')],['scn','🏆',tr('title.scenarios_amp_weekly'),tr('title.hand_built_crises_and_one_world')]]; const doorAct={puzzle:'puzzleDoor',sandbox:'modeSet',normal:'modeSet',scn:'scenarios'}; // The chosen preset in one line: its joke, then what actually changes. -const presetWhat=k=>`${esc(PRESETS[k].d)} ${esc(PRESETS[k].x)}`; +const presetWhat=k=>`${esc(PRESETS[k].d)} ${esc(PRESETS[k].x)} ${PRESETS[k].ip4===false?tr('ip4.preset_plenty'):tr('ip4.preset_scarce')}`; // The Normal presets, one toggle each: on the title screen, and for a multiplayer session (48-multiplayer.js). const presetBtns=pr=>`
${NORMAL_PRESETS.map(k=>{const P=PRESETS[k];return ``;}).join('')}

${presetWhat(pr)}

`; function doorsHtml(){const m=UI.mode==='sandbox'?'sandbox':'normal',pr=own(PRESETS,UI.preset)&&NORMAL_PRESETS.includes(UI.preset)?UI.preset:'oncall',ch=own(CHAOS,UI.sbChaos)?UI.sbChaos:'none'; diff --git a/src/i18n/en.js b/src/i18n/en.js index 0c4838e..c580cf8 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -2639,6 +2639,54 @@ "interface.tubecoin_moved_down_p_on_the":"TubeCoin moved down {p}% on the way to your account.", "interface.tubecoin_moved_up_p_on_the":"TubeCoin moved up {p}% on the way to your account.", "interface.you_bought_out_bank_they_flew":"You bought out {bank}.
They flew off to find another startup.", +"ip4.block_size":"Block size", +"ip4.blocks":"Your blocks", +"ip4.bought":"Bought a {p} ({n} addresses) for {price}.", +"ip4.bought_on":"Bought {date}", +"ip4.business":"Used by business customers", +"ip4.buy":"Buy {price}", +"ip4.cgnat_boxes":"CGNAT boxes", +"ip4.cgnat_note":"More homes per address frees space for customers, but games and port forwarding suffer: {p} of a CGNAT home's bill comes back as refunds.", +"ip4.cgnat_ratio":"CGNAT: homes sharing one address", +"ip4.costs_row":"IPv4 leases and CGNAT", +"ip4.free":"Free for new customers (homes move behind CGNAT first)", +"ip4.from_rir":"From the RIR", +"ip4.give_back":"Give it back", +"ip4.held":"The RIR won't transfer that block again before {date}.", +"ip4.homes":"Broadband homes", +"ip4.homes_cgnat":"{n}, {p} behind CGNAT", +"ip4.in_use":"Your customers need those addresses: put more homes behind CGNAT or get another block first.", +"ip4.lease":"Lease {price}/mo", +"ip4.lease_out":"Lease out +{price}/mo", +"ip4.leased_in":"Leased a {p} ({n} addresses) for {price}/mo.", +"ip4.leased_in_mo":"Leased in · {price}/mo", +"ip4.leased_out":"Your {p} is leased out: +{price}/mo.", +"ip4.leased_out_mo":"Leased out · +{price}/mo", +"ip4.leases_in":"Blocks leased in", +"ip4.leases_out":"Blocks leased out", +"ip4.market":"Transfer market", +"ip4.market_note":"IPv4 sells for about {px} an address (big blocks a little less), leases for {lin} an address a month, and earns {lout} leased out after the broker's cut. A sale pays {p} of the price, and a block can only move again two years after its last transfer.", +"ip4.movable_from":"can move again from {date}", +"ip4.n_addresses":{"one":"{n} address","other":"{n} addresses"}, +"ip4.n_homes_per_address":{"one":"{n} home per address","other":"{n} homes per address"}, +"ip4.no_grow":"{name} ({city}) wanted to grow to {bw}, but you had no IPv4 addresses free for it.", +"ip4.no_space":"{name} needs a {p} of IPv4 ({n} addresses), and only {free} are free. Buy or lease a block, or put more homes behind CGNAT.", +"ip4.note":"IPv6 is free and endless. IPv4 ran out years ago: business customers need public blocks of it, and homes that don't fit share addresses behind CGNAT (IPv6 traffic goes around the box).", +"ip4.off":"IPv4 is plentiful under this game's rules.", +"ip4.offer_needs":"Needs a {p} of IPv4 ({n} addresses); only {free} free.", +"ip4.preset_plenty":"Plenty of IPv4 for everyone.", +"ip4.preset_scarce":"IPv4 is scarce: buy it, lease it or share it behind CGNAT.", +"ip4.really_sell":"Really sell for {price}?", +"ip4.refunds":"Refunds to grumpy gamers", +"ip4.section":"Address space", +"ip4.sell":"Sell {price}", +"ip4.sold":"Sold your {p} for {price}.", +"ip4.squeezed":"Out of space: {p} of homes don't fit even at {r} homes per address. Their connections break and they want refunds: buy or lease a block.", +"ip4.take_back":"Take it back", +"ip4.toast_cgnat":"Your IPv4 is full. {p} of your homes now share addresses behind CGNAT, and a few gamers have already written in.", +"ip4.toast_out":"Out of IPv4. Even at {r} homes per address, CGNAT can't fit everyone: buy or lease a block at the bank.", +"ip4.too_many":"You hold {n} IPv4 blocks, the most one network can keep track of. Sell or give back small ones to make room for a bigger block.", +"ip4.yours":"Your IPv4 addresses", "ix_downgrade.pni_downgraded":"The PNI with {net} in {city} is now {port}.", "ix_downgrade.port_downgraded_at_ix":"Port at {ix} is now {port}.", "ix_downgrade.transit_downgraded":"{net} transit in {city} is now {port}.", diff --git a/tests/address-space.test.js b/tests/address-space.test.js new file mode 100644 index 0000000..92fafdf --- /dev/null +++ b/tests/address-space.test.js @@ -0,0 +1,442 @@ +// IPv4 address space (#150, src/game/60-features/33-address-space.js): business customers need public blocks, broadband +// homes share addresses behind CGNAT when they do not fit, blocks are bought, sold, leased in and leased out, and the +// whole thing is a rule (ip4): On-call and BGP at 3 a.m. only, scenarios when they opt in. +const test = require('node:test'); +const assert = require('node:assert/strict'); +const fs = require('node:fs'); +const path = require('node:path'); +const { load } = require('./harness'); +const { lit } = require('../scripts/lib/js-literal'); + +// Frankfurt on On-call, plenty of cash, nothing breaking, level 9 so every kind of customer can turn up. +const BASE = "ACT.start({});if(UI.pendGame)ACT.pitchSkip();S.rules=makeRules('oncall');S.cash=1e8;for(const g of GOALS)S.done[g.id]=0;S.lvl=9;S.nextFail=S.nextEvent=1e9;UI.speed=0;S.offers=[];S.biz=[];" + + "ACT.launchBB({city:'fra'});S.pops.fra.rgen=3;ACT.buyTransit({city:'fra',net:'lvl',tier:3});compute()"; +function game(t, opts) { + const h = load(opts); + t.after(() => h.dom.window.close()); + h.ev(BASE); + return h; +} +const J = (ev, x) => JSON.parse(ev(`JSON.stringify(${x})`)); +const homes = (ev, g) => ev(`S.pops.fra.bb.d=${g};compute()`); +const biz = (ev, b) => ev(`S.biz.push(${lit({ id: b.id || 'b' + Math.random().toString(36).slice(2), city: 'fra', city2: null, reqs: [], name: 'X', type: 'host', bw: 10, rate: 60, mood: 100, since: 0, ...b })});compute()`); + +test('what each customer needs: a block by kind and size, nothing for circuits, fiber, downstream ISPs or orbit', (t) => { + const { ev, errors } = game(t); + const need = (type, bw) => ev(`ip4Need({type:${lit(type)},bw:${bw}})`); + assert.equal(need('dia', 1), 8, 'a small DIA port gets a /29'); + assert.equal(need('dia', 10), 32); + assert.equal(need('game', 5), 16); + assert.equal(need('host', 10), 64); + assert.equal(need('host', 80), 512, 'a big hosting company a /23'); + assert.equal(need('cgame', 3200), 2048); + assert.equal(need('metav', 6400), 2048); + assert.equal(need('host', 1e6), 4096, 'capped at a /20'); + for (const k of ['l2vpn', 'hyper', 'wwave', 'dfpair', 'isp', 'edu', 'provedor', 'event', 'pizza', 'flywifi']) assert.equal(need(k, 100), 0, k); + assert.equal(ev('ip4Cidr(8)'), '/29'); + assert.equal(ev('ip4Cidr(512)'), '/23'); + // Every IPv4 kind is a real kind of customer that pays by the Gbps. + assert.deepEqual(J(ev, 'Object.keys(IP4_BIZ).filter(k=>!BIZ_T[k]||!(BIZ_T[k].rate>0)||BIZ_T[k].l2||BIZ_T[k].fiber||BIZ_T[k].orbit)'), []); + assert.deepEqual(errors, []); +}); + +test('consumption: business first, homes take the rest, and the ones that do not fit go behind CGNAT', (t) => { + const { ev, errors } = game(t); + // A new network: one /21 from the RIR, held two years before it can move. + assert.deepEqual(J(ev, 'S.ip4.b.map(b=>[b.len,b.k,b.d])'), [[21, 'rir', 0]]); + assert.equal(ev('S.ip4.nat'), 16); + homes(ev, 50); + let u = J(ev, 'ip4Use()'); + assert.deepEqual([u.T, u.B, u.H, u.cg, u.over, u.free], [2048, 0, 500, 0, 0, 2048 - 32], '500 homes all public; a new customer could push them all behind CGNAT'); + assert.equal(ev('R.cost.ip4'), undefined, 'nothing to pay while everyone has an address'); + biz(ev, { type: 'host', bw: 80 }); // a /23 + homes(ev, 150); + u = J(ev, 'ip4Use()'); + // 1,536 left for 1,500 homes: all public. 1,600 homes: (1600-1536)*16/15 rounded up go behind CGNAT. + assert.deepEqual([u.B, u.cg], [512, 0]); + homes(ev, 160); + u = J(ev, 'ip4Use()'); + assert.equal(u.cg, Math.ceil((1600 - 1536) * 16 / 15)); + assert.ok(u.H - u.cg + Math.ceil(u.cg / 16) <= 1536, 'public homes plus the CGNAT pool fit the space'); + const c = J(ev, 'ip4Bill(R.rev.eyeballs)'); + assert.ok(c.box > 0 && c.refund > 0, 'CGNAT boxes and refunds cost money'); + assert.equal(ev('R.cost.ip4'), Math.round(c.box + c.refund)); + assert.ok(Math.abs(c.refund - ev('R.rev.eyeballs') * (u.cg / u.H) * 0.015) < 1e-6, 'refunds: 1.5% of the CGNAT share of what homes pay at 1:16'); + // A wider ratio frees addresses and annoys more gamers. + const free16 = u.free; + ev("ACT.ip4Nat({v:'64'})"); + assert.equal(ev('S.ip4.nat'), 64); + assert.ok(J(ev, 'ip4Use()').free > free16); + assert.ok(J(ev, 'ip4Bill(R.rev.eyeballs)').refund > c.refund); + ev("ACT.ip4Nat({v:'16'})"); + // Business customers squeeze the homes: past the ratio, homes are squeezed out (port exhaustion) and it shows. + biz(ev, { type: 'host', bw: 80, id: 'h2' }); + biz(ev, { type: 'host', bw: 1e6, id: 'h3' }); + u = J(ev, 'ip4Use()'); + assert.equal(u.cg, u.H); + assert.ok(u.over > 0 && u.free < 0); + assert.ok(J(ev, 'ip4Bill(R.rev.eyeballs)').refund >= ev('R.rev.eyeballs*ip4Use().over') * 0.15, 'squeezed homes want real money back'); + // Narrowing the ratio is refused when the signed customers would not fit. + ev("ACT.ip4Nat({v:'8'})"); + assert.equal(ev('S.ip4.nat'), 16); + assert.deepEqual(errors, []); +}); + +test('an offer that needs more IPv4 than is free cannot be signed, and says why; a block fixes it', (t) => { + const { ev, dom, errors } = game(t); + homes(ev, 50); + ev(`S.offers.push({id:'big',city:'fra',name:'Pixel Palace',type:'cgame',bw:3200,rate:45,reqs:[],exp:S.day+30},{id:'small',city:'fra',name:'Tiny DIA',type:'dia',bw:1,rate:600,reqs:[],exp:S.day+30})`); + assert.equal(ev("ip4Fits(S.offers[0])"), false, 'a /21 does not fit the starting /21 with homes on it'); + assert.equal(ev("ip4Fits(S.offers[1])"), true); + // The deals list and the city panel say why, with a way to the address space. + ev("UI.left='deals';UI.leftOpen=true;renderLeft();selectCity('fra');UI.tab='cust';renderPanel()"); + const left = dom.window.document.getElementById('leftBody').textContent; + assert.match(left, /Needs a \/21 of IPv4 \(2,048 addresses\); only 2,016 free\./); + assert.ok(dom.window.document.querySelector('#leftBody [data-act="ip4Open"]'), 'a button to the address space'); + ev("ACT.accept({id:'big'})"); + assert.equal(ev("S.offers.some(o=>o.id==='big')"), true, 'not signed'); + assert.equal(ev('S.biz.length'), 0); + assert.match(dom.window.document.getElementById('toasts').textContent, /Pixel Palace needs a \/21 of IPv4/); + ev("ACT.accept({id:'small'})"); + assert.equal(ev('S.biz.length'), 1, 'a small one fits'); + // Buy a /21 and the big one signs. + const cash = ev('S.cash'); + ev("ACT.ip4Buy({len:21})"); + assert.equal(ev('S.cash'), cash - ev('ip4Cost(21)')); + assert.equal(ev('ip4Cost(21)'), Math.round(2048 * 38 * (1 - 0.015 * 3) / 100) * 100, 'about $38 an address, a little less for a bigger block'); + ev("ACT.accept({id:'big'})"); + assert.equal(ev('S.biz.length'), 2); + assert.equal(J(ev, 'ip4Use()').B, 8 + 2048); + // The bank opens at the section. + ev("ACT.ip4Open()"); + assert.equal(dom.window.document.getElementById('bankBox').hidden, false); + assert.ok(dom.window.document.getElementById('bankIp4')); + assert.deepEqual(errors, []); +}); + +test('the sales desk and the CEO do not sign what does not fit', (t) => { + const { ev, errors } = game(t); + homes(ev, 50); + ev("ACT.salesHire({id:'shark'});closeModal();S.slAuto.on=true"); + ev("S.offers.push({id:'big',city:'fra',name:'Big One',type:'metav',bw:6400,rate:35,reqs:[],exp:S.day+30})"); + ev('slAutoDay(S.day)'); + assert.equal(ev("S.offers.some(o=>o.id==='big')"), true, 'the shark leaves it'); + ev("ACT.salesFire({});ACT.salesFire({});closeModal();ACT.salesHire({id:'ceo'});closeModal()"); + assert.equal(ev("salesOverride(S.offers.find(o=>o.id==='big'))"), false, 'no handshake on addresses you do not have'); + assert.equal(ev("(()=>{const t=SALES_GOLF.find(x=>(BIZ_T[x].lv||1)<=lvl()&&ip4Fits({type:x,bw:BIZ_T[x].opts[BIZ_T[x].opts.length-1]}));return t;})()"), 'gpu', 'the golf deal is the biggest that fits (a /23 for an AI data center, not a /21 for cloud gaming)'); + assert.deepEqual(errors, []); +}); + +test('buying, leasing in, leasing out and selling move the right money', (t) => { + const { ev, dom, errors } = game(t); + homes(ev, 20); + const rev0 = ev('R.revMo'), cost0 = ev('R.costMo'); + ev("ACT.ip4Lease({len:22})"); + const lin = ev("S.ip4.b.find(b=>b.k==='in').mo"); + assert.equal(lin, 512, 'a /22 leases for $0.50 an address a month'); + assert.equal(ev('R.costMo'), cost0 + lin); + assert.equal(ev('ip4Use().T'), 3072); + ev("ACT.ip4Buy({len:24})"); + const bought = ev("S.ip4.b.find(b=>b.k==='buy').id"); + ev(`ACT.ip4Out({id:${lit(bought)}})`); + assert.equal(ev(`S.ip4.b.find(b=>b.id===${lit(bought)}).mo`), Math.round(256 * 0.4)); + assert.equal(ev('R.revMo'), rev0 + Math.round(256 * 0.4), 'leased out: income every month'); + assert.equal(ev('R.rev.ip4'), Math.round(256 * 0.4)); + // A leased-out block cannot be sold; take it back first. A fresh block cannot move for two years. + ev(`ACT.ip4Sell({id:${lit(bought)}})`); + assert.equal(ev(`S.ip4.b.some(b=>b.id===${lit(bought)})`), true); + ev(`ACT.ip4Back({id:${lit(bought)}})`); + assert.equal(ev('R.rev.ip4'), undefined); + ev(`ACT.ip4Sell({id:${lit(bought)}})`); + assert.match(dom.window.document.getElementById('toasts').textContent, /won't transfer that block again/); + ev('S.day+=730'); + const cash = ev('S.cash'); + ev(`ACT.ip4Sell({id:${lit(bought)}})`); + assert.equal(ev(`S.ip4.b.some(b=>b.id===${lit(bought)})`), true, 'the first click only asks'); + ev(`ACT.ip4Sell({id:${lit(bought)}})`); + assert.equal(ev(`S.ip4.b.some(b=>b.id===${lit(bought)})`), false); + assert.equal(ev('S.cash'), cash + ev('ip4Value(24)')); + assert.ok(ev('ip4Value(24)') < ev('ip4Cost(24)'), 'the broker keeps a cut'); + // Hand the leased block back: the fee stops. + ev("ACT.ip4Return({id:S.ip4.b.find(b=>b.k==='in').id})"); + assert.equal(ev("S.ip4.b.some(b=>b.k==='in')"), false); + assert.equal(ev('R.cost.ip4'), undefined); + // Space in use cannot be given away: with customers on every address, leasing out or selling the /21 is refused. + biz(ev, { type: 'host', bw: 80 }); + biz(ev, { type: 'host', bw: 40, id: 'h2' }); + const rir = ev("S.ip4.b.find(b=>b.k==='rir').id"); + ev(`ACT.ip4Out({id:${lit(rir)}})`); + assert.equal(ev(`!!S.ip4.b.find(b=>b.id===${lit(rir)}).out`), false); + assert.match(dom.window.document.getElementById('toasts').textContent, /Your customers need those addresses/); + assert.deepEqual(errors, []); +}); + +test('a list of blocks stops where a save keeps them: buying and leasing past it is refused, and a full save loads whole', (t) => { + const { ev, dom, errors } = load({ agent: true }); + t.after(() => dom.window.close()); + ev(BASE); + homes(ev, 20); + // The market's default size, clicked over and over (or an agent in a loop): bought and leased /24s. + ev('for(let i=0;i<150;i++)ACT.ip4Buy({len:24});for(let i=0;i<150;i++)ACT.ip4Lease({len:24})'); + assert.equal(ev('S.ip4.b.length'), ev('IP4_BLK'), 'stops at the most a save keeps'); + assert.equal(ev('IP4_BLK'), 256); + assert.match(dom.window.document.getElementById('toasts').textContent, /You hold 256 IPv4 blocks/); + const cash = ev('S.cash'), T = ev('ip4Use().T'), mo = ev('R.cost.ip4'); + ev('ACT.ip4Buy({len:16});ACT.ip4Lease({len:16})'); + assert.deepEqual([ev('S.ip4.b.length'), ev('S.cash'), ev('ip4Use().T')], [256, cash, T], 'refused: no money spent, nothing added'); + // The bank says so and greys the market out; an agent's quote says why. + ev('ACT.ip4Open()'); + const sec = dom.window.document.querySelector('#bankCard .bank-ip4'); + assert.match(sec.textContent, /the most one network can keep track of/); + assert.equal(sec.querySelector('[data-act="ip4Buy"]').disabled, true); + assert.equal(sec.querySelector('[data-act="ip4Lease"]').disabled, true); + assert.match(J(ev, 'API_CMD.ip4Buy.quote({len:24}).blocked')[0], /256 IPv4 blocks/); + assert.match(J(ev, 'API_CMD.ip4Lease.quote({len:24}).blocked')[0], /256 IPv4 blocks/); + // Saved and loaded: every block, every lease, the same space and bill. + const before = ev('JSON.stringify(S.ip4)'); + ev('S=migrate(JSON.parse(JSON.stringify(S)));compute()'); + assert.equal(ev('JSON.stringify(S.ip4)'), before); + assert.deepEqual([ev('ip4Use().T'), ev('R.cost.ip4')], [T, mo]); + // Handing one back makes room for a bigger block. + ev("ACT.ip4Return({id:S.ip4.b.find(b=>b.k==='in').id});ACT.ip4Buy({len:16})"); + assert.deepEqual([ev('S.ip4.b.length'), ev('S.ip4.b[255].len')], [256, 16]); + assert.deepEqual(errors, []); +}); + +test('a customer renewing bigger stays at its size when the bigger block is not free, and says why', (t) => { + const { ev, dom, errors } = game(t); + homes(ev, 0); + // Eight 40G hosts (a /24 each) fill the /21; the ninth is refused at the door. + for (let i = 0; i < 9; i++) ev(`S.offers.push({id:'o${i}',city:'fra',name:'Host ${i}',type:'host',bw:40,rate:60,reqs:[],exp:S.day+30});ACT.accept({id:'o${i}'})`); + assert.equal(ev('S.biz.length'), 8); + assert.equal(J(ev, 'ip4Use()').free, 0); + // The next term of host 0 on a day its own rolls say: stay, and grow (to 80G, a /23). + const renew = () => J(ev, `(()=>{const b=S.biz[0];for(const x of S.biz)if(x!==b)x.te=1e6; + for(let k=Math.max(S.day,b.te)+1;k=(0.04+0.08*Math.min(1,clComp(b)/6))*salesLeaveMul(b)){S.day=k;document.getElementById('toasts').innerHTML='';clDay(k);compute(); + return {bw:b.bw,te:b.te,in:S.biz.includes(b),free:ip4Use().free,toasts:document.getElementById('toasts').textContent};}}return null;})()`); + let r = renew(); + assert.ok(r, 'a growing renewal turns up'); + assert.deepEqual([r.bw, r.in, r.free], [40, true, 0], 'renewed at the size it has: nobody runs on addresses you do not have'); + assert.ok(r.te > ev('S.day'), 'a new term'); + assert.match(r.toasts, /Host 0 \(Frankfurt\) wanted to grow to 80(\.0)? Gbps, but you had no IPv4 addresses free for it\./); + assert.match(r.toasts, /renewed/); + // The acquisition that would stay bigger goes through the same door. + assert.equal(ev('(()=>{const out={v4:[]};return clGrow(S.biz[0],out)===false&&out.v4.length===1&&S.biz[0].bw===40;})()'), true); + // A block bought, the next growing renewal grows. + ev('ACT.ip4Buy({len:24})'); + r = renew(); + assert.deepEqual([r.bw, r.free], [80, 0]); + assert.match(r.toasts, /renewed and grew to 80(\.0)? Gbps/); + // Without the rule, growth is as it always was. + ev("S.rules=makeRules('freeze');compute()"); + r = renew(); + assert.equal(r.bw, 160); + assert.doesNotMatch(r.toasts, /IPv4/); + assert.deepEqual(errors, []); +}); + +test('the address space says what its numbers mean: free counts homes behind CGNAT, blocks in use say why they stay', (t) => { + const { ev, dom, errors } = game(t); + ev('S.day=800'); + homes(ev, 50); + ev('ACT.ip4Open()'); + const sec = () => dom.window.document.querySelector('#bankCard .bank-ip4'); + assert.match(sec().textContent, /Free for new customers \(homes move behind CGNAT first\)2,016/); + // The /21 is out of its holding period, but 500 homes use it: greyed out, and the row says why. + let row = sec().querySelector('[data-act="ip4Out"]').closest('.row'); + assert.equal(row.querySelector('[data-act="ip4Out"]').disabled, true); + assert.equal(row.querySelector('[data-act="ip4Sell"]').disabled, true); + assert.match(row.querySelector('.why').textContent, /Your customers need those addresses/); + // A leased-in /24 the customers need too: Give it back is greyed, with the reason. + ev("ACT.ip4Lease({len:24})"); + biz(ev, { type: 'host', bw: 80, id: 'h1' }); + biz(ev, { type: 'host', bw: 80, id: 'h2' }); + biz(ev, { type: 'host', bw: 80, id: 'h3' }); + biz(ev, { type: 'host', bw: 80, id: 'h4' }); + assert.equal(J(ev, 'ip4Use()').free, 224, 'fewer free than the /24 holds'); + ev('UI._bh=null;renderBank()'); + row = sec().querySelector('[data-act="ip4Return"]').closest('.row'); + assert.equal(row.querySelector('[data-act="ip4Return"]').disabled, true); + assert.match(row.querySelector('.why').textContent, /Your customers need those addresses/); + // With room to spare, no reason is shown and the buttons work. + ev("S.biz=[];compute();ACT.ip4Buy({len:24});UI._bh=null;renderBank()"); + row = [...sec().querySelectorAll('[data-act="ip4Out"]')].pop().closest('.row'); + assert.equal(row.querySelector('[data-act="ip4Out"]').disabled, false); + assert.equal(row.querySelector('.why'), null); + assert.deepEqual(errors, []); +}); + +test('the AS box on the dashboard lists the blocks you announce, not a made-up count', (t) => { + const { ev, dom, errors } = game(t); + const asBox = () => { ev("ACT.dash({});ACT.dashTab({k:'infra'})"); const k = [...dom.window.document.querySelectorAll('.kv')].map(e => e.textContent).find(x => /IPv6/.test(x)); ev('ACT.dashClose()'); return k; }; + assert.match(asBox(), /1 × \/21 IPv4, 1 × \/32 IPv6/, 'the starting allocation'); + ev("ACT.ip4Lease({len:22});ACT.ip4Buy({len:24})"); + assert.match(asBox(), /1 × \/21, 1 × \/22, 1 × \/24 IPv4/, 'bought and leased-in blocks are announced too'); + ev("S.rules=makeRules('freeze');compute()"); + assert.match(asBox(), /1 × \/22 IPv4/, 'without the rule it stays as it always was'); + assert.deepEqual(errors, []); +}); + +test('the market price drifts gently with the day, and holds still without the market rule', (t) => { + const { ev, errors } = game(t); + assert.equal(ev('ip4Px(0)'), 38); + assert.equal(ev('ip4Px(180)'), 38, 'flat for half a year'); + const px = [400, 900, 1500, 2200].map((d) => ev(`ip4Px(${d})`)); + assert.ok(px.every((p) => p > 30 && p < 50), 'realistic: $30 to $50 an address: ' + px); + assert.ok(Math.abs(ev('ip4Px(546)') - ev('ip4Px(545)')) < 0.1, 'a gentle trend, not a jump'); + assert.ok(ev('ip4Cost(16)') / 65536 < ev('ip4Cost(24)') / 256, 'bigger blocks a little cheaper per address'); + ev("S.rules=makeRules('oncall',{market:false})"); + assert.equal(ev('ip4Px(1500)'), 38); + assert.deepEqual(errors, []); +}); + +test('the day says it once when homes go behind CGNAT, and when even CGNAT cannot fit them', (t) => { + const { ev, dom, errors } = game(t); + const said = () => dom.window.document.getElementById('toasts').textContent; + // A handful of homes over the edge (under a percent of them) is not news yet. + homes(ev, 205.3); + ev('ip4Day(S.day)'); + const few = J(ev, 'ip4Use()'); + assert.ok(few.cg > 0 && few.cg < few.H / 100, JSON.stringify(few)); + assert.equal(ev('S.ip4.w'), 0); + assert.doesNotMatch(said(), /IPv4/); + homes(ev, 250); + ev('ip4Day(S.day)'); + assert.match(said(), /Your IPv4 is full\.\s*19% of your homes now share addresses behind CGNAT/); + assert.equal(ev('S.ip4.w'), 1); + ev("document.getElementById('toasts').innerHTML='';ip4Day(S.day)"); + assert.equal(said(), '', 'only once'); + // Homes hovering at the limit hear it once: dipping just under does not rearm it, real room again does. + homes(ev, 204); + ev('ip4Day(S.day)'); + assert.deepEqual([J(ev, 'ip4Use()').cg, ev('S.ip4.w')], [0, 1]); + homes(ev, 250); + ev('ip4Day(S.day)'); + assert.equal(said(), '', 'not again while hovering'); + homes(ev, 150); + ev('ip4Day(S.day)'); + assert.equal(ev('S.ip4.w'), 0, 'room to spare: it rearms'); + homes(ev, 250); + ev('ip4Day(S.day)'); + assert.match(said(), /Your IPv4 is full/); + ev("document.getElementById('toasts').innerHTML=''"); + biz(ev, { type: 'host', bw: 1e6 }); + ev('ip4Day(S.day)'); + assert.match(dom.window.document.getElementById('toasts').textContent, /Out of IPv4/); + assert.equal(ev('S.ip4.w'), 3); + ev("S.biz=[];S.pops.fra.bb.d=10;compute();ip4Day(S.day)"); + assert.equal(ev('S.ip4.w'), 0, 'fixed: the warnings rearm'); + assert.deepEqual(errors, []); +}); + +test('rule off means no effect: gentler presets, sandbox, puzzles and scenarios unless they opt in', (t) => { + const { ev, dom, errors } = game(t); + assert.deepEqual(J(ev, "['soft','freeze','oncall','bgp','sandbox','puzzle'].map(p=>makeRules(p).ip4)"), [false, false, null, null, false, false], 'On-call and BGP keep the default (on), written nowhere'); + assert.equal(ev('RULE_DEF.ip4'), true); + ev("S.rules=makeRules('freeze');S.pops.fra.bb.d=500;compute()"); + assert.equal(ev('ip4On()'), false); + ev("S.offers.push({id:'big',city:'fra',name:'Big One',type:'metav',bw:6400,rate:35,reqs:[],exp:S.day+30})"); + assert.equal(ev("ip4Why(S.offers[0])"), ''); + ev("ACT.accept({id:'big'})"); + assert.equal(ev('S.biz.length'), 1, 'signed: IPv4 is plentiful here'); + assert.equal(ev('R.cost.ip4'), undefined); + ev("ACT.ip4Buy({len:24})"); + assert.equal(ev('S.ip4.b.length'), 1, 'the market is closed'); + ev("ACT.bank()"); + assert.equal(dom.window.document.getElementById('bankIp4'), null, 'no address space in the bank'); + ev("ACT.bankClose()"); + // Sandbox and scenarios. + ev("beginGame('Box','fra',{mode:'sandbox'});if(UI.pendGame)ACT.pitchSkip()"); + assert.equal(ev('ip4On()'), false, 'sandbox'); + ev("beginGame('S','fra',{mode:'normal',preset:'oncall',scn:SCN.find(x=>x.city==='fra')||SCN[0]});if(UI.pendGame)ACT.pitchSkip()"); + assert.equal(ev("S.mode"), 'scenario'); + assert.equal(ev('ip4On()'), false, 'scenarios run On-call but stay as they were'); + ev('S.scn.rules.ip4=true'); + assert.equal(ev('ip4On()'), true, 'unless they opt in'); + ev("beginGame('B','fra',{mode:'normal',preset:'bgp'});if(UI.pendGame)ACT.pitchSkip()"); + assert.equal(ev('ip4On()'), true, 'BGP at 3 a.m.'); + assert.deepEqual(errors, []); +}); + +test('old saves: what they already use is registered to them, so nothing changes on load', (t) => { + const { ev, errors } = game(t); + homes(ev, 300); + biz(ev, { type: 'host', bw: 80 }); + biz(ev, { type: 'dia', bw: 10, id: 'd1' }); + biz(ev, { type: 'l2vpn', bw: 10, id: 'l1' }); + // The same network without the rule, for its money. + ev("window.__r=S.rules;S.rules=makeRules('freeze');compute();window.__m=[R.revMo,R.costMo];S.rules=__r"); + ev('S.day=400;delete S.ip4;S=migrate(JSON.parse(JSON.stringify(S)));compute()'); + const u = J(ev, 'ip4Use()'); + assert.equal(u.cg, 0, 'no home behind CGNAT'); + const want = (u.B + u.H) * 1.25; + assert.ok(u.T >= want && u.T - want < 256, 'what they use and a quarter more to grow into, rounded up to whole /24s: ' + JSON.stringify(u)); + assert.ok(J(ev, 'S.ip4.b').every((b) => b.k === 'rir' && b.d === 400 && b.len >= 16 && b.len <= 24)); + assert.deepEqual([ev('R.revMo'), ev('R.costMo')], J(ev, '__m'), 'the same money as before the feature'); + // A tiny old save still gets the /21 a new one starts with. + ev("S.biz=[];S.pops.fra.bb.d=1;delete S.ip4;S=sanitize(JSON.parse(JSON.stringify(S)))"); + assert.deepEqual(J(ev, 'S.ip4.b.map(b=>b.len)'), [21]); + // A big old network: whole /16s. + ev("S.pops.fra.bb.d=20000;delete S.ip4;S=sanitize(JSON.parse(JSON.stringify(S)))"); + const big = J(ev, 'ip4Use()'); + assert.ok(big.T >= 200000 && big.cg === 0 && J(ev, 'S.ip4.b.filter(b=>b.len===16).length') === 3); + assert.deepEqual(errors, []); +}); + +test('the big network loads with its usage granted: routing and money as before', (t) => { + const { ev, dom, errors } = load({ seed: 3 }); + t.after(() => dom.window.close()); + const SAVE = fs.readFileSync(path.join(__dirname, 'fixtures', 'big-network.json'), 'utf8'); + ev(`S=migrate(JSON.parse(${lit(SAVE)}));UI.started=true;UI.pitched=true;UI.speed=0;closeModal();compute()`); + const on = ev('ip4On()'); + const digest = 'JSON.stringify([R.served,R.revMo,R.costMo,R.cost,R.rev])'; + const a = ev(digest); + ev("window.__r=S.rules;S.rules=Object.assign({},S.rules,{ip4:false});compute()"); + assert.equal(ev(digest), a, 'the grant covers it all (rule ' + (on ? 'on' : 'off') + ')'); + assert.equal(J(ev, 'S.ip4.b.length') > 0, true); + assert.deepEqual(errors, []); +}); + +test('saves: garbage is repaired, and the state round-trips', (t) => { + const { ev, errors } = game(t); + ev("ACT.ip4Lease({len:23});ACT.ip4Nat({v:'32'})"); + const before = ev('JSON.stringify(S.ip4)'); + ev('S=sanitize(JSON.parse(JSON.stringify(S)))'); + assert.equal(ev('JSON.stringify(S.ip4)'), before); + ev(`S.ip4={b:[{id:'a',len:12,k:'rir',d:0},{id:'b',len:24,k:'stolen',d:0},{id:'c',len:24,k:'buy',d:-5,out:'yes',mo:5},{id:'d',len:23,k:'in',d:1e9,mo:-3},null,{id:'e',len:24,k:'rir',d:0,out:true,mo:'x'}],nat:7,w:99};S=sanitize(JSON.parse(JSON.stringify(S)))`); + assert.deepEqual(J(ev, 'S.ip4'), { b: [{ id: 'c', len: 24, k: 'buy', d: 0 }, { id: 'd', len: 23, k: 'in', d: ev('S.day'), mo: 0 }, { id: 'e', len: 24, k: 'rir', d: 0, out: true, mo: 0 }], nat: 16, w: 3 }); + ev("S.ip4='nope';S=sanitize(JSON.parse(JSON.stringify(S)))"); + assert.ok(J(ev, 'S.ip4.b.length') >= 1, 'a broken field is granted afresh'); + assert.deepEqual(errors, []); +}); + +test('the address space works on a phone: one column, wrapping buttons, the dropdowns stacked', (t) => { + const { ev, dom, errors } = game(t); + ev("window.innerWidth=360;window.innerHeight=740;S.pops.fra.bb.d=250;compute();ACT.ip4Lease({len:24});ACT.ip4Open()"); + const sec = dom.window.document.querySelector('#bankCard .bank-ip4'); + assert.ok(sec, 'the section is in the bank'); + assert.equal(sec.querySelectorAll('select').length, 2, 'the CGNAT ratio and the block size'); + for (const s of sec.querySelectorAll('select')) assert.ok(s.closest('.ops-sel'), 'each dropdown in a stacking label'); + for (const b of sec.querySelectorAll('button')) assert.ok(b.closest('.btns'), 'every button in a wrapping row: ' + b.textContent); + assert.match(sec.textContent, /2,500, \d+% behind CGNAT/); + // The dropdown picks the size the buttons quote. + ev("ACT.ip4Pick({v:'18'})"); + assert.ok(dom.window.document.querySelector('#bankCard [data-act="ip4Buy"]').dataset.args.includes('"len":18')); + assert.deepEqual(errors, []); +}); + +test('no raw labels in the address space, in every language', (t) => { + for (const lang of ['en', 'de', 'es', 'fr', 'it', 'pt']) { + const { ev, dom, errors } = load(lang === 'en' ? {} : { lang }); + ev(BASE); + ev("S.pops.fra.bb.d=300;compute();ACT.ip4Lease({len:24});ACT.ip4Buy({len:24});S.ip4.b[2].out=true;S.ip4.b[2].mo=99;S.biz.push({id:'z',city:'fra',city2:null,reqs:[],name:'Z',type:'host',bw:1e6,rate:1,mood:100,since:0});compute();ip4Day(S.day);ACT.ip4Open()"); + ev("S.offers.push({id:'o',city:'fra',name:'O',type:'host',bw:80,rate:60,reqs:[],exp:S.day+30});UI.left='deals';renderLeft()"); + ev("for(let i=S.ip4.b.length;i 2, lang + ': the full list and the blocks in use say why'); + const txt = dom.window.document.getElementById('bankCard').textContent + dom.window.document.getElementById('leftBody').textContent + dom.window.document.getElementById('toasts').textContent; + assert.doesNotMatch(txt, /\bip4\.[a-z_]+|\{[a-z]+\}|undefined|NaN/, lang); + assert.deepEqual(errors, [], lang); + dom.window.close(); + } +}); diff --git a/tests/gameplay-rules.test.js b/tests/gameplay-rules.test.js index 91e9080..7d1f3e3 100644 --- a/tests/gameplay-rules.test.js +++ b/tests/gameplay-rules.test.js @@ -256,7 +256,8 @@ test('M3: every subsystem that can annoy the player reads a rule', () => { const reads = [['dayPost', 'chaosMul()'], ['fireEvent', "rule('market')"], ['ddosTick', 'ddosOff()'], ['soldOut', "rule('market')"], ['hwMul', "rule('market')"], ['leadDays', "rule('lead')"], ['pniLead', 'leadDays'], ['dfBuildDays', 'leadDays'], ['dayPre', "rule('clock')"], ['snub', "rule('market')"], ['fireFailure', 'shipsOn()'], - ['upcomingConfs', 'confsOn()'], ['pniLead', 'pniNow()'], ['dayPost', "rule('broke')"], ['dayPost', "rule('moods')"], ['toast', 'quietOn()']]; + ['upcomingConfs', 'confsOn()'], ['pniLead', 'pniNow()'], ['dayPost', "rule('broke')"], ['dayPost', "rule('moods')"], ['toast', 'quietOn()'], + ['ip4On', "rule('ip4')"], ['ip4Fits', 'ip4On()'], ['ip4Money', 'ip4On()'], ['ip4Day', 'ip4On()']]; fail('M3', reads.filter(([f, r]) => !ev(`typeof ${f}==='function'&&${f}.toString().includes(${lit(r)})`)).map(([f, r]) => `${f}() does not read ${r}`), 'gate it on the ruleset (src/game/40-progress/30-rules.js)'); // and in play: no chaos and no market means a quiet year const g = load(); @@ -372,6 +373,23 @@ test('F1: new players get a gentle start: nothing breaks for 45 days, no sold-ou assert.deepEqual(g.errors, []); }); +test('F1: the first IPv4 block covers the start: no CGNAT, no IPv4 bill and no IPv4 warning before day 50', () => { + // The F2 reference build, signing every offer that fits, in the F2 cities and the fastest-growing big homes (Asia). + const bad = []; + for (const city of ['fra', 'nyc', 'sin', 'jnb', 'tok', 'del']) { + const g = load(); + g.ev(`beginGame('Ref','${city}',{mode:'normal',preset:'oncall'});if(UI.pendGame)ACT.pitchSkip()`); + g.ev(`(()=>{const c='${city}',n=NETS.filter(n=>sellsAt(n,c)).sort((a,b)=>a.price*netMult(a,c)-b.price*netMult(b,c))[0]; + ACT.launchBB({city:c});ACT.buyTransit({city:c,net:n.id,tier:1});if(ixName(c)){ACT.buyIx({city:c,tier:1,signed:true});ACT.rs({city:c});}})()`); + assert.equal(g.ev('ip4On()'), true, 'On-call has scarce IPv4'); + const hit = g.ev(`(()=>{for(let d=0;d<50;d++){for(const o of S.offers.slice())if(bHas(o)&&ip4Fits(o))ACT.accept({id:o.id});dayTick(); + const u=ip4Use();if(u.cg>0||S.ip4.w||R.cost.ip4)return 'day '+S.day+': '+u.cg+' of '+u.H+' homes behind CGNAT, bill '+(R.cost.ip4||0);}return '';})()`); + if (hit) bad.push(`${city}: ${hit}`); + assert.deepEqual(g.errors, []); + } + fail('F1', bad, 'size the first allocation (IP4_START, src/game/60-features/33-address-space.js) so the start fits'); +}); + test('F2: a simple build in a start city makes money within three months on On-call', () => { // Reference build: launch broadband, the cheapest 100G transit in town, and a port with a route server where there is an exchange. const bad = []; diff --git a/tests/mcp-commands.test.js b/tests/mcp-commands.test.js index 91cce81..71230db 100644 --- a/tests/mcp-commands.test.js +++ b/tests/mcp-commands.test.js @@ -227,7 +227,7 @@ test('a dry run prices every command that has a price, and changes nothing', () fixInc: { id: 'none' }, confGo: { key: T('catalog', { name: 'conferences' })[0].key }, confSponsor: { key: T('catalog', { name: 'conferences' })[0].key }, opsHire: { id: ev('Object.keys(INTERNS)[0]') }, opsNewPop: { city: 'nyc' }, pniAll: { net: 'cog', tier: 1 }, seatBuy: { n: 2 }, layShip: { id: df }, seaRush: { id: df }, utilityKit: { city: 'fra' }, utilityCaches: { city: 'fra' }, teDeploy: { script: 'spill at 85%' }, upLinkX: {}, - pieRd: { k: 'reuse' }, pieAnt: { id: 'none' }, + pieRd: { k: 'reuse' }, pieAnt: { id: 'none' }, ip4Buy: { len: 24 }, ip4Lease: { len: 22 }, }; const missing = quoted.filter((n) => !sample[n] && T('schema', { section: 'commands' })[n].args.some((a) => a.required)); assert.deepEqual(missing, [], 'every priced command with arguments has a sample here'); diff --git a/tests/sales-desk.test.js b/tests/sales-desk.test.js index 1a3190b..d633a6b 100644 --- a/tests/sales-desk.test.js +++ b/tests/sales-desk.test.js @@ -80,6 +80,8 @@ test('the shark: bigger deals at a quarter more, oversold promises, no nerds, a test('the CEO: golf deals at 30% off, the odd declined offer signed anyway, opinions; all from hashes, not Math.random', () => { const { ev, errors } = load(); ev(start); + // Room for every deal he signs (#150: nobody signs what the network has no IPv4 addresses for), so this counts handshakes. + ev("S.ip4.b.push({id:'room',len:16,k:'buy',d:0})"); ev("ACT.salesHire({id:'ceo'})"); ev('window.__r=0;window.__r0=Math.random;Math.random=()=>{__r++;return __r0();};'); const n0 = ev('S.biz.length'); From 8e1f2d66a5ffe42945b7cd4e5182beec9939f200 Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 01:06:30 +0100 Subject: [PATCH 470/546] Express fiber: light a wave through a city without its router (#58) An express lightpath runs from A to C over your own or IRU dark fibers A-B, B-C (up to six) and passes B through its ROADM as light: ports only at its two ends, no hop in B, the fibers' latency added up. It takes one channel slot on every fiber it rides, needs a ROADM line system on each, and an optic that makes the whole run between regen sites. Routing, the route worker, traceroute, diverse paths and saves see it as a link A-C. A cut, a build, an amp or ROADM failure or a line system swap on any fiber under it darkens it; backhoes and the chaos monkey still find fibers that only carry expresses. "Express to..." on a fiber and an Express tab in the link window plan one, with reach, slots per fiber and the price. The intern's optics order leaves fibers that only carry expresses bare, decom never hands one back, and the build standard keeps a fiber's line system while an express on it carries traffic. --- CHANGELOG.md | 1 + site/i18n/de.js | 40 ++ site/i18n/es.js | 40 ++ site/i18n/fr.js | 40 ++ site/i18n/it.js | 40 ++ site/i18n/pt.js | 40 ++ src/agent/20-commands.js | 10 +- src/agent/30-docs.js | 2 +- src/game/10-catalog/40-ports.js | 4 +- src/game/10-catalog/60-reach-and-subsea.js | 6 +- src/game/60-features/20-scenarios.js | 2 +- src/game/60-features/50-traceroute.js | 2 +- src/game/60-features/95-standing-orders.js | 5 +- src/game/60-features/96-pop-standard.js | 5 +- src/game/80-simulation/30-compute.js | 7 +- src/game/80-simulation/40-billing.js | 4 +- src/game/80-simulation/50-sanitize.js | 3 +- src/game/80-simulation/60-requirements.js | 6 +- src/game/80-simulation/65-express.js | 87 ++++ .../80-simulation/80-geography-and-latency.js | 2 +- src/game/85-incidents/20-failures.js | 15 +- src/game/85-incidents/40-chaos-monkey.js | 4 +- src/game/90-actions/50-customers.js | 2 +- src/game/90-actions/60-links.js | 4 +- src/game/90-actions/87-express.js | 22 + src/game/90-actions/87-fiber-and-hardware.js | 8 +- src/game/90-actions/88-optic-counts.js | 2 +- src/game/90-actions/90-action-helpers.js | 6 +- src/game/93-ui/50-city-panel.js | 2 +- src/game/93-ui/60-decommission.js | 3 +- src/game/93-ui/70-link-panels.js | 4 +- src/game/93-ui/72-express.js | 48 +++ src/game/94-dashboard/50-lease-swaps.js | 4 +- src/game/95-modals/70-link-modal.js | 7 +- src/game/96-map/50-link-geometry.js | 2 + src/game/96-map/51-express-geometry.js | 5 + src/game/96-map/55-link-look.js | 10 +- src/i18n/en.js | 40 ++ src/styles/40-modal.css | 2 + tests/express-fiber.test.js | 398 ++++++++++++++++++ tests/mcp-commands.test.js | 2 +- 41 files changed, 883 insertions(+), 53 deletions(-) create mode 100644 src/game/80-simulation/65-express.js create mode 100644 src/game/90-actions/87-express.js create mode 100644 src/game/93-ui/72-express.js create mode 100644 src/game/96-map/51-express-geometry.js create mode 100644 tests/express-fiber.test.js diff --git a/CHANGELOG.md b/CHANGELOG.md index e5f8d8e..639dbf4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ All notable changes to this project are documented here. The project follows - Your intern can upgrade optical transport: a new standing order moves full, busy fiber to a bigger line system, or trades its smallest channels for bigger optics. Pick a line system, and every fiber on a smaller one is moved up to it. A line system swap takes the fiber down for a day, so the intern only does it where the traffic gets around it and no customer rides it, one a night. - Copies of the game you host yourself can now have multiplayer: friends join your session with a six-character code and build their networks next to yours in the same world, with a leaderboard, a feed with chat, saves kept on your server and a link to carry a network to another device. It needs the small session server that comes with the source code, so the game at seriesoftub.es stays single-player. - Dark mode: pick Light, Dark or Auto (follows your device) under Settings › Theme. The panels, the NOC dashboard and the map all go dark, with a night-time sea and land, and the setting is kept on your device (#80). +- Express lightpaths: light a wave straight through the cities between your own dark fibers, without touching the routers there. Wherever two or more of your ROADM fibers on land meet, a fiber's panel lists where an express can go and the link window gets an Express tab; it uses ports only at its two ends, saves a hop of latency and takes one channel slot on every fiber it rides, and the light has to reach all the way between regen sites. A cut or a line system swap on any of those fibers darkens it, and a fiber can only be given up once no express rides it. (#58) - Your intern can standardize your routers on a model you choose: pick it in Keep routers ahead, and every POP on a smaller model is swapped to it, the busiest first, within the monthly budget. Every setting in the Standing orders sheet is now a list to pick from instead of a button to tap through. - Set a build standard for your whole network: routers, a second building and a generator at every POP, LAGs, exchange ports and PNIs, line systems, optics and wave sizes, all in one sheet. New POPs get the POP part the day they open, the sheet shows what is below the standard and what fixing it costs, one tap brings everything up, and the new "Keep to the build standard" order has your intern do it a few jobs a day with money to spare. Find it in the menu, the Standing orders sheet and every POP's router section. - IPv4 is scarce now: business customers need public address blocks, and the homes that do not fit share addresses behind CGNAT. A new network starts with a /21 from its registry, enough for its first months; buy, lease or sell blocks from /24 to /16 on the transfer market in the bank's new Address space section, or lease spare ones out for a monthly income. An offer you have no addresses for says so and waits, a customer that wants to grow at renewal stays at its size until you have the addresses, CGNAT costs a little and annoys some gamers, and you pick how many homes share an address. IPv6 stays free for everyone. This is part of On-call and BGP at 3 a.m.; the gentler rules, Sandbox, puzzles and scenarios keep IPv4 plentiful, and saved games get the addresses they already use plus room to grow (#150). diff --git a/site/i18n/de.js b/site/i18n/de.js index a152ee3..bccdbe8 100644 --- a/site/i18n/de.js +++ b/site/i18n/de.js @@ -2020,6 +2020,46 @@ "exchanges.20_peering_sessions_n":"20+ Peering-Sessions ({n})", "exchanges.pops_on_3_continents":"POPs auf 3+ Kontinenten", "exchanges.serve_1_5_tbps_v":"1,5 Tbps ausliefern ({v})", +"express.already":{"one":"Auf diesem Weg läuft schon ein Express mit {n} Kanal: Das hier kommt dazu.","other":"Auf diesem Weg läuft schon ein Express mit {n} Kanälen: Das hier kommt dazu."}, +"express.cannot":"{optic} geht auf diesem Express nicht.
{why}", +"express.cap":"{cap} Express", +"express.city_via":"Express über {via}", +"express.dark_building":{"one":"{span} wird noch gebaut: noch {n} Tag.","other":"{span} wird noch gebaut: noch {n} Tage."}, +"express.dark_cut":"{span} ist gekappt.", +"express.dark_gone":"Eine der Glasfasern darunter gibt es nicht mehr.", +"express.dark_reach":"Keine ihrer Optiken schafft diese Strecke.", +"express.dark_system":"Auf {span} ist das Line System down.", +"express.express_to":"Express nach …", +"express.eyebrow":"Express-Lightpath · {km} km", +"express.fiber_busy":{"one":"Über diese Glasfaser läuft ein Express-Lightpath.
Bau ihn zuerst ab: Öffne ihn im Express-Abschnitt dieser Glasfaser.","other":"Über diese Glasfaser laufen {n} Express-Lightpaths.
Bau sie zuerst ab: Öffne sie im Express-Abschnitt dieser Glasfaser."}, +"express.fiber_full":"{a} ⇄ {b} hat keinen freien Kanal-Slot mehr ({max} im Line System).", +"express.free_slots":"{n} von {max} Slots frei", +"express.its_fibers":"Die Glasfasern darunter", +"express.last_channel":"Das ist der letzte Kanal des Express. Wenn du ihn loswerden willst, bau den Express ab.", +"express.lead":"Schick eine Wave am anderen Ende direkt durch den ROADM auf deine nächste Glasfaser: keine Router-Ports in der Stadt dazwischen, weniger Latenz, ein Kanal-Slot auf jeder Glasfaser, über die sie läuft.", +"express.lit":"Express leuchtet: {a} ⇄ {b}.
{optic} läuft direkt durch {via}: Kein Router dort bekommt sie zu sehen.", +"express.modal_lead":"Schick eine Wave von {a} nach {b} durch die ROADMs unterwegs: Die Städte dazwischen sehen sie auf keinem Router.", +"express.modal_note":"Der erste Kanal zahlt außerdem {price} pro Stadt unterwegs, damit er dort durch den ROADM gepatcht wird. Optiken aus dem Ersatzteilregal sind gratis; jeder Regen-Standort unterwegs braucht eine Karte.", +"express.n_carry_expresses":{"one":"{n} trägt einen Express","other":"{n} tragen Express-Lightpaths"}, +"express.n_channels":{"one":"{n} Kanal","other":"{n} Kanäle"}, +"express.needs_roadm":"Jede Glasfaser unter einem Express braucht ein ROADMaster-Line-System (oben unter Line System upgraden).", +"express.no_such_path":"Diese Glasfasern führen nicht mehr von der einen Stadt zur anderen.", +"express.one_more":"Noch eine {optic} auf dem Express {a} ⇄ {b}: jetzt {n} Kanäle.", +"express.optical_run":"Längste Strecke ohne Regen", +"express.out_of_reach":"außer Reichweite", +"express.passes":"Läuft als Licht durch den ROADM in {via}: Dort kein Router-Port, kein Hop im Traceroute.", +"express.plan":"Planen", +"express.riding_here":"Auf dieser Glasfaser", +"express.riding_note":"Bau sie ab, bevor du die Glasfaser aufgibst. Ein Schnitt oder ein Line-System-Tausch hier macht sie auch dunkel.", +"express.runs_at":"läuft mit {g}", +"express.slot_note":"Jeder Kanal belegt einen Slot auf jeder dieser Glasfasern. Ein Schnitt, ein Bau oder ein Line-System-Tausch auf einer davon macht den Express dunkel.", +"express.tab":"Express", +"express.tear_down":"Express abbauen", +"express.tear_down_note":"Seine Optiken kommen ins Ersatzteilregal.", +"express.title":"Express-Lightpaths", +"express.too_far":"Zu weit: Das Licht läuft {run} km ohne Regen-Standort, und diese Optik schafft selbst im langsamsten Modus nur {max} km. Bau Regen-Standorte auf den Glasfasern.", +"express.trace_hop":"Express-Lightpath, durchquert {via} nur als Licht", +"express.via_km":"über {via} · {km} km", "failures.a_45_c_heatwave_in_city":"Eine Hitzewelle mit 45 °C in {city}: Das Stromnetz hat Last abgeworfen, die Kältemaschinen haben aufgegeben, und der Generator bei {dc} auch.", "failures.a_b_is_down_same_cable":"{a}–{b} ist down. Gleiches Kabel, neuer Anker. Der Reparaturtrupp hat eine Stempelkarte angelegt.", "failures.a_backhoe_cut_the_metro_ring":"Ein Bagger hat den Metro-Ring zwischen deinen beiden Standorten in {city} gekappt. Wie sich herausstellt, liefen beide Glasfaserwege durch dieselbe Straße.", diff --git a/site/i18n/es.js b/site/i18n/es.js index 1f8b28a..9ec154f 100644 --- a/site/i18n/es.js +++ b/site/i18n/es.js @@ -2018,6 +2018,46 @@ "exchanges.20_peering_sessions_n":"20+ sesiones de peering ({n})", "exchanges.pops_on_3_continents":"POPs en 3+ continentes", "exchanges.serve_1_5_tbps_v":"sirve 1,5 Tbps ({v})", +"express.already":{"one":"Ya tienes un exprés por este camino con {n} canal: esto añade otro.","other":"Ya tienes un exprés por este camino con {n} canales: esto añade otro."}, +"express.cannot":"No se puede encender {optic} en este exprés.
{why}", +"express.cap":"{cap} exprés", +"express.city_via":"exprés por {via}", +"express.dark_building":{"one":"{span} todavía se está construyendo: queda {n} día.","other":"{span} todavía se está construyendo: quedan {n} días."}, +"express.dark_cut":"{span} está cortada.", +"express.dark_gone":"Una de las fibras por debajo ya no existe.", +"express.dark_reach":"Ninguna de sus ópticas llega tan lejos.", +"express.dark_system":"{span} tiene el sistema de línea caído.", +"express.express_to":"Exprés a…", +"express.eyebrow":"Lightpath exprés · {km} km", +"express.fiber_busy":{"one":"Un lightpath exprés va por esta fibra.
Desmóntalo primero: ábrelo desde la sección Exprés de esta fibra.","other":"{n} lightpaths exprés van por esta fibra.
Desmóntalos primero: ábrelos desde la sección Exprés de esta fibra."}, +"express.fiber_full":"{a} ⇄ {b} no tiene ningún hueco de canal libre ({max} en su sistema de línea).", +"express.free_slots":"{n} de {max} huecos libres", +"express.its_fibers":"Las fibras por las que va", +"express.last_channel":"Es el último canal del exprés. Para quitarlo, desmonta el exprés.", +"express.lead":"Manda una onda directo por el ROADM del otro extremo a tu siguiente fibra: sin puertos de router en la ciudad de en medio, menos latencia, un hueco de canal en cada fibra que recorre.", +"express.lit":"Exprés encendido: {a} ⇄ {b}.
{optic} pasa directo por {via}: ningún router de allí la ve.", +"express.modal_lead":"Enciende una onda de {a} a {b} a través de los ROADMs del camino: las ciudades de en medio nunca la ven en un router.", +"express.modal_note":"El primer canal paga además {price} por cada ciudad por la que pasa, para cruzarlo por el ROADM de allí. Las ópticas del estante de repuestos salen gratis; cada sitio regenerador del camino necesita una tarjeta.", +"express.n_carry_expresses":{"one":"{n} lleva un exprés","other":"{n} llevan lightpaths exprés"}, +"express.n_channels":{"one":"{n} canal","other":"{n} canales"}, +"express.needs_roadm":"Cada fibra por la que va un exprés necesita un sistema de línea ROADMaster (mejóralo arriba, en Sistema de línea).", +"express.no_such_path":"Esas fibras ya no enlazan una ciudad con la otra.", +"express.one_more":"Otra {optic} en el exprés {a} ⇄ {b}: ahora {n} canales.", +"express.optical_run":"Tramo más largo sin regenerar", +"express.out_of_reach":"fuera de alcance", +"express.passes":"Pasa por {via} como luz, a través del ROADM: allí ni puerto de router ni salto en un traceroute.", +"express.plan":"Planear", +"express.riding_here":"Por esta fibra", +"express.riding_note":"Desmóntalos antes de dejar la fibra. Un corte o un cambio de sistema de línea aquí también los apaga.", +"express.runs_at":"va a {g}", +"express.slot_note":"Cada canal ocupa un hueco en cada una de estas fibras. Un corte, una obra o un cambio de sistema de línea en cualquiera de ellas apaga el exprés.", +"express.tab":"Exprés", +"express.tear_down":"Desmontar el exprés", +"express.tear_down_note":"Sus ópticas vuelven al estante de repuestos.", +"express.title":"Lightpaths exprés", +"express.too_far":"Demasiado lejos: la luz recorre {run} km sin sitio regenerador y esta óptica llega a {max} km en su modo más lento. Añade sitios regeneradores en las fibras.", +"express.trace_hop":"lightpath exprés, cruza {via} solo como luz", +"express.via_km":"por {via} · {km} km", "failures.a_45_c_heatwave_in_city":"Una ola de calor de 45 °C en {city}: la red recortó carga, los enfriadores se rindieron y también el generador de {dc}.", "failures.a_b_is_down_same_cable":"{a}–{b} está caído. Mismo cable, ancla nueva. El equipo de reparación ya tiene tarjeta de fidelidad.", "failures.a_backhoe_cut_the_metro_ring":"Una retroexcavadora cortó el anillo metropolitano entre tus dos sedes en {city}. Resulta que ambas rutas de fibra pasaban por la misma calle.", diff --git a/site/i18n/fr.js b/site/i18n/fr.js index 7729036..ec461d3 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -2018,6 +2018,46 @@ "exchanges.20_peering_sessions_n":"20+ sessions de peering ({n})", "exchanges.pops_on_3_continents":"POP sur 3+ continents", "exchanges.serve_1_5_tbps_v":"servir 1,5 Tbps ({v})", +"express.already":{"one":"Tu as déjà un express sur ce chemin avec {n} canal : ceci en ajoute un.","other":"Tu as déjà un express sur ce chemin avec {n} canaux : ceci en ajoute un."}, +"express.cannot":"Impossible d’allumer {optic} sur cet express.
{why}", +"express.cap":"{cap} express", +"express.city_via":"express via {via}", +"express.dark_building":{"one":"{span} est encore en construction : encore {n} jour.","other":"{span} est encore en construction : encore {n} jours."}, +"express.dark_cut":"{span} est coupée.", +"express.dark_gone":"Une des fibres en dessous n’existe plus.", +"express.dark_reach":"Aucune de ses optiques ne porte aussi loin.", +"express.dark_system":"{span} a son système de ligne en panne.", +"express.express_to":"Express vers…", +"express.eyebrow":"Lightpath express · {km} km", +"express.fiber_busy":{"one":"Un lightpath express passe par cette fibre.
Démonte-le d’abord : ouvre-le depuis la section Express de cette fibre.","other":"{n} lightpaths express passent par cette fibre.
Démonte-les d’abord : ouvre-les depuis la section Express de cette fibre."}, +"express.fiber_full":"{a} ⇄ {b} n’a plus d’emplacement de canal libre ({max} sur son système de ligne).", +"express.free_slots":"{n} emplacements libres sur {max}", +"express.its_fibers":"Les fibres qu’il emprunte", +"express.last_channel":"C’est le dernier canal de l’express. Pour l’arrêter, démonte l’express.", +"express.lead":"Envoie une onde tout droit à travers le ROADM du bout opposé, sur ta fibre suivante : aucun port de routeur dans la ville du milieu, moins de latence, un emplacement de canal sur chaque fibre empruntée.", +"express.lit":"Express allumé : {a} ⇄ {b}.
{optic} traverse {via} tout droit : aucun routeur là-bas ne la voit.", +"express.modal_lead":"Allume une onde de {a} à {b} à travers les ROADM du chemin : les villes du milieu ne la voient jamais sur un routeur.", +"express.modal_note":"Le premier canal paie aussi {price} pour chaque ville traversée, pour le brasser dans le ROADM sur place. Les optiques de l’étagère de rechange sont gratuites ; chaque site de régénération du chemin demande une carte.", +"express.n_carry_expresses":{"one":"{n} porte un express","other":"{n} portent des lightpaths express"}, +"express.n_channels":{"one":"{n} canal","other":"{n} canaux"}, +"express.needs_roadm":"Chaque fibre empruntée par un express a besoin d’un système de ligne ROADMaster (mets-le à niveau plus haut, dans Système de ligne).", +"express.no_such_path":"Ces fibres ne relient plus une ville à l’autre.", +"express.one_more":"Une {optic} de plus sur l’express {a} ⇄ {b} : {n} canaux maintenant.", +"express.optical_run":"Plus longue portée sans régénération", +"express.out_of_reach":"hors de portée", +"express.passes":"Traverse {via} sous forme de lumière, par le ROADM : aucun port de routeur là-bas, aucun saut dans un traceroute.", +"express.plan":"Préparer", +"express.riding_here":"Sur cette fibre", +"express.riding_note":"Démonte-les avant d’abandonner la fibre. Une coupure ou un changement de système de ligne ici les éteint aussi.", +"express.runs_at":"tourne à {g}", +"express.slot_note":"Chaque canal prend un emplacement sur chacune de ces fibres. Une coupure, un chantier ou un changement de système de ligne sur l’une d’elles éteint l’express.", +"express.tab":"Express", +"express.tear_down":"Démonter l’express", +"express.tear_down_note":"Ses optiques retournent sur l’étagère de rechange.", +"express.title":"Lightpaths express", +"express.too_far":"Trop loin : la lumière parcourt {run} km sans site de régénération et cette optique porte à {max} km dans son mode le plus lent. Ajoute des sites de régénération sur les fibres.", +"express.trace_hop":"lightpath express, traverse {via} sous forme de lumière", +"express.via_km":"via {via} · {km} km", "failures.a_45_c_heatwave_in_city":"Canicule à 45 °C à {city} : le réseau a délesté, les groupes froids ont lâché, et le groupe électrogène de {dc} aussi.", "failures.a_b_is_down_same_cable":"{a}–{b} est en panne. Même câble, nouvelle ancre. L’équipe de réparation a créé une carte de fidélité.", "failures.a_backhoe_cut_the_metro_ring":"Une pelleteuse a coupé l’anneau métropolitain entre tes deux sites à {city}. En fait, les deux chemins de fibre passaient par la même rue.", diff --git a/site/i18n/it.js b/site/i18n/it.js index cc61779..06d88d6 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -2018,6 +2018,46 @@ "exchanges.20_peering_sessions_n":"20+ sessioni di peering ({n})", "exchanges.pops_on_3_continents":"POP in 3+ continenti", "exchanges.serve_1_5_tbps_v":"servire 1,5 Tbps ({v})", +"express.already":{"one":"Su questo percorso hai già un express con {n} canale: così ne aggiungi un altro.","other":"Su questo percorso hai già un express con {n} canali: così ne aggiungi un altro."}, +"express.cannot":"Impossibile accendere {optic} su questo express.
{why}", +"express.cap":"{cap} express", +"express.city_via":"express via {via}", +"express.dark_building":{"one":"{span} è ancora in costruzione: manca {n} giorno.","other":"{span} è ancora in costruzione: mancano {n} giorni."}, +"express.dark_cut":"{span} è tranciata.", +"express.dark_gone":"Una delle fibre sotto non c’è più.", +"express.dark_reach":"Nessuna delle sue ottiche arriva così lontano.", +"express.dark_system":"{span} ha il line system giù.", +"express.express_to":"Express verso…", +"express.eyebrow":"Lightpath express · {km} km", +"express.fiber_busy":{"one":"Su questa fibra passa un lightpath express.
Smontalo prima: aprilo dalla sezione Express di questa fibra.","other":"Su questa fibra passano {n} lightpath express.
Smontali prima: aprili dalla sezione Express di questa fibra."}, +"express.fiber_full":"{a} ⇄ {b} non ha più slot di canale liberi ({max} sul suo line system).", +"express.free_slots":"{n} slot liberi su {max}", +"express.its_fibers":"Le fibre su cui viaggia", +"express.last_channel":"È l’ultimo canale dell’express. Per fermarlo, smonta l’express.", +"express.lead":"Manda una wave dritta attraverso il ROADM all’altro capo, sulla tua fibra successiva: niente porte router nella città in mezzo, meno latenza, uno slot di canale su ogni fibra che percorre.", +"express.lit":"Express acceso: {a} ⇄ {b}.
{optic} passa dritta per {via}: nessun router lì la vede.", +"express.modal_lead":"Accendi una wave da {a} a {b} attraverso i ROADM lungo la strada: le città in mezzo non la vedono mai su un router.", +"express.modal_note":"Il primo canale paga anche {price} per ogni città che attraversa, per farlo passare nel ROADM lì. Le ottiche dallo scaffale dei ricambi sono gratis; ogni sito di rigenerazione lungo la strada vuole una scheda.", +"express.n_carry_expresses":{"one":"{n} porta un express","other":"{n} portano lightpath express"}, +"express.n_channels":{"one":"{n} canale","other":"{n} canali"}, +"express.needs_roadm":"Ogni fibra su cui viaggia un express ha bisogno di un line system ROADMaster (aggiornalo qui sopra, in Sistema di linea).", +"express.no_such_path":"Quelle fibre non collegano più una città all’altra.", +"express.one_more":"Un’altra {optic} sull’express {a} ⇄ {b}: ora {n} canali.", +"express.optical_run":"Tratta più lunga senza rigenerazione", +"express.out_of_reach":"fuori portata", +"express.passes":"Attraversa {via} come luce, dentro il ROADM: lì niente porta router, niente hop in un traceroute.", +"express.plan":"Pianifica", +"express.riding_here":"Su questa fibra", +"express.riding_note":"Smontali prima di abbandonare la fibra. Un taglio o un cambio di line system qui spegne anche loro.", +"express.runs_at":"va a {g}", +"express.slot_note":"Ogni canale occupa uno slot su ciascuna di queste fibre. Un taglio, un cantiere o un cambio di line system su una qualsiasi di esse spegne l’express.", +"express.tab":"Express", +"express.tear_down":"Smonta l’express", +"express.tear_down_note":"Le sue ottiche tornano sullo scaffale dei ricambi.", +"express.title":"Lightpath express", +"express.too_far":"Troppo lontano: la luce percorre {run} km senza un sito di rigenerazione e questa ottica arriva a {max} km nella modalità più lenta. Aggiungi siti di rigenerazione sulle fibre.", +"express.trace_hop":"lightpath express, attraversa {via} solo come luce", +"express.via_km":"via {via} · {km} km", "failures.a_45_c_heatwave_in_city":"Ondata di caldo a 45 °C a {city}: la rete ha staccato carichi, i chiller si sono arresi e anche il generatore di {dc}.", "failures.a_b_is_down_same_cable":"{a}–{b} è giù. Stesso cavo, ancora nuova. La squadra di riparazione ha aperto una tessera fedeltà.", "failures.a_backhoe_cut_the_metro_ring":"Una ruspa ha tagliato il ring metropolitano tra i tuoi due siti a {city}. A quanto pare entrambe le tratte in fibra passavano per la stessa strada.", diff --git a/site/i18n/pt.js b/site/i18n/pt.js index 5fc3410..4714044 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -2018,6 +2018,46 @@ "exchanges.20_peering_sessions_n":"20+ sessões de peering ({n})", "exchanges.pops_on_3_continents":"POPs em 3+ continentes", "exchanges.serve_1_5_tbps_v":"entregar 1,5 Tbps ({v})", +"express.already":{"one":"Você já tem um expresso neste caminho com {n} canal: isto adiciona mais um.","other":"Você já tem um expresso neste caminho com {n} canais: isto adiciona mais um."}, +"express.cannot":"Não dá para acender {optic} neste expresso.
{why}", +"express.cap":"{cap} expresso", +"express.city_via":"expresso via {via}", +"express.dark_building":{"one":"{span} ainda está em construção: falta {n} dia.","other":"{span} ainda está em construção: faltam {n} dias."}, +"express.dark_cut":"{span} está cortada.", +"express.dark_gone":"Uma das fibras por baixo não existe mais.", +"express.dark_reach":"Nenhuma das suas ópticas alcança essa distância.", +"express.dark_system":"{span} está com o line system fora do ar.", +"express.express_to":"Expresso para…", +"express.eyebrow":"Lightpath expresso · {km} km", +"express.fiber_busy":{"one":"Um lightpath expresso passa por esta fibra.
Desmonte-o primeiro: abra-o na seção Expresso desta fibra.","other":"{n} lightpaths expressos passam por esta fibra.
Desmonte-os primeiro: abra-os na seção Expresso desta fibra."}, +"express.fiber_full":"{a} ⇄ {b} não tem mais slot de canal livre ({max} no seu line system).", +"express.free_slots":"{n} de {max} slots livres", +"express.its_fibers":"As fibras por onde ele passa", +"express.last_channel":"Esse é o último canal do expresso. Para parar, desmonte o expresso.", +"express.lead":"Mande uma onda direto pelo ROADM da outra ponta para a sua próxima fibra: sem portas de router na cidade do meio, menos latência, um slot de canal em cada fibra que ela percorre.", +"express.lit":"Expresso aceso: {a} ⇄ {b}.
{optic} passa direto por {via}: nenhum router lá a vê.", +"express.modal_lead":"Acenda uma onda de {a} a {b} pelos ROADMs do caminho: as cidades do meio nunca a veem num router.", +"express.modal_note":"O primeiro canal também paga {price} por cidade que atravessa, para passá-lo pelo ROADM de lá. Ópticas da prateleira de reservas saem de graça; cada site de regeneração no caminho precisa de uma placa.", +"express.n_carry_expresses":{"one":"{n} leva um expresso","other":"{n} levam lightpaths expressos"}, +"express.n_channels":{"one":"{n} canal","other":"{n} canais"}, +"express.needs_roadm":"Cada fibra por onde um expresso passa precisa de um line system ROADMaster (faça o upgrade acima, em Sistema de linha).", +"express.no_such_path":"Essas fibras não ligam mais uma cidade à outra.", +"express.one_more":"Mais uma {optic} no expresso {a} ⇄ {b}: agora {n} canais.", +"express.optical_run":"Maior trecho sem regeneração", +"express.out_of_reach":"fora de alcance", +"express.passes":"Atravessa {via} como luz, pelo ROADM: lá não usa porta de router nem aparece como salto no traceroute.", +"express.plan":"Planejar", +"express.riding_here":"Nesta fibra", +"express.riding_note":"Desmonte-os antes de abrir mão da fibra. Um corte ou uma troca do line system aqui também os apaga.", +"express.runs_at":"roda a {g}", +"express.slot_note":"Cada canal ocupa um slot em cada uma destas fibras. Um corte, uma obra ou uma troca do line system em qualquer uma delas apaga o expresso.", +"express.tab":"Expresso", +"express.tear_down":"Desmontar o expresso", +"express.tear_down_note":"As ópticas dele voltam para a prateleira de reservas.", +"express.title":"Lightpaths expressos", +"express.too_far":"Longe demais: a luz percorre {run} km sem site de regeneração e esta óptica alcança {max} km no modo mais lento. Adicione sites de regeneração nas fibras.", +"express.trace_hop":"lightpath expresso, passa por {via} só como luz", +"express.via_km":"via {via} · {km} km", "failures.a_45_c_heatwave_in_city":"Onda de calor de 45 °C em {city}: a rede cortou carga, os chillers desistiram e o gerador do {dc} também.", "failures.a_b_is_down_same_cable":"{a}–{b} caiu. Mesmo cabo, âncora nova. A equipe de reparo criou um cartão fidelidade.", "failures.a_backhoe_cut_the_metro_ring":"Uma retroescavadeira cortou o anel metropolitano entre seus dois sites em {city}. Pelo visto, as duas rotas de fibra passavam pela mesma rua.", diff --git a/src/agent/20-commands.js b/src/agent/20-commands.js index cfb4e36..8ea9a36 100644 --- a/src/agent/20-commands.js +++ b/src/agent/20-commands.js @@ -123,7 +123,7 @@ const API_CMD={ quote:a=>{const A=a.a,B=a.b,tier=a.tier; if(!S.pops[A])return {blocked:[linkFromWhy(A)]}; if(!waveOk(A,B,tier))return {blocked:[tr('links.a_wave_wave_needs_need_at',{wave:LT[tier].n,need:waveNeed(tier)})]}; - const sib=pairLinks(A,B).filter(l=>l.kind!=='vxc'),jn=sib.length?routeJoin(A,B):null,border=cnCity(A)!==cnCity(B); + const sib=pairLinks(A,B).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'),jn=sib.length?routeJoin(A,B):null,border=cnCity(A)!==cnCity(B); const mult=(sib.length&&!(jn&&jn.k===(landTrenches(A,B)[0]||{}).k)?DIVERSE:1)*(border?3*((a.premiumCrossing&&(A==='hkg'||B==='hkg'))?1.6:1):1); const wr=waveRoute(A,B,mult,border);if(!wr)return {blocked:[tr('links.no_cable_available_for_that_route')]}; const blocked=[],so=soldOut(A,B,tier,wr.cab); @@ -230,6 +230,13 @@ const API_CMD={ setChCount:{args:[['id','entityId'],['o','opticId'],['n','integer']],watch:['links.#id'], quote:a=>{const l=S.links.find(x=>x.id===a.id);return l?{setup:opticCountCost(l,a.o,a.n)}:{};}, doc:'Set how many channels of one optic model a dark-fiber span carries, in one change. Added optics come from the spares shelf when you have them (regen cards still cost their share); removed ones go back to the shelf.'}, + xpBuild:{args:[['a','cityId'],['b','cityId'],['via','string'],['o','opticId']], + quote:a=>{const sp=xpParse(a.a,a.b,a.via);if(!sp||!OPT[a.o])return {setup:0,blocked:[tr('express.no_such_path')]};const old=xpFind(a.a,a.b,sp.map(s=>s.id)); + return {setup:xpCost(sp,a.o,!old),blocked:[xpWhy(a.a,a.b,sp,a.o)].filter(Boolean)};}, + doc:'Light an express lightpath from a to b straight through the ROADMs of the cities between: via is the ids of your ROADM dark fibers (land, own or IRU) in order from a, comma-separated, 2 to 6 of them. One optic, one channel slot on every fiber, ports only at a and b, and the light must reach the whole run between regen sites. The same path again adds a channel to that express. Give one up with rmLink.'}, + xpCh:{args:[['id','entityId'],['o','opticId'],['d','step']],watch:['links.#id'], + quote:a=>{const l=S.links.find(x=>x.id===a.id),sp=l&&l.kind==='xp'&&xpSpans(l);if(!sp||!OPT[a.o]||a.d<0)return {setup:0};return {setup:xpCost(sp,a.o,false),blocked:[xpWhy(l.a,l.b,sp,a.o)].filter(Boolean)};}, + doc:'Add (d:1) or unplug (d:-1) one channel of an optic on an express lightpath; unplugged optics go on the spares shelf. The last channel stays: rmLink gives the express up.'}, /* ---------- customers ---------- */ accept:{args:[['id','entityId']], doc:'Sign a pending offer. Rejected without a POP in every city it needs, without the IPv4 addresses it needs (rule ip4: see the bank\'s Address space), without free channels for a wave sale, or after an event\'s start date. Extra waves for a carrier you already serve grow that contract.'}, @@ -574,6 +581,7 @@ const API_BOUND={ via:{command:'buildLink',arg:'cable'}, route:{command:'buildLink',arg:'route'}, dfMode:{command:'orderDf',note:'opens the dark-fiber modal',arg:'a/b'}, + xpOpen:{command:'xpBuild',note:'opens the link window on its Express tab: the ways your ROADM fibers chain from a to b (via, fiber ids comma-separated, puts that path first)',arg:'a/b/via'}, dfSrc:{command:'orderDf',arg:'source'}, dfSys:{command:'orderDf',arg:'system'}, seaDesign:{command:'orderCable',arg:'design'}, diff --git a/src/agent/30-docs.js b/src/agent/30-docs.js index c3d1212..12d573e 100644 --- a/src/agent/30-docs.js +++ b/src/agent/30-docs.js @@ -20,7 +20,7 @@ const API_STATE_DOC={ auV:{type:'integer',doc:'Australia content level gate.'}, seen:{type:'array',doc:'Network ids the deals panel has already shown. Vestigial: written by newGame, read nowhere.'}, pops:{type:'map',doc:'Your POPs by city id: day opened, broadband (bb), ad boost, downtime, routers, generator, second site.'}, - links:{type:'array',doc:'Your links: waves, dark fiber (df), own cables and fabric circuits (vxc), each with an entity id.'}, + links:{type:'array',doc:'Your links: waves, dark fiber (df), own cables, fabric circuits (vxc) and express lightpaths (xp: via lists the dark fibers it rides from a, ch its optics), each with an entity id.'}, transit:{type:'array',doc:'Transit ports: city, net, tier, LAG members, port history for 95th-percentile billing.'}, ixp:{type:'map',doc:'IX ports by exchange city; tier per port (may exceed 1 with LAG members in ixn).'}, rs:{type:'map',doc:'Route-server sessions by exchange city.'}, diff --git a/src/game/10-catalog/40-ports.js b/src/game/10-catalog/40-ports.js index 8712607..a8cf7d0 100644 --- a/src/game/10-catalog/40-ports.js +++ b/src/game/10-catalog/40-ports.js @@ -15,7 +15,7 @@ const cachePortsAdd=(c,adds)=>cachePorts(c,adds)-cachePorts(c); in one port, but a 1.6T transponder shelf hands off to an 800G router as two 800G clients. */ const chPorts=(o,c,g)=>{const p=S.pops[c];return p&&OPT[o]?Math.max(1,Math.ceil(OPT[o].g/portG(g===undefined?(p.rgen||0):g)-1e-9)):1;}; function portsUsed(c,g){let u=0; - for(const l of S.links){if(l.a!==c&&l.b!==c||l.kind==='vxc')continue;if(l.kind!=='df'){u++;continue;}for(const o of l.ch||[])u+=chPorts(o,c,g);} + for(const l of S.links){if(l.a!==c&&l.b!==c||l.kind==='vxc')continue;if(l.kind!=='df'&&l.kind!=='xp'){u++;continue;}for(const o of l.ch||[])u+=chPorts(o,c,g);} // A puzzle's content origin (t.pz) hands off on a port of its own: it takes none of yours. for(const t of S.transit)if(t.city===c&&!t.pz)u+=PORT_SLOT(t.tier)*(t.n||1); for(const x of S.pni)if(x.city===c)u+=PORT_SLOT(x.tier)*(x.n||1); @@ -33,5 +33,5 @@ const fmtPorts=u=>Number.isInteger(u)?String(u):u.toFixed(2).replace(/0+$/,''); function modelFits(c,g){const G=RG[g],p=S.pops[c];if(!p)return ''; if(S.links.some(l=>(l.a===c||l.b===c)&&l.kind==='wave'&&l.tier>G.maxLT))return tr('ports.a_wave_here_is_faster_than',{pn:G.pn}); if([...S.transit,...S.pni,...(S.nni||[])].some(t=>t.city===c&&!t.pz&&t.tier>G.maxP)||ixIdsIn(c).some(x=>S.ixp[x]!==undefined&&!S.myIx[x]&&S.ixp[x]>G.maxP))return tr('ports.a_port_here_is_bigger_than',{pn:G.pn}); - if(S.links.some(l=>(l.a===c||l.b===c)&&l.kind==='df'&&(l.ch||[]).some(o=>OPT[o]&&OPT[o].rg>G.cls)))return tr('ports.a_fibre_here_uses_optics_this'); + if(S.links.some(l=>(l.a===c||l.b===c)&&(l.kind==='df'||l.kind==='xp')&&(l.ch||[]).some(o=>OPT[o]&&OPT[o].rg>G.cls)))return tr('ports.a_fibre_here_uses_optics_this'); if(portsUsed(c,g)>portsMax(c,g))return tr('ports.you_use_u_ports_here_and',{u:fmtPorts(portsUsed(c,g)),r:p.routers||1,model:G.n,max:portsMax(c,g)});return '';} diff --git a/src/game/10-catalog/60-reach-and-subsea.js b/src/game/10-catalog/60-reach-and-subsea.js index d4f368f..4f0835e 100644 --- a/src/game/10-catalog/60-reach-and-subsea.js +++ b/src/game/10-catalog/60-reach-and-subsea.js @@ -69,9 +69,9 @@ const regenNeed=(o,l)=>Math.max(0,Math.ceil(l.km/reachOn(OPT[o].reach,l.sub))-1) let DFC=null; const dfCap=l=>{if(!DFC)return dfCap0(l);let g=DFC.get(l);if(g===undefined)DFC.set(l,g=dfCap0(l));return g;}; const dfCap0=l=>{if(l.ready>S.day||l.eqDown>S.day)return 0;const ch=l.ch||[];let g=0;for(const c of ch)g+=optG(c,l);const f=l.chFail&&l.chFail.until>S.day?l.chFail:null;if(f){const fo=f.o&&ch.includes(f.o)?f.o:ch.slice().sort((a,b)=>optG(a,l)-optG(b,l))[0];if(fo)g-=optG(fo,l);}return Math.max(0,g);}; -const capOf=l=>(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?dfCap(l):LT[l.tier].g)*(l.deg>S.day?0.5:1)*(l.loss&&l.loss.until>S.day?l.loss.f:1); +const capOf=l=>(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?dfCap(l):l.kind==='xp'?xpG(l):LT[l.tier].g)*(l.deg>S.day?0.5:1)*(l.loss&&l.loss.until>S.day?l.loss.f:1); // A sick LAG (LACP trouble) keeps only part of its capacity until the incident clears. const lagF=o=>o&&o.lacp&&o.lacp.until>S.day?o.lacp.f:1,ixLagF=x=>lagF(S.ev&&S.ev.ixlacp&&{lacp:S.ev.ixlacp[x]}); -const tierW=l=>{if(l.kind==='wave')return l.tier;if(l.kind==='vxc')return 0;const g=dfCap(l);return g>=6400?4:g>=1600?3:g>=400?2:g>=100?1:0;}; -const capName=l=>l.kind==='vxc'?VXC[l.vt].n:l.kind==='df'?(l.ready>S.day?tr('common.building'):(l.ch||[]).length?fmtCap(dfCap(l)||(l.ch||[]).reduce((a,c)=>a+optG(c,l),0))+' DF':tr('common.dark')):LT[l.tier].n; +const tierW=l=>{if(l.kind==='wave')return l.tier;if(l.kind==='vxc')return 0;const g=l.kind==='xp'?xpG(l):dfCap(l);return g>=6400?4:g>=1600?3:g>=400?2:g>=100?1:0;}; +const capName=l=>l.kind==='vxc'?VXC[l.vt].n:l.kind==='xp'?(g=>g?tr('express.cap',{cap:fmtCap(g)}):tr('common.dark'))(xpG(l)):l.kind==='df'?(l.ready>S.day?tr('common.building'):(l.ch||[]).length?fmtCap(dfCap(l)||(l.ch||[]).reduce((a,c)=>a+optG(c,l),0))+' DF':tr('common.dark')):LT[l.tier].n; diff --git a/src/game/60-features/20-scenarios.js b/src/game/60-features/20-scenarios.js index e6e4956..17cebc0 100644 --- a/src/game/60-features/20-scenarios.js +++ b/src/game/60-features/20-scenarios.js @@ -2,7 +2,7 @@ gives the same world. Free play keeps using the browser's Math.random. */ const _rand=Math.random; Math.random=function(){if(S&&typeof S.rng==='number'){let t=(S.rng=(S.rng+0x6D2B79F5)|0);t=Math.imul(t^t>>>15,1|t);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;}return _rand();}; -const hopG=l=>l.kind==='vxc'?(VXC[l.vt]||VXC[0]).g:l.kind==='df'?Math.max(0,...(l.ch||[]).map(c=>optG(c,l))):LT[l.tier].g; +const hopG=l=>l.kind==='vxc'?(VXC[l.vt]||VXC[0]).g:l.kind==='xp'?xpHopG(l):l.kind==='df'?Math.max(0,...(l.ch||[]).map(c=>optG(c,l))):LT[l.tier].g; function fastPath(a,b,g){if(!S.pops[a]||!S.pops[b])return false;const adj={};for(const l of S.links){if(linkDown(l)||hopG(l)P.dist[e.city]!==undefined); lines.unshift(`traceroute to www.${slug(N.name)}.example (${N.name}, AS${N.asn}) from ${CITY[src].name}, 30 hops max`); diff --git a/src/game/60-features/95-standing-orders.js b/src/game/60-features/95-standing-orders.js index ce0dffb..3277d96 100644 --- a/src/game/60-features/95-standing-orders.js +++ b/src/game/60-features/95-standing-orders.js @@ -204,8 +204,9 @@ const OPS_RUN={ optics(X){const at=opsP('optics','at')/100,big=opsP('optics','pick')==='big',gpd=(o,l)=>optG(o,l)/optCost(o); for(const l of S.links){if(l.kind!=='df'||l.ready>S.day||l.eqDown>S.day||l.standby||l.cut>S.day)continue; let cap=dfCap(l);const load=(R.load&&R.load[l.id])||0; - // New fiber gets its first channel; lit fiber gets more while it runs hot. - for(let step=0;step<8&&(cap<=0?!(l.ch||[]).length:load>=cap*at);step++){if(chMax(l)-(l.ch||[]).length-soldSlots(l)<=0)break; + // New fiber gets its first channel; lit fiber gets more while it runs hot. A fiber that only carries expresses is + // not new: it was left bare so the city in the middle needs no router ports. + for(let step=0;step<8&&(cap<=0?!(l.ch||[]).length&&!xpSlots(l):load>=cap*at);step++){if(chMax(l)-(l.ch||[]).length-soldSlots(l)-xpSlots(l)<=0)break; const cnt={};for(const k of l.ch||[])cnt[k]=(cnt[k]||0)+1; // More of what is already lit, or else the most Gbps per dollar that reaches. Told to go big (#262), the intern // picks the most Gbps per channel it can afford for a new kind of optic, but never swaps what is already lit. diff --git a/src/game/60-features/96-pop-standard.js b/src/game/60-features/96-pop-standard.js index ae8aa3e..425caa5 100644 --- a/src/game/60-features/96-pop-standard.js +++ b/src/game/60-features/96-pop-standard.js @@ -182,7 +182,10 @@ function bstdOptJobs(l,sys,sp,V,take,ch){const rg=c=>V[c]?V[c].g:(S.pops[c].rgen // ex: fibers already going dark today (id → whether they carry traffic): they carry nothing for this one, and one whose // traffic leans on its parallel links keeps them lit. const bstdBusy=l=>((R.load&&R.load[l.id])||0)>Math.max(1,capOf(l)*0.1); -function bstdDarkOk(l,ex){const P=pairLinks(l.a,l.b).filter(x=>x!==l);if(ex&&P.some(x=>ex.get(x.id)))return false;if(!bstdBusy(l))return true; +// Express lightpaths (#58) ride the fiber's glass: its own load says nothing about them, and its parallel links do not +// carry them, so an express with any traffic at all keeps the fiber lit (the line system waits, as for a busy fiber). +const bstdXpBusy=l=>xpSlots(l)>0&&xpOver(l.id).some(x=>((R.load&&R.load[x.id])||0)>1e-6); +function bstdDarkOk(l,ex){if(bstdXpBusy(l))return false;const P=pairLinks(l.a,l.b).filter(x=>x!==l);if(ex&&P.some(x=>ex.get(x.id)))return false;if(!bstdBusy(l))return true; return P.filter(x=>!linkDown(x)&&!x.standby&&!(ex&&ex.has(x.id))).reduce((a,x)=>a+Math.max(0,capOf(x)-((R.load&&R.load[x.id])||0)),0)>=((R.load&&R.load[l.id])||0);} // Do the plan's jobs in order. can(j): may it be paid for (budget, floor, cash); pay(j): run it, true if it took. // one: at most one fiber goes dark (the intern's shift); max: at most that many jobs tried, done or failed, so a shift's diff --git a/src/game/80-simulation/30-compute.js b/src/game/80-simulation/30-compute.js index 4829518..1a4cf12 100644 --- a/src/game/80-simulation/30-compute.js +++ b/src/game/80-simulation/30-compute.js @@ -140,11 +140,12 @@ function compute(){RW.gen++; const fastSP={},divMemo={},cityIds=ni=>ni.map(i=>CITIES[i].id); // disjointRoutes() over today's live links, on city indices: the links are listed per city once, not twice per customer. const LA=[];for(const l of live){const ai=CIDX[l.a],bi=CIDX[l.b];(LA[ai]||(LA[ai]=[])).push([bi,l]);(LA[bi]||(LA[bi]=[])).push([ai,l]);} - const srlg=l=>l.kind==='vxc'?'fab:'+l.prov:(l.trench||l.id); + // An express runs in the trenches of every fiber it rides: one backhoe in any of them takes it out. + const srlg=l=>l.kind==='vxc'?'fab:'+l.prov:(l.trench||l.id),hitR=(s,l)=>l.kind==='xp'?xpRisk(l).some(r=>s.has(r)):s.has(srlg(l)); const bfsI=(a,b,skip)=>{const prev=[],seen=new Uint8Array(NC),q=[a];seen[a]=1; - for(let h=0;h{const a=CIDX[A],b=CIDX[B],p1=bfsI(a,b,null);return !!p1&&!!bfsI(a,b,new Set(p1.map(srlg)));}; + const disjointI=(A,B)=>{const a=CIDX[A],b=CIDX[B],p1=bfsI(a,b,null);return !!p1&&!!bfsI(a,b,new Set(p1.flatMap(l=>l.kind==='xp'?xpRisk(l):[srlg(l)])));}; for(const k in edges){const e=edges[k];let ld=0;for(const l of e.links)ld+=(R.load&&R.load[l.id])||0;e.pl=ld;} const l2Routes=(A,B,b)=>{const m=b.route||'normal',Ai=CIDX[A],Bi=CIDX[B]; if(PX&&m==='fast')return pieFast(PX,fastSP,A,B,b,wLat); diff --git a/src/game/80-simulation/40-billing.js b/src/game/80-simulation/40-billing.js index b7dae0d..87d5139 100644 --- a/src/game/80-simulation/40-billing.js +++ b/src/game/80-simulation/40-billing.js @@ -2,7 +2,9 @@ // sample is today's own: leave it out, or every recompute later that day counts today twice and drops a day. const histToday=()=>{const H=S.hist,l=H&&H[H.length-1];return !!l&&l.d===S.day;}; function p95(t,cur,today=histToday()){const a=t.hist||[],n=Math.max(0,a.length-(today&&a.length?1:0)),h=a.slice(Math.max(0,n-29),n).concat([cur]).sort((a,b)=>a-b);return h[Math.max(0,Math.ceil(.95*h.length)-1)];} -function linkDown(l){return l.cut>S.day||(S.ev.runet>S.day&&ruCity(l.a)!==ruCity(l.b))||(S.ev.gulf>S.day&&((CITY[l.a].qa&&(CITY[l.b].gcc||CITY[l.b].uae))||(CITY[l.b].qa&&(CITY[l.a].gcc||CITY[l.a].uae))))||(l.kind==='vxc'&&!!S.ev.fab&&S.ev.fab[l.prov]>S.day)||(l.kind==='df'&&dfCap(l)<=0);} +// Cut, or cut off by an event between its two countries, whatever runs on it (an express asks this of each fiber it rides). +function linkCut(l){return l.cut>S.day||(S.ev.runet>S.day&&ruCity(l.a)!==ruCity(l.b))||(S.ev.gulf>S.day&&((CITY[l.a].qa&&(CITY[l.b].gcc||CITY[l.b].uae))||(CITY[l.b].qa&&(CITY[l.a].gcc||CITY[l.a].uae))));} +function linkDown(l){return linkCut(l)||(l.kind==='vxc'&&!!S.ev.fab&&S.ev.fab[l.prov]>S.day)||(l.kind==='df'&&dfCap(l)<=0)||(l.kind==='xp'&&xpDown(l));} function remoteCities(){return [...new Set(S.links.filter(l=>l.kind==='vxc').flatMap(l=>[l.a,l.b]))].filter(c=>!S.pops[c]);} function nniUsed(c,prov){return S.links.filter(l=>l.kind==='vxc'&&l.prov===prov&&(l.a===c||l.b===c)).reduce((a,l)=>a+VXC[l.vt].g,0)+S.biz.filter(b=>BIZ_T[b.type].nni&&b.prov===prov&&b.city===c).reduce((a,b)=>a+b.bw,0);} // Monthly price of one connection; compute() sums these, the connections overview lists them. diff --git a/src/game/80-simulation/50-sanitize.js b/src/game/80-simulation/50-sanitize.js index b18f5b9..ed6494c 100644 --- a/src/game/80-simulation/50-sanitize.js +++ b/src/game/80-simulation/50-sanitize.js @@ -21,8 +21,9 @@ function sanitize(s){ if(!isCity(s.home))s.home=Object.keys(s.pops)[0]||'fra'; opsSanitize(s); const tier=v=>int(v,0,PORT.length-1,0),lag=v=>int(v,1,LAG_MAX,1),sid=v=>String(v==null?uid():v).slice(0,40); - s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);if(l.list!==undefined){const L=l.list;if(l.kind==='df'&&L&&typeof L==='object'&&!Array.isArray(L)){const w=int(L.w,0,256,0),p=int(L.p,0,2,0);if(w||p)l.list={w,p};else delete l.list;}else delete l.list;}l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.cname!=null)l.cname=String(l.cname).slice(0,60);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&(!own(CAB,l.cable)||!cablePair(l.cable,l.a,l.b)))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);if(l.day!==undefined)l.day=Math.min(s.day,Math.max(0,num(l.day,s.day)));for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.seaPath!==undefined){if(l.own&&l.sub&&Array.isArray(l.seaPath)&&l.seaPath.length>=2&&l.seaPath.length<=2048&&l.seaPath.every(p=>Array.isArray(p)&&p.length===2&&p.every(Number.isFinite)&&Math.abs(p[0])<=180&&Math.abs(p[1])<=90))l.seaPath=l.seaPath.map(p=>p.slice());else delete l.seaPath;}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);return l;}); + s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);if(l.list!==undefined){const L=l.list;if(l.kind==='df'&&L&&typeof L==='object'&&!Array.isArray(L)){const w=int(L.w,0,256,0),p=int(L.p,0,2,0);if(w||p)l.list={w,p};else delete l.list;}else delete l.list;}l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.cname!=null)l.cname=String(l.cname).slice(0,60);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc'&&l.kind!=='xp')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&(!own(CAB,l.cable)||!cablePair(l.cable,l.a,l.b)))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);if(l.day!==undefined)l.day=Math.min(s.day,Math.max(0,num(l.day,s.day)));for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.seaPath!==undefined){if(l.own&&l.sub&&Array.isArray(l.seaPath)&&l.seaPath.length>=2&&l.seaPath.length<=2048&&l.seaPath.every(p=>Array.isArray(p)&&p.length===2&&p.every(Number.isFinite)&&Math.abs(p[0])<=180&&Math.abs(p[1])<=90))l.seaPath=l.seaPath.map(p=>p.slice());else delete l.seaPath;}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);return l;}); for(const l of s.links)repairSubUpgradeDates(l,s.day); + xpSanitize(s); /* Metrics moved from each link to its city pair (#122). Older saves routed a pair at the lowest metric of its links, with all of them carrying traffic, so the pair keeps that metric and nothing goes on standby. */ {const pm=s.pairMet,lo={};for(const l of s.links){if(l.metric!==undefined){const k=edgeKey(l),m=own(MET,l.metric)?l.metric:'normal';if(!lo[k]||MET[m].f{const ok=REQS[k].ok(o),lab=typeo function diversePaths(a,b){ const rem=remoteCities(),ok=c=>popUp(c)||rem.includes(c); return disjointRoutes(a,b,S.links.filter(l=>!linkDown(l)&&ok(l.a)&&ok(l.b)));} -function disjointRoutes(a,b,live){const srlg=l=>l.kind==='vxc'?'fab:'+l.prov:(l.trench||l.id); +function disjointRoutes(a,b,live){const srlg=l=>l.kind==='vxc'?['fab:'+l.prov]:l.kind==='xp'?xpRisk(l):[l.trench||l.id]; const bfs=ls=>{const adj={};for(const l of ls){(adj[l.a]=adj[l.a]||[]).push([l.b,l]);(adj[l.b]=adj[l.b]||[]).push([l.a,l]);} const prev={[a]:null},q=[a];while(q.length){const u=q.shift();if(u===b)break;for(const [v,l] of adj[u]||[])if(!(v in prev)){prev[v]=l;q.push(v);}} if(!(b in prev))return null;const path=[];let v=b;while(v!==a){const l=prev[v];path.push(l);v=l.a===v?l.b:l.a;}return path;}; - const p1=bfs(live);if(!p1)return false;const used=new Set(p1.map(srlg));return !!bfs(live.filter(l=>!used.has(srlg(l))));} + const p1=bfs(live);if(!p1)return false;const used=new Set(p1.flatMap(srlg));return !!bfs(live.filter(l=>!srlg(l).some(r=>used.has(r))));} // Check buildable geography, not today's POPs, capacity or outages. Parallel land // routes can use separate trenches; all segments of one cable share its risk. let diversityMap=null; @@ -75,7 +75,7 @@ function fiberOk(b,ids){const l=ids?ids.get(b.link):S.links.find(x=>x.id===b.lin function soldSlots(l,u){return u?u.sold.get(l.id)||0:S.biz.filter(b=>b.type==='wwave'&&b.link===l.id).reduce((a,b)=>a+(b.slots||0),0);} // Spare capacity other carriers can rent on a dark fiber (#51): free channels for alien waves, and on your own build // a spare pair in the trench. Random offers and broker listings follow the same rules and the same prices. -const freeCh=(l,u)=>chMax(l)-(l.ch||[]).length-soldSlots(l,u),pairFree=(l,u)=>!!l.own&&(u?u.dfp.get(l.id)||0:S.biz.filter(b=>b.type==='dfpair'&&b.link===l.id).length)<2&&!(u?u.pairs.has(l.id):S.biz.some(b=>(b.type==='pairs'||b.type==='capfib')&&b.link===l.id)); +const freeCh=(l,u)=>chMax(l)-(l.ch||[]).length-soldSlots(l,u)-xpSlots(l),pairFree=(l,u)=>!!l.own&&(u?u.dfp.get(l.id)||0:S.biz.filter(b=>b.type==='dfpair'&&b.link===l.id).length)<2&&!(u?u.pairs.has(l.id):S.biz.some(b=>(b.type==='pairs'||b.type==='capfib')&&b.link===l.id)); const wwWhat=(l,n)=>trn('requirements.n_400g_alien_wave_on_your',n,{a:CITY[l.a].name,b:CITY[l.b].name}); function fiberOffer(t,l,nm,cut=1){ if(t==='wwave'){const slots=1+Math.floor(Math.random()*Math.min(4,freeCh(l))); diff --git a/src/game/80-simulation/65-express.js b/src/game/80-simulation/65-express.js new file mode 100644 index 0000000..d10ac7b --- /dev/null +++ b/src/game/80-simulation/65-express.js @@ -0,0 +1,87 @@ +/* Express lightpaths (#58): a wave from A to C over your own (or leased) dark fibers A–B, B–C… that passes B through its + ROADM as light, so B's routers never see it: no ports there, no hop, a little less latency. It is a link of its own + (kind 'xp') between A and C: via lists the fibers it rides in order from a, ch its optics. Every channel takes one + slot on each of those fibers, and the light has to make the whole run between regen sites in one go. */ +const XP_HOPS=6,XP_PASS=5000,XP_BUDGET=4000,XP_CH=64; +// The fibers an express can ride: dark fiber on land with a ROADMaster (your own build or an IRU). Subsea line +// systems end at the landing station, so a wave never runs through one into the land network. +const xpSpanOk=s=>!!s&&s.kind==='df'&&!s.sub&&isRdm(s.sys); +/* What the expresses take on each fiber, and the links by id, kept while S.links and every express's optics and path + are the same: the map, compute() and the free-channel checks ask often, and most networks have no express at all. */ +const XPX={L:null,n:-1,xs:[],m:null,ids:null}; +function xpIdx(){const L=S.links;let ok=XPX.L===L&&XPX.n===L.length; + if(ok)for(const x of XPX.xs)if((x[0].ch||[]).length!==x[1]||x[0].via!==x[2]){ok=false;break;} + if(!ok){const m=new Map(),xs=[];for(const l of L)if(l.kind==='xp'){const n=(l.ch||[]).length;xs.push([l,n,l.via]);for(const id of l.via||[])m.set(id,(m.get(id)||0)+n);} + XPX.L=L;XPX.n=L.length;XPX.xs=xs;XPX.m=m;XPX.ids=null;} + return XPX;} +function xpLink(id){const X=xpIdx();if(!X.ids){X.ids=new Map();for(const l of S.links)if(!X.ids.has(l.id))X.ids.set(l.id,l);}return X.ids.get(id);} +// Channel slots express channels take on fiber l. +function xpSlots(l){return xpIdx().m.get(l.id)||0;} +// The expresses riding fiber id, and a list of links with every express that rides one of them added. +const xpOver=id=>xpIdx().xs.filter(x=>(x[0].via||[]).includes(id)).map(x=>x[0]); +function xpWith(ls){const ids=new Set(ls.map(l=>l.id)),out=ls.slice();for(const [x] of xpIdx().xs)if(!ids.has(x.id)&&(x.via||[]).some(id=>ids.has(id))){out.push(x);ids.add(x.id);}return out;} +// The fibers of an express, in order (null when one is gone). +function xpSpans(l){const v=l.via;if(!Array.isArray(v)||!v.length)return null;const out=[];for(const id of v){const s=xpLink(id);if(!xpSpanOk(s))return null;out.push(s);}return out;} +// The cities a chain of fibers passes from a, end included; null when they do not chain or come back to a city. +function xpCities(a,sp){const cs=[a];let c=a;for(const s of sp){const n=s.a===c?s.b:s.b===c?s.a:null;if(!n||cs.includes(n))return null;cs.push(n);c=n;}return cs;} +// Free slots on a fiber for one more express channel: what its line system holds, less lit, sold and express channels. +const xpFree=s=>chMax(s)-(s.ch||[]).length-soldSlots(s)-xpSlots(s); +/* The longest stretch the light runs without being regenerated. Regen sites split each fiber into equal spans, as for + its own channels; through a city the light goes on, so the last span of one fiber and the first of the next add up. */ +function xpRunKm(sp){let cur=0,mx=0;for(const s of sp){const r=s.regen|0,p=s.km/(r+1);if(!r){cur+=s.km;continue;}cur+=p;if(cur>mx)mx=cur;if(p>mx)mx=p;cur=p;}return Math.ceil(Math.max(mx,cur));} +// What optic o carries over that run (0: out of reach), cached like every channel (optG). +const xpOptG=(o,run)=>OPT[o]?optG(o,{km:run}):0; +function xpG(l){const sp=xpSpans(l);if(!sp)return 0;const run=xpRunKm(sp);let g=0;for(const o of l.ch||[])g+=xpOptG(o,run);return g;} +// The fastest single channel, as a scenario's fast path asks of every hop. +function xpHopG(l){const sp=xpSpans(l);if(!sp)return 0;const run=xpRunKm(sp);return Math.max(0,...(l.ch||[]).map(o=>xpOptG(o,run)));} +// Dark when a fiber under it is cut, still being built or has its line system down, or nothing lit reaches. +function xpDown(l){const sp=xpSpans(l);if(!sp)return true;const d=S.day;for(const s of sp)if(linkCut(s)||s.ready>d||s.eqDown>d)return true;return xpG(l)<=0;} +// The cities an express passes without touching a router, for its labels. +function xpVia(l){const sp=xpSpans(l),cs=sp&&xpCities(l.a,sp);return cs?cs.slice(1,-1).map(c=>CITY[c].name).join(', '):'';} +// A fiber that carries only expresses is dark as a link of its own, but there is light in it: a backhoe or a monkey +// that cuts fibers still finds it. Fibers only: linkDown() of an express asks xpDown(), never this. +const xpBare=l=>l.kind==='df'&&!l.sub&&xpSlots(l)>0&&linkDown(l)&&!linkCut(l)&&!(l.ready>S.day)&&!(l.eqDown>S.day); +// The light runs the whole way in glass: the fibers' own latency added up, and no router in between. +function xpLat(l){const sp=xpSpans(l);return sp?sp.reduce((a,s)=>a+linkLat(s),0):l.km*1.1/200;} +// What one backhoe can take out: every trench the express runs in (diverse paths and redundancy checks). +function xpRisk(l){const sp=xpSpans(l);return sp?sp.map(s=>s.trench||s.id):[l.id];} +// The furthest any optic reaches at its slowest setting: a longer run is never worth listing. +let XP_REACH=0;const xpReachMax=()=>XP_REACH||(XP_REACH=Math.max(...Object.values(OPT).map(O=>O.modes.at(-1)[1]))); +/* Ways to chain ROADM fibers from city a: to b (every path, shortest first, k of them) or, with b null, the shortest + path to each city two or more fibers away. first: the path starts on that fiber. The search is bounded: a few dozen + fibers is a big optical network, and XP_HOPS and XP_BUDGET keep it small on the biggest. */ +function xpPaths(a,b,first,k=3){const adj=new Map();for(const s of S.links)if(xpSpanOk(s))for(const c of [s.a,s.b]){let L=adj.get(c);if(!L)adj.set(c,L=[]);L.push(s);} + if(!adj.has(a))return [];for(const L of adj.values())L.sort((x,y)=>x.km-y.km); + const out=[],best=new Map(),seen=new Set([a]),path=[];let budget=XP_BUDGET; + const go=(c,km)=>{for(const s of adj.get(c)||[]){if(--budget<0)return;if(!path.length&&first&&s!==first)continue;const n=s.a===c?s.b:s.a;if(seen.has(n))continue; + const d=km+s.km;path.push(s);seen.add(n); + if(path.length>=2){if(b==null){const o=best.get(n);if(!o||dx.km-y.km||x.sp.length-y.sp.length).slice(0,k);} +// The express already lit on this path, either way round. +function xpFind(a,b,ids){const k=ids.join(','),r=ids.slice().reverse().join(',');return xpIdx().xs.map(x=>x[0]).find(x=>(x.a===a&&x.b===b&&(x.via||[]).join(',')===k)||(x.a===b&&x.b===a&&(x.via||[]).join(',')===r))||null;} +// A typed order's path: fiber ids, comma-separated, chaining from a to b (null when it does not). +function xpParse(a,b,via){if(!isCity(a)||!isCity(b)||a===b||!S.pops[a]||!S.pops[b]||typeof via!=='string')return null;const ids=via.split(','); + if(ids.length<2||ids.length>XP_HOPS||new Set(ids).size!==ids.length)return null;const sp=ids.map(id=>S.links.find(x=>x.id===id)); + if(!sp.every(xpSpanOk))return null;const cs=xpCities(a,sp);return cs&&cs[cs.length-1]===b?sp:null;} +// Why one more channel of optic o cannot run from a to b over these fibers ('' when it can). +function xpWhy(a,b,sp,o){const O=OPT[o];if(!O)return '';if(!techOk('opt',o,O.lvl))return tr('action_helpers.unlocks_at_customer_level_n',{n:O.lvl}); + const run=xpRunKm(sp);if(!xpOptG(o,run))return tr('express.too_far',{run:run.toLocaleString(),max:O.modes.at(-1)[1].toLocaleString()}); + for(const s of sp)if(xpFree(s)<1)return tr('express.fiber_full',{a:CITY[s.a].name,b:CITY[s.b].name,max:chMax(s)}); + for(const c of [a,b]){const p=S.pops[c];if(!p)return linkFromWhy(c);if(RG[p.rgen||0].clsa+(s.regen|0),0);return Math.round(optCost(o)*(spareN(o)>0?r:1+r))+(fresh?XP_PASS*(sp.length-1):0);} +// Taking a regen site off fiber l (to n sites) must leave every express on it in reach. +function xpRegenBad(l,n){return xpOver(l.id).some(x=>{const sp=xpSpans(x);if(!sp)return false;const run=xpRunKm(sp.map(s=>s===l?{km:s.km,regen:n}:s));return (x.ch||[]).some(o=>!xpOptG(o,run));});} +/* Saves: an express must ride fibers that are still there, chain from a to b and carry real optics; anything else is + dropped and its optics go back on the shelf. km is worked out again from the fibers. */ +function xpSanitize(s){const ids=new Map();for(const l of s.links)if(!ids.has(l.id))ids.set(l.id,l);const drop=new Set(); + for(const l of s.links){if(l.kind!=='xp')continue;const via=Array.isArray(l.via)?l.via.map(String):[],sp=via.map(id=>ids.get(id)),ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)).slice(0,XP_CH):[]; + let ok=via.length>=2&&via.length<=XP_HOPS&&new Set(via).size===via.length&&sp.every(xpSpanOk)&&ch.length>0; + if(ok){const cs=xpCities(l.a,sp);ok=!!cs&&cs[cs.length-1]===l.b;} + if(!ok){drop.add(l);if(ch.length){if(!s.spares||typeof s.spares!=='object'||Array.isArray(s.spares))s.spares={};for(const o of ch)s.spares[o]=(Math.floor(+s.spares[o])||0)+1;}continue;} + for(const k of ['cable','trench','seat','own','list','regen','sys','ready','eqDown','chFail','pairs','tier','premium','border','mult','prov','vt','spares','sub'])delete l[k]; + l.via=via;l.ch=ch;l.km=Math.max(1,Math.round(sp.reduce((a,x)=>a+num(x.km,0),0)));l.mo=0;} + if(drop.size)s.links=s.links.filter(l=>!drop.has(l));} diff --git a/src/game/80-simulation/80-geography-and-latency.js b/src/game/80-simulation/80-geography-and-latency.js index 72c8f0f..f48a5fd 100644 --- a/src/game/80-simulation/80-geography-and-latency.js +++ b/src/game/80-simulation/80-geography-and-latency.js @@ -30,7 +30,7 @@ const LAND_X=45,landX=(a,b)=>!isSub(a,b)&&CITY[a].reg!==CITY[b].reg&&CITY[a].cc! function landMult(a,b){if(isSub(a,b))return 1;if(uaePair(a,b))return 3;return (landX(a,b)?LAND_X:1)*(andesPair(a,b)?2:1)*(nullPair(a,b)?NULLARBOR:1)*(rainPair(a,b)?2:1)*(borderPair(a,b)?2:1);} function landWhy(a,b){if(isSub(a,b))return '';if(uaePair(a,b))return tr('geography_and_latency.inside_the_uae_only_the_two'); const r=[];if(landX(a,b))r.push(tr('geography_and_latency.overland_between_continents_crosses',{x:LAND_X}));if(andesPair(a,b))r.push(tr('geography_and_latency.this_route_crosses_the_andes_2'));if(nullPair(a,b))r.push(tr('geography_and_latency.this_route_crosses_the_nullarbor_x',{x:NULLARBOR}));if(borderPair(a,b))r.push(tr('geography_and_latency.this_route_crosses_a_border_in'));if(rainPair(a,b))r.push(tr('geography_and_latency.this_route_goes_into_the_amazon'));return r.join(' ');} -function linkLat(l){const f=l.kind==='df'?(l.own?(l.sub?seaLatencyFactor(l):1.1):1.25):l.kind==='vxc'?1.4:l.cable?(CAB[l.cable].lat||1):1.3;return l.km*f/200;} +function linkLat(l){if(l.kind==='xp')return xpLat(l);const f=l.kind==='df'?(l.own?(l.sub?seaLatencyFactor(l):1.1):1.25):l.kind==='vxc'?1.4:l.cable?(CAB[l.cable].lat||1):1.3;return l.km*f/200;} /* Wave prices differ a lot by market (TeleGeography): Europe's dense, competitive metro and long-haul routes are cheap (Frankfurt–London 100G ≈ $1,150/mo), the US costs more, and routes into Africa are several times dearer (Africa–Europe ≈ 5.9× London–New York). diff --git a/src/game/85-incidents/20-failures.js b/src/game/85-incidents/20-failures.js index 9266616..b4e3650 100644 --- a/src/game/85-incidents/20-failures.js +++ b/src/game/85-incidents/20-failures.js @@ -4,15 +4,18 @@ const anchorProne=l=>!!(l.cable&&CAB[l.cable]&&CAB[l.cable].anchor)||anchorPair( const wetSeason=()=>{const m=cal(S.day).m;return m>=10||m<=3;},wetCut=l=>!l.sub&&!!(CITY[l.a].wet||CITY[l.b].wet)&&wetSeason(); function fireFailure(only){ const opts=[]; - const live=S.links.filter(l=>l.kind!=='vxc'&&!linkDown(l));const fabsUsed=[...new Set(S.links.filter(l=>l.kind==='vxc').map(l=>l.prov))]; - if(live.length){opts.push(['cut',2+Math.min(6,live.length/2)]);} + const live=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&!linkDown(l));const fabsUsed=[...new Set(S.links.filter(l=>l.kind==='vxc').map(l=>l.prov))]; + // A fiber that only carries expresses is dark as a link of its own, but there is light in it: a backhoe still finds it. + const bare=S.links.filter(xpBare),dug=live.concat(bare); + if(dug.length){opts.push(['cut',2+Math.min(6,dug.length/2)]);} if(Object.keys(S.pops).length)opts.push(['crash',3],['power',2]); if(Object.values(S.pops).some(p=>p.site2))opts.push(['ring',1.2]); if(S.transit.some(t=>!(t.down>S.day)))opts.push(['transit',3]); if(Object.keys(S.ixp).length)opts.push(['ixloop',2]); if(S.transit.length&&S.day>60)opts.push(['leak',2]); if(fabsUsed.length)opts.push(['fabric',1.5]); - const lit=S.links.filter(l=>l.kind==='df'&&dfCap(l)>0&&!linkDown(l));if(lit.length)opts.push(['amp',1.5+lit.length*0.3],['optic',1.5+lit.length*0.3]); + // Amp huts and ROADMs carry every channel in the glass, the expresses' too; an optic of its own needs a channel of its own. + const lit=S.links.filter(l=>l.kind==='df'&&dfCap(l)>0&&!linkDown(l)),amps=lit.concat(bare);if(amps.length)opts.push(['amp',1.5+amps.length*0.3]);if(lit.length)opts.push(['optic',1.5+lit.length*0.3]); // Two vendors' idea of the same protocol: the higher the backbone runs, the more often they disagree. const iop=coreIopRisk()?coreIopLinks(live):[];if(iop.length)opts.push(['interop',3*coreIopRisk()]); opts.push(['funny',4]); @@ -20,7 +23,7 @@ function fireFailure(only){ let tot=opts.reduce((a,o)=>a+o[1],0),r=Math.random()*tot,type=opts[0][0]; for(const o of opts){r-=o[1];if(r<=0){type=o[0];break;}} if(only)type=only; - if(type==='funny'){const f=['oops','cleaner','harmless','harmless','harmless','ac'];if(live.length)f.push('fatwave','fatwave','mtu','label','loss','loss');if(lagsN().length)f.push('lacp','lacp');if(R.demand>1)f.push('pmtud');if(S.transit.length)f.push('prepend');if(S.day>30)f.push('rpki');if(lit.length)f.push('roadmff');type=pick(f);} + if(type==='funny'){const f=['oops','cleaner','harmless','harmless','harmless','ac'];if(live.length)f.push('fatwave','fatwave','mtu','label','loss','loss');if(lagsN().length)f.push('lacp','lacp');if(R.demand>1)f.push('pmtud');if(S.transit.length)f.push('prepend');if(S.day>30)f.push('rpki');if(amps.length)f.push('roadmff');type=pick(f);} const before=R.served; if(type==='harmless'){const m=pick(HARMLESS);S.stats.incidents++;S.stats.survived++;toast(`${m[0]}
${m[1]}`,'goal');sfx('alert');return;} if(type==='ring'){const cs=Object.keys(S.pops).filter(c=>S.pops[c].site2),c=pick(cs),pp=S.pops[c],dur=2+Math.floor(Math.random()*3);pp.ringcut=S.day+dur; @@ -75,7 +78,7 @@ function fireFailure(only){ }else if(type==='rpki'){ S.ev.rpki={until:S.day+3,nets:NETS.map(n=>n.id).filter(()=>Math.random()<0.5)};addInc({type,ref:'rpki',until:S.day+3,msg:tr('failures.your_roa_expired_over_the_weekend'),cost:1000,fix:tr('failures.renew_the_roa')}); }else if(type==='amp'||type==='roadmff'){ - const l=pick(lit),A=CITY[l.a].name,B=CITY[l.b].name,dur=type==='roadmff'?1:(l.spares?1:2+Math.floor(Math.random()*3));l.eqDown=S.day+dur; + if(!amps.length)return;const l=pick(amps),A=CITY[l.a].name,B=CITY[l.b].name,dur=type==='roadmff'?1:(l.spares?1:2+Math.floor(Math.random()*3));l.eqDown=S.day+dur; const msg=type==='roadmff'?tr('failures.you_fat_fingered_the_channel_plan',{a:A,b:B}):pick([tr('failures.an_in_line_amplifier_hut_between',{a:A,b:B}),tr('failures.someone_stole_the_copper_grounding',{a:A,b:B}),tr('failures.a_firmware_bug_in_the_sys',{sys:DF_SYS[l.sys].n,a:A}),tr('failures.lightning_hit_an_amp_site_on',{a:A,b:B})]); addInc({type,ref:l.id,until:l.eqDown,msg:msg+(type==='amp'&&l.spares?' '+tr('failures.your_spares_kit_gets_it_back'):''),cost:type==='amp'&&!l.spares?AMP_COST:0,fix:tr('failures.truck_a_spare_amp_out')}); }else if(type==='optic'){ @@ -83,7 +86,7 @@ function fireFailure(only){ addInc({type,ref:l.id,until:S.day+dur,msg:pick([tr('failures.a_optic_on_a_b_overheated',{optic:OPT[o].n,a:A,b:B}),tr('failures.the_laser_in_a_optic_on',{optic:OPT[o].n,a:A,b:B}),tr('failures.a_optic_on_a_b_started',{optic:OPT[o].n,a:A,b:B})])+(l.spares?' '+tr('failures.swapped_from_your_spares_kit_by'):''),cost:l.spares?0:OPT[o].cost,fix:tr('failures.buy_a_replacement')}); }else if(type==='cut'){ const mon=cal(S.day).m,monsoon=mon>=5&&mon<=8,tw=x=>(x.sub&&(x.a==='tpe'||x.b==='tpe'||(x.cable&&CAB[x.cable].anchor)))||(scnRule('anchors')&&anchorProne(x)),vn=x=>x.sub&&(x.a==='sgn'||x.b==='sgn'),inl=x=>!x.sub&&(CITY[x.a].india||CITY[x.b].india); - const pool=only&&scnRule('anchors')?live.filter(anchorProne):live;if(!pool.length)return;const l=pick(pool.flatMap(x=>{const w=(x.cable&&CAB[x.cable].age==='old'?3:1)*(x.cable&&CAB[x.cable].fragile?3:1)*(tw(x)?4*(scnRule('anchors')?3:1):1)*(scnRule('sharks')&&x.sub?2:1)*(vn(x)?3:1)*(!x.sub&&andesPair(x.a,x.b)?4:1)*(monsoon&&inl(x)?3:1)*(x.sub&&(x.a==='oos'||x.b==='oos')?3:1);return Array(w).fill(x);})),dur=(10+Math.floor(Math.random()*8))*(wetCut(l)?2:1),trc=l.trench||l.id,hit=S.links.filter(x=>(x.trench||x.id)===trc);hit.forEach(x=>x.cut=Math.max(x.cut||0,S.day+dur)); + const pool=only&&scnRule('anchors')?dug.filter(anchorProne):dug;if(!pool.length)return;const l=pick(pool.flatMap(x=>{const w=(x.cable&&CAB[x.cable].age==='old'?3:1)*(x.cable&&CAB[x.cable].fragile?3:1)*(tw(x)?4*(scnRule('anchors')?3:1):1)*(scnRule('sharks')&&x.sub?2:1)*(vn(x)?3:1)*(!x.sub&&andesPair(x.a,x.b)?4:1)*(monsoon&&inl(x)?3:1)*(x.sub&&(x.a==='oos'||x.b==='oos')?3:1);return Array(w).fill(x);})),dur=(10+Math.floor(Math.random()*8))*(wetCut(l)?2:1),trc=l.trench||l.id,hit=S.links.filter(x=>(x.trench||x.id)===trc);hit.forEach(x=>x.cut=Math.max(x.cut||0,S.day+dur)); const A=CITY[l.a].name,B=CITY[l.b].name,au=CITY[l.a].au&&CITY[l.b].au,auSummer=mon>=11||mon<=1; const en=wetCut(l)?N_('failures.the_wet_season_washed_out_the'):l.sub&&(CITY[l.a].au||CITY[l.b].au)&&!(l.cable&&CAB[l.cable].fragile)&&Math.random()<0.35?pick([N_('failures.box_jellyfish_season_at_the_a'),N_('failures.a_great_white_took_an_interest')]):l.cable&&CAB[l.cable].fragile&&Math.random()<0.8?pick([N_('failures.your_a_b_cable_is_cut'),N_('failures.a_b_is_down_same_cable')]):!l.sub&&CITY[l.a].land==='nzs'&&CITY[l.b].land==='nzs'&&Math.random()<0.75?pick([N_('failures.a_kea_pulled_the_rubber_seals'),N_('failures.the_sandflies_drove_your_splicing'),N_('failures.a_farmer_s_post_hole_digger')]):l.cable==='cook'&&Math.random()<0.6?N_('failures.a_ferry_dropped_anchor_in_cook'):!l.sub&&au&&Math.random()<0.75?pick([N_('failures.a_sulphur_crested_cockatoo_chewed'),N_('failures.a_kangaroo_hit_the_fiber_hut'),N_('failures.thieves_dug_up_your_a_b'),N_('failures.a_kilometre_of_copper_went_missing'),N_('failures.a_backhoe_putting_in_a_new'),N_('failures.the_emus_won_again_a_mob'),N_('failures.a_kangaroo_boxed_your_field_tech'),N_('failures.a_drop_bear_fell_on_the'),N_('failures.an_eastern_brown_snake_moved_into'),...((S.day%365)/30.42>=8&&(S.day%365)/30.42<11?[N_('failures.magpie_swooping_season_the_field')]:[]),...(auSummer?[N_('failures.bushfire_season_the_fiber_along_a')]:[]),...(nullPair(l.a,l.b)?[N_('failures.your_a_b_fiber_broke_somewhere')]:[])]):l.sub&&(l.a==='bda'||l.b==='bda')&&Math.random()<0.7?pick([N_('failures.your_a_b_cable_went_quiet'),N_('failures.the_repair_ship_s_compass_spun')]):l.sub&&(l.a==='tbu'||l.b==='tbu')&&Math.random()<0.7?pick([N_('failures.an_undersea_volcano_erupted_next_to'),N_('failures.the_seabed_off_tonga_slid_down')]):vn(l)&&Math.random()<0.8?pick([N_('failures.another_of_vietnam_s_subsea_cables'),N_('failures.your_a_b_cable_broke_in')]):!l.sub&&(l.a==='drw'||l.b==='drw')&&Math.random()<0.7?pick([N_('failures.a_crocodile_took_a_bite_out'),N_('failures.termites_ate_the_duct_on_a')]):tw(l)&&Math.random()<0.8?pick([N_('failures.a_cargo_ship_forgot_to_raise'),N_('failures.another_anchor_another_cut_your_a'),N_('failures.a_fishing_boat_with_an_unusually')]):l.sub&&(l.a==='oos'||l.b==='oos')&&Math.random()<0.8?pick([N_('failures.a_trawler_off_ostend_dragged_its'),N_('failures.a_wind_farm_service_vessel_dropped')]):!l.sub&&(CITY[l.a].ca||CITY[l.b].ca)&&Math.random()<0.4?pick([N_('failures.a_beaver_chewed_through_your_a'),N_('failures.your_a_b_fiber_is_down'),N_('failures.frost_heave_cracked_the_duct_on')]):!l.sub&&andesPair(l.a,l.b)?pick([N_('failures.a_landslide_in_the_andes_buried'),N_('failures.snow_closed_the_mountain_pass_and'),N_('failures.an_earthquake_shook_your_a_b'),N_('failures.a_llama_herd_trampled_the_fiber')]):!l.sub&&(CITY[l.a].india||CITY[l.b].india)?pick([N_('failures.road_widening_near_a_cut_your'),N_('failures.the_monsoon_flooded_a_manhole_on'),N_('failures.a_digger_found_your_a_b')]):l.sub?pick([N_('failures.a_curious_shark_bit_your_subsea'),N_('failures.a_ship_dragged_its_anchor_across'),N_('failures.an_undersea_landslide_snapped_a_b')]):pick([N_('failures.a_backhoe_found_your_fiber_between'),N_('failures.squirrels_chewed_through_a_b_they'),N_('failures.road_works_cut_a_b_nobody')]); addInc({type,ref:trc,until:S.day+dur,msg:tr(en,{a:A,b:B})+(hit.length>1?' '+tr('failures.all_n_links_in_that_trench',{n:hit.length}):''),cost:Math.max(4000,Math.round(hit.reduce((a,x)=>a+x.mo,0)*0.5))},en); diff --git a/src/game/85-incidents/40-chaos-monkey.js b/src/game/85-incidents/40-chaos-monkey.js index 513979b..668478e 100644 --- a/src/game/85-incidents/40-chaos-monkey.js +++ b/src/game/85-incidents/40-chaos-monkey.js @@ -22,7 +22,7 @@ function mkTick(d){const M=S.monkey;if(!M)return; if(!mkElig()){if(M.on)mkLeave('quiet');return;} // The first visit is spread by the ASN, not the dice, so a game's other luck stays exactly as it was. if(M.next==null)M.next=d+(mkSpicy()?180:270)+(S.asn||0)%120; - if(!M.on){if(dl.kind!=='vxc'&&!linkDown(l)).length<3){M.next=d+30;return;}mkArrive(d);return;} + if(!M.on){if(dl.kind!=='vxc'&&l.kind!=='xp'&&(!linkDown(l)||xpBare(l))).length<3){M.next=d+30;return;}mkArrive(d);return;} if(d>=M.until){mkLeave();return;} if(d>=M.snip){mkSnip();M.snip=d+(mkSpicy()?rint(9,7):rint(14,11));}} function mkArrive(d){const M=S.monkey,cs=Object.keys(S.pops),len=mkSpicy()?rint(180,61):rint(120,121); @@ -30,7 +30,7 @@ function mkArrive(d){const M=S.monkey,cs=Object.keys(S.pops),len=mkSpicy()?rint( Object.assign(M,{on:1,start:d,until:d+len,snip:d+3,n:0,hurt:0,c:cs.length?pick(cs):S.home}); toast(tr('chaos_monkey.arrived',{n:len}),'bad',[{l:tr('chaos_monkey.banana',{cost:fmt$(mkBananaCost())}),act:'mkBanana',args:{}}],{a:'tab',v:'noc'});sfx('alert');track('monkey_arrive'); if(typeof mkStart==='function'&&CITY[M.c])mkStart(M.c);} -function mkSnip(){const M=S.monkey,live=S.links.filter(l=>l.kind!=='vxc'&&!linkDown(l));if(!live.length)return; +function mkSnip(){const M=S.monkey,live=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&(!linkDown(l)||xpBare(l)));if(!live.length)return; // Weak spots first: a sample keeps this cheap on big networks. const smp=live.length>40?Array.from({length:40},()=>pick(live)):live,l=pick(smp.flatMap(x=>mkWeak(x)?[x,x,x,x,x]:[x])); const dur=rint(3,4),trc=l.trench||l.id,hit=S.links.filter(x=>(x.trench||x.id)===trc),A=CITY[l.a].name,B=CITY[l.b].name,before=R.served; diff --git a/src/game/90-actions/50-customers.js b/src/game/90-actions/50-customers.js index d683de8..19aa159 100644 --- a/src/game/90-actions/50-customers.js +++ b/src/game/90-actions/50-customers.js @@ -5,7 +5,7 @@ Object.assign(ACT,{ toast(tr('broker.listed',{a:CITY[l.a].name,b:CITY[l.b].name}),'good');sfx('click');after();}, unlistFiber:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||!l.list)return;delete l.list;sfx('click');after();}, accept:({id,auto=false})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!ip4Fits(o)){const n=ip4Need(o);toast(tr('ip4.no_space',{name:esc(o.name),p:ip4Cidr(n),n:ip4N(n),free:ip4N(Math.max(0,ip4Use().free))}),'bad',[{l:tr('ip4.section'),act:'ip4Open'}]);sfx('err');return;}const customer=auto?autoOffer(o):offerCustomer(o);if(!customer)return;if(!bHas(o)){toast(tr('customers.you_need_a_pop_in_every'),'bad');return;} - if(o.type==='wwave'){const l=S.links.find(x=>x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)-xpSlots(l)=o.start){toast(tr('customers.too_late_the_event_has_already'),'bad');return;} // A carrier renting more alien waves on a fiber it already rents grows its contract, like a real order for extra waves, // instead of a new customer for every few waves (a big fiber business otherwise fills the save with tiny contracts). diff --git a/src/game/90-actions/60-links.js b/src/game/90-actions/60-links.js index 9848304..cf98a50 100644 --- a/src/game/90-actions/60-links.js +++ b/src/game/90-actions/60-links.js @@ -3,7 +3,7 @@ Object.assign(ACT,{ decomOpen:({city})=>{UI.decom=new Set(city&&S.pops[city]?[city]:[]);decomModal();}, decomToggle:({city})=>{if(!S.pops[city])return;UI.decom=UI.decom||new Set();if(UI.decom.has(city))UI.decom.delete(city);else UI.decom.add(city);decomModal();}, decomGo:()=>{const sel=[...(UI.decom||[])].filter(c=>S.pops[c]);if(!sel.length||sel.length>=Object.keys(S.pops).length)return;closeModal();UI.decom=null;UI.sel=null;decommission(sel);sfx('alert');after();}, - rmLink:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}{const l=S.links.find(x=>x.id===id),back=cabBack(l);if(back>0){S.cash+=back;toast(tr('links.name_is_called_off_the_cable',{name:esc(l.cname||tr('common.your_cable')),price:fmt$(back)}),'good');} + rmLink:({id})=>{{const n=xpOver(id).length;if(n){toast(trn('express.fiber_busy',n),'bad');sfx('err');UI.confirm=null;renderPanel();return;}}if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}{const l=S.links.find(x=>x.id===id),back=cabBack(l);if(back>0){S.cash+=back;toast(tr('links.name_is_called_off_the_cable',{name:esc(l.cname||tr('common.your_cable')),price:fmt$(back)}),'good');} const n=chBack(l?[l]:[]);if(n)toast(trn('links.n_optic_back_on_the_spares_shelf',n),'good');}S.links=S.links.filter(l=>l.id!==id);prunePairMet();UI.sel=null;UI.confirm=null;after();}, // The chaos monkey takes a banana and goes home early (no bonus). mkBanana:()=>{if(!mkOn())return;if(!spend(mkBananaCost()))return;S.stats.bananas=(S.stats.bananas||0)+1;mkLeave('banana');track('monkey_banana');after();}, @@ -14,7 +14,7 @@ Object.assign(ACT,{ myIxUp:({city})=>{const m=S.myIx[city];if(!m)return;const f=(m.fab|0)+1,N=MYIX_FAB[f];if(!N)return;if(N.lvl>lvl()){toast(tr('links.a_fab_fabric_unlocks_at_customer',{fab:N.n,lv:N.lvl}),'bad');sfx('err');return;}if(!spend(N.cost))return;m.fab=f;toast(tr('links.ix_now_runs_a_fab_fabric',{ix:esc(m.name),fab:N.n,max:N.max}),'good');m.next=Math.min(m.next,S.day+3);after();}, foundIx:({city})=>{if(!isCity(city))return;const why=foundIxWhy(city);if(why){toast(why,'bad');sfx('err');return;}if(!spend(MYIX_COST))return;const nm=(S.name.split(' ')[0]||'My').replace(/[^A-Za-z0-9]/g,'').slice(0,10)+'-IX '+CITY[city].name; S.myIx[city]={name:nm,members:[],next:S.day+4};S.ixp[city]=2;toast(tr('links.you_founded_ix_networks_will_join',{ix:esc(nm)}),'goal');after();}, - buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p||noTalk(p.a,p.b))return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); + buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p||noTalk(p.a,p.b))return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); if(!linkFromOk(a)||!linkToOk(b)||((cnCity(a)||cnCity(b))&&!cnOk()))return; if(!waveOk(a,b,tier)){toast(tr('links.a_wave_wave_needs_need_at',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;} const wr=waveRoute(a,b,mult,border);if(!wr){toast(tr('links.no_cable_available_for_that_route'),'bad');sfx('err');return;} diff --git a/src/game/90-actions/87-express.js b/src/game/90-actions/87-express.js new file mode 100644 index 0000000..2ab83e9 --- /dev/null +++ b/src/game/90-actions/87-express.js @@ -0,0 +1,22 @@ +// Express lightpaths (#58, 65-express.js): light a wave from a to b over a chain of your ROADM fibers, or one more +// channel on it; giving one up is rmLink, like any link. Every check is made here: tools and the NOC window send raw args. +Object.assign(ACT,{ + // The link window on its Express tab, from a fiber's panel or the tab itself. via: the path a fiber's panel offered, + // listed first even when shorter ones exist (the window checks it with xpParse). + xpOpen:({a,b,via})=>{if(!isCity(a)||!isCity(b)||a===b||!S.pops[a])return;UI.lmode='xp';UI.xpPath=typeof via==='string'?via.slice(0,400):null;openLinkModal(a,b);}, + // via: the fibers' ids in order from a, comma-separated. The same path again adds a channel to the express already there. + xpBuild:({a,b,via,o})=>{const sp=xpParse(a,b,via);if(!sp||!OPT[o]){toast(tr('express.no_such_path'),'bad');sfx('err');return;} + const ids=sp.map(s=>s.id),old=xpFind(a,b,ids),why=xpWhy(a,b,sp,o);if(why){toast(tr('express.cannot',{optic:OPT[o].n,why:esc(why)}),'bad');sfx('err');return;} + if(old&&(old.ch=old.ch||[]).length>=XP_CH)return;if(!portGate(a,chPorts(o,a))||!portGate(b,chPorts(o,b)))return;const spare=spareN(o)>0;if(!spend(xpCost(sp,o,!old)))return;if(spare)S.spares[o]--; + let l=old;if(l)l.ch.push(o);else{l={id:uid(),a,b,kind:'xp',via:ids,ch:[o],km:Math.round(sp.reduce((x,s)=>x+s.km,0)),mo:0,cut:0,day:S.day};S.links.push(l);} + closeModal();UI.sel={type:'link',id:l.id};UI.confirm=null; + toast(old?tr('express.one_more',{optic:OPT[o].n,a:CITY[l.a].name,b:CITY[l.b].name,n:l.ch.length}):tr('express.lit',{optic:OPT[o].n,a:CITY[a].name,b:CITY[b].name,via:esc(xpVia(l))}),'good');sfx('build');after();}, + // One channel more (d:1) or less (d:-1) on an express; an unplugged optic goes on the spares shelf. The last one stays: + // giving the express up is the link's own button. + xpCh:({id,o,d})=>{d=+d;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='xp'||!OPT[o]||(d!==1&&d!==-1))return;l.ch=l.ch||[];const mid=[(CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20]; + if(d<0){const i=l.ch.lastIndexOf(o);if(i<0)return;if(l.ch.length<2){toast(tr('express.last_channel'),'bad');sfx('err');return;} + l.ch.splice(i,1);S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;floater(mid[0],mid[1],tr('fiber_and_hardware.optic_to_spares',{optic:OPT[o].n}),'#7B61FF');after();return;} + const sp=xpSpans(l);if(!sp||l.ch.length>=XP_CH)return;const why=xpWhy(l.a,l.b,sp,o);if(why){toast(tr('express.cannot',{optic:OPT[o].n,why:esc(why)}),'bad');sfx('err');return;} + if(!portGate(l.a,chPorts(o,l.a))||!portGate(l.b,chPorts(o,l.b)))return;const spare=spareN(o)>0;if(!spend(xpCost(sp,o,false)))return;if(spare)S.spares[o]--; + l.ch.push(o);floater(mid[0],mid[1],`+${OPT[o].n}`,'#FF4F9A');after();}, +}); diff --git a/src/game/90-actions/87-fiber-and-hardware.js b/src/game/90-actions/87-fiber-and-hardware.js index 7eb2919..75b81db 100644 --- a/src/game/90-actions/87-fiber-and-hardware.js +++ b/src/game/90-actions/87-fiber-and-hardware.js @@ -18,19 +18,19 @@ Object.assign(ACT,{ const own=UI.dfSrc==='build'&&!sc,sys=DF_SYS[UI.dfSys]&&techOk('sys',UI.dfSys,DF_SYS[UI.dfSys].lvl)?UI.dfSys:'lite';if(glassLvl()<2)return; const up=(own?digCost(km):0)+sysCost(sys)+ampCount(km)*AMP_COST+(S.pops[b]?0:popCost(b));if(!spend(up))return; if(!S.pops[b]){S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0};popStdApply(b);} - const sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'),id=uid(); + const sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'),id=uid(); const l={id,a,b,kind:'df',own,sys,ch:[],km,sub:!!sc,cable:sc?sc.cid:null,mo:own?Math.round(km*0.15):dfLeaseMo(km),trench:sc?'cab:'+sc.cid:id,cut:0,day:S.day,ready:S.day+(own?dfBuildDays(km):leadDays(IRU_DAYS)),spares:false}; S.links.push(l);closeModal();UI.sel={type:'link',id}; toast(own?tr('fiber_and_hardware.groundbreaking_your_own_fiber_from_a',{a:CITY[a].name,b:CITY[b].name,n:dfBuildDays(km)}):tr('fiber_and_hardware.dark_fiber_iru_signed_a_b',{a:CITY[a].name,b:CITY[b].name}),'goal');after();}, regen:({id,d})=>{d=+d;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||(l.sub&&!l.seat)||(d!==1&&d!==-1))return;const n=(l.regen|0)+d;if(n<0||n>REGEN_MAX)return; - if(d<0&&(l.ch||[]).some(o=>!optMode(o,Object.assign({},l,{regen:n})))){toast(tr('fiber_and_hardware.those_optics_need_the_regen_site'),'bad');sfx('err');return;} + if(d<0&&((l.ch||[]).some(o=>!optMode(o,Object.assign({},l,{regen:n})))||xpRegenBad(l,n))){toast(tr('fiber_and_hardware.those_optics_need_the_regen_site'),'bad');sfx('err');return;} if(d>0&&!spend(REGEN_COST+Math.round((l.ch||[]).reduce((a,c)=>a+optCost(c),0)*REGEN_CH)))return;l.regen=n;toast(d>0?tr('fiber_and_hardware.regen_site_n_is_up_optical',{n,a:CITY[l.a].name,b:CITY[l.b].name,km:spanKm(l).toLocaleString()}):tr('fiber_and_hardware.regen_site_removed'),'good');sfx('build');after();}, addCh:({id,o})=>{const l=S.links.find(x=>x.id===id),O=OPT[o];if(!l||!O||l.kind!=='df')return;const why=chWhy(l,o);if(why){toast(tr('fiber_and_hardware.can_t_add_optic_why',{optic:O.n,why:esc(why)}),'bad');sfx('err');return;}if(!portGate(l.a,chPorts(o,l.a))||!portGate(l.b,chPorts(o,l.b)))return;const sp=spareN(o)>0;if(!spend(chCost(l,o)))return;if(sp)S.spares[o]--;(l.ch=l.ch||[]).push(o);floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,`+${O.n}`,'#FF4F9A');after();}, - rmCh:({id,o})=>{const l=S.links.find(x=>x.id===id);if(!l||!OPT[o])return;const i=(l.ch||[]).lastIndexOf(o);if(i<0)return;l.ch.splice(i,1);S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,tr('fiber_and_hardware.optic_to_spares',{optic:OPT[o].n}),'#7B61FF');after();}, + rmCh:({id,o})=>{const l=S.links.find(x=>x.id===id);if(!l||!OPT[o]||l.kind==='xp')return;const i=(l.ch||[]).lastIndexOf(o);if(i<0)return;l.ch.splice(i,1);S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;floater((CITY[l.a].x+CITY[l.b].x)/2,(CITY[l.a].y+CITY[l.b].y)/2-20,tr('fiber_and_hardware.optic_to_spares',{optic:OPT[o].n}),'#7B61FF');after();}, hwLock:()=>{if(hwLock())return;const c=hwLockCost();if(!spend(c))return;S.hw=S.hw||{};S.hw.lock={until:S.day+HW_LOCK_DAYS,mul:hwTrend(S.day)};toast(tr('fiber_and_hardware.prices_locked_until_date_your_vendor',{date:dateStr(S.hw.lock.until)}),'good');after();}, buySpare:({o})=>{if(!OPT[o]||!techOk('opt',o,OPT[o].lvl)||spareN(o)>=64)return;if(!spend(optCost(o)))return;S.spares=S.spares||{};S.spares[o]=(S.spares[o]||0)+1;sfx('build');after();}, sellSpare:({o})=>{if(!OPT[o]||spareN(o)<1)return;S.spares[o]--;const v=spareValue(o);S.cash+=v;toast(tr('fiber_and_hardware.sold_a_spare_optic_on_ebuy',{optic:OPT[o].n,price:fmt$(v),p:pct(SPARE_RESALE)}),'good');sfx('coin');after();}, - addPair:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||!isRdm(l.sys)||l.ready>S.day)return;const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return;if((l.ch||[]).length+soldSlots(l){const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||!l.own||!isRdm(l.sys)||l.ready>S.day)return;const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return;if((l.ch||[]).length+soldSlots(l)+xpSlots(l){const l=S.links.find(x=>x.id===id),to=l&&sysNext(l);if(!to||!techOk('sys',to,DF_SYS[to].lvl))return;if(!spend(sysUpCost(l)))return;l.sys=to;if(l.ready<=S.day){l.eqDown=S.day+1;toast(tr('fiber_and_hardware.line_system_swap_all_channels_are'),'bad');}after();}, spares:({id})=>{const l=S.links.find(x=>x.id===id);if(!l)return;l.spares=!l.spares;sfx('click');after();}, // Your own subsea cable: book a second lay ship before laying starts; it lays from the other end (50-cable-ships.js). diff --git a/src/game/90-actions/88-optic-counts.js b/src/game/90-actions/88-optic-counts.js index 6215bd5..8a4db1c 100644 --- a/src/game/90-actions/88-optic-counts.js +++ b/src/game/90-actions/88-optic-counts.js @@ -12,7 +12,7 @@ Object.assign(ACT,{ if(d>0){ const why=chWhy(l,o); if(why){toast(tr('fiber_and_hardware.can_t_add_optic_why',{optic:OPT[o].n,why:esc(why)}),'bad');sfx('err');return;} - const free=chMax(l)-(l.ch||[]).length-soldSlots(l); + const free=chMax(l)-(l.ch||[]).length-soldSlots(l)-xpSlots(l); if(d>free){toast(tr('optic_counts.only_n_channels_free',{n:free}),'bad');sfx('err');return;} if(!portGate(l.a,d*chPorts(o,l.a))||!portGate(l.b,d*chPorts(o,l.b))||!spend(opticCountCost(l,o,n)))return; const sp=Math.min(d,spareN(o));if(sp)S.spares[o]-=sp; diff --git a/src/game/90-actions/90-action-helpers.js b/src/game/90-actions/90-action-helpers.js index 735a4da..31b06aa 100644 --- a/src/game/90-actions/90-action-helpers.js +++ b/src/game/90-actions/90-action-helpers.js @@ -1,6 +1,6 @@ // Overland routes already dug between two cities, in the order they were built (#77). The first is the // main route; every other one was a diverse route and keeps that price when you add waves to it. -function landTrenches(a,b){const out=[];for(const l of pairLinks(a,b)){if(l.kind==='vxc'||l.cable||l.sub)continue;const k=l.trench||l.id;let t=out.find(x=>x.k===k);if(!t)out.push(t={k,n:0,caps:[]});t.n++;t.caps.push(capName(l));}return out;} +function landTrenches(a,b){const out=[];for(const l of pairLinks(a,b)){if(l.kind==='vxc'||l.kind==='xp'||l.cable||l.sub)continue;const k=l.trench||l.id;let t=out.find(x=>x.k===k);if(!t)out.push(t={k,n:0,caps:[]});t.n++;t.caps.push(capName(l));}return out;} // Which route a new wave joins: null = a new diverse route. 'same' is the old two-way choice (the main route). function routeJoin(a,b){const ts=landTrenches(a,b),r=UI.route||'';if(r==='same')return ts[0]||null;if(r.startsWith('t:'))return ts.find(t=>t.k===r.slice(2))||null;return null;} function pairLinks(a,b){return S.links.filter(l=>(l.a===a&&l.b===b)||(l.a===b&&l.b===a));} @@ -32,12 +32,12 @@ function optCost(o){return Math.round(OPT[o].cost*techMul(OPT[o].lvl)*hwMul('opt // Line systems upgrade in place: Rainbow → ROADMaster → C+L. Every lit pair gets the new gear. const sysNext=l=>l.sys==='lite'?'roadm':l.sys==='roadm'?'cl':null,sysUpCost=l=>{const t=sysNext(l);return t?sysCost(t)*(t==='cl'&&l.own?Math.max(1,l.pairs|0):1):0;}; function pairBtn(l){if(!l.own||!isRdm(l.sys)||l.ready>S.day)return '';const n=Math.max(1,l.pairs|0);if(n>=pairsMax(l))return `${tr('action_helpers.n_fiber_pairs_lit_the_trench',{n})}`; - const full=(l.ch||[]).length+soldSlots(l)>=chMax(l),c=pairCost(l);return btn(l.sub?tr('action_helpers.light_fiber_pair_n_price',{n:n+1,price:fmt$(c)}):tr('action_helpers.light_fiber_pair_n_price_mo',{n:n+1,price:fmt$(c),mo:fmt$(ampCount(l.km)*AMP_MO)}),'addPair',{id:l.id},full?'pink sm':'ghost sm',!full||S.cash=chMax(l),c=pairCost(l);return btn(l.sub?tr('action_helpers.light_fiber_pair_n_price',{n:n+1,price:fmt$(c)}):tr('action_helpers.light_fiber_pair_n_price_mo',{n:n+1,price:fmt$(c),mo:fmt$(ampCount(l.km)*AMP_MO)}),'addPair',{id:l.id},full?'pink sm':'ghost sm',!full||S.cash(OPT[x].sys!=='roadm'||isRdm(l.sys))&&optMode(x,withSubUps(l))).map(x=>OPT[x].n);if(alt.length)return tr('action_helpers.upgrades_cannot_stretch_this_optic',{...v,optics:alt.join(', ')});} return tr('action_helpers.this_channel_reaches_max_km_on',v);}return tr('action_helpers.too_far_even_at_its_slowest',{span:spanKm(l).toLocaleString(),max:mx.toLocaleString()});} - if((l.ch||[]).length+soldSlots(l)>=chMax(l))return soldSlots(l)?tr('action_helpers.sys_is_full_max_channels_sold',{sys:DF_SYS[l.sys].n,max:chMax(l),sold:soldSlots(l)}):tr('action_helpers.sys_is_full_max_channels',{sys:DF_SYS[l.sys].n,max:chMax(l)}); + if((l.ch||[]).length+soldSlots(l)+xpSlots(l)>=chMax(l))return soldSlots(l)?tr('action_helpers.sys_is_full_max_channels_sold',{sys:DF_SYS[l.sys].n,max:chMax(l),sold:soldSlots(l)}):tr('action_helpers.sys_is_full_max_channels',{sys:DF_SYS[l.sys].n,max:chMax(l)}); for(const c of [l.a,l.b]){const p=S.pops[c];if(p&&RG[p.rgen||0].cls

${tr('city_panel.fiber_from_city',{city:C.name})}

${tr('city_panel.drag_from_this_router_to_any')}

`; if(!ls.length)h+=`

${tr('common.no_links_yet')}

`; for(const l of ls){const o=l.a===c?l.b:l.a,u=capOf(l)?(R.load[l.id]||0)/capOf(l):0,cut=linkDown(l); - h+=`
→ ${CITY[o].name}${l.mult>1?' · '+tr('common.diverse'):''} ${cut?''+tr('common.cut')+'':''}
${capName(l)} · ${l.km.toLocaleString()} km ${l.kind==='vxc'?tr('city_panel.virtual_circuit_via_fab',{fab:esc(FAB[l.prov].name)}):l.kind==='df'?(l.own?(l.sub&&l.cname?tr('city_panel.your_own_subsea_cable_name',{name:esc(l.cname)}):tr('common.own_dark_fiber')):tr('city_panel.dark_fiber_iru'))+(l.ready>S.day?` · ${tr('city_panel.ready_in_n_d',{n:l.ready-S.day})}`:''):l.sub?tr('common.subsea'):tr('common.terrestrial')} · ${tr('common.price_mo',{price:fmt$(l.mo)})}
${btn(tr('common.open'),'selLink',{id:l.id},'ghost sm')}
`;} + h+=`
→ ${CITY[o].name}${l.mult>1?' · '+tr('common.diverse'):''} ${cut?''+tr('common.cut')+'':''}
${capName(l)} · ${l.km.toLocaleString()} km ${l.kind==='vxc'?tr('city_panel.virtual_circuit_via_fab',{fab:esc(FAB[l.prov].name)}):l.kind==='xp'?tr('express.city_via',{via:xpVia(l)}):l.kind==='df'?(l.own?(l.sub&&l.cname?tr('city_panel.your_own_subsea_cable_name',{name:esc(l.cname)}):tr('common.own_dark_fiber')):tr('city_panel.dark_fiber_iru'))+(l.ready>S.day?` · ${tr('city_panel.ready_in_n_d',{n:l.ready-S.day})}`:''):l.sub?tr('common.subsea'):tr('common.terrestrial')} · ${tr('common.price_mo',{price:fmt$(l.mo)})}
${btn(tr('common.open'),'selLink',{id:l.id},'ghost sm')}
`;} h+=``; if(Object.keys(S.pops).length>1)h+=`

${tr('common.decommission')}

${tr('city_panel.shut_this_pop_down_its_links')}

${btn(tr('city_panel.decommission_city',{city:C.name}),'decomOpen',{city:c},'ghost sm')}${btn(tr('city_panel.decommission_several_pops'),'decomOpen',{},'ghost sm')}
`; } diff --git a/src/game/93-ui/60-decommission.js b/src/game/93-ui/60-decommission.js index d8df5df..6b3024a 100644 --- a/src/game/93-ui/60-decommission.js +++ b/src/game/93-ui/60-decommission.js @@ -1,7 +1,8 @@ /* Decommissioning POPs. Customers that touch a decommissioned city, or ride a removed link, are let go with an early-termination penalty of three months of their contract. */ const DECOM_MONTHS=3; -function decomImpact(cities){const set=new Set(cities),links=S.links.filter(l=>set.has(l.a)||set.has(l.b)),lids=new Set(links.map(l=>l.id)); +// An express riding a fiber that goes is decommissioned with it. +function decomImpact(cities){const set=new Set(cities),links=xpWith(S.links.filter(l=>set.has(l.a)||set.has(l.b))),lids=new Set(links.map(l=>l.id)); const biz=S.biz.filter(b=>bCities(b).some(c=>set.has(c))||(b.link&&lids.has(b.link))); const pen=b=>Math.max(2000,Math.round(b.fee?b.fee*0.5:b.bw*b.rate*DECOM_MONTHS)); return {links,biz,pen,fee:biz.reduce((a,b)=>a+pen(b),0),eye:cities.reduce((a,c)=>a+(R.cityEye[c]||0),0)};} diff --git a/src/game/93-ui/70-link-panels.js b/src/game/93-ui/70-link-panels.js index 249a97f..200de31 100644 --- a/src/game/93-ui/70-link-panels.js +++ b/src/game/93-ui/70-link-panels.js @@ -117,7 +117,7 @@ function dfPanel(l){ if(bld){const tot=Math.max(1,l.ready-l.day),done=clamp((S.day-l.day)/tot,0,1); h+=`

${l.own?tr('common.under_construction'):tr('common.being_spliced')}

${l.own?tr('link_panels.permits_trenching_splicing'):tr('common.iru_handover')}${tr('common.n_days_left',{n:l.ready-S.day})}
${l.own&&l.sub?layPanel(l):l.own?`
${btn(tr('link_panels.hire_extra_crews_price_30_days',{price:fmt$(crewCost(l))}),'crews',{id:l.id},'sm',!crewSteps(l)||S.cash${!crewSteps(l)&&l.ready>S.day+1?`

${tr('link_panels.crews_can_halve_a_build_at_most')}

`:''}`:''}

${tr('link_panels.you_can_pre_install_optics_now')}

`;} else if(inc&&linkDown(l))h+=`

${tr('common.dark_6bf5')}

${esc(inc.msg)}

${shipNote(inc)}${inc.cost?btn(`${esc(inc.fix||tr('common.rush_repair'))} ${fmt$(inc.cost)}`,'fixInc',{id:inc.id},'red',S.cash`; - h+=`

${tr('common.capacity')}

${tr('link_panels.n_of_max_channels_lit',{n:(l.ch||[]).length,max:chMax(l)})}${soldSlots(l)?` · ${tr('link_panels.n_sold_as_alien_waves',{n:soldSlots(l)})}`:''}${fmtG(load)} / ${fmtG(cap)}
+ h+=`

${tr('common.capacity')}

${tr('link_panels.n_of_max_channels_lit',{n:(l.ch||[]).length,max:chMax(l)})}${soldSlots(l)?` · ${tr('link_panels.n_sold_as_alien_waves',{n:soldSlots(l)})}`:''}${xpSlots(l)?` · ${trn('express.n_carry_expresses',xpSlots(l))}`:''}${fmtG(load)} / ${fmtG(cap)}
${seatPanel(l)}${l.own&&l.sub?`
${tr('common.cable_design')}${tr((SEA_DESIGNS[l.seaDesign]||SEA_DESIGNS.standard).n)}
`:''}
${tr('common.latency')}${tr('common.ms_ms_one_way',{ms:linkLat(l).toFixed(1)})}
${l.own?tr('link_panels.right_of_way_upkeep'):tr('common.iru_lease')}${tr('common.price_mo',{price:fmt$(l.mo)})}
${tr('link_panels.n_amp_huts',{n:amps})}${tr('common.price_mo',{price:fmt$(amps*AMP_MO)})}
${!bld&&!(l.ch||[]).length?`

${tr('link_panels.this_fiber_is_dark_add_optics')}

`:''}
`; if(!bld){const sold=S.biz.filter(b=>b.link===l.id&&(b.type==='wwave'||b.type==='dfpair'||b.type==='pairs')),off=S.offers.find(o=>o.link===l.id),fc=freeCh(l); @@ -134,6 +134,7 @@ function dfPanel(l){ const rg=l.regen|0,rgAdd=REGEN_COST+Math.round((l.ch||[]).reduce((a,c)=>a+optCost(c),0)*REGEN_CH); h+=`

${tr('common.line_system')}

${esc(sysD.n)}${tr('link_panels.n_amplifiers',{n:amps})}
${tr('common.regen_sites')}${rg?tr('link_panels.n_optical_spans_of_km_km',{n:rg,km:spanKm(l).toLocaleString()}):tr('common.none')}

${tr('link_panels.a_regen_site_turns_the_light',{price:fmt$(REGEN_MO)})}

${l.seat?`

${tr('broker.seat_regen_note')}

`:''}${l.sub&&l.own&&!l.seat?`

${tr('link_panels.no_regen_sites_in_the_middle')}

`:`
${rg`}

${esc(sysD.blurb)}

${(()=>{const t=sysNext(l);if(!t)return '';const T=DF_SYS[t],c=sysUpCost(l);return !techOk('sys',t,T.lvl)?demoBtn('sys',t,T.lvl,tr('link_panels.sys_level_n',{sys:T.n,n:T.lvl}),'sm'):btn(tr('link_panels.upgrade_to_sys_price',{sys:T.n,price:fmt$(c)}),'upSys',{id:l.id},'sm',S.cash

${tr('link_panels.spare_optics_and_amplifier_cards_on')}

`; + h+=xpDfSection(l); {const sib=pairLinks(l.a,l.b).filter(x=>x!==l&&x.kind!=='vxc');h+=`

${tr('common.redundancy')}

${sib.length?tr('link_panels.other_links_between_these_cities'):tr('link_panels.this_is_the_only_link_between')}

${sib.map(x=>`
${esc(capName(x))} ${linkDown(x)?''+tr('common.cut')+'':''}${x.standby?' '+tr('common.standby')+'':''}
${(x.trench||x.id)===(l.trench||l.id)?tr('common.same_trench'):tr('common.diverse_route')}
${btn(tr('common.open'),'selLink',{id:x.id},'ghost sm')}
`).join('')}
${btn(tr('link_panels.add_parallel_link'),'addParallel',{id:l.id},'pink sm')}
`;} h+=`${trafficSection(l)}${metricSection(l)}
${btn(UI.confirm===l.id?tr('link_panels.really_give_it_up'):(l.own?tr('link_panels.abandon_the_fiber'):tr('link_panels.cancel_the_iru')),'rmLink',{id:l.id},'ghost sm')}${cabBack(l)>0?`

${tr('link_panels.giving_it_up_now_returns_price',{price:fmt$(cabBack(l))})}

`:''}
`; return h; @@ -146,6 +147,7 @@ function linkPanel(id){ const l=S.links.find(x=>x.id===id);if(!l){UI.sel=null;return '';} if(l.kind==='vxc')return vxcPanel(l); if(l.kind==='df')return dfPanel(l); + if(l.kind==='xp')return xpPanel(l); const load=R.load[l.id]||0,cap=LT[l.tier].g,u=load/cap,cut=l.cut>S.day,trk=l.trench||l.id,inc=S.inc.find(i=>(LINKCUT_TR.includes(i.type)&&i.ref===trk)||((i.type==='fatwave'||i.type==='label'||i.type==='mtu')&&i.ref===l.id)),sib=pairLinks(l.a,l.b).filter(x=>x!==l&&x.kind!=='vxc'),mates=sib.filter(x=>(x.trench||x.id)===trk); let h=`
${l.cable?esc(CAB[l.cable].name):l.sub?tr('common.subsea_cable'):tr('common.terrestrial_fiber')} · ${l.km.toLocaleString()} km

${CITY[l.a].name} ⇄ ${CITY[l.b].name}

`; if(cut)h+=`

${tr('common.cut_2e50')}

${inc?esc(inc.msg):''} ${inc&&shipSea(inc)?'':tr('link_panels.back_in_n_days',{n:l.cut-S.day})}

${shipNote(inc)}${inc&&inc.cost?btn(`${esc(inc.fix||tr('common.rush_repair'))} ${fmt$(inc.cost)}`,'fixInc',{id:inc.id},'red',S.cash`; diff --git a/src/game/93-ui/72-express.js b/src/game/93-ui/72-express.js new file mode 100644 index 0000000..86633fd --- /dev/null +++ b/src/game/93-ui/72-express.js @@ -0,0 +1,48 @@ +/* Express lightpaths (#58): the panel of one, the section on a dark fiber's panel (what rides it, where it chains on) + and the Express tab of the link window (70-link-modal.js). The rules are in 80-simulation/65-express.js. */ +const xpSpanName=s=>`${CITY[s.a].name} ⇄ ${CITY[s.b].name}`; +// Why an express is dark today, fiber by fiber. +function xpDarkWhy(l){const sp=xpSpans(l);if(!sp)return [tr('express.dark_gone')];const d=S.day,out=[]; + for(const s of sp){const n=xpSpanName(s);if(linkCut(s))out.push(tr('express.dark_cut',{span:n}));else if(s.ready>d)out.push(trn('express.dark_building',s.ready-d,{span:n}));else if(s.eqDown>d)out.push(tr('express.dark_system',{span:n}));} + if(!out.length)out.push(tr('express.dark_reach'));return out;} +// One fiber of a path: whose it is, how long, the slots left for express channels. +const xpSpanMeta=s=>`${s.own?tr('common.own_dark_fiber'):tr('common.leased_iru')} · ${Math.round(s.km).toLocaleString()} km · ${tr('express.free_slots',{n:Math.max(0,xpFree(s)),max:chMax(s)})}`; +// An optic's settings over a run, as the fiber panel lists them. +const xpModes=(o,run)=>OPT[o].modes.map(([g,r])=>tr('link_panels.g_to_km_km',{g:fmtG(g),km:r.toLocaleString()})).join(' · ')+` · ${xpOptG(o,run)?tr('express.runs_at',{g:fmtG(xpOptG(o,run))}):tr('express.out_of_reach')}`; +function xpPanel(l){const sp=xpSpans(l),load=R.load[l.id]||0,cap=capOf(l),u=cap?load/cap:0,down=linkDown(l),A=CITY[l.a].name,B=CITY[l.b].name,run=sp?xpRunKm(sp):0,ch=l.ch||[]; + let h=`
${tr('express.eyebrow',{km:Math.round(l.km).toLocaleString()})}

${A} ⇄ ${B}

`; + if(down)h+=`

${tr('common.dark_6bf5')}

${xpDarkWhy(l).map(t=>`

${t}

`).join('')}
`; + h+=`

${tr('common.capacity')}

${trn('express.n_channels',ch.length)}${fmtG(load)} / ${fmtG(cap)}
+
${tr('common.latency')}${tr('common.ms_ms_one_way',{ms:linkLat(l).toFixed(1)})}
${tr('express.optical_run')}${run.toLocaleString()} km
+

${tr('express.passes',{via:esc(xpVia(l))})}

`; + if(sp)h+=`

${tr('express.its_fibers')}

${sp.map(s=>`
${xpSpanName(s)} ${linkCut(s)?''+tr('common.cut')+'':''}
${xpSpanMeta(s)}
${btn(tr('common.open'),'selLink',{id:s.id},'ghost sm')}
`).join('')}

${tr('express.slot_note')}

`; + if(sp){h+=`

${tr('common.optics')}

`; + for(const k of Object.keys(OPT)){const O=OPT[k],n=ch.filter(x=>x===k).length;if(!n&&!techOk('opt',k,O.lvl))continue;const why=xpWhy(l.a,l.b,sp,k),c=xpCost(sp,k,false),spn=spareN(k); + h+=`
${O.n}
${xpModes(k,run)}${n?` · ${tr('link_panels.n_lit',{n})}`:''}${spn?` · ${trn('link_panels.n_spare_on_the_shelf',spn)}`:''}
${why?`
${esc(why)}
`:''}
${n&&ch.length>1?btn('−','xpCh',{id:l.id,o:k,d:-1},'ghost sm'):''}${btn(`+ ${spn?tr('link_panels.spare_price',{price:fmt$(c)}):fmt$(c)}`,'xpCh',{id:l.id,o:k,d:1},'sm',!!why||S.cash`;} + h+=`

${tr('link_panels.unplugged_optics_go_on_the_spares')}

`;} + h+=`${trafficSection(l)}${metricSection(l)}
${btn(UI.confirm===l.id?tr('link_panels.really_give_it_up'):tr('express.tear_down'),'rmLink',{id:l.id},'ghost sm')}

${tr('express.tear_down_note')}

`; + return h;} +// Where an express can go from this fiber: through either end and on over your other ROADM fibers. +function xpTargets(l){const out=[];for(const [x,y] of [[l.a,l.b],[l.b,l.a]])for(const p of xpPaths(x,null,l,6))if(xpRunKm(p.sp)<=xpReachMax())out.push({from:x,...p}); + return out.sort((p,q)=>p.km-q.km).slice(0,6);} +// On a dark fiber's panel: the expresses riding it, and where one could go from here. +function xpDfSection(l){if(l.sub)return '';const on=xpOver(l.id),rdm=isRdm(l.sys),tg=rdm?xpTargets(l):[]; + // Without a ROADMaster the hint is only worth showing where another fiber of yours meets this one. + const near=!rdm&&S.links.some(x=>x!==l&&x.kind==='df'&&!x.sub&&[x.a,x.b].some(c=>c===l.a||c===l.b)); + if(!on.length&&!tg.length&&!near)return ''; + let h=`

${tr('express.title')}

${tr('express.lead')}

`; + if(!rdm)h+=`

${tr('express.needs_roadm')}

`; + if(on.length)h+=`

${tr('express.riding_here')}

`+on.map(x=>`
${CITY[x.a].name} ⇄ ${CITY[x.b].name} ${linkDown(x)?''+tr('common.dark')+'':''}
${capName(x)} · ${trn('express.n_channels',(x.ch||[]).length)} · ${tr('express.city_via',{via:esc(xpVia(x))})}
${btn(tr('common.open'),'selLink',{id:x.id},'ghost sm')}
`).join('')+`

${tr('express.riding_note')}

`; + if(tg.length)h+=`

${tr('express.express_to')}

`+tg.map(t=>{const cs=xpCities(t.from,t.sp);return `
${CITY[t.from].name} → ${CITY[t.to].name}
${tr('express.via_km',{via:cs.slice(1,-1).map(c=>CITY[c].name).join(', '),km:Math.round(t.km).toLocaleString()})}
${btn(tr('express.plan'),'xpOpen',{a:t.from,b:t.to,via:t.sp.map(s=>s.id).join(',')},'pink sm')}
`;}).join(''); + return h+`
`;} +// The link window's Express tab: the ways your fibers chain from a to b, shortest first, an optic per button. Optic +// names are long: they go above the reason, not in the narrow column a wave's '400G' fits in. +function xpModalBody(a,b,routes){let h=`

${tr('express.modal_lead',{a:CITY[a].name,b:CITY[b].name})}

`; + for(const r of routes){const sp=r.sp,ids=sp.map(s=>s.id),cs=xpCities(a,sp),run=xpRunKm(sp),old=xpFind(a,b,ids),lat=sp.reduce((x,s)=>x+linkLat(s),0); + h+=`

${tr('express.via_km',{via:cs.slice(1,-1).map(c=>CITY[c].name).join(', '),km:Math.round(r.km).toLocaleString()})}

+ ${sp.map(s=>`
${xpSpanName(s)} · ${xpSpanMeta(s)}
`).join('')} +
${tr('express.optical_run')}${run.toLocaleString()} km
${tr('common.latency')}${tr('common.ms_ms_one_way',{ms:lat.toFixed(1)})}
+ ${old?`

${trn('express.already',(old.ch||[]).length)}

`:''} +
${Object.keys(OPT).filter(k=>techOk('opt',k,OPT[k].lvl)).map(k=>{const O=OPT[k],why=xpWhy(a,b,sp,k),c=xpCost(sp,k,!old),g=xpOptG(k,run); + return ``;}).join('')}
`;} + return h+`

${tr('express.modal_note',{price:fmt$(XP_PASS)})}

`;} diff --git a/src/game/94-dashboard/50-lease-swaps.js b/src/game/94-dashboard/50-lease-swaps.js index eb74159..c5e56ab 100644 --- a/src/game/94-dashboard/50-lease-swaps.js +++ b/src/game/94-dashboard/50-lease-swaps.js @@ -6,11 +6,11 @@ function swapOptics(km,cap,sub,sys){for(let r=0;r<=(sub?0:REGEN_MAX);r++){const const leaseCap=ls=>ls.reduce((s,l)=>s+(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?(l.ch||[]).reduce((t,o)=>t+optG(o,l),0):LT[l.tier].g),0); const swapOpt=(k,up,omo,days,mo)=>{const save=mo-omo;return {k,up,omo,days,save,pay:save>0?Math.ceil(up/save):0};}; // Lighting leased capacity on a fiber you already have (#72 review): needs free channels, and optics cost money. -function litOn(L,cap){const free=chMax(L)-(L.ch||[]).length-soldSlots(L);let b=null; +function litOn(L,cap){const free=chMax(L)-(L.ch||[]).length-soldSlots(L)-xpSlots(L);let b=null; for(const o in OPT){const O=OPT[o];if(O.lvl>glassLvl()||(O.sys==='roadm'&&!isRdm(L.sys))||[L.a,L.b].some(c=>S.pops[c]&&RG[S.pops[c].rgen||0].cls{const [a,b]=k.split('|'),sub=isSub(a,b),mo=ls.reduce((s,l)=>s+(l.mo||0),0),cap=leaseCap(ls); const x={a,b,sub,ls,mo,cap,opts:[],own:pairLinks(a,b).find(l=>l.kind==='df'&&l.own&&l.ready<=S.day)};if(x.own){x.fit=litOn(x.own,cap);if(x.fit.fits)x.best=mo;return x;} // Waves and fabric circuits can also move onto a leased fiber pair: cheaper glass, but you buy the gear. diff --git a/src/game/95-modals/70-link-modal.js b/src/game/95-modals/70-link-modal.js index a7b5c25..daf9830 100644 --- a/src/game/95-modals/70-link-modal.js +++ b/src/game/95-modals/70-link-modal.js @@ -1,14 +1,17 @@ function openLinkModal(a,b){ {const nt=noTalk(a,b);if(nt){openModal(`

${tr('common.not_happening')}

${tr(nt)}

`);return;}} if((cnCity(a)||cnCity(b))&&!cnOk()){openModal(`

${tr('link_modal.not_without_a_license')}

${tr('link_modal.building_into_mainland_china_needs_a',{city:CITY[cnCity(a)?a:b].name})}

`);return;} - let route='';UI.pending={a,b};const km=kmBetween(a,b),sub=isSub(a,b),pop=S.pops[b]?0:newPopCost(b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'); + let route='';UI.pending={a,b};const km=kmBetween(a,b),sub=isSub(a,b),pop=S.pops[b]?0:newPopCost(b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'); if(!sib.length)UI.route='diverse';const border=cnCity(a)!==cnCity(b),jn=sib.length?routeJoin(a,b):null,ts=landTrenches(a,b),mult=(sib.length&&!(jn&&jn.k===(ts[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); if(border)route+=`

${tr('link_modal.cross_border_circuits_into_mainland')}

${a==='hkg'||b==='hkg'?`
${btn(tr('common.regular_crossing'),'cnPrem',{v:0},!UI.cnPrem?'pink':'ghost')}${btn(tr('link_modal.premium_crossing_60_3_loss'),'cnPrem',{v:1},UI.cnPrem?'pink':'ghost')}
`:`

${tr('link_modal.premium_crossings_are_only_sold_in')}

`}`; if(sib.length&&!(isSub(a,b)&&cablesFor(a,b).length)&&!(UI.via&&UI.via!=='land'&&cablesFor(a,b).some(c=>c.cid===UI.via))){route+=`

${trn('link_modal.you_already_have_n_link_here',sib.length,{list:sib.map(l=>capName(l)).join(', ')})}

${ts.length>1?ts.map((t,i)=>btn(`${i?tr('link_modal.diverse_route_n',{n:i}):tr('common.main_route')} ${esc(t.caps.join(', '))}${i?' · +40%':''}`,'route',{r:'t:'+t.k},jn&&jn.k===t.k?'pink':'ghost')).join('')+btn(tr('link_modal.new_diverse_route_40_survives_cuts'),'route',{r:'diverse'},!jn?'pink':'ghost'):btn(tr('link_modal.diverse_route_40_survives_cuts_alone'),'route',{r:'diverse'},!jn?'pink':'ghost')+btn(tr('link_modal.same_trench_cheaper_one_backhoe_cuts'),'route',{r:'same'},jn?'pink':'ghost')}
${ts.length>1?`

${tr('link_modal.waves_on_the_same_route_share')}

`:''}`;} - const mode=UI.lmode==='df'?'df':'wave',tabs=`
${btn(tr('link_modal.lease_a_wave'),'dfMode',{m:'wave'},mode==='wave'?'pink':'ghost')}${btn(tr('common.dark_fiber'),'dfMode',{m:'df'},mode==='df'?'pink':'ghost')}
`; + // Express (#58): only where your ROADM fibers already chain from a to b. The path a fiber's panel offered comes first. + const xp1=UI.xpPath?xpParse(a,b,UI.xpPath):null,xr0=xpPaths(a,b),xr=xp1&&!xr0.some(r=>r.sp.length===xp1.length&&r.sp.every((s,i)=>s===xp1[i]))?[{to:b,sp:xp1,km:xp1.reduce((x,s)=>x+s.km,0)},...xr0.slice(0,2)]:xr0; + const mode=UI.lmode==='df'?'df':UI.lmode==='xp'&&xr.length?'xp':'wave',tabs=`
${btn(tr('link_modal.lease_a_wave'),'dfMode',{m:'wave'},mode==='wave'?'pink':'ghost')}${btn(tr('common.dark_fiber'),'dfMode',{m:'df'},mode==='df'?'pink':'ghost')}${xr.length?btn(tr('express.tab'),'xpOpen',xp1?{a,b,via:UI.xpPath}:{a,b},mode==='xp'?'pink':'ghost'):''}
`; const head=`
${sub?tr('common.subsea_a6be'):tr('common.terrestrial_19e4')} · ${km.toLocaleString()} km

${CITY[a].name} → ${CITY[b].name}

${tabs}`; if(mode==='df'){openModal(head+dfModalBody(a,b,km,pop));return;} + if(mode==='xp'){openModal(head+xpModalBody(a,b,xr));return;} if(sub&&!cablesOk(a,b).length){const fr=[...new Set(CABLE_PAIRS.filter(c=>c.a===a||c.b===a).map(c=>CITY[c.a===a?c.b:c.a].name))],dry=[a,b].find(c=>!landing(c));openModal(head+`

${dry?tr('link_modal.no_subsea_cable_lands_in_city',{city:CITY[dry].name,near:CITY[nearLanding(dry)].name}):tr('link_modal.no_subsea_cable_lands_in_both',{a:CITY[a].name,b:CITY[b].name,list:fr.join(', ')})}

${cabOpen()&&!ownCabWhy(a,b)?ownCabTeaser(a,b):''}`);return;} if(isSub(a,b)&&S.ev.landban&&S.ev.landban.until>S.day&&[a,b].includes(S.ev.landban.city)){openModal(head+`

${tr('link_modal.the_landing_permit_dispute_in_city',{city:CITY[S.ev.landban.city].name,n:S.ev.landban.until-S.day})}

`);return;} if(uaePair(a,b)||andesPair(a,b)||rainPair(a,b)||borderPair(a,b))route+=`

${landWhy(a,b)}

`; diff --git a/src/game/96-map/50-link-geometry.js b/src/game/96-map/50-link-geometry.js index b792d3b..b7f2a4c 100644 --- a/src/game/96-map/50-link-geometry.js +++ b/src/game/96-map/50-link-geometry.js @@ -14,6 +14,8 @@ function linkGeom(l,pl){const i=lineIdx(l,pl);const key=l.id+'|'+i+'|'+(l.cable| if(!pts&&l.kind==='df'&&l.own&&l.sub){const k=pairLinks(l.a,l.b).filter(x=>x.kind==='df'&&x.own&&x.sub).indexOf(l),c0=cablesFor(l.a,l.b).slice().sort((x,y)=>x.km-y.km)[0],cp=c0&&cablePair(c0.cid,l.a,l.b); if(cp)pts=besideLine(cp.pts,2+k*1.5); else{const g=bezGeom(l,k);pts=[];for(let j=0;j<=20;j++)pts.push(qpt(g,j/20));}} + // An express follows the fibers it rides, a little to one side, so it shows passing the cities on the way. + if(!pts&&l.kind==='xp')pts=xpGeom(l); if(!pts){const g=bezGeom(l);pts=[];for(let j=0;j<=20;j++)pts.push(qpt(g,j/20));} const cum=[0];let L=0;for(let j=1;j{let q=linkGeom(s).pts;if(s.a!==cs[i])q=q.slice().reverse();for(let j=pts.length?1:0;j1?besideLine(pts,4):null;} diff --git a/src/game/96-map/55-link-look.js b/src/game/96-map/55-link-look.js index 32c636c..b0d354d 100644 --- a/src/game/96-map/55-link-look.js +++ b/src/game/96-map/55-link-look.js @@ -1,13 +1,13 @@ /* How each tube on the map looks today, worked out once for both maps (the 2D canvas in drawFrame() and the card in 58-webgl-links.js), so they cannot drift apart. */ // Dash patterns, by number: none, cut, virtual circuit, being built, standby; 5 the fiber's dots, 6 an old cable, -// 7 a link being dragged out. -const LDASH=[[],[8,8],[2,7],[10,8],[4,6],[1,6],[6,5],[2,12]]; +// 7 a link being dragged out, 8 an express lightpath. +const LDASH=[[],[8,8],[2,7],[10,8],[4,6],[1,6],[6,5],[2,12],[14,5]]; // A tube is a group of links drawn as one line: its capacity, load and state, its base width, colour and dash. function linkLook(grp,day){const l=grp[0],many=grp.length>1,up=many?grp.filter(x=>!linkDown(x)):null; - const cap=many?up.reduce((a,x)=>a+capOf(x),0):capOf(l),load=many?grp.reduce((a,x)=>a+(R.load[x.id]||0),0):(R.load[l.id]||0),u=cap?load/cap:0,df=l.kind==='df',bld=df&&l.ready>day,cut=!bld&&(many?!up.length:linkDown(l))&&!(df&&!(l.ch||[]).length),dark=df&&!bld&&!(l.ch||[]).length,vx=l.kind==='vxc',idle=!cut&&!bld&&load<1e-3&&(many?up.length>0&&up.every(x=>x.standby):!!l.standby); - return {l,many,up,cap,load,u,df,bld,cut,dark,vx,idle,w0:vx?2.2:(2.5+Math.max(...grp.map(tierW))*1.8+(many?Math.min(1.5,(grp.length-1)*0.5):0)), - col:bld?'#C9B27C':dark?'#5D6788':cut?'#FF4D5E':idle?'#9AA3BE':vx?FAB[l.prov].col:l.sub?(u>0.001?utilCol(u):'#7FD8EE'):utilCol(u),dash:cut?1:vx?2:bld?3:idle?4:0, + const cap=many?up.reduce((a,x)=>a+capOf(x),0):capOf(l),load=many?grp.reduce((a,x)=>a+(R.load[x.id]||0),0):(R.load[l.id]||0),u=cap?load/cap:0,df=l.kind==='df',xp=l.kind==='xp',bld=df&&l.ready>day,cut=!bld&&!xp&&(many?!up.length:linkDown(l))&&!(df&&!(l.ch||[]).length),dark=df&&!bld&&!(l.ch||[]).length||xp&&linkDown(l),vx=l.kind==='vxc',idle=!cut&&!bld&&load<1e-3&&(many?up.length>0&&up.every(x=>x.standby):!!l.standby); + return {l,many,up,cap,load,u,df,bld,cut,dark,vx,idle,w0:vx||xp?2.2:(2.5+Math.max(...grp.map(tierW))*1.8+(many?Math.min(1.5,(grp.length-1)*0.5):0)), + col:bld?'#C9B27C':dark?'#5D6788':cut?'#FF4D5E':idle?'#9AA3BE':vx?FAB[l.prov].col:l.sub?(u>0.001?utilCol(u):'#7FD8EE'):utilCol(u),dash:cut?1:vx?2:xp?8:bld?3:idle?4:0, pk:!cut&&load>0.01?clamp(Math.round(2+u*10),2,12):0};} // packets on the line: more as it fills // The map's tubes as the picture needs them: the groups, their geometry and how each one looks. It changes with the // links and with the day's routing (R), not with the camera, so it is kept until one of those changes. diff --git a/src/i18n/en.js b/src/i18n/en.js index c580cf8..46cf379 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -2019,6 +2019,46 @@ "exchanges.20_peering_sessions_n":"20+ peering sessions ({n})", "exchanges.pops_on_3_continents":"POPs on 3+ continents", "exchanges.serve_1_5_tbps_v":"serve 1.5 Tbps ({v})", +"express.already":{"one":"You already run an express on this path with {n} channel: this adds another.","other":"You already run an express on this path with {n} channels: this adds another."}, +"express.cannot":"Can't light {optic} on this express.
{why}", +"express.cap":"{cap} express", +"express.city_via":"express via {via}", +"express.dark_building":{"one":"{span} is still being built: {n} day left.","other":"{span} is still being built: {n} days left."}, +"express.dark_cut":"{span} is cut.", +"express.dark_gone":"One of the fibers under it is gone.", +"express.dark_reach":"None of its optics reach over this run.", +"express.dark_system":"{span} has its line system down.", +"express.express_to":"Express to…", +"express.eyebrow":"Express lightpath · {km} km", +"express.fiber_busy":{"one":"An express lightpath rides this fiber.
Tear it down first: open it from this fiber's Express section.","other":"{n} express lightpaths ride this fiber.
Tear them down first: open them from this fiber's Express section."}, +"express.fiber_full":"{a} ⇄ {b} has no free channel slot ({max} on its line system).", +"express.free_slots":"{n} of {max} slots free", +"express.its_fibers":"The fibers it rides", +"express.last_channel":"That is the express's last channel. To stop it, tear the express down.", +"express.lead":"Send a wave straight through the ROADM at the far end onto your next fiber: no router ports in the city between, less latency, one channel slot on every fiber it rides.", +"express.lit":"Express lit: {a} ⇄ {b}.
{optic} goes straight through {via}: no router there sees it.", +"express.modal_lead":"Light a wave from {a} to {b} through the ROADMs on the way: the cities between never see it on a router.", +"express.modal_note":"The first channel also pays {price} for every city it passes, to patch it through the ROADM there. Optics from the spares shelf are free; every regen site on the way needs a card.", +"express.n_carry_expresses":{"one":"{n} carries an express","other":"{n} carry expresses"}, +"express.n_channels":{"one":"{n} channel","other":"{n} channels"}, +"express.needs_roadm":"Every fiber an express rides needs a ROADMaster line system (upgrade it under Line system above).", +"express.no_such_path":"Those fibers no longer chain from one city to the other.", +"express.one_more":"Another {optic} on the {a} ⇄ {b} express: {n} channels now.", +"express.optical_run":"Longest run without a regen", +"express.out_of_reach":"out of reach", +"express.passes":"Passes {via} as light, through the ROADM: no router port there, no hop in a traceroute.", +"express.plan":"Plan", +"express.riding_here":"Riding this fiber", +"express.riding_note":"Tear these down before you give up the fiber. A cut or a line system swap here darkens them too.", +"express.runs_at":"runs at {g}", +"express.slot_note":"Each channel takes one slot on every one of these fibers. A cut, a build or a line system swap on any of them darkens the express.", +"express.tab":"Express", +"express.tear_down":"Tear down the express", +"express.tear_down_note":"Its optics go back on the spares shelf.", +"express.title":"Express lightpaths", +"express.too_far":"Too far: the light runs {run} km without a regen site and this optic reaches {max} km at its slowest. Add regen sites on the fibers.", +"express.trace_hop":"express lightpath, optically past {via}", +"express.via_km":"via {via} · {km} km", "failures.a_45_c_heatwave_in_city":"A 45 °C heatwave in {city}: the grid shed load, the chillers gave up and so did the generator at {dc}.", "failures.a_b_is_down_same_cable":"{a}–{b} is down. Same cable, new anchor. The repair crew has started a loyalty card.", "failures.a_backhoe_cut_the_metro_ring":"A backhoe cut the metro ring between your two sites in {city}. Turns out both fiber routes ran down the same street.", diff --git a/src/styles/40-modal.css b/src/styles/40-modal.css index c07d336..71e682c 100644 --- a/src/styles/40-modal.css +++ b/src/styles/40-modal.css @@ -157,6 +157,8 @@ input.t{width:100%;box-sizing:border-box;border:3px solid var(--ink);border-radi .tierbtn .sz{font-family:var(--display);font-weight:800;font-size:22px;width:70px} .tierbtn .grow{flex:1} .tierbtn .pr{font-family:var(--display);font-weight:800;font-size:18px} +/* A name too long for .sz (an optic on the Express tab) goes on its own line above the reason. */ +.tierbtn .onm{display:block;font-family:var(--display);font-weight:800;font-size:17px;line-height:1.15;margin-bottom:2px}.tierbtn .onm~.meta{display:block} .gl dt{font-family:var(--display);font-weight:800;font-size:16px;margin-top:10px} .gl dd{margin:2px 0 0;color:var(--ink2);line-height:1.45;font-size:13px} .kbd{display:inline-block;border:2px solid var(--ink);border-radius:6px;padding:0 5px;font-weight:900;font-size:11px;background:var(--soft)} diff --git a/tests/express-fiber.test.js b/tests/express-fiber.test.js new file mode 100644 index 0000000..4847cf5 --- /dev/null +++ b/tests/express-fiber.test.js @@ -0,0 +1,398 @@ +// Express lightpaths (#58): a wave from Frankfurt to Paris over your own dark fibers Frankfurt–Brussels and +// Brussels–Paris that passes Brussels as light, through its ROADM. Routing sees a Frankfurt–Paris edge; Brussels' +// router never sees the traffic. Change Freeze, no random failures: nothing here depends on luck. +const test = require('node:test'); +const assert = require('node:assert/strict'); +const { load } = require('./harness'); + +// Three POPs on routers that take 400G optics, broadband in Paris, transit in Frankfurt, and two ROADM fibers +// (s1 Frankfurt–Brussels, s2 Brussels–Paris), finished and dark. df(a,b,extra) lays another one. +const BASE = "ACT.start({});if(UI.pendGame)ACT.pitchSkip();S.cash=1e8;for(const g of GOALS)S.done[g.id]=0;S.lvl=8;S.nextFail=S.nextEvent=1e9;UI.speed=0;S.rules=makeRules('freeze');closeModal();" + + "for(const c of ['bru','par'])ACT.buildPop({city:c});for(const c of ['fra','bru','par'])S.pops[c].rgen=1;ACT.launchBB({city:'par'});ACT.buyTransit({city:'fra',net:'cog',tier:2});" + + "window.df=(a,b,o={})=>{const id=uid();S.links.push(Object.assign({id,a,b,kind:'df',own:true,sys:'roadm',ch:[],km:kmBetween(a,b),sub:false,cable:null,mo:100,trench:id,cut:0,day:S.day,ready:S.day,spares:false,pairs:1},o));return id;};" + + "window.L=id=>S.links.find(l=>l.id===id);"; +const SPANS = "window.s1=df('fra','bru');window.s2=df('bru','par');compute();"; +const BUILD = "ACT.xpBuild({a:'fra',b:'par',via:s1+','+s2,o:'zr4'});window.x=(S.links.find(l=>l.kind==='xp')||{}).id;compute();"; +function game(t, extra = SPANS, opts = {}) { + const h = load(opts); + t.after(() => h.dom.window.close()); + h.ev(BASE + extra); + return h; +} +const xps = (ev) => ev("S.links.filter(l=>l.kind==='xp').length"); + +test('an express is a Frankfurt–Paris edge: traffic rides it, ports at both ends, and Brussels never sees it', (t) => { + const { ev, errors } = game(t); + assert.equal(ev("JSON.stringify(xpPaths('fra','par').map(p=>p.sp.map(s=>s.id)))"), ev('JSON.stringify([[s1,s2]])'), 'the two fibers chain'); + const ports = () => JSON.parse(ev("JSON.stringify(['fra','bru','par'].map(c=>portsUsed(c)))")); + const p0 = ports(), cash = ev('S.cash'); + ev(BUILD); + assert.equal(xps(ev), 1); + assert.deepEqual(JSON.parse(ev('JSON.stringify(L(x))')), { id: ev('x'), a: 'fra', b: 'par', kind: 'xp', via: [ev('s1'), ev('s2')], ch: ['zr4'], km: ev('L(s1).km+L(s2).km'), mo: 0, cut: 0, day: ev('S.day') }); + assert.equal(cash - ev('S.cash'), ev("optCost('zr4')+XP_PASS"), 'the optic, and patching it through Brussels'); + const p1 = ports(); + assert.equal(p1[0] - p0[0], ev("chPorts('zr4','fra')"), 'a port in Frankfurt'); + assert.equal(p1[2] - p0[2], ev("chPorts('zr4','par')"), 'a port in Paris'); + assert.equal(p1[1], p0[1], 'none in Brussels'); + assert.equal(ev('capOf(L(x))'), 400); + assert.ok(ev('R.load[x]') > 1, 'Paris reaches its transit over the express'); + assert.ok(!ev('R.nodeLoad.bru'), "Brussels' router carries nothing"); + assert.equal(ev('linkLat(L(x))'), ev('linkLat(L(s1))+linkLat(L(s2))'), 'the latency of the fibers it rides, with no router in between'); + // With channels of their own on both fibers there is a path through Brussels too: the express is one hop shorter. + ev("L(s1).ch=['zr4'];L(s2).ch=['zr4'];compute()"); + assert.ok(ev('R.load[x]') > 1); + assert.equal(ev('(R.load[s1]||0)+(R.load[s2]||0)'), 0, 'the hop through Brussels stays idle'); + assert.ok(!ev('R.nodeLoad.bru')); + // Without the express the same traffic goes through Brussels' router. + ev('L(x).standby=true;S.pairMet[edgeKey(L(x))]="backup";compute()'); + assert.ok(ev('R.nodeLoad.bru') > 1, 'the router in Brussels works when the light does not pass it'); + assert.deepEqual(errors, []); +}); + +test('a cut, a build or a line system swap on any fiber darkens the express; a fiber under one stays', (t) => { + const { ev, errors } = game(t); + ev(BUILD); + assert.equal(ev('linkDown(L(x))'), false); + ev('L(s2).cut=S.day+5;compute()'); + assert.equal(ev('linkDown(L(x))'), true, 'a cut fiber'); + assert.equal(ev('R.load[x]||0'), 0); + assert.match(ev("xpDarkWhy(L(x)).join(' ')"), /Brussels ⇄ Paris is cut/); + assert.equal(ev('(o=>o.dark&&!o.cut&&o.dash===8)(linkLook([L(x)],S.day))'), true, 'drawn dark, no backhoe of its own'); + ev('L(s2).cut=0;L(s2).ready=S.day+10;compute()'); + assert.equal(ev('linkDown(L(x))'), true, 'a fiber still being built'); + assert.match(ev("xpDarkWhy(L(x)).join(' ')"), /Brussels ⇄ Paris is still being built: 10 days left\./); + ev('L(s2).ready=S.day+1'); + assert.match(ev("xpDarkWhy(L(x)).join(' ')"), /still being built: 1 day left\./, 'one day, not one days'); + ev('L(s2).ready=S.day;compute()'); + assert.equal(ev('linkDown(L(x))'), false); + ev('ACT.upSys({id:s1})'); + assert.equal(ev("L(s1).sys"), 'cl'); + assert.equal(ev('linkDown(L(x))'), true, 'the line system swap takes the express down for the day'); + ev('S.day++;compute()'); + assert.equal(ev('linkDown(L(x))'), false, 'and it is back the next day, on the new line system'); + // A fiber under an express cannot be given up; the express can, and its optic goes on the shelf. + ev('ACT.rmLink({id:s1});ACT.rmLink({id:s1})'); + assert.ok(ev('!!L(s1)'), 'the fiber is still there'); + assert.match(ev('S.log[0].t'), /express lightpath rides this fiber/); + const sp = ev("spareN('zr4')"); + ev('ACT.rmLink({id:x});ACT.rmLink({id:x})'); + assert.equal(xps(ev), 0); + assert.equal(ev("spareN('zr4')"), sp + 1); + ev('ACT.rmLink({id:s1});ACT.rmLink({id:s1})'); + assert.ok(!ev('L(s1)'), 'then the fiber goes'); + assert.deepEqual(errors, []); +}); + +test('a backhoe or the chaos monkey still finds a fiber that only carries expresses, never the express itself', (t) => { + const { ev, errors } = game(t); + ev(BUILD); + assert.equal(ev('linkDown(L(s1))&&linkDown(L(s2))'), true, 'dark as links of their own: no channels of their own'); + assert.equal(ev('xpBare(L(s1))&&xpBare(L(s2))'), true); + ev("fireFailure('cut');compute()"); + assert.equal(ev("S.links.filter(l=>l.cut>S.day).map(l=>l.kind).join()"), 'df', 'one fiber cut, not the express'); + assert.equal(ev('linkDown(L(x))'), true); + assert.equal(ev("S.inc.filter(i=>i.type==='cut').length"), 1); + ev("for(const l of S.links)l.cut=0;S.inc=[];compute();mkSnip()"); + assert.equal(ev("S.links.filter(l=>l.cut>S.day).map(l=>l.kind).join()"), 'df', 'the monkey snips a fiber too'); + assert.deepEqual(errors, []); +}); + +test("the intern's decom order counts an express as a link between its cities, and never hands one back", (t) => { + const { ev, errors } = game(t); + ev(BUILD + "UI.pending={a:'fra',b:'par'};UI.route='diverse';ACT.buildLink({tier:1});compute()"); + ev("ACT.opsHire({id:'kevin'});S.ops.floor=0;closeModal();for(const k in S.ops.on)S.ops.on[k]=false;S.ops.on.decom=true;S.ops.cap.decom=0;compute();opsDay(S.day)"); + assert.equal(ev("S.links.filter(l=>l.kind==='wave').length"), 1, 'kept as the spare: its trench is not one the express runs in'); + ev("S.ops.p.decom={keep:false};S.day++;compute();opsDay(S.day)"); + assert.equal(ev("S.links.map(l=>l.kind).join()"), 'df,df,xp', 'the express carries the pair with room to spare: the wave goes back'); + assert.deepEqual(errors, []); +}); + +test('decommissioning the city in the middle takes its fibers and the expresses riding them', (t) => { + const { ev, errors } = game(t); + ev(BUILD); + assert.equal(ev("decomImpact(['bru']).links.length"), 3, 'both fibers and the express'); + const sp = ev("spareN('zr4')"); + ev("decommission(['bru']);compute()"); + assert.equal(ev('S.links.length'), 0); + assert.equal(ev("spareN('zr4')"), sp + 1, 'the express optic is on the shelf'); + assert.deepEqual(errors, []); +}); + +test('reach: the light must make the whole run between regen sites, through Brussels too', (t) => { + const { ev, errors } = game(t, "window.s1=df('fra','bru',{km:2000});window.s2=df('bru','par',{km:2000});compute();"); + assert.equal(ev('xpRunKm([L(s1),L(s2)])'), 4000, 'no regen anywhere: one 4,000 km run'); + assert.match(ev("xpWhy('fra','par',[L(s1),L(s2)],'zr4')"), /Too far: the light runs 4,000 km/); + ev(BUILD); + assert.equal(xps(ev), 0, 'refused'); + ev('ACT.regen({id:s1,d:1})'); + assert.equal(ev('xpRunKm([L(s1),L(s2)])'), 3000, 'the last 1,000 km of the first fiber and all of the second'); + const cash = ev('S.cash'); + ev(BUILD); + assert.equal(xps(ev), 1); + assert.equal(cash - ev('S.cash'), ev("Math.round(optCost('zr4')*1.5)+XP_PASS"), 'a regen card at the one regen site'); + assert.equal(ev('capOf(L(x))'), 200, 'a 400ZR+ at 3,000 km runs its slow setting'); + ev('ACT.regen({id:s1,d:-1})'); + assert.equal(ev('L(s1).regen'), 1, 'the express needs that regen site: it stays'); + ev('L(s1).regen=2;L(s2).regen=2;compute()'); + assert.equal(ev('xpRunKm([L(s1),L(s2)])'), 1334); + assert.equal(ev('capOf(L(x))'), 400, 'short runs everywhere: full rate'); + assert.deepEqual(errors, []); +}); + +test('slots: lit channels, sold alien waves and express channels share every line system', (t) => { + const { ev, errors } = game(t); + ev("L(s1).ch=Array(10).fill('zr4');S.biz.push({id:uid(),city:'fra',city2:'bru',link:s1,slots:53,type:'wwave',name:'Alien Co',bw:1,rate:1000,reqs:[],mood:100,since:S.day});for(const c of ['fra','bru','par'])S.pops[c].routers=4;compute()"); + assert.equal(ev('freeCh(L(s1))'), 1); + ev(BUILD); + assert.equal(xps(ev), 1); + assert.equal(ev('xpSlots(L(s1))'), 1); + assert.equal(ev('xpSlots(L(s2))'), 1); + assert.equal(ev('freeCh(L(s1))'), 0, 'the sold waves and the express take the last slots'); + assert.equal(ev('freeCh(L(s2))'), 63); + assert.match(ev("chWhy(L(s1),'zr4')"), /is full/, 'no more channels of its own either'); + assert.match(ev("xpWhy('fra','par',[L(s1),L(s2)],'zr4')"), /Frankfurt ⇄ Brussels has no free channel slot/); + ev("ACT.xpCh({id:x,o:'zr4',d:1})"); + assert.equal(ev('L(x).ch.length'), 1, 'refused'); + // A full pair lets you light the next one, and the express grows into it. + ev('ACT.addPair({id:s1})'); + assert.equal(ev('L(s1).pairs'), 2); + ev("ACT.xpCh({id:x,o:'zr4',d:1})"); + assert.equal(ev('L(x).ch.length'), 2); + assert.equal(ev('xpSlots(L(s2))'), 2); + assert.equal(ev('capOf(L(x))'), 800); + // The intern lights optics on hot fibers: never into the slots expresses and alien waves hold. + ev("ACT.opsHire({id:'kevin'});S.ops.floor=0;closeModal();S.ops.on.optics=true;S.ops.cap.optics=0;compute();for(const l of S.links)if(l.kind==='df')R.load[l.id]=1e6;opsDay(S.day)"); + assert.equal(ev("S.links.filter(l=>l.kind==='df').every(l=>(l.ch||[]).length+soldSlots(l)+xpSlots(l)<=chMax(l))"), true); + assert.ok(ev('L(s1).ch.length') > 10, 'the intern did light the hot fiber with room'); + assert.equal(ev('L(s2).ch.length'), 0, 'a fiber that only carries the express is not new fiber: it stays bare'); + // Unplugging: never the last channel. + ev("ACT.xpCh({id:x,o:'zr4',d:-1})"); + assert.equal(ev('L(x).ch.length'), 1); + ev("ACT.xpCh({id:x,o:'zr4',d:-1})"); + assert.equal(ev('L(x).ch.length'), 1, 'the last channel stays'); + ev("ACT.rmCh({id:x,o:'zr4'})"); + assert.equal(ev('L(x).ch.length'), 1, "a fiber's unplug button does not work on an express"); + assert.deepEqual(errors, []); +}); + +test('saves: an express survives a round trip; one whose fibers are gone is dropped and its optics go on the shelf', (t) => { + const { ev, errors } = game(t); + // A save from before expresses existed loads as it always did. + const old = ev('JSON.stringify(S)'); + ev(`S=migrate(JSON.parse(${JSON.stringify(old)}));compute()`); + assert.equal(ev('S.links.length'), 2); + assert.equal(ev('freeCh(L(s1))'), 64); + ev(BUILD); + ev('S=sanitize(JSON.parse(JSON.stringify(S)));compute()'); + assert.equal(ev("L(x).kind"), 'xp', 'still an express, not a wave'); + assert.equal(ev("L(x).via.join(',')"), ev("s1+','+s2")); + assert.ok(ev('R.load[x]') > 1); + ev('S=migrate(JSON.parse(JSON.stringify(S)));compute()'); + assert.equal(xps(ev), 1); + const sp = ev("spareN('zr4')"); + // Its second fiber gone (a hand-edited file): dropped, the optic back on the shelf. + ev('{const o=JSON.parse(JSON.stringify(S));o.links=o.links.filter(l=>l.id!==s2);S=sanitize(o);compute();}'); + assert.equal(xps(ev), 0); + assert.equal(ev("spareN('zr4')"), sp + 1); + // Fibers that do not chain from a, a fiber without a ROADM, no optic: all dropped. + for (const bad of ["x.via=[s2,s1]", "o.links.find(l=>l.id===s1).sys='lite'", "x.ch=['nope']", "x.via=[s1]", "x.b='ams'"]) { + ev(`{S=migrate(JSON.parse(${JSON.stringify(old)}));${BUILD}const o=JSON.parse(JSON.stringify(S)),x=o.links.find(l=>l.kind==='xp');${bad};S=sanitize(o);compute();}`); + assert.equal(xps(ev), 0, bad); + } + assert.deepEqual(errors, []); +}); + +test('the route worker routes an express as the page does; traceroute skips Brussels; diverse paths count its trenches', (t) => { + const h = game(t); + const { ev, errors } = h; + h.dom.window.structuredClone = globalThis.structuredClone; + ev(BUILD + "L(s1).ch=['zr4'];L(s2).ch=['zr4'];compute()"); + const SIG = "JSON.stringify({load:R.load,served:R.served,node:R.nodeLoad,ef:Object.keys(R.ef).sort().map(k=>[k,R.ef[k]])})"; + ev('window.__got=null;window.postMessage=(m)=>{window.__got=m;};'); + ev('{window.__R0=R;const prev={load:R.load,l2route:R.l2route,efg:rwEfgOut(R.efg)};const keep=S;window.__S0=JSON.stringify(S);rwServe(structuredClone({seq:1,S,...prev}));S=keep;}'); + ev('R=rwUnpack(structuredClone(__got.R),__got.ef)'); + const fromWorker = ev(SIG); + assert.ok(ev('R.load[x]') > 1, 'the worker routed over the express'); + ev('R=__R0;S=JSON.parse(__S0);compute()'); + assert.equal(ev(SIG), fromWorker); + const tr = ev("traceroute('par',{city:'fra'}).text"); + assert.match(tr, /express lightpath, optically past Brussels/); + assert.doesNotMatch(tr, /cr1\.bru\./, 'no hop in Brussels'); + // The express runs in the trenches of the fibers it rides: with them it is no second path. + assert.equal(ev("diversePaths('fra','par')"), false); + ev("S.biz.push({id:'div1',city:'fra',city2:'par',type:'ai',name:'Skynot Compute',bw:400,rate:10,reqs:['diverse'],mood:100,since:S.day});compute()"); + assert.equal(ev("R.div['div1']"), false, 'compute() agrees'); + ev("UI.pending={a:'fra',b:'par'};UI.route='diverse';ACT.buildLink({tier:1});compute()"); + assert.equal(ev("diversePaths('fra','par')"), true, 'a wave in a trench of its own is'); + assert.equal(ev("R.div['div1']"), true); + assert.deepEqual(errors, []); +}); + +test('on a phone: the fiber offers an express, the link window has an Express tab, the express has its panel, the map draws it', (t) => { + const h = load(); + t.after(() => h.dom.window.close()); + const { ev, errors } = h; + ev('window.innerWidth=360;window.innerHeight=740;' + BASE + SPANS); + assert.equal(ev('isPhone()'), true); + ev('selectLink(s1)'); + const panel = ev("$('panel').innerHTML"); + assert.match(panel, /Express lightpaths/); + assert.match(panel, /data-act="xpOpen"/); + ev("ACT.xpOpen({a:'fra',b:'par'})"); + const modal = ev("$('modal').innerHTML"), text = ev("$('modal').textContent"); + assert.match(modal, /data-act="xpBuild"/); + assert.match(text, /via Brussels · 581 km/); + // Optic names are long ('Sienna WaveMagic 1.6T'): never in the 70px column a wave's '400G' fits in. + assert.equal(ev(`[...$('modal').querySelectorAll('[data-act="xpBuild"]')].filter(b=>b.querySelector('.sz')||!b.querySelector('.grow .onm+.meta')).length`), 0); + assert.equal(ev(`$('modal').querySelector('[data-act="xpBuild"] .onm').textContent`), ev('OPT.zr4.n')); + assert.doesNotMatch(text, /express\.[a-z_]{3,}|undefined|NaN/); + // The other tabs are one tap away, and the Express tab only shows where fibers chain. + ev("ACT.dfMode({m:'wave'})"); + assert.match(ev("$('modal').innerHTML"), /data-act="xpOpen"/); + ev("closeModal();UI.lmode='xp';openLinkModal('fra','ams')"); + assert.doesNotMatch(ev("$('modal').innerHTML"), /data-act="xpOpen"|data-act="xpBuild"/); + ev('closeModal();' + BUILD + 'selectLink(s1)'); + assert.match(ev("$('panel').textContent"), /0 of 64 channels lit · 1 carries an express/, 'the slot the express takes, next to the lit ones'); + // Without a ROADMaster the hint points at the Line system section, which comes before it. + ev("L(s1).sys='lite';selectLink(s1)"); + const lp = ev("$('panel').innerHTML"), hint = lp.indexOf('upgrade it under Line system above'); + assert.ok(hint > 0 && lp.indexOf('

Line system

') < hint, 'the upgrade is above the hint'); + ev("L(s1).sys='roadm';selectLink(x)"); + const xp = ev("$('panel').textContent"); + assert.match(xp, /Express lightpath · 581 km/); + assert.match(xp, /Tear down the express/); + assert.doesNotMatch(xp, /express\.[a-z_]{3,}|undefined|NaN/); + assert.match(ev('capName(L(x))'), /400G express/); + // Drawn along its fibers, a little to one side: it passes Brussels without landing there. + const g = JSON.parse(ev("JSON.stringify(linkGeom(L(x)).pts)")), B = JSON.parse(ev("JSON.stringify([CITY.bru.x,CITY.bru.y])")); + const near = Math.min(...g.map(([x, y]) => Math.hypot(x - B[0], y - B[1]))); + assert.ok(near > 1 && near < 12, 'beside Brussels: ' + near); + ev('UI.started=true;UI.pitched=true;for(const z of [0.6,1.5,3]){cam.z=z;draw(performance.now());}'); + assert.deepEqual(errors, []); +}); + +test('in German, every express screen is translated', (t) => { + const h = load({ lang: 'de' }); + t.after(() => h.dom.window.close()); + const { ev, errors } = h; + ev('window.innerWidth=360;' + BASE + SPANS + BUILD + 'selectLink(s1)'); + assert.match(ev("$('panel').textContent"), /Express-Lightpaths/); + ev("ACT.xpOpen({a:'fra',b:'par'})"); + assert.doesNotMatch(ev("$('modal').textContent"), /express\.[a-z_]{3,}|undefined|NaN/); + ev('closeModal();selectLink(x)'); + assert.match(ev("$('panel').textContent"), /Express abbauen/); + assert.deepEqual(errors, []); +}); + +test('amp huts, ROADM slips and backhoes find fibers that only carry expresses, forced or at random', (t) => { + const { ev, errors } = game(t); + ev(BUILD); + ev("fireFailure('amp');compute()"); + assert.equal(ev('[s1,s2].filter(id=>L(id).eqDown>S.day).length'), 1, 'an amp hut on one of the fibers goes'); + assert.equal(ev('linkDown(L(x))'), true, 'and the express with it'); + assert.equal(ev('S.inc.at(-1).type'), 'amp'); + assert.equal(ev('S.inc.at(-1).cost'), ev('AMP_COST'), 'no spares kit: a truck and a new amp'); + ev("for(const l of S.links)l.eqDown=0;S.inc=[];compute();fireFailure('roadmff');compute()"); + assert.equal(ev('[s1,s2].filter(id=>L(id).eqDown>S.day).length'), 1, 'a fat-fingered channel plan too'); + // The glass under the express is the only glass here: the dice still find it (seeded, so always the same draws). + ev(`window.__n={};for(let i=0;i<400;i++){for(const l of S.links){l.cut=0;l.eqDown=0;}for(const p of Object.values(S.pops)){p.down=0;p.rdown=0;}for(const x of S.transit)x.down=0;S.inc=[];compute(); + fireFailure();for(const c of S.inc)if([s1,s2].includes(c.ref))__n[c.type]=(__n[c.type]||0)+1;if(S.links.some(l=>l.kind==='xp'&&(l.cut>S.day||l.eqDown>S.day)))__n.xp=(__n.xp||0)+1;}`); + const n = JSON.parse(ev('JSON.stringify(__n)')); + assert.ok(n.cut > 0, 'a backhoe: ' + JSON.stringify(n)); + assert.ok(n.amp > 0, 'an amp hut: ' + JSON.stringify(n)); + assert.ok(!n.xp, 'never the express itself'); + assert.deepEqual(errors, []); +}); + +test('the chaos monkey counts fibers that only carry expresses when it decides whether to visit', (t) => { + const { ev, errors } = game(t, "ACT.buildPop({city:'ams'});S.pops.ams.rgen=1;window.s1=df('fra','bru');window.s2=df('bru','par');window.s3=df('bru','ams');compute();"); + ev(BUILD + "ACT.xpBuild({a:'fra',b:'ams',via:s1+','+s3,o:'zr4'});compute()"); + assert.equal(ev('xps=S.links.filter(l=>l.kind==="xp").length'), 2); + assert.equal(ev('[s1,s2,s3].every(id=>xpBare(L(id)))'), true); + ev("S.rules=makeRules('oncall');S.monkey={next:S.day};mkTick(S.day)"); + assert.equal(ev('!!S.monkey.on'), true, 'three fibers in the ground: enough network for a visit'); + assert.deepEqual(errors, []); +}); + +test("the intern's optics order leaves fibers that only carry expresses bare: no ports in the city they bypass", (t) => { + const { ev, errors } = game(t, SPANS + "ACT.buildPop({city:'ams'});S.pops.ams.rgen=1;window.s3=df('fra','ams');compute();"); + ev(BUILD); + const ports = () => JSON.parse(ev("JSON.stringify(['bru','par'].map(c=>portsUsed(c)))")); + const p0 = ports(); + ev("ACT.opsHire({id:'kevin'});S.ops.floor=0;closeModal();for(const k in S.ops.on)S.ops.on[k]=false;S.ops.on.optics=true;S.ops.cap.optics=0;compute();opsDay(S.day)"); + assert.equal(ev('L(s1).ch.length+L(s2).ch.length'), 0, 'both fibers under the express stay bare'); + assert.deepEqual(ports(), p0, 'no router port in Brussels, none more in Paris'); + assert.ok(ev('L(s3).ch.length') > 0, 'new fiber with nothing on it still gets its first channel'); + ev('S.day++;compute();opsDay(S.day)'); + assert.equal(ev('L(s1).ch.length+L(s2).ch.length'), 0, 'and on the next shift'); + assert.deepEqual(errors, []); +}); + +test('an express is no link between its ends for a new wave: the first one pays the usual price and gets no route question', (t) => { + const wave = (extra) => { + const { ev, errors } = game(t, SPANS + extra, { agent: true }); + const quote = ev("API_CMD.buildLink.quote({a:'fra',b:'par',tier:1}).monthly"); + ev("UI.lmode='wave';openLinkModal('fra','par')"); + const modal = ev("$('modal').innerHTML"); + ev("UI.route='same';ACT.buildLink({tier:1});compute()"); + const w = JSON.parse(ev("JSON.stringify(S.links.find(l=>l.kind==='wave'))")); + assert.deepEqual(errors, []); + return { quote, modal, mo: w.mo, mult: w.mult }; + }; + const plain = wave(''), xp = wave(BUILD); + assert.ok(plain.mo > 0); + assert.equal(xp.mo, plain.mo, 'the same monthly price as without the express'); + assert.equal(xp.mult, plain.mult); + assert.equal(xp.quote, plain.quote, 'and the same quote for tools'); + assert.doesNotMatch(xp.modal, /data-act="route"/, 'no same-trench or diverse choice: there is no wave here yet'); +}); + +test("a fiber's 'Express to…' opens the window on the path it offered, even with shorter ones elsewhere", (t) => { + // Frankfurt to Paris: via Bettembourg, via Brussels, via Düsseldorf and Brussels are all shorter than via Amsterdam. + const { ev, errors } = game(t, SPANS + "ACT.buildPop({city:'ams'});for(const c of ['bet','dus']){ACT.buildPop({city:c});S.pops[c].rgen=1;}S.pops.ams.rgen=1;" + + "df('fra','bet');df('bet','par');df('fra','dus');df('dus','bru');window.fa=df('fra','ams');df('ams','par');compute();"); + ev('selectLink(fa)'); + const plans = JSON.parse(ev(`JSON.stringify([...$('panel').querySelectorAll('[data-act="xpOpen"]')].map(b=>JSON.parse(b.dataset.args)))`)); + const offer = plans.find((p) => p.a === 'fra' && p.b === 'par'); + assert.ok(offer, 'the fiber offers Frankfurt → Paris: ' + JSON.stringify(plans)); + assert.equal(offer.via.split(',')[0], ev('fa'), 'starting on this fiber'); + assert.equal(ev(`xpPaths('fra','par').some(r=>r.sp[0].id===fa)`), false, 'not among the three shortest'); + ev(`ACT.xpOpen(${JSON.stringify(offer)})`); + const heads = () => JSON.parse(ev(`JSON.stringify([...$('modal').querySelectorAll('h4')].map(h=>h.textContent))`)); + assert.match(heads()[0], /^via Amsterdam · /, 'the offered path comes first: ' + heads().join(' | ')); + assert.ok(ev(`[...$('modal').querySelectorAll('[data-act="xpBuild"]')].some(b=>JSON.parse(b.dataset.args).via===${JSON.stringify(offer.via)}&&!b.disabled)`), 'and it can be lit from here'); + // Switching tabs and back keeps it; the Express tab of a fresh window shows the shortest three. + ev("ACT.dfMode({m:'wave'})"); + ev(`ACT.xpOpen(JSON.parse($('modal').querySelector('[data-act="xpOpen"]').dataset.args))`); + assert.match(heads()[0], /^via Amsterdam · /); + ev("closeModal();ACT.xpOpen({a:'fra',b:'par'})"); + assert.ok(!heads().some((h) => /Amsterdam/.test(h)), heads().join(' | ')); + ev(`ACT.xpBuild({a:'fra',b:'par',via:${JSON.stringify(offer.via)},o:'zr4'});compute()`); + assert.equal(ev("S.links.filter(l=>l.kind==='xp').map(l=>l.via[0]).join()"), ev('fa')); + assert.deepEqual(errors, []); +}); + +test('the build standard keeps a fiber lit while an express on it carries traffic, and swaps it once the express is idle', (t) => { + const { ev, errors } = game(t); + ev(BUILD); + assert.ok(ev('R.load[x]') > 1, 'Paris rides the express'); + assert.equal(ev('(R.load[s1]||0)+(R.load[s2]||0)'), 0, 'the fibers carry nothing of their own'); + ev("S.popStd=bstdPut(Object.assign(bstd(),{sys:'cl'}));compute()"); + assert.deepEqual(JSON.parse(ev('JSON.stringify(bstdQuote(false).held)')).sort(), ['bru|par', 'fra|bru'], 'both fibers wait'); + ev('ACT.bstdApply()'); + assert.equal(ev("L(s1).sys+','+L(s2).sys"), 'roadm,roadm', 'no line system swap under a busy express'); + assert.equal(ev('xpDown(L(x))'), false, 'the express stays up'); + // Idle (Paris has no users left), the express no longer holds its fibers back. + ev('S.pops.par.bb=null;compute()'); + assert.equal(ev('R.load[x]||0'), 0); + ev('ACT.bstdApply()'); + assert.equal(ev("L(s1).sys+','+L(s2).sys"), 'cl,cl', 'both fibers move up to C+L'); + assert.deepEqual(errors, []); +}); + +test('in Spanish, every express label says exprés', () => { + const es = require('fs').readFileSync(require('path').join(__dirname, '..', 'site', 'i18n', 'es.js'), 'utf8'); + const lines = es.split('\n').filter((l) => l.startsWith('"express.')); + assert.ok(lines.length > 30); + assert.deepEqual(lines.filter((l) => /\bexpress\b/i.test(l.slice(l.indexOf(':')))), []); +}); diff --git a/tests/mcp-commands.test.js b/tests/mcp-commands.test.js index 71230db..50bf647 100644 --- a/tests/mcp-commands.test.js +++ b/tests/mcp-commands.test.js @@ -223,7 +223,7 @@ test('a dry run prices every command that has a price, and changes nothing', () rmLink: { id: wave }, buyNni: { city: 'fra', prov: fab, tier: 0 }, lagNni: { city: 'fra', prov: fab, d: 1 }, buyVxc: { a: 'fra', b: 'ams', prov: fab, t: 0 }, upVxc: { id: wave, t: 1 }, orderDf: { a: 'fra', b: 'ams', source: 'lease', system: 'lite' }, orderCable: { a: 'lis', b: 'nyc' }, subUpgrade: { id: df, k: 'terminal' }, crews: { id: df }, addCh: { id: df, o: 'zr4' }, addPair: { id: df }, upSys: { id: df }, regen: { id: df, d: 1 }, buySpare: { o: 'zr4' }, sellSpare: { o: 'zr4' }, - setChCount: { id: df, o: 'zr4', n: 2 }, repayLoan: { id: 'none' }, buildScrub: { city: 'ams', tier: 1 }, scrubUp: { city: 'fra', tier: 1 }, + setChCount: { id: df, o: 'zr4', n: 2 }, xpBuild: { a: 'fra', b: 'par', via: df + ',' + df, o: 'zr4' }, xpCh: { id: df, o: 'zr4', d: 1 }, repayLoan: { id: 'none' }, buildScrub: { city: 'ams', tier: 1 }, scrubUp: { city: 'fra', tier: 1 }, fixInc: { id: 'none' }, confGo: { key: T('catalog', { name: 'conferences' })[0].key }, confSponsor: { key: T('catalog', { name: 'conferences' })[0].key }, opsHire: { id: ev('Object.keys(INTERNS)[0]') }, opsNewPop: { city: 'nyc' }, pniAll: { net: 'cog', tier: 1 }, seatBuy: { n: 2 }, layShip: { id: df }, seaRush: { id: df }, utilityKit: { city: 'fra' }, utilityCaches: { city: 'fra' }, teDeploy: { script: 'spill at 85%' }, upLinkX: {}, From e1ae8e0164cbda1bbe662aacea51ddfc7e78189d Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 01:12:23 +0100 Subject: [PATCH 471/546] Satellite teleports: GEO and MEO circuits for islands and remote towns (#83) The early and mid-game satellite option, before Pie in the Sky. Build a teleport at a POP that a satellite sees, then rent capacity from it to a remote POP: GEO (Intelsplat, Kacophony) needs no capex but costs a lot a month per Gbps, 1-10 Gbps at about 600 ms; MEO (O3bservant) needs tracking antennas at the teleport and gives multi-Gbps at about 130 ms where both ends are under its ring, at least 5 degrees up. Coverage follows each bird's footprint by ocean region. Latency feeds the latency model: users who ride a satellite notice, in proportion to the share. A circuit beside a cable goes on standby, whichever came first, and carries only what the cable cannot: the classic single-cable island backup. Satellites are not subsea links for covenants, scenario goals or subsidies (Pitcairn's UK grant needs a cable). Express fiber and the build standard leave satellite circuits alone. --- .claude/skills/gameplay-rules/SKILL.md | 4 +- CHANGELOG.md | 1 + site/i18n/de.js | 70 +++ site/i18n/es.js | 70 +++ site/i18n/fr.js | 70 +++ site/i18n/it.js | 70 +++ site/i18n/pt.js | 70 +++ src/agent/10-domains.js | 2 + src/agent/20-commands.js | 19 +- src/agent/30-docs.js | 5 +- src/agent/40-read.js | 2 +- src/game/10-catalog/60-reach-and-subsea.js | 6 +- src/game/10-catalog/75-satellites.js | 61 +++ src/game/60-features/10-banks.js | 4 +- src/game/60-features/20-scenarios.js | 4 +- src/game/60-features/45-teleports.js | 73 +++ src/game/60-features/50-traceroute.js | 2 +- src/game/60-features/85-pitcairn.js | 11 +- src/game/60-features/95-standing-orders.js | 2 +- src/game/60-features/96-pop-standard.js | 2 +- src/game/60-features/99-pie-subsidies.js | 2 +- src/game/80-simulation/10-dijkstra.js | 2 +- src/game/80-simulation/30-compute.js | 21 +- src/game/80-simulation/40-billing.js | 2 +- src/game/80-simulation/50-sanitize.js | 3 +- .../80-simulation/80-geography-and-latency.js | 2 +- src/game/85-incidents/20-failures.js | 2 +- src/game/85-incidents/40-chaos-monkey.js | 4 +- src/game/88-days/10-day-tick.js | 2 +- src/game/90-actions/10-interface.js | 2 +- src/game/90-actions/60-links.js | 6 +- src/game/90-actions/86-specialist.js | 2 +- src/game/90-actions/87-fiber-and-hardware.js | 4 +- src/game/90-actions/87-teleports.js | 27 ++ src/game/93-ui/50-city-panel.js | 7 +- src/game/93-ui/70-link-panels.js | 1 + src/game/93-ui/72-teleport-panels.js | 60 +++ src/game/94-dashboard/50-lease-swaps.js | 2 +- src/game/94-dashboard/60-dashboard.js | 2 +- src/game/94-dashboard/70-bank.js | 2 +- src/game/95-modals/70-link-modal.js | 2 +- src/game/96-map/55-link-look.js | 4 +- src/i18n/en.js | 70 +++ tests/gameplay-rules.test.js | 6 +- tests/mcp-commands.test.js | 1 + tests/satellites.test.js | 445 ++++++++++++++++++ 46 files changed, 1176 insertions(+), 55 deletions(-) create mode 100644 src/game/10-catalog/75-satellites.js create mode 100644 src/game/60-features/45-teleports.js create mode 100644 src/game/90-actions/87-teleports.js create mode 100644 src/game/93-ui/72-teleport-panels.js create mode 100644 tests/satellites.test.js diff --git a/.claude/skills/gameplay-rules/SKILL.md b/.claude/skills/gameplay-rules/SKILL.md index 6f149f4..619584b 100644 --- a/.claude/skills/gameplay-rules/SKILL.md +++ b/.claude/skills/gameplay-rules/SKILL.md @@ -24,7 +24,7 @@ These are what the game promises, held up by `tests/gameplay-rules.test.js` (one | --- | --- | --- | | W1 | Every city has a country code (`cc`, ISO 3166-1 alpha-2; territories have their own: PR, GU, RE, MQ, CW…), a region, a landmass and coordinates. | Borders, prices and the eyeball rule all hang off the country. | | W2 | Every country on the map has at least two consumer networks of its own: an eyeball network, or a Tier 1 or Tier 2 incumbent that sells to homes, whose home markets (`cc` on the network) include that country and which has a PoP there. | Real countries have competing local ISPs, and peering locally is half the game. Add real operators in `src/game/30-networks/32-homegrown-eyeballs.js`. | -| W3 | Every city can buy transit from someone, or is a documented exception (Pitcairn: land your own cable, or reach it through a pie dish; Stuttgart: peering only). | A start or an expansion must never be a dead end by accident. | +| W3 | Every city can buy transit from someone, or is a documented exception (Pitcairn: land your own cable, reach it through a pie dish, or rent a satellite circuit from a teleport; Stuttgart: peering only). | A start or an expansion must never be a dead end by accident. | | W4 | Cable pairs join two distinct real cities, have a length, and cable ids are unique. | Broken landings break routing and the own-cable planner. | | W5 | A city alone on its landmass has a cable or a beach to land one. | Islands are reachable. | @@ -33,7 +33,7 @@ These are what the game promises, held up by `tests/gameplay-rules.test.js` (one | Id | Rule | Why | | --- | --- | --- | | N1 | Network ids and ASNs are unique; ASNs are public (the real one for real-world networks). | Saves key on ids; players look ASNs up. | -| N2 | Names are puns: no network, cable, exchange, data center, router, optic, cable ship or maintenance club is called by a real name (blocklist `REAL_NAMES` in the test), and no lazy "-ish" names. | CLAUDE.md. Add the real name to the blocklist whenever you add its pun. | +| N2 | Names are puns: no network, cable, exchange, data center, router, optic, satellite or satellite operator, cable ship or maintenance club is called by a real name (blocklist `REAL_NAMES` in the test), and no lazy "-ish" names. | CLAUDE.md. Add the real name to the blocklist whenever you add its pun. | | N3 | Every non-Tier-1, non-content network is in a founding Tier 1's customer cone (`up`), or is a documented island (transit-free incumbents, China, Korea, Australia…). Upstreams exist and are never content. | Tier 1 by customer cone (#85): a new network outside the cones makes Tier 1 harder for every save, old ones included. | | N4 | No upstream cycles. | Cones must be trees, not loops. | | N5 | Traffic shares are positive and below 20%; `NSH` and the regional tables sum to 1; content carries at least 30%. | Shares drive every flow; eyeballs mostly ask for traffic. | diff --git a/CHANGELOG.md b/CHANGELOG.md index 639dbf4..af60927 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ All notable changes to this project are documented here. The project follows - Copies of the game you host yourself can now have multiplayer: friends join your session with a six-character code and build their networks next to yours in the same world, with a leaderboard, a feed with chat, saves kept on your server and a link to carry a network to another device. It needs the small session server that comes with the source code, so the game at seriesoftub.es stays single-player. - Dark mode: pick Light, Dark or Auto (follows your device) under Settings › Theme. The panels, the NOC dashboard and the map all go dark, with a night-time sea and land, and the setting is kept on your device (#80). - Express lightpaths: light a wave straight through the cities between your own dark fibers, without touching the routers there. Wherever two or more of your ROADM fibers on land meet, a fiber's panel lists where an express can go and the link window gets an Express tab; it uses ports only at its two ends, saves a hop of latency and takes one channel slot on every fiber it rides, and the light has to reach all the way between regen sites. A cut or a line system swap on any of those fibers darkens it, and a fiber can only be given up once no express rides it. (#58) +- Teleports bring satellites to small islands and remote towns, long before you have a cable there or a rocket company (#83). Build one at a POP from level 2 and rent GEO circuits (about 600 ms round trip, and users notice) or, with tracking antennas from level 3, MEO circuits (about 130 ms) to any island or town its satellites see. Next to an island's only cable a circuit waits on standby (whether the cable or the circuit came first) and carries the island when the cable is cut, and a city with no cable at all gets a POP and a circuit in one order. - Your intern can standardize your routers on a model you choose: pick it in Keep routers ahead, and every POP on a smaller model is swapped to it, the busiest first, within the monthly budget. Every setting in the Standing orders sheet is now a list to pick from instead of a button to tap through. - Set a build standard for your whole network: routers, a second building and a generator at every POP, LAGs, exchange ports and PNIs, line systems, optics and wave sizes, all in one sheet. New POPs get the POP part the day they open, the sheet shows what is below the standard and what fixing it costs, one tap brings everything up, and the new "Keep to the build standard" order has your intern do it a few jobs a day with money to spare. Find it in the menu, the Standing orders sheet and every POP's router section. - IPv4 is scarce now: business customers need public address blocks, and the homes that do not fit share addresses behind CGNAT. A new network starts with a /21 from its registry, enough for its first months; buy, lease or sell blocks from /24 to /16 on the transfer market in the bank's new Address space section, or lease spare ones out for a monthly income. An offer you have no addresses for says so and waits, a customer that wants to grow at renewal stays at its size until you have the addresses, CGNAT costs a little and annoys some gamers, and you pick how many homes share an address. IPv6 stays free for everyone. This is part of On-call and BGP at 3 a.m.; the gentler rules, Sandbox, puzzles and scenarios keep IPv4 plentiful, and saved games get the addresses they already use plus room to grow (#150). diff --git a/site/i18n/de.js b/site/i18n/de.js index bccdbe8..8e8c786 100644 --- a/site/i18n/de.js +++ b/site/i18n/de.js @@ -3927,6 +3927,7 @@ "pie_traffic.via_dishes":"hoch in {up}, runter in {down}", "pitcairn.uk_grant_mo":"Zuschuss aus UK {mo}/Monat", "pitcairn.uk_grant_mo_once_islanders":"Zuschuss aus UK {mo}/Monat, sobald die Inselbewohner online sind", +"pitcairn.uk_grant_needs_a_cable":"Zuschuss aus UK {mo}/Monat nur mit Kabel: gemietete Satellitenkapazität zählt nicht", "pitcairn.uk_sky_grant_mo":"Satelliten-Zuschuss aus UK {mo}/Monat (Glasfaser bekommt {full})", "pni_all.additional_per_month":"Zusätzliche Kosten pro Monat", "pni_all.all_at_port":"Mit allen Netzen peeren · {port}", @@ -4534,6 +4535,75 @@ "sales.w_last":"Letzte Woche: {name} {list}.", "sales.w_now":"Diese Woche: {name} {list}.", "sales.w_signed":{"one":"hat einen Kunden gewonnen ({rev}/Monat)","other":"hat {n} Kunden gewonnen ({rev}/Monat)"}, +"satellites.a_teleport_is_a_satellite_gateway":"Ein Teleport ist ein Satelliten-Gateway: große Schüsseln an diesem POP, die Kapazität auf fremden Satelliten mieten, für kleine Inseln und abgelegene Orte, die kein Kabel erreicht, oder die an einem Kabel und einem Stoßgebet hängen.", +"satellites.add_tracking_antennas_cost_mo":"MEO-Nachführantennen {cost} + {mo}/Monat", +"satellites.being_commissioned":"Wird in Betrieb genommen", +"satellites.build_a_teleport_cost_mo":"Teleport bauen {cost} + {mo}/Monat", +"satellites.by_satellite":"Per Satellit", +"satellites.cancel_n_circuits_first":{"one":"Kündige zuerst seine Satellitenverbindung.","other":"Kündige zuerst seine {n} Satellitenverbindungen."}, +"satellites.choose":"Wählen", +"satellites.circuit_ordered":{"one":"{cap} auf {bird} bestellt. {a} ⇄ {b} wird ausgerichtet und getestet: läuft in {n} Tag.","other":"{cap} auf {bird} bestellt. {a} ⇄ {b} wird ausgerichtet und getestet: läuft in {n} Tagen."}, +"satellites.close_the_teleport":"Teleport schließen", +"satellites.costs_row":"Teleports und Satelliten", +"satellites.geo_dishes":"GEO-Schüsseln", +"satellites.geo_dishes_and_meo_tracking":"GEO-Schüsseln und MEO-Nachführantennen", +"satellites.geo_users_notice":"Aus 36.000 km Höhe dauert die Runde etwa 600 ms: Videocalls und Games ruckeln, und die Nutzer werten {p} des Service als schlecht.", +"satellites.grow_to":"Auf {cap} vergrößern", +"satellites.in_view_list":"In Sicht: {list}.", +"satellites.it_waits_on_standby":"Zwischen den beiden hast du schon einen Link: Der Satellit wartet im Standby und trägt Traffic nur, wenn dieser Link ausfällt.", +"satellites.its_blurb":"Klassische C- und Ku-Band-Strahlen, die einen ganzen Ozean abdecken. Zuverlässig, überall, und so bepreist.", +"satellites.kac_blurb":"Ka-Band-Spotbeams über dem Westpazifik: das billigste Gbps im Orbit, wenn deine Insel unter einem Beam liegt.", +"satellites.meo_comes_at_level":"Der MEO-Ring (etwa 130 ms hin und zurück) kommt auf Level {lv}.", +"satellites.meo_ring_misses_city":"Der MEO-Ring sieht {city} nicht: Er deckt {lat}° beiderseits des Äquators ab.", +"satellites.meo_users_notice":"Viel näher am Boden, etwa 130 ms hin und zurück: Die Nutzer merken kaum etwas ({p} des Service gilt als schlecht).", +"satellites.more_islands_and_towns":"Weitere Inseln und Orte in Sicht", +"satellites.ms_one_way_rtt":"{ms} ms pro Richtung, {rtt} ms hin und zurück", +"satellites.ms_round_trip":"{ms} ms hin und zurück", +"satellites.n_birds_see_both":{"one":"{n} Satellit sieht beide","other":"{n} Satelliten sehen beide"}, +"satellites.n_circuits_go_on_standby":{"one":"Deine Satellitenverbindung zwischen {a} und {b} geht neben dem neuen Link in Standby: Sie trägt Traffic nur, wenn dieser Link ausfällt.","other":"Deine {n} Satellitenverbindungen zwischen {a} und {b} gehen neben dem neuen Link in Standby: Sie tragen Traffic nur, wenn dieser Link ausfällt."}, +"satellites.n_places_in_reach":{"one":"{n} Insel oder abgelegener Ort in Reichweite auf deinem Level.","other":"{n} Inseln und abgelegene Orte in Reichweite auf deinem Level."}, +"satellites.needs_tracking_antennas":"Der MEO-Ring braucht Nachführantennen an deinem Teleport in {city}.", +"satellites.new_pop_cost":"neuer POP {cost}", +"satellites.no_bird_sees_both":"Kein Satellit im Angebot sieht {a} und {b} zugleich.", +"satellites.no_bird_sees_this_city":"Kein Satellit im Angebot sieht diese Stadt.", +"satellites.no_cable_needed_a_pop_here":"Kein Kabel nötig: Eine Satellitenverbindung von einem deiner Teleports bringt einen POP in {city} online.", +"satellites.no_pop_in_city":"Du hast keinen POP in {city}.", +"satellites.no_pop_there_yet":"Noch kein POP in {city}: Der wird gleich mitgebaut ({cost}).", +"satellites.no_such_circuit":"Diese Satellitenverbindung gibt es nicht.", +"satellites.no_teleport_in_city":"Du hast keinen Teleport in {city}.", +"satellites.no_teleport_reaches_city":"Keiner deiner Teleports erreicht {city}. Bau einen an einem POP, dessen Satelliten die Stadt sehen.", +"satellites.not_remote":"{city} ist ein zu großer Markt für Satellitenkapazität: Die ist für kleine Inseln und abgelegene Orte da.", +"satellites.nothing_in_view_from_here":"Von hier ist keine Insel und kein abgelegener Ort in Sicht.", +"satellites.on_standby_beside_your_link":"Er wartet im Standby neben deinem Link zwischen den beiden und trägt Traffic nur, wenn dieser Link ausfällt.", +"satellites.orbit_unlocks_at_level":"{orb}-Satelliten gibt es ab Level {lv}.", +"satellites.out_of_footprint":"{bird} sieht nicht {a} und {b} zugleich.", +"satellites.pointing_dishes_and_testing":"Schüsseln ausrichten und testen", +"satellites.radio_path":"Funkweg, hoch und runter", +"satellites.reachable_from_your_teleports":"Deine Teleports erreichen {city} per Satellit:", +"satellites.really_close_it":"Wirklich schließen?", +"satellites.rent":"Miete", +"satellites.rent_satellite_capacity":"Satellitenkapazität mieten", +"satellites.satellite_capacity":"Satellitenkapazität", +"satellites.satellites":"Satelliten", +"satellites.sea_americas":"Amerika", +"satellites.sea_atlantic":"Atlantik", +"satellites.sea_indian":"Indischer Ozean", +"satellites.sea_pacific":"Pazifik", +"satellites.sea_tropics":"bis 50° um den Äquator", +"satellites.sea_west_pacific":"Westpazifik", +"satellites.sesa_blurb":"Ein Ring aus Satelliten 8.000 km über dem Äquator, für die anderen drei Milliarden. Sesam, öffne dich: etwa 130 ms hin und zurück.", +"satellites.shrink_to":"Auf {cap} verkleinern", +"satellites.teleport":"Teleport", +"satellites.teleport_closed":"Der Teleport in {city} ist geschlossen.", +"satellites.teleport_up_in_city":"Teleport in {city} läuft. Große Schüsseln auf dem Dach, ab in den Himmel: Miete von hier Kapazität zu den Inseln in Sicht.", +"satellites.teleports_unlock_at_level":"Teleports gibt es ab Level {lv}.", +"satellites.tracking_antennas_up":"Nachführantennen in {city} laufen. Sie folgen dem MEO-Ring über den Himmel.", +"satellites.up_in_n_days":{"one":"läuft in {n} Tag","other":"läuft in {n} Tagen"}, +"satellites.users_notice_geo_meo":"Die Nutzer merken die Verzögerung: Breitband über GEO zählt als halber Service, über MEO fast als ganzer. Ein Kabel gewinnt immer, deine Router schicken Traffic also nur nach oben, wenn es keinen anderen Weg gibt.", +"satellites.users_ride_a_satellite":"Nutzer hängen am Satelliten", +"satellites.via_bird":"über {bird}", +"satellites.who_a_satellite_serves":"Satelliten bedienen kleine Inseln und abgelegene Orte, die derselbe Satellit sieht wie dein Teleport. Wähle das Ziel.", +"satellites.your_pops_in_view":"Deine POPs in Sicht", "save.cash_in_the_bank":"{cash} auf der Bank", "save.import_failed_err":"Import fehlgeschlagen.
{err}", "save.load_name":"{name} laden?", diff --git a/site/i18n/es.js b/site/i18n/es.js index 9ec154f..a416061 100644 --- a/site/i18n/es.js +++ b/site/i18n/es.js @@ -3925,6 +3925,7 @@ "pie_traffic.via_dishes":"sube en {up}, baja en {down}", "pitcairn.uk_grant_mo":"Subvención británica {mo}/mes", "pitcairn.uk_grant_mo_once_islanders":"Subvención británica {mo}/mes cuando los isleños estén en línea", +"pitcairn.uk_grant_needs_a_cable":"Subvención británica {mo}/mes solo con cable: la capacidad satelital alquilada no cuenta", "pitcairn.uk_sky_grant_mo":"Subvención británica por satélite {mo}/mes (la fibra recibe {full})", "pni_all.additional_per_month":"Coste mensual adicional", "pni_all.all_at_port":"Peering con todas las redes · {port}", @@ -4532,6 +4533,75 @@ "sales.w_last":"La semana pasada {name} {list}.", "sales.w_now":"Esta semana {name} {list}.", "sales.w_signed":{"one":"firmó un cliente ({rev}/mes)","other":"firmó {n} clientes ({rev}/mes)"}, +"satellites.a_teleport_is_a_satellite_gateway":"Un teleport es una pasarela satelital: antenas grandes en este POP que alquilan capacidad en satélites ajenos, para islas pequeñas y pueblos remotos a los que no llega ningún cable, o que cuelgan de un solo cable y una plegaria.", +"satellites.add_tracking_antennas_cost_mo":"Antenas de seguimiento MEO {cost} + {mo}/mes", +"satellites.being_commissioned":"En puesta en servicio", +"satellites.build_a_teleport_cost_mo":"Construir un teleport {cost} + {mo}/mes", +"satellites.by_satellite":"Por satélite", +"satellites.cancel_n_circuits_first":{"one":"Primero cancela su circuito satelital.","other":"Primero cancela sus {n} circuitos satelitales."}, +"satellites.choose":"Elegir", +"satellites.circuit_ordered":{"one":"{cap} en {bird} pedidos. {a} ⇄ {b} se está apuntando y probando: listo en {n} día.","other":"{cap} en {bird} pedidos. {a} ⇄ {b} se está apuntando y probando: listo en {n} días."}, +"satellites.close_the_teleport":"Cerrar el teleport", +"satellites.costs_row":"Teleports y satélites", +"satellites.geo_dishes":"Antenas GEO", +"satellites.geo_dishes_and_meo_tracking":"Antenas GEO y antenas de seguimiento MEO", +"satellites.geo_users_notice":"Desde 36.000 km de altura la ida y vuelta tarda unos 600 ms: las videollamadas y los juegos se traban, y los usuarios cuentan {p} del servicio como malo.", +"satellites.grow_to":"Ampliar a {cap}", +"satellites.in_view_list":"A la vista: {list}.", +"satellites.it_waits_on_standby":"Ya tienes un enlace entre estas dos: el satélite espera en reserva y solo lleva tráfico cuando ese enlace cae.", +"satellites.its_blurb":"Haces de banda C y Ku de toda la vida que cubren un océano entero. Fiables, en todas partes, y con precio a juego.", +"satellites.kac_blurb":"Haces puntuales en banda Ka sobre el Pacífico occidental: el Gbps más barato en órbita, si tu isla queda bajo un haz.", +"satellites.meo_comes_at_level":"El anillo MEO (unos 130 ms de ida y vuelta) llega en el nivel {lv}.", +"satellites.meo_ring_misses_city":"El anillo MEO no ve {city}: cubre {lat}° a cada lado del ecuador.", +"satellites.meo_users_notice":"Mucho más cerca del suelo, unos 130 ms de ida y vuelta: los usuarios apenas lo notan ({p} del servicio cuenta como malo).", +"satellites.more_islands_and_towns":"Más islas y pueblos a la vista", +"satellites.ms_one_way_rtt":"{ms} ms de ida, {rtt} ms de ida y vuelta", +"satellites.ms_round_trip":"{ms} ms de ida y vuelta", +"satellites.n_birds_see_both":{"one":"{n} satélite ve los dos","other":"{n} satélites ven los dos"}, +"satellites.n_circuits_go_on_standby":{"one":"Tu circuito satelital entre {a} y {b} pasa a reserva junto al nuevo enlace: solo lleva tráfico cuando ese enlace cae.","other":"Tus {n} circuitos satelitales entre {a} y {b} pasan a reserva junto al nuevo enlace: solo llevan tráfico cuando ese enlace cae."}, +"satellites.n_places_in_reach":{"one":"{n} isla o pueblo remoto a tu alcance en tu nivel.","other":"{n} islas y pueblos remotos a tu alcance en tu nivel."}, +"satellites.needs_tracking_antennas":"El anillo MEO necesita antenas de seguimiento en tu teleport de {city}.", +"satellites.new_pop_cost":"POP nuevo {cost}", +"satellites.no_bird_sees_both":"Ningún satélite a la venta ve a la vez {a} y {b}.", +"satellites.no_bird_sees_this_city":"Ningún satélite a la venta ve esta ciudad.", +"satellites.no_cable_needed_a_pop_here":"Sin cable: un circuito satelital desde uno de tus teleports pone en línea un POP en {city}.", +"satellites.no_pop_in_city":"No tienes POP en {city}.", +"satellites.no_pop_there_yet":"Aún no hay POP en {city}: esto también construye uno ({cost}).", +"satellites.no_such_circuit":"Ese circuito satelital no existe.", +"satellites.no_teleport_in_city":"No tienes teleport en {city}.", +"satellites.no_teleport_reaches_city":"Ninguno de tus teleports llega a {city}. Construye uno en un POP cuyos satélites la vean.", +"satellites.not_remote":"{city} es un mercado demasiado grande para capacidad satelital: es para islas pequeñas y pueblos remotos.", +"satellites.nothing_in_view_from_here":"Desde aquí no hay ninguna isla ni pueblo remoto a la vista.", +"satellites.on_standby_beside_your_link":"Espera en reserva junto a tu enlace entre las dos y solo lleva tráfico cuando ese enlace cae.", +"satellites.orbit_unlocks_at_level":"Los satélites {orb} se desbloquean en el nivel {lv}.", +"satellites.out_of_footprint":"{bird} no ve a la vez {a} y {b}.", +"satellites.pointing_dishes_and_testing":"Apuntando antenas y probando", +"satellites.radio_path":"Trayecto de radio, subida y bajada", +"satellites.reachable_from_your_teleports":"Tus teleports llegan a {city} por satélite:", +"satellites.really_close_it":"¿Cerrarlo de verdad?", +"satellites.rent":"Alquiler", +"satellites.rent_satellite_capacity":"Alquilar capacidad satelital", +"satellites.satellite_capacity":"Capacidad satelital", +"satellites.satellites":"Satélites", +"satellites.sea_americas":"Américas", +"satellites.sea_atlantic":"Atlántico", +"satellites.sea_indian":"Océano Índico", +"satellites.sea_pacific":"Pacífico", +"satellites.sea_tropics":"hasta 50° del ecuador", +"satellites.sea_west_pacific":"Pacífico occidental", +"satellites.sesa_blurb":"Un anillo de satélites a 8.000 km sobre el ecuador, para los otros tres mil millones. Ábrete, sésamo: unos 130 ms de ida y vuelta.", +"satellites.shrink_to":"Reducir a {cap}", +"satellites.teleport":"Teleport", +"satellites.teleport_closed":"El teleport de {city} está cerrado.", +"satellites.teleport_up_in_city":"Teleport en marcha en {city}. Antenas enormes en la azotea, apuntando al cielo: alquila desde aquí capacidad hacia las islas a la vista.", +"satellites.teleports_unlock_at_level":"Los teleports se desbloquean en el nivel {lv}.", +"satellites.tracking_antennas_up":"Antenas de seguimiento en marcha en {city}. Siguen el anillo MEO por el cielo.", +"satellites.up_in_n_days":{"one":"listo en {n} día","other":"listo en {n} días"}, +"satellites.users_notice_geo_meo":"Los usuarios notan el retardo: la banda ancha por GEO cuenta como medio servicio, por MEO casi como el servicio entero. Un cable siempre gana, así que tus routers solo mandan tráfico arriba cuando no hay otro camino.", +"satellites.users_ride_a_satellite":"usuarios vía satélite", +"satellites.via_bird":"vía {bird}", +"satellites.who_a_satellite_serves":"Los satélites sirven a islas pequeñas y pueblos remotos que ve el mismo satélite que tu teleport. Elige el destino.", +"satellites.your_pops_in_view":"Tus POP a la vista", "save.cash_in_the_bank":"{cash} en el banco", "save.import_failed_err":"Falló la importación.
{err}", "save.load_name":"¿Cargar {name}?", diff --git a/site/i18n/fr.js b/site/i18n/fr.js index ec461d3..6ca08cf 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -3925,6 +3925,7 @@ "pie_traffic.via_dishes":"monte à {up}, descend à {down}", "pitcairn.uk_grant_mo":"Subvention britannique {mo}/mois", "pitcairn.uk_grant_mo_once_islanders":"Subvention britannique {mo}/mois une fois les insulaires en ligne", +"pitcairn.uk_grant_needs_a_cable":"Subvention britannique {mo}/mois seulement avec un câble : la capacité satellite louée ne compte pas", "pitcairn.uk_sky_grant_mo":"Subvention britannique satellite {mo}/mois (la fibre touche {full})", "pni_all.additional_per_month":"Coût mensuel supplémentaire", "pni_all.all_at_port":"Peering avec tous les réseaux · {port}", @@ -4532,6 +4533,75 @@ "sales.w_last":"La semaine dernière, {name} {list}.", "sales.w_now":"Cette semaine, {name} {list}.", "sales.w_signed":{"one":"a signé un client ({rev}/mois)","other":"a signé {n} clients ({rev}/mois)"}, +"satellites.a_teleport_is_a_satellite_gateway":"Un téléport est une passerelle satellite : de grandes paraboles sur ce POP qui louent de la capacité sur les satellites des autres, vers les petites îles et les villes isolées qu’aucun câble ne dessert, ou qui ne tiennent qu’à un câble et une prière.", +"satellites.add_tracking_antennas_cost_mo":"Antennes de poursuite MEO {cost} + {mo}/mois", +"satellites.being_commissioned":"Mise en service", +"satellites.build_a_teleport_cost_mo":"Construire un téléport {cost} + {mo}/mois", +"satellites.by_satellite":"Par satellite", +"satellites.cancel_n_circuits_first":{"one":"Résilie d’abord son circuit satellite.","other":"Résilie d’abord ses {n} circuits satellite."}, +"satellites.choose":"Choisir", +"satellites.circuit_ordered":{"one":"{cap} sur {bird} commandé. {a} ⇄ {b} est en cours de pointage et de test : en service dans {n} jour.","other":"{cap} sur {bird} commandé. {a} ⇄ {b} est en cours de pointage et de test : en service dans {n} jours."}, +"satellites.close_the_teleport":"Fermer le téléport", +"satellites.costs_row":"Téléports et satellites", +"satellites.geo_dishes":"Paraboles GEO", +"satellites.geo_dishes_and_meo_tracking":"Paraboles GEO et antennes de poursuite MEO", +"satellites.geo_users_notice":"Depuis 36 000 km d’altitude, l’aller-retour prend environ 600 ms : visios et jeux saccadent, et les utilisateurs comptent {p} du service comme mauvais.", +"satellites.grow_to":"Passer à {cap}", +"satellites.in_view_list":"En vue : {list}.", +"satellites.it_waits_on_standby":"Tu as déjà un lien entre ces deux villes : le satellite attend en réserve et ne porte du trafic que quand ce lien tombe.", +"satellites.its_blurb":"De bons vieux faisceaux en bande C et Ku qui couvrent tout un océan. Fiables, partout, et facturés en conséquence.", +"satellites.kac_blurb":"Des spots en bande Ka sur le Pacifique occidental : le Gbps le moins cher en orbite, si ton île est sous un spot.", +"satellites.meo_comes_at_level":"L’anneau MEO (environ 130 ms aller-retour) arrive au niveau {lv}.", +"satellites.meo_ring_misses_city":"L’anneau MEO ne voit pas {city} : il couvre {lat}° de part et d’autre de l’équateur.", +"satellites.meo_users_notice":"Bien plus près du sol, environ 130 ms aller-retour : les utilisateurs le remarquent à peine ({p} du service compte comme mauvais).", +"satellites.more_islands_and_towns":"Autres îles et villes en vue", +"satellites.ms_one_way_rtt":"{ms} ms aller, {rtt} ms aller-retour", +"satellites.ms_round_trip":"{ms} ms aller-retour", +"satellites.n_birds_see_both":{"one":"{n} satellite voit les deux","other":"{n} satellites voient les deux"}, +"satellites.n_circuits_go_on_standby":{"one":"Ton circuit satellite entre {a} et {b} passe en réserve à côté du nouveau lien : il ne porte du trafic que quand ce lien tombe.","other":"Tes {n} circuits satellite entre {a} et {b} passent en réserve à côté du nouveau lien : ils ne portent du trafic que quand ce lien tombe."}, +"satellites.n_places_in_reach":{"one":"{n} île ou ville isolée à portée à ton niveau.","other":"{n} îles et villes isolées à portée à ton niveau."}, +"satellites.needs_tracking_antennas":"L’anneau MEO a besoin d’antennes de poursuite à ton téléport de {city}.", +"satellites.new_pop_cost":"nouveau POP {cost}", +"satellites.no_bird_sees_both":"Aucun satellite en vente ne voit à la fois {a} et {b}.", +"satellites.no_bird_sees_this_city":"Aucun satellite en vente ne voit cette ville.", +"satellites.no_cable_needed_a_pop_here":"Pas besoin de câble : un circuit satellite depuis un de tes téléports met un POP à {city} en ligne.", +"satellites.no_pop_in_city":"Tu n’as pas de POP à {city}.", +"satellites.no_pop_there_yet":"Pas encore de POP à {city} : on en construit un au passage ({cost}).", +"satellites.no_such_circuit":"Ce circuit satellite n’existe pas.", +"satellites.no_teleport_in_city":"Tu n’as pas de téléport à {city}.", +"satellites.no_teleport_reaches_city":"Aucun de tes téléports n’atteint {city}. Construis-en un sur un POP dont les satellites la voient.", +"satellites.not_remote":"{city} est un trop gros marché pour de la capacité satellite : elle sert les petites îles et les villes isolées.", +"satellites.nothing_in_view_from_here":"Aucune île ni ville isolée en vue d’ici.", +"satellites.on_standby_beside_your_link":"Il attend en réserve à côté de ton lien entre les deux et ne porte du trafic que quand ce lien tombe.", +"satellites.orbit_unlocks_at_level":"Les satellites {orb} se débloquent au niveau {lv}.", +"satellites.out_of_footprint":"{bird} ne voit pas à la fois {a} et {b}.", +"satellites.pointing_dishes_and_testing":"Pointage des paraboles et tests", +"satellites.radio_path":"Trajet radio, montée et descente", +"satellites.reachable_from_your_teleports":"Tes téléports atteignent {city} par satellite :", +"satellites.really_close_it":"Vraiment le fermer ?", +"satellites.rent":"Location", +"satellites.rent_satellite_capacity":"Louer de la capacité satellite", +"satellites.satellite_capacity":"Capacité satellite", +"satellites.satellites":"Satellites", +"satellites.sea_americas":"Amériques", +"satellites.sea_atlantic":"Atlantique", +"satellites.sea_indian":"Océan Indien", +"satellites.sea_pacific":"Pacifique", +"satellites.sea_tropics":"jusqu’à 50° de l’équateur", +"satellites.sea_west_pacific":"Pacifique occidental", +"satellites.sesa_blurb":"Un anneau de satellites à 8 000 km au-dessus de l’équateur, pour les trois autres milliards. Sésame, ouvre-toi : environ 130 ms aller-retour.", +"satellites.shrink_to":"Réduire à {cap}", +"satellites.teleport":"Téléport", +"satellites.teleport_closed":"Le téléport de {city} est fermé.", +"satellites.teleport_up_in_city":"Téléport en service à {city}. De grandes paraboles sur le toit, pointées vers le ciel : loue d’ici de la capacité vers les îles en vue.", +"satellites.teleports_unlock_at_level":"Les téléports se débloquent au niveau {lv}.", +"satellites.tracking_antennas_up":"Antennes de poursuite en service à {city}. Elles suivent l’anneau MEO dans le ciel.", +"satellites.up_in_n_days":{"one":"en service dans {n} jour","other":"en service dans {n} jours"}, +"satellites.users_notice_geo_meo":"Les utilisateurs sentent le délai : le haut débit par GEO compte pour la moitié du service, par MEO presque pour tout. Un câble gagne toujours, donc tes routeurs n’envoient du trafic là-haut que s’il n’y a pas d’autre chemin.", +"satellites.users_ride_a_satellite":"utilisateurs sur satellite", +"satellites.via_bird":"via {bird}", +"satellites.who_a_satellite_serves":"Les satellites desservent les petites îles et les villes isolées que voit le même satellite que ton téléport. Choisis la destination.", +"satellites.your_pops_in_view":"Tes POP en vue", "save.cash_in_the_bank":"{cash} en banque", "save.import_failed_err":"Échec de l’import.
{err}", "save.load_name":"Charger {name} ?", diff --git a/site/i18n/it.js b/site/i18n/it.js index 06d88d6..e0b0bf0 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -3925,6 +3925,7 @@ "pie_traffic.via_dishes":"su a {up}, giù a {down}", "pitcairn.uk_grant_mo":"Contributo UK {mo}/mese", "pitcairn.uk_grant_mo_once_islanders":"Contributo UK {mo}/mese quando gli isolani saranno online", +"pitcairn.uk_grant_needs_a_cable":"Contributo UK {mo}/mese solo con un cavo: la capacità satellitare in affitto non conta", "pitcairn.uk_sky_grant_mo":"Contributo UK via satellite {mo}/mese (la fibra prende {full})", "pni_all.additional_per_month":"Costo mensile aggiuntivo", "pni_all.all_at_port":"Peering con tutte le reti · {port}", @@ -4532,6 +4533,75 @@ "sales.w_last":"La settimana scorsa {name} {list}.", "sales.w_now":"Questa settimana {name} {list}.", "sales.w_signed":{"one":"ha firmato un cliente ({rev}/mese)","other":"ha firmato {n} clienti ({rev}/mese)"}, +"satellites.a_teleport_is_a_satellite_gateway":"Un teleport è un gateway satellitare: grandi parabole in questo POP che noleggiano capacità sui satelliti di altri, verso piccole isole e città remote che nessun cavo raggiunge, o che stanno appese a un solo cavo e a una preghiera.", +"satellites.add_tracking_antennas_cost_mo":"Antenne a inseguimento MEO {cost} + {mo}/mese", +"satellites.being_commissioned":"In attivazione", +"satellites.build_a_teleport_cost_mo":"Costruisci un teleport {cost} + {mo}/mese", +"satellites.by_satellite":"Via satellite", +"satellites.cancel_n_circuits_first":{"one":"Prima disdici il suo circuito satellitare.","other":"Prima disdici i suoi {n} circuiti satellitari."}, +"satellites.choose":"Scegli", +"satellites.circuit_ordered":{"one":"{cap} su {bird} ordinati. {a} ⇄ {b} si sta puntando e testando: attivo tra {n} giorno.","other":"{cap} su {bird} ordinati. {a} ⇄ {b} si sta puntando e testando: attivo tra {n} giorni."}, +"satellites.close_the_teleport":"Chiudi il teleport", +"satellites.costs_row":"Teleport e satelliti", +"satellites.geo_dishes":"Parabole GEO", +"satellites.geo_dishes_and_meo_tracking":"Parabole GEO e antenne a inseguimento MEO", +"satellites.geo_users_notice":"Da 36.000 km di quota il giro dura circa 600 ms: videochiamate e giochi scattano, e gli utenti contano {p} del servizio come pessimo.", +"satellites.grow_to":"Porta a {cap}", +"satellites.in_view_list":"In vista: {list}.", +"satellites.it_waits_on_standby":"Tra queste due hai già un link: il satellite aspetta in standby e porta traffico solo quando quel link cade.", +"satellites.its_blurb":"I classici fasci in banda C e Ku che coprono un oceano intero. Affidabili, ovunque, e con il prezzo che ne consegue.", +"satellites.kac_blurb":"Spot beam in banda Ka sul Pacifico occidentale: il Gbps più economico in orbita, se la tua isola sta sotto un fascio.", +"satellites.meo_comes_at_level":"L’anello MEO (circa 130 ms andata e ritorno) arriva al livello {lv}.", +"satellites.meo_ring_misses_city":"L’anello MEO non vede {city}: copre {lat}° a nord e a sud dell’equatore.", +"satellites.meo_users_notice":"Molto più vicino a terra, circa 130 ms andata e ritorno: gli utenti se ne accorgono appena ({p} del servizio conta come pessimo).", +"satellites.more_islands_and_towns":"Altre isole e città in vista", +"satellites.ms_one_way_rtt":"{ms} ms solo andata, {rtt} ms andata e ritorno", +"satellites.ms_round_trip":"{ms} ms andata e ritorno", +"satellites.n_birds_see_both":{"one":"{n} satellite vede entrambe","other":"{n} satelliti vedono entrambe"}, +"satellites.n_circuits_go_on_standby":{"one":"Il tuo circuito satellitare tra {a} e {b} va in standby accanto al nuovo link: porta traffico solo quando quel link cade.","other":"I tuoi {n} circuiti satellitari tra {a} e {b} vanno in standby accanto al nuovo link: portano traffico solo quando quel link cade."}, +"satellites.n_places_in_reach":{"one":"{n} isola o città remota a portata al tuo livello.","other":"{n} isole e città remote a portata al tuo livello."}, +"satellites.needs_tracking_antennas":"L’anello MEO vuole antenne a inseguimento al tuo teleport di {city}.", +"satellites.new_pop_cost":"nuovo POP {cost}", +"satellites.no_bird_sees_both":"Nessun satellite in vendita vede insieme {a} e {b}.", +"satellites.no_bird_sees_this_city":"Nessun satellite in vendita vede questa città.", +"satellites.no_cable_needed_a_pop_here":"Niente cavo: un circuito satellitare da uno dei tuoi teleport mette online un POP a {city}.", +"satellites.no_pop_in_city":"Non hai un POP a {city}.", +"satellites.no_pop_there_yet":"A {city} non c’è ancora un POP: così ne costruisci anche uno ({cost}).", +"satellites.no_such_circuit":"Questo circuito satellitare non esiste.", +"satellites.no_teleport_in_city":"Non hai un teleport a {city}.", +"satellites.no_teleport_reaches_city":"Nessuno dei tuoi teleport raggiunge {city}. Costruiscine uno in un POP i cui satelliti la vedano.", +"satellites.not_remote":"{city} è un mercato troppo grande per la capacità satellitare: quella serve piccole isole e città remote.", +"satellites.nothing_in_view_from_here":"Da qui non si vede nessuna isola né città remota.", +"satellites.on_standby_beside_your_link":"Aspetta in standby accanto al tuo link tra le due e porta traffico solo quando quel link cade.", +"satellites.orbit_unlocks_at_level":"I satelliti {orb} si sbloccano al livello {lv}.", +"satellites.out_of_footprint":"{bird} non vede insieme {a} e {b}.", +"satellites.pointing_dishes_and_testing":"Puntamento delle parabole e test", +"satellites.radio_path":"Percorso radio, su e giù", +"satellites.reachable_from_your_teleports":"I tuoi teleport raggiungono {city} via satellite:", +"satellites.really_close_it":"Lo chiudi davvero?", +"satellites.rent":"Noleggio", +"satellites.rent_satellite_capacity":"Noleggia capacità satellitare", +"satellites.satellite_capacity":"Capacità satellitare", +"satellites.satellites":"Satelliti", +"satellites.sea_americas":"Americhe", +"satellites.sea_atlantic":"Atlantico", +"satellites.sea_indian":"Oceano Indiano", +"satellites.sea_pacific":"Pacifico", +"satellites.sea_tropics":"entro 50° dall’equatore", +"satellites.sea_west_pacific":"Pacifico occidentale", +"satellites.sesa_blurb":"Un anello di satelliti a 8.000 km sopra l’equatore, per gli altri tre miliardi. Apriti sesamo: circa 130 ms andata e ritorno.", +"satellites.shrink_to":"Riduci a {cap}", +"satellites.teleport":"Teleport", +"satellites.teleport_closed":"Il teleport di {city} è chiuso.", +"satellites.teleport_up_in_city":"Teleport attivo a {city}. Grandi parabole sul tetto, puntate al cielo: da qui noleggi capacità verso le isole in vista.", +"satellites.teleports_unlock_at_level":"I teleport si sbloccano al livello {lv}.", +"satellites.tracking_antennas_up":"Antenne a inseguimento attive a {city}. Seguono l’anello MEO nel cielo.", +"satellites.up_in_n_days":{"one":"attivo tra {n} giorno","other":"attivo tra {n} giorni"}, +"satellites.users_notice_geo_meo":"Gli utenti sentono il ritardo: la banda larga via GEO conta come mezzo servizio, via MEO quasi come tutto. Un cavo vince sempre, quindi i tuoi router mandano traffico lassù solo se non c’è altra strada.", +"satellites.users_ride_a_satellite":"utenti via satellite", +"satellites.via_bird":"via {bird}", +"satellites.who_a_satellite_serves":"I satelliti servono piccole isole e città remote che lo stesso satellite vede insieme al tuo teleport. Scegli la destinazione.", +"satellites.your_pops_in_view":"I tuoi POP in vista", "save.cash_in_the_bank":"{cash} in cassa", "save.import_failed_err":"Importazione fallita.
{err}", "save.load_name":"Caricare {name}?", diff --git a/site/i18n/pt.js b/site/i18n/pt.js index 4714044..a8014bf 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -3925,6 +3925,7 @@ "pie_traffic.via_dishes":"sobe em {up}, desce em {down}", "pitcairn.uk_grant_mo":"Subsídio do Reino Unido {mo}/mês", "pitcairn.uk_grant_mo_once_islanders":"Subsídio do Reino Unido {mo}/mês quando os ilhéus estiverem online", +"pitcairn.uk_grant_needs_a_cable":"Subsídio do Reino Unido {mo}/mês só com cabo: capacidade de satélite alugada não conta", "pitcairn.uk_sky_grant_mo":"Subsídio britânico por satélite {mo}/mês (a fibra recebe {full})", "pni_all.additional_per_month":"Custo mensal adicional", "pni_all.all_at_port":"Peering com todas as redes · {port}", @@ -4532,6 +4533,75 @@ "sales.w_last":"Semana passada {name} {list}.", "sales.w_now":"Esta semana {name} {list}.", "sales.w_signed":{"one":"assinou um cliente ({rev}/mês)","other":"assinou {n} clientes ({rev}/mês)"}, +"satellites.a_teleport_is_a_satellite_gateway":"Um teleporto é um gateway de satélite: antenas grandes neste POP que alugam capacidade nos satélites dos outros, para ilhas pequenas e cidades remotas aonde nenhum cabo chega, ou que dependem de um só cabo e de uma reza.", +"satellites.add_tracking_antennas_cost_mo":"Antenas de rastreamento MEO {cost} + {mo}/mês", +"satellites.being_commissioned":"Em comissionamento", +"satellites.build_a_teleport_cost_mo":"Construir um teleporto {cost} + {mo}/mês", +"satellites.by_satellite":"Por satélite", +"satellites.cancel_n_circuits_first":{"one":"Cancele primeiro o circuito de satélite dele.","other":"Cancele primeiro os {n} circuitos de satélite dele."}, +"satellites.choose":"Escolher", +"satellites.circuit_ordered":{"one":"{cap} no {bird} encomendados. {a} ⇄ {b} está sendo apontado e testado: no ar em {n} dia.","other":"{cap} no {bird} encomendados. {a} ⇄ {b} está sendo apontado e testado: no ar em {n} dias."}, +"satellites.close_the_teleport":"Fechar o teleporto", +"satellites.costs_row":"Teleportos e satélites", +"satellites.geo_dishes":"Antenas GEO", +"satellites.geo_dishes_and_meo_tracking":"Antenas GEO e antenas de rastreamento MEO", +"satellites.geo_users_notice":"De 36.000 km de altura a ida e volta leva uns 600 ms: chamadas de vídeo e jogos travam, e os usuários contam {p} do serviço como ruim.", +"satellites.grow_to":"Aumentar para {cap}", +"satellites.in_view_list":"À vista: {list}.", +"satellites.it_waits_on_standby":"Você já tem um link entre as duas: o satélite espera de reserva e só leva tráfego quando esse link cai.", +"satellites.its_blurb":"Feixes clássicos em banda C e Ku que cobrem um oceano inteiro. Confiáveis, em todo lugar, e com preço à altura.", +"satellites.kac_blurb":"Feixes pontuais em banda Ka sobre o Pacífico ocidental: o Gbps mais barato em órbita, se a sua ilha estiver debaixo de um feixe.", +"satellites.meo_comes_at_level":"O anel MEO (uns 130 ms de ida e volta) chega no nível {lv}.", +"satellites.meo_ring_misses_city":"O anel MEO não vê {city}: ele cobre {lat}° de cada lado do equador.", +"satellites.meo_users_notice":"Muito mais perto do chão, uns 130 ms de ida e volta: os usuários mal percebem ({p} do serviço conta como ruim).", +"satellites.more_islands_and_towns":"Mais ilhas e cidades à vista", +"satellites.ms_one_way_rtt":"{ms} ms só de ida, {rtt} ms de ida e volta", +"satellites.ms_round_trip":"{ms} ms de ida e volta", +"satellites.n_birds_see_both":{"one":"{n} satélite vê as duas","other":"{n} satélites veem as duas"}, +"satellites.n_circuits_go_on_standby":{"one":"Seu circuito de satélite entre {a} e {b} fica de reserva ao lado do novo link: só leva tráfego quando esse link cai.","other":"Seus {n} circuitos de satélite entre {a} e {b} ficam de reserva ao lado do novo link: só levam tráfego quando esse link cai."}, +"satellites.n_places_in_reach":{"one":"{n} ilha ou cidade remota ao alcance no seu nível.","other":"{n} ilhas e cidades remotas ao alcance no seu nível."}, +"satellites.needs_tracking_antennas":"O anel MEO precisa de antenas de rastreamento no seu teleporto em {city}.", +"satellites.new_pop_cost":"POP novo {cost}", +"satellites.no_bird_sees_both":"Nenhum satélite à venda vê {a} e {b} ao mesmo tempo.", +"satellites.no_bird_sees_this_city":"Nenhum satélite à venda vê esta cidade.", +"satellites.no_cable_needed_a_pop_here":"Sem cabo: um circuito de satélite de um dos seus teleportos coloca um POP em {city} no ar.", +"satellites.no_pop_in_city":"Você não tem POP em {city}.", +"satellites.no_pop_there_yet":"Ainda não há POP em {city}: isto também constrói um ({cost}).", +"satellites.no_such_circuit":"Esse circuito de satélite não existe.", +"satellites.no_teleport_in_city":"Você não tem teleporto em {city}.", +"satellites.no_teleport_reaches_city":"Nenhum dos seus teleportos alcança {city}. Construa um num POP cujos satélites a vejam.", +"satellites.not_remote":"{city} é um mercado grande demais para capacidade de satélite: ela é para ilhas pequenas e cidades remotas.", +"satellites.nothing_in_view_from_here":"Daqui não há nenhuma ilha nem cidade remota à vista.", +"satellites.on_standby_beside_your_link":"Ele espera de reserva ao lado do seu link entre as duas e só leva tráfego quando esse link cai.", +"satellites.orbit_unlocks_at_level":"Satélites {orb} são liberados no nível {lv}.", +"satellites.out_of_footprint":"{bird} não vê {a} e {b} ao mesmo tempo.", +"satellites.pointing_dishes_and_testing":"Apontando antenas e testando", +"satellites.radio_path":"Caminho de rádio, subida e descida", +"satellites.reachable_from_your_teleports":"Seus teleportos alcançam {city} por satélite:", +"satellites.really_close_it":"Fechar mesmo?", +"satellites.rent":"Aluguel", +"satellites.rent_satellite_capacity":"Alugar capacidade de satélite", +"satellites.satellite_capacity":"Capacidade de satélite", +"satellites.satellites":"Satélites", +"satellites.sea_americas":"Américas", +"satellites.sea_atlantic":"Atlântico", +"satellites.sea_indian":"Oceano Índico", +"satellites.sea_pacific":"Pacífico", +"satellites.sea_tropics":"até 50° do equador", +"satellites.sea_west_pacific":"Pacífico ocidental", +"satellites.sesa_blurb":"Um anel de satélites a 8.000 km acima do equador, para os outros três bilhões. Abre-te, sésamo: uns 130 ms de ida e volta.", +"satellites.shrink_to":"Reduzir para {cap}", +"satellites.teleport":"Teleporto", +"satellites.teleport_closed":"O teleporto em {city} foi fechado.", +"satellites.teleport_up_in_city":"Teleporto no ar em {city}. Antenas enormes no telhado, apontadas para o céu: alugue daqui capacidade para as ilhas à vista.", +"satellites.teleports_unlock_at_level":"Teleportos são liberados no nível {lv}.", +"satellites.tracking_antennas_up":"Antenas de rastreamento no ar em {city}. Elas seguem o anel MEO pelo céu.", +"satellites.up_in_n_days":{"one":"no ar em {n} dia","other":"no ar em {n} dias"}, +"satellites.users_notice_geo_meo":"Os usuários sentem o atraso: banda larga por GEO conta como meio serviço, por MEO quase como o serviço inteiro. Um cabo sempre ganha, então seus roteadores só mandam tráfego para cima quando não há outro caminho.", +"satellites.users_ride_a_satellite":"usuários via satélite", +"satellites.via_bird":"via {bird}", +"satellites.who_a_satellite_serves":"Satélites atendem ilhas pequenas e cidades remotas que o mesmo satélite vê junto com o seu teleporto. Escolha o destino.", +"satellites.your_pops_in_view":"Seus POPs à vista", "save.cash_in_the_bank":"{cash} no banco", "save.import_failed_err":"Falha na importação.
{err}", "save.load_name":"Carregar {name}?", diff --git a/src/agent/10-domains.js b/src/agent/10-domains.js index 3a51abb..1d3d9a7 100644 --- a/src/agent/10-domains.js +++ b/src/agent/10-domains.js @@ -22,6 +22,8 @@ const API_DOMAINS={ vxcTier:{table:'VXC',kind:'index'}, routerModel:{table:'RG',kind:'index'}, scrubTier:{table:'SCRUB_TIERS',kind:'index'}, + satBird:{table:'SATS',kind:'key'}, + satG:{kind:'enum',values:()=>[...new Set(Object.values(SAT_ORB).flatMap(o=>o.g))].sort((a,b)=>a-b)}, // Small fixed vocabularies the game itself checks by list membership. // The link metric presets, plus "custom" for a hand-tuned number (ACT.setMetric). metric:{kind:'enum',values:()=>[...Object.keys(MET),'custom']}, diff --git a/src/agent/20-commands.js b/src/agent/20-commands.js index 8ea9a36..25cb8db 100644 --- a/src/agent/20-commands.js +++ b/src/agent/20-commands.js @@ -123,7 +123,7 @@ const API_CMD={ quote:a=>{const A=a.a,B=a.b,tier=a.tier; if(!S.pops[A])return {blocked:[linkFromWhy(A)]}; if(!waveOk(A,B,tier))return {blocked:[tr('links.a_wave_wave_needs_need_at',{wave:LT[tier].n,need:waveNeed(tier)})]}; - const sib=pairLinks(A,B).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'),jn=sib.length?routeJoin(A,B):null,border=cnCity(A)!==cnCity(B); + const sib=pairLinks(A,B).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat'),jn=sib.length?routeJoin(A,B):null,border=cnCity(A)!==cnCity(B); const mult=(sib.length&&!(jn&&jn.k===(landTrenches(A,B)[0]||{}).k)?DIVERSE:1)*(border?3*((a.premiumCrossing&&(A==='hkg'||B==='hkg'))?1.6:1):1); const wr=waveRoute(A,B,mult,border);if(!wr)return {blocked:[tr('links.no_cable_available_for_that_route')]}; const blocked=[],so=soldOut(A,B,tier,wr.cab); @@ -167,6 +167,22 @@ const API_CMD={ doc:'Egress preference for one exit: high sends more traffic that way, low keeps it for backup.'}, siteSet:{args:[['k','connKind'],['id','entityId'],['s','site']],watch:['transit.#id','pni.#id'], doc:'Put a transit port, PNI or IX port in building A, B or both. Choosing both with a single member adds a LAG member first, and charges for it.'}, +/* ---------- teleports and satellite capacity (#83) ---------- */ + teleBuild:{args:[['city','cityId']],watch:['pops.#city'], + quote:a=>({setup:TPORT_COST,monthly:TPORT_MO,blocked:[teleOf(a.city)?'there is a teleport here already':teleWhy(a.city)].filter(Boolean)}), + doc:'Build a teleport (a satellite gateway) at one of your POPs: it rents circuits on GEO birds to small islands and remote towns in their footprint. Refused where no satellite on sale at your level sees the city.'}, + teleTrk:{args:[['city','cityId']],watch:['pops.#city'], + quote:a=>({setup:TRK_COST,monthly:TRK_MO,blocked:[teleOf(a.city)===2?'this teleport has tracking antennas already':trkWhy(a.city)].filter(Boolean)}), + doc:'Add tracking antennas to a teleport, so it can work the MEO ring (about 130 ms round trip instead of GEO\'s 600). Only within 50 degrees of the equator, where the ring is in view.'}, + teleRm:{args:[['city','cityId']],confirm:'double',watch:['pops.#city'], + doc:'Close a teleport. Refused while circuits still start there.'}, + buySat:{args:[['a','cityId'],['b','cityId'],['bird','satBird'],['g','satG']], + quote:a=>{const ok=own(SATS,a.bird),mo=ok?satMo(a.bird,+a.g):0;return {setup:mo+(S.pops[a.b]||!CITY[a.b]?0:popCost(a.b)),monthly:mo,days:ok?leadDays(SAT_ORB[SATS[a.bird].orb].days):0,blocked:[satWhy(a.a,a.b,a.bird,+a.g)].filter(Boolean)};}, + doc:'Rent a satellite circuit from your teleport in a to b (a small island or a remote town) on a bird that sees both: GEO 1-10 Gbps, MEO 2-20 with tracking antennas. The first month up front; builds a POP at b if there is none. Next to an existing link between the two it goes on standby, as backup; a link built later between the two puts it on standby too. Cancel with rmLink.'}, + satSize:{args:[['id','entityId'],['g','satG']],watch:['links.#id'], + quote:a=>{const l=S.links.find(x=>x.id===a.id&&x.kind==='sat'),g=+a.g,ok=!!l&&g!==l.g&&SAT_ORB[SATS[l.bird].orb].g.includes(g),mo=ok?satMo(l.bird,g):0; + return {setup:ok&&g>l.g?mo:0,monthly:mo,blocked:!l?['not a satellite circuit']:ok?[]:[tr('satellites.no_such_circuit')]};}, + doc:'Resize a satellite circuit on the same bird. A bigger one pays its new month up front.'}, /* ---------- dark fiber and own cable ---------- */ orderDf:{args:[['a','cityId'],['b','cityId'],['source','dfSource'],['system','systemId']], bindsUI:['pending','dfSrc','dfSys'],bind:a=>{UI.pending={a:a.a,b:a.b};UI.dfSrc=a.source;UI.dfSys=a.system;}, @@ -574,6 +590,7 @@ const API_BOUND={ teRecipe:{command:'teDeploy',arg:'script',note:'a recipe from catalog(\'TE_RECIPES\')'}, trace:{command:'traceRun',arg:'from'}, decomToggle:{command:'decomGo',arg:'cities'}, + satOpen:{command:'buySat',note:'opens the satellite order sheet from a teleport (a) or for a city (b); buySat takes a, b, bird and g itself'}, openVxc:{command:'buyVxc',note:'opens the circuit picker from a fabric port ({from, prov}); buyVxc takes a, b, prov and t itself'}, connCancel:{command:'cancelTransit',note:'the connections list\'s cancel button: it arms, then dispatches cancelTransit, cancelPni, cancelIx, rmCache or rmNni'}, cnPrem:{command:'buildLink',arg:'premiumCrossing'}, diff --git a/src/agent/30-docs.js b/src/agent/30-docs.js index 12d573e..e75ae3c 100644 --- a/src/agent/30-docs.js +++ b/src/agent/30-docs.js @@ -19,8 +19,8 @@ const API_STATE_DOC={ t1v:{type:'integer',doc:'Level at which Tier 1 transit was offered.'}, auV:{type:'integer',doc:'Australia content level gate.'}, seen:{type:'array',doc:'Network ids the deals panel has already shown. Vestigial: written by newGame, read nowhere.'}, - pops:{type:'map',doc:'Your POPs by city id: day opened, broadband (bb), ad boost, downtime, routers, generator, second site.'}, - links:{type:'array',doc:'Your links: waves, dark fiber (df), own cables, fabric circuits (vxc) and express lightpaths (xp: via lists the dark fibers it rides from a, ch its optics), each with an entity id.'}, + pops:{type:'map',doc:'Your POPs by city id: day opened, broadband (bb), ad boost, downtime, routers, generator, second site, teleport (tele: 1 GEO dishes, 2 with MEO tracking antennas).'}, + links:{type:'array',doc:'Your links: waves, dark fiber (df), own cables, fabric circuits (vxc), express lightpaths (xp: via lists the dark fibers it rides from a, ch its optics) and rented satellite circuits (sat: bird, g Gbps, km of radio path, ready day), each with an entity id.'}, transit:{type:'array',doc:'Transit ports: city, net, tier, LAG members, port history for 95th-percentile billing.'}, ixp:{type:'map',doc:'IX ports by exchange city; tier per port (may exceed 1 with LAG members in ixn).'}, rs:{type:'map',doc:'Route-server sessions by exchange city.'}, @@ -130,6 +130,7 @@ const API_RESULTS_DOC={ cityEye:{type:'map',doc:'Eyeballs online per city.'}, latF:{type:'map',doc:'Fraction of each city\'s traffic that goes far (over a threshold latency).'}, latFar:{type:'map',doc:'The far exit each slow city sends traffic through.'}, + satU:{type:'map',doc:'Of each city\'s served traffic, the Gbps that rode a rented satellite circuit (its users notice the orbit\'s latency on that share). Only there while you have a satellite circuit up.'}, demTo:{type:'map',doc:'Your traffic destined to each network, in Gbps. The number CDN caches ask about.'}, served:{type:'number',doc:'Total traffic served, in Gbps.'}, demand:{type:'number',doc:'Total traffic demanded, in Gbps.'}, diff --git a/src/agent/40-read.js b/src/agent/40-read.js index e767e2d..5ca278a 100644 --- a/src/agent/40-read.js +++ b/src/agent/40-read.js @@ -26,7 +26,7 @@ function apiJson(v){ carries the keys confGo/confSponsor need, which exist in no field of S; TE_RECIPES renders each recipe's script, because the source is a function and some read the live network. The recipes' relevance score is not exposed: judging which one fits is the agent's job. */ -const API_TABLES={ROCKETS,CRUSTS,PIE_RD,PIE_SPAT_DEF,SALES,CITIES,NETS,CABLES,XIX,PORT,LT,NNI,VXC,RG,OPT,DF_SYS,FAB,SCRUB_TIERS,BIZ_T,LEVELS,GOALS,BROKER_GOALS,SCN,BANKS,REQS,NSH,MET,PREF,RT,PPOL,CONFS,LAG_MAX,RMAX,REGEN_MAX,START_CASH,CONF_COST,CONF_SP,CAP_COST,CAP_LV,CONF_DAYS,SUB_UPGRADES,SEA_DESIGNS,TE_COST,TE_MO,MYIX_COST,CN_LIC,SITE2_COST,MYIX_FAB,INTERNS,OPSK,CHARTERS,SEAT_N,CORE_LV,CORE_COST,CORE_REQ,CORE_LAB,INTERN_MO,PZ_TIERS,AR_TIERS,PZ_RG}; +const API_TABLES={ROCKETS,CRUSTS,PIE_RD,PIE_SPAT_DEF,SATS,SAT_ORB,SAT_PROV,SALES,CITIES,NETS,CABLES,XIX,PORT,LT,NNI,VXC,RG,OPT,DF_SYS,FAB,SCRUB_TIERS,BIZ_T,LEVELS,GOALS,BROKER_GOALS,SCN,BANKS,REQS,NSH,MET,PREF,RT,PPOL,CONFS,LAG_MAX,RMAX,REGEN_MAX,START_CASH,CONF_COST,CONF_SP,CAP_COST,CAP_LV,CONF_DAYS,SUB_UPGRADES,SEA_DESIGNS,TE_COST,TE_MO,MYIX_COST,CN_LIC,SITE2_COST,MYIX_FAB,INTERNS,OPSK,CHARTERS,SEAT_N,CORE_LV,CORE_COST,CORE_REQ,CORE_LAB,INTERN_MO,PZ_TIERS,AR_TIERS,PZ_RG}; const API_MADE={ BADGES:()=>!S?[]:BADGES.map(b=>{const on=S.ach&&S.ach[b.id]!==undefined,ever=!!hof()[b.id]; return b.secret&&!on&&!ever?{id:b.id,i:'❔',t:'???',d:tr('badges.a_secret_badge'),r:b.r,secret:true}:{...b,ever};}), diff --git a/src/game/10-catalog/60-reach-and-subsea.js b/src/game/10-catalog/60-reach-and-subsea.js index 4f0835e..4fb1915 100644 --- a/src/game/10-catalog/60-reach-and-subsea.js +++ b/src/game/10-catalog/60-reach-and-subsea.js @@ -69,9 +69,9 @@ const regenNeed=(o,l)=>Math.max(0,Math.ceil(l.km/reachOn(OPT[o].reach,l.sub))-1) let DFC=null; const dfCap=l=>{if(!DFC)return dfCap0(l);let g=DFC.get(l);if(g===undefined)DFC.set(l,g=dfCap0(l));return g;}; const dfCap0=l=>{if(l.ready>S.day||l.eqDown>S.day)return 0;const ch=l.ch||[];let g=0;for(const c of ch)g+=optG(c,l);const f=l.chFail&&l.chFail.until>S.day?l.chFail:null;if(f){const fo=f.o&&ch.includes(f.o)?f.o:ch.slice().sort((a,b)=>optG(a,l)-optG(b,l))[0];if(fo)g-=optG(fo,l);}return Math.max(0,g);}; -const capOf=l=>(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?dfCap(l):l.kind==='xp'?xpG(l):LT[l.tier].g)*(l.deg>S.day?0.5:1)*(l.loss&&l.loss.until>S.day?l.loss.f:1); +const capOf=l=>(l.kind==='vxc'?VXC[l.vt].g:l.kind==='df'?dfCap(l):l.kind==='xp'?xpG(l):l.kind==='sat'?l.g:LT[l.tier].g)*(l.deg>S.day?0.5:1)*(l.loss&&l.loss.until>S.day?l.loss.f:1); // A sick LAG (LACP trouble) keeps only part of its capacity until the incident clears. const lagF=o=>o&&o.lacp&&o.lacp.until>S.day?o.lacp.f:1,ixLagF=x=>lagF(S.ev&&S.ev.ixlacp&&{lacp:S.ev.ixlacp[x]}); -const tierW=l=>{if(l.kind==='wave')return l.tier;if(l.kind==='vxc')return 0;const g=l.kind==='xp'?xpG(l):dfCap(l);return g>=6400?4:g>=1600?3:g>=400?2:g>=100?1:0;}; -const capName=l=>l.kind==='vxc'?VXC[l.vt].n:l.kind==='xp'?(g=>g?tr('express.cap',{cap:fmtCap(g)}):tr('common.dark'))(xpG(l)):l.kind==='df'?(l.ready>S.day?tr('common.building'):(l.ch||[]).length?fmtCap(dfCap(l)||(l.ch||[]).reduce((a,c)=>a+optG(c,l),0))+' DF':tr('common.dark')):LT[l.tier].n; +const tierW=l=>{if(l.kind==='wave')return l.tier;if(l.kind==='vxc'||l.kind==='sat')return 0;const g=l.kind==='xp'?xpG(l):dfCap(l);return g>=6400?4:g>=1600?3:g>=400?2:g>=100?1:0;}; +const capName=l=>l.kind==='vxc'?VXC[l.vt].n:l.kind==='sat'?fmtCap(l.g)+' '+SAT_ORB[SATS[l.bird].orb].n:l.kind==='xp'?(g=>g?tr('express.cap',{cap:fmtCap(g)}):tr('common.dark'))(xpG(l)):l.kind==='df'?(l.ready>S.day?tr('common.building'):(l.ch||[]).length?fmtCap(dfCap(l)||(l.ch||[]).reduce((a,c)=>a+optG(c,l),0))+' DF':tr('common.dark')):LT[l.tier].n; diff --git a/src/game/10-catalog/75-satellites.js b/src/game/10-catalog/75-satellites.js new file mode 100644 index 0000000..b30143a --- /dev/null +++ b/src/game/10-catalog/75-satellites.js @@ -0,0 +1,61 @@ +/* ---------- Satellites (#83): capacity rented on someone else's birds ---------- + A teleport (a satellite gateway at one of your POPs) links to a small island or a remote town over rented capacity: + the early answer to "no cable lands there", and the warm backup for an island hanging on one cable. Geostationary + birds (GEO, 35,786 km up) see a whole ocean from one dish: no build, dear per Gbps, about 600 ms there and back. A + medium-orbit ring over the equator (MEO, 8,062 km up) gets that down to about 130 ms, but a teleport needs tracking + antennas to follow its satellites across the sky. Your own constellation (LEO, Pie in the Sky) comes much later. + The providers are vendors, like the fabrics: they sell you capacity, they are not networks you route to. */ +// h: km up; proc: ms of modems and error correction each way; loss: the share of a city's service its users stop counting +// once their traffic rides it (half for GEO, like any haul past 50 ms; MEO feels almost like fiber); days: to point and +// commission a new circuit; lv: the level it unlocks at; g: the sizes sold (Gbps). A MEO ring covers |lat| <= lat, and a +// circuit's two ends must see the same satellite at once: at most km apart, and at least el degrees above both horizons +// (what a ground terminal needs to clear the trees; far north, two ends 7,000 km apart lose it below the horizon). +const SAT_ORB={ + geo:{n:'GEO',h:35786,proc:25,loss:0.5,days:10,lv:2,g:[1,2,5,10]}, + meo:{n:'MEO',h:8062,proc:7,loss:0.08,days:21,lv:3,g:[2,5,10,20],lat:50,km:7500,el:5}, +}; +// pg: dollars a month for the first Gbps; bigger circuits cost less per Gbps (satMo). +const SAT_PROV={ + its:{n:'Intelsplat',col:'#2F8CFF',pg:2500,blurb:tr('satellites.its_blurb')}, + kac:{n:'Kacophony',col:'#FF8A3D',pg:1400,blurb:tr('satellites.kac_blurb')}, + sesa:{n:'SESame',col:'#16A866',pg:2000,blurb:tr('satellites.sesa_blurb')}, +}; +// The birds. A GEO sits over the equator at lon; r is how far its beams reach, in degrees of arc from the point under it +// (72: a global beam, down to about 5 degrees above the horizon; Kacophony's Ka-band spot beams cover less, for less). +const SATS={ + is18:{n:'Intelsplat 18',p:'its',orb:'geo',lon:180,r:72,sea:N_('satellites.sea_pacific')}, + is20:{n:'Intelsplat 20',p:'its',orb:'geo',lon:68.5,r:72,sea:N_('satellites.sea_indian')}, + is37:{n:'Intelsplat 37e',p:'its',orb:'geo',lon:-18,r:72,sea:N_('satellites.sea_atlantic')}, + kac1:{n:'Kacophony-1',p:'kac',orb:'geo',lon:150,r:50,sea:N_('satellites.sea_west_pacific')}, + gx19:{n:'Intelsplat 19',p:'its',orb:'geo',lon:-97,r:72,sea:N_('satellites.sea_americas')}, + o3b:{n:'O3bservant',p:'sesa',orb:'meo',sea:N_('satellites.sea_tropics')}, +}; +// The teleport itself (dishes, a building, the licences), and the MEO tracking antennas it may add. +const TPORT_COST=90000,TPORT_MO=2500,TRK_COST=250000,TRK_MO=3000; +// Who a satellite serves: a small island off the big continents, or a remote town anywhere, never a big city's market. +const SAT_MAIN=['af','am','eu','oc','sa'],SAT_ISLE_P=150,SAT_TOWN_P=5; +const SAT_RE=6371,SAT_C=300; +// The arc between two points on the globe, in degrees. +function satArc(la1,lo1,la2,lo2){const r=Math.PI/180,c=Math.sin(la1*r)*Math.sin(la2*r)+Math.cos(la1*r)*Math.cos(la2*r)*Math.cos((lo2-lo1)*r);return Math.acos(Math.max(-1,Math.min(1,c)))/r;} +// From a dish to a satellite h km up over a point arc degrees away, in a straight line. +function satSlant(arc,h){const Q=SAT_RE+h,a=arc*Math.PI/180;return Math.sqrt(SAT_RE*SAT_RE+Q*Q-2*SAT_RE*Q*Math.cos(a));} +// How high above a dish's horizon that satellite stands, in degrees (negative: below it, behind the Earth). +function satElev(arc,h){const a=arc*Math.PI/180;return Math.atan2(Math.cos(a)-SAT_RE/(SAT_RE+h),Math.sin(a))*180/Math.PI;} +// The longitude the bird sits over for a circuit: a GEO's slot; a MEO ring's satellite halfway between the two ends. +function satLon(id,a,b){const B=SATS[id];if(B.orb==='geo')return B.lon;const r=Math.PI/180,A=CITY[a],C=CITY[b]; + return Math.atan2(Math.sin(A.lon*r)+Math.sin(C.lon*r),Math.cos(A.lon*r)+Math.cos(C.lon*r))/r;} +// Whether bird id sees city c. +function satSees(id,c){const B=SATS[id],C=CITY[c];if(!B||!C)return false;return B.orb==='meo'?Math.abs(C.lat)<=SAT_ORB.meo.lat:satArc(0,B.lon,C.lat,C.lon)<=B.r;} +function satPairOk(id,a,b){if(a===b||!satSees(id,a)||!satSees(id,b))return false;if(SATS[id].orb!=='meo')return true;const O=SAT_ORB.meo; + if(kmBetween(a,b)>O.km)return false;const lon=satLon(id,a,b);return [a,b].every(c=>satElev(satArc(0,lon,CITY[c].lat,CITY[c].lon),O.h)>=O.el);} +// The radio path: up from one dish and down to the other, the km the signal really travels. It is the link's km, so the +// routers' metric (pairW) sees a satellite as the long way round it is, and a cable wins whenever there is one. +function satKm(id,a,b){const h=SAT_ORB[SATS[id].orb].h,lon=satLon(id,a,b),A=CITY[a],C=CITY[b]; + return Math.round(satSlant(satArc(0,lon,A.lat,A.lon),h)+satSlant(satArc(0,lon,C.lat,C.lon),h));} +// One way: the radio path at the speed of light in vacuum, plus the modems at both ends. +const satLat=l=>l.km/SAT_C+SAT_ORB[SATS[l.bird].orb].proc; +const satMo=(id,g)=>Math.round(SAT_PROV[SATS[id].p].pg*Math.pow(g,0.85)/10)*10; +const satRemote=c=>{const C=CITY[c];return !!C&&(C.P<=SAT_TOWN_P||C.P<=SAT_ISLE_P&&!SAT_MAIN.includes(C.land));}; +const satName=l=>SATS[l.bird]?SATS[l.bird].n:'?'; +// A subsea cable: a satellite circuit is stored as sub (never a land route) but is no cable on the seabed. +const seaLink=l=>!!l.sub&&l.kind!=='sat'; diff --git a/src/game/60-features/10-banks.js b/src/game/60-features/10-banks.js index 7795eb3..774e7a3 100644 --- a/src/game/60-features/10-banks.js +++ b/src/game/60-features/10-banks.js @@ -34,7 +34,7 @@ const COVS={ logo:{l:tr('banks.our_logo_goes_on_every_router'),ok:()=>true}, cash50:{l:tr('banks.never_let_cash_drop_below_50k'),ok:()=>S.cash>=50000}, nochina:{l:tr('banks.stay_out_of_mainland_china'),ok:()=>!Object.keys(S.pops).some(cnCity)}, - nosub:{l:tr('banks.no_new_subsea_links_while_this'),ok:l=>S.links.filter(x=>x.sub).length<=(l.base&&l.base.sub||0)}, + nosub:{l:tr('banks.no_new_subsea_links_while_this'),ok:l=>S.links.filter(seaLink).length<=(l.base&&l.base.sub||0)}, spaetzle:{l:tr('banks.peer_at_the_spatzle_ix_in'),ok:()=>S.ixp.stg!==undefined}, kehrwoche:{l:tr('banks.do_the_kehrwoche_keep_your_noc'),ok:()=>!S.inc.some(i=>S.day-i.start>7)}, app:{l:tr('banks.download_our_app_and_enable_all'),ok:()=>true}, @@ -102,7 +102,7 @@ function callOffer(amount){const T=CALL_TERMS[rating()];if(!T||!CALL_AMTS.includ const RESCUE_APR=0.02,RESCUE_TERM=60; function rescueLoan(){const amount=niceAmt(Math.max(250000,-S.cash+Math.max(150000,(R.costMo||0)*2))); S.cash+=amount;S.stats.rescues=(S.stats.rescues||0)+1;S.neg=0; - S.loans.push({id:uid(),bank:'gov',start:S.day,amount,got:amount,bal:amount,apr:RESCUE_APR,apr0:RESCUE_APR,pay:Math.round(annuity(amount,RESCUE_APR,RESCUE_TERM)),left:RESCUE_TERM,term:RESCUE_TERM,share:0,covs:[],base:{sub:S.links.filter(x=>x.sub).length}}); + S.loans.push({id:uid(),bank:'gov',start:S.day,amount,got:amount,bal:amount,apr:RESCUE_APR,apr0:RESCUE_APR,pay:Math.round(annuity(amount,RESCUE_APR,RESCUE_TERM)),left:RESCUE_TERM,term:RESCUE_TERM,share:0,covs:[],base:{sub:S.links.filter(seaLink).length}}); track('rescue');toast(`${tr('banks.bank_stepped_in',{bank:esc(BANKS.gov.name)})}
${tr('banks.a_rescue_loan_of_amount_keeps',{amount:fmt$(amount),pay:fmt$(Math.round(annuity(amount,RESCUE_APR,RESCUE_TERM)))})}`,'bad',[{l:tr('common.open_bank'),act:'bank',args:{}}]);sfx('coin');} function loanTick(d){ // conditions: 15-day grace, then a penalty every 30 days while broken diff --git a/src/game/60-features/20-scenarios.js b/src/game/60-features/20-scenarios.js index 17cebc0..f7e52ed 100644 --- a/src/game/60-features/20-scenarios.js +++ b/src/game/60-features/20-scenarios.js @@ -2,12 +2,12 @@ gives the same world. Free play keeps using the browser's Math.random. */ const _rand=Math.random; Math.random=function(){if(S&&typeof S.rng==='number'){let t=(S.rng=(S.rng+0x6D2B79F5)|0);t=Math.imul(t^t>>>15,1|t);t=t+Math.imul(t^t>>>7,61|t)^t;return((t^t>>>14)>>>0)/4294967296;}return _rand();}; -const hopG=l=>l.kind==='vxc'?(VXC[l.vt]||VXC[0]).g:l.kind==='xp'?xpHopG(l):l.kind==='df'?Math.max(0,...(l.ch||[]).map(c=>optG(c,l))):LT[l.tier].g; +const hopG=l=>l.kind==='vxc'?(VXC[l.vt]||VXC[0]).g:l.kind==='sat'?l.g:l.kind==='xp'?xpHopG(l):l.kind==='df'?Math.max(0,...(l.ch||[]).map(c=>optG(c,l))):LT[l.tier].g; function fastPath(a,b,g){if(!S.pops[a]||!S.pops[b])return false;const adj={};for(const l of S.links){if(linkDown(l)||hopG(l)S.scn.wk?wsTxt(S.scn.wk.name):S.scn.id==='weekly'?tr('scenarios.weekly_key',{key:S.scn.key}):SCN.find(x=>x.id===S.scn.id)?.n||S.scn.name; -const AU_BB=['syd','mel','bne','adl','per'],auExits=()=>new Set(S.links.filter(l=>l.sub&&!!CITY[l.a].au!==!!CITY[l.b].au&&!(l.ready>S.day)).map(l=>l.cable||l.id)).size; +const AU_BB=['syd','mel','bne','adl','per'],auExits=()=>new Set(S.links.filter(l=>seaLink(l)&&!!CITY[l.a].au!==!!CITY[l.b].au&&!(l.ready>S.day)).map(l=>l.cable||l.id)).size; // Ports count only on POPs your backbone joins to São Paulo: islands of POPs with a port each skipped the Amazon (playtest). const FTTB_G=500; // Gangnam Style Peering: traffic, how well Seoul is served (delivered and fast) and a monthly profit. diff --git a/src/game/60-features/45-teleports.js b/src/game/60-features/45-teleports.js new file mode 100644 index 0000000..ff2b9a6 --- /dev/null +++ b/src/game/60-features/45-teleports.js @@ -0,0 +1,73 @@ +/* ---------- Teleports and rented satellite capacity (#83) ---------- + The rules, the money and save repair. Catalog and physics: 10-catalog/75-satellites.js; actions: 90-actions/87-teleports.js; + panels: 93-ui/72-teleport-panels.js. A circuit is a link (kind 'sat'): routing, standby, metrics and the map treat it like + any other, with the radio path as its km and its orbit's latency. */ +// A POP's teleport (S.pops[c].tele): 0 none, 1 dishes for GEO birds, 2 with tracking antennas for the MEO ring too. +const teleOf=c=>{const p=S&&S.pops[c];return p&&(p.tele===1||p.tele===2)?p.tele:0;}; +const teleCities=()=>Object.keys(S.pops).filter(teleOf); +// The birds that see city c, whatever your level. +const teleSees=c=>Object.keys(SATS).filter(id=>satSees(id,c)); +// Why no teleport can go up at city c (nothing on sale sees it at your level, or no POP); '' when it can. +function teleWhy(c){if(!isCity(c)||!S.pops[c])return tr('satellites.no_pop_in_city',{city:isCity(c)?CITY[c].name:'?'}); + if(lvl()lvl()>=SAT_ORB[SATS[id].orb].lv)){const O=SAT_ORB[SATS[ids[0]].orb];return tr('satellites.orbit_unlocks_at_level',{orb:O.n,lv:O.lv});} + return '';} +// Why the teleport at c cannot add MEO tracking antennas; '' when it can. +function trkWhy(c){const O=SAT_ORB.meo;if(lvl()SATS[id].orb==='meo'))return tr('satellites.meo_ring_misses_city',{city:CITY[c].name,lat:O.lat}); + return '';} +// The birds that see both ends of a circuit: GEO first, then the cheapest. +function satBirds(a,b){return Object.keys(SATS).filter(id=>satPairOk(id,a,b)).sort((x,y)=>(SATS[x].orb>SATS[y].orb)-(SATS[x].orbC.id!==a&&satRemote(C.id)&&(S.pops[C.id]||cityOn(C.id))&&satBirds(a,C.id).length).map(C=>C.id) + .sort((x,y)=>(!S.pops[x])-(!S.pops[y])||kmBetween(a,x)-kmBetween(a,y));} +// Your teleports that can reach city b. +const satFrom=b=>satRemote(b)?teleCities().filter(a=>a!==b&&satBirds(a,b).length):[]; +// A new link between a and b (a wave, fiber, a fabric circuit, a cable): the circuits already there go on standby beside +// it, as one ordered next to a link does, and the player hears about it. Without this the pair's load is shared with orbit. +function satBeside(a,b){const ls=pairLinks(a,b).filter(l=>l.kind==='sat'&&!l.standby);for(const l of ls)l.standby=true; + if(ls.length)toast(trn('satellites.n_circuits_go_on_standby',ls.length,{a:CITY[a].name,b:CITY[b].name}));return ls.length;} +// What the teleports and their circuits cost a month (R.cost.sat). +function satMoAll(){let m=0;for(const c in S.pops){const t=teleOf(c);if(t)m+=TPORT_MO+(t>1?TRK_MO:0);}for(const l of S.links)if(l.kind==='sat')m+=l.mo||0;return m;} +/* compute(): what users notice on the edges a satellite circuit is on. sv: the losses of the orbits there; sx: the edge's + latency is the satellite's (no cable carries ahead of it), so it is no haul to transit on the ground. Returns how many + edges there were, for compute() to know a satellite is in the picture at all. */ +function satEdges(SE){for(const e of SE){let ta=false,ts=false,act=false;const v=e.sv; + for(const l of e.links){const sb=!!l.standby;if(!sb)act=true;if(l.kind==='sat'){const x=SAT_ORB[SATS[l.bird].orb].loss;if(!v.includes(x))v.push(x);}else if(sb)ts=true;else ta=true;} + e.sx=act?!ta:!ts;} + return SE.length;} +// A flow of ok Gbps from city index ci crossed these edges: keep it, and what each orbit would cost it beyond the tl its +// haul to transit already does (users count the worse of the two, not both). +function satNote(se,ci,ok,tl){for(let k=0;ktl)a[1+j]+=ok*(v[j]-tl);}} +/* After routing: each orbit's share of the edge's traffic, split as compute() splits it (active links by capacity, standby + ones the overflow). A satellite on standby beside a cable that has room carries nothing and costs nobody anything; one + that takes the overflow, or shares the load, costs the users of that share. LATP gets the lost service and SATU the + Gbps that rode a satellite, by city index. */ +function satAfter(SE,LATP,SATU){for(const e of SE){const ld=e.ld||0;if(!e.sa||ld<=1e-9)continue; + const v=e.sv,sh=new Float64Array(v.length),ac=e.cap-e.scap,a=Math.min(ld,ac),sp=ld-a;let only=true,all=0; + for(const l of e.links){if(l.kind!=='sat'){only=false;continue;}const c=capOf(l);sh[v.indexOf(SAT_ORB[SATS[l.bird].orb].loss)]+=(l.standby?(e.scap>0?sp*c/e.scap:0):(ac>0?a*c/ac:0))/ld;} + if(only&&v.length===1)sh[0]=1;for(let j=0;jr&&r.satU&&r.citySrv&&r.citySrv[c]>0?Math.min(1,(r.satU[c]||0)/r.citySrv[c]):0; +// Saves: a teleport is 1 or 2; a circuit needs a known bird that sees both POPs, a teleport able to work it, a size it sells. +function satSanitize(s){ + for(const c of Object.keys(s.pops)){const p=s.pops[c];if(p.tele!==undefined&&p.tele!==1&&p.tele!==2)delete p.tele;} + s.links=s.links.filter(l=>{if(l.kind!=='sat')return true;const B=typeof l.bird==='string'&&own(SATS,l.bird)?SATS[l.bird]:null,p=s.pops[l.a]; + if(!B||!p||!p.tele||B.orb==='meo'&&p.tele<2||!s.pops[l.b]||!satPairOk(l.bird,l.a,l.b))return false; + const G=SAT_ORB[B.orb].g;if(!G.includes(l.g))l.g=G.reduce((x,v)=>v<=num(l.g,0)?v:x,G[0]); + l.km=satKm(l.bird,l.a,l.b);l.sub=true;l.ready=num(l.ready,0);l.day=Math.min(s.day,Math.max(0,num(l.day,s.day)));for(const k of ['tier','cable','trench','mult','border','premium','vt','prov','own','sys','ch'])delete l[k];return true;});} diff --git a/src/game/60-features/50-traceroute.js b/src/game/60-features/50-traceroute.js index 3a4e1da..a190234 100644 --- a/src/game/60-features/50-traceroute.js +++ b/src/game/60-features/50-traceroute.js @@ -32,7 +32,7 @@ function traceroute(src,to,mode){mode=TR_MODES.includes(mode)?mode:'normal';cons for(const x of pieBhHops(e,h.from===b.city)){const ms=x.ms*2+0.05;if(x.k==='up')hop(`dish.${x.city}.${me}`,ip(hstr(x.city),5),ms,tr('traceroute.sky_up',{city:CITY[x.city].name,crust:tr(cr.n)})); else if(x.k==='las')hop(`laser.${b.cr}.${me}`,`10.255.${hstr(b.cr)%250}.${(x.km|0)%250}`,ms,tr('traceroute.sky_laser',{km:Math.round(x.km).toLocaleString()})); else hop(`dish.${x.city}.${me}`,ip(hstr(x.city),6),ms,tr('traceroute.sky_down',{city:CITY[x.city].name}));}continue;} - const lat=linkLat(l)*2+0.15;hop(`ae${1+hstr(l.id)%9}.cr1.${h.to}.${me}`,ip(hstr(h.to),2),lat,`${CITY[h.to].name} · ${l.kind==='df'?tr('common.own_dark_fiber'):l.kind==='vxc'?tr('common.fabric_circuit'):l.kind==='xp'?tr('express.trace_hop',{via:xpVia(l)}):l.cable?CAB[l.cable].name:tr('common.terrestrial_wave')} · ${capName(l)}`);}}; + const lat=linkLat(l)*2+0.15;hop(`ae${1+hstr(l.id)%9}.cr1.${h.to}.${me}`,ip(hstr(h.to),2),lat,`${CITY[h.to].name} · ${l.kind==='df'?tr('common.own_dark_fiber'):l.kind==='vxc'?tr('common.fabric_circuit'):l.kind==='xp'?tr('express.trace_hop',{via:xpVia(l)}):l.kind==='sat'?tr('satellites.via_bird',{bird:satName(l)}):l.cable?CAB[l.cable].name:tr('common.terrestrial_wave')} · ${capName(l)}`);}}; if(to.city){const path=P.path(to.city);lines.unshift(`traceroute to ${to.city}.${me} (${CITY[to.city].name}), 30 hops max`);if(!path){lines.push(' 2 * * * ← '+tr('traceroute.no_working_path_between_these_pops'));return {text:lines.join('\n'),why:tr('traceroute.no_path_every_route_between_these')};}walk(path);const bw=trBhWhy(bh,path);return {text:lines.join('\n'),why:bw+(S.te&&S.te.on?trn('traceroute.internal_path_over_n_link_chosen',path.length):trn('traceroute.internal_path_over_n_link_chosen_8620',path.length))};} const N=NET[to.net],ex=trExits(to.net).filter(e=>P.dist[e.city]!==undefined); lines.unshift(`traceroute to www.${slug(N.name)}.example (${N.name}, AS${N.asn}) from ${CITY[src].name}, 30 hops max`); diff --git a/src/game/60-features/85-pitcairn.js b/src/game/60-features/85-pitcairn.js index c220a47..ea026a9 100644 --- a/src/game/60-features/85-pitcairn.js +++ b/src/game/60-features/85-pitcairn.js @@ -1,12 +1,13 @@ /* Pitcairn (#124): no cable lands there yet, but you may land your own, and the UK pays a monthly grant while the - islanders are online through you: a POP with broadband, up and nearly fully served. */ -const GRANT_MO=300000; -const grantOn=r=>!!(S&&S.pops.pcn&&S.pops.pcn.bb&&!(S.pops.pcn.down>S.day)&&sfOf(r,'pcn')>=0.9); + islanders are online through you: a POP with broadband, up and nearly fully served. The money is for a cable: with more + than GRANT_SAT of their traffic on a rented satellite circuit (#83) it never comes, however well MEO serves them. */ +const GRANT_MO=300000,GRANT_SAT=0.1; +const grantOn=r=>!!(S&&S.pops.pcn&&S.pops.pcn.bb&&!(S.pops.pcn.down>S.day)&&sfOf(r,'pcn')>=0.9&&satShare(r,'pcn')<=GRANT_SAT); /* Satellite tier: Pitcairn online through your pies (its POP on backhaul, or home terminals there) is good enough for the UK at a lower bar, orbit's latency forgiven (sfOf() counts it, so the fiber grant never comes), for less money. */ const GRANT_SKY_MO=120000,GRANT_SKY_Q=0.9; function grantSky(r){if(!S||!S.pie||!r||!r.pie||grantOn(r))return false;const p=S.pops.pcn; if(p&&p.bb&&!(p.down>S.day)&&r.pie.bh.some(b=>b.city==='pcn'&&b.g>0)){const d=r.cityDem.pcn||0;if(d>1e-6&&(r.citySrv.pcn||0)/d>=GRANT_SKY_Q)return true;} return S.biz.some(b=>b.city==='pcn'&&b.type==='pizza'&&(r.pie.sf[b.id]||0)>=GRANT_SKY_Q);} -function grantFact(c){if(c!=='pcn')return '';const on=grantOn(R),sky=!on&&grantSky(R); - return `${on?tr('pitcairn.uk_grant_mo',{mo:fmt$(GRANT_MO)}):sky?tr('pitcairn.uk_sky_grant_mo',{mo:fmt$(GRANT_SKY_MO),full:fmt$(GRANT_MO)}):tr('pitcairn.uk_grant_mo_once_islanders',{mo:fmt$(GRANT_MO)})}`;} +function grantFact(c){if(c!=='pcn')return '';const on=grantOn(R),sky=!on&&grantSky(R),sat=!on&&!sky&&satShare(R,'pcn')>GRANT_SAT; + return `${on?tr('pitcairn.uk_grant_mo',{mo:fmt$(GRANT_MO)}):sky?tr('pitcairn.uk_sky_grant_mo',{mo:fmt$(GRANT_SKY_MO),full:fmt$(GRANT_MO)}):sat?tr('pitcairn.uk_grant_needs_a_cable',{mo:fmt$(GRANT_MO)}):tr('pitcairn.uk_grant_mo_once_islanders',{mo:fmt$(GRANT_MO)})}`;} diff --git a/src/game/60-features/95-standing-orders.js b/src/game/60-features/95-standing-orders.js index 3277d96..9f944c6 100644 --- a/src/game/60-features/95-standing-orders.js +++ b/src/game/60-features/95-standing-orders.js @@ -260,7 +260,7 @@ const OPS_RUN={ for(const q of b.orders.filter(q=>opsHere('pni',q.city)&&loc(q)>=g&&(paid||NET[q.net].pol!=='paid'||paidFree(NET[q.net]))).sort((a,b)=>loc(b)-loc(a))){ if(!X.can('pni',q.cost))break;if(X.pay('pni',()=>{if(!spend(q.cost))return false;pniPlace(q);return true;}))X.did('pni',q.city+' '+q.net);}}, // Hand back smaller waves once a bigger link between the same cities carries the pair with a quarter to spare (#102). - decom(X){const by=new Map();for(const l of S.links)if(l.kind!=='vxc'){const k=edgeKey(l);(by.get(k)||by.set(k,[]).get(k)).push(l);} + decom(X){const by=new Map();for(const l of S.links)if(l.kind!=='vxc'&&l.kind!=='sat'){const k=edgeKey(l);(by.get(k)||by.set(k,[]).get(k)).push(l);} // Loads must include what this shift already did (a customer just signed, a repair): recompute first, if anything could go. if(X.dirty&&[...by.values()].some(ls=>ls.length>1&&ls.some(l=>l.kind==='wave'))){compute();X.dirty=false;} for(const ls of by.values())for(const l of opsDecomPick(ls)){UI.confirm=l.id;X.pay('decom',()=>ACT.rmLink({id:l.id}));if(!S.links.includes(l))X.did('decom',l.a+'|'+l.b);}}, diff --git a/src/game/60-features/96-pop-standard.js b/src/game/60-features/96-pop-standard.js index 425caa5..752d2d0 100644 --- a/src/game/60-features/96-pop-standard.js +++ b/src/game/60-features/96-pop-standard.js @@ -116,7 +116,7 @@ function bstdPlan(intern){const J=[];J.held=[];if(!S||!S.popStd||pzOn())return J // the sizes these upgrades give: never pay a month's rent on one it is about to return. if(D.wv!=='keep'){for(const {l} of ls)if(l.kind==='wave'&&l.tierl.tier;t--){if(subWaveWhy(t,l.km,l.sub)||soldOut(l.a,l.b,t,l.cable)||!waveOk(l.a,l.b,t))continue;wv.set(l,t);break;} if(wv.size&&opsHired()&&S.ops.on.decom){const by=new Map(),cf=x=>wv.has(x)?capOf(x)*LT[wv.get(x)].g/LT[x.tier].g:capOf(x); - for(const x of S.links)if(x.kind!=='vxc'){const k=edgeKey(x);(by.get(k)||by.set(k,[]).get(k)).push(x);} + for(const x of S.links)if(x.kind!=='vxc'&&x.kind!=='sat'){const k=edgeKey(x);(by.get(k)||by.set(k,[]).get(k)).push(x);} for(const k of new Set([...wv.keys()].map(edgeKey)))for(const x of opsDecomPick(by.get(k),cf))wv.delete(x);}} for(const {l} of ls){const ch='l:'+l.id; if(l.kind==='wave'){const t=wv.get(l);if(t){const nm=Math.round(waveMo(l.km,l.sub,t)*(l.mult||1));job('fiber','wv',ch,l.a+'|'+l.b,nm,nm-(l.mo||0),()=>{ACT.upLink({id:l.id,tier:t});return l.tier===t;},{l});}continue;} diff --git a/src/game/60-features/99-pie-subsidies.js b/src/game/60-features/99-pie-subsidies.js index 6cd366d..703a46b 100644 --- a/src/game/60-features/99-pie-subsidies.js +++ b/src/game/60-features/99-pie-subsidies.js @@ -61,7 +61,7 @@ function pieEximOffer(d){const P=S.pie,G=P.gov;if(!P.fac||pieEximLoan()||!pieCan // Taking it: a loan like any other, plus its space covenants. function pieEximTake(){const P=S.pie,o=P.gov.ex;if(!o||pieEximLoan())return false;const pay=Math.round(annuity(o.amt,o.apr,o.term)); S.cash+=o.amt;S.stats.loans=(S.stats.loans||0)+1; - S.loans.push({id:uid(),bank:'exim',start:S.day,amount:o.amt,got:o.amt,bal:o.amt,apr:o.apr,apr0:o.apr,pay,left:o.term,term:o.term,share:0,covs:['pielaunch','piedish'],base:{sub:S.links.filter(x=>x.sub).length}, + S.loans.push({id:uid(),bank:'exim',start:S.day,amount:o.amt,got:o.amt,bal:o.amt,apr:o.apr,apr0:o.apr,pay,left:o.term,term:o.term,share:0,covs:['pielaunch','piedish'],base:{sub:S.links.filter(seaLink).length}, pie:{cc:o.cc,n:o.n,by:S.day+PIE_EXIM_BY,flown:0,br:0}}); P.gov.ex=null;track('loan_taken');return true;} // A breach (loanTick(), after the bank's own penalty): tighter terms, the launch target rescheduled, and a spat. diff --git a/src/game/80-simulation/10-dijkstra.js b/src/game/80-simulation/10-dijkstra.js index 5b53685..09df642 100644 --- a/src/game/80-simulation/10-dijkstra.js +++ b/src/game/80-simulation/10-dijkstra.js @@ -16,4 +16,4 @@ function dijkstra(adj,src,wf,skip,stop){const n=adj.length,D=new Float64Array(n) // The edges of a dijkstra() path back from city index B to A, and the cities on it (B first), as indices. function walkI(P,A,B){const path=[],ni=[B];let v=B;while(v!==A){const l=P[v];path.push(l);v=l.ai===v?l.bi:l.ai;ni.push(v);}return {path,ni};} // The same for compute()'s sender, with the marks it keeps on a path (full, its latency, its far-exit traffic) there from the start: one object shape. -function walkP(P,A,B){const path=[],ni=[B];let v=B;while(v!==A){const l=P[v];path.push(l);v=l.ai===v?l.bi:l.ai;ni.push(v);}return {path,ni,dead:0,ms:-1,fg:0};} +function walkP(P,A,B){const path=[],ni=[B];let v=B;while(v!==A){const l=P[v];path.push(l);v=l.ai===v?l.bi:l.ai;ni.push(v);}return {path,ni,dead:0,ms:-1,fg:0,mt:0,se:null};} diff --git a/src/game/80-simulation/30-compute.js b/src/game/80-simulation/30-compute.js index 1a4cf12..8ad4924 100644 --- a/src/game/80-simulation/30-compute.js +++ b/src/game/80-simulation/30-compute.js @@ -29,12 +29,14 @@ function compute(){RW.gen++; const day=S.day, R2=emptyR(), pops=Object.keys(S.pops).filter(popUp), NC=CITIES.length; // The graph works on city indices: adj[i] lists [neighbour, edge] in S.links order. const remote=remoteCities(),adj=new Array(NC); pops.concat(remote).forEach(p=>adj[CIDX[p]]=[]); - const edges={},EA=[],TRX=teRules(),live=[];let NE=0;R2.bizDem={};R2.bizSrv={}; + const edges={},EA=[],TRX=teRules(),live=[];let NE=0,SE=null;R2.bizDem={};R2.bizSrv={}; for(const l of S.links){const ai=CIDX[l.a],bi=CIDX[l.b];if(linkDown(l)||!adj[ai]||!adj[bi])continue;live.push(l);const key=l.ae.w,wLat=e=>e.lat+0.05,RCON=RC.on,GK=RCON?rcGraphKey(pops,remote,EA):null, @@ -245,8 +247,11 @@ function compute(){RW.gen++; // Backhaul to transit: users notice the round trip to the exit. Up to 20 ms (about 1,500 km) is free, then // it gets worse, and past 50 ms broadband and internet services count as bad service (#…). Under sender pays, // Korean users notice any exit far away, transit or not, and much sooner. - if(path.length&&(e.k==='t'||snd&&CITIES[ci].kr)){let ms=P.ms;if(ms<0){ms=0;for(let k=0;k(kl?KR_LAT_OK:LAT_OK)){LATP[ci]+=ok*(kl?krLatLoss(rtt):latLoss(rtt));if(!P.fg){P.fg=0;FARL.push(P,ci,e.ci);}P.fg+=ok;}}const kx=e.kx;if(EGT[kx]===0&&!EGO.includes(kx))EGO.push(kx);EGT[kx]+=ok;if(!NEG[nr]){NEG[nr]=R2.netEg[NET_IDS[nr]]={c:0,p:0,ix:0,t:0};NEO.push(nr);}NEA[nr*4+kx]+=ok; + // Over a satellite users notice too, whatever the exit: the path's edges with one (se) keep what this flow would lose + // on each orbit, and satAfter() charges the share the satellite really carried. The haul to transit counts on the ground (mt). + if(path.length&&(e.k==='t'||snd&&CITIES[ci].kr||SATN)){if(P.ms<0){let ms=0,mt=0,se=null;for(let k=0;k(kl?KR_LAT_OK:LAT_OK)?(kl?krLatLoss(rtt):latLoss(rtt)):0; + if(tl>0){LATP[ci]+=ok*tl;if(!P.fg){P.fg=0;FARL.push(P,ci,e.ci);}P.fg+=ok;}if(P.se)satNote(P.se,ci,ok,tl);}const kx=e.kx;if(EGT[kx]===0&&!EGO.includes(kx))EGO.push(kx);EGT[kx]+=ok;if(!NEG[nr]){NEG[nr]=R2.netEg[NET_IDS[nr]]={c:0,p:0,ix:0,t:0};NEO.push(nr);}NEA[nr*4+kx]+=ok; // Where each flow left (the PNI list asks what a PNI here would take over, #175). if(e.J>0){const m=e.byC||(e.byC=new Map()),v=m.get(ci);if(v){v[0]+=ok;if(bz)v[1]+=ok;}else m.set(ci,[ok,bz?ok:0]);} if(e.k==='t'){FGT[F]+=ok;FTI[F]=e.xi;}else if(e.k==='ix'){FGI[F]+=ok;FII[F]=e.xi;}else if(e.k==='p'){if(e.ci===ci&&e.net===NET_IDS[nr])FGH[F]+=ok;else FGP[F]+=ok;}} @@ -339,8 +344,10 @@ function compute(){RW.gen++; if(DD){let rem=0,jf=0;for(let i=0;i1e-6)rem+=FREM[i];if(JK)for(const k in edges){const e=edges[k];if(e.res<=1e-6&&e.jk)jf+=e.jk;} ddosAfter(DD,{E,R2,squeeze:Math.min(rem,jf), lost:(ci,x,y,e)=>{SRV[ci]-=x;R2.served-=x;const c=CITIES[ci].id;if(y)R2.bizSrv[c]-=y;R2.egT[e.k]-=x;if(e.rank<=2)R2.peered-=x;}});} + // R.satU only when a circuit is in the graph, so R stays as it was for networks without one. + const SATU=SATN?new Float64Array(NC):null;if(SATU){R2.satU={};satAfter(SE,LATP,SATU);} for(const c of Object.keys(S.pops)){const i=CIDX[c];R2.citySrv[c]=SRV[i]; - if(LATP[i]>0&&SRV[i]>0)R2.latF[c]=clamp(1-LATP[i]/SRV[i],0,1);} + if(LATP[i]>0&&SRV[i]>0)R2.latF[c]=clamp(1-LATP[i]/SRV[i],0,1);if(SATU&&SATU[i]>1e-9)R2.satU[c]=SATU[i];} // Each city's slowest big exit: (path, source, exit) triples, one per path that went far, in the order they first did. {const G=new Map();for(let k=0;kcur.g)R2.latFar[c]={to:CITIES[o.to].id,g:o.g,ms:o.ms,share:SRV[o.src]>0?o.g/SRV[o.src]:0};}} @@ -362,7 +369,7 @@ function computeMoney(R2,PX=null){ const C=R2.cost,V=R2.rev,pm=S.priceMul; C.pops=Object.entries(S.pops).reduce((a,[c,p])=>a+popMo(c)+((p.routers||1)-1)*ROUTER_MO+cageMo(p.routers)+(p.routers||1)*RG[p.rgen||0].mo+(p.gen?GEN_MO:0),0); C.optical=S.links.filter(l=>l.kind==='df').reduce((a,l)=>a+(l.ready>S.day?0:ampCount(l.km)*AMP_MO*(l.own&&isRdm(l.sys)&&!l.sub?Math.max(1,l.pairs|0):1)+(l.regen|0)*REGEN_MO)+(l.spares?Math.round(150+(l.ch||[]).length*80):0),0); - C.links=S.links.reduce((a,l)=>a+(l.mo||0),0); + C.links=S.links.reduce((a,l)=>a+(l.kind==='sat'?0:l.mo||0),0);{const m=satMoAll();if(m)C.sat=m;} C.nni=(S.nni||[]).reduce((a,x)=>a+nniMo(x),0); const htd=histToday();C.transit=S.transit.reduce((a,t)=>{const q=p95(t,R2.useT[t.id]||0,htd);R2.p95[t.id]=q;return a+transitMo(t,q);},0); C.ix=Object.keys(S.ixp).reduce((a,c)=>a+ixMo(c),0); diff --git a/src/game/80-simulation/40-billing.js b/src/game/80-simulation/40-billing.js index 87d5139..1a7e557 100644 --- a/src/game/80-simulation/40-billing.js +++ b/src/game/80-simulation/40-billing.js @@ -4,7 +4,7 @@ const histToday=()=>{const H=S.hist,l=H&&H[H.length-1];return !!l&&l.d===S.day;} function p95(t,cur,today=histToday()){const a=t.hist||[],n=Math.max(0,a.length-(today&&a.length?1:0)),h=a.slice(Math.max(0,n-29),n).concat([cur]).sort((a,b)=>a-b);return h[Math.max(0,Math.ceil(.95*h.length)-1)];} // Cut, or cut off by an event between its two countries, whatever runs on it (an express asks this of each fiber it rides). function linkCut(l){return l.cut>S.day||(S.ev.runet>S.day&&ruCity(l.a)!==ruCity(l.b))||(S.ev.gulf>S.day&&((CITY[l.a].qa&&(CITY[l.b].gcc||CITY[l.b].uae))||(CITY[l.b].qa&&(CITY[l.a].gcc||CITY[l.a].uae))));} -function linkDown(l){return linkCut(l)||(l.kind==='vxc'&&!!S.ev.fab&&S.ev.fab[l.prov]>S.day)||(l.kind==='df'&&dfCap(l)<=0)||(l.kind==='xp'&&xpDown(l));} +function linkDown(l){return linkCut(l)||(l.kind==='vxc'&&!!S.ev.fab&&S.ev.fab[l.prov]>S.day)||(l.kind==='df'&&dfCap(l)<=0)||(l.kind==='xp'&&xpDown(l))||(l.kind==='sat'&&l.ready>S.day);} function remoteCities(){return [...new Set(S.links.filter(l=>l.kind==='vxc').flatMap(l=>[l.a,l.b]))].filter(c=>!S.pops[c]);} function nniUsed(c,prov){return S.links.filter(l=>l.kind==='vxc'&&l.prov===prov&&(l.a===c||l.b===c)).reduce((a,l)=>a+VXC[l.vt].g,0)+S.biz.filter(b=>BIZ_T[b.type].nni&&b.prov===prov&&b.city===c).reduce((a,b)=>a+b.bw,0);} // Monthly price of one connection; compute() sums these, the connections overview lists them. diff --git a/src/game/80-simulation/50-sanitize.js b/src/game/80-simulation/50-sanitize.js index ed6494c..3c25690 100644 --- a/src/game/80-simulation/50-sanitize.js +++ b/src/game/80-simulation/50-sanitize.js @@ -21,7 +21,7 @@ function sanitize(s){ if(!isCity(s.home))s.home=Object.keys(s.pops)[0]||'fra'; opsSanitize(s); const tier=v=>int(v,0,PORT.length-1,0),lag=v=>int(v,1,LAG_MAX,1),sid=v=>String(v==null?uid():v).slice(0,40); - s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);if(l.list!==undefined){const L=l.list;if(l.kind==='df'&&L&&typeof L==='object'&&!Array.isArray(L)){const w=int(L.w,0,256,0),p=int(L.p,0,2,0);if(w||p)l.list={w,p};else delete l.list;}else delete l.list;}l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.cname!=null)l.cname=String(l.cname).slice(0,60);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc'&&l.kind!=='xp')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&(!own(CAB,l.cable)||!cablePair(l.cable,l.a,l.b)))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);if(l.day!==undefined)l.day=Math.min(s.day,Math.max(0,num(l.day,s.day)));for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.seaPath!==undefined){if(l.own&&l.sub&&Array.isArray(l.seaPath)&&l.seaPath.length>=2&&l.seaPath.length<=2048&&l.seaPath.every(p=>Array.isArray(p)&&p.length===2&&p.every(Number.isFinite)&&Math.abs(p[0])<=180&&Math.abs(p[1])<=90))l.seaPath=l.seaPath.map(p=>p.slice());else delete l.seaPath;}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);return l;}); + s.links=s.links.filter(l=>l&&isCity(l.a)&&isCity(l.b)&&l.a!==l.b).map(l=>{l.id=sid(l.id);if(l.list!==undefined){const L=l.list;if(l.kind==='df'&&L&&typeof L==='object'&&!Array.isArray(L)){const w=int(L.w,0,256,0),p=int(L.p,0,2,0);if(w||p)l.list={w,p};else delete l.list;}else delete l.list;}l.km=num(l.km,kmBetween(l.a,l.b));l.mo=num(l.mo,0);l.cut=num(l.cut,0);if(l.cname!=null)l.cname=String(l.cname).slice(0,60);if(l.pairs!==undefined)l.pairs=Math.min(l.sub?SUB_PAIRS_MAX:s.lvl>=PAIRS_LV?PAIRS_BIG:PAIRS_MAX,Math.max(1,Math.floor(+l.pairs)||1));if(l.kind!=='df'&&l.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat')l.kind='wave';if(l.kind==='wave')l.tier=int(l.tier,0,LT.length-1,0);if(l.cable&&(!own(CAB,l.cable)||!cablePair(l.cable,l.a,l.b)))l.cable=null;if(l.kind==='vxc'&&!own(VXC,l.vt))l.vt=0;if(l.kind==='df'){if(!own(DF_SYS,l.sys))l.sys='lite';l.ch=Array.isArray(l.ch)?l.ch.filter(o=>own(OPT,o)):[];l.ready=num(l.ready,0);if(l.day!==undefined)l.day=Math.min(s.day,Math.max(0,num(l.day,s.day)));for(const k of Object.keys(SUB_UPGRADES)){const f='sub'+k;if(l[f]!==undefined){if(l.own&&l.sub&&Number.isFinite(l[f])&&l[f]>=0)l[f]=Math.round(l[f]);else delete l[f];}}if(l.seaPath!==undefined){if(l.own&&l.sub&&Array.isArray(l.seaPath)&&l.seaPath.length>=2&&l.seaPath.length<=2048&&l.seaPath.every(p=>Array.isArray(p)&&p.length===2&&p.every(Number.isFinite)&&Math.abs(p[0])<=180&&Math.abs(p[1])<=90))l.seaPath=l.seaPath.map(p=>p.slice());else delete l.seaPath;}if(l.paid!==undefined){if(l.own&&l.sub&&Number.isFinite(l.paid)&&l.paid>=0)l.paid=Math.round(l.paid);else delete l.paid;}if(l.own&&l.sub&&!own(SEA_DESIGNS,l.seaDesign))l.seaDesign='standard';l.regen=int(l.regen,0,REGEN_MAX,0);}const deg=v=>v&&typeof v==='object'?{until:num(v.until,0),f:Math.min(1,Math.max(0,num(v.f,1)))}:null;if(l.loss)l.loss=deg(l.loss);return l;}); for(const l of s.links)repairSubUpgradeDates(l,s.day); xpSanitize(s); /* Metrics moved from each link to its city pair (#122). Older saves routed a pair at the lowest metric of its @@ -114,6 +114,7 @@ function sanitize(s){ specSanitize(s);mpSanitize(s); pieSanitize(s);pieIncFix(s); ip4Fix(s); + satSanitize(s); if(s.te){if(typeof s.te!=='object')s.te=null;else{s.te.on=!!s.te.on;s.te.script=typeof s.te.script==='string'?s.te.script.slice(0,4000):'';}} return s;} function migrate(s){sanitize(s); diff --git a/src/game/80-simulation/80-geography-and-latency.js b/src/game/80-simulation/80-geography-and-latency.js index f48a5fd..f633eae 100644 --- a/src/game/80-simulation/80-geography-and-latency.js +++ b/src/game/80-simulation/80-geography-and-latency.js @@ -30,7 +30,7 @@ const LAND_X=45,landX=(a,b)=>!isSub(a,b)&&CITY[a].reg!==CITY[b].reg&&CITY[a].cc! function landMult(a,b){if(isSub(a,b))return 1;if(uaePair(a,b))return 3;return (landX(a,b)?LAND_X:1)*(andesPair(a,b)?2:1)*(nullPair(a,b)?NULLARBOR:1)*(rainPair(a,b)?2:1)*(borderPair(a,b)?2:1);} function landWhy(a,b){if(isSub(a,b))return '';if(uaePair(a,b))return tr('geography_and_latency.inside_the_uae_only_the_two'); const r=[];if(landX(a,b))r.push(tr('geography_and_latency.overland_between_continents_crosses',{x:LAND_X}));if(andesPair(a,b))r.push(tr('geography_and_latency.this_route_crosses_the_andes_2'));if(nullPair(a,b))r.push(tr('geography_and_latency.this_route_crosses_the_nullarbor_x',{x:NULLARBOR}));if(borderPair(a,b))r.push(tr('geography_and_latency.this_route_crosses_a_border_in'));if(rainPair(a,b))r.push(tr('geography_and_latency.this_route_goes_into_the_amazon'));return r.join(' ');} -function linkLat(l){if(l.kind==='xp')return xpLat(l);const f=l.kind==='df'?(l.own?(l.sub?seaLatencyFactor(l):1.1):1.25):l.kind==='vxc'?1.4:l.cable?(CAB[l.cable].lat||1):1.3;return l.km*f/200;} +function linkLat(l){if(l.kind==='xp')return xpLat(l);if(l.kind==='sat')return satLat(l);const f=l.kind==='df'?(l.own?(l.sub?seaLatencyFactor(l):1.1):1.25):l.kind==='vxc'?1.4:l.cable?(CAB[l.cable].lat||1):1.3;return l.km*f/200;} /* Wave prices differ a lot by market (TeleGeography): Europe's dense, competitive metro and long-haul routes are cheap (Frankfurt–London 100G ≈ $1,150/mo), the US costs more, and routes into Africa are several times dearer (Africa–Europe ≈ 5.9× London–New York). diff --git a/src/game/85-incidents/20-failures.js b/src/game/85-incidents/20-failures.js index b4e3650..607cc6a 100644 --- a/src/game/85-incidents/20-failures.js +++ b/src/game/85-incidents/20-failures.js @@ -4,7 +4,7 @@ const anchorProne=l=>!!(l.cable&&CAB[l.cable]&&CAB[l.cable].anchor)||anchorPair( const wetSeason=()=>{const m=cal(S.day).m;return m>=10||m<=3;},wetCut=l=>!l.sub&&!!(CITY[l.a].wet||CITY[l.b].wet)&&wetSeason(); function fireFailure(only){ const opts=[]; - const live=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&!linkDown(l));const fabsUsed=[...new Set(S.links.filter(l=>l.kind==='vxc').map(l=>l.prov))]; + const live=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat'&&!linkDown(l));const fabsUsed=[...new Set(S.links.filter(l=>l.kind==='vxc').map(l=>l.prov))]; // A fiber that only carries expresses is dark as a link of its own, but there is light in it: a backhoe still finds it. const bare=S.links.filter(xpBare),dug=live.concat(bare); if(dug.length){opts.push(['cut',2+Math.min(6,dug.length/2)]);} diff --git a/src/game/85-incidents/40-chaos-monkey.js b/src/game/85-incidents/40-chaos-monkey.js index 668478e..28d6afc 100644 --- a/src/game/85-incidents/40-chaos-monkey.js +++ b/src/game/85-incidents/40-chaos-monkey.js @@ -22,7 +22,7 @@ function mkTick(d){const M=S.monkey;if(!M)return; if(!mkElig()){if(M.on)mkLeave('quiet');return;} // The first visit is spread by the ASN, not the dice, so a game's other luck stays exactly as it was. if(M.next==null)M.next=d+(mkSpicy()?180:270)+(S.asn||0)%120; - if(!M.on){if(dl.kind!=='vxc'&&l.kind!=='xp'&&(!linkDown(l)||xpBare(l))).length<3){M.next=d+30;return;}mkArrive(d);return;} + if(!M.on){if(dl.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat'&&(!linkDown(l)||xpBare(l))).length<3){M.next=d+30;return;}mkArrive(d);return;} if(d>=M.until){mkLeave();return;} if(d>=M.snip){mkSnip();M.snip=d+(mkSpicy()?rint(9,7):rint(14,11));}} function mkArrive(d){const M=S.monkey,cs=Object.keys(S.pops),len=mkSpicy()?rint(180,61):rint(120,121); @@ -30,7 +30,7 @@ function mkArrive(d){const M=S.monkey,cs=Object.keys(S.pops),len=mkSpicy()?rint( Object.assign(M,{on:1,start:d,until:d+len,snip:d+3,n:0,hurt:0,c:cs.length?pick(cs):S.home}); toast(tr('chaos_monkey.arrived',{n:len}),'bad',[{l:tr('chaos_monkey.banana',{cost:fmt$(mkBananaCost())}),act:'mkBanana',args:{}}],{a:'tab',v:'noc'});sfx('alert');track('monkey_arrive'); if(typeof mkStart==='function'&&CITY[M.c])mkStart(M.c);} -function mkSnip(){const M=S.monkey,live=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&(!linkDown(l)||xpBare(l)));if(!live.length)return; +function mkSnip(){const M=S.monkey,live=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat'&&(!linkDown(l)||xpBare(l)));if(!live.length)return; // Weak spots first: a sample keeps this cheap on big networks. const smp=live.length>40?Array.from({length:40},()=>pick(live)):live,l=pick(smp.flatMap(x=>mkWeak(x)?[x,x,x,x,x]:[x])); const dur=rint(3,4),trc=l.trench||l.id,hit=S.links.filter(x=>(x.trench||x.id)===trc),A=CITY[l.a].name,B=CITY[l.b].name,before=R.served; diff --git a/src/game/88-days/10-day-tick.js b/src/game/88-days/10-day-tick.js index 7c2a989..ba7417b 100644 --- a/src/game/88-days/10-day-tick.js +++ b/src/game/88-days/10-day-tick.js @@ -81,7 +81,7 @@ function dayPost(d){ mkTick(d); if(cm&&d>=S.nextFail&&!mkOn()){dirty=true;fireFailure();const size=S.links.length+Object.keys(S.pops).length;S.nextFail=d+Math.round((Math.max(22,50-size*1.5)+Math.floor(Math.random()*25))*(scnRule('chaos')?0.5:1)/cm);} // Anchors Away: on top of the usual failures, ships drag anchors over each Baltic seabed link (about three cuts a link-year). - if(cm&&d>45&&scnRule('anchors')){const n=S.links.filter(l=>l.kind!=='vxc'&&!linkDown(l)&&anchorProne(l)).length;if(n&&Math.random()45&&scnRule('anchors')){const n=S.links.filter(l=>l.kind!=='vxc'&&l.kind!=='sat'&&!linkDown(l)&&anchorProne(l)).length;if(n&&Math.random()=S.nextEvent){dirty=true;fireEvent();S.nextEvent=d+Math.round((45+Math.floor(Math.random()*45))/cm);} if(dirty)compute(); // the sales desk signs and declines deals, when the player lets it (39-sales-auto.js), then the intern's shift sees them diff --git a/src/game/90-actions/10-interface.js b/src/game/90-actions/10-interface.js index 80ec9fc..3bd9588 100644 --- a/src/game/90-actions/10-interface.js +++ b/src/game/90-actions/10-interface.js @@ -13,7 +13,7 @@ const ACT={ takeLoan:({id})=>{const o=S.loanOffers.find(x=>x.id===id);if(!o)return;S.stats.loans=(S.stats.loans||0)+1;const B=BANKS[o.bank];let got=o.amount,note=''; if(B.crypto){const f=0.55+Math.random()*0.8;got=Math.round(o.amount*f);note=' '+(f>=1?tr('interface.tubecoin_moved_up_p_on_the',{p:Math.round(Math.abs(f-1)*100)}):tr('interface.tubecoin_moved_down_p_on_the',{p:Math.round(Math.abs(f-1)*100)}));} S.cash+=got;S.loanOffers=S.loanOffers.filter(x=>x!==o); - S.loans.push({id:o.id,bank:o.bank,start:S.day,amount:o.amount,got,bal:o.model==='transit'?o.owe:o.amount,apr:o.apr||0,apr0:o.apr||0,pay:o.pay||0,left:o.term||0,term:o.term||0,share:o.share||0,model:o.model,cut:o.cut,covs:o.covs,base:{sub:S.links.filter(x=>x.sub).length}}); + S.loans.push({id:o.id,bank:o.bank,start:S.day,amount:o.amount,got,bal:o.model==='transit'?o.owe:o.amount,apr:o.apr||0,apr0:o.apr||0,pay:o.pay||0,left:o.term||0,term:o.term||0,share:o.share||0,model:o.model,cut:o.cut,covs:o.covs,base:{sub:S.links.filter(seaLink).length}}); track('loan_taken');toast(`${tr('interface.amt_from_bank_has_landed',{amt:fmt$(got),bank:esc(B.name)})}
${B.equity?tr('interface.they_now_own_p_of_your',{p:pct(o.share)}):loanSummary(o)}${note}`,'good');sfx('coin');after();renderBank();}, callBank:({amount})=>{if(!callOffer(amount))return;track('loan_called');sfx('click');renderBank();renderHUD();save();}, declineLoan:({id})=>{S.loanOffers=S.loanOffers.filter(x=>x.id!==id);sfx('click');renderBank();renderHUD();save();}, diff --git a/src/game/90-actions/60-links.js b/src/game/90-actions/60-links.js index cf98a50..b99dcdf 100644 --- a/src/game/90-actions/60-links.js +++ b/src/game/90-actions/60-links.js @@ -14,13 +14,13 @@ Object.assign(ACT,{ myIxUp:({city})=>{const m=S.myIx[city];if(!m)return;const f=(m.fab|0)+1,N=MYIX_FAB[f];if(!N)return;if(N.lvl>lvl()){toast(tr('links.a_fab_fabric_unlocks_at_customer',{fab:N.n,lv:N.lvl}),'bad');sfx('err');return;}if(!spend(N.cost))return;m.fab=f;toast(tr('links.ix_now_runs_a_fab_fabric',{ix:esc(m.name),fab:N.n,max:N.max}),'good');m.next=Math.min(m.next,S.day+3);after();}, foundIx:({city})=>{if(!isCity(city))return;const why=foundIxWhy(city);if(why){toast(why,'bad');sfx('err');return;}if(!spend(MYIX_COST))return;const nm=(S.name.split(' ')[0]||'My').replace(/[^A-Za-z0-9]/g,'').slice(0,10)+'-IX '+CITY[city].name; S.myIx[city]={name:nm,members:[],next:S.day+4};S.ixp[city]=2;toast(tr('links.you_founded_ix_networks_will_join',{ix:esc(nm)}),'goal');after();}, - buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p||noTalk(p.a,p.b))return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); + buildLink:({tier})=>{tier=+tier;const p=UI.pending;if(!p||noTalk(p.a,p.b))return;const {a,b}=p;const km=kmBetween(a,b),sub=isSub(a,b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat'),jn=sib.length?routeJoin(a,b):null,same=!!jn,border=cnCity(a)!==cnCity(b),mult=(sib.length&&!(jn&&jn.k===(landTrenches(a,b)[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); if(!linkFromOk(a)||!linkToOk(b)||((cnCity(a)||cnCity(b))&&!cnOk()))return; if(!waveOk(a,b,tier)){toast(tr('links.a_wave_wave_needs_need_at',{wave:LT[tier].n,need:esc(waveNeed(tier))}),'bad');sfx('err');return;} const wr=waveRoute(a,b,mult,border);if(!wr){toast(tr('links.no_cable_available_for_that_route'),'bad');sfx('err');return;} {const so=soldOut(a,b,tier,wr.cab);if(so){toast(tr('links.no_wave_capacity_on_this_route',{wave:LT[tier].n,why:tr(so.why),n:Math.max(1,so.until-S.day)}),'bad');sfx('err');return;}}{const w=subWaveWhy(tier,wr.km,wr.sub);if(w){toast(tr('links.no_wave_waves_on_this_cable',{wave:LT[tier].n,why:esc(w)}),'bad');sfx('err');return;}}const base=Math.round(waveMo(wr.km,wr.sub,tier)*wr.wm),cost=base+(S.pops[b]?0:popCost(b)); if(!portGate(a,1)||!portGate(b,1))return;if(!spend(cost))return;if(!S.pops[b]){S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false};popStdApply(b);} - const id=uid();const l={id,a,b,kind:'wave',border,premium:border&&!!UI.cnPrem&&(a==='hkg'||b==='hkg'),tier,km:wr.km,sub:wr.sub,cable:wr.cab,mo:base,mult:wr.wm,trench:wr.cab?'cab:'+wr.cab:(jn?jn.k:id),cut:0,day:S.day};S.links.push(l);closeModal(); + const id=uid();const l={id,a,b,kind:'wave',border,premium:border&&!!UI.cnPrem&&(a==='hkg'||b==='hkg'),tier,km:wr.km,sub:wr.sub,cable:wr.cab,mo:base,mult:wr.wm,trench:wr.cab?'cab:'+wr.cab:(jn?jn.k:id),cut:0,day:S.day};S.links.push(l);satBeside(a,b);closeModal(); if(sib.length){UI.sel={type:'link',id};}else{UI.sel={type:'city',id:b};UI.tab='cust';} floater((CITY[a].x+CITY[a].x+wrapDx(CITY[a].x,CITY[b].x))/2,(CITY[a].y+CITY[b].y)/2-20,tr('links.wave_lit',{wave:LT[tier].n}),'#FF4F9A');after();}, // A new fabric port, or every member of one upgraded to a faster speed (#140): as fast as the router takes. @@ -36,7 +36,7 @@ Object.assign(ACT,{ openVxc:(a)=>openVxcModal(a), buyVxc:({a,b,prov,t})=>{t=+t;if(!CITY[a]||!CITY[b]||noTalk(a,b))return;const g=VXC[t].g,pa=nniPort(a,prov);if(!pa||nniUsed(a,prov)+g>nniCap(pa)+1e-9){toast(tr('links.not_enough_room_on_your_fabric'),'bad');sfx('err');return;} if(S.pops[b]){const pb=nniPort(b,prov);if(!pb||nniUsed(b,prov)+g>nniCap(pb)+1e-9){toast(tr('links.not_enough_room_on_your_fab',{fab:esc(FAB[prov].name),city:CITY[b].name}),'bad');sfx('err');return;}} - const km=kmBetween(a,b),sub=isSub(a,b),mo=vxcMo(km,sub,t);if(!spend(mo))return;S.links.push({id:uid(),a,b,kind:'vxc',prov,vt:t,km,sub,mo,cut:0,day:S.day});closeModal(); + const km=kmBetween(a,b),sub=isSub(a,b),mo=vxcMo(km,sub,t);if(!spend(mo))return;S.links.push({id:uid(),a,b,kind:'vxc',prov,vt:t,km,sub,mo,cut:0,day:S.day});satBeside(a,b);closeModal(); toast(tr('links.circuit_up_in_59_seconds_vxc',{vxc:VXC[t].n,fab:esc(FAB[prov].name),a:CITY[a].name,b:CITY[b].name})+(S.pops[b]?'':' '+tr('links.now_grab_an_ix_port_there')),'good');if(!S.pops[b])selectCity(b);after();}, upVxc:({id,t})=>{t=+t;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='vxc'||!VXC[t]||t<=l.vt)return;const extra=VXC[t].g-VXC[l.vt].g;for(const c of [l.a,l.b]){const pt=nniPort(c,l.prov);if(pt&&nniUsed(c,l.prov)+extra>nniCap(pt)+1e-9){toast(tr('links.fabric_port_in_city_is_full',{city:CITY[c].name}),'bad');sfx('err');return;}}const mo=vxcMo(l.km,l.sub,t);if(!spend(mo))return;l.vt=t;l.mo=mo;after();}, cancelVxc:({id})=>{if(UI.confirm!==id){UI.confirm=id;renderPanel();return;}S.links=S.links.filter(l=>l.id!==id);prunePairMet();const rem=remoteCities();for(const c in S.ixp){if(!S.pops[ixCity(c)]&&!rem.includes(ixCity(c))){delete S.ixp[c];delete S.rs[c];for(const k in S.peers)if(k.endsWith('@'+c))delete S.peers[k];}}UI.sel=null;UI.confirm=null;after();}, diff --git a/src/game/90-actions/86-specialist.js b/src/game/90-actions/86-specialist.js index 089794d..5d1e315 100644 --- a/src/game/90-actions/86-specialist.js +++ b/src/game/90-actions/86-specialist.js @@ -3,7 +3,7 @@ Object.assign(ACT,{ toast(tr('specialist.the_vendor_ships_a_demo_name',{name:esc(it.n),n:at-S.day,p:Math.round((DEMO_MUL-1)*100)}),'good');after();}, seatBuy:({n})=>{const o=S.seatOff;n=+n;if(!o||o.exp<=S.day||!SEAT_N.includes(n))return;const miss=[o.a,o.b].filter(c=>!S.pops[c]),cost=seatCost(o.km,n)+miss.reduce((x,c)=>x+popCost(c),0);if(!spend(cost))return; for(const c of miss){S.pops[c]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0};popStdApply(c);} - const id=uid(),days=seatDays(o.km);S.links.push({id,a:o.a,b:o.b,kind:'df',own:true,sub:true,seat:true,seaDesign:'standard',sys:'roadm',ch:[],km:o.km,cable:null,cname:o.name,mo:seatMo(o.km,n),trench:'seat:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:n,paid:seatCost(o.km,n)}); + const id=uid(),days=seatDays(o.km);S.links.push({id,a:o.a,b:o.b,kind:'df',own:true,sub:true,seat:true,seaDesign:'standard',sys:'roadm',ch:[],km:o.km,cable:null,cname:o.name,mo:seatMo(o.km,n),trench:'seat:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:n,paid:seatCost(o.km,n)});satBeside(o.a,o.b); S.seatOff=null;S.stats.seats=(S.stats.seats||0)+1;UI.sel={type:'link',id}; toast(tr('specialist.you_own_n_fiber_pairs_on',{n,name:esc(o.name),a:CITY[o.a].name,b:CITY[o.b].name,d:days}),'goal');sfx('build');after();}, seatNo:()=>{S.seatOff=null;after();}, diff --git a/src/game/90-actions/87-fiber-and-hardware.js b/src/game/90-actions/87-fiber-and-hardware.js index 75b81db..d43e135 100644 --- a/src/game/90-actions/87-fiber-and-hardware.js +++ b/src/game/90-actions/87-fiber-and-hardware.js @@ -10,7 +10,7 @@ Object.assign(ACT,{ orderCable:()=>{const p=UI.pending;if(!p||noTalk(p.a,p.b))return;const {a,b}=p;if(ownCabWhy(a,b)||!linkFromOk(a)||!linkToOk(b))return;const design=own(SEA_DESIGNS,UI.seaDesign)?UI.seaDesign:'standard',up=seaUps(seaQuote(a,b,design).km),q=seaQuote(a,b,design,up),km=q.km,cost=q.cost+(S.pops[b]?0:popCost(b));if(seaLack(km,up).length||!spend(cost))return; if(!S.pops[b]){S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0};popStdApply(b);} const used=new Set(S.links.map(l=>l.cname).filter(Boolean)),cname=OWNCAB_NAMES.find(n=>!used.has(n))||`${pick(OWNCAB_NAMES)} ${used.size+1}`,id=uid(),ship=layName({id}),days=q.days; - S.links.push({id,a,b,kind:'df',own:true,sub:true,seaDesign:design,seaPath:q.pts.map(p=>p.slice()),sys:'roadm',ch:[],km,cable:null,cname,mo:Math.round(km*OWNCAB_OM),trench:'own:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:1}); + S.links.push({id,a,b,kind:'df',own:true,sub:true,seaDesign:design,seaPath:q.pts.map(p=>p.slice()),sys:'roadm',ch:[],km,cable:null,cname,mo:Math.round(km*OWNCAB_OM),trench:'own:'+id,cut:0,day:S.day,ready:S.day+days,spares:false,pairs:1});satBeside(a,b); const laid=S.links[S.links.length-1];laid.paid=q.cost;for(const k of Object.keys(SUB_UPGRADES))if(up[k])laid['sub'+k]=laid.ready;UI.seaDesign='standard';UI.seaterminal=UI.seaengineering=false; S.stats.ownCab=(S.stats.ownCab||0)+1;UI.dfSrc='lease';closeModal();UI.sel={type:'link',id}; toast(tr('fiber_and_hardware.the_ship_sets_sail_name_your',{ship,name:cname,km:km.toLocaleString(),a:CITY[a].name,b:CITY[b].name,n:days}),'goal');sfx('build');after();}, @@ -20,7 +20,7 @@ Object.assign(ACT,{ if(!S.pops[b]){S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false,rgen:0};popStdApply(b);} const sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'),id=uid(); const l={id,a,b,kind:'df',own,sys,ch:[],km,sub:!!sc,cable:sc?sc.cid:null,mo:own?Math.round(km*0.15):dfLeaseMo(km),trench:sc?'cab:'+sc.cid:id,cut:0,day:S.day,ready:S.day+(own?dfBuildDays(km):leadDays(IRU_DAYS)),spares:false}; - S.links.push(l);closeModal();UI.sel={type:'link',id}; + S.links.push(l);satBeside(a,b);closeModal();UI.sel={type:'link',id}; toast(own?tr('fiber_and_hardware.groundbreaking_your_own_fiber_from_a',{a:CITY[a].name,b:CITY[b].name,n:dfBuildDays(km)}):tr('fiber_and_hardware.dark_fiber_iru_signed_a_b',{a:CITY[a].name,b:CITY[b].name}),'goal');after();}, regen:({id,d})=>{d=+d;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='df'||(l.sub&&!l.seat)||(d!==1&&d!==-1))return;const n=(l.regen|0)+d;if(n<0||n>REGEN_MAX)return; if(d<0&&((l.ch||[]).some(o=>!optMode(o,Object.assign({},l,{regen:n})))||xpRegenBad(l,n))){toast(tr('fiber_and_hardware.those_optics_need_the_regen_site'),'bad');sfx('err');return;} diff --git a/src/game/90-actions/87-teleports.js b/src/game/90-actions/87-teleports.js new file mode 100644 index 0000000..542bde1 --- /dev/null +++ b/src/game/90-actions/87-teleports.js @@ -0,0 +1,27 @@ +// Teleports and satellite capacity (#83): build the gateway, rent circuits on its birds, resize them. Cancel is rmLink. +Object.assign(ACT,{ + teleBuild:({city})=>{const p=S.pops[city];if(!p||teleOf(city))return; + const why=teleWhy(city);if(why){toast(why,'bad');sfx('err');return;} + if(!spend(TPORT_COST))return;p.tele=1;toast(tr('satellites.teleport_up_in_city',{city:CITY[city].name}),'good');after();}, + teleTrk:({city})=>{const p=S.pops[city];if(!p||teleOf(city)!==1)return; + const why=trkWhy(city);if(why){toast(why,'bad');sfx('err');return;} + if(!spend(TRK_COST))return;p.tele=2;toast(tr('satellites.tracking_antennas_up',{city:CITY[city].name}),'good');after();}, + // Closing a teleport asks twice, and never while circuits still start there. + teleRm:({city})=>{const p=S.pops[city];if(!p||!teleOf(city))return;const n=S.links.filter(l=>l.kind==='sat'&&l.a===city).length; + if(n){toast(trn('satellites.cancel_n_circuits_first',n),'bad');sfx('err');return;} + if(UI.confirm!=='tele:'+city){UI.confirm='tele:'+city;renderPanel();return;} + delete p.tele;UI.confirm=null;toast(tr('satellites.teleport_closed',{city:CITY[city].name}));after();}, + satOpen:({a,b})=>satModal(a,b), + // Rent a circuit from teleport a to b: the first month up front, like a wave; a POP at b comes with it if there is none. + // Next to a link you already have between the two, it goes on standby: the backup that carries only when the cable is down. + buySat:({a,b,bird,g})=>{g=+g;const why=satWhy(a,b,bird,g);if(why){toast(why,'bad');sfx('err');return;} + if(!portGate(a,1)||!portGate(b,1))return;const mo=satMo(bird,g),pop=!S.pops[b];if(!spend(mo+(pop?popCost(b):0)))return; + if(pop){S.pops[b]={day:S.day,bb:null,boost:0,down:0,routers:1,gen:false};popStdApply(b);} + const sb=pairLinks(a,b).some(l=>l.kind!=='sat'),n=leadDays(SAT_ORB[SATS[bird].orb].days),id=uid(); + S.links.push({id,a,b,kind:'sat',bird,g,km:satKm(bird,a,b),sub:true,mo,cut:0,day:S.day,ready:S.day+n,...(sb?{standby:true}:{})}); + closeModal();UI.sel={type:'link',id}; + toast(trn('satellites.circuit_ordered',n,{cap:fmtCap(g),bird:esc(SATS[bird].n),a:CITY[a].name,b:CITY[b].name})+(sb?' '+tr('satellites.on_standby_beside_your_link'):''),'good');after();}, + // Bigger or smaller on the same bird: a bigger one pays its new month up front, as a wave upgrade does. + satSize:({id,g})=>{g=+g;const l=S.links.find(x=>x.id===id);if(!l||l.kind!=='sat'||g===l.g||!SAT_ORB[SATS[l.bird].orb].g.includes(g))return; + const mo=satMo(l.bird,g);if(g>l.g&&!spend(mo))return;l.g=g;l.mo=mo;sfx('click');after();}, +}); diff --git a/src/game/93-ui/50-city-panel.js b/src/game/93-ui/50-city-panel.js index e104b38..fd7fbd6 100644 --- a/src/game/93-ui/50-city-panel.js +++ b/src/game/93-ui/50-city-panel.js @@ -3,14 +3,14 @@ function cityPanel(c){ // Your POP's router model, as a picture left of the name (10-catalog/25-router-art.js). const art=p?rgArt(p.rgen||0):''; let h=`
${art?`${art}`:''}
${REG[C.reg]} · ${esc(siteName(c,'a'))}

${C.name}

-
${tr('city_panel.g_of_eyeballs',{g:fmtG(eyeP(c))})}${grantFact(c)}${latSlow(c)?`🐢 ${tr('city_panel.ms_ms_to_transit',{ms:Math.round(R.latFar[c].ms)})}`:''}${regionMult(c)>1?`${tr('city_panel.transit_x_pricier',{x:regionMult(c)})}`:''}${C.kr&&scnRule('sender')?`${tr('city_panel.sender_pays_fee_per_gbps',{fee:fmt$(KR_FEE)})}`:''}${colo(c)>1?`${tr('city_panel.few_data_centers_pops_x',{x:colo(c)})}`:''}${C.reg==='AS'&&!C.cn?''+tr('city_panel.underserved_users_grow_60_faster')+'':''}${ix?`${tr('city_panel.ix_ix',{ix:esc(ix)})}`:''}${p?`${tr('common.your_pop')}`:''}${down?`DOWN`:''}
+
${tr('city_panel.g_of_eyeballs',{g:fmtG(eyeP(c))})}${grantFact(c)}${satFact(c)}${latSlow(c)?`🐢 ${tr('city_panel.ms_ms_to_transit',{ms:Math.round(R.latFar[c].ms)})}`:''}${regionMult(c)>1?`${tr('city_panel.transit_x_pricier',{x:regionMult(c)})}`:''}${C.kr&&scnRule('sender')?`${tr('city_panel.sender_pays_fee_per_gbps',{fee:fmt$(KR_FEE)})}`:''}${colo(c)>1?`${tr('city_panel.few_data_centers_pops_x',{x:colo(c)})}`:''}${C.reg==='AS'&&!C.cn?''+tr('city_panel.underserved_users_grow_60_faster')+'':''}${ix?`${tr('city_panel.ix_ix',{ix:esc(ix)})}`:''}${p?`${tr('common.your_pop')}`:''}${down?`DOWN`:''}
`; if(!p){ h+=`
${C.note?`

${esc(C.note)}

`:''} ${C.cn?chinaSection(c):''}${C.cn&&!cnOk()?'':`

${tr('city_panel.open_a_pop_here')}

${tr('city_panel.a_pop_point_of_presence_is')}

${C.ru?`

${tr('city_panel.includes_the_mandatory_government',{cost:fmt$(RU_BOX),mo:fmt$(RU_BOX_MO)})}

`:''}${(q=>btn(tr('city_panel.build_pop_cost_mo_mo',{cost:fmt$(popCost(c)+(q?q.cost:0)),mo:fmt$(popMo(c)+(q?q.mo:0))}),'buildPop',{city:c},'pink big',S.cash${q.site2||q.gen?tr('pop_std.includes_the_build_standard',{list:esc(bstdPopParts({g:q.g,rt:q.rt,site2:q.site2,gen:q.gen}).join(', ')),cost:fmt$(q.cost),mo:fmt$(q.mo)}):tr('pop_std.includes_the_standard_n_model',{n:q.rt,model:esc(RG[q.g].n),cost:fmt$(q.cost),mo:fmt$(q.mo)})}

`:''))(popStdQuote())}

${tr('city_panel.or_drag_from_one_of_your')}

${opsTplHtml(c)}`}`; - h+=offersHere(c); + h+=offersHere(c)+satNoPop(c); const trs=NETS.filter(n=>sellsAt(n,c)); const fh=FABS.filter(f=>f.cities.includes(c)); if(ix&&fh.length){if(remoteCities().includes(c))h+=ixSection(c).replace('

'+tr('common.internet_exchange')+'

','

'+tr('city_panel.remote_peering_at_the_ix')+'

'); @@ -103,10 +103,11 @@ function cityPanel(c){ else h+=`
${NNI.map((N,i)=>portShown(i)?btn(tr('city_panel.port_port_price_mo_197d',{port:N.n,price:fmt$(N.mo)}),'buyNni',{city:c,prov:f.id,tier:i},'sm',S.cash`; h+=`
`;} h+=`
`;} + h+=teleHtml(c); h+=`

${tr('city_panel.fiber_from_city',{city:C.name})}

${tr('city_panel.drag_from_this_router_to_any')}

`; if(!ls.length)h+=`

${tr('common.no_links_yet')}

`; for(const l of ls){const o=l.a===c?l.b:l.a,u=capOf(l)?(R.load[l.id]||0)/capOf(l):0,cut=linkDown(l); - h+=`
→ ${CITY[o].name}${l.mult>1?' · '+tr('common.diverse'):''} ${cut?''+tr('common.cut')+'':''}
${capName(l)} · ${l.km.toLocaleString()} km ${l.kind==='vxc'?tr('city_panel.virtual_circuit_via_fab',{fab:esc(FAB[l.prov].name)}):l.kind==='xp'?tr('express.city_via',{via:xpVia(l)}):l.kind==='df'?(l.own?(l.sub&&l.cname?tr('city_panel.your_own_subsea_cable_name',{name:esc(l.cname)}):tr('common.own_dark_fiber')):tr('city_panel.dark_fiber_iru'))+(l.ready>S.day?` · ${tr('city_panel.ready_in_n_d',{n:l.ready-S.day})}`:''):l.sub?tr('common.subsea'):tr('common.terrestrial')} · ${tr('common.price_mo',{price:fmt$(l.mo)})}
${btn(tr('common.open'),'selLink',{id:l.id},'ghost sm')}
`;} + h+=`
→ ${CITY[o].name}${l.mult>1?' · '+tr('common.diverse'):''} ${cut?''+tr('common.cut')+'':''}
${capName(l)} · ${l.km.toLocaleString()} km ${l.kind==='vxc'?tr('city_panel.virtual_circuit_via_fab',{fab:esc(FAB[l.prov].name)}):l.kind==='xp'?tr('express.city_via',{via:xpVia(l)}):l.kind==='sat'?tr('satellites.via_bird',{bird:esc(satName(l))})+(l.ready>S.day?` · ${tr('city_panel.ready_in_n_d',{n:l.ready-S.day})}`:''):l.kind==='df'?(l.own?(l.sub&&l.cname?tr('city_panel.your_own_subsea_cable_name',{name:esc(l.cname)}):tr('common.own_dark_fiber')):tr('city_panel.dark_fiber_iru'))+(l.ready>S.day?` · ${tr('city_panel.ready_in_n_d',{n:l.ready-S.day})}`:''):l.sub?tr('common.subsea'):tr('common.terrestrial')} · ${tr('common.price_mo',{price:fmt$(l.mo)})}
${btn(tr('common.open'),'selLink',{id:l.id},'ghost sm')}
`;} h+=`
`; if(Object.keys(S.pops).length>1)h+=`

${tr('common.decommission')}

${tr('city_panel.shut_this_pop_down_its_links')}

${btn(tr('city_panel.decommission_city',{city:C.name}),'decomOpen',{city:c},'ghost sm')}${btn(tr('city_panel.decommission_several_pops'),'decomOpen',{},'ghost sm')}
`; } diff --git a/src/game/93-ui/70-link-panels.js b/src/game/93-ui/70-link-panels.js index 200de31..48cb752 100644 --- a/src/game/93-ui/70-link-panels.js +++ b/src/game/93-ui/70-link-panels.js @@ -146,6 +146,7 @@ function offersHere(c){ function linkPanel(id){ const l=S.links.find(x=>x.id===id);if(!l){UI.sel=null;return '';} if(l.kind==='vxc')return vxcPanel(l); + if(l.kind==='sat')return satPanel(l); if(l.kind==='df')return dfPanel(l); if(l.kind==='xp')return xpPanel(l); const load=R.load[l.id]||0,cap=LT[l.tier].g,u=load/cap,cut=l.cut>S.day,trk=l.trench||l.id,inc=S.inc.find(i=>(LINKCUT_TR.includes(i.type)&&i.ref===trk)||((i.type==='fatwave'||i.type==='label'||i.type==='mtu')&&i.ref===l.id)),sib=pairLinks(l.a,l.b).filter(x=>x!==l&&x.kind!=='vxc'),mates=sib.filter(x=>(x.trench||x.id)===trk); diff --git a/src/game/93-ui/72-teleport-panels.js b/src/game/93-ui/72-teleport-panels.js new file mode 100644 index 0000000..1a7f3c8 --- /dev/null +++ b/src/game/93-ui/72-teleport-panels.js @@ -0,0 +1,60 @@ +// Teleports and satellite circuits on screen (#83): a POP's section, the order sheet, a circuit's panel. +const satLogo=P=>``; +// Round trip over bird id between a and b, in whole ms. +const satRtt=(id,a,b)=>Math.round(2*satLat({bird:id,km:satKm(id,a,b)})); +const satModalHead=(eye,title)=>`
🛰️ ${eye}

${title}

`; +// In a city's facts: its own users' traffic rides a satellite today (R.satU), and they count part of the service as bad (sfOf, R.latF). +const satFact=c=>R&&R.latF&&R.latF[c]<1&&R.satU&&R.satU[c]>1e-3?`🛰️ ${tr('satellites.users_ride_a_satellite')}`:''; +// The birds a dish at c sees, in words. +const satInView=c=>{const ids=teleSees(c);return ids.length?tr('satellites.in_view_list',{list:ids.map(id=>`${esc(SATS[id].n)} (${tr(SATS[id].sea)})`).join(', ')}):tr('satellites.no_bird_sees_this_city');}; +// In a POP's Infra tab: its teleport (build it, what it sees, its circuits), and the teleports that can reach it. +function teleHtml(c){if(pzOn())return '';const t=teleOf(c),from=satFrom(c),open=lvl()>=SAT_ORB.geo.lv;if(!t&&!open&&!from.length)return ''; + let h=`

🛰️ ${tr('satellites.satellites')}

`; + if(t){const out=S.links.filter(l=>l.kind==='sat'&&l.a===c),cf=UI.confirm==='tele:'+c,meo=teleSees(c).some(id=>SATS[id].orb==='meo'); + h+=`
${tr('satellites.teleport')}${t>1?tr('satellites.geo_dishes_and_meo_tracking'):tr('satellites.geo_dishes')} · ${tr('common.price_mo',{price:fmt$(TPORT_MO+(t>1?TRK_MO:0))})}
+
${satInView(c)}
`; + for(const l of out){const u=capOf(l)?(R.load[l.id]||0)/capOf(l):0; + h+=`
→ ${CITY[l.b].name}${l.standby?' '+tr('common.standby')+'':''}
${capName(l)} · ${esc(satName(l))}${l.ready>S.day?' · '+tr('city_panel.ready_in_n_d',{n:l.ready-S.day}):''} · ${tr('common.price_mo',{price:fmt$(l.mo)})}
${btn(tr('common.open'),'selLink',{id:l.id},'ghost sm')}
`;} + h+=`
${btn(tr('satellites.rent_satellite_capacity'),'satOpen',{a:c},'pink sm')}${t===1&&lvl()>=SAT_ORB.meo.lv&&meo?btn(tr('satellites.add_tracking_antennas_cost_mo',{cost:fmt$(TRK_COST),mo:fmt$(TRK_MO)}),'teleTrk',{city:c},'sm',S.cash + ${t===1&&lvl()${tr('satellites.meo_comes_at_level',{lv:SAT_ORB.meo.lv})}

`:''}`;} + // Before the build: what its dishes would see and reach at your level, and no button to a teleport that reaches nothing. + else if(open){const why=teleWhy(c),n=why?0:satTargets(c).filter(x=>satBirds(c,x).some(id=>lvl()>=SAT_ORB[SATS[id].orb].lv)).length; + h+=`

${tr('satellites.a_teleport_is_a_satellite_gateway')}

${satInView(c)}${why?'':' '+trn('satellites.n_places_in_reach',n)}
${why&&teleSees(c).length?`
${esc(why)}
`:''} +
${btn(tr('satellites.build_a_teleport_cost_mo',{cost:fmt$(TPORT_COST),mo:fmt$(TPORT_MO)}),'teleBuild',{city:c},'sm',S.cash`;} + if(from.length)h+=satReach(c,from); + return h+`
`;} +// Teleports that reach city c: a button each, to the order sheet. +const satReach=(c,from)=>`

${tr('satellites.reachable_from_your_teleports',{city:CITY[c].name})}

${from.slice(0,4).map(a=>btn(tr('fiber_modals.from_city',{city:CITY[a].name}),'satOpen',{a,b:c},'ghost sm')).join('')}
`; +// A city without a POP of yours, that a teleport of yours reaches: a POP and a circuit in one go. +function satNoPop(c){if(pzOn()||S.pops[c])return '';const from=satFrom(c);if(!from.length)return ''; + return `

🛰️ ${tr('satellites.by_satellite')}

${tr('satellites.no_cable_needed_a_pop_here',{city:CITY[c].name})}

${satReach(c,from)}
`;} +// The order sheet: from teleport a to b. With one end missing it lists the choices first. +function satModal(a,b){a=isCity(a)?a:null;b=isCity(b)?b:null; + if(!a&&b){const fr=satFrom(b);if(fr.length===1)a=fr[0]; + else{openModal(satModalHead(tr('satellites.satellite_capacity'),tr('fiber_modals.to_city',{city:CITY[b].name}))+(fr.length?fr.map(x=>`
${CITY[x].name}
${tr('satellites.teleport')} · ${trn('satellites.n_birds_see_both',satBirds(x,b).length)}
${btn(tr('satellites.choose'),'satOpen',{a:x,b},'sm')}
`).join(''):`

${tr('satellites.no_teleport_reaches_city',{city:CITY[b].name})}

`));return;}} + if(!a||!teleOf(a))return; + if(!b){const ts=satTargets(a),mine=ts.filter(x=>S.pops[x]),more=ts.filter(x=>!S.pops[x]).slice(0,12); + const row=x=>`
${CITY[x].name}
${S.pops[x]?tr('common.your_pop'):tr('satellites.new_pop_cost',{cost:fmt$(newPopCost(x))})} · ${kmBetween(a,x).toLocaleString()} km · ${trn('satellites.n_birds_see_both',satBirds(a,x).length)}
${btn(tr('satellites.choose'),'satOpen',{a,b:x},'sm')}
`; + openModal(satModalHead(tr('satellites.satellite_capacity'),tr('fiber_modals.from_city',{city:CITY[a].name}))+`

${tr('satellites.who_a_satellite_serves')}

` + +(mine.length?`

${tr('satellites.your_pops_in_view')}

`+mine.map(row).join(''):'')+(more.length?`

${tr('satellites.more_islands_and_towns')}

`+more.map(row).join(''):'')+(ts.length?'':`

${tr('satellites.nothing_in_view_from_here')}

`));return;} + const pop=S.pops[b]?0:newPopCost(b),sib=pairLinks(a,b).some(l=>l.kind!=='sat'),birds=satBirds(a,b); + const rows=birds.map(id=>{const B=SATS[id],O=SAT_ORB[B.orb],P=SAT_PROV[B.p],why=satWhy(a,b,id); + return `
${satLogo(P)}
${esc(B.n)} ${O.n}
${esc(P.n)} · ${tr(B.sea)} · ${tr('satellites.ms_round_trip',{ms:satRtt(id,a,b)})} · ${trn('satellites.up_in_n_days',leadDays(O.days))}
${esc(P.blurb)}
${why?`
${esc(why)}
`:''} +
${O.g.map(g=>btn(`${fmtCap(g)} ${tr('common.price_mo',{price:fmt$(satMo(id,g))})}`,'buySat',{a,b,bird:id,g},'sm',!!why||S.cash
`;}).join(''); + openModal(satModalHead(tr('satellites.satellite_capacity'),`${CITY[a].name} → ${CITY[b].name}`)+`

${tr('satellites.users_notice_geo_meo')}

` + +(pop?`

${tr('satellites.no_pop_there_yet',{city:CITY[b].name,cost:fmt$(pop)})}

`:'')+(sib?`

${tr('satellites.it_waits_on_standby')}

`:'') + +(rows||`

${tr('satellites.no_bird_sees_both',{a:CITY[a].name,b:CITY[b].name})}

`));} +// A circuit's panel: what it carries, its latency and rent, a size up or down, standby and the metric, cancel. +function satPanel(l){const B=SATS[l.bird],O=SAT_ORB[B.orb],P=SAT_PROV[B.p],load=R.load[l.id]||0,cap=capOf(l),u=cap?load/cap:0,ms=satLat(l); + let h=`
🛰️ ${esc(B.n)} · ${O.n} · ${esc(P.n)}

${CITY[l.a].name} ⇄ ${CITY[l.b].name}

`; + if(l.ready>S.day){const tot=Math.max(1,l.ready-l.day),done=clamp((S.day-l.day)/tot,0,1); + h+=`

${tr('satellites.being_commissioned')}

${tr('satellites.pointing_dishes_and_testing')}${tr('common.n_days_left',{n:l.ready-S.day})}
`;} + h+=`

${tr('common.capacity')}

${capName(l)}${l.standby?' · '+tr('common.standby'):''}${fmtG(load)} / ${fmtG(cap)}
+
${tr('common.latency')}${tr('satellites.ms_one_way_rtt',{ms:Math.round(ms),rtt:Math.round(2*ms)})}
+
${tr('satellites.radio_path')}${l.km.toLocaleString()} km
+
${tr('satellites.rent')}${tr('common.price_mo',{price:fmt$(l.mo)})}
+

${B.orb==='geo'?tr('satellites.geo_users_notice',{p:pct(O.loss)}):tr('satellites.meo_users_notice',{p:pct(O.loss)})} ${esc(P.blurb)}

+
${O.g.filter(g=>g!==l.g).map(g=>btn(`${g>l.g?tr('satellites.grow_to',{cap:fmtCap(g)}):tr('satellites.shrink_to',{cap:fmtCap(g)})} ${tr('common.price_mo',{price:fmt$(satMo(l.bird,g))})}`,'satSize',{id:l.id,g},'sm',g>l.g&&S.cash
+ ${trafficSection(l)}${metricSection(l)} +
${btn(UI.confirm===l.id?tr('common.really_cancel'):tr('common.cancel_circuit'),'rmLink',{id:l.id},'ghost sm')}
`; + return h;} diff --git a/src/game/94-dashboard/50-lease-swaps.js b/src/game/94-dashboard/50-lease-swaps.js index c5e56ab..c16c81f 100644 --- a/src/game/94-dashboard/50-lease-swaps.js +++ b/src/game/94-dashboard/50-lease-swaps.js @@ -10,7 +10,7 @@ function litOn(L,cap){const free=chMax(L)-(L.ch||[]).length-soldSlots(L)-xpSlots for(const o in OPT){const O=OPT[o];if(O.lvl>glassLvl()||(O.sys==='roadm'&&!isRdm(L.sys))||[L.a,L.b].some(c=>S.pops[c]&&RG[S.pops[c].rgen||0].cls{const [a,b]=k.split('|'),sub=isSub(a,b),mo=ls.reduce((s,l)=>s+(l.mo||0),0),cap=leaseCap(ls); const x={a,b,sub,ls,mo,cap,opts:[],own:pairLinks(a,b).find(l=>l.kind==='df'&&l.own&&l.ready<=S.day)};if(x.own){x.fit=litOn(x.own,cap);if(x.fit.fits)x.best=mo;return x;} // Waves and fabric circuits can also move onto a leased fiber pair: cheaper glass, but you buy the gear. diff --git a/src/game/94-dashboard/60-dashboard.js b/src/game/94-dashboard/60-dashboard.js index b1ede29..1802e8f 100644 --- a/src/game/94-dashboard/60-dashboard.js +++ b/src/game/94-dashboard/60-dashboard.js @@ -9,7 +9,7 @@ function renderDash(){checkLayer();
${tile(tr('common.traffic_now'),fmtG(R.served),tr('dashboard.of_g_wanted',{g:fmtG(R.demand)}))}${tile(tr('common.peak'),fmtG(S.stats.peak))}${tile(tr('dashboard.delivered_30_days'),(up*100).toFixed(1)+'%',up>=0.999?tr('dashboard.five_nines_ish'):up>=0.99?tr('dashboard.two_nines_and_change'):tr('dashboard.customers_are_upset'))}${tile(tr('common.peering_ratio'),pct(R.peerShare||0),tr('dashboard.caches_pnis_and_ix'))}${tile(tr('dashboard.monthly_p_l'),`${net>=0?'+':''}${fmt$(net)}`,tr('dashboard.in_in_out_out',{in:fmt$(R.revMo),out:fmt$(R.costMo)}))}${tile(tr('common.incidents'),S.stats.incidents,tr('dashboard.n_shrugged_off',{n:S.stats.survived}))}

${tr('dashboard.traffic_by_way_out')}

${svgChart(rows,['c','p','ix','t','l2'],[{k:'dem',col:'var(--text)',dash:true}],v=>fmtCap(Math.round(v)),'traffic')}${chartLegend('traffic',k=>k==='dem'?'':' '+pct((R.egT[k]||0)/tot))}

${tr('dashboard.money_per_month')}

${svgChart(rows,[],[{k:'rev',col:'#16A866'},{k:'cost',col:'#FF4D5E'}],v=>fmt$(v),'money')}${chartLegend('money')} -

${tr('dashboard.where_the_money_goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('dashboard.pops_and_routers'),links:tr('dashboard.waves_and_fiber'),transit:tr('common.transit'),ix:tr('common.ix_ports'),pni:tr('common.pnis'),caches:tr('common.cache_power'),nni:tr('common.fabric_ports'),optical:tr('dashboard.amp_huts_and_spares'),loans:tr('common.loan_repayments'),revshare:tr('dashboard.investor_revenue_share'),extras:tr('dashboard.licenses_and_scrubbing'),wholesale:tr('dashboard.nearly_broadband_network_wholesale'),levy:tr('dashboard.regional_broadband_levy'),pie:tr('pie.costs_row'),ip4:tr('ip4.costs_row')}[k]||k}${tr('common.price_mo',{price:fmt$(v)})}
`).join('')}
`; +

${tr('dashboard.where_the_money_goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('dashboard.pops_and_routers'),links:tr('dashboard.waves_and_fiber'),transit:tr('common.transit'),ix:tr('common.ix_ports'),pni:tr('common.pnis'),caches:tr('common.cache_power'),nni:tr('common.fabric_ports'),optical:tr('dashboard.amp_huts_and_spares'),loans:tr('common.loan_repayments'),revshare:tr('dashboard.investor_revenue_share'),extras:tr('dashboard.licenses_and_scrubbing'),wholesale:tr('dashboard.nearly_broadband_network_wholesale'),levy:tr('dashboard.regional_broadband_levy'),pie:tr('pie.costs_row'),ip4:tr('ip4.costs_row'),sat:tr('satellites.costs_row')}[k]||k}${tr('common.price_mo',{price:fmt$(v)})}
`).join('')}
`; const tT=(R.egT.t||0)||1; const offMix=(UI.chartOff&&UI.chartOff.mix)||{},filt=Object.keys(offMix).length>0; // The legend above the table picks which ways in count; "lost" still looks at everything the network gets. diff --git a/src/game/94-dashboard/70-bank.js b/src/game/94-dashboard/70-bank.js index 72566a4..ee218dd 100644 --- a/src/game/94-dashboard/70-bank.js +++ b/src/game/94-dashboard/70-bank.js @@ -21,7 +21,7 @@ function renderBank(){ h+=CT?`
${tr('bank.bank_picks_up_apr_apr_over',{bank:esc(BANKS[CT.bank].name),apr:(CT.apr*100).toFixed(1),n:CALL_MONTHS,limit:fmt$(lim)})}
${CALL_AMTS.map(a=>btn(fmt$(a),'callBank',{amount:a},'sm',a>lim)).join('')}
`:`

${tr('bank.get_to_an_aa_rating_and')}

`;} h+=`

${tr('common.offers')}

`; if(!S.loanOffers.length)h+=`

${tr('bank.no_offers_right_now_banks_get')}

`; - for(const o of S.loanOffers){const B=BANKS[o.bank];h+=`
${tr('bank.bank_offers_amount',{bank:esc(B.name),amount:fmt$(o.amount)})}
${esc(B.blurb)} · ${tr('bank.offer_ends_in_n_d',{n:o.exp-S.day})}
${terms(o)}
${covList({covs:o.covs,start:S.day,base:{sub:S.links.filter(x=>x.sub).length}})}
${btn(tr('bank.take_the_money'),'takeLoan',{id:o.id},'pink')}${btn(tr('common.no_thanks'),'declineLoan',{id:o.id},'ghost sm')}
`;} + for(const o of S.loanOffers){const B=BANKS[o.bank];h+=`
${tr('bank.bank_offers_amount',{bank:esc(B.name),amount:fmt$(o.amount)})}
${esc(B.blurb)} · ${tr('bank.offer_ends_in_n_d',{n:o.exp-S.day})}
${terms(o)}
${covList({covs:o.covs,start:S.day,base:{sub:S.links.filter(seaLink).length}})}
${btn(tr('bank.take_the_money'),'takeLoan',{id:o.id},'pink')}${btn(tr('common.no_thanks'),'declineLoan',{id:o.id},'ghost sm')}
`;} h+=`

${tr('common.your_loans')}

`; if(!S.loans.length)h+=`

${tr('bank.debt_free_your_accountant_is')}

`; for(const l of S.loans){const B=BANKS[l.bank];const cost=repayCost(l,B); diff --git a/src/game/95-modals/70-link-modal.js b/src/game/95-modals/70-link-modal.js index daf9830..ba12d8f 100644 --- a/src/game/95-modals/70-link-modal.js +++ b/src/game/95-modals/70-link-modal.js @@ -1,7 +1,7 @@ function openLinkModal(a,b){ {const nt=noTalk(a,b);if(nt){openModal(`

${tr('common.not_happening')}

${tr(nt)}

`);return;}} if((cnCity(a)||cnCity(b))&&!cnOk()){openModal(`

${tr('link_modal.not_without_a_license')}

${tr('link_modal.building_into_mainland_china_needs_a',{city:CITY[cnCity(a)?a:b].name})}

`);return;} - let route='';UI.pending={a,b};const km=kmBetween(a,b),sub=isSub(a,b),pop=S.pops[b]?0:newPopCost(b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'); + let route='';UI.pending={a,b};const km=kmBetween(a,b),sub=isSub(a,b),pop=S.pops[b]?0:newPopCost(b),sib=pairLinks(a,b).filter(l=>l.kind!=='vxc'&&l.kind!=='xp'&&l.kind!=='sat'); if(!sib.length)UI.route='diverse';const border=cnCity(a)!==cnCity(b),jn=sib.length?routeJoin(a,b):null,ts=landTrenches(a,b),mult=(sib.length&&!(jn&&jn.k===(ts[0]||{}).k)?DIVERSE:1)*(border?3*(UI.cnPrem&&(a==='hkg'||b==='hkg')?1.6:1):1); if(border)route+=`

${tr('link_modal.cross_border_circuits_into_mainland')}

${a==='hkg'||b==='hkg'?`
${btn(tr('common.regular_crossing'),'cnPrem',{v:0},!UI.cnPrem?'pink':'ghost')}${btn(tr('link_modal.premium_crossing_60_3_loss'),'cnPrem',{v:1},UI.cnPrem?'pink':'ghost')}
`:`

${tr('link_modal.premium_crossings_are_only_sold_in')}

`}`; if(sib.length&&!(isSub(a,b)&&cablesFor(a,b).length)&&!(UI.via&&UI.via!=='land'&&cablesFor(a,b).some(c=>c.cid===UI.via))){route+=`

${trn('link_modal.you_already_have_n_link_here',sib.length,{list:sib.map(l=>capName(l)).join(', ')})}

diff --git a/src/game/96-map/55-link-look.js b/src/game/96-map/55-link-look.js index b0d354d..2ec50c9 100644 --- a/src/game/96-map/55-link-look.js +++ b/src/game/96-map/55-link-look.js @@ -5,9 +5,9 @@ const LDASH=[[],[8,8],[2,7],[10,8],[4,6],[1,6],[6,5],[2,12],[14,5]]; // A tube is a group of links drawn as one line: its capacity, load and state, its base width, colour and dash. function linkLook(grp,day){const l=grp[0],many=grp.length>1,up=many?grp.filter(x=>!linkDown(x)):null; - const cap=many?up.reduce((a,x)=>a+capOf(x),0):capOf(l),load=many?grp.reduce((a,x)=>a+(R.load[x.id]||0),0):(R.load[l.id]||0),u=cap?load/cap:0,df=l.kind==='df',xp=l.kind==='xp',bld=df&&l.ready>day,cut=!bld&&!xp&&(many?!up.length:linkDown(l))&&!(df&&!(l.ch||[]).length),dark=df&&!bld&&!(l.ch||[]).length||xp&&linkDown(l),vx=l.kind==='vxc',idle=!cut&&!bld&&load<1e-3&&(many?up.length>0&&up.every(x=>x.standby):!!l.standby); + const cap=many?up.reduce((a,x)=>a+capOf(x),0):capOf(l),load=many?grp.reduce((a,x)=>a+(R.load[x.id]||0),0):(R.load[l.id]||0),u=cap?load/cap:0,df=l.kind==='df',xp=l.kind==='xp',st=l.kind==='sat',bld=(df||st)&&l.ready>day,cut=!bld&&!xp&&(many?!up.length:linkDown(l))&&!(df&&!(l.ch||[]).length),dark=df&&!bld&&!(l.ch||[]).length||xp&&linkDown(l),vx=l.kind==='vxc'||st,idle=!cut&&!bld&&load<1e-3&&(many?up.length>0&&up.every(x=>x.standby):!!l.standby); return {l,many,up,cap,load,u,df,bld,cut,dark,vx,idle,w0:vx||xp?2.2:(2.5+Math.max(...grp.map(tierW))*1.8+(many?Math.min(1.5,(grp.length-1)*0.5):0)), - col:bld?'#C9B27C':dark?'#5D6788':cut?'#FF4D5E':idle?'#9AA3BE':vx?FAB[l.prov].col:l.sub?(u>0.001?utilCol(u):'#7FD8EE'):utilCol(u),dash:cut?1:vx?2:xp?8:bld?3:idle?4:0, + col:bld?'#C9B27C':dark?'#5D6788':cut?'#FF4D5E':idle?'#9AA3BE':vx?(st?SAT_PROV[SATS[l.bird].p].col:FAB[l.prov].col):l.sub?(u>0.001?utilCol(u):'#7FD8EE'):utilCol(u),dash:cut?1:vx?2:xp?8:bld?3:idle?4:0, pk:!cut&&load>0.01?clamp(Math.round(2+u*10),2,12):0};} // packets on the line: more as it fills // The map's tubes as the picture needs them: the groups, their geometry and how each one looks. It changes with the // links and with the day's routing (R), not with the camera, so it is kept until one of those changes. diff --git a/src/i18n/en.js b/src/i18n/en.js index 46cf379..4e8068b 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -3926,6 +3926,7 @@ "pie_traffic.via_dishes":"up at {up}, down at {down}", "pitcairn.uk_grant_mo":"UK grant {mo}/mo", "pitcairn.uk_grant_mo_once_islanders":"UK grant {mo}/mo once the islanders are online", +"pitcairn.uk_grant_needs_a_cable":"UK grant {mo}/mo needs a cable: rented satellite capacity does not count", "pitcairn.uk_sky_grant_mo":"UK satellite grant {mo}/mo (fiber gets {full})", "pni_all.additional_per_month":"Additional monthly cost", "pni_all.all_at_port":"Peer all networks · {port}", @@ -4533,6 +4534,75 @@ "sales.w_last":"Last week {name} {list}.", "sales.w_now":"This week {name} {list}.", "sales.w_signed":{"one":"signed a customer ({rev}/mo)","other":"signed {n} customers ({rev}/mo)"}, +"satellites.a_teleport_is_a_satellite_gateway":"A teleport is a satellite gateway: big dishes at this POP that rent capacity on other people’s satellites, to small islands and remote towns no cable reaches, or that hang on one cable and a prayer.", +"satellites.add_tracking_antennas_cost_mo":"MEO tracking antennas {cost} + {mo}/mo", +"satellites.being_commissioned":"Being commissioned", +"satellites.build_a_teleport_cost_mo":"Build a teleport {cost} + {mo}/mo", +"satellites.by_satellite":"By satellite", +"satellites.cancel_n_circuits_first":{"one":"Cancel its satellite circuit first.","other":"Cancel its {n} satellite circuits first."}, +"satellites.choose":"Choose", +"satellites.circuit_ordered":{"one":"{cap} on {bird} ordered. {a} ⇄ {b} is being pointed and tested: up in {n} day.","other":"{cap} on {bird} ordered. {a} ⇄ {b} is being pointed and tested: up in {n} days."}, +"satellites.close_the_teleport":"Close the teleport", +"satellites.costs_row":"Teleports and satellites", +"satellites.geo_dishes":"GEO dishes", +"satellites.geo_dishes_and_meo_tracking":"GEO dishes and MEO tracking antennas", +"satellites.geo_users_notice":"From 36,000 km up the round trip is about 600 ms: video calls and games stutter, and users count {p} of the service as bad.", +"satellites.grow_to":"Grow to {cap}", +"satellites.in_view_list":"In view: {list}.", +"satellites.it_waits_on_standby":"You already have a link between these two: the satellite waits on standby and carries traffic only when that link is down.", +"satellites.its_blurb":"Old-school C-band and Ku-band beams that cover a whole ocean. Reliable, everywhere, and priced like it.", +"satellites.kac_blurb":"Ka-band spot beams over the western Pacific: the cheapest Gbps in orbit, if your island is under a beam.", +"satellites.meo_comes_at_level":"The MEO ring (about 130 ms round trip) comes at level {lv}.", +"satellites.meo_ring_misses_city":"The MEO ring does not see {city}: it covers {lat}° either side of the equator.", +"satellites.meo_users_notice":"Much closer to the ground, about 130 ms round trip: users barely notice ({p} of the service counts as bad).", +"satellites.more_islands_and_towns":"More islands and towns in view", +"satellites.ms_one_way_rtt":"{ms} ms one way, {rtt} ms round trip", +"satellites.ms_round_trip":"{ms} ms round trip", +"satellites.n_birds_see_both":{"one":"{n} satellite sees both","other":"{n} satellites see both"}, +"satellites.n_circuits_go_on_standby":{"one":"Your satellite circuit between {a} and {b} goes on standby beside the new link: it carries traffic only when that link is down.","other":"Your {n} satellite circuits between {a} and {b} go on standby beside the new link: they carry traffic only when that link is down."}, +"satellites.n_places_in_reach":{"one":"{n} island or remote town in reach at your level.","other":"{n} islands and remote towns in reach at your level."}, +"satellites.needs_tracking_antennas":"The MEO ring needs tracking antennas at your teleport in {city}.", +"satellites.new_pop_cost":"new POP {cost}", +"satellites.no_bird_sees_both":"No satellite on sale sees both {a} and {b}.", +"satellites.no_bird_sees_this_city":"No satellite on sale sees this city.", +"satellites.no_cable_needed_a_pop_here":"No cable needed: a satellite circuit from one of your teleports brings a POP in {city} online.", +"satellites.no_pop_in_city":"You have no POP in {city}.", +"satellites.no_pop_there_yet":"No POP in {city} yet: this builds one too ({cost}).", +"satellites.no_such_circuit":"No such satellite circuit.", +"satellites.no_teleport_in_city":"You have no teleport in {city}.", +"satellites.no_teleport_reaches_city":"None of your teleports can reach {city}. Build one at a POP whose satellites see it.", +"satellites.not_remote":"{city} is too big a market for satellite capacity: it serves small islands and remote towns.", +"satellites.nothing_in_view_from_here":"No island or remote town is in view from here.", +"satellites.on_standby_beside_your_link":"It waits on standby beside your link between the two and carries traffic only when that link is down.", +"satellites.orbit_unlocks_at_level":"{orb} satellites unlock at level {lv}.", +"satellites.out_of_footprint":"{bird} does not see both {a} and {b}.", +"satellites.pointing_dishes_and_testing":"Pointing dishes and testing", +"satellites.radio_path":"Radio path, up and down", +"satellites.reachable_from_your_teleports":"Your teleports can reach {city} by satellite:", +"satellites.really_close_it":"Really close it?", +"satellites.rent":"Rent", +"satellites.rent_satellite_capacity":"Rent satellite capacity", +"satellites.satellite_capacity":"Satellite capacity", +"satellites.satellites":"Satellites", +"satellites.sea_americas":"Americas", +"satellites.sea_atlantic":"Atlantic", +"satellites.sea_indian":"Indian Ocean", +"satellites.sea_pacific":"Pacific", +"satellites.sea_tropics":"within 50° of the equator", +"satellites.sea_west_pacific":"Western Pacific", +"satellites.sesa_blurb":"A ring of satellites 8,000 km up over the equator, for the other three billion. Open sesame: about 130 ms round trip.", +"satellites.shrink_to":"Shrink to {cap}", +"satellites.teleport":"Teleport", +"satellites.teleport_closed":"The teleport in {city} is closed.", +"satellites.teleport_up_in_city":"Teleport up in {city}. Big dishes on the roof, pointed at the sky: rent capacity from it to the islands in view.", +"satellites.teleports_unlock_at_level":"Teleports unlock at level {lv}.", +"satellites.tracking_antennas_up":"Tracking antennas up in {city}. They follow the MEO ring across the sky.", +"satellites.up_in_n_days":{"one":"up in {n} day","other":"up in {n} days"}, +"satellites.users_notice_geo_meo":"Users notice the lag: broadband over GEO counts as half the service, over MEO almost all of it. A cable always beats it, so your routers only send traffic up when there is no other way.", +"satellites.users_ride_a_satellite":"users ride a satellite", +"satellites.via_bird":"via {bird}", +"satellites.who_a_satellite_serves":"Satellites serve small islands and remote towns that the same satellite sees as your teleport. Pick where to.", +"satellites.your_pops_in_view":"Your POPs in view", "save.cash_in_the_bank":"{cash} in the bank", "save.import_failed_err":"Import failed.
{err}", "save.load_name":"Load {name}?", diff --git a/tests/gameplay-rules.test.js b/tests/gameplay-rules.test.js index 7d1f3e3..c0bb94c 100644 --- a/tests/gameplay-rules.test.js +++ b/tests/gameplay-rules.test.js @@ -32,7 +32,7 @@ const EXCEPTIONS = { W3: { ivc: 'Invercargill waits for its AI campus; nobody sells transit there yet', jub: 'Nobody sells transit in Juba: MTN and Zain haul it in from abroad', - pcn: 'Pitcairn: no cable, no network, land your own (#124), or reach it with a pie dish (backhaul through orbit)', + pcn: 'Pitcairn: no cable, no network, land your own (#124), reach it with a pie dish (backhaul through orbit), or rent a satellite circuit from a teleport (#83)', prr: 'Prince Rupert is a remote town with no carrier in it', smr: 'San Marino buys its transit from Italian carriers in Bologna and Rimini; nobody sells it in the town', sre: "Sucre has no exchange or carrier facility: Bolivia's transit is bought in La Paz", @@ -118,6 +118,8 @@ const REAL_NAMES = [ 'ACMA', 'ASEAN Explorer', 'ASEAN Protector', 'ASEAN Restorer', 'Cable Innovator', 'Cable Retriever', 'Global Marine', 'Léon Thévenin', 'MECMA', 'Orange Marine', 'Pierre de Fermat', 'René Descartes', 'SEAIOCMA', 'Sophie Germain', 'Sovereign', 'Wave Sentinel', 'Yokohama Zone', // rockets and satellite networks (Pie in the Sky) 'Blue Origin', 'Falcon 9', 'Falcon Heavy', 'Iridium', 'Kuiper', 'OneWeb', 'Project Kuiper', 'SpaceX', 'Starship', 'Starlink', + // satellite operators and their birds (teleports, #83) + 'Galaxy 19', 'Intelsat', 'Intelsat 18', 'Intelsat 20', 'Intelsat 37e', 'Intelsat Galaxy 19', 'Kacific', 'Kacific-1', 'O3b', 'O3b mPOWER', 'SES', // vendors 'Arista', 'Brocade', 'Ciena', 'Cisco', 'Extreme Networks', 'Huawei', 'Infinera', 'Juniper', 'MikroTik', 'Nokia', ]; @@ -182,7 +184,7 @@ test('N2: names are puns: no network, cable, exchange, data center, router, opti const norm = (s) => String(s).toLowerCase().normalize('NFD').replace(/[\u0300-\u036f]/g, '').replace(/[’`]/g, "'").replace(/\s+/g, ' ').trim(); const real = new Set(REAL_NAMES.map(norm)); const names = J(`[...NETS.map(n=>['network',n.name]),...CABLES.map(c=>['cable',c.name]),...XIX.map(x=>['exchange',x.name]), - ...CITIES.flatMap(c=>[['exchange',c.ix],['data center',c.dc],['data center',c.dc2]]),...RG.map(r=>['router',r.n]),...Object.values(OPT).map(o=>['optic',o.n]),...Object.values(SEAT_ROUTES).flat().map(r=>['cable',r[2]]),...SHIPS.map(x=>['cable ship',x.n]),...LAY_SHIPS.map(n=>['cable ship',n]),...Object.values(SHIP_CLUBS).map(c=>['maintenance club',c.n]),...PIE_NAMES.map(n=>['rocket company',tr(n)]),...Object.values(ROCKETS).map(r=>['rocket',tr(r.n)]),...Object.values(CRUSTS).map(c=>['constellation',tr(c.n)])].filter(x=>x[1])`); + ...CITIES.flatMap(c=>[['exchange',c.ix],['data center',c.dc],['data center',c.dc2]]),...RG.map(r=>['router',r.n]),...Object.values(OPT).map(o=>['optic',o.n]),...Object.values(SEAT_ROUTES).flat().map(r=>['cable',r[2]]),...SHIPS.map(x=>['cable ship',x.n]),...LAY_SHIPS.map(n=>['cable ship',n]),...Object.values(SHIP_CLUBS).map(c=>['maintenance club',c.n]),...PIE_NAMES.map(n=>['rocket company',tr(n)]),...Object.values(ROCKETS).map(r=>['rocket',tr(r.n)]),...Object.values(CRUSTS).map(c=>['constellation',tr(c.n)]),...Object.values(SAT_PROV).map(p=>['satellite operator',p.n]),...Object.values(SATS).map(b=>['satellite',b.n])].filter(x=>x[1])`); fail('N2', names.filter(([, n]) => real.has(norm(n))).map(([k, n]) => `${k} “${n}” is a real name`), 'find a pun'); fail('N2', names.filter(([, n]) => /-ish\b/i.test(n)).map(([k, n]) => `${k} “${n}”`), 'no lazy -ish names: find a real pun, or keep the plain word'); }); diff --git a/tests/mcp-commands.test.js b/tests/mcp-commands.test.js index 50bf647..ea139e8 100644 --- a/tests/mcp-commands.test.js +++ b/tests/mcp-commands.test.js @@ -228,6 +228,7 @@ test('a dry run prices every command that has a price, and changes nothing', () opsHire: { id: ev('Object.keys(INTERNS)[0]') }, opsNewPop: { city: 'nyc' }, pniAll: { net: 'cog', tier: 1 }, seatBuy: { n: 2 }, layShip: { id: df }, seaRush: { id: df }, utilityKit: { city: 'fra' }, utilityCaches: { city: 'fra' }, teDeploy: { script: 'spill at 85%' }, upLinkX: {}, pieRd: { k: 'reuse' }, pieAnt: { id: 'none' }, ip4Buy: { len: 24 }, ip4Lease: { len: 22 }, + teleBuild: { city: 'fra' }, teleTrk: { city: 'fra' }, buySat: { a: 'fra', b: 'rek', bird: 'is37', g: 1 }, satSize: { id: wave, g: 2 }, }; const missing = quoted.filter((n) => !sample[n] && T('schema', { section: 'commands' })[n].args.some((a) => a.required)); assert.deepEqual(missing, [], 'every priced command with arguments has a sample here'); diff --git a/tests/satellites.test.js b/tests/satellites.test.js new file mode 100644 index 0000000..01e26cb --- /dev/null +++ b/tests/satellites.test.js @@ -0,0 +1,445 @@ +// Teleports and rented satellite capacity (#83): a teleport at a POP rents GEO or MEO circuits to small islands and +// remote towns its birds see. A circuit is a link (kind 'sat'): its radio path is its km, so routers take a cable +// whenever there is one; its orbit's latency is what users notice; next to the island's only cable it waits on standby. +const test = require('node:test'); +const assert = require('node:assert/strict'); +const fs = require('node:fs'); +const path = require('node:path'); +const { load } = require('./harness'); +const { createSession, TOOLS } = require('../scripts/lib/mcp-game'); + +const SAVE = fs.readFileSync(path.join(__dirname, 'fixtures', 'big-network.json'), 'utf8'); +// Level 3, Change Freeze (nothing breaks, lead times quick), plenty of cash. +const BASE = "ACT.start({});if(UI.pendGame)ACT.pitchSkip();S.cash=1e8;for(const g of GOALS)S.done[g.id]=0;S.lvl=3;S.nextFail=S.nextEvent=1e9;UI.speed=0;S.rules=makeRules('freeze');"; +// Sydney (transit, broadband) and Nuku'alofa (broadband, no transit of its own). +const ISLE = "ACT.buildPop({city:'syd'});ACT.launchBB({city:'syd'});ACT.buyTransit({city:'syd',net:'cog',tier:1});ACT.buildPop({city:'tbu'});ACT.launchBB({city:'tbu'});"; +function game(t, setup = '') { + const h = load(); + t.after(() => h.dom.window.close()); + h.ev(BASE + setup); + return h; +} +const J = (ev, s) => JSON.parse(ev(`JSON.stringify(${s})`)); +const sat = "S.links.find(l=>l.kind==='sat')"; +// Past the day a circuit is commissioned. +const ready = `S.day=${sat}.ready;compute()`; + +test('the footprint: which birds see where, who a satellite serves, and how long the trip is', (t) => { + const { ev, errors } = game(t); + const sees = J(ev, "[['is18','syd'],['is18','tbu'],['is18','mia'],['is37','mia'],['is37','sju'],['kac1','tbu'],['kac1','hnl'],['is20','mru'],['o3b','tbu'],['o3b','yfb']].map(([b,c])=>CITY[c]?satSees(b,c):null)"); + assert.deepEqual(sees, [true, true, false, true, true, true, false, true, true, false], 'the Pacific bird does not see Miami, Kacophony’s spot beams miss Hawaii, the MEO ring misses Iqaluit'); + // Both ends of a MEO circuit must see one satellite at a time. + assert.ok(ev("kmBetween('sju','hnl')") > ev('SAT_ORB.meo.km') && !ev("satPairOk('o3b','sju','hnl')"), 'San Juan to Honolulu is too far apart for one MEO satellite'); + assert.equal(ev("satPairOk('is18','syd','tbu')"), true); + assert.deepEqual(J(ev, "['tbu','pcn','asp','sju','lon','syd','mel'].map(satRemote)"), [true, true, true, true, false, false, false], 'small islands and remote towns, never a big city'); + const geo = ev("satRtt('is18','syd','tbu')"), meo = ev("satRtt('o3b','syd','tbu')"); + assert.ok(geo > 520 && geo < 650, 'GEO: about 600 ms round trip, got ' + geo); + assert.ok(meo > 110 && meo < 160, 'MEO: about 130 ms round trip, got ' + meo); + assert.ok(ev("satKm('is18','syd','tbu')") > 2 * 35786, 'the radio path goes up to the GEO belt and back down'); + // A MEO satellite halfway between Winnipeg and Vaduz is below both horizons: within 7,500 km and 50 degrees is not enough. + assert.ok(ev("kmBetween('ywg','vdz')") <= ev('SAT_ORB.meo.km') && ev("satSees('o3b','ywg')&&satSees('o3b','vdz')")); + assert.equal(ev("satPairOk('o3b','ywg','vdz')"), false, 'Winnipeg to Vaduz: no MEO satellite sees both'); + assert.ok(ev("satElev(satArc(0,satLon('o3b','ywg','vdz'),CITY.ywg.lat,CITY.ywg.lon),SAT_ORB.meo.h)") < ev('SAT_ORB.meo.el')); + assert.ok(ev("satPairOk('o3b','syd','tbu')") && ev("satElev(0,SAT_ORB.meo.h)") === 90, 'straight overhead is 90 degrees'); + // Every MEO pair on sale clears the horizon at both ends, so its radio path never runs through the Earth. + const low = J(ev, "(()=>{const O=SAT_ORB.meo,out=[];for(const A of CITIES)for(const B of CITIES){if(A.id>=B.id||!satRemote(B.id)||!satPairOk('o3b',A.id,B.id))continue;const lon=satLon('o3b',A.id,B.id);for(const C of [A,B])if(satElev(satArc(0,lon,C.lat,C.lon),O.h)Object.keys(SATS).some(id=>SATS[id].orb==='geo'&&satSees(id,c)))"), [true, true, true, true, true, true]); + assert.deepEqual(errors, []); +}); + +test('a teleport and a GEO circuit: level, price, lead time, capacity, latency, the bill, resizing and cancelling', (t) => { + const { ev, errors } = game(t, ISLE); + ev("S.lvl=1;ACT.teleBuild({city:'syd'})"); + assert.equal(ev("teleOf('syd')"), 0, 'teleports unlock at level 2'); + ev('S.lvl=3'); + let c0 = ev('S.cash'); + ev("ACT.teleBuild({city:'syd'})"); + assert.equal(ev("S.pops.syd.tele"), 1); + assert.equal(c0 - ev('S.cash'), ev('TPORT_COST')); + c0 = ev('S.cash'); + ev("ACT.buySat({a:'syd',b:'tbu',bird:'kac1',g:2})"); + const l = J(ev, sat); + assert.equal(l.bird, 'kac1'); + assert.equal(l.g, 2); + assert.equal(l.sub, true, 'never a land route'); + assert.equal(!!l.standby, false, 'alone between the two cities, it carries'); + assert.equal(c0 - ev('S.cash'), ev("satMo('kac1',2)"), 'no build: the first month up front'); + assert.equal(l.ready, ev('S.day+leadDays(SAT_ORB.geo.days)')); + ev('compute()'); + assert.equal(ev(`linkDown(${sat})`), true, 'down while it is pointed and tested'); + assert.equal(ev(`R.load[${sat}.id]||0`), 0); + ev(ready); + assert.equal(ev(`capOf(${sat})`), 2); + const ld = ev(`R.load[${sat}.id]`); + assert.ok(ld > 1 && ld <= 2 + 1e-9, 'the island’s traffic fills the circuit: ' + ld); + const ms = ev(`linkLat(${sat})`); + assert.ok(ms > 255 && ms < 310, 'one way over GEO: ' + ms); + assert.equal(ev('R.latF.tbu'), 0.5, 'broadband over GEO counts as half the service'); + assert.ok(ev("sfOf(R,'tbu')") <= 0.5); + ev("UI.sel={type:'city',id:'tbu'};UI.tab='cust';renderAll()"); + assert.match(ev("document.querySelector('#panel').textContent"), /users ride a satellite/, 'the island’s panel says why'); + assert.equal(ev('R.cost.sat'), ev(`TPORT_MO+${sat}.mo`), 'the teleport and the rent have a row of their own'); + assert.equal(ev("S.links.filter(l=>l.kind!=='sat').reduce((a,l)=>a+l.mo,0)"), ev('R.cost.links'), 'and are not in waves and fiber'); + // Bigger pays its month up front; smaller just costs less from now on. + c0 = ev('S.cash'); + ev(`ACT.satSize({id:${sat}.id,g:5})`); + assert.equal(c0 - ev('S.cash'), ev("satMo('kac1',5)")); + assert.equal(ev(`${sat}.mo`), ev("satMo('kac1',5)")); + c0 = ev('S.cash'); + ev(`ACT.satSize({id:${sat}.id,g:1})`); + assert.equal(ev('S.cash'), c0); + assert.equal(ev(`${sat}.g`), 1); + ev(`ACT.satSize({id:${sat}.id,g:3})`); + assert.equal(ev(`${sat}.g`), 1, 'only the sizes on sale'); + // Satellite capacity costs several times a subsea wave per Gbps, so a cable wins once there is one; the cheapest + // backup still fits inside what a small island's homes pay. + const wave = ev("waveMo(kmBetween('suv','tbu'),true,1)/LT[1].g"); + for (const id of ['is18', 'kac1']) assert.ok(ev(`satMo('${id}',10)/10`) > 3 * wave, id + ' per Gbps against a wave'); + assert.ok(ev("satMo('o3b',20)/20") > 3 * wave, 'MEO per Gbps against a wave'); + assert.ok(ev("satMo('kac1',1)") <= ev("CITY.suv.P*EYE_RATE"), 'a 1G backup costs less than Suva’s homes pay'); + // Cancelling asks twice. + ev(`ACT.rmLink({id:${sat}.id})`); + assert.ok(ev(`!!${sat}`), 'armed, not gone'); + ev(`ACT.rmLink({id:${sat}.id})`); + assert.equal(ev(`!!${sat}`), false); + assert.deepEqual(errors, []); +}); + +test('MEO needs tracking antennas and a higher level, and users barely notice it', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});"); + ev("ACT.buySat({a:'syd',b:'tbu',bird:'o3b',g:5})"); + assert.equal(ev(`!!${sat}`), false, 'no tracking antennas yet'); + assert.match(ev("satWhy('syd','tbu','o3b',5)"), /tracking antennas/); + ev("S.lvl=2;ACT.teleTrk({city:'syd'})"); + assert.equal(ev("teleOf('syd')"), 1, 'MEO comes at level 3'); + ev('S.lvl=3'); + const c0 = ev('S.cash'); + ev("ACT.teleTrk({city:'syd'})"); + assert.equal(ev("teleOf('syd')"), 2); + assert.equal(c0 - ev('S.cash'), ev('TRK_COST')); + ev("ACT.buySat({a:'syd',b:'tbu',bird:'o3b',g:5})"); + assert.equal(ev(`${sat}.bird`), 'o3b'); + assert.equal(ev(`${sat}.ready`), ev('S.day+leadDays(SAT_ORB.meo.days)')); + ev(ready); + const ms = ev(`linkLat(${sat})`); + assert.ok(ms > 55 && ms < 80, 'one way over MEO: ' + ms); + assert.ok(Math.abs(ev('R.latF.tbu') - 0.92) < 1e-9, 'MEO costs users 8% of the service, GEO half'); + assert.ok(ev("sfOf(R,'tbu')") >= 0.9, 'enough for broadband to keep growing'); + assert.equal(ev('R.cost.sat'), ev(`TPORT_MO+TRK_MO+${sat}.mo`)); + assert.deepEqual(errors, []); +}); + +test('orders outside a footprint, to a big city or without a teleport are refused, in words', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});ACT.buildPop({city:'mel'});ACT.buildPop({city:'sju'});"); + const tries = [ + ["{a:'syd',b:'tbu',bird:'is37',g:1}", /does not see both/], + ["{a:'syd',b:'sju',bird:'is18',g:1}", /does not see both/], + ["{a:'syd',b:'mel',bird:'is18',g:1}", /too big a market/], + ["{a:'tbu',b:'syd',bird:'is18',g:1}", /no teleport in Nuku/], + ["{a:'syd',b:'tbu',bird:'is18',g:3}", /No such satellite circuit/], + ["{a:'syd',b:'tbu',bird:'nope',g:1}", /No such satellite circuit/], + ]; + const c0 = ev('S.cash'); + for (const [a, why] of tries) { + const o = JSON.parse(ev(`JSON.stringify(${a})`)); + assert.match(ev(`satWhy(${JSON.stringify(o.a)},${JSON.stringify(o.b)},${JSON.stringify(o.bird)},${o.g})`), why, a); + ev(`ACT.buySat(${a})`); + } + assert.equal(ev("S.links.filter(l=>l.kind==='sat').length"), 0); + assert.equal(ev('S.cash'), c0, 'nothing charged'); + assert.deepEqual(errors, []); +}); + +test('beside the island’s only cable, a satellite waits on standby and takes over when the cable is cut', (t) => { + const { ev, errors } = game(t, "ACT.buildPop({city:'suv'});ACT.launchBB({city:'suv'});ACT.buyTransit({city:'suv',net:" + + "NETS.find(n=>sellsAt(n,'suv')).id,tier:1});ACT.buildPop({city:'tbu'});ACT.launchBB({city:'tbu'});UI.pending={a:'suv',b:'tbu'};ACT.buildLink({tier:1});ACT.teleBuild({city:'suv'});"); + const wave = "S.links.find(l=>l.kind==='wave')"; + assert.equal(ev(`${wave}.cable`), 'tonga', 'the wave rides the only cable'); + ev("ACT.buySat({a:'suv',b:'tbu',bird:'kac1',g:5})"); + assert.equal(ev(`${sat}.standby`), true, 'next to the cable it goes on standby by itself'); + ev(ready); + assert.equal(ev(`R.load[${sat}.id]`), 0, 'idle while the cable is up'); + assert.ok(ev(`R.load[${wave}.id]`) > 1); + assert.equal(ev('R.latF.tbu'), undefined, 'nobody notices a satellite that carries nothing'); + // The anchor drags across the cable: the satellite carries the island. + ev(`${wave}.cut=S.day+30;compute()`); + assert.ok(ev(`R.load[${sat}.id]`) > 1, 'the satellite takes over'); + assert.ok(ev('R.citySrv.tbu') > 1); + assert.equal(ev('R.latF.tbu'), 0.5, 'at GEO’s latency'); + // Without it, the island is dark. + ev(`S.links=S.links.filter(l=>l.kind!=='sat');compute()`); + assert.ok((ev('R.citySrv.tbu') || 0) < 1e-6, 'no satellite, no internet in Tonga'); + assert.deepEqual(errors, []); +}); + +test('a cable laid beside a circuit puts it on standby; overflow and a shared load cost users their share', (t) => { + // The issue's own order: the satellite first, a cable later. + const { ev, errors } = game(t, "ACT.buildPop({city:'suv'});ACT.launchBB({city:'suv'});ACT.buyTransit({city:'suv',net:" + + "NETS.find(n=>sellsAt(n,'suv')).id,tier:1});ACT.buildPop({city:'tbu'});ACT.launchBB({city:'tbu'});ACT.teleBuild({city:'suv'});"); + const wave = "S.links.find(l=>l.kind==='wave')"; + ev("ACT.buySat({a:'suv',b:'tbu',bird:'kac1',g:10});" + ready); + assert.equal(!!ev(`${sat}.standby`), false, 'alone, it carries the island'); + assert.equal(ev('R.latF.tbu'), 0.5); + ev("UI.pending={a:'suv',b:'tbu'};ACT.buildLink({tier:0})"); + assert.equal(ev(`${sat}.standby`), true, 'the cable puts it on standby'); + assert.match(ev("document.querySelector('#toasts').textContent"), /goes on standby beside the new link/); + ev('compute()'); + assert.equal(ev(`R.load[${sat}.id]`), 0, 'idle while the cable has room'); + assert.ok(ev(`R.load[${wave}.id]`) > 1); + assert.equal(ev('R.latF.tbu'), undefined, 'nobody notices'); + assert.equal(ev("R.satU.tbu||0"), 0); + assert.doesNotMatch(ev("traceroute('tbu',{city:'suv'}).text"), /Kacophony/, 'the trace takes the cable'); + // The cable loses three quarters of its light: the satellite takes the overflow, and users notice that share. + ev(`${wave}.loss={until:S.day+60,f:0.25};compute()`); + const cab = ev(`capOf(${wave})`), dem = ev('R.cityDem.tbu'); + assert.ok(dem > cab, 'more than the cable carries'); + const sl = ev(`R.load[${sat}.id]`), wl = ev(`R.load[${wave}.id]`), share = sl / (sl + wl); + assert.ok(Math.abs(wl - cab) < 1e-6 && sl > 0.5, 'the cable fills, the satellite takes the rest'); + assert.ok(Math.abs(ev('R.latF.tbu') - (1 - 0.5 * share)) < 1e-6, 'GEO costs half the service of the share it carries: ' + ev('R.latF.tbu')); + assert.ok(Math.abs(ev('R.satU.tbu') / ev('R.citySrv.tbu') - share) < 1e-6); + ev("UI.sel={type:'city',id:'tbu'};UI.tab='cust';renderAll()"); + assert.match(ev("document.querySelector('#panel').textContent"), /users ride a satellite/); + ev("UI.sel={type:'city',id:'suv'};renderAll()"); + assert.doesNotMatch(ev("document.querySelector('#panel .facts').textContent"), /users ride a satellite/, 'not on the teleport’s own city'); + // Taken off standby by hand, it shares the load by capacity, and users notice that share too. + ev(`ACT.setStandby({id:${sat}.id,on:false})`); + const s2 = ev(`R.load[${sat}.id]`) / (ev(`R.load[${sat}.id]`) + ev(`R.load[${wave}.id]`)); + assert.ok(Math.abs(s2 - 10 / (10 + cab)) < 1e-6, 'split by capacity'); + assert.ok(Math.abs(ev('R.latF.tbu') - (1 - 0.5 * s2)) < 1e-6); + assert.deepEqual(errors, []); +}); + +test('the teleport city’s own users get the satellite tag only when they ride it', (t) => { + // Honolulu: transit only in Los Angeles (a haul users notice), and a teleport carrying Papeete. + const { ev, errors } = game(t, "ACT.buildPop({city:'lax'});ACT.buyTransit({city:'lax',net:NETS.find(n=>sellsAt(n,'lax')).id,tier:1});ACT.buildPop({city:'hnl'});ACT.launchBB({city:'hnl'});" + + "UI.pending={a:'hnl',b:'lax'};ACT.buildLink({tier:1});ACT.teleBuild({city:'hnl'});ACT.buildPop({city:'ppt'});ACT.launchBB({city:'ppt'});ACT.buySat({a:'hnl',b:'ppt',bird:'is18',g:1});"); + ev('S.day=Math.max(...S.links.map(l=>l.ready||0))+1;compute()'); + assert.ok(ev(`R.load[${sat}.id]`) > 0.5, 'Papeete rides the satellite'); + assert.ok(ev('R.latF.hnl') < 1, 'Honolulu’s users notice the haul to Los Angeles'); + assert.equal(ev("R.satU.hnl||0"), 0, 'but none of their traffic goes up'); + assert.equal(ev("satFact('hnl')"), ''); + assert.match(ev("satFact('ppt')"), /users ride a satellite/); + assert.deepEqual(errors, []); +}); + +test('subsea counts leave satellites out: a no-subsea covenant and the cables overseas of Fibre to the Basement', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});"); + ev("S.loanOffers.push({id:'wf1',bank:'wf',amount:200000,exp:S.day+25,covs:['nosub','logo','reach99'],apr:0.15,term:12,pay:Math.round(annuity(200000,0.15,12))});ACT.takeLoan({id:'wf1'})"); + const L = "S.loans.find(l=>l.id==='wf1')"; + assert.equal(ev(`COVS.nosub.ok(${L})`), true); + ev("ACT.buySat({a:'syd',b:'tbu',bird:'kac1',g:1})"); + assert.equal(ev(`COVS.nosub.ok(${L})`), true, 'a satellite circuit is no subsea link'); + const bal = ev(`${L}.bal`); + ev('for(let i=0;i<40;i++){S.day++;loanTick(S.day);}'); + assert.ok(!(ev(`${L}.breach`) > 0), 'no breach'); + assert.ok(ev(`${L}.bal`) <= bal, 'no penalty'); + // A real subsea wave still breaks it. + ev("ACT.buildPop({city:'akl'});UI.pending={a:'syd',b:'akl'};ACT.buildLink({tier:1})"); + assert.equal(ev(`COVS.nosub.ok(${L})`), false); + assert.deepEqual(errors, []); +}); + +test('two satellite circuits are not two cables overseas in Fibre to the Basement', (t) => { + const { ev, errors } = game(t); + ev("ACT.startScn({id:'fttb'});S.cash=1e8;S.lvl=2;S.nextFail=S.nextEvent=1e9;ACT.teleBuild({city:'syd'});ACT.buySat({a:'syd',b:'tbu',bird:'kac1',g:1});ACT.buySat({a:'syd',b:'nou',bird:'kac1',g:1});"); + assert.equal(ev("S.links.filter(l=>l.kind==='sat').length"), 2); + ev('S.day=Math.max(...S.links.map(l=>l.ready||0))+1;compute()'); + assert.equal(ev('auExits()'), 0, 'no cable leaves Australia'); + assert.equal(J(ev, 'SCN_PROG.fttb()').find((r) => r.max === 2).v, 0, 'the progress row says so'); + assert.deepEqual(errors, []); +}); + +test('a teleport is offered only where a satellite on sale sees the POP, and tracking antennas only under the MEO ring', (t) => { + const { ev, errors } = game(t, "S.lvl=2;ACT.buildPop({city:'hpa'});ACT.buildPop({city:'chi'});ACT.buildPop({city:'lon'});"); + const panel = (c) => { ev(`UI.sel={type:'city',id:'${c}'};UI.tab='links';renderAll()`); return ev("document.querySelector('#panel').textContent"); }; + const disabled = (c) => ev(`(b=>!!b&&b.disabled)(document.querySelector('#panel [data-act="teleBuild"]'))`); + // Haparanda, by the Arctic Circle: nothing on sale sees it, and the panel says so before any money moves. + assert.match(panel('hpa'), /No satellite on sale sees this city/); + assert.equal(disabled('hpa'), true); + const c0 = ev('S.cash'); + ev("ACT.teleBuild({city:'hpa'})"); + assert.equal(ev("teleOf('hpa')"), 0); + assert.equal(ev('S.cash'), c0, 'nothing charged'); + assert.match(ev("teleWhy('hpa')"), /No satellite/); + // Chicago sees the bird over the Americas, and the panel says what is in reach before the build. + assert.match(panel('chi'), /In view: Intelsplat 19/); + assert.match(ev("document.querySelector('#panel').textContent"), /in reach at your level/); + assert.equal(disabled('chi'), false); + ev("ACT.teleBuild({city:'chi'})"); + assert.equal(ev("teleOf('chi')"), 1); + // London is north of the MEO ring: no tracking antennas there, at any level. + ev("S.lvl=3;ACT.teleBuild({city:'lon'})"); + assert.equal(ev("teleOf('lon')"), 1); + assert.ok(!J(ev, "(()=>{UI.sel={type:'city',id:'lon'};UI.tab='links';renderAll();return [...document.querySelectorAll('#panel [data-act]')].map(b=>b.dataset.act);})()").includes('teleTrk')); + const c1 = ev('S.cash'); + ev("ACT.teleTrk({city:'lon'})"); + assert.equal(ev("teleOf('lon')"), 1); + assert.equal(ev('S.cash'), c1); + assert.match(ev("trkWhy('lon')"), /does not see London/); + assert.equal(ev("trkWhy('chi')"), '', 'Chicago is under the ring'); + assert.deepEqual(errors, []); +}); + +test('the order sheet prices a new POP with your POP standard, as the list before it does', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});S.pops.syd.rgen=2;ACT.popStdSet({city:'syd'});"); + const std = ev('newPopCost("pcn")'); + assert.ok(std > ev('popCost("pcn")'), 'the standard adds routers'); + ev("ACT.satOpen({a:'syd'})"); + assert.ok(ev("document.querySelector('#modalCard').textContent").includes(ev(`fmt$(${std})`))); + ev("ACT.satOpen({a:'syd',b:'pcn'})"); + assert.ok(ev("document.querySelector('#modalCard').textContent").includes(ev(`fmt$(${std})`)), 'the same price one tap later'); + assert.deepEqual(errors, []); +}); + +test('MCP: dry runs for satellites quote what the game then does', () => { + const s = createSession(), T = (n, a = {}) => TOOLS.find((x) => x.name === n).run(s, a), ev = (x) => s.game.ev(x); + T('new_game', { city: 'syd', preset: 'sandbox', seed: 7, name: 'Probe' }); + ev('S.lvl=Math.max(S.lvl,3);S.cash=1e9'); + assert.deepEqual(T('act', { action: 'teleBuild', args: { city: 'syd' }, dryRun: true }).quote.blocked, []); + T('act', { action: 'teleBuild', args: { city: 'syd' } }); + assert.deepEqual(T('act', { action: 'teleTrk', args: { city: 'syd' }, dryRun: true }).quote.blocked, [], 'Sydney is under the MEO ring'); + assert.match(T('act', { action: 'teleTrk', args: { city: 'mel' }, dryRun: true }).quote.blocked.join(' '), /no teleport in Melbourne/); + T('act', { action: 'buySat', args: { a: 'syd', b: 'asp', bird: 'is18', g: 1 } }); + const id = ev("S.links.find(l=>l.kind==='sat').id"); + // A wave beside the circuit: no diversity premium, in the quote as in the bill. + const q = T('act', { action: 'buildLink', args: { a: 'syd', b: 'asp', tier: 1 }, dryRun: true }).quote; + const c0 = ev('S.cash'); + T('act', { action: 'buildLink', args: { a: 'syd', b: 'asp', tier: 1 } }); + assert.equal(q.setup, c0 - ev('S.cash'), 'quote equals charge'); + assert.equal(ev(`S.links.find(l=>l.id==='${id}').standby`), true); + // Resizing: only sizes the bird sells, and not the one it has. + for (const g of [20, 1]) { + const r = T('act', { action: 'satSize', args: { id, g }, dryRun: true }).quote; + assert.match(r.blocked.join(' '), /No such satellite circuit/, 'g ' + g); + } + const up = T('act', { action: 'satSize', args: { id, g: 5 }, dryRun: true }).quote; + assert.deepEqual(up.blocked, []); + const c1 = ev('S.cash'); + T('act', { action: 'satSize', args: { id, g: 5 } }); + assert.equal(up.setup, c1 - ev('S.cash')); + assert.deepEqual(s.errors(), []); +}); + +test('a satellite elsewhere is the long way round: routers use the cables and fall back to it only when cut', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.buildPop({city:'suv'});UI.pending={a:'syd',b:'suv'};ACT.buildLink({tier:1});UI.pending={a:'suv',b:'tbu'};ACT.buildLink({tier:1});ACT.teleBuild({city:'syd'});"); + ev("ACT.buySat({a:'syd',b:'tbu',bird:'is18',g:5})"); + assert.equal(!!ev(`${sat}.standby`), false, 'no link between Sydney and Tonga: not on standby'); + ev(ready); + assert.ok(ev(`${sat}.km`) > 10 * ev("kmBetween('syd','tbu')"), 'its metric is the radio path'); + assert.equal(ev(`R.load[${sat}.id]||0`), 0, 'Tonga goes to Sydney over the cables, not the satellite'); + ev("S.links.find(l=>l.kind==='wave'&&(l.a==='tbu'||l.b==='tbu')).cut=S.day+30;compute()"); + assert.ok(ev(`R.load[${sat}.id]`) > 1, 'with the Tonga cable cut, the satellite carries it'); + // Nobody digs up a satellite: cuts land on the cables only. + ev("S.links.forEach(l=>l.cut=0);S.inc=[];for(let i=0;i<12;i++){fireFailure('cut');for(const l of S.links)if(l.kind!=='sat')l.cut=0;S.inc=[];}"); + assert.equal(ev(`${sat}.cut`), 0); + // The traceroute names the bird. + ev("S.links.find(l=>l.kind==='wave'&&(l.a==='tbu'||l.b==='tbu')).cut=S.day+30;compute()"); + assert.match(ev("traceroute('tbu',{city:'syd'}).text"), /via Intelsplat 18/); + assert.deepEqual(errors, []); +}); + +test('Pitcairn by satellite: a POP comes with the circuit, but GEO is not good enough for the UK grant', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});"); + assert.equal(ev("!!S.pops.pcn"), false); + const c0 = ev('S.cash'); + ev("ACT.buySat({a:'syd',b:'pcn',bird:'is18',g:1})"); + assert.ok(ev('!!S.pops.pcn'), 'the order builds the POP'); + assert.equal(c0 - ev('S.cash'), ev("satMo('is18',1)+popCost('pcn')")); + ev("ACT.launchBB({city:'pcn'});" + ready); + assert.ok(ev('R.citySrv.pcn') > 0, 'the islanders are online'); + assert.ok(ev("sfOf(R,'pcn')") <= 0.5 + 1e-9); + assert.equal(ev('grantOn(R)'), false); + assert.equal(ev('R.rev.grant'), 0); + assert.deepEqual(errors, []); +}); + +test('Pitcairn over MEO serves the islanders well, but the UK pays its fiber grant only for a cable', (t) => { + const { ev, errors } = game(t, "ACT.buildPop({city:'akl'});ACT.launchBB({city:'akl'});ACT.buyTransit({city:'akl',net:NETS.find(n=>sellsAt(n,'akl')).id,tier:1});ACT.teleBuild({city:'akl'});ACT.teleTrk({city:'akl'});"); + assert.equal(ev("teleOf('akl')"), 2); + ev("ACT.buySat({a:'akl',b:'pcn',bird:'o3b',g:2});ACT.launchBB({city:'pcn'});" + ready); + assert.ok(ev('R.citySrv.pcn') > 0, 'the islanders are online'); + assert.ok(ev("sfOf(R,'pcn')") >= 0.9, 'MEO serves them nearly as well as fiber'); + assert.ok(Math.abs(ev("satShare(R,'pcn')") - 1) < 1e-9, 'all of it over the satellite'); + assert.equal(ev('grantOn(R)'), false, 'no fiber grant for a satellite'); + assert.equal(ev('R.rev.grant'), 0); + assert.match(ev("grantFact('pcn')"), /needs a cable/); + assert.deepEqual(errors, []); +}); + +test('saves: circuits survive a round trip, broken ones are dropped, and old saves load as they were', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});S.pops.syd.tele=2;ACT.buySat({a:'syd',b:'tbu',bird:'kac1',g:2});ACT.buySat({a:'syd',b:'tbu',bird:'o3b',g:5});"); + const before = J(ev, "S.links.filter(l=>l.kind==='sat')"); + ev('S=migrate(JSON.parse(JSON.stringify(S)));compute()'); + assert.deepEqual(J(ev, "S.links.filter(l=>l.kind==='sat')"), before, 'kind, bird, size and dates kept'); + // Garbage in: an unknown bird, an odd size, a MEO circuit on a GEO-only teleport, a teleport that is not 1 or 2. + ev("S.links.push({id:'x1',a:'syd',b:'tbu',kind:'sat',bird:'nope',g:1,km:1,mo:1,cut:0});S.links.find(l=>l.bird==='kac1').g=7;S.links.find(l=>l.bird==='kac1').km=3;S.pops.tbu.tele='big'"); + ev('S=migrate(JSON.parse(JSON.stringify(S)))'); + assert.equal(ev("S.links.some(l=>l.id==='x1')"), false, 'an unknown bird is dropped'); + assert.equal(ev("S.links.find(l=>l.bird==='kac1').g"), 5, 'an odd size becomes the largest size on sale under it'); + assert.equal(ev("S.links.find(l=>l.bird==='kac1').km"), ev("satKm('kac1','syd','tbu')"), 'the radio path is the physics, not the save'); + assert.equal(ev("'tele' in S.pops.tbu"), false); + // A circuit's order day from a save: a number no later than today, so its commissioning bar is a real width. + ev("(k=>{k.day='junk';k.ready=S.day+5;})(S.links.find(l=>l.bird==='kac1'));S=migrate(JSON.parse(JSON.stringify(S)))"); + assert.equal(ev("S.links.find(l=>l.bird==='kac1').day"), ev('S.day')); + ev("S.links.find(l=>l.bird==='kac1').day=S.day+40;S=migrate(JSON.parse(JSON.stringify(S)))"); + assert.equal(ev("S.links.find(l=>l.bird==='kac1').day"), ev('S.day'), 'not in the future'); + ev("delete S.links.find(l=>l.bird==='kac1').day;S=migrate(JSON.parse(JSON.stringify(S)));compute()"); + assert.doesNotMatch(ev("satPanel(S.links.find(l=>l.bird==='kac1'))"), /NaN/); + ev("S.pops.syd.tele=1;S=migrate(JSON.parse(JSON.stringify(S)))"); + assert.equal(ev("S.links.some(l=>l.bird==='o3b')"), false, 'a MEO circuit needs tracking antennas at its teleport'); + ev("delete S.pops.syd.tele;S=migrate(JSON.parse(JSON.stringify(S)))"); + assert.equal(ev("S.links.filter(l=>l.kind==='sat').length"), 0, 'no teleport, no circuits'); + // A save from before satellites: nothing about it changes, not even a row in the bill. + ev("S=migrate(JSON.parse(" + JSON.stringify(SAVE) + "));UI.started=true;UI.pitched=true;UI.speed=0;closeModal();compute()"); + assert.equal(ev("S.links.some(l=>l.kind==='sat')||Object.values(S.pops).some(p=>'tele' in p)"), false); + assert.equal(ev("'sat' in R.cost"), false); + assert.ok(ev('R.served') > 0); + assert.deepEqual(errors, []); +}); + +test('closing: a teleport with circuits stays open; closing the island or the teleport’s POP takes the circuit along', (t) => { + const { ev, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});ACT.buySat({a:'syd',b:'tbu',bird:'kac1',g:1});"); + ev("ACT.teleRm({city:'syd'});ACT.teleRm({city:'syd'})"); + assert.equal(ev("teleOf('syd')"), 1, 'not while a circuit starts there'); + ev("decommission(['tbu'])"); + assert.equal(ev(`!!${sat}`), false, 'the island’s POP takes its circuit along'); + ev("ACT.teleRm({city:'syd'})"); + assert.equal(ev("teleOf('syd')"), 1, 'the first tap only arms it'); + ev("ACT.teleRm({city:'syd'})"); + assert.equal(ev("teleOf('syd')"), 0); + ev("ACT.teleBuild({city:'syd'});ACT.buySat({a:'syd',b:'pcn',bird:'is18',g:1});decommission(['syd'])"); + assert.equal(ev("S.links.some(l=>l.kind==='sat')"), false, 'so does the teleport’s'); + assert.deepEqual(errors, []); +}); + +test('on a phone: the teleport section, the order sheet, a circuit’s panel and the map, at 360 px', (t) => { + const { ev, dom, errors } = game(t, ISLE + "ACT.teleBuild({city:'syd'});"); + ev('window.innerWidth=360;window.innerHeight=740;window.dispatchEvent(new window.Event("resize"))'); + assert.equal(ev('isPhone()'), true); + const text = (sel) => ev(`(document.querySelector('${sel}')||{}).textContent||''`); + const acts = (sel) => J(ev, `[...document.querySelectorAll('${sel} [data-act]')].map(b=>b.dataset.act)`); + ev("UI.sel={type:'city',id:'syd'};UI.tab='links';renderAll()"); + assert.match(text('#panel'), /Satellites/); + assert.ok(acts('#panel').includes('satOpen')); + // A city without a POP that the teleport reaches. + ev("UI.sel={type:'city',id:'apw'};renderAll()"); + assert.match(text('#panel'), /By satellite/); + ev("ACT.satOpen({a:'syd'})"); + assert.ok(acts('#modalCard').filter((a) => a === 'satOpen').length >= 2, 'a choice of destinations'); + ev("ACT.satOpen({a:'syd',b:'tbu'})"); + assert.ok(acts('#modalCard').filter((a) => a === 'buySat').length >= 8, 'every bird that sees both, every size'); + assert.equal(ev('document.getElementById("modal").hidden'), false); + ev("ACT.buySat({a:'syd',b:'tbu',bird:'kac1',g:2});" + ready + ';renderAll()'); + assert.match(text('#panel'), /round trip/); + assert.ok(acts('#panel').includes('satSize') && acts('#panel').includes('rmLink')); + for (const s of ['#panel', '#modalCard', '#toasts']) assert.doesNotMatch(text(s), /satellites\.|undefined|NaN/, s); + // How the tube looks on the map: dashed like a virtual circuit, in the operator's colour; then a frame is drawn. + const look = J(ev, `(()=>{const L=linkLook([${sat}],S.day);return {dash:L.dash,col:L.col,w:L.w0};})()`); + assert.equal(look.dash, 2); + assert.equal(look.col, ev("SAT_PROV.kac.col")); + ev('draw(performance.now())'); + assert.deepEqual(errors, []); + assert.equal(dom.window.document.querySelectorAll('#panel').length, 1); +}); From b533f3baa8304269dde5749e63ed19355456f2d8 Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 01:12:23 +0100 Subject: [PATCH 472/546] Plans: multiplayer phase 2 design, and what is left after this round --- docs/plans/multiplayer-phase2.md | 404 +++++++++++++++++++++++++++++++ docs/plans/next-session.md | 55 +++++ 2 files changed, 459 insertions(+) create mode 100644 docs/plans/multiplayer-phase2.md create mode 100644 docs/plans/next-session.md diff --git a/docs/plans/multiplayer-phase2.md b/docs/plans/multiplayer-phase2.md new file mode 100644 index 0000000..346e1c7 --- /dev/null +++ b/docs/plans/multiplayer-phase2.md @@ -0,0 +1,404 @@ +# Multiplayer phase 2: players inside each other's simulations + +Status: design only, not built. Phase 1 (sessions, server-side saves, leaderboard) is in `docs/MULTIPLAYER.md`. + +**Conventions:** +- Line numbers are `main` at `1e7638c`. +- Phase 1 (multiplayer sessions, merged on `main`) provides `S.mp`, `MP`, `mpCard`/`mpCardOk`, and `cleanCard` in `scripts/lib/mp.js`. +- Everything runs only when `MP_API` is stamped and `S.mpx` is not null. The plain GitHub Pages build is unchanged (`pages.test.js`, `build.test.js`). + +## 1. Starting point and grafts + +**Base: "contracts".** It had the best totals in two of the three scorings, and the best feasibility and risk. +- Players are pseudo carriers `mp:`, registered only in `NET` with single-entry `CONE`/`CONE_S`/`DOWN`/`ANC`. +- `NETS`, `NET_IDS`, `NSH`, `t1Need()`, seen/grace and the gameplay-rules tests never see a player. +- No catalog id contains `:`, and nothing iterates `NET`. + +**I checked this on big-network** (a throwaway probe, not committed): a buyer row on `mp:p1` in `S.transit` plus a player PNI, through `compute`, 5 day ticks, the intern, every panel and tab, traceroute, `t1Why`/`isTier1` and a `migrate` round trip. + +Results: +- No errors anywhere. +- The rows were kept while registered and dropped once unregistered. +- Warm compute went from 32.3 to 33.2 ms (median of 25 alternating runs). +- `R.sessions` rose by 1. That confirms the exploit fixed below. + +**How each fatal flaw the judges found is removed:** + +| Judged flaw | Fix | +|---|---| +| The seller's `S.biz` row is exposed to dropBiz, decommission, ddosTargets, Pie moods and the mood loop | The seller side is a deal entry read in exactly two places, demand and money (nets) | +| Peering is cosmetic, yet player PNIs count toward `isTier2`/`t1Club` | Player traffic ships with peering (§2.3). Player sessions never enter `R.sessions` | +| Health is all or nothing, and bought transit reaches every network | A capacity factor (`t.mpf`) and a `miss` id list, from day one | +| A↔B transit loops | The server refuses with 409; clients drop loop links in a fixed pid order (nets) | +| A stale or alt buyer keeps paying the commit forever | The seller earns, and carries load, only while the buyer's clock runs. Prices are capped against the catalog | +| A bought wave can be upgraded past its agreed price | `upLink`/`rmLink`/`setStandby` refuse it (gameplay) | +| "An active deal with no row" is ambiguous | A per-deal `made` flag (§5) | +| `NKN` flips inside `compute()` | It is always `NN+4` | + +**Grafted from the other designs:** +- From nets: the two-sided route-server rule; cones through players; PNI lead from `hstr`, with capacity set by the smaller side; the Tier 1 clique star. +- From gameplay: waves, tenders, poaching, consortium seats, notice on each player's own clock, and the LOA handshake. + +**Rejected:** players as `NETS` entries (a mutable catalog, a rescaled `NSH`), reach bitmaps (they break between builds), a Tier 1 that depends on other players, automatic ratio strikes, and own-day timers that end a deal (they fire within seconds at 8×; own-day notice only paces each side's own teardown). + +## 2. Mechanics + +### 2.1 Pseudo carriers (`src/game/30-networks/45-player-carriers.js`, new) + +`mpBind(s)` does three things: +1. deletes every `mp:*` key; +2. registers `{id:'mp:'+pid, name, asn, type:'t2', pol:'open', share:0, price:1, pops:[], up:[], ix:[], cc:'', col, blurb:tr('mp.another_player'), mp:1}` for each `s.mpx.who` entry; +3. sets `MPB.k`. + +It runs at the start of every `sanitize` and every `compute()` (`if(MPB.k!==(S.mpx?S.mpx.k:''))mpBind(S)`). That covers the route worker, slot switches, imports, the failed-load rollback (`91-slots.js:105`) and puzzles. `nocWinState` (`94-dashboard/90-noc-window.js:45`) calls it too. + +Because the carrier has `pops:[]` and is not in `NETS`, no catalog list ever offers a player: +- `sellsAt` and `buyTransit`; +- the intern's providers, `peerAll` and `pniAll`; +- the peering desk and own-exchange joins. + +The `peer` action returns at `ixMembers(city).includes(net)` (`40-sites-peering-caches.js:14`). + +### 2.2 Transit between players (the Tier 1 endgame) + +**Who can sell:** a player publishes `tp` ($/Gbps/month) while `R.reach >= 0.99` and they have at least one POP. + +**Buying:** "Buy transit from X here" posts a `t` deal (city, tier, LAG). The server makes it `live` at once (a price list is a standing offer) when all of these hold: +- the seller's card has `tp`; +- both cards list the city; +- there is no cycle; +- the limits hold. + +**Price:** `min(tp, mpCap(city))`, where `mpCap = 2 × the cheapest catalog transitPerG(n,city,false)` there, or the catalog median if nobody sells there. +- Both sides compute it from the static catalog, ignoring each save's own `priceMul`. +- Both clamp again when they receive the deal. + +**Buyer side: an ordinary `S.transit` row** `{id:'mt-'+deal, net:'mp:'+seller, city, tier, n, mp:deal, mpp:price}`. +- **Comes free:** the router port (`40-ports.js:20`), p95 history (`10-day-tick.js:37`), hot ports, traceroute, incidents, the panels, and `isTier1()===false`. +- **Billing:** `transitMo` (`40-billing.js:9`) uses `t.mpp` instead of `transitPerG(...)*S.priceMul`. The commit floor, `PORT.tmo` and `krFee` still apply. +- **Capacity:** `30-compute.js:53` multiplies by `t.mpf` = min(1, the seller's `sv[city]`/0.95), in 0.05 steps. +- **Reach:** `:54`'s `ok` also needs `!mm.has(n)` (the seller's `miss`). +- **Route cache:** the hash of every miss set joins the flags at `:70` (`+(S.mpx?S.mpx.xk:'')`), so `rcExitKey` rebuilds when a seller's reach changes. +- **Outage:** `t.down=S.day+1` when the seller's POP is down or the seller has left. + +**Seller side: a `sell` entry in `S.mpx.deals`, never in `S.biz`.** +- **Load:** `mpDem(bizBw)` after the biz loop (`:95`) adds `u`, the buyer's reported use. It leaves by catalog share over the seller's own backbone, peering and upstreams; a Tier 1 carries it settlement-free. +- **Money:** `V.mp = Σ price × max(q, 20% of port) × min(1, sfOf(R2,city)/0.95)`. `q` is the buyer's p95; the last factor is the business customers' SLA credit. `V.mp` is added to `revMo` (`:382`) and to the revshare base (`:380`). +- **Port:** the seller's port counts in `portsUsed` (`10-catalog/40-ports.js`, after `:21`). +- **Idle buyer:** if the buyer's roster `idle` is ≥ 300 s (no newer game day reached the server), load and revenue are 0. + - A paused or closed buyer has no traffic to bill, and a fast seller cannot bill a frozen buyer. + - An alt account has to keep playing, and still pays at most the capped price. + +**Loops:** +- The server returns 409 `loop` if the seller already buys from the buyer, directly or through others (a search over at most 12 players). +- Clients build the player-transit graph from `who[].pt` and add edges sorted by (buyer pid, seller pid), dropping any that closes a cycle, so every client drops the same edge. +- So reach passes down a reseller chain one push per hop, never settling at a false 1. + +**Tier 1 stays defined by the built-in networks.** +- `R.reach` only sums `NSH`, so neither `isTier1` (`80-hot-ports-and-rank.js:20`) nor the mood check `R.reach>0.99` (`10-day-tick.js:51`) can depend on players. +- Buying player transit costs Tier 1, and `t1Why` already says so. Selling never does. +- Refusing to peer blocks nobody's win. + +### 2.3 Peering between players, carrying traffic + +**PNI (`pni` deal, always accepted by hand).** Each side adds `S.pni` `{id:'mn-'+deal, net:'mp:'+other, city, tier, n, mp:deal, ready:S.day+lead}`. +- **Lead time:** `lead = pniNow() ? 0 : leadDays(14 + hstr(deal+myPid) % 29)`, with no random numbers. +- **Cost:** each side pays its own `pniMo`. +- **Capacity:** the smaller of the two sides (theirs comes from `dl[].g`). It is 0 until both cards report `ok`: the LOA and cross-connect handshake. + +**IX (`ix` deal).** The server makes it `live` if the responder's policy is open, `no` if closed, and `offer` if selective. Once live, both sides set `S.peers['mp:P@x']`. + +**Route server:** no deal. P peers with me at `x` when both `S.rs[x]` and `P.rs ∋ x` hold and both policies are open. That is the same rule on both clients. + +**Sessions:** +- `mpIx(x)` lists the player peers at an exchange. `ixSessions` (`20-exchanges.js:29`) stays catalog-only. +- At `30-compute.js:61`, player PNIs skip `R2.sessions++` (`if(!p.mp)`) and count in `R.mpSess` instead. +- So friends can never inflate `isTier2`/`t1Club`. + +**Player traffic** (new `src/game/80-simulation/36-mp-traffic.js`). `compute.js:343` calls `mpTraffic({E,SPP,NRES,HAS,R2,carry,NN})` once, after `citySrv` (`:341-342`). The parts are handed in the way `ddosLoad` gets them (`:188`). +- **Demand:** each POP sends `cityEye[c]·w_P` to each active player P. + - `w_P = min(0.02, (biz_P + 0.3·eye_P)/75000)`, and `Σw ≤ 0.1`. +- **Exits that reach P:** + - rank 2: a ready PNI with P, or an IX exit with `mpIx(x) ∋ P`; + - rank 2.5: the same exits toward Q when P buys from Q, which gives cones through players; + - rank 3: player transit from Q when `P===Q` or `Q.mr ∋ P`, and catalog transit when `P.on`; + - `pref:'low'` moves an exit to rank 4. +- **Pushing:** exits are sorted by distance once per POP. Traffic goes along `walkI(SPP[c],ci,e.ci)` and is limited by `l.res`, `NRES` and `e.cap-e.used`. +- **Recording:** each push calls `carry(l,e.ek,NN+3,…)`. `NKN` is always `NN+4` (`:130`), and that column is named `'players'` at `:16`. +- **Effects:** + - Transit p95, hot ports and link loads include player traffic, so peering saves transit money. + - `R2.mp={dem,srv,peer,lost,full,by}` records the totals. + - The pass runs after every catalog flow, so `R.served`, `R.demand`, moods, levels, `peerShare` and Tier 1 never change. + +**Cost of a de-peering war:** +- `computeMoney` applies `V.eyeballs *= 1 - mp.lost/(demand+mp.dem)`, where `lost` is traffic with no route at all. +- Two transit-free Tier 1 players who won't peer cannot reach each other: catalog Tier 1s don't pass on routes they learn from peers. Each loses up to 2% of eyeball revenue, which is real Level 3 vs Cogent drama at a bounded cost. Neither loses Tier 1. +- Two eyeball players who don't peer pay transit p95 for each other's traffic. + +**Clique star (cosmetic):** card `cq=1` when you are Tier 1 and reach every player whose card says `t1` by your own PNI or IX session. The leaderboard sorts the star first. + +**De-peering:** `end` the deal. Each side removes its rows 7 own days after it first sees the end. + +### 2.4 Competition + +**Overlap:** `clComp` (`75-customer-lifecycle.js:30`) also counts rival players whose card POPs cover the customer's cities. The rolls stay hash-stable (`clR`). + +**Poaching:** +- `clLeave` (`:64`), for "cheap" or "multi" with a rival POP in the city, posts the customer to `/lost`. +- The server gives it to one rival, chosen by `hstr`, as a gift. +- The rival checks it with `okBiz`, `BIZ_T` and `rate ≤ catalog×mkt()×1.2`, then puts it in `S.offers` with `ref` set to the loser's name. + +**Tenders:** +- **Issue:** while at least two players are active (`idle` < 300 s), the server issues `{n, city}` every 5 real minutes. The city is seeded from the active players' POPs. +- **Content:** derived from `hstr(seed|n)` and the `BIZ_T` lists, so every client sees the same tender. +- **Bids:** a ratio r from 0.6 to 1.0. You can bid while paused, and an optional standing auto-bid covers your cities. +- **Closing:** after 10 real minutes, or once every active player has bid. Wall-clock time, because no game clock is shared. +- **Winner:** the best `(1.2-r)·sq`, where `sq` is served share. The tender goes into `S.offers` with `mp:1`, expiring in 10 own days, and is signed with the normal `accept`. + +### 2.5 Shared fiber + +**Waves and IRUs (`wave`/`iru` deals):** +- **Seller side:** books spectrum or pairs via `+mpSold(l.id)` in the three counters (`60-requirements.js:72,75`, `37-fiber-broker.js:16`). It earns `V.mp += rate×(fiberOk?1:0)`. +- **Buyer side:** an `S.links` row `{kind:'wave'|'df', own:false, mo:price, mp:deal}`, which copies cut/eqDown/ready from `dl`. + +**Consortium seats:** built like `seatBuy` (`86-specialist.js:4`), at `ownCabCost(km)×myPairs/totalPairs` (`36-specialist.js:54`). + +**Deferred:** +- Joint exchanges, which need an id namespace (`isIx`, `50-sanitize.js:2`). +- An opt-in "Tier 1 must reach every Tier 1 player" rule. + +## 3. Server (`scripts/lib/mp-deals.js`, pure logic, with routes in phase 1's `scripts/lib/mp.js`) + +**The deal record** is public to the session, like PeeringDB. The session keeps a counter `dv`, bumped on every change. + +``` +{id:'d'+base36, k:'t'|'pni'|'ix'|'wave'|'iru', a, b, s (seller), at (city|ix|'a|b'), tier, n, price, slots, st, rev, t0, tl, te, by, why} +``` + +| from | event | to | allowed for | +|---|---|---|---| +| – | create `t` | `live`, or 409 `not_selling`/`no_pop`/`loop`/`dup`/`limit` | the buyer | +| – | create `ix` | `live` (b open and present) / `no` (b closed) / `offer` | a | +| – | create `pni`/`wave`/`iru` | `offer` | a | +| `offer` | accept / decline / withdraw / 7 days pass | `live` / `no` / `gone` / `gone` | b / b / a / server | +| `live` | end | `end` (`quit`) | a or b | +| `live` | a side's card never reports `ok` within 7 days | `end` (`unbuilt`) | server | +| `live` | no card from a party for 14 days | `end` (`idle`) | server | +| any open deal | a party leaves or is pruned | `end` (`left`) | server | +| `no`/`gone`/`end` | 7 days pass | deleted | server | + +**Errors:** every write sends `rev`. A stale `rev` or an illegal transition gets 409, and the wrong party gets 403. + +**Limits:** +- one open deal per (pair, kind, place); +- 10 open offers and 24 live deals per player; +- 300 deals per session; +- price 0.05–50, tier 0–15, n 1–8; +- 30 writes per minute per player. + +**Feed:** the server writes a line for each transition ("X sells transit to Y in Frankfurt", "X de-peered Y"). + +**Endpoints:** +- `POST /api/mp/sessions/:code/deals {k,to,at,tier,n,price?,slots?}` returns 201 `{deal,dv}`. +- `POST …/deals/:id {op,rev}` with `op` one of accept, decline, withdraw or end. +- `POST …/lost` reports a lost customer; `POST …/tenders/:n/bid {r}`; `PUT …/autobid`. +- The roster responses (`GET` the session, and `PUT` the card or save) add: + - `deals[]` (my deals, any state) and `dv`. Other players' links come from their cards' `pt`; + - `tenders[]` and my `gifts[]`; + - each player's `idle`: seconds since their card last carried a newer day. + +So nothing needs extra polling. + +## 4. Card fields beyond phase 1 + +Every field below is added to both `cleanCard` and `mpCardOk`. Phase 1's `transit` field stays catalog-only, because `NET_RE` would silently drop `mp:` ids. + +| field | content | +|---|---| +| `nv` | build version | +| `pt` | pids I buy transit from | +| `rs` | exchanges with my route server on | +| `tp` | my transit price, or null | +| `miss` | catalog ids I can't reach, biggest share first, ≤160 (a reach of 0.99 can still miss 72) | +| `on` | 1 if the internet of built-in networks can reach me: catalog transit, PNIs with every `t1Need()` network, or a seller with `on` | +| `mr` | pids I reach | +| `eye`, `biz` | Gbps, 2 significant digits | +| `sq` | served share | +| `sv` | `{city: delivered share}` where I sell, ≤64, in 0.05 steps | +| `dl` | `[{id,u,q,g,ok,up,cut,eq,rdy}]`, one per live deal, ≤64 | +| `cq` | clique star | + +The card grows by about 4 KB at most. ASNs need nothing new: phase 1 already sends the catalog ASNs to avoid (`mpAvoid`, `mp.js:238`). + +## 5. Client day flow (`src/game/60-features/89-player-deals.js`, new) + +Phase 1's `mpRosterOk` is extended to whitelist `deals`, `dv`, `tenders`, `gifts` and `idle` (plus new `MP_FEED` kinds). The validated roster stays in `MP.roster`, never in S. `mpDay(d)` runs first in `dayPre`, right after `S.day++` (`10-day-tick.js:10`): + +1. **Copy changes in.** If `dv`, `idle` or any card changed, rebuild `S.mpx.who` and `S.mpx.deals` from the validated data, with values in steps. Then recompute `k`/`xk` and call `mpBind(S)`. +2. **Reconcile each deal:** + - **live, not `made`:** create my row (`S.pops[at]`, `portOk`, `portGate`, `spend(setup)`) and set `made`. If that fails, the deal waits under a "waiting on you" badge, with no client timer; the server ends it as `unbuilt`. + - **live, `made`, but the row is gone** (for example after a decommission, which `decomImpact` warns about): post `end` with `why:'gone'`. Decommissioning a city where I sell also ends those sell deals. + - **ended** (or missing from the server's list): set `until=d+notice` (14 own days for transit, 7 for the rest) and remove the rows when it passes. +3. **Copy the coupling values onto the rows:** + - on transit rows: `t.mpf` and `t.down`; + - on PNI rows: their side's capacity and whether it is ready; + - on link rows: cut, eqDown and ready; + - on my seller entries: `u`, `q` and whether the buyer is active. +4. `compute()` runs (worker or not), then `dayPost`, then phase 1's push carries the new fields. `dl` comes from yesterday's R. + +**My own clicks** (`mpOffer`, `mpAnswer`, `mpEnd`, `mpSell`, `mpBid`) apply as soon as the server answers, with `mpApply();after()`. If `RW.job` is set, they apply at the next `dayPre` instead. + +Multiplayer code never calls `Math.random`. + +## 6. Saves and sanitize + +**New field:** `S.mpx = null | {k, xk, dv, who:[≤11], deals:[≤64]}`. `deals` holds only my own deals. Cones, `on` and who-buys-from-whom come from `who[].pt`. +- `mpx:null` is the default in `newGame` (`80-new-game.js:4`), so old saves get null. + +**Order in `sanitize`:** move phase 1's `mpSanitize(s)` from `50-sanitize.js:113` up to `:21`, then call `mpxSanitize(s)`. Both now run before `opsSanitize` (`:22`) and every `isNet` filter (`:34-35, :54-55`). + +**`mpxSanitize`:** +- **When it is null:** unless `MP_API` is stamped and `s.mp` is valid in normal mode. An imported multiplayer save then just loses its player rows. +- **Players (`who`):** pids checked against the regex, unique, never my own. +- **Names:** stripped like the phase 1 server does (control characters and `<>&"'\``, at most 32). They are not escaped, because `labOf`/`hotPorts` print catalog names unescaped too. +- **Ids:** pass `isCity`/`isIx`. `miss` must be catalog ids, and `pt`/`mr` must be pids in `who`. +- **Numbers:** clamped and stepped. +- **Deals:** kinds from a whitelist, the other party present, `at` checked, `tier` within `PORT`, the price at most `mpCap`. +- **Loops:** `pt` edges are dropped in (buyer, seller) pid order. +- **Keys:** `k`/`xk` are recomputed, never trusted. +- **Last step:** it ends with `mpBind(s)`. + +**`mpOrphans(s)`** runs right after `:113`: +- it drops tagged `transit`/`pni`/`links`/`peers` entries that have no deal; +- it drops untagged rows on `mp:` networks; +- it strips `mp`/`mpp`/`mpf` from untagged rows, so a forged `mpp:0` gives no free transit. + +**`RK_SKIP`:** `mpx` stays off it, because `compute` reads it. Phase 1's `mp` stays on, because `compute` must never read it; the `route-skip.test.js` proxy enforces both. + +**Size:** at most +15 KB per save. + +## 7. Ordered steps + +Each step ends with `npm test` green, the i18n check clean, MCP classification, a CHANGELOG bullet and perf numbers. + +**1. Dormant core (no server, no UI).** +- `45-player-carriers.js`. +- `80-new-game.js:4`; `50-sanitize.js:21`/`:113`. +- `30-compute.js`: + - `:28` bind check; + - `:53-54` `mpf` and `miss`; + - `:61` `if(!p.mp)`; + - `:62` `*(p.mp?mpPniF(p):1)`; + - `:70` `xk`; + - `:95` `mpDem`; + - `:130`/`:16` the players column; + - `:375-382` `V.mp`. +- `40-billing.js:9`; `40-ports.js:21`. +- **Guards:** + - `lagT`/`lagP`/`cancelTransit` (`20-pops-transit-ix.js:6,7,11`), `unpeer`/`cancelPni` (`40-sites-peering-caches.js:16,30`) and `downT` (`21-ix-downgrade.js:6`) route to `mpEnd` or a renegotiation offer; + - `cleanPipe` (`80-security-and-china.js:8`) refuses `mp` rows; + - `trExits` (`50-traceroute.js:20`) applies `miss`, and `hotPorts` (`80-hot-ports-and-rank.js:4`) applies `mpf`; + - `connUp` (`40-connections.js:18`) shows no upgrade for these rows; + - the intern (`95-standing-orders.js:155,180,250`) skips `mp` rows; + - `upLink`/`rmLink`/`setStandby` (`60-links.js:2,6`). +- `src/agent/30-docs.js`. +- **Tests:** `mp-sanitize`, and `mp-transit` with `S.mpx` injected. + +**2. Deals and transit, end to end.** +- `scripts/lib/mp-deals.js` and the `mp.js` routes and timers. +- The card fields. +- `89-player-deals.js`, called from `10-day-tick.js:10`. +- `90-actions/92-player-deals.js`, classified in `src/agent/20-commands.js`. +- `95-modals/49-player-deals.js`: a Deals tab in the session sheet, a bottom sheet at 360 px. +- `90-noc-window.js:45`; `decomImpact`; all six languages. +- **Tests:** `mp-deals-server`, and `mp-transit` with `fetch` mocked. + +**3. Peering and player traffic.** +- `pni`/`ix` deals, `mpIx`, and `36-mp-traffic.js` with its hook at `:343`. +- The `V.eyeballs` factor, `R.mpSess` and the star. +- Player Gbps in the PNI list and the connections list. +- **Test:** `mp-peering`. + +**4. Competition:** `clComp`, poaching, tenders. + +**5. Shared fiber:** waves, IRUs, seats. + +**6. `scripts/mp-soak.js`:** opt-in, never part of `npm test`. + +## 8. Performance budget + +**Single-player.** Each `compute()` costs one string comparison, one property read per transit and PNI row, and one more `ACN` column per edge. +- `npm run perf -- --base-ref origin/main` must stay within noise (≤1%). +- `emptyR()` gains no keys; `R.mp`, `R.mpSess` and `V.mp` exist only when `S.mpx` is set. + +**Multiplayer.** The carrier mechanics are measured above: 32.3 → 33.2 ms. A new `big-network-mp` workload (the fixture plus 11 players and 20 deals, built by `scripts/perf-mp-fixture.js`) must meet: +- `mpTraffic` ≤ 1.5 ms (one exit sort per POP, then O(players×exits), with paths cached for each pair of cities); +- `mpBind` ≤ 0.1 ms; +- warm `compute` ≤ +5% compared with the same fixture without players. + +A cold route happens only when `xk` changes, at most once a game day. Report jsdom and `--browser` numbers. + +## 9. Test plan + +**`mp-deals-server`** (spawned server, temporary directory): +- every transition and who may make it (403/409); +- the policy outcomes for `ix` (live, no, offer); +- 409 `loop` on A→B→C→A; +- the limits; +- the `unbuilt`, `idle` and `left` ends, and expiry, with an injected clock; +- card validation; +- restart persistence. + +**`mp-transit`:** +- the buyer's exit and label, `transitMo` using `mpp`, `isTier1` false; +- `mpf` scales capacity, and `miss` blocks reach and changes `xk`; +- the seller's demand rises by `u`, `V.mp` follows the formula, and the seller keeps Tier 1; +- an idle buyer gives zero load and revenue; +- a forged `mpp` is stripped; +- worker parity (the `route-worker.test.js` pattern); +- no `Math.random` calls; +- the inbox is never applied mid-day. + +**`mp-peering`:** +- a PNI carries traffic only once both ends are ready; +- de-peering raises transit p95; +- two unpeered Tier 1 players lose revenue, and both stay Tier 1; +- 24 player PNIs leave `R.sessions` unchanged; +- C reaches B through A's cone; +- the route-server rule is two-sided; +- the PNI lead time is stable. + +**`mp-sanitize`:** +- fuzzing does not throw and stays bounded: 1,000 entries, HTML in names, loops, unknown ids, `mp:` rows in a single-player save; +- old saves load; +- a multiplayer-to-single-player slot switch clears every `mp:*`; +- `` stays text in the panels and the Deals sheet at 360 px. + +**`mp-competition` and `mp-fiber`:** +- rival players raise `clComp`; +- gifts are validated; +- every client derives the same tender; +- cuts are copied; +- a bought wave can't be upgraded. + +**Existing gates:** +- `route-skip` (same digest with `S.mpx` null or empty), `compute-idempotent`, `routing-reference`, `route-cache`; +- `gameplay-rules`, plus a check that no `mp:` id is in `NETS`/`NSH`; +- `persist`, `save-size`, `save-text`, `mcp-commands`, `i18n`, `pages`, `build`, `multiplayer`, `mp-server`. + +**Soak test (the "hardcore" local run):** +- The server plus 12 seeded jsdom players in `worker_threads` (about 0.5 GB each, with `--jobs` capped). +- Each plays about 2,000 days at its own speed, with a random agent making, answering and ending deals. +- During the run: server restarts, reloads through `migrate`, a player leaving, tampered cards and a burst of 409s. +- It checks: no errors or NaN, an acyclic deal graph, each seller's `V.mp` matching the buyer's bill, every save reloading, and a single-player control game keeping `main`'s digest. + +## 10. Failure modes + +| Case | Handling | +|---|---| +| The other player is paused or offline | Their last card stands: an idle buyer brings no load or money, and a buyer keeps the seller's last values. After 14 days the server ends the deal (`idle`) | +| A player leaves | The deal ends (`left`) and each side tears down after notice. `mpBind` drops the carrier on the next sanitize | +| Server down | Play goes on with the frozen `S.mpx`. New deals fail with one toast | +| Two devices | Phase 1's seq/409 picks the save; `made` settles the rows | +| Version skew | Unknown `miss` ids are dropped; networks the seller's build lacks count as reachable | +| Tampered card or save | Whitelists, clamps, steps, local price caps, orphan stripping. Money comes only from local formulas | diff --git a/docs/plans/next-session.md b/docs/plans/next-session.md new file mode 100644 index 0000000..deaef46 --- /dev/null +++ b/docs/plans/next-session.md @@ -0,0 +1,55 @@ +# What is left (as of 2026-11-07) + +Work in this fork, pushed to the `vanvik` Forgejo remote (never to `origin`). Built so far: the build standard, multiplayer +phase 1, dark mode (#80), IPv4 address space (#150), express fiber (#58) and satellite teleports (#83). Everything below is +planned or known, not built. + +## Promised and not done yet + +1. **Router model and line system set in one place only.** The build standard (`S.popStd.g`, `S.popStd.sys`) and two + standing-order settings say the same thing: the `routers` order's `model` (upstream 1e7638c) and the `optup` order's + `sys` (upstream 647e302). Neither ever steps down, so they do not fight, but a player can pick two different targets. + Plan: the Build standard sheet becomes the only place to pick them. The `routers` order reads its model from the + standard, and `optup` its line system (their lists turn into a line "from the build standard: X, change"); sanitize + moves an old `model`/`sys` setting into `S.popStd` when the standard has none. +2. **One owner per fiber for line systems and optics.** `std` (sys/opt targets: a quiet fiber, or a parallel link with + room) and `optup` (one full routing without the fiber, one a night) can each darken a fiber in the same shift. Let `std` + use `optup`'s check (`opsDarkOk`) for line-system swaps, or skip fibers `optup` is working on. Today `std` also holds + any fiber that carries an express with traffic; `opsDarkOk` would handle that case by itself. + +## Next features + +3. **Wave B: #97 co-op companies** (several players run one network with roles, budgets and approvals), host-authoritative + over the multiplayer server, and **multiplayer phase 2** (players as carriers in each other's simulations: transit, + peering, PNIs, shared fiber): design in `docs/plans/multiplayer-phase2.md`. +4. **Wave C: #144 directional traffic**, last and on its own: keep the totals, split them by traffic profile, utilization is + the busier direction. It comes after #58 because both touch link capacity (express channels now count too). + +## Known limitations of what shipped + +- **Multiplayer:** other players' POPs are not drawn on the map (no clean hook yet); cards are what each browser reports, + the server does not verify them; a save over ~60 KB sends only the card when the tab closes; the HUD chip in phone + landscape wider than 760 px was not measured. Behind a reverse proxy, run the server with `--trust-proxy`, or every + player shares one address for the rate limits. +- **Build standard:** the game menu has 8 tiles in a multiplayer game (7 otherwise), so the last row is not full; a wave + the standard just upgraded can still be handed back the same day by `decom` if a bigger parallel link carries it. +- **Dark mode (#80):** red error text on dark tinted cards is about 3.8–4.3:1 (bold, but below AA 4.5); the share card PNG + and the web manifest stay light; the WebGL map was checked by tests only, not by eye in a real GPU browser. +- **IPv4 (#150):** the intern does not manage addresses (optional in the issue); transfers are instant; lease-out income + is not in the investor revenue share; blocks granted to old saves can be sold after two years (a one-off windfall); + CGNAT annoyance costs refunds but does not slow broadband growth; the NOC window's address-space button does nothing. +- **Express fiber (#58):** splicing a whole fiber pair through a city was left out on purpose (every fiber end is a POP; + expresses cover the need); loss and MTU incidents on a fiber do not reduce the expresses on it; the fiber panel's + "n of max channels" line does not count express slots (the Express section does); regen sites added later do not charge + regen cards for express channels. +- **Satellites (#83):** no WISP zones, no satellite incidents (rain fade, sun outage), no footprints on the map, no + satellite tab in the drag-to-link window (ordering is from the city panel); GEO/MEO losses and prices are design + numbers; well-cabled islands (Wellington, Hobart) also count as "can be served"; MEO needs 5° elevation (10° would drop + 416 pairs); Pitcairn's $120k satellite grant stays Pie-only. + +## Housekeeping + +- `npm run perf -- --browser` needs Chromium (`sudo pacman -S chromium`, then `PERF_CHROME=/usr/bin/chromium`); only the + jsdom benchmark has been run. +- Upstream release tags are not on `vanvik` yet: `git push vanvik --tags` if wanted. +- The merged worktrees under `.claude/worktrees/` and their `worktree-wf_*` branches can be removed. From 040e25faab8ac818caaa5e3b7ee303b3612686f3 Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 05:06:17 +0100 Subject: [PATCH 473/546] Plans: propose a shared session clock for multiplayer --- docs/plans/multiplayer-phase2.md | 4 ++++ docs/plans/next-session.md | 31 +++++++++++++++++++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/docs/plans/multiplayer-phase2.md b/docs/plans/multiplayer-phase2.md index 346e1c7..ab739aa 100644 --- a/docs/plans/multiplayer-phase2.md +++ b/docs/plans/multiplayer-phase2.md @@ -2,6 +2,10 @@ Status: design only, not built. Phase 1 (sessions, server-side saves, leaderboard) is in `docs/MULTIPLAYER.md`. +Clock: this design assumes each player's game keeps its own time. A shared session clock is proposed in +`docs/plans/next-session.md` (item 3). If it is adopted, the parts timed in real minutes or on each player's own clock +(tenders, `idle`, notice, the soak test) move to game days. + **Conventions:** - Line numbers are `main` at `1e7638c`. - Phase 1 (multiplayer sessions, merged on `main`) provides `S.mp`, `MP`, `mpCard`/`mpCardOk`, and `cleanCard` in `scripts/lib/mp.js`. diff --git a/docs/plans/next-session.md b/docs/plans/next-session.md index deaef46..b46aeb6 100644 --- a/docs/plans/next-session.md +++ b/docs/plans/next-session.md @@ -19,10 +19,37 @@ planned or known, not built. ## Next features -3. **Wave B: #97 co-op companies** (several players run one network with roles, budgets and approvals), host-authoritative +3. **Wave B starts with a shared session clock.** Proposed on 2026-11-07, not decided yet: it changes how every + multiplayer game plays. Today each player's game runs in their own browser at their own speed (pause, 0.5× to 8×), so + players in one session are on different days. The proposal: the server keeps the time and every game in the session + follows it. The simulation stays in the browser. + - **Server:** a session gets a pace when it is created: one game day every 30 s to 5 min (agent mode's list). Never the + normal 2.5 s, which is 1,440 game days an hour. The day only moves while at least one player was seen recently (the + roster already keeps `seen`), so nobody comes back to years of unattended play. Every roster answer carries the + server's time and the session day. + - **Browser:** the clock is locked to the session. `UI.clockLocked` and `HOOKS.speed()` (`50-state.js`) already hide + the speed buttons and refuse pause, and `save()` already leaves `uiSpeed` alone while locked. The code goes in + `src/game/`, because `src/agent/` does not ship (ADR 0004), so it needs its own copy of agent mode's worker ticker + (`src/agent/85-ticker.js`) to keep time in hidden tabs. Agent mode also sets `HOOKS.speed`: the session wins, and + agent mode is off in a multiplayer game. + - **Catching up:** a game behind the session day runs days until it matches, a few per frame, with its progress + shown. It needs its own loop: with the route worker, `runClock` holds one day at a time. A day takes about 30 ms on + the big test network, so 400 missed days take about 12 s on a desktop and longer on phones. Late joiners start on + the session's current day (to check: what in the world depends on the day a game started). + - **Nobody can pause or speed up.** That is what "the same day" means. + - **Later, optional: the server plays absent players.** It opens an offline player's save in a headless game (jsdom, + as `scripts/lib/mcp-game.js` already does with its realtime clock) and runs their days with the intern. The + browser takes the save back on return through phase 1's save numbers, so the server is just one more device. Up to + about 0.5 GB of RAM per absent player. Without it, other players see an absent network stand still. + - **Not proposed: a server that runs every game** with the browser only showing it. Every click would be a round + trip, and the page reads `S` and `R` directly everywhere, so it would be a rewrite. Its one gain over the above is + verified cards (today the server trusts them). + - **Phase 2 gets simpler:** its wall-clock timing (tenders that close after 10 real minutes, `idle` ≥ 300 s, notice on + each player's own clock, the soak test's "own speed") can move to game days. +4. **Wave B: #97 co-op companies** (several players run one network with roles, budgets and approvals), host-authoritative over the multiplayer server, and **multiplayer phase 2** (players as carriers in each other's simulations: transit, peering, PNIs, shared fiber): design in `docs/plans/multiplayer-phase2.md`. -4. **Wave C: #144 directional traffic**, last and on its own: keep the totals, split them by traffic profile, utilization is +5. **Wave C: #144 directional traffic**, last and on its own: keep the totals, split them by traffic profile, utilization is the busier direction. It comes after #58 because both touch link capacity (express channels now count too). ## Known limitations of what shipped From 7a6eb29013bd02a13db402dace1549fd8792be6e Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Sat, 7 Nov 2026 06:36:19 +0100 Subject: [PATCH 474/546] Interns with specialities, optical upgrades, renewal haggles, seven French cities and smoother big networks (3.1.0) --- CHANGELOG.md | 2 ++ package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 4fa9e28..2380feb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +## [3.1.0] — 2026-11-07 + - Whoever runs sales can now answer renewal haggles for you, each in their own way: switch it on at the sales desk. The engineer keeps nerdy customers at the market price and gives everyone else their discount, the shark refuses discounts and some customers walk, and the CEO settles it on the golf course, for better or worse. - The three interns now each have something they are best at: Anycast Annie peers every day and orders PNIs twice a week, Kevin from the night shift swaps two line systems a night and never fat-fingers anything, and Tracy Route buys capacity as if traffic were already 10% higher. They run the same orders at the same salary. - Your intern can upgrade optical transport: a new standing order moves full, busy fiber to a bigger line system, or trades its smallest channels for bigger optics. Pick a line system, and every fiber on a smaller one is moved up to it. A line system swap takes the fiber down for a day, so the intern only does it where the traffic gets around it and no customer rides it, one a night. diff --git a/package-lock.json b/package-lock.json index a5c7090..28dc651 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "seriesoftubes", - "version": "3.0.0", + "version": "3.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "seriesoftubes", - "version": "3.0.0", + "version": "3.1.0", "license": "MIT", "devDependencies": { "@modelcontextprotocol/node": "2.1.2", diff --git a/package.json b/package.json index 4e6ade7..097e4de 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "seriesoftubes", - "version": "3.0.0", + "version": "3.1.0", "description": "A cartoon browser game about building the internet.", "private": true, "license": "MIT", From fbae6fc3edc2c8b456e251b18b261c40e84b556e Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 06:55:01 +0100 Subject: [PATCH 475/546] The build standard owns the router model and the line system; one owner per fiber The routers order reads its model from the build standard (bstd().g, 'keep' is the old next-model-up rule) and the optical upgrade order its line system (bstd().sys). The Ops sheet shows "From the build standard: X" with a button to the sheet. Old saves move a model or line system from an order that was running into the standard when it has none of its own; a paused order's or an unhired intern's setting is dropped. opsParam refuses model/sys and points at bstdSet. The build standard's order is a generator now: every first job that takes a fiber dark goes through the optical order's routing test (opsDark, in the route worker in play), under one shared budget of dark swaps a night (two for Kevin) and the week-long memory for a failed fiber. A fiber one order worked on is the other's no more that shift, and decom keeps waves the standard just upgraded. The plan is checked at every job, since the shift rests between them: a POP gone or changed by hand meanwhile is skipped. The button still runs the whole plan at once on the page. --- CHANGELOG.md | 2 + docs/plans/next-session.md | 23 +- site/i18n/de.js | 9 +- site/i18n/es.js | 9 +- site/i18n/fr.js | 9 +- site/i18n/it.js | 9 +- site/i18n/pt.js | 9 +- src/agent/20-commands.js | 7 +- src/agent/30-docs.js | 2 +- src/game/60-features/95-standing-orders.js | 85 ++++--- src/game/60-features/96-pop-standard.js | 59 +++-- src/game/90-actions/88-build-standard.js | 2 +- src/game/93-ui/57-ops-panel.js | 6 +- src/game/93-ui/59-build-standard.js | 4 +- src/i18n/en.js | 9 +- src/styles/36-ops.css | 5 + tests/bstd-owner.test.js | 276 +++++++++++++++++++++ tests/build-standard.test.js | 9 +- tests/intern-optical-upgrade.test.js | 34 ++- tests/intern-personas.test.js | 2 +- tests/intern-router-model.test.js | 114 ++++++--- tests/mcp-commands.test.js | 27 ++ 22 files changed, 573 insertions(+), 138 deletions(-) create mode 100644 tests/bstd-owner.test.js diff --git a/CHANGELOG.md b/CHANGELOG.md index 0e2a378..6ed9b59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- The router model and the line system your intern standardizes on are now picked in one place, the build standard. Keep routers ahead and Upgrade optical transport take them from there and say so, with a button to the sheet. With a model or line system in the standard, both orders bring everything up to it and stop there (Upgrade optical transport on every fiber, even at POPs that Keep to the build standard skips); "Keep as is" leaves them to the next one up when busy. A model or line system you had picked in an order that was running moves into your standard, so new POPs get that model too. +- Your intern no longer takes a fiber dark for the build standard just because it looks quiet: like the optical upgrade order, it first checks that every gigabit, circuit and express gets around the fiber for the day. The two orders share one line system swap a night (two for Kevin), never work on the same fiber in one shift, and a wave the standard just upgraded is no longer handed back the same day. - Whoever runs sales can now answer renewal haggles for you, each in their own way: switch it on at the sales desk. The engineer keeps nerdy customers at the market price and gives everyone else their discount, the shark refuses discounts and some customers walk, and the CEO settles it on the golf course, for better or worse. - The three interns now each have something they are best at: Anycast Annie peers every day and orders PNIs twice a week, Kevin from the night shift swaps two line systems a night and never fat-fingers anything, and Tracy Route buys capacity as if traffic were already 10% higher. They run the same orders at the same salary. - Your intern can upgrade optical transport: a new standing order moves full, busy fiber to a bigger line system, or trades its smallest channels for bigger optics. Pick a line system, and every fiber on a smaller one is moved up to it. A line system swap takes the fiber down for a day, so the intern only does it where the traffic gets around it and no customer rides it, one a night. diff --git a/docs/plans/next-session.md b/docs/plans/next-session.md index b46aeb6..be20f7b 100644 --- a/docs/plans/next-session.md +++ b/docs/plans/next-session.md @@ -6,16 +6,9 @@ planned or known, not built. ## Promised and not done yet -1. **Router model and line system set in one place only.** The build standard (`S.popStd.g`, `S.popStd.sys`) and two - standing-order settings say the same thing: the `routers` order's `model` (upstream 1e7638c) and the `optup` order's - `sys` (upstream 647e302). Neither ever steps down, so they do not fight, but a player can pick two different targets. - Plan: the Build standard sheet becomes the only place to pick them. The `routers` order reads its model from the - standard, and `optup` its line system (their lists turn into a line "from the build standard: X, change"); sanitize - moves an old `model`/`sys` setting into `S.popStd` when the standard has none. -2. **One owner per fiber for line systems and optics.** `std` (sys/opt targets: a quiet fiber, or a parallel link with - room) and `optup` (one full routing without the fiber, one a night) can each darken a fiber in the same shift. Let `std` - use `optup`'s check (`opsDarkOk`) for line-system swaps, or skip fibers `optup` is working on. Today `std` also holds - any fiber that carries an express with traffic; `opsDarkOk` would handle that case by itself. +1. and 2. are built: the router model and the line system are picked in the Build standard sheet only (the `routers` and + `optup` orders read `bstd().g` / `bstd().sys`; sanitize moves an old setting into `S.popStd`), and `std` takes a fiber + dark on `optup`'s routing test (`opsDark()`), sharing its budget a night, with one owner per fiber a shift (`X.fib`). ## Next features @@ -58,8 +51,14 @@ planned or known, not built. the server does not verify them; a save over ~60 KB sends only the card when the tab closes; the HUD chip in phone landscape wider than 760 px was not measured. Behind a reverse proxy, run the server with `--trust-proxy`, or every player shares one address for the rate limits. -- **Build standard:** the game menu has 8 tiles in a multiplayer game (7 otherwise), so the last row is not full; a wave - the standard just upgraded can still be handed back the same day by `decom` if a bigger parallel link carries it. +- **Build standard:** the game menu has 8 tiles in a multiplayer game (7 otherwise), so the last row is not full. The + sheet's quote and "Bring everything up now" still judge a line-system swap without routing (`bstdDarkOk()`: a quiet + fiber, under 10% of its capacity, or a parallel link with room; any express with traffic holds its fibers, + `bstdXpBusy()`), so the quote is the bill; only the intern routes to test. A quiet fiber with no way around can still + go dark from the button. An old save's `routers.model` moved into the standard (only from a running order with an + intern hired; a paused one's is dropped) also becomes what new POPs get. A model or line system in the standard is a + ceiling for the `routers` and `optup` orders (their next-one-up rule only applies with "keep"), as an order's own + model was before; `optup` has no per-POP exceptions, so it moves fiber at POPs excepted from `std` too. - **Dark mode (#80):** red error text on dark tinted cards is about 3.8–4.3:1 (bold, but below AA 4.5); the share card PNG and the web manifest stay light; the WebGL map was checked by tests only, not by eye in a real GPU browser. - **IPv4 (#150):** the intern does not manage addresses (optional in the issue); transfers are instant; lease-out income diff --git a/site/i18n/de.js b/site/i18n/de.js index 0b4dacd..92d66ae 100644 --- a/site/i18n/de.js +++ b/site/i18n/de.js @@ -413,7 +413,7 @@ "bstd.edit":"Build-Standard bearbeiten", "bstd.every_exchange":"Wo es einen IX gibt", "bstd.fastest":"Die schnellste, die reicht", -"bstd.fiber_note":"Ein Line-System-Tausch legt die Glasfaser einen Tag dunkel: nur wenn sie ruhig ist oder ein paralleler Link ihre Last trägt.", +"bstd.fiber_note_two":"Ein Line-System-Tausch legt die Glasfaser einen Tag dunkel. Der Button macht das nur bei ruhiger Faser oder wenn ein paralleler Link ihre Last trägt; dein Praktikant nur, wenn der ganze Verkehr um die Faser herumkommt.", "bstd.from_level":"(Level {lv})", "bstd.g_fiber":"Glasfaser und Waves", "bstd.g_port":"Ports und Peering", @@ -3402,6 +3402,7 @@ "ops.fire":"Entlassen", "ops.fired":"{name} hat den Ausweis abgegeben und den guten Tacker mitgenommen. Deine Daueraufträge ruhen.", "ops.floor":"Mindestens behalten", +"ops.from_bstd":"Aus dem Build-Standard: {x}", "ops.good_annie":"Am besten beim Peering: geht die Exchanges jeden Tag durch statt wöchentlich und bestellt zweimal pro Woche PNIs.", "ops.good_kevin":"Am besten bei Wartung: zwei Line-System-Tausche pro Nacht statt einem, und nie ein dicker Finger.", "ops.good_tracy":"Am besten im Vorausplanen: kauft Transit, Ports, Router und Optiken, als wäre der Traffic schon 10 % höher.", @@ -3458,7 +3459,7 @@ "ops.o_optics":"Mehr Dark Fiber beleuchten", "ops.o_optics_d":"Optiken auf heiß laufende Dark Fiber stecken und neue Glasfaser am Tag der Übergabe beleuchten.", "ops.o_optup":"Optischen Transport ausbauen", -"ops.o_optup_d":"Auf Glasfaser, die voll ist und heiß läuft, das Line System eine Größe hochziehen oder die kleinsten Kanäle gegen größere Optiken tauschen (die alten kommen ins Ersatzteillager). Wähl ein Line System, und jede Faser mit einem kleineren wird darauf hochgezogen. Ein Tausch des Line Systems legt die Faser für einen Tag lahm, also nur, wo der Traffic einen Weg drumherum hat und kein Kunde darauf fährt, einer pro Nacht.", +"ops.o_optup_std_d":"Auf Glasfaser, die voll ist und heiß läuft, das Line System eine Größe hochziehen oder die kleinsten Kanäle gegen größere Optiken tauschen (die alten kommen ins Ersatzteillager). Steht ein Line System im Build-Standard, wird jede Faser mit einem kleineren darauf hochgezogen. Ein Tausch des Line Systems legt die Faser für einen Tag lahm, also nur, wo der Traffic einen Weg drumherum hat und kein Kunde darauf fährt, einer pro Nacht zusammen mit „Build-Standard einhalten“.", "ops.o_pni":"PNI mit den Großen", "ops.o_pni_d":"Jede Woche: mit jedem willigen Netz, das an deinen POPs genug Traffic schickt, einen PNI bestellen, in der jeweils kleinsten Größe des Netzes.", "ops.o_ports":"Peering-Reserve halten", @@ -3466,9 +3467,9 @@ "ops.o_repair":"Reparaturen beschleunigen", "ops.o_repair_d":"Für jeden Ausfall mit Eil-Reparatur zahlen, solange das Budget reicht.", "ops.o_routers":"Router voraus halten", -"ops.o_routers_desc":"Einen Router dazustellen oder auf die nächste Generation tauschen, wo ein zweiter Router den Traffic trägt, sobald Last oder Ports eine Grenze überschreiten. Wähl ein Modell, und jeder POP mit einem kleineren wird darauf getauscht, der am meisten ausgelastete zuerst, im Rahmen des Budgets.", +"ops.o_routers_std_d":"Einen Router dazustellen oder auf die nächste Generation tauschen, wo ein zweiter Router den Traffic trägt, sobald Last oder Ports eine Grenze überschreiten. Steht ein Router-Modell im Build-Standard, wird stattdessen jeder POP mit einem kleineren darauf getauscht, der am meisten ausgelastete zuerst, im Rahmen des Budgets.", "ops.o_std":"Build-Standard einhalten", -"ops.o_std_d":"POPs, Ports und Glasfaser auf deinen Build-Standard bringen, die meistbelasteten zuerst, ein paar Jobs pro Schicht. Vor einem Tausch kommt ein zweiter Router rein, und ein Line System wechselt nur auf einer ruhigen Glasfaser.", +"ops.o_std_around_d":"POPs, Ports und Glasfaser auf deinen Build-Standard bringen, die meistbelasteten zuerst, ein paar Jobs pro Schicht. Vor einem Tausch kommt ein zweiter Router rein, und ein Line System wechselt nur, wo der Traffic für den dunklen Tag einen Weg um die Faser hat und kein Kunde darauf fährt, einer pro Nacht zusammen mit „Optischen Transport ausbauen“.", "ops.o_transit":"Transit-Reserve halten", "ops.o_transit_d":"Transit an jedem POP über einem Vielfachen seiner 30-Tage-Spitze halten: ein LAG-Member dazu oder eine Portgröße hoch.", "ops.ops":"Ops", diff --git a/site/i18n/es.js b/site/i18n/es.js index 54e4971..b9e5de1 100644 --- a/site/i18n/es.js +++ b/site/i18n/es.js @@ -411,7 +411,7 @@ "bstd.edit":"Editar el estándar de red", "bstd.every_exchange":"Donde haya un IX", "bstd.fastest":"La más rápida que llegue", -"bstd.fiber_note":"Cambiar el sistema de línea deja la fibra apagada un día: solo si va tranquila o un enlace paralelo lleva su carga.", +"bstd.fiber_note_two":"Cambiar el sistema de línea deja la fibra apagada un día. El botón solo lo hace si va tranquila o un enlace paralelo lleva su carga; tu becario, solo si todo el tráfico puede rodear la fibra.", "bstd.from_level":"(nivel {lv})", "bstd.g_fiber":"Fibra y ondas", "bstd.g_port":"Puertos y peering", @@ -3400,6 +3400,7 @@ "ops.fire":"Despedir", "ops.fired":"{name} devolvió la tarjeta y se llevó la grapadora buena. Tus órdenes permanentes quedan en pausa.", "ops.floor":"Conservar al menos", +"ops.from_bstd":"Del estándar de red: {x}", "ops.good_annie":"La mejor en peering: repasa los exchanges cada día, no cada semana, y pide PNI dos veces por semana.", "ops.good_kevin":"El mejor en mantenimiento: dos cambios de sistema de línea por noche en vez de uno, y nunca un dedazo.", "ops.good_tracy":"La mejor planificando: compra tránsito, puertos, routers y ópticas como si el tráfico ya fuera un 10 % mayor.", @@ -3456,7 +3457,7 @@ "ops.o_optics":"Encender más fibra", "ops.o_optics_d":"Añadir ópticas a la fibra oscura que va caliente y encender la fibra nueva el día que te la entregan.", "ops.o_optup":"Mejorar el transporte óptico", -"ops.o_optup_d":"En la fibra que está llena y va caliente, sube el sistema de línea un tamaño o cambia los canales más pequeños por ópticas más grandes (las viejas van a la estantería). Elige un sistema de línea y cada fibra con uno más pequeño sube a ese. Cambiar el sistema de línea deja la fibra sin servicio un día, así que solo donde el tráfico puede rodearla y ningún cliente va por ella, uno por noche.", +"ops.o_optup_std_d":"En la fibra que está llena y va caliente, sube el sistema de línea un tamaño o cambia los canales más pequeños por ópticas más grandes (las viejas van a la estantería). Con un sistema de línea en el estándar de red, cada fibra con uno más pequeño sube a ese. Cambiar el sistema de línea deja la fibra sin servicio un día, así que solo donde el tráfico puede rodearla y ningún cliente va por ella, uno por noche junto con «Mantener el estándar de red».", "ops.o_pni":"PNI con los grandes", "ops.o_pni_d":"Cada semana: pedir un PNI a cada red dispuesta que envíe suficiente tráfico en tus POPs, con el tamaño mínimo de cada red.", "ops.o_ports":"Margen en puertos de peering", @@ -3464,9 +3465,9 @@ "ops.o_repair":"Acelerar reparaciones", "ops.o_repair_d":"Pagar la reparación urgente de cada caída que la tenga, mientras dure el presupuesto.", "ops.o_routers":"Routers por delante", -"ops.o_routers_desc":"Añadir un router, o pasar a la siguiente generación donde un segundo router lleve el tráfico, cuando la carga o los puertos pasen de un nivel. Elige un modelo y cada POP con uno más pequeño se cambia a ese, primero el más cargado, dentro del presupuesto.", +"ops.o_routers_std_d":"Añadir un router, o pasar a la siguiente generación donde un segundo router lleve el tráfico, cuando la carga o los puertos pasen de un nivel. Con un modelo de router en el estándar de red, cada POP con uno más pequeño se cambia a ese, primero el más cargado, dentro del presupuesto.", "ops.o_std":"Mantener el estándar de red", -"ops.o_std_d":"Poner los POP, los puertos y la fibra al nivel de tu estándar de red, los más cargados primero, unos pocos trabajos por turno. Antes de un cambio entra un segundo router, y el sistema de línea solo cambia en una fibra tranquila.", +"ops.o_std_around_d":"Poner los POP, los puertos y la fibra al nivel de tu estándar de red, los más cargados primero, unos pocos trabajos por turno. Antes de un cambio entra un segundo router, y el sistema de línea solo cambia donde el tráfico puede rodear la fibra el día que queda a oscuras y ningún cliente va por ella, uno por noche junto con «Mejorar el transporte óptico».", "ops.o_transit":"Margen de tránsito", "ops.o_transit_d":"Mantener el tránsito de cada POP por encima de un múltiplo de su pico de 30 días: un miembro LAG más o un tamaño de puerto mayor.", "ops.ops":"Ops", diff --git a/site/i18n/fr.js b/site/i18n/fr.js index d3d4cd4..dbc21c6 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -411,7 +411,7 @@ "bstd.edit":"Modifier le standard réseau", "bstd.every_exchange":"Partout où il y a un IX", "bstd.fastest":"La plus rapide qui porte", -"bstd.fiber_note":"Changer le système de ligne éteint la fibre pendant un jour : seulement si elle est calme ou qu’un lien parallèle porte sa charge.", +"bstd.fiber_note_two":"Changer le système de ligne éteint la fibre pendant un jour. Le bouton ne le fait que si elle est calme ou qu’un lien parallèle porte sa charge ; ton stagiaire, seulement si tout le trafic peut contourner la fibre.", "bstd.from_level":"(niveau {lv})", "bstd.g_fiber":"Fibre et longueurs d’onde", "bstd.g_port":"Ports et peering", @@ -3400,6 +3400,7 @@ "ops.fire":"Remercier", "ops.fired":"{name} a rendu son badge et emporté la bonne agrafeuse. Tes ordres permanents sont en pause.", "ops.floor":"Garder au moins", +"ops.from_bstd":"Selon le standard réseau : {x}", "ops.good_annie":"La meilleure en peering : passe les exchanges en revue chaque jour, pas chaque semaine, et commande des PNI deux fois par semaine.", "ops.good_kevin":"Le meilleur en maintenance : deux changements de système de ligne par nuit au lieu d’un, et jamais une faute de frappe.", "ops.good_tracy":"La meilleure pour anticiper : achète transit, ports, routeurs et optiques comme si le trafic était déjà 10 % plus haut.", @@ -3456,7 +3457,7 @@ "ops.o_optics":"Allumer plus de fibre", "ops.o_optics_d":"Ajouter des optiques sur la fibre noire qui chauffe, et allumer la nouvelle fibre le jour de sa livraison.", "ops.o_optup":"Améliorer le transport optique", -"ops.o_optup_d":"Sur une fibre pleine qui chauffe, passer le système de ligne à la taille au-dessus, ou échanger les plus petits canaux contre des optiques plus grandes (les anciennes partent sur l’étagère). Choisissez un système de ligne, et chaque fibre équipée d’un plus petit y passe. Un changement de système de ligne coupe la fibre pour une journée : seulement là où le trafic peut la contourner et où aucun client ne passe, un par nuit.", +"ops.o_optup_std_d":"Sur une fibre pleine qui chauffe, passer le système de ligne à la taille au-dessus, ou échanger les plus petits canaux contre des optiques plus grandes (les anciennes partent sur l’étagère). Avec un système de ligne dans le standard réseau, chaque fibre équipée d’un plus petit y passe. Un changement de système de ligne coupe la fibre pour une journée : seulement là où le trafic peut la contourner et où aucun client ne passe, un par nuit avec « Tenir le standard réseau ».", "ops.o_pni":"PNI avec les gros", "ops.o_pni_d":"Chaque semaine : commander un PNI avec chaque réseau partant qui envoie assez de trafic sur tes POP, à la taille minimale de chaque réseau.", "ops.o_ports":"Garder de la marge sur les ports de peering", @@ -3464,9 +3465,9 @@ "ops.o_repair":"Accélérer les réparations", "ops.o_repair_d":"Payer la réparation express de chaque panne qui en a une, tant que le budget suit.", "ops.o_routers":"Garder les routeurs en avance", -"ops.o_routers_desc":"Ajouter un routeur, ou passer à la génération suivante là où un second routeur porte le trafic, quand la charge ou les ports dépassent un seuil. Choisissez un modèle, et chaque POP équipé d’un plus petit passe à celui-ci, le plus chargé d’abord, dans la limite du budget.", +"ops.o_routers_std_d":"Ajouter un routeur, ou passer à la génération suivante là où un second routeur porte le trafic, quand la charge ou les ports dépassent un seuil. Avec un modèle de routeur dans le standard réseau, chaque POP équipé d’un plus petit passe à celui-ci, le plus chargé d’abord, dans la limite du budget.", "ops.o_std":"Tenir le standard réseau", -"ops.o_std_d":"Mettre POP, ports et fibre au niveau de ton standard réseau, les plus chargés d’abord, quelques chantiers par service. Un second routeur arrive avant un échange, et le système de ligne ne change que sur une fibre calme.", +"ops.o_std_around_d":"Mettre POP, ports et fibre au niveau de ton standard réseau, les plus chargés d’abord, quelques chantiers par service. Un second routeur arrive avant un échange, et le système de ligne ne change que là où le trafic peut contourner la fibre le jour où elle est coupée et où aucun client ne passe, un par nuit avec « Améliorer le transport optique ».", "ops.o_transit":"Garder de la marge de transit", "ops.o_transit_d":"Garder le transit de chaque POP au-dessus d'un multiple de son pic sur 30 jours : un membre LAG de plus, ou une taille de port au-dessus.", "ops.ops":"Ops", diff --git a/site/i18n/it.js b/site/i18n/it.js index 618b5ba..34f9e6a 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -411,7 +411,7 @@ "bstd.edit":"Modifica lo standard di rete", "bstd.every_exchange":"Ovunque ci sia un IX", "bstd.fastest":"La più veloce che arriva", -"bstd.fiber_note":"Cambiare il sistema di linea spegne la fibra per un giorno: solo se è tranquilla o se un link parallelo ne regge il carico.", +"bstd.fiber_note_two":"Cambiare il sistema di linea spegne la fibra per un giorno. Il pulsante lo fa solo se è tranquilla o se un link parallelo ne regge il carico; il tuo stagista solo se tutto il traffico può aggirare la fibra.", "bstd.from_level":"(livello {lv})", "bstd.g_fiber":"Fibra e wave", "bstd.g_port":"Porte e peering", @@ -3400,6 +3400,7 @@ "ops.fire":"Licenzia", "ops.fired":"{name} ha restituito il badge e si è preso la spillatrice buona. I tuoi ordini permanenti sono in pausa.", "ops.floor":"Tieni almeno", +"ops.from_bstd":"Dallo standard di rete: {x}", "ops.good_annie":"La migliore nel peering: passa gli exchange ogni giorno, non ogni settimana, e ordina PNI due volte a settimana.", "ops.good_kevin":"Il migliore nella manutenzione: due cambi di line system per notte invece di uno, e mai un errore di battitura.", "ops.good_tracy":"La migliore a pianificare: compra transito, porte, router e ottiche come se il traffico fosse già più alto del 10%.", @@ -3456,7 +3457,7 @@ "ops.o_optics":"Accendi più fibra", "ops.o_optics_d":"Aggiungi ottiche alla dark fiber che scotta e accendi la fibra nuova il giorno della consegna.", "ops.o_optup":"Potenzia il trasporto ottico", -"ops.o_optup_d":"Sulla fibra piena che va calda, porta il line system alla taglia successiva, o scambia i canali più piccoli con ottiche più grandi (le vecchie finiscono a scaffale). Scegli un line system e ogni fibra con uno più piccolo passa a quello. Cambiare line system spegne la fibra per un giorno, quindi solo dove il traffico può girarle intorno e nessun cliente ci passa, uno per notte.", +"ops.o_optup_std_d":"Sulla fibra piena che va calda, porta il line system alla taglia successiva, o scambia i canali più piccoli con ottiche più grandi (le vecchie finiscono a scaffale). Con un line system nello standard di rete, ogni fibra con uno più piccolo passa a quello. Cambiare line system spegne la fibra per un giorno, quindi solo dove il traffico può girarle intorno e nessun cliente ci passa, uno per notte insieme a “Tieni lo standard di rete”.", "ops.o_pni":"PNI con i grandi", "ops.o_pni_d":"Ogni settimana: ordina un PNI con ogni rete disponibile che manda abbastanza traffico nei tuoi POP, alla taglia minima di ciascuna rete.", "ops.o_ports":"Margine sulle porte di peering", @@ -3464,9 +3465,9 @@ "ops.o_repair":"Accelera le riparazioni", "ops.o_repair_d":"Paga la riparazione urgente di ogni guasto che ce l'ha, finché il budget regge.", "ops.o_routers":"Router sempre avanti", -"ops.o_routers_desc":"Aggiungi un router, o passa alla generazione successiva dove un secondo router regge il traffico, quando carico o porte superano una soglia. Scegli un modello e ogni POP con uno più piccolo passa a quello, prima il più carico, nei limiti del budget.", +"ops.o_routers_std_d":"Aggiungi un router, o passa alla generazione successiva dove un secondo router regge il traffico, quando carico o porte superano una soglia. Con un modello di router nello standard di rete, ogni POP con uno più piccolo passa a quello, prima il più carico, nei limiti del budget.", "ops.o_std":"Tieni lo standard di rete", -"ops.o_std_d":"Porta POP, porte e fibra al tuo standard di rete, i più carichi prima, qualche lavoro a turno. Prima di uno scambio arriva un secondo router, e il sistema di linea cambia solo su una fibra tranquilla.", +"ops.o_std_around_d":"Porta POP, porte e fibra al tuo standard di rete, i più carichi prima, qualche lavoro a turno. Prima di uno scambio arriva un secondo router, e il sistema di linea cambia solo dove il traffico può girare intorno alla fibra nel giorno in cui è spenta e nessun cliente ci passa, uno per notte insieme a “Potenzia il trasporto ottico”.", "ops.o_transit":"Margine di transit", "ops.o_transit_d":"Tieni il transit di ogni POP sopra un multiplo del suo picco a 30 giorni: un membro LAG in più, o una porta più grande.", "ops.ops":"Ops", diff --git a/site/i18n/pt.js b/site/i18n/pt.js index b301858..71d1198 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -411,7 +411,7 @@ "bstd.edit":"Editar o padrão de rede", "bstd.every_exchange":"Onde houver um IX", "bstd.fastest":"A mais rápida que alcança", -"bstd.fiber_note":"Trocar o sistema de linha apaga a fibra por um dia: só quando ela está tranquila ou um link paralelo leva a carga.", +"bstd.fiber_note_two":"Trocar o sistema de linha apaga a fibra por um dia. O botão só faz isso quando ela está tranquila ou um link paralelo leva a carga; seu estagiário só quando todo o tráfego consegue contornar a fibra.", "bstd.from_level":"(nível {lv})", "bstd.g_fiber":"Fibra e waves", "bstd.g_port":"Portas e peering", @@ -3400,6 +3400,7 @@ "ops.fire":"Dispensar", "ops.fired":"{name} devolveu o crachá e levou o grampeador bom. Suas ordens permanentes estão em pausa.", "ops.floor":"Manter pelo menos", +"ops.from_bstd":"Do padrão de rede: {x}", "ops.good_annie":"A melhor em peering: passa pelos exchanges todo dia, não toda semana, e pede PNIs duas vezes por semana.", "ops.good_kevin":"O melhor em manutenção: duas trocas de sistema de linha por noite em vez de uma, e nunca um dedo gordo.", "ops.good_tracy":"A melhor em planejar: compra trânsito, portas, roteadores e ópticas como se o tráfego já estivesse 10% maior.", @@ -3456,7 +3457,7 @@ "ops.o_optics":"Acender mais fibra", "ops.o_optics_d":"Adicionar ópticas à fibra escura que está esquentando e acender a fibra nova no dia da entrega.", "ops.o_optup":"Melhorar o transporte óptico", -"ops.o_optup_d":"Na fibra que está cheia e esquentando, sobe o sistema de linha um tamanho ou troca os canais menores por ópticas maiores (as antigas vão para a prateleira). Escolha um sistema de linha e cada fibra com um menor sobe para ele. Trocar o sistema de linha derruba a fibra por um dia, então só onde o tráfego consegue contorná-la e nenhum cliente passa por ela, uma por noite.", +"ops.o_optup_std_d":"Na fibra que está cheia e esquentando, sobe o sistema de linha um tamanho ou troca os canais menores por ópticas maiores (as antigas vão para a prateleira). Com um sistema de linha no padrão de rede, cada fibra com um menor sobe para ele. Trocar o sistema de linha derruba a fibra por um dia, então só onde o tráfego consegue contorná-la e nenhum cliente passa por ela, uma por noite junto com “Manter o padrão de rede”.", "ops.o_pni":"PNI com os grandes", "ops.o_pni_d":"Toda semana: pedir um PNI com cada rede disposta que mande tráfego suficiente nos seus POPs, no tamanho mínimo de cada rede.", "ops.o_ports":"Folga nas portas de peering", @@ -3464,9 +3465,9 @@ "ops.o_repair":"Acelerar reparos", "ops.o_repair_d":"Pagar o reparo urgente de cada queda que tenha um, enquanto o orçamento durar.", "ops.o_routers":"Roteadores à frente", -"ops.o_routers_desc":"Adicionar um roteador, ou trocar para a próxima geração onde um segundo roteador segura o tráfego, quando a carga ou as portas passarem de um nível. Escolha um modelo e cada POP com um menor é trocado para ele, o mais carregado primeiro, dentro do orçamento.", +"ops.o_routers_std_d":"Adicionar um roteador, ou trocar para a próxima geração onde um segundo roteador segura o tráfego, quando a carga ou as portas passarem de um nível. Com um modelo de roteador no padrão de rede, cada POP com um menor é trocado para ele, o mais carregado primeiro, dentro do orçamento.", "ops.o_std":"Manter o padrão de rede", -"ops.o_std_d":"Colocar POPs, portas e fibra no seu padrão de rede, os mais carregados primeiro, alguns trabalhos por turno. Antes de uma troca entra um segundo roteador, e o sistema de linha só muda numa fibra tranquila.", +"ops.o_std_around_d":"Colocar POPs, portas e fibra no seu padrão de rede, os mais carregados primeiro, alguns trabalhos por turno. Antes de uma troca entra um segundo roteador, e o sistema de linha só muda onde o tráfego consegue contornar a fibra no dia em que ela fica apagada e nenhum cliente passa por ela, uma por noite junto com “Melhorar o transporte óptico”.", "ops.o_transit":"Folga de trânsito", "ops.o_transit_d":"Manter o trânsito de cada POP acima de um múltiplo do seu pico de 30 dias: mais um membro LAG, ou um tamanho de porta acima.", "ops.ops":"Ops", diff --git a/src/agent/20-commands.js b/src/agent/20-commands.js index 20b1366..e9a2a7c 100644 --- a/src/agent/20-commands.js +++ b/src/agent/20-commands.js @@ -367,7 +367,10 @@ const API_CMD={ opsToggle:{args:[['k','opsKey']],watch:['ops'], doc:'Pause or resume one standing order. Keys come from catalog(\'OPSK\'); the sheet in the game shows what each one does.'}, opsParam:{args:[['k','opsKey'],['p','string'],['v','string',false]],watch:['ops'], - doc:'Step one of a standing order\'s settings to its next value (the provider to prefer, the port size to order, the load ceiling…). With v (a position in the list the sheet shows, 0 first) it picks that value instead, such as the model to standardize routers on.'}, + // The routers order's model and the optup order's line system were settings once: they are the build standard's now. + pass:a=>{const b={routers:{model:'g'},optup:{sys:'sys'}}[a.k],t=b&&b[a.p]; + if(t)throw new Error(`the ${a.k} order takes its ${t==='g'?'router model':'line system'} from the build standard: set it with bstdSet (k "${t}")`);return a;}, + doc:'Step one of a standing order\'s settings to its next value (the provider to prefer, the port size to order, the load ceiling…). With v (a position in the list the sheet shows, 0 first) it picks that value instead. The routers order\'s model and the optup order\'s line system are not settings: both orders take them from the build standard (bstdSet k "g" and k "sys"; "keep" leaves them to the next model or line system up, when needed).'}, opsCap:{args:[['k','opsKey'],['v','string',false]],watch:['ops'], doc:'Step the monthly budget of an order that has one: 10k, 50k, 250k, 1M, 5M, no limit (for caches, a cap on the rent it adds: 1k, 2.5k, 5k, 10k, 25k, no limit). With v (a position in that list, 0 first) it picks that one.'}, opsFloor:{args:[['v','string',false]],watch:['ops'], @@ -424,7 +427,7 @@ const API_CMD={ popStdClear:{args:[],watch:['popStd'], doc:'Clear the whole build standard; new POPs go back to one basic router.'}, bstdSet:{args:[['k','bstdKey'],['v','string',false]],watch:['popStd'], - doc:'Set one target of the build standard: g router model, rt routers, site2 second building, gen generator, lag LAG members on transit, IX and PNI ports, split LAGs across both buildings, ix an IX port wherever the city has an exchange, pni PNIs per network in at least that many cities, sys line system, opt fastest optics, wv waves at least that size. Without v it steps to the next value; with v (a position in the list the sheet shows, 0 first, "keep" first) it picks that one.'}, + doc:'Set one target of the build standard: g router model, rt routers, site2 second building, gen generator, lag LAG members on transit, IX and PNI ports, split LAGs across both buildings, ix an IX port wherever the city has an exchange, pni PNIs per network in at least that many cities, sys line system, opt fastest optics, wv waves at least that size. g and sys are also what the intern\'s routers and optup orders standardize on. Without v it steps to the next value; with v (a position in the list the sheet shows, 0 first, "keep" first) it picks that one.'}, bstdApply:{args:[],watch:['pops','transit','pni','ixp','ixn','ixSite','links','spares'], quote:a=>{const q=bstdQuote(false);return {setup:q.cost,monthly:q.mo,blocked:q.held.map(w=>w.split('|').map(c=>CITY[c].name).join('–')+': its line system waits until the fiber is quiet or a parallel link can carry its load for the day it goes dark')};}, doc:'Bring everything up to the build standard now, the busiest first, while cash lasts: routers, buildings, generators, LAG members, IX ports, PNIs, line systems, optics and waves. A line-system swap waits unless the fiber is quiet or a parallel link carries its load: such a fiber gets the best optics its line system takes, and the quote lists it under blocked. The quote is the whole bill.'}, diff --git a/src/agent/30-docs.js b/src/agent/30-docs.js index 3fe830f..edbe60c 100644 --- a/src/agent/30-docs.js +++ b/src/agent/30-docs.js @@ -62,7 +62,7 @@ const API_STATE_DOC={ core:{type:'map',doc:'Your backbone technology: lv bought, the level it runs at, the interop lab.'}, ddosAuto:{type:'map',doc:'The NOC\'s auto-mitigation switches: rtbh and scrub.'}, ip4:{type:'map',doc:'IPv4 address space (rule ip4): b, the blocks, at most 256 (len: prefix length 16-24, k: rir from the registry, buy bought, in leased in; d: the day it last moved, out: leased out, mo: the monthly fee or income), nat: homes per address behind CGNAT, w: which warnings were shown. What customers use is derived from their kind and size.'}, - popStd:{type:'map',doc:'The build standard, or null for none. g router model (an RG index), rt routers, then only the targets that are set: site2, gen (true), lag (2 or 4 members), split, ix (true), pni (2 or 3 cities per network), sys (roadm, cl), opt (fast), wv (an LT index). New POPs get g, rt, site2 and gen at once; the std standing order and bstdApply bring the rest up.'}, + popStd:{type:'map',doc:'The build standard, or null for none. g router model (an RG index), rt routers, then only the targets that are set: site2, gen (true), lag (2 or 4 members), split, ix (true), pni (2 or 3 cities per network), sys (roadm, cl), opt (fast), wv (an LT index). New POPs get g, rt, site2 and gen at once; the std standing order and bstdApply bring the rest up. g and sys are also the model the routers order and the line system the optup order standardize on.'}, mp:{type:'map',doc:'Multiplayer, only in a self-hosted copy with a session server: the session code, your player id, the AS number and seed the session gave you, its rules preset, your colour, its title and the last save number the server holds; null in every other game.'}, demo:{type:'map',doc:'Vendor demo units on order, by "kind:id" → ready day.'}, seatOff:{type:'map',doc:'The pending consortium-cable seat offer: landings, km, name, expiry day.'}, diff --git a/src/game/60-features/95-standing-orders.js b/src/game/60-features/95-standing-orders.js index 4484fb2..ac49827 100644 --- a/src/game/60-features/95-standing-orders.js +++ b/src/game/60-features/95-standing-orders.js @@ -18,20 +18,19 @@ const OPS_AHEAD=1.1,opsIs=id=>!!S&&!!S.ops&&S.ops.intern===id,opsAhead=()=>opsIs const OPS=[ {k:'transit',i:'📈',pop:1,cap:50000,t:N_('ops.o_transit'),d:N_('ops.o_transit_d'),p:{x:{d:1.5,v:[1.25,1.5,2,3],l:N_('ops.p_x'),f:v=>v+'×'},prov:{d:'cheap',ok:v=>v==='cheap'||v==='have'||(isNet(v)&&!!NET[v].price),l:N_('ops.p_prov')}}}, {k:'ports',i:'🔌',pop:1,cap:50000,t:N_('ops.o_ports'),d:N_('ops.o_ports_d'),p:{x:{d:1.5,v:[1.25,1.5,2,3],l:N_('ops.p_x'),f:v=>v+'×'}}}, - {k:'routers',i:'🧠',pop:1,cap:250000,t:N_('ops.o_routers'),d:N_('ops.o_routers_desc'),p:{at:{d:80,v:[60,70,80,90],l:N_('ops.p_at'),f:v=>v+'%'},how:{d:'auto',v:['auto','add','swap'],l:N_('ops.p_how'),f:v=>tr({auto:N_('ops.how_auto'),add:N_('ops.how_add'),swap:N_('ops.how_swap')}[v])}, - // A model to standardize on: every POP on a smaller one is swapped to it, busiest first, within the budget. - model:{d:'next',ok:v=>v==='next'||(Number.isInteger(v)&&!!RG[v]),l:N_('ops.p_model'),f:v=>v==='next'?tr('ops.model_next'):RG[v].n}}}, + // The model to standardize on is the build standard's, set in its sheet (96-pop-standard.js): none of its own here. + {k:'routers',i:'🧠',pop:1,cap:250000,t:N_('ops.o_routers'),d:N_('ops.o_routers_std_d'),p:{at:{d:80,v:[60,70,80,90],l:N_('ops.p_at'),f:v=>v+'%'},how:{d:'auto',v:['auto','add','swap'],l:N_('ops.p_how'),f:v=>tr({auto:N_('ops.how_auto'),add:N_('ops.how_add'),swap:N_('ops.how_swap')}[v])}}}, // The build standard (96-pop-standard.js): its targets are set in their own sheet, so here it has only the budget. - {k:'std',i:'📐',pop:1,cap:250000,t:N_('ops.o_std'),d:N_('ops.o_std_d'),p:{}}, + {k:'std',i:'📐',pop:1,cap:250000,t:N_('ops.o_std'),d:N_('ops.o_std_around_d'),p:{}}, {k:'caches',i:'📦',pop:1,cap:5000,mo:1,t:N_('ops.o_caches'),d:N_('ops.o_caches_d'),p:{g:{d:5,v:[1,5,10,25,50],l:N_('ops.p_g'),f:v=>fmtG(v)}}}, {k:'ix',i:'🔀',t:N_('ops.o_ix'),d:N_('ops.o_ix_d'),p:{}}, {k:'pni',i:'🤝',pop:1,cap:50000,t:N_('ops.o_pni'),d:N_('ops.o_pni_d'),p:{g:{d:25,v:[5,10,25,50,100],l:N_('ops.p_g'),f:v=>fmtG(v)},tier:{d:0,v:[0,1,2],l:N_('ops.p_tier'),f:v=>tr('ops.at_least_port',{port:PORT[v].n})},paid:{d:false,v:[false,true],l:N_('ops.p_paid'),f:v=>v?tr('common.on'):tr('common.off')}}}, {k:'repair',i:'🔧',cap:50000,t:N_('ops.o_repair'),d:N_('ops.o_repair_d'),p:{}}, {k:'optics',i:'🌈',cap:250000,t:N_('ops.o_optics'),d:N_('ops.o_optics_d'),p:{at:{d:70,v:[50,60,70,80,90],l:N_('ops.p_at'),f:v=>v+'%'},pick:{d:'cheap',v:['cheap','big'],l:N_('ops.p_pick'),f:v=>tr({cheap:N_('ops.pick_cheap'),big:N_('ops.pick_big')}[v])}}}, // Line systems up to a bigger one, and optics swapped for bigger ones, on fiber that is full and runs hot, or every fiber up to - // a chosen line system. A line system swap is a day without that fiber: only where the traffic gets around it. - {k:'optup',i:'🔭',cap:250000,t:N_('ops.o_optup'),d:N_('ops.o_optup_d'),p:{at:{d:80,v:[60,70,80,90],l:N_('ops.p_at'),f:v=>v+'%'}, - sys:{d:'next',v:['next','roadm','cl'],l:N_('ops.p_sys'),f:v=>v==='next'?tr('ops.sys_next'):DF_SYS[v].n},swap:{d:true,v:[true,false],l:N_('ops.p_swap'),f:v=>v?tr('common.on'):tr('common.off')}}}, + // the build standard's line system. A line system swap is a day without that fiber: only where the traffic gets around it. + {k:'optup',i:'🔭',cap:250000,t:N_('ops.o_optup'),d:N_('ops.o_optup_std_d'),p:{at:{d:80,v:[60,70,80,90],l:N_('ops.p_at'),f:v=>v+'%'}, + swap:{d:true,v:[true,false],l:N_('ops.p_swap'),f:v=>v?tr('common.on'):tr('common.off')}}}, {k:'decom',i:'🧹',t:N_('ops.o_decom'),d:N_('ops.o_decom_d'),p:{keep:{d:true,v:[true,false],l:N_('ops.p_keep'),f:v=>v?tr('common.on'):tr('common.off')}}}, ]; const OPSK=Object.fromEntries(OPS.map(o=>[o.k,o])),OPS_POP=OPS.filter(o=>o.pop).map(o=>o.k); @@ -47,10 +46,9 @@ const opsHired=()=>!!(S&&S.ops&&S.ops.intern&&own(INTERNS,S.ops.intern)); const opsCanHire=()=>lvl()>=2; const opsName=(long)=>{const I=INTERNS[S.ops.intern];return I?tr(long?I.n:I.s):'';}; function opsP(k,p){const P=OPSK[k].p[p],v=S.ops.p[k]&&S.ops.p[k][p];return v!==undefined&&(P.ok?P.ok(v):P.v.includes(v))?v:P.d;} -// Every value a setting can take, in the order its list shows them: providers that sell where you have POPs, and router -// models you can buy, smallest first. The current value is always on the list, so the list can show it. -function opsOpts(k,p){const cur=opsP(k,p),L=p==='prov'?['cheap','have',...NETS.filter(n=>n.price&&Object.keys(S.pops).some(c=>sellsAt(n,c))).map(n=>n.id)] - :p==='model'?['next',...RG.map((r,i)=>i).filter(i=>rgOpen(i)).sort((a,b)=>RG[a].cls-RG[b].cls||RG[a].cap-RG[b].cap||a-b)]:OPSK[k].p[p].v.slice(); +// Every value a setting can take, in the order its list shows them, providers that sell where you have POPs as well. +// The current value is always on the list, so the list can show it. +function opsOpts(k,p){const cur=opsP(k,p),L=p==='prov'?['cheap','have',...NETS.filter(n=>n.price&&Object.keys(S.pops).some(c=>sellsAt(n,c))).map(n=>n.id)]:OPSK[k].p[p].v.slice(); if(!L.includes(cur))L.push(cur);return L;} const opsCaps=k=>OPSK[k].mo?OPS_CAPS_MO:OPS_CAPS; function opsCap(k){const c=S.ops.cap[k];return opsCaps(k).includes(c)?c:OPSK[k].cap||0;} @@ -64,6 +62,10 @@ function opsSanitize(s){const o=s.ops&&typeof s.ops==='object'&&!Array.isArray(s n.intern=typeof o.intern==='string'&&own(INTERNS,o.intern)?o.intern:null;n.hired=int(o.hired,0,1e7,0);n.mon=int(o.mon,0,1e6,0); n.floor=OPS_FLOORS.includes(o.floor)?o.floor:n.floor; const on=ob(o.on),p=ob(o.p),cap=ob(o.cap),sp=ob(o.spent); + // The routers order's model and the optical order's line system moved to the build standard (bstdAdopt()), each only + // from an order that ran: one paused, or with nobody hired, did nothing, and a standard's model costs every new POP. + const ran=k=>!!n.intern&&on[k]===true; + bstdAdopt(s,ran('routers')?ob(p.routers).model:undefined,ran('optup')?ob(p.optup).sys:undefined); for(const d of OPS){const k=d.k;n.on[k]=on[k]===true;const q=ob(p[k]),r={}; for(const pk of Object.keys(d.p)){const P=d.p[pk];if(own(q,pk)&&(P.ok?P.ok(q[pk]):P.v.includes(q[pk])))r[pk]=q[pk];}n.p[k]=r; if(d.cap&&opsCaps(k).includes(cap[k]))n.cap[k]=cap[k];if(d.cap)n.spent[k]=Math.max(0,num(sp[k],0)); @@ -122,8 +124,10 @@ function opsQuiet(fn){const a=after,t=toast,s=sfx,f=floater,sel=UI.sel,cf=UI.con // One shift's bookkeeping: what got done, and whether a job had to wait for next month's budget. // dirty: a job changed the network, so R (loads, routing) is out of date until the next compute(). // up/mo: what this shift paid up front and added to the monthly bill. +// dk: the night's fibers taken dark (n) and routings to test one (t), shared by the orders that do it (opsDarkRoom()). +// fib: the fibers and waves an order worked on this shift, by order: one owner per fiber a shift. function opsShift(){const r=new Map(),broke=new Set(); - return {r,broke,dirty:false,up:0,mo:0,did(k,w){this.dirty=true;const x=r.get(k)||{n:0,w:[]};x.n++;if(w&&x.w.length<3&&!x.w.includes(w))x.w.push(w);r.set(k,x);}, + return {r,broke,dirty:false,up:0,mo:0,dk:{n:0,t:0},fib:new Map(),did(k,w){this.dirty=true;const x=r.get(k)||{n:0,w:[]};x.n++;if(w&&x.w.length<3&&!x.w.includes(w))x.w.push(w);r.set(k,x);}, // A job that costs nothing up front still has to pass the cash floor if it adds to the monthly bill. // quiet: only asking, so a no is not logged as the budget running out. can(k,cost,mo=0,quiet){const O=S.ops,cap=opsCap(k);if(cost<=0&&!(mo>0))return true; @@ -145,14 +149,15 @@ const opsProv=c=>{const pv=opsP('transit','prov'),n=isNet(pv)?NET[pv]:null;retur // after a job is only a place where a long shift may let a frame through (opsRun()), nothing changes there. const OPS_RUN={ // Bring POPs, ports and fiber up to the build standard: the busiest first, a few jobs a shift (96-pop-standard.js). - std(X){bstdShift(X);}, + *std(X){yield* bstdShift(X);}, *repair(X){purgeInc();for(const i of S.inc.slice())if(i.type!=='ddos'&&i.until>S.day&&i.cost>0&&!(i.slow&&i.rushed)&&X.can('repair',i.cost)&&X.pay('repair',()=>ACT.fixInc({id:i.id}))){X.did('repair');yield;}}, - *routers(X){const at=opsP('routers','at')/100,how=opsP('routers','how'),m=opsP('routers','model'),fix=m!=='next', + *routers(X){const at=opsP('routers','at')/100,how=opsP('routers','how'),G=bstd().g,fix=G!=='keep', load=c=>Math.max((R.nodeLoad[c]||0)*opsAhead()/(R.nodeCap[c]||nodeCap(c)||1),portsUsed(c)/Math.max(1,portsMax(c))); - // A chosen model: swap every POP still on a smaller one to it, the busiest first, while the budget lasts. Never a - // step down, never a model that is not unlocked or does not fit, and only with a second router or no traffic there. - if(fix&&rgOpen(m))for(const c of opsPops('routers').sort((a,b)=>load(b)-load(a))){const p=S.pops[c],g=p.rgen||0; - if(p.rupDay===S.day||g===m||RG[m].cap<=RG[g].cap||modelFits(c,m)||!((p.routers||1)>1||popIdle(c)))continue; + // The build standard's model: swap every POP still on a smaller one to the model the standard gives it (bstdModel(): + // the best unlocked one no bigger, never a step down, never one that does not fit or cannot run the core), the + // busiest first, while the budget lasts, and only with a second router or no traffic there. + if(fix)for(const c of opsPops('routers').sort((a,b)=>load(b)-load(a))){const p=S.pops[c]; + if(p.rupDay===S.day||!((p.routers||1)>1||popIdle(c)))continue;const m=bstdModel(G,c);if(m<0)continue; const cost=swapCost(c,m);if(!X.can('routers',cost))continue; if(X.pay('routers',()=>ACT.upRouter({city:c,g:m}))){X.did('routers',c+' ⇧'+RG[m].pn);yield;}} for(const c of opsPops('routers')){const p=S.pops[c];if(p.rupDay===S.day)continue; @@ -222,19 +227,20 @@ const OPS_RUN={ const n=(cnt[o]||0)+1,cost=opticCountCost(l,o,n),before=(l.ch||[]).length;if(!X.can('optics',cost))break; X.pay('optics',()=>{ACT.setChCount({id:l.id,o,n});return (l.ch||[]).length>before;});if((l.ch||[]).length<=before)break; cap+=optG(o,l);X.did('optics',l.a+'|'+l.b);yield;}}}, - *optup(X){const at=opsP('optup','at')/100,goal=opsP('optup','sys'),swap=opsP('optup','swap');let ups=0,tries=0; + *optup(X){const at=opsP('optup','at')/100,sys=bstd().sys,goal=sys==='keep'?'next':sys,swap=opsP('optup','swap'); const hot=l=>{const c=dfCap(l);return c>0&&((R.load&&R.load[l.id])||0)*opsAhead()>=c*at;},full=l=>freeCh(l)<=0,u=l=>((R.load&&R.load[l.id])||0)/Math.max(1,dfCap(l)); - const ls=S.links.filter(l=>l.kind==='df'&&!l.seat&&l.ready<=S.day&&!(l.eqDown>S.day)&&!(l.cut>S.day)).sort((a,b)=>u(b)-u(a)); + // A fiber the build standard's order worked on this shift is that order's until tomorrow. + const ls=S.links.filter(l=>l.kind==='df'&&!l.seat&&l.ready<=S.day&&!(l.eqDown>S.day)&&!(l.cut>S.day)&&(X.fib.get(l.id)||'optup')==='optup').sort((a,b)=>u(b)-u(a)); for(const l of ls){ - // The line system: one step at a time up to the chosen one, or the next one where the fiber is full and hot. + // The line system: one step at a time up to the build standard's, or the next one where the fiber is full and hot. const want=goal==='next'?(full(l)&&hot(l)?sysNext(l):null):SYS_RANK[l.sys]S.day)&&X.can('optup',cost)){tries++;const ok=yield* opsDark(l,X);if(!ok)OPTUP_NO.set(l.id,S.day+OPTUP_WAIT); + if(want&&opsDarkRoom(X)){const to=sysNext(l),cost=sysUpCost(l); + if(to&&techOk('sys',to,DF_SYS[to].lvl)&&!(OPTUP_NO.get(l.id)>S.day)&&X.can('optup',cost)){const ok=yield* opsDark(l,X);if(!ok)OPTUP_NO.set(l.id,S.day+OPTUP_WAIT); if(ok){const s0=l.sys,top=goal==='next'?to:goal; for(let k=0;k<2&&sysNext(l)&&SYS_RANK[l.sys]{const s=l.sys;ACT.upSys({id:l.id});return l.sys!==s;}))break;} // The fiber is dark until tomorrow: its optics wait. - if(l.sys!==s0){ups++;X.did('optup',l.a+'|'+l.b+' ⇧'+SYS_TAG[l.sys]);yield;continue;}}}} + if(l.sys!==s0){X.dk.n++;X.fib.set(l.id,'optup');X.did('optup',l.a+'|'+l.b+' ⇧'+SYS_TAG[l.sys]);yield;continue;}}}} // Optics: a full, hot fiber trades its smallest channels for the biggest optic that fits, one at a time. Hitless, and // the old optics go on the shelf as spares. if(!swap)continue; @@ -248,7 +254,7 @@ const OPS_RUN={ const was=dfCap(l); X.pay('optup',()=>{ACT.setChCount({id:l.id,o:o1,n:cnt[o1]-1});ACT.setChCount({id:l.id,o:o2,n:n2}); if((l.ch||[]).filter(k=>k===o2).length===n2)return true;ACT.setChCount({id:l.id,o:o1,n:cnt[o1]});return false;}); - if(!(dfCap(l)>was))break;X.did('optswap',l.a+'|'+l.b+' '+fmtCap(optG(o1,l))+'→'+fmtCap(optG(o2,l)));yield;}}}, + if(!(dfCap(l)>was))break;X.fib.set(l.id,'optup');X.did('optswap',l.a+'|'+l.b+' '+fmtCap(optG(o1,l))+'→'+fmtCap(optG(o2,l)));yield;}}}, *caches(X){const g=opsP('caches','g'); for(const c of opsPops('caches')){const q=utilityCaches(c);if(!q||!q.add.length)continue; const want=q.add.filter(x=>cacheDem(c,x.net)>=g),free=()=>portsMax(c)-portsUsed(c)+1e-9; @@ -269,23 +275,34 @@ const OPS_RUN={ const q=pniRequote(q0);if(!q)continue;if(!X.can('pni',q.cost))break;if(X.pay('pni',()=>{if(!spend(q.cost))return false;pniPlace(q);return true;}))X.did('pni',q.city+' '+q.net);yield;}}, // Hand back smaller waves once a bigger link between the same cities carries the pair with a quarter to spare (#102). // Loads must include what this shift already did (a customer just signed, a repair): opsRun() routes first if a - // job changed the network and anything could go (opsDecomWaits()). - *decom(X){for(const ls of opsPairs().values())for(const l of opsDecomPick(ls)){UI.confirm=l.id;X.pay('decom',()=>ACT.rmLink({id:l.id}));if(!S.links.includes(l))X.did('decom',l.a+'|'+l.b);yield;}}, + // job changed the network and anything could go (opsDecomWaits()). A wave another order worked on today stays. + // (Left out of what the pick hands back, not out of the pick: it may still be the spare the pick keeps.) + *decom(X){for(const ls of opsPairs().values())for(const l of opsDecomPick(ls).filter(l=>!X.fib.has(l.id))){UI.confirm=l.id;X.pay('decom',()=>ACT.rmLink({id:l.id}));if(!S.links.includes(l))X.did('decom',l.a+'|'+l.b);yield;}}, }; -// Line system swaps per shift, and how many fibers a shift may test for one: each test routes the whole network once, -// so a shift costs at most one routing more, and only on a night with a fiber to try. A fiber that failed the test is not tested again for a week +// Line system swaps per shift, and how many fibers a shift may test for one with a routing: each test routes the whole +// network once, so a shift costs at most one routing more, and only on a night with a fiber to try. The build standard's +// order and this one share them (X.dk). A fiber that failed the test is not tested again for a week // (not saved: after a reload it is simply tested again). const OPTUP_MAX=1,OPTUP_TRY=1,OPTUP_WAIT=7,OPTUP_NO=new Map(),SYS_RANK={lite:0,roadm:1,cl:2},SYS_TAG={roadm:'ROADM',cl:'C+L'}; +// Room tonight for one more fiber going dark. Kevin does maintenance: twice the swaps, and twice the tests. +const opsDarkRoom=X=>{const k=opsIs('kevin')?2:1;return X.dk.n{const L=(R&&R.load)||{};return !(L[l.id]>1e-6)&&!xpOver(l.id).some(x=>L[x.id]>1e-6);}; +// What a day dark comes to, said without routing: false (a customer rides it, or it carries traffic with no other way +// between its cities), true (nothing rides it, so nothing is lost), null (a routing decides: opsDarkTrial()). +function opsDarkPre(l){if(S.biz.some(b=>b.link===l.id))return false;return opsUnused(l)?true:opsAround(l)?null:false;} const OPS_ROUTE={route:true}; -function* opsDark(l,X){if(S.biz.some(b=>b.link===l.id)||!opsAround(l))return false;if(X.dirty){yield OPS_ROUTE;X.dirty=false;} - return !!(yield {dark:l.id,s0:R.served,L0:R.l2||{}});} -// The test itself, on the game it is given: R is put back after. +// X.dk.t counts the tests that route. +function* opsDark(l,X){let k=opsDarkPre(l);if(k===false)return false;if(X.dirty){yield OPS_ROUTE;X.dirty=false;k=opsDarkPre(l);} + if(k!==null)return k;X.dk.t++;return !!(yield {dark:l.id,s0:R.served,L0:R.l2||{}});} +// The test itself, on the game it is given: R is put back after. The fiber's line system is down for the day (eqDown), +// and every express riding it with it (xpDown()): their traffic has to get around too. function opsDarkTrial(y){const l=S.links.find(x=>x.id===y.dark);if(!l)return false;const R0=R,e0=l.eqDown,s0=y.s0,L0=y.L0; try{l.eqDown=S.day+1;compute();return R.served>=s0-1e-6*Math.max(1,s0)&&Object.keys(L0).every(id=>(R.l2[id]||0)>=L0[id]-1e-6);} finally{if(e0===undefined)delete l.eqDown;else l.eqDown=e0;R=R0;}} @@ -300,8 +317,8 @@ function opsDecomPick(ls,cf=capOf){if(!ls||ls.length<2)return [];const live=ls.f for(const l of small.reverse()){if(cap-cf(l)x.id===y.dark);if(!l||S.biz.some(b=>b.link===l.id)||!opsAround(l))return false; - return opsDarkTrial({dark:l.id,s0:R.served,L0:R.l2||{}});} +function opsDarkAgain(y){const l=S.links.find(x=>x.id===y.dark);if(!l)return false;const k=opsDarkPre(l); + return k!==null?k:opsDarkTrial({dark:l.id,s0:R.served,L0:R.l2||{}});} // A wave can carry a promise: diverse paths, no subsea, a latency budget. Try the network without it (and gone) first. function opsDecomSafe(l,gone=[]){const bz=S.biz.filter(b=>(b.reqs||[]).some(k=>k==='diverse'||k==='sharks'||k==='lat')&&b.city2);if(!bz.length)return true; const chk=b=>(b.reqs||[]).every(k=>k==='diverse'?diversePaths(b.city,b.city2):k==='sharks'?terrestrialPath(b.city,b.city2):k==='lat'?bestLat(b.city,b.city2)<=b.latMax:true); diff --git a/src/game/60-features/96-pop-standard.js b/src/game/60-features/96-pop-standard.js index 752d2d0..6359e40 100644 --- a/src/game/60-features/96-pop-standard.js +++ b/src/game/60-features/96-pop-standard.js @@ -26,6 +26,13 @@ function bstd(d=S&&S.popStd){const o={},ob=d&&typeof d==='object'&&!Array.isArra // Back to the saved form: the model and router count, and any other target that is not "keep". Nothing set: null. function bstdPut(o){const d={};for(const x of BSTD)if(x.k==='rt'||o[x.k]!==x.d)d[x.k]=o[x.k];return Object.keys(d).length>1||d.rt>1?d:null;} function popStdSanitize(s){s.popStd=s.popStd&&typeof s.popStd==='object'&&!Array.isArray(s.popStd)?bstdPut(bstd(s.popStd)):null;} +// Saves from when the intern's orders had their own router model (routers) and line system (optup): the standard takes +// them where it has none of its own; one that names its own keeps it. 'next' was no choice at all: nothing moves. +// opsSanitize() passes only what an order that was running used (undefined otherwise): the rest is dropped. +function bstdAdopt(s,g,sys){const D=bstd(s.popStd);let n=0; + if(D.g==='keep'&&Number.isInteger(g)&&bstdOk(BSTDK.g,g)){D.g=g;n++;} + if(D.sys==='keep'&&sys!=='keep'&&bstdOk(BSTDK.sys,sys)){D.sys=sys;n++;} + if(n)s.popStd=bstdPut(D);} // A bank that forbids generators (Stormy Weather's covenant): the standard never installs one while that loan runs. const bstdNoGen=()=>(S.loans||[]).some(l=>(l.covs||[]).includes('nogen')); // The model a POP should get: the standard's if you can buy it, else the best main-line model that is unlocked and no @@ -80,12 +87,14 @@ function bstdPlan(intern){const J=[];J.held=[];if(!S||!S.popStd||pzOn())return J const take=(c,n,dry)=>{if(n<=0)return true;if(room(c){const j={grp,k,ch,w,cost,mo,go,...x};J.push(j);return j;}; for(const c of cs){const p=S.pops[c],ch='p:'+c;let g=p.rgen||0,rt=p.routers||1,sw=null,s2=null; - const add=()=>{const g0=g,r0=rt;job('pop','rt',ch,c+' +1',routerCost(g0,r0),routerMo(g0)+cageMo(r0+1)-cageMo(r0),()=>{const n=S.pops[c].routers||1;ACT.addRouter({city:c});return (S.pops[c].routers||1)>n;},{c});rt++;}; + // A router job checks the POP still has what the plan counted on: the intern's shift rests between jobs, and the player + // may click meanwhile (the button, a router by hand). So does a PNI job: one ordered meanwhile is not upgraded. + const add=()=>{const g0=g,r0=rt;job('pop','rt',ch,c+' +1',routerCost(g0,r0),routerMo(g0)+cageMo(r0+1)-cageMo(r0),()=>{const n=S.pops[c].routers||1;if(n!==r0)return false;ACT.addRouter({city:c});return (S.pops[c].routers||1)>n;},{c});rt++;}; const m=p.rupDay===S.day?-1:bstdModel(D.g,c); if(m>=0){ // One router carrying traffic: a second goes in first, so the swap rolls through with no maintenance window. if(rt===1&&!popIdle(c))add(); - const old=g,r=rt;sw=job('pop','g',ch,c+' ⇧'+RG[m].pn,swapCostOf(m,old,r),r*(RG[m].mo-RG[old].mo),()=>{ACT.upRouter({city:c,g:m});return (S.pops[c].rgen||0)===m;},{c});g=m;} + const old=g,r=rt;sw=job('pop','g',ch,c+' ⇧'+RG[m].pn,swapCostOf(m,old,r),r*(RG[m].mo-RG[old].mo),()=>{if((S.pops[c].rgen||0)!==old)return false;ACT.upRouter({city:c,g:m});return (S.pops[c].rgen||0)===m;},{c});g=m;} while(rt{ACT.addSite({city:c});return !!S.pops[c].site2;},{c}); @@ -108,7 +117,7 @@ function bstdPlan(intern){const J=[];J.held=[];if(!S||!S.popStd||pzOn())return J const opts=NET[net].pops.filter(c=>S.pops[c]&&here(c)&&!by[net].has(c)).map(c=>({c,v:pniVal(net,c)})).filter(o=>o.v.worth).sort((a,b)=>b.v.want-a.v.want||(a.c=pniMin(net)&&!q;t--){const x=pniQuote(c,net,t,resv(c));if(x&&!x.why)q=x;} if(!q||!take(c,q.slots))continue;const tier=q.tier;k--; - job('port','pni','n:'+net+'@'+c,c+' '+net,q.cost,pniMo({net,tier,n:1},0),()=>{const x=pniQuote(c,net,tier,resv(c));if(!x||x.why||!spend(x.cost))return false;pniPlace(x);return true;},{c});}}} + job('port','pni','n:'+net+'@'+c,c+' '+net,q.cost,pniMo({net,tier,n:1},0),()=>{const x=pniQuote(c,net,tier,resv(c));if(!x||x.why||x.ex||!spend(x.cost))return false;pniPlace(x);return true;},{c});}}} // Fiber and waves, hottest first. A POP excepted from the order keeps its links as they are too. if(D.sys!=='keep'||D.opt!=='keep'||D.wv!=='keep'){const sp={...(S.spares||{})},dk=new Map(),wv=new Map(); const ls=S.links.filter(l=>(l.kind==='df'||l.kind==='wave')&&here(l.a)&&here(l.b)&&S.pops[l.a]&&S.pops[l.b]).map(l=>({l,u:(R.load[l.id]||0)/Math.max(1e-9,capOf(l))})).sort((a,b)=>b.u-a.u||(a.l.idS.day)&&opsDarkPre(l)!==false:bstdDarkOk(l)))J.held.push(l); + else if(lit&&(intern?pairLinks(l.a,l.b).some(x=>x!==l&&dk.get(x.id)):!bstdDarkOk(l,dk))){J.held.push(l);continue;} + else{const busy=lit&&(intern?!opsUnused(l):bstdBusy(l)); while(BSTD_SYS[sys]{if(l.sys!==s0)return false;ACT.upSys({id:l.id});return l.sys===to;},{l,dark:lit,busy});sys=to;} if(lit)dk.set(l.id,busy);}} @@ -178,25 +189,32 @@ function bstdOptJobs(l,sys,sp,V,take,ch){const rg=c=>V[c]?V[c].g:(S.pops[c].rgen // The new ones could not go in (ports, cash): the old optics go back in from the shelf. (l.ch=l.ch||[]).push(...Array(k).fill(o0));S.spares[o0]-=k;return false;}});} return out;} -// A line-system swap darkens the fiber for a day: only while it carries little, or its parallel links can take its load. +// The button's test of a line-system swap, which darkens the fiber for a day: only while it carries little, or its +// parallel links can take its load. No routing, so the quote is what the click does. (The intern routes: opsDark().) // ex: fibers already going dark today (id → whether they carry traffic): they carry nothing for this one, and one whose // traffic leans on its parallel links keeps them lit. const bstdBusy=l=>((R.load&&R.load[l.id])||0)>Math.max(1,capOf(l)*0.1); // Express lightpaths (#58) ride the fiber's glass: its own load says nothing about them, and its parallel links do not // carry them, so an express with any traffic at all keeps the fiber lit (the line system waits, as for a busy fiber). +// The intern's routing test needs no such rule: an express goes dark with its fiber there (opsDarkTrial()). const bstdXpBusy=l=>xpSlots(l)>0&&xpOver(l.id).some(x=>((R.load&&R.load[x.id])||0)>1e-6); function bstdDarkOk(l,ex){if(bstdXpBusy(l))return false;const P=pairLinks(l.a,l.b).filter(x=>x!==l);if(ex&&P.some(x=>ex.get(x.id)))return false;if(!bstdBusy(l))return true; return P.filter(x=>!linkDown(x)&&!x.standby&&!(ex&&ex.has(x.id))).reduce((a,x)=>a+Math.max(0,capOf(x)-((R.load&&R.load[x.id])||0)),0)>=((R.load&&R.load[l.id])||0);} -// Do the plan's jobs in order. can(j): may it be paid for (budget, floor, cash); pay(j): run it, true if it took. -// one: at most one fiber goes dark (the intern's shift); max: at most that many jobs tried, done or failed, so a shift's -// work stays bounded whatever goes wrong. Returns what was done. -function bstdDo(J,can,pay,one,max=1e9){const stop=new Set(),done=new Set(),dark=new Map();let n=0; +/* Do the plan's jobs in order. can(j): may it be paid for (budget, floor, cash); pay(j): run it, true if it took. + dark(j, ex): may the first job that darkens a fiber go ahead (ex: fibers gone dark so far, as bstdDarkOk() takes them), + a generator, so a test can route (yields included); done1(j, first): after each job done (first: it took a fiber dark). + max: at most that many jobs tried, done or failed, so a shift's work stays bounded whatever goes wrong. A bare yield + after each job is a place to let a frame through. Returns what was done. */ +function* bstdRun(J,can,pay,dark,done1,max=1e9){const stop=new Set(),done=new Set(),dk=new Map();let n=0; for(const j of J){if(n>=max)break;if(stop.has(j.ch))continue;if(j.dep&&!j.dep.every(d=>done.has(d))){stop.add(j.ch);continue;} - if(j.dark&&!dark.has(j.l.id)&&((one&&dark.size)||!bstdDarkOk(j.l,dark))){stop.add(j.ch);continue;} - if(!can(j)){stop.add(j.ch);continue;}n++; + // The money first: no fiber is tested for a job the budget cannot pay, and asked again after a test that routed. + const first=!!j.dark&&!dk.has(j.l.id); + if(!can(j)||first&&(!(yield* dark(j,dk))||!can(j))){stop.add(j.ch);continue;}n++; if(!pay(j)){stop.add(j.ch);continue;} - if(j.dark)dark.set(j.l.id,!!j.busy);done.add(j);} + if(j.dark)dk.set(j.l.id,!!j.busy);done.add(j);if(done1)done1(j,first);yield;} return [...done];} +// The button: the whole plan at once, on the page, every fiber judged as the plan judged it. +function bstdDo(J,can,pay){const g=bstdRun(J,can,pay,function*(j,ex){return bstdDarkOk(j.l,ex);});for(;;){const s=g.next();if(s.done)return s.value;}} // What a job costs as it runs (an optics swap is priced again then: see bstdOptJobs). const bstdPrice=j=>j.price?j.price():j.cost; // The sheet's summary and the MCP quote: how much is below the standard, and what bringing it all up costs. The plan is @@ -206,5 +224,14 @@ function bstdQuote(intern){const J=bstdPlan(intern),P=new Set(),Q=new Set(),L=ne return {cost:Math.round(cost),mo:Math.round(mo),pops:P.size,ports:Q.size,links:L.size,n:J.length,held:J.held.map(l=>l.a+'|'+l.b)};} // The optics order lights the standard's fastest optics while this order keeps to a standard that wants them. const bstdFast=()=>!!(S.popStd&&opsHired()&&S.ops.on.std&&bstd().opt==='fast'); -// The intern's shift: the same plan, every job through the budget and the cash floor at what it costs then, a few at a time. -function bstdShift(X){bstdDo(bstdPlan(true),j=>X.can('std',bstdPrice(j),j.mo),j=>X.pay('std',()=>j.go())&&(X.did('std',j.w),true),true,BSTD_MAX);} +/* The intern's shift: the same plan, every job through the budget and the cash floor at what it costs then, a few at a + time. A fiber goes dark only on the optical order's test (opsDark(): a routing without it, in play in the route + worker), within the night's dark swaps that order shares (opsDarkRoom()), and a fiber that fails waits a week. One + owner per fiber: a fiber or wave the optical order worked on this shift is left alone, and what this order works on + is its own until tomorrow (X.fib: that order and decom leave it alone). The plan is made once a shift, and the shift + rests between jobs: a POP decommissioned or a link given up meanwhile is not worked on (the links last: a walk of them, + only for a job the budget lets through). */ +function* bstdShift(X){const mine=j=>(!j.c||!!S.pops[j.c])&&(!j.l||(X.fib.get(j.l.id)||'std')==='std'); + yield* bstdRun(bstdPlan(true),j=>mine(j)&&X.can('std',bstdPrice(j),j.mo)&&(!j.l||S.links.includes(j.l)),j=>X.pay('std',()=>j.go())&&(X.did('std',j.w),true), + function*(j){const l=j.l;if(OPTUP_NO.get(l.id)>S.day||!opsDarkRoom(X))return false;const ok=yield* opsDark(l,X);if(!ok)OPTUP_NO.set(l.id,S.day+OPTUP_WAIT);return ok;}, + (j,first)=>{if(j.l)X.fib.set(j.l.id,'std');if(first)X.dk.n++;},BSTD_MAX);} diff --git a/src/game/90-actions/88-build-standard.js b/src/game/90-actions/88-build-standard.js index f832604..f51a55f 100644 --- a/src/game/90-actions/88-build-standard.js +++ b/src/game/90-actions/88-build-standard.js @@ -7,7 +7,7 @@ Object.assign(ACT,{ // The same jobs, in the same order and through the same gates as the intern's order, while the cash lasts. One // recompute at the end, and one toast: what got done, and what still waits. bstdApply:()=>{if(!S||pzOn()||!S.popStd)return;const J=bstdPlan(false);if(!J.length)return;const c0=S.cash;let n=0; - opsQuiet(()=>{n=bstdDo(J,j=>{const c=bstdPrice(j);return c<=0||S.cash>=c;},j=>!!j.go(),false).length;}); + opsQuiet(()=>{n=bstdDo(J,j=>{const c=bstdPrice(j);return c<=0||S.cash>=c;},j=>!!j.go()).length;}); after();const q=bstdQuote(false),left=q.pops+q.ports+q.links; toast((n?trn('bstd.applied',n,{cost:fmt$(c0-S.cash)}):tr('bstd.applied_none'))+(left?' '+trn('bstd.left',left):''),n?'good':'bad');sfx(n?'build':'err'); if(bstdShown())bstdModal();}, diff --git a/src/game/93-ui/57-ops-panel.js b/src/game/93-ui/57-ops-panel.js index 6d67cb1..240ff20 100644 --- a/src/game/93-ui/57-ops-panel.js +++ b/src/game/93-ui/57-ops-panel.js @@ -9,11 +9,15 @@ function opsVal(k,p,v=opsP(k,p)){const P=OPSK[k].p[p];return p==='prov'?(v==='ch // A setting as a list to pick from: the option values are positions in the list the action reads again. const opsSel=(lab,act,args,vals,cur,name)=>``; const opsCapName=(k,v)=>v?tr('common.price_mo',{price:(OPSK[k].mo?'+':'')+fmt$(v)}):tr('ops.no_cap'); +// The router model and the line system are the build standard's, chosen in its sheet only: in their place, what it says +// and the way there. "Keep as is" leaves each order to its own rule: the next model or line system up, when needed. +const OPS_BSTD={routers:{k:'g',l:N_('ops.p_model'),f:v=>v==='keep'?tr('ops.model_next'):RG[v].n},optup:{k:'sys',l:N_('ops.p_sys'),f:v=>v==='keep'?tr('ops.sys_next'):DF_SYS[v].n}}; +function opsFromStd(k){const x=OPS_BSTD[k];return x?`
${tr(x.l)}${esc(tr('ops.from_bstd',{x:x.f(bstd()[x.k])}))}${pzOn()?'':btn(tr('bstd.edit'),'bstdOpen',{},'ghost sm')}
`:'';} function opsOrderHtml(d){const k=d.k,on=S.ops.on[k],cap=d.cap?opsCap(k):0,sp=S.ops.spent[k]||0,am=Math.round(S.ops.addMo[k]||0); return `
${tr(d.t)}
${tr(d.d)}${k==='caches'?' '+tr('ops.caches_rent',{price:fmt$(CACHE_MO),big:fmt$(CACHE_BIG_MO)}):''}
${k==='std'?`
${tr('bstd.now_line',{list:S.popStd?esc(bstdLine(bstd())):tr('pop_std.none')})}
${btn(tr('bstd.edit'),'bstdOpen',{},'ghost sm')}
`:''} - ${on?`
${Object.keys(d.p).map(p=>opsSel(tr(d.p[p].l),'opsParam',{k,p},opsOpts(k,p),opsP(k,p),v=>opsVal(k,p,v))).join('')} + ${on?`
${opsFromStd(k)}${Object.keys(d.p).map(p=>opsSel(tr(d.p[p].l),'opsParam',{k,p},opsOpts(k,p),opsP(k,p),v=>opsVal(k,p,v))).join('')} ${d.cap?opsSel(d.mo?tr('ops.budget_running'):tr('ops.budget'),'opsCap',{k},opsCaps(k),cap,v=>opsCapName(k,v)):''}
${sp||am?`
${tr('ops.spent_and_mo',{price:fmt$(sp),mo:opsMo$(am)})}
`:''} ${k==='ix'&&ppol()!=='open'?`

${tr('link_panels.off_while_your_peering_policy_is',{pol:tr(PPOL_N[ppol()])})}

`:''}`:''}
`;} diff --git a/src/game/93-ui/59-build-standard.js b/src/game/93-ui/59-build-standard.js index c6437b2..858a39c 100644 --- a/src/game/93-ui/59-build-standard.js +++ b/src/game/93-ui/59-build-standard.js @@ -21,7 +21,7 @@ function bstdModal(){if(!S||pzOn())return;const D=bstd(),q=bstdQuote(false),hire let h=`
${tr('ops.ops')}

${tr('bstd.title')}

${tr('bstd.tagline')}

`; for(const [g,lab] of BSTD_GRP)h+=`

${tr(lab)}

${BSTD.filter(x=>x.grp===g).map(x=>opsSel(tr(x.l),'bstdSet',{k:x.k},bstdOpts(x.k),D[x.k],v=>bstdVal(x.k,v))).join('')}
-

${g==='pop'?tr('bstd.new_pops_note'):g==='port'?tr('bstd.port_note'):tr('bstd.fiber_note')}

`; +

${g==='pop'?tr('bstd.new_pops_note'):g==='port'?tr('bstd.port_note'):tr('bstd.fiber_note_two')}

`; // What is below it today, and what bringing it all up costs: a quote, nothing changes until the button. A fiber whose // line system has to wait is below it too, but not on the bill. const n={pop:q.pops,port:q.ports,fiber:q.links},w=q.held.length; @@ -30,7 +30,7 @@ function bstdModal(){if(!S||pzOn())return;const D=bstd(),q=bstdQuote(false),hire +(w?`

${trn('bstd.held',w)}

`:'') :`

${S.popStd?tr('bstd.all_up'):tr('bstd.none_set')}

`}`; // The intern keeps it there: the order's switch and budget, or a word on hiring one. - h+=`

${tr('ops.o_std')}

${hired?`
${esc(tr('bstd.intern_keeps',{name:opsName()}))}
${tr('ops.o_std_d')}
+ h+=`

${tr('ops.o_std')}

${hired?`
${esc(tr('bstd.intern_keeps',{name:opsName()}))}
${tr('ops.o_std_around_d')}
${on?`
${opsSel(tr('ops.budget'),'opsCap',{k:'std'},opsCaps('std'),opsCap('std'),v=>opsCapName('std',v))}
`:''}
` :`

${tr('bstd.hire_note')}

${btn(tr('ops.hire_an_intern'),'opsOpen',{},'ghost sm',!opsCanHire()||!rule('clock'))}
`}
`; diff --git a/src/i18n/en.js b/src/i18n/en.js index 7568d89..4ce1e9d 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -412,7 +412,7 @@ "bstd.edit":"Edit the build standard", "bstd.every_exchange":"Wherever there is an IX", "bstd.fastest":"Fastest that reaches", -"bstd.fiber_note":"A line system swap takes the fiber dark for a day: only on a quiet fiber, or where a parallel link carries its load.", +"bstd.fiber_note_two":"A line system swap takes the fiber dark for a day. The button does it only on a quiet fiber or where a parallel link carries its load; your intern only where all the traffic gets around the fiber.", "bstd.from_level":"(level {lv})", "bstd.g_fiber":"Fiber and waves", "bstd.g_port":"Ports and peering", @@ -3401,6 +3401,7 @@ "ops.fire":"Let go", "ops.fired":"{name} handed in the badge and took the good stapler. Your standing orders are paused.", "ops.floor":"Keep at least", +"ops.from_bstd":"From the build standard: {x}", "ops.good_annie":"Best at peering: works through the exchanges every day, not weekly, and orders PNIs twice a week.", "ops.good_kevin":"Best at maintenance: two line system swaps a night instead of one, and never a fat finger.", "ops.good_tracy":"Best at planning ahead: buys transit, ports, routers and optics as if traffic were already 10% higher.", @@ -3457,7 +3458,7 @@ "ops.o_optics":"Light more fiber", "ops.o_optics_d":"Add optics to dark fiber that runs hot, and light new fiber the day it is handed over.", "ops.o_optup":"Upgrade optical transport", -"ops.o_optup_d":"On fiber that is full and runs hot, move the line system up a size, or trade the smallest channels for bigger optics (the old ones go on the shelf). Pick a line system, and every fiber on a smaller one is moved up to it. A line system swap takes the fiber down for a day, so only where the traffic gets around it and no customer rides it, one a night.", +"ops.o_optup_std_d":"On fiber that is full and runs hot, move the line system up a size, or trade the smallest channels for bigger optics (the old ones go on the shelf). With a line system in the build standard, every fiber on a smaller one is moved up to it. A line system swap takes the fiber down for a day, so only where the traffic gets around it and no customer rides it, one a night together with Keep to the build standard.", "ops.o_pni":"PNI with the big ones", "ops.o_pni_d":"Every week: order a PNI with every willing network sending enough traffic at your POPs, at each network's own minimum size.", "ops.o_ports":"Keep peering headroom", @@ -3465,9 +3466,9 @@ "ops.o_repair":"Rush repairs", "ops.o_repair_d":"Pay for the rush repair on every outage that has one, while the budget lasts.", "ops.o_routers":"Keep routers ahead", -"ops.o_routers_desc":"Add a router, or swap to the next generation where a second router carries the traffic, when load or ports pass a level. Pick a model, and every POP on a smaller one is swapped to it, the busiest first, within the budget.", +"ops.o_routers_std_d":"Add a router, or swap to the next generation where a second router carries the traffic, when load or ports pass a level. With a router model in the build standard, every POP on a smaller one is swapped to it instead, the busiest first, within the budget.", "ops.o_std":"Keep to the build standard", -"ops.o_std_d":"Bring POPs, ports and fiber up to your build standard, the busiest first, a few jobs a shift. A second router goes in before a swap, and a line system only changes on a quiet fiber.", +"ops.o_std_around_d":"Bring POPs, ports and fiber up to your build standard, the busiest first, a few jobs a shift. A second router goes in before a swap, and a line system only changes where the traffic gets around the fiber for its day dark and no customer rides it, one a night together with Upgrade optical transport.", "ops.o_transit":"Keep transit headroom", "ops.o_transit_d":"Keep transit at each POP above a multiple of its 30-day peak: add a LAG member, or move up a port size.", "ops.ops":"Ops", diff --git a/src/styles/36-ops.css b/src/styles/36-ops.css index 68fc552..e0efcd3 100644 --- a/src/styles/36-ops.css +++ b/src/styles/36-ops.css @@ -13,6 +13,11 @@ /* A setting is a list to pick from: two to a row on a phone, the list as wide as its column. */ .ops-sel{display:flex;flex-direction:column;gap:2px;flex:1 1 140px;min-width:0;font:800 12px Nunito,sans-serif;color:var(--ink2)} .ops-sel select{width:100%;min-height:36px;font:700 14px Nunito,sans-serif;color:var(--text);background:var(--paper);padding:4px 6px;border:2px solid var(--ink);border-radius:8px} +/* A setting the build standard owns: a whole row, what it says, and the way to its sheet (under it on a narrow phone). */ +.ops-from{flex:1 1 100%;display:flex;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:0;font:800 12px Nunito,sans-serif;color:var(--ink2)} +.ops-from>span{flex:1 1 100%} +.ops-from b{flex:1 1 160px;min-width:0;font:700 14px Nunito,sans-serif;color:var(--text);overflow-wrap:anywhere} +.ops-from .b{flex:none;min-height:36px} .ops-log{white-space:pre-wrap;font-size:11.5px;max-height:160px;overflow:auto} .ops-good{font-size:12.5px;font-weight:800;color:#6B3FD4;margin-top:2px;line-height:1.3} .ops-mood{margin:6px 0 0;font-style:italic;font-size:13px;color:var(--ink2)} diff --git a/tests/bstd-owner.test.js b/tests/bstd-owner.test.js new file mode 100644 index 0000000..e4612ba --- /dev/null +++ b/tests/bstd-owner.test.js @@ -0,0 +1,276 @@ +// One owner per fiber: the build standard's order (std) and the optical order (optup) take fibers dark with the same +// test (a routing without the fiber, in the route worker in play), share one budget of dark swaps a night, and never both +// work on one fiber in a shift; the decom order leaves a wave the standard just upgraded. Change Freeze, no failures. +const test = require('node:test'); +const assert = require('node:assert/strict'); +const { load } = require('./harness'); +const { lit } = require('../scripts/lib/js-literal'); + +// Frankfurt (broadband, 100G Cogentle transit), Amsterdam and Paris with broadband, everyone on four Chonk 800s, level 7. +const BASE = "Date.now=()=>1.7e12;ACT.start({});S.cash=1e8;for(const g of GOALS)S.done[g.id]=0;S.lvl=7;S.nextFail=S.nextEvent=1e9;UI.speed=0;S.rules=makeRules('freeze');" + + "ACT.launchBB({city:'fra'});ACT.buyTransit({city:'fra',net:'cog',tier:1});for(const c of ['ams','par','lon'])ACT.buildPop({city:c});" + + "for(const c of ['fra','ams','par','lon']){S.pops[c].rgen=RG.findIndex(r=>r.n==='Chonk 800');S.pops[c].routers=4;}ACT.launchBB({city:'ams'});ACT.launchBB({city:'par'});compute()"; +function game(t, extra = '', opts = {}) { + const h = load(opts); + t.after(() => h.dom.window.close()); + h.ev(BASE); + if (extra) h.ev(extra); + return h; +} +const hire = (ev, id) => ev(`ACT.opsHire({id:'${id}'});S.ops.floor=0;S.ops.cap={std:0,optup:0};S.ops.on.std=true;closeModal()`); +const std = (ev, d) => ev(`S.popStd=bstdPut({...bstd(),...${lit(d)}})`); +// A leased dark fiber, built and lit with these optics; a wave. +const fiber = (ev, a, b, ch, sys = 'lite') => ev(`(()=>{const id=uid();S.links.push({id,a:'${a}',b:'${b}',kind:'df',own:false,sys:'${sys}',ch:${lit(ch)},km:Math.round(kmBetween('${a}','${b}')),sub:false,cable:null,mo:1000,trench:id,cut:0,day:S.day,ready:S.day,spares:false});return id;})()`); +const wave = (ev, a, b, tier) => ev(`(()=>{const id=uid();S.links.push({id,a:'${a}',b:'${b}',kind:'wave',tier:${tier},km:Math.round(kmBetween('${a}','${b}')),cut:0,mo:1,trench:id,day:S.day});return id;})()`); +const L = (ev, id) => JSON.parse(ev(`JSON.stringify(S.links.find(l=>l.id===${lit(id)})||null)`)); +const said = ev => JSON.parse(ev('JSON.stringify((S.ops.log[0]&&S.ops.log[0].d===S.day?S.ops.log[0].r:[]).map(x=>[x[0],x[1]]))')); +// Count the fiber tests that route (opsDarkTrial()), on the page here: tests never use the worker. +const COUNT = "window.__tr=0;const _t=opsDarkTrial;opsDarkTrial=function(){__tr++;return _t.apply(this,arguments);};"; + +test('both orders share one budget of dark swaps a night: one for Annie, two for Kevin, whoever does them', t => { + for (const [id, want] of [['annie', 1], ['kevin', 2]]) { + // Nobody on the far ends: the fibers really are quiet, whenever the shift routes again. + const { ev, errors } = game(t, 'S.pops.ams.bb=null;S.pops.par.bb=null'); + const ids = ['ams', 'par', 'lon'].map(c => fiber(ev, 'fra', c, ['zr4', 'zr4'])); + ev('compute();for(const l of S.links)R.load[l.id]=0'); + hire(ev, id); + std(ev, { sys: 'roadm' }); + ev('S.ops.on.optup=true;opsDay(S.day)'); + assert.equal(ids.filter(x => L(ev, x).sys === 'roadm').length, want, id + ': fibers swapped tonight'); + assert.deepEqual(said(ev), [['std', want]], id + ': the build standard went first, the optical order found no room left'); + // Alone, the optical order has the same budget (the line system from the standard). + ev('S.ops.on.std=false;S.day+=2;compute();for(const l of S.links)R.load[l.id]=0;opsDay(S.day)'); + assert.equal(ids.filter(x => L(ev, x).sys === 'roadm').length, Math.min(3, 2 * want), id); + assert.deepEqual(said(ev), [['optup', Math.min(want, 3 - want)]]); + assert.deepEqual(errors, []); + } +}); + +test('a fiber the build standard worked on tonight is its own: the optical order takes it the next night', t => { + // A full Rainbow-in-a-Box fiber to Amsterdam, running hot, and a big wave beside it for the day it goes dark. + const { ev, errors } = game(t); + const f = fiber(ev, 'fra', 'ams', Array(16).fill('zr4')); + wave(ev, 'fra', 'ams', 3); + const hot = `compute();R.load[${lit(f)}]=1e5;`; + hire(ev, 'annie'); + std(ev, { opt: 'fast' }); + ev(`S.ops.on.optup=true;${hot}opsDay(S.day)`); + assert.deepEqual([L(ev, f).sys, [...new Set(L(ev, f).ch)]], ['lite', ['zr8']], 'the standard swapped its optics; its line system stays tonight'); + assert.deepEqual(said(ev), [['std', 1]], 'the optical order left it alone'); + ev(`S.day++;${hot}opsDay(S.day)`); + assert.equal(L(ev, f).sys, 'roadm', 'the next night, with nothing left for the standard there, the optical order moves it up'); + assert.deepEqual(said(ev), [['optup', 1]]); + assert.deepEqual(errors, []); +}); + +test("the standard's order takes a fiber dark on the optical order's test: a way around, not just a parallel link, and never a little traffic with none", t => { + // Amsterdam's broadband rides Frankfurt–Amsterdam; Paris closes a ring of fibers with room. + const { ev, errors } = game(t); + const a = fiber(ev, 'fra', 'ams', ['zr4', 'zr4']), b = fiber(ev, 'ams', 'par', ['zr4', 'zr4']), c = fiber(ev, 'par', 'fra', ['zr4', 'zr4']); + ev(COUNT); + hire(ev, 'annie'); + std(ev, { sys: 'roadm' }); + // Busy by the plan's own measure, and nothing parallel: the button waits for it, the intern routes and finds the ring. + const busy = `compute();R.load[${lit(a)}]=capOf(S.links.find(l=>l.id===${lit(a)}))*0.9;`; + ev(busy); + assert.deepEqual(JSON.parse(ev('JSON.stringify(bstdQuote(false).held)')), ['fra|ams'], 'the button: busy, nothing parallel'); + assert.deepEqual(JSON.parse(ev('JSON.stringify(bstdQuote(true).held)')), [], 'the intern: a routing decides'); + const served = ev('R.served'); + ev('opsDay(S.day)'); + assert.equal(ev('__tr'), 1, 'one routing without the fiber'); + assert.deepEqual([L(ev, a).sys, L(ev, b).sys, L(ev, c).sys], ['roadm', 'lite', 'lite'], 'the busy one first, one a night'); + ev('compute()'); + assert.ok(ev('R.served') >= served - 1e-6, 'and every gigabit still gets through, round the ring'); + // A little traffic (well under the plan's "quiet") and no way around: the old test let it go dark; this one never. + const g = game(t); + const x = fiber(g.ev, 'fra', 'ams', ['zr4', 'zr4']); + g.ev('compute()'); + assert.ok(g.ev(`R.load[${lit(x)}]`) > 1 && !g.ev(`bstdBusy(S.links.find(l=>l.id===${lit(x)}))`), 'Amsterdam\'s broadband, under 10% of the fiber'); + hire(g.ev, 'kevin'); + std(g.ev, { sys: 'roadm', opt: 'fast' }); + g.ev(COUNT + 'opsDay(S.day)'); + assert.deepEqual([L(g.ev, x).sys, L(g.ev, x).eqDown], ['lite', undefined], 'Amsterdam is never cut off for a day'); + assert.deepEqual(L(g.ev, x).ch, ['zr8', 'zr8'], 'it gets the fastest optics its line system takes'); + assert.equal(g.ev('__tr'), 0, 'known without routing'); + assert.deepEqual(errors, []); + assert.deepEqual(g.errors, []); +}); + +test('with two swaps a night, the second fiber is judged on the routing with the first one dark, not on the loads from before', t => { + // The ring again, Kevin on shift. Once Frankfurt–Amsterdam is dark, Amsterdam's traffic rides Amsterdam–Paris, which + // carried nothing before: its "nothing rides it" is asked again after the shift routes, and is no longer true. + const { ev, errors } = game(t); + const a = fiber(ev, 'fra', 'ams', ['zr4', 'zr4']), b = fiber(ev, 'ams', 'par', ['zr4', 'zr4']), c = fiber(ev, 'par', 'fra', ['zr4', 'zr4']); + hire(ev, 'kevin'); + std(ev, { sys: 'roadm' }); + ev(`compute();R.load[${lit(a)}]=capOf(S.links.find(l=>l.id===${lit(a)}))*0.9;`); + assert.equal(ev(`R.load[${lit(b)}]||0`), 0, 'Amsterdam–Paris is idle today'); + const served = ev('R.served'); + ev('opsDay(S.day)'); + assert.deepEqual([L(ev, a).sys, L(ev, b).sys, L(ev, c).sys], ['roadm', 'lite', 'lite'], 'Amsterdam keeps one way in'); + ev('compute()'); + assert.ok(ev('R.served') >= served - 1e-6, 'and every gigabit still gets through'); + assert.deepEqual(errors, []); +}); + +test('two busy fibers side by side: one goes dark tonight, its twin carries it, and the twin goes the next night', t => { + // Amsterdam's broadband split over two Frankfurt–Amsterdam fibers, a few gigabits each: busy, though under the + // button's "quiet". Kevin has room for two swaps, but the twin waits rather than fail the test and wait a week. + const { ev, errors } = game(t); + const a = fiber(ev, 'fra', 'ams', ['zr4', 'zr4']), b = fiber(ev, 'fra', 'ams', ['zr4', 'zr4']); + hire(ev, 'kevin'); + std(ev, { sys: 'roadm' }); + ev('compute()'); + assert.ok(ev(`R.load[${lit(a)}]`) > 1 && ev(`R.load[${lit(b)}]`) > 1, 'both carry Amsterdam'); + ev('opsDay(S.day)'); + assert.deepEqual([[L(ev, a).sys, L(ev, b).sys].sort(), ev('OPTUP_NO.size')], [['lite', 'roadm'], 0], 'one tonight, and no fiber failed'); + ev('S.day++;compute();opsDay(S.day)'); + assert.deepEqual([L(ev, a).sys, L(ev, b).sys], ['roadm', 'roadm'], 'the twin the next night'); + assert.deepEqual(errors, []); +}); + +test('a fiber that fails the test waits a week, for both orders, and gets the optics its line system takes meanwhile', t => { + // The ring back from Amsterdam is two 10G waves: too thin for Amsterdam's broadband. + const { ev, errors } = game(t); + const a = fiber(ev, 'fra', 'ams', ['zr4', 'zr4']); + wave(ev, 'ams', 'par', 0); wave(ev, 'par', 'fra', 0); + ev('compute()'); + assert.ok(ev(`R.load[${lit(a)}]`) > 10, 'more than the ring carries'); + ev(COUNT); + hire(ev, 'annie'); + std(ev, { sys: 'roadm', opt: 'fast' }); + ev('S.ops.on.optup=true;opsDay(S.day)'); + assert.equal(ev('__tr'), 1, 'tested once'); + assert.deepEqual([L(ev, a).sys, L(ev, a).ch], ['lite', ['zr4', 'zr4']], 'no swap, and no optics for a line system it did not get'); + assert.equal(ev(`OPTUP_NO.get(${lit(a)})`), ev('S.day+OPTUP_WAIT')); + for (let d = 1; d < 7; d++) ev('S.day++;compute();opsDay(S.day)'); + assert.equal(ev('__tr'), 1, 'not tested again that week, by either order'); + assert.deepEqual([L(ev, a).sys, L(ev, a).ch], ['lite', ['zr8', 'zr8']], 'the fastest optics the old line system takes'); + assert.deepEqual(errors, []); +}); + +test('an express riding the fiber goes dark with it in the test: its traffic has to get around too', t => { + // Frankfurt–Brussels–Paris as an express over two bare ROADM fibers; Paris reaches its transit over it. + const { ev, errors } = game(t, "ACT.buildPop({city:'bru'});S.pops.bru.rgen=S.pops.fra.rgen;S.lvl=8;" + + "window.df=(a,b)=>{const id=uid();S.links.push({id,a,b,kind:'df',own:true,sys:'roadm',ch:[],km:kmBetween(a,b),sub:false,cable:null,mo:100,trench:id,cut:0,day:S.day,ready:S.day,spares:false,pairs:1});return id;};" + + "window.s1=df('fra','bru');window.s2=df('bru','par');compute();ACT.xpBuild({a:'fra',b:'par',via:s1+','+s2,o:'zr4'});window.x=S.links.find(l=>l.kind==='xp').id;compute()"); + const [s1, s2, x] = ['s1', 's2', 'x'].map(k => ev(k)); + assert.ok(ev('R.load[x]') > 1 && !ev('(R.load[s1]||0)+(R.load[s2]||0)'), 'the express carries Paris; the fibers carry nothing of their own'); + ev(COUNT + "window.__xd=[];const _c=compute;compute=function(){if(S.links.find(l=>l.id===s1).eqDown>S.day||S.links.find(l=>l.id===s2).eqDown>S.day)__xd.push(xpDown(S.links.find(l=>l.id===x)));return _c.apply(this,arguments);}"); + hire(ev, 'annie'); + std(ev, { sys: 'cl' }); + const sys = () => [L(ev, s1).sys, L(ev, s2).sys]; + // No way around either fiber: known without routing. + assert.deepEqual(JSON.parse(ev('JSON.stringify(bstdQuote(true).held)')).sort(), ['bru|par', 'fra|bru']); + ev('opsDay(S.day)'); + assert.deepEqual([sys(), ev('__tr')], [['roadm', 'roadm'], 0]); + // A wave beside the first fiber: it has a way around now, but Paris has none without the express. + wave(ev, 'fra', 'bru', 1); + ev('S.day++;compute();opsDay(S.day)'); + assert.equal(ev('__tr'), 1, 'one routing without the fiber'); + assert.deepEqual(JSON.parse(ev('JSON.stringify(__xd)')), [true], 'the express was dark in it'); + assert.deepEqual(sys(), ['roadm', 'roadm'], 'Paris would be cut off: no swap'); + // A wave to Paris carries it round: the swap goes ahead, with the express dark for the day. + wave(ev, 'fra', 'par', 3); + ev('OPTUP_NO.clear();S.day++;compute();opsDay(S.day)'); + assert.deepEqual(sys().sort(), ['cl', 'roadm'], 'one of them, one a night'); + assert.equal(ev('xpDown(S.links.find(l=>l.id===x))'), true); + ev('compute()'); + assert.ok(ev('R.load[x]||0') === 0 && ev('R.served') > 0); + assert.deepEqual(errors, []); +}); + +test('the decom order never hands back a wave the build standard upgraded that same shift', t => { + const { ev, errors } = game(t); + // A 800G wave and two 100G waves between Frankfurt and Amsterdam, in three trenches. + const big = wave(ev, 'fra', 'ams', 3), w1 = wave(ev, 'fra', 'ams', 1), w2 = wave(ev, 'fra', 'ams', 1); + hire(ev, 'annie'); + ev("S.ops.on.decom=true;S.ops.p.decom={keep:false}"); + std(ev, { wv: 2 }); + // The plan sees a pair that needs all three once the small ones are 400G; the routing after the shift's jobs, which + // decom reads, sees almost nothing on them. + ev(`compute();R.load[${lit(big)}]=700;R.load[${lit(w1)}]=150;R.load[${lit(w2)}]=150`); + assert.equal(ev('bstdQuote(true).n'), 2, 'both small waves go up'); + ev('opsDay(S.day)'); + const tiers = () => JSON.parse(ev("JSON.stringify(S.links.filter(l=>l.kind==='wave').map(l=>l.tier))")); + assert.deepEqual(tiers(), [3, 2, 2], 'both upgraded, both kept today'); + assert.deepEqual(said(ev), [['std', 2]]); + // Tomorrow they are the decom order's to judge again. + ev('S.day++;compute();opsDay(S.day)'); + assert.deepEqual(tiers(), [3]); + assert.deepEqual(said(ev), [['decom', 2]]); + assert.deepEqual(errors, []); +}); + +// In play the test is routed in the route worker. jsdom has no Worker: a second page plays it (rwServe() there), as in +// tests/day-steps.test.js. The day is the day dayTick() plays, and the page itself never routes. +test("in play, the standard's fiber test is routed by the route worker, and the day is the day dayTick() plays", t => { + // The ring of fibers, Amsterdam's and Paris's broadband on it. + const RING = "for(const [a,b] of [['fra','ams'],['ams','par'],['par','fra']]){const id=uid();S.links.push({id,a,b,kind:'df',own:false,sys:'lite',ch:['zr4','zr4'],km:Math.round(kmBetween(a,b)),sub:false,cable:null,mo:1000,trench:id,cut:0,day:S.day,ready:S.day,spares:false});}compute();" + + "ACT.opsHire({id:'annie'});S.ops.floor=0;S.ops.cap={};S.ops.on.std=true;closeModal();S.popStd=bstdPut({...bstd(),sys:'roadm'});__reseed(4242);"; + const open = seed => { const h = load({ seed }); t.after(() => h.dom.window.close()); h.dom.window.structuredClone = globalThis.structuredClone; return h; }; + const ref = open(777), page = open(777), wk = open(1); + for (const h of [ref, page]) { h.ev(BASE); h.ev(RING); } + page.ev('window.__q=[];window.__later=[];RW.budget=0;RW.later=f=>__later.push(f);rwOn=()=>!RW.dead;rwStart=()=>RW.w||(RW.w={postMessage:m=>__q.push(structuredClone(m)),terminate(){__q.length=0;}});'); + page.ev('window.__pc=0;const _c=compute;compute=function(){__pc++;return _c.apply(this,arguments);};'); + wk.ev('window.__out=null;window.postMessage=(m,tr)=>{__out=structuredClone(m,{transfer:tr});};'); + let trials = 0; + const pump = () => { for (;;) { + if (page.ev('__later.length')) { page.ev('__later.shift()()'); continue; } + if (!page.ev('__q.length')) break; + if (page.ev('!!(__q[0].trial&&__q[0].trial.dark)')) trials++; + wk.dom.window.__m = page.ev('__q.shift()'); wk.ev('rwServe(__m)'); page.dom.window.__a = wk.ev('__out'); page.ev('rwDone(__a)'); } }; + ref.ev('dayTick()'); + page.ev('rwDay()'); pump(); + assert.equal(trials, 1, 'the fiber test went to the worker'); + assert.equal(page.ev('__pc'), 0, 'no routing on the page'); + assert.equal(page.ev("S.links.filter(l=>l.sys==='roadm').length"), 1, 'and it passed: the rest of the ring carries its traffic'); + const STATE = 'JSON.stringify({S,served:R.served,load:R.load})'; + assert.equal(page.ev(STATE), ref.ev(STATE), 'the same day as dayTick()'); + assert.deepEqual([...ref.errors, ...page.errors, ...wk.errors], []); +}); + +// In play the shift rests between the standard's jobs (DAY_REST, rwRest()), and the player can tap meanwhile: every job +// is checked again against the game as it is then, not as the plan found it at the start of the shift. +test('the player acts while the shift rests: nothing past the standard, nothing paid twice, nothing claimed, and no snag for a POP gone', t => { + // Every POP on one router. std: the standard; act: what the player does at the first rest after a job of the shift. + const play = (std, act, setup = '') => { + const { ev, errors } = game(t, "for(const c of ['fra','ams','par','lon'])S.pops[c].routers=1;compute()"); + hire(ev, 'annie'); + ev(`S.popStd=${std};${setup};window.__later=[];RW.budget=0;RW.later=f=>__later.push(f)`); + ev('rwDay()'); + let spent = null; + while (ev('__later.length')) { + if (spent === null && ev('S.ops.spent.std>0')) { spent = ev('S.ops.spent.std'); ev(act); } + ev('__later.shift()()'); + } + assert.ok(spent > 0, 'the shift rested after a job'); + return { ev, errors, spent }; + }; + const routers = ev => JSON.parse(ev('JSON.stringify(Object.fromEntries(Object.entries(S.pops).map(([c,p])=>[c,p.routers])))')); + // The button brings every POP up to the standard while the shift rests after its first job. + let { ev, errors, spent } = play('{rt:3}', 'ACT.bstdApply()'); + assert.deepEqual(routers(ev), { fra: 3, ams: 3, par: 3, lon: 3 }, 'three routers each, as the standard says'); + assert.equal(ev('S.ops.spent.std'), spent, 'the shift paid for nothing after the button'); + assert.deepEqual(said(ev), [['std', 1]]); + assert.deepEqual(errors, []); + // The same with a model: the swaps the button did are not the shift's. + ({ ev, errors, spent } = play("{g:RG.findIndex(r=>r.n==='Absolute Unit 1.6T'),rt:2}", 'ACT.bstdApply()', "for(const c in S.pops)S.pops[c].routers=2")); + assert.deepEqual(JSON.parse(ev('JSON.stringify([...new Set(Object.values(S.pops).map(p=>RG[p.rgen].n))])')), ['Absolute Unit 1.6T']); + assert.equal(ev('S.ops.spent.std'), spent); + assert.deepEqual(said(ev), [['std', 1]], 'one swap, not four'); + assert.deepEqual(errors, []); + // A PNI the player orders by hand meanwhile, smaller than the plan's: the shift does not order it again as an upgrade. + const net = "NETS.find(n=>n.pops.includes('fra')&&n.pops.includes('ams')&&pniMin(n.id)===0&&peerOk(n.id,'pni','ams').ok&&peerOk(n.id,'pni','fra').ok).id"; + ({ ev, errors, spent } = play('{rt:2,pni:2}', `pniPlace(pniQuote('ams',${net},0))`, + `S.rules.pnis='instant';window.__net=${net};S.pni.push({id:'P1',city:'fra',net:__net,tier:1,ready:S.day});compute();const _v=pniVal;pniVal=(id,c)=>id===__net&&c==='ams'?{..._v(id,c),worth:true,want:40,tier:1}:_v(id,c)`)); + assert.deepEqual(JSON.parse(ev("JSON.stringify(S.pni.filter(x=>x.city==='ams').map(x=>[x.tier,!!x.up]))")), [[0, false]], 'the player\'s own, as ordered'); + assert.deepEqual(said(ev), [['std', 4]], 'the routers only'); + assert.deepEqual(errors, []); + // Amsterdam decommissioned meanwhile: its jobs are left out, the order runs on, the other POPs get theirs. + ({ ev, errors } = play('{rt:3}', "decommission(['ams'])")); + assert.equal(ev('S.ops.on.std'), true, 'the order is still on'); + assert.deepEqual(said(ev), [['std', 6]], 'no snag'); + assert.deepEqual(routers(ev), { fra: 3, par: 3, lon: 3 }); + assert.deepEqual(errors, []); +}); diff --git a/tests/build-standard.test.js b/tests/build-standard.test.js index faefc4f..d03bedd 100644 --- a/tests/build-standard.test.js +++ b/tests/build-standard.test.js @@ -12,7 +12,8 @@ const { lit } = require('../scripts/lib/js-literal'); const BASE = "ACT.start({});S.cash=1e8;for(const g of GOALS)S.done[g.id]=0;S.lvl=7;S.nextFail=S.nextEvent=1e9;UI.speed=0;S.rules=makeRules('freeze');S.rules.pnis='instant';" + "ACT.launchBB({city:'fra'});S.pops.fra.rgen=1;ACT.buyTransit({city:'fra',net:'cog',tier:1});ACT.buildPop({city:'ams'});compute()"; const AU = "RG.findIndex(r=>r.n==='Absolute Unit 3.2T')"; -const hire = ev => ev("ACT.opsHire({id:'kevin'});S.ops.floor=0;S.ops.cap.std=0;S.ops.on.std=true;closeModal()"); +// Kevin by default; a fiber test that counts swaps a night hires Annie (Kevin does two: tests/bstd-owner.test.js). +const hire = (ev, id = 'kevin') => ev(`ACT.opsHire({id:'${id}'});S.ops.floor=0;S.ops.cap.std=0;S.ops.on.std=true;closeModal()`); const shift = ev => ev('opsDay(S.day)'); function game(t, extra = '') { const h = load(); @@ -144,9 +145,9 @@ test('ports: LAG members up to the standard, split over both buildings; PNIs spr assert.deepEqual(errors, []); }); -test('fiber: the line system only on a quiet fiber or with a parallel link, one a shift; faster optics, old ones on the shelf; bigger waves', t => { +test('fiber: the line system only on a quiet fiber or with a way around, one a shift; faster optics, old ones on the shelf; bigger waves', t => { const { ev, errors } = game(t); - hire(ev); + hire(ev, 'annie'); const chonk = ev("RG.findIndex(r=>r.n==='Chonk 800')"); ev(`ACT.buildPop({city:'par'});for(const c of ['fra','ams','par']){S.pops[c].rgen=${chonk};S.pops[c].routers=4;}`); const a = fiber(ev, 'fra', 'ams', ['zr4', 'zr4']), b = fiber(ev, 'fra', 'par', ['zr4']); @@ -189,7 +190,7 @@ test('fiber: the line system only on a quiet fiber or with a parallel link, one test('quiet fibers take their line system one a shift and buy nothing in between: the intern spends what the quote said', t => { const { ev, errors } = game(t); - hire(ev); + hire(ev, 'annie'); const chonk = ev("RG.findIndex(r=>r.n==='Chonk 800')"); ev(`ACT.buildPop({city:'par'});ACT.buildPop({city:'lon'});for(const c of ['fra','ams','par','lon']){S.pops[c].rgen=${chonk};S.pops[c].routers=4;}`); const ids = ['ams', 'par', 'lon'].map(c => fiber(ev, 'fra', c, ['zr4', 'zr4'])); diff --git a/tests/intern-optical-upgrade.test.js b/tests/intern-optical-upgrade.test.js index f55544f..1166b4e 100644 --- a/tests/intern-optical-upgrade.test.js +++ b/tests/intern-optical-upgrade.test.js @@ -1,5 +1,6 @@ // The intern upgrades optical transport: line systems up a size (only where the traffic gets around the day-long swap and -// no customer rides the fiber), optics traded for bigger ones on full, hot fiber, or every fiber up to a chosen line system. +// no customer rides the fiber), optics traded for bigger ones on full, hot fiber, or every fiber up to the build standard's +// line system. const test = require('node:test'); const assert = require('node:assert/strict'); const { load } = require('./harness'); @@ -21,6 +22,8 @@ function game(t, extra) { return h; } const order = (ev, p) => ev(`S.ops.on.optup=true;S.ops.p.optup=${JSON.stringify(p)}`); +// The line system every fiber should have: the build standard's. +const goal = (ev, sys) => ev(`S.popStd=bstdPut({...bstd(),sys:${JSON.stringify(sys)}})`); // The fiber runs at 90% of what it carries. const heat = ev => ev("R.load.f=dfCap(S.links[0])*0.9"); const fiber = ev => JSON.parse(ev("JSON.stringify({sys:S.links[0].sys,ch:S.links[0].ch.join(),down:S.links[0].eqDown>S.day})")); @@ -69,10 +72,11 @@ test('no way around, or a customer on the fiber: no swap; bigger optics instead, assert.deepEqual(errors, []); }); -test('a chosen line system: every fiber below it is moved up, two steps in one night if need be, one fiber a night', t => { +test("the build standard's line system: every fiber below it is moved up, two steps in one night if need be, one fiber a night", t => { const { ev, errors } = game(t, "S.links[0].ch=['zr4'];" + "for(const [i,a,b] of [[2,'fra','par'],[3,'par','ams']])S.links.push({id:'g'+i,a,b,kind:'df',own:true,sys:'lite',ch:['zr4'],km:450,trench:'t'+i,ready:0,cut:0,mo:1,pairs:1});compute()"); - order(ev, { sys: 'cl', at: 90 }); + order(ev, { at: 90 }); + goal(ev, 'cl'); const want = ev("sysCost('roadm')+sysCost('cl')"); const sys = () => JSON.parse(ev("JSON.stringify(S.links.filter(l=>l.kind==='df').map(l=>l.sys))")); const c0 = ev('S.cash'); @@ -82,10 +86,12 @@ test('a chosen line system: every fiber below it is moved up, two steps in one n for (let n = 0; n < 6 && sys().some(s => s !== 'cl'); n++) ev('S.day+=2;compute();opsDay(S.day)'); assert.deepEqual(sys(), ['cl', 'cl', 'cl', 'cl'].slice(0, sys().length), 'the rest on the nights after'); // Nothing is ever moved down. - ev("S.ops.p.optup.sys='roadm';S.day+=2;compute();opsDay(S.day)"); + goal(ev, 'roadm'); + ev('S.day+=2;compute();opsDay(S.day)'); assert.ok(sys().every(s => s === 'cl')); // A fiber with no way around is tested once, then left alone for a week: no routing every night for nothing. - ev("S.links=S.links.filter(l=>l.id==='f');S.links[0].sys='lite';S.ops.p.optup.sys='cl';S.day+=2;compute()"); + goal(ev, 'cl'); + ev("S.links=S.links.filter(l=>l.id==='f');S.links[0].sys='lite';S.day+=2;compute()"); const runs = () => ev('window.__runs||0'); ev("window.__runs=0;const c0=compute;compute=function(){window.__runs++;return c0.apply(this,arguments);};opsDay(S.day)"); assert.equal(sys()[0], 'lite'); @@ -98,7 +104,7 @@ test('a chosen line system: every fiber below it is moved up, two steps in one n assert.deepEqual(errors, []); }); -test('the budget holds, the setting is saved, and the sheet shows it as lists', t => { +test("the budget holds, the settings are saved, and the sheet shows them as lists and the line system as the standard's", t => { const { ev, dom, errors } = game(t); order(ev, { at: 80 }); ev('S.ops.cap.optup=10000'); @@ -107,16 +113,22 @@ test('the budget holds, the setting is saved, and the sheet shows it as lists', assert.equal(fiber(ev).sys, 'lite', 'a $10k budget does not buy a line system'); assert.ok(ev("S.ops.log[0].r.some(x=>x[0]==='broke')")); const back = v => ev(`(()=>{const s=JSON.parse(JSON.stringify(S));s.ops.p.optup=${v};sanitize(s);return JSON.stringify(s.ops.p.optup);})()`); - assert.deepEqual(JSON.parse(back("{sys:'cl',swap:false,at:70}")), { at: 70, sys: 'cl', swap: false }); - assert.deepEqual(JSON.parse(back("{sys:'lite',swap:'yes'}")), {}); + assert.deepEqual(JSON.parse(back("{swap:false,at:70}")), { at: 70, swap: false }); + assert.deepEqual(JSON.parse(back("{at:55,swap:'yes'}")), {}); assert.deepEqual(JSON.parse(back('undefined')), {}, 'an old save without the order'); ev("const s=JSON.parse(JSON.stringify(S));delete s.ops.on.optup;sanitize(s);window.__off=s.ops.on.optup"); assert.equal(ev('__off'), false, 'off in an old save'); dom.window.innerWidth = 360; ev("ACT.phoneTab({t:'noc'})"); dom.window.document.querySelector('#leftBody [data-act="opsOpen"]').click(); - const sel = [...dom.window.document.querySelectorAll('#modalCard select[data-chg="opsParam"]')].find(s => s.dataset.args === '{"k":"optup","p":"sys"}'); - assert.deepEqual([...sel.options].map(o => o.textContent), ['Next one, when full', 'ROADMaster 9000', 'ROADMaster 9000 C+L']); - assert.match(dom.window.document.getElementById('modalCard').textContent, /Upgrade optical transport/); + const doc = dom.window.document, card = () => [...doc.querySelectorAll('#modalCard .ops-o.on')].find(o => o.querySelector('.nm').textContent === 'Upgrade optical transport'); + assert.deepEqual([...card().querySelectorAll('select[data-chg="opsParam"]')].map(s => JSON.parse(s.dataset.args).p), ['at', 'swap'], 'no line system list of its own'); + // The line system is the build standard's: what it says, and the way to the sheet. + assert.match(card().querySelector('.ops-from').textContent, /^Line systemFrom the build standard: Next one, when full/); + goal(ev, 'cl'); + ev('ACT.opsOpen()'); + assert.equal(card().querySelector('.ops-from b').textContent, 'From the build standard: ROADMaster 9000 C+L'); + card().querySelector('.ops-from [data-act="bstdOpen"]').click(); + assert.ok(ev('bstdShown()'), 'the button opens the build standard'); assert.deepEqual(errors, []); }); diff --git a/tests/intern-personas.test.js b/tests/intern-personas.test.js index f663cf1..81800d8 100644 --- a/tests/intern-personas.test.js +++ b/tests/intern-personas.test.js @@ -57,7 +57,7 @@ test('Kevin swaps two line systems a night, the others one', t => { "S.links=[['f1','fra','ams'],['f2','ams','par'],['f3','par','fra'],['f4','fra','ams']].map(([id,a,b])=>({id,a,b,kind:'df',own:true,sys:'lite',ch:['zr4'],km:450,trench:id,ready:0,cut:0,mo:1,pairs:1}));compute()"; for (const [id, want] of [['kevin', 2], ['annie', 1], ['tracy', 1]]) { const { ev, errors } = game(t, id, fibers); - ev("S.ops.on.optup=true;S.ops.p.optup={sys:'roadm'};opsDay(S.day)"); + ev("S.ops.on.optup=true;S.popStd=bstdPut({...bstd(),sys:'roadm'});opsDay(S.day)"); assert.equal(ev("S.links.filter(l=>l.sys==='roadm').length"), want, id); assert.deepEqual(errors, []); } diff --git a/tests/intern-router-model.test.js b/tests/intern-router-model.test.js index a28ef92..3a1fe7c 100644 --- a/tests/intern-router-model.test.js +++ b/tests/intern-router-model.test.js @@ -1,4 +1,5 @@ -// The intern standardizes routers on a chosen model within the budget, and every setting in the Ops sheet is a list. +// The intern standardizes routers on the build standard's model within the budget; the Ops sheet says where the model +// comes from and leads to the sheet that sets it, and every other setting there is a list. const test = require('node:test'); const assert = require('node:assert/strict'); const { load } = require('./harness'); @@ -17,12 +18,15 @@ function game(t) { return h; } const gens = ev => JSON.parse(ev("JSON.stringify(['fra','ams','par'].map(c=>S.pops[c].rgen))")); +// The build standard's router model (the standard's other targets stay as they are). +const model = (ev, g) => ev(`S.popStd=bstdPut({...bstd(),g:${g}})`); -test('a chosen model: every POP on a smaller one is swapped to it, at the price of the swap, never as an outage', t => { +test("the build standard's model: every POP on a smaller one is swapped to it, at the price of the swap, never as an outage", t => { const { ev, errors } = game(t); const m = ev(MODEL); assert.ok(m > 0 && ev(`rgOpen(${m})`), 'the model is unlocked at level 3'); - ev(`S.ops.on.routers=true;S.ops.p.routers={at:90,how:'auto',model:${m}};S.ops.cap.routers=0;compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0`); + model(ev, m); + ev("S.ops.on.routers=true;S.ops.p.routers={at:90,how:'auto'};S.ops.cap.routers=0;compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0"); const want = ev(`swapCost('ams',${m})+swapCost('par',${m})`), c0 = ev('S.cash'); ev('opsDay(S.day)'); assert.deepEqual(gens(ev), [1, m, m], 'Amsterdam (a second router) and Paris (no traffic yet) are swapped; Frankfurt has one busy router, so no'); @@ -32,18 +36,19 @@ test('a chosen model: every POP on a smaller one is swapped to it, at the price // Frankfurt gets its turn once it has a second router. ev('S.pops.fra.routers=2;S.day++;compute();opsDay(S.day)'); assert.deepEqual(gens(ev), [m, m, m]); - // Busy POPs on the chosen model get more routers, never a swap to another one. + // Busy POPs on the standard's model get more routers, never a swap to another one. ev("S.ops.p.routers.how='swap';S.day++;compute();R.nodeLoad.ams=R.nodeCap.ams*0.95;opsDay(S.day)"); - assert.equal(ev('S.pops.ams.rgen'), m, 'no swap away from the chosen model'); + assert.equal(ev('S.pops.ams.rgen'), m, 'no swap away from the standard\'s model'); ev("S.ops.p.routers.how='add';S.day++;compute();R.nodeLoad.ams=R.nodeCap.ams*0.95;opsDay(S.day)"); assert.equal(ev('S.pops.ams.routers'), 3, 'a busy POP gets a third router'); assert.deepEqual(errors, []); }); -test('the budget decides how far it gets, the busiest POP first; a smaller model is never a downgrade', t => { +test('the budget decides how far it gets, the busiest POP first; a smaller model is never a downgrade; a locked one means the best unlocked below it', t => { const { ev, errors } = game(t); const m = ev(MODEL); - ev(`S.ops.on.routers=true;S.ops.p.routers={at:90,how:'auto',model:${m}};compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0;R.nodeLoad.par=R.nodeCap.par*0.5`); + model(ev, m); + ev("S.ops.on.routers=true;S.ops.p.routers={at:90,how:'auto'};compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0;R.nodeLoad.par=R.nodeCap.par*0.5"); // A budget for one swap: Paris is the busier, so it goes first and Amsterdam waits for next month. const one = ev(`swapCost('par',${m})`); ev(`S.ops.cap.routers=OPS_CAPS.filter(c=>c>=${one}).sort((a,b)=>a-b)[0]`); @@ -54,24 +59,70 @@ test('the budget decides how far it gets, the busiest POP first; a smaller model // Next month, a new budget: Amsterdam. ev('{const m0=monthIdx(S.day);while(monthIdx(S.day)===m0)S.day++;}compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0;opsDay(S.day)'); assert.deepEqual(gens(ev), [1, m, m]); - // Choosing a smaller model swaps nothing back. - ev("S.ops.cap.routers=0;S.ops.p.routers.model=RG.findIndex(r=>r.n==='Edge Lord 400');S.day++;compute();opsDay(S.day)"); + // A smaller model in the standard swaps nothing back. + ev("S.ops.cap.routers=0;S.day++;compute()"); + model(ev, "RG.findIndex(r=>r.n==='Edge Lord 400')"); + ev('opsDay(S.day)'); assert.deepEqual(gens(ev), [1, m, m]); + // A model above the level: the best main-line model unlocked below it, as the standard means for a new POP. + const big = ev("RG.findIndex(r=>r.n==='Arrrhipster 7800R5')"); + assert.equal(ev(`rgOpen(${big})`), false); + model(ev, big); + ev('S.pops.fra.routers=2'); + const best = ev(`bstdModel(${big},'fra')`); + ev('S.day++;compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0;opsDay(S.day)'); + assert.equal(ev('S.pops.fra.rgen'), best); + assert.ok(ev('S.pops.fra.rgen') > 1 && ev(`RG[S.pops.fra.rgen].cap { +test('saves: an old model or line system setting moves into the standard when it names none; its own wins; neither stays neither', t => { const { ev, errors } = game(t); - const back = v => ev(`(()=>{const s=JSON.parse(JSON.stringify(S));s.ops.p.routers=${v};sanitize(s);return JSON.stringify(s.ops.p.routers);})()`); - assert.deepEqual(JSON.parse(back(`{model:${ev(MODEL)}}`)), { model: ev(MODEL) }); - assert.deepEqual(JSON.parse(back('{model:999}')), {}); - assert.deepEqual(JSON.parse(back("{model:'7'}")), {}); - assert.deepEqual(JSON.parse(back('undefined')), {}, 'an old save without it'); - assert.equal(ev("opsP('routers','model')"), 'next'); + const m = ev(MODEL), el = ev("RG.findIndex(r=>r.n==='Edge Lord 400')"); + // An old save: the routers order's model and the optical order's line system, with or without a standard. x: what + // else the save says (by default both orders ran, with Kevin hired). + const ON = 's.ops.on.routers=true;s.ops.on.optup=true'; + const back = (p, std, x = ON) => JSON.parse(ev(`(()=>{const s=JSON.parse(JSON.stringify(S));s.ops.p=${p};s.popStd=${std};${x};sanitize(s);return JSON.stringify({p:s.ops.p,std:s.popStd});})()`)); + let r = back(`{routers:{model:${m},at:70},optup:{sys:'cl',swap:false}}`, 'null'); + assert.deepEqual(r.std, { g: m, rt: 1, sys: 'cl' }, 'no standard: both move into a new one'); + assert.deepEqual(r.p.routers, { at: 70 }, 'the old setting is gone, the others stay'); + assert.deepEqual(r.p.optup, { swap: false }); + // Only what an order that ran used: a paused order's setting, or one with nobody hired, did nothing, and goes. + r = back(`{routers:{model:${m},at:70},optup:{sys:'cl'}}`, 'null', 's.ops.on.routers=false'); + assert.deepEqual([r.std, r.p.routers, r.p.optup], [null, { at: 70 }, {}], 'both paused: no standard'); + r = back(`{routers:{model:${m}},optup:{sys:'cl'}}`, 'null', 's.ops.on.routers=true'); + assert.deepEqual(r.std, { g: m, rt: 1 }, 'the routers order ran, the optical order was paused'); + r = back(`{routers:{model:${m}},optup:{sys:'cl'}}`, '{rt:2}', ON + ';s.ops.intern=null'); + assert.deepEqual([r.std, r.p.routers, r.p.optup], [{ rt: 2 }, {}, {}], 'nobody hired: the standard stays as it was'); + r = back(`{routers:{model:${m}},optup:{sys:'roadm'}}`, `{g:${el},rt:2,sys:'cl',gen:true}`); + assert.deepEqual(r.std, { g: el, rt: 2, gen: true, sys: 'cl' }, 'a standard that names its own keeps them'); + assert.deepEqual([r.p.routers, r.p.optup], [{}, {}]); + r = back(`{routers:{model:${m}},optup:{sys:'roadm'}}`, '{rt:3,lag:2}'); + assert.deepEqual(r.std, { g: m, rt: 3, lag: 2, sys: 'roadm' }, 'one without them takes them and keeps the rest'); + r = back("{routers:{model:'next'},optup:{sys:'next'}}", 'null'); + assert.deepEqual([r.std, r.p.routers, r.p.optup], [null, {}, {}], "'next' was no choice: nothing moves"); + r = back("{routers:{model:999},optup:{sys:'warp'}}", 'null'); + assert.deepEqual([r.std, r.p.routers, r.p.optup], [null, {}, {}], 'junk moves nowhere'); + r = back("{routers:{model:'7'}}", `{g:${el}}`); + assert.deepEqual(r.std, { g: el, rt: 1 }); + r = back('undefined', 'undefined'); + assert.deepEqual([r.std, r.p.routers, r.p.optup], [null, {}, {}], 'an old save with neither'); + // The order reads the standard: none set, it is the next generation when busy. + assert.equal(ev('bstd().g'), 'keep'); + // A loaded save whose model sat in a paused order, the intern since fired: new POPs cost what they did. + const lon = ev("popCost('lon')"); + ev(`S.ops.p.routers={model:${m}};S.ops.on.routers=false;S.ops.intern=null;S=migrate(JSON.parse(JSON.stringify(S)))`); + assert.deepEqual([ev('S.popStd'), ev("newPopCost('lon')"), ev("JSON.stringify(S.ops.p.routers)")], [null, lon, '{}']); + ev("ACT.buildPop({city:'lon'})"); + assert.equal(ev('S.pops.lon.rgen||0'), 0, 'and get the basic router'); + // A loaded save that had a model in a running order plays with it: the shift swaps to it. + ev(`ACT.opsHire({id:'kevin'});S.ops.floor=0;closeModal();S.ops.p.routers={model:${m}};S.ops.on.routers=true;S=migrate(JSON.parse(JSON.stringify(S)));compute();for(const c in R.nodeLoad)R.nodeLoad[c]=0;opsDay(S.day)`); + assert.equal(ev('S.popStd.g'), m); + assert.equal(ev('S.pops.ams.rgen'), m); assert.deepEqual(errors, []); }); -test('every setting in the Ops sheet is a list to pick from, on a phone too', t => { +test('the Ops sheet: the model comes from the build standard, one line and a way there; every other setting is a list, on a phone too', t => { const { ev, dom, errors } = game(t); dom.window.innerWidth = 360; const doc = dom.window.document; @@ -88,24 +139,29 @@ test('every setting in the Ops sheet is a list to pick from, on a phone too', t // Every setting of every order, every budget and the floor. const n = ev('OPS.reduce((a,d)=>a+Object.keys(d.p).length+(d.cap?1:0),0)+1'); assert.equal(doc.querySelectorAll('#modalCard .ops-p select').length, n); - // The model list: the next generation, then the models you can buy, smallest first. - const model = sel('opsParam', { k: 'routers', p: 'model' }); - assert.ok(model, 'the routers order has a model list'); - assert.equal(model.options[0].textContent, 'Next generation, when busy'); - assert.ok([...model.options].some(o => o.textContent === 'Arrrhipster 7800R')); - assert.ok(![...model.options].some(o => o.textContent === 'Absolute Unit 3.2T'), 'only models unlocked at your level'); - pick(model, 'Arrrhipster 7800R'); - assert.equal(ev("opsP('routers','model')"), ev(MODEL)); - assert.equal(doc.activeElement && doc.activeElement.dataset.args, JSON.stringify({ k: 'routers', p: 'model' }), 'the keyboard stays on the list'); + assert.equal(sel('opsParam', { k: 'routers', p: 'model' }), undefined, 'no model list of its own'); + // The routers order: where its model comes from, and the button to the sheet that sets it. + const routers = [...doc.querySelectorAll('#modalCard .ops-o.on')].find(o => o.querySelector('.nm').textContent === 'Keep routers ahead'); + assert.ok(routers.querySelector('.ops-from'), 'a line in the routers order'); + assert.match(routers.querySelector('.ops-from').textContent, /^ModelFrom the build standard: Next generation, when busy/); + routers.querySelector('.ops-from [data-act="bstdOpen"]').click(); + assert.ok(ev('bstdShown()'), 'the button opens the build standard'); + // Set there, it is what the line says. + pick([...doc.querySelectorAll('#modalCard select[data-chg="bstdSet"]')].find(s => JSON.parse(s.dataset.args).k === 'g'), 'Arrrhipster 7800R'); + assert.equal(ev('bstd().g'), ev(MODEL)); + ev('ACT.opsOpen()'); + const r2 = [...doc.querySelectorAll('#modalCard .ops-o.on')].find(o => o.querySelector('.nm').textContent === 'Keep routers ahead'); + assert.match(r2.querySelector('.ops-from b').textContent, /^From the build standard: Arrrhipster 7800R$/); + // The rest are still lists. pick(sel('opsParam', { k: 'transit', p: 'prov' }), 'Already connected'); assert.equal(ev("opsP('transit','prov')"), 'have'); pick(sel('opsCap', { k: 'routers' }), 'no limit'); assert.equal(ev("opsCap('routers')"), 0); pick(sel('opsFloor', {}), ev('fmt$(1e6)')); assert.equal(ev('S.ops.floor'), 1e6); - // A value from nowhere changes nothing; the MCP tools still step without a value. - ev("ACT.opsParam({k:'routers',p:'model',v:'99'});ACT.opsCap({k:'routers',v:'-1'});ACT.opsFloor({v:'x'})"); - assert.deepEqual([ev("opsP('routers','model')"), ev("opsCap('routers')"), ev('S.ops.floor')], [ev(MODEL), 0, 1e6]); + // A value from nowhere changes nothing; the retired setting is nothing either; the MCP tools still step without a value. + ev("ACT.opsParam({k:'routers',p:'model',v:'1'});ACT.opsCap({k:'routers',v:'-1'});ACT.opsFloor({v:'x'})"); + assert.deepEqual([ev('bstd().g'), ev("opsCap('routers')"), ev('S.ops.floor'), ev("JSON.stringify(S.ops.p.routers||{})")], [ev(MODEL), 0, 1e6, '{}']); ev("ACT.opsParam({k:'routers',p:'how'})"); assert.equal(ev("opsP('routers','how')"), 'add'); assert.deepEqual(errors, []); diff --git a/tests/mcp-commands.test.js b/tests/mcp-commands.test.js index ea139e8..beb7695 100644 --- a/tests/mcp-commands.test.js +++ b/tests/mcp-commands.test.js @@ -343,6 +343,33 @@ test('a list in a sheet sends its own arguments with the value picked: the build assert.deepEqual(s.errors(), []); }); +test('the router model and the line system are set in the build standard only: the orders\' old settings point there', () => { + const { s, T, ev } = sandbox({ pops: [] }); + act(T, 'opsHire', { id: 'annie' }); + ev('closeModal()'); + for (const k of ['routers', 'optup']) act(T, 'opsToggle', { k }); + ev('closeModal()'); + assert.throws(() => act(T, 'opsParam', { k: 'routers', p: 'model', v: '1' }), /routers order takes its router model from the build standard: set it with bstdSet \(k "g"\)/); + assert.throws(() => act(T, 'opsParam', { k: 'optup', p: 'sys' }), /optup order takes its line system from the build standard: set it with bstdSet \(k "sys"\)/); + assert.equal(ev("JSON.stringify([S.ops.p.routers||{},S.ops.p.optup||{},S.popStd])"), '[{},{},null]', 'nothing changed'); + act(T, 'opsParam', { k: 'routers', p: 'how' }); + assert.equal(ev("opsP('routers','how')"), 'add', 'its other settings still step'); + ev('closeModal()'); + // The catalog of orders has no such settings; the docs say where they went. + const O = T('catalog', { name: 'OPSK' }); + const ps = JSON.stringify(O); + assert.doesNotMatch(ps, /"model"|"sys"/); + assert.match(T('schema', { section: 'commands' }).opsParam.doc, /bstdSet k "g" and k "sys"/); + // Set there, both orders use it; the Ops sheet says so, with the way to the sheet. + act(T, 'bstdSet', { k: 'sys', v: '2' }); + assert.equal(ev('bstd().sys'), 'cl'); + act(T, 'opsOpen'); + const sc = T('screen'); + assert.match(sc.text, /From the build standard: ROADMaster 9000 C\+L/); + assert.ok(sc.buttons.some((b) => b.act === 'bstdOpen'), 'a button to the build standard'); + assert.deepEqual(s.errors(), []); +}); + test('new_game takes your own ASN and the sandbox chaos dial', () => { const s = createSession(), T = tools(s), ev = (x) => s.game.ev(x); assert.equal(T('new_game', { city: 'ams', asn: 213337, seed: 2 }).asn, 213337); From 3bc1641a46cecf1bf27bcef38fa8efb4fb5b83ca Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 06:55:24 +0100 Subject: [PATCH 476/546] Plans: the server runs every multiplayer game, at 1x with a speed vote --- docs/plans/next-session.md | 46 +++++++++++++------------------------- 1 file changed, 16 insertions(+), 30 deletions(-) diff --git a/docs/plans/next-session.md b/docs/plans/next-session.md index be20f7b..212fe92 100644 --- a/docs/plans/next-session.md +++ b/docs/plans/next-session.md @@ -12,33 +12,21 @@ planned or known, not built. ## Next features -3. **Wave B starts with a shared session clock.** Proposed on 2026-11-07, not decided yet: it changes how every - multiplayer game plays. Today each player's game runs in their own browser at their own speed (pause, 0.5× to 8×), so - players in one session are on different days. The proposal: the server keeps the time and every game in the session - follows it. The simulation stays in the browser. - - **Server:** a session gets a pace when it is created: one game day every 30 s to 5 min (agent mode's list). Never the - normal 2.5 s, which is 1,440 game days an hour. The day only moves while at least one player was seen recently (the - roster already keeps `seen`), so nobody comes back to years of unattended play. Every roster answer carries the - server's time and the session day. - - **Browser:** the clock is locked to the session. `UI.clockLocked` and `HOOKS.speed()` (`50-state.js`) already hide - the speed buttons and refuse pause, and `save()` already leaves `uiSpeed` alone while locked. The code goes in - `src/game/`, because `src/agent/` does not ship (ADR 0004), so it needs its own copy of agent mode's worker ticker - (`src/agent/85-ticker.js`) to keep time in hidden tabs. Agent mode also sets `HOOKS.speed`: the session wins, and - agent mode is off in a multiplayer game. - - **Catching up:** a game behind the session day runs days until it matches, a few per frame, with its progress - shown. It needs its own loop: with the route worker, `runClock` holds one day at a time. A day takes about 30 ms on - the big test network, so 400 missed days take about 12 s on a desktop and longer on phones. Late joiners start on - the session's current day (to check: what in the world depends on the day a game started). - - **Nobody can pause or speed up.** That is what "the same day" means. - - **Later, optional: the server plays absent players.** It opens an offline player's save in a headless game (jsdom, - as `scripts/lib/mcp-game.js` already does with its realtime clock) and runs their days with the intern. The - browser takes the save back on return through phase 1's save numbers, so the server is just one more device. Up to - about 0.5 GB of RAM per absent player. Without it, other players see an absent network stand still. - - **Not proposed: a server that runs every game** with the browser only showing it. Every click would be a round - trip, and the page reads `S` and `R` directly everywhere, so it would be a rewrite. Its one gain over the above is - verified cards (today the server trusts them). - - **Phase 2 gets simpler:** its wall-clock timing (tenders that close after 10 real minutes, `idle` ≥ 300 s, notice on - each player's own clock, the soak test's "own speed") can move to game days. +3. **The server runs every game of a multiplayer build** (decided 2026-11-07, being designed and built). In a page built + with `MP_API`, each network's days run on the session server, not in the browser, so every player of a session is on + the same day at the same speed. A single-player game in that build is a session of one and runs there too; old local + saves keep working in the browser, and the plain build stays exactly as it is (static, no server, no requests). + - **Speed:** 1× by default (one day per `DAY_MS`, 2.5 s). Players vote for another speed, pause included; alone in a + session your vote decides at once. The world pauses while no player is connected. + - **Absent players:** while anyone plays, the networks of those away keep running on the server (their intern's + standing orders help), so nobody falls behind. + - **Why:** the same day for everyone, which phase 2's trades need, and less work for phones at higher speeds (at 1× the + day is about 10–15% of a phone's CPU on the big test network, at 8× about half; map and panels stay in the browser). + - **What stays in the browser:** map drawing and panels. The flow tables (`R.ef`/`R.fl`, about 3 MB per routing on the + big network) cannot be shipped every day, so what reads them (a selected link on the map, the link panel, PNI value, + puzzles) has to ask for them. + - **Phase 2 gets simpler:** with every world in one server process, its wall-clock timing (tenders that close after 10 + real minutes, `idle` ≥ 300 s, notice on each player's own clock) can move to game days. 4. **Wave B: #97 co-op companies** (several players run one network with roles, budgets and approvals), host-authoritative over the multiplayer server, and **multiplayer phase 2** (players as carriers in each other's simulations: transit, peering, PNIs, shared fiber): design in `docs/plans/multiplayer-phase2.md`. @@ -75,7 +63,5 @@ planned or known, not built. ## Housekeeping -- `npm run perf -- --browser` needs Chromium (`sudo pacman -S chromium`, then `PERF_CHROME=/usr/bin/chromium`); only the - jsdom benchmark has been run. -- Upstream release tags are not on `vanvik` yet: `git push vanvik --tags` if wanted. +- `npm run perf -- --browser` runs with `PERF_CHROME=/usr/bin/chromium`. - The merged worktrees under `.claude/worktrees/` and their `worktree-wf_*` branches can be removed. From 69328ce257b64e66a63feb61b4599a9753673fd4 Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 07:01:34 +0100 Subject: [PATCH 477/546] IPv6-only broadband: 464XLAT city by city, a NAT64 pool next to CGNAT A broadband city can swap its home routers for ones with a CLAT (ip6Go / ip6Stop, from the city panel's Home broadband). Over 30 to 180 days an even share of the homes moves each day, paid as the routers go in ($4 a home), waiting while cash is short; starting needs only the first day's share. New homes in a swapping or finished city get the new router at the same price. The panel says how many addresses it frees and what it does to the monthly IPv4 bill. ip4Use splits homes into public, behind CGNAT and IPv6-only: the NAT64 pool (ceil(IPv6-only homes / NAT64 ratio), 64/128/256, default 128) comes right after business blocks, before dual-stack homes. NAT64 gateways cost the same per Gbps of IPv4 as CGNAT boxes; NAT64 refunds sit under CGNAT's at the same ratio and never reach zero. The IPv4 share of home traffic is now a curve: 0.55 on day 0, two points less a year, floor 0.2. Out-of-space advice names the sharing left to stretch. Everything is under rule ip4; old saves load unchanged (no field means dual stack). --- .claude/skills/gameplay-rules/SKILL.md | 2 +- CHANGELOG.md | 2 + site/i18n/de.js | 41 ++- site/i18n/es.js | 41 ++- site/i18n/fr.js | 41 ++- site/i18n/it.js | 41 ++- site/i18n/pt.js | 41 ++- src/agent/10-domains.js | 3 +- src/agent/20-commands.js | 11 +- src/agent/30-docs.js | 4 +- src/game/60-features/33-address-space.js | 57 ++- src/game/60-features/34-ipv6-only.js | 58 +++ src/game/80-simulation/50-sanitize.js | 2 +- src/game/88-days/10-day-tick.js | 5 +- src/game/90-actions/50-customers.js | 2 +- src/game/90-actions/54-address-space.js | 11 +- src/game/90-actions/55-ipv6-only.js | 9 + src/game/93-ui/50-city-panel.js | 2 +- src/game/94-dashboard/60-dashboard.js | 2 +- src/game/94-dashboard/72-address-space.js | 24 +- src/i18n/en.js | 41 ++- tests/address-space.test.js | 6 +- tests/gameplay-rules.test.js | 3 +- tests/mcp-commands.test.js | 2 +- tests/nat64.test.js | 415 ++++++++++++++++++++++ 25 files changed, 812 insertions(+), 54 deletions(-) create mode 100644 src/game/60-features/34-ipv6-only.js create mode 100644 src/game/90-actions/55-ipv6-only.js create mode 100644 tests/nat64.test.js diff --git a/.claude/skills/gameplay-rules/SKILL.md b/.claude/skills/gameplay-rules/SKILL.md index 619584b..4268d96 100644 --- a/.claude/skills/gameplay-rules/SKILL.md +++ b/.claude/skills/gameplay-rules/SKILL.md @@ -46,7 +46,7 @@ These are what the game promises, held up by `tests/gameplay-rules.test.js` (one | --- | --- | --- | | M1 | On-call is the classic game: it equals `RULE_DEF`, and a save without rules loads as On-call. The seeded suites (`tests/game.test.js`, `tests/rules.test.js`) are its behaviour. | Old saves never change under them. | | M2 | Presets are ordered: Best Effort never harsher than Change Freeze, Change Freeze never harsher than On-call, BGP at 3 a.m. never gentler (chaos, lead times, market; and a seeded year of incidents). Only Best Effort mends sea cuts without ships, skips conferences, rescues instead of game over, has patient customers and instant PNIs. | The names promise it. | -| M3 | Every subsystem that can annoy the player reads a rule: outages and events (`chaos`), DDoS, sold-out routes, de-peering and hardware prices (`market`), lead times (`lead`), the clock, cable ships (`sea`), conferences (`confs`), going broke (`broke`), customer patience (`moods`), PNI delivery (`pnis`), scarce IPv4 and CGNAT (`ip4`, On-call and BGP at 3 a.m. only; scenarios opt in), and the day's toasts (quiet notifications). A quiet ruleset gives a quiet year. | Rules are presets of flags, not separate code. | +| M3 | Every subsystem that can annoy the player reads a rule: outages and events (`chaos`), DDoS, sold-out routes, de-peering and hardware prices (`market`), lead times (`lead`), the clock, cable ships (`sea`), conferences (`confs`), going broke (`broke`), customer patience (`moods`), PNI delivery (`pnis`), scarce IPv4, CGNAT and IPv6-only homes behind NAT64 (`ip4`, On-call and BGP at 3 a.m. only; scenarios opt in), and the day's toasts (quiet notifications). A quiet ruleset gives a quiet year. | Rules are presets of flags, not separate code. | | M4 | Scenarios and the weekly challenge always run On-call plus their own `S.scn.rules`. | Fair scores. | | M5 | Sandbox has no locked feature: open gates, every level, own cables, endless money. | It is a sandbox. | | M6 | A Normal game picks its charter once, when it starts (sandbox, puzzles and scenarios never do). A charter changes what you set out to do, never what things cost: the Cable broker gets glass (fiber, line systems, optics, own subsea cables and the routers to light them) from day one at the prices everyone pays at the top level, and everything else by level. | Same prices and rules for every charter (#300). | diff --git a/CHANGELOG.md b/CHANGELOG.md index 6ed9b59..363c7d1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows ## [Unreleased] +- Broadband cities can now go IPv6-only with 464XLAT, a second way to save IPv4 next to CGNAT. Start it from a city's Home broadband, which also says what it does to your monthly IPv4 bill: its home routers are swapped over a month or more, paid as each one goes in (new homes there get one too, at the same price), and the homes then need no IPv4 address of their own, only a share of a NAT64 pool at up to 256 homes per address, with fewer refunds than CGNAT at the same ratio. The bank's Address space section shows your homes as public, behind CGNAT and IPv6-only, with the NAT64 ratio next to the CGNAT one, and says which of the two to stretch when space runs out. +- CGNAT gets a little cheaper every year: the world moves to IPv6 about two points a year, so less of your homes' traffic needs IPv4 and the CGNAT and NAT64 boxes carry less of it. - The router model and the line system your intern standardizes on are now picked in one place, the build standard. Keep routers ahead and Upgrade optical transport take them from there and say so, with a button to the sheet. With a model or line system in the standard, both orders bring everything up to it and stop there (Upgrade optical transport on every fiber, even at POPs that Keep to the build standard skips); "Keep as is" leaves them to the next one up when busy. A model or line system you had picked in an order that was running moves into your standard, so new POPs get that model too. - Your intern no longer takes a fiber dark for the build standard just because it looks quiet: like the optical upgrade order, it first checks that every gigabit, circuit and express gets around the fiber for the day. The two orders share one line system swap a night (two for Kevin), never work on the same fiber in one shift, and a wave the standard just upgraded is no longer handed back the same day. - Whoever runs sales can now answer renewal haggles for you, each in their own way: switch it on at the sales desk. The engineer keeps nerdy customers at the market price and gives everyone else their discount, the shark refuses discounts and some customers walk, and the CEO settles it on the golf course, for better or worse. diff --git a/site/i18n/de.js b/site/i18n/de.js index 92d66ae..0fe1bb2 100644 --- a/site/i18n/de.js +++ b/site/i18n/de.js @@ -2693,20 +2693,26 @@ "ip4.cgnat_boxes":"CGNAT-Boxen", "ip4.cgnat_note":"Mehr Haushalte pro Adresse macht Platz für Kunden, aber Spiele und Portweiterleitungen leiden: {p} der Rechnung eines CGNAT-Haushalts gehen als Erstattung zurück.", "ip4.cgnat_ratio":"CGNAT: Haushalte pro Adresse", -"ip4.costs_row":"IPv4-Mieten und CGNAT", "ip4.free":"Frei für neue Kunden (Haushalte kommen zuerst hinter CGNAT)", "ip4.from_rir":"Von der RIR", "ip4.give_back":"Zurückgeben", "ip4.held":"Die RIR überträgt diesen Block erst ab {date} wieder.", "ip4.homes":"Breitband-Haushalte", +"ip4.homes_behind_cgnat":"Haushalte hinter CGNAT", "ip4.homes_cgnat":"{n}, davon {p} hinter CGNAT", +"ip4.homes_public":"Haushalte mit eigener Adresse", +"ip4.homes_v6":"Nur-IPv6-Haushalte (464XLAT)", +"ip4.homes_v6_pool":"{n}, NAT64-Pool {pool}", "ip4.in_use":"Deine Kunden brauchen diese Adressen: steck mehr Haushalte hinter CGNAT oder hol dir erst einen weiteren Block.", +"ip4.in_use_both":"Deine Kunden brauchen diese Adressen: pack mehr Haushalte auf jede CGNAT- oder NAT64-Adresse oder hol dir erst einen weiteren Block.", +"ip4.in_use_v6":"Deine Kunden brauchen diese Adressen: pack mehr Nur-IPv6-Haushalte auf jede NAT64-Adresse oder hol dir erst einen weiteren Block.", "ip4.lease":"Mieten {price}/Monat", "ip4.lease_out":"Vermieten +{price}/Monat", "ip4.leased_in":"Einen {p}-Block ({n} Adressen) für {price}/Monat gemietet.", "ip4.leased_in_mo":"Gemietet · {price}/Monat", "ip4.leased_out":"Dein {p}-Block ist vermietet: +{price}/Monat.", "ip4.leased_out_mo":"Vermietet · +{price}/Monat", +"ip4.leases_cgnat_nat64":"IPv4-Mieten, CGNAT und NAT64", "ip4.leases_in":"Gemietete Blöcke", "ip4.leases_out":"Vermietete Blöcke", "ip4.market":"Transfermarkt", @@ -2714,8 +2720,13 @@ "ip4.movable_from":"wieder übertragbar ab {date}", "ip4.n_addresses":{"one":"{n} Adresse","other":"{n} Adressen"}, "ip4.n_homes_per_address":{"one":"{n} Haushalt pro Adresse","other":"{n} Haushalte pro Adresse"}, +"ip4.nat64_gateways":"NAT64-Gateways", +"ip4.nat64_note":"Nur-IPv6-Haushalte haben kein eigenes IPv4: Was es noch braucht (Konsolen, Nur-IPv4-VPNs), teilt sich deinen NAT64-Pool, und {p} ihrer Rechnung gehen als Erstattung zurück, jedes Jahr weniger, weil die Welt zu IPv6 umzieht. Eine Stadt stellst du unter Heim-Breitband auf Nur-IPv6 um.", +"ip4.nat64_ratio":"NAT64: Nur-IPv6-Haushalte pro Adresse", "ip4.no_grow":"{name} ({city}) wollte auf {bw} wachsen, aber du hattest keine freien IPv4-Adressen dafür.", "ip4.no_space":"{name} braucht einen IPv4-Block {p} ({n} Adressen), und nur {free} sind frei. Kauf oder miete einen Block oder steck mehr Haushalte hinter CGNAT.", +"ip4.no_space_both":"{name} braucht einen IPv4-Block {p} ({n} Adressen), und nur {free} sind frei. Kauf oder miete einen Block oder pack mehr Haushalte auf jede CGNAT- oder NAT64-Adresse.", +"ip4.no_space_v6":"{name} braucht einen IPv4-Block {p} ({n} Adressen), und nur {free} sind frei. Kauf oder miete einen Block oder pack mehr Nur-IPv6-Haushalte auf jede NAT64-Adresse.", "ip4.note":"IPv6 ist kostenlos und unendlich. IPv4 ist seit Jahren aus: Geschäftskunden brauchen öffentliche Blöcke davon, und Haushalte, die nicht mehr reinpassen, teilen sich Adressen hinter CGNAT (IPv6-Traffic läuft an der Box vorbei).", "ip4.off":"Nach den Regeln dieses Spiels gibt es IPv4 reichlich.", "ip4.offer_needs":"Braucht einen IPv4-Block {p} ({n} Adressen); nur {free} frei.", @@ -2727,11 +2738,39 @@ "ip4.sell":"Verkaufen {price}", "ip4.sold":"Dein {p}-Block ist für {price} verkauft.", "ip4.squeezed":"Kein Platz mehr: {p} der Haushalte passen nicht mal bei {r} Haushalten pro Adresse rein. Ihre Verbindungen brechen ab und sie wollen Geld zurück: kauf oder miete einen Block.", +"ip4.squeezed_both":"Kein Platz mehr: {p} der Haushalte passen nicht mal bei {r} Haushalten pro CGNAT-Adresse und {r6} pro NAT64-Adresse rein. Ihre Verbindungen brechen ab und sie wollen Geld zurück: kauf oder miete einen Block.", +"ip4.squeezed_v6":"Kein Platz mehr: {p} der Haushalte passen nicht mal bei {r} Nur-IPv6-Haushalten pro NAT64-Adresse rein. Ihre Verbindungen brechen ab und sie wollen Geld zurück: kauf oder miete einen Block.", "ip4.take_back":"Zurückholen", "ip4.toast_cgnat":"Dein IPv4 ist voll. {p} deiner Haushalte teilen sich jetzt Adressen hinter CGNAT, und ein paar Gamer haben schon geschrieben.", "ip4.toast_out":"IPv4 ist aus. Selbst bei {r} Haushalten pro Adresse passt nicht jeder hinter CGNAT: kauf oder miete einen Block bei der Bank.", +"ip4.toast_out_both":"IPv4 ist aus. Selbst bei {r} Haushalten pro Adresse hinter CGNAT und {r6} bei NAT64 passt nicht jeder Haushalt rein: kauf oder miete einen Block bei der Bank.", +"ip4.toast_out_v6":"IPv4 ist aus. Selbst bei {r} Haushalten pro Adresse passt nicht jeder Nur-IPv6-Haushalt in deinen NAT64-Pool: kauf oder miete einen Block bei der Bank.", "ip4.too_many":"Du hast {n} IPv4-Blöcke, mehr kann ein Netz nicht führen. Verkauf kleine Blöcke oder gib sie zurück, um Platz für einen größeren zu schaffen.", +"ip4.v6_share":"IPv6-Anteil am Traffic der Haushalte dieses Jahr", "ip4.yours":"Deine IPv4-Adressen", +"ip6.already":"Jeder Haushalt hier ist schon Nur-IPv6.", +"ip6.busy":"Der Tausch läuft hier schon.", +"ip6.done":"{city} ist jetzt Nur-IPv6. Jeder Haushalt dort läuft mit 464XLAT, und was noch IPv4 braucht, teilt sich deinen NAT64-Pool.", +"ip6.dual_stack":"Dual Stack", +"ip6.every_home":"Alle Haushalte", +"ip6.go":"Auf Nur-IPv6 umstellen {cost}", +"ip6.homes_that_join_later":"Haushalte, die später dazukommen, bekommen auch einen, für {cost} pro Stück.", +"ip6.n_routers":{"one":"{n} Heimrouter","other":"{n} Heimrouter"}, +"ip6.new_homes_get_a_clat":"Neue Haushalte bekommen gleich einen Router mit CLAT, für {cost} pro Stück, und was noch IPv4 braucht, teilt sich deinen NAT64-Pool, {r} Haushalte pro Adresse.", +"ip6.no_bb":"Starte hier zuerst Breitband.", +"ip6.no_home_is_behind_cgnat":"Noch steckt kein Haushalt hinter CGNAT: Das lohnt sich erst, wenn dein IPv4 knapp wird.", +"ip6.part_note":"Der Tausch wurde bei {p} der Haushalte gestoppt, und neue Haushalte bekommen wieder Dual Stack.", +"ip6.pitch":"Tausch die Heimrouter hier gegen welche mit CLAT: Die Haushalte laufen nur mit IPv6 und haben kein eigenes IPv4, und was noch IPv4 braucht, teilt sich deinen NAT64-Pool, {r} Haushalte pro Adresse.", +"ip6.share_homes":"{p} der Haushalte", +"ip6.started":"{routers} in {city} werden gegen Nur-IPv6-Router getauscht: etwa {days} Tage.", +"ip6.stop":"Tausch stoppen", +"ip6.stopped":"Tausch in {city} bei {p} der Haushalte gestoppt. Die schon getauschten Router bleiben; neue Haushalte bekommen wieder Dual Stack.", +"ip6.swapping_home_routers_paid":"Die Heimrouter werden getauscht und beim Einbau bezahlt; neue Haushalte bekommen gleich den neuen, für {cost} pro Stück. Fertig etwa am {date}.", +"ip6.title":"Nur IPv6 (464XLAT)", +"ip6.waiting":"Warten auf Geld: Die Trupps machen weiter, sobald du die Router des Tages bezahlen kannst.", +"ip6.what":"Tauscht {routers} in etwa {days} Tagen, bezahlt beim Einbau, und macht {addr} für neue Kunden frei.", +"ip6.your_ipv4_bill_goes_down":"Deine IPv4-Rechnung sinkt um {price}/Monat (weniger CGNAT-Boxen und Erstattungen).", +"ip6.your_ipv4_bill_goes_up":"Deine IPv4-Rechnung steigt um {price}/Monat (NAT64-Gateways und Erstattungen).", "ix_downgrade.pni_downgraded":"Das PNI mit {net} in {city} ist jetzt {port}.", "ix_downgrade.port_downgraded_at_ix":"Der Port bei {ix} ist jetzt {port}.", "ix_downgrade.transit_downgraded":"{net}-Transit in {city} ist jetzt {port}.", diff --git a/site/i18n/es.js b/site/i18n/es.js index b9e5de1..354cdf2 100644 --- a/site/i18n/es.js +++ b/site/i18n/es.js @@ -2691,20 +2691,26 @@ "ip4.cgnat_boxes":"Equipos CGNAT", "ip4.cgnat_note":"Más hogares por dirección liberan espacio para clientes, pero los juegos y el port forwarding sufren: el {p} de la factura de un hogar con CGNAT se devuelve en reembolsos.", "ip4.cgnat_ratio":"CGNAT: hogares por dirección", -"ip4.costs_row":"Alquiler de IPv4 y CGNAT", "ip4.free":"Libres para nuevos clientes (los hogares pasan antes a CGNAT)", "ip4.from_rir":"Del RIR", "ip4.give_back":"Devolver", "ip4.held":"El RIR no volverá a transferir ese bloque antes del {date}.", "ip4.homes":"Hogares con banda ancha", +"ip4.homes_behind_cgnat":"Hogares detrás de CGNAT", "ip4.homes_cgnat":"{n}, {p} detrás de CGNAT", +"ip4.homes_public":"Hogares con dirección propia", +"ip4.homes_v6":"Hogares solo IPv6 (464XLAT)", +"ip4.homes_v6_pool":"{n}, pool NAT64 de {pool}", "ip4.in_use":"Tus clientes necesitan esas direcciones: pon más hogares detrás de CGNAT o consigue antes otro bloque.", +"ip4.in_use_both":"Tus clientes necesitan esas direcciones: pon más hogares en cada dirección de CGNAT o NAT64 o consigue antes otro bloque.", +"ip4.in_use_v6":"Tus clientes necesitan esas direcciones: pon más hogares solo IPv6 en cada dirección NAT64 o consigue antes otro bloque.", "ip4.lease":"Alquilar {price}/mes", "ip4.lease_out":"Ceder en alquiler +{price}/mes", "ip4.leased_in":"Has alquilado un {p} ({n} direcciones) por {price}/mes.", "ip4.leased_in_mo":"Alquilado · {price}/mes", "ip4.leased_out":"Tu {p} está cedido en alquiler: +{price}/mes.", "ip4.leased_out_mo":"Cedido en alquiler · +{price}/mes", +"ip4.leases_cgnat_nat64":"Alquiler de IPv4, CGNAT y NAT64", "ip4.leases_in":"Bloques alquilados", "ip4.leases_out":"Bloques cedidos en alquiler", "ip4.market":"Mercado de transferencias", @@ -2712,8 +2718,13 @@ "ip4.movable_from":"transferible desde el {date}", "ip4.n_addresses":{"one":"{n} dirección","other":"{n} direcciones"}, "ip4.n_homes_per_address":{"one":"{n} hogar por dirección","other":"{n} hogares por dirección"}, +"ip4.nat64_gateways":"Pasarelas NAT64", +"ip4.nat64_note":"Los hogares solo IPv6 no tienen IPv4 propio: lo que aún lo necesita (consolas, VPN solo IPv4) comparte tu pool NAT64, y el {p} de su factura se devuelve en reembolsos, menos cada año a medida que el mundo pasa a IPv6. Una ciudad pasa a solo IPv6 desde su banda ancha doméstica.", +"ip4.nat64_ratio":"NAT64: hogares solo IPv6 por dirección", "ip4.no_grow":"{name} ({city}) quería crecer a {bw}, pero no tenías direcciones IPv4 libres para ello.", "ip4.no_space":"{name} necesita un {p} de IPv4 ({n} direcciones) y solo hay {free} libres. Compra o alquila un bloque, o pon más hogares detrás de CGNAT.", +"ip4.no_space_both":"{name} necesita un {p} de IPv4 ({n} direcciones) y solo hay {free} libres. Compra o alquila un bloque, o pon más hogares en cada dirección de CGNAT o NAT64.", +"ip4.no_space_v6":"{name} necesita un {p} de IPv4 ({n} direcciones) y solo hay {free} libres. Compra o alquila un bloque, o pon más hogares solo IPv6 en cada dirección NAT64.", "ip4.note":"IPv6 es gratis e infinito. IPv4 se agotó hace años: los clientes empresariales necesitan bloques públicos, y los hogares que no caben comparten direcciones detrás de CGNAT (el tráfico IPv6 rodea la caja).", "ip4.off":"Con las reglas de esta partida sobra IPv4.", "ip4.offer_needs":"Necesita un {p} de IPv4 ({n} direcciones); solo hay {free} libres.", @@ -2725,11 +2736,39 @@ "ip4.sell":"Vender {price}", "ip4.sold":"Has vendido tu {p} por {price}.", "ip4.squeezed":"Sin espacio: el {p} de los hogares no cabe ni con {r} hogares por dirección. Sus conexiones fallan y piden reembolsos: compra o alquila un bloque.", +"ip4.squeezed_both":"Sin espacio: el {p} de los hogares no cabe ni con {r} hogares por dirección de CGNAT y {r6} por dirección NAT64. Sus conexiones fallan y piden reembolsos: compra o alquila un bloque.", +"ip4.squeezed_v6":"Sin espacio: el {p} de los hogares no cabe ni con {r} hogares solo IPv6 por dirección NAT64. Sus conexiones fallan y piden reembolsos: compra o alquila un bloque.", "ip4.take_back":"Recuperar", "ip4.toast_cgnat":"Tu IPv4 está lleno. El {p} de tus hogares comparte ahora direcciones detrás de CGNAT, y algunos gamers ya han escrito.", "ip4.toast_out":"Sin IPv4. Ni con {r} hogares por dirección cabe todo el mundo en el CGNAT: compra o alquila un bloque en el banco.", +"ip4.toast_out_both":"Sin IPv4. Ni con {r} hogares por dirección detrás de CGNAT y {r6} en NAT64 caben todos los hogares: compra o alquila un bloque en el banco.", +"ip4.toast_out_v6":"Sin IPv4. Ni con {r} hogares por dirección caben en tu pool NAT64 todos los hogares solo IPv6: compra o alquila un bloque en el banco.", "ip4.too_many":"Tienes {n} bloques IPv4, el máximo que puede llevar una red. Vende o devuelve bloques pequeños para hacer sitio a uno más grande.", +"ip4.v6_share":"Cuota de IPv6 en el tráfico de los hogares este año", "ip4.yours":"Tus direcciones IPv4", +"ip6.already":"Todos los hogares de aquí ya son solo IPv6.", +"ip6.busy":"El cambio ya está en marcha aquí.", +"ip6.done":"{city} es solo IPv6. Todos sus hogares usan 464XLAT, y lo que aún necesita IPv4 comparte tu pool NAT64.", +"ip6.dual_stack":"Doble pila", +"ip6.every_home":"Todos los hogares", +"ip6.go":"Pasar a solo IPv6 {cost}", +"ip6.homes_that_join_later":"Los hogares que lleguen después también reciben uno, a {cost} cada uno.", +"ip6.n_routers":{"one":"{n} router doméstico","other":"{n} routers domésticos"}, +"ip6.new_homes_get_a_clat":"Los hogares nuevos reciben un router con CLAT desde el principio, a {cost} cada uno, y lo que aún necesita IPv4 comparte tu pool NAT64, {r} hogares por dirección.", +"ip6.no_bb":"Lanza primero la banda ancha aquí.", +"ip6.no_home_is_behind_cgnat":"Aún no hay ningún hogar detrás de CGNAT: esto compensa cuando empiece a faltarte IPv4.", +"ip6.part_note":"El cambio se detuvo en el {p} de los hogares, y los hogares nuevos vuelven a tener doble pila.", +"ip6.pitch":"Cambia los routers domésticos de aquí por otros con CLAT: los hogares funcionan solo con IPv6 y no tienen IPv4 propio, y lo que aún necesita IPv4 comparte tu pool NAT64, {r} hogares por dirección.", +"ip6.share_homes":"El {p} de los hogares", +"ip6.started":"Cambiando {routers} en {city} por otros solo IPv6: unos {days} días.", +"ip6.stop":"Detener el cambio", +"ip6.stopped":"Cambio detenido en {city} en el {p} de los hogares. Los routers ya cambiados se quedan; los hogares nuevos vuelven a tener doble pila.", +"ip6.swapping_home_routers_paid":"Cambiando routers domésticos, pagados a medida que se instalan; los hogares nuevos reciben el nuevo desde el principio, a {cost} cada uno. Listo hacia el {date}.", +"ip6.title":"Solo IPv6 (464XLAT)", +"ip6.waiting":"Esperando efectivo: los equipos siguen en cuanto puedas pagar los routers del día.", +"ip6.what":"Cambia {routers} en unos {days} días, pagados a medida que se instalan, y libera {addr} para nuevos clientes.", +"ip6.your_ipv4_bill_goes_down":"Tu factura de IPv4 baja {price}/mes (menos equipos CGNAT y reembolsos).", +"ip6.your_ipv4_bill_goes_up":"Tu factura de IPv4 sube {price}/mes (pasarelas NAT64 y reembolsos).", "ix_downgrade.pni_downgraded":"El PNI con {net} en {city} ahora es {port}.", "ix_downgrade.port_downgraded_at_ix":"El puerto en {ix} es ahora de {port}.", "ix_downgrade.transit_downgraded":"El tránsito de {net} en {city} ahora es {port}.", diff --git a/site/i18n/fr.js b/site/i18n/fr.js index dbc21c6..c06b195 100644 --- a/site/i18n/fr.js +++ b/site/i18n/fr.js @@ -2691,20 +2691,26 @@ "ip4.cgnat_boxes":"Boîtiers CGNAT", "ip4.cgnat_note":"Plus de foyers par adresse libère de la place pour les clients, mais les jeux et la redirection de ports en pâtissent : {p} de la facture d’un foyer derrière le CGNAT repart en remboursements.", "ip4.cgnat_ratio":"CGNAT : foyers par adresse", -"ip4.costs_row":"Locations IPv4 et CGNAT", "ip4.free":"Libres pour de nouveaux clients (les foyers passent d’abord derrière le CGNAT)", "ip4.from_rir":"Attribué par le RIR", "ip4.give_back":"Le rendre", "ip4.held":"Le RIR ne transférera pas ce bloc avant le {date}.", "ip4.homes":"Foyers en haut débit", +"ip4.homes_behind_cgnat":"Foyers derrière le CGNAT", "ip4.homes_cgnat":"{n}, dont {p} derrière le CGNAT", +"ip4.homes_public":"Foyers avec leur propre adresse", +"ip4.homes_v6":"Foyers IPv6 uniquement (464XLAT)", +"ip4.homes_v6_pool":"{n}, pool NAT64 de {pool}", "ip4.in_use":"Tes clients ont besoin de ces adresses : mets plus de foyers derrière le CGNAT ou trouve d’abord un autre bloc.", +"ip4.in_use_both":"Tes clients ont besoin de ces adresses : mets plus de foyers sur chaque adresse CGNAT ou NAT64 ou trouve d’abord un autre bloc.", +"ip4.in_use_v6":"Tes clients ont besoin de ces adresses : mets plus de foyers IPv6 uniquement sur chaque adresse NAT64 ou trouve d’abord un autre bloc.", "ip4.lease":"Louer {price}/mois", "ip4.lease_out":"Mettre en location +{price}/mois", "ip4.leased_in":"Tu as loué un {p} ({n} adresses) pour {price}/mois.", "ip4.leased_in_mo":"Loué · {price}/mois", "ip4.leased_out":"Ton {p} est en location : +{price}/mois.", "ip4.leased_out_mo":"Mis en location · +{price}/mois", +"ip4.leases_cgnat_nat64":"Locations IPv4, CGNAT et NAT64", "ip4.leases_in":"Blocs loués", "ip4.leases_out":"Blocs mis en location", "ip4.market":"Marché des transferts", @@ -2712,8 +2718,13 @@ "ip4.movable_from":"transférable à partir du {date}", "ip4.n_addresses":{"one":"{n} adresse","other":"{n} adresses"}, "ip4.n_homes_per_address":{"one":"{n} foyer par adresse","other":"{n} foyers par adresse"}, +"ip4.nat64_gateways":"Passerelles NAT64", +"ip4.nat64_note":"Les foyers IPv6 uniquement n’ont pas d’IPv4 à eux : ce qui en a encore besoin (consoles, VPN IPv4 uniquement) partage ton pool NAT64, et {p} de leur facture repart en remboursements, un peu moins chaque année à mesure que le monde passe à l’IPv6. Une ville passe en IPv6 uniquement depuis son haut débit résidentiel.", +"ip4.nat64_ratio":"NAT64 : foyers IPv6 uniquement par adresse", "ip4.no_grow":"{name} ({city}) voulait passer à {bw}, mais tu n’avais pas d’adresses IPv4 libres pour ça.", "ip4.no_space":"{name} a besoin d’un {p} d’IPv4 ({n} adresses), et seulement {free} sont libres. Achète ou loue un bloc, ou mets plus de foyers derrière le CGNAT.", +"ip4.no_space_both":"{name} a besoin d’un {p} d’IPv4 ({n} adresses), et seulement {free} sont libres. Achète ou loue un bloc, ou mets plus de foyers sur chaque adresse CGNAT ou NAT64.", +"ip4.no_space_v6":"{name} a besoin d’un {p} d’IPv4 ({n} adresses), et seulement {free} sont libres. Achète ou loue un bloc, ou mets plus de foyers IPv6 uniquement sur chaque adresse NAT64.", "ip4.note":"L’IPv6 est gratuit et sans fin. L’IPv4 est épuisé depuis des années : les clients pros ont besoin de blocs publics, et les foyers qui ne rentrent plus partagent des adresses derrière le CGNAT (le trafic IPv6 contourne la boîte).", "ip4.off":"Avec les règles de cette partie, l’IPv4 ne manque pas.", "ip4.offer_needs":"Il lui faut un {p} d’IPv4 ({n} adresses) ; seulement {free} libres.", @@ -2725,11 +2736,39 @@ "ip4.sell":"Vendre {price}", "ip4.sold":"Ton {p} est vendu pour {price}.", "ip4.squeezed":"Plus de place : {p} des foyers ne rentrent pas, même à {r} foyers par adresse. Leurs connexions lâchent et ils veulent être remboursés : achète ou loue un bloc.", +"ip4.squeezed_both":"Plus de place : {p} des foyers ne rentrent pas, même à {r} foyers par adresse CGNAT et {r6} par adresse NAT64. Leurs connexions lâchent et ils veulent être remboursés : achète ou loue un bloc.", +"ip4.squeezed_v6":"Plus de place : {p} des foyers ne rentrent pas, même à {r} foyers IPv6 uniquement par adresse NAT64. Leurs connexions lâchent et ils veulent être remboursés : achète ou loue un bloc.", "ip4.take_back":"Le reprendre", "ip4.toast_cgnat":"Ton IPv4 est plein. {p} de tes foyers partagent maintenant des adresses derrière le CGNAT, et quelques gamers ont déjà écrit.", "ip4.toast_out":"Plus d’IPv4. Même à {r} foyers par adresse, le CGNAT ne suffit pas pour tout le monde : achète ou loue un bloc à la banque.", +"ip4.toast_out_both":"Plus d’IPv4. Même à {r} foyers par adresse derrière le CGNAT et {r6} en NAT64, tous les foyers ne rentrent pas : achète ou loue un bloc à la banque.", +"ip4.toast_out_v6":"Plus d’IPv4. Même à {r} foyers par adresse, ton pool NAT64 ne suffit pas pour tous les foyers IPv6 uniquement : achète ou loue un bloc à la banque.", "ip4.too_many":"Tu as {n} blocs IPv4, le maximum qu’un réseau peut garder. Vends ou rends de petits blocs pour faire de la place à un plus grand.", +"ip4.v6_share":"Part de l’IPv6 dans le trafic des foyers cette année", "ip4.yours":"Tes adresses IPv4", +"ip6.already":"Tous les foyers d’ici sont déjà en IPv6 uniquement.", +"ip6.busy":"Le remplacement est déjà en cours ici.", +"ip6.done":"{city} est en IPv6 uniquement. Tous ses foyers tournent en 464XLAT, et ce qui a encore besoin d’IPv4 partage ton pool NAT64.", +"ip6.dual_stack":"Double pile", +"ip6.every_home":"Tous les foyers", +"ip6.go":"Passer en IPv6 uniquement {cost}", +"ip6.homes_that_join_later":"Les foyers qui arrivent ensuite en ont une aussi, à {cost} pièce.", +"ip6.n_routers":{"one":"{n} box","other":"{n} box"}, +"ip6.new_homes_get_a_clat":"Les nouveaux foyers ont une box avec CLAT dès le départ, à {cost} pièce, et ce qui a encore besoin d’IPv4 partage ton pool NAT64, {r} foyers par adresse.", +"ip6.no_bb":"Lance d’abord le haut débit ici.", +"ip6.no_home_is_behind_cgnat":"Aucun foyer n’est encore derrière le CGNAT : ça ne paie qu’une fois que ton IPv4 vient à manquer.", +"ip6.part_note":"Le remplacement s’est arrêté à {p} des foyers, et les nouveaux foyers repassent en double pile.", +"ip6.pitch":"Remplace les box des foyers d’ici par des modèles avec CLAT : les foyers tournent en IPv6 seul, sans IPv4 à eux, et ce qui a encore besoin d’IPv4 partage ton pool NAT64, {r} foyers par adresse.", +"ip6.share_homes":"{p} des foyers", +"ip6.started":"Remplacement de {routers} à {city} par des modèles IPv6 uniquement : environ {days} jours.", +"ip6.stop":"Arrêter le remplacement", +"ip6.stopped":"Remplacement arrêté à {city} à {p} des foyers. Les box déjà remplacées restent ; les nouveaux foyers repassent en double pile.", +"ip6.swapping_home_routers_paid":"Remplacement des box en cours, payées au fil de la pose ; les nouveaux foyers ont la nouvelle dès le départ, à {cost} pièce. Fini vers le {date}.", +"ip6.title":"IPv6 uniquement (464XLAT)", +"ip6.waiting":"En attente de trésorerie : les équipes reprennent dès que tu peux payer les box du jour.", +"ip6.what":"Remplace {routers} en environ {days} jours, payées au fil de la pose, et libère {addr} pour de nouveaux clients.", +"ip6.your_ipv4_bill_goes_down":"Ta facture IPv4 baisse de {price}/mois (moins de boîtiers CGNAT et de remboursements).", +"ip6.your_ipv4_bill_goes_up":"Ta facture IPv4 augmente de {price}/mois (passerelles NAT64 et remboursements).", "ix_downgrade.pni_downgraded":"Le PNI avec {net} à {city} est maintenant en {port}.", "ix_downgrade.port_downgraded_at_ix":"Le port chez {ix} est maintenant en {port}.", "ix_downgrade.transit_downgraded":"Le transit {net} à {city} est maintenant en {port}.", diff --git a/site/i18n/it.js b/site/i18n/it.js index 34f9e6a..b303833 100644 --- a/site/i18n/it.js +++ b/site/i18n/it.js @@ -2691,20 +2691,26 @@ "ip4.cgnat_boxes":"Apparati CGNAT", "ip4.cgnat_note":"Più case per indirizzo liberano spazio per i clienti, ma giochi e port forwarding ne soffrono: il {p} della bolletta di una casa dietro il CGNAT torna indietro in rimborsi.", "ip4.cgnat_ratio":"CGNAT: case per indirizzo", -"ip4.costs_row":"Affitti IPv4 e CGNAT", "ip4.free":"Liberi per nuovi clienti (prima le case passano dietro il CGNAT)", "ip4.from_rir":"Dal RIR", "ip4.give_back":"Restituiscilo", "ip4.held":"Il RIR non trasferisce di nuovo quel blocco prima del {date}.", "ip4.homes":"Case in banda larga", +"ip4.homes_behind_cgnat":"Case dietro il CGNAT", "ip4.homes_cgnat":"{n}, il {p} dietro il CGNAT", +"ip4.homes_public":"Case con un indirizzo proprio", +"ip4.homes_v6":"Case solo IPv6 (464XLAT)", +"ip4.homes_v6_pool":"{n}, pool NAT64 di {pool}", "ip4.in_use":"I tuoi clienti hanno bisogno di quegli indirizzi: metti più case dietro il CGNAT o prendi prima un altro blocco.", +"ip4.in_use_both":"I tuoi clienti hanno bisogno di quegli indirizzi: metti più case su ogni indirizzo CGNAT o NAT64 o prendi prima un altro blocco.", +"ip4.in_use_v6":"I tuoi clienti hanno bisogno di quegli indirizzi: metti più case solo IPv6 su ogni indirizzo NAT64 o prendi prima un altro blocco.", "ip4.lease":"Affitta {price}/mese", "ip4.lease_out":"Dai in affitto +{price}/mese", "ip4.leased_in":"Preso in affitto un {p} ({n} indirizzi) per {price}/mese.", "ip4.leased_in_mo":"In affitto · {price}/mese", "ip4.leased_out":"Il tuo {p} è dato in affitto: +{price}/mese.", "ip4.leased_out_mo":"Dato in affitto · +{price}/mese", +"ip4.leases_cgnat_nat64":"Affitti IPv4, CGNAT e NAT64", "ip4.leases_in":"Blocchi presi in affitto", "ip4.leases_out":"Blocchi dati in affitto", "ip4.market":"Mercato dei trasferimenti", @@ -2712,8 +2718,13 @@ "ip4.movable_from":"trasferibile dal {date}", "ip4.n_addresses":{"one":"{n} indirizzo","other":"{n} indirizzi"}, "ip4.n_homes_per_address":{"one":"{n} casa per indirizzo","other":"{n} case per indirizzo"}, +"ip4.nat64_gateways":"Gateway NAT64", +"ip4.nat64_note":"Le case solo IPv6 non hanno un IPv4 proprio: quello che ne ha ancora bisogno (console, VPN solo IPv4) condivide il tuo pool NAT64, e il {p} della loro bolletta torna indietro in rimborsi, meno ogni anno man mano che il mondo passa a IPv6. Una città passa a solo IPv6 dalla sua banda larga domestica.", +"ip4.nat64_ratio":"NAT64: case solo IPv6 per indirizzo", "ip4.no_grow":"{name} ({city}) voleva crescere a {bw}, ma non avevi indirizzi IPv4 liberi per farlo.", "ip4.no_space":"{name} ha bisogno di un {p} di IPv4 ({n} indirizzi), e ne restano liberi solo {free}. Compra o affitta un blocco, o metti più case dietro il CGNAT.", +"ip4.no_space_both":"{name} ha bisogno di un {p} di IPv4 ({n} indirizzi), e ne restano liberi solo {free}. Compra o affitta un blocco, o metti più case su ogni indirizzo CGNAT o NAT64.", +"ip4.no_space_v6":"{name} ha bisogno di un {p} di IPv4 ({n} indirizzi), e ne restano liberi solo {free}. Compra o affitta un blocco, o metti più case solo IPv6 su ogni indirizzo NAT64.", "ip4.note":"IPv6 è gratis e infinito. IPv4 è finito anni fa: i clienti business hanno bisogno di blocchi pubblici, e le case che non ci stanno condividono gli indirizzi dietro il CGNAT (il traffico IPv6 gli passa accanto).", "ip4.off":"Con le regole di questa partita l'IPv4 abbonda.", "ip4.offer_needs":"Serve un {p} di IPv4 ({n} indirizzi); solo {free} liberi.", @@ -2725,11 +2736,39 @@ "ip4.sell":"Vendi {price}", "ip4.sold":"Venduto il tuo {p} per {price}.", "ip4.squeezed":"Spazio esaurito: il {p} delle case non ci sta nemmeno con {r} case per indirizzo. Le connessioni saltano e vogliono un rimborso: compra o affitta un blocco.", +"ip4.squeezed_both":"Spazio esaurito: il {p} delle case non ci sta nemmeno con {r} case per indirizzo CGNAT e {r6} per indirizzo NAT64. Le connessioni saltano e vogliono un rimborso: compra o affitta un blocco.", +"ip4.squeezed_v6":"Spazio esaurito: il {p} delle case non ci sta nemmeno con {r} case solo IPv6 per indirizzo NAT64. Le connessioni saltano e vogliono un rimborso: compra o affitta un blocco.", "ip4.take_back":"Riprendilo", "ip4.toast_cgnat":"Il tuo IPv4 è pieno. Il {p} delle tue case ora condivide gli indirizzi dietro il CGNAT, e qualche gamer ha già scritto.", "ip4.toast_out":"IPv4 esaurito. Nemmeno con {r} case per indirizzo il CGNAT basta per tutti: compra o affitta un blocco in banca.", +"ip4.toast_out_both":"IPv4 esaurito. Nemmeno con {r} case per indirizzo dietro il CGNAT e {r6} in NAT64 ci stanno tutte le case: compra o affitta un blocco in banca.", +"ip4.toast_out_v6":"IPv4 esaurito. Nemmeno con {r} case per indirizzo il tuo pool NAT64 basta per tutte le case solo IPv6: compra o affitta un blocco in banca.", "ip4.too_many":"Hai {n} blocchi IPv4, il massimo che una rete può tenere. Vendi o restituisci qualche blocco piccolo per fare posto a uno più grande.", +"ip4.v6_share":"Quota IPv6 del traffico delle case quest’anno", "ip4.yours":"I tuoi indirizzi IPv4", +"ip6.already":"Tutte le case qui sono già solo IPv6.", +"ip6.busy":"La sostituzione qui è già in corso.", +"ip6.done":"{city} è solo IPv6. Tutte le case lì vanno in 464XLAT, e quello che ha ancora bisogno di IPv4 condivide il tuo pool NAT64.", +"ip6.dual_stack":"Dual stack", +"ip6.every_home":"Tutte le case", +"ip6.go":"Passa a solo IPv6 {cost}", +"ip6.homes_that_join_later":"Anche le case che arrivano dopo ne ricevono uno, a {cost} l’uno.", +"ip6.n_routers":{"one":"{n} router di casa","other":"{n} router di casa"}, +"ip6.new_homes_get_a_clat":"Le case nuove hanno subito un router con CLAT, a {cost} l’uno, e quello che ha ancora bisogno di IPv4 condivide il tuo pool NAT64, {r} case per indirizzo.", +"ip6.no_bb":"Prima lancia la banda larga qui.", +"ip6.no_home_is_behind_cgnat":"Nessuna casa è ancora dietro il CGNAT: conviene solo quando l’IPv4 comincia a scarseggiare.", +"ip6.part_note":"La sostituzione si è fermata al {p} delle case, e le case nuove tornano in dual stack.", +"ip6.pitch":"Sostituisci i router di casa qui con modelli con CLAT: le case vanno solo in IPv6 e non hanno un IPv4 proprio, e quello che ha ancora bisogno di IPv4 condivide il tuo pool NAT64, {r} case per indirizzo.", +"ip6.share_homes":"Il {p} delle case", +"ip6.started":"Sostituzione di {routers} a {city} con modelli solo IPv6: circa {days} giorni.", +"ip6.stop":"Ferma la sostituzione", +"ip6.stopped":"Sostituzione fermata a {city} al {p} delle case. I router già sostituiti restano; le case nuove tornano in dual stack.", +"ip6.swapping_home_routers_paid":"Sostituzione dei router di casa in corso, pagati man mano che vengono installati; le case nuove hanno subito quello nuovo, a {cost} l’uno. Finito verso il {date}.", +"ip6.title":"Solo IPv6 (464XLAT)", +"ip6.waiting":"In attesa di cassa: le squadre ripartono appena puoi pagare i router del giorno.", +"ip6.what":"Sostituisce {routers} in circa {days} giorni, pagati man mano che vengono installati, e libera {addr} per nuovi clienti.", +"ip6.your_ipv4_bill_goes_down":"La tua bolletta IPv4 scende di {price}/mese (meno apparati CGNAT e rimborsi).", +"ip6.your_ipv4_bill_goes_up":"La tua bolletta IPv4 sale di {price}/mese (gateway NAT64 e rimborsi).", "ix_downgrade.pni_downgraded":"Il PNI con {net} a {city} ora è {port}.", "ix_downgrade.port_downgraded_at_ix":"La porta su {ix} ora è da {port}.", "ix_downgrade.transit_downgraded":"Il transito {net} a {city} ora è {port}.", diff --git a/site/i18n/pt.js b/site/i18n/pt.js index 71d1198..d04e619 100644 --- a/site/i18n/pt.js +++ b/site/i18n/pt.js @@ -2691,20 +2691,26 @@ "ip4.cgnat_boxes":"Caixas de CGNAT", "ip4.cgnat_note":"Mais casas por endereço liberam espaço para clientes, mas jogos e redirecionamento de portas sofrem: {p} da conta de uma casa atrás do CGNAT volta como reembolso.", "ip4.cgnat_ratio":"CGNAT: casas por endereço", -"ip4.costs_row":"Aluguel de IPv4 e CGNAT", "ip4.free":"Livres para novos clientes (as casas vão antes para trás do CGNAT)", "ip4.from_rir":"Do RIR", "ip4.give_back":"Devolver", "ip4.held":"O RIR não transfere esse bloco de novo antes de {date}.", "ip4.homes":"Casas com banda larga", +"ip4.homes_behind_cgnat":"Casas atrás do CGNAT", "ip4.homes_cgnat":"{n}, {p} atrás do CGNAT", +"ip4.homes_public":"Casas com endereço próprio", +"ip4.homes_v6":"Casas só IPv6 (464XLAT)", +"ip4.homes_v6_pool":"{n}, pool NAT64 de {pool}", "ip4.in_use":"Seus clientes precisam desses endereços: coloque mais casas atrás do CGNAT ou arrume outro bloco antes.", +"ip4.in_use_both":"Seus clientes precisam desses endereços: coloque mais casas em cada endereço de CGNAT ou NAT64 ou arrume outro bloco antes.", +"ip4.in_use_v6":"Seus clientes precisam desses endereços: coloque mais casas só IPv6 em cada endereço NAT64 ou arrume outro bloco antes.", "ip4.lease":"Alugar {price}/mês", "ip4.lease_out":"Alugar para terceiros +{price}/mês", "ip4.leased_in":"Você alugou um {p} ({n} endereços) por {price}/mês.", "ip4.leased_in_mo":"Alugado · {price}/mês", "ip4.leased_out":"Seu {p} está alugado: +{price}/mês.", "ip4.leased_out_mo":"Alugado para terceiros · +{price}/mês", +"ip4.leases_cgnat_nat64":"Aluguel de IPv4, CGNAT e NAT64", "ip4.leases_in":"Blocos alugados", "ip4.leases_out":"Blocos alugados para terceiros", "ip4.market":"Mercado de transferências", @@ -2712,8 +2718,13 @@ "ip4.movable_from":"transferível a partir de {date}", "ip4.n_addresses":{"one":"{n} endereço","other":"{n} endereços"}, "ip4.n_homes_per_address":{"one":"{n} casa por endereço","other":"{n} casas por endereço"}, +"ip4.nat64_gateways":"Gateways NAT64", +"ip4.nat64_note":"Casas só IPv6 não têm IPv4 próprio: o que ainda precisa dele (consoles, VPNs só IPv4) compartilha seu pool NAT64, e {p} da conta delas volta como reembolso, menos a cada ano conforme o mundo migra para o IPv6. Uma cidade passa a só IPv6 pela banda larga residencial dela.", +"ip4.nat64_ratio":"NAT64: casas só IPv6 por endereço", "ip4.no_grow":"{name} ({city}) queria crescer para {bw}, mas você não tinha endereços IPv4 livres para isso.", "ip4.no_space":"{name} precisa de um {p} de IPv4 ({n} endereços), e só {free} estão livres. Compre ou alugue um bloco, ou coloque mais casas atrás do CGNAT.", +"ip4.no_space_both":"{name} precisa de um {p} de IPv4 ({n} endereços), e só {free} estão livres. Compre ou alugue um bloco, ou coloque mais casas em cada endereço de CGNAT ou NAT64.", +"ip4.no_space_v6":"{name} precisa de um {p} de IPv4 ({n} endereços), e só {free} estão livres. Compre ou alugue um bloco, ou coloque mais casas só IPv6 em cada endereço NAT64.", "ip4.note":"IPv6 é grátis e infinito. IPv4 acabou há anos: clientes empresariais precisam de blocos públicos, e as casas que não cabem compartilham endereços atrás do CGNAT (o tráfego IPv6 passa por fora da caixa).", "ip4.off":"Nas regras deste jogo, IPv4 não falta.", "ip4.offer_needs":"Precisa de um {p} de IPv4 ({n} endereços); só {free} livres.", @@ -2725,11 +2736,39 @@ "ip4.sell":"Vender {price}", "ip4.sold":"Seu {p} foi vendido por {price}.", "ip4.squeezed":"Sem espaço: {p} das casas não cabem nem com {r} casas por endereço. As conexões caem e elas querem reembolso: compre ou alugue um bloco.", +"ip4.squeezed_both":"Sem espaço: {p} das casas não cabem nem com {r} casas por endereço de CGNAT e {r6} por endereço NAT64. As conexões caem e elas querem reembolso: compre ou alugue um bloco.", +"ip4.squeezed_v6":"Sem espaço: {p} das casas não cabem nem com {r} casas só IPv6 por endereço NAT64. As conexões caem e elas querem reembolso: compre ou alugue um bloco.", "ip4.take_back":"Pegar de volta", "ip4.toast_cgnat":"Seu IPv4 está cheio. {p} das suas casas agora compartilham endereços atrás do CGNAT, e alguns gamers já reclamaram.", "ip4.toast_out":"Acabou o IPv4. Nem com {r} casas por endereço o CGNAT comporta todo mundo: compre ou alugue um bloco no banco.", +"ip4.toast_out_both":"Acabou o IPv4. Nem com {r} casas por endereço atrás do CGNAT e {r6} no NAT64 cabem todas as casas: compre ou alugue um bloco no banco.", +"ip4.toast_out_v6":"Acabou o IPv4. Nem com {r} casas por endereço seu pool NAT64 comporta todas as casas só IPv6: compre ou alugue um bloco no banco.", "ip4.too_many":"Você tem {n} blocos IPv4, o máximo que uma rede pode manter. Venda ou devolva blocos pequenos para abrir espaço para um maior.", +"ip4.v6_share":"Participação do IPv6 no tráfego das casas este ano", "ip4.yours":"Seus endereços IPv4", +"ip6.already":"Todas as casas daqui já são só IPv6.", +"ip6.busy":"A troca já está em andamento aqui.", +"ip6.done":"{city} agora é só IPv6. Todas as casas de lá rodam 464XLAT, e o que ainda precisa de IPv4 compartilha seu pool NAT64.", +"ip6.dual_stack":"Pilha dupla", +"ip6.every_home":"Todas as casas", +"ip6.go":"Passar a só IPv6 {cost}", +"ip6.homes_that_join_later":"As casas que chegarem depois também recebem um, a {cost} cada.", +"ip6.n_routers":{"one":"{n} roteador doméstico","other":"{n} roteadores domésticos"}, +"ip6.new_homes_get_a_clat":"Casas novas já recebem um roteador com CLAT, a {cost} cada, e o que ainda precisa de IPv4 compartilha seu pool NAT64, {r} casas por endereço.", +"ip6.no_bb":"Lance a banda larga aqui primeiro.", +"ip6.no_home_is_behind_cgnat":"Nenhuma casa está atrás do CGNAT ainda: isso só compensa quando seu IPv4 começar a faltar.", +"ip6.part_note":"A troca parou em {p} das casas, e as casas novas voltam a ter pilha dupla.", +"ip6.pitch":"Troque os roteadores das casas daqui por modelos com CLAT: as casas rodam só em IPv6 e não têm IPv4 próprio, e o que ainda precisa de IPv4 compartilha seu pool NAT64, {r} casas por endereço.", +"ip6.share_homes":"{p} das casas", +"ip6.started":"Trocando {routers} em {city} por modelos só IPv6: cerca de {days} dias.", +"ip6.stop":"Parar a troca", +"ip6.stopped":"Troca parada em {city} em {p} das casas. Os roteadores já trocados ficam; casas novas voltam a ter pilha dupla.", +"ip6.swapping_home_routers_paid":"Trocando os roteadores das casas, pagos conforme são instalados; casas novas já recebem o novo, a {cost} cada. Pronto por volta de {date}.", +"ip6.title":"Só IPv6 (464XLAT)", +"ip6.waiting":"Esperando dinheiro: as equipes continuam assim que você puder pagar os roteadores do dia.", +"ip6.what":"Troca {routers} em cerca de {days} dias, pagos conforme são instalados, e libera {addr} para novos clientes.", +"ip6.your_ipv4_bill_goes_down":"Sua conta de IPv4 cai {price}/mês (menos caixas de CGNAT e reembolsos).", +"ip6.your_ipv4_bill_goes_up":"Sua conta de IPv4 sobe {price}/mês (gateways NAT64 e reembolsos).", "ix_downgrade.pni_downgraded":"O PNI com {net} em {city} agora é {port}.", "ix_downgrade.port_downgraded_at_ix":"A porta em {ix} agora é de {port}.", "ix_downgrade.transit_downgraded":"O trânsito de {net} em {city} agora é {port}.", diff --git a/src/agent/10-domains.js b/src/agent/10-domains.js index 1d3d9a7..3aff76f 100644 --- a/src/agent/10-domains.js +++ b/src/agent/10-domains.js @@ -88,9 +88,10 @@ const API_DOMAINS={ pieSpatId:{table:'PIE_SPAT_DEF',kind:'key'}, pieSpatChoice:{kind:'enum',values:[0,1]}, countryCode:{kind:'enum',values:()=>[...new Set(CITIES.map(c=>c.cc))].sort()}, - // Address space: an IPv4 prefix length the market sells, and the CGNAT ratios. + // Address space: an IPv4 prefix length the market sells, and the CGNAT and NAT64 ratios. ip4Len:{kind:'enum',values:()=>Array.from({length:IP4_MAX-IP4_MIN+1},(_,i)=>IP4_MIN+i)}, ip4Ratio:{kind:'enum',values:()=>IP4_NAT.slice()}, + ip4Ratio64:{kind:'enum',values:()=>IP4_N64.slice()}, scnId:{table:'SCN',kind:'id'}, // A traceroute target in the modal's own terms. }; diff --git a/src/agent/20-commands.js b/src/agent/20-commands.js index e9a2a7c..51ab1f1 100644 --- a/src/agent/20-commands.js +++ b/src/agent/20-commands.js @@ -315,7 +315,7 @@ const API_CMD={ quote:a=>({setup:0,monthly:ip4InMo(Number(a.len)),blocked:[ip4On()?'':tr('ip4.off'),ip4On()&&ip4Full()?tr('ip4.too_many',{n:IP4_BLK}):''].filter(Boolean)}), doc:'Lease an IPv4 block of this prefix length by the month, at today\'s rate (fixed for the lease). Hand it back with ip4Return. Refused at 256 blocks, like ip4Buy.'}, ip4Sell:{args:[['id','entityId']],confirm:'double',watch:['ip4'], - doc:'Sell an owned block (not leased out) for 92% of the market price. Refused within two years of its last transfer, or when the customers signed would no longer fit with every home behind CGNAT.'}, + doc:'Sell an owned block (not leased out) for 92% of the market price. Refused within two years of its last transfer, or when the customers signed would no longer fit with every dual-stack home behind CGNAT and the IPv6-only homes in the NAT64 pool.'}, ip4Out:{args:[['id','entityId']],watch:['ip4'], doc:'Lease an owned block out through a broker for a monthly income, while your own customers still fit without it.'}, ip4Back:{args:[['id','entityId']],watch:['ip4'], @@ -324,6 +324,13 @@ const API_CMD={ doc:'Hand a leased-in block back, ending its monthly fee, when your customers still fit without it.'}, ip4Nat:{args:[['v','ip4Ratio']],watch:['ip4'], doc:'Set how many broadband homes share one IPv4 address behind CGNAT (8, 16, 32 or 64). More frees space for business customers but more gamers ask for refunds; fewer is refused when the customers signed would not fit.'}, + ip4Nat64:{args:[['v','ip4Ratio64']],watch:['ip4'], + doc:'Set how many IPv6-only homes share one IPv4 address in the NAT64 pool (64, 128 or 256). Their refunds are well under CGNAT\'s at the same ratio and shrink as the world moves to IPv6; fewer is refused when the customers signed would not fit.'}, + ip6Go:{args:[['city','cityId']],watch:['pops.#city'], + quote:a=>({setup:ip6Cost(a.city),days:ip6Days(a.city),monthly:Math.round(ip6Mo(a.city,(R.rev&&R.rev.eyeballs)||0)),blocked:[ip6Why(a.city)].filter(Boolean)}), + doc:'Take a broadband city IPv6-only (464XLAT): swap its dual-stack home routers for ones with a CLAT over the quoted days, paid day by day as they go in (setup is the whole swap; starting needs only the first day\'s share on hand, and it waits while cash is short). Those homes then need no IPv4 of their own, only a share of the NAT64 pool; new homes there get the new router too, at the swap\'s price a router, paid the day they join (even short of cash: a new home needs it). monthly is what it does to the IPv4 bill (NAT64 gateways and refunds against the CGNAT it saves; negative saves). Frees what the city panel says for new customers.'}, + ip6Stop:{args:[['city','cityId']],watch:['pops.#city'], + doc:'Stop a city\'s swap to IPv6-only. The homes already swapped stay IPv6-only (their routers are paid for, nothing comes back); new homes come dual stack again. ip6Go resumes it for the rest.'}, /* ---------- security, China, incidents ---------- */ buildScrub:{args:[['city','cityId'],['tier','scrubTier',false]],watch:['scrubs'], quote:a=>{const T=SCRUB_TIERS[a.tier||0];return {setup:T?T.cost:undefined,monthly:T?T.mo:undefined};}, @@ -498,7 +505,7 @@ const API_CMD={ const API_VIEW={ pieOpen:{args:[],doc:'Open Pie Control, the rocket company\'s panel.'}, - ip4Open:{args:[],doc:'Open the bank at its Address space section: your IPv4 blocks, who uses them, CGNAT and the transfer market.'}, + ip4Open:{args:[],doc:'Open the bank at its Address space section: your IPv4 blocks, who uses them, CGNAT, the NAT64 pool and the transfer market.'}, ip4Pick:{args:[['v','ip4Len']],doc:'Pick the block size the Address space market quotes (a prefix length, 24 to 16).'}, pieGovOpen:{args:[],doc:'Open the bank at its Government money section: the rocket company\'s fund auctions, the Pitcairn grant and the Ex-Im Pie Bank (it used to be Pie Control\'s Gov tab).'}, pieTab:{args:[['t','pieTab']],doc:'Switch the Pie Control tab: traffic, co (the company, its books and the Founder\'s posts), fly (launches) or dish.'}, diff --git a/src/agent/30-docs.js b/src/agent/30-docs.js index edbe60c..d84c9bf 100644 --- a/src/agent/30-docs.js +++ b/src/agent/30-docs.js @@ -19,7 +19,7 @@ const API_STATE_DOC={ t1v:{type:'integer',doc:'Level at which Tier 1 transit was offered.'}, auV:{type:'integer',doc:'Australia content level gate.'}, seen:{type:'array',doc:'Network ids the deals panel has already shown. Vestigial: written by newGame, read nowhere.'}, - pops:{type:'map',doc:'Your POPs by city id: day opened, broadband (bb), ad boost, downtime, routers, generator, second site, teleport (tele: 1 GEO dishes, 2 with MEO tracking antennas).'}, + pops:{type:'map',doc:'Your POPs by city id: day opened, broadband (bb: d, its demand in Gbps; v6, the share of its homes that are IPv6-only behind NAT64, absent for dual stack; v6e, the day a swap to IPv6-only finishes, while it runs), ad boost, downtime, routers, generator, second site, teleport (tele: 1 GEO dishes, 2 with MEO tracking antennas).'}, links:{type:'array',doc:'Your links: waves, dark fiber (df), own cables, fabric circuits (vxc), express lightpaths (xp: via lists the dark fibers it rides from a, ch its optics) and rented satellite circuits (sat: bird, g Gbps, km of radio path, ready day), each with an entity id.'}, transit:{type:'array',doc:'Transit ports: city, net, tier, LAG members, port history for 95th-percentile billing.'}, ixp:{type:'map',doc:'IX ports by exchange city; tier per port (may exceed 1 with LAG members in ixn).'}, @@ -61,7 +61,7 @@ const API_STATE_DOC={ ops:{type:'map',doc:'The NOC intern: who is hired, each standing order\'s on/off switch and settings (network work only: deals belong to the sales desk, slAuto), the monthly budget and what it spent, per-POP exceptions, the new-POP template and the weekly log.'}, core:{type:'map',doc:'Your backbone technology: lv bought, the level it runs at, the interop lab.'}, ddosAuto:{type:'map',doc:'The NOC\'s auto-mitigation switches: rtbh and scrub.'}, - ip4:{type:'map',doc:'IPv4 address space (rule ip4): b, the blocks, at most 256 (len: prefix length 16-24, k: rir from the registry, buy bought, in leased in; d: the day it last moved, out: leased out, mo: the monthly fee or income), nat: homes per address behind CGNAT, w: which warnings were shown. What customers use is derived from their kind and size.'}, + ip4:{type:'map',doc:'IPv4 address space (rule ip4): b, the blocks, at most 256 (len: prefix length 16-24, k: rir from the registry, buy bought, in leased in; d: the day it last moved, out: leased out, mo: the monthly fee or income), nat: homes per address behind CGNAT, n64: IPv6-only homes per address in the NAT64 pool, w: which warnings were shown. What customers use is derived from their kind and size.'}, popStd:{type:'map',doc:'The build standard, or null for none. g router model (an RG index), rt routers, then only the targets that are set: site2, gen (true), lag (2 or 4 members), split, ix (true), pni (2 or 3 cities per network), sys (roadm, cl), opt (fast), wv (an LT index). New POPs get g, rt, site2 and gen at once; the std standing order and bstdApply bring the rest up. g and sys are also the model the routers order and the line system the optup order standardize on.'}, mp:{type:'map',doc:'Multiplayer, only in a self-hosted copy with a session server: the session code, your player id, the AS number and seed the session gave you, its rules preset, your colour, its title and the last save number the server holds; null in every other game.'}, demo:{type:'map',doc:'Vendor demo units on order, by "kind:id" → ready day.'}, diff --git a/src/game/60-features/33-address-space.js b/src/game/60-features/33-address-space.js index 8d91812..7897de9 100644 --- a/src/game/60-features/33-address-space.js +++ b/src/game/60-features/33-address-space.js @@ -14,8 +14,13 @@ so the first months fit with room for a few customers (gameplay rule F1). */ // IP4_BLK: the most blocks a network holds; buying and leasing stop there, and a save keeps that many. const IP4_START=21,IP4_MIN=16,IP4_MAX=24,IP4_HOLD=730,IP4_NAT=[8,16,32,64],IP4_NAT0=16,IP4_BLK=256; -// Public addresses per Gbps of busy-hour broadband (a home each), and the part of it CGNAT still carries: the rest is IPv6. -const IP4_BB=10,IP4_V4=0.55,IP4_CGN=2; +// Public addresses per Gbps of busy-hour broadband (a home each), and the part of it CGNAT still carries on day 0: the rest +// is IPv6. The world moves on, two points a year to a floor that never goes (ip4V4). +const IP4_BB=10,IP4_V4=0.55,IP4_V4_YR=0.02,IP4_V4_MIN=0.2,IP4_CGN=2; +// IPv6-only homes (464XLAT, 34-ipv6-only.js) have no address of their own: their IPv4 shares a NAT64 pool, at a wider ratio +// than CGNAT can take. Only what still needs IPv4 notices (consoles, IPv4-only VPNs): a share of the bill comes back, well +// under CGNAT's at the same ratio, and shrinking as the world goes IPv6. +const IP4_N64=[64,128,256],IP4_N640=128,IP4_ANNOY64={64:0.006,128:0.01,256:0.016}; // The market: dollars per address, flat for half a year, then +3% a year on a slow four-year swing. Leases are by the // month (a broker keeps a cut of what yours earn), sales pay 92% of the price after the broker's fee. const IP4_PX=38,IP4_FREE=180,IP4_YR=0.03,IP4_IN=0.5,IP4_OUT=0.4,IP4_SELL=0.92; @@ -30,17 +35,22 @@ const ip4Sz=len=>2**(32-len),ip4LenOk=len=>Number.isInteger(len)&&len>=IP4_MIN&& const ip4Cidr=n=>'/'+(32-Math.ceil(Math.log2(Math.max(1,n)))),ip4N=n=>Math.round(n).toLocaleString(); function ip4On(){return !!S&&!!S.ip4&&rule('ip4')===true&&(S.scn?scnRule('ip4'):S.mode==='normal');} function ip4Need(b){const k=b&&IP4_BIZ[b.type];if(!k||!(b.bw>0))return 0;return Math.min(4096,2**Math.ceil(Math.log2(Math.max(k[1],b.bw*k[0]))));} -/* Who uses what. T: usable addresses (owned and leased in, without what is leased out); B: business customers; H: homes; - cg: homes behind CGNAT; over: the share of homes that do not fit even at the ratio; free: what a new customer can have - with every home behind CGNAT. */ -function ip4Use(s=S){const I=s.ip4,r=I.nat;let own=0,inn=0,out=0,B=0,H=0; +/* Who uses what. T: usable addresses (owned and leased in, without what is leased out); B: business customers; H: homes, + of them H6 IPv6-only (Hd dual stack); p6: the NAT64 pool; cg: dual-stack homes behind CGNAT; over: the share of homes + that do not fit even at the ratios; need: the least the homes can live with; free: what a new customer can have with + every dual-stack home behind CGNAT. The NAT64 pool comes right after business customers: its homes gave their own + addresses up already and cannot fall back on anything, while dual-stack homes still can (behind CGNAT). */ +function ip4Use(s=S){const I=s.ip4,r=I.nat,r6=I.n64||IP4_N640;let own=0,inn=0,out=0,B=0,H=0,H6=0; for(const b of I.b){const n=ip4Sz(b.len);if(b.k==='in')inn+=n;else if(b.out)out+=n;else own+=n;} for(const b of s.biz)B+=ip4Need(b); - for(const c in s.pops){const p=s.pops[c];if(p.bb)H+=p.bb.d*IP4_BB;} - H=Math.ceil(H);const T=own+inn,A=Math.max(0,T-B),min=Math.ceil(H/r);let cg=0,over=0; - if(A=min)cg=Math.min(H,Math.ceil((H-A)*r/(r-1)));else{cg=H;over=min?1-A/min:0;}} - return {T,own,inn,out,B,H,cg,over,free:T-B-min,r};} + for(const c in s.pops){const p=s.pops[c];if(p.bb){const h=p.bb.d*IP4_BB;H+=h;if(p.bb.v6)H6+=h*p.bb.v6;}} + H=Math.ceil(H);H6=Math.min(H,Math.ceil(H6));const Hd=H-H6,T=own+inn,A=Math.max(0,T-B),p6=Math.ceil(H6/r6),min=Math.ceil(Hd/r),need=p6+min,A2=A-p6;let cg=0,over=0; + if(A2=min)cg=Math.min(Hd,Math.ceil((Hd-A2)*r/(r-1)));else{cg=Hd;over=need?1-A/need:0;}} + return {T,own,inn,out,B,H,H6,Hd,p6,cg,over,need,free:T-B-need,r,r6};} const ip4Fits=o=>!ip4On()||ip4Need(o)<=Math.max(0,ip4Use().free); +// Which sharing is left to stretch when space runs out, for the advice: CGNAT (0, no IPv6-only homes), the NAT64 pool alone +// (1, every home IPv6-only) or both (2). +const ip4Pools=u=>!u.H6?0:u.Hd?2:1; // A customer renewing at bw: does the bigger block it needs fit what is free? const ip4GrowOk=(b,bw)=>!ip4On()||ip4Need({type:b.type,bw})-ip4Need(b)<=Math.max(0,ip4Use().free); const ip4Full=()=>S.ip4.b.length>=IP4_BLK; @@ -54,11 +64,17 @@ function ip4Px(d=S.day){if(!rule('market')||d<=IP4_FREE)return IP4_PX;const y=(d const ip4Cost=len=>Math.round(ip4Sz(len)*ip4Px()*(1-0.015*(IP4_MAX-len))/100)*100; const ip4Value=len=>Math.round(ip4Cost(len)*IP4_SELL/100)*100; const ip4InMo=len=>Math.round(ip4Sz(len)*IP4_IN*ip4Px()/IP4_PX),ip4OutMo=len=>Math.round(ip4Sz(len)*IP4_OUT*ip4Px()/IP4_PX); -// The month's IPv4 bill: leases in and out, CGNAT boxes, refunds (eye: what broadband earns a month). -function ip4Bill(eye){const u=ip4Use();let lin=0,lout=0;for(const b of S.ip4.b){if(b.k==='in')lin+=b.mo||0;else if(b.out)lout+=b.mo||0;} - const cgS=u.H?u.cg/u.H:0;return {u,lin,lout,box:u.cg/IP4_BB*IP4_V4*IP4_CGN,refund:eye*(cgS*IP4_ANNOY[u.r]+u.over*IP4_SQZ)};} +// The IPv4 share of home traffic on day d: 55% on day 0 (so nothing changes at the start), two points less a year, never +// under a fifth (old consoles, old VPNs, old everything). +const ip4V4=(d=S.day)=>Math.max(IP4_V4_MIN,IP4_V4-IP4_V4_YR*Math.max(0,d)/365.2425); +/* The month's IPv4 bill: leases in and out, CGNAT boxes and NAT64 gateways (the same price per Gbps of IPv4 they carry), + refunds (eye: what broadband earns a month). NAT64 refunds shrink with the IPv4 share: in an IPv6-only home only what + still needs IPv4 meets the NAT at all. s: the network as ip4Use() takes it (a city panel asks about one that might be). */ +function ip4Bill(eye,s=S){const u=ip4Use(s),v4=ip4V4();let lin=0,lout=0;for(const b of s.ip4.b){if(b.k==='in')lin+=b.mo||0;else if(b.out)lout+=b.mo||0;} + const cgS=u.H?u.cg/u.H:0,v6S=u.H?u.H6/u.H:0; + return {u,lin,lout,v4,box:u.cg/IP4_BB*v4*IP4_CGN,box64:u.H6/IP4_BB*v4*IP4_CGN,refund:eye*(cgS*IP4_ANNOY[u.r]+v6S*IP4_ANNOY64[u.r6]*v4/IP4_V4+u.over*IP4_SQZ)};} // computeMoney: only what is there, so a network with nothing to pay keeps its money rows as they were. -function ip4Money(C,V){if(!ip4On())return;const b=ip4Bill(V.eyeballs||0),c=Math.round(b.lin+b.box+b.refund);if(c>0)C.ip4=c;if(b.lout>0)V.ip4=b.lout;} +function ip4Money(C,V){if(!ip4On())return;const b=ip4Bill(V.eyeballs||0),c=Math.round(b.lin+b.box+b.box64+b.refund);if(c>0)C.ip4=c;if(b.lout>0)V.ip4=b.lout;} /* A new network gets its /21 from the RIR. An older save gets what it already uses registered to it and a quarter more to grow into (about a month for a big, fast-growing network), rounded up to /24s in real CIDR blocks (a /21 at the least), so nothing changes on load; those blocks move like any other two years on. @@ -69,19 +85,22 @@ function ip4Grant(s){const d=s.day||0,b=[],add=len=>b.push({id:'rir'+b.length,le need=Math.max(ip4Sz(IP4_START),Math.ceil(need*1.25/256)*256); while(need>=ip4Sz(IP4_MIN)&&b.length<200){add(IP4_MIN);need-=ip4Sz(IP4_MIN);} for(let len=IP4_MIN+1;len<=IP4_MAX;len++)if(need>=ip4Sz(len)){add(len);need-=ip4Sz(len);} - return {b,nat:IP4_NAT0,w:0};} + return {b,nat:IP4_NAT0,n64:IP4_N640,w:0};} const ip4New=()=>ip4Grant({}); function ip4Fix(s){const I=s.ip4&&typeof s.ip4==='object'&&!Array.isArray(s.ip4)?s.ip4:null;if(!I){s.ip4=ip4Grant(s);return;} const day=Math.max(0,num(s.day,0)),mo=v=>Math.round(Math.min(1e8,Math.max(0,num(v,0)))); const b=(Array.isArray(I.b)?I.b:[]).filter(x=>x&&typeof x==='object'&&ip4LenOk(x.len)&&['rir','buy','in'].includes(x.k)).slice(0,IP4_BLK).map(x=>{ const o={id:typeof x.id==='string'&&x.id&&x.id.length<=40?x.id:uid(),len:x.len,k:x.k,d:int(x.d,0,day,0)}; if(x.k==='in')o.mo=mo(x.mo);else if(x.out===true){o.out=true;o.mo=mo(x.mo);}return o;}); - s.ip4={b,nat:IP4_NAT.includes(I.nat)?I.nat:IP4_NAT0,w:int(I.w,0,3,0)};} + s.ip4={b,nat:IP4_NAT.includes(I.nat)?I.nat:IP4_NAT0,n64:IP4_N64.includes(I.n64)?I.n64:IP4_N640,w:int(I.w,0,3,0)};} /* Once a day: say so when homes go behind CGNAT (a percent of them at least), and when even CGNAT cannot fit them all (w: what was said). Each rearms only with room to spare again, so homes hovering at the limit hear it once. */ -function ip4Day(d){if(!ip4On())return;const I=S.ip4,u=ip4Use(),A=u.T-u.B,go=[{l:tr('ip4.section'),act:'ip4Open'}]; - if(u.cg>=Math.max(1,u.H*0.01)){if(!(I.w&1)){I.w|=1;toast(tr('ip4.toast_cgnat',{p:pct(u.cg/u.H)}),'',go);}}else if(A>=u.H*1.05)I.w&=~1; - if(u.over>0){if(!(I.w&2)){I.w|=2;toast(tr('ip4.toast_out',{r:u.r}),'bad',go);sfx('err');}}else if(A>=Math.ceil(u.H/u.r)*1.1)I.w&=~2;} +function ip4Day(d){if(!ip4On())return;ip6Day(d);const I=S.ip4,u=ip4Use(),A=u.T-u.B,go=[{l:tr('ip4.section'),act:'ip4Open'}]; + if(u.cg>=Math.max(1,u.H*0.01)){if(!(I.w&1)){I.w|=1;toast(tr('ip4.toast_cgnat',{p:pct(u.cg/u.H)}),'',go);}}else if(A-u.p6>=u.Hd*1.05)I.w&=~1; + if(u.over>0){if(!(I.w&2)){I.w|=2;const k=ip4Pools(u);toast(k===1?tr('ip4.toast_out_v6',{r:u.r6}):k?tr('ip4.toast_out_both',{r:u.r,r6:u.r6}):tr('ip4.toast_out',{r:u.r}),'bad',go);sfx('err');}} + else if(A>=u.need*1.1)I.w&=~2;} +// Your customers need the addresses: what to stretch or get instead (ip4Busy, the bank's block rows). +function ip4InUse(u=ip4Use()){const k=ip4Pools(u);return k===1?tr('ip4.in_use_v6'):k?tr('ip4.in_use_both'):tr('ip4.in_use');} // Renewals that wanted a bigger block than is free (clGrow, [customer, bandwidth]): they stay as they are, and hear why. function ip4News(l=[]){for(const [b,bw] of l.slice(0,3))toast(tr('ip4.no_grow',{name:esc(b.name),city:esc(clWhere(b)),bw:fmtG(bw)}),'',[{l:tr('ip4.section'),act:'ip4Open'}]);} // The line under an offer that cannot be signed for want of addresses. diff --git a/src/game/60-features/34-ipv6-only.js b/src/game/60-features/34-ipv6-only.js new file mode 100644 index 0000000..9c2967e --- /dev/null +++ b/src/game/60-features/34-ipv6-only.js @@ -0,0 +1,58 @@ +/* ---------- IPv6-only broadband (464XLAT), city by city, next to CGNAT (33-address-space.js) ---------- + A broadband city can go IPv6-only: every home router is swapped for one with a CLAT, and the network runs NAT64/DNS64 + for whatever still needs IPv4. Those homes hold no IPv4 address of their own: their IPv4 shares the NAT64 pool at the + player's NAT64 ratio (S.ip4.n64), which ip4Use() sets aside right after business customers. CGNAT costs nothing to + start; this costs a home router per home, paid as each one goes in, and some days per city. + p.bb.v6: the share of the city's homes that are IPv6-only (absent: none, dual stack, as in every older save); + p.bb.v6e: the day the swap finishes, while it runs. Homes that join a city that is swapping or done get the new router + from the start, at the same price (ip6Grow): a city that goes IPv6-only the day it launches pays for every home it grows + into, as one that switches years later does. Stop halfway and the swapped ones stay, the new ones come dual stack + again. A POP closed and rebuilt starts dual stack: its homes, and the routers they had, left with it. Rule ip4, like + the rest of the address space. */ +// Dollars per home router; a swap takes IP6_D0 days plus one for every IP6_PER homes, IP6_DMAX at most. +const IP6_CPE=4,IP6_D0=30,IP6_PER=200,IP6_DMAX=180; +const ip6Pop=c=>own(S.pops,c)?S.pops[c]:null; +// Dual-stack homes still to swap in a city. +const ip6Homes=p=>p&&p.bb?Math.max(0,p.bb.d*IP4_BB*(1-(p.bb.v6||0))):0; +const ip6Cost=c=>{const n=ip6Homes(ip6Pop(c));return n>0?Math.max(100,Math.round(n*IP6_CPE/100)*100):0;}; +const ip6Days=c=>Math.min(IP6_DMAX,IP6_D0+Math.ceil(ip6Homes(ip6Pop(c))/IP6_PER)); +// To start, the first day's routers on hand: the rest is paid as they go in, and the swap waits while cash is short. +const ip6First=c=>ip6Cost(c)/Math.max(1,ip6Days(c)); +// The network as it would be with every home here IPv6-only (p: the city's POP, with broadband). +const ip6If=(c,p)=>({ip4:S.ip4,biz:S.biz,pops:{...S.pops,[c]:{...p,bb:{...p.bb,v6:1}}}}); +// Exactly what going IPv6-only here frees for new customers: the address space counted again with every home here on it. +function ip6Free(c){const p=ip6Pop(c);if(!p||!p.bb)return 0;return ip4Use(ip6If(c,p)).free-ip4Use().free;} +/* And what it does to the month's IPv4 bill, counted the same way (eye: what broadband earns a month): NAT64 gateways and + refunds against the CGNAT boxes and refunds it saves. While no home is behind CGNAT it only adds. */ +function ip6Mo(c,eye){const p=ip6Pop(c);if(!p||!p.bb)return 0;const m=b=>b.box+b.box64+b.refund;return m(ip4Bill(eye,ip6If(c,p)))-m(ip4Bill(eye));} +// Why this city cannot start a swap now ('' when it can). +function ip6Why(c){const p=ip6Pop(c);if(!ip4On())return tr('ip4.off');if(!p||!p.bb)return tr('ip6.no_bb');if(p.bb.v6e)return tr('ip6.busy');if(p.bb.v6>=1)return tr('ip6.already');return '';} +// Today's routers: an even share of what is left, so the swap ends on its day however the city grows meanwhile. +const ip6Left=(b,d)=>Math.max(1,b.v6e-d+1),ip6Slice=(b,d)=>b.d*IP4_BB*(1-(b.v6||0))/ip6Left(b,d)*IP6_CPE; +/* Once a day (from ip4Day): every running swap does its share of the homes and pays for their routers. Short of cash, + the crews wait a day and the end slides with them, so a swap never pushes the network into the red. */ +function ip6Day(d){if(!ip4On())return;for(const c in S.pops){const b=S.pops[c].bb;if(!b||!b.v6e)continue; + const k=ip6Left(b,d),cost=ip6Slice(b,d);if(cost>Math.max(0,S.cash)){b.v6e++;continue;} + S.cash-=cost;const v=b.v6||0;b.v6=k<=1?1:Math.min(1,v+(1-v)/k); + if(k<=1){delete b.v6e;toast(tr('ip6.done',{city:esc(CITY[c].name)}),'good',[{l:tr('ip4.section'),act:'ip4Open'}]);}}} +/* The day's new homes (d0: demand before it grew): while swapping or done each gets the new router, IP6_CPE like a swapped + one, dual stack after a stop. The swap of old routers is a project and waits for cash; a home that signs up today + needs its router today, so that is spent like any running cost (homes only join where the service is good, and they + pay it back within days). */ +function ip6Grow(b,d0){if(!ip4On()||!(b.d>d0))return;const v=b.v6||0; + if(b.v6e||v>=1){S.cash-=(b.d-d0)*IP4_BB*IP6_CPE;if(v<1)b.v6=1-(1-v)*d0/b.d;}else if(v>0)b.v6=v*d0/b.d;} +// Saves: v6 is a share (none at all is no field, so a dual-stack city saves as it always did); v6e a day, gone once done. +function ip6Fix(b,day){if(b.v6!==undefined){const v=num(b.v6,0);if(v>0)b.v6=Math.min(1,v);else delete b.v6;} + if(b.v6e!==undefined){if(b.v6>=1||!Number.isFinite(b.v6e))delete b.v6e;else b.v6e=int(b.v6e,day,day+3650,day);}} +// The city panel's Home broadband: where the city stands, and the swap to start or stop. +function ip6Html(c){if(!ip4On())return '';const p=ip6Pop(c),b=p&&p.bb;if(!b)return '';const v=b.v6||0,r=S.ip4.n64||IP4_N640; + let h=`
${tr('ip6.title')}${v>=1?tr('ip6.every_home'):v>0||b.v6e?tr('ip6.share_homes',{p:pct(v)}):tr('ip6.dual_stack')}
`; + if(b.v6e){const wait=ip6Slice(b,S.day+1)>Math.max(0,S.cash); + h+=`

${tr('ip6.swapping_home_routers_paid',{cost:fmt$(IP6_CPE),date:dateStr(b.v6e)})}

${wait?`

${tr('ip6.waiting')}

`:''}
${btn(tr('ip6.stop'),'ip6Stop',{city:c},'ghost sm')}
`;} + else if(v>=1)h+=`

${tr('ip6.new_homes_get_a_clat',{cost:fmt$(IP6_CPE),r})}

`; + else{const n=Math.ceil(ip6Homes(p)),cost=ip6Cost(c),f=Math.max(0,ip6Free(c)),mo=Math.round(ip6Mo(c,(R.rev&&R.rev.eyeballs)||0)); + // Before the player commits: what the month costs after it too, and that it buys nothing yet while IPv4 still fits. + const bill=mo>0?tr('ip6.your_ipv4_bill_goes_up',{price:fmt$(mo)})+(ip4Use().cg?'':' '+tr('ip6.no_home_is_behind_cgnat')):mo<0?tr('ip6.your_ipv4_bill_goes_down',{price:fmt$(-mo)}):''; + h+=`

${v>0?tr('ip6.part_note',{p:pct(v)}):tr('ip6.pitch',{r})} ${tr('ip6.what',{routers:trn('ip6.n_routers',n,{n:ip4N(n)}),days:ip6Days(c),addr:trn('ip4.n_addresses',f,{n:ip4N(f)})})} ${tr('ip6.homes_that_join_later',{cost:fmt$(IP6_CPE)})}${bill?' '+bill:''}

+
${btn(tr('ip6.go',{cost:fmt$(cost)}),'ip6Go',{city:c},'sm',S.cash`;} + return h+'
';} diff --git a/src/game/80-simulation/50-sanitize.js b/src/game/80-simulation/50-sanitize.js index 3c25690..80cae7a 100644 --- a/src/game/80-simulation/50-sanitize.js +++ b/src/game/80-simulation/50-sanitize.js @@ -17,7 +17,7 @@ function sanitize(s){ {const m=s.monkey&&typeof s.monkey==='object'&&!Array.isArray(s.monkey)?s.monkey:{},on=m.on?1:0,o={next:m.next==null?null:int(m.next,0,1e7,s.day+90),on}; if(on){o.start=int(m.start,0,s.day,s.day);o.until=int(m.until,o.start,o.start+400,s.day+30);o.snip=int(m.snip,0,1e7,s.day+3);o.n=int(m.n,0,1e4,0);o.hurt=int(m.hurt,0,o.n,0);o.c=isCity(m.c)?m.c:isCity(s.home)?s.home:null;} s.monkey=o;} - for(const c of Object.keys(s.pops)){const p=s.pops[c];if(!isCity(c)||!p||typeof p!=='object'){delete s.pops[c];continue;}p.routers=int(p.routers,1,RMAX,1);if(p.rupDay!==undefined)p.rupDay=num(p.rupDay,-1);if(p.rgen!==undefined)p.rgen=int(p.rgen,0,RG.length-1,0);p.down=num(p.down,0);if(p.bb&&typeof p.bb==='object')p.bb.d=num(p.bb.d,0);else p.bb=null;} + for(const c of Object.keys(s.pops)){const p=s.pops[c];if(!isCity(c)||!p||typeof p!=='object'){delete s.pops[c];continue;}p.routers=int(p.routers,1,RMAX,1);if(p.rupDay!==undefined)p.rupDay=num(p.rupDay,-1);if(p.rgen!==undefined)p.rgen=int(p.rgen,0,RG.length-1,0);p.down=num(p.down,0);if(p.bb&&typeof p.bb==='object'){p.bb.d=num(p.bb.d,0);ip6Fix(p.bb,s.day);}else p.bb=null;} if(!isCity(s.home))s.home=Object.keys(s.pops)[0]||'fra'; opsSanitize(s); const tier=v=>int(v,0,PORT.length-1,0),lag=v=>int(v,1,LAG_MAX,1),sid=v=>String(v==null?uid():v).slice(0,40); diff --git a/src/game/88-days/10-day-tick.js b/src/game/88-days/10-day-tick.js index 26d651d..bef2a76 100644 --- a/src/game/88-days/10-day-tick.js +++ b/src/game/88-days/10-day-tick.js @@ -49,9 +49,10 @@ function* dayPreRun(){ toast(where?tr('day_tick.resolved_what_where_is_back_to',{what:incTitle(i.type),where:esc(where)}):tr('day_tick.resolved_what',{what:incTitle(i.type)}),'good',[],o);} yield DAY_REST; // eyeball growth / churn uses last computed service - for(const c in S.pops){const p=S.pops[c];if(!p.bb)continue;const sf=sfOf(R,c)*((R.bbF&&R.bbF[c])??1),P=eyeP(c); + for(const c in S.pops){const p=S.pops[c];if(!p.bb)continue;const sf=sfOf(R,c)*((R.bbF&&R.bbF[c])??1),P=eyeP(c),d0=p.bb.d; if(sf>=0.9){const g=(CITY[c].be&&!(p.boost>d)?0.35:1)*0.025*(scnRule('boom')?1.5:1)*(p.boost>d?2:1)*sf*(0.7+0.6*(R.peerShare||0))*(CITY[c].reg==='AS'&&!CITY[c].cn?1.6:1);p.bb.d+=g*p.bb.d*(1-p.bb.d/P);} - else p.bb.d=Math.max(Math.min(3,P),p.bb.d*(1-(0.9-sf)*0.04));} + else p.bb.d=Math.max(Math.min(3,P),p.bb.d*(1-(0.9-sf)*0.04)); + if(p.bb.v6||p.bb.v6e)ip6Grow(p.bb,d0);} return d;} function* dayPost(d){ yield* ddosNewsRun();ddosTrack(); diff --git a/src/game/90-actions/50-customers.js b/src/game/90-actions/50-customers.js index 19aa159..201eb09 100644 --- a/src/game/90-actions/50-customers.js +++ b/src/game/90-actions/50-customers.js @@ -4,7 +4,7 @@ Object.assign(ACT,{ if(!w&&!p){toast(tr('customers.nothing_spare_to_sell_on_this'),'bad');sfx('err');return;}const L=l.list||(l.list={w:0,p:0});L.w+=w;L.p+=p; toast(tr('broker.listed',{a:CITY[l.a].name,b:CITY[l.b].name}),'good');sfx('click');after();}, unlistFiber:({id})=>{const l=S.links.find(x=>x.id===id);if(!l||!l.list)return;delete l.list;sfx('click');after();}, - accept:({id,auto=false})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!ip4Fits(o)){const n=ip4Need(o);toast(tr('ip4.no_space',{name:esc(o.name),p:ip4Cidr(n),n:ip4N(n),free:ip4N(Math.max(0,ip4Use().free))}),'bad',[{l:tr('ip4.section'),act:'ip4Open'}]);sfx('err');return;}const customer=auto?autoOffer(o):offerCustomer(o);if(!customer)return;if(!bHas(o)){toast(tr('customers.you_need_a_pop_in_every'),'bad');return;} + accept:({id,auto=false})=>{const o=S.offers.find(x=>x.id===id);if(!o)return;if(!ip4Fits(o)){const n=ip4Need(o),u=ip4Use(),k=ip4Pools(u),v={name:esc(o.name),p:ip4Cidr(n),n:ip4N(n),free:ip4N(Math.max(0,u.free))};toast(k===1?tr('ip4.no_space_v6',v):k?tr('ip4.no_space_both',v):tr('ip4.no_space',v),'bad',[{l:tr('ip4.section'),act:'ip4Open'}]);sfx('err');return;}const customer=auto?autoOffer(o):offerCustomer(o);if(!customer)return;if(!bHas(o)){toast(tr('customers.you_need_a_pop_in_every'),'bad');return;} if(o.type==='wwave'){const l=S.links.find(x=>x.id===o.link);if(!l||chMax(l)-(l.ch||[]).length-soldSlots(l)-xpSlots(l)=o.start){toast(tr('customers.too_late_the_event_has_already'),'bad');return;} // A carrier renting more alien waves on a fiber it already rents grows its contract, like a real order for extra waves, diff --git a/src/game/90-actions/54-address-space.js b/src/game/90-actions/54-address-space.js index e2c934f..feb196d 100644 --- a/src/game/90-actions/54-address-space.js +++ b/src/game/90-actions/54-address-space.js @@ -1,9 +1,9 @@ -/* Address space (#150, 33-address-space.js): buy, lease in, lease out, sell, hand back, and the CGNAT ratio. Every block - change keeps room for the customers already signed, with every home behind CGNAT. */ +/* Address space (#150, 33-address-space.js): buy, lease in, lease out, sell, hand back, and the CGNAT and NAT64 ratios. + Every block change keeps room for the customers already signed, with every dual-stack home behind CGNAT. */ const ip4Re=()=>{after();renderBank();}; function ip4Can(){if(ip4On())return true;toast(tr('ip4.off'),'bad');sfx('err');return false;} const ip4Blk=id=>S.ip4.b.find(b=>b.id===id); -function ip4Busy(){toast(tr('ip4.in_use'),'bad');sfx('err');} +function ip4Busy(){toast(ip4InUse(),'bad');sfx('err');} // No more blocks than a save keeps (IP4_BLK): a new one is refused with the way out. function ip4Room(){if(!ip4Full())return true;toast(tr('ip4.too_many',{n:IP4_BLK}),'bad');sfx('err');return false;} Object.assign(ACT,{ @@ -25,5 +25,8 @@ Object.assign(ACT,{ S.ip4.b=S.ip4.b.filter(x=>x!==b);sfx('click');ip4Re();}, // Fewer homes per address needs more addresses: refused when the customers already signed would not fit. ip4Nat:({v})=>{if(!ip4Can())return;const r=Number(v);if(!IP4_NAT.includes(r)||r===S.ip4.nat)return;const u=ip4Use(); - if(r{if(!ip4Can())return;const r=Number(v);if(!IP4_N64.includes(r)||r===S.ip4.n64)return;const u=ip4Use(); + if(r{if(!ip4Can())return;const why=ip6Why(city);if(why){toast(why,'bad');sfx('err');return;}const p=ip6Pop(city); + if(S.cash{if(!ip4Can())return;const p=ip6Pop(city);if(!p||!p.bb||!p.bb.v6e)return;delete p.bb.v6e;sfx('click'); + toast(tr('ip6.stopped',{city:esc(CITY[city].name),p:pct(p.bb.v6||0)}),'');after();}, +}); diff --git a/src/game/93-ui/50-city-panel.js b/src/game/93-ui/50-city-panel.js index fd7fbd6..f1cbc88 100644 --- a/src/game/93-ui/50-city-panel.js +++ b/src/game/93-ui/50-city-panel.js @@ -33,7 +33,7 @@ function cityPanel(c){
${tr('common.revenue')}${tr('common.price_mo',{price:fmt$(eye*sf*EYE_RATE*arpuOf(c))})}
${tr('city_panel.network_wide_peering_ratio')}${pct(R.peerShare||0)}

${tr('city_panel.more_traffic_over_peering_pnis_and')}

${sf<0.9?`

${tr('city_panel.customers_are_unhappy_and_leaving')}

`:''} -
${p.boost>S.day?`${tr('city_panel.ad_campaign_n_d_left',{n:p.boost-S.day})}`:btn(tr('city_panel.run_ad_campaign_8k_2_growth'),'ad',{city:c},'',S.cash<8000)}
`;} +
${p.boost>S.day?`${tr('city_panel.ad_campaign_n_d_left',{n:p.boost-S.day})}`:btn(tr('city_panel.run_ad_campaign_8k_2_growth'),'ad',{city:c},'',S.cash<8000)}
${ip6Html(c)}`;} h+=`

${tr('common.business_customers')}

`; const bz=S.biz.filter(b=>bCities(b).includes(c)); if(!bz.length)h+=`

${tr('city_panel.no_businesses_yet_offers_pop_up')}

`; diff --git a/src/game/94-dashboard/60-dashboard.js b/src/game/94-dashboard/60-dashboard.js index 1802e8f..a0dfe73 100644 --- a/src/game/94-dashboard/60-dashboard.js +++ b/src/game/94-dashboard/60-dashboard.js @@ -9,7 +9,7 @@ function renderDash(){checkLayer();
${tile(tr('common.traffic_now'),fmtG(R.served),tr('dashboard.of_g_wanted',{g:fmtG(R.demand)}))}${tile(tr('common.peak'),fmtG(S.stats.peak))}${tile(tr('dashboard.delivered_30_days'),(up*100).toFixed(1)+'%',up>=0.999?tr('dashboard.five_nines_ish'):up>=0.99?tr('dashboard.two_nines_and_change'):tr('dashboard.customers_are_upset'))}${tile(tr('common.peering_ratio'),pct(R.peerShare||0),tr('dashboard.caches_pnis_and_ix'))}${tile(tr('dashboard.monthly_p_l'),`${net>=0?'+':''}${fmt$(net)}`,tr('dashboard.in_in_out_out',{in:fmt$(R.revMo),out:fmt$(R.costMo)}))}${tile(tr('common.incidents'),S.stats.incidents,tr('dashboard.n_shrugged_off',{n:S.stats.survived}))}

${tr('dashboard.traffic_by_way_out')}

${svgChart(rows,['c','p','ix','t','l2'],[{k:'dem',col:'var(--text)',dash:true}],v=>fmtCap(Math.round(v)),'traffic')}${chartLegend('traffic',k=>k==='dem'?'':' '+pct((R.egT[k]||0)/tot))}

${tr('dashboard.money_per_month')}

${svgChart(rows,[],[{k:'rev',col:'#16A866'},{k:'cost',col:'#FF4D5E'}],v=>fmt$(v),'money')}${chartLegend('money')} -

${tr('dashboard.where_the_money_goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('dashboard.pops_and_routers'),links:tr('dashboard.waves_and_fiber'),transit:tr('common.transit'),ix:tr('common.ix_ports'),pni:tr('common.pnis'),caches:tr('common.cache_power'),nni:tr('common.fabric_ports'),optical:tr('dashboard.amp_huts_and_spares'),loans:tr('common.loan_repayments'),revshare:tr('dashboard.investor_revenue_share'),extras:tr('dashboard.licenses_and_scrubbing'),wholesale:tr('dashboard.nearly_broadband_network_wholesale'),levy:tr('dashboard.regional_broadband_levy'),pie:tr('pie.costs_row'),ip4:tr('ip4.costs_row'),sat:tr('satellites.costs_row')}[k]||k}${tr('common.price_mo',{price:fmt$(v)})}
`).join('')}
`; +

${tr('dashboard.where_the_money_goes')}

${Object.entries(R.cost).filter(([k,v])=>v>0).sort((a,b)=>b[1]-a[1]).map(([k,v])=>`
${{pops:tr('dashboard.pops_and_routers'),links:tr('dashboard.waves_and_fiber'),transit:tr('common.transit'),ix:tr('common.ix_ports'),pni:tr('common.pnis'),caches:tr('common.cache_power'),nni:tr('common.fabric_ports'),optical:tr('dashboard.amp_huts_and_spares'),loans:tr('common.loan_repayments'),revshare:tr('dashboard.investor_revenue_share'),extras:tr('dashboard.licenses_and_scrubbing'),wholesale:tr('dashboard.nearly_broadband_network_wholesale'),levy:tr('dashboard.regional_broadband_levy'),pie:tr('pie.costs_row'),ip4:tr('ip4.leases_cgnat_nat64'),sat:tr('satellites.costs_row')}[k]||k}${tr('common.price_mo',{price:fmt$(v)})}
`).join('')}
`; const tT=(R.egT.t||0)||1; const offMix=(UI.chartOff&&UI.chartOff.mix)||{},filt=Object.keys(offMix).length>0; // The legend above the table picks which ways in count; "lost" still looks at everything the network gets. diff --git a/src/game/94-dashboard/72-address-space.js b/src/game/94-dashboard/72-address-space.js index 149689c..d90d78e 100644 --- a/src/game/94-dashboard/72-address-space.js +++ b/src/game/94-dashboard/72-address-space.js @@ -1,21 +1,29 @@ -/* The bank's Address space section (#150, 33-address-space.js): what you hold and who uses it, the CGNAT ratio, your - blocks, and the transfer market. Phones: the boxes are full width, the dropdowns stack and every button row wraps. */ +/* The bank's Address space section (#150, 33-address-space.js): what you hold and who uses it (homes in three groups once + some are IPv6-only), the CGNAT and NAT64 ratios, your blocks, and the transfer market. Phones: the boxes are full + width, the dropdowns stack and every button row wraps. */ const ip4Pc=x=>(x*100).toFixed(1).replace(/\.0$/,'')+'%'; function ip4Bank(){if(!S||!ip4On())return '';const I=S.ip4,B=ip4Bill((R.rev&&R.rev.eyeballs)||0),u=B.u,len=ip4LenOk(UI.ip4Len)?UI.ip4Len:IP4_MAX,px=ip4Px(),full=ip4Full(); const kv=(l,v,bad)=>`
${l}${v}
`,mo=v=>tr('common.price_mo',{price:fmt$(v)}); let h=`

🔢 ${tr('ip4.section')}

${tr('ip4.note')}

`; - h+=`
${kv(tr('ip4.yours'),ip4N(u.T))}${kv(tr('ip4.business'),ip4N(u.B))}${kv(tr('ip4.homes'),u.cg?tr('ip4.homes_cgnat',{n:ip4N(u.H),p:pct(u.cg/u.H)}):ip4N(u.H))}${kv(tr('ip4.free'),ip4N(Math.max(0,u.free)),u.free<=0)}`; - if(u.over>0)h+=`
${tr('ip4.squeezed',{p:pct(u.over),r:u.r})}
`; - if(B.lin>0)h+=kv(tr('ip4.leases_in'),mo(B.lin));if(B.box>=1)h+=kv(tr('ip4.cgnat_boxes'),mo(B.box));if(B.refund>=1)h+=kv(tr('ip4.refunds'),mo(B.refund));if(B.lout>0)h+=kv(tr('ip4.leases_out'),'+'+mo(B.lout)); + h+=`
${kv(tr('ip4.yours'),ip4N(u.T))}${kv(tr('ip4.business'),ip4N(u.B))}`; + // Public, behind CGNAT, IPv6-only: the three groups once there is a third. + h+=u.H6>0?kv(tr('ip4.homes'),ip4N(u.H))+kv(tr('ip4.homes_public'),ip4N(u.H-u.H6-u.cg))+kv(tr('ip4.homes_behind_cgnat'),ip4N(u.cg))+kv(tr('ip4.homes_v6'),tr('ip4.homes_v6_pool',{n:ip4N(u.H6),pool:ip4N(u.p6)})) + :kv(tr('ip4.homes'),u.cg?tr('ip4.homes_cgnat',{n:ip4N(u.H),p:pct(u.cg/u.H)}):ip4N(u.H)); + h+=kv(tr('ip4.free'),ip4N(Math.max(0,u.free)),u.free<=0); + if(u.over>0){const k=ip4Pools(u);h+=`
${k===1?tr('ip4.squeezed_v6',{p:pct(u.over),r:u.r6}):k?tr('ip4.squeezed_both',{p:pct(u.over),r:u.r,r6:u.r6}):tr('ip4.squeezed',{p:pct(u.over),r:u.r})}
`;} + if(B.lin>0)h+=kv(tr('ip4.leases_in'),mo(B.lin));if(B.box>=1)h+=kv(tr('ip4.cgnat_boxes'),mo(B.box));if(B.box64>=1)h+=kv(tr('ip4.nat64_gateways'),mo(B.box64));if(B.refund>=1)h+=kv(tr('ip4.refunds'),mo(B.refund));if(B.lout>0)h+=kv(tr('ip4.leases_out'),'+'+mo(B.lout)); + h+=kv(tr('ip4.v6_share'),pct(1-B.v4)); h+=` -

${tr('ip4.cgnat_note',{p:ip4Pc(IP4_ANNOY[I.nat])})}

`; - h+=`
${tr('ip4.blocks')}
`; +

${tr('ip4.cgnat_note',{p:ip4Pc(IP4_ANNOY[I.nat])})}

+ +

${tr('ip4.nat64_note',{p:ip4Pc(IP4_ANNOY64[u.r6]*B.v4/IP4_V4)})}

`; + h+=`
${tr('ip4.blocks')}
`;const inUse=ip4InUse(u); for(const b of I.b){const n=ip4Sz(b.len),spare=u.free>=n,held=ip4Held(b),sure=UI.confirm===b.id; const what=b.k==='in'?tr('ip4.leased_in_mo',{price:fmt$(b.mo||0)}):b.out?tr('ip4.leased_out_mo',{price:fmt$(b.mo||0)}):b.k==='buy'?tr('ip4.bought_on',{date:dateStr(b.d)}):tr('ip4.from_rir'); const btns=b.k==='in'?btn(tr('ip4.give_back'),'ip4Return',{id:b.id},'ghost sm',!spare):b.out?btn(tr('ip4.take_back'),'ip4Back',{id:b.id},'ghost sm') :btn(tr('ip4.lease_out',{price:fmt$(ip4OutMo(b.len))}),'ip4Out',{id:b.id},'sm',!spare)+btn(sure?tr('ip4.really_sell',{price:fmt$(ip4Value(b.len))}):tr('ip4.sell',{price:fmt$(ip4Value(b.len))}),'ip4Sell',{id:b.id},sure?'red sm':'ghost sm',held||!spare); // Greyed for want of room: say so (a disabled button never gets to show ip4Busy's toast). - h+=`
/${b.len} · ${trn('ip4.n_addresses',n,{n:ip4N(n)})}
${what}${held&&!b.out?' · '+tr('ip4.movable_from',{date:dateStr(b.d+IP4_HOLD)}):''}
${!spare&&!b.out?`
${tr('ip4.in_use')}
`:''}
${btns}
`;} + h+=`
/${b.len} · ${trn('ip4.n_addresses',n,{n:ip4N(n)})}
${what}${held&&!b.out?' · '+tr('ip4.movable_from',{date:dateStr(b.d+IP4_HOLD)}):''}
${!spare&&!b.out?`
${inUse}
`:''}
${btns}
`;} h+=`
${tr('ip4.market')}

${tr('ip4.market_note',{px:fmt$(px),lin:'$'+(IP4_IN*px/IP4_PX).toFixed(2),lout:'$'+(IP4_OUT*px/IP4_PX).toFixed(2),p:pct(IP4_SELL)})}

${full?`
${tr('ip4.too_many',{n:IP4_BLK})}
`:''}
${btn(tr('ip4.buy',{price:fmt$(ip4Cost(len))}),'ip4Buy',{len},'pink sm',full||S.cash
`; diff --git a/src/i18n/en.js b/src/i18n/en.js index 4ce1e9d..05cc3fd 100644 --- a/src/i18n/en.js +++ b/src/i18n/en.js @@ -2692,20 +2692,26 @@ "ip4.cgnat_boxes":"CGNAT boxes", "ip4.cgnat_note":"More homes per address frees space for customers, but games and port forwarding suffer: {p} of a CGNAT home's bill comes back as refunds.", "ip4.cgnat_ratio":"CGNAT: homes sharing one address", -"ip4.costs_row":"IPv4 leases and CGNAT", "ip4.free":"Free for new customers (homes move behind CGNAT first)", "ip4.from_rir":"From the RIR", "ip4.give_back":"Give it back", "ip4.held":"The RIR won't transfer that block again before {date}.", "ip4.homes":"Broadband homes", +"ip4.homes_behind_cgnat":"Homes behind CGNAT", "ip4.homes_cgnat":"{n}, {p} behind CGNAT", +"ip4.homes_public":"Homes with their own address", +"ip4.homes_v6":"IPv6-only homes (464XLAT)", +"ip4.homes_v6_pool":"{n}, NAT64 pool {pool}", "ip4.in_use":"Your customers need those addresses: put more homes behind CGNAT or get another block first.", +"ip4.in_use_both":"Your customers need those addresses: put more homes on each CGNAT or NAT64 address or get another block first.", +"ip4.in_use_v6":"Your customers need those addresses: put more IPv6-only homes on each NAT64 address or get another block first.", "ip4.lease":"Lease {price}/mo", "ip4.lease_out":"Lease out +{price}/mo", "ip4.leased_in":"Leased a {p} ({n} addresses) for {price}/mo.", "ip4.leased_in_mo":"Leased in · {price}/mo", "ip4.leased_out":"Your {p} is leased out: +{price}/mo.", "ip4.leased_out_mo":"Leased out · +{price}/mo", +"ip4.leases_cgnat_nat64":"IPv4 leases, CGNAT and NAT64", "ip4.leases_in":"Blocks leased in", "ip4.leases_out":"Blocks leased out", "ip4.market":"Transfer market", @@ -2713,8 +2719,13 @@ "ip4.movable_from":"can move again from {date}", "ip4.n_addresses":{"one":"{n} address","other":"{n} addresses"}, "ip4.n_homes_per_address":{"one":"{n} home per address","other":"{n} homes per address"}, +"ip4.nat64_gateways":"NAT64 gateways", +"ip4.nat64_note":"IPv6-only homes have no IPv4 of their own: what still needs it (consoles, IPv4-only VPNs) shares your NAT64 pool, and {p} of their bill comes back as refunds, less each year as the world moves to IPv6. A city goes IPv6-only from its Home broadband.", +"ip4.nat64_ratio":"NAT64: IPv6-only homes sharing one address", "ip4.no_grow":"{name} ({city}) wanted to grow to {bw}, but you had no IPv4 addresses free for it.", "ip4.no_space":"{name} needs a {p} of IPv4 ({n} addresses), and only {free} are free. Buy or lease a block, or put more homes behind CGNAT.", +"ip4.no_space_both":"{name} needs a {p} of IPv4 ({n} addresses), and only {free} are free. Buy or lease a block, or put more homes on each CGNAT or NAT64 address.", +"ip4.no_space_v6":"{name} needs a {p} of IPv4 ({n} addresses), and only {free} are free. Buy or lease a block, or put more IPv6-only homes on each NAT64 address.", "ip4.note":"IPv6 is free and endless. IPv4 ran out years ago: business customers need public blocks of it, and homes that don't fit share addresses behind CGNAT (IPv6 traffic goes around the box).", "ip4.off":"IPv4 is plentiful under this game's rules.", "ip4.offer_needs":"Needs a {p} of IPv4 ({n} addresses); only {free} free.", @@ -2726,11 +2737,39 @@ "ip4.sell":"Sell {price}", "ip4.sold":"Sold your {p} for {price}.", "ip4.squeezed":"Out of space: {p} of homes don't fit even at {r} homes per address. Their connections break and they want refunds: buy or lease a block.", +"ip4.squeezed_both":"Out of space: {p} of homes don't fit even at {r} homes per CGNAT address and {r6} per NAT64 address. Their connections break and they want refunds: buy or lease a block.", +"ip4.squeezed_v6":"Out of space: {p} of homes don't fit even at {r} IPv6-only homes per NAT64 address. Their connections break and they want refunds: buy or lease a block.", "ip4.take_back":"Take it back", "ip4.toast_cgnat":"Your IPv4 is full. {p} of your homes now share addresses behind CGNAT, and a few gamers have already written in.", "ip4.toast_out":"Out of IPv4. Even at {r} homes per address, CGNAT can't fit everyone: buy or lease a block at the bank.", +"ip4.toast_out_both":"Out of IPv4. Even at {r} homes per address behind CGNAT and {r6} on NAT64, not every home fits: buy or lease a block at the bank.", +"ip4.toast_out_v6":"Out of IPv4. Even at {r} homes per address, your NAT64 pool can't fit every IPv6-only home: buy or lease a block at the bank.", "ip4.too_many":"You hold {n} IPv4 blocks, the most one network can keep track of. Sell or give back small ones to make room for a bigger block.", +"ip4.v6_share":"IPv6 share of home traffic this year", "ip4.yours":"Your IPv4 addresses", +"ip6.already":"Every home here is IPv6-only already.", +"ip6.busy":"The swap here is already under way.", +"ip6.done":"{city} is IPv6-only. Every home there runs 464XLAT, and what still needs IPv4 shares your NAT64 pool.", +"ip6.dual_stack":"Dual stack", +"ip6.every_home":"Every home", +"ip6.go":"Go IPv6-only {cost}", +"ip6.homes_that_join_later":"Homes that join later get one too, at {cost} each.", +"ip6.n_routers":{"one":"{n} home router","other":"{n} home routers"}, +"ip6.new_homes_get_a_clat":"New homes get a CLAT router from the start, at {cost} each, and what still needs IPv4 shares your NAT64 pool, {r} homes per address.", +"ip6.no_bb":"Launch broadband here first.", +"ip6.no_home_is_behind_cgnat":"No home is behind CGNAT yet: this pays off once your IPv4 runs short.", +"ip6.part_note":"The swap stopped at {p} of homes, and new homes come dual stack again.", +"ip6.pitch":"Swap the home routers here for ones with a CLAT: the homes run on IPv6 alone and hold no IPv4 of their own, and what still needs IPv4 shares your NAT64 pool, {r} homes per address.", +"ip6.share_homes":"{p} of homes", +"ip6.started":"Swapping {routers} in {city} for IPv6-only ones: about {days} days.", +"ip6.stop":"Stop the swap", +"ip6.stopped":"Stopped the swap in {city} at {p} of homes. The routers already swapped stay; new homes come dual stack again.", +"ip6.swapping_home_routers_paid":"Swapping home routers, paid as they go in; new homes get the new one from the start, at {cost} each. Done around {date}.", +"ip6.title":"IPv6-only (464XLAT)", +"ip6.waiting":"Waiting for cash: the crews go on once you can pay for the day's routers.", +"ip6.what":"Swaps {routers} in about {days} days, paid as they go in, and frees {addr} for new customers.", +"ip6.your_ipv4_bill_goes_down":"Your IPv4 bill goes down by {price}/mo (fewer CGNAT boxes and refunds).", +"ip6.your_ipv4_bill_goes_up":"Your IPv4 bill goes up by {price}/mo (NAT64 gateways and refunds).", "ix_downgrade.pni_downgraded":"The PNI with {net} in {city} is now {port}.", "ix_downgrade.port_downgraded_at_ix":"Port at {ix} is now {port}.", "ix_downgrade.transit_downgraded":"{net} transit in {city} is now {port}.", diff --git a/tests/address-space.test.js b/tests/address-space.test.js index 92fafdf..e3017db 100644 --- a/tests/address-space.test.js +++ b/tests/address-space.test.js @@ -269,7 +269,7 @@ test('the address space says what its numbers mean: free counts homes behind CGN test('the AS box on the dashboard lists the blocks you announce, not a made-up count', (t) => { const { ev, dom, errors } = game(t); - const asBox = () => { ev("ACT.dash({});ACT.dashTab({k:'infra'})"); const k = [...dom.window.document.querySelectorAll('.kv')].map(e => e.textContent).find(x => /IPv6/.test(x)); ev('ACT.dashClose()'); return k; }; + const asBox = () => { ev("ACT.dash({});ACT.dashTab({k:'infra'})"); const k = [...dom.window.document.querySelectorAll('#dashCard .kv')].map(e => e.textContent).find(x => /IPv6/.test(x)); ev('ACT.dashClose()'); return k; }; assert.match(asBox(), /1 × \/21 IPv4, 1 × \/32 IPv6/, 'the starting allocation'); ev("ACT.ip4Lease({len:22});ACT.ip4Buy({len:24})"); assert.match(asBox(), /1 × \/21, 1 × \/22, 1 × \/24 IPv4/, 'bought and leased-in blocks are announced too'); @@ -405,7 +405,7 @@ test('saves: garbage is repaired, and the state round-trips', (t) => { ev('S=sanitize(JSON.parse(JSON.stringify(S)))'); assert.equal(ev('JSON.stringify(S.ip4)'), before); ev(`S.ip4={b:[{id:'a',len:12,k:'rir',d:0},{id:'b',len:24,k:'stolen',d:0},{id:'c',len:24,k:'buy',d:-5,out:'yes',mo:5},{id:'d',len:23,k:'in',d:1e9,mo:-3},null,{id:'e',len:24,k:'rir',d:0,out:true,mo:'x'}],nat:7,w:99};S=sanitize(JSON.parse(JSON.stringify(S)))`); - assert.deepEqual(J(ev, 'S.ip4'), { b: [{ id: 'c', len: 24, k: 'buy', d: 0 }, { id: 'd', len: 23, k: 'in', d: ev('S.day'), mo: 0 }, { id: 'e', len: 24, k: 'rir', d: 0, out: true, mo: 0 }], nat: 16, w: 3 }); + assert.deepEqual(J(ev, 'S.ip4'), { b: [{ id: 'c', len: 24, k: 'buy', d: 0 }, { id: 'd', len: 23, k: 'in', d: ev('S.day'), mo: 0 }, { id: 'e', len: 24, k: 'rir', d: 0, out: true, mo: 0 }], nat: 16, n64: 128, w: 3 }); ev("S.ip4='nope';S=sanitize(JSON.parse(JSON.stringify(S)))"); assert.ok(J(ev, 'S.ip4.b.length') >= 1, 'a broken field is granted afresh'); assert.deepEqual(errors, []); @@ -416,7 +416,7 @@ test('the address space works on a phone: one column, wrapping buttons, the drop ev("window.innerWidth=360;window.innerHeight=740;S.pops.fra.bb.d=250;compute();ACT.ip4Lease({len:24});ACT.ip4Open()"); const sec = dom.window.document.querySelector('#bankCard .bank-ip4'); assert.ok(sec, 'the section is in the bank'); - assert.equal(sec.querySelectorAll('select').length, 2, 'the CGNAT ratio and the block size'); + assert.equal(sec.querySelectorAll('select').length, 3, 'the CGNAT ratio, the NAT64 ratio and the block size'); for (const s of sec.querySelectorAll('select')) assert.ok(s.closest('.ops-sel'), 'each dropdown in a stacking label'); for (const b of sec.querySelectorAll('button')) assert.ok(b.closest('.btns'), 'every button in a wrapping row: ' + b.textContent); assert.match(sec.textContent, /2,500, \d+% behind CGNAT/); diff --git a/tests/gameplay-rules.test.js b/tests/gameplay-rules.test.js index 95194de..c907c66 100644 --- a/tests/gameplay-rules.test.js +++ b/tests/gameplay-rules.test.js @@ -259,7 +259,8 @@ test('M3: every subsystem that can annoy the player reads a rule', () => { ['soldOut', "rule('market')"], ['hwMul', "rule('market')"], ['leadDays', "rule('lead')"], ['pniLead', 'leadDays'], ['dfBuildDays', 'leadDays'], ['dayPreRun', "rule('clock')"], ['snub', "rule('market')"], ['failureRun', 'shipsOn()'], ['upcomingConfs', 'confsOn()'], ['pniLead', 'pniNow()'], ['dayPost', "rule('broke')"], ['dayPost', "rule('moods')"], ['toast', 'quietOn()'], - ['ip4On', "rule('ip4')"], ['ip4Fits', 'ip4On()'], ['ip4Money', 'ip4On()'], ['ip4Day', 'ip4On()']]; + ['ip4On', "rule('ip4')"], ['ip4Fits', 'ip4On()'], ['ip4Money', 'ip4On()'], ['ip4Day', 'ip4On()'], + ['ip6Day', 'ip4On()'], ['ip6Grow', 'ip4On()'], ['ip6Why', 'ip4On()'], ['ip6Html', 'ip4On()'], ['ip4Can', 'ip4On()']]; fail('M3', reads.filter(([f, r]) => !ev(`typeof ${f}==='function'&&${f}.toString().includes(${lit(r)})`)).map(([f, r]) => `${f}() does not read ${r}`), 'gate it on the ruleset (src/game/40-progress/30-rules.js)'); // and in play: no chaos and no market means a quiet year const g = load(); diff --git a/tests/mcp-commands.test.js b/tests/mcp-commands.test.js index beb7695..7fa3f79 100644 --- a/tests/mcp-commands.test.js +++ b/tests/mcp-commands.test.js @@ -227,7 +227,7 @@ test('a dry run prices every command that has a price, and changes nothing', () fixInc: { id: 'none' }, confGo: { key: T('catalog', { name: 'conferences' })[0].key }, confSponsor: { key: T('catalog', { name: 'conferences' })[0].key }, opsHire: { id: ev('Object.keys(INTERNS)[0]') }, opsNewPop: { city: 'nyc' }, pniAll: { net: 'cog', tier: 1 }, seatBuy: { n: 2 }, layShip: { id: df }, seaRush: { id: df }, utilityKit: { city: 'fra' }, utilityCaches: { city: 'fra' }, teDeploy: { script: 'spill at 85%' }, upLinkX: {}, - pieRd: { k: 'reuse' }, pieAnt: { id: 'none' }, ip4Buy: { len: 24 }, ip4Lease: { len: 22 }, + pieRd: { k: 'reuse' }, pieAnt: { id: 'none' }, ip4Buy: { len: 24 }, ip4Lease: { len: 22 }, ip6Go: { city: 'fra' }, teleBuild: { city: 'fra' }, teleTrk: { city: 'fra' }, buySat: { a: 'fra', b: 'rek', bird: 'is37', g: 1 }, satSize: { id: wave, g: 2 }, }; const missing = quoted.filter((n) => !sample[n] && T('schema', { section: 'commands' })[n].args.some((a) => a.required)); diff --git a/tests/nat64.test.js b/tests/nat64.test.js new file mode 100644 index 0000000..df961a7 --- /dev/null +++ b/tests/nat64.test.js @@ -0,0 +1,415 @@ +// IPv6-only broadband with 464XLAT and NAT64, next to CGNAT (src/game/60-features/34-ipv6-only.js, the address space in +// 33-address-space.js): a city's home routers are swapped over some days, paid as they go in; its homes then hold no IPv4 +// of their own, only a share of the NAT64 pool at a wider ratio than CGNAT, and grumble less. Rule ip4, like the rest. +const test = require('node:test'); +const assert = require('node:assert/strict'); +const { load } = require('./harness'); +const { lit } = require('../scripts/lib/js-literal'); + +// Frankfurt on On-call, plenty of cash, nothing breaking, 1,300 homes on the starting /21. +const BASE = "ACT.start({});if(UI.pendGame)ACT.pitchSkip();S.rules=makeRules('oncall');S.cash=1e8;for(const g of GOALS)S.done[g.id]=0;S.lvl=9;S.nextFail=S.nextEvent=1e9;UI.speed=0;S.offers=[];S.biz=[];" + + "ACT.launchBB({city:'fra'});S.pops.fra.rgen=3;ACT.buyTransit({city:'fra',net:'lvl',tier:3});S.pops.fra.bb.d=130;compute()"; +function game(t, opts) { + const h = load(opts); + t.after(() => h.dom.window.close()); + h.ev(BASE); + return h; +} +const J = (ev, x) => JSON.parse(ev(`JSON.stringify(${x})`)); +// Days of the swap without the rest of the day (homes stay put): the day's IPv4 step, as dayPost runs it. +const days = (ev, n) => ev(`for(let i=0;i<${n};i++){S.day++;ip4Day(S.day)}compute()`); +const host = (ev, id, bw) => ev(`S.biz.push(${lit({ id, city: 'fra', city2: null, reqs: [], name: 'H ' + id, type: 'host', bw, rate: 60, mood: 100, since: 0 })});compute()`); +const panel = (ev, dom, c = 'fra') => { ev(`selectCity('${c}');UI.tab='cust';renderPanel()`); return dom.window.document.getElementById('panelBody'); }; + +test('going IPv6-only frees exactly what the address math says, the NAT64 pool before dual-stack homes', (t) => { + const { ev, errors } = game(t); + let u = J(ev, 'ip4Use()'); + assert.deepEqual([u.T, u.H, u.H6, u.p6, u.cg, u.free], [2048, 1300, 0, 0, 0, 2048 - 82], '1,300 dual-stack homes, all public; free counts them at 1:16'); + // The city panel promises it: 1,300 homes at 1:128 take 11 addresses instead of 82. + assert.equal(ev("ip6Free('fra')"), 82 - 11); + ev("ACT.ip6Go({city:'fra'})"); + days(ev, 37); + u = J(ev, 'ip4Use()'); + assert.deepEqual([u.H, u.H6, u.Hd, u.p6, u.cg, u.free], [1300, 1300, 0, 11, 0, 2048 - 11], 'every home on the NAT64 pool'); + assert.equal(u.free - (2048 - 82), 71, 'freed exactly what it said'); + // Two cities: Frankfurt IPv6-only, Amsterdam dual stack, a /23 customer. The pool comes off first, then the dual-stack + // homes take what is left and the rest go behind CGNAT. + ev("ACT.buildPop({city:'ams'});ACT.launchBB({city:'ams'});S.pops.fra.bb.d=100;S.pops.ams.bb.d=160;compute()"); + host(ev, 'h1', 80); + u = J(ev, 'ip4Use()'); + assert.deepEqual([u.B, u.H6, u.p6, u.Hd], [512, 1000, 8, 1600]); + assert.equal(u.cg, Math.ceil((1600 - (1536 - 8)) * 16 / 15), 'dual-stack homes get what the pool leaves'); + assert.equal(u.free, 2048 - 512 - 8 - 100); + assert.ok(u.H - u.H6 - u.cg + Math.ceil(u.cg / 16) + u.p6 <= 1536, 'public homes, the CGNAT pool and the NAT64 pool fit the space'); + // What Amsterdam would free is what the address space then frees. + const f = ev("ip6Free('ams')"), free0 = u.free; + assert.equal(f, 100 - (Math.ceil(2600 / 128) - 8)); + ev("ACT.ip6Go({city:'ams'})"); + days(ev, ev("S.pops.ams.bb.v6e-S.day")); + assert.equal(J(ev, 'ip4Use()').free, free0 + f); + assert.equal(J(ev, 'ip4Use()').cg, 0); + assert.deepEqual(errors, []); +}); + +test('the swap: its cost and days, paid as the routers go in, new homes on the new router, stopped with nothing back', (t) => { + const { ev, dom, errors } = game(t); + // 1,300 homes: $4 a router, 30 days and one more for every 200 homes. + assert.deepEqual([ev("ip6Cost('fra')"), ev("ip6Days('fra')")], [5200, 37]); + const cash0 = ev('S.cash'); + ev("ACT.ip6Go({city:'fra'})"); + assert.equal(ev('S.pops.fra.bb.v6e'), ev('S.day') + 37); + assert.equal(ev('S.cash'), cash0, 'nothing paid up front'); + assert.match(dom.window.document.getElementById('toasts').textContent, /Swapping 1,300 home routers in Frankfurt for IPv6-only ones: about 37 days/); + days(ev, 10); + assert.ok(Math.abs(ev('S.pops.fra.bb.v6') - 10 / 37) < 1e-9, 'an even share a day'); + assert.ok(Math.abs(cash0 - ev('S.cash') - 5200 * 10 / 37) < 1e-4, 'paid for the routers that went in'); + // Homes that join during the swap get the new router from the start, at the same price, paid the day they join. + let c = ev('S.cash'); + ev('ip6Grow(Object.assign(S.pops.fra.bb,{d:260}),130)'); + assert.ok(Math.abs(ev('S.pops.fra.bb.v6') - (1 - (27 / 37) / 2)) < 1e-9); + assert.ok(Math.abs(c - ev('S.cash') - 1300 * 4) < 1e-6, '1,300 new homes, 1,300 routers'); + ev('S.pops.fra.bb.d=130;S.pops.fra.bb.v6=10/37;S.cash=' + c); + // Stopped: the swapped homes stay, nothing comes back, nothing more is paid. + const cash1 = ev('S.cash'); + ev("ACT.ip6Stop({city:'fra'})"); + assert.equal(ev('S.pops.fra.bb.v6e'), undefined); + assert.equal(ev('S.cash'), cash1); + days(ev, 30); + assert.deepEqual([ev('S.cash'), ev('S.pops.fra.bb.v6')], [cash1, 10 / 37]); + assert.match(dom.window.document.getElementById('toasts').textContent, /Stopped the swap in Frankfurt at 27% of homes/); + // After a stop, new homes are dual stack again, and cost nothing. + ev('ip6Grow(Object.assign(S.pops.fra.bb,{d:260}),130)'); + assert.ok(Math.abs(ev('S.pops.fra.bb.v6') - 5 / 37) < 1e-9); + assert.equal(ev('S.cash'), cash1); + // Resumed: the rest, at the same price a router, and it finishes on its day. + const left = ev('2600*(1-S.pops.fra.bb.v6)'); + assert.equal(ev("ip6Cost('fra')"), Math.round(left * 4 / 100) * 100); + assert.equal(ev("ip6Days('fra')"), 30 + Math.ceil(left / 200)); + const cash2 = ev('S.cash'), n = ev("ip6Days('fra')"); + ev("ACT.ip6Go({city:'fra'})"); + days(ev, n - 1); + assert.ok(ev('S.pops.fra.bb.v6') < 1); + days(ev, 1); + assert.deepEqual([ev('S.pops.fra.bb.v6'), ev('S.pops.fra.bb.v6e')], [1, undefined]); + assert.ok(Math.abs(cash2 - ev('S.cash') - left * 4) < 1e-4, 'the whole rest, router by router'); + assert.match(dom.window.document.getElementById('toasts').textContent, /Frankfurt is IPv6-only/); + // Done: new homes come IPv6-only and pay for their router, even short of cash (a new home needs one today), and the + // swap cannot start again. + c = ev('S.cash'); + ev('ip6Grow(Object.assign(S.pops.fra.bb,{d:400}),260)'); + assert.equal(ev('S.pops.fra.bb.v6'), 1); + assert.ok(Math.abs(c - ev('S.cash') - 1400 * 4) < 1e-6); + ev('S.cash=100;ip6Grow(Object.assign(S.pops.fra.bb,{d:410}),400)'); + assert.deepEqual([ev('S.pops.fra.bb.v6'), ev('S.pops.fra.bb.v6e'), Math.round(ev('S.cash'))], [1, undefined, 100 - 400], 'still IPv6-only, not a stopped swap'); + ev('S.cash=1e8'); + ev("document.getElementById('toasts').innerHTML='';ACT.ip6Go({city:'fra'})"); + assert.match(dom.window.document.getElementById('toasts').textContent, /already/); + assert.deepEqual(errors, []); +}); + +test('the swap waits while cash is short, and the real day runs it with the city growing', (t) => { + const { ev, dom, errors } = game(t); + // Starting needs only the first day's routers on hand ($5,200 over 37 days), not the whole swap. + ev('S.cash=Math.ceil(ip6First("fra"))-1'); + assert.equal(panel(ev, dom).querySelector('[data-act="ip6Go"]').disabled, true); + ev("ACT.ip6Go({city:'fra'})"); + assert.equal(ev('S.pops.fra.bb.v6e'), undefined, 'not even a day of routers: no start'); + ev('S.cash=Math.ceil(ip6First("fra"))'); + assert.ok(ev('S.cash') < ev('ip6Cost("fra")') / 10); + assert.equal(panel(ev, dom).querySelector('[data-act="ip6Go"]').disabled, false); + ev("ACT.ip6Go({city:'fra'});S.cash=50"); + const e = ev('S.pops.fra.bb.v6e'); + days(ev, 3); + assert.deepEqual([ev('S.pops.fra.bb.v6') || 0, ev('S.pops.fra.bb.v6e'), ev('S.cash')], [0, e + 3, 50], 'no router it cannot pay for: the end slides'); + assert.match(panel(ev, dom).textContent, /Waiting for cash/); + ev('S.cash=1e8'); + // The whole day, homes and all: the share only rises, and the swap ends on its day. + ev('for(let i=0;i<20;i++)dayTick()'); + const v = ev('S.pops.fra.bb.v6'); + assert.ok(v > 20 / 37 - 0.01 && v < 1, 'about 20 of 37 days done: ' + v); + ev('while(S.pops.fra.bb.v6e)dayTick()'); + assert.equal(ev('S.pops.fra.bb.v6'), 1); + assert.equal(ev('S.day'), e + 3); + const d = ev('S.pops.fra.bb.d'); + ev('for(let i=0;i<30;i++)dayTick()'); + assert.ok(ev('S.pops.fra.bb.d') !== d && ev('S.pops.fra.bb.v6') === 1, 'homes come and go, all IPv6-only'); + assert.deepEqual(errors, []); +}); + +test('a city that goes IPv6-only the day it launches pays a router for every home it grows into', (t) => { + const { ev, errors } = game(t); + // A fresh launch: 180 homes, so the swap itself is cheap. + ev("S.pops.fra.bb.d=bbStart('fra');compute()"); + assert.deepEqual([ev('S.pops.fra.bb.d*10'), ev("ip6Cost('fra')")], [180, 700]); + ev("ACT.ip6Go({city:'fra'})"); + // A year of real days: count every dollar the swap and the new homes' routers take. + ev("window.__paid=0;window.__shrank=false;for(const f of ['ip6Grow','ip6Day']){const g=window[f];window[f]=(...a)=>{const c=S.cash;g(...a);__paid+=c-S.cash;};}"); + ev('for(let i=0;i<365;i++){const d=S.pops.fra.bb.d;dayTick();if(S.pops.fra.bb.d 5000 && ev('__shrank') === false, 'it grew all year: ' + homes); + assert.equal(ev('S.pops.fra.bb.v6'), 1); + assert.ok(Math.abs(ev('__paid') - homes * 4) < 1e-3, `a router for each of its ${homes} homes, as a city switching now would pay: ${ev('__paid')}`); + assert.deepEqual(errors, []); +}); + +test('before the swap, the city panel says what it does to the monthly IPv4 bill', (t) => { + const { ev, dom, errors } = game(t); + // Day 0: every home has a public address and there is no IPv4 bill; going IPv6-only adds NAT64 gateways and refunds. + const eye = 'R.rev.eyeballs'; + const mo = ev(`ip6Mo('fra',${eye})`), before = ev('R.cost.ip4') || 0; + assert.equal(before, 0); + assert.ok(mo > 300 && mo < 400, 'gateways for 130 Gbps and 1% of the bill back: ' + mo); + assert.match(panel(ev, dom).textContent, new RegExp(`Your IPv4 bill goes up by \\$${Math.round(mo)}/mo \\(NAT64 gateways and refunds\\)\\. No home is behind CGNAT yet: this pays off once your IPv4 runs short\\.`)); + assert.match(panel(ev, dom).textContent, /Homes that join later get one too, at \$4 each\./); + // Exactly what the bill does once it is done. + ev('S.pops.fra.bb.v6=1;compute()'); + assert.ok(Math.abs(ev('R.cost.ip4') - mo) <= 0.5, 'the bill moves by what the panel said'); + // Squeezed into a /24 at 1:64, most homes are behind CGNAT: going IPv6-only saves money, and says so. + ev("delete S.pops.fra.bb.v6;S.ip4.b=[{id:'x',len:24,k:'rir',d:0}];S.ip4.nat=64;compute()"); + const save = ev(`ip6Mo('fra',${eye})`), cost = ev('R.cost.ip4'); + assert.ok(save < 0, 'CGNAT boxes and refunds it no longer pays: ' + save); + const txt = panel(ev, dom).textContent; + assert.match(txt, new RegExp(`Your IPv4 bill goes down by \\$${Math.round(-save)}/mo \\(fewer CGNAT boxes and refunds\\)\\.`)); + assert.doesNotMatch(txt, /No home is behind CGNAT yet/); + ev('S.pops.fra.bb.v6=1;compute()'); + assert.ok(Math.abs(ev('R.cost.ip4') - (cost + save)) <= 1, 'the bill moves by what the panel said'); + assert.deepEqual(errors, []); +}); + +test('out of space: the advice names the sharing that is left to stretch, CGNAT, NAT64 or both', (t) => { + const { ev, dom, errors } = game(t); + const toasts = () => dom.window.document.getElementById('toasts').textContent; + const bank = () => { ev('ACT.ip4Open()'); const s = dom.window.document.querySelector('#bankCard .bank-ip4').textContent; ev('ACT.bankClose()'); return s; }; + // 10,000 homes, every one IPv6-only, on a /24 a host customer takes whole: only the NAT64 pool is short. + ev("S.pops.fra.bb.d=1000;S.pops.fra.bb.v6=1;S.ip4.b=[{id:'x',len:24,k:'rir',d:0}];compute()"); + host(ev, 'h', 64); + let u = J(ev, 'ip4Use()'); + assert.deepEqual([u.H6, u.Hd, u.cg, u.p6, u.over], [10000, 0, 0, 79, 1]); + ev('ip4Day(S.day)'); + assert.match(toasts(), /Out of IPv4\.\s*Even at 128 homes per address, your NAT64 pool can't fit every IPv6-only home/); + assert.doesNotMatch(toasts(), /CGNAT/); + assert.match(bank(), /don't fit even at 128 IPv6-only homes per NAT64 address/); + // Raising the CGNAT ratio would free nothing, so the advice does not suggest it. + ev("document.getElementById('toasts').innerHTML='';S.offers=[{id:'o1',city:'fra',city2:null,reqs:[],name:'Offer',type:'dia',bw:10,rate:60}];ACT.accept({id:'o1'})"); + assert.match(toasts(), /put more IPv6-only homes on each NAT64 address\./); + ev("document.getElementById('toasts').innerHTML='';ip4Busy()"); + assert.match(toasts(), /put more IPv6-only homes on each NAT64 address or get another block first/); + // Half the homes dual stack: both ratios help, and both are named. + ev("S.pops.fra.bb.v6=0.5;S.ip4.w=0;compute();document.getElementById('toasts').innerHTML='';ip4Day(S.day)"); + u = J(ev, 'ip4Use()'); + assert.ok(u.H6 > 0 && u.Hd > 0 && u.over > 0); + assert.match(toasts(), /Even at 16 homes per address behind CGNAT and 128 on NAT64, not every home fits/); + assert.match(bank(), /don't fit even at 16 homes per CGNAT address and 128 per NAT64 address/); + ev("document.getElementById('toasts').innerHTML='';ip4Busy()"); + assert.match(toasts(), /put more homes on each CGNAT or NAT64 address or get another block first/); + // No IPv6-only homes: CGNAT, as it always said. + ev("delete S.pops.fra.bb.v6;S.ip4.w=0;compute();document.getElementById('toasts').innerHTML='';ip4Day(S.day);ip4Busy()"); + assert.match(toasts(), /Even at 16 homes per address, CGNAT can't fit everyone/); + assert.match(toasts(), /put more homes behind CGNAT or get another block first/); + assert.match(bank(), /don't fit even at 16 homes per address\./); + assert.deepEqual(errors, []); +}); + +test('the CGNAT ratio and the warnings count only the dual-stack homes, after the NAT64 pool', (t) => { + const { ev, errors } = game(t); + // 1,300 homes, every one IPv6-only, on a /24 with a host customer on a /25: 128 addresses left, the pool takes 11. + ev("S.pops.fra.bb.v6=1;S.ip4.b=[{id:'x',len:24,k:'rir',d:0}];compute()"); + host(ev, 'h', 32); + let u = J(ev, 'ip4Use()'); + assert.deepEqual([u.T - u.B, u.p6, u.Hd], [128, 11, 0]); + // No home is behind CGNAT, so a narrower CGNAT ratio needs no room (counting all 1,300 homes, 1:8 would need 163). + ev("ACT.ip4Nat({v:'8'})"); + assert.equal(ev('S.ip4.nat'), 8); + // Homes behind CGNAT: the warning rearms once the dual-stack homes fit public again next to the pool, though all the + // homes together would not. + ev("S.biz=[];S.ip4.nat=16;S.pops.fra.bb.v6=0;S.ip4.w=0;compute();ip4Day(S.day)"); + assert.equal(ev('S.ip4.w'), 1, 'homes behind CGNAT'); + ev('S.pops.fra.bb.v6=0.85;compute();ip4Day(S.day)'); + u = J(ev, 'ip4Use()'); + assert.ok(u.T - u.B - u.p6 >= u.Hd * 1.05 && u.T - u.B < u.H * 1.05, JSON.stringify(u)); + assert.equal(ev('S.ip4.w'), 0, 'room to spare for the dual-stack homes: it rearms'); + // Out of space (the host back, 1:8): it rearms once the pool and the CGNAT homes fit with room, whatever all the homes + // at 1:8 would take. + host(ev, 'h2', 32); + ev('S.ip4.nat=8;S.pops.fra.bb.v6=0;compute();ip4Day(S.day)'); + assert.ok(J(ev, 'ip4Use()').over > 0 && (ev('S.ip4.w') & 2) === 2, 'out of space at 1:8'); + ev('S.pops.fra.bb.v6=1;compute();ip4Day(S.day)'); + u = J(ev, 'ip4Use()'); + assert.ok(u.T - u.B >= u.need * 1.1 && u.T - u.B < Math.ceil(u.H / u.r) * 1.1, JSON.stringify(u)); + assert.equal(ev('S.ip4.w') & 2, 0, 'the pool fits with room: it rearms'); + assert.deepEqual(errors, []); +}); + +test('NAT64 refunds: well under CGNAT at the same ratio, never zero, smaller as the world goes IPv6', (t) => { + const { ev, errors } = game(t); + assert.deepEqual(J(ev, '[IP4_N64,IP4_N640]'), [[64, 128, 256], 128]); + assert.ok(J(ev, 'IP4_N64.every(r=>IP4_ANNOY64[r]>0&&IP4_ANNOY64[r] 1000 && b.u.H6 === 0); + const cgHome = b.refund / b.u.cg; + assert.ok(Math.abs(cgHome - eye / 1300 * 0.04) < 1e-9); + ev("ACT.ip4Nat64({v:'64'});S.pops.fra.bb.v6=1;compute()"); + b = J(ev, 'ip4Bill(R.rev.eyeballs)'); + assert.deepEqual([b.u.cg, b.u.H6, b.u.p6, b.u.over], [0, 1300, Math.ceil(1300 / 64), 0]); + const v6Home = b.refund / b.u.H6; + assert.ok(v6Home > 0 && v6Home < cgHome / 5, `an IPv6-only home ${v6Home} against one behind CGNAT ${cgHome}`); + assert.ok(Math.abs(b.refund - eye * 0.006) < 1e-9); + assert.equal(ev('R.cost.ip4'), Math.round(b.box + b.box64 + b.refund), 'the gateways and refunds are on the bill'); + assert.ok(Math.abs(b.box64 - 130 * 0.55 * 2) < 1e-9, 'NAT64 costs what CGNAT does per Gbps of IPv4 it carries'); + // Ten years on: less IPv4 to translate, fewer refunds; CGNAT's grumbling per home stays. + ev('S.day=3652;compute()'); + const late = J(ev, 'ip4Bill(R.rev.eyeballs)'); + assert.ok(late.refund / ev('R.rev.eyeballs') < 0.006 && late.refund > 0); + assert.ok(late.box64 < b.box64); + ev("S.pops.fra.bb.v6=0;compute()"); + const lateCg = J(ev, 'ip4Bill(R.rev.eyeballs)'); + assert.ok(Math.abs(lateCg.refund / lateCg.u.cg - ev('R.rev.eyeballs') / 1300 * 0.04) < 1e-9); + // A narrower NAT64 ratio is refused when the signed customers would not fit; a wider one never is. + ev("S.pops.fra.bb.v6=1;S.ip4.b=[{id:'x',len:24,k:'rir',d:0}];S.biz=[];ACT.ip4Nat64({v:'256'});compute()"); + assert.equal(ev('S.ip4.n64'), 256); + host(ev, 'big', 40); // a /24: nothing left + ev("ACT.ip4Nat64({v:'64'})"); + assert.equal(ev('S.ip4.n64'), 256, 'needs 21 addresses it does not have'); + ev('S.biz=[];compute();ACT.ip4Nat64({v:"64"})'); + assert.equal(ev('S.ip4.n64'), 64); + assert.deepEqual(errors, []); +}); + +test('the world goes IPv6: 55% IPv4 on day 0, two points less a year, down to a floor', (t) => { + const { ev, dom, errors } = game(t); + assert.equal(ev('ip4V4(0)'), 0.55); + assert.equal(ev('ip4V4()'), ev('ip4V4(S.day)')); + const ys = [0, 1, 2, 5, 10, 20, 40].map((y) => ev(`ip4V4(${y * 365.2425})`)); + for (let i = 1; i < ys.length; i++) assert.ok(ys[i] <= ys[i - 1], 'never back up: ' + ys); + assert.ok(Math.abs(ys[1] - 0.53) < 1e-9 && Math.abs(ys[4] - 0.35) < 1e-9, 'two points a year: ' + ys); + assert.equal(ys[6], 0.2, 'a floor: some things never leave IPv4'); + assert.ok(Math.abs(ev('ip4V4(181)') - ev('ip4V4(180)')) < 1e-4, 'a gentle slope, no jumps'); + // CGNAT gets cheaper with it: the same homes behind it, ten years apart. + ev("S.ip4.b=[{id:'x',len:24,k:'rir',d:0}];compute()"); + const box0 = J(ev, 'ip4Bill(0)').box; + ev('S.day=3652;compute()'); + assert.ok(Math.abs(J(ev, 'ip4Bill(0)').box - box0 * ev('ip4V4(3652)') / 0.55) < 1e-9); + // The address space says how far the world has come. + ev('ACT.ip4Open()'); + assert.match(dom.window.document.querySelector('#bankCard .bank-ip4').textContent, /IPv6 share of home traffic this year65%/); + assert.deepEqual(errors, []); +}); + +test('rule off means no effect: no button, no swap, no pool, no bill', (t) => { + const { ev, dom, errors } = game(t); + ev("S.rules=makeRules('freeze');compute()"); + assert.equal(ev('ip4On()'), false); + const p = panel(ev, dom); + assert.doesNotMatch(p.textContent, /IPv6-only|464XLAT/); + assert.equal(p.querySelector('[data-act="ip6Go"]'), null); + ev("ACT.ip6Go({city:'fra'})"); + assert.equal(ev('S.pops.fra.bb.v6e'), undefined, 'refused'); + assert.match(dom.window.document.getElementById('toasts').textContent, /IPv4 is plentiful/); + // Even with the fields in place (a scenario that dropped the rule), nothing moves and nothing is billed. + ev('S.pops.fra.bb.v6=0.5;S.pops.fra.bb.v6e=S.day+10;compute()'); + const cash = ev('S.cash'); + ev('for(let i=0;i<5;i++){S.day++;ip4Day(S.day);ip6Day(S.day)}ip6Grow(Object.assign(S.pops.fra.bb,{d:200}),130);compute()'); + assert.deepEqual([ev('S.pops.fra.bb.v6'), ev('S.cash'), ev('R.cost.ip4')], [0.5, cash, undefined]); + ev("ACT.ip6Stop({city:'fra'});ACT.ip4Nat64({v:'64'})"); + assert.deepEqual([ev('!!S.pops.fra.bb.v6e'), ev('S.ip4.n64')], [true, 128]); + assert.deepEqual(errors, []); +}); + +test('saves: an old one loads unchanged, a swap in progress round-trips, garbage is repaired', (t) => { + const { ev, errors } = game(t); + ev("ACT.buildPop({city:'ams'});ACT.launchBB({city:'ams'});compute()"); + // An old save: no NAT64 ratio, no IPv6-only homes. Its homes and its money are what they were. + ev('delete S.ip4.n64;window.__m=[R.revMo,R.costMo]'); + const bbs = 'JSON.stringify(Object.entries(S.pops).map(([c,p])=>[c,p.bb]))', pops = ev(bbs); + ev('S=migrate(JSON.parse(JSON.stringify(S)));compute()'); + assert.equal(ev(bbs), pops, 'no new field in any city'); + assert.equal(ev('S.ip4.n64'), 128); + assert.deepEqual([ev('R.revMo'), ev('R.costMo')], J(ev, '__m')); + // Mid-swap: every field as it was. + ev("ACT.ip6Go({city:'fra'})"); + days(ev, 5); + ev("ACT.ip4Nat64({v:'256'})"); + const before = ev('JSON.stringify([S.pops,S.ip4])'); + ev('S=sanitize(JSON.parse(JSON.stringify(S)))'); + assert.equal(ev('JSON.stringify([S.pops,S.ip4])'), before); + // Garbage. + const fix = (bb) => J(ev, `(()=>{S.pops.ams.bb=${lit(bb)};S=sanitize(JSON.parse(JSON.stringify(S)));return S.pops.ams.bb;})()`); + const day = ev('S.day'); + assert.deepEqual(fix({ d: 50, v6: 'x', v6e: 'soon' }), { d: 50 }); + assert.deepEqual(fix({ d: 50, v6: -1 }), { d: 50 }); + assert.deepEqual(fix({ d: 50, v6: 5, v6e: day + 9 }), { d: 50, v6: 1 }, 'done is done'); + assert.deepEqual(fix({ d: 50, v6: 0.25, v6e: -40 }), { d: 50, v6: 0.25, v6e: day }, 'a past end: it finishes on the next day'); + assert.deepEqual(fix({ d: 50, v6e: 1e12 }), { d: 50, v6e: day + 3650 }); + ev("S.ip4.n64=7;S=sanitize(JSON.parse(JSON.stringify(S)))"); + assert.equal(ev('S.ip4.n64'), 128); + // A POP closed and built again starts dual stack: its homes and their routers left with it. + ev("S.pops.ams.bb={d:50,v6:1};decommission(['ams']);ACT.buildPop({city:'ams'});ACT.launchBB({city:'ams'})"); + assert.equal(ev('S.pops.ams.bb.v6'), undefined); + assert.deepEqual(errors, []); +}); + +test('the agent prices the swap and says why it cannot start', (t) => { + const { ev, errors } = game(t, { agent: true }); + assert.deepEqual(J(ev, "API_CMD.ip6Go.quote({city:'fra'})"), { setup: 5200, days: 37, monthly: Math.round(ev("ip6Mo('fra',R.rev.eyeballs)")), blocked: [] }); + assert.ok(J(ev, "API_CMD.ip6Go.quote({city:'fra'})").monthly > 0, 'nothing behind CGNAT yet: it only adds'); + ev("ACT.ip6Go({city:'fra'})"); + assert.match(J(ev, "API_CMD.ip6Go.quote({city:'fra'})").blocked[0], /already under way/); + assert.match(J(ev, "API_CMD.ip6Go.quote({city:'nyc'})").blocked[0], /Launch broadband here first/); + assert.deepEqual(errors, []); +}); + +test('on a phone: the swap in the city sheet and the NAT64 ratio in the bank, portrait and landscape', (t) => { + const { ev, dom, errors } = game(t); + for (const [w, hgt] of [[360, 740], [740, 360]]) { + ev(`window.innerWidth=${w};window.innerHeight=${hgt};S.pops.fra.bb={d:130};compute()`); + assert.equal(ev('isPhone()'), true); + let p = panel(ev, dom); + const go = p.querySelector('[data-act="ip6Go"]'); + assert.ok(go && go.closest('.btns'), 'the button in a wrapping row'); + assert.match(go.textContent, /Go IPv6-only \$5\.2k/); + assert.match(p.textContent, /Swaps 1,300 home routers in about 37 days, paid as they go in, and frees 71 addresses for new customers\./); + ev("ACT.ip6Go({city:'fra'})"); + days(ev, 3); + p = panel(ev, dom); + assert.ok(p.querySelector('[data-act="ip6Stop"]').closest('.btns')); + assert.match(p.textContent, /IPv6-only \(464XLAT\)8% of homes/); + ev('ACT.ip4Open()'); + const sec = dom.window.document.querySelector('#bankCard .bank-ip4'); + const sel = sec.querySelector('select[data-chg="ip4Nat64"]'); + assert.ok(sel && sel.closest('.ops-sel'), 'the NAT64 ratio stacks like the CGNAT one'); + assert.deepEqual([...sel.options].map((o) => [o.value, o.selected]), [['64', false], ['128', true], ['256', false]]); + for (const b of sec.querySelectorAll('button')) assert.ok(b.closest('.btns'), 'every button in a wrapping row: ' + b.textContent); + // The three groups once some homes are IPv6-only: 1,300 homes, 3/37 of them on NAT64 (a pool of one address). + assert.match(sec.textContent, /Broadband homes1,300Homes with their own address1,194Homes behind CGNAT0IPv6-only homes \(464XLAT\)106, NAT64 pool 1/); + ev('ACT.bankClose()'); + } + assert.deepEqual(errors, []); +}); + +test('no raw labels: the swap, the address space and the news, in every language', (t) => { + for (const lang of ['en', 'de', 'es', 'fr', 'it', 'pt']) { + const { ev, dom, errors } = load(lang === 'en' ? {} : { lang }); + ev(BASE); + const doc = dom.window.document; + let txt = ''; + const look = () => { txt += doc.getElementById('panelBody').textContent + doc.getElementById('toasts').textContent; }; + ev("ACT.buildPop({city:'ams'});ACT.launchBB({city:'ams'});S.pops.ams.bb.d=1;S.ip4.b=[{id:'x',len:24,k:'rir',d:0}];compute()"); + panel(ev, dom); look(); + ev("ACT.ip6Go({city:'fra'})"); days(ev, 2); ev('S.cash=0'); panel(ev, dom); look(); + ev("S.cash=1e8;ACT.ip6Stop({city:'fra'})"); panel(ev, dom); look(); + ev("ACT.ip6Go({city:'fra'});ACT.ip6Go({city:'fra'})"); days(ev, 40); panel(ev, dom); look(); + ev("ACT.ip6Go({city:'fra'});ACT.ip6Go({city:'bos'})"); look(); + ev("ACT.ip4Open()"); + txt += doc.getElementById('bankCard').textContent; + ev("ACT.bankClose();ACT.dash({});ACT.dashTab({k:'overview'})"); + txt += doc.getElementById('dashCard').textContent; + assert.match(txt, /464XLAT/, lang); + assert.doesNotMatch(txt, /\bip[46]\.[a-z0-9_]+|\{[a-z]+\}|undefined|NaN/, lang); + assert.deepEqual(errors, [], lang); + dom.window.close(); + } +}); From e25f843526d177fd75d761a757c79e1d96282a59 Mon Sep 17 00:00:00 2001 From: jvanvik Date: Sat, 7 Nov 2026 07:06:37 +0100 Subject: [PATCH 478/546] Plans: IPv6-only broadband follow-up, and what it left out --- docs/plans/next-session.md | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/docs/plans/next-session.md b/docs/plans/next-session.md index 212fe92..4f100dc 100644 --- a/docs/plans/next-session.md +++ b/docs/plans/next-session.md @@ -1,8 +1,9 @@ # What is left (as of 2026-11-07) -Work in this fork, pushed to the `vanvik` Forgejo remote (never to `origin`). Built so far: the build standard, multiplayer -phase 1, dark mode (#80), IPv4 address space (#150), express fiber (#58) and satellite teleports (#83). Everything below is -planned or known, not built. +Work in this fork, pushed to the `vanvik` Forgejo remote (never to `origin`). Built so far: the build standard (the only +place for the router model and line system), multiplayer phase 1, dark mode (#80), IPv4 address space (#150) with +IPv6-only broadband and NAT64, express fiber (#58) and satellite teleports (#83). Everything below is planned or known, +not built. Items 5 and 6 wait for the owner's go. ## Promised and not done yet @@ -27,10 +28,14 @@ planned or known, not built. puzzles) has to ask for them. - **Phase 2 gets simpler:** with every world in one server process, its wall-clock timing (tenders that close after 10 real minutes, `idle` ≥ 300 s, notice on each player's own clock) can move to game days. -4. **Wave B: #97 co-op companies** (several players run one network with roles, budgets and approvals), host-authoritative +4. **IPv6-only broadband, the follow-up** (after the server-run game, or alongside it: it touches the build standard and + the intern, not the server). A build-standard row "Broadband: IPv6-only" (cities with broadband start the swap) and the + intern's `std` order rolling it out when there is money, busiest CGNAT cities first. `ip6Go`/`ip6Stop` and the city + panel are in `src/game/60-features/34-ipv6-only.js`; the row goes into `BSTD` and `bstdPlan` (96-pop-standard.js). +5. **Wave B: #97 co-op companies** (several players run one network with roles, budgets and approvals), host-authoritative over the multiplayer server, and **multiplayer phase 2** (players as carriers in each other's simulations: transit, peering, PNIs, shared fiber): design in `docs/plans/multiplayer-phase2.md`. -5. **Wave C: #144 directional traffic**, last and on its own: keep the totals, split them by traffic profile, utilization is +6. **Wave C: #144 directional traffic**, last and on its own: keep the totals, split them by traffic profile, utilization is the busier direction. It comes after #58 because both touch link capacity (express channels now count too). ## Known limitations of what shipped @@ -52,6 +57,9 @@ planned or known, not built. - **IPv4 (#150):** the intern does not manage addresses (optional in the issue); transfers are instant; lease-out income is not in the investor revenue share; blocks granted to old saves can be sold after two years (a one-off windfall); CGNAT annoyance costs refunds but does not slow broadband growth; the NOC window's address-space button does nothing. +- **IPv6-only broadband:** no one-off grumble while a city's home routers are swapped; the swap and the NAT64 ratio are + not in the build standard or the intern's orders yet (item 4); a new home in an IPv6-only city pays its router even + when cash is short (a running cost, so a finished city never looks like a stopped swap). - **Express fiber (#58):** splicing a whole fiber pair through a city was left out on purpose (every fiber end is a POP; expresses cover the need); loss and MTU incidents on a fiber do not reduce the expresses on it; the fiber panel's "n of max channels" line does not count express slots (the Express section does); regen sites added later do not charge From 0342d90657ac8c803826f850a3bd049ddd351edb Mon Sep 17 00:00:00 2001 From: Frederic Jung Date: Sat, 7 Nov 2026 07:24:09 +0100 Subject: [PATCH 479/546] Faster tests, split everywhere: one sharded CI for pushes and releases - The harness builds the DOM without the page's 2 MB of script text and runs the scripts straight in the window: a page load in tests takes about half the time (jsdom's parser was slow on the script text). - That also took the game's source out of the DOM, which showed three tests that matched a phrase in the page source rather than the screen; they now check the panel, the routing window and the dictionary. - CI plans its split once and runs the tests on 6 runners; every run on main records each file's time and caches it, so the parts stay even without anyone refreshing tests/durations.json. - auto-release.yml and release.yml call the same sharded tests instead of running all 170 files on one runner each (11 and 15 min); a release is tested once, before it is tagged. - Audit: five tests that duplicated a gameplay rule or checked nothing are gone; the two slowest checks sample a third of the cities, and a year of play to reach one due date became a moved due date. --- .github/workflows/auto-release.yml | 49 +++++++------ .github/workflows/ci.yml | 107 ++++++++++++++++++++++++----- .github/workflows/release.yml | 20 ++++-- docs/ARCHITECTURE.md | 7 +- scripts/lib/timings-reporter.js | 18 +++++ scripts/test-timings.js | 19 +++++ scripts/test.js | 24 +++++-- tests/backbone-core.test.js | 7 +- tests/calendar.test.js | 8 --- tests/game.test.js | 6 -- tests/harness.js | 34 ++++++++- tests/load-time.test.js | 8 ++- tests/peering-desk.test.js | 11 --- tests/pie-in-the-sky.test.js | 21 +----- tests/pie-incidents.test.js | 5 -- tests/regions.test.js | 3 +- tests/routers-per-pop.test.js | 6 +- 17 files changed, 244 insertions(+), 109 deletions(-) create mode 100644 scripts/lib/timings-reporter.js diff --git a/.github/workflows/auto-release.yml b/.github/workflows/auto-release.yml index ae6a513..bf254e9 100644 --- a/.github/workflows/auto-release.yml +++ b/.github/workflows/auto-release.yml @@ -20,18 +20,19 @@ concurrency: cancel-in-progress: false jobs: - release: + check: runs-on: ubuntu-latest env: GH_TOKEN: ${{ github.token }} + outputs: + skip: ${{ steps.v.outputs.skip }} + ver: ${{ steps.v.outputs.ver }} + tag: ${{ steps.v.outputs.tag }} + pre: ${{ steps.v.outputs.pre }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 with: fetch-depth: 0 - - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 - with: - node-version: 24 - cache: npm - name: Work out the version and whether it is new id: v @@ -57,34 +58,40 @@ jobs: case "$ver" in *-*) echo "pre=true" >> "$GITHUB_OUTPUT";; *) echo "pre=false" >> "$GITHUB_OUTPUT";; esac echo "skip=false" >> "$GITHUB_OUTPUT" - - name: Test before releasing - if: steps.v.outputs.skip == 'false' - run: npm ci && npm test + # The same tests as every push, split over several runners (ci.yml), before anything is tagged. + tests: + needs: check + if: needs.check.outputs.skip == 'false' + uses: ./.github/workflows/ci.yml + + release: + needs: [check, tests] + if: needs.check.outputs.skip == 'false' + runs-on: ubuntu-latest + env: + GH_TOKEN: ${{ github.token }} + TAG: ${{ needs.check.outputs.tag }} + VER: ${{ needs.check.outputs.ver }} + PRE: ${{ needs.check.outputs.pre }} + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 - name: Publish the release - if: steps.v.outputs.skip == 'false' - env: - TAG: ${{ steps.v.outputs.tag }} - VER: ${{ steps.v.outputs.ver }} - PRE: ${{ steps.v.outputs.pre }} run: | set -euo pipefail + awk -v v="$VER" 'index($0,"## ["v"]")==1{f=1;next} /^## \[/{f=0} f' CHANGELOG.md | sed -e '/./,$!d' > notes.md pre=(); [ "$PRE" = "true" ] && pre=(--prerelease) gh release create "$TAG" --repo "$GITHUB_REPOSITORY" \ --target "$GITHUB_SHA" --title "$VER" --notes-file notes.md "${pre[@]}" - name: Deploy it - # Pre-releases are for testing and never go live. - if: steps.v.outputs.skip == 'false' && steps.v.outputs.pre == 'false' - env: - TAG: ${{ steps.v.outputs.tag }} - run: gh workflow run release.yml --repo "$GITHUB_REPOSITORY" --ref "$TAG" -f tag="$TAG" + # Pre-releases are for testing and never go live. The tag was just tested above, so the deploy does not + # test it again (tested=true). + if: env.PRE == 'false' + run: gh workflow run release.yml --repo "$GITHUB_REPOSITORY" --ref "$TAG" -f tag="$TAG" -f tested=true - name: Publish the Docker image # Same pattern as the deploy above: the image is built and pushed from the # release tag by docker.yml. Pre-releases get one too: an image tag is # pulled on purpose, so a test image costs nothing. - if: steps.v.outputs.skip == 'false' - env: - TAG: ${{ steps.v.outputs.tag }} run: gh workflow run docker.yml --repo "$GITHUB_REPOSITORY" --ref "$TAG" -f tag="$TAG" diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index e135ebb..a70d674 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,44 +1,89 @@ name: CI +# Every push and PR, and the releases too (auto-release.yml and release.yml call this workflow), so the tests run +# one way, split over several runners, everywhere. on: push: branches: [main] pull_request: + workflow_call: + inputs: + ref: + description: The commit or tag to test (a release tag); the caller's commit when empty + type: string + default: '' permissions: contents: read # A newer push to the same pull request makes the older run pointless: cancel it instead of queueing behind it. -# Runs on main always finish. +# Runs on main always finish. A release's call gets a group of its own, so it never waits behind main's push run. concurrency: - group: ci-${{ github.ref }} + group: ci-${{ github.event_name == 'pull_request' && github.ref || github.run_id }}${{ inputs.ref }} cancel-in-progress: ${{ github.event_name == 'pull_request' }} +env: + # Runners for the tests. Standard GitHub-hosted runners (4 cores each) are the only free ones for a public repo, + # and a run may use up to 20 at once, so more parts is how the tests get faster. Each part costs ~30 s of setup. + PARTS: 6 + jobs: - # The tests in four parts of about equal time, each on its own runner, each running as many files at once as - # it has cores (scripts/test.js; the split comes from tests/durations.json). + # Splits the test files into parts of about equal time, once, so every part works from the same plan. The times + # come from the last run on main (the cache, see "timings" below), else from the committed tests/durations.json. + plan: + runs-on: ubuntu-latest + outputs: + parts: ${{ steps.plan.outputs.parts }} + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ inputs.ref }} + - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: tests/durations.json + key: test-durations-${{ github.run_id }} + restore-keys: test-durations- + - id: plan + run: echo "parts=$(node scripts/test.js --plan "$PARTS")" >> "$GITHUB_OUTPUT" + part: - name: test ${{ matrix.part }}/4 + name: part ${{ strategy.job-index }} + needs: plan runs-on: ubuntu-latest timeout-minutes: 20 strategy: fail-fast: false matrix: - part: [1, 2, 3, 4] + files: ${{ fromJSON(needs.plan.outputs.parts) }} steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ inputs.ref }} - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 cache: npm - run: npm ci - - run: npm test -- --shard ${{ matrix.part }}/4 + - name: Tests + env: + FILES: ${{ matrix.files }} + # Word splitting on purpose: FILES is a space-separated list of tests/*.test.js paths. + run: npm test -- --timings "$RUNNER_TEMP/timings.json" $FILES + - uses: actions/upload-artifact@cf430e030ddbb5b0abf93d22962f4752f3646cd9 # v7.0.2 + if: always() + with: + name: timings-${{ strategy.job-index }} + path: ${{ runner.temp }}/timings.json + retention-days: 1 + if-no-files-found: ignore build: name: build runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ inputs.ref }} - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 @@ -47,21 +92,12 @@ jobs: - name: Build (not deployed — only releases deploy) run: npm run build - # The one check to look at, named as before: green only when every part and the build are. - test: - needs: [part, build] - if: always() - runs-on: ubuntu-latest - steps: - - name: Every part and the build passed - run: | - echo "parts: ${{ needs.part.result }}, build: ${{ needs.build.result }}" - test "${{ needs.part.result }}" = success && test "${{ needs.build.result }}" = success - translations: runs-on: ubuntu-latest steps: - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + ref: ${{ inputs.ref }} - uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0 with: node-version: 24 @@ -69,3 +105,38 @@ jobs: - run: npm ci - name: Translation coverage run: node scripts/i18n-check.js --summary "$GITHUB_STEP_SUMMARY" + + # The one check to look at: green only when the plan, every part, the build and the translations are. + test: + needs: [plan, part, build, translations] + if: always() + runs-on: ubuntu-latest + steps: + - name: Everything passed + run: | + echo "plan: ${{ needs.plan.result }}, parts: ${{ needs.part.result }}, build: ${{ needs.build.result }}, translations: ${{ needs.translations.result }}" + test "${{ needs.plan.result }}" = success && test "${{ needs.part.result }}" = success + test "${{ needs.build.result }}" = success && test "${{ needs.translations.result }}" = success + + # After a run on main: each file's time from this run goes into the cache, so the next run (main or a PR) splits + # its parts by today's tests. Nobody has to remember to refresh tests/durations.json. + timings: + needs: part + if: always() && github.event_name == 'push' && github.ref == 'refs/heads/main' && needs.part.result != 'skipped' + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + - uses: actions/cache/restore@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: tests/durations.json + key: test-durations-${{ github.run_id }} + restore-keys: test-durations- + - uses: actions/download-artifact@9000827ccba6bdab643e8b6fd33ac0654aef8333 # v8.0.2 + with: + pattern: timings-* + path: ${{ runner.temp }}/timings + - run: node scripts/test-timings.js --merge "$RUNNER_TEMP/timings" + - uses: actions/cache/save@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0 + with: + path: tests/durations.json + key: test-durations-${{ github.run_id }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b77850e..3d2acf5 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -23,6 +23,10 @@ on: description: Only the weekly puzzles changed (weekly-puzzle.yml); the release itself was tested when it shipped type: boolean default: false + tested: + description: The tag's tests already passed (auto-release.yml tests it before tagging) + type: boolean + default: false # Least privilege: only the deploy job can write to Pages. permissions: @@ -33,9 +37,18 @@ concurrency: cancel-in-progress: false jobs: + # The release's tests, split over several runners like every push (ci.yml). Skipped when auto-release.yml has just + # run them on this tag, and for a weekly redeploy (the build step below tests the weekly files against the tag). + tests: + if: ${{ (github.event_name == 'workflow_dispatch' || !github.event.release.prerelease) && !inputs.weekly && !inputs.tested }} + uses: ./.github/workflows/ci.yml + with: + ref: ${{ github.event.release.tag_name || inputs.tag }} + build: + needs: tests # Pre-releases are for testing and never go live. - if: ${{ github.event_name == 'workflow_dispatch' || !github.event.release.prerelease }} + if: ${{ always() && (github.event_name == 'workflow_dispatch' || !github.event.release.prerelease) && (needs.tests.result == 'success' || needs.tests.result == 'skipped') }} runs-on: ubuntu-latest env: TAG: ${{ github.event.release.tag_name || inputs.tag }} @@ -93,10 +106,9 @@ jobs: node scripts/weekly-puzzle.js --check if [ -f scripts/weekly-scenario.js ]; then node scripts/weekly-scenario.js --check; fi if [ -f scripts/weekly-architect.js ]; then node scripts/weekly-architect.js --check; fi - - run: npm test - if: ${{ !inputs.weekly }} + # The weekly files come from main, not the tag: whatever tested the tag, they are tested against it here. - name: Test the weekly puzzles against this release - if: ${{ inputs.weekly && hashFiles('scripts/weekly-puzzle.js') != '' }} + if: ${{ hashFiles('scripts/weekly-puzzle.js') != '' }} run: npm test -- tests/weekly-puzzle.test.js tests/puzzles.test.js $(ls tests/weekly-scenario.test.js tests/weekly-architect.test.js 2>/dev/null) - name: Build site run: VERSION="${TAG#v}" REQUIRE_NOTES=1 npm run build diff --git a/docs/ARCHITECTURE.md b/docs/ARCHITECTURE.md index 202c46f..2d10c00 100644 --- a/docs/ARCHITECTURE.md +++ b/docs/ARCHITECTURE.md @@ -80,9 +80,10 @@ Development runs on `npm run dev` (assembles the development page on every reque | `scripts/agent/relay.js`, `scripts/lib/mcp-browser.js`, `scripts/lib/relay-client.js` | The agent relay `npm run dev` hosts at `/agent`, and the MCP server's side of it: how a tool reaches the game in the player's tab | | `scripts/i18n-check.js`, `scripts/i18n-add.js`, `scripts/lib/dict.js` | Translation coverage and dictionary order; adding, renaming and removing entries | | `scripts/legacy/` | The splitter that made `src/` from the old `site/index.html` (and gave its text labels), and `port-branch.js`, which carries older branches over | -| `tests/harness.js` | Loads the assembled page in jsdom with a seeded `Math.random` and a fake canvas: the players' page, or the development page with `{agent: true}` | -| `.github/workflows/ci.yml` | Tests and build on every push and PR | -| `.github/workflows/auto-release.yml` | On a `package.json` version bump on `main`: test, tag, GitHub release from the CHANGELOG, start the deploy | +| `tests/harness.js` | Loads the assembled page in jsdom with a seeded `Math.random` and a fake canvas: the players' page, or the development page with `{agent: true}`. The page's scripts run straight in the window (jsdom's parser is slow on 2 MB of script) | +| `scripts/test.js`, `tests/durations.json` | Runs the tests, every file in its own process; splits them into parts of equal time for CI (`--plan`, `--shard`) by each file's seconds, which CI refreshes after every run on `main` | +| `.github/workflows/ci.yml` | Tests (split over 6 runners), build and translations on every push and PR; the releases call it too, so the tests run one way everywhere | +| `.github/workflows/auto-release.yml` | On a `package.json` version bump on `main`: test (ci.yml), tag, GitHub release from the CHANGELOG, start the deploy (already tested, so it does not test again) | | `.github/workflows/release.yml` | Builds and deploys to GitHub Pages, the only workflow that can | | `.github/workflows/weekly-puzzle.yml` | Sunday 03:37 UTC: makes the week's puzzle, commits it to `main` (data only, no release) and starts `release.yml` for the live release tag with `weekly=true` | | `scripts/weekly-puzzle.js`, `site/puzzles/weekly/` | The weekly puzzle generator and its output, one `.json` per week plus `index.json` (see below) | diff --git a/scripts/lib/timings-reporter.js b/scripts/lib/timings-reporter.js new file mode 100644 index 0000000..0341ee6 --- /dev/null +++ b/scripts/lib/timings-reporter.js @@ -0,0 +1,18 @@ +// A node:test reporter that writes how long each test file took, as JSON {"tests/x.test.js": seconds}, to its +// destination. scripts/test.js adds it next to the usual output with --timings FILE; CI merges the parts' files +// into tests/durations.json, which the next run splits its parts by. +const path = require('node:path'); + +module.exports = async function* timings(source) { + const sec = {}; + for await (const { type, data } of source) { + // Top-level tests only: their durations include their subtests. + if ((type === 'test:pass' || type === 'test:fail') && data.nesting === 0 && data.file && data.details) { + const f = path.relative(process.cwd(), data.file).split(path.sep).join('/'); + sec[f] = (sec[f] || 0) + (data.details.duration_ms || 0) / 1000; + } + } + const out = {}; + for (const f of Object.keys(sec).sort()) out[f] = Math.round(sec[f] * 10) / 10; + yield JSON.stringify(out, null, 1) + '\n'; +}; diff --git a/scripts/test-timings.js b/scripts/test-timings.js index 1bf7d5e..ed8cf48 100644 --- a/scripts/test-timings.js +++ b/scripts/test-timings.js @@ -5,6 +5,7 @@ // machine has cores, so absolute numbers vary, but their sizes relative to each other are what count. // // npm run test:timings +// node scripts/test-timings.js --merge DIR (CI) fold the parts' --timings files into it const fs = require('node:fs'); const os = require('node:os'); const path = require('node:path'); @@ -12,6 +13,24 @@ const { spawn } = require('node:child_process'); const root = path.join(__dirname, '..'); const dir = path.join(root, 'tests'); + +// --merge DIR: fold the timings CI's parts wrote (scripts/test.js --timings) into tests/durations.json. Files that are +// gone drop out; files no part ran keep their old time. +const mi = process.argv.indexOf('--merge'); +if (mi >= 0) { + const from = process.argv[mi + 1], dur = path.join(dir, 'durations.json'); + let out = {}; + try { out = JSON.parse(fs.readFileSync(dur, 'utf8')); } catch (e) { /* none yet */ } + let n = 0; + for (const f of fs.readdirSync(from, { recursive: true }).filter((f) => String(f).endsWith('.json'))) { + for (const [k, v] of Object.entries(JSON.parse(fs.readFileSync(path.join(from, String(f)), 'utf8')))) if (v > 0) { out[k] = v; n++; } + } + const have = new Set(fs.readdirSync(dir).filter((f) => f.endsWith('.test.js')).map((f) => 'tests/' + f)); + const sorted = Object.fromEntries(Object.keys(out).filter((k) => have.has(k)).sort().map((k) => [k, out[k]])); + fs.writeFileSync(dur, JSON.stringify(sorted, null, 1) + '\n'); + console.log(`merged ${n} timings; tests/durations.json has ${Object.keys(sorted).length} of ${have.size} files`); + process.exit(0); +} const files = fs.readdirSync(dir).filter((f) => f.endsWith('.test.js')).sort().map((f) => 'tests/' + f); const jobs = Math.max(1, parseInt(process.env.TEST_JOBS, 10) || os.availableParallelism()); const out = {}; diff --git a/scripts/test.js b/scripts/test.js index e847053..1232bd1 100644 --- a/scripts/test.js +++ b/scripts/test.js @@ -5,14 +5,18 @@ // // npm test everything // npm test -- tests/peering.test.js just these files (other arguments go to node --test) -// npm test -- --shard 2/4 one of four parts of about equal time (CI runs the four at once) +// npm test -- --shard 2/4 one of four parts of about equal time // npm test -- --shard 2/4 --list which files that part holds, without running them +// node scripts/test.js --plan 6 the split into 6 parts as JSON (CI's plan job: one list per runner) +// npm test -- --timings out.json also write each file's seconds to out.json (CI merges these into +// the durations the next run splits by) // TEST_JOBS=1 npm test one file at a time, as it used to be // npm test -- --stress 8 tests/x.test.js hunt a flaky test: 8 copies of these files at once, on a machine kept // busier than CI ever is, and how many runs failed (and why) // -// Parts are balanced by tests/durations.json, each file's typical seconds (refresh: npm run test:timings). -// A file missing from it counts as a typical one, so a stale list only makes the parts a little uneven. +// Parts are balanced by tests/durations.json, each file's typical seconds. CI keeps it fresh in its cache from every +// run on main (.github/workflows/ci.yml); npm run test:timings rewrites the committed copy. A file missing from it +// counts as a typical one, so a stale list only makes the parts a little uneven. const fs = require('node:fs'); const os = require('node:os'); const path = require('node:path'); @@ -31,6 +35,12 @@ if (ti >= 0) { if (!(stress >= 1)) { console.error('--stress wants a count, like --stress 8'); process.exit(2); } args.splice(ti, 2); } +let timings = null; +const tmi = args.indexOf('--timings'); +if (tmi >= 0) { timings = args[tmi + 1]; args.splice(tmi, 2); if (!timings) { console.error('--timings wants a file'); process.exit(2); } } +let plan = 0; +const pi = args.indexOf('--plan'); +if (pi >= 0) { plan = parseInt(args[pi + 1], 10); args.splice(pi, 2); if (!(plan >= 1)) { console.error('--plan wants a count, like --plan 6'); process.exit(2); } } let shard = null; const si = args.indexOf('--shard'); if (si >= 0) { @@ -58,6 +68,10 @@ function part(list, i, n) { } return out[i - 1].sort(); } +if (plan) { + console.log(JSON.stringify(Array.from({ length: plan }, (_, i) => part(files, i + 1, plan).join(' ')))); + process.exit(0); +} if (shard && files.length) { files = part(files, shard[0], shard[1]); console.log(`# part ${shard[0]}/${shard[1]}: ${files.length} files`); @@ -84,5 +98,7 @@ if (stress) { }); return; } -const r = spawnSync(process.execPath, ['--test', `--test-concurrency=${jobs}`, ...args, ...files], { stdio: 'inherit', cwd: root }); +const rep = timings ? ['--test-reporter=spec', '--test-reporter-destination=stdout', + `--test-reporter=${path.join(__dirname, 'lib', 'timings-reporter.js')}`, `--test-reporter-destination=${timings}`] : []; +const r = spawnSync(process.execPath, ['--test', `--test-concurrency=${jobs}`, ...rep, ...args, ...files], { stdio: 'inherit', cwd: root }); process.exit(r.status ?? 1); diff --git a/tests/backbone-core.test.js b/tests/backbone-core.test.js index 10611a1..f3cea64 100644 --- a/tests/backbone-core.test.js +++ b/tests/backbone-core.test.js @@ -38,9 +38,10 @@ test('a new network runs plain IGP: no Auto-TE until the backbone is upgraded, o assert.deepEqual(JSON.parse(ev('JSON.stringify(S.core)')), { lv: 0, run: 0 }); ev('ACT.buyTE()'); assert.equal(ev('!!S.te'), false, 'no Auto-TE on plain IGP'); - ev("ACT.leftTab({t:'noc'})"); - assert.match(dom.window.document.body.textContent, /Backbone/); - assert.match(dom.window.document.body.textContent, /Auto-TE needs an RSVP-TE/); + // The backbone lives in the NOC's routing window; the refusal is a toast. + ev('ACT.routingOpen()'); + assert.match(dom.window.document.getElementById('modal').textContent, /Backbone/); + assert.match(dom.window.document.getElementById('toasts').textContent, /Auto-TE needs an RSVP-TE/); const cash = ev('S.cash'); ev('ACT.coreUp()'); assert.equal(ev('S.core.lv'), 1); diff --git a/tests/calendar.test.js b/tests/calendar.test.js index 18bea1e..40d8e19 100644 --- a/tests/calendar.test.js +++ b/tests/calendar.test.js @@ -23,14 +23,6 @@ test('#257 the calendar has real months and leap years',()=>{ assert.deepEqual(errors,[]); }finally{dom.window.close();} }); -test('#257 a calendar month costs its monthly price, whatever its length',()=>{ - const {ev,dom}=load();try{ - ev("ACT.start({});S.day=31");// 1 February Y1 - const before=ev('S.cash'),net=ev('R.revMo-R.costMo'); - ev("for(let i=0;i<28;i++)S.cash+=(R.revMo-R.costMo)/monLen(S.day+i)"); - assert.ok(Math.abs(ev('S.cash')-before-net)<1e-6,'28 days of February add up to one month'); - }finally{dom.window.close();} -}); test('#257 loan statements and the intern budget follow calendar months',()=>{ const {ev,dom}=load();try{ ev("ACT.start({})"); diff --git a/tests/game.test.js b/tests/game.test.js index aa21ff1..abf1247 100644 --- a/tests/game.test.js +++ b/tests/game.test.js @@ -15,12 +15,6 @@ test('every city sits on its landmass', () => { assert.equal(off, ''); }); -test('every cable lands at two known cities and has a length', () => { - const { ev } = load(); - const bad = ev("CABLE_PAIRS.filter(c=>!CITY[c.a]||!CITY[c.b]||!(c.km>0)).map(c=>c.cid).join()"); - assert.equal(bad, ''); -}); - test('a year of scripted play stays healthy', () => { const { ev, errors } = load(); seed(ev, 7); diff --git a/tests/harness.js b/tests/harness.js index a9f897a..2e5c0a2 100644 --- a/tests/harness.js +++ b/tests/harness.js @@ -6,12 +6,33 @@ // it fails here rather than in production. const fs = require('node:fs'); const path = require('node:path'); +const vm = require('node:vm'); const { JSDOM, VirtualConsole } = require('jsdom'); const { assemble } = require('../scripts/lib/page'); const PAGE = {}; const page = (dev) => PAGE[dev] || (PAGE[dev] = assemble({ dev }).html); +// The page's inline scripts, taken out of the HTML once per process and compiled once. jsdom's HTML parser is slow +// on 2 MB of script text (it was more than half of every load()), so the DOM is built from the rest of the page and +// the scripts then run in its window, in order, the same way jsdom runs them (vm.Script.runInContext). Only plain +// '; + }); + // With scripting on, the parser keeps a