Lurker News
I recently realized that certain kinds of knowledge allow one to be significantly more productive when solving a large class of problems.

For example,
* Regular expressions for simple text processing.
* Parser combinators for parsing.
* Parser generators (esp. packrat variety) for parsing.
* The concept of fuzzing and property testing for testing code.
* Calculus for solving all sorts of problems.
* MCMC for solving a huge class of probability problems.
* Search algorithms for solving a variety of problems (e.g. all NP-hard problems, sudoku, HTNs, scheduling, planning).
* Gradient descent for solving a variety of optimization problems.
* Vector Space embedding as a conceptual tool for a variety of complex AI problems.
* Effect composition (Haskell's IO or Scala's ZIO) as an incredibly powerful paradigm for concurrency and parallelism.
What are some examples of 10x multipliers that come to your mind? Fundamental ideas without which you would be drastically less productive.

Comments (418) 135 threads

Earlier comments
brianhorakh1 reply#
1. Super learning techniques Srs, memory palace, speed reading or time shifting video/audio

2. Model based thinking: Big book of mental models is a great place to start.
3. Learn how to train your dog properly (perhaps the single biggest life hack a person can do imho)

rockemsockem#
I'd be interested to hear you elaborate on 3 more. I think you're probably onto something with that, but it's hard to say without more details.
kqr#
Learn how to lead from any position. You don't need to be promoted to lead.

Do things like teaching and mentoring, build consensus around decisions, involve people in your thought process early, actively seek out feedback on your ideas, alleviate people's concerns, help out where you can, be empathetic, work freely with anyone in the organisation as needed, gather data to support your opinions.
You'll soon be at a hub in the informal "attention network" that truly decides who calls the shots. Handle it with care and use it for good.

Turing_Machine3 replies#
* Don't get too hung up on computational complexity.

A lot of times O(n^2) is gonna be perfectly fine. Write it the simple and easy to maintain way first, and only worry about fancy optimizations if it's too slow.

chadcmulligan#
And if it is too slow a hash table or two will probably fix it.
BobbyJo#
Optimize for humans first and computers second. Computers can read the crappiest, most spaghettified code on the planet as long as it is syntacticly and functionality correct. Humans cannot, and their time costs several orders of magnitude more.
bluGill1 reply#
in these days of modern CPUS with cache and branch prediction, O(n^2) often beats O(logn) because your data is tiny compared to the cost of all those cache misses and branch misses the seemingly faster algorithm creates. This doesn't apply when you data is large, but then you need parallel algorithms, and not in memory data (or just punt all your data to the sql server)
AnimalMuppet#
Yeah. n = 3 more often than you expect. n <= 12 far more often than you expect. If you don't work at a FAANG, don't automatically assume that your data and algorithm need to squeeze the last O(logn) possible out of the algorithm.
kemiller20022 replies#
There is no list. It's not possible to say, "I know these 5 things, and they'll make me more productive." Feynman solved all his physics problems with Calculus. That's it. One tool. Part of is is knowing your tools. The other part is being able to see a problem, break it down, and understand how to manipulate it into something that's attainable. That's it.

I worked with this guy Pat several years ago, and he was on a different level than the rest of us. PhD Mathematics etc. I remember the day that I understood what made him different than me. We were standing in the hallway to our suite in the office building, and the first time visiting he says "This will be easy to remember. Lots of 3's." I looked at him for a moment puzzling his response. He says, "2745, lots of 3s." Pat was better than me at programming, because he saw things in a fundamentally different way than I did. He did things like that all the time. He wasn't better because he knew C++ or Java more than I did. He was better, because he would approach a problem and find a shortcut, or an optimization that the rest of us just didn't see. If something just seemed off even if he didn't know the technology, he could go figure it out, because his grasp of what to look for was much greater. That is what makes someone 10x better.

warrenm1 reply#
>being able to see a problem, break it down, and understand how to manipulate it into something that's attainable

Wasn't this Alexander the Great's approach: divide and conquer?
Every problem gets solvable if you break it into enough pieces

copperx1 reply#
> Every problem gets solvable if you break it into enough pieces

Someone needs to just sit down and break P vs NP into enough pieces.

warrenm#
Traveling Salesman is "solved" basically this way with modern map apps: it may not be "optimal", but it's close enough

And close enough, as the adage goes, is almost always "close enough"

stnmtn3 replies#
> This will be easy to remember. Lots of 3's." I looked at him for a moment puzzling his response. He says, "2745, lots of 3s."

I cannot for the life of me figure out what he means by this

aghillo#
(3^3)3.3.5 ? Maybe…
vqrs#
The number is divisible by three I guess.
rockemsockem#
Best guess I have is that 27 = 9 * 3 = 3 * 3 * 3 and 45 = 9 * 5 = 3 * 3 * 5

No clue if that's it though. Wonder if this "Pat" explained it to OP and OP is just keeping us hanging....

Load more comments