ICastFist

joined 2 years ago
[–] ICastFist@programming.dev 1 points 6 minutes ago

Because it doesn't always work with recent news and, as shown by dubyakay, it's not meant to bypass paywalls

[–] ICastFist@programming.dev 2 points 8 minutes ago

People don't know what choosing a server entails, because it does matter and a lot of people aren't exactly helpful when they say "just pick any" or "it's like email"

Server choice matters because:

  1. Server might federate with a limited number of other servers;
  2. Server might be blacklisted by some servers which you might want to interact with;
  3. Servers can be running different versions of software, so people might think about security;
  4. Servers can go offline
  5. Server choice can significantly impact how people perceive you. "Oh look, another tankie from ml"

So, server choice matters and people coming in from corporate shit don't know how much they need to know to make an informed decision, thus giving up.

[–] ICastFist@programming.dev 2 points 2 hours ago

Nothing short of Luigi'ng all of them will make things better

[–] ICastFist@programming.dev 3 points 2 hours ago (1 children)

Yet its not enough. Look at USA, completely surrounded by amphibious hogs.

[–] ICastFist@programming.dev 2 points 2 hours ago

Too late, I'm already rewriting everything in a docker kubernetes rancher node.js container

[–] ICastFist@programming.dev 1 points 2 hours ago (1 children)

What add-on is that?

[–] ICastFist@programming.dev 1 points 2 hours ago

If it works the same, I'm all for it

[–] ICastFist@programming.dev 1 points 2 hours ago

1 echo with 100 lines of html and a bunch of "value: " . $somevar . " ;"

[–] ICastFist@programming.dev 1 points 2 hours ago

Yeah, I'm currently kinda afraid to put it down and come back after 1+ week for fear of having no fucking clue what the fuck I was thinking. Won't be the first time, nor the last .

It's kinda fun, despite some errors leaving me grunting a lot and taking my sweet time to actually fix, mostly related to PDO or SQL shenanigans. Took me over an hour to get a working select * from some_table order by ? Offset ? Limit ?; execute statement. Turns out I had to put the offset and limit variables as parts of the prepared statement's string, otherwise they'd be stringified or something - select * from some_table order by ? Offset '.$offset.' Limit '.$limit.';

[–] ICastFist@programming.dev 2 points 13 hours ago (1 children)

Was it worth the hassle?

[–] ICastFist@programming.dev 4 points 13 hours ago

There is, but only if you're logged in, which I almost never am

[–] ICastFist@programming.dev 6 points 14 hours ago* (last edited 14 hours ago)

I wonder how they did that part where Romeo and Juliet get stuck in a spaceship and fight weird aliens.

 

Decided to bite the bullet and learn PHP, which is used for nearly everything at my job. My starting voyage was to mess around with "pure php", as in, no frameworks, no libraries, not even javascript, just the basic server with v8.3 running and some (currently very shitty) CSS styling.

So, I decided to go with a 2 step process: first, a site for me to post my stuff, with the possibility for external users to make accounts and leave comments. Step 2 would be making a forum where said users can interact. Before I began coding anything, I wrote down the database specification, though it's still "open for debate". I also didn't pay attention and made all tables as MyISAM initially instead of InnoDB, which made me lose all foreign keys, thankfully easily remedied given the small size of the project.

Thus far, I've got the user creation, listing, login (with hashed password), post creation and post viewing working. Visitors, normal users and admin see different links and forms, depending on pages, all with inline php code in appropriate pages - for instance, (unlogged) visitors don't see a comment box when reading a post. I'm currently working on the user edit page.

Anyway, why do I think I'm doing a lot of "wrongs"? For starters, I'm not using classes. At all. Functions are being added "globally" to one of 3 include somepage.php; that are in every page; every database related function - select all, select 1, update, are all in the db.php file. So, every page load is also loading the entire list of database functions, plus a bunch of html-automation related functions, even when none of them are used. Since PDO::fetch() returns an array with mapped keys (ie: $result['column1']), I feel like I have "no good reason" to use classes, especially as I'm still putting some finishing touches on the tables. I mean, I can access the relevant data with $bla['column_name'];, which is all I need thus far.

