<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: a_e_k</title><link>https://news.ycombinator.com/user?id=a_e_k</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Sat, 28 Nov 2026 07:02:56 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=a_e_k" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by a_e_k in "Intel One Mono font (2023)"]]></title><description><![CDATA[
<p>Even though I have normal vision, I have Atkinson Hyperlegible Next set as my daily-driver desktop UI font in KDE Plasma (with Atkinson Hyperlegible Mono in the fixed width slot).  It makes for an excellent system UI font.</p>
]]></description><pubDate>Fri, 27 Nov 2026 04:05:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=50662674</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50662674</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50662674</guid></item><item><title><![CDATA[New comment by a_e_k in "AMD expects to outsell Intel in Q4 for the first time in history"]]></title><description><![CDATA[
<p>As someone at AMD, I think competing on two major fronts helps with that some.</p>
]]></description><pubDate>Wed, 04 Nov 2026 17:20:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=50368655</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50368655</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50368655</guid></item><item><title><![CDATA[New comment by a_e_k in "US boy names that became girl names and vice versa"]]></title><description><![CDATA[
<p>Not colorblind, but I like to pick color schemes off of <a href="https://colorbrewer2.org/" rel="nofollow">https://colorbrewer2.org/</a> for this reason.<p>Something like <a href="https://colorbrewer2.org/#type=diverging&scheme=PiYG&n=11" rel="nofollow">https://colorbrewer2.org/#type=diverging&scheme=PiYG&n=11</a> would probably have been suitable here (listed among the colorblind-safe options for diverging schemes).</p>
]]></description><pubDate>Mon, 02 Nov 2026 23:17:38 +0000</pubDate><link>https://news.ycombinator.com/item?id=50345522</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50345522</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50345522</guid></item><item><title><![CDATA[New comment by a_e_k in "Ask HN: Which TV do you recommend for privacy?"]]></title><description><![CDATA[
<p>There's something so reassuring about seeing that "12:00AM Jan-06-1980 (Sun)" on mine whenever I power it on.<p>It's just a big HDMI display device (and audio pass-through) and that's all I want or need of it.</p>
]]></description><pubDate>Mon, 02 Nov 2026 06:20:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=50333687</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50333687</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50333687</guid></item><item><title><![CDATA[New comment by a_e_k in "Emacs Turns 50"]]></title><description><![CDATA[
<p>⬑ Xenodium created agent-shell, in case anyone missed the joke.</p>
]]></description><pubDate>Thu, 29 Oct 2026 08:19:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=50285940</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50285940</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50285940</guid></item><item><title><![CDATA[New comment by a_e_k in "Police are using AI to pull over drivers for 'suspicious' behavior"]]></title><description><![CDATA[
<p><a href="https://xkcd.com/1105/" rel="nofollow">https://xkcd.com/1105/</a></p>
]]></description><pubDate>Thu, 29 Oct 2026 05:38:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=50284940</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50284940</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50284940</guid></item><item><title><![CDATA[New comment by a_e_k in "Emacs Turns 50"]]></title><description><![CDATA[
<p>If you've read Pratchett's Discworld, I like to think of Emacs as an Igor: it's a loyal servant that can swap out its own parts, exchange them with other individuals, and rebuild itself on the fly.<p>But to answer your question, It's not just elisp itself, but rather that Emacs is basically a live elisp interpreter process with an editor UI on top, and the design is something of a ball-of-mud with few boundaries.<p>With typical systems you have plugins and they have fairly narrow interfaces.  If you want to do something that's not covered by the plugin API, you're pretty much out of luck.<p>With Emacs, everything is open as a free-for-all to extend or redefine, so you can monkey-patch pretty much anything.  Here's an example from my init.el:<p><pre><code>    (define-key global-map [remap move-beginning-of-line] 'move-beginning-of-line-dwim)
    (defun move-beginning-of-line-dwim ()
      "Cycles between the beginning of text on the line, the actual
    beginning of the line, and the beginning of the body of a comment
    on the line.  If not in one of those three places, it starts at
    the beginning of the text.  Basically, it's a smarter HOME
    command."
      (interactive "^")
      (comment-normalize-vars t)
      (unless (and (bolp) (comment-search-forward (pos-eol) t))
        (let ((cur (point)))
          (beginning-of-line-text)
          (if (= cur (point))
              (beginning-of-line)))))
</code></pre>
By default, the HOME key and Ctrl-a are bound to the `move-beginning-of-line` (defined in `simple.el`, one of the elisp source files that comprises vanilla Emacs).  That `define-key` with the `remap` tells Emacs that everywhere in the global keymap that it sees the default `move-beginning-of-line`, it should replace it with my custom `move-beginning-of-line-dwim`.<p>Alternatively, I could have just done `(defun move-beginning-of-line ...)` and simply redefined `move-beginning-of-line` wholesale and it would probably have worked fine.  But this is a little cleaner, IMO.  Either way, now when I hit HOME key it cycles between column 0, the first non-whitespace character, and the first character in the body of a trailing comment.<p>On top of that, I don't need to have a formal plugin or anything.  I can take the above code, paste it into an elisp buffer somewhere, put the cursor somewhere in or after the `(defun ...), hit Ctrl-x Ctrl-e and now that function is defined within Emacs (and callable by other functions).  Same thing with the `(define-key ...)`: put the cursor on it, Ctrl-x Ctrl-e, and the binding is updated.  No ceremony.<p>And for testing, I can edit the function freely, hit Ctrl-x Ctrl-e and now my edited version is the live one in the running Emacs process.  It's a lot like a scripting language REPL except within the editor UI.<p>And in addition, Ctrl-h Ctrl-f tells you about any function that Emacs knows, defaulting to whatever function name the cursor is on.  So if I put the cursor on `move-beginning-of-line-dwim` and hit Ctrl-h Ctrl-f RETURN, I get:<p><pre><code>    <home> runs the command move-beginning-of-line-dwim (found in global-map),
    which is an interactive interpreted-function.

    It is bound to C-a and <home>.

    (move-beginning-of-line-dwim)

    Cycles between the beginning of text on the line, the actual
    beginning of the line, and the beginning of the body of a comment
    on the line.  If not in one of those three places, it starts at
    the beginning of the text.  Basically, it’s a smarter HOME
    command.

    [back]
</code></pre>
Same thing for Ctrl-h Ctrl-v for variables and settings.  The documentation that it shows is generated directly from the doc strings and live editor state.  Ctrl-h Ctrl-k will prompt for a key and show me a key binding, so Ctrl-h Ctrl-k HOME will give me the above documentation now too.  Ctrl-h Ctrl-b shows all applicable keybindings, etc.<p>Now I'd mentioned that you can monkey-patch anything.  In practice that could cause chaos if you don't take care.  A pretty common idiom in Emacs to do this more cooperatively are "hooks".  These are just variables that some package, internal or external, defines to hold a list of functions to callback.  The package iterates the list and calls them whenever the given event happens and you can add or remove your own function to the list to get that call.  Think signals and slots, if you seen that design before.  And these are pretty ubiquitous.  As an example from my init.el:<p><pre><code>    (add-hook 'font-lock-mode-hook 'font-lock-mode-setup)
    (defun font-lock-mode-setup ()
      "Make fixme tags standout."
      (unless (derived-mode-p 'special-mode)                      ; Don't break list-{faces,colors}-display
        (font-lock-add-keywords nil
         '(("\\<\\(?:AEK\\|NOTE\\|FIXME\\|TODO\\|XXX\\)\\>\\(?:([a-z]+)\\)?:?" 0 'font-lock-warning-face prepend)))))
