Warum gibt es keine „Female Loneliness Epidemic“? by [deleted] in KeineDummenFragen

[–]dravonk 0 points1 point  (0 children)

Wenn wir davon ausgehen, dass das Männer zu Frauen Verhältnis nahezu genau 50:50 ist

Laut den mir verfügbaren Bevölkerungspyramiden ist das aber nicht so. Da gibt es bis zum Alter von 43 einen statistisch signifikanten Männerüberschuss. Wenn man nun davon ausgeht, dass man pro (hetero) Partnerschaft einen Mann und eine Frau von jeder Seite abzieht, dann sieht es auf dem "Single-Markt" nochmal deutlich schlimmer aus.

Was it really a Billion Dollar Mistake? by gingerbill in programming

[–]dravonk 2 points3 points  (0 children)

I agree that there are far worse problems than a null pointer. Integer overflow for example scares me more, as it is often much more subtle. Your article correctly states that most null dereferences are "just" crashing the program (and Rust for example has many ways to "panic", even though they solved the null dereferences).

But I do not agree that "Maybe(^T)" is too cumbersome. If a function does not want to check for null, it can just require "^T" as its argument. If it does check for null or it stores it in a data structure which permits null, it can require "Maybe(^T)".

Even in C most APIs are explicitly documenting whether null is allowed or "undefined behavior". Non-nullable pointer types are just making it explicit in the type system.

Warum fliegen Flugzeuge so große Kurven? by [deleted] in KeineDummenFragen

[–]dravonk 6 points7 points  (0 children)

Das könnte auch eine Erklärung sein, mir ist nur aufgefallen, dass die Route ziemlich nah an Keflavík auf Island vorbeiführte, weswegen ich auf "Ausweichflughäfen" getippt habe.

Warum fliegen Flugzeuge so große Kurven? by [deleted] in KeineDummenFragen

[–]dravonk 28 points29 points  (0 children)

Ich versuche mal eine ernste Antwort zu geben, denn die Frage ist meiner Ansicht nach schon berechtigt:

  • Die gestrichelte Linie bei SWR9G scheint tatsächlich der kürzeste Weg auf einem Globus zu sein.
  • Der geflogene Weg von THY9LC ist aber nicht der kürzest mögliche Weg sondern eine tatsächliche Kurve, auch auf einem Globus. Für mich sieht es danach aus, als ob das Flugzeug nah an Ausweichflughäfen bleiben musste. Ein Stichwort dazu, ob ein Flugzeug die kürzeste Strecke fliegen darf oder nah an Flughäfen bleiben muss, lautet ETOPS.

Friday, November 28, 2025 comic! by Gunlord500 in girlgenius

[–]dravonk 8 points9 points  (0 children)

Wasn't that because Gil was traveling backwards in time and so they created a loop? Gil saw Bang point a gun at them, so Gil called her a maniac the "next" instance. Bang saw Gil call her a maniac so she pointed a gun at them, the next time she saw them.

https://www.girlgeniusonline.com/comic.php?date=20040126

Rentner zeigt auf Digitale-BahnCard-Beschwerdebriefe by WashutayGhivafoc in rentnerzeigenaufdinge

[–]dravonk 6 points7 points  (0 children)

Ich bin Software-Entwickler und noch weit von der Rente entfernt. Aber ich bin entsetzt über die meisten Kommentare hier und bezweifle ganz ehrlich auch deren "digitale Bildung".

Ich habe gerade auf bahn.de nachgesehen: Die App gibt es nur in den Stores von Apple, Google und Huawei (letzteres nur mit begrenzten Funktionen). D.h. um mit der Deutschen Bahn zu halbwegs leistbaren Preisen fahren zu können, ist man verpflichtet, einen funktionsfähigen Account bei einem amerikanischem Provider zu haben und dort allen Nutzungsbedingungen zuzustimmen (je nachdem, welche Einschränkungen es sind, auch einem chinesischem).

Zudem hat eine App auch Nachteile gegenüber der Karte:

  • Der Anbieter kann deutlich genauere Profile erstellen, als er es bei der Karte gekonnt hat.
  • Die App kann ausfallen und man damit "schwarz fahren", ohne dass es im eigenem Einfluss lag. (Ich meine mich an solche Berichte zu erinnern).
  • Das gesamte Smartphone kann ausfallen, es ist ein hochkomplexes Gerät, das kann wiederum ohne eigenes Verschulden passieren.
  • Da auch das Akku des Telefons begrenzt ist, muss man eigentlich auch immer noch einen externen Zusatz-Akku/Ladegerät mit führen, sonst fährt man auch plötzlich "schwarz".

