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

Show all comments

Showing thread 44 of 135

rsync1 reply#
Here’s one that can be widely applied - from inside the cpu to your daily commute:

context switches are expensive
… and yes, sometimes so expensive that not knowing this might, indeed, have a 10x penalty.

jp421 reply#
Can someone care to elaborate more on this?
xmodinfinity#
Excepting kernel scheduling, dealing with the set of problems i,j,k and being interrupted to deal with the set of problems x,y,z means all your short-term memory dealing with i,j,k disappears, and whatever mental work you’ve done to deal with i,j,k needs to be repeated once x,y,z is “problem solved” - but that’s a waste of time, compared to solving i,j,k completely and then moving on to x,y,z, and it’s annoying for the person solving the problems