r/Webdev - Top Weekly Reddit
Delve into a community dedicated to the nuances of web development, a space for both front-end and back-end discussions.
Pay per crawl integrates with existing web infrastructure, leveraging HTTP status codes and established authentication mechanisms to create a framework for paid content access.
Each time an AI crawler requests content, they either present payment intent via request headers for successful access (HTTP response code 200), or receive a 402 Payment Required response with pricing. Cloudflare acts as the Merchant of Record for pay per crawl and also provides the underlying technical infrastructure.
Source: https://blog.cloudflare.com/introducing-pay-per-crawl/
[link] [comments]
![]() | I built a POTUS tracker that:
Give it a try and let me know what you think! [link] [comments] |
![]() | The amount of actual meaningful work ( routing, authenticating the user, pulling rows from db, rendering the response etc.) compared to everything else just keeps reducing. That feels absurdly counterintuitive since there hasn't been any real algorithmic improvement in these tasks so logically more sensible approach is to minimize the amount of code that needs to be executed. When there is no extra bloat, suddenly the need to optimize more disappears as well. Yet we are only building more complicated ways to produce some table rows to display on user's screen. Even the smallest tasks have become absurdly complex and involve globally distributed infrastructure and 100k lines of framework code. We are literally running a webserver ( with 1-2g or ram....) per request to produce something that's effectively "<td>London</td>" and then 50kB of JavaScript to update it onto the screen. And then obviously the performance sucks since there's simply 1000x more code than necessary and tons of overhead between processes and different servers. Solution? Build even more stuff to mitigate the problems that did not even exist in the first place. Well at least infra providers are happy! [link] [comments] |
Hello everyone, I know this may sound stupid but I am tired of React. I have been working with React for more than a year now and I am still looking for a job in the market but after building a couple of projects with React I personally think its over engineered. Why do I need to always use a third party library to build something that works? And why is Next.js a defacto standard now. Im learning Next.js right now but I don’t see any use of it unless you are using SSR which a lot of us dont. Next causes more confusion than solving problems like why do I have think if my component is on client or server? I am trying to explore angular or vue but the ratio of jobs out there are unbalanced.
[link] [comments]
![]() | In this Google video talking about the new places SDK this guy shows a screenshot where they put the API key in the script tag for the Google Maps API. Wouldn't this be visible to users on the front end where others could see it? Does setting an HTTP referrer restriction negate the risk? My understanding is that when calling an external API with an API key, you should make that call on the back end and return the response data to the client. [link] [comments] |
I always felt like my work laptop (even with decent specs) was way slower than a MacBook, especially when coding or running dev tools. After using a MacBook M1 for a bit, I really wanted that experience for my day-to-day work but my company only provides Windows laptops.
I’d was curious about Linux and my superior was using it.. So I decided to dual-boot Linux Mint on my work laptop and WOW. The difference is night and day. Everything just feels snappier and smoother, and for dev work, it's a lot closer to the MacBook experience than it is from the same laptop with Windows.
After just a week, I don’t want to go back to Windows for web development. If I had known this sooner, I could’ve saved so much time.
If you're in the same boat and your curious, give Linux a shot.
Any similar experience ?
[link] [comments]
![]() | Preface: Building a platform which needs a subset of a logged in user's tweets for processing. The pricing is ridiculous, the free their is pretty much useless! No wonder every tries to scrape their content in whatever ways possible. Does anyone know of or has used frameworks for Next.js which supports Twitter's OAuth 1.0a authentication? Clerk says that the Twitter v1 is deprecated. https://x.com/XDevelopers/status/1641222782594990080 If you had to, how would you access a user's subset of tweets. Twitter v1.1 APIs have a better more generous tier but maybe I will need to roll my own Twitter v1 auth instead. [link] [comments] |
Hey all - could use some guidance here. I took on a client Jan 1 2024 to build a Wordpress site (hourly).
Basically worked for like 6 mo. Then I lost contact with the client for a bit (she had personal issues arise). Months later (Feb 2025) she hits me up asking me to finish the work to launch the site (for free).
I shouldn't have said yes, but I said I would help out as time allows. There are still several larger bugs that Im having trouble with and my personal schedule has changed over the last year. I really don't have the time anymore.
I sent her a professional email stating that my schedule had become hectic and that I would need to step back. I listed the remaining bug(s) and then provided a link to another dev who I suggested she reach out to.
She got mad, sent a bunch of texts. I completely ignored. Its been 2 weeks now. She just sent me a message saying she's getting her lawyer involved.
What do I do here? Do I need to get a lawyer?
edit: Sorry, no contract was signed. I signed an NDA that expired Jan 1, 25
[link] [comments]
For me it would be cookies especially tracking cookies.
How about you?
Edit: The consensus is in! The biggest pain for us devs is... Javascript https://www.reddit.com/r/webdev/s/npjZ7cAOFs - Now WHERE is it the biggest pain?
[link] [comments]
I found that a thousand very small and even indexed queries on load of an application still took a fair amount of time. Changing the approach to make fewer calls greatly improved the performance.
What's something that y'all found?
[link] [comments]
![]() | and so they decided to "create" liquid glass to make up for it. [link] [comments] |
![]() | I'm working on a computer vision / augmented reality project, using hand movements to distort webcam video This runs in real-time in the browser, using a normal laptop + webcam Built with threejs, mediapipe computer vision, and webgl shaders Live demo: https://www.funwithcomputervision.com/whirlpool-camera/ [link] [comments] |
I currently have an issue where select menu items on Edge are heavy left aligned, only on Edge.
I got PTSD from the old days of IE
Whenever you are in a hole, just take a breath and be thankful you don't have to fix rare quirks of IE8 anymore
[link] [comments]
![]() | I’ve been working on a coding puzzle game where you guess what a code snippet prints. I recently added a basic multiplayer mode, and surprisingly, I got it working using just Supabase database listeners (on ‘postgres_changes’), no sockets, no WebRTC, just real-time database events. The experience was a mix of “this is magic” and “why did nothing update just now?” One issue was that sometimes a listener wouldn’t fire, so the room state wouldn’t update. To work around it, I added a few safeguards: I know this isn’t a scalable solution. I’ve used socket servers before on the player side, but I’m not too confident with setting up a solid backend for multiplayer yet. Still, it was cool to get it working this way, and I’d love to hear how others approach real-time multiplayer at scale. Here’s the game if you want to try it: https://whatitprints.com You can play solo in Endless Mode, or try out the new Multiplayer Mode and race friends to guess what the code prints. [link] [comments] |
I used to work as a frontend engineer at this scaleup on an Angular frontend. Classic SPA, shipped to web and mobile and had a REST backend that was written in typescript. When I asked if it was possible to become more cross functional and work on the backend as well, I was in shock when they told me they built there entire backend in Next.js. No, not node.js, not nest.js, actual Next.js as in vercel react frontend ssr framework. And crazy thing was, they did not even have a backoffice admin panel running with that next app. Do more companies actually do this?
FYI, I have quit that job for the better.
[link] [comments]
![]() | submitted by /u/deming [link] [comments] |
For me, !important. It's the CSS equivalent of flipping the table because specificity lost the argument.
What's yours? Which CSS feature makes you sigh deeply and contemplate backend work?
[link] [comments]
Hey everyone,
I’ve finally shipped all the features you’ve been asking for. If there’s anything else that would make your Reddit life easier or more fun, just let me know!
Features:
- Feed post deduplication
- Detection modes
- Hash – best for memes and static images (≈ 90 % accuracy)
- Similar – for photos/illustrations only (≈ 99 % accuracy; not ideal for memes). Adjustable similarity threshold
- Scope – apply entire site or profile page only.
- Quick on/off toggle
- Detection modes
- Bulk-save viewed media
- Save images, GIFs, RedGIFs and videos as a single ZIP
- Edit the download list before saving
- *(This one nearly broke me—browser security restrictions are brutal 😅)
- Inline playback for cross-posted videos even when there’s no visible play button
- Support for old reddit
- Added infinite scroll
Grab the update from the Chrome Web Store or Firefox Add-ons, give it a spin, and let me know what you think!
Chrome: https://chromewebstore.google.com/detail/reddit-bro/hjpcclcicecepbgndkjadaojdabheccn
Firefox: https://addons.mozilla.org/en-US/firefox/addon/reddit-bro/
[link] [comments]
![]() | Disclaimer: All the data collected and model generations are open-source and generation is free. I am making $0 off of this. Just sharing research that I've conducted and found. Over the last few months, I have developed a crowd-source benchmark for UI/UX where users can one-shot generate websites, games, 3D models, and data visualizations from different models and compare which ones are better. I've amassed nearly 4K votes with about 5K users having used the platform. Here's what I found:
Overall Takeaway: Models still have a long way to go in terms of one-shot generation and even multi-shot generation. The models across the board still make a ton of mistakes on UI/UX, even with repeated prompting, and still needs an experienced human to properly use it. That said, if you want a coding assistant, use Claude. [link] [comments] |
Hey everyone,
A while back, I saw a post somewhere that said "Sinkedin - a LinkedIn but for posting failures". My brain thought it was a brilliant idea, so I spent my free time building it.
And now, it's live! sinkedin.app
Sinkedin is exactly what it sounds like. A place to post your work screw-ups, career embarrassments, and failures. It also has option to post things anonymously.
A few warnings:
- The UI: I am not a designer. I tried my best, but please bear with the UI. If you have good taste and it physically hurts you to look at my site, I invite you to make it better. The GitHub repo is here: https://github.com/Preet-Sojitra/sinkedin
- The Performance: The entire thing is running on free-tier services. It's held together with hope and duct tape. So if it's a bit slow, that's the... uh... "feature" of being a budget project. Go easy on it!
Would love to get your feedback, bug reports, or even just see you post your first failure on there!
[link] [comments]
![]() | Started as a one-evening MVP in February - a Next.js page that called the Gemini API and displayed color-coded Korean grammar for my wife. Since then, Hanbok now generates hundreds of analyses per day (up to 40,000 total now!) and we're almost at 1,000 users, which is amazing and I'm so grateful for the support! It's gone through a few redesigns, and I've added several new features like spaced repetition flashcards, 9 additional languages, song lyric analysis, and a chat interface for asking followup questions based on a sentence analysis! Demo: https://hanbokstudy.com (feedback welcome). The stack: - Next.js front-end - Custom CSS for all the styling - Express web server - Redis - MongoDB - GPT-4.1 for OCR and chat - Gemini for analysis - DigitalOcean/NGINX In the near future I plan on adding a forum for language Q&A, more languages per user requests (like Vietnamese, Hindi, and Indonesian), and grammar practice quizzes based on your history! The github repo and the discord server are linked on the site :) [link] [comments] |
![]() | submitted by /u/usaidr [link] [comments] |
I've recently turned 40 and have been in the web game in some form for nearly 20 years. I've done okay for myself, generally working as a contractor and freelancer in that time.
The milestone has caused me to look back and really see the differneces between then and no, and really kick myself for not taking advantage more. This was a time when it was easy to rank organically just by putting stuff in your meta tags, almost any idea you had hadn't been done before, and so in general it was so much easier to build something rather than exchange time for money.
I feel like I've woken up on the other side and realised I missed out - I did of course make money in the industry, which i realise is harder to get into now and faces big challenges, so I'm thankful for that - but wow - hindsight really shows up how different things were then.
Anyone else feel the same way?
EDIT: Title should read 'web IS over'
EDIT: Wow thanks for the replies everyone; quite taken back by how much this has hit a chord. I can't reply to everyone but appreciate the sense I get that I'm not alone. For now I'm choosing to appreciate that we were part of a fun time, and that it's still laid a path for today, both for me and others. Yes i could have taken more risks and built some stuff that could be paying off more today, but its not certain it would have worked whereas what I did has.
[link] [comments]
I am really studying and understanding the effects of good Design vs something that is just unusable. I came across this little website called Facebook and it... man it's overkill.
It's like a company had too much time on their hands and wanted to cram every idea they ever came up with into one single platform. It is the definition of an omni application.
I know the smart folks at Silicon Valley have better QA and Designers are better than this. The main screen is overcrowded, layers of app bars and icons. The "Hamburger" Icon brings you to a full page of just "stuff" then from that page there is a settings cog wheel icon that takes you to more nonsense and confusion.
From the settings page you just go down rabbit holes after rabbit holes of pages.
Like how does something like this happen and someone think that this is Ok?
[link] [comments]
I made it to the "signing the contract" stage on a job application but couldn't sign it because their was a clause that allowed the company to claim ownership of ANYTHING (including side projects produced in the evenings and weekends outside of work hours) I built while employed with them.
Both the CTO and recruiter claimed this was a perfectly normal contract, that I was looking too deep into it, and that no one else had objected to this in the last 7 years and that I should sign it.
But to me this was extremely unfair as a contract is supposed to protect the interest of both parties - and I work on a lot of stuff on the side that is as important to me as there code is to them.
I said the contract was to ambiguous and could only really accept something along the lines of "all work produced on your time is yours and all work produced on my time is mine" which they wouldn't accept.
Which basically ended the job application.
This sounds completely unreasonable to me.. am I right in thinking this or is this a standard part of any contract in the UK and I should have just signed it?
[link] [comments]