• 6 Posts
  • 730 Comments
Joined 2 years ago
cake
Cake day: July 24th, 2023

help-circle


  • Tips for those who want to share in my skill:

    • Chose a convex potato, with two almost but not entirely flat sides
    • Start on a the flattest side an peel in a short line along it, turn 180 and spiral around the peeled section until you are done
    • avoid sharp corners, they weaken the strip
    • the first and last turns are unavoidably sharp and therefore the hardest
    • the wider the strip is, the shorter in needs to be



  • That boolean can indicate if it’s a fancy character, that way all ASCII characters are themselves but if the boolean is set it’s something else. We could take the other symbol from a page of codes to fit the users language.
    Or we could let true mean that the character is larger, allowing us to transform all of unicode to a format consisting of 8 bits parts.




  • It might also introduce spurious data dependencies

    Those need to be in the in smallest cache or a register anyway. If they are in registers, a modern, instruction reordering CPU will deal with that fine.

    to store a bit you now need to also read the old value of the byte that it’s in.

    Many architectures read the cache line on write-miss.

    The only cases I can see, where byte sized bools seems better, are either using so few that all fit in one chache line anyways (in which case the performance will be great either way) or if you are repeatedly accessing a bitvector from multiple threads, in which case you should make sure that’s actually what you want to be doing.






  • anton@lemmy.blahaj.zonetoich_iel@feddit.orgich_iel
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    7 days ago

    Das beste Beispiel ist als Kreuzberg am Landwehrkanal eine große Grünfläche anlegen wollte. Sie hatten sogar schon das nötige Geld vom Bund aner der Senat hat nein gesagt und so sind weiterhin an beiden Ufern mehrspurige Straßen.

    Ein aktueller Ort wo Grünflächen, die der Bahn zustehen, und Wald direkt für Autos weichen müssen, ist die tangential Verbindung Ost.

    Edit: Eilmeldung! Jetzt werden von der berliner Verkehrsverwaltung die Poller auf Nebenstraßen (Verantwortungsbereich der Bezirke) weggenommen die Durchgangsverkehr in Kiezen verhindern, weil damit mehr Verkehr auf den Hauptstraßen (Verantwortungsbereich von Berlin) ist.