@ewolff aren't we all
@claudiom love the userpic! :clap:
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.
@entropealabs I prototyped with it very early on. It was promising, but if I want to give up dynamic nature of process registry, then I'd rather use a language with higher-kinded types and row polymorphism :)
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/
@brood ook!
#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.
That https://doma.dev guy
#lean #elixir #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.