<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: leroman</title><link>https://news.ycombinator.com/user?id=leroman</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 08 Apr 2026 06:08:36 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=leroman" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by leroman in "I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours"]]></title><description><![CDATA[
<p>Interesting, thanks!</p>
]]></description><pubDate>Wed, 17 Dec 2025 12:58:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=46301458</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=46301458</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46301458</guid></item><item><title><![CDATA[New comment by leroman in "I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours"]]></title><description><![CDATA[
<p>What model are you working with where you still get good results at 25k?<p>To your q, I make huge effort in making my prompts as small as possible (to get the best quality output), I go as far as  removing imports from source files, writing interfaces and types to use in context instead of fat impl code, write task specific project / feature documentation.. (I automate some of these with a library I use to generate prompts from code and other files - think templating language with extra flags). And still for some tasks my prompt size reaches 10k tokens, where I find the output quality not good enough</p>
]]></description><pubDate>Wed, 17 Dec 2025 08:16:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=46299456</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=46299456</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46299456</guid></item><item><title><![CDATA[New comment by leroman in "I ported JustHTML from Python to JavaScript with Codex CLI and GPT-5.2 in hours"]]></title><description><![CDATA[
<p>The biggest challenge an agent will face with tasks like these is the diminishing quality in relation to the size of the input, specifically I find input of above say 10k tokens dramatically reduced quality of generated output.<p>This specific case worked well, I suspect, since LLMs have a LOT of previous knowledge with HTML, and saw multiple impl and parsing of HTML in the training.<p>Thus I suspect that in real world attempts of similar projects and any non well domain will fail miserably.</p>
]]></description><pubDate>Wed, 17 Dec 2025 07:21:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=46299148</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=46299148</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46299148</guid></item><item><title><![CDATA[Show HN: Prompt Engineering Templating Language and CLI Tool]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/romansky/copa">https://github.com/romansky/copa</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44795894">https://news.ycombinator.com/item?id=44795894</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 05 Aug 2025 09:14:04 +0000</pubDate><link>https://github.com/romansky/copa</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=44795894</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44795894</guid></item><item><title><![CDATA[Freddie Mercury's Religion]]></title><description><![CDATA[
<p>Article URL: <a href="https://theconversation.com/freddie-mercurys-family-faith-the-ancient-religion-of-zoroastrianism-105806">https://theconversation.com/freddie-mercurys-family-faith-the-ancient-religion-of-zoroastrianism-105806</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44774524">https://news.ycombinator.com/item?id=44774524</a></p>
<p>Points: 7</p>
<p># Comments: 2</p>
]]></description><pubDate>Sun, 03 Aug 2025 06:30:22 +0000</pubDate><link>https://theconversation.com/freddie-mercurys-family-faith-the-ancient-religion-of-zoroastrianism-105806</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=44774524</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44774524</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Spegel, a Terminal Browser That Uses LLMs to Rewrite Webpages"]]></title><description><![CDATA[
<p>Cool idea! but kind of wasteful.. 
I just feel wrong if I waste energy..
At least you could first turn it into markdown with a library that preserves semantic web structures (I authored this- <a href="https://github.com/romansky/dom-to-semantic-markdown">https://github.com/romansky/dom-to-semantic-markdown</a>) saving many tokens = much less energy used..</p>
]]></description><pubDate>Wed, 02 Jul 2025 02:17:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=44439705</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=44439705</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44439705</guid></item><item><title><![CDATA[Export your Skype data before the May shutdown]]></title><description><![CDATA[
<p>Article URL: <a href="https://secure.skype.com/en/data-export">https://secure.skype.com/en/data-export</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=43228735">https://news.ycombinator.com/item?id=43228735</a></p>
<p>Points: 1</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 02 Mar 2025 09:16:44 +0000</pubDate><link>https://secure.skype.com/en/data-export</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=43228735</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43228735</guid></item><item><title><![CDATA[Andrej Karpathy: Deep Dive into LLMs Like ChatGPT [video]]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.youtube.com/watch?v=7xTGNNLPyMI">https://www.youtube.com/watch?v=7xTGNNLPyMI</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=42952960">https://news.ycombinator.com/item?id=42952960</a></p>
<p>Points: 582</p>
<p># Comments: 46</p>
]]></description><pubDate>Wed, 05 Feb 2025 18:29:30 +0000</pubDate><link>https://www.youtube.com/watch?v=7xTGNNLPyMI</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=42952960</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42952960</guid></item><item><title><![CDATA[Show HN: LLM Templating – import files into prompt]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/romansky/copa">https://github.com/romansky/copa</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41943313">https://news.ycombinator.com/item?id=41943313</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Fri, 25 Oct 2024 08:18:37 +0000</pubDate><link>https://github.com/romansky/copa</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41943313</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41943313</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: I made an SSH tunnel manager to learn Go"]]></title><description><![CDATA[
<p>The title was so confusing to me, the reason I opened the link was to understand how you made the SSH tunnel manager learn the GO programming language</p>
]]></description><pubDate>Wed, 09 Oct 2024 11:24:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=41786647</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41786647</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41786647</guid></item><item><title><![CDATA[Show HN: LLM Prompting Templating]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/romansky/copa">https://github.com/romansky/copa</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41785087">https://news.ycombinator.com/item?id=41785087</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 09 Oct 2024 06:28:32 +0000</pubDate><link>https://github.com/romansky/copa</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41785087</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41785087</guid></item><item><title><![CDATA[Show HN: LLM Prompting Templates for Files / Source-Code]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/romansky/copa">https://github.com/romansky/copa</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41679563">https://news.ycombinator.com/item?id=41679563</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Sat, 28 Sep 2024 11:35:04 +0000</pubDate><link>https://github.com/romansky/copa</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41679563</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41679563</guid></item><item><title><![CDATA[New comment by leroman in "Grok-2 Beta Release"]]></title><description><![CDATA[
<p>It's hilarious they put Claude 3.5 Sonnet in the far right corner while it scores the highest and beats most of Grok's numbers.</p>
]]></description><pubDate>Wed, 14 Aug 2024 08:15:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=41243792</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41243792</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41243792</guid></item><item><title><![CDATA[Show HN: Copy Folder Contents for Easy Prompting]]></title><description><![CDATA[
<p>Article URL: <a href="https://github.com/romansky/copa">https://github.com/romansky/copa</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=41107250">https://news.ycombinator.com/item?id=41107250</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 30 Jul 2024 08:49:36 +0000</pubDate><link>https://github.com/romansky/copa</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41107250</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41107250</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Convert HTML DOM to semantic markdown for use in LLMs"]]></title><description><![CDATA[
<p>Thanks for sharing!!<p>Would be really helpful if you opened an issue in Github with a specific example, happy to look into that!</p>
]]></description><pubDate>Thu, 25 Jul 2024 19:25:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=41072392</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41072392</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41072392</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Convert HTML DOM to semantic markdown for use in LLMs"]]></title><description><![CDATA[
<p>This is now supported, see here-
<a href="https://github.com/romansky/dom-to-semantic-markdown?tab=readme-ov-file#advanced-features">https://github.com/romansky/dom-to-semantic-markdown?tab=rea...</a></p>
]]></description><pubDate>Wed, 24 Jul 2024 11:56:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=41056031</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41056031</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41056031</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Convert HTML DOM to semantic markdown for use in LLMs"]]></title><description><![CDATA[
<p>Bumped this together with the side-by-side comparison task.. so will look into it :)</p>
]]></description><pubDate>Tue, 23 Jul 2024 20:09:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=41050260</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41050260</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41050260</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Convert HTML DOM to semantic markdown for use in LLMs"]]></title><description><![CDATA[
<p>This is some great feedback, thanks!<p>1. there some crazy links with lots of arguments and tracking stuff in them, so it gets very long, the refification turns them into a numbered "ref[n]" scheme, where you also get a map of ref[n]->url to do reverse translation.. it really saves a lot, in my experience. It's also optional, so you can be mindful when you want to use this feature..<p>2. I tried to keep it domain specific (not to reinvent HTML...) so mostly Markdown components and some flexibility to add HTML elements (img, footer etc).<p>3. Not sure I'm sold with replacing the switch, it's very useful there because of the many fall through cases.. I find it maintainable but if you point me to some specific issue there it would help<p>4. There are some built in functions to traverse and modify the AST. It is just JSON in the end of the day so you could leverage the types and write your own logic to parse it, as long as it conforms to the format you can always serialize it, as you mentioned..<p>5. The AST is recursive so not flat.. sounds like you want to either write your own AST->Semantic-Markdown implementation or plug into the existing one so I'll this in mind in the future<p>6. Sounds cool but out of scope at the moment :)<p>7. This feature would serve to help with scraping and kind of point the LLM to some element? Then the part I'm missing is how you would code this in advance.. There could be some meta-data tag you could add and it would be taken through the pipeline and added on the other side to the generated elements in some way..</p>
]]></description><pubDate>Tue, 23 Jul 2024 19:59:26 +0000</pubDate><link>https://news.ycombinator.com/item?id=41050157</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41050157</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41050157</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Convert HTML DOM to semantic markdown for use in LLMs"]]></title><description><![CDATA[
<p>Ah, I suppose you mean a web page one could visit to see a demo :)
Added to the backlog!</p>
]]></description><pubDate>Tue, 23 Jul 2024 19:44:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=41049995</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41049995</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41049995</guid></item><item><title><![CDATA[New comment by leroman in "Show HN: Convert HTML DOM to semantic markdown for use in LLMs"]]></title><description><![CDATA[
<p>This totally makes sense, I will look into adding support for additional ways to detect the main content, super interesting!</p>
]]></description><pubDate>Tue, 23 Jul 2024 19:38:22 +0000</pubDate><link>https://news.ycombinator.com/item?id=41049921</link><dc:creator>leroman</dc:creator><comments>https://news.ycombinator.com/item?id=41049921</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41049921</guid></item></channel></rss>