1,943 karma · joined Jul 30, 2012 (14y ago) · 625 submissions
comment 1d ago · link · parent
comment 1w ago · link · parent
For now, more prompting and harnesses sounds like another name for more work that reduces how often LLMs save time. Reading Claude's code carefully and re-prompting repeatedly can often be faster but ironically it often feels like far more cognitive effort. That's not surprising since reading others' code is harder than your own. That's amplified by Claude's tendency toward initial bloat and making large and sometimes unrequested changes with each prompt.
Writing code has also long been a primary means for cementing and documenting our own understanding of the problem so I feel like letting the LLM drive always limits formation of our mental models for the system's workings even if we carefully read the generated code.
comment 1w ago · link · parent
comment 1w ago · link · parent
Faster definitely, but even with the latest Fable model "better" is often debatable and varies a lot based on what you care about. I can often rewrite what Claude did in 1/2 the lines or less to do the same thing while making it easier for humans to understand and maintain. Claude gives me a sculpture in a good rough starting shape, but it usually needs to be sculpted down at the end whether manually or by prompting Claude about the unnecessary bloat it generated.
comment 1w ago · link · parent
Claude absolutely loves to reimplement the wheel locally instead of just calling a method in a library we already depend on. Every doc comment and README.md update is bloated by 2-5x what's needed to communicate intent or to actually be read by a human later. It makes random drive-by edits that aren't necessary and weren't asked for in the prompt. It's a well oiled machine for producing astronomical bloat by default if you don't supervise and rein it in!
comment 1mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 2mo ago · link · parent
comment 3mo ago · link · parent
1. Set up a container image based on our prod Postgres DB's version with current prod migrations pre-applied.
2. Configure Testcontainers to be reuse the container between tests, at least within the same file.
3. ~25 lines of init code that apply local-branch migrations to a template DB and copy test data to it on the first test.
4. When the template DB already exists, test setup just drop the DB and copy it fresh from the template DB.
I find tests that actually perform the actions catch a heck of a lot more bugs and are easier to setup up than code that uses a lot of mocking or "test implementations" of a class. And with just a little care the performance penalty is negligible and way more than worth it.
comment 3mo ago · link · parent
Long ago I was struck by an idea I heard about human reasoning that I paraphrase as "human reasoning evolved not to reason, but to provide reasons"[1]. Basically that the heaviest evolutionary pressures on our brain were for social utility, like for influencing others to do something for us, or giving pre/post justifications for our actions that most others are likely to accept to avoid punishment. The flawed mechanisms that we developed to do such things are not significantly grounded in logical reasoning, but can sometimes be pressed into duty for that.
LLM models are trained to "generate the best next token" which augments the response so far and makes the evaluator happy. When I reflect on my own mind responding quickly to someone in a meeting it doesn't feel altogether different from that. We don't typically carefully and fully logically reason before we start talking. We typically start talking and think only a little ahead about what we say next that supports and doesn't contradict what we've said already. As we're speaking we are monitoring the other person's facial expressions to infer their emotional response and adjusting our next words based on that. I think at least common neurotypical[2] conversation might be closer to the "next token" reasoning than we would be comfortable admitting.
[1] I _think_ who I heard say that was Hugo Mercier, on either Sean Carroll's consistently amazing science podcast or maybe on Lex Friedman before he veered into Joe Rogan emulation. I'm normally a little suspicious of the theories of psychologists and cognitive scientists, but I intuitively related to many of his lines of thinking.
[2] I'm arguably pretty neurodivergent in more than one way so I think my thought processes are a little different by default, but that makes me more reflective about common conversation. When I'm trying to mask and communicate more similarly to a neurotypical corporate employee I feel like I become a "stochastic parrot" that's just predicting the best next few words to improve the emotional response I'm reading in my conversation partner.
comment 5mo ago · link · parent
Very true in some sense, but I continue to encourage DRY-bias because I've literally never seen teams duplicate code responsibly and later dedupe it when it's the right time. 95% of the time this sentiment is quoted to justify shipping quick slop and stable reusable bits are never extracted into a shared lib later.
comment 5mo ago · link · parent
One of my criteria for presidential candidates is that they seem willing and able to push the button when previously stated red lines are crossed, or at least are perceived to be the type capable of it. One of the characters I’ve hated most in all the books that I’ve read is the woman in The Three Body Problem who jeopardized humanity by being too soft to hit the MAD button.
comment 6mo ago · link · parent
TM heavily throttles disk I/O used for backing up in order to ensure that normal user activity isn't affected. That makes it appear that TM is dramatically slower than you would expect which greatly annoys me. This becomes obvious after you run this command which will make both the preparing and transferring phases go closer to the theoretical speed you'd expect:
sudo sysctl debug.lowpri_throttle_enabled=0
comment 6mo ago · link · parent
During the day I need to pull large data files from the work VPN so it's nice that that can happen at full speed even when Steam and movie streaming are also at full throttle. Combine that with backups and moving various files back and forth to my NAS and I'm very happy to have 10Gb local wiring.
comment 6mo ago · link · parent
Before I was using one of the common Synology consumer NAS boxes that are often recommended. The NAS didn't report any errors with the drives or its own hardware, but at least once a month TM would glitch on at least one of my home laptops.
My new setup is an Asus FLASHSTOR 12 Pro Gen2 FS6812X. For a year now it's been running without a single apparent TM glitch while backing up multiple personal laptops and my work laptop. Sometimes I'm plugged in and sometimes I'm backing up over WiFi, but it's always worked.
I tried various recommended settings for the Synology and nothing helped so I strongly suspect that the Synology network protocol(SMB, AFP, etc.) implementations were either buggy themselves or at least not compatible with quirks in Apple's implementations. Synology->Asus fixed all my TM problems instantly and seemingly permanantly!
comment 6mo ago · link · parent
It's wild to me that 10gbit isn't the norm by now and tech people who should know better seem to think WiFi matches or even exceeds even 1gbit ethernet. My MBP connects to my WiFi7 setup(Ubiquiti E7) at a nominal 1.5-1.9gbit but Time Machine backups and file transfers are slower than plugging into 1gbit ethernet, probably in large part due to latency and retransmissions. Not to mention that ethernet works with near 100% reliability with dramatically less variation in speed and error rate.
comment 7mo ago · link · parent
comment 8mo ago · link · parent
As I was saying in another thread Kagi is what Google would have been if they had kept improving instead of transitioning to enshitifying ~10yrs ago. If I had to pick I’d keep it over Netflix.
comment 8mo ago · link · parent
TLDR Kagi is what Google would have been if they had kept improving instead of transitioning to enshitifying ~10yrs ago.
comment 9mo ago · link · parent