The marriage of Intuition & Logic






Veiled Virgin" by Giovanni Strazza (1876)

Fig 1


 endless-column by Constantin-brancusi

Fig 2



Today you can see examples of abstract or intentional art  , music sometimes carries a meaning and needs to get in line with a rhythm , same thing for coding , some programmers like to mess around with new ideas like myself , others try to just keep it within the rules even if their solution isn’t the best . 

Both approaches have their pros and cons and need to be implemented if we want a holistic approach. I recommend you follow Collen Galen (a high rank top performer in coding competitions) , in this video he describes very well the relationship between intuition and logic and how he needs to put his intuitive ideas to the test by logic which takes time but is absolutely worth it .

When I started coding I relied on my intuition more than logical representation of things like the problems , goals and the tests I needed to implement . This made all my initial work spaghetti like and not easy to expand , debug and  test . 

Julius Caesar once said that its important to get down to business and not over plan , I resonate with that and it shows that he relied more on intution for quick decision making in battle , but for us developers there is almost always room specially at the start of a project when we are tempted to start right away .

Giving sometime to plan the use cases and their actions may take a little bit of extra time but saves more time on the long run , it is a modulation of the brain power before even deciding to modulate code architecture , because the attention itself is a resource like any resource in the project .In this video Galen speaks about his research method called backbox method  .

The black Box method is basically enquiring about the outputs and inputs  of a system that your don't understand then infer how that system should be , you are able to better infer by just knowing what it produces and needs , and as you go through the concepts you want to learn within the blackbox you start to relate the information you are reading with your inferences .

Vid 1



This is an example where you are thinking about the details before sculpturing your understanding from a block of new information which leads to a more detailed intricate sculpture like that of Fig 1 , else when the task is simple like the column in Fig2 you can easily take it without having to go though alot of details .

The more the questions the more the details ,  in Vid 1 we can ask further questions like what type of Veil, what is the geometry of the face , where is the look of the eyes ? etc ... in order to get the further details .

In programming we can ask questions like what does the client want as the output and what is the input needed to the program then even if we make an initial inference , we can take it further by treating the new inference as a new blackBox and nesting in further as in Vid 2 .

Vid 2


This is kind of how Chatgpt works , after you ask it it creates an initial model of its understanding of what you want , then you can ask it further questions in order to get to a clearer and more precise solution , so in a way we are sculpturing through a blackbox that chatgpt provides and the chisels are our questions :) .

I actually used chatGpt for this example but this begs the question ;-
Why no just use chatGpt , what is the use of doing a prior investigation ? 

 Alot if the coding time really just goes into trying to solve unnecessary problems, so not only will you be able to search more precisely on chatGpt or the web in general , but also you will not ask as much questions about the answers provided , like going into the supermarket without knowing exactly what you want to buy , and every question becomes a whole new thread which may lead you to get lost in chatgpt from your main question , you may also start asking about prior answers which make your search spaghettie like and non linear .

 Although there is an overall a greater momentum due to getting answers , without integrating the information in parallel or synchronizing it with your planning , the process of learning will be unnecessarily more steep .The progression ideally should be from your base of knowledge and gradually moving outside of it.

Planning also creates a sense of time which is essential for programming. 

Maybe with Elon musks neuralink we'll be able to synchronize with chatgpt's feedback more closely an the gap between planning and execution will decrease .

So Fig 2 represents more of the intuitive type of art and Fig 1 the modulated one , in code to modulate would means to separate your similar data sources from one another while maintaining a relationship among them .But this is a further modulation and that is a modulation of the human attention .






Comments

Popular posts from this blog

Optimal Laptop Specs

The clean hands strategy