A lot of the resulting html comes from echo, some of it from functions to handle it more easily, like passing an array so a "global" function of mine returns it as neatly organized <td> elements.

There is no MVC, just good ol' <a href> and <form method=post> where they need to be. All my forms' actions call a separate php page that's just code to handle the form, always as POST, in order to check blank fields, size and character constraint, etc.

I've no doubt that, as is, my project has a number of security holes, though cross-site scripting and session poisoning are not among them. I did try sql injection and couldn't get it to work, so good on me.

As awful as this project might be against "the real world" use, I feel weirdly proud of what I'm achieving. Is there a name for this feeling, of pride for something you know is subpar?

 

Wondering if there's some sort of big list of channels whose videos are known to be mostly or entirely AI stuff, whether the text, the narrator or other details. It's really annoying to start watching and noticing something "off", only to check the channel and notice that it's been pumping out 25-30min videos every 2 days for the past year.

It's easy to avoid the AI animation stuff, but it's annoying when you're looking for history, psychology, science and other stuff.

 

I saw that Indie Gala has a royalty free music bundle for sale of this - https://www.arcade-origins.com/

Thing is, checking their site, there's no way to actually buy straight off them, which is super weird. All "covers" are AI images and every video on YT channel was posted after Jan 2025.

I don't know enough about music other than listening to it, so I have no idea what cues, if any, to look out for when it comes to AI music. I also do not want to spend a single cent buying something done with AI.

 

tldr; A budget shooter that goes from tolerable to insufferable real quick

Chaser is a 2003 FPS from Cauldron, who would go on to create all time classics like Secret Service (2008) and Cabella's Dangerous Hunts 2011. Clearly a household name synonymous with quality. This game is also billed as having "A gripping story full of intrigue, plot twists and believable characters."

In this game, you're John Chaser, an amnesiac protagonist who escapes a space station and crash lands back on a futuristic Earth city. Shortly afterwards, you find yourself working for the local mafia because Chaser's too fucking stupid to take a hint. No, seriously, there's this dude in the cutscene that says "If you got any sense, you'll turn around and head as far away from this city as you can" and mr. protagonist goes back to the mafia owned casino. You also get some flashbacks in the first couple missions, but they go away. Don't worry too much about the story, everything done on Earth is like a sidequest until you get back to Mars. Overall, the game can be divided in 3 thirds: shitty city, soviet part, Mars. The latter 2 drag on for-fucking-ever.

For the story, here's a rundown of it:

Story spoilersChaser is "forced" into the mafia, but a dude kinda helps him get off it by telling him about a doctor that can remove the bomb chip that gets implanted on every mafia thug. After doing so, Chaser follows the plan to get to Mars and accidentally kills the mafia boss. The smuggler that'll get him to Mars starts the whole soviet Siberia part of the game, which feels like the world's worst sequence of bodyguard missions. Chaser gets betrayed and shot by the smuggler, but miraculously survives. He finishes the trip to the Cosmodrome thanks to some old russian help and flies to Mars. There, he goes to jail, meets up with an old acquaintance and finds out about the rebellion against Mars Corp. Jailbreak happens, then it's off to do some rebel terrorism. A bartender does a load of exposition, as he's also the main informant/connection of the rebels and its operators. A couple of awful levels later, ready to celebrate their best victory, the rebel HQ is invaded by Marscorp forces. At the end of it, Chaser is told by Marscorp CEO, which he thought he had killed a couple of hours ago, that he's actually the man he wanted to find and "get some answers", Stone, and that he had his memory wiped and fake memories implanted to become Chaser in order to infiltrate the rebels. He gets shot and dies. The end.

