sorted by: new top controversial old
[-] chrismit3s@feddit.de 6 points 10 months ago

If you wrote the type signature of get_user as tuple[User, None] | tuple[None, Exception], the assertion would not be necessary and the type checker wouldn't complain.

[-] chrismit3s@feddit.de 1 points 10 months ago

+1, no problems at all so far, been using them almost daily for a year now on both linux and android.

[-] chrismit3s@feddit.de 8 points 10 months ago

and even today, by using an old Android API iirc

Nope, the required API to have your app in the Playstore constantly rises, and if you don't comply you get kicked. The current API version is something around 26, and definitely has the permissions model integrated.

[-] chrismit3s@feddit.de 3 points 11 months ago

Well how do you want to use said get function?

let x = config.get("key").await;

So what type should x have?

[-] chrismit3s@feddit.de 2 points 11 months ago

You can see it in the image you linked.

[-] chrismit3s@feddit.de 8 points 1 year ago

What do you mean exactly? A running system shouldn't spontaneously break from not being updated. It's just that partial upgrades can break compatibility/dependencies, but running full system upgrades should be fine, as long as you pay attention to breaking changes and major version bumps. Also with timeshift it should always be possible to get back to a working state.

[-] chrismit3s@feddit.de 6 points 1 year ago

Can you still hibernate and suspend?

chrismit3s

joined 1 year ago