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

Programmer Humor

19572 readers
1807 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@programming.dev 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?

[–] tiramichu@lemm.ee 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.

[–] 30p87@feddit.de 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 :(

[–] Poiar@sh.itjust.works 28 points 4 months ago

Old soul :)

[–] tiramichu@lemm.ee 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 :)

[–] xtapa@discuss.tchncs.de 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)
[–] jet@hackertalks.com 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.

[–] tiramichu@lemm.ee 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)
[–] trustnoone@lemmy.sdf.org 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.

[–] ed_cock@feddit.de 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)
[–] blackn1ght@feddit.uk 18 points 4 months ago

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

[–] Wangus@lemmy.world 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)
[–] annoyed_onion@lemmy.world 61 points 4 months ago (1 children)
[–] dohpaz42@lemmy.world 11 points 4 months ago (2 children)

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

load more comments (1 replies)
[–] EnderMB@lemmy.world 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...

[–] FQQD@lemmy.ohaa.xyz 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@programming.dev 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)
[–] Shadow@lemmy.ca 43 points 4 months ago (2 children)

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

[–] ashitaka@lemmy.world 28 points 4 months ago (3 children)

No way, WS_FTP was more OG.

[–] HAL_9_TRILLION@lemmy.dbzer0.com 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.

[–] Shadow@lemmy.ca 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)
[–] arandomthought@sh.itjust.works 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)
[–] ArtVandelay@lemmy.world 28 points 4 months ago (1 children)

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

[–] Opisek@lemmy.world 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)
[–] Krakaval@jlai.lu 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)
[–] fmstrat@lemmy.nowsci.com 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.

[–] BoneALisa@lemm.ee 15 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)
[–] bravesilvernest@lemmy.ml 18 points 4 months ago (1 children)
load more comments (1 replies)
[–] probableprotogen@lemmy.dbzer0.com 13 points 4 months ago

FTP and rsync my beloved

[–] brlemworld@lemmy.world 13 points 4 months ago (3 children)

I never liked FileZilla. I used Cyberduck

[–] poo@lemmy.world 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)
[–] lurch@sh.itjust.works 12 points 4 months ago

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

[–] finkrat@lemmy.world 12 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!)

[–] SplashJackson@lemmy.ca 12 points 4 months ago (1 children)

I used CuteFTP, but I am a gentleman

[–] sverit@lemmy.ml 11 points 4 months ago

"Felt cute, might transfer files later, idk"

[–] Fades@lemmy.world 10 points 4 months ago (1 children)
load more comments (1 replies)
[–] bigboismith@lemmy.world 10 points 4 months ago (3 children)

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

[–] expr@programming.dev 5 points 4 months ago

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

load more comments (2 replies)
[–] kuberoot@discuss.tchncs.de 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)
[–] umbraroze@lemmy.world 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.

[–] abbadon420@lemm.ee 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.

[–] TechNerdWizard42@lemmy.world 7 points 4 months ago (1 children)

You will pry ftp from my cold dead hands.

[–] JackbyDev@programming.dev 6 points 4 months ago (1 children)

Can you use sftp instead? Pwease? 🥺

load more comments (1 replies)
[–] zzx@lemmy.world 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)
[–] Kedly@lemm.ee 5 points 4 months ago (6 children)

I am currently updating a minecraft server soooooo

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