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

There's a video overview here: https://www.youtube.com/watch?v=ooWaPVvljlU

Really impressive stuff - congratulations!

comment 2y ago · link · parent

Is there anybody trying to build a SQL database on Ray yet? Asking for a friend.

comment 2y ago · link · parent

Yep backtesting is critical step in the deployment of new trading algorithms.

Related, I rather enjoyed reading this other thread from June: "Ask HN: Is KDB a sane choice for a datalake in 2024?" https://news.ycombinator.com/item?id=40625800

154.

Electric progress update – July 2024(hyperfiddle-docs.notion.site ↗)

2 points · by refset · 2y ago · discuss

comment 2y ago · link · parent

> Gatekeeper is actually just a big back door that gives its programmers (and Devlin's paymasters) access to pretty much everything, since every single company in the world and also the FBI and New York Stock Exchange have been spooked into using it for security

Seems prescient.

156.

What We Learned About Technology from 1995's The Net (2013)(wired.com ↗)

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

comment 2y ago · link · parent

Compiling Datalog to SQL with Logica is possibly the easiest path if you need a production ready open source Datalog setup (i.e. choose your favourite managed Postgres provider): https://logica.dev/

comment 2y ago · link · parent

I haven't followed Arweave closely at all recently but the creator seemed genuine and capable enough to warrant attention. As to tech itself, assuming commodity storage costs continue to drop ~indefinitely and somewhat predictably it feels intuitive to me how such a scheme can be viable. It's ultimately a bet on ever-reducing storage costs.

comment 2y ago · link · parent

Arweave has a compelling design for long-term public archival along these lines, with an explicit concept of 'endowment' to predictably cover the costs of future storage.

comment 2y ago · link · parent

> durability is a spectrum

This is the truth. My favourite example of this is MemoryDB's "multi-AZ (multi-datacenter) durability" for Valkey - there's a good write-up here https://brooker.co.za/blog/2024/04/25/memorydb.html

comment 2y ago · link · parent

Specifically, that modern theory is "protocol-aware recovery" - e.g. https://www.usenix.org/conference/fast18/presentation/alagap...

comment 2y ago · link · parent

> I'm not sure if there are any databases that do your 'with a lot of care' option

LMDB springs to mind.

> LMDB was designed to resist data loss in the face of system and application crashes. Its copy-on-write approach never overwrites currently-in-use data. Avoiding overwrites means the structure on disk/storage is always valid, so application or system crashes can never leave the database in a corrupted state.

https://en.wikipedia.org/wiki/Lightning_Memory-Mapped_Databa...

comment 2y ago · link · parent

> use symmetric crypto

To be clear my comment is specifically only relating to signature schemes, not encryption.

> The state is enormous

The scheme I linked to points towards efficient "pebbling" and "hash chain traversal" algorithms which minimize the local state required in quite a fascinating way (e.g. see https://www.win.tue.nl/~berry/pebbling/).

> tracking state across components and through distribution channels

Assuming you have reliable ordering in those channels I don't see how the stateful nature of such schemes makes it hugely more complex than the essential hard problem of key distribution.

comment 2y ago · link · parent

There has been research on the intersection of IoT and PQ signatures specifically at least, e.g. see "Short hash-based signatures for wireless sensor networks" [0] [1]. Unlike SPHINCS+ which is mentioned in the article, if you're happy to keep some state around to remember the last used signature (i.e. you're not concerned about accidental re-use) then the scheme can potentially be _much_ simpler.

[0] https://web.archive.org/web/20110401080052/https://www.cdc.i...

[1] https://news.ycombinator.com/item?id=33925383 I wrote about this "Dahmen-Krauß Hash-Chain Signature Scheme" (DKSS) algorithm previously in a comment a couple of years ago

comment 2y ago · link · parent

Beacon is more PaaS than SaaS from what I've seen, but it's all very neatly integrated and they even wrote their own compute scheduling engine. The data model is interesting: https://www.beacon.io/wp-content/uploads/2021/05/5.-WhitePap...

comment 2y ago · link · parent

The joy of Flash was the ease of scripting alongside vector-based illustration with keyframe animations and audio (plus intuitive asset management, onion skinning etc. etc.). Flash was downright fun indeed!

comment 2y ago · link · parent

Along similar lines of "just use your preferred cloud-based file-syncing solution", see: https://github.com/filipesilva/fdb - the author spoke about it recently [0]. The neat thing about this general approach is that is pushes all multi-user permissions problems to the file-syncing service, using the regular directory-level ACLs and UX.

[0] "FDB - a reactive database environment for your files" https://www.youtube.com/watch?v=EvAFEC6n7NI

comment 2y ago · link · parent

> The technology is not open-source

Not entirely fair - see https://github.com/rockset/rocksdb-cloud (a fork of RocksDB with a separation of storage and compute, using S3 and Lambda-based compaction)

comment 2y ago · link · parent

The Advanced Data Structures course lectures are great, including his very own research on "Retroactive Data Structures" https://courses.csail.mit.edu/6.851/spring21/lectures/L01.ht...

comment 2y ago · link · parent

> small dataset (100GB)

What counts as large or small definitely varies a lot depending on the context of the conversation/analysis.

MotherDuck's "Big Data is Dead" post [0] sticks in mind:

> The general feedback we got talking to folks in the industry was that 100 GB was the right order of magnitude for a data warehouse. This is where we focused a lot of our efforts in benchmarking.

Another point of reference is [1]

> [...] Umbra achieves unprecedentedly low query latencies. On small data sets, it is even faster than interpreter engines like DuckDB

> TPC-H Small Dataset = 866k tuples, sf 0.1

[0] https://motherduck.com/blog/big-data-is-dead/

[1] https://db.in.tum.de/~kersten/Tidy%20Tuples%20and%20Flying%2...

comment 2y ago · link · parent

Slightly off-topic but CedarDB is extremely exciting. It's the commercialization of the widely cited Umbra research DBMS [0] that has been in the works for several years, which benchmarks faster than DuckDB for OLAP [1] whilst simultaneously being really strong for transactional workloads. Also discussed recently here [2].

[0] https://umbra-db.com/

[1] https://cedardb.com/blog/ode_to_postgres/

[2] https://news.ycombinator.com/item?id=40241150

172.

The end-to-end principle in distributed systems (2019)(tedinski.com ↗)

1 points · by refset · 2y ago · discuss

comment 2y ago · link · parent

> Many constraints are extremely expensive to enforce at scale to the point of being prohibitive

Incremental View Maintenance engines might be the solution we've been waiting for here.

comment 2y ago · link · parent

Integrating live code editors within docs and tutorials is great.

Another example of this I saw recently using SQLite (compiled to Wasm) in the browser: https://docs.sqlitecloud.io/docs/sqlite

And if you ever want something similar for more general backend APIs (without relying on Wasm or the browser to run the software), https://codapi.org/ looks very slick e.g. as demonstrated in https://antonz.org/sql-upsert/ - discussed on HN previously [0]

Inspired by https://www.db-fiddle.com/ my colleagues ended up building a fairly bespoke setup for XTDB's docs (XTDB doesn't yet compile to Wasm) shortly before I came across Codapi, although our requirements were even more particular, e.g. see https://docs.xtdb.com/tutorials/financial-usecase/time-in-fi... - the backend here is https://github.com/xtdb/xt-fiddle which runs purely on top of Lambda Snapstart, and embedded within docs based on Astro's Starlight [1] and Web Components

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

[1] https://starlight.astro.build/

175.

FileDB – reactive database environment for your files(github.com ↗)

2 points · by refset · 2y ago · discuss

comment 2y ago · link · parent

Steampipe demonstrates a rather impressive range of scenarios for using FDWs + SQL in place of more traditional ETL and API integrations: https://steampipe.io/

comment 2y ago · link · parent

FlowStorm really looks like it delivers on "execution is data", per https://www.scattered-thoughts.net/writing/the-shape-of-data

comment 2y ago · link · parent

While trying to recall the relationship between Lotus Notes and Lotus Agenda ("which came first?" etc.) I just dug up this[0] comment from a different Notes-related HN discussion a few months ago that also mentions 'Chandler'[1] - an OSS implementation written in Python:

> [Chandler] is inspired by a PIM from the 1980s called Lotus Agenda, notable because of its "free-form" approach to information management. Lead developer of Agenda, Mitch Kapor, was also involved in the vision and management of Chandler.

[0] https://news.ycombinator.com/item?id=39070631 / "For a moment there, Lotus Notes appeared to do everything a company needed"

[1] https://en.wikipedia.org/wiki/Chandler_(software)

comment 2y ago · link · parent

Give https://github.com/basilisp-lang/basilisp a try

comment 2y ago · link · parent

Whatever the motivations (and FWIW it does seem like a channel very worthy of support), I can confirm it is at least the official 'Store' linked to from the official website: https://www.3blue1brown.com/
1
567
18