I was thinking about XML, toml and JSON and I realised that they should be small. As long as they are small, they are readable and comprehensible.
Interestingly, XML scales a little bit better because it reminds you of the context when the context ends.
I really like some systems that incorporate inlining the code into their configs, but I'd prefer for it to go the other way — have configs in code.
The way #elixir and #webpack handle configuration is almost perfect.
So apparently that was 6th longest game in the history of the sport. I need to look up the stats now.
https://www.youtube.com/watch?v=-2hkLVlfbRc
Please contribute to #TimeGhost #DDay project. Their sponsor has pulled out and this absolutely has to happen.
good morning, #montreal! heading out to the old port for #northsec2023 — this is going to be my first, and i'm quite excited.
p.s. also, it's #ukrainian #vyshyvanka day, no way i'm missing it!
Architecture means understanding constraints and build something that fits.
If constraints change, the architecture has to change, too.
Architecture for getting something out quickly is different from one for cost saving.
https://adrianco.medium.com/so-many-bad-takes-what-is-there-to-learn-from-the-prime-video-microservices-to-monolith-story-4bd0970423d4
Vast majority the bigots and chauvinists turn out to be what they denounce. Weak crybabies, decisively and demonstrably unfit for life in a society.
QT: https://mastodon.social/@ewolff/110389336380463991
It's a bit hilarious how jaded these douchebags are. I have observed a similar situation where a bunch of people in a community I was, have pushed back against bigotry, but nobody was even forcing the bigots out. They cried and whined and slammed the door in their way out.
They ended making their own community with just three people, talking about how "woke bastards have done them nasty" in a spiteful and revanchist tone.
Doom co-creator John Carmack is headlining a 'toxic and proud' sci-fi convention that rails against 'woke propaganda' https://www.pcgamer.com/doom-co-creator-john-carmack-is-headlining-a-toxic-and-proud-sci-fi-convention-that-rails-against-woke-propaganda/
YOU DON'T NEED TURING
Or rather, you do not need Turing-completeness to write programs. This may sound as a nonsensical misnomer that goes against everything you have learnt as a programmer in the span of your career, but you really do not.
First of all, what does it mean for a computer system -- or in our case, a programming language -- to be Turing-complete? Wikipedia states that a Turing-complete system is the one that can simulate a Turing machine. Which is probably the most circular definition you can come up with. Let's forget about this and discuss the qualities of Turing machines.
Arguably, the most important quality of this kind of systems is the dreaded halting problem, so I prefer to define Turing-completeness through it. A Turing-complete system is the one that, given it's current state (both code and available data, though this doesn't always apply), is impossible to predict whether it will halt or will continue executing forever.
But this isn't a requirement for the vast majority of algorithms. For the vast majority of programs, the failure to halt is undesirable either in general or in the major parts of their code. Generally speaking, in any given program, the only part that requires Turing-completeness is the implementation of the event loop. Everything else should be able to terminate eventually, given finite input, so there is no reason to enable the halting problem by default.
The downside to this approach is that Turing-incomplete systems are counterintuitively harder to design. Accidental Turing-completeness is so common, it has become a joke in and of itself. Here is a short and very incomplete list of accidentally Turing-complete systems, aka systems that can be used to perform arbitrary computations and never halt:
* Python (lol)
* Magic the Gathering
* Habbo Hotel (with pool both closed and open)
* Dwarf Fortress
* printf() format string
* x86 memory management unit
* Super Mario World (https://www.youtube.com/watch?v=hB6eY73sLV0)
* Crabs (https://www.pcgamesn.com/doom/crabs)
* Many web services' APIs
* Your mom's ass (citation not needed)
The last two cases are also important, because exposing a Turing-complete set of commands to the outside world, which web APIs must do by definition and your mom's ass maybe only by accident, bears enormous security implications and might allow the attacker to gain control of a web service (and maybe of your mom's ass too).
Most programmers however either do not know about this problem or do not see this as a problem. In fact, lacking Turing-completeness is often seen as a flaw and it is even forcefully added even into things that DEFINITELY DO NOT need it, such as configuration files. How many times have you seen a programming language used for configuration, such as it is often the case with Lua or even JavaScript (looking at Loonix people here)? This mindset has to change. Otherwise, we will all continue to live in the world of abhorrent improperly designed software.
To build better things, one should try and buiild things rather than stealing them and staring at them.
No idea what commitment #therapy is, but I probably should print these on MPC
https://www.newharbinger.com/9781648481239/act-daily-card-deck/
(And look up commitment therapy, if it means what I think it does, it may be pretty cool)
Did you know I'm making a point & click adventure set in an alternate history steampunk-ish old west?
Well, I am!
QT: https://mastodon.nzoss.nz/@strypey/110384505356947064
When you are heartbroken by your child's dopamine adiction, remember! You need to feel solidarity with big tech engineers who implemented exploitative attention grabbing facilities.
Because "hierarchy".
Fuck's sake, sometimes being left-leaning is embarrassing.
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.