News for hackers. Stuff that matters.

tuhinkarmakar

Re:Using `TransformStream`s to build a pub/sub library on Monday October 20, 2025 @07:36AM (#45642751)
`TransformStream`s in JavaScript provide a built-in mechanism for transforming data. Since a TransformStream` contains both a writable and a readable side, where anything written to the writable side is emitted from the readable side, it effectively acts as an `Obserbavle`. This makes it well-suited for implementing a simple pub/sub system, where data can be published via the writable end and subscribed to via the readable end.
Re:Off-Grid, Solar-Powered, Zero-Battery Refrigerator on Tuesday September 03, 2019 @09:36AM (#20866322)
B nmn .Mm.m...... ..