> npm ruin dev
#freudian_slip or regular typo? 🤔
| Pronouns | he/him |
| Website | https://mattiloh.de |
> npm ruin dev
#freudian_slip or regular typo? 🤔
1/ #JavaScript: Neat Intl.Collator option: `numeric`. It compares numbers (anywhere!) numerically, not lexicographically:
> const collator = new Intl.Collator('en-us', {numeric: true});
> ['b', 'c', 'a', '1', '10', '2'].sort(collator.compare)
['1', '2', '10', 'a', 'b', 'c']
> ['1 day', '10 days', '2 days'].sort(collator.compare)
[ '1 day', '2 days', '10 days' ]
> ['in 1 day', 'in 10 days', 'in 2 days'].sort(collator.compare)
[ 'in 1 day', 'in 2 days', 'in 10 days' ]
Hey folks, I have left Netlify and am beginning to look at what's next for me. Things I enjoy doing:
• building prototypes
• teaching
• writing, especially technical writing
• architectural synthesis (what should the system look like)
• organizational problem-solving (what should the org look like)
• analysis (what does the data say we should do)
I'm especially interested in companies doing interesting things with LLMs. If you think there's an opportunity I should hear about, let me know.
Mastodon's Mastodon'ts.
There are a few fundamentally broken things about how Mastodon posts work that are terrible vectors for abuse, as well as being bad for basic usability. Maybe they are fixable, I don't know. To be clear: I am a fan of Mastodon....
https://jwz.org/b/ykC_

There are a few fundamentally broken things about how Mastodon posts work that are terrible vectors for abuse, as well as being bad for basic usability. Maybe they are fixable, I don't know. To be clear: I am a fan of Mastodon. I have been enjoying my time there much more than I ever enjoyed Twitter or Facebook or Instagram. And I am 100% in the "I won't touch anything Jack Dorsey has ...