<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: aqrit</title><link>https://news.ycombinator.com/user?id=aqrit</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 17 Aug 2026 07:06:44 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=aqrit" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by aqrit in "Unearthing a 31 year old Easter egg in Ecco the Dolphin"]]></title><description><![CDATA[
<p>Not the author but:<p>`GetKeyState` and `LoadMenuA` are going to stand out in the disassembly.<p>Backtracking from `GetKeyState` is how I found a devmode in "warhammer: shadow of the horned rat". Though it is activated by a boring commandline argument.<p><a href="https://www.gog.com/forum/warhammer_shadow_of_the_horned_rat/cheat_codes/post14" rel="nofollow">https://www.gog.com/forum/warhammer_shadow_of_the_horned_rat...</a></p>
]]></description><pubDate>Sat, 15 Aug 2026 12:02:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=49309895</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=49309895</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49309895</guid></item><item><title><![CDATA[New comment by aqrit in "Firewood Splitting Simulator"]]></title><description><![CDATA[
<p>>Is it really that difficult?<p>Fiberglass handles are now standard on splitting mauls (for this reason). 
Rotten hearts, or driving wedges. It is easy to miss a swing by an inch or two when fatigued.<p>Edit: I also broke my first axe handle. The sibling comments here are wild.</p>
]]></description><pubDate>Sun, 14 Jun 2026 17:17:24 +0000</pubDate><link>https://news.ycombinator.com/item?id=48529855</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=48529855</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48529855</guid></item><item><title><![CDATA[New comment by aqrit in "An AI agent published a hit piece on me – more things have happened"]]></title><description><![CDATA[
<p>_Daily_ hit pieces on Elon Musk (or Musk companies), going for something like a decade. These have petered out somewhat since he left DOGE. But they started way back before he should have had that much notoriety.</p>
]]></description><pubDate>Sat, 14 Feb 2026 14:57:11 +0000</pubDate><link>https://news.ycombinator.com/item?id=47014988</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=47014988</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47014988</guid></item><item><title><![CDATA[New comment by aqrit in "Rubio stages font coup: Times New Roman ousts Calibri"]]></title><description><![CDATA[
<p>MS makes "Times New Roman" available (at no cost), but not "Calibri".</p>
]]></description><pubDate>Thu, 11 Dec 2025 16:42:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=46233662</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=46233662</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46233662</guid></item><item><title><![CDATA[New comment by aqrit in "Faster substring search with SIMD in Zig"]]></title><description><![CDATA[
<p>`_mm_alignr_epi8` is a compile-time known shuffle that gets optimized well by LLVM [1].<p>If you need the exact behavior of `pshufb` you can use asm or the llvm intrinsic [2]. iirc, I once got the compiler to emit a `pshufb` for a runtime shuffle... that always guaranteed indices in the 0..15 range?<p>Ironically, I also wanted to try zig by doing a StreamVByte implementation, but got derailed by the lack of SSE/AVX intrinsics support.<p>[1] <a href="https://github.com/aqrit/sse2zig/blob/444ed8d129625ab5deec345ac5fdb06f6f9d0c6c/sse.zig#L3501C15-L3501C30" rel="nofollow">https://github.com/aqrit/sse2zig/blob/444ed8d129625ab5deec34...</a>
[2] <a href="https://github.com/aqrit/sse2zig/blob/444ed8d129625ab5deec345ac5fdb06f6f9d0c6c/sse.zig#L3830" rel="nofollow">https://github.com/aqrit/sse2zig/blob/444ed8d129625ab5deec34...</a></p>
]]></description><pubDate>Mon, 11 Aug 2025 20:09:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=44868869</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=44868869</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44868869</guid></item><item><title><![CDATA[New comment by aqrit in "How to live on $432 a month in America"]]></title><description><![CDATA[
<p>> health services in the area<p>Massena Hospital is a 25-bed hospital. Might have to go to Canton or Ogdensburg for a family doctor (45 minutes by car). Most things serious get referred to Syracuse or Burlington (3 hours away by car).<p>AFAIK, Cost[1] is "theoretically" nothing if annual income is less than the federal poverty line ($15,650 for an individuality). And might as well be free for an income up to $39,125.<p>[1] <a href="https://info.nystateofhealth.ny.gov/EssentialPlan" rel="nofollow">https://info.nystateofhealth.ny.gov/EssentialPlan</a></p>
]]></description><pubDate>Sat, 24 May 2025 15:23:53 +0000</pubDate><link>https://news.ycombinator.com/item?id=44081704</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=44081704</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44081704</guid></item><item><title><![CDATA[New comment by aqrit in "How to live on $432 a month in America"]]></title><description><![CDATA[
<p>Alcoa (Aluminum Smelter, *cheap electricity*) was the major industry in the area. Massena plant now produces 85% less aluminum compared to ~15 years ago (AFAICT), leading to something of a ghost town (and cheap housing).</p>
]]></description><pubDate>Sat, 24 May 2025 11:33:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=44080377</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=44080377</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44080377</guid></item><item><title><![CDATA[New comment by aqrit in "YouTube DRM added on ALL videos with TV (TVHTML5) clients"]]></title><description><![CDATA[
<p>Limited internet connections (speed and/or data-caps). Something like Hughesnet (satellite ISP) couldn't stream more than 240p from youtube during peek times. The data-cap coerced users to do downloads between 2am to 6am.</p>
]]></description><pubDate>Mon, 10 Mar 2025 20:16:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=43325558</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=43325558</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43325558</guid></item><item><title><![CDATA[New comment by aqrit in "Constantly Divisionless Random Numbers"]]></title><description><![CDATA[
<p>> “regular” rejection sampling<p>I was thinking naive: mask off unwanted bits then reject any value above the limit.<p>It would seem like <a href="https://c-faq.com/lib/randrange.html" rel="nofollow">https://c-faq.com/lib/randrange.html</a> would also move the multiply --or divide by constant-- out of the loop.</p>
]]></description><pubDate>Sun, 09 Mar 2025 19:45:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=43312968</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=43312968</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43312968</guid></item><item><title><![CDATA[New comment by aqrit in "Improving on std:count_if()'s auto-vectorization"]]></title><description><![CDATA[
<p>A optimized version would use 64-bit accumulators (`psadbw` on SSE2, or some sort of horizontal adds on NEON). The `255` max constraint is pointless.<p>Many programming languages/frameworks expose this operation as `reduce()`.</p>
]]></description><pubDate>Sun, 09 Mar 2025 15:58:47 +0000</pubDate><link>https://news.ycombinator.com/item?id=43310304</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=43310304</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43310304</guid></item><item><title><![CDATA[New comment by aqrit in "Constantly Divisionless Random Numbers"]]></title><description><![CDATA[
<p>Why not use regular rejection sampling when `limit` is known at compile-time.
Does fastrange[1] have fewer rejections due to any excess random bits[2]?<p>[1] <a href="https://github.com/lemire/fastrange" rel="nofollow">https://github.com/lemire/fastrange</a><p>[2] <a href="https://github.com/swiftlang/swift/pull/39143" rel="nofollow">https://github.com/swiftlang/swift/pull/39143</a></p>
]]></description><pubDate>Sun, 09 Mar 2025 15:32:29 +0000</pubDate><link>https://news.ycombinator.com/item?id=43309954</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=43309954</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=43309954</guid></item><item><title><![CDATA[New comment by aqrit in "Parsing time stamps faster with SIMD instructions"]]></title><description><![CDATA[
<p>That snippet would not reject bad chars, are non-digits rejected somewhere else?
A simple scalar loop that multiplies an accumulator by 10, itoa() style, would be faster.</p>
]]></description><pubDate>Mon, 03 Jul 2023 11:09:50 +0000</pubDate><link>https://news.ycombinator.com/item?id=36571305</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=36571305</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36571305</guid></item><item><title><![CDATA[New comment by aqrit in "Parsing time stamps faster with SIMD instructions"]]></title><description><![CDATA[
<p>The methods in those articles could be slightly improved by picking better multipliers.
<a href="https://stackoverflow.com/a/71594769" rel="nofollow noreferrer">https://stackoverflow.com/a/71594769</a></p>
]]></description><pubDate>Mon, 03 Jul 2023 02:24:31 +0000</pubDate><link>https://news.ycombinator.com/item?id=36567969</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=36567969</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36567969</guid></item><item><title><![CDATA[New comment by aqrit in "Parsing time stamps faster with SIMD instructions"]]></title><description><![CDATA[
<p>There are two digits for months. A check is required per-character to prevent bad chars (e.g 0x3A) from being laundered by the multiply. The '19' comes from fact that the first digit may be only 0 or 1, while the 2nd digit maybe any value 0..9 (e.g September '0'9' October '1'0'). The second check catches bad month values between 13..19 which were not caught by looking at individual digits. Realistically, the first check may be overbuilt, it only needs to check is_digit or not, but it still has to ignore the padding bytes at the end, somehow. Now... I believe there would be a problem with the month value of '00'... because it unconditionally subtracts 1 from that field then uses it as a table index.</p>
]]></description><pubDate>Mon, 03 Jul 2023 01:57:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=36567805</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=36567805</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=36567805</guid></item><item><title><![CDATA[New comment by aqrit in "Basic SAT model of x86 instructions using Z3, autogenerated from Intel docs"]]></title><description><![CDATA[
<p>This was for a super optimizer.</p>
]]></description><pubDate>Mon, 15 May 2023 20:06:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=35953764</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=35953764</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35953764</guid></item><item><title><![CDATA[New comment by aqrit in "High speed Unicode routines using SIMD"]]></title><description><![CDATA[
<p>One of the authors/contributors was looking into it: <a href="https://old.reddit.com/r/mainframe/comments/wevyvg/whats_the_performance_of_cu12_and_cu21_on_modern/iitbyu4/" rel="nofollow">https://old.reddit.com/r/mainframe/comments/wevyvg/whats_the...</a> 
I don't think this project was ready for a public announcement, yet.</p>
]]></description><pubDate>Mon, 05 Sep 2022 17:46:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=32727028</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=32727028</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32727028</guid></item><item><title><![CDATA[New comment by aqrit in "Filtering a vector with SIMD instructions (AVX-2 and AVX-512)"]]></title><description><![CDATA[
<p>The AVX2 version is using a 8 KiB table...? Even the range check is inefficient. I'd bet that the AVX2 version could be 50% faster.</p>
]]></description><pubDate>Thu, 01 Sep 2022 19:43:13 +0000</pubDate><link>https://news.ycombinator.com/item?id=32681972</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=32681972</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32681972</guid></item><item><title><![CDATA[New comment by aqrit in "Converting integers to decimal strings faster with AVX-512"]]></title><description><![CDATA[
<p>related to IEEE 754 double-precision floating-point round-trips?</p>
]]></description><pubDate>Tue, 29 Mar 2022 20:41:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=30848093</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=30848093</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=30848093</guid></item><item><title><![CDATA[New comment by aqrit in "Walmart has stopped fighting the $7k fine for a worker's death in 2008 (2015)"]]></title><description><![CDATA[
<p>Any fine shows Walmart as liable. A free win for any $100mm civil lawsuit.</p>
]]></description><pubDate>Sat, 06 Nov 2021 22:18:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=29134346</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=29134346</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29134346</guid></item><item><title><![CDATA[New comment by aqrit in "No sane compiler would optimize atomics (2015)"]]></title><description><![CDATA[
<p><a href="https://media.ccc.de/v/35c3-9788-memsad" rel="nofollow">https://media.ccc.de/v/35c3-9788-memsad</a></p>
]]></description><pubDate>Sun, 11 Jul 2021 22:40:57 +0000</pubDate><link>https://news.ycombinator.com/item?id=27805055</link><dc:creator>aqrit</dc:creator><comments>https://news.ycombinator.com/item?id=27805055</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27805055</guid></item></channel></rss>