• 0 posts
  • 151 comments
Joined 3 years ago
Cake day: November 13th, 2023
  • “_comment”

    I appreciate the workaround here, and I’ve tried this in production environments to one degree or another. This usually fails due to another problem: the number of systems that think unexpected JSON keys are an error, is is too damn high.

  • Yeah, stuff like that continues to be the best use-case for windows virtualization. Sounds a lot like trying to upgrade the BIOS or Firmware on an older PC; often the installer is some binary that only runs on Windows of the same vintage.

    Backwards-compatibility with older web browsers so engineers can build websites for them, is another. I’ve also heard of industrial automation (e.g. CNC machines) being married to Win2k or WinXP, so being able to run an old OS on new hardware is crucial.

  • Oooh, rocking an HP? I too like to live dangerously.

    But seriously, that’s good to know. Those are probably easier to come by out in the wild. It really looks like Thinkpads go from office deployments straight to refurb companies these days. I never see them at thrift stores, and I’m not brave enough to dumpster-dive at e-waste.

  • Sometimes, old machines are survivors. Beware of confirmation bias when trash/thrift-picking cheap systems though. IMO, Thinkpads can be tough as a coffin nail. Including work systems, I’m on number 8 at this point with no hardware failures in sight.

    That said, I have a very lightweight Acer that’s about a decade old with the worst keyboard and trackpad ever manufactured. It also performs like a slug, even with Linux on it. Still, it refuses to break so I can get rid of it.

  • When writing code, I don’t let AI do the heavy lifting. Instead, I use it to push back the fog of war on tech I’m trying to master. At the same time, keep the dialogue to a space where I can verify what it’s giving me.

    1. Never ask leading questions. Every token you add to the conversation matters, so phrase your query in a way that forces the AI to connect the dots for you
    2. Don’t ask for deep reasoning and inference. It’s not built for this, and it will bullshit/hallucinate if you push it to do so.
    3. Ask for live hyperlinks so it’s easier to fact-check.
    4. Ask for code samples, algorithms, or snippets to do discrete tasks that you can easily follow.
    5. Ask for A/B comparisons between one stack you know by heart, and the other you’re exploring.
    6. It will screw this up, eventually. Report hallucinations back to the conversation.

    About 20% of the time, it’ll suggest things that are entirely plausible and probably should exist, but don’t. Some platforms and APIs really do have barn-door-sized holes in them and it’s staggering how rapidly AI reports a false positive in these spaces. It’s almost as if the whole ML training stratagem assumes a kind of uniformity across the training set, on all axes, that leads to this flavor of hallucination. In any event, it’s been helpful to know this is where it’s most likely to trip up.

    Edit: an example of one such API hole is when I asked ChatGPT for information about doing specific things in Datastar. This is kind of a curveball since there’s not a huge amount online about it. It first hallucinated an attribute namespace prefix of data-star- which is incorrect (it uses data- instead). It also dreamed up a JavaScript-callable API parked on a non-existent Datastar. object. Both of those concepts conform strongly to the broader world of browser-extending APIs, would be incredibly useful, and are things you might expect to be there in the first place.