I fucking hate the fact that FP is full of western commies. 😢
abstraction-breaking nature of polymorphic compare can cause real and quite subtle bugs. If, for example, you build a map whose keys are sets (which have the same issues with polymorphic compare that maps do), then the map built with the polymorphic comparator will behave incorrectly, separating out keys that should be aggregated together. Even worse, it will behave inconsistently, since the behavior of polymorphic compare will depend on the order in which the sets were built.
In case you wonder what's my preferred stack to build services right now, it's as follows:
- #Elixir runs the system itself. No to #Phoenix, #Ecto, yes to #Plug, #Commanded.
- #Rust does the business-logic heavy-lifting. Normally single-threaded workers.
- #Typescript with #ReactJS and #Jotai does user-facing computations.
- #ETS for data views, #PostgreSQL for immutable history of the events and other data that is only INSERTed, never UPDATEd.
* * *
I am planning to see if I can replace #Elixir with #Purerl when I have the time.
Watch this, #russians.
* * *
He was not alone in starting this war.
He did not personally prosecute, torture and murder millions of people.
He did not commit the genocides with his own hands.
[..]
And while it was not only the #german nation that answered that call, until not that long before his death, the large majority of germans supported #hitler and his policies.
* * *
Never forget.
Many people do not understand why I think that the IEEE 754 Floating Point standard is defective and should be replaced.
So I made a demonstrator. You can enter a number literal or arithmetic expression, and it will show you IEEE 754's version. I think the errors are shocking.
The moment when #Odesa yesterday was hit with a #Iskander missile armed with a cluster munitions warhead.
Metal fragments were found as far as 1,5km from the impact site according to the Prosecutor General's Office.
As per the post of @ose_rouge goes: also today the #JewishBrigades and their sympathizers could not take part in the yearly commemoration of liberation from fascism in #Milan #Milano today without extra security. These attacks against the Brigades from #ProPalestine organizations have a inglorious tradition. https://www.juedische-allgemeine.de/juedische-welt/streit-um-die-resistenza/
#LogTape is a logging library for #JavaScript and #TypeScript. It provides a simple and flexible logging system that is easy to use and easy to extend. The highlights of LogTape are:
• Zero dependencies
• Designed to be used in libraries as well as apps
• Supports virtually every runtime: #Node.js, #Deno, #Bun, edge functions, and browsers
• Structured logging
• Logger categories (names) are hierarchical
• Dead simple sink (destination) interface
I want to do two things in life — help kill russian occupants (or kill russian occupants) and write in #purerl. 😭
Such opportunities, alas, are rare and far between.
The result of my Saturday hacking is a complete #nix flake ❄️ for #asciinema 🎉
https://github.com/asciinema/asciinema/blob/develop/flake.nix
If you're on #nixos (or running nix elsewhere, including #macos) then you can run the latest version with:
nix run github:asciinema/asciinema
You can also enter the development shell by running (in the source code checkout):
nix develop
That https://doma.dev guy
#lean #rust #typescript #react #nix
In my non-existent free time I design and run #TTRPG
If you use tools made by genocide-apologists, you are a genocide-apologist.
#lemmy users aren't welcome here.