Ask HN: Programs that saved you 100 hours?
381–390 of 531 posts
Re: Ask HN: Programs that saved you 100 hours?
#382Goland - an IDE that specializes in Golang projects. The following features have saved me 100s of hours: - Being able to run tests/benchmarks directly in a test file via either clicking the play button or using a keyboard shortcut - It’s refactor support - automatically getting imports ordered and code formatted on save - multicursor support - and even more! One of the few IDEs I would actually pay for if my company…
Re: Ask HN: Programs that saved you 100 hours?
#383Earlier quoted context omitted.
I have to use ubuntu sometimes (18.04) but my personal favorite distro is Arch Linux. - you will run the latest software - from the very beginning you are involved and personally responsible for your machine. - the wiki is very well written - no periodic upgrade hell, since it has rolling updates (everything is always updating all the time) - if software is not in the repository, it has AUR, which will help you build…
I miss Arch occasionally but I don’t like being responsible for the operation of my machine; I would rather delegate it to the operating system. ;) The good thing about Ubuntu is that it’s the default “Linux” (distribution) so whatever you are looking for, there is likely an AskUbuntu question, a .deb package, a blogpost, or a mailing-list entry to help.
Also, it is dead simple to make your own PKGBUILD script for arch, but last time I tried looking into making a .deb my eyes rolled into the back of my head.
Re: Ask HN: Programs that saved you 100 hours?
#384Re: Ask HN: Programs that saved you 100 hours?
#385Earlier quoted context omitted.
The usefulness of xclip is the thing that's currently preventing me from accepting fedora's urging to switch my default session to wayland.
I've been on Wayland for over a year and I have had a good experience with wl-clipboard (has the wl-copy and wl-paste commands).
Re: Ask HN: Programs that saved you 100 hours?
#386Earlier quoted context omitted.
Anyone know what the best way to set up Emacs on macOS is?
I just use this version. https://emacsformacosx.com/ I have a one line shell script that then lets me start Emacs from the cmd line. something like open -A [path to applications/emacs startup] $@ This supports emacs —daemon
/Applications/Emacs.app/Contents/MacOS/Emacs “$@“
The script goes into /usr/local/bin or wherever that’s in your path.
Re: Ask HN: Programs that saved you 100 hours?
#387Re: Ask HN: Programs that saved you 100 hours?
#388Earlier quoted context omitted.
Maybe it’s gotten better, but that same reason made me switch from windows to macos(with some Linux in between, which was not great indeed). That plus not having to reboot every time you sneeze.
Rebooting often was true for XP and earlier. I own 4 Windows 10 machines, 2 laptops and 2 desktops. I never rebooted the laptops. Desktops were rebooted when there was a power glitch because I don't own an UPS. These day I read more stories about people switching from macOS to Windows than the other way around.
Re: Ask HN: Programs that saved you 100 hours?
#389Earlier quoted context omitted.
Couldn't agree more.. People who say Electron (on which VSCode is running) is bloated and is slow probably haven't worked on full fledged IDEs using Java.. they consume memory in Gigabytes, are slower, at least appear to be slower, despite using native UI and takes a lot longer to open.
How often do you open your IDE though? 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.
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.
Re: Ask HN: Programs that saved you 100 hours?
#390Earlier quoted context omitted.
Have you tried multiple repositories in a VSCode workspace? It does a great job of managing multiple repos, git diffs, etc.
The problem I have with this is it makes "Go to file" functionality a bit too broad. e.g. If I want to open `package.json` I now have to choose between 10 different files. As I often `Cmd-P`, type pa, `Enter` without even looking, this makes it considerably slower. I also have to do a lot of context switching (e.g. to review someone else's code), and being able to have a separate set of tabs (even within the same rep…
Even in the mono-repos I work with, I'll generally open an editor per inner repo. Mostly ./feature/featurename/filename is as far as I have to open. Some of the C# projects are deeper though.