Better HN
topnewbestaskshowjobs
Log inSign up

sbinder

35 karma · joined Jan 23, 2021 (5y ago) · 8 submissions

Submissions

1.

Proposal: Every vulnerability report < HIGH is immediately public(curl.se ↗)

2 points · by sbinder · 1mo ago · discuss

comment 2mo ago · link · parent

Because millions of Spotify-compatible speakers are sold with firmware that will never be upgraded, so they can't ever change the Spotify connect protocol without breaking those devices.

3.

Building highly efficient JavaScript packages with dart2wasm(simonbinder.eu ↗)

2 points · by sbinder · 9mo ago · discuss

comment 10mo ago · link · parent

They've added it as an option recently.

comment 1y ago · link · parent

I don't think the runtime is "much more advanced", the JVM has had most of these optimizations for years.

comment 1y ago · link · parent

by dynamically allocating FFI trampolines, which add their own performance and lifetime issues that would be unacceptable for Rust.

comment 1y ago · link · parent

(I work at PowerSync)

This is a good point, and we definitely agree that the local sqlite database should be the source of truth for all things state management. The example here is consistent with that view because the intermediate providers and notifiers are stateless, their only role is to bundle related functionality as well as exposing database queries as typed providers (making it easier to read results in widgets because no explicit StreamBuilder is necessary).

We've recently published guides on using PowerSync with popular Flutter state management approaches [1], and we mostly agree that sync engines simplify state management to the point where intermediate layers are unecessary. Some really enjoy the structure Riverpod can provide though, and that's why we want to make sure PowerSync works well with those architectures.

[1]: https://docs.powersync.com/client-sdk-references/flutter/sta...

comment 2y ago · link · parent

Perhaps they're referring to this famous objection of financial institutions to TLS 1.3, motivated by them not wanting to update their MitM software needed for compliance: https://mailarchive.ietf.org/arch/msg/tls/CzjJB1g0uFypY8UDdr...