Deriving the OLS Estimator
How to derive the OLS Estimator with matrix notation and a tour of math typesetting using markdown with the help of KaTeX.
Writing to improve myself and help others do the same. Sharing my thoughts on tech, finance, sports, and more.
How to derive the OLS Estimator with matrix notation and a tour of math typesetting using markdown with the help of KaTeX.
Markdown cheatsheet for all your blogging needs - headers, lists, images, tables and more! An illustrated guide based on GitHub Flavored Markdown.
In this article we introduce adding images in the tailwind starter blog and the benefits and limitations of the next/image component.
Looking for a performant, out of the box template, with all the best in web technology to support your blogging needs? Checkout the Tailwind Nextjs Starter Blog template.
The Time Traveller (for so it will be convenient to speak of him) was expounding a recondite matter to us. His pale grey eyes shone and twinkled, and his usually pale face was flushed and animated...
Most tools in modern software engineering belong to recurring “problem families,” so learning new tools is primarily a mapping exercise, not a reinvention of knowledge.
My thoughts on a book I heard of a few years ago but only recently found some time to dive into
Exploring how public, verifiable security challenges and read-only system access can replace promises with proof — and why authorization integrity matters more than most people think.
Why modern systems should be built for people who doubt claims by default — and how designing for skeptics produces better architectures, clearer guarantees, and stronger trust.
How users connect wallets, deposit and withdraw funds, and trade tokens — demonstrating end-to-end flows with explicit risk boundaries, verifiable state transitions, and operational transparency.
Why we’re creating an exchange in public, the principles guiding our decisions, and how we focus on building real relationships with users, collaborators, and investors, not just code or pitch decks.
A walkthrough of our trading platform architecture, showing how the web client, services, and data layers interact with Protobuf, Redis, and Postgres — and why these choices matter for transparency and reliability.
How transparency, high-signal public artifacts, and verifiable challenges create trust, attract the right attention, and generate inbound opportunities for founders.
How operational transparency, public metrics, and verifiable system performance can be treated as a core feature, building trust with users, investors, and the community.
An approachable introduction to futures contracts: what they are, how they work, common uses (hedging, speculation), key terms, and the risks investors should understand.
Drawer, Tab & Stack Navigators are fundamental build blocks to all large dynamic mobile apps. Here I demo some of the nuances of working with them.
A clear, practical guide to Registered Direct Offerings (RDOs): what they are, why companies use them, how they compare to IPOs, and what investors should consider.
Adding illustrative features which enable customers to see the final product(cake) before its made & enabling bakeries to customize colors. Also adding Canva integration
Even industry leaders like Reddit can have bugs in production. This post highlights a duplicate posts issue in Reddit's mobile app and encourages developers and hiring managers to view such bugs as opportunities for growth, learning, and empathy.
Learn how to avoid messy nullable fields in Dart models by using inheritance and composition. Discover best practices for structuring your data classes for both list and detail views, improving code clarity and maintainability.
A starter template for building Python APIs using FastAPI, GraphQL, and SQLAlchemy. Includes example resources and project structure for rapid development.
Markets over react to positive news by HOOD on growth in the Fantasy Sports Betting industry priming DKNG for a bounce
Learn how to set up and connect to Google Cloud Memory Store (Redis) from Cloud Run using a VPC connector.
Learn what GCP VPC Connectors are, why they matter, and how to use them to enable secure private networking for your serverless applications.
Learn what Google Cloud Secret Manager is, its benefits, and how to securely manage secrets for your applications in GCP.
Explore the pros and cons of three popular approaches for scheduling and running background jobs in Google Cloud: App Schedulers, Cloud Scheduler, and Cloud Run Jobs.
Learn what Google Cloud Scheduler is, its benefits, and how to set up a scheduled job in Google Cloud.
Learn how Cloud Build Triggers automate CI/CD workflows in Google Cloud, enabling automatic builds and deployments for your applications.
Learn what Google Cloud Run is, its benefits, and how to deploy containerized applications with ease.
AI-driven vibe coding makes simple apps effortless, but when projects demand nuance, it turns into a frustrating cycle of fixing one issue only for another to pop up.
How to use the SQL LAG window function to compare current and previous row values, with practical query and table output.
AI expands knowledge like a fractal—each layer of clarity reveals new noise, trapping us in a recursive race to find true signal.
An introduction to Tree's theory using Leet Code problems and Python
A practical guide to understanding GraphQL in system design — how it compares to REST, when to use it, and the key concepts behind building flexible and efficient APIs.
A concise reference of key numbers every engineer should know for system design interviews and rough capacity estimations — from latency benchmarks to storage calculations.
Agents, state spaces, goal tests, path costs & more
🚀 A single tool to replace pip, pip-tools, pipx, poetry, pyenv, twine, virtualenv, and more.
Restarting a server to see changes reflected call kill velocity when working. Enable Hot Reloading to see changes to the app reflected from your code without the need for a server Restart
Canonical Priority Queue problems on LeetCode
Create an auditing system for enterprise applications which tracks user requests, resources touched & action taken. Reuse logic by leveraging hooks so that code is clean & concise. By utilizing middlewares, events & closures we're able to capture the details of requests on all our resources without duplicating code.
Decouple, distribute, and scale: A message queue lets your app handle tasks asynchronously, improving performance, reliability, and system flexibility.
How to add Light/Dark mode to a Flutter application quick and easy using Flutter's built in Provider & Notification modules. Allow users to change the app's theme as well
A walkthrough of pair trading, portfolio construction, and mean-variance optimization in quant finance.
A guide to the major theorems of multivariable calculus, with LaTeX examples and explanations.
A reference guide to the most important symbols, their original names, and meanings in quantitative finance.
Learn how premium flow trends help traders identify optimal entry and exit points for assets by analyzing market sentiment and momentum.
Learn what slippage is, why it happens, and how traders can minimize its impact when buying or selling in financial markets.
Explore the differences between institutional and retail investors, including their characteristics, strategies, and impact on financial markets.
Learn the difference between primary and secondary markets in finance, including how securities are issued and traded, and why both are important for investors.
Learn the meaning of upside and downside in trading—how these terms help assess potential gains and risks before entering a position.
Discover what a warrant is in finance, how it works, and how it compares to options. Learn about exercise price, expiration, and the role warrants play in trading and investing.
Essential calculus concepts and techniques for success in quantitative finance.
Overview of the essential mathematics—linear algebra, statistics, calculus, and more—for success in quantitative finance.
A comprehensive guide to Implied Volatility Rank (IVR), its calculation, significance in options trading, and practical applications.
How quant traders use premium flow and z scores to spot unusual options activity and trading opportunities.
Explore the Put-Call Ratio, its calculation, interpretation, and role as a sentiment indicator in financial markets.
A guide to understanding and using the Relative Strength Index (RSI) in finance.
Learn what quadruple witching is, why it matters for traders, and how it affects stock market volatility.
Learn what Net Asset Value (NAV) means, why it matters for investors, and how to calculate it for investment funds.
Understand the concept of extrinsic value in finance, especially in options trading, and learn how it affects pricing and investment decisions.
Learn what intrinsic value means in finance, how it is calculated, and why it is important for investors and option traders.
Learn what mutual funds are, how they operate, their benefits and drawbacks, and why they are a popular investment choice for individuals and retirement accounts.
Discover how open-end funds work, their advantages and disadvantages, and why they are the most common investment vehicle for mutual funds and retirement accounts.
Learn how closed-end funds operate, how they differ from open-end funds, and what makes their share structure and trading unique.
A practical guide to the Black-Scholes formula, its significance in finance, and how to calculate option prices using Python.
A practical guide to Delta, Gamma, Theta, Vega, and Rho for options traders. Learn how each Greek affects option pricing and risk management.
Learn how the open frac indicator helps quantify opening vs. closing volume in options markets, and how it can be used as a signal in quantitative finance.
Explore a comprehensive range of options trading strategies—from basic hedging and income generation to advanced volatility and arbitrage plays. Learn how each strategy works, its risk-reward profile, and how finance professionals use options to manage portfolios, enhance returns, and structure custom exposures.
Explore what exchange-traded funds (ETFs) are, how they work, and why they are a popular investment choice for gaining diversified market exposure.
Strangles: Flexible Strategies for Options Traders. Discover how strangle strategies work and their role in options trading.
Straddles: A Versatile Option Investment Strategy. Explore how straddles work and their role in option investment strategies.
Condors: Balancing Risk and Reward in Options Trading. Learn how condor strategies work and their place in option investing.
A comprehensive guide to option spread strategies, including vertical, credit, and debit spreads. Learn how spreads manage risk, reduce cost, and enhance returns.
Options aren’t just speculative bets—they serve as insurance, income generators, leverage tools, and volatility plays. Finance experts use them to reshape risk-reward profiles, hedge portfolios, and engineer custom exposures that traditional assets alone can’t provide.
How you approach complicated problems or systems. A strong answer emphasizes breaking problems into smaller parts, prioritizing tasks, simplifying patterns, collaborating with others, and iterating solutions step by step.
Explore your leadership style. A strong answer highlights guiding a team by setting clear goals, communicating effectively, supporting and mentoring team members, making informed decisions, and fostering collaboration and accountability.
A concise guide to the essential principles of system design, covering scalability, reliability, maintainability, availability, and trade-offs. This post introduces the core building blocks you need to design robust, efficient, and scalable systems—crucial knowledge for system design interviews.
A distributed system is a collection of independent computers that appear to the users as a single coherent system. The key goal is to achieve scalability, fault tolerance, and high availability while maintaining consistency and performance.
Manually repeating these tests is costly and time consuming. Once created, automated tests can be run over and over again at no additional cost and they are much faster than manual tests. Automated software testing can reduce the time to run repetitive tests from days to hours.
Reasons why Flutter is my framework of choice over React Native for developing cross-platform apps on desktop, mobile, & web.
Usually an easy process but not always. With Flutter & Firebase logging hasn't been straight forward. The steps I've taken and the behavior I'm observing logging the duration of rootBundle.load() to Firebase.
Learn how to use Git pre-commit hooks to automatically run checks or scripts before committing code, with practical examples using shell and Husky.
Learn how to rebase in Git with step-by-step examples. Understand the difference between merge and rebase, and how to resolve conflicts when rebasing.
How to setup SQL Server using Azure SQL Edge docker image and check its working correctly. Snippets of TSQL
How to configure React Native to choose the correct Firebase configuration file based on the build environment.
A list of the necessary skills to qualify as a mobile develop in a framework
When we want to commit part of a file to git we can!
Overview of a new book I got.
Every now and then we encounter ideas that by themselves seem great but upon deeper inspection we realize might not always be the care. A guide to navigating conflicting schools of thought on how to live life.
How to use AWS Lambda and DynamoDB
Building a Duolingo/Quizlet/Leetcode/TikTok side project because I thought these apps were all awesome and wanted to combine attributes of each one of them into a single learning platform.
Flutter works in many situations but it doesn't work for all.
A few methods on the heap data structure
How to create a function which has access to variables defined outside its block scope
Requirements for setting up Java working environment using VSCode
Containerize multiple services using Docker for cloud deployment. Using NPM, ExpressJS, NodeJS, and Docker we create two microservices that work together to create a web app which help users learn about the wizards of Hogwarts.
A review of dynamic programming and the techniques used to implement it including Brute Force, Top Down Memoization, & Bottom Up Tabulation.
A collection of graph coding problems and their solutions with Big O time complexity. Solutions include not only brute force but optimized solutions as well.
A collection of graph coding problems and their solutions with Big O time complexity. Solutions include not only brute force but optimized solutions as well.
A review of problems which involve using a Priority Queue to solve efficiently.
An introduction to graph theory using Leet Code problems and Python
How to implement a custom Hash Table, analogous to a dict, using simpler data types & a hash function.
Concurrency is the ability of program to handle multiple tasks simultaneously. Go uses go routines to achieve this, also known as concurrency.
Multi platform frameworks like Flutter means we can build web versions of our app simultaneously with mobile. Use Netlify to reach users on the web at the same time as iOS & Android by adding a few configurations and leveraging it's CI/CD pipeline to have web builds in no time.
The steps I would take to clone TikTok using Flutter. Including project structure, navigation, code snippets & more.
The steps I took to built a poker game with Flutter
The steps I would take to clone TikTok using Flutter. Including project structure, navigation, code snippets & more.
Steps to successfully prepare for the AWS Cloud Practitioner Certification
One of the most famous algorithms in the field of graph theory. Useful when finding the shortest paths between nodes in a weighted graph.
Most common traversal orders used with binary trees.
Big O Notation's common complexity cases to familiarize oneself with.
The principles which guide object oriented programming
The blog template supports posts in nested sub-folders. This can be used to group posts of similar content e.g. a multi-part course. This post is itself an example of a nested route!
Platform specific solution for Android connectivity issues while developing with Flutter.
Change icon name based on build helping to identify which app is installed on our device quick & easy.
Understand the difference between leading and lagging indicators—how they help predict or confirm economic and market trends, with practical examples for each.
Seeding database records for our clients, understanding our records data types, and validating/designing relationships between resources.
10,000 ft overview on how we plan to scale to our first 1,000,000 concurrent users
Basic functionality of a stock exchange including Carousel Ticker, Line & Candlestick Charts, Portfolio page/screen & more.
Seeding database records for our clients, understanding our records data types, and validating/designing relationships between resources.
Build a stock exchange with .NET, Entity Framework, Flutter, Azure & more. Write backend code in C# & frontend using Flutter
An overview of data structures used to solve more complex problems in the field of computer science.
Patterns often used to solve Graph problems
Patterns often used to solve Tree problems
Developing a better intuition on pointers & references.
Commonly used sorting algorithms & their corresponding Big Os. Develop a better intuition on DSAs by examining canonical sorting algorithms in Python.
Master MongoDB’s CLI with these essential commands for exploring databases, managing collections, and running queries like a pro.
Jetbrains commands/shortcuts to get you up and running quick & easy within their family of IDEs including DataGrip, RubyMine, PyCharm, PhpStorm, IntelliJ & more
Kubernetes commands to get you up and running quick & easy.
VIM commands to get you up and running quick & easy.
VSCode commands to get you up and running quick & easy.
Create a DB Cluster which ensures high availability & fast responses with the use of a read Replica. Use Docker & Postgres to create a local database cluster where 1 DB is a master which we write to and 1 DB is a replica which copies data for higher availability & resiliency.
Implement a server-side cache for faster and scalable systems. Caching results to DB queries can speed up server responses & by not overloading our DB with duplicate queries.
Create a RESTful web api using Flask, a micro web framework written in Python. Serve data to client side apps using REST & minimal setup thanks to the robust & simple Flask framework.
Allows behavior to be dynamically added to individual objects without modifying their code, promoting flexibility and adherence to the open/closed principle.
Provides an interface for creating objects in a superclass, but allows subclasses to alter the type of objects that will be created, promoting flexibility and reusability in object creation.
Defines a one-to-many dependency between objects, so when one object changes state, all its dependents are notified and updated automatically.
Encapsulates the logic for accessing and managing data sources, providing a centralized interface for data operations while promoting separation of concerns and improving testability.
Ensures a class has only one instance, providing a single point of access for shared resources like logging, configuration, or database connections.
Walkthrough of each level of Over the Wire's Natas series. Its a game which helps players master web server vulnerabilities testing
Works with more advanced Linux concepts and privilege escalation. Walkthrough of each level of Over the Wire's Leviathan series. Its a CLI game which helps players master Linux, SSH, and much more.
Focuses on basic Linux command-line and file manipulation skills. Walkthrough of each level of Over the Wire's the Bandit series. It's a CLI game which helps players master Linux, SSH, and much more.
Cross-Site Request Forgery (CSRF) is a web vulnerability where attackers trick users into submitting unwanted actions on a web application where they are authenticated. This guide explains how CSRF works, the risks it poses, and how to protect your applications using strategies like anti-CSRF tokens and same-site cookies.
OverTheWire is an online platform that hosts a collection of war-games designed to teach security concepts, Linux command-line skills, and basic hacking techniques in a hands-on way. The games are structured to progressively increase in difficulty, helping users learn and practice:
Cross-Site Scripting (XSS) is a common web vulnerability where attackers inject malicious scripts into trusted websites. This guide explains how XSS works, particularly stored XSS, and how attackers can steal user data by tricking the browser into executing malicious code.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Why showing is better than telling—how demos improve collaboration, bug reports, and feedback in software development.
Learn what bike shedding means, why it happens in teams, and how to avoid wasting time on trivial issues.
A practical guide to defining, running, and improving sprints in agile software teams.
How to install a virtual machine on an M1 Mac/ARM64 machine
A concise guide to the essential principles of system design, covering scalability, reliability, maintainability, availability, and trade-offs. This post introduces the core building blocks you need to design robust, efficient, and scalable systems—crucial knowledge for system design interviews.
A concise guide to the essential processes of system design, covering scalability, reliability, maintainability, availability, and trade-offs. This post introduces the core building blocks you need to design robust, efficient, and scalable systems—crucial knowledge for system design interviews.
Discover how order books work in financial markets, how they match buyers and sellers, and why understanding price levels, book depth, and the bid-ask spread is essential for traders and investors.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving Leetcode problems to syntax of multiple languages and data structures & algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
Solving programming problems in multiple languages to master syntax, data structures, and algorithms.
A comprehensive cheatsheet covering mathematical symbols used in discrete mathematics, including set theory operations (union, intersection, subsets), logic symbols (quantifiers, implications), and notations for number sets (naturals, integers, rationals).
Learn how PostgreSQL extends standard SQL with advanced features, reliability, and open-source flexibility. This guide covers practical commands, differences from generic SQL, and tips for effective database work.
A clear breakdown of the roles, responsibilities, and differences between the U.S. Federal Reserve and the Treasury Department.
Discover the key differences between mean, median, and mode in statistics. Learn how each measure of central tendency is calculated, when to use them, and why they matter in data analysis.
Understand the concepts of variance and standard deviation in statistics. Learn how they measure the spread of data, how to calculate them, and the key differences between the two.
A guide to the key statistics areas you should master to excel in quantitative finance.