TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: ChatGPT taught me how to code – I made a daily movie song guessing game

7 点作者 wernah大约 1 年前
Backstory: I&#x27;m a product designer who&#x27;s mostly worked for startups and now big tech, and I haven&#x27;t really touched html&#x2F;css for nearly a decade. I&#x27;ve worked closely with engineers my entire career but never really rolled the sleeves up and dived into a scripting language. I&#x27;d seen some engineers playing around with CodeGPT over a year ago when it launched–we huddled around a screen and tried to decide how quickly our jobs would be replaced by this new technology. At the time, we weren’t in any real danger, but I caught a glimpse of how well it understood prompts and stubbed out large amounts of code.<p>For the past four or five years, I&#x27;ve played a hacky trivia game with family and friends where I play a song, and they have to guess the movie that features the song; Guess the Needle Drop. After many passionate debates and over-the-top celebrations fueled by my generation’s nostalgia for popular classic songs and films, people often told me that I needed to “build an app for this.”<p>I started doodling in Figma before quickly starting to build the website in Node, and then read somewhere that it&#x27;s a better approach to learn vanilla javascript before trying to benefit from frameworks like React, etc. So I started again with a static vanilla website and, piece by piece, built out each chunk of functionality I’d envisioned. My mind was consistently blown at how helpful ChatGPT was–far beyond my lofty expectations, even with all the AI hype. It was like having a 24&#x2F;7 personal tutor for free. I rarely had to google console errors hoping that a Stack Overflow discussion catered to my exact scenario. With enough information, ChatGPT always knew what was wrong and explained in terms I could understand.<p>The workflow went like this: I would describe the desired user experience, parse the code GPT suggested, copy it to my editor, and paste back any errors I came across along the way. The errors were abundant at the beginning, but I got better over time at anticipating issues. Perhaps my biggest takeaway was that I had to learn how to converse with ChatGPT: sometimes I would spend 10 minutes crafting a prompt, forcing me to fully understand and articulate my own line of thinking about what I was trying to achieve .<p>Using ChatGPT to make a static local website is fairly trivial, but the deployment and automation stage is where I fully realised the scope of what I could achieve. As a product designer, I’ve had the luxury of listening to engineers discuss solutions without personally having to sweat the execution. Working solo I couldn’t stay in the periphery anymore. I kinda knew AWS was a whole thing. That git was non-negotiable. That having a staging server is sensible and that APIs could do a lot of the heavy lifting for me. I would sanity-check with ChatGPT whether I understood these tools correctly and whether it was appropriate to use them for what I was building. A few of the things that initially intimidated me but I ended up working out:<p>- GitHub Actions workflows<p>- AWS hosting and CloudFront<p>- Route 53 DNS hosting<p>- SSL certificates<p>- Implementing fuzzy search<p>- LocalStorage and JSON manipulation<p>- Even some basic python to scrub data<p>It’s a fairly basic game, and for anyone sneaking a look with the inspector, it’s a dog’s div soup breakfast served with a side of spaghetti logic. But it still goes to show how much AI seems like a learning steroid.

1 comment

samstave大约 1 年前
Did you use chatGPT? with vscode&#x2F;copilot? (or other&#x2F;local GPTs? (I am on GPT selection use overload, and I cant go spending a bunch of money on different GPT subscriptions when I dont know what actually fits my needs)<p>What did you spend on everything to get going (gpt subscriptions&#x2F;tools&#x2F;initial AWS credits -- can people still get free cloud credits azure&#x2F;gcp&#x2F;aws) for their personal startup efforts?<p>I try to play, and it plays bohemian rhapsody, but I cant type in a free answer and the submit button is greyed out... am I supposed to select from the pop-up-tips? <a href="https:&#x2F;&#x2F;i.imgur.com&#x2F;ELx52GB.png" rel="nofollow">https:&#x2F;&#x2F;i.imgur.com&#x2F;ELx52GB.png</a><p>How about a multiple choice mode. (also, its just a nice way to play random songs :-)<p>---<p>I am in the exact same boat - a TPM for 30 years, and was a really technical Ops guy for half of it then mgmt and consulting for the other half - I used to be able to navigate AWS with my eyes closed, but havent even touched it in a couple years....<p>I am a social learner - so when I attempt to learn to code, I get stuck and googling doesnt help as much as a person....<p>So I have been thinking of apps that have been ruminating in my Amygdala for too long...<p>The simple daunting pieces still daunt me, but this inspires me to put up my couple apps that <i>should</i> be quite simple. They all have kind of the same components -<p>One is just a &quot;Water Me&quot; - take a pic of your plant(s) and it will ID the type of plant (stretch goal) - but have a simple watering schedule reminder. I love plants, but I am very bad at recalling when to water them or check on them - so I have gone through thousands of plants in my life for my Black Thumb.<p>Other stretch goals are to have it tell me what plants go well together - I dont have a good aesthetic eye when it comes to plants. I like to look at r&#x2F;cozyplaces and simply admire others&#x27; selection of different plants, which look great in-house, but I wouldnt have picked them at the nursery.<p>---<p>The other is basically the same, but for making Baseball cards for little league teams... (I was using Bartender[0] to make labels for products, and playing with employee badge making - and my neighborhood kids have a tone of baseball happening around me (there are ~4 baseball fields within 1000 meters of my house...) - Thought the kids would like to make their own baseball cards (also helps that we have a baseball memorabilia room in our house with ~10,000 baseball cards...)<p>these seem simple enough, but I have been too lazy to tackle them due to severe ADHD procrastination fears.&#x27;<p>-<p>[0] <a href="https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;65wbd6a" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;a&#x2F;65wbd6a</a><p>[0.1] <a href="https:&#x2F;&#x2F;www.seagullscientific.com&#x2F;software&#x2F;bartender-feature-comparison&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.seagullscientific.com&#x2F;software&#x2F;bartender-feature...</a>
评论 #39550534 未加载