in switzerland you aren't allowed to have a train with exactly 256 axles because of an integer overflow in the axle counting machine
i wish i could fix my software bugs by making it illegal to cause them
in switzerland you aren't allowed to have a train with exactly 256 axles because of an integer overflow in the axle counting machine
i wish i could fix my software bugs by making it illegal to cause them
the source everyone reports for this PDF is gone, and it's not exactly easy to find swiss train law documentation when you don't even speak german
but here's a current link: https://www.hech.ch/wp-content/uploads/2018/07/I-30111_09122018_Anhoerung.pdf
page 123, section 4.8.4 "Zugbildung"
die züge können keine 256 achsen haben! wie lächerlich!
"gnädige frau, das ist ein mcdonalds."
German is a good language. any language that has a single word that means "a face in search of a backhand" is a good language.
Backpfeifengesicht
@SwindlerOfInsanity @lynnesbian
sagenhaft
@dingens @hikerus5 @lynnesbian Ein RoLa Wagen weniger und 3 Schlafwägen oder 2 Schlafwägen und Doppeltraktion und schon ist das Problem wieder da.
Aber ja, da ist schon eine besondere Konstelation aber nicht komplett ausgeschlossen.
Theoretisch könnte man das auch mit 6-Achsigen Schwerlast Flachwagen passieren, da wird aber das Zuggewicht von ~5500t zum Problem.
@lynnesbian can't happen to us in Germany. We still have things like manual or mechanical operation of these things ;)
Only a fraction is electric ;)
become a government. they're allowed to do whatever they want, like Googzilla or Microsofthra can
@lynnesbian
It's not a feature.
*IT'S THE LAW.*
@lynnesbian Oh hey! I'm the person who originally submitted this to reddit.
As far as I know, this rule is no longer in place. It still shows up in some recent-ish documents (like [1]), but a train driver I know showed me a screenshot of a document explicitly stating that this paragraph was made obsolete.
It also doesn't show up in the current R 300.5 anymore. [2]
[1]: https://www.bav.admin.ch/bav/de/home/rechtliches/rechtsgrundlagen-vorschriften/fdv.html
[2]: https://www.bav.admin.ch/bav/de/home/rechtliches/rechtsgrundlagen-vorschriften/fdv.html
Die FDV gelten für alle schweizerischen Eisenbahnen sowie für alle Bahnen, die schweizerische Eisenbahninfrastrukturen benützen. Sie umfassen die sicherheits-relevanten Regeln für alle Fahrten auf Schienen. Das Bundesamt für Verkehr erlässt gestützt auf Art. 11a der Eisenbahnverordnung vom 23. November 1983 EBV (742.141.1) die Schweizerischen Fahrdienstvorschriften FDV.
@lynnesbian
This makes me think of the swedish law that forced transgendered people to be sterilized, and their semen/eggs to be destroyed.
The law was only removed in 2016 or so, long after the old "sterilize anyone that the nazis wouldn't want to breed" mentality went out of style.
No-one talked much about why they were still doing this, since the reasons were rather obvious. But I did find one person blaming paperwork.
"See, on this parenthood form, we have a mother square and a father square, and if you trans lot went and muddled it all up, the system would just break".
@lynnesbian Shouldn't it be "equals or exceeds"?
Like, if it hits 256 on the counter and resets to zero, wouldn't it then be under-reporting the length of the train as L-256, which could still lead to issues?
(I dunno, maybe I'm not parsing this right, much like a Swiss axle-counter. Time for another eggnog latte.)
@drimplausible @lynnesbian Axle Counters are not about reporting the length. They are about "The same number of axles and thus cars that went in on the beginning of the block left it at the end of the block". (Or even, on either side, in case of reversing / split trains). Which is equivalent to what we're interested in, namely, "There are no cars left in the block, and we can leave the next train in at full speed".
So as long as the counter doesn't remain at 0 when the full train is in, an overflow isn't much of a problem. (Bad edge case: The train stops after exactly 256 axles have been counted in)
@drimplausible Yes, but that doesn’t matter. The next counter has the same bug and thus counts the same number of axles, so the result will be correct.
Let’s say it has 258 axles. First sensor will report “train with 2 axles has entered the segment”. Second sensor will report “train with 2 axles has left the segment, clear the signals.” Everything is fine.
@drimplausible @lynnesbian It says "To avoid signalling a section of track as clear" so I think the issue is that at 256 it rolls over to 0 and thus "there's zero axles in this section, so it is empty and safe for a new train to enter." At 257+ it would show as one or more axles, and wouldn't mistakenly show the section as clear.
Presumably the problem would also occur at multiples of 256, but I guess they don't have a trains long enough to have 512 axles.
@compfu @dougschuler @lynnesbian See, now I'm going to be up all night thinking about those 1-axle trains.
I'm pretty sure it's impossible, but that won't stop me wondering what such a thing could even look like.
(...A unicycle handcar, maybe...?)
@Gorfram @compfu @dougschuler @lynnesbian
What about a 1 rail train?
The 1910 Brennan gyroscopic monorail :