Earlier quoted context omitted.
It's coming for us, too. It won't be long before most software engineer positions are eliminated while some are replaced by software "technicians" with enough expertise to command AI to generate working code. Perhaps the technicians will be tasked with building tests and some automation, but even that stuff can be delegated to AI to an extent. This may seem far off because the present economy is accustomed to paying…
> software "technicians" with enough expertise to command AI to generate working code People keep trying to make simplified programming environments for significantly less-trained people and they keep failing. Is mixing in an AI actually going to make it easier to get a result that has no crippling bugs?
I replaced all our blog thumbnails using DALL·E 2
51–60 of 338 posts
Re: I replaced all our blog thumbnails using DALL·E 2
#52Earlier quoted context omitted.
Fwiw, in my experience you don't actually need a CDN just to survive HN. It may be enough to just make sure you're not hitting a DB on every request; ideally you'd be caching the HTML output wholesale (via static site generator or otherwise) For reference: with cached HTML, my single Node.js process running on Heroku's cheapest tier has weathered the front page multiple times without breaking a sweat
I switched backends a bunch of times because everything I tried (Go stdlib HTTP, Tornado, etc.) kept getting taken out whenever I would hit the front page, either due to CPU overload or some sort of resource leak. I ended up using Warp+Wai+Servant ( https://github.com/yesodweb/wai ) and it has been smooth sailing since then off my $3/mo VPS. It can take thousands of req/sec without flinching (which is higher than wha…
Re: I replaced all our blog thumbnails using DALL·E 2
#53Earlier quoted context omitted.
Just curious, is there any general number range for how much traffic a front page post might get? Less than 10k, 10-100,000, 100,000+, etc
I'll see on the order of 10k-25k hits (hard to say exactly, most of HN uses adblockers/tracker blockers and I use CloudFlare for caching) from an article on the HN frontpage. It's not that bad, and I could almost certainly serve it off my colo'd server without any trouble - bandwidth just isn't that high. But as my blog is entirely static (except for the comment threads, hosted on my Discourse forum), I just let Clou…
Expect to see a bunch of bots. I tried setting up server-side analytics for a WordPress-based website, but I had to get rid of it as the bot traffic made it essentially useless.
Re: I replaced all our blog thumbnails using DALL·E 2
#54Use a good backend (I recommend Servant+Warp or Snap - the only two I've tried that could handle it, out of probably 15 popular options tested) or a good caching reverse proxy (insofar as such a thing can be said to exist) and/or a CDN.
Re: I replaced all our blog thumbnails using DALL·E 2
#55Suggestion for the next blog entry: How my blog post going viral on Hacker News pushed me to finally use a CDN
Re: I replaced all our blog thumbnails using DALL·E 2
#56You should've invested in CloudFront first because your site isn't loading.
Re: I replaced all our blog thumbnails using DALL·E 2
#57You should've invested in CloudFront first because your site isn't loading.
Re: I replaced all our blog thumbnails using DALL·E 2
#58Am I one of the few people who finds these generated pictures really bad? They often have weird and unsettling details when you look closely. I mean, it’s an incredible achievement in AI that we can generate images at this level, but I don’t want them shown to me on a daily basis while I’m reading blogs.
Re: I replaced all our blog thumbnails using DALL·E 2
#59Earlier quoted context omitted.
I switched backends a bunch of times because everything I tried (Go stdlib HTTP, Tornado, etc.) kept getting taken out whenever I would hit the front page, either due to CPU overload or some sort of resource leak. I ended up using Warp+Wai+Servant ( https://github.com/yesodweb/wai ) and it has been smooth sailing since then off my $3/mo VPS. It can take thousands of req/sec without flinching (which is higher than wha…
Did you use some software/service for load-testing the alternatives?
Re: I replaced all our blog thumbnails using DALL·E 2
#60You should've invested in CloudFront first because your site isn't loading.
Just curious, is there any general number range for how much traffic a front page post might get? Less than 10k, 10-100,000, 100,000+, etc
If your website is a collection of static files and you're hosting them on S3+CloudFront or something similar (GitHub pages works too), then it'll work without any issues and cost pennies for the whole thing.