21 Mar 2023 • Notes on using Web Workers in Angular as of version 15
Today I worked on an Angular app that fetches a list of smart devices, subscribes to their state via web sockets, does some computation on the devices’ state, sorts them, and displays them on a dashboard.
I learned it is not always a good idea to run computation in the browser’s main thread, and that we can now just offload them in their own background threads… Yup! Multi-threading on a browser app.
In this blog, I go through what web workers are and how to use them in Angular.
13 Jan 2022 • All projects can be daunting if you don't start this habit.
Wow, it’s been a while since I posted something! December 2021 must have been the busiest, most demanding month of my entire life.
15 Nov 2021 • Just some musings on active waiting and resting
I have been thinking about how anxiety greatly affects productivity. When much of the coming days is a blur, it is easy to feel constricted.
08 Nov 2021 • Accountability is the real underlying principle we need
Wouldn’t it be great if we all have someone who pushes us into achieving our full potential? I can’t count how many friends I’ve heard they need a mentor.
But lately I feel like this concept has been blown out… partly by those who make a living out of it, and now most of us are left looking for person/s who will finally help us achieve our goals.
01 Nov 2021 • Life is a chess... constantly prompting us: Your move. (Weekly Review #12)
Taking risks has always been a part of life, and, with them, the possibility of failures. But to me, I think, this is how we live intentionally.
25 Oct 2021 • There is a system to be productive regardless of whether my mind feels like it or not (Weekly Review #11)
Much of my productivity is hinged upon the idea that our minds normally have two contrasting states: an active state (the smarter, more productive, and energetic state) and a passive state (the dumber one which tends to be on auto-pilot).
11 Oct 2021 • Weekly Review #10 - In this blog I think about why I do the things I do.
What a busy last few days! Supported two online hackathon events in the last two weeks, several calls from different organizations for various purposes, and all these while having a day job… and of course playing the daddy/hubby role to my small young family.
One important question that I regularly answer to myself: Why do I do this?
04 Oct 2021 • Weekly Review #9 - Happy about weekly review schedule change!
First time for me to do my weekly review on a Saturday last week. Decided to do this for two reasons: Make sure that Sunday is cleared so I can have a good rest, and clear the Monday of the huge chunk of time needed for a weekly review.
27 Sep 2021 • I try to convince myself not to feel bad about failure
I’ve been aiming to read 2 books this month, but September is close to an end and I haven’t finished one.
20 Sep 2021 • Productivity disrupted by sickness and worry, but nothing beyond hope
The week started productive but my stomach acted up on Thursday, and that disrupted my sleep (I was in the toilet 2AM to 3AM) 😅 This made it hard for me to think and work last Friday so I had to take a sick leave.
13 Sep 2021 • I am excited to see the effects of the previous week's learning
06 Sep 2021 • The past week screams God's sovereignty over my life. There is nothing he cannot redeem and restore.
The past week turned out great. My sleep has been awesome and I’ve been waking up early yet well-rested.
30 Aug 2021 • Distrupted work week due to sickness and sudden vaccination schedules
To be completely honest, I don’t feel very good with my performance this past week. I did not finish some big tasks due to disruptions of my work, which led me to try to handle my stress by fruitless binge-watching and playing games. My anxieties were terrible.
23 Aug 2021 • I continue to learn how to handle stress.
This is the start of the dreaded busy week. I am basically working on a web app/platform that needs to support two hackathons (one for manila and one for India). This week is highly likely to be a stressful week.
16 Aug 2021 • In this blog I start to ponder the effects of having multiple projects to my health
This is the second post in what I call my Weekly Review, where I share some parts of my journal entries for the week as well as thoughts or realizations I have along the way. These entries are not intended to be very well-thought-of in terms of style or grammar (usually they are just bullet points of realizations and ideas) and could be a bit personal, but I decided to share parts of them here in hopes that someone might find them useful.
09 Aug 2021 • First post in hopefully a series of weekly short blogs.
Every Monday I start my work by reviewing the current state of my projects, the past week’s progress, and my plans for the coming days. This is labeled in my calendar as my Weekly Review. After these weekly reviews, I end up with journal entries that might not really be very well-thought-of in terms of style or grammar (usually they are just bullet points of realizations and ideas) and could be a bit personal, but I decided to share parts of them here in my blog starting today.
09 Apr 2020 • I have been striving to rekindle my love for reading books and it has felt so good.
There has been a problem arising that everybody seems to see lately, but still no one seems to understand it completely.
07 Apr 2020 • I hope that as we complain about our individual situation this also moves us to think about others.
If the goal for our existence on this earth is to love, then maybe all of our hardships’ purpose is for us to learn empathy.
01 Mar 2020 • Healthy growth is always bi-directional.
Have you ever planted a tree? I have not had the opportunity, but that is something I want to do.
I want to have a backyard with trees I planted myself.
29 Feb 2020 • If it is outside your circle of influence, do not waste time and energy.
I first learned about the concept of “Circle of Influence” in a book written by Stephen Covey called “The 7 Habits of Highly Effective People”
It basically represents the aspects of our lives with which we can actually have some impact.
28 Feb 2020 • We all have things that hold us back from reaching our goals.
This morning, I found myself curiously watching an old man sitting by the sidewalk. He looked like he was having difficulty breathing and was coughing so hard. But that’s not really what caught my attention.
What made me watch longer was that despite his difficulty and seeming pain, he was still holding a lit cigarette in his right hand.
27 Feb 2020 • Let's talk about routines. Today I will be sharing the routines I try to observe, and the benefits I find when I actually do them.
Today I will be sharing the routines I try to observe, and the benefits I find when I actually do them.
Spoiler Alert: I am not talking about skin-care routines, so sorry if that’s what you are looking for.
Yeah, I know this works like magic in TypeScript.
04 Oct 2019 • Let's discuss what Google Firebase has to offer for app development in 2019.
Recently, I’ve been looking into some of the latest ways we can quickly spin up a backend system for an app prototype.
I didn’t really expect it to be so hard but, to my surprise, the sheer number of available options can really be overwhelming.
In this post, let’s go through my considerations for choosing the backend tech for my future projects and why I eventually chose Google Firebase.
20 Sep 2018 • What do you do when you don't want to do anything or talk to anyone?
There’s nothing worse for your productivity than an anxiety or depression attack. What if, just for the mean time, you don’t have to talk to anyone to get your mood up?
Here’s a tool that just might help when you don’t feel like going out or doing anything at all.
13 Jun 2018 • In this post I go through how I quickly setup an Ubuntu machine for development
Whenever I get a new Ubuntu machine I intend to use for development, I go through so many articles around the Web just so I can install everything I need. This is because I work on several projects using different technologies.
So I decided to write this article for quickly setting up all I need on a new Ubuntu. Following these steps will enable you to quickly setup Node.js, Python, and Ruby (for Jekyll).
21 Apr 2018 • I strongly believe that every developer should know Git and Github. Here's why.
If you ask me for something that would greatly jumpstart your growth as a developer, I would place my bet on learning Git and exploring projects on Github.
I say this because to be better in writing code, you must first read and use lots and lots of code by more experienced developers… and a good place to start with this is Github.