Skip to content
HHackerTube.videoSurprise me

"I See What You Mean" by Peter Alvaro

"I See What You Mean" by Peter Alvaro on HackerTube: recommended by 6 Hacker News commenters across 5 separate months, 2016–2019.

Strange Loop Conference

talk · intermediate · evergreen

Open on YouTube

Peter Alvaro's Strange Loop 2015 talk argues that query languages let you state what you mean, and applies that to distributed programming. It covers Datalog, Dedalus and the Bloom lineage for reasoning about distributed systems.

Why Hacker News recommends it

Recommended as a fantastic introduction to declarative and Datalog-based distributed systems and failure modeling.

people recommended it
6
separate months
5
strong recommendations
2
discussed on HN
2016–2019
“I highly recommend watching Peter Alvaro’s Strangeloop talk about creating Dedalus”
— alexmingoia, Mar 2019, in “Ask HN: Datalog as the only language for web programming, logic and database”

What HN commenters said

12 Hacker News comments link this video. Each one links back to its thread.

alexmingoiaMar 2019Strongly recommends

Not anything I’d want to use. The closest is prolog. But at a higher level this is what Eve attempted to do. Eve was built using the semantics of Dedalus which is built from datalog. I highly recommend watching Peter Alvaro’s Strangeloop talk about creating Dedalus - it’s exactly the same train of thought you’re onto. ▶ this video

in “Ask HN: Datalog as the only language for web programming, logic and database” · View on HN

rollerOct 2016Strongly recommends

For an introduction to Dedalus with less reading, Peter Alvaro's 2015 Strange Loop talk was fantastic. ▶ this video --- Edit: Actually Chris Granger gave an Eve talk at the same conference. It's interesting to see how Eve has evolved since. [link]

in “Eve: Programming designed for humans” · View on HN

ComNikMar 2019Recommends

If model-theoretic semantics and the various ways to slice, dice, and extend Datalog are interesting to you, then almost any talk by Peter Alvaro might be as well. In particular: ▶ this video

in “Introduction to Datalog” · View on HN

iamwilDec 2018Recommends

Your language example, and the burger example seems flipped. I assume you prefer artisan burgers, which means you like no language restrictions. Badly chosen restrictions are not good, we can all agree. But what do good restrictions look like? Back in the day, programmers prided themselves on being able to do their own memory management, and bristled at the idea of a compiler or the runtime doing it for them. Now, that's the exception, as most of the time, we don't think about memory management in most languages we program in. As time marches on, we'll find more of these restrictions that we all eventually agree are good practices, and the next generation of programmers will take it as a given in programming. As a look beyond functional programming restrictions, I encourage you to check out Peter Alvaro's talk on Distributed Systems. Here, he talks about how queries over distributed systems is really hard to reason about, because time is now relative--there's no central clock to measure time. However, if we restrict ourselves to a language whose queries cannot express negation, a lot of the hard stuff about distributed systems go away. ▶ this video

in “Please do not attempt to simplify this code” · View on HN

svieiraApr 2018Recommends

Also: I see what you mean: ▶ this video and Applying Failure Testing Research @Netflix: [link] both by Peter Alvaro (second also includes Kolton Andrus) are thought-provoking looks at failure modeling in distributed systems.

in “Ask HN: What is your favourite tech talk?” · View on HN

jitlJan 2016Recommends

This Strangeloop talk by Peter Alvaro is a good introduction to the thinking behind some of these systems: ▶ this video

in “BOOM: Berkeley Orders of Magnitude – Declarative Languages And Systems” · View on HN

Show 6 more comments
hencqNov 2019Cites it

Very interesting. I'm curious what you'll come up with. The description also reminds me of Eve [1][2], which is itself based on Bloom [3][4]. [1] [link] [2] [link] [3] [link] [4] ▶ this video

in “Tinyland” · View on HN

justinmkJul 2018Cites it

