News for hackers. Stuff that matters.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by lmm on Friday May 22, 2015 @12:30PM (#9589338)
APIs themselves aren't copyrightable, as we saw in Google's recent lawsuit. The documentation is though, so be sure you're not infringing on that.

Any license agreement you or your company have with Slack might "ban" you from doing this; you might e.g. lose your access. That will be a contractual matter between you and them though, not anything criminal.

IANAL; you should probably get actual legal advice.

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by desdiv on Friday May 22, 2015 @12:38PM (#9589402)
>APIs themselves aren't copyrightable, as we saw in Google's recent lawsuit.

The most recent ruling said that APIs, by themselves, are copyrightable[0].

The case is back to the district court now to determine whether the wholesale copying and reimplementation an API falls under the fair-use defense.

[0] https://en.wikipedia.org/wiki/Oracle_America,_Inc._v._Google...

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by jahewson on Friday May 22, 2015 @01:17PM (#9589700)
Google however are trying to take the case to the Supreme Court to get that API ruling overturned. IMHO they will succeed, as the federal circuit's ruling is controversial to say the least. I doubt there's anything to worry about here but strictly speaking, we'll have to wait and see.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by tzs on Friday May 22, 2015 @11:10PM (#9591860)
That cases raises an interesting precedent issue that I have not been able to find the answer to. Let's assume that the Supreme Court decides not to take the appeal, so the decision of the Court of Appeals for the Federal Circuit that APIs are copyrightable stands.

What courts is this precedent for?

Generally, the way precedent works is that if appeals from court X go to court Y, then the decisions of court Y are precedent for court X. If court Z is not on the appeals path from X, then the decisions of court Z are not binding precedent for X.

For copyright cases, appeals normally do NOT go to the CAFC. They go the Courts of Appeal for the circuit in which the court appealed from resides. E.g., copyright cases from district courts in the 2nd Circuit go to the 2nd Circuit Court of Appeals.

In general, that is the appeals path from the Federal district court. Copyright cases aren't specifically singled out.

Oracle vs. Google was tried in the 9th Circuit. If it has just been a copyright case, the appeal would have went to the 9th Circuit Court of Appeals. However, it was also a patent case, and patent cases are singled out. They are explicitly diverted from the normal appeals path and go to the CAFC. If the case is also some other kind of case, such as a copyright case or an antitrust case, the CAFC is allowed to hear those aspects too.

So does this mean that if P sues D in the 9th circuit over copyright, with no patent issues or any other issues that would bring the appeal to the CAFC, then the district court would only use the 9th Circuit Court of Appeals for precedent (which I believe disagrees with CAFC), and ignore CAFC's Google vs. Oracle copyright ruling?

Even more confusing, suppose P sues D over copyright and patents in the 9th Circuit. The district court figures that the case, if appealed, will go to the CAFC, and so follows CAFC precedent for the copyright aspects. Now suppose after the court rules, neither party appeals the court's decisions on any of the patent issues. The only appeal copyright issues. Does the case still go to CAFC? Or does it go the 9th Circuit? If it goes to the 9th Circuit, do they apply their own copyright precedent or CAFC precedent?

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by sysk on Friday May 22, 2015 @12:57PM (#9589550)
Depressing indeed. Are there any other open source projects that are API compatible with a proprietary product/service? Is it ethical? I feel like it is but would be interested to hear HN's opinion.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by dsr_ on Friday May 22, 2015 @01:08PM (#9589635)
A blackbox implementation (no access to original source code) is clearly ethical. The purpose of an API is specifically to allow interoperability with software that you don't write; the presence of a competitor (open source or not) who re-implements the server side of your API is a Good Thing for a competitive market place.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by masukomi on Friday May 22, 2015 @02:07PM (#9589962)
to extend on that idea, I'm fairly certain that a "clean-room" reverse engineering of a competitor's product HAS been shown to be legal. That is to say, as long as you can prove that the person(s) doing the reverse engineering didn't have any access to proprietary information about the workings of the product they were reverse engineering.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by treffer on Friday May 22, 2015 @02:34PM (#9590139)
The classic example is the reverse engineering of the IBM BIOS for 'IBM compatible' machines. And it was done with 2 teams, one analyzing and one implementing.

But that predates my existence :-)

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by vsync on Friday May 22, 2015 @06:37PM (#9591210)
Which is why the appeals court decision was so shocking.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by kazinator on Friday May 22, 2015 @02:50PM (#9590217)
Linux is a reimplementation of proprietary Unix interfaces.

WINE is a clone of the Windows API. ReactOS is another one.

Also, we should include implementations of software that encodes or decodes data formats, such as audio/video/image codecs. There are numerous examples of free implementations of software that works with proprietary formats, which are analogous to a proprietary API.

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by mikebike on Friday May 22, 2015 @01:11PM (#9589653)
Several open source cloud projects (OpenStack, Eucalyptus, CloudStack, OpenNebula) implement the Amazon EC2 API. Eucalyptus is the only one that formally obtained a license from Amazon.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by antaviana on Friday May 22, 2015 @01:29PM (#9589759)
As far as I know, AWS Aurora (not open source) is supposed to be a 100%-compatible implementation of MySQL API.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by jarin on Friday May 22, 2015 @01:55PM (#9589895)
Errbit is API-compatible with Airbrake

https://github.com/errbit/errbit

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by cmdrfred on Friday May 22, 2015 @12:59PM (#9589566)
Can't they use something trademarked in the api? for example you have to send 'Slack chat connect' to connect the api so open source stuff can't connect without violating their trademark?
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by glesica on Friday May 22, 2015 @01:37PM (#9589802)
AFAIK trademarks don't work that way. You can "use" a trademark in a text or computer program more or less freely. What you can't do is do business under the trademarked name, or offer a competing (or substantially similar) product for sale that uses the trademarked name. Trademarks aren't so much about "IP protection" as they are about preventing consumer confusion, thus the standards are different. IANAL.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by dragonwriter on Friday May 22, 2015 @01:43PM (#9589834)
Trademarks are about IP protection, but the exclusive right in the mark -- the thing that is property -- is the right to use the mark to market products in a particular domain.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by cmdrfred on Friday May 22, 2015 @01:42PM (#9589828)
Makes sense, then maybe this would prevent him from listing slack anywhere on the repository as it might confuse users that this is a legitimate client.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by cookiecaper on Friday May 22, 2015 @05:36PM (#9590996)
It's a matter of degree. CentOS infamously chose to refer to Red Hat as "a prominent North American Linux vendor" and completely deleted the term "Red Hat" from everything out of an abundance of caution after receiving threats from Red Hat's lawyers, but that's probably overboard. It's generally allowed to use trademarks as "nominative uses", i.e., in direct reference to another's product that's not designed to create confusion. He would probably be fine to put in his README something like "An open implementation of the chat API provided by Slack". He definitely shouldn't use the term "Slack" in the name of the repo.

Like most non-flagrant potential IP violations, no one can really say for sure until a court hears the case and makes a judgement as to whether the use is fair or unfair, or likely to cause confusion among consumers or not.

IANAL.

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by teacup50 on Friday May 22, 2015 @02:07PM (#9589961)
This is something Apple does in their 'DSMOS' (don't steal Mac OS X) code (but they use copyright, not a trademark).

Mac OS X looks for a set of firmware variables containing a non-formatted version of following haiku (reproduced for the purpose of artistic comment):

    our hard work 
    by these words guarded
    please dont steal
    © Apple Computer Inc
If you shipped a transparently Mac-compatible x86 machine, you'd have to include this haiku (in some form) in the firmware.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by wbl on Friday May 22, 2015 @03:02PM (#9590301)
Sega tried this to prevent third party games from running. It didn't work: because their string was required for functionality, it wasn't protected by copyright. See http://en.wikipedia.org/wiki/Sega_v._Accolade for details.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by e12e on Friday May 22, 2015 @02:54PM (#9590250)
If GNU is copyleft, is this then copy far right?
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by shabble on Friday May 22, 2015 @06:13PM (#9591131)
Cute. I remember some anti-spam outfit trying to "protect" emails with a copyrighted poem in the headers: http://www.oblomovka.com/writing/habeas%3A_the_antispam_haik...

I wonder how far back in OS(X) it dates?

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by teacup50 on Friday May 22, 2015 @06:54PM (#9591270)
It was introduced as part of the Intel transition, prior to public release.

Internally, Mac OS X ran on commodity PCs for quite some time before that and didn't include DSMOS.

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by anon4 on Friday May 22, 2015 @02:32PM (#9590123)
Serious question: if I made a computer with the purpose of booting Mac OS X, noticed that it aborted after trying to read some bytes from the firmware, then wrote a program to iteratively test longer and longer sequences, would I be committing copyright infringement? What if I never look at the output of the program as text, but only as hex values?
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by teacup50 on Friday May 22, 2015 @02:55PM (#9590259)
IANAL, but speaking generally, the courts seem to take a dim view at technical workarounds, and instead focus on the actual intention and result.

In this particular case, I believe what you would have produced would be classified as a "circumvention" device under the DMCA (https://en.wikipedia.org/wiki/Anti-circumvention).

The state of "IP" law makes me very sad.

Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by angersock on Friday May 22, 2015 @12:47PM (#9589482)
That's bloody depressing.
Re:Ask HN: I wrote a Slack compatible server. Can I open sou... by Hello71 on Friday May 22, 2015 @12:31PM (#9589351)