Tech by trade, politics and law by hobby. But, like, trying not to be the type of person you'd assume that describes? 😬
I think humanity went off the rails the first time someone wished they knew what time it was.
We're 35 years on from this screenshot and most people *still* don't know the quiet joy of having truly custom apps on their main toolbar that aren't malware.
We're 35 years on from this screenshot and most people *still* don't know the quiet joy of having truly custom apps on their main toolbar that aren't malware.
The president only got reported upon on alternate Tuesdays instead of now and also NOW.
The president only got reported upon on alternate Tuesdays instead of now and also NOW.
Across the board, it's the desire for rigidity that's the problem.
Across the board, it's the desire for rigidity that's the problem.
It's worth pointing out that my post above could nullify the powers of that agency, but would not allow it to be taken over.
It's worth pointing out that my post above could nullify the powers of that agency, but would not allow it to be taken over.
Mine was improvised, I would love the idea of a class that is somehow defined by its unit tests, but:
1. The above doesn't compile due to a circular type definition,
2. It would be a nightmare to maintain, and,
3. The above doesn't compile due to #1.
Mine was improvised, I would love the idea of a class that is somehow defined by its unit tests, but:
1. The above doesn't compile due to a circular type definition,
2. It would be a nightmare to maintain, and,
3. The above doesn't compile due to #1.
type Tested<T extends Tested<T, [Test<T>]>, U extends [Test<T>]> = T;
class MyService implements Tested<MyService, [typeof myUnitTest]> { /* ... */ }
function myUnitTest<T extends Test<typeof myUnitTest>>(target: T): boolean { return target !== null; }
type Tested<T extends Tested<T, [Test<T>]>, U extends [Test<T>]> = T;
class MyService implements Tested<MyService, [typeof myUnitTest]> { /* ... */ }
function myUnitTest<T extends Test<typeof myUnitTest>>(target: T): boolean { return target !== null; }