This entire website is hosted on a disposable vape so think twice before throwing one in the trash

By Alex Chen | January 01, 0001

During what one might have called my degenerate heyday, I got to the point in my nicotine addiction where I was rinsing through enough disposable vapes to make even the most hardened environmentalist queasy. So colour me thoroughly disappointed that I could have been turning all those horrible little plumage devices into websites once they'd ran out of juice.

Don't believe me? Just check out ewaste.fka.wtf. That website is hosted on the microcontroller from a disposable vape, and it's surprisingly snappy. Some disposable vapes come with a surprising amount of tech packed into them, including screens and microcontrollers.

As BogdanTheGeek, the person who made the vape-powered site, says: "I wouldn’t want to be the lawyer who one day will have to argue how a device with USB-C and a rechargeable battery can be classified as 'disposable'."

Arm Cortex M0+ architecture diagram

(Image credit: Arm)

Once all this was set up and BogdanTheGeek had done a bit of file system modification with Perl, u31 เครดิตฟรี 188 the website was up and running.

Initially it was slow, "A simple page took over 20 seconds to load. That’s so bad, it’s actually funny, and I kind of wanted to leave it there."

We might think that slowness is just because of the hardware itself. After some detective work, BogdanTheGeek found that the PUYA ASIC had 24 KiB of flash and 3 KiB of RAM: "The extra flash meant that it was more likely a PY32F002B." The Arm Cortex M0+ in this microcontroller runs at just 24 MHz.

In fact, it turned out that the reason it was slow isn't because of u31 เข้าสู่ระบบ this but because "the first implementation read and wrote a single character at a time … it was serialising the data byte by byte."

But "we have a whopping 3kiB of RAM to play with, so I added a ring buffer to cache reads from the host and feed them into the SLIP poll function. I also split writes in batches to allow for escaping."

The result: "Pings now take 20 ms, no packet loss and a full page loads in about 160 ms. This was using almost all of the RAM, but I could also dial down the sizes of the buffer to have more than enough headroom to run other tasks."

It's certainly a better use for the dead devices than clogging up landfill. So get thinking folks, what tiny sites do you want to host? Oh, and don't vape!

Secretlab Titan Evo gaming chair in Royal colouring, on a white background
Best PC gaming kit 2025

1. Best gaming chair: Secretlab Titan Evo

2. Best gaming desk: Secretlab Magnus Pro XL

3. Best gaming headset: HyperX Cloud Alpha

4. Best gaming keyboard: Asus ROG Strix Scope II 96 Wireless

5. Best gaming mouse: Razer DeathAdder V3 HyperSpeed

6. Best PC controller: Xbox Wireless Controller

7. Best steering wheel: Logitech G Pro Racing Wheel

8. Best microphone: Shure MV6 USB Gaming Microphone

9. Best webcam: Elgato Facecam MK.2


👉Check out our list of guides👈

3 Reader Comments

JackpotHero9147

I really enjoy playing the slot games here. The variety is amazing, from classic reels to modern video slots with interactive bonus rounds. Every spin feels like an adventure, and the graphics and sound effects are top-notch, making the experience immersive and exciting. I appreciate the themed slot games, especially those based on movies and TV shows. They make the gaming experience more engaging and immersive. The combination of storyline, visuals, and bonus features makes each game feel unique.

ReelFanatic6620

The progressive jackpots are thrilling, and it's exciting to watch the jackpot amounts grow as more players spin the reels. I hope they add even more jackpot slots because it adds a lot of excitement to the gameplay. Customer support has been outstanding whenever I had any issues. They respond quickly and professionally, ensuring that any concerns with deposits, withdrawals, or gameplay are addressed immediately, which makes me trust the platform more. I really enjoy playing the slot games here. The variety is amazing, from classic reels to modern video slots with interactive bonus rounds. Every spin feels like an adventure, and the graphics and sound effects are top-notch, making the experience immersive and exciting.

ReelFanatic6816

Sometimes I wish there were more ways to earn rewards through loyalty programs or frequent player bonuses. Adding seasonal events or special challenges could enhance the excitement even further. The payout process is generally smooth and reliable, though occasionally it takes longer than expected. Overall, I feel confident that my winnings are safe and will be credited properly. I really enjoy playing the slot games here. The variety is amazing, from classic reels to modern video slots with interactive bonus rounds. Every spin feels like an adventure, and the graphics and sound effects are top-notch, making the experience immersive and exciting.

Recommended Reading

Is this the Video Game Mount Rushmore_

Pwn or Die have come up [[link]] with a good bar argument: The four faces on a hypothetical Mount Rushmore of video gaming. The four they’ve chosen are good, but are they the best choices? As you can see in th...

Iwata Asks, Rhythm Heaven Team Overshares

Nintendo top man Satoru Iwata subjects the creative team [[link]] behind Rhythm Heaven/Rhythm Tengoku to a five part, comprehensive deconstruction of all of the development processes put into this franchise. I...

Japanese Console Sales Plummet Again, But PS3 Closing Gap With Wii

Japanese gamers just aren’t buying hardware right now. Sales are way, way down from the same point last year, with [[link]] the PSP selling at half the rate and the Wii at a mere quarter. http://kotaku.com/356...