Making properties visually stand out in #TypeScript:
const options: Record<string, ParseArgsOptionDescriptor & { '🟢': string }> = { /* ... */ }
7 results for “rauschma”
Making properties visually stand out in #TypeScript:
const options: Record<string, ParseArgsOptionDescriptor & { '🟢': string }> = { /* ... */ }
One fascinating aspect of the press reporting “company X is in trouble” (assuming you want that company to succeed 🙈) is that that is already the result of the prior months if not years. It doesn’t necessarily tell you anything about that country’s future.
The usefulness is more obvious with nested data:
{
id: 'abc',
keywords: Map(2) { 'a' => 1, 'b' => 2 },
authors: Map(1) { 'c' => 3 }
}
You can’t copy this and use it in code!
> console.log(new Map([['a', 1]]))
Map(1) { 'a' => 1 }
I think I’d prefer the following output:
new Map([ [ 'a', 1 ] ])
Another option:
new Map().set('a', 1)
Why? Then you can copy-paste data logged to console and use it, e.g., for tests.
LLM-generated texts: When I read them, I find it hard to process/remember what I’m reading. They feel bland and like they lack structure. Same for YouTube videos based on LLM-generated texts and even worse if the voice is computer-generated.
I was wondering if it was just me, but there is research on this: https://arxiv.org/html/2610.29162v1
#MacOS feature “Displays have separate Spaces”: You can decide between the spaces of your 2+ displays moving in unison (off) or separately (on).
However, if you switch it off then two features are displayed:
• Drag windows to left or right edge of screen to tile
• Drag windows to menu bar to fill screen
Seems weird to me: Why not tile per-screen (plus maybe options to fill more than one screen)?
RE: https://mathstodon.xyz/@4raylee/117693055477598666
I find Knuth’s (*) obsession with errors interesting:
• On one hand, having no errors is nice.
• On the other hand, “having no errors at all” carries a feeling of fossilization to me. At least for me, if something I write (code or natural language) grows beyond a certain size, there is no single state of perfection: No matter what I change, there are always some inconsistencies.