106 karma · joined Sep 4, 2022 (4y ago) · 25 submissions
comment 17h ago · link · parent
A tip for anyone who tries it. You can control the size of the battlefield by zooming the page in or out.
comment 1y ago · link · parent
I think this is called a negation type, and it acts like a logical NOT operator. I'd like it too, and I hear that it works well with union types (logical OR) and intersection types (logical AND) for specifying types precisely in a readable way.
comment 1y ago · link · parent
is there a parser that says that it's Yaml 1.2 compliant that uses that regex? I don't know of one.
comment 1y ago · link · parent
The pattern it made was also wrong, but I think the first issue is more interesting.
comment 1y ago · link · parent
comment 1y ago · link · parent
comment 1y ago · link · parent
For this reason, I very much appreciate the dataclass decorator. I notice that I define classes more often since I started using it, so I'm sure that boilerplate is part of the issue.
comment 3y ago · link · parent