Live data from Hacker News

Ask HN: Programs that saved you 100 hours?

news.ycombinator.com

441–450 of 531 posts

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

#441

Earlier quoted context omitted.

How is your experience with Yabai ? I just read about it but reluctant to try it . How stable is it ? Can we switch spaces with it ?

It's perfectly stable, but I didn't see it do anything that Amethyst can't do, and yabai requires you to run with SIP disabled

I run yabai just fine with SIP disabled.

You only need to disable SIP if you want features that require it like window opacity/stickyness/...

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

#442

For better or worse, I find GUI git clients to be less useful than the CLI. But like any CLI tool, it's productivity is limited by your ability to type without errors. Git has an Autocorrect[1] that will help you out. > git config --global help.autocorrect 1 Based on bash history data, I've also added a simple alias to my bash config: > alias gti="git" [1]: https://git-scm.com/book/en/v2/Customizing-Git-Git-Configura…

Obligatory emacs magit. If you like the git cli, then magit will help you do everything with single keypress actions (l is log, c is commit) and provide autocomplete and lists where relevant (like all branches on checkout)

https://magit.vc/

Visual walk through: https://emacsair.me/2017/09/01/magit-walk-through/

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

#443

- keeping all your configuration files (“dotfiles”: shell, git, etc) in one, version controlled place. Makes setting up new machines so much less stressful. Here are mine in case you’re interested, for macOS and Ubuntu: https://github.com/Bogidon/dotfiles - setting up a personal vpn with a reserved IP if you connect to services that require your IP to be whitelisted and you move often - for git cli: dashes take you b…

Alfred has a clipboard manager built in, what does Paste offer over it that justifies its fee for you?

Similarly, I use the clipboard plugin for quicksilver.

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

#444
post #145

Earlier quoted context omitted.

> 1) Any terminal that you can summon/dismiss with a global hotkey. Examples are Guake for Linux and iTerm2 for OSX. I consider this a must-have for all developers. Years ago I saw someone using this (I think it was actually Yakuake) and ran it for a bit. I really didn't like that it was a single session. However, I later messed around with tiling window managers (which relates to your #2!) and having a shortcut to p…

when you summon the terminal do you first then need to `cd` into the directory you need?

What I assume the parent was talking about was the ability to literally just open a new terminal window with a keyboard shortcut (e.x. Mod-Enter in i3wm). If that's the case then yes.

While using i3, you can also place a terminal in the scratchpad, which works more similarly to Yakuake.

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

#445

The golden recipe: neovim, tmux, rg, fzf, i3/other tiling wm on nixos/arch Fzf all you can, not just inside vim, but also use it to switch between tmux sessions in an instant. I have a tmux manager on top of tmuxp that is able to start / switch to already started sessions via fzf. Identify patterns you use a lot and make snippets out of them. Create project templates. Have a folder where you dump reference / things t…

> Make sure your todo system is a keybind away at all times.

Can you access your todo system from your phone? I'm always torn on this, and why I keep my todos in google keep.

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

#447

The golden recipe: neovim, tmux, rg, fzf, i3/other tiling wm on nixos/arch Fzf all you can, not just inside vim, but also use it to switch between tmux sessions in an instant. I have a tmux manager on top of tmuxp that is able to start / switch to already started sessions via fzf. Identify patterns you use a lot and make snippets out of them. Create project templates. Have a folder where you dump reference / things t…

> Make sure your todo system is a keybind away at all times. Can you access your todo system from your phone? I'm always torn on this, and why I keep my todos in google keep.

I'm using todo.txt via the CLI [1] with my TODO files in a Dropbox folder syncing it with Simpletask [2] for Android.

[1]: https://github.com/todotxt/todo.txt-cli [2]: https://github.com/mpcjanssen/simpletask-android

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

#450
post #199

Earlier quoted context omitted.

Curious, what do you think of multi-cursor as a replacement for macros? (I’m on the team)

As an emacs user, I view multi-cursor as suitable for only a subset of macro usage. Macros are inspectable, editable, savable, able to be applied across files, easily used a variable N times. My typical pattern is something like: define it, try it, adjust it, then apply variable times (including “infinite until error”), maybe save 1% of them. That often takes less time to do than it just took me to describe. I use ma…

> Macros are inspectable, editable, savable, able to be applied across files, easily used a variable N times.

In my experience with multicursor, I don't need to be able to "inspect" the operation as the act of typing it is inspection in and of itself. Sure they aren't saveable and thus aren't editable (but you admit this is a very rare use case - I can't recall needing that, ofc you often don't know when to want what you don't have).

As for applying across a number of files, I recently added an in-editor rendering of workspace search results to VS Code, and I've created an extension that can apply edits to those search results back to the original files. This allows for performing multicursor edits across many files.

As for using variable numbers of times, this is again quite trivial with multicursor. I simply select all the instances I need (either all in one go or iteratively), and go from there. I admit there is an art to selecting the right text such that iterative selection works with a single keypress, but once you get the hang of it it becomes pretty natural. (Unless you mean "apply this N times", which again I'm not sure I've ever been in want of)

Post reply on HN