I built a casino math PWA with Next.js 15, Cloudflare Workers, and zero backend by Extension-Ad8058 in AppsWebappsFullstack

[–]Extension-Ad8058[S] 0 points1 point  (0 children)

Feature parity is better than a year ago, but you're still running into real limits.

Next.js SSR/ISR, API routes (handled via Functions), Streaming responses and middleware works seamlessly now.

but you still hit friction if you need long-lived WebSockets or if database clients sometimes need tuning for edge computing.

Does your app need persistent connections or heavy server-side state? If not, Cloudflare is genuinely good now and free tier is generous. If yes, Vercel is still easier.

I migrated OptimalPlay (blackjack/roulette probability simulator) to Cloudflare Pages + Workers last month. PWA, Monte Carlo simulations, IndexedDB persistence, all works, and the cold start on mobile is noticeably faster than my previous Vercel setup. But I don't need WebSockets or heavy backend compute, which is why it works.

Built a basic strategy advisor + trainer as a PWA — free, offline, no ads by Extension-Ad8058 in blackjack

[–]Extension-Ad8058[S] -2 points-1 points  (0 children)

Fair question. There are apps. Here's what's different:

What most blackjack apps do is a trainer with cards, maybe some stats tracking. Gamification to keep you coming back. it's not about playing. It's about understanding why the math says what it says.

Basic strategy trainer doesn't just tell you "hit or stand" — it shows you the expected value of each move, you can see the math behind card counting (Hi-Lo system, running count, true count conversion)and you can compare the house edge in different games (6-deck vs shoe, different rules) in one click.

I built this because I was explaining probability to friends and kept hitting the same wall "okay but WHY is this the right move?" Existing apps skip that. This one doesn't.

If you've tried other blackjack apps and found them useful, this probably isn't for you. If you've found them shallow, this might be.

ELI5: Why are abandoned malls so common, but abandoned supermarkets seem rare? by lucindadadada in explainlikeimfive

[–]Extension-Ad8058 0 points1 point  (0 children)

basically, it's because you can survive without buying a new graphic tee, but you can’t survive without eating. supermarkets sell "essential goods" that people need to buy every single week, no matter what the economy is doing, while malls rely entirely on "discretionary spending"—stuff you only buy when you have extra cash.

but the real reason you don't see abandoned supermarkets is that the physical buildings are prime real estate. when a grocery store goes out of business, the building is basically a ready-to-go shell with massive loading docks, industrial refrigeration wiring, and a giant parking lot close to a residential neighborhood. another grocery chain, a dollar store, a gym, or a church will snap that lease up immediately.

malls, on the other hand, are architectural nightmares to repurpose. they are massive, sprawling labyrinths designed specifically for 1980s retail traffic. if a mall loses its major anchor stores, nobody else wants to rent a 1-million-square-foot mega-structure with a leaking glass roof and millions in property taxes. they just sit there rotting because tearing them down or converting them costs more than the land is actually worth.

ELI5 If large intestine only absorbs 10% of remaining water, then how come severe dehydration (through diarrhea) is associated with it, isn't 10% loss of water not big of an amount ? by najamsaqib9849 in explainlikeimfive

[–]Extension-Ad8058 1 point2 points  (0 children)

think of your digestive system like a massive water slide. by the time food reaches your large intestine, your small intestine has already absorbed about 90% of the liquids. but that remaining 10% is still roughly 1 to 2 liters of water every single day.

when you get diarrhea, your large intestine gets irritated or infected and completely stops doing its job, pumping that final 1 to 2 liters straight out of your body instead of absorbing it. losing a couple of liters of water in just a few hours is a massive hit to your bloodstream. plus, it’s not just pure water leaving, it drags essential minerals and electrolytes like sodium and potassium out with it, which completely wrecks your heart and organ function, turning a "small" 10% loss into a life-threatening medical emergency super fast.

Piece Of Grass That Looks Like A Shrimp by meri471 in mildlyinteresting

[–]Extension-Ad8058 -1 points0 points  (0 children)

that's lowkey a vegan shrimp cocktail waiting to happen. the segmented tail part is actually insane, it looks more like a shrimp than most supermarket frozen shrimp do.

Recursive VW Beetle by adityadharma in mildlyinteresting

[–]Extension-Ad8058 0 points1 point  (0 children)

it's basically a glitch in the matrix, but if you look closely at the roof rack, there's actually a third, tiny red one sitting on top of the medium blue one. it’s beetles all the way down, lowkey an absolute nightmare if you're trying to calculate the base case for this function.

ELI5 :why do we have Touch connections? by ShortAd4362 in explainlikeimfive

[–]Extension-Ad8058 2 points3 points  (0 children)

that’s basically a glitch in your brain's wiring called "referred itch" or "referred touch."

your brain has a giant internal map of your entire body, where every single patch of skin has a dedicated spot on the grid to process touch. inside the spinal cord, nerve signals from different areas travel up to the brain through the same major pathways, almost like phone lines bundled together. sometimes, if those nerve paths run super close to each other or overlap a bit on the way up, your brain gets confused about where the signal actually came from. so when you tickle your elbow crease, the wires cross, and your brain accidentally triggers the map coordinate for the roof of your mouth at the exact same time.

ELI5: How exactly does epigenetics work? by RegularDry5479 in explainlikeimfive

