Your App As One Big State Machine

Back in college, and in my early years of work, there was a meme about the approach computer engineering students took when solving problems. The meme states that whatever the problem, they would always resort to using state machines as their solution of choice. It's like the hammer-nail situation where a state machine approach is their hammer, and every problem basically becomes nail-like. But did you know Redux, one of the famous design patterns for the web, essentially turns your app into a big state machine?

Read more

Invalid State

Christmas season is a fun time for programmers. You become the de facto tech support person in the family. You do a lot of googling, a lot of reading, a lot of configuring, a lot of troubleshooting and of course, a lot restarting. But ever wonder why you need to restart systems when they malfunction? Believe it or not, it is all because of bad programming and invalid state.

Read more

I Learned How To Read Source Maps

Source maps are these magical things that translate output code back into their source form. It's essentially the Rosetta Stone or the Google Translate in the programming world. But have you ever wondered how they really worked? That's what I've been up to the past few weeks, looking for resources that explain the concept like I was five. And when I learned how they worked, my mind was blown by its simplicity.

Read more

Great Magic Happens In Three Acts

The other day, I was browsing through movie listings hoping to find a movie that I haven't watched yet. I came across The Prestige), one of the few magic-themed movies I've watched (besides Now You See Me and Now You See Me 2. As I re-read the plot, I encountered that famous quote of magic being a three-part act. Then it hit me... I think I've applied it to programming.

Read more

Planetside 2 Stalking

Yep, it's another article about Planetside 2. This time, it's tips on how to become an efficient Stalker.

Read more
View All Articles