@cuchaz That's the Crockford's JSON license. He actually had to make an exception for IBM, at their request they and their customers are allowed to use the software for evil.
@deshipu Wow, nailed it!
I had no idea this was famous.
I just encountered a software library using an otherwise plain MIT license except for one small addition:
"The Software shall be used for Good, not Evil."
This is the first time I've seen something like this and I absolutely love it!
It's a no-op for hobbyists, researchers, etc, but an absolute poison pill for any organization serious enough to have a compliance department.
Fun adventures in Rust continue!
Apparently Rust is severely allergic to dynamic linking, which makes things like plugin systems very tricky to build. It's not easy to get working, but it does appear to be technically possible, with a lot of caveats.
Unfortunately, that allergy means support for dynamic linking in tooling (like CLion) isn't very good.
I submitted an issue to the intellij-rust maintainers. Hopefully some good will come of it!
Also, this oldie goldie from SMBC really fits in here.
@xorowl Rust, being much newer than C and C++, handles this very elegantly with compiler-defined size types.
@xorowl even on a 64 bit machine/process, some libraries still use 32 bit ints for sizes, with unchecked accesses, especially older code. =(
@xorowl What? You mean you don't want the computer to just do things for you (like organize your files) without any direction from you and that won't lead to any problems ever, right?
@xorowl Haha, no worries there. Folders will eventually be gone from the UX entirely:
@xorowl There's probably a One True System Device that's referred to only by a static GUID or some other such nonsense that MS APIs love to do. And it's probably baked into Windows internals since the early days so it's hell to change now. Bummer. =(
@xorowl Yeah, I was worried Windows wouldn't like remapping its system folders. Alas, Windows just wasn't designed for this kind of customizability.
@xorowl Yeah, windows definitely makes these things harder. I want to say some of the fancier versions of Windows allow mounting folders in arbitrary places just like Linux does, but it's probably not easy to set up.
@xorowl uhh… this is super easy to do in Linux. Just mount the home folder on a separate partition or device from root. Does your OS not support that?
Building products using embedded electronics. Or trying to.
This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!