Live data from Hacker News

Small, native web tricks worth remembering

htmlcat.net

31–40 of 73 posts

Re: Small, native web tricks worth remembering

#32
post #4

There are some good descriptions and hints, but what the site really needs is examples. Just looking at the code doesn't help me much. The descriptions are also mostly so short, that they could just as well be tooltips on the homepage. The whole premise of the page is a collection of "web tricks worth remembering" and I can't fathom what bash (e.g. `du -hd 1 . | sort -hr`) is doing there.

fwiw I find `*` a lot easier in regular use than all of `-d 1 .`. It doesn't automatically expand to dotfiles but for regular typing, this advice looks like something you'd do if you're a robot or making an alias

Re: Small, native web tricks worth remembering

#39

Neat! I like these opinionated lists, especially when it’s easy to browse and cherry-pick useful stuff. It’d be very good to mention how compatible the features are, though. Especially with newer CSS features, it’s easy to overestimate how ready they are for all browsers. For that, there could just be links to the related MDN and/or caniuse.com pages.

Yes. MDN and caniuse.com are great. See also https://webstatus.dev and https://web.dev/baseline
Post reply on HN