npmx is the friends we made along the way
npmx is the friends we made along the way
At the end of the day I still think the best strategy if your goal is to reach a wide audience is to just make the best stuff you can. Iβve seen no compelling evidence to suggest that futzing with algorithms, timing, keywords, etc. outperforms that in the long run.
This supports my growing suspicion that best practices for AI are all the same as best practices for people
Ah, `position: sticky` is the trick! That's much better than `fixed`, thanks for the tip @colinhowells.com!
I'm sure I'm missing something obvious, but isn't this still just for anchor links? With `scroll-padding` alone the top of the page is still hidden behind a fixed header for me
`scroll-padding` and `scroll-margin` are one of those little details that help make a good site great, but I thought they were only for anchor links. You still need to use them alongside regular padding/margin for the top of the page right?
Is the header a dynamic size? There's always the tried & true `position: fixed` header with a top margin on the body
markojs.com/playground#d...
The MacOS night shift settings. Since there is no "always on" option, I set it on a schedule that starts at 4:00 am and ends at 3:59 am
night shift: always
`px` is dead, long live the `rem`
The Marko and UnoCSS logos, some Marko mascots, and a button HTML element with a HUGE list of classnames that goes off the page
Marko π€ UnoCSS
@unocss.dev now reads `.marko` files by default!
You can even access the HTML elements as members of `e.target`! Type safety isn't quite there, but it's helpful for focus management
```
e.target.name.focus();
```
svelte.dev/playground/f...
I built the same app 10 times: evaluating frameworks for mobile performance
New post!
www.lorenstew.art/blog/10-kanb...
The most egregious examples I've seen aren't really because of Lit but because of people who don't understand web.
I worked on an app once that managed routing with a Lit component, so JS to render every page on the site was sent on every request
Most of my negative experiences with Lit are from apps where people tried to use it as a framework. Happy to see that this isn't the vision.
Write less boilerplate
Check out our updated examples on Component Party
component-party.dev?f=marko
Is it still standard to do use `px` for media queries? I read somewhere that `rem` is preferred because it respects system-based font size overrides
CodePen is too slow
I catch myself using the Marko playground for tons of little utilities & demos that use zero Marko features
markojs.com/playground#d...
We have a Pure CSS (JS only for toggle) hamburger menu for navigation on markojs.com
Excited for this one!
SoME4 peer review is open!
Skimming over the entries list, I'm really impressed by the quality and work everyone put in their entries. We've got some gems in there.
Time to review, vote and spread the word!
some.3b1b.co
Saving tokens is good, but I fear the inevitability of guidelines for people disagreeing with those for LLMs
Why separate guidelines for AI and people? Can we beef up CONTRIBUTING.md instead?
For intuitive Geometry, "Measurement" by Paul Lockhart is awesome
www.hup.harvard.edu/books/978067...
Turns out I'll be giving a talk this Thursday at SFNode π«£
lu.ma/yf3yqjt2?tk=...
make the internet clunky again
Join us on Saturday, April 26, for our second-ever All Things Web Hackathon, hosted at @sentry.io! Come collaborate, create, and compete for two awards - plus some awesome prizes - while bringing your ideas to life.
Sign up here: lu.ma/ft218za3
Maybe pretty close to what it would look like if it were built for screen readers firstβ clear hierarchy, high information density, related concepts as close together as possible
Mental Models
Forms & Links - rerender everything, every click
jQuery - imperatively perform updates
React - rerender everything, every click?
In the Bay Area? Like Any and All Things Web? Come join us for an evening @sentry.io HQ!
Food, drinks, community, and technical talks...what else could you ask for?
I'm extra excited this month because we'll be hearing from @aidenybai.bsky.social, author of React Scan π
lu.ma/wcfeo5jc?utm...