Hans Ulrich Niedermann

@ndim@bawue.social
32 Followers
285 Following
45 Posts
Miscellaneous things in English and German.
websitehttps://n-dimensional.de/
githubhttps://github.com/ndim/

@hp @joe @feliks Why not rename the literal ~ directory to something normal first, and then deal with it as you would deal with any normal directory?

That should just about eliminate the chances for a catastrophic result a typing mistake can have in any destructive command.

Digitale Souveränität bedeutet Kontrolle über eigene Daten, Infrastruktur und Systeme. Solange Europa auf #US-Clouds und chinesische Hardware angewiesen ist, bleibt das eine Illusion – und ein Sicherheitsrisiko. #DigitaleSouveränität #Europa
@orhun That sounds very much the codebase to use for generating animated gifs or videos of programs built on ratatui as part of a CI build.

I'm looking for a good book that treats high-dimensional geometry. I am in particular looking for something on the geometry of high-dimensional polytopes.

Any recommendations? Please retoot for reach.

Cyberattack hits Ukrainian state railway, disrupting online ticket sales

Ukrzaliznytsia, Ukraine's state-owned railway operator, said a large-scale cyberattack had disrupted online ticket sales, but not train schedules.

Pi day is propoganda for MM/DD/YYYY sickos

Here is a template. If you follow this template for your binary file format's magic number, you will be doing it better than a depressingly large number of senior software engineers.

First eight bytes of the file:

0xDC 0xDF X X x x (0x01 0x00 | 0x00 0x01)

0xDC 0xDF are bytes with the high bit set. Together with the next two bytes, they form a four-byte sequence that cannot appear in any valid ASCII, UTF-8, Corrected UTF-8, or UTF-16 (regardless of endianness) text document. This is not a perfectly bulletproof declaration that the file does not contain text, but it should be strong enough except maybe for formats like PDF that can't decide if they're structured text or binary.

X X x x: Four ASCII alphanumeric characters naming your file format. Make them clearly related to your recommended file name extension. I'm giving you four characters because we're running out of three-letter acronyms. If you don't need four characters, pad at the end with 0x1A (aka ^Z).

The first two of these (the uppercase Xes) must not have their high bits set, lest the "this is not text" declaration be weakened. For the other two (lowercase xes), use of ASCII alphanumerics is just a strong recommendation.

0x01 0x00 or 0x00 0x01: This is to be understood as a 16-bit unsigned integer in your choice of little- or big-endian order. It serves three functions. In descending order of importance:

  • It includes a zero byte, reinforcing the declaration that this is not a text file.

  • It demonstrates which byte ordering will be used throughout the file. It does not matter which order you choose, but you need to consciously choose either big- or little-endian and then use that byte order consistently throughout the file. Yes, I have seen cases where people didn't do that.

  • It's an escape hatch. If one day you discover that you need to alter the structure of the rest of the file in a totally incompatible way, and yet it is still meaningfully the same format, so you don't want to change the name characters, you can change the 0x01 to 0x02. We both hope that day will never come, but we both know it might.

  • @Andreas Der Begriff "Radverkehrtführung" trifft es nicht genau, geht aber schon einmal in die richtige Richtung.

    Die Abschätzung von @jakob_thoboell mit 3200s als Untergrenze für die Erwärmung von 20l Wasser von 20 auf 100 Grad gibt einen sehr guten Anhaltspunkt für die Größenordnung. Sehr gut, weil sowohl die Überlegung als auch die Rechnung einfach sind und daher garantiert nicht komplett falsch.

    Genauer als eine Größenordnung lässt sich die Erhitzungsdauer bis zum Kochen sowieso nicht ausrechnen, egal wie richtig oder falsch ChatGPTs Rechenweg ist. Dafür bräuchte man deutlich genauere Angaben zum Versuchsaufbau: Leistung der Kochplatte, und ist die überhaupt konstant? Genaue Wassermenge und Temperatur (Wasser aus dem Hahn hat weniger als 20 Grad)? Material+Masse vom Topf, Art und Masse der Herdplatte, gibt es Zugluft, ist der Abzug an, welcher absolute Luftdruck herrscht gerade (Höhe über dem Meer und Wetterlage, das bestimmt die Zieltemperatur), etc.

    Was mir bei ChatGPTs Rechnung auf jeden Fall Bauchschmerzen bereitet, da es nicht begründet wird: ChatGPTs Annahme, dass eine Verlustleistung, welche mit T^4 gehen soll, bei einer Erwärmung von 293K auf 373K als konstant angenommen wird.

    Spätestens hier ist der Punkt erreicht, ab dem ich ChatGPTs Herleitung nur noch bestenfalls eine Aussage über die Größenordnung zutraue. OK, der Punkt war natürlich bei der Erwähnung von ChatGPT als LLM schon erreicht: ohne vollständige Überprüfung kann man Aussagen eines LLM Fakten betreffend nie für voll nehmen.

    Bis hierhin habe ich noch nicht einmal nachschauen und nachdenken müssen, ob die Verluste durch Konvektion und Strahlung überhaupt mit den richtigen Gesetzmäßigkeiten beschrieben wurden. Ich bin weder Physiker noch ist Wärme ein Gebiet der Physik, mit dem ich bisher viel zu tun hatte.

    @Aarkon Was genau suchst du denn? Die Zeit plus minus 5 Minuten, bis dein Wasser kocht? Eine genaue Analyse von ChatGPTs Argumentation, wie ein Physiklehrer eine schriftliche Prüfung korrigieren würde? Ein Rechenmodell für deinen Versuchsaufbau, welches bei Angabe von aktueller Netzspannung, Wassermenge und -temperatur eine Zeitangabe mit Konfidenzintervall zur Kompensation der nicht genau gemessenen Parameter ausspuckt?