@rebeccawb @alexboly I’ve heard it many times (and more recently, WET, or Write Everything Twice). I’m a big fan of copying and pasting once or twice. 😄
Sandi Metz said “duplication is far cheaper than the wrong abstraction”, which I also like to quote a lot.
Question is, faced with a premature abstraction, what do you do? It’s not always easy to refactor back towards duplication.
@rebeccawb @alexboly That’s very helpful, thank you! I think what you’re describing are the two modes of use that I’m trying to hint at: calling “downwards” allows for pluggable steps, where the supertype acts as a kind of framework (your collections example fits this, I think). Calling upwards allows for shared behaviour as a sort of library.
Perhaps the common advice to “favour composition over inheritance” applies more to the latter?
@lispi314 what do you like about Erlang? Beyond the simplicity, the pre-emptive VM is important, I feel, to keep systems responsive. Backends, yes, but also a desktop written in Erlang would have a better chance of not locking up if it managed the video card leveraging the OTP. Not a heavy idea, especially compared to TailsOS etc.
@freakazoid But the whole appeal of Kubernetes is lying to your investors that you're going to be Google scale.
It occurs to me that with the challenges of running large, shared #Kubernetes clusters, the vast majority of clusters are probably under the ~60 nodes #Erlang/OTP can handle out of the box. And clusters that are larger than that are almost certainly using namespaces. Erlang's RPC blows #grpc out of the water in terms of functionality without needing you to design protobufs (Erlang terms are serializable) and you get service discovery, locking, and a fast ACID database out of the box.
I suspect a startup even today would be far better off building their app in Erlang (or Elixir or a combination) and running that right on top of VMs or bare metal than using Kubernetes and Go. It takes longer to wrap one's head around Erlang, but the massively higher productivity (way less boilerplate than Go) is well worth it.
@strypey I recently saw a video mentioning that the biotech for efficiently catalysing feedstock to biofuel is patented by BP. Trust the corporate to convert adversity into opportunity by encircling a competitive threat.
https://ask.libre.support/t/product-updates-february-2023/88
Some updates about upcoming products on the Libre Tech Shop. Would love feedback and suggestions on these.
@lispi314 people are used to thinking in statically-typed workflows. Working in dynamic systems is apparently not easy. Many of the #Smalltalk-ers, e.g. @k9ox , have said it was too easy to make a mess. Even in #Emacs, it is possible to irrecoverably mess up; it happens in the background too, I have never seen my Emacs run longer than a few months.
@dekkzz76 @nesc @owenblacker @theresnotime
So either security professionals have been installing surveillance cameras in sensitive government facilities, designed and manufactured by companies headquartered in another country, without checking whether the cameras can send data to third parties like the manufacturers or their governments. Or they have performed the basic security checks you'd expect before buying cameras, to make sure they don't try to connect to external networks, and someone is lying about why they want them gone.
Capitalism is the belief that a handful of psychopath billionaires trying to become psychopath trillionaires is somehow the best possible thing for all of us.
Fuck that.
Fuck that very much.
@40Tech applies to everything in the world, if you consider what "doing it because we can" has done to the world.
fediverse meta - Mute Conversation
@strypey broken record here: doesn't Hubzilla have "Subscribe to thread" at any level of the thread?
fediverse meta - Mute Conversation
The only thing that would improve thread management in fediverse apps would be if Mute Conversation could reliably mute replies only to the post it's applied to. That way we could still silence a whole thread by applying Mute Conversation to the first post at the top of it, but we could also continue to follow some branches of the thread, but not others.
@bytex64 @lily "encrypted e-mail with account credentials" was fully thought out and implemented before Mastodon/ActivityPub, and is being actively ignored. This was in #Hubzilla called the Zot protocol, continuing as the Nomad protocol in #Streams https://codeberg.org/streams/streams . It is called #NomadicIdentity , and in Hubzilla/Streams, the encrypted credentials backup is just a "Save profile"!
@zheng3_jim @qurlyjoe Though not as weird as deciding we wanted to carry the alarm around with us :)
@mhoye it turns out there are so many asshole scammers that people flock to a marketplace that offers some semblance of protection.