Ethan's Wiki Update #17
Hello! Sharing a few stories I read, and a few tricks in CSS.
What’s New
Bad Keyboards Thread - stupid but funny and they actually work
The Poetry Keyboard - “Each key has a word or part of a word on it, and when pressed, it types that word.”
The Binary Keyboard - “You just set the 7 switches to the ASCII character you want to type. Simple!”
The least amount of CSS for a decent looking site
E.g.
max-width: min(70ch, 100% - 4rem);
Never, ever use system-ui as the value of font-family
Got this link from this HN comment
It causes problems on Windows and for some system languages like Chinese and Korean
A pragmatic guide to modern CSS colours
rgb(),hsl(), relative color,light-dark(), color spaces and more
The story of searching for solutions, building and perfecting prettier
80-20 rule does not apply to formatter, it has to be 100% working
Snapshot testing: see if the differences between snapshot is intended or not
Idempotency test:
prettier(input) == prettier(prettier(input))Challenges: comments, chained methods, expanded last argument, object literals, missing semicolons
Making it easy to maintain consistency lower the stakes of “tabs vs spaces” debates
Funding and maintaining the project is the ongoing challenge
Entrepreneurship stories page:
How Dan Ni Founded TLDR, the Definitive Silicon Valley Tech Newsletter
Overcoming medical syndrome, unfulfilling experience building SaaS, to starting TLDR on the side
1.6M subscribers, $30K per ad
How to curate and what’s worth to be included:
If you wouldn’t forward this to your colleagues in Slack, don’t put it in the newsletter
I think this is how I wanted to run this Wiki page for myself too.
Random
Talking about programming stories, there is Fixing a Bug in Google Chrome as a First-Time Contributor. It is an interesting read of the process of debugging, fixing, submitting a change list, writing tests and releasing.
And talking about entrepreneurship stories, there are two solo-entrepreneurship stories that I like a lot too. And more in the entrepreneurship stories page.
My solopreneur story: zero to $45K/mo in 2 years | Tony Dinh (HN)
Creator of Xnapper. His few examples of growing a business in solo and the goods and bads of his lifestyle
From failed experiences, to building audience, growing 4 successful products
Running One-man SaaS, 9 Years In (HN)
Running healthchecks.io, more in the blogs on infra setup and philosophy on running 1 man SaaS
