🌈 ESP32-S3 Rainbow: ZX Spectrum Emulator Board! Get it on Crowd Supply →
View All Posts
read
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi

The last post I wrote made it onto Hacker News - a very popular site for nerds and geeks. At one point it was number 2 which is pretty impressive.

Hacker News

In the space of one day the site received over 45,000 requests for the page, and according to my logs that was over 29,000 unique IP addresses. To put that into perspective here’s the daily stats from Google Analytics for december:

Daily Views From Google Analytics

This sudden influx of people is known as the ā€œHacker News Effectā€. For a lot of websites - especially ones that have complex functionality - this can cause the site to completely collapse and stop serving traffic. Fortunately for my blog, there’s not really an issue, it’s s statically generated site made using Jekyll, so it’s just plain HTML, CSS and images. I’m also hosting my site on Amazon AWS and serving everything via CloudFront, so in theory, it should be able to handle a lot of traffic.

It’s also pretty cheap to run - I had a look at the costs around the time period and in total it was about 12 cents.

AWS Costs

I’m sure there are even cheaper ways to host the site, but this is what I’m used to and it works well enough for me.

I did recently set up traffic logging on CloudFront, which means I’ve got some quite nice logs of the hacker news effect. Using the IP-Addresses from the logs we can work out the approximate location of the requests. It’s not always perfect - but it does get you pretty close to where the traffic is coming from - though sometimes all you can get is the country.

It’s pretty interesting to see the world light up as people get out of bed and check the latest news.

You can watch a really nice animation of this at the end of this video.

And you can play with the map here.

Related Posts

Welcome to Jekyll! - Just switched the blog to github pages and jekyll. A new journey begins!
I was wrong - we've not reached peak ChatGPT hype yet... - Strap yourselves in, folks, we're in for a wild ride! ChatGPT's new API has reignited my excitement for Large Language Models, just like the start of the dot com boom. With the pricing now 10 times cheaper, a flurry of creative and previously unthinkable use cases is within our grasp. Despite earlier doubts, I now believe we're scaling the peak of inflated expectations. Can't wait to see the innovative applications that will spring from this!
ChatGPT Plugins - First Impressions and Stats - Now having been two weeks since the release of my Chess plugin on the ChatGPT plugin store, I've decided to share some preliminary stats & thoughts. Initially achieving a day high of 1,800 games, we unfortunately experienced a user drop-off while the plugin was temporarily unverified. The plugin's return saw fewer users, likely due to an influx of new plugins. Despite this, I'm enthusiastic to see an average of 10 moves per game, with many players managing to beat the AI. The operating costs are minimal, mostly carried by storing secrets on AWS Secrets Manager. There's room for improvement such as plugin discoverability on the store, but I anticipate positive developments ahead.
Using ChatGPT for home automation - In another thrilling adventure with ChatGPT, I endeavored to integrate it with a Raspberry Pi, effectively turning it into my own personal light switch. My custom ChatGPT plugin, sporting just two endpoints, could revolutionize how we handle APIs, as it managed to control five different lights with simplicity and style. With a dash of YAML magic, ChatGPT managed to deduce the entire process, paving the way for future smart home projects. Big or small, the potential applications are endless and might even lead to computers communicating in human language!
BBC iPlayer - updated sample code - Hey there, just a quick update to let you know I've whipped up a new demo using the RSS feeds from the iPlayer site. It locates URLs and takes advantage of the webview to play the movies out, pretty neat huh? Just a reminder, you'll need the iPhone SDK and tool chain to get this project up and running, and remember, it's a rough around the edges, so use with caution. Be sure to check out the original blog post for more insight. Just a heads up, don't expect to see this app on the iTunes store anytime soon, the BBC might not be too thrilled about it...

Related Videos

The Hacker News Effect - The Website Didn't Catch Fire - Let's look at the traffic - Witness the Hacker News effect in action as the author's blog skyrocketed to popularity, easily handling massive traffic thanks to efficient hosting and Cloudfront!
Crowd Funding Success? I must be rich! - Hey guys! So, I wrapped up my ZX Spectrum crowdfunding project, and boy, it was quite a ride! The campaign went gangbusters with 146% funding, and I shipped everything out. Total revenue was Ā£12,839.57, but after costs, I pocketed a neat Ā£4,273.91—though, spoiler, that's before considering my labor! There was quite a learning curve understanding COGS, pricing strategies, and the hidden costs of hardware projects. It took about 13 months from idea to fulfillment, and I amassed 436 hours of work! I discussed vital strategies like working with distributors and how PCBs' cost plummets with bulk orders. Plus, the unknowns, like tariffs, which almost threw a wrench in the works. Stick around for the deets, and maybe you'll pick up a tip or two for your own crowdfunded adventures!
Forget the Arduino Serial Plotter - try this instead! - Hey everyone! So, you're probably familiar with the Arduino serial plotter, right? It's useful for basic stuff, but I wanted something better, more cross-platform, and runs right in the browser. Enter the web serial plotter, using the web serial API! It's super flexible with zoom, export options, and light/dark mode. You can even pan through history or switch to absolute time. Plus, it's all secure and runs locally. It's open source, and I'd love your contributions or bug reports on GitHub. It's still a work in progress, but I think you'll find it pretty handy!
Most Interesting Addressable LEDs that I've Ever Seen - So, I got this nifty 2x2 meter 400 LED curtain and immediately went to work dismantling it. The LED strands are tapped off the main wire, rather than daisy-chained, which is a departure from the norm. Turns out, these LEDs are pre-programmed, allowing them to intelligently latch onto the right serial data. Unraveling the control unit, we see an IR receiver and other key components responsible for driving the LED strings. Despite my misgivings about deciphering in-built Bluetooth characteristics, I hooked the circuit back up with our dependable WLED software and got some amazing grid patterns. Interestingly, the LEDs operated smoothly at 3.3V. All in all, a fun exploration of hacking this LED curtain.
ESP32-S3 ZX Spectrum - Full Color Silk Screen is really cool! - Super stoked to share this creation – an ESP32 ZX Spectrum emulator! Although it's still very much a proof-of-concept, it's looking pretty rad. I've got the classic games like Manic Miner, and yes, you can program in basic too! In perfect Sinclair fashion, I'm planning on selling this key piece of nostalgia for just Ā£99. Work still needs to be done before the production phase, but rest assured, I'm meticulously working out the kinks, including tweaking the keyboard to ensure even better user experience. And on the technical side - a single ESP32S3 runs the show and we’ve multiplexed the keys exactly like the OG Spectrum. It's been great fun designing this piece of kit with the new full color silk screen printing from PCB way. Stay tuned for further updates!
HELP SUPPORT MY WORK: If you're feeling flush then please stop by Patreon Or you can make a one off donation via ko-fi
Want to keep up to date with the latest posts and videos? Subscribe to the newsletter
Blog Logo

Chris Greening


Published

> Image

atomic14

A collection of slightly mad projects, instructive/educational videos, and generally interesting stuff. Building projects around the Arduino and ESP32 platforms - we'll be exploring AI, Computer Vision, Audio, 3D Printing - it may get a bit eclectic...

View All Posts