<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Mar 3, 2016 at 11:54 AM, Eliot Miranda <span dir="ltr">&lt;<a href="mailto:eliot.miranda@gmail.com" target="_blank">eliot.miranda@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="auto"><div>Interesting:<br></div><div><table border="0" style="font-family:Verdana,Geneva,sans-serif"><tbody><tr><td style="height:inherit!important"><font face="UICTFontTextStyleBody"><span style="background-color:rgba(255,255,255,0)"><img src="https://news.ycombinator.com/s.gif" height="1" width="80" style="width:24px"></span></font></td><td valign="top" style="min-width:18px;height:inherit!important"><center><a href="https://news.ycombinator.com/vote?for=11216194&amp;dir=up&amp;goto=item%3Fid%3D11212732" style="text-decoration:none;display:block;margin-bottom:9px" target="_blank"><div title="upvote" style="width:10px;min-height:10px;border:0px;margin:3px 6px 6px 2px;background-image:url(https://news.ycombinator.com/grayarrow2x.gif);background-position:initial initial;background-repeat:no-repeat no-repeat"></div></a></center></td><td style="height:inherit!important"><div style="margin-top:2px"><br></div><font face="UICTFontTextStyleBody"><span style="background-color:rgba(255,255,255,0)"><br><span><span>Not just way back; HN uses continuations. (Not in many user-visible places any more, but every link on the front page used to be one—expired &quot;next page&quot; continuation links were a frequent source of grumbling.)<p style="margin-top:8px;margin-bottom:0px">Note that you don&#39;t have to expire continuations, necessarily—you could actually persist them statelessly (i.e. without server-side state), by shipping their encoded representations <i>to the client</i> embedded into HMAC-signed links. You&#39;re basically giving the server a raw bytecode-eval endpoint, and then making sure that it only accepts code you yourself wrote. Kind of a crazy strategy compared to the standard predeclared REST API, but interestingly flexible.</p></span></span></span></font></td></tr></tbody></table></div></div></blockquote><div><br></div><div>Yeah, it&#39;s pretty crazy. I actually implemented this in Altitude, (minus the encryption) and it works fine. Ultimately I that the security nightmare if somebody breaks the signing makes it too dangerous to actually use.</div><div><br></div><div>-Colin</div></div><br></div></div>