this post was submitted on 22 Jun 2024
722 points (98.8% liked)

Programmer Humor

19817 readers
850 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] 104 points 6 months ago (4 children)

This application looks fine to me.

Clearly labeled sections.

Local on one side, remote on the other

Transfer window on bottom.

No space for anything besides function, is the joke going over my head?

[–] [email protected] 122 points 6 months ago* (last edited 6 months ago) (8 children)

I'm sure there's nothing wrong with the program at all =)

Modern webapp deployment approach is typically to have an automated continuous build and deployment pipeline triggered from source control, which deploys into a staging environment for testing, and then promotes the same precise tested artifacts to production. Probably all in the cloud too.

Compared to that, manually FTPing the files up to the server seems ridiculously antiquated, to the extent that newbies in the biz can't even believe we ever did it that way. But it's genuinely what we were all doing not so long ago.

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

Promotes/deploys are just different ways of saying file transfer, which is what we see here.

Nothing was stopping people from doing cicd in the old days.

[–] [email protected] 20 points 6 months ago* (last edited 6 months ago) (3 children)

Sure, but having a hands-off pipeline for it which runs automatically is where the value is at.

Means that there's predictability and control in what is being done, and once the pipeline is built it's as easy as a single button press to release.

How many times when doing it manually have you been like "Oh shit, I just FTPd the WRONG STUFF up to production!" - I know I have. Or even worse you do that and don't notice you did it.

Automation takes a lot of the risk out.

load more comments (3 replies)
load more comments (6 replies)
[–] [email protected] 27 points 6 months ago (2 children)

This application looks fine to me.

Clearly labeled sections.

Local on one side, remote on the other

Transfer window on bottom

Thats how you know its old. Its not caked full of ads, insanely locked down, and trying yo sell you a subscription service.

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

Except that FileZilla does come with bundled adware from their sponsors and they do want you to pay for the pro version. It probably is the shittiest GPL-licensed piece of software I can think of.

https://en.wikipedia.org/wiki/FileZilla#Bundled_adware_issues

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

The joke isn't the program itself, it's the process of deploying a website to servers.

[–] Wangus 11 points 6 months ago (1 children)

The large .war (Web ARchive) being uploaded monolithicly is the archaic deployment of a web app. Modern tools can be much better.

[–] Carighan 5 points 6 months ago (1 children)

Of course, it's going to be difficult to find a modern application where each individually deployed component isn't at least 7MB of compiled source (and 50-200MB of container), compared to this single 7MB war that contained everything.

load more comments (1 replies)
[–] annoyed_onion 60 points 6 months ago (1 children)
[–] dohpaz42 10 points 6 months ago (2 children)

If it ain’t broke, don’t fix it.

load more comments (1 replies)
[–] EnderMB 56 points 6 months ago

I remember joining the industry and switching our company over to full Continuous Integration and Deployment. Instead of uploading DLL's directly to prod via FTP, we could verify each build, deploy to each environment, run some service tests to see if pages were loading, all the way up to prod - with rollback. I showed my manager, and he shrugged. He didn't see the benefit of this happening when, in his eyes, all he needed to do was drag and drop, and load the page to make sure all is fine.

Unsurprisingly, I found out that this is how he builds websites to this day...

[–] [email protected] 50 points 6 months ago (4 children)

People don't use FileZilla for server management anymore? I feel like I've missed that memo.

[–] [email protected] 15 points 6 months ago (4 children)

I suppose in the days of 'Cloud Hosting' a lot of people (hopefully) don't just randomly upload new files (manually) on a server anymore.

Even if you still just use normal servers that behave like this, a better practice would be to have a build server that creates builds, like whenever you check code into the Main branch, it'll create a deploy for the server, and you deploy it from there - instead of compiling locally, opening filezilla and doing an upload.

If you're using 'Cloud Hosting' - for example AWS - If you use VMs or bare metal - you'd maybe create Elastic Beanstalk images and upload a new Application or Machine Image as a new version, and deploy that in a more managed way. Or if you're using Docker, you just upload a new Docker image into a Docker registry and deploy those.

