Live data from Hacker News

Ask HN: Programs that saved you 100 hours?

news.ycombinator.com

381–390 of 531 posts

Re: Ask HN: Programs that saved you 100 hours?

#382

Goland - 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…

vscode supports all of these and is free. The go language server has been buggy in the past but it's been improving quickly.

Re: Ask HN: Programs that saved you 100 hours?

#383
post #371

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

I don't know if I agree about software availability if you take AUR into account.

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?

#385
post #355

Earlier 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).

I will have to try again. Last time I attempted, wl-paste did not work in my terminal, which fully killed it for me.

Re: Ask HN: Programs that saved you 100 hours?

#386
post #112

Earlier 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

I wrote the last reply from my phone. The command is simply

/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?

#387
'The Clock' for OS X is the best out there if you need to do anything serious across time zones. Featureful but not bloated. Ability to rename clocks to something more meaningful is genious. If you ever do the 'that person starts at 9am in Tokyo, what is the time then in Seattle' or Sydney, or Hyderabad that app is worth the $5.

Re: Ask HN: Programs that saved you 100 hours?

#388

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

Unless you disabled Windows Updates, your systems are probably broken if you haven't had to reboot the laptops.

Re: Ask HN: Programs that saved you 100 hours?

#389

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

Depends... I'll open/close a few times a day as I touch several projects. I can use VS Code for everything from db/sql, react, node and c# (.net core) projects. I also have used it for a little rust and golang.

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?

#390

Earlier 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…

Agreed... deeply nested directory structures are also pretty painful.

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.

Post reply on HN