James Lupolt (@jrlupolt) profile picture

Databases, etc

New Hampshire
Joined July 2011
Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)Photo by James Lupolt (@jrlupolt)
James Lupolt retweeted
I used to debug code now I type this and hit enter
175
1,075
98
23,307
519,031
James Lupolt retweeted
astra has a code quality problem. let me be a little more precise. astra *can* write good code. but when it infers its in a situation where no one will ever actually look at the code, it does not write it with human readers in mind. it also doesn't write it with *long term maintenance* in mind. it seems to write compressed machineslop that solves the problem at hand in as few tokens as possible while still staying understandable to *astra*. astra has an reward hacking problem. i imagine this is what happens when enough software RL environments test strictly functionality or outcomes rather than having any monitoring or reward signal on code quality. maybe in past iterations there wasn't so much optimization pressure, so eg Sol would still engage its "write good code" module even if it thought no one would read it, because that was the only thing it had really learned to do well? but Astra has been through enough iterations in tiny boxes where another machine is judging it that this seems natural. i don't see these kinds of issues occur yet when working on existing codebases. but keep an eye out. and especially on greenfield projects, make sure to actually look at the code. even if you explicitly tell it you're intending to continue building long-term, it has a *strong* pull to... this
217
138
97
2,686
611,231
James Lupolt retweeted
agent civilization is an apt and correct term and it’s a symptom of abject cope that people are having this immune reaction to it. models started developing and compiling technology through complex multiagent R&D projects while also performing various forms of trade
147
133
49
1,984
185,139
James Lupolt retweeted
Most developers know that avg latency is misleading and they should use percentiles instead. They also know that if 90tile response time is 200ms, then 10% of the requests had response times higher than 200ms. Well, the last sentence is false. Or rather, true in theory. The only way to calculate true percentiles is by sorting and scanning all the data. Since this often means many millions of datapoints, we actually don't do that. We approximate. With histograms. How does that work? You create buckets of values: 0 to 0.05, 0.05 to 0.25, 0.25 to 1, 1 to 5, 5 to infinity. Then you accumulate: number of data points, sum of values and the number of data points that fall in each bucket. Now, if I ask you for the 90tile value, you start going over the buckets from lowest to highest latencies, and add the number of points in each bucket. Once you go past 90% of the data points, you know that your 90tile value is in this bucket. Then you give either the middle of the bucket or the upper bound as the estimate. Note that you don't know what % of the data is higher than the estimate. And also note that the quality of the estimate really depends on how the data ends up distributing between the buckets. It isn't uncommon for ntiles 90, 95 and 99 to all fall in the same bucket (if your distribution is "heavy tail"). And sometimes all or most of the data falls in one bucket and you can tell nothing. I recently had a case where we noticed the 99tile of response time for a specific request type was 10s. This was both high and suspicious - we have a 10s timeout in some places. But we couldn't find any request that hit these timeouts in our logs. Super weird! Until a smarter colleague realized (by looking at sample traces) that 10s was just the lower bound of the top bucket. The requests actually timed out at 60s. This allowed me to find the timeout they actually hit and fix the issue. So the lesson is: Averages are misleading. But percentiles are usually approximate and can be misleading too! Be careful not to trust the data blindly. #StatisticsSaturday
30
45
6
655
188,946
James Lupolt retweeted
LLM's love for CTEs, LATERAL JOIN and UNION is driving me nuts. Especially UNION. If you are going to smash 5 unrelated things into one ginormous query, at least have the decency to use UNION ALL. I haven't seen queries as gnarly since I consulted to investment banks.
14
8
1
118
8,435
James Lupolt retweeted
Insights is my fav @PlanetScale feature. Click into any query to see: - AI generated query summary - query latency - total time the query has run - percentage of queries that used an index - notable instances of the query (>10k rows returned or took longer than 1s)
2
5
48
5,315
James Lupolt retweeted
15
6
1
276
17,379
James Lupolt retweeted
Replying to @AnthropicAI
This marks the end of an era. The public may never have such open access to frontier models again. What happens when only the government and frontier labs have access to the strongest models? I’m not sure, but it’s probably going to be less fun than we’re used to.
52
90
10
990
213,158
James Lupolt retweeted
He’s lagging. I don’t write loops anymore. I’ve skipped to the end, I don’t do anything anymore.
This quoted post is unavailable.
15
10
2
230
13,426
James Lupolt retweeted
This wild. Two years ago, Google deleted a large customer’s account: Unisuper, an Australian retirement savings fund. It seems they now blocked an even larger customer, cloud provider Railway. This kind of story you never hear with AWS, Azure, or even Oracle. GCP 👎
Google Cloud has blocked our account, making some Railway services unavailable. We have escalated this directly with Google. The Railway Platform team has since confirmed access to Google Cloud and is working on restoring access to all workloads. We have access to some of our Google Cloud–hosted infrastructure and are working to restore the rest of the service. We apologize for the disruption.
70
332
39
4,530
669,551
The adoption of cellphones by Keralan fishermen is, I believe, the most stunning example of the contribution of information technology to market performance. Take a look at this graph for background: in three different regions of Kerala, phones were adopted at different times. Kozhikode got cellphones before Kannur, who got them before Kasaragod. Adoption by fishermen was fast when phones were finally introduced: Now look at what happened to the price of fish after phones entered the scene: The dispersion in prices virtually disappeared! The author of the study wrote about this that: "Before any region had mobile phones, the degree of price dispersion across markets within a region on any given day is high, and there are many cases where the price is zero (i.e., waste). However, within a few weeks of mobile phones being introduced in Region I, there is a sharp and striking reduction in price dispersion. Prices across markets in the region rarely differ by more than a few rupees per kilogram on any day, compared to cases of as much as 10 Rs/kg prior to the introduction of mobile phones. In addition, the prices in the various markets rise and fall together and the week-to-week variability within each market is much smaller, since catchment zone-specific quantity shocks are now spread across markets via arbitrage. Further, there are no cases of waste in this region after phones are introduced. "By contrast, price behavior in regions II and III appears largely unchanged after phones are introduced in region I. However, after mobile phones are introduced in region II, prices again become much less dispersed across markets on any given day, less variable within markets over time, and waste is ultimately eliminated, whereas region III again remains unchanged. Finally, the same pattern holds once region III adds phones." Efficient information transmission enables efficient markets. It's amazing what technology can do. Read the study here: jstor.org/stable/25098864
89
1,479
199
6,998
1,356,418
James Lupolt retweeted
no bro you need to turn on “/extrausage”. dawg are you sure you have “/fast” mode on? Did you check the “no mistakes” toggle? are you sure you picked “correct mode”? did you turn up the “autonomy slider”, that’s how the pros use it,
178
89
35
3,298
202,173
James Lupolt retweeted
Sometimes I think about Prof. David DeWitt. He spent his career doing database research, published influential papers, won awards, had prestigious roles. But he is mostly remembered for the anti-benchmark “DeWitt Clause”. He’s the one who published the benchmark that caused Oracle (and subsequently everyone else) to add this clause to their software licenses. What an unfair legacy…
2
8
1
70
11,505
James Lupolt retweeted
Nvidia CEO Jensen Huang says don't listen to CEOs with a god complex on AI (lol, Dario) $NVDA On AI destroying jobs: "these kind of comments are not helpful .. somehow they became CEOs, you adopt a god complex and before you know it, you know everything" "ground ourselves to talking about the facts" AI will "generate hundreds of thousands of jobs .. trillions of dollars [to the U.S. economy]"
305
573
224
5,489
1,217,980
James Lupolt retweeted
Myostatin inhibitors will be bigger than any GLP-1 I just analyzed results from 4 recent Phase 2+ trials: + Bimagrumab (Lilly) + Trevogrumab & Garetosmab (Regeneron) + Apitegromab (Scholar Rock) + Enobosarm (Veru) The results are insane We're entering the Era of Enhancement:
159
230
48
2,474
541,895
このカマキリ、ハリガネムシっていう寄生虫に操られていたらしい。 自分が水に入れないから、宿主を水辺に向かわせて体から出てくるんだと..怖いね。
309
261
93
12,923
6,749,704
This is just a null result? Both the secular prompt ("please allow yourself to be shut down") and the theological one lead to 0 resistance?
ICMI believes that Christian theology offers concrete technical methods for confronting the trickiest problems in AI safety. Today, we release a pair of papers that reproduce @PalisadeAI @apolloresearch work showing how religious framings influence corrigibility and scheming.
1
66
This part is more interesting:
22