• 0 Posts
  • 199 Comments
Joined 1 year ago
cake
Cake day: July 3rd, 2023

help-circle



  • In absolute terms, they aren’t the majority. 73m voted for him out of the 161m eligible voters in the US, or ~45% (Harris has ~43%). Still a frighteningly high number, but it also means it’s possible to find support for resistance, at least if things start to get bad enough. Unfortunately, there are a lot of Americans that like to think that politics don’t concern them and that we should just be apolitical. So they’re going to need a wake-up call first before they would lend their support. Trump will likely give it to them in short order as his fascist policies start to directly affect them.

    Also, keep in mind that the total population (~334m as of 2023) is much larger than the population that is eligible to vote. There are many young people that are too young to vote now but still old enough to fight tyranny, former felons who are ineligible to vote but eager to fight oppressive systems, not to mention the scores of people not counted among eligible voters due to not being registered to vote, either through complacency/disillusionment (see above) or active sabotage and disenfranchisement by Republicans (and in many ways, you could say these are one in the same).

    Fascists may have power and have won the popular vote, but it doesn’t mean it’s the will of the people. It means they’ve successfully gamed our very broken system. But real, average people living their lives will fight when the oppression comes to them. Maybe it will be too late, but maybe not. Revolution only needs a single spark.










  • I don’t know what you mean by an API standard, but yes, it is technically a JavaScript library. But that’s only an implementation detail and the spirit of htmx is that you write very little JavaScript. Javascript is simply used to extend the HTML standard to support the full concept of hypermedia for interactive applications. An htmx-driven application embraces hypertext as the engine of application state, rather than the common thick client SPAs hitting data APIs. In such a model, clients are truly thin clients and very little logic of their own. Instead, view logic is driven by the server. It has been around for quite a long time and is very mature.

    It’s fundamentally different than most JavaScript libraries out there, which are focused on thick clients by and large.


  • This is something often repeated by OOP people but that doesn’t actually hold up in practice. Maintainability comes from true separation of concerns, which OOP is really bad at because it encourages implicit, invisible, stateful manipulation across disparate parts of a codebase.

    I work on a Haskell codebase in production of half a million lines of Haskell supported by 11 developers including myself, and the codebase is rapidly expanding with new features. This would be incredibly difficult in an OOP language. It’s very challenging to read unfamiliar code in an OOP language and quickly understand what it’s doing; there’s so much implicit behavior that you have to track down before any of it makes sense. It is far, far easier to reason about a program when the bulk of it is comprised of pure functions taking in some input and producing some output. There’s a reason that pure functions are the textbook example of testable code, and that reason is because they are much easier to understand. Code that’s easier to understand is code that’s easier to maintain.