今日已更新 294 条资讯 | 累计 34578 条内容
关于我们

今日精选

HOT

最新资讯

共 34578 篇
第 1454/1729 页
AI 资讯 Dev.to

10 prompt patterns I use every single day

10 Prompt Patterns I Use Every Single Day Last Tuesday I spent 40 minutes arguing with Claude about a database schema before I realized I had never told it what I already tried. I described the problem, it gave me the same three suggestions I had already ruled out, I pushed back, it apologized and gave me variations of the same three suggestions. The entire session was garbage because I started from zero instead of from where I actually was. I closed the tab, rewrote my first message, and had a working solution in six minutes. That gap — between how most people prompt and how it actually works when you treat the model like a collaborator who needs real context — is what this post is about. Pattern 1 & 2: Lead With What You Already Tried, and State the Constraint That Binds You These two patterns are almost always used together, so I won't pretend they're separate. When you describe a problem without the history of your attempts, you are forcing the model to rediscover your dead ends. Every developer knows this frustration: you explain a bug, get back a solution you tried on Monday, explain you tried that, get a variation, explain that too — it's a recursive waste. The fix is brutal honesty upfront: "I need X. I already tried A and B. A failed because [specific reason]. B is off the table because [constraint]. Don't suggest either." The constraint layer is the other half. Models are optimists by default. They will give you the architecturally clean, perfectly testable solution that requires three new dependencies and a refactor of your auth layer. Unless you tell them you are shipping in two days, can't add dependencies, and the code needs to be readable by someone who last touched Python in 2019. Constraints aren't limitations on the answer — they are the answer. Front-load them or you will spend the session rejecting suggestions that are technically correct but situationally useless. Pattern 3 & 4: Output First, Reasoning After — and Diff Only, Not Rewrites Two sid

eternalsix 2026-06-07 05:02 12 原文
AI 资讯 Reddit r/programming

Need 12 Testers for "Sugar Fall" (2D Game) - Will Test Your App Back Instantly! 🚀

Hey everyone, I need 12 more testers to complete the 14-day closed testing requirement on the Google Play Store for my game, Sugar Fall: A Whimsical Adventure with a Dark Twist! 🍩👻 Anyone can join immediately. Please support an indie dev! ✅ Step 1: Join the Google Group https://groups.google.com/g/cos-alpha-testing-team/ 📥 Step 2: Download the Game (Google Play Store) https://play.google.com/store/apps/details?id=com.crackorigins.sugarfall 🤝 Mutual Help: Please leave a comment below with your app links and a screenshot after downloading mine. I will test your app/game back immediately and keep it for 14+ days. Thank you so much for your support! 🙏 submitted by /u/anyboy1 [link] [留言]

/u/anyboy1 2026-06-07 04:32 6 原文
产品设计 Reddit r/webdev

The complete IPv4 address space, mapped

Since my other site I posted today did so well I figured I'd share this one too. This site actually gave me the idea for Overwatch.earth. Yes, this one will likely become a SaaS in time due to the operating costs but as it stands now it's completely free. WorldIP.io - The complete IPv4 address space, mapped submitted by /u/tuxxin [link] [留言]

/u/tuxxin 2026-06-07 03:44 6 原文