- 0 Posts
- 211 Comments
I have Stremio+Torrentio set up on my deck, and use a PS5 controller for its trackpad since Stremio is very difficult to navigate with a controller. Still, the PS5 controller sucks in a lot of ways and I’d love to upgrade to this!
Sony added a screen to their controller to create a handheld, whereas Valve removed the screen from their handheld to create a controller.
entwine@programming.devto
Linux@programming.dev•The Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensions
1·3 days agoThe same way you did, via the name of the member:
my_test.test2.b = 'x';The unnamed struct provides the type for a member named
test2. Doing it this way saves you the trouble of defining the struct externally and giving it a name. It’s identical to this, except in this example you can reuse the struct definition:struct crappyname { char b; float c; }; struct test { int a; struct crappyname test2; double d; };
entwine@programming.devto
Programmer Humor@programming.dev•Some of you guys haven't used luarocks and it shows
5·3 days agoLua is cozy, like a nice, warm dumpster fire.
I see, by PC you mean you don’t want a traditional ‘tower’ PC, which is perfectly reasonable. I personally consider anything within the umbrella of “PC gaming” to be a PC, including laptops (even Macbooks).
That’s a very strange opinion to read on programming.dev’s Linux Lemmy community
Ackshually, the meme is encoded using progressively smaller images nested into the fourth panel of the comic. Each fourth panel is effectively a nested function call to the original comic procedure, which more closely represents recursion than an infinite loop.
For an infinite loop, one might instead lay out the 3 unique panels horizontally, and just memcpy them into rows below, creating a table. That’s a regression in humor, but it’d fix the bug.
So I agree with @[email protected]’s review; The joke is about infinite loops, but the visual gag is about recursion.
entwine@programming.devto
Game Development@programming.dev•Is it possible for a kid to develop games ? I mean not the computer wizkid, but the average one who is simply fond of playing computer games ??
3·4 days agoThat’s how I started. When I was 10 years old, I discovered game maker and accidentally gained a lifelong passion for programming.
not the computer wizkid, but the average one
I can assure you that 10 year old me was below average with computers. It’s a miracle I managed to figure out how to install gamemaker at all. The only thing that matters is interest, passion, and determination. If the child doesn’t have those things, they probably won’t succeed, and you probably can’t force them to, which is fine. It doesn’t mean they won’t become a software engineer in the future, just that they won’t do it at an early age. I know engineers who started learning programming in college, and are way smarter than me even though I had almost a decade head start.
EDIT: btw, I don’t know if I’d recommend gamemaker today. When I started with it, it was simple and specifically aimed at learning. Today, it’s trying to be a full-blown commercial game engine and it has gotten pretty complex. Another option might be Godot, but I’d strongly recommend against it. Godot is way too complex for someone’s first game engine. Some people like Scratch, but IMO it’s pretty lame and feels more like a homework assignment.
Some possible alternatives (haven’t used them myself):
Or just search for “no code game engine” in your favorite search engine. There are probably tons of those today.
entwine@programming.devto
Linux@programming.dev•sudo-rs Affected By Multiple Security Vulnerabilities - Impacting Ubuntu 25.10
554·5 days agoEveryone knows that memory safety isn’t the only source of security vulnerabilities (unless you’re bickering about programming languages on the internet, in which case 100% of security vulnerabilities are related to memory safety)
Rust users are one of Rust’s biggest weaknesses.
entwine@programming.devto
Technology@lemmy.world•The Economist on using phrenology for hiring and lending decisions: "Some might argue that face-based analysis is more meritocratic" […] "For people without access to credit, that could be a blessing"English
27·5 days agoThis fascist wave is really bringing out all the cockroaches in our society. It’s a good thing you can’t erase anything on the internet, as this type of evidence will probably be useful in the future.
You’d better get in on a crypto grift, Kelly Shue of the Yale School of Management. I suspect you’ll have a hard time finding work within the next 1-3 years.
entwine@programming.devto
Late Stage Capitalism@lemmy.world•Republicans are honest fascists. Democrats are fascists in disguise.
68·5 days agoYes comrades, vote Republican. If the pain and suffering continues for long enough, America will realize capitalism doesn’t work, and the year of
the Linux desktopAmerican communism will finally arrive!
entwine@programming.devto
Linux@programming.dev•The Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensions
1·5 days agoYou can already do that in standard C like this:
struct test { int a; struct { char b; float c; } test2; double d; };I can’t think of any particular reason why you’d want an unnamed struct inside a struct, but you definitely would want to be able to have an unnamed struct inside a union. I suspect the struct-inside-struct thing can become useful in some scenarios involving unions.
entwine@programming.devto
Linux@programming.dev•The Linux Kernel Looks To "Bite The Bullet" In Enabling Microsoft C Extensions
3·6 days agoIt’s not that convenient. I can’t even think of a situation where this would be useful for structs, only unions. And in the case of unions, you usually want to keep them as small as possible (or better yet, avoid them altogether).
But besides that, C is a language that tends to prefer minimalism. Using macros, you can accomplish a similar thing already, even if it’s not as nice.
entwine@programming.devto
Map Enthusiasts@sopuli.xyz•Can you be nude in your own backyard? [US]
31·6 days agoBut how do you evaluate if people are unconsenting about an act before the act takes place? That’d be premature evaluation.
entwine@programming.devto
Map Enthusiasts@sopuli.xyz•Can you be nude in your own backyard? [US]
2·6 days agoEurope has backyards?
entwine@programming.devto
Programming@programming.dev•What do you think the future of Windows is?
2·6 days agoThey were only in office for 4 years, and while they did a lot they couldn’t do everything.
Not everything is about politics.
No, but antitrust enforcement obviously is
entwine@programming.devto
Experienced Devs@programming.dev•I haven’t written a line of code in a month.
30·7 days agoWhat kind of work do you do? Every time I read stuff like this, I find it hard to believe, but maybe the code/languages/frameworks I’m using just aren’t as easy for LLMs as what other people are using. The results I’ve had trying to get it to write C++ have been atrocious.
I’m not against AI code assistance, and I like keeping an open mind. For the moment though, the only success I’ve had is with using it to explain some feature or API faster than manually looking up the documentation. But actually reading the docs, I’ve found, helps me remember things better.
entwine@programming.devto
Programming@programming.dev•What do you think the future of Windows is?
3·7 days agoyour user folder linked to one drive (so you’ll always have a backup) is also a cash-grab
That’s actually illegal bundling behavior, something they wouldn’t dare do if Biden was still president and Lina Khan was still head of the FTC.
I think actually that the future of Windows won’t be so dire post Trump. There’s no way the pro-monopoly brain rot survives this admin, and people will soon start to realize that the billionaires, although easy targets, are just a symptom of lax regulation rather than the root cause of the enshitiffication apocalypse of the mid 2020s.

These types of posts worry me because I can’t tell how much of it is a joke, and how much of it is sincere. It’s starting to feel like the healthy skepticism towards Valve that existed before is now mutating into Apple fanboy shit.
Valve is a monopolist. Maybe you happen to like them, but they’re still a monopolist. They have a monopoly on PC gaming, and you’re cheering for them to have a monopoly on smartphones? Maybe you think they’ll be “better” monopolists than Apple or Google, but they’re still fucking monopolists. Monopolization is the root cause of the enshittification epidemic, and a lot of the inequality and just obviously-broken shit in the economy. It’s no coincidence the Trump admin is so eagerly supporting consolidation, and his FTC has stopped absolutely zero mergers.
This is the non-political version of the “leopards ate my face party” joke.