Readit News logoReadit News
mtalhaashraf commented on The demise of the mildly dynamic website (2022)   devever.net/~hl/mildlydyn... · Posted by u/thunderbong
decasia · a year ago
I think the spirit of this article is correct, although some of the digs at modern web tech and SPAs seem to be beside the point.

I used to have a "mildly dynamic website." It was a $5 digital ocean box. It ran nginx with php-fpm, mostly so it could have a Wordpress install in a subdirectory, and it had a unicorn setup for an experimental Rails app somewhere in there.

Given that environment, the "mildly dynamic website" experience that TFA talks about was absolutely true. If I wanted a simple script to accept form input, or some little tiny dynamic experimental website, I could trivially deploy it. I could write PHP (ugh) or whatever other backend service I felt like writing. I ported the Rails app to golang after a while. It was fun. It made for a low cost of entry for experimental, hackish things. It's a nice workshop if you have it.

The thing is — if you are running this setup on your own linux virtual machine — it requires endless system maintenance. Otherwise all the PHP stuff becomes vulnerable to random hacks. And the base OS needs endless security updates. And maybe you want backups, because you got lazy about maintaining your ansible scripts for system setup. And the price of the $5 virtual linux box tends to go up over the years. And the "personal website" model of the web has kind of declined (not that it's altogether dead, just marginalized by twitter/facebook).

So I got exhausted by having to maintain the environment (I already do enough system maintenance at work) and decided to switch to static HTML sites on S3. You can't hack it anymore. But so far — I can live with it.

mtalhaashraf · a year ago
I tried S3 for my static HTML site but the problem is my personal website gets infrequent visitors and for each visit the first load is always slow probably because my website gets moved from memory to disk. The thing is, my website is less than 20KB and I don't like it to be slow for all the users just because it is infrequent. Managing my own server allows me to lock my website into memory.
mtalhaashraf commented on Shortest Guide on How to Do a Startup   talhaashraf.com/startup.h... · Posted by u/mtalhaashraf
mtalhaashraf · a year ago
Having read hundreds of books on startups and all of the essays of Paul Graham and having watched all of the videos of Startup School and having worked as en early employee at a YC startup, I've written this as the shortest guide on how to do a startup. I think the guide is complete. If you think it is missing something, please let me know.

Deleted Comment

mtalhaashraf commented on Ask HN: How much do you contemplate per week?    · Posted by u/jereees
mtalhaashraf · 4 years ago
A lot. Find it impossible to listen to music because I start thinking and then have to turn the music down to focus on my thoughts.

One thing I've noticed is that thinking is like a habit. It does not matter what topic I think about, I can sit there and be in my thoughts for days and sometimes even weeks.

mtalhaashraf commented on Efficiency Is the Enemy   fs.blog/2021/05/slack/... · Posted by u/tmfi
mtalhaashraf · 4 years ago
I see slack in my personal life as having unplanned periods of time. I think it's really important for improvement to have some free time everyday that is not dedicated for a specific thing.

Because there are so many things we don't know and also many things we don't know that we don't know. So I make sure that I have enough slack in my day to allow some random digressions

mtalhaashraf commented on Google penalizes you for using Google Analytics   blog.simpleanalytics.com/... · Posted by u/twapi
mtalhaashraf · 4 years ago
I'm using Google Analytics to track pageview count on a website and it does appear to add around 0.4sec to Time-To-Interactive of the PageSpeed score.

And the GA script size is about 40KB.

u/mtalhaashraf

KarmaCake day7November 17, 2019
About
talhaashraf.com https://www.linkedin.com/in/engtalha https://x.com/m_talhaashraf
View Original