Oscar Chen

Home Blog About
Follow Oscar on Mastodon Go to Oscar's GitHub repo
  • Efficient hybrid search on vector database using AlloyDB inline filtering

    Experimenting with Scalable Nearest Neighbour (ScaNN) index for hybrid query on embedding vector with metadata columns

    — Aug 7, 2025

  • Django design pattern

    Building Django project like a Java developer: design pattern for complex web projects

    — Feb 13, 2025

  • API Serialization Performance Comparison

    Comparing API performance in Django REST Framework, Django Ninja, FastAPI, and Golang.

    — Nov 23, 2024

  • Postgres ltree

    Postgres extension for querying tree data efficiently

    — Mar 10, 2023

  • Go notes

    — Nov 15, 2022

  • Rust notes

    — Nov 13, 2022

  • Exception handling in Django REST Framework

    Centralized exception handling in a very opinionated framework

    — Apr 16, 2022

  • Web security: Cross site request forgery (CSRF)

    — Dec 9, 2021

  • Web security: Cookies and Same origin policy

    Exxamining how cookies and same origin policy are parts of different security models

    — Dec 9, 2021

  • Web security: Content security policy

    — Dec 9, 2021

  • Web security: Cross site scripting (XSS)

    — Dec 9, 2021

  • Working with tree data structure efficiently in PostgresSQL and Django

    Materialized path for navigating tree data structure in relational database

    — Dec 6, 2021

  • Django custom lookups

    Custom re-usable query look up for Django ORM

    — Dec 4, 2021

  • Removing files from Git commit history

    — Sep 30, 2021

  • Using Conda environments in Jupyter Notebook

    — Aug 23, 2021

  • Setting up Python, XGBoost, Scipy on M1 Mac

    A guide to setting up Python, XGBoost, and Scipy on M1 Macs using Rosetta

    — Jul 23, 2021

  • Setting up Gitbash, Terminal on Windows

    — Jul 16, 2020

  • Setting up SSH for Git

    — Aug 15, 2019

  • Automating aquarium water changing

    DIY automated aquarium water changer using Arduino

    — Oct 31, 2017

© 2026 Oscar Chen. All rights reserved.
Follow Oscar on Mastodon Go to Oscar's GitHub repo