If you believe it’s an bug with our instance, try making a post over at !meta@programming.dev . Posting here is unlikely to grab the attention of an admin unless the post gets reported (which it did). Before that though, look up if isn’t just the more likely scenario of a general lemmy bug/quirk caused by mismatched lemmy versions, etc…
- 0 Posts
- 71 Comments
UlrikHD@programming.devto
Technology@lemmy.world•Windows 12 May Require a SubscriptionEnglish
1632·3 years agoI don’t believe for one bit that windows will move to a pure subscription based model. They are greedy, but not stupid.
What’s more believable is that the base OS will be the same as usual, but if you want fancy AI assistants in your OS, you must subscribe, with the justification being that MS must pay for the servers running the models you’re using.
UlrikHD@programming.devto
Technology@lemmy.world•Valve fails to get out of paying its EU geo-blocking fineEnglish
1·3 years agoif Valve isn’t selling at a loss to poorer regions then they are simply extracting additional profit from higher-income regions on the assumption that those customers can afford it.
Valve can’t sell for a loss the same way ebay can’t. Valve simply takes a percentage of the price everytime a game is bought, publishers are in complete control of the price they want to sell. Often, publishers will let Steam automatically set regional pricing based e.g. the American price though.
The way these publishers operate, they will simply set the price at the highest possible value to extract as much as money ad they can from those willing to spend 60+$. Those unwilling or incapable of spending that amount of money, will just buy the game later on a sale. Price skimming has only become more and more prevalent in PC gaming with steam being the “innovator” of frequent sales.
UlrikHD@programming.devto
Technology@lemmy.world•Valve fails to get out of paying its EU geo-blocking fineEnglish
127·3 years agoYes I did read it. I was pointing out that all this will do is screw over citizens of poorer EU countries. India vs USA was simply to make it obvious why the concept of geo blocking makes sense. Germans will on average have stronger buying power than someone in Latvia.
Steam is a storefront, not a competitor to game publisher. It’s effectively no different than Lidl agreeing to run a regional rebate program for Samsung TVs in Latvia for whatever reason.
The geo blocking enabled cheaper prices for certain countries, not higher. The only people who would have an issue with it is people from richer countries that for some reason are jealous of lower prices in some countries.
UlrikHD@programming.devto
Technology@lemmy.world•Valve fails to get out of paying its EU geo-blocking fineEnglish
2912·3 years agoLocalised pricing is good though? Is it really fair ask someone in India to pay the same price as an American? If you can’t geo block keys, you can’t stop people taking advantage by using a VPN to buy games from whatever country got the lowest price. The result will just be publishers keeping the high price for every country, screwing poorer regions over.
Also, what they did wouldn’t really qualify as price fixing.
UlrikHD@programming.devto
Technology@lemmy.world•Valve fails to get out of paying its EU geo-blocking fineEnglish
162·3 years agoValve won’t break the law for other publisher’s profits. Steam is just a store front, they were geo blocking on behalf of other publishers.
Valve also doesn’t take a cut from steam key sales not bought directly through their storefront, so the geoblocking keys isn’t something that will impact them. More likely, this will result in citizens of poorer EU countries getting screwed over by having to pay higher prices for games, since they can’t stop EU citizens from taking advantage of buying the game from the poorest EU country.
UlrikHD@programming.devto
Technology@lemmy.world•The Firefox browser now has a built-in page translator that works even without the InternetEnglish
111·3 years agoNynorsk supporters just never quit do they. Half the country wants it gone and less than 10 percent of the country uses it, still it’s on the list while Swedish and Danish aren’t, lmao.
UlrikHD@programming.devto
Linux@lemmy.ml•What can you do on Linux that you can't do on Windows?
1·3 years agoYou can, but you may need to edit some registers to avoid windows reseting them.
UlrikHD@programming.devto
General Discussion@lemmy.world•One of the absolute best features of lemmy is that everyone is simply allowed to post.
1·3 years agoAren’t people notified when mods removes their stuff?
matchisn’t a protected keyword likeifis.match = 0 match match: case 0: print(0) case _: print(1)Is legal and will give print out 0.
That’s interesting, thanks for the reply
Might as well start with a solid foundation from the start though. The extra work is minimal so there isn’t much of a time cost to it. I wouldn’t call it overengineering, it’s just a different way to write code, and the way many naturally default to without really thinking about it.
Those doesn’t break backwards compatibility though. Naturally you can’t use match with a python 3.7 interpreter, but what scripts written for python 3.7 wouldn’t work with a 3.11 interpreter?
I haven’t encountered that issue before, so I’m curious what those problems OP have encountered looks like.
That honestly makes me curious, what issues have you encountered when upgrading your python(3) version?
I get the point the author is coming from. When I was teaching first year engineering students programming, the one on the left is how everyone would write, it’s simply how human intuitively think about a process.
However, the one on the right feels more robust to me. For non trivial processes with multiple branches, it can ugly real quick if you haven’t isolated functionalities into smaller functions. The issue is never when you are first writing the function, but when you’re debugging or coming back to make changes.
What if you’re told the new Italian chef wants to have 15 different toppings, not just 2. He also got 3 new steps that must be done to prepare the dough before you can bake the pizza, and the heat of the oven will now depend on the different dough used. My first instinct if my code was the one on the left, would be to refactor it to make room for the new functionality. With the one on the right, the framework is already set and you can easily add new functions for preparing the dough and make a few changes to
addToppings()andbake()If I feel too lazy to write “proper” code and just make one big function for a process, I often end up regretting it and refactoring it into smaller, more manageable functions once I get back to the project the next day. It’s simply easier to wrap your head around
bakePizza() box()``` than reading the entire function and look for comments to mark each important step. The pizza got burned? Better take a look at `bakePizza()` then.
UlrikHD@programming.devMto
Programming@programming.dev•What would it take for you to move away from Github?
5·3 years agoAll it took for me to switch to GitLab was a larger free lfs quota which I wanted for a project. The superior webpage UI made me migrate every old project to it too.
UlrikHD@programming.devMto
Programming@programming.dev•Compiling typed Python: types are very broad hints and they are sometimes lies.
4·3 years agoI assume you meant that both Rust and C compiles into machine code? Python compiles into bytecode that is then run in a VM, Rust and C usually doesn’t do that as far as I know.
I was mostly curious if it was as easy as in C. Turun’s reply answered that question though. Cheers.
UlrikHD@programming.devMto
Programming@programming.dev•Compiling typed Python: types are very broad hints and they are sometimes lies.
1·3 years agoInteresting stuff, might give me an excuse to look into rust in the future. Thanks!
UlrikHD@programming.devMto
Programming@programming.dev•Compiling typed Python: types are very broad hints and they are sometimes lies.
1·3 years agoCould you elaborate on that point? Is it as smooth as using C?

And if Google went nuclear and starts embedding the ad into the videos themselves?