Hello there and welcome back to Not So Random Software!
This week I am thinking about how to deliver powerful questions to others and yourself. Questions might feel intimidating or pointless, I get it; at the end of the day we are trying to get things done, and challenging every single decision can be detrimental to our productivity. On the other hand, many breakthroughs started by asking incredibly simple, but fundamental questions. Isaac Newton noticed an apple fall and simply asked himself: “If the apple falls, does the moon also fall?”. This question put Newton on the road to all his future accomplishments. So here is my reminder for keeping up with the exercise, even when you are experiencing temporary diminishing returns.
Socrates believed that the disciplined practice of thoughtful questioning enables the scholar/student to examine ideas and be able to determine the validity of those ideas. The link above puts such practice in the context of discovering first principles, i.e. irreducible truths you can use to explain reality. Here is what Socrates used to ask:
Clarifying your thinking and explaining the origins of your ideas (Why do I think this? What exactly do I think?)
Challenging assumptions (How do I know this is true? What if I thought the opposite?)
Looking for evidence (How can I back this up? What are the sources?)
Considering alternative perspectives (What might others think? How do I know I am correct?)
Examining consequences and implications (What if I am wrong? What are the consequences if I am?)
Questioning the original questions (Why did I think that? Was I correct? What conclusions can I draw from the reasoning process?)
Maps are a simple and effective tool to question reality. By positioning elements into a few dimensions you can challenge your model of reality and ask powerful questions about how the territory looks like and what practical decision you can do.
If you are following this newsletter you probably appreciate the value of randomness a bit. Jumping into something completely random every now and then is a very engaging way to build excitement. The same goes for questions! Asking random questions like the ones in this book might lead to unexpected (and certainly funny) insights.
But why we landed into this solution? Using a map analogy, we might have had a mental map of the browser technology territory that lead us to design such a solution. But when was the last time you challenged your assumptions?
A random line of code
If you need to add an index to a big scary Postgres table, you don’t need to be! By default, Postgres locks writes (but not reads) to a table while creating an index on it, which means your index creation might take hours. By using the CONCURRENTLY option for CREATE INDEX you can try your luck and build one hoping it’s not going to be invalidated by a write.
A random quote
I learned very early the difference between knowing the name of something and knowing something. Richard P. Feynman