My learning diary

Super Thinking Chapter 01

Being Wrong Less Inverse thinking. Instead of thinking how you can save money, think about how you can reduce your expenses. Unforced error. A personal shortcoming which can be controlled. Anti-fragile. Treating setbacks as challenges and thriving on them. Keep it simple, stupid! Arguing from first principles. De-risking. Challenging assumptions and verifying or debunking them. Premature optimisation. Minimum viable product. Ockham’s razor. “The simplest explanation is usually the right one.

Continue reading "Super Thinking Chapter 01"

Sticky

I found myself entangled in CSS. I needed app-header to stick to the top at all times. I also needed template-header to be right beneath app-header at all times. Lastly, embedded-content should begin immediately after template-header and should not be sticky. Here’s how the page organisation might look like: <div class="app"> <div class="app-header"> <!-- Content --> </div> <div class="app-content"> <div class="template-container"> <div class="template-header"> <!-- Content --> </div> <div class="embedded-content"> <!-- Content --> </div> </div> </div> </div> The simplest approach is to place app-header and template-header inside a single div.

Continue reading "Sticky"

reCaptcha on-error

Polling wasn’t effective because: Hot reloading did not happen because of some heap limit error. I called the wrong function to check if the reCaptcha errored. To deal with the heap limit, my buddy suggested updating the docker-dev script in package.json to: { "scripts": { "docker-dev": "export NODE_OPTIONS=\"--max-old-space-size=4096\" && ..." } } As for checking if the reCaptcha errored, neither on-expire nor captchaService.isValid worked. A possible explanation for the former would be that the reCaptcha didn’t expire.

Continue reading "reCaptcha on-error"

Reaping the Benefits

Section 3: “Reaping the Benefits” This section connects better listening and information management to better decision-making and benefits that can span entire organisations. Chapter 12: “Connecting Better Listening to Better Judgment” Learning from others and constantly reconstructing ideas leads to discoveries and insights. Chapter 13: “Changing Your Organisation through Listening” “Foster a more disciplined and productive organisation.” The example raised was the organisation of organisation-wide meetings. In these meetings, speakers need to be well-prepared and adhere to strict requirements.

Continue reading "Reaping the Benefits"

Sorting the Chaos

Section 2: “Sorting the Chaos” This section breaks down information from general business problems into suggested components. It also lists the questions to ask ourselves so that we remain focused and productive. Suggested information compartments: Mandate Plan Team Execution Personal Chapter 7: “What Is the Mandate?” “Why are we here?” (Vision, mission, agenda, etc.) So that we do not lose track and get mesmerised by less important things “Are there any misalignments?

Continue reading "Sorting the Chaos"