Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by joshstrange on Wednesday April 10, 2024 @09:46AM
(#39990693)
I look back on my early web dev career where source control was something unheard of as were dev environments. In fact we regularly edited code live on prod server to debug/develop. Looking back I just shudder thinking about it.
[ Parent
| on HN ]
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by toast0 on Wednesday April 10, 2024 @12:37PM
(#39992696)
Everybody has a dev environment and a staging/qa environment. Places with better processes just have them so they're separate from production. :p
IMHO, it's better to be a cowboy and reluctantly follow 'best practices' for the most part, than to be a 'best practices' person and be unprepared to be a cowboy when it's needed.
Sometimes, the best way forward is to force an update on production, even if the only method you have is modifying the executable on disk, while it's running. It's mmaped, so you can do this. But you wouldn't know this if you hadn't broken production by using cp instead of install to update a binary you wanted to modify for the next load.
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by lelandfe on Wednesday April 10, 2024 @11:50AM
(#39992073)
Worked for an agency that edited sites cowboy style over FTP, and whose “backup plan” for all agency data was a 500gb NAS. I found out that the designer just edited files directly on the NAS, so there was no backup. Classic.
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by donatj on Wednesday April 10, 2024 @09:53AM
(#39990763)
Yup. We worked on a shared SMB server that had nightly backups. If we borked something bad enough to need to pull one of the backups it was an ordeal that involved calling (on the telephone) and potentially waking our IT guy who lived in Juneau Alaska
Putting a site live just involved FTP-ing the files up to one our shared webservers.
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by Foobar8568 on Wednesday April 10, 2024 @12:37PM
(#39992694)
Say hi to most DWH, DB developments...
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by stuaxo on Wednesday April 10, 2024 @10:34AM
(#39991161)
Numbered folders for version control sftp up to the live server.
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by uxamanda on Wednesday April 10, 2024 @12:51PM
(#39992856)
"/site-final2" "/site-final-final-4"
Re:A cheeky intern nearly turned MS-DOS into NSFW-DOS
by IggleSniggle on Wednesday April 10, 2024 @03:15PM
(#39994644)
"/site-final-final-4.bak--prod3-rc0-23.live (1)"