<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: LittleLily</title><link>https://news.ycombinator.com/user?id=LittleLily</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 17 Sep 2026 12:25:38 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=LittleLily" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by LittleLily in "Anecdotally, programmers dislike "reduce""]]></title><description><![CDATA[
<p>I agree it's a bit annoying, but a better solution than using `as` is just telling reduce what its generic type should be:<p>tasks.reduce<Record<string, (t: typeof tasks[number]) => boolean>>((acc, item) => ..., {})<p>Also imo it's cleaner to reduce to an object with something like this as the callback:<p>(acc, item) => ({ ...acc, [item.label]: t => t.label === item.label })</p>
]]></description><pubDate>Wed, 16 Sep 2026 23:31:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=49734464</link><dc:creator>LittleLily</dc:creator><comments>https://news.ycombinator.com/item?id=49734464</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49734464</guid></item><item><title><![CDATA[New comment by LittleLily in "Turning a dumb AC unit smart (without losing my security deposit)"]]></title><description><![CDATA[
<p>Any reason why you didn't just use ESPHome for the firmware?<p>It even has a component specifically for the ULN2003 stepper motor driver you were using<p><a href="https://esphome.io/components/stepper/#uln2003-component" rel="nofollow">https://esphome.io/components/stepper/#uln2003-component</a></p>
]]></description><pubDate>Thu, 30 Jul 2026 05:13:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=49106312</link><dc:creator>LittleLily</dc:creator><comments>https://news.ycombinator.com/item?id=49106312</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49106312</guid></item><item><title><![CDATA[New comment by LittleLily in "Keychron announces first open-source firmware for gaming mice"]]></title><description><![CDATA[
<p>I wonder if it would be possible to get ZMK working on it instead, since that's built primarily for wireless support, and also supports wired configurations too as of recently. Seems like the STM32 that the Q6 pro uses is supported, so you might have some luck: <a href="https://zmk.dev/docs/hardware" rel="nofollow">https://zmk.dev/docs/hardware</a></p>
]]></description><pubDate>Thu, 30 Jul 2026 04:13:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=49106058</link><dc:creator>LittleLily</dc:creator><comments>https://news.ycombinator.com/item?id=49106058</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=49106058</guid></item><item><title><![CDATA[New comment by LittleLily in ""Parse, don't validate" through the years with C++"]]></title><description><![CDATA[
<p>In my experience it makes even more sense in functional programming languages, not less, since they usually also have more powerful type systems that help with actually representing parsed vs unparsed data.</p>
]]></description><pubDate>Thu, 30 Apr 2026 12:05:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=47961222</link><dc:creator>LittleLily</dc:creator><comments>https://news.ycombinator.com/item?id=47961222</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47961222</guid></item><item><title><![CDATA[New comment by LittleLily in "The Secret Life of NaN (2018)"]]></title><description><![CDATA[
<p>DEL is unicode codepoint U+007F, which is the byte 0x7F in UTF-8, not 0xFF.
Perhaps you were thinking of ÿ which is codepoint U+00FF, which encodes to the bytes 0xC3 0xBF in UTF-8.</p>
]]></description><pubDate>Tue, 28 Apr 2026 01:28:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=47929480</link><dc:creator>LittleLily</dc:creator><comments>https://news.ycombinator.com/item?id=47929480</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47929480</guid></item><item><title><![CDATA[New comment by LittleLily in "How Wake-On-LAN works (2020)"]]></title><description><![CDATA[
<p>Here's an equivalent shell script that only uses bash builtins, so no other software required:<p><pre><code>  #!/bin/bash 
  mac="\\x${1//:/\\x}" 
  wol="\xFF\xFF\xFF\xFF\xFF\xFF" 
  for i in {1..16}; do wol+="$mac"; done 
  printf "$wol" > "/dev/udp/$2/9"</code></pre></p>
]]></description><pubDate>Thu, 16 Apr 2026 04:08:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=47788556</link><dc:creator>LittleLily</dc:creator><comments>https://news.ycombinator.com/item?id=47788556</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=47788556</guid></item></channel></rss>