Raising Exceptions

Programming Journey Blog

Check me out on GitHub

Connecting Patterns in Learning

29 Nov 2020 | rants

I recently read an interesting book about learning called A Mind for Numbers by Barbara Oakley. In the book, she explained different strategies that influence learning and how to do it more effectively. One particular phrase stood out to me:

Good chunks form neural patterns that resonate, not only within the subject we’re working in, but with other subjects and areas of our lives. The abstraction helps you transfer ideas from one area to another.

As I read this, I understood that pattern recognition was a vital part of how I learned. The funny thing is that it’s an automatic process. I wish I could do a brain dump of all the information I learned and connect them one at a time.

Read more →

Pausing Loops with Await in JavaScript

20 Nov 2020 | programming

When I was working on creating a simple test for my flashcards app, I ran into a problem. I have an object containing the term and answer pairs. The simplest way to go through the test would be to loop through the keys and displays the answer when user clicks on Answer button. The problem was that the loop does not stop on each iteration for the user to select whether their answer was correct or not. I looked up different methods to solve this problem because I wasn’t aware of how asynchronous functions work. Then I stumbled upon a similar StackOverflow question and somebody suggested in the comment to use async.

Read more →

Jekyll Flashcards Generator

29 Sep 2020 | programming

The last post I wrote was on March, right before the pandemic happened. I never thought things would change this much in the span of six months. I heard the news about coronavirus going on in China before March but never thought it would hit the U.S. as hard as it did. I’ve just stayed indoor since then most of the time.

In the beginning, I spent a good chunk of that time just playing video games. The news was saying how if everyone practices social distancing and wear masks, the pandemic would be under control in just a couple of months. It’s been six months since then and the number has only been increasing. So now I try to use the time to work on a project that create flashcards using Jekyll and Github Pages.

Here is the link to the project: Jekyll Flashcards

Read more →

Scraping for Jobs on Indeed

17 Mar 2020 | programming

A couple months back I started applying for jobs on Indeed. I expected the process to be slow. Pretty much everyone understood that applying online is one of the worst ways to find a job. But I wasn’t as discouraged because I wasn’t desperate to find a job right away. After applying to a dozen jobs or so on Indeed, I realized that I much prefer having all of these jobs in a CSV file for easy organization. Since Indeed is a well known company, I thought they would have an easy to use API for people to use. Unfortunately, that feature is only available to Indeed publishers.

Link to project: Job Applications Backlog

Read more →