10 ms·
I’m not a programmer, and I used AI to build my first bot
- tomrod 3y agoI love seeing stories like this. The ability to write code and perform in-depth engineering is a fantastic skillset. It's also relatively rare for it to be done well. For the easy to potentially middling cases, AI-generated applications are going to help a lot. The downside is now there is pressure for quantity over quality. Might be fuzzy in the market for awhile.
- fullstackchris 3y ago> The downside is now there is pressure for quantity over quality. Might be fuzzy in the market for awhile. I don't know, it's been that way for a while now, hasn't it? Every C level / product manager bombarded with "new tool / language this", "new tool / language that" hype, when often its a bunch of noise and only a small selection are likely the correct choice for the org.
- deleted 3y ago[deleted]
- shapenamer 3y agoKinda curious what the author's stance on using AI to create art is.
- minimaxir 3y agoThis post has no relationship to the current copyright/ethics battles of generative AI.
- ipaddr 3y agoSure it does. The AI that was used was trained on copyright material.
- djmips 3y ago'no relationship' is too strong.
- shapenamer 3y agoWhy not? It was trained on other people's work.
- minimaxir 3y agoFor one, the post isn't about AI art in any way, which makes your comment appear as a low effort drive-by. Second, the use case described in the submission is functional and internal-only, and does not deprive or have the potential to deprive software developers or artists of any lost revenue or recognition. It's purely a reflective experiment. There's some nuance into the scope of generative AI, which normally Hacker News does well at discussing. But kneejerk "AI art is theft" comments only serve to discourage people from sharing their experiences with AI.
- shapenamer 3y agoWell I never said the article had anything to do with AI art. I have simply noticed a pattern of almost everyone agreeing that AI generated art is bad and harms real artists, while simultaneously agreeing that AI generated code is great and only helps programmers. My post was fairly low effort though I'll give you that. It seems to have pushed a few people's buttons none the less lol. There's another story on HN posted today about balancing money and meaning and one of the top comments is a sarcastic put-down about the AI generate image at the top of the blog post. If the author had used AI to create the web page they'd almost certainly receive similar praise as the comments on this one. Both AI's are trained on other people's work, yet you seem to think even pointing this out is unfair. Very strange imo.
- minimaxir 3y ago> There's another story on HN posted today about balancing money and meaning and one of the top comments is a sarcastic put-down about the AI generate image at the top of the blog post. If the author had used AI to create the web page they'd almost certainly receive similar praise as the comments on this one. Both AI's are trained on other people's work, yet you seem to think even pointing this out is unfair. Very strange imo Most of the comments on that submission are negatively and fairly accusing it of being ChatGPT generated: https://news.ycombinator.com/item?id=37779591 https://news.ycombinator.com/item?id=37779591 That submission also appears to have been flagged/penalized, so yes, people aren't happy with it. There is a significant difference between using AI for a functional purpose that others can learn from and using AI for low-effort marketing blogspam.
- ianbutler 3y agoYou are now! It's the act of solving the problem not the code itself that entirely matters. Code is simply an unfortunate vehicle to do so. I've been programming for almost 20 years now, 10 professionally and I love it. I also maintain that for a lot of the programming that makes the world go round, it's not that hard. People just convince themselves they won't be able to. LLMs have supercharged me as an experienced dev, not writing code[0], but rubber ducking[1] with something that talks back and I can ask my question in an infinite amount of stupid ways and it won't balk. If it can do that for me, designing a database, it's about to introduce a whole new wider range of "I'm not a programmer"s into being programmers. Good timing too, the world needs it. I know particularly prickly devs will be annoyed by people they see as not true developers, but, and sorry to be so blunt, fuck em. It's short sighted because if you're as deep and skilled as you think you are, you won't intersect with this new wave of programmers anyway. [0] I stopped using copilot, it got in my way too frequently even after initially liking it. [1] I use GPT4 and I intend to publish my entire history of my back and forths I've had with it for designing a database after I release my project, but it basically just let's me bounce ideas off it. The caveat is this area is not unfamiliar to me, and the techniques I'm discussing I know enough about to call bullshit on when I see it.
- eviks 3y agoHe was before "now" and this replit promo > I attempted to learn Python to automate some basic data manipulation and scraping tasks we did.
- asddubs 3y agoi don't think you're a programmer if you do not at least understand code. it's not elitism, it's just a definition. you don't have to be an expert or even understand it well, but if you're just interacting with a chatbot and copying and pasting without knowing anything about it, you are not a programmer. what's next, if i execute a program on my computer I'm a developer because it solves my problem?
- croes 3y agoAm I an artist if I let Midjourney create an image for me
- galaxyofdoom 3y agohttps://intuitiveexplanations.com/tech/replit/ https://intuitiveexplanations.com/tech/replit/ https://news.ycombinator.com/item?id=27424195 https://news.ycombinator.com/item?id=27424195
- gumballindie 3y agoI knew nothing about replit prior to this post and upon reading it and the claim of “20 million software creators building on Replit” i knew there was something dodgy about this company. Your links confirmed it.
- swyx 3y agolook i'm admittedly replit friendly (tho no vested interest whatsoever) but how does one badly handled issue with an intern, make the entire company's 20m registered user claim "dodgy"? its a very short path from there to wire fraud and i dont think they will go anywhere near there.
- jatins 3y agoIt was plain intimidation by the founder and further doubling down on it made it pretty clear where they stand ethically. Whether someone wants to let the behaviour of a company's founder color their judgement of the company is upto them. But painting the whole thing as "one badly handled issue" undermines is.
- dukeyukey 3y agoThis is the blog post where the "20 million developers" quote came from: https://blog.replit.com/20-million-developers https://blog.replit.com/20-million-developers Those 20 million, what are they? Created user accounts? Active user accounts? User accounts that created at least one Repl? I have at least three Replit accounts - one on my uni email (which I no longer have access too), a previous work account (experimenting for doing interviews with it), and my personal account. Am I three developers? None of those accounts are active, do they count or not? If that 20 million figure is taken from anything less than active users I'd consider it deceptive. Which doesn't mean Replit the app is bad! But it does make the company a bit suspicious.
- dom96 3y agoInteresting, I think Replit can bring a lot to this. I did a little experiment where I asked my partner to use ChatGPT to write a Python script to solve a file comparison task, the biggest challenge was the tooling (VS Code, terminal, etc), something which I would expect Replit can make much easier. I did a write up of it here: https://blog.picheta.me/can-chatgpt-help-my-non-coder-partner-build-software https://blog.picheta.me/can-chatgpt-help-my-non-coder-partne....
- anotherpaulg 3y agoHave a look at my open source tool aider. It is really focused on a smooth “AI pair programming” chat workflow, and directly integrates with your local git repo. https://github.com/paul-gauthier/aider https://github.com/paul-gauthier/aider
- dom96 3y agoNice, looks really good!
- adenwill515 3y ago[dead]
- dev_throw 3y agoAll good until we get a new vector of subtly poisoned training data introducing vulnerabilities if one doesn't understand the generated code.
- __loam 3y agoThis is probably the funniest consequence of these models. Pre gpt training data is going to be like the radiologically inert steel we need to scavenge from sunken warships.
- deleted 3y ago[deleted]
- ryanklee 3y agoHow is this any different from the mountains of shitty code produced every hour by millions of shitty developers everywhere? This form of argument appears in every thread about LLMs: They are fallible, what will we ever do?! As if people haven't been fallible in both the same and different ways all along. How have we ever managed...
- spandextwins 3y ago[flagged]
- efnx 3y agoReally? And which model? What kind of setup are you using?
- screamingninja 3y ago> We’ve found the code quality coming out of our AI is a lot better than the H1b’s could produce. Are you seriously perpetuating stereotypes against a set of people based on their immigration status?
- __loam 3y ago[flagged]
- AlmostGreyBeard 3y agoNo, he's saying he had cheap coders creating cheap code.
- spandextwins 3y agoAbsolutely.
- jrflowers 3y agoOf course not, why would you write “cheap” when you can write “h1b”? Referring to people by only the noun of their immigration status with no other information in no way has any reflection on how GP thinks about anyone based on their immigration status.
- codeisawesome 3y agoYep, and what’s more, I’m sure that commenter is not referring to, say, ethnically German or French visa holders when disparaging “all those H1Bs” ;) I’ve learned to not be surprised by the persistent and nasty ‘community’ of these types of commenters here on HN, fortunately they’re not the majority.
- Imnimo 3y agoDoes Replit Ghostwriter reference live documentation of the API you're asking for, or is this just coasting on having memorized a recent version of the Slack API? If the latter, this seems like a completely unsustainable approach to development. What happens when an API change is introduced and none of the code Ghostwriter is giving you works, and its explanations of the API are all wrong?
- __loam 3y agoYer a programmer Harry
- brap 3y agoImagine having a person on your team who never learned programming, and just uses AI to generate code
- j0hnyl 3y agoThis wouldn't be good for an engineering team, but it would be great for almost any other team that doesn't have a strong sense of what to automate and how.
- krapp 3y agoThe reality of this is the only engineers involved will be "prompt engineers."
- thwarted 3y agowould be great for almost any other team that doesn't have a strong sense of what to automate and how The "what" is always the hardest part, both to acknowledge as being necessary and to get right.
- j0hnyl 3y agoThe "what" is the hard part, yes, but the other hard part is finding the bandwith to get the business to build this automation. LLMs empower non-engineers with a technical bent to create helpful solutions for themselves.
- talent_deprived 3y agoIt feels like Microsoft has a paid fleet of AI evangelists prowling the forums praising anything related to AI no matter how ludicrous.
- Merad 3y agoWhich is great job security for the engineering team a few years down the road, when there's no one left who understands how the AI generated app works but it's become a mission critical part of some department's workflow. Kind of like all the tools that have been hacked together over the years using VB, Access97, Excel, etc.
- tiznow 3y agoI am learning programming -- or rather, relearning programming from a middle school/high school course basis into further achievement. While I believe that using AI to "code for you" is just undercutting your potential to be any sort of "good" programmer, using AI to learn and ask questions repeatedly without fear of judgment is the key. That being said, using AI to code can just screw you over by presenting bad code, faulty code or the LLM simply not understanding the demands. It's not a tool to use in lieu of actually knowing/learning how to code and understanding the programming language in question.
- salawat 3y ago>Using AI to learn and ask questions repeatedly without fear of judgment is the key. How... how, I ask, does not asking a question for fear of being judged get you anywhere? I hold that overcoming that shortcoming is a critical part of becoming a builder of systems. Using an AI to try to spackle over that interaction rather defeats the point.
- m3kw9 3y agoThis means you are already a programmer
- bethecloud 3y agoI love using replit to write tools for completing small tasks. I recently used it to send out a SMS via twilio to my entire hs class for our 10 year reunion.
- jeremypress 3y agoI work with the OP and i can attest he really did not know how to program before he tried this. I'll still help you debug Jeff don't worry
- booleandilemma 3y ago2000: Hey dude can you fix my computer? 2023: Hey dude can you fix my program? I predict this is all LLMs are going to result in.
- papruapap 3y agoHelped me to find a missing comma in a sql query a couple of weeks ago.
- yieldcrv 3y agoprotip: if you’re spending more time bug fixing code that AI spit out for you, ask the AI to do smaller problems Yes, it absolutely will spit out the answer to something as complicated as your take home interview problem from description alone, but you wont know how to fix it for a presentable touch up, or adding more to it Instead break it out into smaller problems and do many of those
- TrackerFF 3y agoOn one hand, I have a hard time believing that someone who studied math (even if it was just a minor) and managed to land a job at BCG was not able to pick up basic programming. On the other hand, good job and welcome to the club. I think this shows what many have said in the past months, that one major success of LLMs is to make consultants, business people, etc. more proficient by LLM aid.
- brianjking 3y agoI love this. I'm a somewhat technical Product Manager who has written code before, but outside of some freelance work and a little bit of research in undergrad I never worked professionally as an engineer. I regularly use AI to help me write multiple microapps for personal and work use.
- block_dagger 3y agoThe most important quality as a programmer is to understand that you are facing an unlimited series of problems and you have to enjoy solving every single one until you stop.
- sph 3y agoThen you level up to an actual senior engineer and understand that while issues are infinite, you don't have to solve every one of them. Your goal is to identify the smallest set of issues to solve to reach a goal, and that is a problem of exponential complexity outside the reach of machines, as long as P≠NP. Programming is to software engineering what knowing music theory is to be a composer. LLMs might replace the mechanical aspect of our job, but that was the easy part all along.
- danielvaughn 3y agoSomething that often gets left out of this conversation is that "writing code" is VERY different than "maintaining code", and maintenance is 99.9% of the work. So what happens when the AI-generated code fails? You might say "well I'll just ask the AI to fix it!" Okay...what if the code is part of a distributed system and therefore would require investigating traces across several components to diagnose? What then?
- johnfn 3y agoThen you feed the AI those components?
- firtoz 3y agoMaybe the AI can help fix that too. Or maybe they can ask a friend. Or maybe they can learn a bit when it becomes necessary.
- j-a-a-p 3y agoMaintenance for humans means understanding the code, which leads to all sorts of requirements. Perhaps GPT does not care about that and is comfortable with spaghetti code (just like the compiler BTW - rather one bowl of spaghetti versus a layered cake of abstractions). Does a chess computer need to understand chess in order to win?
- firtoz 3y agoLLMs do have the ability to imitate someone who did understand similar concepts back in the day, and those who cared about it.
- neurostimulant 3y agoWhen that's happen, then it's time hire a programmer. Just like all those site builders don't make web developers disappear because you'll eventually hit a limit and need a programmer to solve the issue.
- atleastoptimal 3y agoThe best part of using ChatGPT/AI for programming is it allows programming to be more about the fundamentals, design, and high level logic rather than needing to know an endless amount of "trivia" on all the weird non normal stuff and hacks are needed to work around most modern infrastructure/dev environments/tools. I don't have to hope that I happen to know of some weird memory issues caused by some random package or version or something, AI can catch it before I go down a Google rabbit hole trying to fix whatever random errors start popping up.
- deleted 3y ago[deleted]
- axelthegerman 3y agoHappy to see the progress the tooling has made BUT "I'm not an architect, and I used AI to build my first bridge" probably also wouldn't be a great idea. Good tools to learn and take over mundane tasks but in the end you're the one owning and maintaining this code (no matter if a contractor wrote it for you, copied it online or used AI)
- aterp 3y ago> Before I joined Replit, I had never written a line of code. > I [had] tried to learn to code to earn some money to support my training. At Boston Consulting Group, I attempted to learn Python to automate some basic data manipulation and scraping tasks we did. Seems contradictory.
- jtdev 3y ago[dead]
- nirushiv 3y agoThis is just typical replit marketing. They have a long list of shady practices
- libraryatnight 3y agoBut they read something once where the person had "Never done X" and found it a useful rhetorical device that really punched up the article, precise and honest language about reality is so boring and passe. /s
- Havoc 3y agoEspecially helpful with cross language. If I know python and need say nodejs then LLMs are just enough of a crutch to bridge the gap. Ie the conceptual knowledge is there. At least for smaller things. For larger projects I do above, wrap it as api in docker and use it via python that way for wider project
- ale42 3y agoIs it me, or this site is super slow/heavy to scroll?
- mediumsmart 3y agoYou can learn anything you are interested in. If you are really interested, you will.
- d--b 3y ago"I'm not a programmer", I am in fact someone who works for replit, and happens to have "building things for replit" written in his Twitter profile.
- nunez 3y agoI don't know, man. On one hand, ChatGPT provides a hell of a quick start template for getting going with a new app. This can be super useful if you're seasoned and don't want to boilerplate, or you're not as seasoned but still know things and want to get started quickly. On the other hand, writing tons of code while not understanding what's happening at all is a huge liability. What happens when Slack changes OAuth scopes for those endpoints, or Google pulls a Google and changes their Search API endpoints, and ChatGPT doesn't know about it due to the knowledge cutoff? What happens when you run into a runtime error and GPT keeps feeding you wrong answers? What happens when you run this in the cloud as a serverless function and get a huge bill after your first scaling event? We've seen this today with devs who copypasta stackoverflow answers into their codebase and leave little traces of tech debt that result in massive outages that require Herculean efforts to solve. It's a huge problem, IMO, and GPT is making it worse. My last thought on this. It is absolutely bonkers that so many of us are gung ho for using GPT to code. It is absolutely crystal clear to me that this will decimate programming as a career for future generations, and we're...letting it happen? We're (labor) the most expensive expense for most companies; founders/executives are obviously going to use this stuff to justify offshoring SWE dev to cheaper markets.