<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: zwp</title><link>https://news.ycombinator.com/user?id=zwp</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Fri, 10 Apr 2026 08:27:51 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=zwp" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by zwp in "Open Source Security at Astral"]]></title><description><![CDATA[
<p>> pip allows it but it's with a timestamp<p>A PR to be able to use a relative timestamp in pip was merged just last week<p><a href="https://github.com/pypa/pip/pull/13837/commits" rel="nofollow">https://github.com/pypa/pip/pull/13837/commits</a></p>
]]></description><pubDate>Thu, 09 Apr 2026 07:45:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=47700489</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=47700489</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47700489</guid></item><item><title><![CDATA[New comment by zwp in "The Future of Programming (2013) [video]"]]></title><description><![CDATA[
<p>You might like <a href="https://cs.brown.edu/~spr/codebubbles/" rel="nofollow">https://cs.brown.edu/~spr/codebubbles/</a></p>
]]></description><pubDate>Wed, 19 Nov 2025 15:29:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=45980784</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=45980784</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=45980784</guid></item><item><title><![CDATA[New comment by zwp in "Learn Makefiles"]]></title><description><![CDATA[
<p>I used to like having a "depend" target to make the dependencies explicit and so minimize build time, although that fiddles with the contents of the Makefile (some discussion at <a href="https://wiki.c2.com/?MakeDepend" rel="nofollow">https://wiki.c2.com/?MakeDepend</a>).<p>The standalone makedepend(1) that does the work is available in package xutils-dev on Ubuntu.</p>
]]></description><pubDate>Fri, 20 Jun 2025 12:33:20 +0000</pubDate><link>https://news.ycombinator.com/item?id=44327083</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=44327083</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44327083</guid></item><item><title><![CDATA[New comment by zwp in "Setting up a trusted, self-signed SSL/TLS certificate authority in Linux"]]></title><description><![CDATA[
<p>Is it coming? I notice that OpenSSL now has support for raw public keys.<p>The spec (RFC 7250, "Using Raw Public Keys in Transport Layer Security (TLS) and Datagram Transport Layer Security (DTLS)") suggests DANE/DNSSEC as a mechanism to bind identities to public keys (section 6).<p><a href="https://datatracker.ietf.org/doc/html/rfc7250" rel="nofollow">https://datatracker.ietf.org/doc/html/rfc7250</a><p>Will this really be simpler?</p>
]]></description><pubDate>Tue, 18 Feb 2025 10:59:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=43088220</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=43088220</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43088220</guid></item><item><title><![CDATA[New comment by zwp in "Handling cookies is a minefield"]]></title><description><![CDATA[
<p>We already have Macaroons<p><a href="https://en.wikipedia.org/wiki/Macaroons_(computer_science)" rel="nofollow">https://en.wikipedia.org/wiki/Macaroons_(computer_science)</a><p><a href="https://en.wikipedia.org/wiki/Macaroon" rel="nofollow">https://en.wikipedia.org/wiki/Macaroon</a></p>
]]></description><pubDate>Fri, 22 Nov 2024 08:58:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=42212225</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=42212225</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42212225</guid></item><item><title><![CDATA[New comment by zwp in "Title drops in movies"]]></title><description><![CDATA[
<p>And <i>Layer Cake</i></p>
]]></description><pubDate>Wed, 06 Nov 2024 08:51:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=42058197</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=42058197</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=42058197</guid></item><item><title><![CDATA[New comment by zwp in "Vulnerabilities show why STARTTLS should be avoided if possible (2021)"]]></title><description><![CDATA[
<p>There was a sense of "wasting a port". A modern Linux /etc/services has only 200 or so reserved TCP ports (out of a possible ~50k) so that fear might have been overblown.<p>I suspect the bureaucratic overhead of needing to go to IANA to reserve a new port might have had a chilling effect. See:<p><pre><code>  https://www.iana.org/protocols/apply

  https://www.iana.org/form/ports-services</code></pre></p>
]]></description><pubDate>Wed, 28 Aug 2024 09:25:42 +0000</pubDate><link>https://news.ycombinator.com/item?id=41377659</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=41377659</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41377659</guid></item><item><title><![CDATA[New comment by zwp in "Vulnerabilities show why STARTTLS should be avoided if possible (2021)"]]></title><description><![CDATA[
<p>> you are supposed to still continue if you strictly follow the standard<p>Which standard? RFC 3207 (for STARTTLS over SMTP), 2002, says: "If the client receives the 454 response [TLS not available], the client must decide whether or not to continue the SMTP session".</p>
]]></description><pubDate>Wed, 28 Aug 2024 09:17:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=41377597</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=41377597</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41377597</guid></item><item><title><![CDATA[New comment by zwp in "Anonymous Block Forwarding in Ruby"]]></title><description><![CDATA[
<p><p><pre><code>    def execute(f)
      f.call "test response"
    end

    perform = TOPLEVEL_BINDING.method(:execute)

    perform.call Kernel.method(:puts)</code></pre></p>
]]></description><pubDate>Thu, 15 Feb 2024 10:50:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=39381204</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=39381204</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39381204</guid></item><item><title><![CDATA[New comment by zwp in "Why use strace in 2023? [video]"]]></title><description><![CDATA[
<p>You still need to pull out the paths?<p>A sprinkling of grep/perl (awk/sed/ruby/...) is mostly good enough eg:<p>strace -e trace=%file cat /etc/passwd 2>&1 >/dev/null | grep ^open | grep -Po '(?<=").*(?=")'</p>
]]></description><pubDate>Mon, 08 Jan 2024 10:12:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=38910100</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=38910100</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38910100</guid></item><item><title><![CDATA[New comment by zwp in "Why use strace in 2023? [video]"]]></title><description><![CDATA[
<p>You can use "-e trace=open" to trace only open(2) calls<p>Alternatively "-e trace=%file" to get all file-related system calls (will catch eg failing pre-emptive checks using access(3) -> stat(2)).</p>
]]></description><pubDate>Mon, 08 Jan 2024 08:48:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=38909565</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=38909565</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38909565</guid></item><item><title><![CDATA[New comment by zwp in "Passive SSH Key Compromise via Lattices [pdf]"]]></title><description><![CDATA[
<p>> whatever "SSH-2.0-SSHD" is (the authors don't know either)<p>I think this is from the j2ssh/maverick SSH server, used in a bunch of enterprisey Java products.<p><a href="https://jadaptive.com/en/products/java-ssh-server" rel="nofollow noreferrer">https://jadaptive.com/en/products/java-ssh-server</a><p><a href="https://github.com/sshtools/j2ssh-maverick/blob/ce11ceaf0aa0b129b54327a6891973e1e34689f7/j2ssh-maverick/src/main/java/com/sshtools/ssh/SshConnector.java#L268">https://github.com/sshtools/j2ssh-maverick/blob/ce11ceaf0aa0...</a></p>
]]></description><pubDate>Tue, 07 Nov 2023 11:47:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=38175776</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=38175776</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=38175776</guid></item><item><title><![CDATA[New comment by zwp in "Remote code execution in OpenSSH’s forwarded SSH-agent"]]></title><description><![CDATA[
<p>Tangential question: there is one reason to use NODELETE in the dlopen(3) man page:
<a href="https://man7.org/linux/man-pages/man3/dlopen.3.html" rel="nofollow noreferrer">https://man7.org/linux/man-pages/man3/dlopen.3.html</a><p><pre><code>  RTLD_NODELETE (since glibc 2.2)
    Do not unload the shared object during dlclose().
    Consequently, the object's static and global variables
    are not reinitialized if the object is reloaded with
    dlopen() at a later time.
</code></pre>
Are there any other times when it's beneficial to use NODELETE?</p>
]]></description><pubDate>Thu, 20 Jul 2023 08:51:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=36798205</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=36798205</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36798205</guid></item><item><title><![CDATA[New comment by zwp in "Every Signature Is Broken: Insecurity of Microsoft Office’s Ooxml Signatures"]]></title><description><![CDATA[
<p>The PDF ("sec23summer...") has metadata creation/modification timestamp of 20221004165319Z (October 2022). So presumably the paper was written last October and released for Usenix 2023.<p>(Reference [12] is from Usenix July 2022. See "Prior work" in the introduction).</p>
]]></description><pubDate>Mon, 12 Jun 2023 12:58:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=36292695</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=36292695</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36292695</guid></item><item><title><![CDATA[New comment by zwp in "Fixing macOS Zsh Terminal History Settings"]]></title><description><![CDATA[
<p>Slightly silly sketch (bash):<p><pre><code>    sqlite-utils create-table ~/commands.db commands id integer text text --pk id
    PROMPT_COMMAND="( fc -n -l -1 | perl -p -e 's/^\s+//; chomp if eof' | sqlite-utils insert --text ~/commands.db commands - & )"
</code></pre>
It's slow, has perl & python external deps, needs a timestamp column, call  subshell to avoid job control messages, ...<p>A nicer single "prompt command" wrapper is certainly possible though.</p>
]]></description><pubDate>Thu, 13 Oct 2022 10:09:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=33189205</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=33189205</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33189205</guid></item><item><title><![CDATA[New comment by zwp in "Show HN: Shale – a Ruby object mapper and serializer for JSON, YAML and XML"]]></title><description><![CDATA[
<p>I think one of the motivations for splitting the stdlib into gems was for exactly for this kind of scenario: some users might not be able to update their Ruby immediately. The ruby-lang advisory explicitly recommends bumping the REXML version.</p>
]]></description><pubDate>Tue, 31 May 2022 15:30:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=31570687</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=31570687</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31570687</guid></item><item><title><![CDATA[New comment by zwp in "Show HN: Shale – a Ruby object mapper and serializer for JSON, YAML and XML"]]></title><description><![CDATA[
<p>Rexml has been gemified. Shale's gemspec doesn't require a specific version of rexml and rexml<3.2.5 is vulnerable to CVE-2021-28965. I just checked Ubuntu 20.04 LTS and got Ruby 2.7 with rexml 3.2.3 by default so this seems like a realistic concern and it would be safer if shale required a minimum rexml version.<p>See <a href="http://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-vulnerability-in-rexml-cve-2021-28965/" rel="nofollow">http://www.ruby-lang.org/en/news/2021/04/05/xml-round-trip-v...</a></p>
]]></description><pubDate>Tue, 31 May 2022 13:18:25 +0000</pubDate><link>https://news.ycombinator.com/item?id=31569130</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=31569130</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31569130</guid></item><item><title><![CDATA[New comment by zwp in "NPM Vulnerability Discussion on Twitter"]]></title><description><![CDATA[
<p>This old dog is reminded of trn(1), "threaded read news".<p>See top right: <a href="https://upload.wikimedia.org/wikipedia/commons/d/d8/Trn_console.png" rel="nofollow">https://upload.wikimedia.org/wikipedia/commons/d/d8/Trn_cons...</a></p>
]]></description><pubDate>Tue, 10 May 2022 13:17:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=31326735</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=31326735</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=31326735</guid></item><item><title><![CDATA[New comment by zwp in "Ruby 3.2 preview 1 with support for WASM compilation"]]></title><description><![CDATA[
<p>Cute! But I get an error if I try "require 'resolv'", is this expected?<p><internal:/usr/local/lib/ruby/3.2.0/rubygems/core_ext/kernel_require.rb>:85:in `require': cannot load such file -- socket (LoadError)</p>
]]></description><pubDate>Fri, 08 Apr 2022 10:16:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=30955267</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=30955267</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30955267</guid></item><item><title><![CDATA[New comment by zwp in "Words known better in the US than in the UK, and vice versa"]]></title><description><![CDATA[
<p>I wasn't aware of the figurative connotation, I will remember this next time I'm retreating from a climb.<p>"HMS carabiner" is also common amongst anglophone climbers (for the "Halbmastwurfsicherung" knot you might use as an alternative to your sticht plate).</p>
]]></description><pubDate>Thu, 10 Feb 2022 09:32:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=30284080</link><dc:creator>zwp</dc:creator><comments>https://news.ycombinator.com/item?id=30284080</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30284080</guid></item></channel></rss>