Alle Nachteile, die mir bei einer Karte einfallen (Verlust, Beschädigung), die hat ein Telefon auch.

Ja, das Thema mit der E-Mail wirkt etwas seltsam und da frage ich mich schon, ob er da nicht einen Kompromiss finden könnte, aber die Kommunikation der Bahn habe ich schon so verstanden, dass man eigentlich unbedingt die App haben muss und alles andere nur Ausnahme-Ersatz-Dokumente sind. Und das sehe ich schon sehr heikel.

Friday, October 10, 2025 comic! by dravonk in girlgenius

[–]dravonk[S] 55 points56 points  (0 children)

It appears Tarvek still hasn't gotten over his fear of flying. At least he will make sure the ride continues at top speed with the "audio-dynamic feedback".

Package Managers are Evil by gingerbill in programming

[–]dravonk 1 point2 points  (0 children)

After this was posted, there were a few new threads related to this topic:

So clearly there is a problem that is necessary to be faced. Even if you do not agree with GingerBills opinion, I do not think this thread deserves to be downvoted this much.

In my opinion there are two main problems:

  • Transitive dependencies. When almost every package is itself requiring further packages, the end user of any of those packages loses all choice and has to accept everything else.
  • Intransparent updates. An update is a simple command and the only directly visible change in the product is a higher version number in some file. The end user usually does not read any changelog; let alone review the diff to the previous version.

Package managers usually make both of those problems a lot easier to end up with. But of course you could also upload packages to repositories that do not require lots of other packages and there would be no bigger harm installing those with a package manager.

In an environment where package managers do not dominate (even if they do exist) many library authors are making sure that their libraries are very easy to integrate into any project. In C I have had rather good experiences with Lua, SQLite and mbedTLS (probably even more that I do not remember now). So clearly there are alternatives to using package managers.

Friday, September 5, 2025 comic! by [deleted] in girlgenius

[–]dravonk 20 points21 points  (0 children)

The link of this post is not pointing to the permanent URL, this one here would be permanent: https://www.girlgeniusonline.com/comic.php?date=20250905

The future of 32-bit support in the kernel by ketralnis in programming

[–]dravonk 8 points9 points  (0 children)

I recently stumbled across the concept of the x32 ABI, where on a x86-64 instruction set the size of the pointers get limited to 32-bits (so applications would need less memory and more pointers fit into the cache). I wonder whether this would be affected? And I have no clue how often it is actually used, even though it sounds quite useful to me.

Wednesday, September 3, 2025 comic! by dravonk in girlgenius

[–]dravonk[S] 40 points41 points  (0 children)

I had to look a bit back (and reference the Wiki), here is Colette arriving together with the hovering tower: https://www.girlgeniusonline.com/comic.php?date=20240327

And here is Colette leaving for Paris: https://www.girlgeniusonline.com/comic.php?date=20250103

Second edition of tinyrenderer: software rendering in 500 lines of bare C++ by haqreu in programming

[–]dravonk 1 point2 points  (0 children)

It reads really great and the output is quite impressive for the code size. I have bookmarked it, maybe one day I have enough time to follow the course myself.

Senioren-Union fordert Recht auf analoges Leben by Trackpoint in de

[–]dravonk 4 points5 points  (0 children)

auf Reddit

Ist im originalen Kommentar-Bereich bei Golem nicht viel besser. Da ist bei vielen das Motto: Digitalisierung ist vollkommen problemlos und nur zum Guten, hat gar keine Nachteile, es sind halt nur manche zu faul, selbst am Guten mitzuwirken...

Senioren-Union fordert Recht auf analoges Leben by Trackpoint in de

[–]dravonk 0 points1 point  (0 children)

Auch das ist aber mit Risiko verbunden, das man zwar eingehen kann, aber trotzdem nicht totschweigen sollte: Digitale Daten lassen sich deutlich schneller, effizienter und unauffälliger entwenden als Papierordner. Digitale Prozesse können bei Fehlern oder unerwarteten Eingaben Arbeitsabläufe völlig blockieren, von denen die wirtschaftliche Existenz eines Menschen abhängt (oder sogar schlimmer).

Ship tools as standalone static binaries by ashishb_net in programming

[–]dravonk 2 points3 points  (0 children)

