newsletters:2025-03
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
newsletters:2025-03 [2025/04/01 02:09] – [folk2] osnr | newsletters:2025-03 [2025/04/01 20:40] (current) – discord | ||
---|---|---|---|
Line 28: | Line 28: | ||
* {{newsletters: | * {{newsletters: | ||
* (Andrés) Dot detector — not much progress this month, will get to it early April | * (Andrés) Dot detector — not much progress this month, will get to it early April | ||
- | * (Mason) [[https:// | + | * ([[https:// |
==== Folk gadget & QR scanner ==== | ==== Folk gadget & QR scanner ==== | ||
Line 166: | Line 166: | ||
(//and// it's a correctness improvement -- it means we should be able to draw text non-distorted in the real world, not relying on the projector pixel grid as we do now.) | (//and// it's a correctness improvement -- it means we should be able to draw text non-distorted in the real world, not relying on the projector pixel grid as we do now.) | ||
- | Broke up the Vulkan gpu.folk more cleanly into gpu.folk, gpu/ | + | Broke up the Vulkan gpu.folk more cleanly into gpu.folk, gpu/ |
Made more of the operations run concurrently (and in arbitrary threads) in normal Whens instead of one big GPU loop, which should make the system more robust (and mean that stuff like new-shader compilation doesn' | Made more of the operations run concurrently (and in arbitrary threads) in normal Whens instead of one big GPU loop, which should make the system more robust (and mean that stuff like new-shader compilation doesn' | ||
It's cool to think about how much draw logic can be implemented using idiomatic Folk constructs, and it's a good test of how expressive we can make Folk. | It's cool to think about how much draw logic can be implemented using idiomatic Folk constructs, and it's a good test of how expressive we can make Folk. | ||
+ | |||
+ | Lots of weird images like this to test drawing in an image and then drawing that image onto the screen: | ||
+ | |||
+ | {{: | ||
+ | |||
+ | (here, was also encountering a bug with line drawing that turned out to be that I forgot about triangle facing / vertex order.) | ||
=== Laptop universe and safety concerns === | === Laptop universe and safety concerns === | ||
Line 176: | Line 182: | ||
I've been testing a lot on my laptop, which has produced some side quests: | I've been testing a lot on my laptop, which has produced some side quests: | ||
- | * Brought back [[https:// | + | * Brought back [[https:// |
+ | * (isn't it cool that this can just be a blocking infinite loop now, because folk2 supports that? no need to think about the event loop or use '' | ||
* New version of '' | * New version of '' | ||
+ | * New finalizer concept so we can release GPU resources in statements safely? | ||
+ | * {{newsletters: | ||
+ | |||
+ | These all have a similar energy: they both are part of a whole constellation of safety concerns I have about Folk programs. Basically, a Folk program needs to be cancelable, it needs to be hot-swappable (that is, you retract it, clean up all its stuff, then assert a new version of it that presumably wants to do a lot of the same things). That's a pretty high bar! [[https:// | ||
+ | |||
+ | Another class of issue is queueing issues, where a thread (usually the sysmon thread) freezes and the rest of the system gets overrun by clock events and/or garbage and crashes: | ||
+ | |||
+ | {{: | ||
- | These two have a similar energy: they both are part of a whole constellation of safety concerns I have about Folk programs. Basically, a Folk program needs to be cancelable, it needs to be hot-swappable (that is, you retract it, clean up all its stuff, then assert a new version of it that presumably wants to do a lot of the same things). That's a pretty high bar! [[https:// | ||
=== Inter-thread shared objects === | === Inter-thread shared objects === | ||
(I still don't know if we'll merge this, but) I've been noodling some more on the concept of inter-thread shared objects (see [[newsletters/ | (I still don't know if we'll merge this, but) I've been noodling some more on the concept of inter-thread shared objects (see [[newsletters/ | ||
+ | |||
+ | I've been trying an approach from last month (which does feel actually-implementable) where we only / | ||
{{newsletters: | {{newsletters: | ||
- | There are so many trade-offs (now shimmering is just temporary for shared objects, now we have to track lots more stuff, etc) that I don't know if it's worth it compared to the current folk2 approach of just caching everything. Hmmmm. | + | But there are so many trade-offs (now shimmering is just temporary for shared objects, now we have to track lots more stuff, etc) that I don't know if it's worth it compared to the current folk2 approach of just caching everything. Hmmmm. |
== Mason' | == Mason' | ||
Line 195: | Line 211: | ||
==== Outreach and other systems ==== | ==== Outreach and other systems ==== | ||
- | * [[https:// | + | * Mason updated the [[https:// |
* {{newsletters: | * {{newsletters: | ||
* Mason and [[https:// | * Mason and [[https:// | ||
Line 204: | Line 220: | ||
* Rob got an AAXA 4K1 projector and used it to fashion his own Folk lamp: | * Rob got an AAXA 4K1 projector and used it to fashion his own Folk lamp: | ||
* {{newsletters: | * {{newsletters: | ||
- | * Rob, Naveen | + | * Rob, Naveen, Paul, and Andrés talked about how to talk about Folk (if you have another way of describing Folk to people, let us know over email or in our Discord): |
* {{newsletters: | * {{newsletters: | ||
* {{newsletters: | * {{newsletters: | ||
Line 231: | Line 247: | ||
* Omar: finish render-to-texture and make folk2 pull request | * Omar: finish render-to-texture and make folk2 pull request | ||
* Maybe start working on dual-camera and self-calibration/ | * Maybe start working on dual-camera and self-calibration/ | ||
+ | * Omar: I'm bothered by the baseline-mediocre state of calibration and think we need some new approaches to keep the system calibrated over time -- maybe self-calibration by periodically projecting a tag somewhere on the table; maybe a lightweight form of calibration that just adjusts extrinsics and is easy; maybe an iterative calibration that continuously adjusts (as opposed to the 10-pose batch status quo) so you can really tune the fringes of the projector-camera volume | ||
* Andrés: finish video playback | * Andrés: finish video playback | ||
* Andrés: get dot detector demo working in 3D coordiantes | * Andrés: get dot detector demo working in 3D coordiantes | ||
Line 248: | Line 265: | ||
* https:// | * https:// | ||
* https:// | * https:// | ||
+ | * https:// | ||
==== Andrés ==== | ==== Andrés ==== | ||
* [[https:// | * [[https:// | ||
* [[https:// | * [[https:// |
newsletters/2025-03.1743473352.txt.gz · Last modified: 2025/04/01 02:09 by osnr