jssmith
Joined 13 years ago
Joined 13 years ago
It looks like LLMs can do a pretty good job at generating ideas, particularly if you prompt them right.
After that, you have to: 1/ make sure that the SQL produces the same results, 2/ see what the query planner will actually do with it, 3/ see whether it improves performance.
As you point out, the data makes a difference, so you need production data statistics, at a minimum, to do this well.
There's a lot of value in just getting a database connection. But the LLMs hit limits pretty quickly when it comes to index tuning, etc.
Classical algorithms still have their place.
An analysis of Spectre and software isolation is here:
- The first time it occurred to me that "master" in this context could offend anyone was when GitHub changed the name (and broke my workflow).
- My immediate reaction was, "this change is by white people for white people," where "white" means anyone who isn't black.
- My next reaction was, "they may be changing the name for the wrong reasons, but the change is brilliant."
Let me explain a little more. Whether motivated purely by virtue signaling or by more genuine intentions, changing the name doesn't fix any of the problems that black people face. The article explains this well.What's powerful about this name change is that it pushes us to alter a habit, in my case one embedded deeply in my fingers, something that I do every day without realizing that I'm doing it. Thus it is a useful reminder of the implicit bias that contributes to the lack of diversity in tech. Never mind that the old name was harmless, the change brings repeated awareness to an important topic, and it reaches a the developer community in a targeted way.
So, next time you are annoyed that you have to fix a script or you accidentally type master when you needed to type main, please just take a deep breath, change the name, and remember to reflect upon whether you have are subconscious habits or biases that work against diversity in tech.
We've been building an experimental shared file system that specifically targets the FaaS setting. It supports SQLite and gets big performance gains over NFS/EFS, especially on read-mostly workloads, due to improved local caching and lock elision. See: https://arxiv.org/abs/2009.09845
Interestingly, ChatGPT was able to parse and explain it to me. I got a lot out of its presentation.