</code></pre>
So whenever syntax highlighting is started up in a buffer, it calls the font-lock-mode-hook callbacks, and that runs my code to register a regexp to highlight my initials and other fixme tags.<p>And if all that's not enough, Emacs also has an "advice" system which lets you register code to run before, after, around, etc., <i>any</i> existing function.  (And then later unregister it if you wish.)  There's also a built-in elisp debugger to break into a function and step through it.<p>So basically, the key I'd say is that there's no real privileged code in Emacs.  You can redefine pretty much anything to taste, and do so without even having to reload Emacs.  The downside is that it's up to you to decide what to trust.  It's on you to avoid breaking it, and you probably want to be choosy about the packages you run.</p>
]]></description><pubDate>Wed, 28 Oct 2026 20:36:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=50280526</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50280526</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50280526</guid></item><item><title><![CDATA[New comment by a_e_k in "Emacs Turns 50"]]></title><description><![CDATA[
<p>`(insert (format-time-string "%c"))` should do the trick, though you might need to change the format string to taste.</p>
]]></description><pubDate>Wed, 28 Oct 2026 19:35:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=50279629</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50279629</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50279629</guid></item><item><title><![CDATA[New comment by a_e_k in "Stop-motion movie Wildwood is a staggering masterpiece"]]></title><description><![CDATA[
<p>Saw it with my family last last night and we all loved it.  I was amazed at how much Laika has upped their game with crowds and FX.  That, and I definitely noticed things like the subsurface on the skin and smoother motion in general.<p>I previously worked at Pixar for 11 years on the RenderMan team and would sometimes talk to some of your CGI folks.  I'm crossing my fingers that this is Laika's year at the Oscars.</p>
]]></description><pubDate>Sun, 25 Oct 2026 06:42:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=50228939</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50228939</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50228939</guid></item><item><title><![CDATA[New comment by a_e_k in "Float and integer arithmetic follow two different paradigms"]]></title><description><![CDATA[
<p>For the float stuff, beware of `-ffinite-math-only`.  If enabled, `isfinite()` and may compile out as assumed true (with similar assumptions around `isnan()` and `isinf()`).<p>And `-ffinite-math-only` is enabled by `-ffast-math` which in turn is enabled by `-Ofast`.</p>
]]></description><pubDate>Thu, 08 Oct 2026 17:08:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=50008567</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=50008567</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=50008567</guid></item><item><title><![CDATA[New comment by a_e_k in "Competitive Programmer's Handbook (2018) [pdf]"]]></title><description><![CDATA[
<p>Blue. No, yel--</p>
]]></description><pubDate>Tue, 06 Oct 2026 03:15:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=49973731</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49973731</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49973731</guid></item><item><title><![CDATA[New comment by a_e_k in "How did AMD Ryzen get 50% faster in two years?"]]></title><description><![CDATA[
<p>If you're on x86-64, the Agner Fog manuals are kind of the bible.  Free and he's been keeping them up to date for years. ("Copyright © 2004 - 2026. Last updated 2026-09-10.")  I don't know how he does it.  And even if you're not on x86-64, you can probably still learn a lot.<p><a href="https://www.agner.org/optimize/" rel="nofollow">https://www.agner.org/optimize/</a></p>
]]></description><pubDate>Wed, 23 Sep 2026 17:38:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=49819717</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49819717</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49819717</guid></item><item><title><![CDATA[New comment by a_e_k in "Small programming tricks"]]></title><description><![CDATA[
<p>Yes, and back when hand-writing vectorized kernels via intrinsics, one learned to do the equivalent of (pseudocode here - picture SSE, AltiVec, NEON, etc.):<p><pre><code>    vector conditionmask = <some computation...>; // E.g., 11111111 00000000 00000000 11111111
    vector truebranch = <some computation...>;
    vector falsebranch = <some computation...>;
    vector result = (truebranch & conditionmask) | (falsebranch & ~conditionmask);
</code></pre>
where each lane of the conditionmask has either all bits set or all bits clear, depending on the outcome of the conditional test for that lane.<p>The processor obviously does execute both branches here, so there's going to be wasted work.  But since it's just a linear sequence of operations it can often schedule them independently and run them out-of-order and in parallel.  And of course, if there's any shared computation between the two branches, the compiler can do common subexpression elimination.<p>That said, that sort of approach where you go ahead and do both and then blend them was definitely the kind of optimization where you'd want to profile rather than doing it blindly.  But it was a pretty common thing to do when hand-vectorizing code.  (Thankfully, auto-vectorizers are pretty good at doing this sort of optimization for you these days.  It's been a very long time now since I've had to hand-write vector intrinsics.)</p>
]]></description><pubDate>Thu, 17 Sep 2026 06:23:54 +0000</pubDate><link>https://news.ycombinator.com/item?id=49737086</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49737086</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49737086</guid></item><item><title><![CDATA[New comment by a_e_k in "iPhone Duo"]]></title><description><![CDATA[
<p>$2000!<p>I really don't get why people spend so much on flagship phones!  I tend to aim for $200 Motos for me and my family, and it feels like it's a 90%+ solution at a tenth of the price.  I can still browse the web, text with people, make calls, listen to music, and take pictures.  They still last for years, and if they get dropped and the screen cracks, it just means its time to upgrade.  What am I missing here?</p>
]]></description><pubDate>Wed, 09 Sep 2026 18:54:44 +0000</pubDate><link>https://news.ycombinator.com/item?id=49632063</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49632063</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49632063</guid></item><item><title><![CDATA[New comment by a_e_k in "Poisson Disk Sampling"]]></title><description><![CDATA[
<p>That's the the difference between a low-discrepancy <i>sequence</i> and low-discrepancy <i>set</i>.  The first can generate an infinite number of points, the later targets exactly a specific number.  You can often get lower discrepancy if you know up front exactly how many points you'll want.<p>All that said, there's definitely been research into samplers that combine low-discrepancy with blue noise properties (often including retaining those properties even in lower-dimensional projections produced by dropping axis).</p>
]]></description><pubDate>Wed, 02 Sep 2026 22:11:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=49543288</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49543288</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49543288</guid></item><item><title><![CDATA[New comment by a_e_k in "Why older tech is sometimes safer from hackers"]]></title><description><![CDATA[
<p>See "The Cuckoo's Egg" [1] by Cliff Stoll (who sometimes posts here [2]).  A few related HN threads: [3] [4] [5].  The book describes tracking down a hacker in 1986 who exploited a vulnerability in early Emacs' movemail utility.<p>[1] <a href="https://en.wikipedia.org/wiki/The_Cuckoo%27s_Egg_(book)" rel="nofollow">https://en.wikipedia.org/wiki/The_Cuckoo%27s_Egg_(book)</a><p>[2] <a href="https://news.ycombinator.com/user?id=CliffStoll">https://news.ycombinator.com/user?id=CliffStoll</a><p>[3] <a href="https://news.ycombinator.com/item?id=21830277">https://news.ycombinator.com/item?id=21830277</a><p>[4] <a href="https://news.ycombinator.com/item?id=39843930">https://news.ycombinator.com/item?id=39843930</a><p>[5] <a href="https://news.ycombinator.com/item?id=49406713">https://news.ycombinator.com/item?id=49406713</a></p>
]]></description><pubDate>Mon, 24 Aug 2026 16:44:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=49422446</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49422446</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49422446</guid></item><item><title><![CDATA[New comment by a_e_k in "Kagi added a setting for removing paywalled links from search results"]]></title><description><![CDATA[
<p><i>NEW</i> Reddit has recently started blocking logged-out access too.  Stupid modal popup with "Join the most real place on the internet" (yeah, right) banner that appears after about 20 seconds.<p>I'm <i>not</i> logging in to my private account from a work machine that's MITMd for "security", just to browse search results or take a short break!<p>(I've been a user for nearly 21 years, but using it less and less with each stupid choice - these days I post a comment maybe once a week there.  I think I may finally be done with Reddit, sadly.  It was good while it lasted.)</p>
]]></description><pubDate>Fri, 21 Aug 2026 19:20:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=49392712</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49392712</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49392712</guid></item><item><title><![CDATA[New comment by a_e_k in "New Science Says Scrapping a Working Gas Car for an EV Is Usually Greener"]]></title><description><![CDATA[
<p>"Usually".  The case when they say it's not:<p>> The study finds annual mileage thresholds below which the replacement EV’s manufacturing emissions are not recovered: about 7,054 kilometers for cars, 6,837 kilometers for SUVs and 10,794 kilometers for trucks. Those are well below the roughly 20,000 kilometers in the researchers’ average case, but very lightly driven vehicles clearly exist and can be better left in service.<p>("Kilometerage threshold"? Anyway, for those using miles, that's 4383 mi for cars, 4248 mi for SUVs, and 6706 mi for trucks.)<p>Still, I like my old ICE car partly because it's from the offline vehicle era and completely lacks any kind of remote telemetry.  Perhaps if I didn't have to choose between EVs and lack of telemetry, I might be more inclined to upgrade sooner.  (That, plus it's still nice to be able to just completely refuel in a couple of minutes on long road trips through areas where services are very sparse.)</p>
]]></description><pubDate>Wed, 19 Aug 2026 02:03:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=49355643</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49355643</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49355643</guid></item><item><title><![CDATA[New comment by a_e_k in "Qwen 3.8 27B is excellent, but it defaults to overthinking things"]]></title><description><![CDATA[
<p>Like the old proverb: "The marvel is not that the bear dances well, but that the bear dances at all."</p>
]]></description><pubDate>Mon, 17 Aug 2026 05:46:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=49326941</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49326941</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49326941</guid></item><item><title><![CDATA[New comment by a_e_k in "old.reddit.com Now Requires a Login"]]></title><description><![CDATA[
<p>Earlier today I started getting a "Get the app to keep using Reddit" popup when browsing while logged out on my phone.  (I prefer to use Firefox Android exclusively in private mode to reduce the temptation to doom scroll and to have the added friction of manually logging in when commenting on any site.)<p>Unlike the prior nag screens, this one was modal, blocked any scrolling, and had no way to close it.  It seemed to pop up about 15 seconds after I first start scrolling any page - either a list of threads on a subreddit, or a thread page itself.<p>Man I miss the old iOS-looking Reddit mobile (m.reddit.com, IIRC).<p>My Reddit account is now just a few months short of US drinking age.  I've been using the site since before subreddits were a thing (back when the only topic-specific alternative to the general front page was programming.reddit.com).  I've posted a lot, modded some, and stuck with them through a lot of stupid decisions over the years.  But I'm beginning to think it's finally time to move on; I'm just not sure where to.</p>
]]></description><pubDate>Mon, 17 Aug 2026 05:02:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=49326720</link><dc:creator>a_e_k</dc:creator><comments>https://news.ycombinator.com/item?id=49326720</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49326720</guid></item></channel></rss>