Lifelog

Write 100 words a day, every day, towards your goals.

🐞 Finally fixed bug and deployed goal edit/delete feature to production, plus other minor updates

✅ NEW features on Lifelog

🎯 You can finally edit/delete your goals now. Also toggle the status of the goal from ongoing/completed/archived.

🔁 Added "Most Streaks" leaderboard to home page to showcase the master streakbreakers of Lifelog

📸 Added IG social link to footer

🐞 Other bug and style fixes on mobile screen
- Finally fixed the Heroku deployment error by switching the offending package versions to fixed numbers (instead of ^ >= ) which worked before in combination - knex, strapi-connector-bookshelf, npm. Wiped node modules to sync them. And deployed. IT WORKED!

Day 168 - Dabbling https://golifelog.com/posts/dabbling-1623919104583

I miss dabbling.

The unboxing, the adventure of trying new software. The unstructured form of learning that is dabbling.

I bookmark so many but forget them. It's time to do sthg abt it.

I'm blocking Fridays for dabbling. Will pick 1 from my "dabble list" below, and PLAY 👇🏻

https://twitter.com/jasonleowsg/status/1405441829592461316

Figured out source of deployment bug, but no fix yet

Issue is unable to resolve dependency tree.
While resolving: strapi-lifelog@0.1.0
Found: knex@0.21.19 node_modules/knex knex@"^0.21.18" from the root project

Could not resolve dependency: peer knex@"^0.20.0" from strapi-connector-bookshelf@3.2.4
node_modules/strapi-connector-bookshelf
strapi-connector-bookshelf@"3.2.4" from the root project

Fix the upstream dependency conflict, or retry this command with --force, or --legacy-peer-deps to accept an incorrect (and potentially broken) dependency resolution.

[Update] - nope, that's NOT the bug! 🤬 Server still crashed even after applying the fix. Got my hopes high...

🤬 Deployed recent changes to Heroku backend, build succeeded but server crashed. Had to roll back and figure out this obscure bug... This is why I have trust issues on backend development work

Day 167 - Writing is useful because it is hard https://golifelog.com/posts/writing-is-useful-because-it-is-hard-1623809566263

"Many people assume they are bad at writing because it is hard. This is like assuming you are bad at weightlifting because the weight is heavy. Writing is useful because it is hard. It’s the effort that goes into writing a clear sentence that leads to better thinking." ~ @JamesClear

Isn’t this the case with anything truly worthwhile in life?

This is a insightful heuristic to try out, a beautiful question to ask whenever things get tough:

Is this hard because it has to, in order to be useful?
Is this hard because it has to be earned?

Day 166 - More problems with passion https://golifelog.com/posts/more-problems-with-passion-1623747936686

Nobody’s passionate about a laundry business, but everyone gets passionate when the business helps them get rich.

I wonder, would I one day choose to work on something that I’m not entirely passionate about, but had validated scale (and/or riches)? So far, optimising my enjoyability of the process is a key factor when considering any new project or product. It’s be interesting to one day try out Scott Adams’ approach.

How does one go about finding such a project?

Added goal status toggle

• Added select element for goal status.
• Added default goal type "Ongoing" to the axios post req in SetGoals pg.
• Created separate select component for goal status selection but ended up not using because I didn't wanna wrangle with v-model on a component.
• Fixed sort order for goals in profile pg by adding sort DESC params to API endpoint.
• Updated roadmap to reflect goal edit feature is developed.

Day 165 - We don't unlearn enough https://golifelog.com/posts/we-dont-unlearn-enough-1623651312787

Hot take: We got to unlearn more than we learn. Unlearning gets you more ROI than learning.

“Most people don’t want accurate information, they want validating information. Growth requires you to be open to unlearning ideas that previously served you.” ~ @JamesClear

We don’t unlearn enough.

What if we tried to unlearn more than we learned? What if we took our first principles or assumptions about anything, and searched for contrarian information instead (of searching for only validating information)? Wouldn’t it be interesting if that’s our first reflex on any topic, old or new?

What if we made unlearning a top priority in our learning?

Just imagine that. Imagine how much your life would change in 5-10 years…

Fine-tuned and fixed bugs for edit/delete goals feature

• Removed ext links open in new tab feature in roadmap.
• Added function to clear input, textarea in setgoalspage when clicking "add goals" navbar btn.
• Fixed bug on featured goals on home pg where avatar in tooltip is not showing the right avatar.
• Added notifs to setgoals page, and redirect to new goal pg instead of home.
• Added notifs to goal pg when deleting.
• Fixed profile pg GET req failure for fetchPosts by adding another GET req to fetch useridandnames.

Day 164 - The problem with passion https://golifelog.com/posts/the-problem-with-passion-1623566171038

“Follow your passion”, they say.

Some problems with that phrase:

• It assumes everyone has an inherent passion just waiting to be transformed into their dream job
• It assumes that passion is intrinsic, internally motivated and powered by some unique personality trait
• It assumes no external force, extrinsic motivators are necessary to have it

It might be true for some people, but not true for 100% for sure, because Passion can come later, over time, when it scales, or when you get good at it......

Added inline editing to goals

