Premature optimization is the root of all evil.. NOT!

We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil. Yet we should not pass up our opportunities in that critical 3%.

Famous computer scientist Donald Knuth

His quote is often clipped down to just “premature optimization is the root of all evil”, but that is NOT TRUE.

Yes, don’t micro-benchmark everything when you begin a project, but please do think ahead. And once you’ve got the program working as intended, then make it faster by profiling and looking for the bottlenecks.

Choose the proper data structures. Array? List? Hashset? Queue? Dictionary? Caching?
Take a few moments and think it over.

How often will this line of code be ran? Do I need to inline it, or pull it out into a separate method?

“Beggars can’t be choosers!” is Bullshit!

First off, I’m sorry to use coarse language.
But the statement, “Beggars can’t be choosers.”, really *really* pisses me off.

It perpetuates the mindset that you are better than the beggar. That you know better than they know.
That you’ve made better life choices than they did.

And, you know what? It’s pure bull crap.

Maybe you did make better life choices. Maybe they got laid off totally unfairly and not because of something they did.

Sometimes in life, you just hit a low point. Rock bottom. Sometimes a point so low that you can’t see a way out of it. So, you need help from others. Someone to lean on while you get back on your feet.. Even if it takes years [to break out of the struggle just to survive day to day]!

They need the kindness of a stranger. Not their pity. Not their ‘I’m better than you’ attitude.
Or even the pressure of “I’m doing you a service [so you owe me]”.

Those kinds of attitudes don’t help you or the person you’re ‘helping’.

Just because someone is at a low point, sleeping in the alley, on a park bench, under a bridge does not mean they have to take/accept whatever they’re offered. They do not have to eat the moldy leftovers from your lunch two days ago.

Beggars can choose. They’re sentient beings. They have the same rights, wills, and dreams.. like you have. They deserve to be treated with dignity. They need a friend, one with kindness.

So.. Be Nice! Help a fellow human out any time you can.
Don’t wait until Thanksgiving or Christmas to “do your good deed for the year”.

And, as always: “Do the right thing because it's the right thing to do.“.

Life Protip: Sharp Combs

Ever buy a comb that has sharp teeth?

Here is a quick and easy way to round the edges.

Turn your stove-top up to somewhere between medium and high.. the lower, the better. Different plastics have different melting temperatures so you’ll have to very closely observe the process.

DO NOT BURN YOURSELF and DO NOT CATCH ANYTHING ON FIRE!

A few inches above the hot heater plate, slowly move the comb about with the teeth pointed towards the heat source.

VERY carefully observe for teeth-edges to start rounding, and when it ‘looks right’ to you, move the comb away from the heat source.

Remember to turn off the heat source.

Don’t touch any hot spots until they cool down! And good luck!