Skip Navigation

InitialsDiceBearhttps://github.com/dicebear/dicebearhttps://creativecommons.org/publicdomain/zero/1.0/„Initials” (https://github.com/dicebear/dicebear) by „DiceBear”, licensed under „CC0 1.0” (https://creativecommons.org/publicdomain/zero/1.0/)H
Posts
8
Comments
79
Joined
2 mo. ago

  • LibreOffice Online: a fresh start

    LibreOffice is a desktop application, but we get many requests for a web-based version of the suite that users can deploy on their own infrastructure. Several years ago, project members started to develop LibreOffice Online, but in 2022 the Board of Directors at The Document Foundation voted to freeze the project and put it in the “attic”, for reasons that have now been superseded.

    Earlier this month, the current Board of Directors decided to revoke those votes to give new life to the project, as Eliane Domingos, chairperson, put it:

    To start the process of freeing LibreOffice Online, and to start the journey that will lead to having an online version by the community and for the community.

    Now the work begins. We plan to reopen the repository for LibreOffice Online at The Document Foundation for contributions, but provide warnings about the state of the repository until TDF’s team agrees that it’s safe and usable – while at the same time encourage the community to join in with code, technologies and other contributions that can be used to move forward. We will actively work with the community to identify how to foster LibreOffice Online, including its technological basis, QA and marketing.

    Note that this doesn’t mean that TDF will host or provide enterprise support for LibreOffice Online – that’s beyond the scope of the foundation. For these things, users are strongly recommended to consult the commercial ecosystem around LibreOffice. But TDF wants to offer the technology for those who want to use, modify and share it.

    We will post more soon about our plans, and ways to get involved. We look forward to a new future for LibreOffice Online!

  • I'm not that long here, but if it's not feasible to automatically detect the slopper-sites, maybe a rule could be introduced that people can report on?

    This way the mod has an easier time identifying the things that are unwanted by the community.

  • I love grafana, but it's a resource hog, and my machine isn't powerful. Prometheus/node_exporter however is as lightweight as it can get.

    So I made a little Python script that fetches the data from Prometheus and uses mathplotlib to generate a graph.

    The dashboard calls that python script for every configured graph and embeds the image so it looks nice.

    You can find the script in one of my other repos (Prometheus-renderer probably), but there are dozen similar ones: search github for Prometheus renderer and you'll see

    If there are other things unclear, please don't hesitate to ask

  • Go for it 👍

  • Wow, I can really see this taking off in the international dashboading-scene!

  • Is it ... a new tool? I love new tools 🥹

  • Couldn't stop worrying about this, so I added:

    • --no-tooltips param: Don't include check output for hover tooltips
    • --no-timestamp param: Omit the "Generated at" timestamp to hide system clock and monitoring cadence.

    If you're using these, I feel much better about making the html publicly accessible, but when you set up a config please remember that links-tags can expose your internal topology and the tile/slot name might do the same! Don't go naming your tiles something like "Database Primary", "Payment Service Worker", or "Internal Auth API"!

    (unless you wanna place a honeypot)

  • Well, Ilias can certainly fill this niche. With a caveat:

    Currently all output from checks are accessible as tooltips (so they're in the HTML source), but for usecases such as yours it might be helpful to have the ability to suppress that kind of information leakage.

    I think I'll implement that in the coming days ...

  • Loved that idea so much that I went and implemented it:

    • The checks now have an automatic type inferrence and shorthand
    • introduced default rules that are used when nothing's configured
    • realized that yaml-anchors always worked thanks to the lib I'm using.

    So now with this preamble:

       
        
    # Defaults are used when nothing is defined at the slot level. They can be overridden by defining rules directly on a slot.  
    defaults:  
      rules:  
        - match:  
            code: 0  
          status: { id: ok, label: "✅" }  
        - match: {}  
          status: { id: error, label: "❌" }  
    
    # YAML anchors: reusable fragments ilias doesn't interpret directly... 
    # it's all just yaml  
    _anchors:  
      pct_rules: &pct_rules           # works for disk, memory, CPU …  
        - match:  
            output: "^[0-6]\\d%$|^[0-9]%$"  
          status: { id: ok, label: "✅ <70%" }  
        - match:  
            output: "^[7-8]\\d%$"  
          status: { id: warn, label: "⚠️ 70–89%" }  
        - match: {}  
          status: { id: critical, label: "🔴 ≥90%" }  
      
      

    I can now have a tile like this:

       
        
          - name: Memory  
            slots: # combine anchors and default rules as well as check shorthands  
              - name: usage  
                check: "free | awk '/^Mem:/ {printf \"%.0f%\", $3/$2 * 100}'"  
                rules: *pct_rules  
              - name: available  
                check: "free -h | awk '/^Mem:/ {print $7 \" free\"}'"  
                # uses default rules  
              - name: total  
                check: "free -h | awk '/^Mem:/ {print $2 \" total\"}'"  
                # uses default rules  
      
      

    And the best? It's fully backwards compatible ❤️

    Thanks again for the suggestion!

  • Yes, I'm aware of that, but I always found it weird to have a live service for something that hardly ever changes. And then I had the idea of this whole "fully self contained html", and now I can't imagine it another way 😆

    That's just opinions though, and if Homepage strikes your fancy go for it - it's an awesome project.

  • Hu, never thought of that - that's a pretty neat idea! Thank you 🤗

  • Awesome, thanks for the consideration!

    Please don't immediately start public facing however - I literally just bashed the thing together in an afternoon, so who knows what kind of exploitable information leaks it might bring!

    I'm personally using it from within a tailnet, so not public facing.


    Edit:I have since added:

    • --no-tooltips param: Don't include check output for hover tooltips
    • --no-timestamp param: Omit the "Generated at" timestamp to hide system clock and monitoring cadence.

    If you're using these, I feel much better about making the html publicly accessible, but when you set up a config please remember that link-tags can expose your internal topology and the tile/slot name might do the same! Don't go naming your tiles something like "Database Primary", "Payment Service Worker", or "Internal Auth API"!

  • Selfhosted @lemmy.world

    Presenting ilias, yet another dashboard because obviously the world needed one more

  • jamming good with Weird and Gilly

  • "Up - side down"

    "Boy, you turn me ..."

  • Euphemism?

  • That chart shows growth in percent though. Not saying your claim is wrong, just that the chart doesn't support it.

    Unfortunately there isn't a paper or anything attached, so there's no way to see if there are other charts that would

    While the chart looks good, I wouldn't say that this is an example of beautiful data - too easily misinterpreted for my taste.

  • Very correct, and that's not even taking into consideration that we're nowhere near such an equation, or even any idea if it can even exist in principle.

  • +1

    "Worte" vs "Wörter"

  • If the universe can be expressed as numbers plugged into an equation

    That "if" is doing a lot of heavy lifting there

  • "Today, I'll present the differences between fascists and the antifa"

    "The fascists hate: "

    "The blacks. The Jews. The Arabics. The gauchists (leftists?). The environmentalists. The trans. The gay."

    "This is what antifa hates:"

    "Fascists. Thank and until next time."

    Not a native French speaker though (nor English), so use with care.

  • Anything But Metric @discuss.tchncs.de

    Two Eiffel Towers worth of Epstein Files

  • New Communities @lemmy.world

    lemmysings

    piefed.social /c/lemmysings
  • Asteroid Hunters @sh.itjust.works

    Just call it GGHAGSJ-467725538

  • Famose Worte @feddit.org

    Zappenduster

    www.dwds.de /wb/zappenduster
  • Famose Worte @feddit.org

    Sapperlot

    www.dwds.de /wb/sapperlot
  • Asteroid Hunters @sh.itjust.works

    That's what we're not doing

  • New Communities @lemmy.world

    accidentally on purpose

    piefed.social /c/accidentally_on_purpose