Website is hosted on a disposable vape

198 pointsposted 13 hours ago
by BogdanTheGeek

109 Comments

jrmg

12 hours ago

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”.

I thought the point of making them like this was that they technically are reusable, so they can sell them (to people who for some reason keep buying them and throwing them away!) in places where disposable vapes are banned.

Zak

12 hours ago

I'm confused by why anybody would buy one of these when entirely reusable versions exist, but then vaping seems unwise to me in general except as a way to quit tobacco.

jimmaswell

9 hours ago

Vaping nicotine doesn't seem that bad to me. AFAICT the dangers outside simple addictiveness are moderate lung irritation and cardiovascular effects, but no strong evidence of cancer caused by vaping alone - far better than cigarettes, and still better than an equivalent drinking problem.

dns_snek

5 hours ago

Vaping causes inflammation, nicotine suppresses the immune system (which is probably pretty bad news for fighting any other diseases), and nicotine cessation has been linked with an increase in development of autoimmune disorders in the 12-24 month period after quitting.

I had elevated white blood cells counts and I developed an autoimmune condition a few months after quitting vaping. I had good health record leading up to it and no family history of any autoimmune disorders. White blood cells eventually normalized but autoimmune is forever, although it's under control and I'm lucky that it was caught early.

In the final ~4 years of vaping I didn't use any flavorings either, just 70/30 mix of VG/PG and nicotine.

It's not terrible as far as vices go, much less harmful than the alternatives, but it's definitely not as harmless as I thought going in. I wish I hadn't started and went for the ADHD assessment right away instead of subconsciously self-medicating with nicotine.

gleenn

8 hours ago

I don't think adequate studies have taken a look into the long term effects of all the solvents and oils they use aside from the nicotine. Intuitively, this just seems like a terrible idea putting non-water-soluble vapors into your lungs but I am definitely not a doctor.

burgerone

6 hours ago

Vapes are practically unregulated with how many sre being imported from overseas. Health impacts have barely been studied yet.

xp84

8 hours ago

This is why to me it’s so damn disappointing to me that vaping is targeted so forcefully by the various scolds in the “regulate everything” camp when smoking isn’t yet eradicated. Things like banning flavor and stuff. They want it to be as unpleasant as tobacco, which reduces the likelihood of people switching from tobacco to vaping, killing many of those smokers as a way to “save” teens from taking up an overall not-very-dangerous habit.

dns_snek

4 hours ago

> They want it to be as unpleasant as tobacco

I vaped for around 8 years, about 4 years with typical flavorings and the last 4 years unflavored. IME unflavored vaping really isn't that bad, I accidentally switched to it because I ran out of flavoring one time and after a few days I didn't really miss them anymore so I just stopped using them.

I would compare it to people who drink soda all day, they can't fathom how people can drink "boring" plain water all day and they have a really hard time switching, but people who are used to drinking water find it as refreshing and satisfying as anything.

I think these flavorings cause more harm by luring young people to start vaping than they help smokers by luring them away from cigarettes. In an ideal world adults would be allowed to vape whatever they want, and teens wouldn't be able to get their hands on vapes in any capacity, but clearly that's not working so I think that flavor bans are a decent compromise.

I don't buy the argument that flavor bans will make teens go back to smoking. Cigarettes taste awful, they make you smell terrible, they irritate your lungs far more, they're far more expensive. If I was a teen I would still pick up unflavored vaping over cigarette smoking any time, but I'd be less likely to get into vaping without the flavorings.

afavour

7 hours ago

A counterpoint:

> A third of UK teenagers who vape will go on to start smoking tobacco, research shows, meaning they are as likely to smoke as their peers were in the 1970s.

> The findings suggest that e-cigarettes are increasingly acting as a “gateway” to nicotine cigarettes for children, undermining falling rates of teen smoking over the past 50 years.

https://www.theguardian.com/society/2025/jul/29/third-of-uk-...

guywithahat

7 hours ago

Maybe I'm just an old geeser but when I went back to grad school I was absolutely shocked at how many people vaped, and it seemed to have been because they started smoking flavored vapes. People would go to a party, either in high school or college, and the party would be permeated by some sweet smell. Curious kids/people would investigate, try vaping, and eventually get their own, becoming addicted.

As far as I can tell, banning flavored vapes has had a significant impact on reducing vaping/smoking new users, which is the ultimate goal. People who are currently addicted should primarily be motivated to quit, not find better tasting alternatives

rasse

7 hours ago

There are numerous other options for supporting smoking cessation that do not risk lung injury.

