• 0 Posts
  • 108 Comments
Joined 3 years ago
cake
Cake day: July 3rd, 2023

help-circle

  • Nulls are absolutely pervasive in Java and NPEs are not avoidable. At minimum, most of the ecosystem uses nulls, so most any library will have nulls as part of its interface. Null is an inhabitant of every type in Java (even Optional, ironically). You cannot escape it. It’s a fundamental flaw in the design of the language.

    Btw, you also can’t escape it in Typescript, either, due to unsoundness of the type system and the fact that many types for libraries are bolted on to the original JS implementation and may possibly be inaccurate. But still, it’s a lot less likely than Java.



  • I can only speak to Nebraska, but the malls here have all of those things except for record stores (for obvious reasons), and the number of malls has not changed in decades. They’re all in various central locations of Lincoln and Omaha and are very much community spaces. Tons of families come to let their kids play in the play spaces (especially lower-income families), teenagers hang out at the mall with their friends, and so on.






  • Setting aside the fact that that is not even remotely true, do you think Linux = Red Hat? What about almost every other distro being run by volunteeers?

    I’ve only ever seen redhat used by government and some corporations. As far as the broader community goes (especially the foss community), they are a pretty minor player.

    It’s honestly insane that you can sit there and shill for Microsoft these days. They’ve always been pretty evil, but now they’ve gone so far off the deep end they’re even driving away people who have been all-in on Microsoft their whole lives. Even non-tech people are getting simply fed up with all of the spying and intrusive, AI-infested bullshit. Linux marketshare has been steadily increasing over the last couple of years, and it doesn’t look like it’s slowing down anytime soon. And all of it is, ultimately, because Windows is forcing people away.


  • Eh, git is never really that fucked. If you understand how it works, it’s generally not hard to get back to a state you want (assuming everything has been committed at some point, ofc).

    I would much rather people try to spend some time trying to understand and solve a problem first. I had a “senior” engineer who would message me literally every morning about whatever issue he was facing and it drove me absolutely nuts. Couldn’t do anything for himself. Unsurprisingly, he was recently laid off.

    My time should be respected.











  • Except it’s not seamless, and never has been. ORMs of all kinds routinely end up with N+1 queries littered all over the place, and developers using ORMs do not understand the queries being performed nor what the optimal indexing strategy is. And even if they did know what the performance issue is, they can’t even fix it!

    Beyond that, because of the fundamental mismatch between the relational model and the data model of application programming languages, you necessarily induce a lot of unneeded complexity with the ORM trying to overcome this impedance mismatch.

    A much better way is to simply write SQL queries (sanitizing inputs, ofc), and for each query you write, deserialize the result into whatever data type you want to use in the programming language. It is not difficult, and greatly reduces complexity by allowing you to write queries suited to the task at hand. But developers seemingly want to do everything in their power to avoid properly learning SQL, resulting in a huge mess as the abstractions of the ORM inevitably fall apart.