Jump to content

Unplanned Subway Service Changes


Guest lance25

Recommended Posts

I could certainly pull off something like this on a private web server masquerading as mta.info with the help of a private DNS server, so it is possible that this is real.

 

However, it is also my expert opinion that this kind of work require a lot of man-hours:

  • interface: web interface and assets
  • data: directed graph structure representing all the elements of the subway system and possibly bus system
  • executable code: alternative route finder algorithm

Most of the work will be concentrated on the latter two items with the data consuming the most amount of labor. It’s likely that the MTA itself hasn’t even developed this.

 

If he hasn’t actually developed it yet, he’s going to take a year to “debug” these buggies, assuming he is working alone.

 

@Javier: fix ’em quick and show us.

 

Yeah - the fact that it says "mta.info" in the address bar is a big ol redflag for me. Sure, yes - it's fairly straightforward to, say, edit your /etc/hosts to point mta.info to localhost. 

 

But that, without a doubt, would be the dumbest way to access your development platform. 

 

Also, assuming the descriptions of reroutes were automatically generated, you'd have fixed ways of describing each type of service change. The fact that the page displays "service operates in two sections" "is split into two sections", inconsistently applies capitalization, boldface and italicisation kinda screams human-generated document. If this were generated by a computer, the natural-language processing would seem to rival that of IBM's Watson. 

 

 

But, I'll give the benefit of the doubt if you answer me these questions three: 

What language is this written in? How is the representation of the possible reroutes stored? What path-finding library are you using? 

Edited by itmaybeokay
Link to comment
Share on other sites


  • Replies 8.1k
  • Created
  • Last Reply

Must I remind you, this is a beta. There may be multiple codes that all have the same output, hence why it has a different service change output. Plus, all stations have a precoded example service template. But I'll answer your questions:

 

C#

 

The way how they are stored is that each station has a pre-coded example of the possible service changes that can occur. However, I need to manually input all the track diagrams into code form so the servers/computers know how to reroute the congestion, although I've only imputed it in for some stations in Manhattan, hence why the computer/server bugged out with the 42nd St shuttle and the (E) reroute.

 

And the path finding library I'm using is Java, as it is the quickest. I may change it to Python later, but I'll see how it goes.

Link to comment
Share on other sites

Must I remind you, this is a beta. There may be multiple codes that all have the same output, hence why it has a different service change output. Plus, all stations have a precoded example service template. But I'll answer your questions:

 

C#

 

The way how they are stored is that each station has a pre-coded example of the possible service changes that can occur. However, I need to manually input all the track diagrams into code form so the servers/computers know how to reroute the congestion, although I've only imputed it in for some stations in Manhattan, hence why the computer/server bugged out with the 42nd St shuttle and the (E) reroute.

 

And the path finding library I'm using is Java, as it is the quickest. I may change it to Python later, but I'll see how it goes.

 

Your C# web application, which I'm assuming is running on an ASP.NET platform - is calling a Java Pathfinding library (unnamed) , presumably by loading a virtual machine for java... because that is the fastest?

 

IDK man, share some code and I'll happily retract my doubts and praise your ingenuity but none of this checks out to me.

 

The most widely used pathfinding library is A* which is easily implementable directly in C# and source code of such is publicly available.  

 

As for each station having pre-coded examples of possible changes, wouldn't that result in a list of variables several thousand entries long? 

 

Wouldn't it be easier to make a representation of the trackwork as a boolean grid, and like descriptors of the theoretical changes based on nodes the path-finding algo goes through ? (Via the X line between Y and Z, Suspended between X and Y, Running in two sections between A and B and X and Y, On the Local/Express track between Q and R) 

 

All you have to do is change one of the tiles on the grid from TRUE to FALSE and the pathfinder has to find another way. 

 

This way has it's drawbacks but it's probably the most straightforward and versatile way of putting it together. 

 

if you're spoofing a goof here tell us.

if you've realllllly got this running, even as buggy beta town - put the code on github because now I'm interested and would honestly love to work on it. 

Link to comment
Share on other sites

Wow...I could've used a boolean...and yea this has a thousand entries for every service change I can think of, but since you all want to test it so bad, I'll make it into a stand alone program and then release it with source code when I get the chance.

Link to comment
Share on other sites

Wow...I could've used a boolean...and yea this has a thousand entries for every service change I can think of, but since you all want to test it so bad, I'll make it into a stand alone program and then release it with source code when I get the chance.

 

:-D that would be awesome. 

Link to comment
Share on other sites

Wow...I could've used a boolean...and yea this has a thousand entries for every service change I can think of, but since you all want to test it so bad, I'll make it into a stand alone program and then release it with source code when I get the chance.

in the mean time, can you please upload the code to GitHub?
Link to comment
Share on other sites

I'm surprised you're all entertaining the idea this is anything more than a Photoshop job or something similar. This isn't the first time this has happened, now is it? The whole thing is amusing though.

