Live data from Hacker News

When I stopped trying to self-optimize, I got better

nytimes.com

51–60 of 110 posts

Re: When I stopped trying to self-optimize, I got better

#51
post #47
post #24

Earlier quoted context omitted.

Everyone does this. Otherwise you'd go bat sh*t crazy trying to remember every intricate details of common tools. also using ctrl+r and filter through older commands (ctrl+r to cycle) is also necessary for good mental health. for example alias ll="lsd --icon never -l" alias lla="lsd --icon never -l -a" # all alias llr="lsd --icon never -l -r -a" # reversed alias lls="lsd --icon never -l -r -a -S" #by size alias llt="…

> alias ss="git status" ss is actually a 'socket stats' and will list all active connections while resolving their reverse dns name, be careful

thanks, I know :)

Re: When I stopped trying to self-optimize, I got better

#52
post #34
post #28

Earlier quoted context omitted.

Fish's autocomplete makes life a lot easier, too. It's delightfully well designed.

I head great things about Fish but I never took the dive.

I recommend it! Fish, starship.rs and `fzf` with the Ctrl+R and Alt+C keybindings continue to be my personal 80/20 for feeling comfy at the shell. Installing nvim and reloading my ~/.config using `chezmoi` gets me like 95% of the way there.

Being very obviously not Bash is a feature, not a bug, imo. It's usually pretty easy to turn Bash commands into Fish commands with the help of ChatGPT if you get stuck.

Re: When I stopped trying to self-optimize, I got better

#53
post #35
post #24

Earlier quoted context omitted.

Everyone does this. Otherwise you'd go bat sh*t crazy trying to remember every intricate details of common tools. also using ctrl+r and filter through older commands (ctrl+r to cycle) is also necessary for good mental health. for example alias ll="lsd --icon never -l" alias lla="lsd --icon never -l -a" # all alias llr="lsd --icon never -l -r -a" # reversed alias lls="lsd --icon never -l -r -a -S" #by size alias llt="…

How did I not know about ctrl+r? Feeling slightly more optimized

Wait until you try the `fzf` style Ctrl+R ;) total game changer for me.

Re: When I stopped trying to self-optimize, I got better

#54

I think "self-optimize" is the wrong term to focus on. Imo, it's more about self-compassion / a more personal version of "psychological safety." Anecdotally, a few years ago I made a decision to run with my (ADHD driven) impulses when deciding what to spend my time on. It was difficult to let go, but I decided to let myself just fall behind with projects / work for a year or two (or until I was fired.) Long term, the…

I think there’s a healthy balance of following the ADHD that can be found. I try not to beat myself up for abandoning projects after the fun part is over. Who cares? They’re just projects for me. But when it’s a project for someone else, it’s important to fight through and finish things

Re: When I stopped trying to self-optimize, I got better

#56
post #51
post #47

Earlier quoted context omitted.

> alias ss="git status" ss is actually a 'socket stats' and will list all active connections while resolving their reverse dns name, be careful

thanks, I know :)

This is why I prefer community standard aliases like Oh-my-zsh. All the conflicts get caught sooner by multiple people.

Re: When I stopped trying to self-optimize, I got better

#57

Over the past year, I’ve made a deliberate effort to improve my “personal computing”, which for me is about how I use the shell. I start by trying to notice when I’m doing the same task multiple times and getting tripped up on the specific syntax or sequence of commands (i.e. what’s the Git command again to split certain files out of a previous commit into a separate one?) I will then create an alias, a shell script…

That's an interesting idea. Did you write a script to identify commands that you use repeatedly? I wonder how that could best be done?

There you go https://github.com/cristianoliveira/dotfiles/blob/cd1921ebda...

Re: When I stopped trying to self-optimize, I got better

#58
post #48

Over the past year, I’ve made a deliberate effort to improve my “personal computing”, which for me is about how I use the shell. I start by trying to notice when I’m doing the same task multiple times and getting tripped up on the specific syntax or sequence of commands (i.e. what’s the Git command again to split certain files out of a previous commit into a separate one?) I will then create an alias, a shell script…

Must be nice being able to work in the same shell every day, and one you have complete control over no less. For those of us ssh-ing into uncountable remote servers all day with unprivileged accounts, it's not really a practical option unfortunately.

By "personal computing" I guess I do mean machines that I have full root on, so usually either a laptop/desktop or a local headless server.

Out of curiousity, these servers that you're dealing with, do you have to use them for long/focused work like writing or software development, or are these more like sysadmin interactions? Have you noticed any repeated commands or sequences you find yourself running over and over? Is there any opportunity for you to write local scripts that then SSH into the targets and run those commands on your behalf? Or locally use sshfs and manipulate files like they were local.

Re: When I stopped trying to self-optimize, I got better

#59
post #24

Over the past year, I’ve made a deliberate effort to improve my “personal computing”, which for me is about how I use the shell. I start by trying to notice when I’m doing the same task multiple times and getting tripped up on the specific syntax or sequence of commands (i.e. what’s the Git command again to split certain files out of a previous commit into a separate one?) I will then create an alias, a shell script…

Everyone does this. Otherwise you'd go bat sh*t crazy trying to remember every intricate details of common tools. also using ctrl+r and filter through older commands (ctrl+r to cycle) is also necessary for good mental health. for example alias ll="lsd --icon never -l" alias lla="lsd --icon never -l -a" # all alias llr="lsd --icon never -l -r -a" # reversed alias lls="lsd --icon never -l -r -a -S" #by size alias llt="…

hehe same https://github.com/paprikka/dotfile-paella
Post reply on HN