But it's a first person shooter, so how's the shootin'? Kinda decent, most of the time. Ironically, the futuristic weapons feel like the worst ones when it comes to killing enemies. While a M4 rifle will typically kill an enemy in 1 or 2 shots, the futuristic HK11 might take 10+. Sometimes fucking explosives to the face won't kill enemies outright. Hand grenades are the worst, you don't click and hold to throw, you click and he'll do a fixed distance throw because fuck you. Fucking Quake 2 and Medal of Honor let you hold the grenade to throw it further or drop close by.

One of the main problems of the game is that a lot of the time you won't even know you're losing health. Save for a few situations when you're shot from the front, you'll have a hard time knowing if there's an enemy shooting you from the sides or from behind. There's nothing to indicate you took fall damage, not even a grunt or crunch sound. Savescumming is essential not only because of that, but also due to the likelihood that you might end up stuck somewhere in the scenery. Ladders are one of your biggest enemies, too.

Level design goes from "eh, ok" to "oh, fuck you" - the latter especially on levels like Lighthouse, Submarine, Cosmodrome and the entirety of Mars. Levels become overly long for no reason, with enemies spawning in places carefully designed to piss you off the most, sometimes behind your back and where you already went through: in some situations, you can literally see them popping out of thin air in front of you because now you stepped on the trigger!

The game has multiplayer and I wish I could test it, but I don't wish anyone to suffer through this game. Still, I suspect the multiplayer is leagues better than the singleplayer experience simply because it's not the singleplayer experience.

In all seriousness, if you do decide to check this game out for whatever reason, like morbid curiosity, don't be afraid to put it down and give up for good before you even . It does not get better. It gets more tedious and more groan inducing. There is no fair challenge, nothing that will give you any sense of satisfaction.

 

The link is for Sonniss collection of royalty free music and sound effects that get released with each GDC.

Here's the more important part of the license, tldr you can use it on any number of commercial projects:

RIGHTS GRANTED

a) Licensee may use the licensed sound effects on an unlimited number of projects for the entirety of their life time.

b) Licensee may use and modify the licensed sound effects for personal and commercial projects without attribution to the original creator.

c) Licensee may publicly perform a reproduction of the sound effects over any form of medium.

d) Licensee may use the licensed sound effects for the purposes of synchronization with audio and visual projects the Licensee is involved with, which includes but is not limited to: games, films, television & interactive projects.

NO AI TRAINING OR USAGE

For clarity and avoidance of doubt, the Licensee is expressly prohibited from using any sound effects licensed under this Agreement for the purpose of training artificial intelligence technologies. This includes, but is not limited to, technologies capable of generating sound effects or works in a similar style or genre as the licensed sound effects. The Licensee shall not use, reproduce, or otherwise leverage the licensed sound effects in any manner for purposes of developing, training, or enhancing artificial intelligence technologies, nor sublicense these rights to any third party, without the Licensor’s specific and express written permission.

 

At a party, found it while sitting near a tree.

No idea about the species, but it's cute looking. Brazilian Midwest if anyone wants to search

 

I'm looking into making some game boards as foldable cloth for easier storage. I'm not currently interested in neoprene as it tends to be 2x more expensive than most cloth options, even if staying straight on a table is very desirable.

Asking here because the boardgame communities seem dead

 

Apparently this is a group called XG. Don't ask me, I'm an old man yelling at clouds

 

Reminiscing on how kids of the 80s, 90s and 00s can all get games of their respective times via emulation and piracy, but anything inside Roblox is likely to be inaccessible when present day kids become adults and look back with nostalgia

 

Dice are pretty much synonymous with RPGs, but there are a few rare systems that forego them altogether, like Castle Falkenstein.

What are some other systems that don't use dice? Are there any that completely remove luck/random chance on "important player actions"?

 

Post title at limit, but meant to be peak tactile feedback in computer storage.

The space saved from being thin made it bad for looking up and finding a specific disk within a stack, tho, as it couldn't fit an end label

view more: next ›