• 0 Posts
  • 12 Comments
Joined 2 years ago
cake
Cake day: June 22nd, 2023

help-circle
  • Preface: I have a lot of AI skepticism.

    My company is using Cursor and Windsurf, focusing on agent mode (and whatever Windsurf’s equivalent is). It hallucinates real hard with any open ended task, but when you have ALL of:

    • an app with good preexisting test coverage
    • the ability to run relevant tests quickly (who has time to run an 18 hour CI suite locally for a 1 line change?)
    • a well thought out product use case with edge cases

    Then you can tell the agent to write test cases before writing code, and run all relevant tests when making any code changes. What it produces is often fine, but rarely great. If you get clever with setting up rules (that tell it to do all of the above), you can sometimes just drop in a product requirement and have it implement, making only minor recommendations. It’s as if you are pair programming with an idiot savant, emphasis on idiot.

    But whose app is well covered with tests? (Admittedly, AI can help speed up the boilerplating necessary to backfill test cases, so long as someone knows how the app is supposed to work). Whose app is well-modularized such that it’s easy to select only downstream affected tests for any given code change? (If you know what the modules should be, AI can help… But it’s pretty bad at figuring that out itself). And who writes well thought out product use cases nowadays?

    If we were still in the olde waterfall era, with requirements written by business analysts, then maybe this could unlock the fabled 100x gains per developer. Or 10x gains. Or 1.1x gains, most likely.

    But nowadays it’s more common for AI to write the use cases, hallucinate edge cases that aren’t real, and when coupled with the above, patchwork together an app that no one fully understands, and that only sometimes works.

    Edit: if all of that sounds like TDD, which on its own gives devs a speed boost when they actually use it consistently, and you wonder if CEOs will claim that the boosts are attributable to AI when their devs finally start to TDD like they have been told to for decades now, well, I wonder the same thing.



  • Maybe. There are many ways to move files and directories around without using Finder, at which point all indexed data about those files and directories will be stale. Forcing something as core as mv to update Spotlight would be significantly worse, I think. By keeping the .DS_Store files co-located with the directory they index, moving a directory does not invalidate the index data (though moving a file without using Finder still does). Whether retaining indexing on directory moves is a compelling enough reason to force the files everywhere is probably dependent on whether that’s a common enough pattern among workflows of users, and whether spotlight performance would suffer drastically if it were reliant on a central store not resilient against such moves.

    So, it’s probably a shaky reason at best.










  • Post office too. Really any government office where the public is allowed inside.

    Underpaid workers trying to explain bureaucratic minutiae (for which they are not responsible) every single day to people who are not versed in that minutiae, do not want to learn it, cannot learn it, and are preemptively frustrated that they have to have this interaction in the first place. There is no winning–mental health isn’t cheap, do the workers’ resilience only lasts for so many years/months/days before they default to hating the clients, and the clients don’t trust publicly available instructions, thus dooming themselves to the shitty interactions.

    The only way to fix this is to take both people out of the equation–preprocess everything that might need to happen for everyone, to the point of turning every transaction into a single trasaction. That requires for every city, county, state, national, international agency to federate, so that you never have to file multiple documents to do a thing.


  • FearfulSalad@ttrpg.networktoAsklemmy@lemmy.mlWhy are folks so anti-capitalist?
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    edit-2
    2 years ago

    Capitalism has been touted as superior to the alternatives (Socialism, Communism, etc) b/c it has been claimed to be “self-regulating” and “self-correcting” and “even if we don’t understand why, it fixes itself”–basically the only choice among bad ones that, given our collective small brains, has any chance of sustaining itself and society in the absence of an ability of individuals or government to do so intentionally.

    What it really is is an opportunity to stay anonymous while gaming the system, all the while convincing everyone else that they too can game the system (thereby being gamed). It is not a net benefit to society when taken to extremes.

    Capitalism is great for the consumer in the micro. If there is a coffee shop on your street that sucks, and you start a coffee shop two blocks away to compete with it with your better coffee, you are participating in the version of capitalism that “works as intended.”

    It doesn’t work in the macro. When, instead of continuing to manage your mom & pop business that barely breaks even, you vertically integrate, buy up or otherwise destroy your competition, and then reduce the quality of your product to bare minimums in favor of profits and shareholder value and growth, you take capitalism to an extreme that makes everyone else (the consumers, the workers, the would-be-competitors) have a worse quality of life.

    People prefer better quality of life. Capitalism in the modern age is so far in that macro extreme that it no longer makes people’s lives better. East Palestine train derailment as an example… why would they prioritize safety over cost cutting? Bam, a town is cancerous. It’s not unreasonable for people to point at a corruptible system and blame it for the corruption that exists.

    Problem is, people are corruptible, so whatever alternative we think is better, someone will come along and ruin it for personal gain.