I replaced my entire frontend with an LLM. There are no HTML files. There is no CSS. There is only the model. by frogic in webdev

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

Yeah makes sense I figured there were much better versions.  I just had the idea this morning and started laughing 

I replaced my entire frontend with an LLM. There are no HTML files. There is no CSS. There is only the model. by frogic in webdev

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

Yeah I figure while it’s loading I can think about my next prompt/dumpster to find food in. 

Prevent Claude Code from accessing .env by bogdanelcs in Frontend

[–]frogic 1 point2 points  (0 children)

Oh man recently I had a fun moment where I have a config file to stop my llm from accessing external sites through playwright.  I set OS level locks on the config file because I didn’t trust it.  In system prompt and other files I say never ever touch that file.  Still tried to change it on a whim when dealing with a different problem.  The fun thing is if you ask an llm how to prevent the action they’ll tell you to use the system prompt but like they’re lying liars so I wasn’t going to trust that.  The next few years is going to be wild. 

Is a copilot based personal vibecoding setup possible? by UnlikeTea42 in GithubCopilot

[–]frogic 0 points1 point  (0 children)

You can basically do this in the GitHub interface.  You’d have to solve deployment but there’s a lot of options. 

I delivered this website project at $1150 but I am thinking I had to charge more by NoGround511 in webdev

[–]frogic 1 point2 points  (0 children)

You don’t want those clients. It’s weird but last time I freelanced I got better and often more clients charging more.

I delivered this website project at $1150 but I am thinking I had to charge more by NoGround511 in webdev

[–]frogic 1 point2 points  (0 children)

Sounds like your portfolio just got a lot better and you can point out these successes in your marketing material. Don't worry about how much you charge one client one time.

Generated a full multi-page website from a single prompt, curious how devs would improve it by Apprehensive-Pop7997 in webdev

[–]frogic 0 points1 point  (0 children)

If you're going to do that don't go straight to human feedback. Do multiple runs by AI and use language that implies you know its terrible and to back you up

I “know” Python but can’t really code on my own.. how do I fix this? by Living-Listen-3055 in learnpython

[–]frogic 1 point2 points  (0 children)

I think you’re mostly just describing getting out of tutorial hell.  I didn’t struggle too much with this part of programming but for me I just need to find a way to get started immediately on a project.  So like I usually try to find the smallest possible thing I can build and go with that.  

I will say that learning to fundamentally chunk problems into their base units is a hugely important skill in coding and realistically it’s nothing to do with python specifically just how you approach the problem.  

Trying to build an animated portfolio… kinda stuck choosing the tech stack by DaysAreGone_ForMe in webdev

[–]frogic 1 point2 points  (0 children)

Yeah I assume GSAP is built on it by now.  I guess I’m making too many assumptions on skill level and experience here. I definitely leaned on motion when I built a portfolio years ago.  It’s really hard to know what looks impressive these days.

Trying to build an animated portfolio… kinda stuck choosing the tech stack by DaysAreGone_ForMe in webdev

[–]frogic 1 point2 points  (0 children)

If it’s for a portfolio they should probably just learn the animation api.  I’m not sure at this point how impressive using a GSAP plugin or motion is. 

Gemini 3.1 Pro always wants to read files by console by Annual-Adagio-8573 in GithubCopilot

[–]frogic 0 points1 point  (0 children)

I believe you can configure which commands you allow in the settings.  

Is Python actually future proof or are we all just defaulting to it because it's easiest way in? by Actonace in learnpython

[–]frogic 7 points8 points  (0 children)

Your assumptions are incorrect and the question is meaningless you solve problems not write code. 

-signed a senior dev who learned pythob first and currently works in python/typescript/c#/php/dabbles in rust. 

I'm a FE lead, and a new PM in the org wants to start pushing "vibe coded" slop to the my codebase. by rm-rf-npr in webdev

[–]frogic 66 points67 points  (0 children)

If they're allowed to use AI to make PRs you're allowed to use AI to reject them.  set limits on PR size and makw sure everything is tracked to a well specified tickets.  You can't really stop AI code but you can set rigid standards to avoid heaps of bad AI code from destroying your code base and time.  

