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

"YugabyteDB Anywhere" is open core though right? Half the value & complexity is in the orchestration stack. It's definitely a step forward, but such licensing is likely still too restrictive to ever supplant Postgres itself (it terms of breadth of adoption).

comment 2y ago · link · parent

If Postgres was already horizontally scalable and supported incrementally maintained recursive CTEs (like Materialize can do) then I could see how Rama would be mostly uninteresting to a seasoned SQL developer, but as it is I think Rama is offering a pretty novel & valuable set of 3GL capabilities for developers who need to build scalable reactive applications as quickly as possible. Capabilities which other SQL databases will struggle to match without also dropping down to 3GL APIs.

> A purely relational database that jettisons SQL doesn't have to have the limitations the author is poking at.

Agreed. Relational databases can take us a lot further yet.

comment 2y ago · link · parent

I can imagine Codd saying the exact inverse: any sufficiently complex data model quickly becomes intractable for developers to assemble ideal indexes and algorithms together each time in response to new queries, which kills productivity and reduces iteration speed. Particularly as the scale and relative distributions of the data changes. The whole idea of declarative 4GLs / SQL is that a query engine with cost-based optimization can eliminate an entire class of such work for developers.

Undoubtedly the reality of widely available SQL systems today has not lived up to that original relational promise in the context of modern expectations for large-scale reactive applications - maybe (hopefully) that can change - but in the meantime it's good to see Rama here with a fresh take on what can be achieved with a modern 3GL approach.

comment 2y ago · link · parent

> If all business happens in one transactional system, your semantics are dramatically simplified.

100% agreed. One of the biggest issues SQL databases have faced is that the scope & scale of "one transactional system" has evolved a lot more quickly than any off-the-shelf database architecture has been able to keep up with, resulting in an explosion of workaround technologies and approaches that really shouldn't need to exist.

We're now firmly in the cloud database era and can look at things like Spanner to judge how far away Postgres remains from satisfying modern availability & scaling expectations. But it will be great to see OSS close the gap (hopefully soon!).

comment 2y ago · link · parent

Maybe https://plato.stanford.edu/entries/relations/

comment 2y ago · link · parent

Operational Transform (an approach that requires a central server to coordinate edits)

comment 2y ago · link · parent

It runs on L̶o̶t̶u̶s̶S̶c̶r̶i̶p̶t̶ JavaScript. Speaking of, Mitch Kapor's 1984 memo is turning 40 this year:

> With the formal commencement of the "Notes" project upon us, it seemed appropriate to set down a few brief notions about the project, its scope, and its strategic importance to Lotus. This material should be regarded as more than highly confidential.

https://web.archive.org/web/20180225100127/http://www.kapor....

Also discussed previously: https://news.ycombinator.com/item?id=13168969

comment 2y ago · link · parent

Definitely sarcasm, it's a running gag - see the 2021 and 2022 posts also :)

comment 2y ago · link · parent

> Anything loosely connected to AI + LLMs received the bulk of the attention (rightly so, as it is a new chapter in computing)

Beyond LLMs and vector search, the scope for applying AI / machine learning _within_ databases is enormous: join planning, learned indexes, compression, workload prediction, configuration tuning etc.

Given the current pace of advances perhaps a dedicated "AI in Databases in 2024" review will be on the cards this time next year.

comment 2y ago · link · parent

> building and managing an active-active system is extremely complicated

Could Postgres yet evolve to become a Spanner-like multi-writer system?

comment 2y ago · link · parent

Compression is, ultimately, AI.

https://news.ycombinator.com/item?id=38399753

https://news.ycombinator.com/item?id=31923231

comment 2y ago · link · parent

Take a look at the kidvis function in hn.js

comment 2y ago · link · parent

I'm curious about the usage of CockroachDB at Nubank, given it's not mentioned as a "paved road" (or otherwise) in the post alongside Kafka/Datomic/Spark, but is described here: https://www.cockroachlabs.com/customers/nubank/

284.

ClickHouse Is in the House(medium.com ↗)

5 points · by refset · 2y ago · discuss

comment 2y ago · link · parent

Absolutely, there's no beating the RUM Conjecture.

comment 2y ago · link · parent

"normalize until it hurts, denormalize until it works" is evergreen advice for scaling both reads and writes. Synchronously enforcing referential integrity and other forms of normalized constraints is what gets expensive.

Pat Helland has some really good writing on this stuff, e.g. https://pathelland.substack.com/p/i-am-so-glad-im-uncoordina...

comment 2y ago · link · parent

> Datomic [...] has temporal support

Note it only supports "transaction time" (or "system time" per SQL:2011) but not "valid time" (~"event time") which is needed for a bitemporal data model. [1]

[1] https://vvvvalvalval.github.io/posts/2017-07-08-Datomic-this...

comment 3y ago · link · parent

I am eager to hear how it will affect their latency numbers:

> Engineering is about trade-offs, and we’ve made a significant one with WarpStream: latency. The current implementation has a P99 of ~400ms for Produce requests because we never acknowledge data until it has been durably persisted in S3 and committed to our cloud control plane. In addition, our current P99 latency of data end-to-end from producer-to-consumer is around 1s

via https://www.warpstream.com/blog/kafka-is-dead-long-live-kafk...

289.

Playing Advent of Code with Squint (Clojure)(blog.michielborkent.nl ↗)

1 points · by refset · 3y ago · discuss

comment 3y ago · link · parent

For practical implications see Truffle & Graal:

> Truffle works by taking your interpreter and generating a compiler by partial evaluation. So I believe they have written a JVM bytecode interpreter and Truffle makes the JIT.

> I'm super impressed by how the Truffle/GraalVM team has been able to turn this theoretical concept into a system that yields production grade compilers

via https://news.ycombinator.com/item?id=25842901

291.

The Composable Codex: A New Frontier(voltrondata.com ↗)

2 points · by refset · 3y ago · discuss

292.

HPTS Comes Full Circle [pdf](hpts.ws ↗)

1 points · by refset · 3y ago · discuss

comment 3y ago · link · parent

https://yakread.com

294.

Writing a Cloudflare worker with squint and bun(blog.michielborkent.nl ↗)

2 points · by refset · 3y ago · discuss

comment 3y ago · link · parent

I was fortunate enough to watch Steve present some of these demos live last night at the Future of Coding meetup in London where the whole room was buzzing - the potential here feels immense. Especially when adding a more rigorous FSM/statechart engine into the mix, which @davidkpiano has already demonstrated: https://twitter.com/DavidKPiano/status/1725522630457840037 (as opposed to relying on GPT-generated JavaScript...based on a png of a FSM diagram!)

296.

Make real, the story so far(tldraw.substack.com ↗)

6 points · by refset · 3y ago · 1 comment

comment 3y ago · link · parent

The Wordle clone is less exciting but you can scroll down to see the source code and JS output more easily: https://squint-cljs.github.io/squint/?src=https://gist.githu...

comment 3y ago · link · parent

This is really neat. Reminiscent of how drawio.com can embed the source inside exported PNGs (see also https://github.com/Fusion/pngsource)

I would love to see this approach extended to add some animation too.

comment 3y ago · link · parent

Views seem like the ideal solution in theory, but SQL implementations of views are often problematic in practice due to planning complexity & overhead. In theory they should also be a good mechanism for handling writes (see "updateable views" / "writable views") but the list of caveats is long and many developers are understandably nervous about pushing lots of logic into TRIGGERs.
1
91011
18