this post was submitted on 22 Jun 2024
303 points (97.8% liked)

Programmer Humor

32410 readers
314 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
all 39 comments
sorted by: hot top controversial new old
[–] [email protected] 56 points 4 months ago* (last edited 4 months ago) (1 children)

This interface is laughably terrible. For one, everything should be tabs: you should drag files from one tab to another completely blind. For another, I can see the scrollbars which is just bad. Further, there should be a giant ad at the header/footer which shills bitcoin. Finally, the password field shouldn't be obscured but synced to our online Safe™ for easy retrieval at just 12.99 a month.

We've sure come a long way since those primitive days...

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

I genuinely wonder why MS hasn't added FTP to Windows Explorer in all these years. It would've fixed so many issues

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

explorer does have ftp support. not sure which windows version added it, but it's been a feature for a while.

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

It came with either Windows 2000 or XP.

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

At my first developer job 25 years ago, any time we made a change in the code we had to add a comment at the end of each modified line with our initials and the date, because we had no version control.

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

When I graduated from university in 2020, my classmates still zipped the entire project and dated it with "final", "final(2)", and "final-forrealnow". This is extra sad, because they did this in a class, where we were taught version control. Out of the 50-something people in my lab for that class, maybe like 3 people outside of me didn't express hatred for it

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

Oh, they are experienced seniors! I saw people zipping the package with: "project-new", "project-new(1)", "copy of project-new(1)"

/sarc 🤡

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

@dinckelman
That's a thing I never understood. Everyone knows this problem but until now ther isn't a single Filesystem for linux that support version control native.

@CoggyMcFee

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

That‘s how I still do it today, 'cause: no version control. 🙈 I wished I could use Git. But im my customer project there isn’t any…

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

there's absolutely no reason you can't use git

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

Yes, if your customers insist on storing the source files on IBM i in "QSYS.LIB" and you are not allowed to develop locally in you favorite IDE. The old "AS/400 developers" fight tooth and nail to store the source code in the in the database instead of "Integrated File System", so it's always a pain. 🤮 Fortunately there is IBM BOB which makes transfer really easy.

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

People calling this a horrible UI have clearly never used SAP...

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

I have never used SAP, I have used this extensively, I believe you

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

I personally am familiar with 2 organisations with millions of dollars in annual revenue that deploy critical line of business applications like this in 2024

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

Ftp deployments are supported in azure web apps too, and widely used.

I just came by an org recently that serves intermediate ca certs that way ¯\_(ツ)_/¯

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

With something like this, how do you handle the period of time while copying? I mean you can't really leave it running as it wouldn't be in a consistent state. A "under maintenance" page instead? Copy to a fresh folder and when done tell the webserver to serve the new location?

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

It depends. I've done it a few different ways:

  • YOLO: especially with thugs like PHP you only affect one page at a time and with low traffic the odds of a problem is small
  • Maintenance page: temporarily show a page. Some servers like IIS have this built in. Otherwise it's a simple update to httpd conf
  • In a cluster environment, just take the node you're updating out of rotation, and only update one node at a time.
  • Copy and switch like you suggested. Can be combined with any of the above and is a smart move if upload is slow or can be interrupted, or it's cumbersome to restore the old files

Edit: spelling

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

Tomcat 7.x is considered "fairly new" in my current company. Log4j didn't hit us because the libraries we used were ~~too old~~ stable.

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

Dude in 2022 I was working at a company that had the same password on all PCs because when your on holiday the others could access the code they deployed over ftp and did live debugging and sometimes development by checking the IP and execute the "debug" code when the IP matched the static IP of the company. They kicked me out a few weeks before my probation time was up. Looking back best thing I got out of there and found a better place.

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

Why did you get kicked out?

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

So there were only 5 ppl. At the company out of 11 that were actually fully paid a normal wage the rest were doing their apprenticeship so only like 600 - 1000 € p.m. And that's how the company made money. In Germany you have 6 months of probation when you start at a new workplace in these 6 months ether party can cancel the work contract without giving any reason after the 6 months are up the normal worker protection laws kick in and it's basically impossible to get fired without being grossly negligent. Anyhow I got let go 2 weeks before that period was up they said (for me the first time hearing it) that they "weren't satisfied with my performance" and that was that.

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

OMG, this is awful!!

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

What's this fancy shit? I need to mstsc into the Windows desktop and ctrl+c & ctrl+v a zip for IIS web deploy

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

Wait, 31 is an oldtimer ?!

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

The early twenties intermediate dev on my team was explaining the other week that if you remember a time before smartphones and broadband, you are old

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

My wife pointed out to me a couple of years ago that I was simultaneously the oldest person on our Dev team, and the youngest person in our church.

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

Plugging a modem into the POTS made them smart I say.

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

I use this to deploy stuff on my web server

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

Odd way to spell SideKick

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

SAP still seems to do it this way.

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

Still use it for my OG Xbox

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

Used to drag the zip file into the network drive, unpack it into the www folder (IIS restart triggered by a chance to the web.config file), and then used Beyond Compare to sync the changes across to the other server.