Readit News logoReadit News
bargainbin commented on Denial of service and source code exposure in React Server Components   react.dev/blog/2025/12/11... · Posted by u/sangeeth96
thewtf · 6 days ago
Should just use Vue.
bargainbin · 6 days ago
Should just use Svelte.
bargainbin commented on Thoughts on Go vs. Rust vs. Zig   sinclairtarget.com/blog/2... · Posted by u/yurivish
oncallthrow · 13 days ago
I don't agree. There isn't a standard convention for wrapping errors in Rust, like there is in Go with fmt.Errorf -- largely because ? is so widely-used (precisely because it is so easy to reach for).

The proof is in the pudding, though. In my experience, working across Go codebases in open source and in multiple closed-source organizations, errors are nearly universally wrapped and handled appropriately. The same is not true of Rust, where in my experience ? (and indeed even unwrap) reign supreme.

bargainbin · 13 days ago
My experience aligns with this, although I often find the error being used for non-errors which is somewhat of an overcorrection, i.e. db drivers returning “NoRows” errors when no rows is a perfectly acceptable result of a query.

It’s odd that the .unwrap() hack caused a huge outage at Cloudflare, and my first reaction was “that couldn’t happen in Go haha” but… it definitely could, because you can just ignore returned values.

But for some reason most people don’t. It’s like the syntax conveys its intent clearly: Handle your damn errors.

bargainbin commented on Bazzite: Operating System for Linux gaming   bazzite.gg/... · Posted by u/doener
ffsm8 · 18 days ago
Mmh, you definitely misremember that

> As much as I’d like this change to happen, it’s too soon. This change would kill off projects like Bazzite entirely right as Fedora is starting to make major headway in the gaming space.

> I’m speaking as it’s founder, if this change is actually made as it is written the best option for us is to just go ahead and disband the project.

Now, whenever you would've actually shut down the project is a different story, but your messaging was very clear.

bargainbin · 18 days ago
> Now, whenever you would've actually shut down the project is a different story, but your messaging was very clear.

The messaging was very clear that the upstream change would make Bazzite almost untenable.

It was a criticism of Fedora, not a threat to quit.

bargainbin commented on X Just Accidentally Exposed a Covert Influence Network Targeting Americans   weaponizedspaces.substack... · Posted by u/adriand
bargainbin · 24 days ago
Wild reading the news earlier to see Iran is making a concerted effort to influence Scottish Independence.

Is the idea to weaken the UK? To what end?

Also, if it’s being done to us, surely we’re doing it back? The CIA and MI6 are no stranger to destabilising regimes, and yet surely it would be more common knowledge if we were employing people to post anti-Putin propaganda on Russian forums?

bargainbin commented on A file format uncracked for 20 years   landaire.net/a-file-forma... · Posted by u/todsacerdoti
mcdeltat · a month ago
> Compressing data means you save space on the disc... If you conveniently ignore the fact that common.lin is duplicated in each map's directory and is the same for every map I tested, which kinda negates part of this.

This is an interesting thing I've noticed about game dev, it seems to sometimes live in a weird space of optimisation requirements vs hackiness. Where you'll have stuff like using instruction data as audio to save space, but then forget to compile in release mode or something. Really odd juxtaposition of near-genius-level optimisation with naive inefficiency. I'm assuming it's because, while there may be strict performance requirements, the devs are under the pump and there's so much going on that silly stuff ends up happening?

bargainbin · a month ago
Exactly that - once it’s shipped it’s shipped. Doesn’t matter if the code is “clean” or “maintainable” or whatever.

The longer it’s not released for sale, the more debt you’re incurring paying the staff.

I’ve worked with a few ex-game devs and they’re always great devs, specifically at optimising. They’re not great at the “forward maintainability” aspect though because they’ve largely never had experience having to do it.

bargainbin commented on Open-source Zig book   zigbook.net... · Posted by u/rudedogg
bargainbin · a month ago
> No hidden control flow: Zig has no hidden allocators, goroutines…

Neither of those things are control flow, and yet again I’m reading a pro-Zig text taking a dig at Go without any substance to the criticism.

Also funny having a dig at goroutines when Zig is all over the place with its async implementation.

bargainbin commented on Steam Machine   store.steampowered.com/sa... · Posted by u/davikr
jdiff · a month ago
Praise Gaben. That's the one thing I've needed in any replacement Steam Controller and Valve finally did it before the last of my OG Controllers gave up the ghost.
bargainbin · a month ago
I think the person you’re replying to has made a mistake: I looked extensively last night and there’s no mention of the Steam Controller having dual stage triggers.

However, the Steam Frame Controllers do. Seems weird they would add them on the Frame wands but not the actual controller replacing the controller that does have them.

bargainbin commented on Checkout.com hacked, refuses ransom payment, donates to security labs   checkout.com/blog/protect... · Posted by u/StrangeSound
sigmoid10 · a month ago
I'll never not think of that South Park scene where they mocked BP's "We're so sorry" statement whenever I see one of those. I don't care if you're sorry or if you realize how much you betrayed your customers. Tell me how you investigated the root causes of the incident and how the results will prevent this scenario from ever happening again. Like, how many other deprecated third party systems were identified handling a significant portion of your customer data after this hack? Who declined to allocate the necessary budget to keep systems updated? That's the only way I will even consider giving some trust back. If you really want to apologise, start handing out cash or whatever to the people you betrayed. But mere words like these are absolutely meaningless in today's world. People are right to dismiss them.
bargainbin · a month ago
The intent of the South Park sketch was to lampoon that BP were (/are) willingly doing awful things and then give corpo apology statements when caught.

Here, Checkout has been the victim of a crime, just as much as their impacted customers. It’s a loss for everyone involved except the perpetrators. Using words like “betrayed” as if Checkout wilfully mislead its customers, is a heavy accusation to level.

At a point, all you can do is apologise, offer compensation if possible, and plot out how you’re going to prevent it going forward.

bargainbin commented on Homebrew no longer allows bypassing Gatekeeper for unsigned/unnotarized software   github.com/Homebrew/brew/... · Posted by u/firexcy
bargainbin · a month ago
Windows and Mac competing to see who can push all their users, and upping the ante every week this year it seems.
bargainbin commented on Steam Machine   store.steampowered.com/sa... · Posted by u/davikr
WXLCKNO · a month ago
I love my OG steam controller still. I can't tell if this new one has the dual stage triggers like the og (like if there's an additional click on full trigger pull).

I used that to set things like boost in rocket League and it felt super intuitive.

bargainbin · a month ago
First thing I checked for! I feel like it's such a niche feature but also distinctive. It's actually a "necessity" for a proper Gamecube emulation experience, which has the two stage shoulder buttons.

Like you, I also used this for boost on Rocket League and it was surprisingly intuitive. You can map it to the triggers lowest threshold to emulate it but without the tactile bump to rest against it just won't work.

u/bargainbin

KarmaCake day446February 10, 2023View Original