Day 12- 31 Jul 2024
Been a while since I last posted.
Today's progress - Switching to VUE, to finish the Muscle tracking app I wanted to build.
Thoughts: With Vue, thinking becomes easy, as I code a lot in Vue.
Day 12- 31 Jul 2024
Been a while since I last posted.
Today's progress - Switching to VUE, to finish the Muscle tracking app I wanted to build.
Thoughts: With Vue, thinking becomes easy, as I code a lot in Vue.
Day 11 - 19 Jul 2024
Today's progress - Learned React routers using react-router-dom and also learned to configure layouts.
Thoughts: Syntax, a bit hard to memorise, but got it covered using my flashcards
I am big fan of flashcards.
If anyone wants to create flashcards for studying anything, below is a GPT for you.
Day 10- 17 Jul 2024
Today's progress - Stuck on fixing test for React and Firebase.
Thoughts: I hate it when I have to mock Firebase. Firebase is not the problem, but the environment and other configurations. đ
We all need a work journal, that I agree!
> I guess thatâs kind of it: if youâre having trouble switching between things or getting focused, try writing what youâre doing, and read the last couple sentences when you resume.
Some thoughts on sleep! Yes, something we can get better at.
https://ryanholiday.net/this-is-the-secret-to-sanity-and-success/
People fail for a lot of reasons. People do crazy things for a lot of reasons. But one reason we donât talk about enough is sleep. I watched this at American Apparel. There were a lot of problems at that company. It borrowed too much money. It had a toxic workplace culture. It was besieged by lawsuits. It opened too many stores. This was all written about many times during the companyâs public disintegration in 2014. As I talked about in Ego is the Enemy and in Stillness is the Key, Dov Charney, the founder, was a remarkably accessible boss. A lot of leaders talk about being reachable, having an open-door policy, but he really did. Not just open-door but phone and email too. Any employee, at any level of the company, from garment sewer to sales associate to photographer, could reach out whenever they had a problem. For good measure, during one of the companyâs many public relations crises, Charney posted his phone number online for any journalist or customer who had an issue as well. The upside of this was that he was constantly in tune with what was happening in the company. He could solve problems as they happened, sometimes even before they happened. He had eyes and ears everywhere. He could notice and respond to sales trends. He could jump on every opportunity. The downside of this was the same as the upside. Because by 2012, the company had 250 stores in 20 countries. Charney was sleeping only a few hours a night. By 2014, he wasnât sleeping at all. There was always someone with a problem, always someone with an idea, always something to do. There was always someone somewhere in some distant time zone taking him up on the open-door policy. It was this extreme, cumulative sleep deprivation that was the root of so much of the companyâs catastrophic failure. How could it not be? Research has shown that as we approach twenty or so hours without sleep, we are as cognitively impaired as a drunk person. Our brains respond more slowly and our judgment is significantly impaired. I knew this was a problem at the time, but it was only a few years later when I had kids that I fully understood. He was slowly killing himself through sleep deprivation. It wasnât simply that he was making bad, even reckless decisions, itâs that his sleep deprivation was depriving him of the ability to make good decisions. You want to think you can function on little to no sleep, but you just canât. Not on a sustained basis, anyway. American Apparel ultimately careened in a catastrophic mess of its own making. The decision to open up a new distribution facility was rushed, the timeline impulsively moved up. And when it started to go poorly, Charney moved into the shipping and fulfillment warehouse, installing a shower and cot in a small office. To him and some diehard loyalists, this was proof of his heroic dedication to the company. In truth, he was doubling down on what had created the problem, and ensuring it would be made worse. Dov descended into madness in front of us. Unshaven. Bleary-eyed. Incapable of controlling his temper, or of even the slightest bit of patience or propriety. Issuing orders that contradicted orders he had issued just minutes before, he seemed almost hell-bent on destruction. It came soon enough⊠Two things stand out to me from this period. The first is when he would call to talk very late at night, sometimes staying on the phone until he drifted off to sleep. It was as if he was terrified of having even the slightest down period, so he actively fought sleep until it eventually just took over. And then, oftentimes, there would be calls or texts early in the morning. Heâd barely stayed asleep. The other standout moment was reading reports from the famous board meeting after he had agreed to some financing terms that diluted his control of the company. His board watched, in horror, as Dov mixed package after package of pure NescafeÌ powder in cold waterâessentially mainlining caffeine to stay awake. By the time he left the meeting, he no longer had a job. Within a few months, his shares were worthless. Although this failure was particularly epic and played out in the headlines, itâs actually fairly common. The overworked person creates a crisis that they try to solve by working harder. Mistakes are piled upon mistakes by the exhausted, delirious mind. The more they try, the worse it gets and the angrier they get that no one appreciates their sacrifice. Elon Musk has been doing some version of it (to slightly better results so far) for years now. Stimulants to stay awake. Ambien to crash. Careering from crisis to crisis, urgent deadline to urgent deadline, tweeting at all hours, a cycle which makes it all the more impossible to enjoy his success or plan for the long-term future. Arianna Huffington tells the story of waking up on the floor of her bathroom as she was building her company, covered in blood. She had passed out from sheer exhaustion and shattered her cheekbone on the way down. Meanwhile, a friend of Churchillâs said âHe made in Cuba one discovery which was to prove far more important to his future life than any gain in military experience, the life-giving powers of the siesta.â People say, âIâll sleep when Iâm dead,â as they hasten that very death, both literally and figuratively. They trade their health for a few more working hours. They trade the long-term viability of their business or their career before the urgency of some temporal crisis. If we treat sleep as a luxury, it is the first to go when we get busy. If sleep is what happens only when everything is done, work and others will constantly be impinging on your personal space. You will feel frazzled and put upon, like a machine that people [...]
Visual programming! Sounds interesting. Would be nice to build one to visualise the app that I am building.
https://blog.sbensu.com/posts/demand-for-visual-programming/
Day 9- 13 Jul 2024
Today's progress - Using TDD to add csv values to firebase. First simple test is passed. Logic pending.
Thoughts: Loving TDD! Letâs you think logic.
Some motivation from Arnold!