Metju

joined 1 year ago
[โ€“] Metju 2 points 3 weeks ago

Dance Devil Dance

Well... It's difficult to even say wtf is going on there ๐Ÿ˜…

[โ€“] Metju 1 points 1 month ago (1 children)

It has entry in WineHQ that the license won't activate, so... Yeah, it's effed

[โ€“] Metju 3 points 1 month ago (3 children)

2 flavors of Fedora with KDE on it:

  1. Aurora-DX for some dev work on the side. Once you get used to distroboxing / devcontainers, it's rock-solid and mean dev environment (saw some minor issues with how certain GUI apps were scaled, but that's about it).
  2. Nobara for gaming (tried Bazzite and it'd prolly work for that purpose as well).

Unfortunately, had to keep Windows on one other machine (fuck you KORG for not providing anything working on Linux), but that's limited to being a glorified music player now ๐Ÿ˜„

[โ€“] Metju 1 points 1 month ago (1 children)
  • .Equals and == have different meaning in C#. Decent IDEs will warn you about that (and yes, that excludes Visual Studio, but that always was crap ๐Ÿ˜„).
  • As for (re)assignments - I don't see an issue with that, tbh; you only have to be aware of whether you're using a reference- or value type (and if you aren't, then let's be honest - you have bigger problems).

I admit, "canonical C#" looks like shit due to a fuckton of legacy stuff. Fortunately, newer patterns solve that rather neatly and that started way back in C# 6 or 7 (with arrow functions / props and inlined outs).

Tl;dr: check the new features, fiddle with the language yourself. Because hell, with ref structs you can make it behave like quasi-Rust

[โ€“] Metju 1 points 1 month ago (3 children)

And what would that equality entail? Reference equality? You have .Equals for that for every single class. Structural equality? You can write an operator for that (but yeah, there's no structural equality out of the box for classes, that I have to concede).

Hell, in newer C# (~3-4 versions back, I don't recall off the top of my head) you have records, which actually do support that out of the box, with a lot more concise syntax to boot.

As fir that being Java all over again: it started off as a Java clone, and later on moved in its own direction. It has similar-ish syntax, but that's the extent of it.

[โ€“] Metju 1 points 1 month ago (1 children)

C# on Visual Studio is a fucking nightmare. Switched to Rider on WSL the first chance I had, not looking back.

Then again, if this is running on .NET Framework, there is no choice, afaik. You get a buttplug made of barbed wire in Windows + VS, and you'll like it

[โ€“] Metju 2 points 3 months ago

Surprised no one mentioned Memento.

I'd say that you HAVE to re-watch it to understand wtf is going on.

[โ€“] Metju 3 points 3 months ago

While they do work, the UX is kinda gimped (knowing Micro$oft - that's on purpose).

Source: using Rider Snap in Ubuntu in daily work

[โ€“] Metju 1 points 3 months ago* (last edited 3 months ago)
[โ€“] Metju 3 points 3 months ago

Recent Linux convert here. Had some small background with it due to use at work (through WSL, unfortunately ๐Ÿ˜…). When Windows became too overbearing and intrusive for my own taste, decided to take a plunge and created a dual-boot setup with Bazzite (of course on my private machine). It was honestly refreshing to see stuff run with the same (or sometimes even better) performance.

This short anecdote now leads me to the conclusion; is it as good as we think it is?

Imo: hell fuckin' yeah. It gets the job done and respects me as an end-user (with the trade-off of "some manual work might be required").

Also, as a side-note: I live in the EU; I grew tired with an overbearing, salesman/rapist-like mentality of MS (and Windows, by extension) while reaping benefits of some modicum of privacy regulations. I cannot even begin to fathom how fucked the situation is where ppl don't have these protections to rely on.

[โ€“] Metju 4 points 3 months ago

This is the right answer imo. While it might be an overkill for sth like 404s, it's amazing for describing different bad requests.

[โ€“] Metju 6 points 3 months ago

There is an old anecdote about this kind of situation; Postman (P), Recipient (R):

R: what are you doing? P: I left a notice that I tried delivering a package and you weren't home. R: But I clearly was! P: R: <bashes postman's face in> P: WTF, MAN!? R: It wasn't me, I wasn't home.

view more: next โ€บ