<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: rkeene2</title><link>https://news.ycombinator.com/user?id=rkeene2</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 30 May 2026 22:24:59 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=rkeene2" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by rkeene2 in "Just Use Postgres for Durable Workflows"]]></title><description><![CDATA[
<p>I have an implementation I use that has multiple drivers (PostgreSQL, Firestore, SQLite3, just a file, Redis, or an in-memory store) written in TypeScript and it's been working well for my low-scale needs.  The interfaces could support interfacing with a dedicated queuing system if you needed to migrate over time.<p>It supports pipelines, batched pipelines, and basic runners, as well as idempotent keys (including batching them).  It also lets you "partition" a queue into multiple sub-queues so that you can easily segregate your jobs within your application without a lot of setup on the outside.  For example, you create a root queue talking to PostgreSQL and pass it around to subsystems that then each create their own sub-queue off that to enqueue entries into and their own workers that dequeue them.<p>It's only used internally right now but I've been thinking about creating a separate package (with documentation) with it for others to use as well.  Any feedback or pull requests would be appreciated !<p>[0] <a href="https://github.com/KeetaNetwork/anchor/blob/main/src/lib/queue/index.ts" rel="nofollow">https://github.com/KeetaNetwork/anchor/blob/main/src/lib/que...</a><p>[1] <a href="https://github.com/KeetaNetwork/anchor/blob/main/src/lib/queue/pipeline.ts" rel="nofollow">https://github.com/KeetaNetwork/anchor/blob/main/src/lib/que...</a></p>
]]></description><pubDate>Thu, 28 May 2026 23:10:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=48316818</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=48316818</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48316818</guid></item><item><title><![CDATA[New comment by rkeene2 in "I’ve banned query strings"]]></title><description><![CDATA[
<p>Make sure you use URL-safe base64 or the portions that looks like a path can get mangled<p>MII//epi<p>Is converted to MII/epi</p>
]]></description><pubDate>Sun, 10 May 2026 03:41:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=48080797</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=48080797</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48080797</guid></item><item><title><![CDATA[New comment by rkeene2 in "Copy Fail"]]></title><description><![CDATA[
<p>Fair enough -- a simpler change might be to poison /etc/passwd and call `su` to a user that has uid 0, since that requires no shell code nor a readable binary, and this seems to have worked in a slightly modified POC:<p><pre><code>  f=g.open("/etc/passwd",0);
  e="rkeene:x:0:0:System administrator:/root:/run/current-system/sw/bin/bash\n".encode()
  ...
  g.system("/run/wrappers/bin/su - rkeene")</code></pre></p>
]]></description><pubDate>Wed, 29 Apr 2026 21:49:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=47955207</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47955207</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47955207</guid></item><item><title><![CDATA[New comment by rkeene2 in "Copy Fail"]]></title><description><![CDATA[
<p>My `sudo` is also not readable.  Files/directories don't need to be readable to be executed.  I can still use `su` and `sudo`.</p>
]]></description><pubDate>Wed, 29 Apr 2026 21:30:32 +0000</pubDate><link>https://news.ycombinator.com/item?id=47954993</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47954993</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47954993</guid></item><item><title><![CDATA[New comment by rkeene2 in "Copy Fail"]]></title><description><![CDATA[
<p>I couldn't get the POC to work with my version of Python so I had ChatGPT convert it to C [0] and was able to verify my Slackware system does not appear to be affected, but my NixOS system would be if I had any world-readable suid binaries (which I had to make one to test it).<p>[0] <a href="https://rkeene.org/viewer/tmp/copy_fail_exp.c.htm" rel="nofollow">https://rkeene.org/viewer/tmp/copy_fail_exp.c.htm</a></p>
]]></description><pubDate>Wed, 29 Apr 2026 21:28:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=47954970</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47954970</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47954970</guid></item><item><title><![CDATA[New comment by rkeene2 in "Copy Fail – CVE-2026-31431"]]></title><description><![CDATA[
<p>A workaround might be to make all setuid/setgid files non-world-readable because then they cannot be opened at all, and thus there is no setuid file to replace the contents of.</p>
]]></description><pubDate>Wed, 29 Apr 2026 20:26:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47954091</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47954091</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47954091</guid></item><item><title><![CDATA[New comment by rkeene2 in "Copy Fail"]]></title><description><![CDATA[
<p>Interestingly it fails for me because my `su` isn't world-readable:<p><pre><code>  $ stat /bin/su
    File: /bin/su
    Size: 59552           Blocks: 118        IO Block: 59904  regular file
  Device: 0,52    Inode: 796854      Links: 1
  Access: (4711/-rws--x--x)  Uid: (    0/    root)   Gid: (    0/    root)
  Access: 2023-09-18 13:23:03.117105665 -0500
  Modify: 2021-02-13 05:15:56.000000000 -0600
  Change: 2023-09-18 13:23:03.119105665 -0500
   Birth: 2023-09-18 13:23:03.117105665 -0500
</code></pre>
I'm not sure I have any setuid/setgid binaries that are world-readable...</p>
]]></description><pubDate>Wed, 29 Apr 2026 20:18:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=47953998</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47953998</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47953998</guid></item><item><title><![CDATA[New comment by rkeene2 in "Put your SSH keys in your TPM chip"]]></title><description><![CDATA[
<p>We created Keeta Agent [0] to do this on macOS more easily (also works with GPG, which is important for things that don't yet support SSH Signatures, like XCode).<p>Since it just uses PKCS#11, it also works with tpm_pkcs11.  Source for the various bits that are bundled is here [1].<p>Here's an overview of how it works:<p>1. Application asks to sign with GPG Key "1ABD0F4F95D89E15C2F5364D2B523B4FDC488AC7"<p>2. GPG looks at its key database and sees GPG Key "1ABD...8AC7" is a smartcard, reaches out to Smartcard Daemon (SCD), launching if needed -- this launches gnupg-pkcs11-scd per configuration<p>3. gnupg-pkcs11-scd loads the SSH Agent PKCS#11 module into its shared memory and initializes it and asks it to List Objects<p>4. The SSH Agent PKCS#11 module connects to the SSH Agent socket provided by Keeta Agent and asks it to List Keys<p>5. Key list is converted from SSH Agent protocol to PKCS#11 response by SSH Agent PKCS#11 module<p>6. Key list is converted from PKCS#11 response to gnupg-scd response by gnugpg-pkcs11-scd<p>7. GPG Reads the response and if the key is found, asks the SCD (gnugpg-pkcs11-scd) to Sign a hash of the Material<p>8. gnupg-pkgcs11-scd asks the PKCS#11 module to sign using the specified object by its Object ID<p>9. PKCS#11 module sends a message to Secretive over the SSH Agent socket to sign the material using a specific key (identified by its Key ID) using the requested signing algorithm and raw signing (i.e., no hashing)<p>10. Response makes it back through all those same layers unmodified except for wrapping<p>(illustrated at [2])<p>[0] <a href="https://github.com/KeetaNetwork/agent" rel="nofollow">https://github.com/KeetaNetwork/agent</a><p>[1] <a href="https://github.com/KeetaNetwork/agent/tree/main/Agent/gnupg/src" rel="nofollow">https://github.com/KeetaNetwork/agent/tree/main/Agent/gnupg/...</a><p>[2] <a href="https://rkeene.org/tmp/pkcs-sign.png" rel="nofollow">https://rkeene.org/tmp/pkcs-sign.png</a></p>
]]></description><pubDate>Thu, 16 Apr 2026 17:13:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47796487</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47796487</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47796487</guid></item><item><title><![CDATA[New comment by rkeene2 in "curl > /dev/sda: How I made a Linux distro that runs wget | dd"]]></title><description><![CDATA[
<p>I don't know what you mean regarding pivot_root affecting file descriptors because they are not modified, they point to new names because the enclosing directory has been moved/renamed.  There is a small race between moving items in the root directory as well as after moving all items and before starting pivot_root, but that race doesn't involve file descriptors but opening at the old paths before the new one is established, though lots of things use openat() these days so it doesn't really even occur in most cases then.</p>
]]></description><pubDate>Wed, 25 Mar 2026 02:17:00 +0000</pubDate><link>https://news.ycombinator.com/item?id=47512364</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47512364</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47512364</guid></item><item><title><![CDATA[New comment by rkeene2 in "curl > /dev/sda: How I made a Linux distro that runs wget | dd"]]></title><description><![CDATA[
<p>I usually just move all the files to a new directory (/oldroot) and pivot_root -- any open files reference the new paths.  Then install into the newly empty root directory of the filesystem, reboot and delete the /oldroot.</p>
]]></description><pubDate>Tue, 24 Mar 2026 12:57:59 +0000</pubDate><link>https://news.ycombinator.com/item?id=47501931</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47501931</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47501931</guid></item><item><title><![CDATA[New comment by rkeene2 in "Ageless Linux – Software for humans of indeterminate age"]]></title><description><![CDATA[
<p>To me, the biggest issue is that it seems to think of computers as something you use while being near and having only one user at a time accessing, where computers you use might be far away and have thousands of people accessing them per day with hundreds of concurrent users and tens of thousands of accounts.<p>If you don't intentionally allow accounts access to any app stores, do you still need to collect the data ?  It says to collect it, and that's the purpose but it doesn't say if you're not permitting that purpose you don't have to collect it</p>
]]></description><pubDate>Sun, 15 Mar 2026 00:30:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=47382914</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47382914</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47382914</guid></item><item><title><![CDATA[New comment by rkeene2 in "Trump's global tariffs struck down by US Supreme Court"]]></title><description><![CDATA[
<p>Well, not really because that part doesn't grant the US President arbitrary powers to perform any action that would result in regulation (for example, he is not given the power to go around killing random people even if doing so would effectively regulate international trade; he can't declare war on another country even if doing so would be the best way to effectuate regulation of trade with another country) it gives him the OBLIGATION to perform regulation, using the powers delegated to him.<p>If giving the US President unlimited and arbitrary authority as long as they can claim it was useful for meeting a legal obligation created by Congress were the correct interpretation then we need look no further than the "Take Care" clause of the US Constitution, where the US President is given the obligation to take care that all laws are faithfully executed -- which, with this interpretation, would mean that any action would be under the purview of the US President as long as they could claim at doing that action resulted in the laws being faithfully executed.</p>
]]></description><pubDate>Fri, 20 Feb 2026 21:54:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=47094537</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47094537</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47094537</guid></item><item><title><![CDATA[New comment by rkeene2 in "Trump's global tariffs struck down by US Supreme Court"]]></title><description><![CDATA[
<p>Good news !  It is against the law (i.e., illegal) for a US President to impose tariffs (on a whim or otherwise) -- a US President doing so is doing so illegally and without constitutional authority!<p>When the US President commits crimes as the US President, he has absolute immunity from prosecution (otherwise, he might not be emboldened to break the law) so there is no judicial recourse, but the US Congress can still see the illegal activity and impeach and remove him from office to stop the execution of illegal activity.  As our representatives within the US Government, they are responsible to us to enact our legislative outcomes.  It appears they have determined that the illegal activity is what we wanted, or there would be articles of impeachment for these illegal acts.<p>The legislative branch can of course deliberately impose tariffs at any time for the reasons you listed.</p>
]]></description><pubDate>Fri, 20 Feb 2026 21:32:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=47094274</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47094274</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47094274</guid></item><item><title><![CDATA[New comment by rkeene2 in "IRS lost 40% of IT staff, 80% of tech leaders in 'efficiency' shakeup"]]></title><description><![CDATA[
<p>This misses the point that tax exemptions are the way politicians campaign for voter blocks.  Having different kinds of taxes makes it easier to target a voter blocks more precisely.</p>
]]></description><pubDate>Thu, 19 Feb 2026 21:49:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=47079988</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47079988</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47079988</guid></item><item><title><![CDATA[New comment by rkeene2 in "I'm building a clarity-first language (compiles to C++)"]]></title><description><![CDATA[
<p>Neat !</p>
]]></description><pubDate>Mon, 16 Feb 2026 04:49:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=47031013</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47031013</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47031013</guid></item><item><title><![CDATA[New comment by rkeene2 in "I'm building a clarity-first language (compiles to C++)"]]></title><description><![CDATA[
<p>Also why num/num32 for Integer types, and no floating point type</p>
]]></description><pubDate>Sun, 15 Feb 2026 06:41:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=47021565</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=47021565</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47021565</guid></item><item><title><![CDATA[New comment by rkeene2 in "The RCE that AMD won't fix"]]></title><description><![CDATA[
<p>It really just requires a network that doesn't use some kind of NAC since you can trivially do ARP poisoning of your target.</p>
]]></description><pubDate>Fri, 06 Feb 2026 03:42:07 +0000</pubDate><link>https://news.ycombinator.com/item?id=46908823</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=46908823</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46908823</guid></item><item><title><![CDATA[New comment by rkeene2 in "Many hells of WebDAV"]]></title><description><![CDATA[
<p>If you open a file with LibreOffice will read the whole thing regardless of whether or not the file is on NFS or not.<p>The parent comment was stating that if you use the open(2) system call on a WebDAV mounted filesystem, which doesn't perform any read operation, the entire file will be downloaded locally before that system call completes.  This is not true for NFS which has more granular access patterns using the READ operation (e.g., READ3) and file locking operations.<p>It may be the case that you're using an application that isn't LibreOffice on files that aren't as small as documents -- for example if you wanted to watch a video via a remote filesystem.  If that filesystem is WebDAV (davfs2) then before the first piece of metadata can be displayed the entire file would be downloaded locally, versus if it was NFS each 4KiB (or whatever your block size is) chunk would be fetched independently.</p>
]]></description><pubDate>Wed, 07 Jan 2026 19:18:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=46531132</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=46531132</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46531132</guid></item><item><title><![CDATA[New comment by rkeene2 in "Trump says Venezuela’s Maduro captured after strikes"]]></title><description><![CDATA[
<p>I've had some additional time to reflect on this thread and I think I can spot the core disconnect.<p>Do you believe that the Vienna Convention requires that countries treat their diplomatic representatives in some special legal way ?  For example, do you believe that the Vienna Convention obligates the US to extend diplomatic immunity to the US Ambassador to France ?<p>If so, that's backwards.  It doesn't obligate one country to treat their own diplomats specially inside their own legal system, it defines how participants of the treaty will treat FOREIGN diplomats.  The benefit of being part of the treaty is that your diplomats are treated specially when they are in foreign lands, and the cost is you treat foreign diplomats specially when they are in your land.<p>The currency of treaties is reciprocity.<p>A treaty can never be binding, there exists no superior entity for which to bring your appeal which can then ultimately use their monopoly on force to extract justice -- each nation is sovereign and a peer in that respect.<p>Finally, I didn't address your last paragraph but I will now:  It does not matter if the USA calls it a law enforcement operation and not invasion, it was still an invasion.  It was an invasion because it meets the definition of the word.  But <i>ALSO</i> it wasn't a law enforcement operation because the laws of the US do not apply in Venezuela.  Also, it's illegal in the US to use the US Military for enforcing US laws except in times of invasion... although it sadly specifies that the US must be the entity being invaded, not just there be an invasion.</p>
]]></description><pubDate>Tue, 06 Jan 2026 07:23:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=46509624</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=46509624</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46509624</guid></item><item><title><![CDATA[New comment by rkeene2 in "Trump says Venezuela’s Maduro captured after strikes"]]></title><description><![CDATA[
<p>So it sounds to me like you are stating that you are okay with the original premise that it would be okay for China to come to the US Whitehouse and forcibly remove Trump to China to stand trial for the crimes he may have committed against Chinese nationals ?</p>
]]></description><pubDate>Tue, 06 Jan 2026 00:50:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=46507359</link><dc:creator>rkeene2</dc:creator><comments>https://news.ycombinator.com/item?id=46507359</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46507359</guid></item></channel></rss>