this post was submitted on 25 Feb 2025
971 points (97.9% liked)

Programmer Humor

23122 readers
1966 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] [email protected] 162 points 2 months ago (3 children)

The cherry on top is that he just made the website in his downloads folder and not a new folder for the project.

[–] [email protected] 65 points 2 months ago (2 children)

I'm Guessing he downloaded it from chatgpt, hence the location

[–] [email protected] 33 points 2 months ago (3 children)

That's a given, but now he has an entire website in his download dir. So all the scripts, images, child pages, directories, etc. are all over the folder's contents.

If he tried to publish, he would have to find every single dependancy and upload them, which would then require somebody competent to figure out what he missed.

What I am saying is web devs are safe from AI taking their job, for now.

[–] [email protected] 42 points 2 months ago (2 children)

What makes you think this index.html is more than a single Hello World?

[–] [email protected] 12 points 2 months ago (1 children)

Anybody that cocky and stupid would never present a simple test of concept as evidence.

They 100% asked AI to make an E commerce or company page.

[–] [email protected] 14 points 2 months ago (1 children)

You are asking a lot from the cocky and stupid

[–] [email protected] 3 points 2 months ago

I have reasonable expectations based on the hubris of people ignorant of both AI and what they use it on.

[–] [email protected] 12 points 2 months ago

Yeah, you know you can put CSS inline / in the header, and images can be base64 encoded and put in line as well.

Same with JavaScript. It's probably a whole single page website with no ability to cache anything and can never be bigger than the context window

[–] [email protected] 17 points 2 months ago (3 children)

As a web dev I'm not worried, but chatgpt has been useful figuring out some Godot/C# oddities that come with learning a new language. I worry for the new people who will just use what it says and not learn anything.

Even then, it will spit out methods and signatures from different but similar libraries (litedb and sqlite for instance)

But like @[email protected] said, I was expecting it to be a single page, probably rammed with unnecessary JavaScript.

[–] [email protected] 4 points 2 months ago

Its good for stuff that is vague or hard to google.

[–] [email protected] 4 points 2 months ago

AI is a great tool, but that's all it is. It's absolutely not a complete solution.

load more comments (1 replies)
[–] [email protected] 8 points 2 months ago

It's .html, I am not expecting many dependencies.

[–] [email protected] 40 points 2 months ago

It's so we can download all of his downloads from his web server.

[–] [email protected] 14 points 2 months ago (8 children)

My downloads folder is a fucking mess and I'd absolutely do that.

[–] [email protected] 10 points 2 months ago (1 children)

Mine is definitely a junk drawer of random nonsense that is tens of gigs in size.

I wanted to recover files from an old hard drive for a Linux install I had for about a decade, it was not fun to look through for the handful of files I wanted.

load more comments (1 replies)
load more comments (7 replies)
[–] [email protected] 154 points 2 months ago (6 children)
<html>
<p>Hello world</p>
</html>

LOOK OUT DEVELOPERS I'M A CODER NOW

[–] [email protected] 40 points 2 months ago (1 children)

This didn’t tell about your cookie policy and there was no streaming video of something I have no interest in. And where were all the ads?

[–] [email protected] 13 points 2 months ago

I need to know if there are hot single moms in my area!

[–] [email protected] 32 points 2 months ago
[–] [email protected] 16 points 2 months ago

Loads better than most websites and works flawlessly on mobile.

[–] [email protected] 14 points 2 months ago

Well at least this may very well work as intended

[–] [email protected] 6 points 2 months ago

This guy fucks

[–] [email protected] 3 points 2 months ago
[–] [email protected] 69 points 2 months ago (3 children)

"Hey ChatGPT! Build a fully functional turnkey ecommerce website."

[–] [email protected] 83 points 2 months ago (2 children)

That seems really round-about.

Just:

import Money

Money.make('rain')
[–] [email protected] 64 points 2 months ago

Python really does have everything

[–] [email protected] 26 points 2 months ago* (last edited 2 months ago) (2 children)

Sometimes they block that, so you have to do this instead:

me.accountBalance = exploit.infiniteMoneyGlitch();

You only get access to that method if you were born with rich parents, though.

[–] [email protected] 13 points 2 months ago* (last edited 2 months ago)
if revenue.isTaxed():
    exploit.commitFraud()
else:
    me.callDaddy(moneyPlz)
load more comments (1 replies)
[–] [email protected] 16 points 2 months ago

"Make me the most generic hello world in ReactJS." Wow it's so smart and conscious!

load more comments (1 replies)
[–] [email protected] 68 points 2 months ago (1 children)

I'm just surprised it seems to actually be in c/users instead of a OneDrive folder

[–] [email protected] 45 points 2 months ago (2 children)

Probably downloaded it from ChatGPT, that's why it's in the downloads folder.

[–] [email protected] 16 points 2 months ago (2 children)

Default location of the downloads folder becoming OneDrive wouldn't suprise me at all

[–] [email protected] 6 points 2 months ago

Agree. The default download location on iOS and padOS is iCloud and it's pretty clear that Microsoft is chasing Apple's monetization model.

[–] [email protected] 4 points 2 months ago (5 children)

That sounds like hell, imagine running an exe from the cloud

[–] [email protected] 15 points 2 months ago

You just invented saas

load more comments (4 replies)
[–] [email protected] 13 points 2 months ago (1 children)

I did a quick install of windows (last year I think?) and it sorted everything into a onedrive folder. documents, pictures, videos, downloads, all that stuff, looked normal from the file explorer, but was sneakily placed into a onedrive folder. it went something like c:/users/me/onedrive/. didn't realize what it had done until like 2 days later and it gave me some popup about not being able to upload. i don't even have a onedrive account; it just decided that was how it should be done. no idea what, if anything, it actually uploaded.

now if i have to install windows i have a script from privacy.sexy i run before doing anything else. havent had that happen again yet. still, probably best to assume anything on a windows machine is not private.

[–] [email protected] 13 points 2 months ago (2 children)

Sorry but no.

OneDrive would never back up a Downloads folder, that is just silly with the amount of data it gathers. Would fill up MS servers in no time.

The only folders it may put automatically in OneDrive are Pictures, Documents and Desktop.

[–] [email protected] 11 points 2 months ago (1 children)

it literally happened to me but ok

[–] [email protected] 5 points 2 months ago (3 children)

I believe you. When my ex got a laptop, literally every folder was onedrive. Even system folders were mapped to onedrive it was ridiculous. I had to backup all her stuff and manually fix the fuckery in the registry editor before i could uninstall onedrive.

load more comments (3 replies)
[–] [email protected] 9 points 2 months ago* (last edited 2 months ago)

I think it might offer Downloads as an optional checkbox to select on first login, but can't remember off top of my head. Also, they definitely want you to blow through your free storage to give you a reason to upgrade the storage.

[–] [email protected] 63 points 2 months ago* (last edited 2 months ago)

the embodiment of "it works fine on my machine"

[–] [email protected] 29 points 2 months ago

Call musk, they need someone like him!

[–] [email protected] 23 points 2 months ago

You're a visionary Ben.

[–] [email protected] 13 points 2 months ago

As long as they got that copy and paste terminal code barrier of entry web dev is safe

[–] shym3q 11 points 2 months ago

If Microsoft invented WWW

[–] [email protected] 10 points 2 months ago

Now start adding the "Well yes, but if" demands until the system inevitably breaks.

[–] [email protected] 7 points 2 months ago* (last edited 2 months ago)

Gerard behavior

load more comments
view more: next ›