1. 2

    Got a week before I start my next client project which means it’s PROJECT TIME PEOPLE!

    • probs releasing choo 6 this week. We’ve had 6 or so RCs so far, think it’s good now.
    • gonna work on the next version of bankai. Figured out a whole bunch of neat browser networking things and oh boy, were going to automate it SO WELL
    • secret side project. Woah, it’s so secret
    • finally also going to work on my ramen eating skills. Haven’t had any ramen in over a week and I’m EXCITED

    ✌️

    1. 2

      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…

      1. 9

        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 (:

        1. 1

          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.

        1. 2

          Short version: it’s like ccache but for Rust, delivering up to 2x build speed improvements in some Servo test scenarios. Very cool!

          1. 11

            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.”

            1. 2

              Oh, I like that description! :D

              1. 2

                It’s also written in rust, which is a likely selling point for people browsing this tag.

            1. 4

              Why run mosh when you already use tmux, which can also keep your programs open?

              1. 5

                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.

                1. 3

                  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.

                  1. 2

                    Not sure about the prior two (although I suspect both work, just never tried) - it definitely reads from .ssh/config tho

                2. 3

                  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.

                  1. 4

                    I use tmux in connection-breaking situations and it simply detaches.

                  2. 3

                    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.

                  1. 2

                    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.

                    1. [Comment removed by author]

                      1. 24

                        It literally does.

                        1. 7

                          Perhaps I’m mistaken, but I believe the claim is “single header”, not “single file”.

                          1. 1

                            It’s like a monorepo for your program! /s

                            1. 1

                              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.