Hi!

My previous/alt account is [email protected] which will be abandoned soon.

  • 1 Post
  • 460 Comments
Joined 2 years ago
cake
Cake day: June 1st, 2024

help-circle







  • How would it be subject to abuse¹? Deliveries are somewhat predictable, by law 95% of letters must arrive within 3 days, 99% within 4 days. Mail-in ballots “should” be delivered within 2 days.

    If it must arrive regardless of circumstances you can generally just send it via fax (except for mail-in ballots of course).

    Though this has also lead to some issues. Because the 2025 election was a snap election there was significantly less time for mail-in ballots to be sent. This caused issues for many expats living outside Germany and as a result, at least a couple thousand votes from 200,000 registered expats were probably discarded.

    Edit: ¹ any more than a system relying on the date on the postage stamp?





  • They’re legal tender in Finland because they are legal tender in the EU. I don’t know anything about Finish law but I believe permitting stores to refuse some coins while allowing others could violate some EU directive.

    Finland is even forced by the EU to mint 1c and 2c coins (though the amount isn’t specified so they’re just collector’s editions) despite not circulating them.

    And Wikipedia says (without citation though):

    When paying in cash in Finland, while by law a shopkeeper should accept the coins, usually they will decline, and ask for higher denominations to match the Swedish rounding, even when presented with exact change.

    https://en.wikipedia.org/wiki/Finnish_euro_coins




  • Even though this isn’t C, but if we take from the C11 draft §6.8.5 point 6 (https://www.open-std.org/jtc1/sc22/wg14/www/docs/n1570.pdf):

    An iteration statement whose controlling expression is not a constant expression, that performs no input/output operations, does not access volatile objects, and performs no synchronization or atomic operations in its body, controlling expression, or (in the case of a for statement) its expression-3, may be assumed by the implementation to terminate

    “new Random().nextInt()” might perform I/O though so it could still be defined behavior. Or the compiler does not assume this assumption.

    But an aggressive compiler could realize the loop would not terminate if x does not become 10 so x must be 10 because the loop can be assumed to terminate.