Data Science

  • 39 Posts
  • 142 Comments
Joined 1 year ago
cake
Cake day: June 17th, 2023

help-circle

  • ericjmorey@programming.devtoSelfhosted@lemmy.worldMozilla grants Ente $100k
    link
    fedilink
    English
    arrow-up
    60
    arrow-down
    2
    ·
    1 month ago

    Ente is a beautiful, private cloud for your memories, with apps for mobile, desktop and web.

    At Ente, we use Local AI to deliver features like face recognition and magic search, while respecting the privacy of your photos.

    We’ll now join a cohort of builders pushing technology forward for an AI that is light, private and accessible.










  • Nice article.

    why bother? Why I self host

    Most of this article is not purely about that question, but I dislike clickbait, so I’ll actually answer the question from the title: Two reasons.

    First of all, I like to be independent - or at least, as much as I can. Same reason we have backup power, why I know how to bake bread, preserve food, and generally LARP as a grandmother desperate to feed her 12 grandchildren until they are no longer capable of self propelled movement. It makes me reasonably independent of whatever evil scheme your local $MEGA_CORP is up to these days (hint: it’s probably a subscription).

    It’s basically the Linux and Firefox argument - competition is good, and freedom is too.

    If that’s too abstract for you, and what this article is really about, is the fact that it teaches you a lot and that is a truth I hold to be self-evident: Learning things is good & useful.

    Turns out, forcing yourself to either do something you don’t do every day, or to get better at something you do occasionally, or to simply learn something that sounds fun makes you better at it. Wild concept, I know.

    Contents

    Introduction
    My Services
    Why I self host
    Reasoning about complex systems
    Things that broke in the last 6 months
    Things I learned (or recalled) in the last 6 months

    • You can self host VS Code
    • UPS batteries die silently and quicker than you think
    • Redundant DNS is good DNS
    • Raspberry PIs run ARN, Proxmox does not
    • zfs + Proxmox eat memmory and will OOM kill your VMS
    • The mystery of random crashes (Is it hardware? It’s always hardware.)
    • SNMP(v3) is still cool
    • Don’t trust your VPS vendor
    • Gotta go fast
    • CIFS is still not fast
    • Blob storage, blob fish, and file systems: It’s all “meh”
    • CrowdSec

    Conclusion



  • This is a great idea!

    Motivation

    The Python docs are ill-suited to novices.

    The content of the built-in functions documentation favors precision and correctness over comprehension for beginners. While this style is great for experienced developers who already understand the finer points of Python’s design, the docs are confusing to novice programmers like a 12 year old who is not far on his journey of learning Python.

    This guide is an opinionated and simplified description of Python’s built-in functions.

    My goal is to provide definitions, in plain English, of each built-in function that comes with Python. Along with each definition is an example that is as simple as I can think of. I ran each example against the latest version of Python as of the time writing this guide.

    I want to be able to share this with my 12 year old son or my 10 year old daughter, so that they can understand and use Python. My hope is that this guide also serves others who would like some plain definitions of what the built-in functions do.

    A note for pedants: I am sacrificing precision and exactness in favor of comprehension. That means I will use substitionary language that I think will communicate more clearly than the exact terminology. If you’re looking for that level of precision, please refer to the standard library docs. Those docs are great for that level of clarity.

    For the rest of us, let’s go!





  • This is a web service that returns the ActivityPub data for any URL that returns an ActivityPub message. For instance this post (https://lemmy.ml/post/19589249) returns:

    {
      "@context": [
        "https://join-lemmy.org/context.json",
        "https://www.w3.org/ns/activitystreams"
      ],
      "type": "Page",
      "id": "https://lemmy.ml/post/19589249",
      "attributedTo": "https://lemmy.ml/u/hongminhee",
      "to": [
        "https://lemmy.world/c/fediverse",
        "https://www.w3.org/ns/activitystreams#Public"
      ],
      "name": "BrowserPub: A browser for debugging ActivityPub and the ⁂fediverse",
      "cc": [],
      "mediaType": "text/html",
      "attachment": [
        {
          "href": "https://podcastindex.social/@js/113011966366461060",
          "mediaType": "text/html; charset=utf-8",
          "type": "Link"
        }
      ],
      "sensitive": false,
      "published": "2024-08-26T11:43:09.033551Z",
      "language": {
        "identifier": "en",
        "name": "English"
      },
      "audience": "https://lemmy.world/c/fediverse",
      "tag": [
        {
          "href": "https://lemmy.ml/post/19589249",
          "name": "#fediverse",
          "type": "Hashtag"
        }
      ]
    }
    

    Prepend https://browser.pub/ to the URL you want to check: https://browser.pub/https://lemmy.ml/post/19589249