380 karma · joined Jan 16, 2016 (10y ago) · 196 submissions
comment 3y ago · link · parent
comment 3y ago · link · parent
90ns/100ns is a lot for this kind of operation, but that comes from JS' handling of numbers and not a badly optimised routine.
comment 3y ago · link · parent
Would love to discuss the topic some more! I don't often meet people with that same interest in lighting that want to build their own tools.
comment 3y ago · link · parent
I've always wondered if a solution based of multi-master I2C support could work: all childs shout a unique ID and the parent answers with their assigned I2C address. Children that do not win the arbitration will detect collisions and stop because of arbitration errors. Unsure how well it could work with many children.
See https://www.i2c-bus.org/multimaster/ and https://www.i2c-bus.org/i2c-primer/clock-generation-stretchi... for introductions to I2C multimaster and arbitration. The spec is of course not open.
I'd be interested in discussing the topic more!
comment 3y ago · link · parent
comment 3y ago · link · parent
[0]: https://www.bicycode.org/pages-1/Documents_PDF/plaquette__Bi...
[1]: https://www.bicycode.org/faire-marquer-son-velo.rub-2/le-mar...
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 4y ago · link · parent
I'm truly skeptical as well
comment 4y ago · link · parent
Paper: https://dl.acm.org/doi/10.1145/872730.806459
Mention in troff doc: https://www.troff.org/prog.html#pic
Wikipedia page: https://en.wikipedia.org/wiki/PIC_(markup_language)
comment 4y ago · link · parent
comment 4y ago · link · parent
Slides: https://elinux.org/images/6/60/Application_support_with_libc...
comment 4y ago · link · parent
https://github.com/tsoding/olive.c/blob/43a67dd76760f915516a...