dns_snek

4 hours ago

Counter-point: For someone who's used to smoking or vaping, the craving to "take a puff" can be a very strong, maybe stronger than the chemical dependence on nicotine itself.

I noticed that in myself when I was trying to quit, vaping nicotine-free liquids helped my cravings more than nicotine itself. It didn't help the physical withdrawal symptoms but it mysteriously stopped the cravings for a while.

bloqs

11 hours ago

i have owned lots. they taste better than most permanent vapes. ive tried the whole buy all the best components and perfect juices etc with various tanks of different flavours. disposables just work and taste good, no leaks. they also have a logical end point like a pack of cigarettes. Its nice to switch flavour more frequently, and the packet/vape body colours pressed deep monkey brain buttons for fruit etc

reassess_blind

9 hours ago

Yeah, the sweetener they put in the disposables is like crack. If a liquid could replicate it then the switch to reusable would be a no brainer, but I never found one. Alas I switched to nicotine gum and haven’t looked back.

gilfoy

10 hours ago

Looking back, the Juul product seems preferable to the current situation

MarcelOlsz

10 hours ago

I did the math and Juul was 47x more expensive than the liquids (this is in Canada). Then I switched to the juice vapes, and finally to kick the juice vaping I picked up pipe tobacco. Pipe tobacco is way cheaper than cigs nevermind vapes, the highest quality, and tastes incredibly good (also, you can also get that "first cigarette headrush" every time if you like by inhaling, works every time).

kristianp

8 hours ago

I used to love the smell of my Grandfather's pipe smoke. I still enjoy the occasional 2nd-hand smell of a rollup. Is pipe tobacco different to rollies?

zxexz

6 hours ago

Substantially. It is way more coarse, usually much more moist as well. Tends to be more “pure” tobacco with less additives, though I’m sure that’s not universal. I know somebody who does not smoke but buys it to keep in cabinets and various drawers because they love the smell. I must admit I am partial to the smell as well.

helf

10 hours ago

[dead]

loumf

11 hours ago

But, then where would you host your website?

Ygg2

11 hours ago

Used milk carton. It probably has more TFlops than Commodore 64.

s-lambert

7 hours ago

In Australia you need a prescription to get nicotine liquid but every convenience store in any big city sells disposables illegally for cheap.

csomar

6 hours ago

Because reusable versions are a hassle. Cleaning, Charging, Changing Batteries, Changing liquid, etc. Whereas with reusable, well, you just puff and worry about nothing. Which is why people vape in the first place :)

bombcar

12 hours ago

Just like how places with bag bans often just end up with thicker plastic bags that can be sold for ten cents and claimed as “reusable.

orev

12 hours ago

They are reusable, which many people take advantage of. And it has dramatically reduced the number of tumbleweed bags clogging up nature.

privatelypublic

11 hours ago

Reasonable people already reused single-use bags. Trashcan liners, dog walk bags, cat scoop bags, etc.

Having recently been reminded that it used to be common to see eviscerated VHS tapes by roads, I've been reminded that we'll always have people who litter.

ViscountPenguin

11 hours ago

The majority of people reuse those bags, they're pretty great actually. Most people I know have slightly more expensive bags made out of fabric though.

pavon

8 hours ago

Not here. Standing in line at stores like target that have them I see maybe 1/20 people checking out in front of me bring in reused disposable sacks, while 15/20 leave with new ones. Certainly not enough reuse to justify the extra thickness.

bombcar

3 minutes ago

I do really enjoy the thickness, and they do displace the cheaper ones in the tube of spares at home, but they’re just bags at the end of the day.

meibo

11 hours ago

You've misunderstood the assignment if you don't reuse those, they are perfectly fine for that and will last a long time. Just have one in your bag or car. I've even reused paper bags for more than half a year since the ban.

WD-42

11 hours ago

They make perfect office/bathroom trash can liners

xp84

8 hours ago

They do, but they still don’t make it back to the stores enough, and nobody has 16 wastebaskets to line every week. Also the old ones were just as suitable for wastebasket duty.

The bag laws have done nothing but increase the consumption of plastic, since stores still go through nearly as many, but they’re 5x thicker now.

WD-42

5 hours ago

The only time I even get one of those things is if I forget my regular bag or I buy too much stuff to fit. That happens like once a month. Why are you going into the store empty handed and coming out with 16 plastic bags?

what

6 hours ago

Why are you buying 16 bags worth of stuff every week? That seems like the bigger problem.

bombcar

a minute ago

