3 ms·
Someone from my dads office gave my some printed pages about ASP from MS. Until that time I was doing all my web dev in Perl (it was basically either that or c)
by tluyben2 5y ago
Someone from my dads office gave my some printed pages about ASP from MS. Until that time I was doing all my web dev in Perl (it was basically either that or c) with print "<HTML><BLINK>hello... et. After reading about ASP, I concocted my own miserable php-like thing in perl where you could put perl code in between <% %> to add logic. I tried to find the code (I have it somewhere in dropbox, I'm sure), but I remember I failed at doing it reliably with regexes, so I made a while(1) loop finding all open <% and close %>, escaping the html before and after, printing it and adding the code in between. It was only a handful of lines and worked really well; I wrote a lot of cgi for my clients with it.
But it was slow (even after adding cache) and it need quite a bit of setup and libraries (CPAN with my own layers to make it easier to use), so I was very happy when I discovered PHP 3 (I did not know it existed before that).
Good memories; deploying a site cheaply by scp/rsync the files.
- johnchristopher 5y ago> Good memories; deploying a site cheaply by scp/rsync the files. Well. I have a minio instance running for static small sites, every time I wanted to create a new bucket I had to re-read my own notes and fiddle around for half an hour with s3cmd and mc before getting something live. Today I threw the things out and started using scp again. It's much easier, it's not in the way.
- Masterd089 5y agoHave you tried IaaC Tools like terraform?
- tluyben2 5y agoBut how is that easier than just uploading your files though? And it is more expensive, more overhead, more setup etc. Depends on the use case but for some things (like a personal or small company site), why would you over engineer it?
- johnchristopher 5y agoNo, I don't have yet a use-case for it. It'd be a bit overkill for what I need. I originally set up minio because I wanted to test out some backup solutions relying on S3 but I didn't want to use amazon (can't remember why). Turns out minio is great but not a 1:1 S3 clone and not every app can swap out amz for minio anyway. I was thinking reading about ansible soon though.