- Javascript Module
JavaScript programs start off pretty small almost every time. Not until your project grows and grows so large that your scripts may start to look like spaghetti code. At this point, your code has to be broken down into separate modules that can be imported where needed. The good news is that modern…
- Algorithm interview – Big O
Big O is about how long an algorithm takes to run from start to end and how well it scales based on the size of the input or dataset. Big O is mostly measured based on the worst-case scenario even though some algorithms might finish early based on some logic. Here is another graph […]
- MySQL Closure Table
Sometimes we are given a task where we need to model a hierarchy of different complexity levels and not really sure how to do that properly in the most efficient, reliable, and flexible way. Let’s review one of the data modeling patterns that give us some answers for that. Consider we have a…
- Intellij Hot Keys
Reformat Code For Mac ⌥ ⌘ L command + option + l View Structure/Outline of Class command + 7
- System Basics
What are the basics of a system? The picture below illustrates more less of what a production system made of. Web browser and mobile app are clients of our system. Load Balancer A load balancer evenly distributes incoming traffic among web servers that are defined in a load-balanced set. Users…