Tabnine is actually so good. It starts working out what I type most in specific projects and then autocompletes most of the line for me (if not the whole thing!).
Check it out: https://tabnine.com/
So it turns out that Mastodon uses this exact same `npm start` pattern for its streaming services. Apparently I am able to cut ~18-20kB off of these services by switching from `npm start` to calling `node` directly: https://github.com/tootsuite/mastodon/pull/10032
I would really like to be wrong about this, as it feels like a downright silly fix. So if anybody with more Linux perf experience than me would like to take a look at this, I'd appreciate it! #MastoAdmins
I've added the Mac app icon back in, so you can alt-tab back to #Tooty's compose window, so you can keep track of all your toots (:
Got called out on Pinafore server-side memory usage, took a look into it. TIL:
- If your npm script calls another npm script or uses wrappers like `cross-env` or `npm-run-all`, then each one takes up its own node/npm process 😬
- `yarn start` actually takes up slightly more memory than `npm start` (123kB vs 92kB for me), even though they do exactly the same thing
- both take up more memory than just running `node` directly (48.6kB for me), which is astonishing https://github.com/nolanlawson/pinafore/issues/971
Has anyone watched #Nightflyers? Watched the first episode last night and I'm pretty keen — looks spooky 👻
What's new in the #fediverse this week?
Melbourne Social is a small Mastodon instance for users from/interested in/living in Melbourne, Australia 📍