<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Hacker News: khasan222</title><link>https://news.ycombinator.com/user?id=khasan222</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 15 Apr 2026 17:26:26 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=khasan222" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>Oh yeah the natural images are also low quality. Email me I’ll share with you something else I built</p>
]]></description><pubDate>Tue, 14 Apr 2026 15:12:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=47766703</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47766703</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47766703</guid></item><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>Thank you for the feedback. The store isn’t done waiting on the friend for actual products with their images etc.<p>If you really want to see what I was messing with email me. I’ll share on non public forums.</p>
]]></description><pubDate>Tue, 14 Apr 2026 15:11:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=47766684</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47766684</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47766684</guid></item><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>Eh, for many reasons I am not posting it here. It is a passion project for something and would lead to problems if I post it here. That being said I was trying to share the technique.<p>The reason for the post is that even without the actual website one should be able to envision the technique and how it may or may not work. Also if you look above recently I added links to the Claude.md for another thing I was working on for a friend that also had to solve this problem.<p>Just want to give people the tools to use ai well from my own findings</p>
]]></description><pubDate>Mon, 13 Apr 2026 23:43:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=47759413</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47759413</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47759413</guid></item><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>Thank you. Yes took a bit but still way faster than by hand. There are other store pages that are also implemented. This 1 page took me like an hour lol.</p>
]]></description><pubDate>Mon, 13 Apr 2026 20:43:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=47757574</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47757574</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47757574</guid></item><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>Hey, one thing I made with this technique is hartwork.life a simple Wordpress store for a friend. I used open ai to design it for me, and then used the techniques above to get Claude code to implement the proper designs.<p>I am still trying to learn how to wrangle Claude properly, but I have this Claude.md[1] for that I used to make the website. In particular one of the last rules about using imageMagick for comparison.<p>I haven’t touched this website in a bit (waiting on client) so now I use playwright mcp for the screenshots and the browser interactions.<p>[1] <a href="https://github.com/panda01/hartwork-woocommerce-wp-theme/blob/master/CLAUDE.md" rel="nofollow">https://github.com/panda01/hartwork-woocommerce-wp-theme/blo...</a></p>
]]></description><pubDate>Mon, 13 Apr 2026 19:00:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47756453</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47756453</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47756453</guid></item><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>I built a few websites, most of them it wouldn’t be wise to place on here. But someone emailed me about this, so I’ll do my best to help I did build <a href="https://hartwork.life" rel="nofollow">https://hartwork.life</a> for a friend with a design from open ai (pre google stitch which is my current preferred tool)<p>Here is the line from my Claude code to get something like this. Keep in mind I didnt use mcp for playwright with this particular implementation but it is my preferred method currently. Tha<p>CRITICAL - When implementing a feature based off of an image mockup, use google chrome from the applications folder set the browser dimensions to the width and height of the mockup, capture a screenshot, and compare that screenshot directly to the mockup with imagemagick. If the image is less than 90% similar go back and try and modify the code so that way the website matches the mockup closer. If a change you make makes the similarity go down, undo it, and try something else. be mindful the fonts will never be laid out exactly like the mockup, please use blur at a max of 10% to see if the images are closer matching. If you spend more than 10 cycles screen-shotting and comparing, stop and show the user how similar they are mentioning any problems<p>The more text the harder it becomes and it’s why we really need the blue because fonts are almost always rendered differently.</p>
]]></description><pubDate>Mon, 13 Apr 2026 16:47:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=47754733</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47754733</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47754733</guid></item><item><title><![CDATA[New comment by khasan222 in "Why AI Sucks at Front End"]]></title><description><![CDATA[
<p>Ngl I’m reading this article after having used ai to build a beautiful front end that is pixel perfect.<p>Yes ai can’t see, it only understands numbers. So tell it to use image magick to compare the screenshot to the actual mockup, tell it to get less than 5% difference and don’t use more than 20% blur. Thank me later.<p>I built a whole website in like 2 days with this technique.<p>Everyone seems to have trouble telling ai how to check its work and that’s the real problem imho.<p>Truly if you took the best dev in the world and had them write 1000 lines of code without stopping to check the result they would also get it wrong. And the machine is only made in a likeness of our image.<p>PS. You think Christian god was also pissed at how much we lie? :)</p>
]]></description><pubDate>Sun, 12 Apr 2026 14:27:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=47740102</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47740102</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47740102</guid></item><item><title><![CDATA[What's Wrong with LLMs?]]></title><description><![CDATA[
<p>Article URL: <a href="https://khalah.medium.com/whats-wrong-with-llm-s-7f4cd77f372a">https://khalah.medium.com/whats-wrong-with-llm-s-7f4cd77f372a</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47501937">https://news.ycombinator.com/item?id=47501937</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 24 Mar 2026 12:59:09 +0000</pubDate><link>https://khalah.medium.com/whats-wrong-with-llm-s-7f4cd77f372a</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47501937</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47501937</guid></item><item><title><![CDATA[New comment by khasan222 in "Ask HN: what’s your favorite line in your Claude/agents.md files?"]]></title><description><![CDATA[
<p>It does indeed if it’s in plan mode, kind of just not as detailed. Me being an engineer I can spot certain things or question assumptions it may make</p>
]]></description><pubDate>Tue, 24 Mar 2026 00:22:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47497054</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47497054</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47497054</guid></item><item><title><![CDATA[Ask HN: what’s your favorite line in your Claude/agents.md files?]]></title><description><![CDATA[
<p>What are some llm tips you’ve used to make software that is actually maintainable?<p>I’ll go first. My new favorite line in my Claude.md. Helps me get around any ambiguity I have with my llm about what is being built or understood by tasks.<p>CRITICAL: Always make detailed plan with sections for Analysis, specifications, to do list to achieve the spec, and a step by step manual testing strategy for any request a user makes. Always, even when "accept edits on", ask the user to confirm the plan in its entirety. If the user requests changes to any of the plan, make a new plan considering their requests and present it to the user. Never ever start editing files until the user has approved the plan without requesting changes to it. Do not consider the task done until all of the testing Manual Checking strategies successfully passes.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47465415">https://news.ycombinator.com/item?id=47465415</a></p>
<p>Points: 15</p>
<p># Comments: 11</p>
]]></description><pubDate>Sat, 21 Mar 2026 09:14:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47465415</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47465415</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47465415</guid></item><item><title><![CDATA[New comment by khasan222 in "Switch to Claude without starting over"]]></title><description><![CDATA[
<p>It was amazing to me how bad cursor is with using the same model I use in Claude. Even with little knowledge on how to test the llms I was able to get very minimal mvps. But I find the real trick is to have the proper tools to reign in the ai.<p>Thorough CLAUDE.md, that makes sure  it checks the tests, lints the code, does type checks, and code coverage checks too. The more checks for code quality the better.<p>It’s just a bowling ball in th hands of a toddler, and needs to ramp and guide rails to knock down some pins. Fortunately we get more than 2 tries with code.</p>
]]></description><pubDate>Sun, 01 Mar 2026 13:56:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=47206712</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47206712</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47206712</guid></item><item><title><![CDATA[Code Is for Humans]]></title><description><![CDATA[
<p>Article URL: <a href="https://khalah.medium.com/code-is-for-humans-6025f0a445b1">https://khalah.medium.com/code-is-for-humans-6025f0a445b1</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47125293">https://news.ycombinator.com/item?id=47125293</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Mon, 23 Feb 2026 17:15:56 +0000</pubDate><link>https://khalah.medium.com/code-is-for-humans-6025f0a445b1</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=47125293</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47125293</guid></item><item><title><![CDATA[New comment by khasan222 in "Show HN: I made a down detector for down detector"]]></title><description><![CDATA[
<p>Crying. I’m stealing this.</p>
]]></description><pubDate>Wed, 19 Nov 2025 14:36:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=45980021</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=45980021</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45980021</guid></item><item><title><![CDATA[New comment by khasan222 in "America’s incarceration rate is in decline"]]></title><description><![CDATA[
<p>I would argue that not having a male role model in your life is way worse than seeing the consequences enacted on another.<p>This even if their was a gain from watching others suffer, the lack of discipline, guidance, sternness, is way more detrimental than the positives of fearing the consequences</p>
]]></description><pubDate>Thu, 26 Jun 2025 04:40:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=44384236</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=44384236</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44384236</guid></item><item><title><![CDATA[New comment by khasan222 in "My AI skeptic friends are all nuts"]]></title><description><![CDATA[
<p>I find this very very much depends on the model and instructions you give the llm. Also you can use other instructions to check the output and have it try again. Definitely with larger codebases it struggles but the power is there.<p>My favorite instruction is using component A as an example make component B</p>
]]></description><pubDate>Mon, 02 Jun 2025 22:30:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=44163889</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=44163889</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44163889</guid></item><item><title><![CDATA[New comment by khasan222 in "Show HN: Defuddle, an HTML-to-Markdown alternative to Readability"]]></title><description><![CDATA[
<p>Meh, maybe I'm standing too close to the problem, Idk. It is always frustrating trying to use a tool, and it not work though. I know it's free and all, but then I feel like helping people make good contributions is paramount in maintaining and fixing bugs.<p>Clearly the comma thing is a bug, it's the lack of wanting to fix it actually that is a bit disheartening, and why I think it is a deadish repo</p>
]]></description><pubDate>Fri, 23 May 2025 17:12:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=44074594</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=44074594</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44074594</guid></item><item><title><![CDATA[New comment by khasan222 in "Show HN: Defuddle, an HTML-to-Markdown alternative to Readability"]]></title><description><![CDATA[
<p>That codebase definitely leaves much to be desired, I’ve already had to fork it for work in order to fix some bugs.<p>1 such bug, find a foreign language with commas in between numbers instead of periods, like Dutch(I think), and a lot of prices on the page. It’ll think all the numbers are relevant text.<p>And of course I tried to open a pr and get it merged, but they require tests, and of course the tests don’t work on the page Im testing. It’s just very snafu imho</p>
]]></description><pubDate>Fri, 23 May 2025 05:40:49 +0000</pubDate><link>https://news.ycombinator.com/item?id=44070178</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=44070178</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44070178</guid></item><item><title><![CDATA[New comment by khasan222 in "We're bringing Pebble back"]]></title><description><![CDATA[
<p>Im not OP, but this sounds like the garmin instinct.</p>
]]></description><pubDate>Tue, 28 Jan 2025 11:54:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=42851342</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=42851342</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42851342</guid></item><item><title><![CDATA[New comment by khasan222 in "Show HN: Web Development with Htmx, Type-Guided Components, Pure Python"]]></title><description><![CDATA[
<p>This is to me a non starter. Why does the server care what that im incrementing the local data? None of that is likely important until I am done.<p>This is just one more layer on top, and one more possible point of failure/frustration, as illustrated by this parent comment.</p>
]]></description><pubDate>Tue, 04 Jun 2024 12:58:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=40574094</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=40574094</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40574094</guid></item><item><title><![CDATA[A biased test kept Black people from getting a kidney transplant]]></title><description><![CDATA[
<p>Article URL: <a href="https://apnews.com/article/kidney-transplant-race-black-inequity-bias-d4fabf2f3a47aab2fe8e18b2a5432135">https://apnews.com/article/kidney-transplant-race-black-inequity-bias-d4fabf2f3a47aab2fe8e18b2a5432135</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=39898004">https://news.ycombinator.com/item?id=39898004</a></p>
<p>Points: 27</p>
<p># Comments: 43</p>
]]></description><pubDate>Mon, 01 Apr 2024 19:19:04 +0000</pubDate><link>https://apnews.com/article/kidney-transplant-race-black-inequity-bias-d4fabf2f3a47aab2fe8e18b2a5432135</link><dc:creator>khasan222</dc:creator><comments>https://news.ycombinator.com/item?id=39898004</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39898004</guid></item></channel></rss>