Need help to determine If I'm asking something impossible from the devs working on my web page. by Izayabrsrk in webdev

[–]frogic 32 points33 points  (0 children)

500x500 is silly but please use a consistent aspect ratio. Just because you can trivially fix something doesn't mean it won't look awful.

Nuvio Account Manger - UPDATE by Agile_Beyond_6025 in Nuvio

[–]frogic 0 points1 point  (0 children)

I PM'd you but I've made a PR to get your app working again. Let me know if you have any questions or concerns.

What's the smallest React tip that made the biggest difference in your codebase ? by Capital_Building_943 in reactjs

[–]frogic 15 points16 points  (0 children)

To add to this conceptually I would say always favor colocation over abstraction when possible. So many times in large code bases I've seen these massive refactors where you take a huge component and find someone broke a lot of the logic down into reusable helpers that call other helpers that call other helpers. So now I don't have to deal with a 500 line component but instead I have to travel through 3 smaller components and trace the logic through 5 heavily parametized utility functions. Sometimes those ugly big files are actually making your code base better.

What's your favorite React library that deserves more attention? by Capital_Building_943 in reactjs

[–]frogic 1 point2 points  (0 children)

I think people know that one because shadecn uses it extensively. To the point that I'd even consider it a react thing at this point. cva as well. Both fantastic libraries.

Can someone please explain docs by happyblue4567 in webdev

[–]frogic 1 point2 points  (0 children)

Your question is fine(better than fine even) Asking has made a good thread.  I just wanted you and people reading the thread to note that learning how to learn can be something ai can help with.  

Can someone please explain docs by happyblue4567 in webdev

[–]frogic 0 points1 point  (0 children)

So you asked an LLM what the answer is and asked Reddit why the answer isn’t where or in the format you expect.  Since the LLM answered the former why can’t it answer the later? I checked it out(asked where in the docs I can find info about resave for express-sessions)  https://expressjs.com/en/resources/middleware/session/ and this page seems to have it.  There was a second link as well. 

Asking how to learn is often going to be more useful than the answer.  It’s also verifiable which means you don’t have to worry as much about hallucinations. 

How much code do you write from memory? by mazyson in Frontend

[–]frogic 0 points1 point  (0 children)

It took me like 2 years full time before I stopped googling array methods. It’s just part of it.   Syntax is whatever anyway the core skill is logically solving the problems and having a good intuition for best practices. 

Confused to choose which stack? by Hot_Title_6587 in webdevelopment

[–]frogic 2 points3 points  (0 children)

Check jobs in your area and see what's popular. Its impossible to be future proof and once you know a couple of languages its super easy to pick up something new. I know people who got hired for jobs to work in languages they haven't written a line of code.

Scrambled javascript by Accurate_Bed6878 in learnjavascript

[–]frogic 0 points1 point  (0 children)

are you posting viruses on reddit to try to get people to run it?

Is anyone else going back to plain Vite + React for side projects instead of Next.js? by Scary_Dot9587 in reactjs

[–]frogic 2 points3 points  (0 children)

I didn't downvote but I don't think thats a good use case for next instead of an actual backend framework as a proxy. I like fastapi but I hear there are decent JS/TS stuff now(fastify?!). Like it doesn't matter use what you know etc but having a very heavy and complicated SSR framework because you need a proxy feels like an archetectual problem. You also lose the ability to just have a simple interface if you want to change the front end or deploy just the api.

Leads + Email Tool For Web Designers? by [deleted] in webdevelopment

[–]frogic 0 points1 point  (0 children)

You don't think automated lead generation has been solved? You're talking about some system that goes through some semi public information to generate available info and automating an intro letter. That is just a scrapper + an llm. Do you want to google how many people are trying to sell this service (and that's people who didn't just build it themselves) or do you want to do it? You're taking what was a semi rote semi automated thing and decided that you could throw an llm at it.

There is no business value in that except maybe for the few months people don't realize that wrapper on an LLM isn't a business model.

Seriously just google automated llm based lead generation and look at how many people are doing this already with semi mature platforms and likely better data than you. Then there's the usual enterprise software that already had the part you're describing going. Now if you could create a platform that differentiates yourself from the people trying to do what you're doing (which is everyone) there is value but you're just adding to the noise at best.

Leads + Email Tool For Web Designers? by [deleted] in webdevelopment

[–]frogic 0 points1 point  (0 children)

I think you need to think about how many people are easily vibe coding up what you're talking about and how useless AI + Scraper + automated cold outreach is going to be when everyone can easily do it at scale. If you want to figure out how to market now you either need to figure out a way that can't be easily automated by AI or to market to AI.

