News for hackers. Stuff that matters.
Re:DuetDisplay and Unattributed Open-Source by mronge on Saturday December 20, 2014 @01:05PM (#8777317)
We've been developing app that also streams video content from Mac to iPad, and this recent Apple reversal on USB has been very frustrating for us.

About a year ago we submitted an app to the App Store that uses the same USB tech (PeerTalk), we wanted to see if Apple would allow it (we didn't want to build a business around something that could change on a whim). If it was allowed that would have changed the entire direction of our development. An Apple rep called us and informed as that USB access is not allowed.

With this in mind we went ahead with using WiFi, which has been HARD and time consuming. Now Apple all of a sudden allows USB access, what?!

How does Apple expect people to build serious apps when the ground is shifting beneath our feet?

Anyway.. I should write a post with more details.

Re:DuetDisplay and Unattributed Open-Source by hugs on Saturday December 20, 2014 @01:17PM (#8777349)
It sucks, but this is always the risk when developing on someone else's proprietary platform.
Re:DuetDisplay and Unattributed Open-Source by spacefight on Saturday December 20, 2014 @01:37PM (#8777442)
Walled garden issues, to state it more bluntly. You live by the sword, you...
Re:DuetDisplay and Unattributed Open-Source by mronge on Saturday December 20, 2014 @04:32PM (#8778013)
I went ahead and put together a post. Check it out. "Apple, is USB allowed now?"

https://news.ycombinator.com/item?id=8778010

Re:DuetDisplay and Unattributed Open-Source by beltex on Saturday December 20, 2014 @01:33PM (#8777421)
https://github.com/rsms/peertalk/commit/5973b1722d3330340c08...

PeerTalk's README was just updated with a note about DuetDisplay.

Re:DuetDisplay and Unattributed Open-Source by steipete on Saturday December 20, 2014 @12:19PM (#8777168)
It's always possible that they have custom contracts with the creators of these open source projects; CocoaSplit could have offered them a custom license without x264 so that part can be dial-licensed.
Re:DuetDisplay and Unattributed Open-Source by christoph on Saturday December 20, 2014 @12:27PM (#8777187)
I paid for it and have had very little luck in getting it to work properly. I've mailed their support and heard nothing back. I would personally advise people away from giving them money, especially now I know of their lack of crediting open source projects.
Re:DuetDisplay and Unattributed Open-Source by mstolpm on Saturday December 20, 2014 @01:21PM (#8777370)
On MacRumors [1], the developer responded in a thread and mentioned that its just him, no big team. So, perhaps he's just overwhelmed with customer queries?

That said, Duet works well on my 13" Early 2011 MBP and a iPad Mini Retina, normal resolution. Retina resolution bumps up the cpu utilization. Duet does not work so well with the same machine connected to an iPad 3, but still usable. Duet does NOT work with 10.10.2 BETA according to the MacRumors thread. Hoping for updates.

[1] http://www.macrumors.com/2014/12/18/duet-display-ipad-tether...

Re:DuetDisplay and Unattributed Open-Source by Vaskerville on Saturday December 20, 2014 @12:39PM (#8777221)
It works well for me - 30fps is good enough for my needs. Let's hope they clear up their OS credit issue promptly.
Re:DuetDisplay and Unattributed Open-Source by RBerenguel on Saturday December 20, 2014 @12:51PM (#8777266)
It's working fine for me on iPad Air, the iPad 1 version is buggy (dev told me to wait a few days for a fix on Facebook)
Re:DuetDisplay and Unattributed Open-Source by shawndumas on Saturday December 20, 2014 @12:41PM (#8777228)
it is working flawlessly for me. i am on a mbp watching vimcast core class on a sidecar mounted iPad air and it's chugging away without any stuttering.
Re:DuetDisplay and Unattributed Open-Source by reefab on Saturday December 20, 2014 @05:08PM (#8778121)
Same here.

It caused one graphical hang on my Mac and then it opened too many file descriptors, reaching the system limitations and I had to uninstall it and reboot.

Re:DuetDisplay and Unattributed Open-Source by X-Istence on Saturday December 20, 2014 @01:51PM (#8777502)
It works flawlessly for me :-)
Re:DuetDisplay and Unattributed Open-Source by cyphunk on Saturday December 20, 2014 @02:10PM (#8777567)
Dean (the author of the article) mentioned that several other apps have attempted to use peertalk and other OSS code this app uses but had their app rejected by Apple (e.g. see mronge's comment). So perhaps the lack of attribution was made with the assumption that use of these OSS packages was part of the reason for rejection. If this is not the excuse then I can't imagine any reason for it. Attribution in this form is a simple footnote somewhere and giving credit to others never hurts your own brand. In fact I'd argue it contributes to it.
Re:DuetDisplay and Unattributed Open-Source by jeremyjh on Saturday December 20, 2014 @04:55PM (#8778075)
The CocoaSplit repository does not contain a LICENSE file. Basically this would mean it is unlicensed. However it does mention a license in its credits.rtf page, buried in the project:

" The inclusion of x264 requires this software is licensed in a GPL compatible way. I'm fairly apathetic about software licensing, so to make everyone's life easy (but mostly mine) CocoaSplit is licensed under GPLv2. "

Considering the apathy of CocoaSplit if there is going to be an aggrieved party here it will be authors of x264.

Re:DuetDisplay and Unattributed Open-Source by codezero on Saturday December 20, 2014 @12:45PM (#8777245)
Since the MacOS app is free, does the creator need to do anything but give attribution? Seems like the place to focus on for license issues is the iOS app which costs $10.
Re:DuetDisplay and Unattributed Open-Source by vertex-four on Saturday December 20, 2014 @12:57PM (#8777291)
As it contains GPLed code, the MacOS app's source code must be distributed or offered for distribution under the GPL to anybody who has a copy of the binary.
Re:DuetDisplay and Unattributed Open-Source by sheetjs on Saturday December 20, 2014 @01:10PM (#8777331)
Is that true? My understanding is that so long as you clearly segregate GPL and non-GPL code by using wrapper classes and linking (rather than copypasta), the core application can remain non-GPL.
Re:DuetDisplay and Unattributed Open-Source by vertex-four on Saturday December 20, 2014 @01:23PM (#8777382)
> Is that true? My understanding is that so long as you clearly segregate GPL and non-GPL code by using wrapper classes and linking (rather than copypasta), the core application can remain non-GPL.

Sort of. If you license your main source code under, say, the MIT license, you can distribute that source code, and any object code compiled from it, under the terms of the MIT license.

However, once you distribute a binary containing that source code and some GPLed source code linked together, you have to distribute all that source code (including any other libraries) under GPL-compatible licenses, such that the user can compile and distribute the application themselves.

The LGPL allows you to keep your main source code closed-source while using an LGPLed shared library, so long as a user can replace the shared library with their own version.

Re:DuetDisplay and Unattributed Open-Source by geofft on Saturday December 20, 2014 @03:51PM (#8777896)
Except for OS libraries and similar, distributing two components intended to be runtime-linked together is generally not sufficient separation to be considered "mere aggregation". I would personally not even patch a GPL app to expose a custom API with the intention of using it from a separate non-GPL process; that also seems like it's more than "mere aggregation". (Using an existing / common API seems fine.)

See the discussion of libnoreadline.a in this email exchange: http://clisp.cvs.sourceforge.net/viewvc/clisp/clisp/doc/Why-...

and specifically Steve Jobs asking Richard Stallman if he could avoid having the Objective-C compiler be under GPL:

  I say this based on discussions I had with our lawyer long ago.  The
  issue first arose when NeXT proposed to distribute a modified GCC in
  two parts and let the user link them.  Jobs asked me whether this was
  lawful.  It seemed to me at the time that it was, following reasoning
  like what you are using; but since the result was very undesirable for
  free software, I said I would have to ask the lawyer.
  
  What the lawyer said surprised me; he said that judges would consider
  such schemes to be "subterfuges" and would be very harsh toward
  them.  He said a judge would ask whether it is "really" one program,
  rather than how it is labeled.
I am personally not a fan of that answer, but between recent caselaw like Oracle v. Google and some clarifications in GPLv3 around "Standard Interfaces" and the aggregation clause, it seems like betting on any other answer is a bad plan.
Re:DuetDisplay and Unattributed Open-Source by hugs on Saturday December 20, 2014 @01:20PM (#8777367)
Usually, the litmus test is: Does the software work at all without the GPL'd parts? If not, it doesn't matter how segregated you think it is, because it's still dependent on that GPL'd code.
Re:DuetDisplay and Unattributed Open-Source by sheetjs on Saturday December 20, 2014 @01:39PM (#8777451)
As an example, consider a video player with a codec plugin system. The player ships with a noop plugin, a proprietary plugin for MPEG-1 video, and a general plugin that leverages GPL code. It is my understanding that the video player can still be non-GPL, but that wrapper to the GPL code must be GPL
Re:DuetDisplay and Unattributed Open-Source by geofft on Saturday December 20, 2014 @04:04PM (#8777925)
This seems exactly analogous to the CLISP/libreadline example I just linked in another comment, where it was agreed that CLISP needs to be under the GPL.

The situation is, probably, a bit different if the video player authors have no intention of using GPL code and just develop an interface, and someone else unrelated comes along and writes a GPL plugin. But if the app's authors ship the GPL plugin or worse write it, they're on shaky ground.

(This gets you into some slightly silly situations where author A writes GPL software A linking software B, software B can make use of a GPL-incompatible library C, all of A, B, and C can legally redistribute their software on their own, but Debian has to make sure A doesn't link C because they're shipping the whole thing.)

Re:DuetDisplay and Unattributed Open-Source by vertex-four on Saturday December 20, 2014 @01:46PM (#8777477)
If you're distributing them all together, all of it would have to be under the GPL. If you're distributing them separately, otoh, only the GPLed bits would have to be under the GPL.
Re:DuetDisplay and Unattributed Open-Source by lbradstreet on Saturday December 20, 2014 @01:17PM (#8777352)
I don't think that's correct as it is most of the point of the LGPL. I think it's how QT was able to sell licenses to closed source software despite being GPL'd as well (dual license).
Re:DuetDisplay and Unattributed Open-Source by rcthompson on Saturday December 20, 2014 @12:56PM (#8777284)
Supposedly, the GPL3 is incompatible with the restrictions in Apple's App Store.
Re:DuetDisplay and Unattributed Open-Source by codezero on Saturday December 20, 2014 @01:00PM (#8777298)
The Mac OS version isn't in the app store, but this does make it seem likely their iOS app is using one of the libraries.
Re:DuetDisplay and Unattributed Open-Source by goldmar on Saturday December 20, 2014 @12:58PM (#8777292)
CocoaSplit is GPL. Hence, the developer has to release the source code or risk getting sued. I'm looking forward to the OpenSource version of Duet :-)
Re:DuetDisplay and Unattributed Open-Source by jsprogrammer on Saturday December 20, 2014 @12:58PM (#8777294)
Doesn't the developer only need to release the source to someone who has purchased (obtained) and used the application, if they ask?
Re:DuetDisplay and Unattributed Open-Source by icebraining on Saturday December 20, 2014 @01:59PM (#8777530)
They must release the source to anyone they give a copy of the binaries, which - since the software is free - is anyone who goes to their website and clicks "download."
Re:DuetDisplay and Unattributed Open-Source by vertex-four on Saturday December 20, 2014 @01:32PM (#8777411)
It's not as simple as "if they ask" - if you choose not to distribute the source code with the binary or provide it for download, you must explicitly provide a written offer valid for 3 years for the source code.
Re:DuetDisplay and Unattributed Open-Source by jsprogrammer on Saturday December 20, 2014 @01:37PM (#8777441)
Does including the license in the distribution satisfy the requirement?
Re:DuetDisplay and Unattributed Open-Source by vertex-four on Saturday December 20, 2014 @01:42PM (#8777461)
I wouldn't think so (you'd need wording like "I agree to distribute source code to you on request to <address>"), but I doubt it's been challenged - it's an obscure use case of the GPL.
Re:DuetDisplay and Unattributed Open-Source by icebraining on Saturday December 20, 2014 @02:11PM (#8777570)
Not that obscure; lots of hardware vendors use Linux in their routers/TVs/tablets/phones/etc and distribute the sources separately. In fact, every manufacturer of Android phones should have such an offer included with their device.
Re:DuetDisplay and Unattributed Open-Source by akerl_ on Saturday December 20, 2014 @01:23PM (#8777381)
Have they done that?
Re:DuetDisplay and Unattributed Open-Source by jsprogrammer on Saturday December 20, 2014 @01:38PM (#8777445)
No idea. Have no idea what this software does, why anyone would find it useful, or who is using it.
Re:DuetDisplay and Unattributed Open-Source by colinbartlett on Saturday December 20, 2014 @12:45PM (#8777246)
Can someone educate me a little more on these license issues?

What actual benefit is derived by an open source project when they are credited somewhere deep in an about page? Is tangible value provided there?

I feel that if I had produced an open source library, I'd be less interested in having my name anywhere near a project that I didn't actually produce. But I have little practical experience with such things.

Re:DuetDisplay and Unattributed Open-Source by rcthompson on Saturday December 20, 2014 @12:54PM (#8777278)
Is it so hard to understand wanting to be credited when someone uses your work?
Re:DuetDisplay and Unattributed Open-Source by shawndumas on Saturday December 20, 2014 @01:00PM (#8777302)
I think the grandparent was saying that, 'as an OSS author I am not sure I would want every project that used my software to announce it; people will think it an endorsement of some kind'.
Re:DuetDisplay and Unattributed Open-Source by codezero on Saturday December 20, 2014 @01:01PM (#8777303)
If licenses were just about getting credit for your work, they'd be a lot less complicated :)
Re:DuetDisplay and Unattributed Open-Source by Sephr on Saturday December 20, 2014 @01:38PM (#8777443)
Hence the simplicity of the MIT license, which is mostly just about getting credit for your work.
Re:DuetDisplay and Unattributed Open-Source by desdiv on Saturday December 20, 2014 @01:46PM (#8777479)
I feel that if I had produced an open source library, I'd be less interested in having my name anywhere near a project that I didn't actually produce.

BSD's non-endorsement clause comes close to what you want:

    Neither the name of the <organization> nor the names of its 
    contributors may be used to endorse or promote products 
    derived from this software without specific prior written permission.
Re:DuetDisplay and Unattributed Open-Source by pthreads on Saturday December 20, 2014 @01:00PM (#8777300)
That is just you. Many who create open-source software and/or hardware do want to see attribution. While it is the right thing to do it is also important to adhere to the license under which it is distributed.
Re:DuetDisplay and Unattributed Open-Source by kiding on Sunday December 21, 2014 @11:58AM (#8780147)
Duet Display twitter account responded that "[The omission of the attribution was] an oversight of rushing to get in the App Store before lockout" and "All projects we used were cleared for use."

https://twitter.com/duetdisplay/status/546676103645896704 https://twitter.com/duetdisplay/status/546709659457826816

Re:DuetDisplay and Unattributed Open-Source by zitterbewegung on Saturday December 20, 2014 @12:23PM (#8777176)
The only real way to fix this situation is to threaten some type of legal action to enforce your copyright or your licence is really meaningless.
Re:DuetDisplay and Unattributed Open-Source by jawngee on Saturday December 20, 2014 @01:18PM (#8777359)
Not taking sides one way or the other but:

- CocoaSplit's licensing isn't anywhere BUT in the credits.rtf which is buried. It's not in any of the source headers, not in the README.md. If you aren't using the app part of CocoaSplit, you would never know it was there unless you grep'd. And who amongst us has grepped for a license?

- PeerTalk and GPUImage are permissive licenses that only require attribution

I don't see what the big deal is, to be honest.

Re:DuetDisplay and Unattributed Open-Source by the_imp on Saturday December 20, 2014 @01:33PM (#8777425)
What sort of argument is that? If the Duet Display author wasn't able to find the GPL license for CocoaSplit, how could he assume that the code was available for any use? Furthermore, the ISC and BSD licenses of PeerTalk and GPUImage are rather permissive, yes, but they do require attribution that is not given by Duet Display.

The big deal here is that licenses matter, especially when you're profiting from others' work.

Re:DuetDisplay and Unattributed Open-Source by geofft on Saturday December 20, 2014 @04:11PM (#8777947)
> And who amongst us has grepped for a license?

Try packaging some software for Debian and you'll do a lot of grepping because Debian cares deeply about complying with the law. I've also poked Red Hat's lawyers to get some kernel code from GPLv2 to GPLv2+ because I wanted to reuse it in GPLv3 software, etc. If you're following the law, you're grepping for licenses. If you or your employer don't care about complying with the law, you're welcome to take that risk.

Here's the results of all the grepping I did for a Debian package recently, and this was relatively straightforward as software goes. Note the lines that start "Comment": https://tracker.debian.org/media/packages/p/prelink/copyrigh...

If you don't have the explicit right to reuse a piece of code, you can't assume you do. If you don't like this, get your lawmakers to remove your country from the Berne Convention. Or you can risk breaking the law and hope nobody notices; up to you.

It might be telling that there's an entire _company_ dedicated to grepping for licenses as a service, because people don't do so and then they get in trouble. https://www.blackducksoftware.com/

Re:DuetDisplay and Unattributed Open-Source by logn on Saturday December 20, 2014 @04:38PM (#8778024)
The source headers say it's copyright and all rights reserved. Even without this notice you would have to presume a full copyright.
Re:DuetDisplay and Unattributed Open-Source by mikeash on Saturday December 20, 2014 @02:24PM (#8777607)
If there's no license then you can't incorporate the code at all. "It's hard to find the license" is not an argument. If you can't find it then you have to assume you can't use it.