pivot_root
@pivot_root@lemmy.world
- Comment on Can 2025 please be the year more games add Text and UI Scaling 1 week ago:
>Mom, can we get quality options? >Mom: We have quality options at home.
\Quality options at home:
- Comment on [deleted] 2 weeks ago:
Knowing how useless the cops are when it comes to doing anything that involves them having to voluntarily fill out paperwork, I imagine the legal avenue won’t do much until after OP has been assaulted. Violence is bad, but it’s hard to argue against results.
- Comment on [deleted] 2 weeks ago:
Yeah, don’t do this… If the guy is a Nice Guy™, offering up fake nudes is just going to feed into their delusion as confirmation of their approach and make them feel even more entitled. And if the nudes end up being a dick pic, they usually end up getting violent and threatening instead of backing off.
- Comment on Day 1 Reddit Refugee 3 weeks ago:
Dbzer0, good. ML, bad. Their admins are trigger happy with instance-wide bans against users who criticize them or their political ideology.
- Comment on If God is all powerful and created human. How come God in endowed with human emotions? Shouldn't he or she be beyond that? 3 weeks ago:
Neat. The guy’s argument with you has accidentally leaked into another community, with him replying to me and another poster with ad hominem attacks and desires to see us (who never mentioned religion) institutionalized.
- Comment on GOG reportedly suffering from staff turnover and poor management: “Current business model is likely running out of steam” 3 weeks ago:
I guess, yeah. I will say, though: it feels morally wrong to acknowledge their existence, and thus give them legitimacy as a competitor to Steam, GOG, and Itch.
- Comment on GOG reportedly suffering from staff turnover and poor management: “Current business model is likely running out of steam” 4 weeks ago:
I’m not sure which part of that guys comment suggests anything other other than “fuck epic,” but here’s a short and sweet list:
- Designing a service for their customers instead of relying on paid exclusivity
- Halfway decent customer support
- Unreal Engine 5’s performance
- Keeping their old of games accessible
- Not scamming kids out of virtual money
- Comment on GOG reportedly suffering from staff turnover and poor management: “Current business model is likely running out of steam” 4 weeks ago:
The approved competitor to a monopoly is… *checks notes* a wannabe monopoly that’s trying to buy their way into the position by providing less for the customer and instead bribing the publishers for exclusivity?
No, thanks. I would rather stick with the existing monopoly than reward Epic’s anticompetitive and anti-consumer bullshit.
- Comment on Evil 5 weeks ago:
>TOML has entered the channel
- Comment on Is it time to start a campaign against kernel-level anticheat? 5 weeks ago:
But how would we get through to normie 12-year-olds who just want to play Valorant and not have their face constantly rubbed in the dirt by “hackers”?
I think it would be good for them to be told the truth: you aren’t being killed by hackers, you just suck.
- Comment on Ice cream machine is also broken 1 month ago:
Are they actually going to pay that out?
- Comment on Do you want the murderer of the UnitHealthcare CEO prosecuted? 1 month ago:
I don’t think he would make it to trial. The wealthy don’t appreciate those who unite the public against them, and they certainly wouldn’t want him to send another message.
- Comment on I hate when a PC game is ONLY available on Epic Games store 1 month ago:
Fair point with neither being publicly traded. I should have been more clear on that.
Unreal the engine, or the game series? From the perspective of a consumer, I don’t think either of them seem to be in good shape these days, unfortunately.
Er… Carmarck is in Id. Epic’s founder and CEO is Tim Sweeney.
- Comment on I hate when a PC game is ONLY available on Epic Games store 1 month ago:
“Fucking hypocrite” and “Tim Sweeney”. Never have any other set of 4 words fit together so perfectly.
- Comment on I hate when a PC game is ONLY available on Epic Games store 1 month ago:
“Making yourself suffer” by boycotting Steam.
It goes against every fiber of my being to not utterly despise a multi-billion dollar corporation, but I just don’t have the energy that I used to. I have to pick the battles I want to fight, and they haven’t done enough to make it worth it for me to do that.
- Comment on I hate when a PC game is ONLY available on Epic Games store 1 month ago:
Some perspective from someone vocally against Epic:
They entered the market and tried to get their foot in the door not by providing a better service or experience to the consumers, but by being underhanded and anticompetitive while accusing their competition of being underhanded and anticompetitive. Add on that with the fact that their CEO lacks any sort of humility and integrity, and I simply do not trust them to give a single shit about me as a customer.
While I don’t think Valve is my friend either, they at least have a history of doing things that provide some benefit to me (even if its clearly out of self-interest).
- Comment on I hate when a PC game is ONLY available on Epic Games store 1 month ago:
When it turns to shit, we have the high seas. Until then, we might as well enjoy the fact that Valve isn’t a public company obligated to chase short term profits for shareholders.
Everything goes to shit eventually, but you don’t need to pre-emptively make yourself suffer.
- Comment on I hate when a PC game is ONLY available on Epic Games store 1 month ago:
Epic is the pro-developer storefront.
I think their historically-bad UE5 documentation and laser focus on adding features optimized for Fortnite but terrible for other uses beg to differ.
They’re the pro-shareholder storefront. Nothing more, nothing less.
- Comment on What do people who promoted the "FEMA camps" conspiracy theory think about Trump's mass deportation? 1 month ago:
I see you’ve just met Kaboom. It would be wise to add a tag for future reference.
- Comment on 'Stop talking s*** about us' - Half-Life 2 mod blacklists a handful of YouTubers as 'anticitizens' and blocks them from playing 1 month ago:
Those mod devs are absolute assholes.
As per the decompiler code, the game will refuse to load in certain cases with the message “Upgrade your PC, the current hardware is just ridiculous.” I can understand not wanting to field support requests from extremely outdated hardware, but being condescending and not even giving players the option to continue…
BriJee, Amigus, and Obsolete— sincerely, go fuck yourselves.
- Comment on Meal prep 1 month ago:
“Do you have any visual impairments?”
“Yes, I wear glass.”
“You mean glasses?”
“Well, actually…” - Comment on Subscribe now for more clicks! 1 month ago:
Vim users are laughing from their high horses.
- Comment on I wonder why people litter in the USA? 1 month ago:
Unless you want hepatitis C, that’s probably not the best idea. Nothing short of medieval plate armor would eliminate the risk of accidentally stabbing yourself on something.
- Comment on I guess at least I can opt out... 1 month ago:
Oh, I think I know how this is coded.
DELETE FROM applications WHERE ai_review_consent=FALSE
- Comment on The Witcher 4 has entered full-scale production, CD Projekt has confirmed 1 month ago:
If I recall correctly, the “next gen update” for The Witcher 3 was UE5.
- Comment on Nintendo sues a streamer for streaming ten games before their release 2 months ago:
Thanks for the correction. I sometimes get those two mixed up in my memory, and it’s a really stupid problem that I need to fix.
- Comment on Anon tries programming in Java 2 months ago:
For some reason, my brain inserted a “like” before “C#”, and answered the question of “can’t you use explicit interfaces like C#.”
- Comment on Anon tries programming in Java 2 months ago:
What are some common situations where using an object is a good solution?
It depends on what you mean by “object"
- Some kind of structured data?
- Some named type which fulfills an interface?
When you have some kind of structured data, having a class to represent it is fine. If you’re able to give it type annotations, that’s much better than passing around random dictionaries.
When you need polymorphism and have an interface where some method on an object needs to exist (e.g.
car.honk()
), that’s also fine as long as you avoid creating subclasses and using inheritance. If you need some car that can honk like a truck and drive like a racecar, use composition.What I would consider a good use of classes (more specifically, nominal types) is refinement types. The Wikipedia page is lacking, but the idea is that you use the type system to enforce invariants for data.
For example, suppose you have a string for a user email. It might be a valid email string, or it might be garbage like “z#%@(”=))??”. You have a function for updating the user email in a database, and it requires the email string to be valid.
One approach is to validate the email string after receiving it from the user. That works, but what if your coworker creates a new form and forgets to validate the email string there? Bad data gets passed downstream to functions that expect well-formed data.
Another approach is to validate the email string at the top of every function that expects well-formed data. That also works, but now you’re validating the same string multiple times and pasting
validate_email(email)
everywhere.With a refinement type, you have a
ValidatedEmail
type and a constructor for it. The constructor will return an instance of theValidatedEmail
if and only if the email string is valid. Any function that expects a valid email will only accept aValidatedEmail
, and not a string. If your coworker creates a new form and forgets to validate the email, the type system will complain about a string being passed instead of aValidatedEmail
. You also shift the responsibility of validating the email to wherever there is a boundary between validated and unvalidated data, avoid having to validate the same email multiple times, since you know aValidatedEmail
is already valid. - Comment on Anon tries programming in Java 2 months ago:
I haven’t kept up with recent Java developments, but with Go, you’re out of luck. Interface implementations are—for both better and worse—completely implicit.
- Comment on Anon tries programming in Java 2 months ago:
Maybe check before putting words in my mouth, m’kay?
Sincerely, someone who uses composition.