News for hackers. Stuff that matters.
Re:Halfbakery by johnnyforeigner on Friday November 10, 2017 @08:31AM (#15669719)
Half Bakery is some awesome old-skool internet stuff. Back in the late 90s it was one of my favourite haunts. Sadly they lost all their content somehow and didn't have a full backup so, funny though it is now, there was some epic stuff on the old site that is lost forever.
Re:Halfbakery by wpietri on Friday November 10, 2017 @10:21AM (#15670413)
Very old school indeed! From the about section: "The halfbakery software is implemented as one big C CGI program, edited with vi, compiled with gcc, invoked by an Apache http server."
Re:Halfbakery by yawz on Friday November 10, 2017 @11:13AM (#15670850)
Wow! A blast from the past. I started my career in the mid-90s writing software with exactly this same stack.
Re:Halfbakery by derefr on Friday November 10, 2017 @12:53PM (#15671601)
It'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.

Re:Halfbakery by sehugg on Friday November 10, 2017 @07:36PM (#15674285)
And of course you want to use a flat file database on an NFS server, maybe using some cool flock()s to synchronize writes :)
Re:Halfbakery by smueller1234 on Saturday November 11, 2017 @03:48AM (#15675546)
Only 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?
Re:Halfbakery by lscotte on Saturday November 11, 2017 @10:28AM (#15676697)
I think you mean setuid bit. The sticky bit (on binaries) went away when we got VMM/swap.
Re:Halfbakery by derefr on Saturday November 11, 2017 @02:00PM (#15677578)
Re:Halfbakery by macintux on Friday November 10, 2017 @12:49PM (#15671576)
cgic 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.
Re:Halfbakery by Nursie on Friday November 10, 2017 @12:44PM (#15671524)
You might be surprised (or horrified) how much is still out there...
Re:Halfbakery by yawz on Friday November 10, 2017 @01:23PM (#15671802)
Now... If this is true, it is scary indeed :).
Re:Halfbakery by stcredzero on Friday November 10, 2017 @12:35PM (#15671456)
I started with something built on the CGI.pm Perl module.
Re:Halfbakery by Analemma_ on Friday November 10, 2017 @10:50AM (#15670623)
For all the gripes about cloud computing, the fact that amateurs can set up a website but also have one-click backups and redundancy is worth something. There’s a lot of offbeat web history that’s gone forever because someone’s hard drive crashed.
Re:Halfbakery by 0xdeadbeefbabe on Friday November 10, 2017 @12:06PM (#15671238)
You'd think we'd have a shared hard drive today.
Re:Halfbakery by mlkmt on Friday November 10, 2017 @09:46AM (#15670144)
I remember browsing it in the 90s... remember any epic stuff from back then?
Re:Halfbakery by johnnyforeigner on Friday November 10, 2017 @04:59PM (#15673411)
Always loved "Film Noir House" where every room was wired such that it narrated whatever you were doing around the house, but in the style of a Film Noir movie... "He walked into the bedroom... switched on the light..."
Re:Halfbakery by yawz on Friday November 10, 2017 @11:17AM (#15670876)
Accepting the risk of being downvoted heavily...

Young men + new to browsing + some imagination = Pamela Anderson was epic by then.

Re:Halfbakery by 0xdeadbeefbabe on Friday November 10, 2017 @11:04AM (#15670765)
hamster dance