Little bit of everything!

Avid Swiftie (come join us at !taylorswift@poptalk.scrubbles.tech )

Gaming (Mass Effect, Witcher, and too much Satisfactory)

Sci-fi

I live for 90s TV sitcoms

  • 2 Posts
  • 75 Comments
Joined 1 year ago
cake
Cake day: June 2nd, 2023

help-circle
  • No, actually it’s not. It’s actually well know how Japanese culture actually affects programming. I, a software engineer who has worked with many other cultures, can confirm that culture affects quality. I’m not saying I’m perfect, but I am saying that culture affects work.

    Indian culture is interesting because you never say no to your boss. Even if you don’t understand something, or don’t have all the information you need, you say yes. Do you understand? Yes. Are you sure, it’s okay to ask me clarifying questions. “Yes, I’m sure”. Then they give me something that doesn’t work because they didn’t understand the question.

    Japanese is another culture that’s slightly different, but if your boss asks you to do something not only do you say yes, you also don’t ask for help to do it. You brute force it done, put in long hours, and you get it done. However, in software that’s a horrible way to operate because we need to not just get the current problem done, but you need to build something that others will use later, that will be reused, that will be expanded and shared with and by other teams. So what you get is quite literally this - poorly optimized code from many people whose code doesn’t really work well together.

    So, none of these are stereotypes. In fact, as engineers it would be culturally insensitive if I wasn’t aware of this and assumed people worked in the same way as Americans. Your virtue signalling is pretty transparent. Yes, it’s humorous, but it’s also 100% the truth. They’re not bad coders, but their culture does not breed great software projects.


  • Scrubbles@poptalk.scrubbles.techtoScience Memes@mander.xyzLmao
    link
    fedilink
    English
    arrow-up
    14
    ·
    11 hours ago

    Advisors are definitely the worst people I ever met in academia. Their entire job is to help you, and yet I had one that set me back more than any other person has my entire life. I was late in graduating, I missed out on a second degree which I didn’t know. I was even close to, nice straight up had classes that I didn’t even need. All while claiming that they help and care for their people








  • Matrix doesn’t offer the same experience as discord. I’m sorry but it doesn’t. I set up my own to compare to see if my friend group would like it, and it was quite a step backwards. Even in it’s best platform element it was missing a lot of stuff from discord.

    So, things like this I’d be very interested to watch. Revolt looked the most promising but it didn’t offer federation, and I wasn’t going to make everyone have a separate accountjust for our server

    So this will be interesting. I will need at least voice to get them to come over, but I’ll watch this project closely






  • Thanks, I’ll disable that. I’m extra salty right now because I had to rollback a bad version and had to rebuild some of my config over the last week. I got into version hell because the code on the volume (which is why I’m pissed at it) said that I couldn’t run the image that I had set. So I pinned an earlier version, but then there were extensions that were pinned to a later one and said that I couldn’t rollback and didn’t start. I had to end up redoing the whole drive manually, forcing specific versions in the version.php and the config.php to finally make it work (Why is it in two places). Then after all that I had to run the upgrade command. Extremely annoying, and a waste of time for me. Other docker containers if I need to pin a version? I just… pin the version. Nextcloud is the only one I’ve seen where they store code on my volume and then pin specific versions to it.


  • I don’t have the link here, but essentially yes, nextcloud can update it’s own app code in it’s image because you have to mount the code to your own filesystem. This means that between docker images you can have a mismatch of the code that you have stored and the code that the image is expecting, which frequently causes mismatches for me. This is an antipattern. The code should be stored in the image, not as a volume mount. There should never be a mismatch of code in a docker image - that’s the whole point. The configuration could be out of date sure, or if there’s a data file that’s needed, that’s expected. The actual running code thought, that should never be on a mountable volume.

    Next time you update the image you will probably be greeted with a “Nextcloud needs to update”. That should not exist. You already pulled the image, that should be everything you need to do. The caveats are extensions, kind of a grey area in my book, but I know it’s not a clean pattern with those either. (The best one I’ve seen lets you pin the extension version with environment variables or a config file, and then once again you are in control of when they update, and no running code is stored outside of the image.)


  • Docker images should never self update - that’s an anti pattern. They should be static code. The only time I would expect a docker image to “auto update” is if I was using the “latest” or “stable” tag and Compose/Kubernetes/I repull the image - but the image should never update itself.

    Yes, OP bit off more than they could chew. Nextcloud, however, is breaking the entire purpose of Docker images by having an auto-updater at all.


  • I had to learn how to mount subpaths for their terrible container, and god just the updater is mind boggling. And I have to store their code in a volume, because of course I have to, why would code and configuration ever need to be… configurable? I actually just tried to put their config.php into a ConfigMap just to try, and of course PHP doesn’t allow that - not that I blame PHP for it - but ffs it’s been years, it’s time to allow config to also come from a yaml or something.


  • I do it in docker at home, for myself, in an environment I am okay with accidentally destroying - and even then I have nightly backups of the volumes.

    In a professional system, as mentioned in my other comment, I would simply just do it in a VM with the disk scheduled also for nightly backups. Nextcloud just hardcoded too many things dependent on thinking the underlying system was mutable. Unfortuantely that’s just the easiest way to handle it.

    However, also as mentioned, if I were in a professional environment, I’d have to really look at the cost for all of that infrastructure and my time to run it - and decide if I really thought I could run it myself with all of that overhead, and that it would still make sense compared to just doing google docs or something. Remember it’d be my ass on the line, as OP is learning


  • Oh yeah, if you’re in a professional environment, I’m sorry but that’s just not great. The only way I’d consider running Nextcloud professionally would be on a VM of it’s own with nightly disk backups, with blob storage as the backing - and even then with the cloud costs really how close are you to just paying for an enterprise license to Google or Microsoft? Plus the headache of not having to worry about it yourself


  • Oh, Nextcloud docker is a joke. They follow no standards or best practices when it comes to docker. They keep the entire app directory mounted as a volume, which means it does upgrade you without you “needing” to upgrade the docker image. They have volumes within volumes they need to mount. Their configs can (and do) override environment variables. Most actions that need to be taken require running an occ command which can only be done by exec’ing into the container.

    Nextcloud docker is honestly just such a joke. They should have rethought their application from a docker sense and they didn’t. God just number one - Docker images should never update. It’s a freaking pinned version for a reason. If I want to update, it should be as simple as upping the version tag, and it does any upgrades in place when I do that.

    I honestly steer people away from Nextcloud now because of how mismanaged their images are.