Readit News logoReadit News
malthejorgensen commented on Materialized views are obviously useful   sophiebits.com/2025/08/22... · Posted by u/gz09
erulabs · a day ago
What a great post. Humble and honest and simple and focused on an issue most developers think is so simple (“why not just vibe code SQL?”, “whatever, just scale up the RDS instance”).

Compliments aside, where this article stops is where things get exciting. Postgres shines here, as does Vitess, Cassandra, ScyllaDB, even MongoDB has materialized views now. Vitess and Scylla are so good, it’s a shame they’re not more popular among smaller startups!

What I haven’t seen yet is a really good library for managing materialized views.

malthejorgensen · 17 hours ago
Don’t you have to manually “refresh” Postgres materialized views, essentially making it an easier to implement cache (the Redis example in the blog post) rather than the type always-auto-updating materialized view the blog post author is actually touting?
malthejorgensen commented on The Cassowary Linear Arithmetic Constraint Solving Algorithm [pdf] (2002)   constraints.cs.washington... · Posted by u/andsoitis
malthejorgensen · 5 months ago
In the ancient times there was a startup called The Grid. Very hyped. They implemented the Cassowary layout algorithm for the web and called it GSS.

I loved the idea of GSS but it never caught on: https://gss.github.io/

malthejorgensen commented on setBigTimeout   evanhahn.com/set-big-time... · Posted by u/cfj
rzz3 · 10 months ago
Awesome! Already have a project I can use this on, thanks.

As a side note, why do you use this weird non-Github, non-Gitlab, non-Bitbucket sketchy looking git host? I can see the code obviously, but it makes me worry about supply chain security.

malthejorgensen · 10 months ago
sourcehut isn’t weird at all.

It’s made by Drew Devault who is mostly well-respected in the hacker community, and it’s made exactly to be an alternative to BigCo-owned source hosts like GitHub, Gitlab and Bitbucket.

malthejorgensen commented on Amber: A code search and replace tool   github.com/dalance/amber... · Posted by u/bpierre
malthejorgensen · a year ago
Feels similar to `sd` (https://github.com/chmln/sd)

which in my mind was the first “replace” version of ripgrep

grep -> ripgrep

sed -> sd

malthejorgensen commented on RIP Jekyll (The Genesis of the Jamstack)   bridgetownrb.com/future/r... · Posted by u/jaredcwhite
malthejorgensen · 4 years ago
The argument made here is like “RIP C” now come over to my new project: “C++”.

Nope. Nope, nope, nope. Neither C nor Jekyll are dead.

malthejorgensen commented on The Future Is Big Graphs: A Community View on Graph Processing Systems   cacm.acm.org/magazines/20... · Posted by u/Anon84
wirthjason · 4 years ago
Anyone have an idea how a graph database like Neo4J is implemented? I imagine it as a unique query language (cypher) sitting on top of a traditional relational database.
malthejorgensen · 4 years ago
I’d imagine it’s more like an adjacency list structure with various indexes (similar to a regular relational dbs) to allows lookups based on node properties
malthejorgensen commented on Helix: a post-modern modal text editor   helix-editor.com/... · Posted by u/bpierre
jll29 · 4 years ago
Boehm, Atkinson and Plass (1995) proposed ropes as an alternative to strings for use in text editors.

hx uses the Ropey crate (Rust library) to implement ropes: https://crates.io/crates/ropey

Boehm, Hans-J., Russ Atkinson and Michael Plass (1995) "Ropes: an alternative to strings", Software—Practice & Experience 25: 1315–1330, DOI: 10.1002/spe.4380251203, https://dl.acm.org/doi/10.1002/spe.4380251203 (cited 2021-06-01).

malthejorgensen · 4 years ago
My impression is that most editors already use this or similar optimized data structures for representing the text internally.
malthejorgensen commented on Brave acquires search engine to offer the first private alternative to Google   brave.com/brave-search/... · Posted by u/twapi
malthejorgensen · 4 years ago
Headline is a bit rich, since duckduckgo exists (and Bing/Microsoft if you really stretch it).

I get the point though -- duckduckgo doesn't provide a browser. But I'm guessing Brave doesn't provide hosted email service (Gmail), file and document hosting (Google Drive and Docs) so the analogy breaks down either way.

That snark being said, I do want more privacy on the web -- so yay Brave!

malthejorgensen commented on Igalia will restart their (Chrome) MathML work in Q2 2021   mathml.igalia.com/news/20... · Posted by u/mindcrime
Jyaif · 4 years ago
I don't believe that MathML should be integrated in a browser: MathML does not requires a lot of CPU, so you can get away with JS+canvas that implements the MathML spec.

By having it in the browser you are making the browser more bloated (more disk space, more memory, more cache misses) and possibly less stable/secure, even-though less than 1% of the people are going to use this feature. Other issues include increasing the barrier of entry for new browsers, having to deal with differences in implementation of MathML when using it, and making the spec harder to improve.

malthejorgensen · 4 years ago
Totally agree – KaTeX is good enough. Browser implementors should spend their time on other things.
malthejorgensen commented on Immortality vs. Society (2016)   grishka.me/immortality-vs... · Posted by u/notpushkin
malthejorgensen · 5 years ago
The first part rings dangerously close to solipsism in my ears, and once you’re there nothing much matters. Just trash the planet, use people and move on. Cause once you’re dead it doesn’t matter? I might be wrong but you can’t build a civilization in that way.

Second thing is that immortality creates conservatism. Old age does too, but it seems to me immortality over-indexes self-preservation over progress of civilization, where the former is just slightly less of a concern for the individual when lifetimes are as short as they are now.

u/malthejorgensen

KarmaCake day61February 8, 2017View Original