• 64 Posts
  • 974 Comments
Joined 3 years ago
cake
Cake day: June 18th, 2023

help-circle


  • Rust is close to C++, in that you get a lot of high level constructs to help you. C is very low level, and you can learn the syntax in a weekend, but you’ll also have to learn memory management and implement advanced structures (linked lists, etc) yourself.

    Memory management isn’t too hard, it’s mostly remembering who created what, who reads and writes to it, and who is responsible for cleaning up. With some additional comments as you go it’s not too hard. Also, depending on what your doing, leaks may be acceptable. A short lived program can leak all it likes, and the OS will clean up for you ibthe end :D








  • CameronDev@programming.devtoOpen Source@lemmy.mlBenefit of AI?
    link
    fedilink
    arrow-up
    11
    arrow-down
    1
    ·
    2 days ago

    You can AI as hard as you like, you’ll probably not manage to replace the really complex tools.

    I have just started writing a laser cutter tool, and I tried some suggestions from AI for doing basic matrix transform calculations, and it was completely wrong. So I wouldn’t trust it for anything moderately complex. That said, it was fantastic for the UI.







  • You can get your local instance admins to delete the messages from its DB, but you can’t do anything for the other thousand or so federated instances, they all have a copy of the messages.

    Safely depends on the content of your messages. But generally, consider your messages public.

    “A super AI that is perfect at finding people” - firstly, doesn’t exist, secondly, by definition cannot be defeated. Otherwise, use e2ee when possible, and talk in person.




  • It’s a small enough subset of the available plans that it clearly hasn’t been an issue. Every other plan in Aus would expire and age off as you’d expect, but these ones just don’t. Before the one I currently am holding, I was holding a number for my Grandma for ~5+ years until I cancelled it. The number was never connected during those years, and I kept paying a bill with $0 in charges.

    https://en.wikipedia.org/wiki/Telephone_numbers_in_Australia#Mobile_phone_numbers_(04,_05)

    There is a decent amount of unused numbers currently, and we have another 100m spare numbers ready for use, and haven’t needed to dip into them yet. I suspect part of the reason we haven’t run out is that because we can port numbers easily, there is a little less churn of the numbers, you can change plans without burning a number. No evidence to back that claim though.