# Oscar Chen > Software engineer in Calgary with over a dozen years of engineering experience across oil and gas, fintech, healthcare and biotech. I build end-to-end systems in Python, Go and TypeScript, with a focus on Django, data and machine learning. Based in Calgary, Alberta, Canada. Skills: Python, Go, TypeScript, Django, React, PostgreSQL, System design, Solutions architecture, Data engineering, Machine learning, Natural language processing. To contact Oscar or request his resume, use the form at https://oscarchen.ca/contact/. The full text of every blog post is in https://oscarchen.ca/llms-full.txt. ## Pages - [Home](https://oscarchen.ca/): introduction and project timeline - [About](https://oscarchen.ca/about/): background, from operations engineering in Alberta's oil industry to software engineering - [Contact](https://oscarchen.ca/contact/): contact form, resume requests - [Blog](https://oscarchen.ca/blog/): articles and notes ## Projects - [Calgary Hiking Club](https://calgaryhiking.club) (2026): Group hikes in the Rockies and foothills around Calgary, with carpools to the trailhead, a chat for each hike, and safety check-ins that alert emergency contacts - [PotatoRun](https://potatorun.com) (2023-2026): Resource scheduling and reservation management system - [django-ninja-simple-jwt](https://github.com/oscarychen/django-ninja-simple-jwt) (Dec 2023): Simple and elegant stateless JWT-based authentication built for django-ninja - [Cocatus Autocoder](https://cocatus.com) (2020-2022): Automated ICD-10 code generation for healthcare tracking and insurance billing - [drf-stripe-subscription](https://github.com/oscarychen/drf-stripe-subscription) (Jan 2022): A Django REST Framework library for managing Stripe-based subscriptions and payments - [eau-de-go](https://github.com/oscarychen/eau-de-go) (Jan 2022): A scalable web backend template written in Golang with mux, featuring JWT auth, type-safe SQL queries, and Docker - [Visualizing breast cancer treatment pathway](https://pathway.rubytracker.ca) (2021): An interactive map built in React - [Cancer research tracking system](https://www.rubytracker.ca/data-explorer) (2020-2021): A research admin portal for tracking participation in cancer research studies - [emr-pipeline-nlp](https://github.com/oscarychen/emr-pipeline-nlp) (2020): A text processing pipeline for extracting clinical concepts using spaCy NLP - [brAInzViewer](https://github.com/oscarychen/brAInzViewer) (Apr 2019): A desktop application for viewing and analyzing brain MRI images - [Digital Rotary Encoder Menu for Arduino](https://github.com/oscarychen/Digital-Rotary-Encoder-Menu-for-Arduino) (2018): A menu system for Arduino using a digital rotary encoder - [Arduino Water Changer](https://oscarchen.ca/blog/arduino_aquarium_water_changer/) (2017): An automated water changer for aquariums using Arduino ## Blog posts - [Efficient hybrid search on vector database using AlloyDB inline filtering](https://oscarchen.ca/blog/alloy_db_inline_filtering/) (2025-08-07): Experimenting with Scalable Nearest Neighbour (ScaNN) index for hybrid query on embedding vector with metadata columns - [Django design pattern](https://oscarchen.ca/blog/django_design_pattern/) (2025-02-13): Building Django project like a Java developer: design pattern for complex web projects - [API Serialization Performance Comparison](https://oscarchen.ca/blog/api_serialization_performance_comparison/) (2024-11-23): Comparing API performance in Django REST Framework, Django Ninja, FastAPI, and Golang. - [Postgres ltree](https://oscarchen.ca/blog/postgres_ltree/) (2023-03-10): Postgres extension for querying tree data efficiently - [Exception handling in Django REST Framework](https://oscarchen.ca/blog/drf_exception_handling/) (2022-04-16): Centralized exception handling in a very opinionated framework - [Web security: Cross site request forgery (CSRF)](https://oscarchen.ca/blog/csrf/) (2021-12-09): How cross-site request forgery works, why the Referer header is not enough, and how SameSite cookies and CSRF tokens prevent it. - [Web security: Cookies and Same origin policy](https://oscarchen.ca/blog/cookies_same_origin_policy/) (2021-12-09): Examining how cookies and same origin policy are parts of different security models - [Web security: Content security policy](https://oscarchen.ca/blog/csp/) (2021-12-09): Some notes on a security policy that is a pain in the butt to set up for SPA that will fail you security audit without - [Web security: Cross site scripting (XSS)](https://oscarchen.ca/blog/xss/) (2021-12-09): What cross-site scripting is, the difference between reflected and stored XSS, and how to defend against injected scripts. - [Working with tree data structure efficiently in PostgresSQL and Django](https://oscarchen.ca/blog/django_hierarchical_tree_data/) (2021-12-06): Materialized path for navigating tree data structure in relational database - [Django custom lookups](https://oscarchen.ca/blog/django_custom_lookup/) (2021-12-04): Custom re-usable query look up for Django ORM - [Removing files from Git commit history](https://oscarchen.ca/blog/remove_git_history/) (2021-09-30): Purge large or sensitive files from every commit with BFG Repo-Cleaner, then clean up and force-push the repository. - [Using Conda environments in Jupyter Notebook](https://oscarchen.ca/blog/conda_environments_jupyter_notebook/) (2021-08-23): Create a Conda environment, register it as a Jupyter kernel, and remove it again when you are done. - [Setting up Python, XGBoost, Scipy on M1 Mac](https://oscarchen.ca/blog/python_on_m1_mac/) (2021-07-23): A guide to setting up Python, XGBoost, and Scipy on M1 Macs using Rosetta - [Setting up Gitbash, Terminal on Windows](https://oscarchen.ca/blog/gitbash_on_windows/) (2020-07-16): Set up Git Bash on Windows to use Anaconda Python, plus a fix for the Django createsuperuser TTY error. - [Setting up SSH for Git](https://oscarchen.ca/blog/ssh_for_git/) (2019-08-15): Generate an SSH key, configure ~/.ssh/config and add the key to GitHub, plus per-repository deploy keys and signed commits. - [Automating aquarium water changing](https://oscarchen.ca/blog/arduino_aquarium_water_changer/) (2017-10-31): DIY automated aquarium water changer using Arduino ## Optional - [GitHub](https://github.com/oscarychen): open-source code - [Mastodon](https://mastodon.social/@oscarchen) - [RSS feed](https://oscarchen.ca/rss.xml)