[-] FizzyOrange@programming.dev 22 points 3 weeks ago

>= and <= match the mathematical operators. The question you want to ask is why doesn't it use = for equality, and the answer is that = is already used for assignment (inherited from C among other languages).

In theory a language could use = for assignment and equality but it might be a bit confusing and error prone. Maybe not though. Someone try it and report back.

[-] FizzyOrange@programming.dev 22 points 1 month ago

You missed the point. He understands all these things you tried to explain. The point is that your definition of the word "concurrency" is objectively wrong.

You:

you seem to be doing multiple things at the same time. In reality they are run little by little one after another

The actual meaning of the word "concurrency":

The property or an instance of being concurrent; something that happens at the same time as something else.

Wiktionary actually even disagrees with your pedantic definition even in computing!

(computer science, by extension) A property of systems where several processes execute at the same time.

I suspect that concurrency and parallelism were actually used interchangeably until multicore became common, and then someone noticed the distinction (which is usually irrelevant) and said "aha! I'm going to decide that the words have this precise meaning" and nerds love pedantic "ackshewally"s so it became popular.

[-] FizzyOrange@programming.dev 21 points 1 month ago

Yeah it always bothered me that they're saying "concurrency is not concurrency".

I'm going to start using "multitasking" instead. That's so much better. Who's with me?

[-] FizzyOrange@programming.dev 20 points 1 month ago
def foo(x):
  return x.whatevr

No linter is going to catch that.

[-] FizzyOrange@programming.dev 24 points 2 months ago

Rust is the obvious answer, though I dunno how suitable it really is for games - the most popular game engine is Bevy and I'm not sure I like it too much. Also there seems to be much more focus on game technology than making actual games.

Don't worry about it being "functional" though. It did support lots of FP features but the typical style is much more like imperative C++ than Haskell.

I would also look into Zig though.

[-] FizzyOrange@programming.dev 19 points 2 months ago

Good. I had a couple of answers to one of my questions that just wasted my time before I realised they were AI. The authors didn't get banned annoyingly.

[-] FizzyOrange@programming.dev 23 points 4 months ago

Eh web rings were pretty lame even when they existed. There are plenty of ways to find new stuff these days. I hear they even have sites where anyone can post links and vote on which ones are good.

[-] FizzyOrange@programming.dev 23 points 5 months ago

I feel like this is one of those XKCDs that automatically opts you out of sensible debate if you post it.

[-] FizzyOrange@programming.dev 25 points 6 months ago

I disagree. People run Bash scripts they haven't read all the time.

Hell some installers are technically Bash scripts with a zip embedded in them.

[-] FizzyOrange@programming.dev 22 points 6 months ago

The reason systemd absorbs other services is because it's trying to make a proper integrated OS userland. Having a load of separate components that don't really know anything about each other kiiind of works, but it's super janky.

For example Windows has supported a secure attention key sequence (ctrl-alt-del) for literal decades. Linux still doesn't support this very basic - and critical for shared computing environments like schools - feature, because it requires coordinating X11 and logind and the kernel and god knows what else and they simply aren't properly integrated.

The systemd hatred strongly reminds me of when Xorg started automating the config and you no longer needed xfree86config. You didn't need to manually write mode lines and tell X that your mouse had 3 buttons, and some people did not like that.

Yes it sounds completely insane that people wouldn't like this obvious improvement where things used to require tedious manual configuration and now they worked automatically but some people really didn't I promise! My theory is that it's because a) it made their hard won knowledge obsolete, making them less smart relatively, and b) they resented the fact that they had to go through the pain but new people wouldn't and that isn't fair.

Seems similar with systemd. I would like my laptop to sleep properly please.

Also I have actually read some of the sudo source code. There's absolutely no way that code should be SUID. Insane.

[-] FizzyOrange@programming.dev 20 points 7 months ago

Wow I was wondering what toolkit they were going to use... apparently the answer is "yes".

[-] FizzyOrange@programming.dev 24 points 7 months ago

Neat FP style. Pretty verbose though. Someone should invent a terser syntax so you don't need to write do_two_things everywhere. It's a common operation so maybe it could even be a single character.

view more: ‹ prev next ›

FizzyOrange

joined 1 year ago