Trying to copy and paste code over (even if it's your own code) is harder than coming up with it from scratch!

I'm developed inline editing before, for posts and comments, so it was just a matter of copy-pasting it over. But that was a few months ago and I forgot how the functions chained together already. It felt like working on someone else's code even though I coded it previously. And the uncertain feeling of pasting over something which you're not 100% sure how it works...

Day 163 - Anti-snooze tactics https://golifelog.com/posts/anti-snooze-tactics-1623480849233

Fixed more bugs

• Removed target="_blank" for all ext links except to payment provider. After some research, realised that the default behaviour of opening links in same window is actually best practice (even though my preference is to open ext links in new tab), because most people go with default. By keeping it to default, people have more control - if like me, they prefer to open in a new tab, they can right-click. It also appears less spammy. Most importantly, opening links in same window is more accessible - folks using screen readers will get lost and cannot click back on the browser.

• Added IG icon to nuxt config and footer.
• Fixed bottom padding issue for commentBox.

Day 162 - Success is... https://golifelog.com/posts/success-is-1623395441484

Success is having something to live for.

Success is having someone(s) to love.

Success is having something you love to do.

Success is financial freedom.

Success is being able to say no.

Success is not falling ill ever for an entire year.

Success is a fit, athlete’s body.

Success is the feeling of wellbeing from a good night’s sleep.

......

Fixed annoying scrolling 'jump' issues on post page

Tweaked editing textarea for posts:
- auto scroll to top for textarea scroll bar,
- auto scroll browser scroll bar to start of textarea,
- set cursor to start of textarea,
- removed textarea.style.height to auto.

Day 161 - Back to coding: Creating is life-giving https://golifelog.com/posts/back-to-coding-creating-is-life-giving-1623306100595

Creating is life-giving
It’s such a amazing feeling. Coding—and creating, in general—is my craft, my purpose, the life blood of my core. How could I have forgotten to create for so long? No wonder I felt so uninspired, lethargic, and listless for the past few months. No wonder I was being “inauthentic”. Like a fish out of water for too long, I had started to wither from being away from my source of life, my fountain of youth.

Yes, creating energizes me, makes me feel young and strong again. I feel motivated. There’s a spring in my step. My mind is clearer and focused. My eyes, optimistic and ahead.

🐠 Cracked open VSCode again after months! Getting back to coding for Lifelog feels sooo good, like a fish back in water

Fixed styling for postText and commentBox on post page
Fixed personal streak not showing up on home page after login, by changing v-if to v-show
Added router.push to navbar logo to force reload home page

[Re-log for Wed 9 Jun] Day 160 - Game of growth https://golifelog.com/posts/game-of-growth-1623223107414

The purpose of life is to grow. Everything else is just theatre to enable that.

Hard not to see it that way, after all the theatrics of trying to find money, only to be shown that all the difficulties in my path were just there to make me (re)learn the lesson about being authentic.

It’s all just a game of growth.

Day 159 - Staying small in a portfolio of small bets https://golifelog.com/posts/staying-small-in-a-portfolio-of-small-bets-1623124512245

Bet on things that don’t require a significant investment
Not about payoff maximization but odds maximization
Something low expectation but reasonable chance of materializing
Small bets is likely to give small wins too (subjective
Keeping things small can be the long term approach (instead of just doing it on the way to finding a big winner), because what’s enjoyable at small scale doesn’t always stay that way when it scales.
Big winner might not remain a winner, so can be high risk too if it fails later
You can narrow the things you try if there’s too many small bets
Remember: the ultimate goal is to enable a lifestyle you envision.

Day 158 - Trifecta for making lots of money https://golifelog.com/posts/trifecta-for-making-lots-of-money-1623048311051

To make lots of money, you really only have to do three basic things: 1. Change your beliefs about money. 2. Get really, really, REALLY good at something. 3. Help lots of people. ~ @ramonwilliamson

Day 157 - Maze vs line https://golifelog.com/posts/maze-vs-line-1622960661142

We’re all suckers for the classic hero’s journey – neat and linear narratives of success stories in business, sports or any sort of human achievement. When really, how most of us get to our goals is often a convoluted, clueless wandering through a maze. A maze within the larger labyrinth of life.

Few understand this.

Day 156 - Calendar vs bank account https://golifelog.com/posts/calendar-vs-bank-account-1622873363320

Your calendar is a better measure of success than your bank account. ~ @JamesClear

Day 155 - The problem with habits https://golifelog.com/posts/the-problem-with-habits-1622777816505

Tiago Forte @fortelabs offered an interesting Twitter challenge the other day:

Give me one piece of productivity advice and I’ll give you equally valid counter-advice. ~ @fortelabs

I jumped on the opportunity and asked him for counter-advice to this classic habit hacking law popularised by James Clear:

Habit systems work better than having goals.

Here’s his reply:

Habits lack imagination. They create a false sense of security that progress is linear, predictable, incremental, and compounding, when it’s often more about timing and taking advantage of brief windows of opportunity.

Great counter-advice!

Day 154 - Mission vs money https://golifelog.com/posts/mission-vs-money-1622701131285

After writing about the story of “good tired” versus “bad tired” yesterday, I had an epiphany.

I’d been going at the money problem all wrong.

By making money my all-consuming focus, I lost my mission. I became lost at sea without the compass that is my values, unmoored from the anchors of my beliefs. It’s like sailing against a starless sky, without the north star of my integrity and authenticity showing me the way.

No wonder I was completely ineffective.