prepor
Re:Show HN: ElectricSQL, Postgres to SQLite active-active sync for loc...
on Thursday September 21, 2023 @11:45AM (#37599395)
https://github.com/electric-sql/electric/blob/main/clients/t...
// Once we have electric, we then establish the data change
// notification subscription, comparing the tablenames used by the
// query with the changed tablenames in the data change notification
// to determine whether to re-query or not.
//
// If we do need to re-query, then we use the saved function to reuse the query
So it re-runs queries on all updates in tables from the query.
Re:Show HN: ElectricSQL, Postgres to SQLite active-active sync for loc...
on Thursday September 21, 2023 @11:39AM (#37599304)
> Writes automatically cause any relevant live queries to update.
How do you decide what queries are relevant?
Re:The Power of Prolog
on Thursday September 14, 2023 @06:47AM (#37507265)
> If anyone has success integrating Prolog in modern software please share, I'm really curious.
https://terminusdb.com/ is almost entirely written in prolog. + a little bit of Rust and JS.
Re:Is this duplo train track under too much tension?
on Friday September 08, 2023 @06:18AM (#37431781)
Check data sheets for any 3d printing filament, Young’s modulus is the main characteristic in them and that's how you can reason about filament abilities.
For example, https://cdn.shopifycdn.net/s/files/1/0584/7236/6216/files/Ba...
Re:We reduced the cost of building Mastodon at Twitter-scale by 100x
on Wednesday August 16, 2023 @08:12AM (#37145829)
Based on what I read it's very similar to Kafka Streams + batteries ([semi]automatic workload orchestration, reactive queries, higher-level/slicker/"smarter" API (?))
Could you please compare Rama with Kafka Streams, especially from the point of view, if I would try to reimplement Rama API on top of Kafka Streams? What fundamental difficulties I'd face?
Re:We reduced the cost of building Mastodon at Twitter-scale by 100x
on Wednesday August 16, 2023 @06:19AM (#37144983)
Electric could be an ideal companion to these reactive Queries & Depots to build actual UI, btw
Re:The Future of Clojure
on Saturday December 12, 2020 @07:51AM (#25397924)
> Why don't we just use Reactjs?
"Dealing with immutable data in JavaScript is more difficult than in languages designed for it, like Clojure. "
From React's docs.
Re:JetBrains Compose
on Thursday November 05, 2020 @10:32AM (#24999080)
It's not here yet, but we are planning to add it soon
Re:Elm is Wrong
on Wednesday November 09, 2016 @01:36AM (#12906759)
You can do everything that you can with typeclasses without them. In fact GHC compiles Haskell into GHC core, where are no typeclasses.