[{"data":1,"prerenderedAt":275},["ShallowReactive",2],{"project-42413464":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":29,"sentiment":30,"stance_mix":31,"scored_comments":35,"aspects":36,"strip":42,"post_text":44,"what":45,"said":71,"maker_in_thread":161,"shape":169,"grid":173,"attempts":236,"same_week":237,"maker_shows":32,"maker_hidden":267,"reader_version":268,"card":269},"42413464","Farebox","Performant intracontinental public transport routing in Rust","title","Show HN: Performant intracontinental public transport routing in Rust","https:\u002F\u002Fgithub.com\u002Fellenhp\u002Ffarebox","github.com","ellenhp",1734134428,2024,167,24,488,3515,14,"notable","infrastructure","transit routing engine","web_app",[24,25,26,27,28],"public transport routing","gtfs","transit planner","raptor algorithm","rust","debated",0.036,{"positive":32,"neutral":33,"mixed":34,"critical":32},3,6,0,12,{"idea":37,"execution":39,"docs":40},{"positive":38,"critical":34},2,{"positive":34,"critical":32},{"positive":41,"critical":34},1,[43,34,34,34,32,32,41,43,32,41,34,41,32,34,32,34,43,32,34,34,34,34,34,34],5,"I made a public transport route planning program that's capable of planning journeys across Europe or North America! There's only one other FOSS project I know of (MOTIS\u002FTransitous) that can do transit routing at this scale, and in the testing I've performed mine is about 50x faster. I've spent a few weeks on this project now and it's getting to the point where I can show it off, but the API responses need a lot of work before they're usable for any downstream application.\n\nExample query (Berlin to Barcelona): https:\u002F\u002Ffarebox.airmail.rs\u002Fplan\u002F52.5176122,13.4180261\u002F41.380458,2.1455451\n\nThere are",{"problem":46,"audience":52,"pricing":52,"motivation":52,"time_to_build":53,"stack":57,"openness":68,"stage":69,"team_size":70},{"value":47,"source":48,"evidence":49},"Plans multi-city public transport journeys across Europe or North America","maker",[50],{"id":51},"post",null,{"value":54,"source":48,"evidence":55},"A few weeks",[56],{"id":51},[58,62],{"value":59,"source":48,"evidence":60},"Rust",[61],{"id":51},{"value":63,"source":48,"evidence":64},"GTFS timetable data",[65],{"id":66,"by":11,"text":67},"42414259","Yeah I strongly suspect that there's something in the GTFS spec that I'm missing that's resulting in some vehicle journeys not being added to the timetable. This would also…","open_source","beta","unknown",{"praise":72,"objections":96,"requests":116,"questions":125,"alternatives":141},[73,89],{"value":74,"source":75,"evidence":76},"Useful open transit routing at continental scale; commenters welcome it","commenter",[77,81,85],{"id":78,"by":79,"text":80},"42414879","danielhep","My day job is OpenTripPlanner work, so I absolutely love to see this. I've long thought about what a RAPTOR engine would look like written in Rust. So cool that you've done it.…",{"id":82,"by":83,"text":84},"42415316","DennisL123","Love it",{"id":86,"by":87,"text":88},"42414655","arcticbull","Love this. I really enjoy seeing people build tooling and infrastructure around public transit. [edit] As someone who reads and writes (and reviews) a ton of writing and…",{"value":90,"source":75,"evidence":91},"Interest in a Rust routing engine small enough for phones",[92,93],{"id":78,"by":79,"text":80},{"id":94,"by":11,"text":95},"42415605","It's after midnight here so take this with a grain of salt but the generated timetable for the puget sound is taking up about 40 MiB on-disk and the server process is using 100k…",[97,109],{"value":98,"source":75,"evidence":99},"Routes are missing or wrong, e.g. Berlin to Barcelona shows a bus and return trips fail",[100,104,108],{"id":101,"by":102,"text":103},"42414118","epcoa","This is very cool. But, bus from New York to St Louis and then backtrack on Amtrak. Ouch. I know the train options from NYP to CHI are slow, but I didn’t think they’re that slow…",{"id":105,"by":106,"text":107},"42416726","yorwba","Yeah, Deutsche Bahn can find a route from Berlin Jannowitzbrücke to Barcelona Sants that takes less than 20 hours (as opposed to 2 days)…",{"id":66,"by":11,"text":67},{"value":110,"source":75,"evidence":111},"Empty results for some coordinates",[112],{"id":113,"by":114,"text":115},"42417162","altilunium","So, how do I add a new public transport route (so it can be indexed in Farebox)? I tried entering some coordinates as input, but it returned an empty array instead. I’m wondering…",[117,121],{"value":118,"source":75,"evidence":119},"Share with the OpenTripPlanner community",[120],{"id":78,"by":79,"text":80},{"value":122,"source":48,"evidence":123},"Better writing feedback on the blog post",[124],{"id":51},[126,134],{"value":127,"source":75,"evidence":128},"Where do feeds come from and how to add a new route",[129,133],{"id":130,"by":131,"text":132},"42423259","miniBill","Where do you get your feeds from? In my experience finding good feeds is the hardest part of working on these projects",{"id":113,"by":114,"text":115},{"value":135,"source":75,"evidence":136},"Whether CSA algorithm was considered over RAPTOR",[137],{"id":138,"by":139,"text":140},"42415824","tristramg","Hello, Great work :) Nice to see alternatives poping up. There used to be navitia https:\u002F\u002Fgithub.com\u002Fhove-io\u002Fnavitia\u002F but its company is slowing closing thing, so I would not bet…",[142,146,150,154],{"value":143,"source":48,"evidence":144},"MOTIS\u002FTransitous",[145],{"id":51},{"value":147,"source":75,"evidence":148},"OpenTripPlanner",[149],{"id":78,"by":79,"text":80},{"value":151,"source":75,"evidence":152},"Navitia",[153],{"id":138,"by":139,"text":140},{"value":155,"source":75,"evidence":156},"GraphHopper GTFS",[157],{"id":158,"by":159,"text":160},"42420093","karussell","> because last I checked it only works for a single GTFS feed. (minor) fyi: It works with multiple, comma separated GTFS files.",{"comments":162,"answered":38,"key":163},4,[164,165,168],{"id":94,"text":95},{"id":166,"text":167},"42415647","I sure am! Feel free to email me if you want, I'd love to chat about OTP, transit and maps in general.",{"id":66,"text":67},{"commenters":170,"max_depth":162,"maker_replies":162,"first_comment_mins":171,"lifespan_hours":172},20,137,37,[174,176,178,181,183,187,188,190,192,194,195,197,198,202,206,209,211,213,217,221,224,227,230,233],[78,34,43,175,79,34],"project\u002Fpositive\u002Fidea",[94,34,34,177,11,41],"project\u002Fneutral\u002Fperformance",[179,34,34,180,79,34],"42415624","commenter\u002Fneutral\u002Fnone",[166,34,34,182,11,41],"maker\u002Fneutral\u002Fnone",[184,34,32,185,186,34],"42415718","project\u002Fneutral\u002Fidea","MaBu",[138,41,32,185,139,34],[113,38,41,189,114,34],"project\u002Fcritical\u002Fexecution",[86,32,43,191,87,34],"project\u002Fpositive\u002Fdocs",[130,162,32,193,131,34],"project\u002Fneutral\u002Fnone",[101,43,41,189,102,34],[66,43,34,196,11,41],"maker\u002Fneutral\u002Fexecution",[105,43,41,189,106,34],[199,33,32,200,201,34],"42416675","maker\u002Fneutral\u002Fdocs","wffurr",[203,33,34,204,205,34],"42417047","other\u002Fneutral\u002Fnone","ekidd",[158,207,32,208,159,34],7,"project\u002Fneutral\u002Fexecution",[210,207,34,182,11,41],"42422327",[82,212,43,175,83,34],8,[214,215,32,193,216,34],"42415275",9,"sebosp",[218,219,34,204,220,34],"42415401",10,"kurokawad",[222,219,34,204,223,34],"42415487","schmichael",[225,219,34,204,226,34],"42415503","TheSisb2",[228,219,34,204,229,34],"42417416","littlestymaar",[231,219,34,204,232,34],"42417742","IshKebab",[234,219,34,204,235,34],"42419627","timeon",[],[238,243,248,253,258,263],{"id":239,"name":240,"points":241,"category":242},"42405046","Velofuso",797,"hardware",{"id":244,"name":245,"points":246,"category":247},"42398471","Quantus",279,"learning_science",{"id":249,"name":250,"points":251,"category":252},"42424508","SmartHome",268,"games",{"id":254,"name":255,"points":256,"category":257},"42417330","Buzee",229,"productivity",{"id":259,"name":260,"points":261,"category":262},"42399701","Kubernetes Spec Explorer",216,"dev_tools",{"id":264,"name":265,"points":266,"category":247},"42416258","Chord Nebula",215,false,"v2",{"id":270,"name":5,"line":6,"ai":267,"cat":20,"year":13,"points":14,"comments":15,"rec":29,"s":271,"top":18,"kw":272,"maker":11,"domain":10,"tier":19,"attempts":34,"strip":273,"url":9,"mix":274,"praise":74,"objection":98,"sub":21},42413464,0.04,[24,25,26,27,28],"500033153101303053000000",[32,33,34,32],1794036665797]