UlrikHD
@UlrikHD@programming.dev
- Comment on To take a step back and see how far we've gone, Discuit published their weekly report - 245 weekly active users (detailed report in link) 2 months ago:
Just a reminder that our instance CoC applies even on communities outside our instance. Please try to avoid calling people slurs per CoC 3.2 and 3.5. Failure to do so may lead to a temporary or permanent ban.
- Comment on D&D makers also want a Baldur’s Gate 4, but say they won't rush to a sequel (it shouldn't take 25 years, mind) 7 months ago:
A shame we won’t get an expansion or sequel by Larian, but DOS 3 sounds good too.
- Comment on Instance admin updates + Blahaj 10 months ago:
The team is fairly unison in wanting to avoid defederation as much as possible and leave it users to filter out content they personally don’t enjoy. Programming is a big and diverse field, and we want to make it as open as possible to everyone. Unless the instance breaks our own rules as described in the sidebar under “federation rules”, I feel like it would be an overreach by us to defederate an instance due to personal opinion.
- Comment on Inside the 'arms race' between YouTube and ad blockers / Against all odds, open source hackers keep outfoxing one of the wealthiest companies. 11 months ago:
And if Google went nuclear and starts embedding the ad into the videos themselves?
- Comment on Windows 12 May Require a Subscription 1 year ago:
I 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 likely 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.
- Comment on Valve fails to get out of paying its EU geo-blocking fine 1 year ago:
if 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 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.
- Comment on Valve fails to get out of paying its EU geo-blocking fine 1 year ago:
Yes 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.
- Comment on Valve fails to get out of paying its EU geo-blocking fine 1 year ago:
Localised 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.
- Comment on Valve fails to get out of paying its EU geo-blocking fine 1 year ago:
Valve 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.
- Comment on The Firefox browser now has a built-in page translator that works even without the Internet 1 year ago:
Nynorsk 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.
- Comment on One of the absolute best features of lemmy is that everyone is simply allowed to post. 1 year ago:
Aren’t people notified when mods removes their stuff?
- Comment on Linear code is more readable 1 year ago:
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.
- Comment on Call for admins 1 year ago:
How many ~hours per week is expected for the role, and are there any particular day(s) when most of the activity is happening.
I’d be happy to help out.I live in Norway with active hours ~05-22 CEST. For more personal information, feel free to DM. My discord username is the same as this username if you prefer that.
- Comment on Linear code is more readable 1 year ago:
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.
- Comment on What would it take for you to move away from Github? 1 year ago:
All 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.
- Comment on Compiling typed Python: types are very broad hints and they are sometimes lies. 1 year ago:
I 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.
- Comment on Compiling typed Python: types are very broad hints and they are sometimes lies. 1 year ago:
Interesting stuff, might give me an excuse to look into rust in the future. Thanks!
- Comment on Compiling typed Python: types are very broad hints and they are sometimes lies. 1 year ago:
Could you elaborate on that point? Is it as smooth as using C?
- Comment on Some people just wake up and choose violence 1 year ago:
Got a few minutes into the context video before I head to close it. Do people actually enjoy YouTubers presenting stuff in this manner?
- Comment on Starfield players pirate the DLSS mod after the developer locks it behind paywall 1 year ago:
The game has just launched and the mod had been released and cracked already. This isn’t about making bread, it’s clearly a trivial hack for him to do, not something that requires full time job maintenence.
People spend hundreds of hours modding free of charge, what he does is a joke in comparison if we are talking about lost time that could have been spent earning money. The groundwork was made by Bethesda, AMD and Nvidia.
- Comment on Federation Updates 1 year ago:
Hexbear is/was the main reason I really wanted a per-user instance blocklist. Even though I never interacted with them, it was annoying to see them flood posts with awful takes. Glad to hear they banned us.
- Comment on Defederation requests, how to? 1 year ago:
Not all that interested in defederation of the mentioned instance, but I’m curious about the DMCA justification. Do they have active requests they are ignoring, or is it just theoretical scenario for now?
What is the implication of this for future potential defederations. I don’t expect instances in Russia and similar countries to care much for western DMCA requests.
- Comment on Tabs are objectively better than spaces - gomakethings.com 1 year ago:
Tabs work fine, you aren’t allowed to mix, indentation must be consistent.
- Comment on The lengths we have to go to 1 year ago:
4 spaces, although I’ll die on the hill that tabs should always be used instead of space for indentation. Not just in python.
- Comment on The lengths we have to go to 1 year ago:
Python are fine with whatever number of spaces you want to use. You can use 8 spaces which forces you carefully consider each nest, you can use 1 if you’re a monster, or you can use tabs if you’re enlightened, python only demands consistency.
- Comment on What software do you use to edit markdown? 1 year ago:
Depends on the file, very simple files may only warrant npp, but VSCode for more complex stuff where live preview may come in handy.
- Comment on Microsoft is killing WordPad in Windows after 28 years 1 year ago:
VSCode uses electron so it’s not exactly a lightweight text editor, way overkill if you just want to read a simple .txt. Add on the fact if you got way too many extension, it will be even heavier.
- Comment on single binary executable and dlls 1 year ago:
For modding, it’s very useful to not have everything statically linked. DLSS swapping is probably the most prominent use case nowadays.
- Comment on -1 New comments 1 year ago:
Yeah, it’s probably cheaper than than counting the number of comments since a timestamp though. Pure conjecture though on my part though, haven’t really done much stuff with SQL.
- Comment on -1 New comments 1 year ago:
comment_count - old_count
after a moderator deleted some comments would be my bet.