JustTesting

joined 1 year ago
[–] JustTesting@lemmy.hogru.ch 2 points 1 year ago (8 children)

Seconded, i love my Boox. it just runs android (with tweaks for e-Ink) and you can install what you want from the play store, it's not locked down.

You can even install the Kindle app if you ever do want an Amazon ebook, works really well.

It's also nice for using apps of various newspapers.

Plus the ones with a stylus make for a great notebook.

I wouldn't recommend the color ones, it's nice for comics but the colors just aren't vivid and it's not there yet in terms of quality.

[–] JustTesting@lemmy.hogru.ch 1 points 1 year ago

This would be trivial in python with something like

from typing import overload
from enum import Enum

@overload
def hash(password: str, algorithm: BCryptAlgorithm, options: BCryptOptions):
    ...

@overload
def hash(password: str, algorithm: Argon2Algorithm, options: Argon2Options):
    ...

def hash(password: str, algorithm, options):
    [...implementation...]

Of course it's python, so at runtime it wouldn't matter, but the static type checker would complain if you called hash with BCryptAlgorithm and Argon2Options. You could also have it return different types based on the arguments and then in call sites it'd know which type will be returned based on the type of the arguments. And only the last function has am implementation, the @overload ones are just type signatures.

It's documented here.

[–] JustTesting@lemmy.hogru.ch 4 points 1 year ago

Autodesk Fusion 360. There's just not really a free competitor imo when it comes to CAD/CAM software, it's all Fusion or Solidworks.

[–] JustTesting@lemmy.hogru.ch 1 points 1 year ago

There's currently a known bug with nvidia and steam, might be what you're having. See https://github.com/ValveSoftware/steam-for-linux/issues/9634 There's some workarounds there that worked for me

[–] JustTesting@lemmy.hogru.ch 2 points 1 year ago

You could use dependency injection to set up config once and inject it where needed. at work we use https://pypi.org/project/inject/ . It has its quirks with the autoinjection, you sometimes need to tell it explicitly which parameters to inject, but works great overall.

view more: ‹ prev next ›