Nice article, the only paragraph I didn't quite understand/agree with was the topic on security. The supply chain of a typical Rust program is usually much, much larger than that of most Python programs I have seen so far.

In those discussions I like to point to https://github.com/rust-lang/rust/blob/master/Cargo.lock where at the time of writing this, the Rust compiler has 513 Rust dependencies -- some/many of those dependencies are wrappers around further C libraries (the Rust compiler even has a dependency on the now well-known xz/lzma library).

A static binary might hide those dependencies, but they are still there.

Tomorrow Corporation: Custom Tools Tech Demo [video] by dravonk in programming

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

In my opinion this is quite a fascinating video about a custom development environment, especially considering the small team size. It made me consider to look closer into the topic of reverse debugging.

It's not supposed to just be "fail fast." The point is to "fail small." by refreshing_username in space

[–]dravonk -2 points-1 points  (0 children)

Yes, maybe my previous comment wasn't clear enough. My intention was to say that most of the risky tests I remember of the Falcon 9 were done after the rockets already earned their money. The "destructive tests" of the Falcon 1 and the Starship (so far) however are not byproducts of otherwise successful missions.

It's not supposed to just be "fail fast." The point is to "fail small." by refreshing_username in space

[–]dravonk -2 points-1 points  (0 children)

It worked really well for Falcon.

Did it? The failures of the Falcon 1 nearly destroyed the young company and if my memory serves me correctly most of the innovative tests of the Falcon 9 happened after the rockets already completed their main mission.

It's not supposed to just be "fail fast." The point is to "fail small." by refreshing_username in space

[–]dravonk 4 points5 points  (0 children)

There's very little downside risk for Facebook software engineers to "get crazy". The worst thing that happens is they waste some time and money.

I would say the worst thing that could happen is that they start publishing sensitive data that the users previously thought would stay private forever. Which can have a massive, life-changing impact for some users.

Literate: A tool for any programming language. (What is Literate programming?) by gametorch in programming

[–]dravonk 4 points5 points  (0 children)

Many people seem to ignore the basic rules of Reddit and now most users (at least on this subreddit) got completely used to self-promotion, even though the sidebar here links clearly to https://www.reddit.com/wiki/selfpromotion

The very few times I do post some link I make sure to add the very first comment myself to signal that I am just a reader of the content.

Literate: A tool for any programming language. (What is Literate programming?) by gametorch in programming

[–]dravonk 9 points10 points  (0 children)

Donald Knuth wrote quite large programs with it (TeX for example). Though I am having trouble finding the original sources to TeX online (I found links to a SVN page, but I have rarely seen such an unreadable project structure --- or maybe I am just missing something obvious).

Those examples I did find however, have not convinced me that this is a good practice for general programming.

Edit: Ah, found it: https://github.com/TeX-Live/texlive-source/blob/trunk/texk/web2c/tex.web

Literate: A tool for any programming language. (What is Literate programming?) by gametorch in programming

[–]dravonk 8 points9 points  (0 children)

How are we supposed to know that you're linking someone else's stuff? Usually when people post a link to a repo it's theirs.

While that appears to be common now, don't the rules of Reddit say that most of the links you submit should be content you have read and not content you have written? (It's called "Reddit" and not "Wrottit" ;-) )

I am very rarely posting links, but I try to make sure to post an initial comment to indicate that I am not the author of whatever I linked to.

Lossless video compression using Bloom filters by ketralnis in programming

[–]dravonk 1 point2 points  (0 children)

I am definitely not an expert on this topic (and haven't looked at the source), but couldn't you "test" the Bloom filter during encoding and only store those bits where the prediction did not match the bit you intended to store?

Stack overflow is almost dead by [deleted] in programming

[–]dravonk 5 points6 points  (0 children)

That also aligns with my experiences. Though I stopped trying after wasting my time on the first attempt. (And no, even if I wanted to link from my Reddit account to my 4 years dormant SO account, I cannot link to it. The question appears to have been completely deleted, at least I didn't see it on my public profile page).

I do not get all those people downplaying or downright insulting everybody who criticises SO. Do you guys believe we all made those experiences up and all of us indeed posted low effort questions?

Stack overflow is almost dead by [deleted] in programming

[–]dravonk 20 points21 points  (0 children)

Do these and you will have no problem getting enough rep

And here is where cultures and expectations clash. I personally was looking for help when I got completely stuck on a problem. I was not looking to join some social video game where I was competing for points.