If you have a family and a grocery store in walking distance you can do it easily; I would hit 16 if I forgot my shopping bag - which I do on occasion.

zdragnar

12 hours ago

Some have replaceable pods / tanks, but most have no user serviceable parts whatsoever.

One the liquid is low enough, the coil will burn a bit, and the whole thing should be disposed of.

One shop near me would take used ones and send them off to be properly taken apart and what not, but most people just toss them I suspect.

jdietrich

6 hours ago

The coil is part of the pod and therefore user-replaceable. The point of a pod system is to keep the coil and liquid in a self-contained system, which practically eliminates the risk of liquid leaks. All of these quasi-disposable vapes with replaceable pods and a charging port can be re-used hundreds of times.

I don't know why people dispose of the whole thing rather than just changing the pod, but at least it's a boon for electronics hobbyists.

Gigachad

12 hours ago

Some of the new ones have the coil and vape juice in a disposable section while the battery and charge circuitry are reused.

ChrisMarshallNY

10 hours ago

Each morning, I walk 5K. I start off in the dark. By midwinter, the whole walk is in the dark.

I am constantly walking past disposable vapes in the street, with their LEDs still shining.

macintux

10 hours ago

Growing up, smoking was quite common. A lot can change in 20-30 years, so I'm cautiously optimistic that maybe vaping will eventually become as socially unacceptable as smoking.

extraduder_ire

10 hours ago

If you're in the EU/UK the WEEE directive means anywhere selling them should take them back like-for-like to be directed into the correct waste stream. (they get paid some of the deposit on them to do so)

I would be more fine with disposable vapes like this if almost all of them were recovered somehow, for the amount it subsidises production of Li-ion batteries.

xp84

8 hours ago

Theoretically a high enough deposit could probably “fix the problem.” Like, if the empty was worth a $25 deposit most people would 100% take them back to the store. It would be annoying for people to have the high deposit, but it’s really a one-time expense.

On the other hand at least in the US, a deposit of a buck or two wouldn’t do much. California has that for cans and bottles, yet only maybe 10% of people turn them in. Most end up in curbside recycling (which doesn’t refund) or the garbage, indicating people don’t care about getting their nickel or dime back.

nicbou

7 hours ago

That's the theory. I practice, even in famously recycling-obsessed Germany, it's impossible to return electronics in places that are required to accept them, even two years after that law passed. The staff is really confused when you try.

cjaackie

11 hours ago

No, it’s there because the battery can’t hold enough charge for the ratio of vape liquid they put in it. So you get 2-3 full charges and it runs out of liquid.

BogdanTheGeek

13 hours ago

And... its down already. It can only handle about 10 requests at a time, so take turns guys :) Here is the same article but with hopefully better uptime: https://bogdanthegeek.github.io/blog/projects/vapeserver/

elliotec

11 hours ago

Easy, just set up your other hoarded ones to make a mesh and do some distributed sharding in the vape cloud!

dev0p

4 hours ago

Is this The Cloud that I heard so much about?

subscribed

3 hours ago

It's your fault for not putting CDN in front of it

Really neat achievement, it'd stand out on your CV, make sure to always add it there, it'll spark a fun chat on interviews.

uyzstvqs

2 hours ago

> It's your fault for not putting CDN in front of it

That's no fun. The right answer is to distribute load across a cluster of 100 repurposed disposable vapes.

msephton

2 hours ago

Thanks for mirroring, and well done! I really enjoyed the topic and tone of your writing.

rimprobablyly

11 hours ago

Returning 503. Guess it got smoked.

BogdanTheGeek

11 hours ago

As this vape is so very British, you now have to queue to access the article. I can see that some people are getting though, so that's something.

dev0p

4 hours ago

I am SHOCKED everytime I am reminded those Disposable Vapes exist.

My friend, that is a Portable Computer you are holding in Your Hands, and You are THROWING IT AWAY after ONE SINGLE USE?

Insane.

At least the fact that we got to this point in the first place is certainly an achievement for humanity as a whole?

landgenoot

6 hours ago

Big promises, but no working website. I call it vaporware

analog31

11 hours ago

So the EEs are right. Electrical circuits run on magic smoke.

rpcope1

6 hours ago