The post doesn't mention datalog, but Dedalus/Bloom[1] makes a good case for why datalog is a good starting point for a data query language. 1. [link] 2. ▶ this video

in “Why We’re Building Flux, a New Data Scripting and Query Language” · View on HN

hammerandtongsMay 2018Cites it

Of note Bloom is an ancestor of Eve. Bloom is a descendant of Datalog via Dedalus. "Dedalus: Datalog in Time and Space" [link] Here is Peter Alvaro's Strange Loop talk - ▶ this video It was a shame that most people, seemingly the Eve devs as well, seemed to focus on making Eve a language for easy programming for the masses. Thats a huge wall of a problem with a limited funding slope. I think if there had been more upfront work and focus on the distributed programming/database possibilities, that Eve would have founded an actual community to push it along. Eve as a language for doing business logic against say Kubernetes? As a language to wire up ETL processes? I think it could have found a niche that would have made it grow in power before trying to take on the mass market. Just a thought.

in “Bloom Programming Language” · View on HN

iamwilMar 2018Cites it

One of the more interesting parts (to me) about Eve wasn't the interactive programming or the literate programming, but that it included a database inside of the programming language. Most programming languages think of a database as a thing separate to it (I think Smalltalk is an exception). Hence, they needed language constructs to make it easier to talk to databases. As a result, Eve was inspired by the Bloom language being researched at Berkeley, which was in turn inspired by an old language called Datalog. In it, they take constraints of a declarative language (like SQL) and use it to make distributed computing a lot easier. "Our main data-structure was now a tree of tables. Rather than one big top-level function, we switched to a pipeline of functions. Each function pulled data out of the global store using a datalog query, ran some computation and wrote data back. Having less nesting reduced the impact of lexical scope and cursor passing. Using datalog allowed normalising the data store, avoiding all the issues that came from hierarchical models. At this point we realised we weren't building a functional language anymore. Most of the programs were just datalog queries on normalised tables with a little scalar computation in the middle. We were familiar with Bloom and realised that it fit our needs much better than the functional pidgin we had built so far - no lexical scoping, no data-structures, no explicit ordering. In late March we began work on a Bloom interpreter.

in “Eve: Programming designed for humans” · View on HN

viiJan 2017Cites it

Slava (coffeemug) is very brave to introspect publicly and whenever I interacted with him, behaved with greatest integrity and kindness. Unfortunately, his hypothesis here that devtools are a tough market does not ring true. Making a business is always tough, making one that does something new is even tougher. There are many tools and database companies doing extraordinarily well, from Atlassian to Cloudera to Docker to Elastic. The difficulties that RethinkDB faced, as it pivoted from closed source MySQL DB backend, to open source independent database with a very cool update mechanism, were in my analysis much more mundane. Simply, RethinkDB was not easy. Here is a flavor of their thinking, when they rejected a REST HTTP interface: "The RethinkDB query language is so simple, expressive, and pleasant, that trying to make it available over HTTP would be quite difficult and a disservice to users." Developers have a big advantage when making devtools in that they are their own target market. They are, but only at the start of the project before they become embroiled in it. Ironically this feeling of making it for oneself leads to a mistaken urge to thrust complexity onto the target. As an infra engineer myself, this is something I always try to keep in mind -- I worked on a modelling language at a large company and I credit its success to its absolutely straightforward and accessible syntax, lack of dependencies and straightforward integration into workflows. The temptation is a

in “RethinkDB Postmortem” · View on HN

norswapMay 2016Cites it

I'd be more interested by pointers for Javascript front-end principles, because I feel like I'm lacking some background to understand much of what I'm encountering, whereas there's quite a bit about machine learning (which I haven't checked, still I have good hope it covers the fundamentals). Deduction systems: see ▶ this video for instance.

in “Ask HN: What do you want to learn in 2016?” · View on HN

Topics & tags

Distributed systemsDatabases & storageProgramming language designdatalogdedalusbloomquery languagesdistributed systems