Jason J Lee
Software engineering with a focus on web applications and data pipelining.
A collection of thoughts on programming and hobbies
No AI was used to write these posts
2015
2014
-
What Is This?
The this keyword in JavaScript is probably one of the most confusing and misunderstood fundamental concepts of the language. The use of this allows for repeatable creation of objects and flexibility in method sharing, but its often the source of many problems through misuse and misunderstanding.
-
Organizing Object Oriented Javascript
Object oriented Javascript isn't really a new concept. For years people have been trying to make JavaScript more familiar towards object oriented programmers by perverting its naturally prototypical architecture towards something more classical.
-
Executing Highlighted Code in Eclipse Debugger
How to run slices of code in Eclipse
-
Bejeweled Bot
Bejeweled Bot is a bot that automatically plays Bejeweled Blitz as fast as possible. Once executed, the bot will orient itself with the origin of the game board, determine the current gems on the grid, parse the possible matches, then move the appropriate gems in the game to create matches.
-
Text Twist Bot
Text Twist Bot is a bot made to play the anagram solving game Text Twist. Once ran, the bot will auto detect the location of the window, parse the current letters on the board, and automatically input all anagrams that can be found from those six letters.
-
Balancing Confidence, Arrogance, Ignorance, and Humility
Something I've picked up in my first professional job is that nobody appreciates humility. While being humble is a virtue, it's not one that's usually appreciated in the workplace.
-
Regular Expressions
Regular expressions are hard. There's a lot to them that vary between different regular expression engines. They're often considered to be an afterthought when it comes to a programmer's tools due to the relative infrequency at which they're used.
-
Problems: Binary Tree Designs
So I've been brushing up and working with binary trees recently and I was pleasantly reminded how binary trees can flex and change while still maintaining the same data. It was fun testing self balancing trees when they would keep changing up on me.
-
Unit Testing Random Behavior With Mock Objects
What happens when you're trying to write some unit tests and suddenly you need to test a method with non-deterministic properties. In other words how do you test a method whose expected behavior is random behavior? The answer is with mock objects.
-
Problems: Halloween Edition
You're a kid, and tonight's the greatest night a kid could have next to Christmas. Halloween night is coming soon and you're prepping your bags for the trick or treating. The problem is, is that your parents are tired and are only willing to walk a certain number of feet before they call it a night.
-
Framework Frustration
Let me preface this by saying that I understand why frameworks exists. They solve repeatable problems in application development in a team environment by maintaining consistent development standards with tried and tested techniques that stood the test of time against thousands of projects and developer input that's supposed to ultimately save the developer time.
-
Javascript, Pass by Value or Pass by Reference?
This is something you don't have to question until you need to pass the contents of an object around or pass the same exact reference around. For me this knowledge became important during the development of Angular and Node applications where objects and primitives are passed around like a hot potato.
-
Blog Inauguration
Hi, my name's Jason and all these other programming blogs told me that I should start writing. I've been reading alot about how programmers that write assist in the thinking and solidifying process.