699 karma · joined Mar 14, 2013 (13y ago) · 45 submissions
4.
What counts as a "slow database query"? It's surprisingly hard to say(dev.to ↗)
1 points · by jssmith · 1y ago · discuss
comment 1y ago · link · parent
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.
7.
Show HN: AI-Driven Index Tuning With Postgres MCP Server(github.com ↗)
11 points · by jssmith · 1y ago · 4 comments
9.
U.S. Tariff Calculator(tariffs.inasimonovska.com ↗)
2 points · by jssmith · 1y ago · 1 comment
comment 5y ago · link · parent
comment 5y ago · link · parent
- 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.
comment 5y ago · link · parent
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
comment 6y ago · link · parent
(https://data.humdata.org/dataset/novel-coronavirus-2019-ncov...).
comment 6y ago · link · parent
This raises a few questions for me: - Is an entirely decentralized solution to this problem possible? - Aside from placing trust in the government, are the privacy protections adequate?
comment 6y ago · link · parent
I’ve found the following rubric helpful for building distributed systems: 1/ correctness, 2/ reliability, 3/ performance. Credit: CochroachDB team.
comment 7y ago · link · parent
comment 8y ago · link · parent
I couldn’t agree more with this statement, and even moreso in a business setting than in research. It’s just so easy to get caught up in statistical significance and lose perspective on practical significance. I’ve found confidence intervals most informative and easy to understand.
comment 8y ago · link · parent
On the end-user/device side, JavaScript has proven that sharing hardware with untrusted code is just too valuable to give up, and a similar dynamic continues to play out in the cloud.
I'm also happy whenever a headline brings attention to these types of problems because I believe we can fix them.
comment 8y ago · link · parent
It looks like textql loads everything into an in-memory SQLite instance, whereas I'd really like to see an approach that uses the SQLite's virtual table mechanism (https://sqlite.org/vtab.html), which would avoid the loading step and perhaps make streaming processing possible.
comment 9y ago · link · parent
The women with the most other options are perhaps most likely to go elsewhere. Some of the men who have the most options may be right behind them.
comment 9y ago · link · parent
In my view, one reason that we don't see huge demand for this combination is that the schema that makes sense for analytics is often different from that which makes sense for the online system.
comment 9y ago · link · parent
I wouldn't take the comparison to affirmative action too far here. Our startup / VC ecosystem exists to drive radical progress and to achieve success where it seems unlikely. So let's go for it and get creative.
28.
Let’s Stop Talking About the Sexism in Venture(linkedin.com ↗)
2 points · by jssmith · 9y ago · 2 comments
comment 9y ago · link · parent
Unfortunately, I've seen this before, more than once. I've come to believe that a high-availability product should keep the places where human error can creep in to an absolute minimum. That means no artificial breaking points.
Ask vendors whether their products are susceptible to this failure mode and factor the answer into your purchasing decisions. Also recognize that if they want to they can give you a perpetual license file even if business terms mandate renewal.
comment 9y ago · link · parent
Something like: http://www.earplugstore.com/foearpltrpa2.html
My personal favorites: 3M E-A-R Classic Soft Earplugs