UndercoverUlrikHD

joined 1 year ago
[–] UndercoverUlrikHD@programming.dev 2 points 1 month ago (8 children)

GOG guarantees that every game is DRM free and can be offline. Steam makes no such guarantees, and most games there will ship with some form of DRM.

[–] UndercoverUlrikHD@programming.dev 9 points 1 month ago (8 children)

I'd be interested in hearing the thoughts of some admins - would !football@lemmy.world be interested in moving to [!football@soccer.forum](/c/football@soccer.forum), given the right organization?

I'm not the main mod of !football@lemmy.world so it's really not my decision to make, but moving the community to a domain with the word soccer in it is a tough pill to swallow. As silly as it may sound, there's a lot of people that don't like having football referred to as soccer.

Moving away from lemmy.world and their annoying VPN restrictions would be nice though.

Yeah, it's why I always choose GOG over Steam when I have a choice, even if it costs slightly more.

[–] UndercoverUlrikHD@programming.dev 2 points 1 month ago (2 children)

Hmm, I thought it was more recent, but it sounds about right!

[–] UndercoverUlrikHD@programming.dev 4 points 1 month ago (4 children)

There was a lot of noise surrounding GOG a few months back about something like that. GOG was going in that direction but had to pull back/remove the game(?) to due backlash.

[–] UndercoverUlrikHD@programming.dev 16 points 1 month ago (2 children)

Yeah you're right, local neighborhood militia sounds much better /s

The police do a valuable job if you're living in a functional society.

[–] UndercoverUlrikHD@programming.dev 1 points 1 month ago* (last edited 1 month ago) (1 children)

I don't want to get into an Internet argument over pedantry. Linter is often used as a catch-all term for static analysis tools.

Wikipedia defines it as

Lint is the computer science term for a static code analysis tool used to flag programming errors, bugs, stylistic errors and suspicious constructs.

Catching type errors and attribute errors would fit under this description, if you use a different, more precise definition at your workplace, cool, then we just have different definitions for it. The point is that your IDE should automatically detect the errors regardless of what you call it.

[–] UndercoverUlrikHD@programming.dev 2 points 1 month ago (3 children)

OP suggested that linters for python won't catch attribute errors, which they 100% will if you use type hints, as you should.

What happens at runtime is really relevant in this case.

[–] UndercoverUlrikHD@programming.dev 16 points 1 month ago (11 children)
class MyClass:
    def __init__(self, x: int):
        self.whatever: int = x

def foo(x: MyClass) -> int:
    return x.whatevr

Any decent IDE would give you an error for unresolved attribute. Likewise it would warn you of type error if the type of x.whatever didn't match the return type of foo()

I get it. My parents/hometown is a days travel away so I only visit ~two times a year. It's hard to stay in touch with all your old friends when you rarely see them. If you're just an hour away it's much easier to keep touch with your old circle.

[–] UndercoverUlrikHD@programming.dev 3 points 1 month ago (2 children)

Seems reasonable if you don't move to another city

Once operational, the energy generated is cheap and will still be in demand

view more: ‹ prev next ›