[-] [email protected] 3 points 2 weeks ago

Any time I need to learn something about JS, I go to W3Schools to wrap my head around the basics, then over to MDN for current best practice.

[-] [email protected] 20 points 4 weeks ago

Let me know if you find one that uses AI to find groupings of my search terms in its catalogues instead of using AI to reduce my search to the nearest common searches made by others, over some arbitrary popularity threshold.

Theoretical search: "slip banana peel 1980s comedy movie"
Expected results in 2010: Pages about people slipping on banana peels, mostly in comedy movies, mostly from the 80s.
Expected results in 2024: More than I ever wanted to know about buying bananas online, the health impacts of eating too many or not enough bananas, and whatever "celebrities" have recently said something about them. Nothing about movies from the 80s.

[-] [email protected] 12 points 1 month ago

That was my first take as well, coming back to C++ in recent years after a long hiatus. But once I really got into it I realized that those pointer types still exist (conceptually) in C, but they're undeclared and mostly unmanaged by the compiler. The little bit of automagic management that does happen is hidden from the programmer.

I feel like most of the complex overhead in modern C++ is actually just explaining in extra detail about what you think is happening. Where a C compiler would make your code work in any way possible, which may or may not be what you intended, a C++ compiler will kick out errors and let you know where you got it wrong. I think it may be a bit like JavaScript vs TypeScript: the issues were always there, we just introduced mechanisms to point them out.

You're also mostly free to use those C-style pointers in C++. It's just generally considered bad practice.

[-] [email protected] 6 points 1 month ago

Every time I see yet another obscure game/platform article or video, I realise that I've once again forgotten how little most people delve into the history of their creative media. I'm teaching myself about Soviet clones and niche Japanese systems that came out before I was born, and some 20-something self-proclaimed video game historian is releasing a video titled "The most obscure game that NO-ONE remembers" and it's about Legacy of Kain or Space Quest or Sly Cooper or some other million-selling franchise that just hasn't had a new release in the last 5-10 years.

I'm waiting for these guys to get old enough to start seeing "world's most obscure game" videos about Minecraft and Fortnite.

AIX is pretty obscure as a gaming platform, though, I'll give you that.

[-] [email protected] 6 points 1 month ago* (last edited 1 month ago)

As someone who has often been asked for help or advice by other programmers, I know with 100% certainty that I went to university and worked professionally with people who did this, for real.

"Hey, can you take a look at my code and help me find this bug?"
(Finding a chunk of code that has a sudden style-shift) "What is this section doing?"
"Oh that's doing XYZ."
"How does it work?"
"It calculates XYZ and (does whatever with the result)."
(Continuing to read and seeing that it actually doesn't appear to do that) "Yes, but how is it calculating XYZ?"
"I'm not 100% sure. I found it in the textbook/this 'teach yourself' book/on the PQR website."

[-] [email protected] 0 points 1 month ago

The same places you get old console games. Online auction and classifieds sites, and thrift stores, mostly. Flea markets and garage sales too, but they're more hit-and-miss.

[-] [email protected] 0 points 1 month ago

Back in the olden days, when we used kerosene-powered computers and it took a three day round trip to get IP packets via the local stagecoach mail delivery, we still had games even though Steam didn't exist yet. :b

We used to transfer software on these things called disks. Some of them were magnetic, and some of them used lasers (you could tell them apart because for the laser ones it was usually spelled "disc" with a "c").

Anyway, those dis(k/c)s mostly still work, and we still have working drives that can read them, and because the brilliant idea of making software contact the publisher to ask if it was OK to run had only just been invented, we can generally still play games from the period that way. Some people kept their old games, but others sell them secondhand, which I believe the publishers still haven't managed to lobby successfully to be made illegal, unless I missed a news report.

Even if you can't get the original physical media for a game, sites like GOG sell legal digital downloads of many old games, which are almost always just the actual old software wrapped in a compatibility layer of some kind that is easy to remove, so you can usually get the games running natively on period hardware/software. Finally, some nicer developers and publishers have officially declared some of their old games as free for everyone to play.

There are still legal options for playing old games on old systems.

[-] [email protected] 1 points 1 month ago

Most people use the term "Hungarian Notation" to mean only adding an indicator of type to a variable or function name. While this is one of the ways in which it has been used (and actually made sense in certain old environments, although those days are long, long behind us now), it's not the only way that it can be used.

We can use the same concept (prepending or appending an indicator from a standard selection) to denote other, more useful categories that the environment won't keep straight for us, or won't warn us about in easy-to-understand ways. In my own projects I usually append a single letter to the ends of my variable names to indicate scope, which helps me stay more modular, and also allows me to choose sensible variable names without fear of clashing with something else I've forgotten about.

[-] [email protected] 0 points 1 month ago

I want to say that I wish I could've read this 25 years ago, but really, I wasn't ready to take it to heart back then. In fact, even though I've had a couple of minor successes with free games that I deliberately didn't get too attached to, I still have extreme difficulty just sitting down and making something--anything--rather than falling into a death spiral of over-thinking and grandiose designs. I might have to re-read this a few times to make it sink in.

[-] [email protected] 0 points 1 month ago

The Steam Deck is a handheld Linux-based PC with a built-in game controller. The special Steam version of Linux (SteamOS) comes with software (Proton) that lets you run a lot of Windows games, and Valve have put some effort into helping/encouraging developers to get their games working with it.

The Nintendo Switch is a closed system that can only play official Nintendo-licensed software. Even if you "jailbreak" a Switch, I don't think that there's any realistic way to get modern Windows games running on one.

[-] [email protected] 0 points 1 month ago

I bought this back in the day, and played it through to the end. I vaguely recall somewhat enjoying it overall, but the strongest impression that I have now is of frequently being bombarded with unrepeatable, dense, plot-critical dialogue (usually from teammates via radio) during intense action scenes when I was busy trying to sneak around, evade, beat up, or have a shootout with multiple enemies simultaneously. This often seemed to be by design, with enemies spawning at the same time the dialogue begins. As a passive viewer watching a show, it's cool when the characters have intense philosophical debates during fights, but as an active player I found it extremely difficult to follow both at the same time. I don't even remember what the story of the game actually was, because I missed so much vital information that I gave up trying to follow it. That was a real disappoment for a big GitS fan.

Also, many of the missions can seem very open initially in terms of how the player can approach them, but quite soon I got the feeling that there's exactly one "right" way through each challenge, and it's up to the player to find it, sometimes with very few hints.

I've tried several times over the years to give it another go, but somehow I never seem to make it past even the first mission before I put it away again.

[-] [email protected] 0 points 1 month ago

It is available on mobile BUT I encourage you to get the PC version on Steam because the mobile one doesn't include the pretty decent voice acting

That's odd; I was sure that I played some of this on Android with voice acting, so I searched my records and discovered that I also got it from Humble Bundle. I just downloaded and installed it to check, and aside from a warning that it was written for an older version of Android, it seems to be working fine, full voice acting included. There's an option to turn it off, but it was on by default for me.

Maybe there was an issue with your specific device?

view more: next ›


joined 11 months ago