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

1.

A complete production webapp in Lean(paulbutcher.com ↗)

2 points · by refset · 2h ago · discuss

comment 3w ago · link · parent

Incidentally, the 2020 Jepsen report on Postgres found a long-standing bug in the SSI implementation [0]

[0] https://news.ycombinator.com/item?id=41560556

comment 6mo ago · link · parent

> Fixed a crash when starting Inkscape with a graphics tablet plugged in

Great news! Having to reconnect the USB cable each time is no fun.

comment 7mo ago · link · parent

Also in this vein is Shaper, a SQL-first approach for handling entire dashboards (and powered by DuckDB): https://taleshape.com/shaper/docs/getting-started/

5.

Lockbox: Constrain Your Bots to Set Them Free(chrismdp.com ↗)

1 points · by refset · 8mo ago · discuss

comment 9mo ago · link · parent

In case anyone else was curious about the screensaver mentioned, I couldn't find any screenshots so just got Claude to cook up an HTML port: https://refset.github.io/xgrav-canvas-js/xgrav.html

comment 9mo ago · link · parent

I work on https://github.com/xtdb/xtdb which is broadly Postgres-compatible with a few key SQL extensions (SQL:2011 bitemporal tables + immutability, first-class nested data, pipeline syntax, etc). Built on Arrow and the JVM but is otherwise mostly from scratch.

XTDB is perhaps not directly relevant to the topic at hand, but I am a firm believer that ML workflows can benefit from robust temporal modelling.

comment 9mo ago · link · parent

Neat examples, and I agree that extending SQL like this has real potential. Another project along very similar lines is https://github.com/ryrobes/larsql

9.

Databases Don't Know Why You're Asking(inferal.com ↗)

1 points · by refset · 10mo ago · discuss

comment 10mo ago · link · parent

> other requirements

In my experience, usually along the lines of "what was the state of the world?" (valid-time as-of query) instead of "what was the state of the database?" (system-time as-of query).

11.

Benchmarking KDB-X vs. QuestDB, ClickHouse, TimescaleDB and InfluxDB with TSBS(kx.com ↗)

1 points · by refset · 10mo ago · discuss

comment 10mo ago · link · parent

Could Metabase be a better fit?

comment 10mo ago · link · parent

> It would be interesting if someone purpose-built a relation and rules database for compilers

While not quite in rustc proper, along these lines: https://github.com/rust-lang/chalk + https://github.com/rust-lang/polonius

comment 10mo ago · link · parent

> it's kind of frustrating that XTDB has to be its own top-level database instead of a storage engine or plugin for another. XTDB's core competence is its approach to temporal row tagging and querying. What part of this core competence requires a new SQL parser?

Many implementation options were considered before we embarked on v2, including building on Calcite. We opted to maximise flexibility over the long term (we have bigger ambitions beyond the bitemporal angle) and to keep non-Clojure/Kotlin dependencies to a minimum.

15.

Not Minds, but Signs: Reframing LLMs Through Semiotics [pdf](arxiv.org ↗)

1 points · by refset · 11mo ago · discuss

16.

Simplifying Quines(blog.phronemophobic.com ↗)

4 points · by refset · 11mo ago · discuss

comment 1y ago · link · parent

Recently released Clojure implementation of the same pattern: https://github.com/eerohele/muutos

18.

Columnar and the ADBC Driver Foundry(columnar.tech ↗)

3 points · by refset · 1y ago · discuss

comment 1y ago · link · parent

SierraDB looks closer to Rama than XTDB https://blog.redplanetlabs.com/2024/01/09/everything-wrong-w...

XTDB doesn't currently solve the problems of user-defined projections (via stored procedures, triggers, Incremental View Maintenance etc.) or multi-partition scaling.

comment 1y ago · link · parent

Aka 'bitemporal' - https://tidyfirst.substack.com/p/eventual-business-consisten...

comment 1y ago · link · parent

> which is more efficient than "hacking it" with recursive queries in a relational db

It seems to me that the way recursive CTEs were originally defined is the biggest reason that relational databases haven't been more successful with users who need to run serious graph workloads - in Frank McSherry's words:

> As it turns out, WTIH RECURSIVE has a bevy of limitations and mysterious semantics (four pages of limitations in the version of the standard I have, and I still haven't found the semantics yet). I certainly cannot enumerate, or even understand the full list [...] There are so many things I don't understand here.

https://github.com/frankmcsherry/blog/blob/master/posts/2022...

comment 1y ago · link · parent

For anyone else curious about what a practical loop implementation might look like, Steve Yegge YOLO-bootstrapped his 'Efrit' project using a few lines of Elisp: https://github.com/steveyegge/efrit/blob/4feb67574a330cc789f...

And for more context on Efrit this is a fun watch: "When Steve Gives Claude Full Access To 50 Years of Emacs Capabilities" https://www.youtube.com/watch?v=ZJUyVVFOXOc

comment 1y ago · link · parent

This is close: https://panr.github.io/hugo-theme-terminal-demo/

comment 1y ago · link · parent

That's the joke (!)

25.

LLMs Are Software Diamonds(evalapply.org ↗)

4 points · by refset · 1y ago · discuss

comment 1y ago · link · parent

Unfortunately not, I've just had this one opened in my browser for ages as a reminder (after seeing it on HN IIRC) and recognised it again in the OP instantly :)

comment 1y ago · link · parent

Great seeing another example here of The Monospace Web design theme https://owickstrom.github.io/the-monospace-web/

comment 1y ago · link · parent

> pg_memories revolutionized our AI's ability to remember things. Before, we were using... well, also a database, but this one has better marketing.

https://pg-memories.netlify.app/

comment 1y ago · link · parent

Specifically 1.4 "Compression is an Artificial Intelligence Problem" https://www.mattmahoney.net/dc/dce.html#Section_14
12345
18