<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dw="https://www.dreamwidth.org">
  <id>tag:dreamwidth.org,2017-04-15:3084298</id>
  <title>dmaze</title>
  <subtitle>dmaze</subtitle>
  <author>
    <name>dmaze</name>
  </author>
  <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/"/>
  <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom"/>
  <updated>2021-08-21T23:12:24Z</updated>
  <dw:journal username="dmaze" type="personal"/>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:192211</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/192211.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=192211"/>
    <title>Consecutive routes</title>
    <published>2021-08-21T23:12:24Z</published>
    <updated>2021-08-21T23:12:24Z</updated>
    <dw:security>public</dw:security>
    <dw:reply-count>3</dw:reply-count>
    <content type="html">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't connect. &amp;nbsp;But, if you'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'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'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="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=192211" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:189266</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/189266.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=189266"/>
    <title>Farewell, Porter commuter rail signals</title>
    <published>2021-03-07T15:28:06Z</published>
    <updated>2021-03-07T15:28:06Z</updated>
    <category term="trains"/>
    <dw:security>public</dw:security>
    <dw:reply-count>1</dw:reply-count>
    <content type="html">&lt;a href="https://www.flickr.com/photos/dzm/25520043754/in/album-72157663073816975/" title="Approach [57/366]"&gt;&lt;img src="https://live.staticflickr.com/1497/25520043754_820ddfc6a8_m.jpg" width="240" height="160" alt="Approach [57/366]" align="right" /&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's Positive Train Control project.&lt;br /&gt;&lt;br /&gt;There'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's cab. &amp;nbsp;Of note, Amtrak'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'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'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'll miss seeing them.&lt;br /&gt;&lt;br type="_moz" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=189266" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:184761</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/184761.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=184761"/>
    <title>Derailment-pocalypse</title>
    <published>2019-06-14T00:34:59Z</published>
    <updated>2019-06-14T00:34:59Z</updated>
    <category term="mbta"/>
    <dw:security>public</dw:security>
    <dw:reply-count>10</dw:reply-count>
    <content type="html">Are there any good sources that have current actual peak headways on the Red Line?  I haven't verified it myself but from &lt;a href="https://sites.harvard.edu/~wuensch/T/subway-map.html"&gt;maps like this one&lt;/a&gt; it looks like the T just isn't publishing real-time vehicle data for the Red Line at all, which means nobody who'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="https://www.mbta.com/diversions/weekday-red-line-service"&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="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=184761" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:183098</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/183098.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=183098"/>
    <title>Bike log: urban February edition</title>
    <published>2019-02-17T23:05:11Z</published>
    <updated>2019-02-17T23:05:11Z</updated>
    <category term="bike"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">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'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't as smooth and it's not totally clear what to do when it stops and starts and stops again.&lt;br /&gt;&lt;br /&gt;"Sharrows" feel better than I give them credit for.  They tend to communicate "sorry there's not bike lane for this block" to me, a little more than "you can take up this space in the lane which you legally could have done anyways".&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=183098" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:180337</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/180337.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=180337"/>
    <title>The T: the past month or so</title>
    <published>2018-01-14T02:55:14Z</published>
    <updated>2018-01-14T02:55:14Z</updated>
    <category term="mbta"/>
    <dw:security>public</dw:security>
    <dw:reply-count>2</dw:reply-count>
    <content type="html">Incidents of either dead trains or track problems extracted from &lt;a href="http://www.universalhub.com/mbta"&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="border"&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="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;19 &lt;span style="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;21 &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;22 &lt;span style="background: orange; color: black"&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="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;28 &lt;span style="background: red; color: white"&gt;R&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;29 &lt;span style="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;30 &lt;span style="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&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="background: green; color: white"&gt;G&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;2&lt;/td&gt;
&lt;td&gt;3 &lt;span style="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;5 &lt;span style="background: blue; color: white"&gt;B&lt;/span&gt; &lt;span style="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;6 &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&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="background: green; color: white"&gt;G&lt;/span&gt; &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;9 &lt;span style="background: green; color: white"&gt;G&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;10 &lt;span style="background: red; color: white"&gt;R&lt;/span&gt; &lt;span style="background: red; color: white"&gt;R&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;11 &lt;span style="background: green; color: white"&gt;G&lt;/span&gt;&lt;/td&gt;
&lt;td&gt;12 &lt;span style="background: orange; color: black"&gt;O&lt;/span&gt; &lt;span style="background: red; color: white"&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't count "station closed due to flooding" 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="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=180337" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:179899</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/179899.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=179899"/>
    <title>Library review: Cowboy, Sumo Rest</title>
    <published>2017-07-13T14:40:43Z</published>
    <updated>2017-07-13T14:40:43Z</updated>
    <category term="computing"/>
    <dw:security>public</dw:security>
    <dw:reply-count>1</dw:reply-count>
    <content type="html">The other end of the Erlang experiment is the libraries I was working with.  My application was built on the &lt;a href="https://github.com/inaka/sumo_rest"&gt;Sumo Rest&lt;/a&gt; stack, built on top of the Erlang &lt;a href="https://github.com/ninenines/cowboy"&gt;Cowboy&lt;/a&gt; HTTP server.&lt;br /&gt;&lt;br /&gt;I found this finicky and prone to vague runtime errors.  That'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="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://dmaze.dreamwidth.org/179899.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&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="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=179899" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
  <entry>
    <id>tag:dreamwidth.org,2017-04-15:3084298:179460</id>
    <link rel="alternate" type="text/html" href="https://dmaze.dreamwidth.org/179460.html"/>
    <link rel="self" type="text/xml" href="https://dmaze.dreamwidth.org/data/atom/?itemid=179460"/>
    <title>Programming language review: Erlang</title>
    <published>2017-07-13T13:02:06Z</published>
    <updated>2017-07-13T13:02:06Z</updated>
    <category term="computing"/>
    <dw:security>public</dw:security>
    <dw:reply-count>0</dw:reply-count>
    <content type="html">What do you get if you combine Haskell's basic functional style, Lisp's type system and object representation, a unique concurrency system, and a very good runtime?&lt;br /&gt;&lt;br /&gt;&lt;span class="cut-wrapper"&gt;&lt;span style="display: none;" id="span-cuttag___1" class="cuttag"&gt;&lt;/span&gt;&lt;b class="cut-open"&gt;(&amp;nbsp;&lt;/b&gt;&lt;b class="cut-text"&gt;&lt;a href="https://dmaze.dreamwidth.org/179460.html#cutid1"&gt;Read more...&lt;/a&gt;&lt;/b&gt;&lt;b class="cut-close"&gt;&amp;nbsp;)&lt;/b&gt;&lt;/span&gt;&lt;div style="display: none;" id="div-cuttag___1" aria-live="assertive"&gt;&lt;/div&gt;&lt;br /&gt;&lt;br /&gt;In short, Erlang looks like a good language, a little dated, but I'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="_moz" /&gt;&lt;br /&gt;&lt;br /&gt;&lt;img src="https://www.dreamwidth.org/tools/commentcount?user=dmaze&amp;ditemid=179460" width="30" height="12" alt="comment count unavailable" style="vertical-align: middle;"/&gt; comments</content>
  </entry>
</feed>
