News for hackers. Stuff that matters.
Re:Ask HN: Which company do you wish had a developer API? by sam_in_nyc on Sunday February 08, 2009 @12:29AM (#471876)
Not too many. If they don't I just use Dapper, and then Yahoo Pipes if needed.

Amazing "hack" about Yahoo Pipes... they block usage based on an IP accessing a pipe. Yet, you can make that pipe access the "singleton" version of itself many times. So let's say you want to pull up Delicious tags of 10,000 URLs (something I did to generate very nice marketing data), you could access Delicious yourself 10,000 times (and get blocked very soon) or you can access a pipe (which accesses Delicious) 10,000 times... or you can access a pipe 100 times, each time sending it 100 URLs, and that pipe will just loop through and do it (Yahoo will count 1 access against you rather than 100). Since there are loads of pipes servers, and it's a semi-trusted source (in this case very trusted, since Yahoo owns Delicious), not all the Yahoo pipes servers will get blocked by Delicious. Actually, at the rate I was pinging them, some of them did actually get blocked :)

Another interesting experiment: Make a Dapper App which contacts Yahoo Pipes for an RSS. Make that Yahoo Pipe access the same Dapper App. Fun!

Re:Ask HN: Which company do you wish had a developer API? by sh1mmer on Sunday February 08, 2009 @12:47AM (#471890)
If you like Pipes you should play with YQL (http://developer.yahoo.com/yql) it's much more like an API than Pipes given it's SQL-likeness.

While it's actually my job to promote stuff for Y! YQL is one of my all time favourite things we have done and it really very much worth taking a look at. Especially given we just released "open tables" so now you can map any service to it, not just RSS, XML, CSV, etc feeds

Disclaimer: I work for the Yahoo! Developer Network

Re:Ask HN: Which company do you wish had a developer API? by sam_in_nyc on Sunday February 08, 2009 @02:35AM (#471989)
Yahoo! continually comes up with some amazing stuff. XPATH selection of a URL via a SQL like query (http://tinyurl.com/c5jrot)... so awesome! Tell your coworkers that they've impressed me.

And now, I test querying the page for itself. If your servers crash, it was all me.

Re:Ask HN: Which company do you wish had a developer API? by sam_in_nyc on Sunday February 08, 2009 @02:55AM (#472003)
This has proven to be impossible
Re:Ask HN: Which company do you wish had a developer API? by natrius on Sunday February 08, 2009 @12:21AM (#471869)
Most gyms make you swipe a card to get in, so they have a pretty good idea of how many people are in the gym at a given time. If they anonymized that data and made it public, I could go when I know it's not going to be crowded.
Re:Ask HN: Which company do you wish had a developer API? by slavingia on Sunday February 08, 2009 @01:37AM (#471937)
Wouldn't others go at the same time because they realize it's not crowded, hence making it crowded. Catch-22.
Re:Ask HN: Which company do you wish had a developer API? by RiderOfGiraffes on Sunday February 08, 2009 @05:58AM (#472078)
Possible side-effect is that primarily hackers (by some definition) would do this, so hackers would tend to drift to when the gym is less busy, so the concentration of hackers would rise, making it more likely to find someone interesting to talk with, hang with, or generally get to know.
Re:Ask HN: Which company do you wish had a developer API? by petercooper on Sunday February 08, 2009 @02:07AM (#471968)
I doubt few people would be so anal to hook up to the gym's API and analyze the data to figure that out. In that sense, someone who does spend the time to do that will reap the reward for their ingenuity :)

(That said, when it comes to gyms it's pretty easy to figure out anyway. People don't tend to generally go during or immediately after mealtimes, there are fewer women during school-run times, etc.)

Re:Ask HN: Which company do you wish had a developer API? by ks on Sunday February 08, 2009 @04:31AM (#472040)
They would not have to use the API directly. Someone would make a website or facebook/iPhone application.
Re:Ask HN: Which company do you wish had a developer API? by petercooper on Sunday February 08, 2009 @04:58AM (#472046)
True, but I still think the percentage of average gym users who would go to those lengths would still be pretty small (though larger than those who'd use the API ;-)). Normal people rarely care about this level of efficiency (which I find sad, but hey).
Re:Ask HN: Which company do you wish had a developer API? by sam_in_nyc on Sunday February 08, 2009 @02:57AM (#472006)
Depends on how long it takes people to get to the gym.
Re:Ask HN: Which company do you wish had a developer API? by lux on Saturday February 07, 2009 @11:14PM (#471813)
Most public services ought to have them. Not just APIs, but even simple stuff like an RSS or ical export for garbage/recycling days so I can throw it in my calendar. It's about usable data formats too.

Great question, by the way :)

Re:Ask HN: Which company do you wish had a developer API? by aneesh on Saturday February 07, 2009 @10:41PM (#471787)
My doctor. Or my hospital. Or pretty much anyone in healthcare.
Re:Ask HN: Which company do you wish had a developer API? by TomOfTTB on Saturday February 07, 2009 @11:50PM (#471836)
Heh...Good Luck with that.

I work in a facility that provides mental health care to clients. I am in charge of the computers and all the technology. Unfortunately, our primary customer is the county government and they simply will not budge on anything.

I’ll give you an example of what I mean. I recently made a very simple proposal which was that we assign clients a confidential number (given to them in person) and have them generate their own password. They could then view their records online using that number and password. But...and this was the important part... no identifying information (such as name, SSN, etc...) would ever be transmitted over the web. None.

The number would be transmitted to us, matched up internally, and then treatment data would be sent back without any identifying pieces of info. No name, SSN, etc... would ever leave our firewall. In addition we’d still use secure connections through SSL, valid certificates, etc...

As you can probably guess I was shot down cold by the county. Transmitting data over the internet to private clients is not secure under any circumstances according to HIPAA (so they said, I don’t agree).

These kinds of policies are why every medical professional fears transmitting data in any way. I mean, if the government says it’s insecure than you’re just opening yourself up for a lawsuit if you ever try to give access.

Privacy is important and I’m not against err-ing on the side of caution to a certain extent. But when fear of lawyers and fear of the Government over power common sense it’s a tragedy and that is exactly where we are now.

Re:Ask HN: Which company do you wish had a developer API? by tptacek on Sunday February 08, 2009 @12:34AM (#471881)
I think your employer is making the right call.

First, assigning a confidential number is a step in the right direction, but it isn't secure; simple traffic analysis (for instance, via a database flaw) will correlate IDs to recent activity, or to a specific visit (say by a tailed car).

Second, any number of other vulnerabilities anywhere on the Internet could coerce a browser to give up the unique IDs assigned to your site, as would any physical compromise of a user's computer, however brief (like, 5 seconds with a malicious USB stick).

Third, your employer would face almost unlimited liability in the event of a mass compromise; they've probably insured themselves against HIPAA violations, but compromise of stigmatizing mental health information is easy to tie to material harm --- far more so than a credit card number, which can at least be revoked.

Using SSL and firewalls doesn't mitigate the core problem, which is that any false step with the application that serves this information cost cost them tens of millions of dollars.

This is a rare instance where I see a draconian regulation actually working to the benefit of consumers.

Re:Ask HN: Which company do you wish had a developer API? by TomOfTTB on Sunday February 08, 2009 @12:48AM (#471891)
The problem with your logic is that it invalidates every security measure. The reality is this: If the client’s browser or the server’s infrastructure is compromised than there’s no security measure that will prevent a system from being compromised. Think about it. Login info has to get in somehow and if someone has unlimited access to either the system that enters that data or the system that authenticates it how would you possible prevent a security breach?

So the end result of your concerns is that there’s just no way to share medical information.

Re:Ask HN: Which company do you wish had a developer API? by tptacek on Sunday February 08, 2009 @01:01AM (#471901)
So, three responses:

First, yes, there's no secure way to share medical information. We should recognize that, and by doing so, I think you'll see my argument about your employer being right is pretty strong.

Second, my argument isn't the slippery slope you're making it out to be. In fact, there are likely scenarios in which an application flaw exposes your database, and likely scenarios in which XSRF/XSS flaws will coerce users into exposing medical information. My argument does not depend on some hypothetical killer zero-day bug.

Finally, I'm not advocating a world in which we don't provide access to medical information. I'm just saying, there's no way to do it casually. Any project that does it is going to need a steering committee, and special insurance.

Re:Ask HN: Which company do you wish had a developer API? by TomOfTTB on Sunday February 08, 2009 @01:16AM (#471915)
So basically by your own admission your opinion has no consequence. Because your initial point was that my suggestion wasn’t secure. That’s fair. But then you went to "there’s no secure solution but the data will be put out there anyway". So if the solution is destined to be insecure what’s wrong with my insecure solution?

Or I guess more to the point: what would you do? You’re an intelligent person who knows the issues so give me a solution. Because saying "lets form a committee" isn’t an answer it’s an evasion. It’s what people say when they don’t want to be bothered with coming up with a solution.

Re:Ask HN: Which company do you wish had a developer API? by tptacek on Sunday February 08, 2009 @01:38AM (#471938)
I think we're arguing two different issues.

You're arguing that it should be possible to make medical information (including mental health information) available to patients over the Internet. I agree.

I'm arguing that, confronted with your specific proposal to put that information onto the Internet, your employer made the right call. The considerations you came up with to defend patient privacy aren't convincing; your suggestion, which I concede is probably abbreviated, is insufficient for an application which handles credit card information, let alone irrevocable patient mental health information.

Re:Ask HN: Which company do you wish had a developer API? by jgilliam on Sunday February 08, 2009 @12:05AM (#471852)
Screw privacy, I'd rather the whole world know what's wrong with me... maybe they can fix it! Make it searchable and put my email address at the bottom.
Re:Ask HN: Which company do you wish had a developer API? by ambition on Sunday February 08, 2009 @12:23AM (#471872)
What about embarrassing problems with already-known fixes? Or easily-diagnosed but hard-to-cure embarrassing problems?

I can't imagine a patient would benefit from the world finding out they had syphilis.

Re:Ask HN: Which company do you wish had a developer API? by wyday on Sunday February 08, 2009 @01:12AM (#471910)
> maybe they can fix it!

Millions of newbie programmers have this exact thought. This is why you see countless forum posts with chunks of code and a note like "Something's wrong, can you guys fix it?"

No programmer with experience is going to waste their time. Similarly, no doctor is going to waste time doing pro bono work to fix your medical problems.

Re:Ask HN: Which company do you wish had a developer API? by smokey_the_bear on Sunday February 08, 2009 @01:34AM (#471931)
I find people on forums are usually amazingly helpful and giving of time.
Re:Ask HN: Which company do you wish had a developer API? by rokhayakebe on Sunday February 08, 2009 @01:43AM (#471946)
But one programmer will fix his problem and share the solution with the rest of the world.
Re:Ask HN: Which company do you wish had a developer API? by rokhayakebe on Sunday February 08, 2009 @12:11AM (#471859)
+1. I think if most people had the same attitude about their own problems, specially in the matters of health and finance, we would only benefit from it.
Re:Ask HN: Which company do you wish had a developer API? by tptacek on Sunday February 08, 2009 @12:43AM (#471887)
That would be true if most employers (or procurement departments) were enlightened. Most, in fact, aren't.
Re:Ask HN: Which company do you wish had a developer API? by teej on Sunday February 08, 2009 @02:53AM (#472002)
until you get diagnosed with somethig that makes you uninsurable, then you'll wish you had kept it private.
Re:Ask HN: Which company do you wish had a developer API? by jgilliam on Sunday February 08, 2009 @02:18PM (#472353)
you mean like two bouts with cancer, radiation fibrosis, a bone marrow transplant, and a double lung transplant?

http://checkonjim.com/

Re:Ask HN: Which company do you wish had a developer API? by menloparkbum on Sunday February 08, 2009 @01:44AM (#471947)
Transmitting data over the internet to private clients is not secure under any circumstances according to HIPAA (so they said, I don’t agree).

Kaiser Permanente must not be worried about it, since I can see all my blood test results, appointments, correspondence with my doctor, prescriptions, etc when I log into members.kp.org.

Re:Ask HN: Which company do you wish had a developer API? by sam_in_nyc on Sunday February 08, 2009 @12:20AM (#471868)
You have to understand that unless you've got a name like Bill Gates, they're probably not going to put in the effort to understand what you're pitching. You might describe the most perfect system, but all they hear is "complicated computer stuff that might get me in trouble later on"
Re:Ask HN: Which company do you wish had a developer API? by TomOfTTB on Sunday February 08, 2009 @12:26AM (#471874)
I was talking to the CIO of the County so I'd hope that's not the case. Though sadly I'm not confident enough to say that for sure.
Re:Ask HN: Which company do you wish had a developer API? by sam_in_nyc on Sunday February 08, 2009 @12:31AM (#471877)
That stinks. It bothers me that this is the way the world works.
Re:Ask HN: Which company do you wish had a developer API? by tlrobinson on Sunday February 08, 2009 @04:55PM (#472540)
My hospital has an online portal where you can access test results and message doctors... so surely HIPAA doesn't completely prohibit such things?
Re:Ask HN: Which company do you wish had a developer API? by tlrobinson on Sunday February 08, 2009 @02:36AM (#471991)
Good luck... ever head of HIPAA?
Re:Ask HN: Which company do you wish had a developer API? by gnaritas on Sunday February 08, 2009 @01:02AM (#471902)
Google analytics, it'd be really nice to have access to all that data.
Re:Ask HN: Which company do you wish had a developer API? by davecardwell on Sunday February 08, 2009 @12:25PM (#472254)
There is their “Data Export API” currently in private beta. See the bottom of this post:

http://analytics.blogspot.com/2008/10/more-enterprise-class-...

Re:Ask HN: Which company do you wish had a developer API? by noblethrasher on Sunday February 08, 2009 @01:24AM (#471922)
Academic Application Suites like Blackboard and the University IT system - but that's mostly for allowing better interoperability between organizations on campus.

My wireless telephone service provider. I would especially like to be able to query and download my voicemails.

Better ODB (On-Board Diagnostics) API. Every new car should include a webserver and either an ethernet or wireless NIC (and an easy way for the owner to explicitly enable/disable it).

Actually, every high end household item should have an API (which I suppose is what Java was initially going to do).

Re:Ask HN: Which company do you wish had a developer API? by pietro on Sunday February 08, 2009 @04:53AM (#472045)
Rail, bus and airline companies. It would be useful to query not only the timetable, but also any delays or changes, and of course booking via an API would be awesome.
Re:Ask HN: Which company do you wish had a developer API? by herval on Sunday February 08, 2009 @06:13AM (#472086)
not to mention geolocation, right? :-)
Re:Ask HN: Which company do you wish had a developer API? by pietro on Sunday February 08, 2009 @11:11AM (#472218)
Sure. I want to call the APIs from my iPhone. :-)
Re:Ask HN: Which company do you wish had a developer API? by shalmanese on Sunday February 08, 2009 @02:05AM (#471964)
Hacker news doesn't have an API yet...
Re:Ask HN: Which company do you wish had a developer API? by andreyf on Sunday February 08, 2009 @02:01AM (#471960)
Elevator. I want my iPhone to tell it when I enter the building, and that I'm going to the 6th floor. Ditto for when I'm going back.
Re:Ask HN: Which company do you wish had a developer API? by vaksel on Saturday February 07, 2009 @11:58PM (#471847)
traffic lights system
Re:Ask HN: Which company do you wish had a developer API? by rokhayakebe on Sunday February 08, 2009 @06:23PM (#472636)
I am hoping this would be "read-only".
Re:Ask HN: Which company do you wish had a developer API? by petercooper on Sunday February 08, 2009 @02:06AM (#471966)
eBuyer.com - they're like the NewEgg of the UK. They have some great bargains from time to time but you always have to visit their site to dig around for them.. they have no Twitter feed, no blog, no API for their products, no affiliate program.. it sucks because otherwise they're the best place to buy computer parts/gadgets/techie gear here.

A more general answer is.. ALL e-commerce sites. Preferably with a standardish API so that you can do stuff like put together comparison engines easily without scraping HTML.

Re:Ask HN: Which company do you wish had a developer API? by tptacek on Saturday February 07, 2009 @11:48PM (#471834)
My municipal government.
Re:Ask HN: Which company do you wish had a developer API? by freejoe76 on Saturday February 07, 2009 @11:11PM (#471811)
My employer, The Denver Post. My bank. My library.
Re:Ask HN: Which company do you wish had a developer API? by natrius on Sunday February 08, 2009 @12:18AM (#471863)
Wesabe has an API, so if it supports your bank, then you already have an indirect API for it.

https://www.wesabe.com/page/api/examples

Re:Ask HN: Which company do you wish had a developer API? by shafqat on Sunday February 08, 2009 @12:01PM (#472236)
+1 for newspapers having good APIs and using some of the great APIs available out there.

BTW, would love to get in touch to ask some hackerish questions about your paper. Do you do technology stuff there? If you don't mind, drop me one line and i'll respond (didn't see your address in your profile). My e-mail is shafqat at newscred dot com.

Re:Ask HN: Which company do you wish had a developer API? by awt on Sunday February 08, 2009 @01:09AM (#471906)
Craigslist
Re:Ask HN: Which company do you wish had a developer API? by Stubbs on Sunday February 08, 2009 @02:08PM (#472343)
The UK government. There's so much information held in their records that would be great to get at through an API.

Can I include all the bodies funded by the government, like the Royal Mail (for their postcode db), Ordnance Survey (for their map data) to name a couple. They're funded by our taxes, so why not allow free access to it?

Re:Ask HN: Which company do you wish had a developer API? by timtrueman on Sunday February 08, 2009 @02:31AM (#471987)
Power grid data would be nice, maybe then devices could start knowing when it best to power down or charge.
Re:Ask HN: Which company do you wish had a developer API? by mtrimpe on Saturday February 07, 2009 @11:30PM (#471822)
Albert Heijn, or any other supermarket.
Re:Ask HN: Which company do you wish had a developer API? by bemmu on Sunday February 08, 2009 @09:34AM (#472166)
Ad networks should have a standard way for me to query what my CPM was for yesterday, so that I can make an intelligent decision about which ads to show tomorrow. Of course that might not be wise for them to provide...
Re:Ask HN: Which company do you wish had a developer API? by al_ on Sunday February 08, 2009 @07:56AM (#472126)
Gas stations, supermakets
Re:Ask HN: Which company do you wish had a developer API? by gibsonf1 on Sunday February 08, 2009 @12:57AM (#471896)
I really wish gmail had an API!
Re:Ask HN: Which company do you wish had a developer API? by johns on Sunday February 08, 2009 @01:29AM (#471926)
They do. It's called IMAP
Re:Ask HN: Which company do you wish had a developer API? by arjunb on Sunday February 08, 2009 @12:21AM (#471870)
interface Energy { getUsage(); setPowerState(outletID, powerState); ... }

I wonder if we could create a developer community oriented around defining interface standards we'd like to consume.

Re:Ask HN: Which company do you wish had a developer API? by herval on Sunday February 08, 2009 @06:12AM (#472085)
My Bank. Actually any bank outside USA at all!!
Re:Ask HN: Which company do you wish had a developer API? by psadauskas on Sunday February 08, 2009 @01:55AM (#471955)
Congress
Re:Ask HN: Which company do you wish had a developer API? by rokhayakebe on Sunday February 08, 2009 @01:58AM (#471957)
InfoUSA.
Re:Ask HN: Which company do you wish had a developer API? by mwerty on Saturday February 07, 2009 @11:56PM (#471841)
imdb
Re:Ask HN: Which company do you wish had a developer API? by arjunb on Sunday February 08, 2009 @12:13AM (#471861)
Re:Ask HN: Which company do you wish had a developer API? by ev0 on Sunday February 08, 2009 @12:21PM (#472247)
Unfortunately these are by no means the modern web APIs as we know and very limited in uses due to their nature. A RESTful API to the imdb online database would be hugely popular.
Re:Ask HN: Which company do you wish had a developer API? by arjunb on Sunday February 08, 2009 @12:44PM (#472268)
the netflix apis offer pretty rich catalog detail APIs that are RESTful: http://developer.netflix.com/
Re:Ask HN: Which company do you wish had a developer API? by liangzan on Sunday February 08, 2009 @12:15AM (#471862)
dropbox
Re:Ask HN: Which company do you wish had a developer API? by smanek on Sunday February 08, 2009 @12:39AM (#471883)
why? You have the files, which is pretty much the best API you could want, isn't it?
Re:Ask HN: Which company do you wish had a developer API? by kubrick on Sunday February 08, 2009 @11:59AM (#472235)
Paypal could use one.