Better HN
topnewbestaskshowjobs
Log inSign up

phsource

1,126 karma · joined Jan 14, 2014 (12y ago) · 141 submissions

Shoot me an email! peter@wanderlog.com
Submissions

91.

Video games: the addiction (2010)(theguardian.com ↗)

1 points · by phsource · 8y ago · discuss

comment 8y ago · link · parent

Site's down, so alternative (Google Cached) link: http://webcache.googleusercontent.com/search?q=cache:paAIFbe...

comment 8y ago · link · parent

Definitely not, from experience. I think the opening poster means that Adyen needs such a large reserve, since I definitely know subscriptions-based startups that don't have any reserve with Stripe

comment 8y ago · link · parent

It seems like Waymo's hitting a point of diminishing returns. The past 4 years' worth of disengagements per 1,000 miles driven were:

- 2014 (last 3 months): 1.27 [1]

- 2015: 0.80 [2]

- 2016: 0.20 [2]

- 2017: 0.18 [3]

There are two possible causes off the top of my mind:

1. Waymo's cars are being tested in more demanding environments.

2. There's a floor to the number of disengagements due to technology and road conditions: situations that are different/unique enough that no model could accurately detect/respond to it.

Case 2 would be definitely be a problem for the full-autonomous (i.e. zero user-input) type of car. I'd love to hear other hypotheses/feedback from those closer to this kind of work!

Also, another interesting note: total miles driven on public roads is actually down from 2016 (352k vs. 636k earlier). Perhaps Waymo's finding the simulated/private-road tests more fruitful for winnowing down the final edge cases.

[1] https://www.dmv.ca.gov/portal/wcm/connect/dff67186-70dd-4042...

[2] https://www.dmv.ca.gov/portal/wcm/connect/946b3502-c959-4e3b...

[3] https://www.dmv.ca.gov/portal/wcm/connect/42aff875-7ab1-4115...

95.

The Subway Is Next Door. Should New Yorkers Pay Extra for That?(nytimes.com ↗)

2 points · by phsource · 8y ago · discuss

comment 8y ago · link · parent

I love how this story weaves the changes of an industry around a single life who anticipated, benefited, and eventually fell behind the trends of how we get music, movies, and media. I still remember buying bootleg "VCDs" in Hong Kong back in 2001.

When it comes to how the music industry's changed as a whole, I think two charts tell the story:

1. RIAA-tracked (North American) music sales have fallen from a high of $14 billion in 1999 to only about $6 billion today, even with downloads included. [1]

2. At the same time, concert ticket sales have gone up from $1.5 to $7.5 billion, offsetting three-quarters of the drop in music sales. [2]

It's an incredible shift in how the industry works, and explains the rise of Live Nation/Ticketmaster, Spotify (why are music publishers and others are more willing to give away music?). The winners and losers have changed, but the music keeps playing.

[1] https://blog.thecurrent.org/2014/02/40-years-of-album-sales-...

[2] https://www.statista.com/statistics/306065/concert-ticket-sa...

comment 8y ago · link · parent

This seems to be a sour grapes article representing the grudges of online travel agencies (OTAs) against Google. This quote really caught my attention:

"OTAs earn a roughly 20% commission from hotels for each reservation they book, which covers their cost of marketing, inventory acquisition, customer support and payment processing."

20% is a ton! Later in the editorial, the writers complain about how Google takes "a 10% to 15% commission on net revenues from reservations booked through its meta-search. Google thus gobbles up most of the profits that OTAs earn".

But Google is taking on the marketing! To be fair, inventory acquisition and payments are also costs, but from running travel sites before, travel truly is a marketing game. As a result, their take makes sense given that they're really taking the place of the traditional marketing channel.

Google's concentration of power definitely is concerning. But the OTAs (who have been living off fat profits for years; see Priceline stock [1]) get none of my sympathy.

[1] https://finance.yahoo.com/quote/PCLN/; has outperformed Google stock over the past 10 years

comment 9y ago · link · parent

Good catch here on the confirmation email link issue! I just fixed that. I've noticed for creating an email subscription, it takes a while for the overlay to close; did it never close for you? I wasn't able to reproduce this, so let me know if you have more details.

comment 9y ago · link · parent

I can't stress just how important (and how hard) it is to get a great source of data for airports, so kudos on the work! When building All the Flight Deals (https://alltheflightdeals.com) and BookWithMatrix (https://bookwithmatrix.com), airport data was essential.

It seems like your database covers the basics! However, timezone data and airport type/size were pretty important information for us, so we ended up getting these from:

- OpenFlights [1]: this dataset was great since it had timezone too, which was really helpful for calculating flight lengths, etc.

- OurAirports [2]: no timezone here, but the "type" and "scheduled_service" columns in this dataset are essential. "Type" lets you distinguish between small/medium/large airports, and "scheduled_service" lets you easily filter out airports without real flights (which you often might not care about).

- IATA tzmap [3]: this was used for filling in timezone data and is derived from the Geonames database.

- Random other GitHub Gist [4]: I have no idea where this data comes from, but it was surprisingly complete and has a few golden nuggets like "num_flights" and "runway_length" in addition to "timezone". The presence of a "woeid" suggests Yahoo-related origins, but it's hard to be sure.

Long story short, it'd be AWESOME to have one complete, updated database with all this data in one place, but part of the struggle is definitely having more data than just longitude/latitude.

[1] https://github.com/jpatokal/openflights/

[2] http://ourairports.com/data/

[3] https://raw.githubusercontent.com/hroptatyr/dateutils/tzmaps...; http://download.geonames.org/export/dump/

[4] https://gist.github.com/tdreyno/4278655

comment 9y ago · link · parent

This is really cool! Out of curiosity, where do you get the data right now? I've worked on a couple of projects, but always had trouble finding data for low-cost airlines other than just by scraping.

Also, just a few UI things that bugged me:

1. It would be amazing to show the price for each flight, in addition to the combined price.

2. I originally tried London Gatwick, but didn't get good results until I tried London Stansted. It would be great to consolidate cities' multiple airports into one.

3. When linked to the resulting sites, the site opens with the flight origin's country's language (e.g., a flight from Budapest would be in Hungarian), which makes it pretty hard to book. Can you link to everything in EUR and in English, especially if the site's English?

Overall, a great start! I'd totally use this if I just had a week free and were starting out in Europe.

comment 9y ago · link · parent

Oh my gosh... don't get me started on NTLM. Chrome Network Tools doesn't expose it at all, so the proxy was a lifesaver in our case.

We've shifted to using https://github.com/joeferner/node-http-mitm-proxy as a part of WrapAPI Proxy (https://wrapapi.com/proxy), which is a zero-install proxy in the style of mitmproxy and Charles.

The node proxy is really great in that it's fully extensible, allows you to generate certificates, and filter/save the kinds of traffic you get to simple JSON structures. We've found it to be a huge boon in development, but it's clearly inspired by mitmproxy (which predates node), so credit where it's due.

comment 9y ago · link · parent

For someone on a Javascript stack, I highly recommend combining a requester (e.g., "request" or "axios") with Cheerio, a server-side jQuery clone. Having a familiar, well-known interface for selection helps a lot.

