<?xml version='1.0' encoding='UTF-8'?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Waider's Geek Diary</title>
    <link>http://www.waider.ie/hacks/hacking.html</link>
    <description>A rough account of what I did with Emacs recently.</description>
    <copyright>Copyright 1995 - YYYY, Waider</copyright>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <image>
      <url>http://www.waider.ie/images/people/waider/newlj.png</url>
      <title>Waider's Geek Diary</title>
      <link>http://www.waider.ie/hacks/hacking.html</link>
    </image>
    <language>en-ie</language>
    <lastBuildDate>Sat, 11 Apr 2026 06:46:29 +0000</lastBuildDate>
    <managingEditor>waider@waider.ie</managingEditor>
    <webMaster>waider@waider.ie</webMaster>
    <item>
      <title>April 10</title>
      <link>https://www.waider.ie/hacks/diary/2026/april.html#10</link>
      <description>Surprisingly, &lt;a href="https://www.imdb.com/title/tt1398426/reference/" title="Straight Outta Compton"&gt;Straight Outta Compton&lt;/a&gt; was not completely full of
    gratuitous nudity, nines, AKs, and 40s. There are apparently some
    grumblings about details left out, portrayals, etc. but I have to
    say they really sold the camaraderie in NWA early on and overall I
    really enjoyed this. I did think their Dre was too skinny,
    though.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/april.html#10</guid>
      <pubDate>Fri, 10 Apr 2026 23:59:59 +0100</pubDate>
    </item>
    <item>
      <title>April 7</title>
      <link>https://www.waider.ie/hacks/diary/2026/april.html#07</link>
      <description>Looks like I've managed to get the Postfix thing sorted out. Not
    100% clear on which specific thing / things did the trick, but
    &lt;em&gt;possibly&lt;/em&gt; leaving "permit" off the
    smtpd_sender_restrictions completely, and adding
    smtpd_relay_restrictions and smtpd_sender_login_maps may be
    key.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/april.html#07</guid>
      <pubDate>Tue, 07 Apr 2026 23:59:59 +0100</pubDate>
    </item>
    <item>
      <title>April 6</title>
      <link>https://www.waider.ie/hacks/diary/2026/april.html#06</link>
      <description>Hurrah, some new version of OpenHAB has implenented an actions
    menu for Z-Wave devices that provides access to network tools like
    "Ping" and "Is Node Dead?" but alas they've prematurely gated them
    on "can't do this to a battery device" which, my friends, may be
    true if you follow the specs, but the other tool I have for this
    has no problem with engaging in such activities.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/april.html#06</guid>
      <pubDate>Mon, 06 Apr 2026 23:59:59 +0100</pubDate>
    </item>
    <item>
      <title>April 3</title>
      <link>https://www.waider.ie/hacks/diary/2026/april.html#03</link>
      <description>We'd planned on watching &lt;em&gt;The Lovely Bones&lt;/em&gt; but it turned
    out to be a purchase, not a rental, so we cast about for something
    else and landed on &lt;a href="https://www.imdb.com/title/tt31050594/reference" title="Mercy (2026)"&gt;Mercy&lt;/a&gt;
    which, if you strip off the AI nonsense was actually a pretty
    decent whodunnit. I did correctly identify the perpetrator early
    on, but believed their alibi and the misdirection provided; I very
    much correctly identified the use for the missing chemical
    &lt;em&gt;way&lt;/em&gt; before the plot got to it, and I wasn't taken in by
    the misdirection on that. And I mostly identified the motive,
    although didn't catch a minor Chekov's Gun that would've given me
    the last bit of the puzzle.&lt;br/&gt;
&lt;br/&gt;
    (Checkov's Gun seems not quite the right phrase to use here, but
    essentially, a piece of information was provided almost in passing
    that was both more or less irrelevant to the story being told and
    highly relevant to the ending; the only reason to introduce it was
    so that the attentive viewer would say, "hang on a sec" at the
    appropriate moment.)&lt;br/&gt;
&lt;br/&gt;
    Anyway. Yes, the panopticon is shitty, the "courtroom" visual
    effects are cute but stupid, and the premise is &lt;em&gt;somewhat&lt;/em&gt;
    laughable (although you never know these days), but the actual
    puzzle was fun.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/april.html#03</guid>
      <pubDate>Fri, 03 Apr 2026 23:59:59 +0100</pubDate>
    </item>
    <item>
      <title>March 27</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#27</link>
      <description>I'm not entirely clear why I added &lt;a href="https://www.imdb.com/title/tt0910905/reference" title="In The Electric Mist (2009)"&gt;In The Electric Mist&lt;/a&gt;
    to my watchlist, but it was a really enjoyable movie with some
    excellent music and some perhaps intentional, perhaps
    unintentional humour.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#27</guid>
      <pubDate>Fri, 27 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 24</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#24</link>
      <description>Still haven't solved the Postfix config problem. It's nice that
    I've got debugging and a script to exercise the desired pass/fail
    scenarios, but it's frustrating that everthing I try to enable one
    condition breaks the other, and vice versa.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#24</guid>
      <pubDate>Tue, 24 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 21</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#21</link>
      <description>Well, on the upside, I now know how to do debug logging for a
    specific sender IP in Postfix. Alas, I have not managed to debug
    my specific problem: I want &lt;tt&gt;allmail@example.com&lt;/tt&gt; to wind
    up in the &lt;tt&gt;waider&lt;/tt&gt; mailbox, but I do not want to receive
    spam where someone purports to be &lt;tt&gt;someluser@example.com&lt;/tt&gt;
    and thereby bypasses the various hurdles I am attempting to put in
    the way of this. It seems that as soon as you say "virtual domain
    goes to mailbox", even sender addresses are rewritten to check
    against the allowlist which is exactly what I don't want and also
    seems to contradict &lt;a href="https://www.postfix.org/postconf.5.html#smtpd_sender_restrictions"&gt;what
    the documentation says&lt;/a&gt;.&lt;br/&gt;