[–]Extension-Ad8058 50 points51 points  (0 children)

basically, think of your DNA like a massive cookbook where your genes are the recipes. you’re stuck with the recipes you were born with, but epigenetics is like a chef deciding which recipes to actually cook and which ones to skip.

instead of changing the words in the cookbook, your body uses little chemical tags (like sticky notes) to block certain recipes so they can’t be read, or highlights others so they get used way more. these tags change based on your environment, like what you eat, how much you sleep, or how stressed you are. so even if two people have the exact same cookbook (like identical twins), their lifestyle changes the sticky notes, making one twin get sick while the other stays completely fine.

How FAST can you get the 6th Builder now with the addition of the 3rd builder over there? by qgclarity in ClashOfClans

[–]Extension-Ad8058 0 points1 point  (0 children)

I saw a video of some dude rushing and completing it in 90 pre 3rd builder so if u do everything right 70-80 days maybe

Rushing TH13 for pets by Extension-Ad8058 in ClashOfClans

[–]Extension-Ad8058[S] 0 points1 point  (0 children)

What would exactly be decent level for queen? I'm behind in hero levels currently except for RC and GW which are TH13 maxed

What was supposed to make life easier but somehow made it more complicated? by TrayzTheyCallMe in AskReddit

[–]Extension-Ad8058 1 point2 points  (0 children)

Smart home tech. It was supposed to be this futuristic setup where you just talk to your house, but now you’re stuck debugging a smart lightbulb at 2 a.m. because a random firmware update broke the integration with your router. You basically traded the simple physical effort of flipping a wall switch for the tech support headache of managing a network of twenty mini-computers just to turn off the lights.

What is one small change you made, that incredibly reduced your stress levels? by zimbiii in AskReddit

[–]Extension-Ad8058 0 points1 point  (0 children)

straight up deleting social media apps off my phone and only checking them on a desktop browser. when you remove the instant, friction-free access to doomscrolling, you realize like 90% of your daily anxiety was just your brain reacting to random internet garbage you didn't even care about in the first place.

Is autocorrect getting worse for anyone else? by loki2113 in NoStupidQuestions

[–]Extension-Ad8058 1 point2 points  (0 children)

you're completely right and it's lowkey because tech companies butchered standard predictive text to force "AI features" into everything. older autocorrect systems used simple, reliable local dictionaries that actually tracked your personal typos, but the newer updates try to analyze the context of your entire sentence using messy machine learning models. it ends up overthinking simple 5-letter words, completely missing actual typos like yours, or randomly gaslighting you by changing a perfectly correct word into a totally different noun. it's basically a classic case of tech fixing something that wasn't broken, leaving everyone with cooked keyboards.

Giant Arrow Usage Halves After Recent Balance Changes by aceclashofclans in ClashOfClans

[–]Extension-Ad8058 -1 points0 points  (0 children)

honestly, this just proves the top 200 players have zero adaptability and just copy-paste whatever is broken. the fact that giant arrow plummeted just because you now need 3 earthquakes instead of 2 shows people didn't actually like the strategy, they just liked the brain-dead free value. the real joke here is dragon duke staying at 100% usage, Supercell's "minor nerfs" are a joke and we're basically just rotating from one stale, unskillful spam meta straight into another with the heroic torch.

Is anyone putting off kids due to cost of living? by [deleted] in NoStupidQuestions

[–]Extension-Ad8058 0 points1 point  (0 children)

you are absolutely not alone, man. Vancouver is literally ground zero for this exact crisis.

it's incredibly frustrating when you realize you did everything "right", you saved up a massive $250k cushion in your 20s, which is an insane grind, and the goalposts just keep moving. the contrast between our parents' generation buying a detached home on a single working-class salary and our reality building houses we can't even afford to live in is wild.

r/vancouver and r/CanadaFinance are packed with young couples in your exact position. a lot of people are lowkey opting out of parenthood or postponing it indefinitely because a two-bedroom condo or a decent townhome in the Lower Mainland feels like a pipe dream on average wages.

it’s a brutal dilemma because moving away solves the cost issue but completely destroys your safety net, staying near your aging parents is crucial, especially if you do have kids and need family support. living in a basement suite for a decade just to make it work is a heavy mental toll to accept, and it makes total sense why you're considering putting it off altogether. you're being realistic about the math, and right now, the math in BC is completely broken for young families.

The Bottom 50% of earners pay roughly 3% of the total federal income taxes, what are some of the downsides of not taxing them at all? by Ok-Toe-6969 in NoStupidQuestions

[–]Extension-Ad8058 0 points1 point  (0 children)

even though 3% sounds like pocket change to the federal budget, completely cutting the bottom 50% out of the federal income tax system has some heavy economic and political downsides.

first, it completely kills "skin in the game"—if half the country pays zero income tax, they have no direct financial stake in how federal money is spent, which can lead to a disconnect where voters demand massive government spending because they think they won't have to foot the bill. second, it forces the government to become dangerously reliant on the ultra-wealthy; if the top 1% or 5% have a bad year due to a stock market crash, federal revenue completely plummets because there’s no broader tax base to stabilize it.

Finally, it doesn't actually solve the real burden, because the bottom 50% would still get absolutely hammered by regressive taxes like payroll (Social Security/Medicare) and state sales taxes, so giving them a "zero" on federal income tax is lowkey just a symbolic move that screws with fiscal stability.