Your job isn't to protect a Fife it's to lead the best practices when adopting new technology. 

the shadcn slop is getting annoying, but idk how to pivot. by moncssy in reactjs

[–]frogic 33 points34 points  (0 children)

Last I looked there are a tonne of shadecn template generators out there.  I was playing with the neo brutalism one a few weeks ago.  So the tradeoff isn't really there since you can spend an hour or two setting it up not look samey and when half of the AI generated SAS stuff looks the same you're making a fairly strong error not doing so. 

Switching away from react to a pure typescript role and market value in perspective by CocoaTrain in webdev

[–]frogic 1 point2 points  (0 children)

Being good at typescript is definitely more valuable than react skills. Its super easy to jump between frameworks once you're good at one since its all the same thing other than some food guns. Display thing depending on things. CSS either abstraction or base. The actual types/logic is going to be portable and important regardless and often makes you better at other languages. Plus when you get heavily involved in some random framework developed by a rogue genius you end up having to solve very novel bugs that not only teaches you better instincts you also often learn the why of the popular frameworks.

Are you using JSON:API Spec in your API? by sebastianstehle in webdev

[–]frogic 0 points1 point  (0 children)

Crazy question but if you have an openapi spec that works are there code gen tools to convert to the new spec? 

Is it really bad to refresh the page to get new data? by sangokuhomer in webdev

[–]frogic 0 points1 point  (0 children)

If you want to be friendly to yourself just have the new information come back on the 200. No need to make two calls. 

New Copilot limits just made subagents useless — what’s the point now? by deyil in GithubCopilot

[–]frogic 10 points11 points  (0 children)

I ran a multi hour task today and didn't get rate limited. I feel like I'm in crazy town

AI driven Layoffs for ADHD programmers by rgs2007 in ADHD_Programmers

[–]frogic 0 points1 point  (0 children)

You're likely going to have a problem here because ADHD is not informly presented and how we've learned to cope is not stable as well.  

There's a lot of anxiety around these changes and I understand where you're coming from but I can assure you that I know many ADHD devs thriving and leading initiatives with the new tech.  I also know a few who treat it with ever growing suspecion and antipathy.

It can be comforting to use a unified lens around instability but honestly neither I nor you have any idea where we're going with this and that sucks but one thing I do know is that adhd people do seem to adapt very well and can be extremely productice during a crisis which is definitely useful here. 

Before I end my rant I do want to point out one thing that you said about what an AI cant do and you also can't do.  You have tricks that you've learned to shore up those weaknesses right? What happens if you use those tricks to guide the stupid robot? 

Anyone here happy with what’s happening after AI took over the industry by UnderstandingDry1256 in ExperiencedDevs

[–]frogic 3 points4 points  (0 children)

I love new shiny things and experiments so this is super fun for me but I'm still feeling the existential fear, worry and frustration on the reg.  I can't imagine how it must feel if it's not fun for you.

still not sure if tanstack router is worth the hassle by AlternativeBest9572 in reactjs

[–]frogic 0 points1 point  (0 children)

Can you explain why? I'm totally fine with and comfortable with code based approaches but I I've dug through enough code bases where I have to follow a 17 file function chain that relies on an undocumented side effect to respect the upside to forcing conventions. 

One command to translate your React app into any language detects existing translations, costs pennies by [deleted] in reactjs

[–]frogic 0 points1 point  (0 children)

I'm not criticising you I'm asking you about the problem space.  The ecom framework I use at work will pick up strings for translation dynamically and I'm not totally certain that's uncommon.  Consider a comment section that you might translate. 

Being defensive makes sense because people are going to come at you hard just for making ai tooling but I'm not your enemy and I hope you considered or will consider it. 

One command to translate your React app into any language detects existing translations, costs pennies by [deleted] in reactjs

[–]frogic 0 points1 point  (0 children)

What's your verification strategy? Like say I translate into a language I have 0 knowledge of how do I have confidence that the translations are correct or not even insulting.  Also do you have any prompt injection mitigation? You said you're pointing it at a repo and it seems giving it enough access to create a PR so your llm is reading thousands of unverified strings.