Am I the only one to feel uneasy at the number of oddly named dependencies? It’s a bit ironic how in JavaScript having small libraries seems to be a feature, when most projects typically have dozens if not hundreds of dependencies. The naming of modules themselves would be of sociological interest too: choo, yo-yo, nanomoprh, bel – we’re at a time where naming a module seems to follow the same process as naming a new band. It’s a shame, though, as there is a lot of genuine innovation going on in the JS community, but the ninja-rockstar attitude makes it hard for me to consider any of these seriously. Or maybe I’m just turning into a grumpy old man…
Heya, author here - sorry if my module names make you feel uneasy. It’s totally understandable that at a glance naming might seem confusing; many people write JS, and equally many approaches to naming things. This is generally how I name my things:
Writing this out makes me realize it might indeed be hard to get into if you’re not already used to it. I agree discoverability can be much improved upon; both by tooling (e.g. GitHub allowing us to group things outside of orgs), and humans (your comment made me pause and reflect on this, thank you).
I hope this somewhat explains how I (and perhaps some others) approach naming JS things (:
I feel this is a toxic part of the JS community. I recently had to patch some nodejs code and searched “how to lower case a string”. The top suggestion was the fancy ChangeCase dependency when a simple String.ToLowerCase from the standard functions did the trick with no downloads required.
Short version: it’s like ccache but for Rust, delivering up to 2x build speed improvements in some Servo test scenarios. Very cool!
Actually I believe it was originally designed to support the normal use case of ccache and recently extended to support Rust. So it would be more accurate to describe it as “like ccache but can use an s3/redis store instead of local disk and has a windows binary, and supports caching Rust compilations.”
In addition to keepalive, you know when you accidentally cat a gigantic log file over ssh and have to wait hours for it to scroll by or kill the session? mosh prevents this and jumps to the end of the out. Granted, you lose scrollback due to this, so it’s a tradeoff.
I like that. This feature encourages me to switch to mosh. Does mosh support the same features that latest OpenSSH client supports? I mean ProxyJump, ED25519, reading from .ssh/config etc.
Not sure about the prior two (although I suspect both work, just never tried) - it definitely reads from .ssh/config tho
Mosh keeps the session alive when my laptop sleeps or I close the lid, so I don’t have to re-authenticate. If I lose the session over regular ssh, then I believe the tmux instance would die instead of simply detaching, so I wouldn’t be able to resume anyway.
tmux is for N-to-N sharing of a terminal: run multiple programs on the server at the same time, see them from some number of clients, isolate them from client-server connection termination.
mosh is for making client-server connections more robust. If you close your computer in one place and reopen it in another, it keeps going instead of needing you to hit up and enter twice to reconnect and tmux attach. This is invaluable if some part of your link is flaky, like oversubscribed conference wifi, or the connection between a moving vehicle and a terrestrial network.
Got booked in last weekend at jsday italy for a 50 minute slot (which is this Wed), so preparing a talk on how to write both a server and client framework from scratch. Thought it’d be fun to talk about the requirements frameworks have to deal with so, and show how to write it using just libraries so that people better understand what core browser / node APIs provide & they can better evaluate frameworks. Yay yay.
[Comment removed by author]
I would have preferred something like sql amalgamation, but if the author can manage to develop while things are all in one file and make it work I Would say it’s fine.
Got a week before I start my next client project which means it’s PROJECT TIME PEOPLE!
✌️