<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: Jeremysr</title><link>https://news.ycombinator.com/user?id=Jeremysr</link><description>Hacker News RSS</description><docs>https://hnrss.org/</docs><generator>hnrss v2.1.1</generator><lastBuildDate>Wed, 18 Nov 2026 04:42:01 +0000</lastBuildDate><atom:link href="https://hnrss.org/user?id=Jeremysr" rel="self" type="application/rss+xml"></atom:link><item><title><![CDATA[PHP arrays aren't really arrays]]></title><description><![CDATA[
<p>Article URL: <a href="https://medium.com/7shifts-engineering-blog/php-arrays-arent-really-arrays-57b627a1e46a">https://medium.com/7shifts-engineering-blog/php-arrays-arent-really-arrays-57b627a1e46a</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=20941160">https://news.ycombinator.com/item?id=20941160</a></p>
<p>Points: 4</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 11 Sep 2019 15:27:26 +0000</pubDate><link>https://medium.com/7shifts-engineering-blog/php-arrays-arent-really-arrays-57b627a1e46a</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=20941160</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=20941160</guid></item><item><title><![CDATA[New comment by Jeremysr in "The Tools I Use to Write Books"]]></title><description><![CDATA[
<p>For project-based tutorials/books, which are centred around building a program step-by-step by following a series of human-readable diffs, I think a tool is very much needed.<p>For <a href="https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode.html" rel="nofollow">https://viewsourcecode.org/snaptoken/kilo/02.enteringRawMode...</a> , the code is kept in a git repo where each commit is a step in the tutorial. This way steps can be modified, reordered, or split into more steps using git interactive rebase (git rebase -i).<p>I'm working on a tool which abstracts away git rebase, and gives you a nicer interface for manipulating the series of steps in your tutorial. For example, you can run `leg 3` to checkout step 3, make edits to it, and then run `leg amend` to apply the changes, resolving conflicts as the changes make their way through the rest of the tutorial's steps.<p>The tool is still in very early development, but here's a quick tutorial to get a better idea of how it works: <a href="https://github.com/snaptoken/leg/blob/master/TUTORIAL.md" rel="nofollow">https://github.com/snaptoken/leg/blob/master/TUTORIAL.md</a><p>Also, I'm playing around with a "literate diff" file format that might be of interest: <a href="https://github.com/snaptoken/tgc-tutorial/blob/master/doc/02.oneFellSweep.litdiff" rel="nofollow">https://github.com/snaptoken/tgc-tutorial/blob/master/doc/02...</a></p>
]]></description><pubDate>Wed, 05 Sep 2018 17:35:01 +0000</pubDate><link>https://news.ycombinator.com/item?id=17920193</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=17920193</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=17920193</guid></item><item><title><![CDATA[New comment by Jeremysr in "Announcing Bitwise"]]></title><description><![CDATA[
<p>Just finished the stack machine, very nice work. Love the presentation and the code is beautiful. Looking forward to future snacks!</p>
]]></description><pubDate>Mon, 12 Mar 2018 04:56:23 +0000</pubDate><link>https://news.ycombinator.com/item?id=16566294</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=16566294</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=16566294</guid></item><item><title><![CDATA[New comment by Jeremysr in "Rooby: a Ruby-like object oriented language written in Go"]]></title><description><![CDATA[
<p>Sounds like you may enjoy My Rails Blob: <a href="http://railsblob.blogspot.ca/2006/08/my-new-blob.html" rel="nofollow">http://railsblob.blogspot.ca/2006/08/my-new-blob.html</a></p>
]]></description><pubDate>Sun, 23 Apr 2017 20:39:33 +0000</pubDate><link>https://news.ycombinator.com/item?id=14180335</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=14180335</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14180335</guid></item><item><title><![CDATA[New comment by Jeremysr in "Build Your Own Text Editor"]]></title><description><![CDATA[
<p>See <a href="https://github.com/snaptoken/kilo-tutorial/issues/4" rel="nofollow">https://github.com/snaptoken/kilo-tutorial/issues/4</a><p>You may have a broken version of the font locally. If you download the offline version of the tutorial, it'll come with all the fonts it uses and hopefully will work.</p>
]]></description><pubDate>Thu, 06 Apr 2017 21:32:37 +0000</pubDate><link>https://news.ycombinator.com/item?id=14054829</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=14054829</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14054829</guid></item><item><title><![CDATA[New comment by Jeremysr in "Build Your Own Text Editor"]]></title><description><![CDATA[
<p>It seems to be doing fine now, but you can always download a local copy (it's all static HTML) from <a href="https://github.com/snaptoken/kilo-tutorial/releases" rel="nofollow">https://github.com/snaptoken/kilo-tutorial/releases</a></p>
]]></description><pubDate>Thu, 06 Apr 2017 01:07:28 +0000</pubDate><link>https://news.ycombinator.com/item?id=14047129</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=14047129</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14047129</guid></item><item><title><![CDATA[Build Your Own Text Editor]]></title><description><![CDATA[
<p>Article URL: <a href="http://viewsourcecode.org/snaptoken/kilo/">http://viewsourcecode.org/snaptoken/kilo/</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=14042028">https://news.ycombinator.com/item?id=14042028</a></p>
<p>Points: 3</p>
<p># Comments: 0</p>
]]></description><pubDate>Wed, 05 Apr 2017 13:47:22 +0000</pubDate><link>http://viewsourcecode.org/snaptoken/kilo/</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=14042028</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=14042028</guid></item><item><title><![CDATA[New comment by Jeremysr in "Key Lime Pi"]]></title><description><![CDATA[
<p>Well, you could distribute your <i>encrypted</i> wallet as widely as you want, without worrying about theft or loss (if you have a good passphrase and spread the wallet to enough locations), before you start receiving bitcoins to it.<p>The point of using the Pi is that you can make sure the <i>decrypted</i> wallet data only ever exists for a short time in RAM on hardware that is very likely non-malicious and that never has and never will connect to the Internet. If I had a significant amount of bitcoins sitting in an address that was generated by my laptop that I've been using regularly for the last four years, then I wouldn't sleep at night.</p>
]]></description><pubDate>Sat, 02 Aug 2014 08:23:09 +0000</pubDate><link>https://news.ycombinator.com/item?id=8124402</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=8124402</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=8124402</guid></item><item><title><![CDATA[New comment by Jeremysr in "mpv - a free and open-source general-purpose video player"]]></title><description><![CDATA[
<p>Aw, I was hoping to see that slave mode was fixed. I want to use slave mode to make a music player with my own user interface and library/playlist manager in Ruby without having to worry about how to actually play the music. Unfortunately slave mode in mplayer seems kind of unstable and sometimes even gives the wrong answer (I think it's a known bug). I wasn't aware of mplayer2, I'll have to try that and see if it works any better.<p>But does anyone know of a program or library with a proper interface for controlling a music player?</p>
]]></description><pubDate>Sun, 11 Aug 2013 16:34:27 +0000</pubDate><link>https://news.ycombinator.com/item?id=6195327</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=6195327</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=6195327</guid></item><item><title><![CDATA[New comment by Jeremysr in "NeoCities"]]></title><description><![CDATA[
<p>I don't know if this works for everyone, (and I hate to appeal to magic), but I'm pretty sure it was <a href="http://mislav.uniqpath.com/poignant-guide/book/chapter-3.html" rel="nofollow">http://mislav.uniqpath.com/poignant-guide/book/chapter-3.htm...</a> that gave me a visceral understanding of Ruby's syntax. For example, the slashes surrounding the Regexp are like pins that you stick the Regexp onto the paper with, and it lights up if the pattern matches. The at signs stand for "ATtribute". Exclamation/question marks have meanings analogous to their natural language counterparts. And the vertical bars form a little chute that the block variables slide down into the block through. It's really fun.</p>
]]></description><pubDate>Sat, 22 Jun 2013 04:02:04 +0000</pubDate><link>https://news.ycombinator.com/item?id=5922533</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=5922533</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5922533</guid></item><item><title><![CDATA[New comment by Jeremysr in "Closure"]]></title><description><![CDATA[
<p>Jan. 2013 was _why's first reappearance. He had actually updated his website with the first couple entries in the print queue in December, but no one noticed until January. After people noticed ( <a href="http://news.ycombinator.com/item?id=5015087" rel="nofollow">http://news.ycombinator.com/item?id=5015087</a> ), _why started updating it with more pages in the print queue, one of which said the print queue was going down until April 18, and would then be up during the hours of 4 to 12. Which sounded like _why was going to do something big that day.</p>
]]></description><pubDate>Sat, 20 Apr 2013 06:36:39 +0000</pubDate><link>https://news.ycombinator.com/item?id=5580564</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=5580564</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5580564</guid></item><item><title><![CDATA[New comment by Jeremysr in "_why's site updated again"]]></title><description><![CDATA[
<p>thdvl also changed the SPOOL/SOLICIT file to a bunch of base64, which decodes to a gif image, which is of a QR code that points to the URL <a href="http://en.wikipedia.org/wiki/Epistulae_morales_ad_Lucilium" rel="nofollow">http://en.wikipedia.org/wiki/Epistulae_morales_ad_Lucilium</a></p>
]]></description><pubDate>Thu, 18 Apr 2013 20:53:05 +0000</pubDate><link>https://news.ycombinator.com/item?id=5573015</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=5573015</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5573015</guid></item><item><title><![CDATA[New comment by Jeremysr in "_why's site updated again"]]></title><description><![CDATA[
<p>If anyone wants to hook their actual printer up to _why's queue (which I'm pretty sure is what he intended), iandennismiller transcribed the OCaml program in SPOOL/HOMEWORK which polls whytheluckystiff.net and sends the PCL files to your printer: <a href="https://github.com/cwales/cwales.github.com/pull/4" rel="nofollow">https://github.com/cwales/cwales.github.com/pull/4</a><p>It's quite magical. I was woken up this morning by my printer, when the first pages were being published. Now every 5, 10, or 15 minutes my printer starts clanking away (it's an old one) and a brand new page slowly emerges. Great way to read a novel, if that's what it is.</p>
]]></description><pubDate>Thu, 18 Apr 2013 18:23:51 +0000</pubDate><link>https://news.ycombinator.com/item?id=5572181</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=5572181</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5572181</guid></item><item><title><![CDATA[New comment by Jeremysr in "_why's site updated again"]]></title><description><![CDATA[
<p>It's a little taller, but it still looks like an o to me. If you go to <a href="http://www.youtube.com/watch?v=ShpcjWG_Meo" rel="nofollow">http://www.youtube.com/watch?v=ShpcjWG_Meo</a> it says "This video is unavailable", which means that a video did exist at some point at that URL.</p>
]]></description><pubDate>Thu, 18 Apr 2013 17:54:16 +0000</pubDate><link>https://news.ycombinator.com/item?id=5572023</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=5572023</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5572023</guid></item><item><title><![CDATA[New comment by Jeremysr in "Java Puzzle: Square Root"]]></title><description><![CDATA[
<p>Heh, not knowing Java very well, I scoured the BigInteger docs for quirks and loopholes, then gave up and found your comment. I guess "java.security.SecureRandom" sounded too impregnably secure to be worth looking into.</p>
]]></description><pubDate>Wed, 20 Mar 2013 02:01:35 +0000</pubDate><link>https://news.ycombinator.com/item?id=5405116</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=5405116</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=5405116</guid></item><item><title><![CDATA[New comment by Jeremysr in "The Io Language"]]></title><description><![CDATA[
<p>He also created a language of his own which was inspired by Io: <a href="http://github.com/fogus/potion" rel="nofollow">http://github.com/fogus/potion</a> (and here's the pamphlet: <a href="http://runciter.net/potion" rel="nofollow">http://runciter.net/potion</a> )</p>
]]></description><pubDate>Fri, 23 Jul 2010 08:53:40 +0000</pubDate><link>https://news.ycombinator.com/item?id=1540725</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=1540725</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=1540725</guid></item><item><title><![CDATA[New comment by Jeremysr in "_why: A Tale Of A Post-Modern Genius"]]></title><description><![CDATA[
<p>yes, the story is told by shack_a_nerd: <a href="http://shack-a-nerd.livejournal.com/70594.html" rel="nofollow">http://shack-a-nerd.livejournal.com/70594.html</a></p>
]]></description><pubDate>Sun, 16 May 2010 00:09:19 +0000</pubDate><link>https://news.ycombinator.com/item?id=1350938</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=1350938</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=1350938</guid></item><item><title><![CDATA[New comment by Jeremysr in "_why the lucky stiff on The Setup"]]></title><description><![CDATA[
<p>I talked to the guy who did the interview a month ago and told him about the problem and advised him to change it to why.usesthis.com and his last words were "you know, i think i might do that. :)"  So.</p>
]]></description><pubDate>Sat, 23 Jan 2010 22:13:46 +0000</pubDate><link>https://news.ycombinator.com/item?id=1072499</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=1072499</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=1072499</guid></item><item><title><![CDATA[_why's Estate]]></title><description><![CDATA[
<p>Article URL: <a href="http://viewsourcecode.org/why">http://viewsourcecode.org/why</a></p>
<p>Comments URL: <a href="https://news.ycombinator.com/item?id=1004592">https://news.ycombinator.com/item?id=1004592</a></p>
<p>Points: 191</p>
<p># Comments: 58</p>
]]></description><pubDate>Sat, 19 Dec 2009 08:01:54 +0000</pubDate><link>http://viewsourcecode.org/why</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=1004592</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=1004592</guid></item><item><title><![CDATA[New comment by Jeremysr in "[dead]"]]></title><description><![CDATA[
<p>not quite. <a href="http://en.wikipedia.org/wiki/Goo_(programming_language)" rel="nofollow">http://en.wikipedia.org/wiki/Goo_(programming_language)</a></p>
]]></description><pubDate>Wed, 11 Nov 2009 07:33:45 +0000</pubDate><link>https://news.ycombinator.com/item?id=934830</link><dc:creator>Jeremysr</dc:creator><comments>https://news.ycombinator.com/item?id=934830</comments><guid isPermaLink="false">https://news.ycombinator.com/item?id=934830</guid></item></channel></rss>