Nevermind, i just spotted the semicolons :)
- 1 Post
- 19 Comments
It could be Typescript or Rust. But probably a lot of oter languages have enums expressed like this too. Likely not C, because no semicolon, and no prefix on the variants.
myotheraccount@lemmy.worldto
Linux@lemmy.ml•Wayland - How Best to Log My Own Desktop Activities
4·18 days agoIt’s been a while since I looked into details of wayland, but one thing I recall is that a lot of things depend on the specific compositor / desktop environment you are using.
X is very open: you can easily query open windows etc, while on wayland things are less standardized / more hidden.
Which compositor do you use?
myotheraccount@lemmy.worldto
Programmer Humor@programming.dev•I'm new to using Ruby and this tickled me pink
1·2 months agoAnd I’m the only one too!
myotheraccount@lemmy.worldto
Programmer Humor@programming.dev•I'm new to using Ruby and this tickled me pink
16·2 months agoIntegers are just integers in ruby, with no structure backing them. They behave like objects, but only in some respects. You can call methods on them, but you can’t extend individual numbers with properties for example (which would require them to have structure).
myotheraccount@lemmy.worldOPto
Linux@lemmy.ml•[SOLVED] Looking for restrictive Linux desktop firewall
3·2 months agoThank you! Exactly what I’m looking for.
myotheraccount@lemmy.worldOPto
Linux@lemmy.ml•[SOLVED] Looking for restrictive Linux desktop firewall
3·2 months agoThanks 🙏 Opensnitch is exactly what I’m looking for
myotheraccount@lemmy.worldOPto
Linux@lemmy.ml•[SOLVED] Looking for restrictive Linux desktop firewall
2·2 months agoThanks, I’m aware, but I’m looking for an interactive application that lets me create rules on the fly. I don’t want to have a one-time session where I check which tools connect to what, but rather something that interrupts me throughout the day…
If such a thing doesn’t exist, tipps on how to build it are welcome too though.
myotheraccount@lemmy.worldto
Linux@lemmy.ml•Under the hood (not de's or gui) what REALLY separates linux from windows?
4·2 months agoFreeBSD is actually a “real unix”, in the sense that it is derived from the original source. Wikipedia has this nice ancestry tree: https://upload.wikimedia.org/wikipedia/commons/7/77/Unix_history-simple.svg
myotheraccount@lemmy.worldto
Programmer Humor@programming.dev•Coincidentally, FFM peg is also something you can find on the hub
4·3 months agoI didn’t. But now that I see both answers work: I meant both
myotheraccount@lemmy.worldto
Programmer Humor@programming.dev•Coincidentally, FFM peg is also something you can find on the hub
19·3 months agoAnother thing you can find on the hub
myotheraccount@lemmy.worldto
Ask Lemmy@lemmy.world•What is the best Power Outlet, and why?
6·3 months agoI’ve seen type G plugs which have a plastic pin for the earth connection
I hadn’t seen Idris2. Thank you for providing me with a new rabbit hole!
ftfy
bool IsEven(int number) { return !IsOdd(number); } bool IsOdd(int number) { return !IsEven(number); }
Teleportation. Only eorks while noone is looking though
myotheraccount@lemmy.worldto
Programmer Humor@programming.dev•Python needs an actual default function
6·5 months agoI thought confusion about indent levels was the whole point of using python
I’m just glad they are not calling random stuff “blockchain” anymore



Every single other person could also be called the problem, because they knowingly let John do all the work, and apparently weren’t interested in sharing the responsibility.