Why is there an Oracle copyright in the middle of a Facebook javascript?
21–30 of 43 posts
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#22I wonder how much that costs them, must be a fortune.
/**
* Adding a single line to this file requires great internal reflection
* and thought. You must ask yourself if your one line addition is so
* important, so critical to the success of the company, that it warrants
* a slowdown for every user on every page load. Adding a single letter
* here could cost thousands of man hours around the world.
*
* That is all.
*/
http://www.slideshare.net/makinde/javascript-primer
Slide #47Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#23I wonder how much that costs them, must be a fortune.
To the folks downvoting, the following is from Facebook's Front End Tech Talk: /** * Adding a single line to this file requires great internal reflection * and thought. You must ask yourself if your one line addition is so * important, so critical to the success of the company, that it warrants * a slowdown for every user on every page load. Adding a single letter * here could cost thousands of man hours around the w…
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#24Skimmed through the js code after loading it into http://jsbeautifier.org . Looks like it may be used to load java applets. (edit) Looks like Facebook is using the Java RIA framework, http://download.oracle.com/javase/6/docs/technotes/guides/jw...
It lets you pick multiple pictures from a directory on your hard drive, rotate them if you need to, and then I believe it does some compression before finally loading them up
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#25Earlier quoted context omitted.
To the folks downvoting, the following is from Facebook's Front End Tech Talk: /** * Adding a single line to this file requires great internal reflection * and thought. You must ask yourself if your one line addition is so * important, so critical to the success of the company, that it warrants * a slowdown for every user on every page load. Adding a single letter * here could cost thousands of man hours around the w…
That comment is in Primer which is a very small piece of JavaScript loaded at the beginning of every page.
Or is this it? I didn't see the comment.
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#26Earlier quoted context omitted.
Outside of the line about proprietary/confidential, it is a standard 3-clause (no ad) BSD license they are using - so I don't know why they need that line in there. That is probably the only interesting part of this story.
What is also interesting (or is that scary?) is that some people reading HN can't tell a BSD license from a custom proprietary copyright notice.
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#27Earlier quoted context omitted.
That comment is in Primer which is a very small piece of JavaScript loaded at the beginning of every page.
Thanks, did FB ever release anything more from Primer? https://gist.github.com/376039 Or is this it? I didn't see the comment.
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#28Most likely the same reason why they are going after Google as the new owner of java, because up until they owned sun microsystems, it was in their best interest to support open source. In the aftermath of purchasing Sun, they think its best to become a patent troll. I hope we see some more karmic justice and Google rips Oracle a new one.
that has nothing to do with Facebook using BSD licensed javascript from Oracle
And btw the Oracle snippet is there referencing Java, not javascript.
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#29Earlier quoted context omitted.
Facebook will gladly throw in a copyright notice if it means avoiding a costly lawsuit: http://www.computerworld.com/s/article/9193538/Oracle_Google... Oracle are not very nice when it comes to Java licensing. Just ask Apache.
This has nothing to do with Java licensing, it's a piece of javascript to detect whether you have Java installed or not.
From the comments in the reference:
* deployJava.js
*
* This file is part of the Deployment Toolkit. It provides functions for web
* pages to detect the presence of a JRE, install the latest JRE, and easily run
* applets or Web Start programs.
i e Sun/Oracle own the code Facebook is using.
Re: Why is there an Oracle copyright in the middle of a Facebook javascript?
#30Earlier quoted context omitted.
That comment is in Primer which is a very small piece of JavaScript loaded at the beginning of every page.
Thanks, did FB ever release anything more from Primer? https://gist.github.com/376039 Or is this it? I didn't see the comment.