[-] UlrikHD@programming.dev 24 points 11 months ago

Lower skill ceiling. One option can be done by pretty much anyone at a high volume output, the other would require a lot training and are not available for your average basement dweller.

Good luck trying to regulate it though, Pandora's box is opened and you won't be able to stop the FOSS community from working on the tech.

[-] UlrikHD@programming.dev 22 points 1 year ago

Boost really should just update the UI to simply show how many upvotes and downvotes a post has. No reason to stick the inferior sum total of all upvotes and downvotes that reddit prefers.

[-] UlrikHD@programming.dev 24 points 1 year ago* (last edited 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.

[-] UlrikHD@programming.dev 23 points 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() and bake()

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.dev 24 points 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?

[-] UlrikHD@programming.dev 17 points 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.

[-] UlrikHD@programming.dev 17 points 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.

[-] UlrikHD@programming.dev 19 points 1 year ago

Nothing you said other than expenses is an argument against nuclear. If anything, the take from you argument is that we should construct even more nuclear, not less.

[-] UlrikHD@programming.dev 25 points 1 year ago* (last edited 1 year ago)

It'd honestly the funniest thing I've read on this instance. Puts programmer humour to shame. Love it when developers finds the jankiest/unconventional way to solve problems.

[-] UlrikHD@programming.dev 18 points 1 year ago

Aren't those run by the same people?

[-] UlrikHD@programming.dev 18 points 1 year ago

Sounds pretty wild to call it unethical to buy the game because of WoC (which isn't even the one responsible for the game). I doubt their worst act even comes close to a normal Tuesday for a lot of companies you likely buy from, directly or indirectly.

You can look up Larian if you want, but they are far from a big game publisher the way EA or Rockstar is. And they are going against the trend of mtx or DRM. Pirate if you want, but using morals as an excuse for not wanting to spend money doesn't really fly in this instance.

[-] UlrikHD@programming.dev 22 points 1 year ago

What issues are you encountering on android Firefox? I've used Firefox + ublock for years and I don't think I have ever encountered an issue that was fixed by using chrome instead.

view more: ‹ prev next ›

UlrikHD

joined 1 year ago