[-] ICastFist@programming.dev 2 points 1 day ago

Tell record labels that if they make a working, near foolproof age verification algo, they'll get a 30 years of copyright extension for free. They'll fix it today

[-] ICastFist@programming.dev 1 points 2 days ago

I don't think a car crash is an apt comparison in this case, that is usually an accident and not something easy to ignore and pretend it didn't happen - it affects everyone who wants to use the road where the crash happened. Nobody is clapping and cheering.

What this asshole does isn't an accident, it's intentional. People follow him expecting bullshit and praising him for that. He's akin to people who like to drive recklessly and post and brag about it online.

[-] ICastFist@programming.dev 6 points 3 days ago

Not possible in the "post header", so to speak, but you can upload several pics in the post body and any comment

[-] ICastFist@programming.dev 26 points 3 days ago

Hey, the 3rd paragraph explains current day USA perfectly, just change Hitler for Trump! Who'da thunk!?

[-] ICastFist@programming.dev 10 points 3 days ago

That's because we are dangerous (to the rich's interests)

[-] ICastFist@programming.dev 16 points 3 days ago

Have you tried not being poor? I heard it helps

[-] ICastFist@programming.dev 2 points 3 days ago

Smoking a pipe through the mask, not sure if it's for extra filtering or what

[-] ICastFist@programming.dev 2 points 3 days ago

Any way to hook old phones to an external screen without wifi? Because that'd make this even better

[-] ICastFist@programming.dev 14 points 4 days ago

"Technically ready", as per the post the dude replied to. It's "good enough" to fool idiots. For people that care to scratch the surface, the veneer falls off super easy

[-] ICastFist@programming.dev 10 points 4 days ago

There are a lot of enablers, the viewers that find all that bullshit funny. Guilty by association, I suppose

[-] ICastFist@programming.dev 17 points 5 days ago

Running the CPU and GPU at ~75% and 98% on Cyberpunk 2077 and keeping it at 65ºC is quite a feat, ngl

[-] ICastFist@programming.dev 14 points 5 days ago

I have drawn myself as a handsome gigachad using paper against your double rock hands, so I win

89
61
How to ask for a raise (programming.dev)
24
"A good word" (programming.dev)
219
"A good word" (programming.dev)
28

cross-posted from: https://programming.dev/post/47341163

Remember Win Elvis-n-Space? Or Lemmings Paintball? Or even Odyssey Legend of Nemesis?

Found this little gem of a site recently. Unfortunately, it hasn't been updated in a while (last blog post is from Sep 2025)

78

Remember Win Elvis-n-Space? Or Lemmings Paintball? Or even Odyssey Legend of Nemesis?

Found this little gem of a site recently. Unfortunately, it hasn't been updated in a while (last blog post is from Sep 2025)

56

Don't invite the math nerds here, they'll count the actual time since

309
Call center's final boss (programming.dev)
84

Greeks and Romans would frequently curse anyone they didn't like, writing it as a curse on a lead sheet, roll it up and pierce it with a nail and put in a specific place, depending on the curse.

Given the amount of such tablets found, they probably cursed someone every other week.

For extra photos - https://www.romanbaths.co.uk/roman-curse-tablets

6

cross-posted from: https://programming.dev/post/46122408

I was looking for youtube alternatives and came across this site. Looks like a good place to post shitpost videos and all other sorts of crazy stuff.

For every video link, the upper image is the video preview, the lower half is the uploader's profile pic

12
submitted 1 month ago by ICastFist@programming.dev to c/196

I was looking for youtube alternatives and came across this site. Looks like a good place to post shitpost videos and all other sorts of crazy stuff.

For every video link, the upper image is the video preview, the lower half is the uploader's profile pic

51

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?

view more: ‹ prev next ›

ICastFist

joined 2 years ago