Live data from Hacker News

Hosting a website on a disposable vape

bogdanthegeek.github.io

161–170 of 493 posts

Re: Hosting a website on a disposable vape

#161

Earlier quoted context omitted.

What about Smoke Detectors, since they too are a disposable electronic?

You throw away your smoke detector? Just replace the battery. My guy is out here pulling off the whole thing and tossing it in the trash.

Modern smoke detectors, at least here in the US, have a 10-year sealed non-replaceable battery.

Re: Hosting a website on a disposable vape

#162
post #136

Talking of cheap and powerful devices one can also look at Chinese UZ801 4G LTE (Qualcomm MSM8916) dongles. They cost like only $4-5 and pack quite impressive HW: 4GB eMMC, 512MB RAM, actual 4G modem sometimes with 2 sim switching support. Since it's actually old Android SOC there is even GPU and GPS in there. And a lot of work was already done on supporting them: https://wiki.postmarketos.org/wiki/Zhihe_series_LTE_d…

I've found [1] to be the best guide for getting started with them; you need to make a copy of the firmware partitions that you re-flash after installing Linux onto it in order to get the 4G modem working. It's honestly absurd how much you're getting for a fiver with it; add a power bank (or make your own from scavenged vape batteries in the spirit of this post) and you have a full Linux machine with WiFi and 4G that can work almost anywhere.

[1] https://wvthoog.nl/openstick/

Re: Hosting a website on a disposable vape

#163

Earlier quoted context omitted.

The micro in this thing is a WQFN-16 (W = very very thin, thinner than V for very) with 3x3x0.75mm body. That's around a fiftieth of a gram of plastic. I think the bigger SOIC chip is probably the battery charge IC. And then maybe a gram or two of PCB epoxy. And the plastic in the battery pouch and membranes which you need anyway. In terms of plastics waste volume, the casing and tank is probably nearly all of the co…

The mfg/mining process for the chips is probably equally bad. All for a device to help you develop health problems.

There's more silicon in the battery charge controller probably (bigger transistors). The MCU is just a speck. Ironically making these disposable vapes "reusable" causes more e-waste as now they need a connector and charge controller and a bigger PCB.

Re: Hosting a website on a disposable vape

#164
post #129

I am happy they demonstrated how useful these devices are. Marking these as "disposable" is a kind of insanity. I recovered a few of them "disposed" (i.e. "randomly thrown away into") in an empty flower pot, and took out the LiPo batteries from them -- which are rechargeable, and have charge circuitry (non-trivial for LiPos). That we somehow decided that it's OK to design these to be used only once feels wrong. This…

There's a pretty amazing video where a guy makes an entire functioning e-bike battery out of disposable vapes that he gathered around a music festival. https://www.youtube.com/watch?v=VcVp9T8f_W4

I can't fathom why disposables are legal. Really believed that the post-boomer generations actually gave a damn about waste.

Re: Hosting a website on a disposable vape

#165
post #85

Re-using this sort of device is super cool. I can imagine a post-apocalyptic scenario where a city is run on a hodgepodge of random computing devices like this. I will say, though, disposable vapes with microcontrollers inside (and even full games and screens from recent reporting) are an egregious source of e-waste. Many layers of stupid are present here.

> "A merry little surge of electricity piped by automatic alarm from the mood organ beside his bed awakened Rick Deckard."

> Dick writes of the IoT being a source of vast-artificial-living-systems functioning on collective compute.

Re: Hosting a website on a disposable vape

#166
post #135
post #85

Re-using this sort of device is super cool. I can imagine a post-apocalyptic scenario where a city is run on a hodgepodge of random computing devices like this. I will say, though, disposable vapes with microcontrollers inside (and even full games and screens from recent reporting) are an egregious source of e-waste. Many layers of stupid are present here.

The fact that selling such a thing is profitable means that we lack regulations somewhere.

The fact something is profitable (even vices) does not mean it requires regulations, unless the regulation in mind is direct or indirect cap on profit margins?

Re: Hosting a website on a disposable vape

#167
post #85

Re-using this sort of device is super cool. I can imagine a post-apocalyptic scenario where a city is run on a hodgepodge of random computing devices like this. I will say, though, disposable vapes with microcontrollers inside (and even full games and screens from recent reporting) are an egregious source of e-waste. Many layers of stupid are present here.

Makes me think of these: https://duskos.org https://collapseos.org

How do I build a 6502 from just the elements?

Re: Hosting a website on a disposable vape

#168
post #93

I see that as of the time of this comment, he hasn't run Doom on it. Yet?

3kb of RAM and 24kb of flash is a bit tight for Doom unfortunately. It has been ported to another Cortex-M0+ microcontroller, the RP2040, but that has 264kb of RAM plus megabytes of flash and the game still barely fits.

3kb of RAM and 24kb of flash is a bit tight for Doom

You can play Doom on an Atari 2600: https://forums.atariage.com/topic/323152-doom-the-2600-demak...

Just need to outboard a little extra RAM.

Re: Hosting a website on a disposable vape

#170

Earlier quoted context omitted.

VPS with public ipv4, connected to home network over Tailscale and forward the traffic with socat. You'd probably be fine opening a port directly but a small VPS is free most places so might as well make the most of it.

Could you elaborate more on the "a small VPS is free"? Except Oracle's free tier offer, I am not aware of others; I'd appreciate it if you could point me in the right direction.

For this I used GCP free tier -- not sure why everyone acts like Oracle are the only free tier around when GCP and AWS offer always-free tiers too. It's just runing socat to forward to the vape over tailscale. Is there something I'm missing?
Post reply on HN