• 2 Posts
  • 78 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • Thanks. I generally buy my beers from such shops, because regular stores don’t sell that many types. I’ll check if they have some next time.

    Some of my favourites are from l’Hermitage, la Caracole or la Brasserie de la Seine. But there are so many breweries and choices that I could drink a different one every day for the whole year.




  • Go had the same behavior until recently. Closures captures the variable from the for loop and it was a reference to the value.
    They changed it because it’s “common” in Go to loop over something and run a goroutine that uses the variable defined in the loop. Workaround was to either shadow the variable with itself before the loop, or to pass the value as an argument.
    It’s been a long time since I wrote c# so idk if the same is expected from the avg dev, but in Go it’s really not explicit that the variable will be a reference instead of a plain value






  • Depends on what you’re used to. I have lost too much time trying to get a python or js program to run on my machine.
    Of course if the project is well written and with decent documentation it’s easier, but in general I have had too many incompatibilities with versions of the tooling and the dependencies which may be too ancient to work properly. On the other side, go code that was written a decade ago still compiles fine without thinking about it.
    Hell I even had a js project that was working then 6 months later, without changing any code in it, wouldn’t build. Talking to a front end dev at work he immediately said “oh yeah node was probably updated and you need to do x and y to make it work”. Sorry but I have other things to do than massaging bad tooling to build this.

    Btw, even containers are not a bullet proof solution. I had a python container straight up not work even though it was distributed like that.





  • From the incident report it seems the impact was limited to VMs in one DC in one region to be stopped, as the power was lost. And some service degradation in the region.
    So not that much impact. Of course resources in this DC would stop working, but the rest of the region was still working properly. If you built your infra in this region in a resilient manner, your services should not have been impacted that much



  • Wow, I didn’t know that being a Linux/open source contributor meant you don’t have to follow your country’s laws.

    It’s developed internationally but devs still reside somewhere and have to abide by the rules at that place. Linux in this case being represented by an US entity means they have to follow the gov’s sanctions. If you want more or less of those, that’s where (the government) you act.