Just another Swedish programming sysadmin person.
Coffee is always the answer.

And beware my spaghet.

  • 59 Posts
  • 267 Comments
Joined 3 年前
cake
Cake day: 2023年6月11日

help-circle




  • Jag har läst nog mycket AI-genererad kod för att inte våga lita på programvaror där AI är en huvudförfattare. Om någon har kopierat ihop koden för hand så har de iallafall gjort aktiva val runt kodstyckena som valts ut, och så finns det någon form av domänkunskap i hur alla kodstyckena är hopkopplade i den slutgiltiga programvaran också.

    Med genererad kod finns det varken någon sådan domänkunskap, och inte heller någon kvalitékontroll på kodstyckena som använts för att skapa slutresultatet.

    Sen så är ju AI-generering inte direkt kompatibelt med foss heller, varken licensmässigt eller som ren gemenskapsfråga.




  • I actually recently added the Microsoft logout page to µblocks domain filter at work, since it would every now and then trigger a logout the very first page load after I’d log in to the email there.

    This has also somehow caused a bunch of other AD-connected systems to suddenly behave a lot better when it comes to session termination.

     

    Edit: Since people were asking for it, this is what you need to add to the “My filters” tab in your UBO config;

    ||login.microsoftonline.com/common/oauth2/v2.0/logout^$document
    

    This will prevent any requests from redirecting you to log out, timeouts etc will still invalidate your session.









  • Again, it works until it requires reloading, i.e. the next update of any component or the next restart of the server.

    I’m also running an inode cache on the client side, on top of the persistent opcache, but due to the sheer number of files that Nextcloud consists of it still generates a frankly ridiculous amount of calls when it needs to invalidate the cache. If you’re running on local drives then that’s likely much less of an issue, regardless of what kind of drive it is, but this is hosted on machines that do not have any local storage.





  • It’s worth noting that the ESS suite Chart is absolutely not built to be community-viable, it’s built for the kind of single-purpose deployments that Element offer hosting for, and it also breaks almost all Kubernetes best practices. Which is actually not wrong per-se. Element need to be able to maintain it after all, and since they don’t have the Kubernetes know-how to build generic components, it makes sense to instead bundle a fully integrated solution which they are comfortable with developing and debugging.

    They’re definitely slowly but steadily rewriting Synapse in Rust as well, that’s been an open and ongoing project for a while now. You can see that just by looking in the Rust folder in the Synapse sources.
    I strongly doubt that they have the “rest” of the application rewritten internally and keeping it hostage for paid hosting though, it’d cost them too much to keep separate codebases for such a thing.

    The “Synapse Pro” offering is most likely just the regular Python+Rust Synapse, but with a few additional HA components and some workers written in Rust for efficiency, just like how there’s community workers written in both C# and Go for performance reasons.