load more comments (4 replies)
load more comments (3 replies)
[–] [email protected] 41 points 6 months ago (2 children)

FileZilla isn't even that old school, cuteftp was the OG one afaik.

[–] ashitaka 26 points 6 months ago (3 children)

No way, WS_FTP was more OG.

[–] [email protected] 16 points 6 months ago* (last edited 6 months ago)

Oh god, I know all of these.

Also fuck Tim Kosse. Bundled Filezilla with malware and fucked up my machine in 2014. Had to reinstall Windows. I'll never use it again.

I use WinSCP on Windows and Forklift on MacOS.

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

Yeah you're totally right, I forgot about that.

There was flashfxp too but I think that was a fair bit later. Revolutionized being a warez courier.

load more comments (5 replies)
load more comments (1 replies)
[–] [email protected] 10 points 6 months ago (1 children)

Yeah, I used to use filezilla and I'm not that old... Right? ...Right?

load more comments (1 replies)
[–] ArtVandelay 28 points 6 months ago (1 children)

I mean, a lot of docker files out there with COPY . .

[–] Opisek 7 points 6 months ago (1 children)

True, but building the image is not the same as deploying to production.

load more comments (1 replies)
[–] [email protected] 26 points 6 months ago (5 children)

Somehow I miss those days. Now you need weeks of training to understand the black magic behind all the build/deployment stuff in whatever cloud provider your company decided to use…

load more comments (5 replies)
[–] [email protected] 18 points 6 months ago* (last edited 6 months ago) (1 children)

I remember this. I also remember using scp instead. And ftp, if I go back far enough. rsync is still my friend though zfs has mostly replaced it now.

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

How has zfs replaced rsync for you? One is a filesystem, and the other is a filesyncing tool. Does zfs do something im not aware of lol?

load more comments (2 replies)
[–] [email protected] 18 points 6 months ago (1 children)
load more comments (1 replies)
[–] brlemworld 13 points 6 months ago (3 children)

I never liked FileZilla. I used Cyberduck

[–] poo 8 points 6 months ago (4 children)

There's just so few decent FTP clients out there, and all of them are very ugly lol

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

FTP and rsync my beloved

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

okay, but why did you use a password when the ssh/sftp key is right next to the files

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

I used CuteFTP, but I am a gentleman

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

"Felt cute, might transfer files later, idk"

[–] finkrat 12 points 6 months ago* (last edited 6 months ago)

A lot are still doing that and haven't moved up

(Please at least use SFTP!)

[–] bigboismith 10 points 6 months ago (2 children)

This is how I deployed web servers in school like 3 years ago.

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

Yeah it's not all that uncommon in school, just increasingly uncommon in industry.

[–] yrmp 5 points 6 months ago* (last edited 6 months ago) (1 children)

My school had nothing about react, node, angular, angularJS, SaaS, etc. back in 2015.

We learned Perl, PHP, LAMP stack, SOAP based APIs and other “antiquated” things. Provided a solid foundation of fundamentals that I’ve built a nice career on.

It might have been by design to get a feel for the fundamentals. Or maybe it’s just because the people teaching it have probably left the industry and are teaching how they did it.

My department head was in his 70s and my professors all trended on the older side.

load more comments (1 replies)
[–] Fades 10 points 6 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 8 points 6 months ago (1 children)

This is from before my times, but... Deploying an app by uploading a pre built bundle? If it's a fully self-contained package, that seems good to me, perhaps better than many websites today...

load more comments (1 replies)
[–] umbraroze 8 points 6 months ago

There's still a few sites I deploy changes to using ssh+rsync. ...which is made considerably easier by the fact that it's just a static website generated with Jekyll.

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

Did it for the first time two years ago. It was for my parent's business website. I see nothing wrong with this method.

[–] TechNerdWizard42 7 points 6 months ago (1 children)

You will pry ftp from my cold dead hands.

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

Can you use sftp instead? Pwease? 🥺

load more comments (1 replies)
[–] zzx 6 points 6 months ago (2 children)

This is how I deployed an app less than 5 years ago (healthcare).

It's sad

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

I am currently updating a minecraft server soooooo

load more comments (6 replies)
load more comments
view more: next ›