1,514 karma · joined Aug 24, 2015 (11y ago) · 537 submissions
[ 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
---
comment 1y ago · link · parent
Lotus Notes was the original offline-first everything app, including cutting edge PKI and encryption. It worked over dial-up and needed only a handful of MBs of memory (before the Java rewrite at least). Has anything else really come close since?
comment 1y ago · link · parent
i.e. it would be `SELECT * FROM orders FOR SYSTEM_TIME AS OF "@seq:1000" WHERE customer_id="cust1"` rather than `SELECT * FROM orders WHERE customer_id="cust1" AS OF "@seq:1000"` (the latter being an example from the DriftDB readme)
[0] https://docs.xtdb.com/reference/main/sql/queries.html#_tempo...
comment 1y ago · link · parent
The output format is either raw Arrow DenseUnions (e.g. via FlightSQL) or Transit via a pgwire protocol extension type.
comment 1y ago · link · parent
In a bitemporal database, every regular looking join over the current state of the world is secretly an AsOf join (across two dimensions of time), without constantly having to think about it when writing queries or extending the schema.
comment 1y ago · link · parent
Wait no longer! I just updated the page with the unlisted video link: https://youtu.be/6Q_pAI20QPA
We are hoping to record another (more polished) session with Professor Snodgrass soon :)
comment 1y ago · link · parent
CREATE VIEW IF NOT EXISTS world_facts_as_of_now AS
SELECT
rowid, txn_time, valid_time,
e, a, v, ns_user_ref, fact_meta
FROM (
SELECT *,
ROW_NUMBER() OVER (
PARTITION BY e, a
ORDER BY valid_preferred DESC, txn_id DESC
) AS row_num
FROM world_facts
) sub
WHERE row_num = 1
AND assert = 1
ORDER BY rowid ASC;
...cool approach, but poor query optimizer!It would be interesting to see what Turso's (SQLite fork) recent DBSP-based Incremental View Maintenance capability [0] would make of a view like this.
[0] https://github.com/tursodatabase/turso/tree/main/core/increm...
comment 1y ago · link · parent
> A semantic layer, also known as a metrics layer, lies between business users and the database, and lets those users compose queries in the concepts that they understand. It also governs access to the data, manages data transformations, and can tune the database by defining materializations.
There's also now a paper: https://arxiv.org/pdf/2406.00251
comment 1y ago · link · parent
> 2.2.1 Evaluation by Default. One of the major syntactic differences between Dyna and other logic programming languages is that Dyna evaluates an expression in place by default. The reason for this change is that most terms have a meaningful value, much like how a function returns a value in a functional programming language. Conversely, in logic programming languages such as Prolog or Datalog, terms only “return” the value of true.
comment 1y ago · link · parent
There are some epic looking Clojure namespaces here, e.g. this JIT compiler https://github.com/argolab/dyna3/blob/master/src/clojure/dyn...
comment 1y ago · link · parent
> One important implication of our findings from the Wikipedia editors study is that work groups (sets of individuals collaborating on a task) are strictly limited in size to around four individuals. Larger groups fail to coordinate effectively, are more prone to disagreements and conflicts and consequently shed members rather than recruit new ones. This finding has profound implications for how we organize work groups in order to maximize production of technology.
It would be interesting to validate this with GitHub contribution data.
I came across this paper while skimming through Mark's recent blog post on knowledge graphs and LLMs: https://mark-burgess-oslo-mb.medium.com/the-role-of-intent-a...
45.
A Quantitative Model of Trust as a Predictor of Social Group Sizes(arxiv.org ↗)
1 points · by refset · 1y ago · 1 comment
comment 1y ago · link · parent
48.
Future Data Systems Seminar Series – Fall 2025 (draft schedule)(db.cs.cmu.edu ↗)
2 points · by refset · 1y ago · 2 comments
comment 1y ago · link · parent
comment 1y ago · link · parent
Today we also have sci/scittle/cherry for anyone who's seeking that runtime Clojure->JS eval vision. And now with Jank (LLVM Clojure) on the horizon this year it's never been a better time to try Clojure, regardless of which hosted runtime you're enthusiastic to use - Basilisp on Python, ClojureCLR, ClojureDart etc.
[0] https://swannodette.github.io/2015/07/29/clojurescript-17/
comment 1y ago · link · parent
[0] https://www.sciencedirect.com/science/article/pii/S095741742...
comment 1y ago · link · parent
Prof. Viktor Leis suggested [0] that SQL itself - being so complex to implement and so ineffectively standardized - may be the biggest inhibitor to faster experimentation in the field of database startups. It's a shame there's no clear path to solving that problem directly.
comment 1y ago · link · parent
Rich Hickey argued [0] that place-orientation is bad and that a database should actually just be an immutable value which can be passed around freely. That's fairly in line with the conclusions of the post, although I think much more simplification of the disaggregated stack is possible.
[0] https://www.infoq.com/presentations/Deconstructing-Database/
55.
Diskless Kafka is the Tide, and it's Rising(aiven.io ↗)
3 points · by refset · 1y ago · discuss
comment 1y ago · link · parent
> Can’t you use a cloud provider and have them host this for you?
If it really is all OSS, then I guess the moat is the impressive execution of this team.
comment 1y ago · link · parent
It's vastly more complicated to do this efficiently than you might imagine. Postgres' internal architecture is built around a very different set of assumptions (pages, WAL, local disk etc.) than what the S3 API offers.
58.
Update Reconsidered, delivered?(xtdb.com ↗)
2 points · by refset · 1y ago · discuss