• 0 Posts
  • 168 Comments
Joined 1 year ago
cake
Cake day: June 23rd, 2023

help-circle





  • 520@kbin.socialtoLinux@lemmy.mlLinux for Kids?
    link
    fedilink
    arrow-up
    4
    ·
    6 months ago

    I learned to program when I was 10 on a Commodore 64. And we would wear an onion on our belt which was the style at the time… Sorry, where was I?

    Totally get that, but we live in a much more dangerous and predatory computer landscape these days. It would be foolish not to take some precautions.


  • 520@kbin.socialtoLinux@lemmy.mlLinux for Kids?
    link
    fedilink
    arrow-up
    12
    arrow-down
    2
    ·
    edit-2
    6 months ago

    Standard Ubuntu should have you covered.

    One word of warning though, don’t be too egregious with the parental controls. If your kids are motivated enough, they will find a way around it.

    Education really is your best weapon here. Tell them about the dangers of the modern web and computing.








  • 520@kbin.socialtoProgrammer Humor@lemmy.mlcodeStyle
    link
    fedilink
    arrow-up
    1
    arrow-down
    2
    ·
    8 months ago

    So this looks like it’s based in Java code.

    A public class means that any bit of Java code, including that injected by an attacker, can see and mess with the contents of that class.

    A private class, in contrast, means that other bits of Java code are restricted to running the class’s predefined functions.

    In theory it is supposed to help with the security of the data. In practice if an attacker gets to this point, you’ve got much bigger issues.





  • The most manual way is what C does, which is requiring the programmer to check memory safety by themselves.😛

    The difference is, Rust will throw a tantrum if you do things in an unsafe way. C/C++ won’t even check. It’ll just chug along.

    Rust is really not that harder than Java or Python.

    As someone who’s done all three, the fuck it isn’t.

    If you are familiar with C/C++ best practices to any operational level, those things will translate over to Rust quite nicely. If not, that learning curve is going to be fucking ridiculous with all the new concepts you have to juggle that you just don’t with either Java or Python.



  • Browser manufacturers receive reports from users of known malicious sites, and use that to form a blocklist. The browser downloads a copy of the block list and compares it to the URL of the page you’re going to.

    Only then does it show a big scary red warning.

    Search engines are known to do their own work in removing malicious sites. They aren’t perfect and some do fall through the cracks.