<?xml version='1.0' encoding='utf-8' ?>

<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:atom10='http://www.w3.org/2005/Atom'>
<channel>
  <title>dmaze</title>
  <link>https://dmaze.dreamwidth.org/</link>
  <description>dmaze - Dreamwidth Studios</description>
  <lastBuildDate>Sat, 21 Aug 2021 23:12:24 GMT</lastBuildDate>
  <generator>LiveJournal / Dreamwidth Studios</generator>
  <lj:journal>dmaze</lj:journal>
  <lj:journaltype>personal</lj:journaltype>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/192211.html</guid>
  <pubDate>Sat, 21 Aug 2021 23:12:24 GMT</pubDate>
  <title>Consecutive routes</title>
  <link>https://dmaze.dreamwidth.org/192211.html</link>
  <description>Pittsfield has US-7, MA-8, and MA-9 (and there are signs from US-20 that list all three). &amp;nbsp;Routes 7 and 8 don&apos;t connect. &amp;nbsp;But, if you&apos;re on MA-8, then you can go east to MA-9, and when you get to Northampton, you can turn on to MA-10. &amp;nbsp;If you go north a very long way, staying on Route 10, then NH-10 intersects NH-11 in Newport, NH; go west and you&apos;ll reach NH-12 before you cross the Connecticut River; go back south into Massachusetts and MA-12 will reach MA-13 in Leominster.&lt;br /&gt;&lt;br /&gt;So: what is the longest chain of consecutively-numbered routes you can connect? &amp;nbsp;You can cross a state line, but only if the road keeps the same number (NY-7 turning into VT-9 breaks the chain). &amp;nbsp;No specific need to start with Route 1. &amp;nbsp;No subsidiary routes (MA-2A, &amp;quot;business&amp;quot; routes, &amp;amp;c.; 3-digit routes like I-290 or US-202 are legitimate but have to stay in sequence). &amp;nbsp;Distance doesn&apos;t matter (starting in Key West, taking US-1 to US-2 in Maine, then to US-3 and US-4 in New Hampshire and then US-5 in Vermont is a legitimate start) (but if you start off this way, US-7 runs parallel to CT/MA/VT-8 and does not intersect anywhere).&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=192211&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/192211.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/189266.html</guid>
  <pubDate>Sun, 07 Mar 2021 15:28:06 GMT</pubDate>
  <title>Farewell, Porter commuter rail signals</title>
  <link>https://dmaze.dreamwidth.org/189266.html</link>
  <description>&lt;a href=&quot;https://www.flickr.com/photos/dzm/25520043754/in/album-72157663073816975/&quot; title=&quot;Approach [57/366]&quot;&gt;&lt;img src=&quot;https://live.staticflickr.com/1497/25520043754_820ddfc6a8_m.jpg&quot; width=&quot;240&quot; height=&quot;160&quot; alt=&quot;Approach [57/366]&quot; align=&quot;right&quot; /&gt;&lt;/a&gt;If you stood on the commuter rail platform at Porter Square and looked towards Boston, there has always been a pair of signals, one for each track.  They were replaced around 2015 as part of the general Fitchburg Line upgrade project, at the same time the line was double-tracked through Acton and Littleton: they moved east behind the car wash, and with a block signal near Union Square removed, became a distant signal for Swift Interlocking at the McGrath Highway overpass.&lt;br /&gt;&lt;br /&gt;Those signals got removed this week as part of the T&apos;s Positive Train Control project.&lt;br /&gt;&lt;br /&gt;There&apos;s very established technology to tell a train what the next signal will be by sending signals through the rails, and displaying the corresponding signal in the operator&apos;s cab. &amp;nbsp;Of note, Amtrak&apos;s Northeast Corridor uses a variation on this system that displays both a signal and a speed limit, and so MBTA trains that operate on the Providence Line are already equipped with the ACSES hardware. &amp;nbsp;In the wake of the 2008 Metrolink crash, Congress mandated that all passenger trains be equipped with a positive train control system that can stop a train before it passes a red signal, and in turn this has caused the T to install cab signaling everywhere on the commuter rail system.&lt;br /&gt;&lt;br /&gt;If the train already has a display in the cab telling it what the next signal should be and how fast it should go, you don&apos;t also need signals next to the track displaying the same thing. &amp;nbsp;So the wayside automatic signals are also disappearing across the MBTA commuter rail network. &amp;nbsp;The Old Colony lines never had them; if you drive on the Pike next to the Worcester Line, you&apos;ll also notice the signals there have been removed.&lt;br /&gt;&lt;br /&gt;Still, I have a fondness for seeing these signals as I go past. &amp;nbsp;This is one of a couple of locations where I said &amp;quot;...so what does yellow-over-green mean?&amp;quot; and actually looked it up. &amp;nbsp;As my...well, &amp;quot;home signal&amp;quot; is a technical term, but you get the idea...I&apos;ll miss seeing them.&lt;br /&gt;&lt;br type=&quot;_moz&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=189266&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/189266.html</comments>
  <category>trains</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/184761.html</guid>
  <pubDate>Fri, 14 Jun 2019 00:34:59 GMT</pubDate>
  <title>Derailment-pocalypse</title>
  <link>https://dmaze.dreamwidth.org/184761.html</link>
  <description>Are there any good sources that have current actual peak headways on the Red Line?  I haven&apos;t verified it myself but from &lt;a href=&quot;https://sites.harvard.edu/~wuensch/T/subway-map.html&quot;&gt;maps like this one&lt;/a&gt; it looks like the T just isn&apos;t publishing real-time vehicle data for the Red Line at all, which means nobody who&apos;s not willing to hang around a T station for an hour or so can find this out.&lt;br /&gt;&lt;br /&gt;The good news is that the conductors on the Fitchburg line seem to have gotten the memo that &lt;a href=&quot;https://www.mbta.com/diversions/weekday-red-line-service&quot;&gt;any CharlieCard will get you to Porter&lt;/a&gt;, and the 5:55 Wachusett train had lots of open seats leaving North Station.  But, the walk from South Station to North Station is just a little bit longer than I think it is, which is an issue if the 5:35 train leaves on time.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=184761&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/184761.html</comments>
  <category>mbta</category>
  <lj:security>public</lj:security>
  <lj:reply-count>10</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/183098.html</guid>
  <pubDate>Sun, 17 Feb 2019 23:05:11 GMT</pubDate>
  <title>Bike log: urban February edition</title>
  <link>https://dmaze.dreamwidth.org/183098.html</link>
  <description>Yesterday rode the Minuteman as far as Lexington; today explored the various Boscamberville roadway improvements.&lt;br /&gt;&lt;br /&gt;In Boston proper, the cycle track around the North End is actually pretty awesome.  But navigating through downtown Boston, especially the Scollay Square/Post Office Square area, is horrific.  (I at least think I know how I&apos;d get to work.)  The bridge into Charlestown would be worth avoiding if there were any other way to go that direction.&lt;br /&gt;&lt;br /&gt;The cycle track along Beacon Street in Somerville is somehow less impressive; maybe because the driveway crossings aren&apos;t as smooth and it&apos;s not totally clear what to do when it stops and starts and stops again.&lt;br /&gt;&lt;br /&gt;&quot;Sharrows&quot; feel better than I give them credit for.  They tend to communicate &quot;sorry there&apos;s not bike lane for this block&quot; to me, a little more than &quot;you can take up this space in the lane which you legally could have done anyways&quot;.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=183098&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/183098.html</comments>
  <category>bike</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/180337.html</guid>
  <pubDate>Sun, 14 Jan 2018 02:55:14 GMT</pubDate>
  <title>The T: the past month or so</title>
  <link>https://dmaze.dreamwidth.org/180337.html</link>
  <description>Incidents of either dead trains or track problems extracted from &lt;a href=&quot;http://www.universalhub.com/mbta&quot;&gt;http://www.universalhub.com/mbta&lt;/a&gt; ...where it is impressive that the editor can still come up with dead train rhymes.&lt;br /&gt;&lt;br /&gt;&lt;table border=&quot;border&quot;&gt;
