

A wild guess… Magik/Smallworld? That was it for me.


A wild guess… Magik/Smallworld? That was it for me.
That’s not the answer. It’s an answer. The question isn’t very contained so there are a lot of answers. You can get someone else to switch the switches in order while you watch. Or you can install a camera in the room and then pull the switches. You can keep the door open to see which switches works, etc. Probably a million more solutions.


Personally I probably wouldn’t advise NixOS to someone new to Linux. I think it’s best to get familiar with how linux does things in a more conventional setup first. And then transition to a declarative setup. But it kinda depends on the person as well, and how willing they are to learn and how comfortable they are with writing such a config.
That said, I would be very curious how the switch straight from Windows to NixOS would be experienced by someone. So if you do so, feel free to post your experience on the NixOS community :)
This is why I stopped using Gnome. After every update most of my extensions stopped working. Some took ages to get up to date or were abandoned. And there was no simple way to enable all extensions that the update disabled, having to manually enable them one by one. Maybe that has changed now? It’s been yearsnow… Not that I would go back anyway, tiling managers is where it’s at.
If string return nan, else % 2
So now you return a number type if it’s a string and a boolean if it’s an integer. How does that make sense?
The is-even lib exists to sanitize input by throwing an exception which imho is better.
Edit: having looked at the code better. Apparently it still allows string coercion (boo). It only checks for non integer numbers.
To be fair in a dynamic typed language with dumb string to int coercions, I kinda get why such a library would exists. So it’s more a symptom of terrible language design than modern dependency hell.


I did, but I couldn’t remember it. so thanks!


In c style languages, Java, c++, rust, etc.
An Inch meant something different for most countries not too long ago. If the Chinese inch is a knockoff, then so is the US inch. Only the UK inch is the one truly inch!
Malicious compliance is always the way to go to please dumb managers.


I think it’s a fair strategy. If they know what happens if you do it wrong people suddenly complain less about rust’s borrow checker. Whereas people who are only used to garbage collected language don’t usually have the slightest clue why it works the way it does.


I disagree. I love it for a desktop system . The fact that you can just try a package/app out with nix shell -p pkg and it doesn’t mess with your global environment and don’t have to bother to uninstall/clean up is very nice. Also combined with direnv/shell.nix it’s really nice for setting up different dev environments, no need to globally install your dev tools (of course you can also do this without nixos too). Or the fact I can run a test variant of my setup without being afraid of corruption with nixos-rebuild test and it will never be able to fuck my existing setup…
Of course, configuring everything in a single structure is a bit of work at the beginning. But it’s really not that bad (though the documentation could really use some work) . You can just reuse your existing dot files by just including them without converting them to the nix language. And the fact I can now update and configure all my systems from one place and one structure is amazing, without having to ssh in every machine and remember how it’s configured.
Now does that mean it’s the final distro? Probably not. But would I go back to a non-declaritive setup? Most definitely never. Maybe I’ll try out guix sometime, but I personally never liked lisp variants as a language. But who knows what else comes along. But imho declarative is the way to go for any setup, desktop or server.


Are all mediatek’s horrible? I’ve got one in my desktop but it’s just terrible. Randomly crashes my whole pc after a while. And the only way to fix it is to cmos reset the motherboard. It’s forever disabled in the bios now, which also means no Bluetooth sadly. Just wondering if I had bad luck or to always avoid them.


Exactly, if garbage collection meant memory safety then why do we get null pointer exceptions about every 5 minutes in Java. Garbage collection is about memory leaks, not safety. Imho the borrow checker is a better solution than garbage collection and faster to boot.
It’s been about 20 years since I’ve touched PHP. So i don’t remember all the problems i had with it.
But some language from those times were at least consistent with itself and clearly more thought-out. Even though they might miss some of the nicety we’ve come to like nowadays. Of course for web development there weren’t many better choices back then.
But I’m heavily skewed towards non-oo, static typed, explicit languages so PHP was probably never for me.
I somewhat know the history of PHP and how it came to be. And that it was just a personal project that suddenly got big. So I don’t blame the creator. But that still doesn’t make it a good language.
Let’s be honest though. The early PHP versions were absolute dog shit. And the definition of how not to design a programming language. That said, that never stopped anyone in web development from using it apparently. No clue what modern PHP looks like, apparently it’s better now.
I understand it will be a cat and mouse game. But surely its possible to make a curated list of big offenders akin to advertisement block lists?
Hmm seems coincidence yes. Though Magik is also very niche… I think it was more Pascal inspired and later ported to jvm. I guess the name and Emacs were just a sign of the times.