Live data from Hacker News

Ask HN: Programs that saved you 100 hours?

news.ycombinator.com

351–360 of 531 posts

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

#351

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…

There's a section of people that I belong to, that aren't fans of the GUI clients because it doesn't fit in their workflows but also find the CLI not productive enough. We start writing aliases and custom scripts. We integrate git with FZF.

Well for all of these people: I recently found Lazygit (https://github.com/jesseduffield/lazygit) which is a terminal UI for git and that does exactly what I've been looking for all these years, down to vim-like keybindings!

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

#352

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…

> For better or worse, I find GUI git clients to be less useful than the CLI. Genuinely interested, why? I'm a huge fan of the CLI in general, but for some things it just slows me down, git usage is one of those. Random example: reverting a commit is 2-3 clicks, or a whole lot of typing.

> Random example: reverting a commit is 2-3 clicks, or a whole lot of typing.

    git log
    git revert {hash}
I'd hardly call that a whole lot of typing. It's roughly equivalent to 2-3 clicks in a GUI app.

Where the GUI falls down for me is more complicated things, like hard resetting a branch to origin or resolving merge conflicts.

Also, most of the git guis do things that I find distressing. For example, in one git GUI I tried a while back, I accidentally dragged a commit onto a branch listed in the sidebar. Only later did I realize the gui cherry-picked the commit into the branch without asking me for confirmation. It would do similar things if I dragged one branch into another.

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

#353
post #29

- Emacs (with evil mode) and org-mode. The hours gained far outweigh the hours put in (and the hours put in were fun). - Yabai on mac for not having to think about moving windows around. - Pomodoro (now through org-mode) for helping focus (and saving hours, in a round-about-way.) - Removing as much advertising from my life as possible. (Ublock origin, deleting social networks when possible)

Any idea how to delete this social network (hacker news)? It's the last one I still use.

I tried to look for a way to delete my account yesterday but I did not find such a thing :<

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

#354

The Z command line utility has saved me a ton of time. It remembers the directories you’ve visited and lets you jump to them with just a few characters. Almost like Chrome’s autocomplete for recently-visited directories (if you’re used to being able to type “g” to go to gmail or “n” for “news.ycombinator.com”...). For instance I can run “z B” and it’ll jump to my ~/Business directory (and “z ss” would do the same). h…

Hehe since i got to know 'cd -' which changes back to the last directory i did not miss this feature - but it sounds interesting, and i should try it out.

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

#355
post #130

Earlier quoted context omitted.

Those commands aren't exactly the same. These copy what you have selected. You can use xclip just like pbcopy/pbpaste though. Xclip has a few more features and you can get it on mac via brew and nix iirc.

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?

#356
post #255
post #131

Earlier quoted context omitted.

FSearch is an equivalent for Linux. https://github.com/cboxdoerfer/fsearch

A quite similar tool, or at least one you can configure to behave like that, which works in the CLI is fzf

hmmm... seems to be a fuzzy find

https://github.com/junegunn/fzf "A command-line fuzzy finder"

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

#357

Earlier quoted context omitted.

The documentation from JetBrains is horrible. I still could not configure the correct build step for XML-based javax forms as part of Gravel build process. And that’s supposed to be one of the easiest parts?

In general, I agree that JetBrains could improve their docs. However, you very rarely need them. I mean, your problem kind of sounds like it should be explained in the javax or Gravel manuals, but not in the JetBrains IDE manual.

Nope - my problem is there because I followed their examples which manage to give you an example of creating a settings page using javax forms and starts with using the IDEA gradle plugin to compile all of it.

Except when you actually do both you realise there’s no way of compiling this plugin through gradle unless you first run the build step through the IDE (which secretly puts all of the compiled forms in the same build directory).

It’s a mess.

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

#358
post #205
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…

It absolutely blows my mind how many developer-centric search UIs don’t have fuzzy search. Developer tools css editors for one (CSS! The language with margin-* naming conventions everywhere!). Also GitHub issue labels. Browser history too.

I think the people who sell tools or buy tools usually constrain themselves to "least common denominator" type of experiences.

(This might be true of free/shared/common tools that haven't been configured yet)

But getting past all that, after a lot of craftsmanship and idea sharing, that's when tools start to ramp up in productivity.

I use emacs, because if something doesn't work like you want to, you can coerce it to do so. That said I personally wish it was python-based, because I'm more fluent in python than lisp.

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

#359

Earlier quoted context omitted.

Any idea how to delete this social network (hacker news)? It's the last one I still use.

Set `noprocrast` in your profile to `yes`.

I had to look it up. very fun.

There are three new fields in your profile, noprocrast, maxvisit, and minaway. (You can edit your profile by clicking on your username.) Noprocrast is turned off by default. If you turn it on by setting it to "yes," you'll only be allowed to visit the site for maxvisit minutes at a time, with gaps of minaway minutes in between. The defaults are 20 and 180, which would let you view the site for 20 minutes at a time, and then not allow you back in for 3 hours. You can override noprocrast if you want, in which case your visit clock starts over at zero.

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

#360

Earlier quoted context omitted.

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.

In my case, often several times an hour. I work across 6-10 dofferent repositories. Opening them all at once is impractical, so being able to open each of the them quickly is quite important.

Have you tried multiple repositories in a VSCode workspace? It does a great job of managing multiple repos, git diffs, etc.
Post reply on HN