~ / cmdr2

projects: freebird, easy diffusion

hacks: carbon editor, torchruntime, findstarlink

  • #blender
  • #programming
  • #vr

Helped investigate a recent regression in Blender, which broke ‘pass-through’ (i.e. AR) support on Quest 3. Pass-through works reliably on Blender 4.3, 4.4, 4.5 and 5.0, but has been broken since Blender 5.1. git bisect didn’t help, because “good” commits would suddenly turn “bad” (and vice versa). It was really strange. And most of the code for passthrough hasn’t changed in 2 years (when it was first committed). The root-cause turned out to be a bad struct initialization. Without proper initialization, we’d OR against garbage values, instead of zero-initialized flags. That is:

  • #carbon
  • #programming
  • #ide
  • #editor

I often write code on the go (for e.g. on bus rides), mainly prototyping ideas as single-page HTML/CSS/JS. I’ve used code editor apps as well as developer keyboards on mobile phones, but none of them really clicked for me. So I built something for myself: a simple browser-based code editor, optimized specifically for mobile devices. It lives at https://me.cmdr2.org/carbon (GitHub repo), runs entirely in the browser, and stores your work locally.