Live data from Hacker News

What Is the Most Valuable Thing You Can Learn in One Hour?

quanticdev.com

161–170 of 340 posts

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#161
post #10

First aid is good. Also general investing in index funds like VTSAX and VTIAX. It is so simple, yet most people I run into on a regular basis just save their money in a checking account earning 0.01% APY. Follow the reddit personal finance flowchart. Learn about Roth and HSAs and ESPP and the benefits of diversification. We’re literally talking about multiples of your net-worth over your life if you invest compared t…

> reddit personal finance flowchart

Woa it's really good. Didn't even know that it existed.

For future wanderer: https://www.reddit.com/r/personalfinance/wiki/commontopics

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#162

using `Ctrl + r` in your shell, I just hope someone reading this doesn't know it yet :-)

To anyone that has use for this, I also recommend trying the fish shell. It takes some getting used to at first but the sheer time save I realize with just autocomplete is monumental!

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#163

If you have a laptop with a trackpoint, become proficient with it. You can switch between mouse and keyboard without moving your fingers away from the home row.

I just disable the trackpad in all my laptops, I find it much harder to use than a trackpoint.

> trackpad in all my laptops

even in a macbook? it probably is the best part of macbooks in general

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#164

Vim. I think it can be in the list as well. It takes a long time to properly learn. But one hours is defiantly enough to get to know the main Vim bindings, to be as productive as in other editors. In the end it makes you super productive.

> one hours is defiantly enough to get to know the main Vim bindings I'm going to do an experiment. I've been struggling with Vim for a long time. I need to leave in about one hour. Instead of wasting time here on HN, I'll now spend an hour learning Vim. I doubt that this will get me very far, but I'll let you know how far I got.

type vimtutor in your shell for the "intended" tutorial

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#165

IMO, the single most important thing I've ever learned is: try to be effective when you're communicating. I used to feel an obligation to correct other people if they had false beliefs. This was not an endearing trait, and even worse, I was never particularly successful at convincing the other people. One day, I read a passage from "How to make friends and influence people". It said something along the lines of: "The…

My dad gave me very similar advice growing up, as I love for things to be factually correct. To me, it didn't bother me if someone corrected me. However, most people don't appreciate it and it isn't worth upsetting them 90% of the time. This is something I didn't understand.

Another thing he told me was not to be a know it all. One example would be when people said something and I had learned before, instead of diminishing their statement by saying I knew that, I should say something like "wow that's cool" as it makes the person feel better.

He gave me lots of small little interaction tips that helped me come across as a better person even though none of them were nefarious in nature.

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#166
post #99

Earlier quoted context omitted.

Vim commands are more than just typing. It’s searching, deleting, replacing, selecting, moving entire lines of code. I can get to any location in a massive codebase within seconds . I can drop the cursor to any character I see damn near instantly. I can construct entire macros on the fly and repeat them endlessly until I’m satisfied and destroy repetitive tasks. I can move entire sections of code to anywhere else I p…

You say it's more than just typing but then you go on to describe a bunch of stuff that's essentially just typing. I think just about any modern programmer's editor can do all the things you describe. I work most of the day in Visual Studio and I know it can do all that. For programming I think vim is handicapped somewhat because it doesn't "understand" what it's working on.

The great thing about vim is every IDE has a plug-in to emulate it. Why would I learn separate shortcuts for android studio and vscode when I can just install vim plugins?

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#167

Taking this also as a bit of an Ask HN: Easily the Tiny Habits habit formation regime created by Stanford researcher BJ Fogg. A lot of the addictive design patterns you see in apps like Snapchat, Instagram, etc. are built off his research. Quite nefarious use of psychology for advertising/“engagement”, but the plus side is you can use the same strategies to build habits you want to build. Step 1: Consider the habit y…

If you're serious about trying to form a new habit, BJ - and people he's trained and bots they've created - runs a free 5-day program: https://www.tinyhabits.com/join

(I'm unaffiliated)

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#168

using `Ctrl + r` in your shell, I just hope someone reading this doesn't know it yet :-)

Building on this, infinite shell history. Google how to set it up for your shell.

Did this years ago. I am very thankful I did. It has saved me a few times on cmd syntax. Seems like iptables is the one I always screw up. I recently started migrating the history across reinstalls.

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#169
post #64

Vim. I think it can be in the list as well. It takes a long time to properly learn. But one hours is defiantly enough to get to know the main Vim bindings, to be as productive as in other editors. In the end it makes you super productive.

Serious question: I keep seeing Vim thrown up and down like it's the holy grail. I've been using VS Code for two years maybe now, and I don't see how Vim could help me be a better/more productive coder. What am I missing?

> What am I missing?

Touching your mouse less.

Might sound weird, but that's honestly my main reason for learning modal editing and emacs with evil.

Less flip flopping between mouse and keyboard might not be "more productive", but it's more comfortable.

And beneath that you start to find better fuzzy project searching with tools like ripgrep, an easier time navigating your project, powerful in-file movement commands, etc.

I'm mostly an emacs evil user, so I also have workspaces, projectile, magit, and a whole host of other extremely powerful tools.

And I don't really lose out on much wrt code completion, or other functionalities you normally get from an IDE. Since I can use the same language servers you would use in vscode.

That's not to say there aren't things that suck though. Emacs in particular isn't for someone that's unwilling to make changes to their config.

Re: What Is the Most Valuable Thing You Can Learn in One Hour?

#170

using `Ctrl + r` in your shell, I just hope someone reading this doesn't know it yet :-)

I worked for years as a sysadmin grepping through history because I'm just learning this from you. Thanks!

I had a coworker who was having some issues. I chuckled when he had an alias for history | grep when I was checking out his env
Post reply on HN