&lt;br/&gt;
    To be abundantly clear: I'm trying to block envelope-level
    spoofing. It appears that it will happily iterate over the rules
    I've provided, and at some point stumble on "oh, &lt;tt&gt;someluser@example.com&lt;/tt&gt;
    is an &lt;tt&gt;example.com&lt;/tt&gt; address and so maps to &lt;tt&gt;waider&lt;/tt&gt;
    and is thereby permitted. Yay!" and I toss virtual config out the
    window &lt;em&gt;again&lt;/em&gt;. &lt;a href="https://www.postfix.org/SMTPD_ACCESS_README.html"&gt;This&lt;/a&gt;
    says &lt;em&gt;nothing&lt;/em&gt; about virtual, canonical, rewrite, or
    aliases; &lt;a href="https://www.postfix.org/virtual.5.html"&gt;this&lt;/a&gt;
    suggests that the rewriting only happens after the mail is queued,
    but the testing I'm doing doesn't even get to the point of
    submitting the mail, just the envelope headers, and I can see
    that's returning me a 250 response &lt;em&gt;and&lt;/em&gt; the logs show it's
    done a virtual lookup in order to arrive at this conclusion. In
    fact I'm looking that page again right now and it says, "Virtual
    aliasing is applied only to &lt;u&gt;recipient envelope addresses&lt;/u&gt;,
    [...]." (&lt;em&gt;my underlining&lt;/em&gt;). Right there in black and
    white. LIES.&lt;br/&gt;
&lt;br/&gt;
    Maybe I'll figure it out tomorrow. Note, this is broken on a live
    server I own; I'm trying to fix it on the new server I'm setting
    up so I can never again see a faked-sender-envelope
    spam.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#21</guid>
      <pubDate>Sat, 21 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 20</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#20</link>
      <description>&lt;a href="https://www.imdb.com/title/tt7574556/reference/" title="Dead of Winter (2025)"&gt;Dead of Winter&lt;/a&gt;,
    in which Emma Thomson does a sort of badass Frances
    McDormand. It's a good movie, with approximately the same sort of
    pacing as the speech in that part of the world - slow, but
    relentless. I was calling the shots a bit in places - there are a
    &lt;em&gt;lot&lt;/em&gt; of Chekov's Guns in this movie - but that didn't
    detract from it.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#20</guid>
      <pubDate>Fri, 20 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 18</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#18</link>
      <description>Dammit, another one of my scrapers just had the format changed
    from out under it. Five minutes of hackery verifes that the
    replacement &lt;em&gt;is&lt;/em&gt; parseable, but will need more work than
    e.g. a trivial renaming of CSS selectors.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#18</guid>
      <pubDate>Wed, 18 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 16</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#16</link>
      <description>Voyager, in which Star Trek does Stephen King's
    &lt;em&gt;Christine&lt;/em&gt;. Kinda silly.&lt;br/&gt;
&lt;br/&gt;
    New mail server is up and configured with DKIM, DMARC and SPF
    outbound. No idea what's currently enabled inbound beyond Can't
    Spoof Me. Will find out shortly how regrettable that is, I
    imagine. I will say it's nice having a more-or-less throwaway
    domain to test this stuff out on, since if I screw it up it's no
    big deal.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#16</guid>
      <pubDate>Mon, 16 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 15</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#15</link>
      <description>Tesco delivery notice format change &lt;em&gt;again&lt;/em&gt;. As before
    it's moving towards cleaner HTML but it doesn't make it any less
    annoying to have to figure out what they've done and update my
    scripting accordingly. I do &lt;em&gt;try&lt;/em&gt; to make this stuff deal
    with variations in input, but there's a point at which you have to
    embrace the crazy and pin down an exact class attribute, or an
    arbitrary hierarchy, and those are the things that
    break.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#15</guid>
      <pubDate>Sun, 15 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 14</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#14</link>
      <description>&lt;a href="https://www.imdb.com/title/tt0086960/reference" title="Beverly Hills Cop (1984)"&gt;Beverly Hills Cop&lt;/a&gt;?
    don't mind if I do. It's aged a bit (or I have, or both), but it's
    still a pretty decent movie.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#14</guid>
      <pubDate>Sat, 14 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 13</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#13</link>
      <description>&lt;a href="https://www.imdb.com/title/tt3658772/reference" title="Misconduct (2016)"&gt;Misconduct&lt;/a&gt;
    kept us guessing right to the end who was pulling the strings -
    and why - but the last scene was, I think, an unnecessary gotcha
    added to the back of the story. Also the lead character had a
    worse sense of decision-making than Twilight girl.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#13</guid>
      <pubDate>Fri, 13 Mar 2026 23:59:59 +0000</pubDate>
    </item>
    <item>
      <title>March 12</title>
      <link>https://www.waider.ie/hacks/diary/2026/march.html#12</link>
      <description>Discovering which bits of my server setup are so stale they no
    longer have equivalents on new installations. Dammit. Also very
    cautiously setting up an email server. Which, well,
    hurdles. Hoops. Flaming barrels.&lt;br/&gt;&lt;br/&gt;</description>
      <guid isPermaLink="true">https://www.waider.ie/hacks/diary/2026/march.html#12</guid>
      <pubDate>Thu, 12 Mar 2026 23:59:59 +0000</pubDate>
    </item>
  </channel>
</rss>
