Ask HN: Programs that saved you 100 hours?
629 pointsI learned about a ton of useful CLIs, desktop apps, and SaaS products from this thread (https://news.ycombinator.com/item?id=13887237).
But it was posted 3 years ago, and perhaps some useful stuff has emerged in the interim, hence my starting this thread.
Comments (516) 196 threads
https://github.com/rupa/z
It's one of those rare tools that interacts with my stream of consciousness which is one step away from mind reading.
I know this is OT but one of the reasons I've switched is history search that actually works.
Since I also love ranger as a file manager, I wrote my own integration of both: https://github.com/fdw/ranger-autojump . It remembers where I went in ranger, and I can also call autojump in ranger.
> autojump is a faster way to navigate your filesystem. It works by maintaining a database of the directories you use the most from the command line.
1. Scan an eternal history file for `cd` with absolute path except for /tmp/*
[0]: https://github.com/junegunn/fzf2. Sort and filter out duplicates
3. Call fzf and let user pick the desired result
4. Upon selection don't enter the directory but instead type `cd ` into the prompt so that the user can navigate further using .
What's nice about this approach is that it automatically builds your bookmarks, but only from `cd` commands where you deliberately used an absolute path.
Here's the code. It has some prerequisites (fzf[0] and ~/.eternal_bash_history[1]) and probably only works with my terminal (Xfce Terminal); it took a bit of tinkering to get it to work.
[1]: https://stackoverflow.com/a/19533853
The amount of work Microsoft is putting in this editor is amazing. Last month we got file history, that was the last thing I needed to ditch the Git GUI I had installed.
https://github.com/microsoft/vscode/issues/4490
Continue this thread — 10 replies
Lately, I'd add the remote ssh and wsl extensions have been insanely useful, but starting code from inside wsl has gotten sluggish since the last vs code update.
Continue this thread — 2 replies
I switched form VSCode to PHPStorm half a year ago, and while it feels a bit slower, the improvements are so unbelievable worth it for me. It does have a taste for memory, but then again, it easily saves me a lot of time each month, so just throwing RAM at it was a no-brainer for me.
I was relieved when I switched back to PyCharm.
Vscode is nice but still quite far away from some good IDEs.
Continue this thread — 3 replies
As to the RAM, it's using around 1.2gb between vs code and the connecting server (WSL2), multiple isntances vary... but with the number of containers and VMs I'm running, I'm generally well over 16gb of use, and I have 64gb on my desktop. So even without VS Code, I have trouble on a 16gb system.
Continue this thread — 1 reply
Continue this thread — 2 replies
Also shout out to LINQPad, for letting me test quick snippets of C# with better visualization than Visual Studio. It's also a better alternative to Sql Server Management Studio for running SQL.
I'm sure this saved me an additional hundred hours.
I mostly program in languages like Ruby & Perl using Vim. Even with my decked out version that has 35 plugins, and some other bells and whistles, I'm on average using 20 MB of RAM. Open/Close is near instantaneous.
Now that Windows search often fails to turn up even my most used files (what happened to Windows search? Was it intentionally nerfed?), Everything has become a necessity for me.
[0]: https://www.voidtools.com/
I don't use Windows much nowadays, but ripgrep and fzf are sure handy on linux and mac.
I found it amusing that they also offer what is apparently the same product with completely different branding "for corporate environments" called FileLocator Lite/Pro.
Even on a machine with several million files on it, it searches as fast as I can type.
Everything also has an API that I've used to integrate the search into my own apps:
https://www.voidtools.com/support/everything/sdk/
Also, to second your question: what the hell did happen to Windows search? I always just assumed I'd done something to break it (and honestly, could never be bothered trying to "fix" it... even after all these years), but apparently it's inherently broken.
I know very little about OS software. Could someone explain at a high-level how something as fundamental as file search can be rendered totally unusable? Doesn't windows have the best engineers in the world working on it?
Windows has great engineers, yes, but the problem with Windows search is not an engineering problem, it's a trade-off between different use cases and performance and compatibility and innumerable other factors. Design by committee and circumstances of history made Windows search what it is, the shortcomings aren't caused by a lack of engineers capable of building Everything or Spotlight or grep or Google or whatever your ideal file search tool looks like.
Continue this thread — 2 more replies
Continue this thread — 12 more replies
2) Anything that lets you resize/place windows with hotkeys. For example, Divvy for OSX. Divvy is also nice because if you press the hotkey multiple times, it cycles the application through each of your monitors. No need to ever use your mouse to move/resize a window ever again.
3) Fuzzy file search in your editor. You know you want to open src/components/user.js so you type "cu" and it appears.
Any tools like this that become so ingrained in your muscle memory that you just kind of think things ("move this window and then summon my terminal") and the computer responds.
Continue this thread — 18 replies
All comments shown.
Couldn't load more comments. Check your connection and try again.