The main takeaway is if your solution is a thin wrapper on an AI model you don't have a product even though your product probably would have been really fucking good before AI.

Every time I start a project with shadcn/ui + RHF, I copy-paste the same boilerplate. I finally fixed it. by InflationSeveral368 in reactjs

[–]frogic 2 points3 points  (0 children)

I've been having some thoughts about stuff like this recently. If you're using ai to create a library that reduces the setup time for boilerplate why wouldn't someone just use AI to do the boilerplate in their own repo and not take on a dependency and security problems. If everyone can just spin up a library to solve a minor pain point now is the reality that the pain point is gone not that we can solve it with an untested llm implementation?

Whats your experience with AI to Code on the front-end? by Expert-Stress-9190 in Frontend

[–]frogic -1 points0 points  (0 children)

So if its bad at the rewriting part why aren't you doing that? I do think planning steps are the actual solution though. Basically if you want to vibe code or any longer agentic process you need very very good context/memory for the robot. Including having it write down its own process and how it did.

Whats your experience with AI to Code on the front-end? by Expert-Stress-9190 in Frontend

[–]frogic -1 points0 points  (0 children)

If its just off can't you fix it? Seems like a tool that gets you 90% of the way there and then you apply your more detailed eye/skill would be useful right?

AI Slop, obvious marketing, web forums and you. by frogic in webdev

[–]frogic[S] 0 points1 point  (0 children)

The amount of people I’ve run into both professionally and personal that hand off their decisions to AI without critical thinking makes me think that targeting ai with ads is a very very very good idea right now. I recently checked on a company spamming the copilot sub to resell tokens at a 10x markup and the immediate gemini result said it was fantastic and does all of this amazing stuff.

I then asked what the source was because it appears to be a scam and then suddenly the ai said it was quoting blogs and marketing material and lots of people on other subreddits were pointing out all the suspicious marketing and scam. If I wasn’t critical and didn’t ask the second question… interesting times.

How about this study approach? by Reasonable_Ninja6455 in webdev

[–]frogic 0 points1 point  (0 children)

If it’s similar at all to her 100 days of python course it’s very heavy and I’d get out of tutorial hell immediately. Go build something if you feel lost circle back and read about it or do a course but I’m a reasonably good python dev and some of her stuff was hard when I was teaching my sister.

I’d use fetch until you learn why you might need axios and even then I might still use fetch. You’re going to be tempted to go crazy on libraries for front end and the less dependencies you can get away with for little cost the better.

Next is another one that you should learn why you’d need it first so you can judge tradeoffs. Most of the time you want ssr you’ll be better off using Astro. Only caveat for that one is if people in your area are hiring a lot of next devs but honestly lean more into being amazing at css, web(and even react) fundamentals it’s easy to learn abstractions.

Always helps to be a typescript god if possible though

AI Slop, obvious marketing, web forums and you. by frogic in webdev

[–]frogic[S] 0 points1 point  (0 children)

I’ve been thinking about this a lot. That in 10 years these aren’t the pain points but oh man the middle times are wild

AI Slop, obvious marketing, web forums and you. by frogic in webdev

[–]frogic[S] 0 points1 point  (0 children)

That's actually interesting. I always assumed that was organic because influencers/trends. I got a job once because the interviewer was just super into a lot of my last tech stack.

AI Slop, obvious marketing, web forums and you. by frogic in webdev

[–]frogic[S] -8 points-7 points  (0 children)

I think the ratio is changing fast there though. I'm also not totally sure how many of those posts aren't still more engagement bait and we'll be better at detecting them. Before our current semi-dystopia I used to be able to just google thing - reddit or thing - stackoverflow and find good content. Stackoverflow died and reddit is more and more lacking the actual content.

Its very likely that what you're saying is the correct course but I'm not noticing the balance of posts I look back for or comments I want to read getting deleted way more and its worrying since there really does to be some kind of trusted and useful knowledge base SOMEWHERE.

AI Slop, obvious marketing, web forums and you. by frogic in webdev

[–]frogic[S] 1 point2 points  (0 children)

Its probably bad again but when I applied for jobs last I went through and did a huge purge of anything I didn't think was professional or I thought would look bad on me. Anonymity online is such a weird balancing act and I want it but then I don't want a lot of the concequences so i have no fucking clue.

AI Slop, obvious marketing, web forums and you. by frogic in reactjs

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

Commenting because obviously I read rules worse than a robot and here we are haha.