wasabi

joined 2 years ago
[–] wasabi@feddit.de 2 points 1 year ago

str matches most of these contracts, though, requiring additional checks if a str was passed or one of these collections containing strings.

[–] wasabi@feddit.de 3 points 1 year ago (3 children)

But what if you actually don't want str to be valid?

[–] wasabi@feddit.de 3 points 1 year ago* (last edited 1 year ago) (1 children)

I know that Iterable and Collection aren't the same. My point is, that if you use Iterable[str] or Collection[str] as a more flexible alternative to list[str] you no longer have any type-hinting support protecting against passing in a plain string and you could end up with a subtle bug by unexpectedly looping over ['f', 'o', 'o'] instead of ['foo'].

[–] wasabi@feddit.de 1 points 1 year ago* (last edited 1 year ago)

For now. YouTube constantly changes stuff, requiring changes to newpipe. As no one will merge these into the fork, it will stop working when that happens.

[–] wasabi@feddit.de 1 points 1 year ago (2 children)

Seems like it is no longer maintained. Unfortunately that means it is only a matter of time until it breaks forever.

[–] wasabi@feddit.de 5 points 1 year ago* (last edited 1 year ago)

Firefox, Neovim, Tmux, Various KDE applications, Nextcloud, Wine, Signal, OpenSSH

Probably many more

[–] wasabi@feddit.de 7 points 2 years ago (1 children)

Re- not reverse-engineer.

[–] wasabi@feddit.de 7 points 2 years ago (1 children)

Don't do this. Running unpatched software is a recipe for disaster.

[–] wasabi@feddit.de 5 points 2 years ago

It's a rather standard feature. Hardware and software have to be built/configured right for it to work well. That's what Valve did. I don't think there is any special sauce involved software wise.

[–] wasabi@feddit.de 2 points 2 years ago (1 children)

Die Sonne ist KALT!

[–] wasabi@feddit.de 30 points 2 years ago (1 children)

Was ist das für ne Visualisierung? Es sieht so aus als hätte Hasseröder 4x so viel wie Augustiner aber es sind eher ~60x...

view more: ‹ prev next ›