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

  • 40 Posts
  • 837 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.







  • 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.


  • It’s one of those things that once you see it, you can’t unsee it. It takes up so much space - and our downtowns are our most precious land that we have as a society. It’s where everyone wants to get to, it’s where we want businesses to open up and things to do, and we park cars on it. I know I come off as very anti-car, and I guess I am in some ways - but european cities have cars. They just don’t use them for 100% of their trips. Heck I drive, but when I go downtown I park at my local park and ride and take the train into the city



  • Oh man, those are the hard questions. The short answer - no. You’re not going to find anything in the US even remotely close. What you’re going to want to look for is transit usage. How often and easily do people take transit? Here’s a helpful map for you to see how people get to work.

    There is one and only one city that I could consider “close” to European cities in terms of being able to be as pedestrian as Europe, and that’s New York. There are others that are close and have decent transit. Chicago has the CTA and is relatively good if you live near the city center. Philly I hear has decent transit, again try to live near a stop rather than the suburbs. I’m in Seattle, and our transit system is growing rapidly - but most trips still require a car. We’re looking at going from a 2 car household down to a 1 car - but the system has to expand. (Even then it’s only 2 light rail lines and then bus).

    Here’s a good video for you on Houston from NotJustBikes on Houston, and what it’s like to live there: https://www.youtube.com/watch?v=uxykI30fS54


  • Great question. London is amazing for being able to walk around, and has amazing transit. I honestly love your city, and may move there someday for it. This is mostly because London embraced transit in the early 20th century.

    America went the other way, and embraced the car, and that pushed for the “American Dream”. Suburbs became the normal, where people wanted an independent house farther away from the city. From there bred new problems, people needed to be able to drive their car there, which meant we needed more parking, which meant that things became further and further away.

    You can actually blame parking for most of America’s sprawl. Parking eats up a ton of space, and requires large roads to get people where they need to go and then massive parking lots for people to park their cars. Parking lots you can’t even understand in your London mind. Then there are new problems - the parking lots are so massive that now you can’t even walk to the building next door because it’s half a mile just to walk to that place! So people get in their cars to drive across the street to park in the next place. This isn’t exaggerated, that’s just how it is. Take a look at this shopping center in Des Moines, a city where I grew up.

    Americans designed cities for cars, not people. There is no way that areas like that were built for humans to move around in, it was built for people to drive to. Greenspace or walkways are not a thing, you are meant to park, walk for hundreds of meters to the front of the door, shop, and then get back in your car and drive across the big street to go to dinner. (To boot, most places won’t let you leave your car either, if you’re done shopping you need to move it).

    The real problem is that this is all by design. We kill so much space in our cities so that drivers feel more comfortable. Honestly, I really appreciate London and how well they’ve done. Remember all of this next time your PM wants to “make it easier for drivers”. No. Fuck the drivers. They’re driving their huge metal car into your city, and wanting to have it take up space all so they don’t have to walk or take a train/bus. They should have to pay extra for renting space from the city.

    Amazing video on why parking is so freaking stupid in America: https://www.youtube.com/watch?v=OUNXFHpUhu8