this post was submitted on 22 Jun 2024
729 points (98.7% liked)

Programmer Humor

19453 readers
69 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 1 year ago
MODERATORS
 
top 50 comments
sorted by: hot top controversial new old
[–] stembolts 106 points 4 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] 124 points 4 months ago* (last edited 4 months ago) (10 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] 42 points 4 months ago (11 children)

manually FTPing the files up to the server seems ridiculously antiquated

But ... but I do that, and I'm only 18 :(

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

Old soul :)

[–] [email protected] 14 points 4 months ago* (last edited 4 months ago)

That's probably okay! =) There's some level of pragmatism, depending on the sort of project you're working on.

If it's a big app with lots of users, you should use automation because it helps reliability.

If there are lots of developers, you should use automation because it helps keep everyone organised and avoids human mistakes.

But if it's a small thing with a few devs, or especially a personal project, it might be easier to do without :)

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

It's perfectly fine for some private page etc. but when you make business software for customers that require 99,9% uptime with severe contractual penalties it's probably too wonky.

load more comments (8 replies)
[–] [email protected] 13 points 4 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 4 months ago* (last edited 4 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 (8 replies)
[–] [email protected] 27 points 4 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 4 months ago* (last edited 4 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 4 months ago

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

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

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

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

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

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

One could argue the requirements have changed because the security and compliance part of the world finally caught up to modern software delivery concepts. Even the most dinosaur apps at compliant orgs are being dragged kicking and screaming into new CI/CD tools where applying governance and custody chains and permissions and approvals are all self documented automated hooks.

load more comments (1 replies)
[–] [email protected] 57 points 4 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] 51 points 4 months ago (4 children)

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

[–] RonSijm 15 points 4 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] 43 points 4 months ago (2 children)

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

[–] [email protected] 28 points 4 months ago (3 children)

No way, WS_FTP was more OG.

[–] [email protected] 17 points 4 months ago* (last edited 4 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 4 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 4 months ago (1 children)

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

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

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

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

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

load more comments (1 replies)
[–] [email protected] 27 points 4 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 4 months ago* (last edited 4 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] 16 points 4 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 4 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 13 points 4 months ago* (last edited 4 months ago)

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

(Please at least use SFTP!)

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

FTP and rsync my beloved

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

I never liked FileZilla. I used Cyberduck

[–] [email protected] 8 points 4 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] 12 points 4 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 4 months ago (1 children)

I used CuteFTP, but I am a gentleman

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

"Felt cute, might transfer files later, idk"

[–] [email protected] 10 points 4 months ago (3 children)

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

load more comments (3 replies)
[–] [email protected] 10 points 4 months ago (1 children)
load more comments (1 replies)
[–] [email protected] 8 points 4 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)
[–] [email protected] 8 points 4 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 4 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.

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

You will pry ftp from my cold dead hands.

[–] JackbyDev 6 points 4 months ago (1 children)

Can you use sftp instead? Pwease? 🥺

load more comments (1 replies)
[–] [email protected] 6 points 4 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] 6 points 4 months ago

Oh please, you didn’t even have to turn the cassette or floppy disc over. You and your luxuries.

load more comments
view more: next ›