<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: szhu</title><link>https://news.ycombinator.com/user?id=szhu</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Mon, 13 Apr 2026 07:37:17 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=szhu" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[New comment by szhu in "Ask vs. Guess Culture"]]></title><description><![CDATA[
<p>I think that's actually just an example of either ask culture or guess culture, depending on the context.<p>If the friend should only say yes if they really want to, then that's ask culture.<p>If the friend should feel obligated to say yes, then that's guess culture.<p>The only difference here is that the request is worded differently (as a statement rather than as a question), which is simply close friends adopting their own language conventions, a slightly-related but independent concept.</p>
]]></description><pubDate>Sat, 19 Aug 2023 01:14:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=37184389</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=37184389</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=37184389</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>I admire your dedication! Thank you for sacrificing 38 minutes of screen time for a noble cause.</p>
]]></description><pubDate>Sat, 11 Mar 2023 00:52:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=35103701</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35103701</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35103701</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>Update: I added a new algorithm, and I think it might be impossible to crash the ship now.<p>Let me know if you can still reproduce the bug!</p>
]]></description><pubDate>Fri, 10 Mar 2023 18:42:12 +0000</pubDate><link>https://news.ycombinator.com/item?id=35098958</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35098958</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35098958</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>Actually, I think my new algorithm fixes this -- and without any dedicated "swaying" edge case!</p>
]]></description><pubDate>Fri, 10 Mar 2023 18:41:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=35098946</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35098946</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35098946</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>Update: I improved the algorithm.<p>The autopilot now scores a "perfect landing" almost every single time, it lands very noticeably faster, and the code no longer contains a complicated, trial-by-error formula!<p>I got my first 103+ point landing! (It does this about half the time now)<p><a href="https://user-images.githubusercontent.com/1570168/224399420-5a8d688a-9306-4499-aea0-5e9e212b438e.png" rel="nofollow">https://user-images.githubusercontent.com/1570168/224399420-...</a></p>
]]></description><pubDate>Fri, 10 Mar 2023 18:38:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=35098896</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35098896</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35098896</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>Oh that sounds like fun, I would definitely play that. You should suggest it to the developer who made the game!<p><a href="https://github.com/ehmorris/lunar-lander/issues">https://github.com/ehmorris/lunar-lander/issues</a><p><a href="https://news.ycombinator.com/item?id=35032506" rel="nofollow">https://news.ycombinator.com/item?id=35032506</a></p>
]]></description><pubDate>Fri, 10 Mar 2023 16:39:58 +0000</pubDate><link>https://news.ycombinator.com/item?id=35096758</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35096758</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35096758</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>oh no! I'm tried it on Firefox on Mac and it worked fine?<p><a href="https://user-images.githubusercontent.com/1570168/224370129-6f80c7b1-1626-4b6f-900e-611b06f3a4a9.png" rel="nofollow">https://user-images.githubusercontent.com/1570168/224370129-...</a><p><a href="https://user-images.githubusercontent.com/1570168/224369935-56894894-4f7d-41a2-87de-830cc9c4ae06.mov" rel="nofollow">https://user-images.githubusercontent.com/1570168/224369935-...</a></p>
]]></description><pubDate>Fri, 10 Mar 2023 16:29:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=35096595</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35096595</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35096595</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>Oh yeah, the author of the game said he made use of a similar tutorial:<p><a href="http://students.cs.ucl.ac.uk/schoolslab/projects/HT5/" rel="nofollow">http://students.cs.ucl.ac.uk/schoolslab/projects/HT5/</a><p>from the readme here: <a href="https://github.com/ehmorris/lunar-lander">https://github.com/ehmorris/lunar-lander</a></p>
]]></description><pubDate>Fri, 10 Mar 2023 16:23:15 +0000</pubDate><link>https://news.ycombinator.com/item?id=35096488</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35096488</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35096488</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: Send an AI Generated Physical Letter to Congress in Seconds"]]></title><description><![CDATA[
<p>The art collective MSCHF did something similar and slightly more dystopian: <a href="https://childrenscrusade.com/" rel="nofollow">https://childrenscrusade.com/</a></p>
]]></description><pubDate>Fri, 10 Mar 2023 15:51:03 +0000</pubDate><link>https://news.ycombinator.com/item?id=35095930</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35095930</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35095930</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>Thanks! Yeah it's just (1) rotate to follow the trajectory line and (2) slow down once you get close to the bottom.</p>
]]></description><pubDate>Fri, 10 Mar 2023 15:29:56 +0000</pubDate><link>https://news.ycombinator.com/item?id=35095578</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35095578</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35095578</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>oh yeah definitely. Left as an exercise for the reader??<p>(accepting PRs!)</p>
]]></description><pubDate>Fri, 10 Mar 2023 14:57:43 +0000</pubDate><link>https://news.ycombinator.com/item?id=35095060</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35095060</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35095060</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>That's a ceiling for the speed the autopilot is okay with letting the lander descend. There is no ceiling to how much hard it will try to "apply the brakes".<p>I agree that the target velocity calculation is off though. I was excited that I came up with something reasonably theoretically correct for correcting rotation... and for figuring out when to fire the engines I just gave up and eyeballed it :)</p>
]]></description><pubDate>Fri, 10 Mar 2023 14:38:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=35094784</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35094784</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35094784</guid></item><item><title><![CDATA[New comment by szhu in "Show HN: I built an autopilot for the lunar lander game"]]></title><description><![CDATA[
<p>I really wanted to!<p>But unfortunately none of the lander's stats are exposed as global variables, so the only way I could make the autopilot was by modifying the existing code. (My commits are actually broken down exactly like this: a commit to expose the necessary variables globally, and another to actually add the autopilot.)<p>I would also love to be able to play it in the original game though, so I made a PR! I think it would be cool for it to be able to be activated as an easter egg.<p><a href="https://github.com/ehmorris/lunar-lander/pull/7">https://github.com/ehmorris/lunar-lander/pull/7</a></p>
]]></description><pubDate>Fri, 10 Mar 2023 08:28:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=35091949</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35091949</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35091949</guid></item><item><title><![CDATA[Show HN: I built an autopilot for the lunar lander game]]></title><description><![CDATA[
<p>I got pretty good at (and very addicted to) the lunar lander game from a few days ago...<p>so I decided to make an autopilot for the lander based on what I felt like was the best strategy! Now I can have perfect landings every time without lifting a finger :D<p>Writing the autopilot code was a lot more fun than I expected! It felt a bit like programming a robot.<p>Source code: <a href="https://github.com/szhu/lunar-lander-autopilot">https://github.com/szhu/lunar-lander-autopilot</a><p>Original lander HN post: <a href="https://news.ycombinator.com/item?id=35032506" rel="nofollow">https://news.ycombinator.com/item?id=35032506</a></p>
<hr>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=35090054">https://news.ycombinator.com/item?id=35090054</a></p>
<p>Points: 277</p>
<p># Comments: 69</p>
]]></description><pubDate>Fri, 10 Mar 2023 03:30:29 +0000</pubDate><link>https://szhu.github.io/lunar-lander-autopilot/</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=35090054</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=35090054</guid></item><item><title><![CDATA[New comment by szhu in "Kill-sticky, a bookmarklet to remove sticky elements and restore scrolling"]]></title><description><![CDATA[
<p>That doesn't work well, a lot of news websites and React-powered blogs need that initial load or else the page is all blank!</p>
]]></description><pubDate>Tue, 27 Sep 2022 23:02:34 +0000</pubDate><link>https://news.ycombinator.com/item?id=33002238</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=33002238</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=33002238</guid></item><item><title><![CDATA[New comment by szhu in "Kill-sticky, a bookmarklet to remove sticky elements and restore scrolling"]]></title><description><![CDATA[
<p>Similar thing I made recently, but as a Chrome extension:<p><a href="https://github.com/szhu/pagefreeze" rel="nofollow">https://github.com/szhu/pagefreeze</a><p>It does the same thing, and in addition also prevents any async JS from running. It also can be easily toggled per-site; just click the extension icon! Unfortunately I didn't have time to put a GIF in the README. OP did a better job of explaining what their project does!<p>Would love feedback on it + hope it helps someone as well!</p>
]]></description><pubDate>Tue, 27 Sep 2022 18:37:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=32999284</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=32999284</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32999284</guid></item><item><title><![CDATA[New comment by szhu in "Why people make dumb financial decisions on purpose"]]></title><description><![CDATA[
<p>This is how VC works, right?</p>
]]></description><pubDate>Sat, 03 Sep 2022 23:54:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=32707833</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=32707833</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=32707833</guid></item><item><title><![CDATA[New comment by szhu in "Apple added an orange dot that’s a showstopper for live visuals"]]></title><description><![CDATA[
<p>This thread has a lot of people arguing for the live visuals use case over protecting privacy or vice versa. Not only are they both important, but I think we can actually have both.<p>To easily solve both the privacy and the live visuals issue, Apple should make it so that the dot is only shown on a display of it is:<p>- the primary display (the one notifications appear on, since that's where the user typically checks for system status),<p>- the built-in display, if any,<p>- the display the cursor is on, or<p>- the display containing the frontmost window.<p>These are the only kinds of displays that make sense to have a persistent privacy indicator on. Anyone who's sitting at a computer is looking at at least one of these displays.<p>The secondary displays that artists use to show fullscreened live visuals always fit none of these criteria.</p>
]]></description><pubDate>Thu, 23 Dec 2021 07:54:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=29659652</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=29659652</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=29659652</guid></item><item><title><![CDATA[New comment by szhu in "Amazon Kindles with 3G will start to lose cellular network access in December"]]></title><description><![CDATA[
<p>You can pay $20 to remove it, right? A $20 Kindle is still a pretty good deal.</p>
]]></description><pubDate>Fri, 30 Jul 2021 04:55:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=28004613</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=28004613</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=28004613</guid></item><item><title><![CDATA[New comment by szhu in "Mac OS Monterey Features Unavailable on Intel Macs"]]></title><description><![CDATA[
<p>Rearranging displays to match their physical placement is incredibly annoying. I'm so happy Apple finally decided to innovate here.</p>
]]></description><pubDate>Wed, 09 Jun 2021 18:22:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=27451272</link><dc:creator>szhu</dc:creator><comments>https://news.ycombinator.com/item?id=27451272</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=27451272</guid></item></channel></rss>