Lurker News
I've asked this previously: https://news.ycombinator.com/item?id=22849208

But a few years have past and want to see what's emerged since. Although can be new to you vs. released in 2021 or 2022 necessarily.
Things I've come across in the meantime:
* mock AWS services https://github.com/spulec/moto
* query cloud services https://github.com/turbot/steampipe
* munge CSV https://github.com/johnkerl/miller https://github.com/BurntSushi/xsv
* page json https://github.com/PaulJuliusMartinez/jless
* text to tree structure [I use this as a hack to version control my music library] https://github.com/birchb1024/frangipanni

Comments (559) 186 threads

Earlier comments
wdrw5 replies#
The Mosh SSH client for intermittent connectivity ( https://mosh.org/ ) has definitely saved me at least 100 hours. Too bad that it's only available for Windows as a Chrome extension, and Chrome will discontinue support for it starting in the new year. Really not looking forward to having to search for an alternative...
ohbtvz#
I guess you can install it in WSL?
yanokwa2 replies#
I've switched from Mosh to Eternal Terminal (https://eternalterminal.dev) because of its excellent native scrolling support.
ladberg#
To add on to that, I use iTerm2 with tmux control mode which combines a native UI frontend with a tmux backend on a remote server, meaning I can spawn new native tabs, windows, or panes and they're all tracked by the remote so I can reconnect to all of them at once if I disconnect.

I keep one laptop at home and one laptop at work and can seamlessly switch between the two without having to manage my active sessions at all. If I open a new tab at work and go home for the day it'll be there on my laptop at home.

chungy1 reply#
Eternal Terminal pitches itself as entirely superior to Mosh, but also describes itself as using TCP (Mosh uses UDP). I'm curious how that can actually cover the use cases Mosh provides?

Mosh using UDP means that as a connectionless protocol, your end points can move (eg: from WiFi to LTE, or vice-versa), and beyond a small hiccup, your connections remain alive and well.

yanokwa#
ET adds a layer between application and TCP sockets that persists connections. https://eternalterminal.dev/howitworks has more.

If you are mostly on unreliable and high-latency connections, mosh will likely feel better, but with no native scrollback.

jpmattia1 reply#
> Too bad that it's only available for Windows as a Chrome extension

Looks like it's available under msys2 on windows: https://packages.msys2.org/base/mosh
As an aside: msys2 mingw64 and friends are > 100 hours saved if you are a linux-soul in a windows environment. I don't think msys gets the attention it deserves.

ianmcgowan#
And if you work in locked down corporate windows environments, asking for Git for Windows ("for local version control only") is a sneaky way to get the basic Unix utils installed. It's a lot easier to ask for VSCode + Git than some open source tools that will be viewed with suspicion by the local support team.
synergy20#
how is it different from autossh? never used mosh yet
linsomniac#
I was using mosh+tmux earlier this year, but ended up switching to wezterm which has a native MacOS and Linux versions, and gives native interface to the terminal. And I can reconnect to my session if I suspend my mac or go somewhere else.
geocrasher2 replies#
Ditto Clipboard Manager for Windows. Yes, I know W10/11 have it native now, but it's not as good as Ditto.

https://ditto-cp.sourceforge.io/
AutoHotKey
https://www.autohotkey.com/
And if deleting TikTok from my phone were an app, it would be nominated, because that saved me hundreds of hours I'm sure :D

amrtn4 replies#
I loved ditto when I used windows. Do you know a good ditto alternative for mac?
swcm#
I don’t know if I’m the only one, but when I used ditto I turned off the auto cleanup stuff. Basically I had it keep everything. I’d go cleanup manually every now and then (especially images), but having a very long term way to look up past code snippets was invaluable.

So then when I got my first Mac I felt lost without a clipboard manager with unlimited storage. I finally found Copy’em and my life has been complete again. :)
https://apprywhere.com/ce-mac.html

boyter2 replies#
Going to say my own https://github.com/boyter/scc/ which I have used to turn down projects of "Oh we just need to do X"

It allows me to evaluate the code-base quickly and see where potential issues are, and find hidden complexity in the code. I have said no a lot due to it. The only reason it exists was because I got caught out from another project, which wasted months of my time.
Otherwise IntelliJ and the JetBrains IDE's in general.

masukomi#
a) cool

b) thanks for explaining how it saved you time
c) holy CRAP the description wasn't joking about "fastest"

philomath_mn1 reply#
Are the COCOMO estimates useful at all for you? That always comes up when I look at code metrics but I have a hard time believing they mean anything
boyter#
Not really. It’s just another datapoint. People like seeing it though.
spockz1 reply#
I know this is the modulair way with piping. How would ` jc command args` be as opposed to `command args | jc —-command`?
kbrazil#
Both ways work:

    $ jc ifconfig lo0

    $ ifconfig lo0 | jc --ifconfig
hedora#
That actually looks nice! (I've written at least 10,000 perl one-liners.)

Will definitely check it out.

Load more comments