skewty

Results 171 comments of skewty

Is this not the Primitive Obsession code smell? https://refactoring.guru/smells/primitive-obsession ```python from typing import Final, Self import re class Key(str): PATTERN: Final = re.compile(r"^[A-Za-z_-]+[A-Za-z0-9_-]*$") # whatever you want / need def...

IMO these Value classes should be used elsewhere in the code-base as well. Example bucket name.

The GW as written by ThingsBoard is very basic in implementation and is sadly synchronous in nature so it is unlikely to scale well for your use case. Try running...

> Hi @skewty, any updates? Thank you for the opportunity to respond but we have written our own gateways to work around issues we had with the upstream one. I...

IMO the username and password fields should not be quoted. They are unlike the secret string (password) field as they don't have `get_unquoted_value()`. Perhaps that is another way to address...

What would be best is to inspect window properties to determine if the window has top rounded corners and or bottom rounded corners and adjust the hint border accordingly. I...

This needs to be an option. We have two isolated networks here and both have Internet access. Each network provides different resources. The only shared resource being the Internet. Perhaps...

I agree, this is a usability issue

For reference: [freedesktop.org/NetworkManager -- issue 36](https://gitlab.freedesktop.org/NetworkManager/NetworkManager/issues/36)

![image](https://user-images.githubusercontent.com/9087223/145091269-4ef79618-1bf0-4e51-a0ed-b17705e5eb58.png)