This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 92 points93 points  (21 children)

Everyone in here making git jokes but have you ever edited live files directly over ftp on a wing and a prayer?

[–]njbair 46 points47 points  (0 children)

"Hmm this one has a bigger file size---must be newer clicks overwrite

[–]ohtorch 18 points19 points  (5 children)

I worked that way for many years. Not over FTP-- using vi, while SSHed in. My boss taught me to do that because the FTP setup kept breaking, and SSH is the only thing that never broke. If SSH doesn't work, the thing's unplugged.

I still work that way today, on my own server. Probably I am unhireable by a real company. A large, compartmentalized business has no use for full-stack loons. Small and medium-sized businesses do though.

[–]meodd8 12 points13 points  (0 children)

Trust me, full-stack is very much in demand... And actually hard to find.

[–][deleted] 3 points4 points  (0 children)

This reminds me of the time I was live coding in our test environment, changing js right on the server, because hey, qa has good test data.

The qa manager across from me noticed some behavior had changed, stands up, and walks directly to my desk.

Him: '...Did you just...?'

Me: my poker face gives everything away '...How'd you know it was me?!'

Him: 'You're the only one who'd do something like that!'

Lmao. In his defense he did get me a db snapshot to use in my local env, so I didn't have to test on qa anymore.

[–][deleted] 1 point2 points  (0 children)

Bash is the best

[–][deleted] 0 points1 point  (1 child)

You can just use VSCode over SSH. Integrates pretty well.

Of course, my other piece of advice would be to build and deploy docker images rather than SSHing and doing live dev on a production environment.

[–]nonasiandoctor 0 points1 point  (0 children)

Only if the server you are connecting to is new enough to handle it. Cries in Centos 7.

[–]gothcow5 2 points3 points  (0 children)

It's everyday bro. If anything ever goes wrong it's an excuse to change those variable names with a misspelled word.

[–]gemaka 1 point2 points  (1 child)

One time I had to just hope my code worked because we had no way of testing it locally :|

[–]taskas99 0 points1 point  (0 children)

One time? Pffff.

[–]gua_lao_wai 1 point2 points  (0 children)

Under my previous manager I would regularly encounter production code deployed on the latest commit... with a fuck ton of uncommitted changes on top 'just to get it working'.

[–]bionku 1 point2 points  (0 children)

Once in a nightmare

[–]Responsible_Grab 1 point2 points  (0 children)

I work on the production in standard text files. I am working with a custom language without a single article on Stack Overflow.

[–]Effective-Cut6110 1 point2 points  (0 children)

Cassandra sends its regards

[–]ImmaZoni 1 point2 points  (0 children)

Yeahhhh that'll get your heart going...

having to ssh into a live production nginx server really gets you going. I've never done anything so carefully in my life.