So a question maybe someone can clue me in on here: while the specs on that MCU seem imminently reasonable to me (especially compared to some of the PIC12F and similar I've used in the past) the thing that feels odd is the high clock speed ARM core. Is it really that cheap and easy to drop an M0 core or ip block into an MCU? Why not more RAM and a simpler/slower core? The M0 feels grossly overkill.

jsheard

12 hours ago

You think a Cortex-M0+ in a disposable vape is wasteful, wait until you see the ones with colour touchscreens and Bluetooth radios. It's probably only a matter of time before they start running Android on them.

malfist

12 hours ago

What's insane is how cheap all those components are. A quadcore processor with ram and memory, WiFi and Bluetooth for pennies at wholesale.

The latest and fastest GPUs might be a marvel of technology, but so is the tech that let's us make and esp32 for almost nothing

balder1991

3 hours ago

I guess at this point it’s safe to assume humanity won’t regress to a time before computers anymore.

ants_everywhere

11 hours ago

Imagine a beowulf cluster of... wait probably not

user

11 hours ago

[deleted]

Dilettante_

11 hours ago

I respect the point about not wanting to send the manufacturer any business, but I would love to know the brand so I'd know which ones to rescue if given the chance.

efilife

10 hours ago

I am probably stupid so bear with me. I don't get the part about not naming brands if you are certain they won't ever sponsor you. I feel like it just hurts the value of the article with nothing gained

BogdanTheGeek

11 hours ago

so I had to throw nginx in front of it so my little router wouldn't explode, but I hope some people will get to experience the relaxing loading experience live.

temp0826

11 hours ago

The HN way is to colocate a cluster of these and put them behind a F5

dudeWithAMood

12 hours ago

What were you doing to get traffic from the open Internet to your webserver at home? I always felt that was a risky proposition, but I might just be stupid.

GJim

an hour ago

> What were you doing to get traffic from the open Internet to your webserver at home? I always felt that was a risky proposition,

How times change.

Once nearly every self respecting IT pro ran servers from there home network. The modern drive to outsource and consolidate the interweb to a handful of big players I find rather odd; perhaps even counterproductive in the long run.

rovr138

12 hours ago

Open a port or if their router supports it, assign their device to a DMZ.

Why do you think it’s risky? Maybe we can talk about ways of securing it.

Like any server, it’s as safe as the server software (and its configuration).

Aachen

11 hours ago

Done it since before I properly knew what I was doing. Haven't had issues. Even though n=1, also now that I'm actually working in IT security, I don't think the risk was ever much bigger than what I could oversee

The main thing is that, if someone gets onto the server system, then they're in my network and they can do attacks on other devices in that LAN (guest wifis are a nice way to isolate that nowadays; that didn't exist back when I started). Same as when I take my laptop to school for example, then others can reach it. I've had issues with others in school doing attacks because the internet was unencrypted http back then (client-side hashing in JavaScript limited the impact though), but not from anyone who tried to hack into the server. Only automated scans for outdated Wordpress, setup files for Phpmyadmin, ssh password guessing... the things they simply try blindly on every IP address. If any of this is successful, you're most likely going to be turned into a spam-sending server or a DDoS zombie; not something with lasting impact once you discover the issue and remove the malware

Most attackers don't do targeted attacks on your system or network unless you're a commercial entity that presumably can pay a nice ransom, or are a high-profile individual. Attackers aiming for consumers send phishing emails and create phishing advertisements, look for standard password vaults if you run their malware, try using stolen credentials on Steam and hope you've got a payment method stored... the usual old things. Having a server doesn't make any of those attacks easier, and besides, self hosting is very uncommon. Even if you and I had a similar enough setup at home with a straightforward path to exploitation, it's a few thousand people that self-host in a country with millions of people. It's not worth developing attacks for

mysteria

10 hours ago

I've hosted at home for years and if you have it properly setup it's not any more risky than using a VPS. I have 443 open on my router and basically all web traffic is routed to a container on my server. The container is on an isolated vlan and basically runs nginx as a ssl reverse proxy.

The actual web services behind the proxy run in their own containers and with proper isolation and firewall rules the effects of a security compromise are limited. At most an attacker will be able to take over the containers with an exploit (and they could do that with a VPS as well) but they won't be able to access the rest of the network or my secure internal systems.

If I was this guy and wanted to let people connect directly to my vapeserver I would simply host it on another vlan and port forward the HTTP connection. Even if someone manages to take over such an obscure system they're not going to be able to do much.

ornornor

6 hours ago

You can put the public facing stuff on a separate VLAN and have firewall rules that don’t give the VLAN access to LAN stuff. I only know how to do this with IPv4 though, IPv6 confuses me and I’m scared to get it wrong so I disabled it.

happyhardcore

12 hours ago

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.

sunsetonsaturn

7 hours ago

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.

koolala

11 hours ago

