home.social

#regal — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #regal, aggregated by home.social.

  1. Building #Regal’s linter rules in #Rego really pushed the language to its limits some years back, and both OPA and Rego have improved a lot thanks to that. Building parts of its *language server* in Rego too was perhaps taking it too far, but OTOH, the LSP is really just JSON in and JSON out, which is what OPA does best after all.

    The bundled policies in Regal are normally embedded in the binary. That’s great for distribution, but kinda sucks for development as any change requires compilation. Not anymore! Today I merged some work of mine allowing live-reloading of the language server policies, and it’s such a *huge* difference seeing the result of a change a second after you made it. The video here shows live-editing of a LSP code action policy, and how adding a new “source action” item in the server immediately propagates to the client. Sooo much fun!

  2. A new #Regal release is out! Featuring 4 new linter rules, and a bunch of performance improvements along with the usual fixes. I'm particularly happy about the new "narrow-argument" rule, as I don't know many tools do that type of analysis for any language. It's an optional rule though, so make sure to enable it if you want to try it out!

    github.com/StyraInc/regal/rele

    #OPA #Rego #CloudNative #CodeQuality #PolicyAsCode

  3. Today I was in the mood and packaged #regal and #opa for @opensuse

    Packages still need more testing, but the first steps are done. Found a glitch in the OPA ldflags handling and reported it upstream.

    Should arrive in #Tumbleweed soon-ish.

    #packagerslife #policyascode #OpenPolicyAgent #opensuse

  4. Regal v0.32.0 just dropped! After having worked mostly on language server features recently, it was time for the linter to get some love. This release includes 3 new linter rules as well as much faster linting. Check it out!

    github.com/StyraInc/regal/rele

    #OPA #Rego #Regal #PolicyAsCode #CloudNative #DevOps #DevSecOps

  5. Just realized I lost my pinned post when moving to a new instance, so here's a new one. See my profile for an #introduction to who I am — what I want to talk about here is the project I've been working on the most recently. That project is #Regal, a linter and a language server for #OPA's policy language #Rego.

    What started out as a simple linter is now a complete companion tool for anyone working with Rego, providing developers new to the language a platform for learning, and seasoned developers means to enforce best practices and guardrails around their policies.

    If you're working with anything related to OPA and Rego, try it out! If it doesn't help you in your work, that's a bug and I want to know about it. And if there's anything else related to OPA or Rego you want to ask someone about, my DMs are always open for that.

    github.com/StyraInc/regal/

  6. Fun times at the #CloudNative meetup last night, where I got to talk for 2x40 minutes about how I ended up working with #OPA, and why I've spent so much time lately trying to make #Rego more approachable via #Regal. And of course some Rego live hacking. Thanks Gothenburg!

  7. OK, einen hab ich noch zum Geburtstag von Ikea Deutschland ;-)

    Und nicht verpassen: Tot, aber lustig nächste Woche LIVE am 23.10.2024 in Bielefeld und am 24.10.2024 in Köln. Tickets gibt‘s hier: eventim.de/artist/michael-holt

    #ikea #totaberlustig #sense #kallax #regal #urne #tod #Kolumbarium

  8. Finally got a copy of Jimmy Ray’s “Policy as Code”. And it’s really good! Proud about both myself and my #Regal project getting mentioned too.

    #PolicyAsCode #DevOps #DevSecOps #CloudNative #OPA #Styra #OReilly

  9. Den Spalt zwischen der Abstufung in der Badezimmerwand und der Waschmaschine sinnvoll abdecken, damit Sachen aus dem Regal darüber nicht hinein plumpsen. Das ist die simple Aufgabe dieses Makes.

    Mehrteiliger Aufbau

    Gebraucht wurde also eine 63 cm lange, sinnvolle Abdeckung für diesen Spalt, was impliziert, dass es im 3D- Drucker nur mehrteilig produziert werden kann.

    Für den speziellen Aufbau musste berücksichtigt werden, das die Fliesenkante in der Wand nicht bündig mit den Fliesen ist, sondern eine Aussparung benötigt, damit das Regalteil auch kippelfrei montiert werden kann. Die Montage an sich erfolgte mittels doppelseitigem Klebeband.

    Konstruiert habe ich die Bauteile mit OpenSCAD, welches für derart einfache Bauteile sicher immer eine gute Wahl ist.

    Wenn es da draußen im Netz jemanden gibt, der mir beibringt dasselbe mit Blender oder einem anderen kostenlosen Tool zu tun… ich lerne gerne dazu! 😉

    Das Modell und alle Dateien dazu findet Ihr hier:

    https://www.skriptbu.de/2024/03/30/3d-ablage-fuer-das-badezimmer/

    #3DPrinting #Ablage #Badezimmer #DIY #Make #Regal #Waschmaschine

  10. Good times last night at the local #OPA meetup in Amsterdam 🇳🇱 I had a blast talking about linting #Rego with #Regal, and getting to meet folks in the community. Thanks @parcifal, @adamsand0r for hosting it, and #Miro and #Styra for sponsoring.

  11. What better way to spend the weekend than with a new version of #Regal? Everyone's favorite #Rego linter now have 2 more new rules, and some other nice improvements added. Check it out!

    github.com/StyraInc/regal/rele

    #OPA #OpenPolicyAgent #DevOps #DevSecOps #PolicyAsCode

  12. Took some time to look into implementing a #SARIF output format option for #Regal yesterday. Regal a linter, and SARIF a standard format for static analysis, so it seemed like a reasonable thing to have. The specification however is 280 pages long! 😫 I skipped that and went straight for the libraries. Found one for #golang and had a PR up an hour later. Just a prettier way to build a struct for marshaling really, but I’ll take that over 280 pages of SHALL, MAY and MUST.

  13. Trying out #markdownlint on the #Regal docs, and I rather like it! Well done @DavidAnson and contributors 👏

    It's a liitle pedantic, but that's a sensible default for a linter. Plenty of configuration options, which is nice. One thing I can't figure out is whether it's possible to disable a rule for just a single file. I have one file where "fixing" a rule isn't doable for... reasons. I still want to include the rule for all other files though.

  14. Regal v0.12.0 just released! The latest edition of the #OPA community's favorite #Rego linter adds 4 new linter rules, a long-awaited capabilities feature, and many other improvements and fixes. Check out the full changelog, and get your copy!

    github.com/StyraInc/regal

    #Regal #OpenPolicyAgent #PolicyAsCode #CloudNative #DevOps #DevSecOps #Authorization #Linter

  15. My colleague @charlieegan3 writing about "Scaling Open Source Community" in the #TheNewStack, and how our linter #Regal help answer some of the most common questions asked about #Rego in our community.

    thenewstack.io/scaling-open-so

  16. #Regal goes to 11! Or v0.11.0 anyway. This release adds six new rules to the #linter, bringing the total number of rules up to our roadmap goal of 50! 🎉 Also includes a number of improvements and fixes to existing rules. Truly heartwarming to see so many starting to adopt this tool as part of their #Rego development toolkit.

    Read about all the new rules, and get your copy here: github.com/StyraInc/regal/rele

    #OPA #OpenPolicyAgent

  17. The result of last night's experiments with #rq — we now have a #Rego based build system to build #Regal. Absolute madness, and I love it! 😄 If you're curious to see what a "make file" in Rego looks like, check this out: github.com/StyraInc/regal/blob

  18. It's odd to hear that big theater chains are not even interested in screening The Irishman for a month. It's still filling seats tucked away in the corner of the building that are mostly empty

    #AMC #Regal #film #movie #irishman #Scorsese #Cineworld #Pacino #DeNiro #Pesci