Raising Exceptions

Programming Journey Blog

Check me out on GitHub

Getting Disqus to Work

05 Nov 2019 | web

My blog is chugging along so far but it’s still missing a vital component, the comment section. When I was running my blog on WordPress, the feature was already included so I never thought much about it. After migrating over to Jekyll, I noticed the missing comment box at the bottom. It wasn’t a big deal for me because barely anyone dropped by my blog anyway.

Now that I have some free time to update my blog more often, it feels incomplete. While my blog is a way for me to write about programming, it’s also something I want to share with others. Not having a comment box defeats that purpose. In this post, I will go over the process of adding Disqus.

Read more →

Bisection Search Implementation Complexities

28 Oct 2019 | programming

This post drew from MIT 6.00.1x course on edX. I saw something very interesting in a lecture when professor Grimson compared two different implementations of bisection search. The algorithm for bisection search given a sorted list is:

  1. Pick an index i that divides the list in half
  2. Ask if L[i] == e
  3. If not, ask if L[i] is larger or smaller than e
  4. Depending on answer, search left or right half of L for e

After every iteration, the list is cut in half so the complexity of this algorithm should be O(log n). But as we’ll see, this is not always the case.

Read more →

Frustrating Blue Screens

21 Oct 2019 | rants

Windows 10 logo

It’s a regular Tuesday night. I came back from work, had dinner, and watched some YouTube videos to pass the time. Then all of a sudden, the screen went black and this message popped up:

:( Your PC ran into a problem and needs to restart. We’re just collecting some error info, and then we’ll restart for you.

If you’d like to know more, you can search online later for this error: DRIVER_IRQL_NOT_LESS_OR_EQUAL

Read more →

Choosing A Browser in 2019

03 Oct 2019 | technology

When I was in high school, Internet Explorer (IE) was the default for Windows so my family only used it. Since they were older and less tech savvy, they clicked yes to every single request asking to add a new toolbar. I was sharing the computer with my family so whenever I open up IE, it looked like a bunch of people just vomited all over the screen.

IE toolbars

Read more →