Ask HN: What's some “one sentence” wisdom you've learned or created?

29 points by keanebean86 ↗ HN
It doesn't have to be one sentence but try to be concise. Something you'd end a code review comment with or mention to a Jr dev that's easy to remember.

Today I realized "there's a fine line between credit and blame" but that's a little too pessimistic to be real advice.

59 comments

[ 1.7 ms ] story [ 106 ms ] thread
"Easy choices, hard life. Hard choices, easy life."
Bad news does not age well.
My interpretation of your aphorism: bad news is not forever.
not aging well implies the thing gets worse the older it is. So, a more accurate interpretation would be "bad news gets worse the older it is" Although that seems unlikely to be what was intended.
"not age well" in food means "expires quickly." Milk does not age well because it quickly expires. So "bad news does not age well" means that bad news quickly expires. :)
I read it the same way, with the sentiment of "People will be more upset if you delay telling them bad news."

e.g.

"We got a letter for past-due rent yesterday, and I'm telling you now"

vs.

"We've been getting letters for past-due rent the last few months, and I'm telling you now."

"If you have no backup, you have no data. If you have one backup, you have no backup."
Backups you've never tested are not a backup

(backups encrypted with a key no one has access to are not a backup)

If only I could have convinced my previous department head of this.
similar version that's been around for a while:

Two is one. One is none.

VMware snapshots are not backups.
“In a pile of crap, even copper shines like gold.”
Never eat a grapefruit in front of a computer screen.
"Measure twice, cut once"
No matter how many times I cut, it is never long enough.
"I've cut it twice and it's still too short."
Good for carpentry and brists
Parkinson's Law of Data: "Data expands to fill the space available for storage"

Most frequent use: Justifying quotas on NAS/SAN devices. People retain more stuff when they think a shared drive has 500GB free than they do when they see 2TB free.

I like to refer to Parkinson’s law as Boyle’s law for our behavior, too
Interesting that means people don't read the unit of measurement, just the number 500>2.
"Your code should reflect your ontology."

Meaning that you should strive to program so as to encode the structure, relationships, and qualities of the objects of your task/domain. If you do it faithfully, then your code will be logically consistent and bug-free. I think this is most directly possible in declarative programming.

Never attribute to intelligence what can be sufficiently explained by stupidity.
s/intelligence/malevolence/

Stupidity is more likely than bad actors. Usually.

The original expression is "malice" yes. But it becomes much more generally applicable with "intelligence" imo.
Treat people like children and they’ll behave like children.
Not tech related:

Don't complain about being bored. Bored/boring means that people around you (e.g. family) aren't dying.

Seems like the same logic as "finish your food, there are starving kids in Africa"
Or maybe more simply, “the bored are boring”
"Don't do people favors if they don't ask for them."

Sometimes in the corporate life, you imagine that X would like to have Y, and you put in a lot of effort to make Y happen. And then X is not even aware that Y took effort, or worse, you misinterpreted, and X is annoyed that Y happened. Better make sure that X really wants Y and asks for it.

Change is a process.

It has been my experience that to change anything with an organisation takes a while. First you present your proposed change or new process. No one understands or pay attention. Once you implement and showcase the new process, expect objections as it dawns on people they might have to change how they do things. Don't take offense at the objections (which should have been aired at first meeting but no one was paying attention). Just agree to note them and then a week later present same thing you presented. Now you will find most people have processed the change and might even have tried new process or read the documentation. Now the change begins. It's a process.

You train people how to treat you.
"If someone does something once, they will do it twice"

This is in some ways depressing, but its always been true for me. Individual actions that are outside the realm of someones common patterns are extremely rare. So if they act in a certain way, expect that going forwards. Be cynical.

Maya Angelou said it like this: "When someone shows you who they are, believe them the first time."
I like these three:

Eating the menu isn't the same as eating the meal. (I believe from fritz pearls).

Thinking is hard that's why most people go straight to judgement. (C Jung)

There's nothing more disgusting that a person with tons of resources (money, time, imagination) but who has no taste. (Paraphrase of Goethe)

_ « if you can not afford to buy it, you certainly can not afford to build it »_

To eager business leads saying that a software or service is too expensive and we should build it internally instead...

That's been quite false in my experience - quite a few times it was much easier / simpler / cheaper to build than buy, because there wasn't an offering good enough, and the cost of adaptation was on the order of the cost of building.

Many SAP and Oracle-software (not the DB, the other stuff) implementations fail, and take years to do so, after costing as much as building in house would have (and likely succeeded).

For some things, it's true - but I wouldn't consider this "generally applicable wisom"

Motion.

Everything changes when you're in motion.

I've got a bunch more, but these are some of my favorites ( after reading that it was for a mentee relationship, I had to remove some)

- You impact your environment, regardless of your participation, and even your presence

- Perception is a weak approximation for reality

- Value the opportunity to be wrong, because eventually you'll lose the privilege of being told so

- The greatest barrier to getting things done, is not doing things

(comment deleted)
The race is not to the swift or the battle to the strong, nor does food come to the wise or wealth to the brilliant or favor to the learned; but time and chance happen to them all. - Ecclesiastes

Life does not always make sense, sometimes best efforts and best preparation fail. That is okay

My favorite variant of this is the version from Jean-Luc Picard on Star Trek: The Next Generation:

"It is possible to commit no mistakes and still lose. That is not a weakness. That is life."

"I'd rather be lucky than good." :)
„Getting better is just screwing up less“ - Adam Savage
"It's lonely at the top in whatever you do"