Add Düsseldorf with the Altbier-IX (#108)

Networks follow PeeringDB's 14 Düsseldorf facilities: NTT, Tell-Ya,
Cogentle, Drizzle, Voda-Phony, Doitsche Telekomm and the Crowdflare,
Amazin', Microsnoft and BiteDance clouds (NetChill and Akamaybe are
everywhere already). No nudge needed: 27+ map units from Frankfurt,
Amsterdam and Brussels.

The #16 shark test compared .land, which ignores Cairo's land2, so a
valid overland Mumbai-Cairo ask counted as crossing an ocean once the
extra city shifted the seeded draws. It now uses isSub like the game.
This commit is contained in:
clayberF 2026-10-26 10:28:59 -03:00
parent b0684bca82
commit 13e5a5d94b
6 changed files with 23 additions and 13 deletions

View file

@ -6,6 +6,8 @@ All notable changes to this project are documented here. The project follows
## [Unreleased]
- Düsseldorf joins the map with the Altbier-IX (#108). It is Germany's second carrier hub, an hour from the Dutch border, and the networks you meet there are the ones really present: Vodafone's home market, Doitsche Telekomm, the big Tier 1s and the clouds.
## [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.

View file

@ -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.",
"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg and Munich together, 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 e Monaco messe insieme, 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.",
};

View file

@ -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.",
"The Rhine-Ruhr hub: more carrier-neutral data centers than Hamburg and Munich together, 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 e Munique juntas, 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.",
};

File diff suppressed because one or more lines are too long

View file

@ -199,7 +199,8 @@ test('#16 shark-averse customers only ask for routes that can stay on land', ()
let shark = 0, bad = [];
for (let i = 0; i < 1500; i++) {
const o = JSON.parse(ev("S.offers=[];spawnOffer();JSON.stringify(S.offers.filter(o=>(o.reqs||[]).includes('sharks')).map(o=>[o.city,o.city2]))"));
for (const [a, b] of o) { shark++; if (ev(`CITY['${a}'].land!==CITY['${b}'].land`)) bad.push(a + '-' + b); }
// isSub, not .land: Cairo sits on two landmasses, so Mumbai to Cairo stays on land.
for (const [a, b] of o) { shark++; if (ev(`isSub('${a}','${b}')`)) bad.push(a + '-' + b); }
}
assert.ok(shark > 0, 'the requirement still shows up');
assert.deepEqual(bad, [], 'never across an ocean');

View file

@ -507,7 +507,7 @@ test('#79 Benelux: Brussels red tape, the Flanders duopoly, Oostkamp trawlers an
assert.deepEqual(errors, []);
});
test('Stuttgart sits between Frankfurt and Zurich, and Hamburg and Munich are on the map', () => {
test('Stuttgart sits between Frankfurt and Zurich, and Hamburg, Munich and Düsseldorf are on the map', () => {
const { ev, errors } = load();
const y = c => ev(`CITY.${c}.y`), x = c => ev(`CITY.${c}.x`);
assert.ok(y('fra') < y('stg') && y('stg') < y('zrh'), 'north to south: Frankfurt, Stuttgart, Zurich');
@ -518,6 +518,10 @@ test('Stuttgart sits between Frankfurt and Zurich, and Hamburg and Munich are on
assert.ok(y('ham') < y('ber') && y('ham') < y('fra'), 'Hamburg is up north');
assert.equal(ev("CITY.ham.ix"), 'Moin-IX');
assert.equal(ev("NET.lvl.pops.includes('ham')&&NET.dtk.pops.includes('ham')"), true);
assert.ok(x('dus') < x('fra') && x('dus') > x('ams') && y('dus') > y('ams') && y('dus') < y('fra'), 'Düsseldorf: between Amsterdam and Frankfurt');
assert.equal(ev("CITY.dus.ix"), 'Altbier-IX');
assert.ok(ev("kmBetween('dus','ams')") < ev("kmBetween('fra','ams')"), 'closer to Amsterdam than Frankfurt is');
for (const n of ['ntt', 'tly', 'cog', 'drz', 'vdp', 'dtk', 'nfx', 'akm', 'cfl', 'amz', 'msf', 'bdc']) assert.ok(ev(`NET.${n}.pops.includes('dus')`), `${n} is in Düsseldorf, as on PeeringDB`);
assert.deepEqual(errors, []);
});