&lt;thead&gt;
&lt;tr&gt;&lt;th&gt;&lt;/th&gt;&lt;th&gt;Su&lt;/th&gt;&lt;th&gt;M&lt;/th&gt;&lt;th&gt;T&lt;/th&gt;&lt;th&gt;W&lt;/th&gt;&lt;th&gt;Th&lt;/th&gt;&lt;th&gt;F&lt;/th&gt;&lt;th&gt;Sa&lt;/th&gt;&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;th&gt;Dec 2017&lt;/th&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;td&gt;18 &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;19 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;21 &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;22 &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;23&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;24&lt;/td&gt;
&lt;td&gt;25&lt;/td&gt;
&lt;td&gt;26&lt;/td&gt;
&lt;td&gt;27 &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;28 &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;29 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;30 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;th&gt;Jan 2018&lt;/th&gt;
&lt;td&gt;31&lt;/td&gt;
&lt;td&gt;1 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;3 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;5 &lt;span style=&quot;background: blue; color: white&quot;&gt;B&lt;/span&gt; &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;6 &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;8 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt; &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;9 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;10 &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;11 &lt;span style=&quot;background: green; color: white&quot;&gt;G&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;12 &lt;span style=&quot;background: orange; color: black&quot;&gt;O&lt;/span&gt; &lt;span style=&quot;background: red; color: white&quot;&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;13&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;br /&gt;&lt;br /&gt;(Manually extracted.  Didn&apos;t count &quot;station closed due to flooding&quot; incidents, of which there were multiple.  And yes, on December 28, according to UHub, Red Line trains separately died at Alewife, Kendall, Porter, and Davis.)&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=180337&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/180337.html</comments>
  <category>mbta</category>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/179899.html</guid>
  <pubDate>Thu, 13 Jul 2017 14:40:43 GMT</pubDate>
  <title>Library review: Cowboy, Sumo Rest</title>
  <link>https://dmaze.dreamwidth.org/179899.html</link>
  <description>The other end of the Erlang experiment is the libraries I was working with.  My application was built on the &lt;a href=&quot;https://github.com/inaka/sumo_rest&quot;&gt;Sumo Rest&lt;/a&gt; stack, built on top of the Erlang &lt;a href=&quot;https://github.com/ninenines/cowboy&quot;&gt;Cowboy&lt;/a&gt; HTTP server.&lt;br /&gt;&lt;br /&gt;I found this finicky and prone to vague runtime errors.  That&apos;s not important, though.  The overall style of the system was pretty reasonable, and is probably a good way to write REST services in general.&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://dmaze.dreamwidth.org/179899.html#cutid1&quot;&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;The layout implications of this are useful and generic: one source file per type, where each type file defines its storage, serialization, and documentation; and one source file per route, where each route file has its own URL path, complete machine-processable documentation and metadata, and understands the standard failure cases.  You just need the right high-level REST library in your language of choice to support this.&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=179899&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/179899.html</comments>
  <category>computing</category>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>https://dmaze.dreamwidth.org/179460.html</guid>
  <pubDate>Thu, 13 Jul 2017 13:02:06 GMT</pubDate>
  <title>Programming language review: Erlang</title>
  <link>https://dmaze.dreamwidth.org/179460.html</link>
  <description>What do you get if you combine Haskell&apos;s basic functional style, Lisp&apos;s type system and object representation, a unique concurrency system, and a very good runtime?&lt;br /&gt;&lt;br /&gt;&lt;span class=&quot;cut-wrapper&quot;&gt;&lt;span style=&quot;display: none;&quot; id=&quot;span-cuttag___1&quot; class=&quot;cuttag&quot;&gt;&lt;/span&gt;&lt;b class=&quot;cut-open&quot;&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class=&quot;cut-text&quot;&gt;&lt;a href=&quot;https://dmaze.dreamwidth.org/179460.html#cutid1&quot;&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class=&quot;cut-close&quot;&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style=&quot;display: none;&quot; id=&quot;div-cuttag___1&quot; aria-live=&quot;assertive&quot;&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In short, Erlang looks like a good language, a little dated, but I&apos;d rather have good static checking and a robust library stack than an excellent runtime with okay libraries, especially if I can avoid peeking &amp;quot;under the hood&amp;quot;.&lt;br type=&quot;_moz&quot; /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src=&quot;https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=179460&quot; width=&quot;30&quot; height=&quot;12&quot; alt=&quot;comment count unavailable&quot; style=&quot;vertical-align: middle;&quot;/&gt; comments</description>
  <comments>https://dmaze.dreamwidth.org/179460.html</comments>
  <category>computing</category>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
</channel>
</rss>
