• 4 Posts
  • 57 Comments
Joined 9 months ago
cake
Cake day: June 22nd, 2024

help-circle




  • not an authentik user, but after skimming their docs i think you have to:

    1. create a role “ocisAdmin” via authentiks admin interface
    2. give this role to a group in the admin interface or create one.
    3. assign a user thats supposed to be an owncloud admin to the group

    it might be that you also have to define somekind of mapper to include this in the informations owncloud receives from authentik, but as i said i only skimmed the docs and would personally just try it without the mapper.




  • hotwire(turbo+stimulus.js)

    used it with a java (spring) backend and with a python(flask) backend to get rid of some page reloads and an easy way to display information based on something happening in the backend via server sent events. did not need to do much more than wrap parts of the existing html templates in <turbo-frame>-elements and the client code to handle server sent events was pretty small to. fun experience, especially because most of my code stayed in languages, iam way more comfortable with than javascript.

    htmx would have worked simmiliar, but i had prior experience with turbo, so i used that.







  • mainly java dev here:

    if i only have few classes i want to serialize/deserilize i implement the logic for that in the class, if they need special logic for that, and implement the serilizable interface. writing objects to somewhere or reading them from somewhere belongs in a different class.

    if i have a lot of classes or use a framework like spring i’ll employ whatever they offer for serilization and deserilization or more likely a databinding library like jackson.

    other languages with classes or structs offer simmiliar options(pythons pickling and unpickling or the json package in their standardlib for example) so my approach would stay mostly the same.


  • never heard of it and assuming you mean streamlit.io

    the framework itself seems quite nice, even if pretty much only tailored to presenting data in a good looking way, but i’d never run anything on their cloud service.

    By making Provider Content available and/or accessible through the Service, Provider hereby grants to Company a non-exclusive, irrevocable, transferable, sub-licensable, worldwide, royalty-free license to use, display, publish, perform, reproduce, distribute, copy, modify, and create derivative works of Provider Content in connection with operating and providing the Service.

    yeah, no screw that i am more than willing to share code, but nothing more.

    and it’s probably easier to find help for flask or django on the internet, both are well known frameworks that see industry use for years, where streamlit seems to be very young and less known(plus the aggressive pointing to there ‘free’ cloud stuff)




  • i hate this joke.

    yes, trial and error is part of the process, but that does not mean we are bumbling fools that don’t know how or why things work. trial and error is part of any complex endeavour or learning new things.

    when i started programming i struggled with getting stuff to compile, because i didn’t know the language i was using well, i later struggled with getting my code to work on other machines because i didn’t understood how to package it.

    we absolutely get more competent, but we use complex tools to do complex stuff and we seldom have to produce the exact same thing twice, so of course we often find ourselves in somewhat uncharted territory.



  • i know story points as an estimate of complexity or time it takes to get something done. i was also asked many times to estimate stories with a fixed hard deadline thats laughably close to LocalDateTime.now(), aka Stories where someone allready decided that this must be an easy thing to do without knowing jackshit.

    what are the story points you are talking about?