Frankly, I also doubt that this code exists. But this post was simply rude. I would expect more professionalism from a "Senior Moderator".

Link to comment
Share on other sites

Frankly, I also doubt that this code exists. But this post was simply rude. I would expect more professionalism from a "Senior Moderator".

He has a point. Javier, god bless him, has done this before. Remember the whole December 2016 (Q) timetable debacle?

 

Till I see this app, I'm treating it as an elaborate photoshop job.

Link to comment
Share on other sites

He has a point. Javier, god bless him, has done this before. Remember the whole December 2016 (Q) timetable debacle?

 

Till I see this app, I'm treating it as an elaborate photoshop job.

That is true. However it is still my opinion that Lance's post was inappropriate for a staff member of a forum.

Edited by P3F
Link to comment
Share on other sites

He has a point. Javier, god bless him, has done this before. Remember the whole December 2016 (Q) timetable debacle?

 

Till I see this app, I'm treating it as an elaborate photoshop job.

That was an early April fools joke :P .

Guys, I will show you the code can you just be patient. I don't have to show/give it to you guys you know...

Link to comment
Share on other sites

That was an early April fools joke :P .

Guys, I will show you the code can you just be patient. I don't have to show/give it to you guys you know...

Have you heard of a story called “The Boy Who Cried Wolf?”

 

There’s been a long history of such accusations and not only on April Fools Day.

 

You are a psychotic liar

Tell you what, show an ACTUAL source that can be found on the web (and not some random person that is somehow connected to the (MTA); whether or not you are lying it could be proven false without some form of document) and then we'll talk.

Stop lying. The (6) is not running to Brooklyn Bridge today due to a G.O. SMH

There was another time early on when you said something. Although I can’t find that thread, I remember distinctly that your response to a comment about the veracity of your claim was “are you calling me a liar?” That was probably way back in the early 201Xs.

 

I want to believe, which is why I did not say anything this time, but when you say something there is often plausible evidence that supports doubt.

Link to comment
Share on other sites

Agreed.

 

Service Change  Posted: 05/19/2016  9:05AM                    

Due to a train with mechanical problems on Manhattan Bridge, southbound n.png and q.png trains are running on the r.png line from Canal St to DeKalb Av.

Expect delays in southbound r.png train service.

Allow additional travel time.

Edited by Lance
Link to comment
Share on other sites

Agreed.

Northbound (B) trains went local around the same time. The platforms were crowded. I got on at Neck Road after waiting 10 minutes for a (Q). I checked behind the train every few stops and there were no (Q) trains behind us.
Link to comment
Share on other sites

"How you want your B Division?"

"Completely FUBAR, fam"

 

"Say no more."

 

 


Due to a rail condition at Cortlandt St, the following service changes are in effect:

Some southbound r.png trains are running on the q.png line from Canal St to Dekalb Av.

Some southbound r.png trains are running on the f.png line from 36 St (Queens) to West 4 St-Washington Sq, then over the b.png line from West 4 St-Washington Sq to DeKalb Av.

Expect delays in b.pngd.pnge.pngf.pngm.pngn.pngq.pngr.png train service in both directions.

Allow additional travel time.

Link to comment
Share on other sites

Well then...

 Service Change  Posted: 05/25/2016  2:17PM
 

Due to a rail condition at Central Park North-110 St, the following service changes are in effect:

Both directions, there is no 3.png train service between Harlem-148 St and 96 St.

Southbound 2.png trains are running on the 5.png line from 149 St-Grand Concourse to Nevins St.

Passengers may use the Bx19 bus which runs along 145 St for service between Malcolm X Blvd and Broadway.

Allow additional travel time.

Link to comment
Share on other sites

Took the (R) south from Whitehall at around 3:45 and it was fine.

 

Northbound (R) trains were running via the bridge, though.

 

Yeah there was some "FDNY activity/investigation" at Canal Street/City Hall.

 

Sooo about that rail condition at Myrtle-Bway this morning, heard an (M) got rerouted to Jamaica Center for some reason.

Link to comment
Share on other sites

Due to a report of an unauthorized person on tracks at 42 St-Bryant Pk, the following service changes are in effect:


There is no b.png train service from 145 St to Brighton Beach in both directions.


Southbound d.png trains are running on the a.png line from 59 St-Columbus Circle to W 4 St-Washington Sq.


Southbound f.png trains are running on the e.png line from Jackson Hts-Roosevelt Av to W 4 St-Washington Sq.


There is no m.png train service from Delancey St-Essex St to Forest Hills-71 Av in both directions.


Police are investigating.


Allow additional travel time.


Link to comment
Share on other sites

What is it with the (2) and (5)?

 

 

 

Due to hanging wires at Bowling Green, the following service changes are in effect:

Northbound 4.png and 5.png trains are running with delays.

Some northbound 5.png trains are running on the 2.png line from Nevins St to 149 St-Grand Concourse.

Allow additional travel time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.