4 ms·
Wow! A blast from the past. I started my career in the mid-90s writing software with exactly this same stack.
by yawz 9y ago
Wow! A blast from the past.
I started my career in the mid-90s writing software with exactly this same stack.
- stcredzero 9y agoI started with something built on the CGI.pm Perl module.
- Nursie 9y agoYou might be surprised (or horrified) how much is still out there...
- yawz 9y agoNow... If this is true, it is scary indeed :).
- macintux 9y agocgic was a great library, even if it was still excruciatingly tedious to write. I'm not entirely certain whether I discovered cgic or Perl first, but I know which one I preferred writing.
- derefr 9y agoIt's funny—you just need a cgi-bin: 1. with 1777 permissions (sticky bit set); and 2. rsynced between a cluster of systems; and you've got a modern Function-as-a-Service backend.
- sehugg 9y agoAnd of course you want to use a flat file database on an NFS server, maybe using some cool flock()s to synchronize writes :)
- smueller1234 9y agoOnly to then realise that naive flock() won't cut it on your basic NFS setup so you resort to bizarre tricks like using hard links to the lock file to emulate proper locking on NFS because they can tell you which of the racing clients won. Those were good times... right?
- lscotte 9y agoI think you mean setuid bit. The sticky bit (on binaries) went away when we got VMM/swap.
- derefr 9y agoNo, I'm talking about the sticky bit for directories: see https://en.wikipedia.org/wiki/Sticky_bit#Usage https://en.wikipedia.org/wiki/Sticky_bit#Usage and https://en.wikipedia.org/wiki/Setuid#sticky_bit https://en.wikipedia.org/wiki/Setuid#sticky_bit