People might hack your toaster and burn your house down? Smart ovens? Smart microwaves? Smart fires?

HardwareLust

13 hours ago

Your GitHub link in the doc gives me a 404. Otherwise, good stuff!

gabriel666smith

10 hours ago

This is cool, but, man, I felt like such a pathetic excuse for a human being when, brutally craving nicotine, with my vape empty of the fruit-flavoured juice that I am literally addicted to like the stupid pathetic baby that I am, and stuck with the cravings because all the shops are closed until morning, and so, in need of a distraction, I opened Hacker News. FFS.

Sometimes the only option is to laugh at your own expense! Clearly this is a sign. I should buy more juice next time. And maybe start smoking more actual cigs.

panarchy

9 hours ago

Having an addiction doesn't make anyone "a pathetic excuse for a human being"

gabriel666smith

9 hours ago

I agree wholeheartedly.

I've been (I am?) addicted to many substances, from fruit-flavoured nicotine juice through to heroin.

I find self-deprecating humour useful, personally. It helps me not wallow, to take the cravings less seriously. I of course wouldn't say the same about anyone who isn't me.

Because, as you say, someone who has an addiction isn't lesser than anyone else. It's a state of being that requires an awful lot of strength.

That said, having to use that strength on 'mango e-liquid' is, I think, funny in an absurdist way. We live in strange times!

user

13 hours ago

[deleted]

metal696heart

10 hours ago

It would be nice to pool ideeas for what they could be recycled into. Imagine the amount of automatic cat feeders the world could build with these.

prynhart

11 hours ago

504 Gateway Time-out

panarchy

9 hours ago

Now make a cluster of them running on load balancer

charcircuit

12 hours ago

>For a couple of years now, I have been collecting disposable vapes from friends and family.

This act of collecting waste is a sign of a hoarder mentality. It's okay to throw things away.

haunter

12 hours ago

Or turns out you can get virtually unlimited amount of Cortex M0+ microcontrollers for free literally from trash? Sounds like a great idea if you are a hacker

WD-42

11 hours ago

When was the last time you ran a website on anything cool?

charcircuit

11 hours ago

The novelty wears off. It doesn't justify keeping trash around forever. Sure it can be a fun project that you get some joy out of, but there isn't a need to preserve it forever.

rovr138

12 hours ago

Or they had an idea, needed devices to test and be able to destroy if they fucked up.

charcircuit

11 hours ago

He probably owned a device capable or running a virtual machine which would be much more convenient to deal with.

Also this idea of "but what if I'll need this in the future", is a common theme among horders.

Liftyee

an hour ago

If hackers always chose the convenient option, that wouldn't make for very challenging or interesting projects ;)

There are probably thousands of regular VPS webservers out there.

rovr138

10 hours ago

If you have to modify the hardware. Checking pins, testing things, soldering… you might want to have backups.

mrheosuper

9 hours ago

a rechargeable battery with only 1 charge cycle is considered "waste" ?

charcircuit

9 hours ago

Embedded within a disposable vape, yes. Plenty of things that are reusable are waste. When someone finishes milk jug, most people throw it away and buy a new one instead of going to get it refilled. Pretty much everything thrown away could be used for something else.

mrheosuper

4 hours ago

The plastic that holds the milk is not designed to be reuseable, and plastic wear down is a thing.

But the battery inside disposable vape is designed to be rechargeable.

tgwil

8 hours ago

That doesn't mean it's waste, that just means people are lazy and don't care about wasting things. It's only "waste" because people make it waste. If you don't waste it it's not waste.

charcircuit

8 hours ago

It's not just laziness. It may not be financially worth it to do including the personal labor you have to do compared to throwing something in a trash can.

Liftyee

an hour ago

Not everything in life needs to be financially worth it... If repurposing otherwise "disposable" resources brings them enjoyment and it's a reasonable time spent, why shouldn't they?

Ultimately, it's not your storage space being used for this. Why not let them live?

tgwil

8 hours ago

This is the mentality that is creating poison planet. Bad mentality.

vel0city

7 hours ago

I'd love to be able to go to a grocer and just refill my milk jug and my soap bottle and my beer growler but that's just not available to me.

Well, there are a few breweries that will fill my growler. Priorities.

charcircuit

7 hours ago

As long as waste is being responsibly managed it will not poison the planet.

ehnto

7 hours ago

It is not being responsibly managed, it is poisoning the planet. You can defer responsibility to others such as the producers and recyclers, and I think we should.

But it doesn't mean we can't control what we buy and throw away as well, especially if we know better which we do.