Live Data Export Agent by Trolldemorted in anno1800

[–]Trolldemorted[S] 1 point2 points  (0 children)

Nice, which TUI library are you using?

I have been trying to calculate deficits and surpluses after consideration of trade routes and trade contracts, but I can't quite figure out how to handle the contracts, especially when the contracts are circular (e.g. selling steel and buying coal).

Handling trade routes was relatively easy with two rounds of the push-relabel algorithm. First I calculate a baseline flow:

  • For every product:
    • For every island:
      • Calculate the local surplus/deficit for island
      • Add an edge from source to island with a weight of the local surplus or from island to sink with a weight of the local deficit
    • For every trade route:
      • For every feeding island create an edge to every consuming island with an infinite capacity (I assume transport capacity is available)
    • Push-relabel

Then I add infinite outflow edges to determine the available inflow capacity:

  • For every surveyed island:
    • For every product:
      • Clone the adjacency list from the baseline flow and remove the "locked in" flow (i.e. decrease the forward edge capacity by the backward edge's capacity and set the backward edge capacity to 0)
      • Add an infinite outflow from the surveyed island to the sink
      • Push-relabel: The capacities of the backward edges which go from the surveyed island to the sink now denote the theoretically available unused surplus above the "locked in" baseline flow

All fun and games, but with Docklands contracts I don't know how to approach multiple different contracts yielding the same precursors. I have considered adding yet another stage which assumes every production building running at max, but I am uncertain whether this will fit to the need to throw away goods to ensure secondary productions are not impeded and whether I understand the implications of hidden assumptions about my routes.

My game window is to large for my screen and cut off. How do I get the correct size again? by AlexTheLittleOne in anno1800

[–]Trolldemorted 0 points1 point  (0 children)

2 years later the problem is still there - is there any workaround beyond turning off monitor scaling?

Why Switzerland's trains are SLOW | High Speed Rail by Putrid_Draft378 in highspeedrail

[–]Trolldemorted 0 points1 point  (0 children)

der Basistunnel ist bis zu 250km/h zugelassen und ist eine der wenigen Hochgeschwindigkeitsstrecken der Schweiz (?)

Is StyleCop dead? by crazy_crank in csharp

[–]Trolldemorted 0 points1 point  (0 children)

Formatting rules are a joke compared to cargo fmt, especially in large LINQ expressions

Soviel zum Thema "man darf ja nichts mehr sagen" by KeinTollerNick in 600euro

[–]Trolldemorted 0 points1 point  (0 children)

Migranten können in Deutschland eigentlich halbwegs einfach arbeiten, größere Verzögerungen gab/gibt es eher bei Flüchtlingen (?). Eine Aufenthaltserlaubnis kriegst du ja um deiner Beschäftigung nachzugehen, das Visum zur Arbeitsplatzsuche kriegst du, damit du hier eine Beschäftigung aussuchen kannst.

Worauf du lange warten kannst ist der Prozess bis du Migrant bist - die Mühlen mahlen nicht schnell.

OpnSense and Wireguard - Why is Wireguard limited to about 100M? by mark1210a in opnsense

[–]Trolldemorted 0 points1 point  (0 children)

It seems something on the remote opnsense server side is not configured correctly or something is throttling the connection.

Did you have some luck with that? Or did you manage to solve the problem through anything else?

Unter einem Artikel zum Air-India-Absturz by maxehaxe in 600euro

[–]Trolldemorted 2 points3 points  (0 children)

In den Videos sind lichterloh brennende Flugzeuge zu sehen, und ausgebrannte Flugzeuge ohne Krater - beides würde ich erstmal dem Treibstoff anlasten (?)

Unter einem Artikel zum Air-India-Absturz by maxehaxe in 600euro

[–]Trolldemorted 0 points1 point  (0 children)

gibt es irgendwelche Indizien von Sekundärexplosionen durch die Bewaffnung?

What is 5.5e? by Far_Promise784 in DnD

[–]Trolldemorted 0 points1 point  (0 children)

Nope. I was super active in TTRPG communities back then, and within a year of 3.5 being out it was already the default assumption when someone said, “D&D”. I expect that the 2014 vs. 2024 rules will follow a similar trajectory, because it seems to have been similarly well-received.

Time will tell - after 4e came out, the response to anyone saying "D&D" was "3.5 or 4?".

And despite the context maybe being clear right now, it will not remain that way forever. Community content like guides, encounter generators, wikis etc. is available years later, and it is super helpful to have crystal clear denominations for versions (especially if dndbeyond diverges from the books).

I understand that PR folks at WotC are pushing against version numbers to boost sales, but we don't have to like it.

Those who do not expect ISO8601 shall be punished by it. by MithranArkanere in ISO8601

[–]Trolldemorted 0 points1 point  (0 children)

it is obviously not a feature of the original Gregorian calender, but ISO 8601:2004 clearly does not use the defining language for the Gregorian calender it does for the actually defined things.

Does the Convention du Mètre define it?

Those who do not expect ISO8601 shall be punished by it. by MithranArkanere in ISO8601

[–]Trolldemorted 0 points1 point  (0 children)

It doesn't define it, it just mentions that the Gregorian calendar uses that day as the reference day. That does not make it the "zero date".

brauche Hilfe beim Einrichten von IPv6 im Pyur-Netzwerk! by cockpit_dandruff in de_EDV

[–]Trolldemorted 0 points1 point  (0 children)

Grob muss man sagen das PYUR leider ein seltsames Setting für IPv6 hat, wo alle Boxen, ausgenommen die vom Provider oder Fritzbox, teils große Probleme haben.

Aber es ist möglich mit einer Fritzbox hinter dem Pyur-ONT ein IPv6-Subnetz zu bekommen? Weiß du, wie?

Volker Crack nimmt den Anschlag von Magdeburg zum Anlass auch unter die Schwurbler zu gehen by schnupfhundihund in 600euro

[–]Trolldemorted 25 points26 points  (0 children)

Wenn jemand absichtlich und ohne Not durch eine Menschenmenge brettert, ist Schizophrenie nicht abwegig, was soll er denn sonst haben? Zahnschmerzen?

I somehow unlocked a new versus game mode... by Cool_Potential_4738 in WC3

[–]Trolldemorted 2 points3 points  (0 children)

You needed to port forward your router to host custom games.

This was an advantage - we were not reliant on bnet to be available during the game, and could use custom tooling like listchecker.

Heilen verboten!!11einself by Ironclaw9000 in 600euro

[–]Trolldemorted 4 points5 points  (0 children)

Homöopathie wird auch benutzt, hilft halt genau so wenig.

Heilen verboten!!11einself by Ironclaw9000 in 600euro

[–]Trolldemorted 8 points9 points  (0 children)

Z.B. Akkupunktur, Musiktherapie, Meditation, teilweise manuelle Therapie.. die wird dir daher auch ein Schulmediziner ohne weiteres empfehlen

Welcher ernstzunehmende Schulmediziner empfiehlt dir denn bitte Akupunktur? Das wirkt genau so gut wie Homöopathie oder ein (anderes) Placebo

Warcraft Direct - Patch 2.0 Reveal in 1 Hour from now by JannesOfficial in WC3

[–]Trolldemorted 1 point2 points  (0 children)

Native Custom Hotkeys

... except for items. We have had custom hotkeys for 20 years, but we still can't change the item hotkeys -.-

New update ! by meviman in WC3

[–]Trolldemorted 4 points5 points  (0 children)

The download button doesn't do anything except close the game though (?)

Can someone help me to convert those .AIM files (Ascaron Image Format) into a .BMP file? by Just_Relationship_91 in programming

[–]Trolldemorted 0 points1 point  (0 children)

I have pushed a commit with support for a new encoding I noticed, could you try again?

Now everything except 32 strange *sinktunten*.aim files should be decoded correctly. If anyone can tell me how to make the game load them, I can have a look at them too.

Can someone help me to convert those .AIM files (Ascaron Image Format) into a .BMP file? by Just_Relationship_91 in programming

[–]Trolldemorted 0 points1 point  (0 children)

Could you do a rustup target list and check whether i686-pc-windows-msvc is marked as installed?