<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: martincmartin</title><link>https://news.ycombinator.com/user?id=martincmartin</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Thu, 10 Sep 2026 21:22:58 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=martincmartin" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[Like a cheat code for your car: We investigate ECU tuning]]></title><description><![CDATA[
<p>Article URL: <a href="https://arstechnica.com/cars/2026/07/like-a-cheat-code-for-your-car-we-investigate-ecu-tuning/">https://arstechnica.com/cars/2026/07/like-a-cheat-code-for-your-car-we-investigate-ecu-tuning/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=48877356">https://news.ycombinator.com/item?id=48877356</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Sun, 12 Jul 2026 01:06:10 +0000</pubDate><link>https://arstechnica.com/cars/2026/07/like-a-cheat-code-for-your-car-we-investigate-ecu-tuning/</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=48877356</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=48877356</guid></item><item><title><![CDATA[Is Boston's tech and innovation scene withering?]]></title><description><![CDATA[
<p>Article URL: <a href="https://www.bostonglobe.com/2026/01/27/business/boston-tech-innovation-biotech-worry/">https://www.bostonglobe.com/2026/01/27/business/boston-tech-innovation-biotech-worry/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=46784580">https://news.ycombinator.com/item?id=46784580</a></p>
<p>Points: 2</p>
<p># Comments: 0</p>
]]></description><pubDate>Tue, 27 Jan 2026 18:58:07 +0000</pubDate><link>https://www.bostonglobe.com/2026/01/27/business/boston-tech-innovation-biotech-worry/</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=46784580</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=46784580</guid></item><item><title><![CDATA[LongBets 1: By 2029 no computer will have passed the Turing test (2002)]]></title><description><![CDATA[
<p>Article URL: <a href="https://longbets.org/1/">https://longbets.org/1/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=44490740">https://news.ycombinator.com/item?id=44490740</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Mon, 07 Jul 2025 14:28:48 +0000</pubDate><link>https://longbets.org/1/</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=44490740</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=44490740</guid></item><item><title><![CDATA[New comment by martincmartin in "The Quantum Butterfly Effect"]]></title><description><![CDATA[
<p>How does this interact with the No Cloning Theorem?  <a href="https://en.wikipedia.org/wiki/No-cloning_theorem" rel="nofollow">https://en.wikipedia.org/wiki/No-cloning_theorem</a><p>If you can rebuild the cQbit from just the bath, then there's no information in cQbit, right?</p>
]]></description><pubDate>Mon, 19 Aug 2024 16:17:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=41292318</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=41292318</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=41292318</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>OP here.  Yes, that's what I meant.  Using the rocket equation, truncated Taylor series approximation, truncating even more to make things solvable, then iterating to improve the solution, were all things I wouldn't have expected.</p>
]]></description><pubDate>Fri, 14 Jun 2024 17:28:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=40682808</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40682808</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40682808</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>OP here.  Cool!  I was born in 1969, less than a month before Neil Armstrong walked on the moon, and was only a few months old when this game was written.  I too learned BASIC, then spent hours pouring over the book "BASIC Computer Games", before I even had a computer of my own.  Fond memories, as you say.</p>
]]></description><pubDate>Fri, 14 Jun 2024 17:10:30 +0000</pubDate><link>https://news.ycombinator.com/item?id=40682619</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40682619</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40682619</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>Yeah, I think we're agreeing.  :)<p>So it turns out, before discovering the bug, I actually wrote code to find the optimal sequence when your choices are restricted to integers.  I thought, along the same lines as you, "maybe if you burn 165 or 170 or something in the first non-zero term, then you could burn less on the 14 turn and still land."<p>And this is how I know it's not possible, at least with integer burn rates.  :)  I checked all 201^9 combinations, with a few optimizations to cut down the search space.<p>That's different than what you said, of using floating point for the last burn.  But it is in a similar spirit.</p>
]]></description><pubDate>Fri, 14 Jun 2024 17:07:48 +0000</pubDate><link>https://news.ycombinator.com/item?id=40682585</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40682585</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40682585</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p><i>I thought it was a little odd that he mentioned "impressive for a high school senior in 1969" multiple times throughout -- honestly I would imagine that growing up in the Space Age would have had a massive influence on technically minded folks, reminds me of that movie from a while back called October Sky.</i><p>OP here.  I see your point.  But think of what's needed to create this game:<p>- From high school physics, you know to start with a free body diagram.  There are two forces, gravity and thrust.  So far, your average high school student with an A in physics should be able to do that.<p>- Gravity depends on the distance to the center, which of course is changing, that's the whole point of a lander.  I mean, you start 120 miles up.  You have to realize it doesn't change much, so can be approximated as a constant.  But you've been exposed to that in physics class, so maybe you just assume it's a constant.<p>- How the hell does thrust work as a function of burn rate?  Is the exhaust velocity higher when you burn more?  In other words, considering 100 lbs/sec vs 200 lbs/sec, when you double the flow of fuel into the engine, and then you burn it, it turns into twice as much fuel in the same volume.  Wouldn't it be forced out at twice the speed?  Or at least a higher speed?  Maybe you think of the universal gas law, PV=nRT.  The volume is constant (the volume of the engine), n is doubled, R is a universal constant.  So that means P or T changes, or both.  Why is T, which is a function of the velocity of the molecules, constant why P is doubled?  Why don't both change?<p>- So you talk to your Dad, who happens to be a physicist.  Most high school students, even those getting an A in physics, don't have a physicist for a father who can look up the properties of rocket engines and find the Tsiolkovsky rocket equation.  So a high school senior finding the rocket equation is impressive to me.<p>- To go from velocity to position, you need to integrate.  I'm not sure your average A physics senior would think of replace the FLOG() call with a Taylor series and integrating it term by term.<p>- How many terms of the Taylor series do you need?  Does it even converge for you?  If he thought of these subtleties, that's impressive.  But it's possible that young Jim didn't realize these issues and just uses 5 terms because that seemed like a lot of terms.<p>- So now you can simulate it in near the moon.  Cool!  But how do you detect when it hits the ground?  You could try to solve for altitude equals zero, and see if there are zero or more solutions.  But even if there are solutions, they might be in the past or the future.  So instead you decide to look where the velocity is zero, since you know this happens exactly once during the turn.  I think that shows some ingenuity there, although I don't know if that was 18 year old Jim's thought process.<p>- So you try to invert the rocket equation: given a desired delta-V, how much fuel do you need to burn to achieve it?  If you try this with pencil and paper and high school math, including Calculus, you keep getting stuck.  You don't have the tools to show that it's actually impossible and needs you to introduce a new function, the Lambert W.<p>- So maybe you give up, or maybe your physicist Dad helps you again.  Using your Taylor series, you now have to solve a 5th degree polynomial.  So you decide to scrap the 3rd, 4th and 5th term to get yourself a quadratic.  Why is it ok to scrap these now, when it wasn't ok when computing the regular dynamics?  I'm impressed that he realized he can use different levels of approximation in different circumstances, without it generating some inconsistencies or other problems.<p>- You somehow figure out how to use the alternate form of the quadratic equation, which means you didn't just look it up and type it in.  Possibly impressive.</p>
]]></description><pubDate>Fri, 14 Jun 2024 17:02:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=40682539</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40682539</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40682539</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>The nature of the bug is that it has trouble finding when the lander has touched the surface.  You need to have an altitude of less than zero for around 0.05 seconds for the game to notice that you've landed.  If your thrust during that time is 200 or 199, to have an altitude < 0 for that long, then you need to have a speed greater than 1 MPH when your altitude is zero.<p>Even when the bug is fixed, the code is still only approximating the lowest point.  Also, even when it detects that you've landed, now it needs to compute the time when you land, i.e. when the altitude is zero, not velocity.  It also uses an approximation for that.<p>So the times will be a little off.  If you're burning 200 or 199 during that last time step, you have a high acceleration so even a small amount of time turns into a large amount of velocity.  Instead, if you're burning say 10 lbs/sec, then being off by say 0.08 sec won't change your velocity much.</p>
]]></description><pubDate>Fri, 14 Jun 2024 16:31:52 +0000</pubDate><link>https://news.ycombinator.com/item?id=40682259</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40682259</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40682259</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>OP here.  True, I oversimplified.  What I meant was, there are two parts to the dynamics, the rocket equation and gravity.  They add linearly, so any extra velocity that comes from gravity needs to be eliminated by increasing the delta V from the rocket equation.  The gravity delta V is just acceleration of gravity times time, so you want to minimize the time.  Surprisingly (to me), in the rocket equation, it doesn't matter how long it takes, or what sequence of burns you use, or whether you burn at a constant rate all the way through vs short strong bursts, etc.  So to land with zero velocity using the least fuel, you just need to land in the shortest amount of time.</p>
]]></description><pubDate>Fri, 14 Jun 2024 16:06:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=40682031</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40682031</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40682031</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>True.  + also has higher precedence than -, so that a - b + c means a - (b + c).</p>
]]></description><pubDate>Fri, 14 Jun 2024 15:18:41 +0000</pubDate><link>https://news.ycombinator.com/item?id=40681693</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40681693</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40681693</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>Thanks.  Fixed!</p>
]]></description><pubDate>Fri, 14 Jun 2024 14:16:02 +0000</pubDate><link>https://news.ycombinator.com/item?id=40681139</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40681139</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40681139</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>OP here.  One interesting thing about FOCAL is that * has higher precedence than /.  So in Lunar Lander, M*G/Z*K is what mathematicians and other languages would write M*G/(Z*K).  I did a double take when I first saw that.  :)  As the Wikipedia article says, "This can cause subtle errors when converting FOCAL source code to other systems."<p>Also, the IF syntax is a little limiting and hard to read, although I suppose programmers would get used to it.</p>
]]></description><pubDate>Fri, 14 Jun 2024 13:38:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=40680796</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40680796</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40680796</guid></item><item><title><![CDATA[New comment by martincmartin in "I found a 55 year old bug in the first Lunar Lander game"]]></title><description><![CDATA[
<p>OP here (of this blog post, not the original game).  The naive way is what I expected too, and described as the Euler method in the post.<p>In terms of physical accuracy, especially when you get near the surface, the mass does change significantly if you have a high rate of fuel burn.  But in terms of how challenging/fun it would be, and what strategies you use as a player, I doubt it would make much difference.  In fact, there are other lunar lander simulations in the BASIC computer games book, I think one of them does use the naive approach.<p>If 10 seconds is too long, you could still leave that as the turn in the UI, but internally break each turn into a bunch of smaller time steps, e.g. 10 time steps of 1 second each.  Actually, the existing game does that in certain places, which is why his physics simulation takes in an arbitrary time S rather than always the full 10 seconds.</p>
]]></description><pubDate>Fri, 14 Jun 2024 13:23:21 +0000</pubDate><link>https://news.ycombinator.com/item?id=40680698</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40680698</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40680698</guid></item><item><title><![CDATA[I found a 55 year old bug in the first Lunar Lander game]]></title><description><![CDATA[
<p>Article URL: <a href="https://martincmartin.com/2024/06/14/how-i-found-a-55-year-old-bug-in-the-first-lunar-lander-game/">https://martincmartin.com/2024/06/14/how-i-found-a-55-year-old-bug-in-the-first-lunar-lander-game/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=40680218">https://news.ycombinator.com/item?id=40680218</a></p>
<p>Points: 426</p>
<p># Comments: 114</p>
]]></description><pubDate>Fri, 14 Jun 2024 12:24:06 +0000</pubDate><link>https://martincmartin.com/2024/06/14/how-i-found-a-55-year-old-bug-in-the-first-lunar-lander-game/</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40680218</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40680218</guid></item><item><title><![CDATA[New comment by martincmartin in "The Rate of Return on Everything, 1870–2015 (2019)"]]></title><description><![CDATA[
<p>$82,098 in 1955, adjusted for inflation, was worth $727,502.05[1].  So homes were actually much more expensive back then.<p>[1] <a href="https://data.bls.gov/cgi-bin/cpicalc.pl?cost1=82098&year1=195501&year2=201504" rel="nofollow">https://data.bls.gov/cgi-bin/cpicalc.pl?cost1=82098&year1=19...</a></p>
]]></description><pubDate>Wed, 12 Jun 2024 02:17:17 +0000</pubDate><link>https://news.ycombinator.com/item?id=40653819</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40653819</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40653819</guid></item><item><title><![CDATA[New comment by martincmartin in "Ottawa wants the power to create secret backdoors in networks for surveillance"]]></title><description><![CDATA[
<p>The Economist had an article about this last week:<p><a href="https://www.economist.com/science-and-technology/2024/05/17/it-is-dangerously-easy-to-hack-the-worlds-phones" rel="nofollow">https://www.economist.com/science-and-technology/2024/05/17/...</a><p>(Accompanying editorial: <a href="https://www.economist.com/leaders/2024/05/23/hacking-phones-is-too-easy-time-to-make-it-harder" rel="nofollow">https://www.economist.com/leaders/2024/05/23/hacking-phones-...</a>)</p>
]]></description><pubDate>Wed, 29 May 2024 19:55:08 +0000</pubDate><link>https://news.ycombinator.com/item?id=40516233</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40516233</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40516233</guid></item><item><title><![CDATA[New comment by martincmartin in "A fourteen-day free trial ain’t gonna cut it"]]></title><description><![CDATA[
<p>If you click on their username, it takes you to their profile.<p><a href="https://news.ycombinator.com/user?id=simonsarris">https://news.ycombinator.com/user?id=simonsarris</a><p>which says:<p><i>I make GoJS, a powerful canvas-based diagramming library:</i><p><i><a href="http://gojs.net/" rel="nofollow">http://gojs.net/</a></i><p>Which is not what I think of a graphing (time series, x-y points joined by lines), but otherwise seems relevant to their comment.</p>
]]></description><pubDate>Mon, 06 May 2024 14:34:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=40275178</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=40275178</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=40275178</guid></item><item><title><![CDATA[New comment by martincmartin in "Deaths at a California skydiving center, but the jumps go on"]]></title><description><![CDATA[
<p>Isn't actually collecting judgements hard?  I thought I read, in some article about how Alex Jones hasn't paid any of his judgement, that it's not uncommon to take decades before seeing any money.  Often people settle for a greatly reduced sum that they can get right now, for that very reason.</p>
]]></description><pubDate>Thu, 04 Apr 2024 23:36:06 +0000</pubDate><link>https://news.ycombinator.com/item?id=39937135</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=39937135</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39937135</guid></item><item><title><![CDATA[New comment by martincmartin in "Realtime telemetry from ISS internal components"]]></title><description><![CDATA[
<p>True.  It turns out, it also applies for the two body problem, as long as one body is much more massive than the other.<p><a href="https://en.wikipedia.org/wiki/Orbital_period#Small_body_orbiting_a_central_body" rel="nofollow">https://en.wikipedia.org/wiki/Orbital_period#Small_body_orbi...</a></p>
]]></description><pubDate>Thu, 07 Mar 2024 03:03:55 +0000</pubDate><link>https://news.ycombinator.com/item?id=39624638</link><dc:creator>martincmartin</dc:creator><comments>https://news.ycombinator.com/item?id=39624638</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=39624638</guid></item></channel></rss>