• 1 Post
  • 14 Comments
Joined 7 months ago
cake
Cake day: April 20th, 2026

help-circle
  • trem@lemmy.blahaj.zonetoxkcd@lemmy.world•xkcd #3321: Simulation
    link
    fedilink
    English
    arrow-up
    1
    ·
    edit-2
    47 minutes ago

    At some point, I programmed a little 2D gravity simulation. So, I even had one less dimension in which objects could fly past one another, and I was still surprised how rarely they actually collide, despite literally being attracted to each other.

    But the thing is, they generally get pulled by more than one gravity well or have previous momentum, so they rarely approach each other head-on. And if you’ve got a near-miss, that means all the speed they built up approaching each other is now slingshotting them far away from each other.






  • 5 minutes sounds like way too much, unless you mean a fresh compile. But then you shouldn’t need to wait that long between changes, since incremental compilation should kick in then.

    And like sure you can break shit up into crates to speed up compilation, but to do that you already have to have a design you’re happy with and that’s stable.

    I mean, if you have your modules structured in a tree structure and with proper visibility, then it isn’t a particularly big leap to put it into a separate crate. You just move the files, maybe fix some visibility modifiers still, and then a bit of boilerplate to add it to the workspace.

    It’s only really when you’re publishing to crates.io, that you don’t particularly want to keep changing the names/scopes of the crates, as they’ll stick around on there for the foreseeable future.



  • You’re doubly confused. You’re thinking of GitHub Copilot, when this is about M365 Copilot. Last I heard, they have 78 different products called Something Copilot, so confusion is understandable.

    But then what you’re actually thinking of is the “GPT” series of large language models, developed by OpenAI.
    GitHub Copilot is merely a GUI and a harness for large language models. It defaults to the GPT models, and is probably somewhat optimized for them, but it can use other models as well.

    This harness can influence the quality quite a bit, as it decides which source code files to feed into the model for context. I’m not aware of people saying that GitHub Copilot is particularly good at that, but it’s available as an extension for IDEs, so it automatically knows which files you’re editing, which can be useful.

    And yes, the GPT models have fallen quite a bit behind since the start of the year.





  • One of the big, national grocery store chains here has managed to create a webpage, where:

    • you cannot open a product in a new tab, and
    • if you click on a product and hit the back-button, it resets the scroll position in the product list all the way to the start.

    In effect, the webpage is practically unusable for actually browsing through products. They’re probably missing out on hundreds of thousands in sales, for something that could be fixed for like 50 quid.


  • Yeah, they have to fight it tooth and nail, because it threatens how they want to do business on a conceptual level. But I also cannot see how they would argue this case.

    If another webpage said those publishers are a right cunt (written by AI), that would be defamation for sure. So far, Google was allowed to say those publishers are a right cunt, because they were quoting another webpage.
    If they’re not doing that anymore, if they’re not even paraphrasing what another webpage said, but just making own claims, then that’s their own responsibility.

    In theory, I could imagine a ruling that says that paraphrasing doesn’t have to be accurate at all times, but in practice, this would be absolute bedlam. Any webpage could publish the wildest misinformation and just say that, oops, they were paraphrasing.
    So, even if they can get such ruling through, there would need to be law changes sooner or later, which explicitly make it illegal again.