We use this stack at WrapAPI (https://wrapapi.com), which we highly recommend as a tool to turn webpages into APIs. It doesn't completely do all the scraping (you still need to write a script), but it does make turning a HTML page into a JSON structure much easier.

comment 9y ago · link · parent

Interesting write-up on the additional work of almost implementing a spreadsheet in the back-end! I'm curious as to what kinds of functions exactly are these.

In the article, you mention that "We chose to compute asynchronously in case computation takes too long or runs into a fatal error" -- coming from Excel, how do you handle errors? And how long exactly do these formulas potentially take? (As someone without a lifesci background, it's hard to wrap my head around the concrete parts)

comment 9y ago · link · parent

After reading the API docs, it appears that the FCC operates a mini-imgur/pastebin/file hosting service to help attach files to FCC filings:

https://www.fcc.gov/ecfs/public-api-docs.html#Full-Filing-St...

Unfortunately, these "temporary" file uploads end up accessible from the main FCC domain (i.e. fcc.gov), unlike e.g., Google (e.g., "googleusercontent.com" vs. "google.com"). In Google's case, the separate domain helps distinguish the content as unofficial.

It's understandable why it was originally engineered this way, since it's probably easier to create a subdomain under fcc.gov rather than to get an unrelated domain, but that's why we ended up here!

comment 9y ago · link · parent

This looks really cool! Quick question: is there an easy way to export the recorded notes elsewhere? Often, what we try to do for meeting notes is post them in a Google Docs after the fact, and it'd be great to have this as an almost-appendix.

comment 9y ago · link · parent

I completely agree. The article's author suggests that the study's result is too good (to be true), and casts that as the sole reason to reject the study. I think that such a surprising result definitely deserves scrutiny, but barring problems with the method or stats used, it's merely surprising, not "impossible".

Within the paper itself, the authors clearly considered this:

  A key aspect for interpreting the association
  between the ordinal position of a case and parole 
  decisions is whether an unobserved factor determines
  case order in such a way that yields the pattern of
  results we obtain.
They then interview judges and lawyers and examine the process to rule these out! Which is rare enough for a quantitative study like this (where they often publish the conclusions and just say "it could be X"). Unless the author can cite a more specific grievance, I'll trust the data.

comment 9y ago · link · parent

Speaking as someone who spent a brief stint at a Japanese (but more recently multi-national) car company, I definitely felt that the foreign workers were given more leeway and almost expected to deviate from the traditional norms. My manager, who was a transplant from Britain, was much more willing to leave work right around 5:30, even when there were plenty of other workers (mostly Japanese) still around. It definitely won't be viewed favourably, but on the other hand, there is an attitude of "they're gaijin/not Japanese, so naturally they don't follow all our norms."

comment 9y ago · link · parent

This is incredibly detailed; in short, CDNs, cookies/authentication , tons of subdomains, and 3rd-party/user-generated content make it a pain to move onto HTTPS.

I was chatting with a non-engineer friend about why it's hard to estimate how long tasks often take, and this seems like a prime illustration: the dependencies are endless.

I also love the Easter egg:

"The password to our data center is pickles. I didn’t think anyone would read this far and it seemed like a good place to store it."

comment 9y ago · link · parent

To be honest, I think email accounts (especially the main ones) have always been a huge target to thieves, since many services still use it as the primary password reset/two-factor authentication method. In that sense, not much has changed.

comment 9y ago · link · parent

WrapAPI is in many ways inspired by Kimono for its ease-of-use, but is much more powerful. You can send POST requests and fill out forms, as well as create different types of outputs and chain them. Kimono and import.io, on the other hand, are very much designed for scraping tabular data.

If you're pretty satisfied with import.io and Kimono, it might be worth to just keep using them! Give WrapAPI a shot, though, since it can do a lot of things those tools can't.

comment 9y ago · link · parent

  "All types of stalls including clothes,
  counterfeit goods and food stalls will
  be banned from main city roads"
  - Wanlop Suwandee, a chief advisor to
    Bangkok's governor, told AFP.
Based on this statement, it's not nearly as bad as we'd expect, since most of Bangkok's street food are not on the main city roads, but rather on smaller streets. When I visited, vendors most often were situated in side streets coming off the main streets, or near transport hubs like the river ferry stations.

comment 9y ago · link · parent

We currently don't deal with it, but when using WrapAPI, you can specify your own proxy servers and we'll route the requests through them.

This was yet another of the features that we added only after getting feedback last time around from HN, so good catch!

comment 9y ago · link · parent

Hey everyone! My name is Peter, and I'm the creator of WrapAPI. We recently launched a new version (thanks in large part to the feedback from the HN community from our launch last year [1]), and would love your thoughts.

In short, we've:

1) Improved the Chrome extension to guess what parts of your requests are important.

2) Made a new browser-like "builder" that should be much more intuitive to use compared to the old system.

Let us know what you think!

comment 9y ago · link · parent

I think the most open (and perhaps "easiest for users") is still just using email and password. It's the baseline, and unless social features or real-world identity verification is a core part, email/password is available as a signup method.

It's also open (two text strings), decentralized (you can use whatever password manager you want), and simple (people have been using it for ages). So before implementing anything else fancy, I'd highly recommend doing email/password first.

115.

WrapAPI v2: build APIs, bots, and scrapers on websites; feedback appreciated(wrapapi.com ↗)

7 points · by phsource · 9y ago · 5 comments

116.

Selling Mark Zuckerberg(buzzfeed.com ↗)

2 points · by phsource · 9y ago · discuss

comment 9y ago · link · parent

Looking at this list, the professions that Turnbull wants to remove is incredibly broad. As a Canadian in the US, I'm not 100% clear, but it seems like the 457 visa is a lot like the H1-B.

With that comparison, it's really surprising to see professions like:

  * Chemical engineer
  * Petroleum engineer
  * Electronics engineer
  * Web developer
on the list at the bottom.

If someone announced they were taking these professions off the H1-B list in the US, I'm pretty sure there'd be a huge uproar. This is not even to mention that lots of these sound pretty important for Australia's resource economy. Can someone educate me on the situation from a more Australian point of view?

comment 9y ago · link · parent

I know this is wishful thinking, but as a fan of the Python Flask (the Python web server) [1], I really hope that somehow this ends up in their hands.

[1] http://flask.pocoo.org/

119.

14,766 Let's Encrypt SSL Certificates Issued to PayPal Phishing Sites(bleepingcomputer.com ↗)

12 points · by phsource · 9y ago · 17 comments

12345