<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/">
  <channel>
    <title>New posts from @dimapetrov</title>
    <link>https://ididnteatthatcow.com/users/dimapetrov</link>
    <description></description>
    <item>
      <title>What is still hard?</title>
      <link>https://ididnteatthatcow.com/posts/01a200e9-39fa-70c3-bd75-801473143afb</link>
      <description>&lt;p&gt;Last year was pretty spectacular considering all changes we&#39;ve seen in AI land. It goes so fast that sometimes I think that I miss something important if I blink. Taking coding agents as an example all my teammates went from mostly coding by hand to maybe looking at generated code sometimes in a matter of months. I&#39;m still looking, but the code quality is getting better with every week, while the cost to produce the code is collapsing.&lt;/p&gt;&#xA;&lt;p&gt;The main question is the following: is there some area where the cost has not collapsed?&lt;/p&gt;&#xA;&lt;p&gt;So far it looks like every bet that humans are better at the same task as agents was bound to fail, it&#39;s just a question of time. A year ago everybody was joking about LLMs spitting out broken code with open security issues, now I don&#39;t hear about that anymore. Rather, we observe an explosion of CVEs found in the code crafted by humans (&lt;a href=&#34;https://www.ruby-lang.org/en/news/2026/11/18/multiple-vulnerabilities-in-regexp-and-string/&#34;&gt;ruby&lt;/a&gt;, &lt;a href=&#34;https://www.wiz.io/blog/php2shell-php-rce&#34;&gt;php&lt;/a&gt;, &lt;a href=&#34;https://www.ox.security/blog/nginx2root-five-critical-nginx-flaws-expose-web-servers-to-remote-code-execution/&#34;&gt;nginx&lt;/a&gt;, &lt;a href=&#34;https://www.crowdstrike.com/en-us/blog/crowdstrike-helps-protect-against-java4shell-cve-2026-114938/&#34;&gt;java&lt;/a&gt; to name a few).&lt;/p&gt;&#xA;&lt;p&gt;And it didn&#39;t take that much at least &lt;a href=&#34;https://www.linkedin.com/posts/danlorenc_i-wanted-to-share-what-happened-with-the-share-7518756991520120832-QX2_&#34;&gt;in the case of PHP&lt;/a&gt;:&lt;/p&gt;&#xA;&lt;blockquote&gt;&#xA;&lt;p&gt;That night we were able to independently discover the same issue using our harness and a frontier model with a basic prompt of &amp;quot;find bad vulnerabilities in PHP&amp;quot;.&lt;/p&gt;&#xA;&lt;/blockquote&gt;&#xA;&lt;p&gt;Some of the issues were sitting in the code for a decade with nobody noticing even in a really stable product. I draw two conclusions from this example in particular:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Human review simply does not cut it in the case of complex scenarios when we talk about safety. What&#39;s hard for the human eye is just a matter of token spend for the agent.&lt;/li&gt;&#xA;&lt;li&gt;I prefer to think that all our data is gone and all devices are hacked by default. The fact that the CVEs were made public now does not mean that interested actors did not find them before. Now we just have much more evidence on how buggy software is right now, even the best examples.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Security issue is just one example. Talking about software development in general, it was hard at every stage and at this point you can mostly summon something into existence with a simple prompt and the result won&#39;t be tragic.&lt;/p&gt;&#xA;&lt;p&gt;There are other areas that are getting commoditized with a frightening speed. All the fuzzy matching tasks that were really hard before are now mostly solved. Speech recognition and synthesis, PDF parsing and making sense out of loads of data, it&#39;s all easy now.&lt;/p&gt;&#xA;&lt;p&gt;So, what&#39;s still hard?&lt;/p&gt;&#xA;&lt;p&gt;First: asking the right questions. One pattern that was quite consistent along the way was the goal setting. Coding agents are ever improving executors and they mostly do what they&#39;ve been told. The humans remain the final judge of what needs to be done and how it should look. It&#39;s easy to ask a bot to create a blogging service, but it&#39;s not that easy to convey your thoughts on how exactly it should behave.&lt;/p&gt;&#xA;&lt;p&gt;The second is sustained attention. The clear difference between vibe-coded projects and real ones is not in humans typing the code, but in humans caring about and using the product. Any product that&#39;s of any use is not a point in time, but rather a process with continuous decisions being made, relations with the customers and endless migrations and that&#39;s hard no matter what you do.&lt;/p&gt;&#xA;&lt;p&gt;The last is human touch probably and that&#39;s the hardest for models to replicate. One can always feel when a product of any sort was done with human touch. It&#39;s just about lots of small things that make it fun or heartwarming.  What makes it hard to replicate is the fact that we as a species really like to interact and relate to each other rather than to a generic something with no face.&lt;/p&gt;&#xA;&lt;p&gt;I think all three points come down to care. Caring about something and taking responsibility is still hard and will remain so as far as I can see.&lt;/p&gt;&#xA;</description>
      <author>@dimapetrov</author>
      <pubDate>Sun, 22 Nov 2026 10:29:15 +0000</pubDate>
    </item>
    <item>
      <title>Grammar and style checks on pcom</title>
      <link>https://ididnteatthatcow.com/posts/01a14555-9587-7591-853a-21a99fe7a7aa</link>
      <description>&lt;p&gt;Since a few days ago &lt;a href=&#34;https://github.com/can3p/pcom&#34;&gt;pcom&lt;/a&gt; has &lt;a href=&#34;https://github.com/can3p/pcom/pull/236&#34;&gt;acquired&lt;/a&gt; the functionality to check grammar and styling for the posts.&lt;/p&gt;&#xA;&lt;p&gt;And yeah, LLMs are involved, so if you want to see a privacy friendly local first multilingual solution, you may check &lt;a href=&#34;https://github.com/Automattic/harper&#34;&gt;Harper&lt;/a&gt; in case it works for your language.&lt;/p&gt;&#xA;&lt;p&gt;Times are weird and the part that was the most complex some years ago is now trivial, it&#39;s all about plumbing. Prior to implementing the feature I&#39;ve been checking my posts manually from time to time. It was as simple as &amp;quot;check the text below for grammar&amp;quot; to get a list of issues that need to be addressed in a given text.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;a target=&#34;_blank&#34; href=&#34;https://pcom-user-media.b-cdn.net/01a1457d-4215-71a6-9f97-617ae9b0eae8.png/full&#34;&gt;&lt;img src=&#34;https://pcom-user-media.b-cdn.net/01a1457d-4215-71a6-9f97-617ae9b0eae8.png/thumb&#34; alt=&#34;image.png&#34;&gt;&lt;/a&gt;&lt;/figure&gt;&#xA;&lt;p&gt;The other part that Claude specifically and other LLMs in general are good at is assessing the text and giving the feedback. I really don&#39;t like LLM-generated texts since I love the process of writing by itself, but I do find it useful to get some feedback regarding the logic in the text and stylistic problems. All that was needed was again a small prompt + text. Cool part about doing it in the chat though was the context. I would adjust the story in response to the feedback in case I agree with the suggestion and then send the updated text into the same chat to see if there is more feedback to work on.&lt;/p&gt;&#xA;&lt;p&gt;I usually do not rely on claude to give me a corrected version of the text, but rather apply the grammar and style fixes myself, which allows me to assess the quality and in almost all the cases the agent did a great job for all the languages I use. I&#39;m really sorry for the Grammarly, DeepL and other products that made a bet on the linguistic part of the equation.&lt;/p&gt;&#xA;&lt;p&gt;The difference between the two checks is that in case of grammar fixes the solution can definitely be automatically applied if needed, since it&#39;s just a search and replace activity. Style fixes are a different beast — since they may require rearranging the parts or adding new information to improve the text.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;a target=&#34;_blank&#34; href=&#34;https://pcom-user-media.b-cdn.net/01a14580-ac16-775d-9491-9752ffd90c3d.png/full&#34;&gt;&lt;img src=&#34;https://pcom-user-media.b-cdn.net/01a14580-ac16-775d-9491-9752ffd90c3d.png/thumb&#34; alt=&#34;image.png&#34;&gt;&lt;/a&gt;&lt;/figure&gt;&#xA;&lt;p&gt;I didn&#39;t even consider implementing a local check in any shape or form (local as in browser, or local as in constrained to pcom backend) since I&#39;m a one man army and linguistic tools are not my hobby yet. My hobby is two build pcom and use it to write stories like this.&lt;/p&gt;&#xA;&lt;p&gt;Enough intro, let me walk you through the details, the PR is linked above.&lt;/p&gt;&#xA;&lt;p&gt;Three things you need to know about pcom:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;It&#39;s built with Go + Go templates&lt;/li&gt;&#xA;&lt;li&gt;It&#39;s an SPA, which is achieved by using Htmx + Stimulus.js combo&lt;/li&gt;&#xA;&lt;li&gt;I aim to keep the project as lightweight as possible.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;The last point made me rule out any big editor components like Code Mirror, that&#39;s an obvious overkill. Hence I&#39;ve had as separate session with Claude where I iterated on the requirements to make sure nothing crazy would pop up later, which resulted in a &lt;a href=&#34;https://github.com/can3p/pcom/pull/235/changes&#34;&gt;plan&lt;/a&gt; for the feature.  Just for clarity, for the requirements and plan preparation I always use Opus 5.5, but there is a requirement for every plan to split the work with cheaper models wherever possible, check the tasks in the plan for details.&lt;/p&gt;&#xA;&lt;p&gt;The plan was executed in a fresh session, same Opus 5.5 as a coordinator.&lt;/p&gt;&#xA;&lt;p&gt;Instead of messing with overlays only to be able to underscore the text I&#39;ve decided to go with a text selection which is more than good enough and does not require rewriting half of the browser in Javascript.&lt;/p&gt;&#xA;&lt;figure&gt;&#xA;&lt;a target=&#34;_blank&#34; href=&#34;https://pcom-user-media.b-cdn.net/01a1457d-4215-71a6-9f97-617ae9b0eae8.png/full&#34;&gt;&lt;img src=&#34;https://pcom-user-media.b-cdn.net/01a1457d-4215-71a6-9f97-617ae9b0eae8.png/thumb&#34; alt=&#34;image.png&#34;&gt;&lt;/a&gt;&lt;/figure&gt;&#xA;&lt;p&gt;pcom has &lt;a href=&#34;https://github.com/can3p/pcom/pull/236/changes#diff-f9b85db6adf73cf82df1164df8357f3c92cc7ed0b2f05c00e394dfbac5d68556&#34;&gt;two system prompts&lt;/a&gt; for grammar and style checks respectively plus two &lt;a href=&#34;https://github.com/can3p/pcom/pull/236/changes#diff-a2d6d764e4a461471e70fbc54e474b162e048606dd965bae057200da6b4ad765&#34;&gt;JSON schemas&lt;/a&gt; to get the structured response back.&lt;/p&gt;&#xA;&lt;p&gt;Grammar checks are stateless, style checks are stateful in a sense that every next style check includes previous attempts thus enabling the iterations on the text.&lt;/p&gt;&#xA;&lt;p&gt;Since it&#39;s my toy project I don&#39;t want to burn all my money on grammar checks, hence there are a &lt;a href=&#34;https://github.com/can3p/pcom/pull/236/changes#diff-a3d824da3c42420cd5cbb0a4a2c0e7b5bfddd819652788a0596d195dc6e31fa5R115-R132&#34;&gt;number of settings&lt;/a&gt;  to limit the request rate and the text size per user per day.&lt;/p&gt;&#xA;&lt;p&gt;Now, how does the apply functionality work? How do we know that the text got stale and the fix is not applicable anymore? As you can see from the schemas the logic does not rely on exact positions, but rather on text match — we&#39;re looking for exact quote and use the previous text as an anchor. The panel &lt;a href=&#34;https://github.com/can3p/pcom/pull/236/changes#diff-9bd515bbed3b5bc86e66433dfa8c019d78349a8913dc6554bb624237cebe9436&#34;&gt;code&lt;/a&gt; is quite fat but self contained and is loaded lazily for the editor page specifically.&lt;/p&gt;&#xA;&lt;p&gt;In the database we have three new tables now:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;one to keep track of all requests and use this for rate limiting&lt;/li&gt;&#xA;&lt;li&gt;the other one to keep the style checks history and use it in the context&lt;/li&gt;&#xA;&lt;li&gt;the third one to keep the writer feedback. Suppose you got a feedback that some piece of text does not make sense. What you do is you discard the suggestion and add a note why the agent got it wrong. This info will be included in the context for the next iteration.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;Since pcom has a great test coverage now, this feature had to have one too which it did. Here is an &lt;a href=&#34;https://github.com/can3p/pcom/pull/236/changes#diff-87d36348a246d69e448879984f104513396b2656a7a68694c08dd8b66da660a3&#34;&gt;e2e&lt;/a&gt; test. No request goes to the LLM provider, all the responses are mocked with wiremock which allows testing all scenarios without any problems.&lt;/p&gt;&#xA;&lt;p&gt;In conclusion, I have to say that Opus 5.5 works almost magically for pcom at this moment. The feature was implemented almost from the first shot and most of the fixes I&#39;ve made were fixes in business requirements, not in the code itself.&lt;/p&gt;&#xA;</description>
      <author>@dimapetrov</author>
      <pubDate>Fri, 16 Oct 2026 16:29:15 +0000</pubDate>
    </item>
    <item>
      <title>On pcom updates</title>
      <link>https://ididnteatthatcow.com/posts/01a108da-a8a7-7e01-a8c7-58efc72c41a1</link>
      <description>&lt;p&gt;I&#39;ve had an incredible amount of fun with &lt;a href=&#34;https://github.com/can3p/pcom&#34;&gt;pcom&lt;/a&gt; this week. If you look at the commits, it&#39;s all Claude Code and, well, it really is. On the other hand, I was actively steering the technical direction. The codebase still reflects my thinking on the way a web app should be done in Go, and Claude was exceptionally good at following the guidelines. Besides the fixes, I&#39;ve added the following:&lt;/p&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&lt;a href=&#34;https://can3p.github.io/pcom/&#34;&gt;Public website&lt;/a&gt;&lt;/li&gt;&#xA;&lt;li&gt;About section on the blog page&lt;/li&gt;&#xA;&lt;li&gt;Public feed on the index page for unauthenticated users&lt;/li&gt;&#xA;&lt;li&gt;Full redesign&lt;/li&gt;&#xA;&lt;li&gt;Comment editing&lt;/li&gt;&#xA;&lt;li&gt;Feed pagination&lt;/li&gt;&#xA;&lt;li&gt;Code-based signup and login&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;p&gt;At the beginning, I thought about doing only refactoring, but after the initial modernization it became clear that I could try out new feature development too.&lt;/p&gt;&#xA;&lt;p&gt;One observation is that modern models are so powerful now that they can deliver almost anything you wish, and the most complex part is wishing for the right thing.&lt;/p&gt;&#xA;&lt;p&gt;As an example, I&#39;ve defined a guideline that the website should always have an up-to-date description of all pcom features. Claude generated a pipeline that takes screenshots of all the pages based on the seeded data (which I requested in earlier changes), which resulted in a relatively good-looking website with all the info and screenshots. What&#39;s cool is that this simple rule now makes the agent finish any other session with a website update, without any nudging or complex system of hooks/pipelines.&lt;/p&gt;&#xA;&lt;p&gt;Another conclusion: the agent will most probably generate some garbage in places where you&#39;re not paying attention.&lt;/p&gt;&#xA;&lt;p&gt;For the redesign, I&#39;ve set a requirement that the website should be as fast as or faster than before, which led to the removal of Bootstrap styling and icon fonts. It&#39;s quite remarkable that Claude was able to do all the style and template changes in one shot, and most of the steering was business-logic related.&lt;/p&gt;&#xA;&lt;p&gt;On the other hand, I had to push for quite a lot of guardrails and policies to reduce the number of undesirable decisions, and that&#39;s probably the biggest difference between a purely vibe-coded app and something designed to last.&lt;/p&gt;&#xA;&lt;p&gt;That made me think that the next web framework will most probably be a collection of Markdown files that would steer the agents in a certain way, as opposed to some big system.&lt;/p&gt;&#xA;&lt;p&gt;The Tailwind story was quite loud some time ago, but in general, Bootstrap, Rails, Django or any other framework has lost most of its value by now. First, it&#39;s possible to generate something similar (not the same, but simpler and tailored to a specific use case). Second, the lock-in is gone too, since, given a good test suite, it&#39;s possible to swap the components in no time. Based on that, types matter even more, and all of that rhymes with the DHH talk as you can see.&lt;/p&gt;&#xA;&lt;p&gt;I suppose it&#39;s also bad news for frameworks like Next.js, because it&#39;s now pretty doable to get a good stack in any other language if you know what you&#39;re doing. pcom feels and works fine, and does so without the complexity of an SSR pipeline and React complications.&lt;/p&gt;&#xA;</description>
      <author>@dimapetrov</author>
      <pubDate>Sun, 04 Oct 2026 22:28:28 +0000</pubDate>
    </item>
    <item>
      <title>Local setup and bug fixes</title>
      <link>https://ididnteatthatcow.com/posts/01a0ef44-7407-7bf8-ae26-19ae89b495fa</link>
      <description>&lt;p&gt;The code base starts taking shape now. My primary focus was to drastically increase test coverage in order to make future refactorings possible, the second goal was to modernize the infra and make maintenance tasks easier.&lt;/p&gt;&#xA;&lt;p&gt;First of them was the local setup. Local setup is tricky in a way that it&#39;s not only about how to run the service, but also about data — posts, users, all of it is quite painful to build from scratch. With &lt;a href=&#34;https://github.com/can3p/pcom/blob/master/docs/running.md&#34;&gt;latest changes&lt;/a&gt; it became trivial — you can seed the data with one command, reset the database if needed and the local stack is set up as docker-compose with one command again.&lt;/p&gt;&#xA;&lt;p&gt;Along the way the migration story was solved too. Now, to migrate prod database it&#39;s enough to run &lt;code&gt;make tunnel&lt;/code&gt; in one tab and &lt;code&gt;make migrate-prod&lt;/code&gt; in another one. Nice!&lt;/p&gt;&#xA;&lt;p&gt;The tests look cool now too, the data is generated with fabrics, postgres test container gives isolation. While doing the changes claude has found a considerable number of silly bugs that got fixed with &lt;a href=&#34;https://github.com/can3p/pcom/pull/172&#34;&gt;one blow&lt;/a&gt;.&lt;/p&gt;&#xA;&lt;p&gt;Since it&#39;s that easy, I&#39;ll spend some more time polishing the codebase before I move on to new features&lt;/p&gt;&#xA;</description>
      <author>@dimapetrov</author>
      <pubDate>Tue, 29 Sep 2026 22:31:20 +0000</pubDate>
    </item>
    <item>
      <title>Pcom brush up</title>
      <link>https://ididnteatthatcow.com/posts/01a0ea16-f2d0-7877-96f8-ee1e5177ec59</link>
      <description>&lt;p&gt;Pcom is a special project for me - I&#39;m not in a rush and I&#39;d like to keep using go hence everything is done in go as much as possible. In addition to that I can afford sending the development in any direction and try any approach. The project didn&#39;t get much updates in the last year or so mostly because it was already serving my needs. However, I actually have a list of features I&#39;d like to implement and agentic era gives me a chance to do so without all night sessions I used to do.&lt;/p&gt;&#xA;&lt;p&gt;Since the project was written with just a brief amount of tests I&#39;ve decided to attack this part first and vibe code enough tests to be able to do bigger refactorings later. Claude Code was amazing in this regard, most of the stuff was done in one shot or so, with some preparation in terms of roadmap and requirements of course, you can follow the changes in &lt;a href=&#34;https://github.com/can3p/pcom/tree/master/docs&#34;&gt;docs&lt;/a&gt; to get an idea.&lt;/p&gt;&#xA;&lt;p&gt;For the tests I&#39;ve generated one more tool, &lt;a href=&#34;https://github.com/can3p/tommy/&#34;&gt;tommy&lt;/a&gt; which acts as a s3/mail/a lot more container that allows to do local development &lt;strong&gt;and&lt;/strong&gt; use it in the integration tests. Integration with tommy is yet to come, but in general in relatively short amount of time pcom should be trivial to develop and test and that&#39;s where the fun begins.&lt;/p&gt;&#xA;</description>
      <author>@dimapetrov</author>
      <pubDate>Mon, 28 Sep 2026 22:23:46 +0000</pubDate>
    </item>
  </channel>
</rss>