193 points · by sinak · 11y ago · 64 comments
I don't see lyft drivers doing this.... but then how do you know lyft drivers are even hogging the road? Even if they have the purple mustache then it's in the front. Uber?
Lyft/Uber should be exciting from a business perspective to the HN community because it represents a business model that has been uniquely enabled by changes in the landscape. Ten years ago, this business wouldn't work, but the rise of the smartphone, and then GPS implicitly enabled this entire new segment. People, for better or worse, no longer need to be trained taxi drivers to drive people around the city because of smartphone GPS.
The more interesting conversation is about how this trend could have been anticipated.
Flycleaners seems like the worst, though. They must put their drivers on unrealistic schedules that force them to drive like maniacs. They run red lights and swing around corners and high speeds and idle in bike lanes in packs.
People who don't take this route, I imagine, either don't know Rock Creek Parkway opens to southbound traffic at 6:30 pm (I travel at 6:35), or don't know that while 395 is a mess on the VA side, it's usually clear sailing for the short stretch from Independence to D street. This isn't obscure. Rock Creek Parkway and 395 are the only freeways running across D.C. Anyone who is a professional driver should be intimately familiar with the traffic patterns on these two roads. At the very least, you shouldn't need me to give you turn-by-turns after telling you to take this route across the city.
http://blog.uber.com/business (the blog post announcing it)
I hope Lyft gets you one consolidated bill a month for the company.
Read The Devil Wears Prada. (It's in the movie, but discussed at length in the book.)
Yes, employers paying for work-related expenses is common (and generally required in California, see Labor Code Sec. 2802), and taxi as the employer-preferred form for local work-related transportation (as opposed to the employee driving a personal or employer-provided vehicle and being reimbursed for mileage) is often preferred for various reasons, most especially liability.
I've also seen it at big end of town. Large corporates can offer transportation to employees that are required to work late – e.g. on a large systems release.
If you use public transport you get a taxi home after hours.
And the evening pizza usually, but that's more common.
Google indexed titles and content for all pages though. How are they doing that? Are the delivering different content based on ip or useragent or something?
[0] http://googlewebmastercentral.blogspot.ca/2014/05/understand...
As I wrote in another comment, that hasn't stopped Google requested pages via _escaped_fragment_.
For lyft.com Google shows me "Lyft is your friend with a car" which is not on the page.
For lyft.com/stories Google shows "Discover extraordinary stories from the Lyft community" which is also not on the page.
Maybe it's from good old metatags. The have some, but somehow they apply a scripting engine (angular?) to them:
<meta property="og:title" content="{{meta.title || 'A ride whenever you need one' }}{{meta.signoff || ' - Lyft'}}">
The "Discover extraordinary stories" text is not in the metatags though.Compare the source of the original page with this one:
https://www.lyft.com/work?_escaped_fragment_=
Implementing this is thankfully not too tricky.
Whilst there are various SaaS providers that will take care of it for you, it's relatively simple to add a rule that checks for the parameter, loads up the requested page in PhantomJS, and returns the rendered HTML.
Add a bit of caching, and the job's done.
[1] https://support.google.com/webmasters/answer/174992?hl=en
https://www.lyft.com/work?_escaped_fragment_=
Interesting. How did they make google check for that url in the first place? Via a sitemap or something?By including the following meta tag:
<meta name="fragment" content="!">
Google provide their own guide for this:The other common practice is to use a "prerender" server which uses a tool like phantomjs to render the HTML of the page. When googlebot or any other robot hits your http server, you check the useragent, and if it matches known robots you forward the request to prerender instead of your app server.
[1]: http://googlewebmastercentral.blogspot.no/2014/05/understand...
[2]: http://www.yearofmoo.com/2012/11/angularjs-and-seo.html
For what it's worth, Google and Bing both still make _escaped_fragment_ requests to our AngularJS site.
I'm not sure if this means that Google prefer prerendered views over the standard website. For now, it seems sensible to implement.
The definition of autonomous I am using here is: "having the freedom to act independently" [1]
And in this context context I mean the car acting independently of the driver.
[1] http://www.oxforddictionaries.com/definition/english/autonom...