jamii
This paragraph links to the IEA report which does indeed call datacenters the fastest growing energy consumer, but also says:
> Despite rapid growth, data centres remain a relatively small part of the overall power system, rising from about 1% of global electricity generation today to 3% in 2030, accounting for less than 1% of total global CO2 emissions.
For scale, beef production is about 9% of total greenhouse gas emission.
I'm Not a Cat
More or less. x^ moves the whole box whereas x* copies the contents of the box.
> Awkwardly, it also hasn't been assigned so I'm not sure the box is accessible anymore?
Yes, if you move something and don't assign it then it gets dropped, same as rust.
Borrow-checking without type-checking
Borrow-Checking Surprises
Do We Understand SQL?
The OLAP world has much nicer type systems eg https://duckdb.org/docs/stable/sql/data_types/union.html.
We can make the model way simpler to make it clearer. Say in 2020 we hired 1000 20-24yo, 1000 25-29yo etc and then we didn't hire anyone since then. That was five years ago, so now we have 0 20-24yo, 1000 25-29yo, 1000 30-34yo etc and 1000 retirees who don't show up in the graph.
Each individual year we hired the exact same number of people in each age bracket, and yet we still end up with fewer young people total whenever hiring goes down, because all the people that got hired during the big hiring spike are now older.
https://docs.google.com/spreadsheets/d/1z0l0rNebCTVWLk77_7HA...
But the &str at the end is an additional heap allocation and causes an additional pointer hop when using the string. The only reason the function returns a pointer to a string in the first place is so that the nil check at the beginning can return nil. The calling code always checks if the result is nil and then immediately dereferences the string pointer. A better interface would be to panic if the argument is nil, or if that's too scary then:
func (thing *Thing) String() (string, bool) {
if thing == nil {
return "", false
}
str := ...
return str, true
}Store Tags After Payloads
> But is it worth it? Again, the tradeoff is expressivity vs. simplicity... Austral’s linear types and borrowing is already so simple. Austral’s equivalent of a borrow checker is ~700 lines of OCaml. The only downside of Austral is right now you have to write the lifetimes of the references you pass to functions, but I will probably implement lifetime (region) elision.
The whole post was about how that doesn't solve the problem perfectly - there is no way to interactively edit the output.
> by embracing LISP principles directly
This could just as easily have been javascript+json or erlang+bert. There's no lisp magic. The core idea in the post was just finding a way for code to edit it's own constants so that I don't need a separate datastore.
Eventually I couldn't get this working the way I wanted with clojure and I had to write a simple language from scratch to embed provenance in values - https://news.ycombinator.com/item?id=43303314.
https://www.scattered-thoughts.net/log/0027#preimp
https://x.com/sc13ts/status/1564759255198351360/video/1
I never wrote up most of that work. I still like the ideas though.
Also if I had ever finished editing this I wouldn't have buried the lede quite so much.
HYTRADBOI 2025 post-mortem
"Enough with All the Raft" by Alex Miller
A quick ramp-up on ramping up quickly in SpiderMonkey
Programming Without Pointers
0900-1000: Compilers
"Database query compilation: our journey" by Thomas Neumann & Viktor Leis
"A YJIT interview" by Maxime Chevalier-Boisvert
"A quick ramp-up on ramping up quickly" by Iain Ireland
"Can we democratize JIT compilers?" by Haoran Xu
"Safe and productive performance with user-schedulable languages" by Jonathan Ragan-Kelley
1000-1100: Understanding programs "How debuggers work" by Sy Brand
"Debugging compiler-optimized code: how it works and doesn't" by Stephen Kell
"Side-Eye: ask your programs anything" by Andrei Matei
"Let's run a million benchmarks" by Yao Yue
"Rocket science of simulation testing!" by Alex / matklad
1100-1200: Wild ideas "Back to modularity" by Daniel Jackson
"DB usability: as if" by Jonathan Edwards
"Twizzler and far out memory sharing: precise abstractions" by Daniel Bittman
"Programming without pointers" by Andrew Kelley
"Throwing it all away - how extreme rewriting changed the way I build databases" by Tyler Neely
1200-1230: Programmers are people "A case for feminism in programming language design" by Felienne Hermans
"Malloy, mic drop, peace!" by Michael Toy
1230-1300: Lightning talk buffet "Learning about the odd bits of SQL by reading the PostgreSQL docs" by Chris Zetter
"Hacking Observable notebooks from within" by Tom Larkworthy
"Zero copy data structures" by Evan Chan
"Reliable serverless needs distributed transactions" by Stu Hood
"Pangeo is a database" by Alexander Merose
"Rubbing a database on a language server" by Philip Zeyliger
"Language agnostic simulation testing on a budget" by Stevan A
"Shapeshifter: using LLMs inside a database for schema flexibility" by David Nachman
"Why S3's conditional writes made people excited" by Miikka Koskinen
"pghttp: backend-free, lowest latency web apps" by Damir Simunic
1300-1400: Query languages "Pipe syntax in SQL; it's time" by Jeff Shute
"PRQL: a modern, pipelined SQL replacement" by Tobias Brandt
"AquaLang - a streaming dataflow programming language" by Klas Segeljakt
"A polymorphic data model for SQL using algebraic types" by Steve McCanne
1400-1430: Databases "Use of time in distributed databases - don't fall behind the times" by Murat Demirbas
"Enough with all the Raft" by Alex Miller
"Database ideas in Convex" by Thomas Ballinger
"Serverless primitives for the shared log architecture" by Stephen Balogh
"Good thing we're not writing a database" by Peter van Hardenberg
1430-1500: Wasm "Thinking in Wit" by Dan Gohman
"Bringing the WebAssembly standard up to speed with SpecTec" by Dongjun Youn