Skip to content
View loncoeng's full-sized avatar
🏠
🏠
  • Macau SAR, China
  • 11:01 (UTC +08:00)

Block or report loncoeng

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Content in all repositories owned by your account will be closed.
Maximum 250 characters. Please don’t include any personal information such as legal names or email addresses. This note will only be visible to you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse
loncoeng/README.md

Coeng

I build small production systems and the automation around them, and design them around what goes wrong: a request sent twice, a connection that drops halfway, two people booking the same chair.

TypeScript · Python

chairside

chairside — bookings, customer records and takings for a hair salon in Macau: seats that are not interchangeable, stylists who come and go, and the three currencies a shop there takes. Cloudflare Workers and D1.

Try the demo — it runs entirely in your browser. DESIGN.md covers what happens when two people book the same chair at once, or the pay button is pressed twice.

Smaller tools

Each one was written for a problem I ran into at work.

  • flex-guard — catches the LINE Flex messages that fail to send, and the ones that fail quietly. npm
  • publish-guard — finds what you forgot to remove before publishing a repository, git history included. PyPI
  • durable-webhook — a webhook relay on Cloudflare Workers that accepts fast and delivers stubbornly.
  • gui-report-automation — drives a Chrome session that a person signed in to, on a Linux VM, to produce a daily report.
  • drive-whisper-transcriber — batch transcription of Google Drive media with Whisper on a Compute Engine VM.

The last two are sanitised versions of systems still running, published with the client's permission. Most of my work is under contract and cannot be published.

For fun

司機,有落! -澳門- ("Driver, getting off!") — a one-button browser game: drive Macau's No. 11 bus, pick up whoever waves, stop when the bell rings, and get shouted at in Cantonese if you sail past a stop. Made for phones, and plays on a computer too. Cantonese only; the source is not public.

Pinned Loading

  1. chairside chairside Public

    Booking and customer records for a hair salon — seats, stylists, and the three currencies Macau actually takes

    TypeScript