<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: tgies</title><link>https://news.ycombinator.com/user?id=tgies</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 04 May 2026 08:47:28 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=tgies" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Show HN: Copy-fail-C – portable C port of CVE-2026-31431, with a checker]]></title><description><![CDATA[
<p>This is a C port of Theori/Xint's Copy Fail PoC (<a href="https://copy.fail/" rel="nofollow">https://copy.fail/</a>, 2026-04-29). The original depended on Python and embedded x86_64 shellcode. I managed to reimplement the shellcode as portable C using nolibc borrowed from the kernel, and now the whole thing can be compiled for & works on any arch supported by nolibc.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47965485">https://news.ycombinator.com/item?id=47965485</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Thu, 30 Apr 2026 17:12:42 +0000</pubDate><link>https://github.com/tgies/copy-fail-c</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=47965485</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47965485</guid></item><item><title><![CDATA[New comment by tgies in "Copy Fail"]]></title><description><![CDATA[
<p>fixed: <a href="https://github.com/tgies/copy-fail-c" rel="nofollow">https://github.com/tgies/copy-fail-c</a></p>
]]></description><pubDate>Thu, 30 Apr 2026 01:00:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=47956767</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=47956767</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47956767</guid></item><item><title><![CDATA[New comment by tgies in "Copy Fail"]]></title><description><![CDATA[
<p>I have a C translation here that should be pretty readable <a href="https://github.com/tgies/copy-fail-c" rel="nofollow">https://github.com/tgies/copy-fail-c</a></p>
]]></description><pubDate>Thu, 30 Apr 2026 00:59:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=47956756</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=47956756</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47956756</guid></item><item><title><![CDATA[New comment by tgies in "Copy Fail"]]></title><description><![CDATA[
<p>The Python dependency is easily eliminated, and the x86_64 payload made cross-platform: <a href="https://github.com/tgies/copy-fail-c" rel="nofollow">https://github.com/tgies/copy-fail-c</a></p>
]]></description><pubDate>Thu, 30 Apr 2026 00:41:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47956615</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=47956615</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47956615</guid></item><item><title><![CDATA[Show HN: MegaHAL in Pure SQL]]></title><description><![CDATA[
<p>I ported Jason Hutchens' 1998 Loebner Prize-winning chatbot, MegaHAL, to run entirely inside PostgreSQL, in pure SQL. The entire lifecycle -- tokenization, learning, keyword extraction, Markov chain generation, and entropy scoring -- is implemented in standard SQL using complex CTEs. There is no PL/pgSQL or any other sort of procedural escape hatch.<p>Learning is a single ~560-line SQL statement that splits text, interns symbols, and updates two 5th-order Markov tries (forward and backward) using depth-unrolled writable CTEs. Inference is a recursive query that generates N candidate replies in parallel. It performs bidirectional weighted random walks, evaluates them for information-theoretic surprise, and formats the winner as a sentence-cased string.<p>I provided a `docker-compose.yml` and convenient Python driver script so you can try it out quickly, and there's also a web-based demo where I bundled it with PGlite (WASM PostgreSQL) at <a href="https://tgies.github.io/megahal-sql/" rel="nofollow">https://tgies.github.io/megahal-sql/</a>. These are provided for convenience, but you can also just run the schema initialization SQL and `SELECT megahal_converse('hello from hn.');`</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=47074812">https://news.ycombinator.com/item?id=47074812</a></p>
<p>Points: 1</p>
<p># Comments: 1</p>
]]></description><pubDate>Thu, 19 Feb 2026 15:26:01 +0000</pubDate><link>https://github.com/tgies/megahal-sql</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=47074812</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47074812</guid></item><item><title><![CDATA[New comment by tgies in "Show HN: The GPG Guide – Practical OpenPGP for 2026"]]></title><description><![CDATA[
<p>Thanks! I'll see what I can do about that.</p>
]]></description><pubDate>Thu, 12 Feb 2026 18:51:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=46993257</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=46993257</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46993257</guid></item><item><title><![CDATA[Show HN: The GPG Guide – Practical OpenPGP for 2026]]></title><description><![CDATA[
<p>Most GPG documentation I could find was outdated -- O'Reilly 1995, No Starch 2006, countless websites from the mid 00s -- or scattered across dozens of blog posts that each covered one piece. I wanted a single reference that covered the full workflow with current tools and practices, so I had been keeping a bunch of text files in my homedir for a while. Recently I realized it was getting close to 60k words and I decided I should share it.<p>The guide covers GnuPG 2.5.x and Sequoia sq, defaults to Ed25519, and has three reader tracks: a minimal Git + SSH setup, a full YubiKey identity, and a high-assurance path for FOSS package maintainers and the like. 377 pages across 16 parts, with platform-specific instructions for Linux, macOS, and WSL.<p>Parts I–III are available as a sample download. I'd be really grateful for any feedback, as I have never written a book before and, frankly, have no business doing it.</p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=46989765">https://news.ycombinator.com/item?id=46989765</a></p>
<p>Points: 2</p>
<p># Comments: 2</p>
]]></description><pubDate>Thu, 12 Feb 2026 15:08:06 +0000</pubDate><link>https://leanpub.com/gpg-guide</link><dc:creator>tgies</dc:creator><comments>https://news.ycombinator.com/item?id=46989765</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46989765</guid></item></channel></rss>