1. Group testing to save the world
  2. A new method of training: can resting for hours between exercises maximise your gains?
  3. Pair work: the One Weird Trick to finally ship your side projects
  4. Virtual workspaces --- working in a Minecraft office?
  5. A market-based mechanism to preserve Indonesia's forests (or any other resource)
  6. Singapore's GRC system likely advantages the PAP: a game-theoretic analysis
  7. How many solar panels would be needed to 100% solar-power Singapore?

Things I've built that I particularly like

  1. GSoC 2020 report: implementing real-time metrics for MGGG's Districtr app
  2. Building an Bayesian SMS sender
  3. Doing distributed data analysis on a Raspberry Pi cluster
  4. Building an automated, blockchain-connected model train diorama
  5. Building a Raspberry Pi console
  6. Building my first Telegram bot

Other programming posts

  1. What is the CAP theorem really about?
  2. MIT's 6.824 Distributed Systems, Lab 1: MapReduce
  3. Doing MIT's 6.824 Distributed Systems with NUS SoC folks
  4. Report on CS107E Lab and Assignment 3
  5. Report on CS107E Lab and Assignment 2
  6. Report on CS107E Assignment 1
  7. How to set up bidirectional communication between a Docker container and its host machine using TCP sockets
  8. How to install librealsense and pyrealsense2 on the Jetson NX
  9. Clustering GPS trip data
  10. Building a Python parallel processing pipeline package (R-3PO)
  11. Building a code sharing MVP with React and the WebSockets API
  12. Building a deep learning pipeline + model with Keras and PlaidML

All other posts

  1. My new fitness routine
  2. DIY-ing a Stanford CS degree in one year
  3. Making your habits zero-friction is a massive productivity hack

Get new essays sent to you

Subscribe to get my posts on programming, statistics, data science and economics.

I plan to send a newsletter once or twice a month, where I'll round up all of the most interesting posts I've written.

Rough stuff


Not done (and may never be)! I put them here to work with the garage door up: read at your own risk.

  1. Convergence is (finally) coming
  2. Saltzer and Kaashoek (2009). Principles of Computer System Design: An Introduction
  3. System design (and business case) for a EV charging station backend
  4. What is a Golang interface?
  5. Rao, Shekita and Tata (2011). Using Paxos to Build a Scalable, Consistent, and Highly Available Datastore [Spinnaker]
  6. Ongaro and Ousterhout (2014). In Search of an Understandable Consensus Algorithm [Raft]
  7. Dean and Ghemawat (2004). MapReduce: Simplified Data Processing on Large Clusters
  8. MIT's 6.824 Distributed Systems, Lab 2: Raft
  9. From Third World to Utopia: Singapore could end poverty for our children forever, today
  10. Planning to build a Discord spatial layer
  11. Worlds for hyperlocal communities
  12. Teleoperation: enabling remote work for nonremote workers
  13. The cheater's chessboard
  14. Debugging my thesis
  15. Geolibertarianism with Harberger Taxes
  16. Three levels of competency
  17. Home gym ideas
  18. Julia Path Tracer
  19. Board Game Engine
  20. Rebuilding this website
  21. The beta-Bernoulli bandit, Thompson sampling, and Bayesian inference
  22. A gentle introduction to the IS-PC-MR model
  23. Explaining Acemoglu's model of directed technical change: a primer

Personal diary entries meant only for close friends and family

These posts are not meant for public consumption: some because they're boring and banal, others because they're intensely personal; yet others because they discuss topics or use language that may offend.

Why put them up, then?

I believe in radical transparency, and I hope that by sharing my most intimate thoughts as plainly and frankly as possible, I can reassure others that they are not alone in their fears and insecurities. If you do choose to read them, I beg you to be kind.

  1. A letter to my past self
  2. 2021 Week 3 Review
  3. 2020 in review
  4. What I've been doing since I last applied to Harvard
  5. Taking stock of all my projects
  6. 2020 Week 49 review (29 Nov-5 Dec)
  7. Projects to-do list
  8. 2020 Week 48 review (21-28 Nov)
  9. 2020 Week 46 review (09-15 Nov)
  10. 2020 Week 45 review (01-08 Nov)
  11. 2020 Week 44 review (25-30 Oct)
  12. 2020 Week 43 review (18-24 Oct)
  13. 2020 Week 42 review (11-17 Oct)
  14. Letter to Bassel in August 2020, after my Finals results
  15. 2020 Semiannual Review
  16. Thoughts on a trip to Kuhlenbronn
  17. 2019 Annual Review
  18. Email to Bassel telling him about my internship and thesis during July 2019
  19. 2019 Semiannual Review
  20. Breaking up
  21. HT 2019 report and plans for the summer
  22. MT 2018 report and plans for 2019
  23. 2018 Semiannual Review
  24. Michaelmas 2017 report
  25. Sep 2017 report
  26. Aug 2017 report
  27. May 2017 report
  28. 2017 Quarterly Report I
  29. 2016 Annual Review
  30. 2015 Annual Review
  31. ORD lo
  32. October in review; plans for November
  33. An eventful Saturday
  34. September 2016 report
  35. Long-overdue update
  36. On Brexit, and the unreasonable effectiveness of demagoguery
  37. An update on my life so far
  38. Meeting with iDA staff (Oscar, Kiranjit and Eric)
  39. Meeting with Mrs Hauw, swimming with Xiao Hui and future plans
  40. daily report: I talk about what I've done for the past two weeks
  41. daily report
  42. daily report: my first post