Skip to main content

Posts

Showing posts from April, 2022

Command line Quick Bite 01

It is the black screen you see at the start and is sure looks scary with just a blank canvas. The RISE programme taught us this when we were learning about git push and pull. For many of us, it does not really work and we just seem to be copying what the instructor told us to. Needless to say, I did not go on to learn about it further. I mean GUI (graphical user interface) is good enough right? Well, coders will tell you how it is slow and you can actually do everything with the CLI. However after I started doing CS50x, I felt more comfortable with it since you need to make directories, make code files, compile and run code files from the terminal in VScode. So here is a compilation of the commands that I find useful to know. 1) cd - change path: to navigate to another directory (aka folder) eg1. cd Documents This will bring you from the main directory into your "Documents" folder. Congrats you have moved into the "Documents" folder. eg2. cd ..  This will move you

Still lost, another reflection on vision forming

I started a meditating routine every day, I will wake up at 6.10am and do 20 mins on the 6 phases of meditation by Vishen. After the meditation practice, I will be wide awake and ready for the day, prepping my daughter for her school. A week in, I am calmer, and not too easily triggered by my daughter's request and whine. I suppose the gratitude phase helped a lot as I review the day before how I had not flared up, and how she is better able to understand my perspective. As Vishen said, you paved the way for more desirable outcomes as you give thanks to them. Being more aware definitely helped, it helped us focus on what we like to see 80% of the time and not dwell on the 20% when things are not what we wanted. And that is all that mattered right? Spending energy on the 20% is just wasting our energy but celebrating the 80% good time is worthwhile.  So meditation had been working well for me, I cannot say it was a great perfect practice every day since I may drift off from the ques

Book review: 30 Lessons for Living by Karl Pillemer

I had been listening to this audiobook on 30 Lessons for Living.  The book recorded and summarized the advice from the old and wise about marriage, family, career and health.  Who are these people giving the advice? Very old Americans (above 65 years old) who had lived through very difficult times such as wars and recessions. The author noted how many of them did not feel they were qualified to give advice and felt their advice would be considered outdated. However, I agreed with the author that these people who had survived long enough will be able to weigh in on what truly matters in life.  There are many pointers that I love and agreed with and here is my pick of 3 top pieces of advice.   No 1: To exercise regularly and take care of your health when you are young.  Many people argued that I do not want to live a long life anyway so there is no need to take care of my body. The "wise" advice dismissed this as being silly as it is not that easy to die and before that happens

I installed Big Sur on my mid 2012 Macbook Pro

This all started with a dream to create an iPhone app. I bought the Udemy course by Appbrewery on iOS development Bootcamp. You need a mac machine that can run the free Xcode 12 (the version used in the course). The course explored the options with you and the easiest is to own a mac machine. However, the cost of owning a Mac machine is not exactly the cheapest. :( My husband had a mid-2012 Macbook Pro (MBP) which is in excellent condition since he only used it for a few years to process his then photography hobby. He happily let me use his MBP but to my dismay, I saw that the macOS was OS 10.11 El Capitan. And he told me that is the highest version he was able to upgrade to. I assumed he know best since he was the tech guy. I read up and know that this does not support Xcode 12. :( I thought about it and explored buying a new mac mini given that it is the cheapest among the mac machines however the cheapest with 16GB ram will cost me $1200 SGD. That is a lot of money for a hobbyist tr