Better HN
topnewbestaskshowjobs
Log inSign up

refset

1,514 karma · joined Aug 24, 2015 (11y ago) · 537 submissions

https://github.com/refset

[ my public key: https://keybase.io/refset; my proof: https://keybase.io/refset/sigs/pyTK0thu8g5O4Zs7EA3HrQYKkYZjeEz_TUr8nZV2hlY ] c0ba44896414421c9009bc8a77a86ceb

meet.hn/city/51.0612766,-1.3131692/Winchester

Socials: - github.com/refset

---

Submissions

comment 2y ago · link · parent

> In databases like XTDB, the order of :where clauses doesn't matter since the engine is able to optimize them

Rich's observation was that query optimizers often get things wrong in ways that are hard to predict or control, but he's not fundamentally opposed to their use. That said, building a decent optimizer is a huge undertaking and I think they took the right decision to not attempt to bundle that sort of complexity into the original vision for Datomic otherwise they might never have shipped.

The state-of-the-art commercial engine for query optimization and execution algorithms in this 'triple' space is probably https://relational.ai/

122.

Table transfer protocols: improved Arrow Flight and alternative to Iceberg(engineeringideas.substack.com ↗)

1 points · by refset · 2y ago · discuss

comment 2y ago · link · parent

Also in Clojure, and reactive, and relational: https://github.com/wotbrew/relic

> Functional relational programming for Clojure(Script).

comment 2y ago · link · parent

I was surprised that this Jepsen report has never been discussed here before, but it really captures just how problematic the history of 'safe' database isolation levels has been. Some excerpts:

> For the last nine years, PostgreSQL’s “serializable” mode has justifiably claimed to offer serializability.

> [but] PostgreSQL’s “serializable” isolation level isn’t serializable: it allows G2-item during normal operation

> [...] These cycles are precisely what PostgreSQL’s SSI implementation is meant to prevent!

> This code has gone essentially untouched since the introduction of serializable snapshot isolation in 2011.

Making things appear to be serializable is really hard.

125.

PostgreSQL 12.3 Jepsen Analysis (2020)(jepsen.io ↗)

1 points · by refset · 2y ago · 1 comment

comment 2y ago · link · parent

InstantDB (YC S22) launched a few weeks ago https://news.ycombinator.com/item?id=41322281

comment 2y ago · link · parent

In case you weren't aware of TutorialD / Project:M36 already: https://github.com/agentm/project-m36

> Unlike most database management systems (DBMS), Project:M36 is opinionated software which adheres strictly to the mathematics of the relational algebra. The purpose of this adherence is to prove that software which implements mathematically-sound design principles reaps benefits in the form of code clarity, consistency, performance, and future-proofing.

> Project:M36 can be used as an in-process or remote DBMS.

> Project:M36 is written entirely in the Haskell programming language.

128.

Competing for the JOB with a Triplestore(yyhh.org ↗)

24 points · by refset · 2y ago · 1 comment

comment 2y ago · link · parent

Native bitemporal tables: https://mariadb.com/resources/blog/temporal-tables-part-5/

comment 2y ago · link · parent

Thanks, I've not used Airtable enough to appreciate the comparison entirely but the focus on form building makes a lot of sense. Google Forms sets a low bar and the next best choice isn't obvious to me. Congrats on the launch!

comment 2y ago · link · parent

How would you describe the differences with https://nocodb.com/ ?

comment 2y ago · link · parent

Possibly close enough: https://github.com/omnigres/omnigres

comment 2y ago · link · parent

Building on top of IntelliJ's parser and 'PSI' stack as a headless engine sounds slightly mad at first but seems to provide a lot of leverage, as demonstrated by the number of dialects the team is able to support via mixins. By contrast sqlc appears to require a lot of code to support each additional dialect.

comment 2y ago · link · parent

Yep sqlc is more akin to Kotlin's SQLDelight https://github.com/cashapp/sqldelight

comment 2y ago · link · parent

It's not terribly obvious while skimming the page but there are some videos linked via a few of those images ("Basic SQL ▶" etc.) and the author has also uploaded loads of narrated demos over the recent past, prior to releasing the project: https://x.com/ryrobes

If I were to attempt a summary myself... RVBBIT is a SQL-powered relational programming canvas with a visual Clojure REPL and full-stack UI framework.

comment 2y ago · link · parent

Reminds me a little of this Flappy Bird demo which makes use of DataScript's Datalog rules https://frankiesardo.github.io/minikusari/#!/minikusari.tuto...

137.

ArcticDB: High performance, serverless DataFrame database(github.com ↗)

2 points · by refset · 2y ago · discuss

138.

Clojure Interactive Development 101(myke.blog ↗)

54 points · by refset · 2y ago · 5 comments

139.

Rvbbit: Reactive Data Board and Visual Flow Platform(github.com ↗)

1 points · by refset · 2y ago · discuss

140.

Incremental View Maintenance Replicas(materialize.com ↗)

6 points · by refset · 2y ago · discuss

comment 2y ago · link · parent

> What were the show stoppers in adopting solution like XTDB?

#1 would be the lack of a production ready DBaaS (like Aurora offers for Postgres), if I had to guess.

comment 2y ago · link · parent

I agree, fwiw. It is better to introduce new words than to risk being so provocative. Still though I think Zettlr is founded on sensible ideals.

comment 2y ago · link · parent

I actually don't think the headline captures the point succinctly, because the definition of 'political' being used is obscure and quite specific:

> "Political activity is whatever shifts a body from the place assigned to it or changes a place's destination." (Rancière 1999, S. 30)

> What Rancière means by that is that politics occurs whenever a thing is not in its assigned place. This is perfectly valid for software: As soon as a person diverts from what is expected from them, software aborts with an error or "corrects" the "wrong" statement automatically. So at least from the view of Jacques Rancière, software is utterly political. It has a significant impact on our daily lives and we cannot do anything against this. And this is a problem that especially corporate software shows.

comment 2y ago · link · parent

The motivations behind the project are quite interesting and well argued: "Developing Open Source is a Political Act"

https://www.zettlr.com/post/release-developing-open-source-p...

comment 2y ago · link · parent

In the video Dustin also makes the point that in v3 all the client and server annotations can now be kept fully isolated from the parts of the code that model the essential complexity (i.e. any dynamic scoping or function parameters used by a 'pure' function are also network transparent), and this dramatically reduces the amount of global coupling across the codebase.

146.

Electric Clojure v3: Differential Dataflow for UI [video](hyperfiddle-docs.notion.site ↗)

114 points · by refset · 2y ago · 52 comments

comment 2y ago · link · parent

The 4GL dream hinges on figuring out how to transition from #2 -> #1 seamlessly. The spectrum is wider and more complex than "Excel -> Postgres" but even solving that journey would be a good start. It could save us all from a whole a bunch of ~needless engineering work.

> it seems very possible to go from #1 -> #2 mechanically, and hand that off to the users who want to play with it

NocoDB seems like a reasonable attempt of taking this approach for Postgres.

comment 2y ago · link · parent

If Postgres already had decent temporal table support (per SQL:2011 system time + application time "bitemporal" versioning) we never would have gone down the road of building XTDB. From the perspective of anyone building applications on top of SQL with complex reporting requirements in heavily regulated sectors (FS, Insurance, Healthcare etc.), "just use temporal tables" would be the ideal default choice. To get an idea of why, see https://docs.xtdb.com/tutorials/financial-usecase/time-in-fi...

149.

Just use Postgres(mccue.dev ↗)

236 points · by refset · 2y ago · 228 comments

1
456
18