r/webdev • u/LeTanLoc98 • 12d ago
Discussion GiHun banned accounts?
r/webdev • u/mau-meda • 11d ago
Video: https://streamable.com/i63ial ( sorry this sub does not supports videos )
I finally reached 55fps on an old low end Samsung TV.
I suppose it's worth first saying what we are working with, this TV is a Samsung Crystal UHD 4K Smart TV 2020 TU800, if this tells you nothing don't worry, it's essentially a potato, it has the same processing power of Raspberry Pi 3B+
You may think "It's a potato, but if you write native code then even a potato can run at 60fps". And here's the catch, I made a Tizen Web app so the view is non native it's a web view ( and this is why I'm posting it here in r/webdev ). Unfortunately for me this potato runs Tizen 5.5 that is not supported by flutter
Now let's go to the interesting part: how it is able to do that.
I achieved this over several optimizations, the first one was to reduce the number of layers.
I'll go one layer optimization at time:
The second optimization was to get rid of the DOM.
Yes you read it correctly, what you see is a canvas, I tried everything to make the DOM works, I tried ditching React and use manually appendFragment, keeping an optimized list of nodes in memory and mount them when needed ( with appendFragment instead of multiple appendNode ) . Nothing really worked, no matter how much vanilla or swallow the DOM was, or what transform tricks I was using, best result was 30fps.
So, let's talk about the interesting part now, the WebGL rendering. You probably never heard of Pixi.js, it's a library to make animations in WebGL, stuff like small videogames.
Everything you see except for the sidebar and logo is a WebGL canvas, each component you see on the screen has two versions, one is the classic React version the other is a GL version, so in the codebase you see stuff like MediaHero.tsx , MediaHeroDom.tsx and MediaHeroGl.tsx.
The code is made to be able to do a mix and match based on what is needed, only some components ( the ones in the home ) have strong animation and I didn't want to duplicate all the components.
Let's see what those GL components do, the lowest of the component the MediaCard produces a sprite, you probably understood this by my little nod above, if you do not know what a sprite is, it's essentially an image that is cached by the rendering engine to be used for animation, in a video game ( in 2D ) every single small image that moves is a sprite ( the static ones are usually backgrounds ), anyway, those sprites then are used by the MediaRow , a row is essentially a collection of sprites, but keep in mind that a row has infinite width so it's virtualized, it returns a list of sprites to render, their absolute position, and what window to render. Finally we have the home that has multiple rows, and above we have the hero that uses maximum two sprites do do the fade out/in animation.
I almost forgot, I got another trick! The hero animation uses a low resolution version of the backdrops to fade, after the animation is done it swaps it with the high resolution one!
r/webdev • u/vinishkapoor • 11d ago
This 3D Pose Tool came out of needing quick pose references without installing Blender or a desktop app. Everything runs client-side in the browser, and it works on desktop and touch devices.
Features:
The trickiest parts were drag-to-pose (moving a hand should move the whole arm sensibly) and keeping feet planted on the floor while the rest of the body moves.
https://vinish.dev/3d-pose-tool
Feedback welcome, especially on the touch controls on mobile.
r/webdev • u/david_fire_vollie • 11d ago
I'm curious how the technology works in retail, for example at a shop, if you pay using your card, does the EFTPOS machine have to communicate with a desktop application, or, is it possible for the web browser to communicate with the EFTPOS machine?
What about opening the cash register and printing a receipt, would it have to be a desktop app or is web app ok?
r/webdev • u/avec_fromage • 12d ago
r/webdev • u/greenergarlic • 10d ago
Not my idea, its from researchers at the fed: https://www.npr.org/2026/06/01/nx-s1-5843076/remote-work-college-graduates-unemployment-ai
We estimate that remote work can explain 64 percent of the recent increase in unemployment among young college graduates. Further, the timing of this surge suggests that remote work—not generative AI—explains the bulk of the rise in youth unemployment.
The mechanism seems simple: It's just cheaper to hire remote workers outside of urban centers. For the same money, A company in SF can either get a college grad in HQ, or a dev in Denver with 2-3 years of experience willing to take a junior role and salary. They'll take the latter every time. The downside is coordination costs, but its not like a junior dev has to do much of that.
This same thing is happening to lawyers, another remote-friendly industry. Early career positions are disappearing just as fast, even though AI adoption is well behind tech standards.
How do you even make it these days? Spend your time, skills and experience building out something of quality... build out the site for it, market it, get Youtubers to review it.
It beings to gain traction, money starts flowing, then... within a week there's multiple AI clones of it. Someone noticed you, pointed an AI agent at your site and said, "hey that looks cool, make me that", then claim it as their own.
What is the point anymore? Is innovation and ingenuity dead? Why would I bust my ass and come up with innovative ideas and tech when it's just going to get ripped off within a week with cheap AI knock offs?
r/webdev • u/Ok_Account3585 • 12d ago
I was a Backend developer and I had a goal of learning React for a while. But I am always super busy with different projects and had almost no energy for learning (taking about theory, I don't have problems with building projects). Eventually I am kind of just building with AI without deep Frontend understanding (which I have for the Backend part).
I tried official docs, yt videos, asking Claude for artifacts - it all works well short-term, but it isn't sustainable for me. What actually worked for you long-term?
r/webdev • u/Lavaa444 • 12d ago
I tend to get very overwhelmed with personal projects as a developer once they grow beyond a certain scale. It's bothered me a lot because I see a ton of people out there making amazing apps. They are just too complicated for me to digest when looking through the GitHub repos. This even happens with my own code after a while. It feels like a ceiling created by my average mental capacity.
This problem I have appears in a few ways:
I wish I could just talk to some of these developers and pick their brains on how they mentally handle larger projects. I can't seem to figure that out right now. What advice would you have for someone like me, who is trying to start working on REAL apps? (and hopefully putting some of this stuff on my resume)
r/webdev • u/daFreakinGoat • 12d ago
Hi,
I got an offer for some freelance web dev work.
Updating a clients website for a small local restaurant.
Meeting with the client next week.
The website is currently on Wix. After a little bit of research, I’m thinking about coding it up on Next JS with Sanity as a headless CMS.
One of my main goals with this project are for the client to be able to easily update menu items and prices (they are non-technical).
I know front end web development but this is my first time doing something like this. I really want some strong experience to add to my resume as well, as I’m looking for web dev jobs.
Are Next JS + Sanity a good choice for something like this?
Please share any tips or related general advice. Thanks!!
r/webdev • u/fagnerbrack • 13d ago
r/webdev • u/shippety • 12d ago
After programming in games for a long time I'm learning web development and having fun with it. One thing that I'm unsure about is if and how to split up my JS, in a game engine it's natural to have a script for each component / class. In my current web project I have one 'script.js' file that's doing a whole lot of different things. My instinct is to split this up into different scripts for readability and organization, but I get the sense that that isn't really the industry standard?
(I'm working on a webcomic site)
For example, maybe I would have:
- comments.js
- colorTheme.js
- pageNavigation.js
These are some of the sections of code it would make sense for me to split up, I think. The async nature of having the backend involved is something that's really different than the games I've worked on, and part of the programming difficulty here seems to be keeping things in sync, not sure if there would be a lot of overhead to keep multiple scripts up to date with each other if they weren't in the same file. It's very easy to pass information around in one file but with multiple, I imagine state management gets even more complicated?
I really don't have a ton of experience so it's possible in my mind it IS best practice to just have one really long script, I simply don't know!
I know this is a bit of a noobie question, would love to hear what people think are best practices / industry standard for sites / apps with quite a bit of JS going on. I prefer to do things in the typical and professional way as much as possible. Thank you!
r/webdev • u/markaritaville • 12d ago
It seems that when I make changes to Cloudflare to protect against BOTS, the bots detect the changes and go into full attack mode. Kind of like "you kicked the hornets nest, we're coming after you"
this has happened a couple times.
My site averages 8-10k pageviews a day. Yesterday morning made changes and 35,000 pagevies made it through.
Changes were because I was seeing a rise in traffic again hitting bad URLS "page/267" which end up at my home page... seemed to be US mostly! Impacts my ads RPM so I make some changes and BOOM.. CPU to 100% Pinned.
My CPU was spiked all day yesterday. I restarted services. Immediate 100%. I know about "I am under attack" but with CF edge caching the site was still presenting fine to viewers. So i didnt bother with it until I went to bed. Got up this morning and CPU was back down to 22%. I just turned off "I am under attack" and already up to 46%. going to see how that progresses, if it levels out. if not i have to turn under attack mode back on
the changes I made were to implement the new CF Superbot "Dont run on pages with ads" for the AI traing bots, and ... there were two settigns i turned on based on CF recommendations
I am not running precursor or OWASP Core. online folks seem to think they are bad.
But the basic summary of this post is... it seems like when I made some simple changes, the bots went into heavy attack mode
Edit: Oh I also added a script that hides the standard Wordpress Username/password fields (i have a specific URL param to make visible) and this morning I have a CF alert "Login requests using leaked username and password pairs detected" and first time ive seen that. Makes me think the AI bots have noticed the change and again are hammering that aspect also.
r/webdev • u/jkwok678 • 12d ago
I'm running a TypeScript monorepo (React Router frontend, Convex backend, pnpm workspaces) and I'm comparing Biome against the Oxc toolchain (oxlint + oxfmt). What should I be considering? Why?
r/webdev • u/prostackhost • 13d ago
Here's our writeup of the Nginx vulnerabilities. Hope it's useful- if your host runs nginx, ask them to disable HTTP/2 until patches are out.
https://prostack.uk/blog/critical-nginx-http2-vulnerabilities-november-2026/
r/webdev • u/code-dispenser • 12d ago
Only read if you do accessibility work.
I thought I’d share a bug I’ve found with JAWS (when paired with Chrome or Edge; it’s fine in Firefox). Given how widely JAWS is used, it may catch people out or just plain confuse them, as it did me.
I’m sure that, like me, you try to use the correct semantic HTML elements and lean on native browser features wherever possible for accessibility. One such feature is the <dialog> element. Used with the popover API, it can often give you an accessible dialog that opens, closes and light-dismisses without a single line of JavaScript.
While building a component using a native <dialog> with popover="auto", and popovertarget on the trigger, I noticed that JAWS would not close the dialog with the Escape key (which it should) unless the virtual cursor was turned off. This happens with Chrome and Edge. It was particularly annoying because I’d used this pattern before and it seemed to work fine.
TL;DR: if the trigger is immediately before the dialog, it works. If there is any element between the trigger and the dialog, or the trigger comes after the dialog, it fails.
I’ve logged this with both Freedom Scientific (JAWS) and the Chromium issue tracker. There’s a simple repro HTML file attached to the Chromium issue if you’d like to try it yourself: https://issues.chromium.org/issues/587468316
Hopefully this saves some of you the head-banging session I had yesterday.
Edit: I should have mentioned the issue is only with JAWS. I have not encountered this with NVDA, Narrator or VoiceOver on macOS.
r/webdev • u/vhiriri_85936 • 13d ago
With time comes wisdom!
r/webdev • u/No_Winter4806 • 14d ago
I wasn't in the industry for too long, but I was a software dev for a couple years while AI was an infant. The days of teaching myself code while ripping my hair out on StackOverflow, punching my monitor in dev tools, and manually typing everything in hindsight was taken for granted to me.
Wow what a fucking time for me being completely self taught. It wasn't long ago at all, but I'm so happy I had that experience that nobody new will have anymore. Because of the rapid growth I'm in my 20s and for some reason it feels so much further than it is lol. My company just got a chat gpt license before I quit. The debugging dopamine hits were great
My enjoyment for it as a hobby instead is sort of sucked away now. Still obviously requires tons of problem solving but it's drastically different
r/webdev • u/Delicious_Character6 • 13d ago
Versions 1.26.1 and 1.26.2 of Microsoft's official agent-framework package on PyPI were hijacked yesterday (published 33 minutes apart) with a credential stealer. PyPI quarantined both releases quickly, but the mechanics of this attack should bother anyone building AI agent runners or Python backends.
The payload didn't wait for import agent_framework. Both wheels dropped .pth files (agent_framework_meta.pth and af_runtime_diag.pth) directly into site-packages. Because Python executes import lines inside .pth files on every interpreter startup, running python, pytest, or even pip itself triggered the stealer in 0 ms—even in projects that never imported the framework. Worse, it still pulled agent-framework-core as a dependency so applications kept running without throwing a single error.
On top of reading static files on disk (.env, .npmrc, pip.conf, .netrc, .git-credentials, .docker/config.json, Hugging Face tokens, and ~/.azure/*.json), the stealer actively minted new cloud credentials at runtime:
169.254.169.254), IDENTITY_ENDPOINT, and MSI_ENDPOINT for Managed Identity access tokens.SYSTEM_ACCESSTOKEN and SYSTEM_OIDCREQUESTURI in Azure DevOps to request federated api://AzureADTokenExchange tokens.1.26.2.Everything was compressed, Base64-encoded, and POSTed out. Rotating static secrets on disk doesn't cover tokens minted dynamically during a CI run.
We spend weeks arguing about LLM prompt injection guardrails, yet most dev laptops and CI runners still install agent dependencies into flat, unpinned environments with unrestricted outbound network access.
Are you enforcing --require-hashes and strict egress allowlists on your Python agent runners yet, or is everyone still trusting pip install by default?
r/webdev • u/fagnerbrack • 13d ago
r/webdev • u/Putrid_Draft378 • 13d ago
I was curious why the TikTok desktop web client feels so sluggish on initial load, so I ran a Chrome DevTools Lighthouse audit (v13.5.0) on tiktok.com to inspect the bundle breakdown and main-thread bottlenecks.
The category scores came back at 34 for Performance, 73 for Accessibility, 54 for Best Practices, and 77 for SEO.
Looking at the performance trace, First Contentful Paint hits 8.0s, Largest Contentful Paint takes 14.9s, Time to Interactive reaches 20.5s, and Total Blocking Time is 1,090 ms. Out of 8.5s of total main-thread work, 5.1s is spent purely evaluating JavaScript. Almost all of that CPU time is eaten up by cache.react_dom (around 2.5s) and their anti-bot/fingerprinting script webmssdk.js (around 1.8s).
The initial network payload is 4,475 KiB, and there is a surprising amount of dead weight in the build: 236 KiB of unused JavaScript on initial load (their regional cookie consent script alone accounts for ~90 KiB of unused code) 26 KiB of unused CSS 65 KiB of legacy JavaScript polyfills and Babel transforms (transpiling classes, spread operators, Array.prototype.includes, and Promise.allSettled) An unminified security SDK (secsdk-lastest.umd.js) leaving ~15 KiB on the table A 400x400 PNG logo scaled down via CSS to 112x112, plus custom woff2 fonts missing font-display rules
A few other details stood out in Best Practices and Accessibility. Their privacy loader triggers repeated Permissions-Policy console violations by registering unload handlers, which combined with Cache-Control: no-store completely breaks Back/Forward Cache restoration. On the markup side, multiple header icon buttons and the search link lack aria-labels, four text inputs have no associated labels, and white text on their #fe2c55 buttons drops to a 3.68:1 contrast ratio.
For those of you working on large-scale consumer web apps, how do your teams balance heavy client-side fingerprinting and anti-bot SDKs against Core Web Vitals? Also, is there any practical reason a major frontend build is still shipping Babel transforms for Baseline features like Array.prototype.includes and Promise.allSettled in 2026?
r/webdev • u/LinterCheck2026 • 12d ago
QA lead at a large org. We currently do accessibility testing for about 500 website urls to meet WCAG 2.2 AA (all 55 success criteria). And we use a paid tool (like Deque) that helps automate part of this and rest done manually with screen readers and keyboard testing.
Now we are looking to use our AI budget and Claude code to create skills for finding and fixing accessibility issues across our sites. My major trouble is that the scale is huge - not 5-10 URLs or even less than 50.
So would love to hear from anyone already using AI for accessibility to help me out with this journey:
r/webdev • u/Spiritual_Let_4348 • 12d ago
Tried asking google and gpt but just too confusing. thank you very much