32,383 karma · joined Jan 3, 2008 (18y ago) · 8,295 submissions
comment 9mo ago · link · parent
[0]: https://www.nber.org/system/files/working_papers/w34255/w342...
comment 9mo ago · link · parent
Playing with the system prompts, temperature, and max token output dials absolutely lets you make enough headway (with the 5 series) in this regard to demonstrably render its self-analysis incorrect.
comment 9mo ago · link · parent
If you ask me if I want to eat healthy and clean and I respond on the affirmative, it’s not a “gotcha” if you bait me with a greasy cheeseburger and then say “you failed the A/B test, demonstrating we know what you actually want more than you.”
252.
Portable Cartesian brace expansion in your shell(neosmart.net ↗)
1 points · by ComputerGuru · 10mo ago · discuss
comment 10mo ago · link · parent
I don’t know if or how Postgres records the transaction number in the index to be able to notice if it’s out of date. If it does, I don’t know of any solution to “catch up” the index besides recreating it, which would be ok if that’s the only issue but from my experience with out-of-date indexes (libc or icu updates, where Postgres doesn’t know if anything IS broken and just reports that it could be), there’s no guarantee you’d even notice and your app could be running completely broken until you rebuild.
comment 10mo ago · link · parent
How well do they work for UUIDv7? You’d probably have to tune (increase?) pages_per_range, but even though each index entry is 16 bytes you have to consider the btree index on the same is also similarly affected (or worse).
comment 10mo ago · link · parent
Hash indices have long been crippled; they shipped almost unusable but every few years get a good QoL update. I think automatic unique constraints are the big thing left there.
comment 10mo ago · link · parent
Of course the hash index also outperforms a unique (btree) index on top of separately calculating the hash, in addition to the storage overhead, row bloat, lack of guarantees regarding the hash unless you expose it to Postgres as a user-defined function AND add a check constraint.
comment 10mo ago · link · parent
comment 10mo ago · link · parent
But it would add complexity to detect out-of-sync indexes and tables.
comment 10mo ago · link · parent
I’m not in the city, but you’d have to actually be two states away to escape its light (literally not figuratively, according to dark sky maps).
:(
comment 10mo ago · link · parent
So I guess they did implement all that.
(Not that they are particularly nicely implemented - the layout and padding is all wrong, alignment is off, and it looks distinctly non-native… but that’s par for the course on iOS 26.)
comment 10mo ago · link · parent
function awaitElement(selector) {
return awaitPredicate(selector, _ => true);
}
function awaitPredicate(selector, predicate) {
return new Promise((resolve, _reject) => {
for (const el of document.querySelectorAll(selector)) {
if (predicate(el)) {
resolve(el);
return;
}
}
// Create a MutationObserver to listen for changes
const observer = new MutationObserver((_mutations, obs) => {
// You could search just inside _mutations instead of the entire DOM.
// Efficiency will depend primarily on how precise your selector is.
for (const el of document.querySelectorAll(selector)) {
if (predicate(el)) {
resolve(el);
obs.disconnect(); // Don't forget to disconnect the observer!
break;
}
}
});
// Start observing the document
observer.observe(document.documentElement, {
childList: true,
subtree: true,
attributes: false,
characterData: false,
});
});
}