Web developer. Lead developer of PieFed

  • 33 Posts
  • 469 Comments
Joined 2 years ago
cake
Cake day: January 4th, 2024

help-circle
  • Rimu@piefed.socialtoProgramming@programming.devThrust into an AI role
    link
    fedilink
    English
    arrow-up
    7
    arrow-down
    1
    ·
    22 hours ago

    It depends on your company.

    If you are running public-facing code, security is going to become a huge deal in coming months. So use AI to find all the security holes in your stuff before the hackers do.

    If you have lots of databases and APIs for internal use, create a MCP server so agents can do anything with your data and APIs.

    If your data is even a little sensitive and you don’t want to send it all to the USA (read up on the CLOUD act), look into running models locally and the hardware investments you’ll need to make.


  • Rimu@piefed.socialtoSelfhosted@lemmy.worldDo you host your own AI?
    link
    fedilink
    English
    arrow-up
    8
    arrow-down
    3
    ·
    edit-2
    6 days ago

    The other day I made a machine learning model that classifies images as either ‘a certain type of undesirable image’ (no, not porn) or ‘any other image’. It is 96.4% accurate and takes 14 ms to classify one image (using CPU only - with a GPU it could be 5x - 10x faster).

    I plan to offer this as an API service that social media networks can use to filter posts.










  • While it is technically possible to write shell scripts that do as much as what you’re attempting to, it’s not a good idea.

    Shell scripts generally don’t have the development environment necessary for debugging. You can’t pause execution based on a breakpoint and inspect variables, or step through the code line by line to watch the execution flow as it happens. Well, bashdb exists, but it’s quite hard to use.

    Without proper debugging tooling you’re limited to printing stuff out on the screen and trying to figure out what that means. That’s ok for short scripts (< 50 lines?) but yours is 700+ lines.







  • Rimu@piefed.socialtoSelfhosted@lemmy.worldEmail ownership, I give up.
    link
    fedilink
    English
    arrow-up
    43
    arrow-down
    2
    ·
    23 days ago

    Fair enough - I got it working recently but it was the hardest self-hosting install I’ve done. No way most people would succeed. Email is 50(?) years of questionable design decisions piled on top of each other so it’s become a whole world of weird stuff. Doing email should be it’s own tech specialty, like ‘devops’ or ‘db admin’ is. There’s enough depth to it.

    There are a ton of email providers who are not Google, though. e.g. https://proton.me/mail. You don’t need to run it on your own hardware.