890 points · by thebeardisred · 1y ago · 355 comments
According to Bryan Cantrill, you don't need to be open minded about Oracle. It's a waste of the openness of your mind. He says what you think of Oracle is even truer than you think it is. He believes there has been no entity in human history with less complexity and nuance to it than Oracle.
Bryan warns, "Do not fall into the trap of anthropomorphizing Larry Ellison. You need to think of Larry Ellison the way you think of a lawnmower. You don't anthropomorphize your lawnmower, the lawnmower just mows the lawn. You stick your hand in there and it'll chop it off, the end. You don't think 'oh, the lawnmower hates me' -- the lawnmower doesn't give a shit about you, the lawnmower can't hate you. Don't anthropomorphize the lawnmower. Don't fall into that trap about Oracle."
The fact that there are so many people motivated to code alternatives to Oracle products says a lot about Oracle's business practices.
Then stuff like distributed transactions, raw disk access for databases, among other niceties that people reaching to Postgres or MySQL probably never heard of, but many Fortune 500 enjoy, even if one for checking bullet points on RFPs.
Postgres comes second, after getting all puzzle pieces together, some of them also commercial.
It's wild that cease and desists and audit notices are becoming common ways to punish someone for just... not renewing your contract.
I'll also sincerely ask: Does anybody at Oracle know how I can get in touch with their HR department to find out what ever happened to my Sun 401k plan? Because nobody will answer my calls, and it's a lot of money of mine plus 33 years of interest they owe me that they're holding on to, which they inherited from Sun and then disappeared from all known records (except for a record that says it once existed and Oracle has it, but no other info), and they won't pick up the phone or return my email, no matter how "sincerely" I ask or how long I wait on hold.
https://news.ycombinator.com/item?id=44370636
sprash 4 days ago | parent | context | flag | favorite | on: Ancient X11 scaling technology
> 1994
Apparently you have to be criticizing X11 for more than three decades now. Since you seem to know your stuff, could you please post a link to your git repository containing your personal display server that solves all the problems?
DonHopkins 4 days ago | prev | next [–]
Since they bought Sun Microsystems, Oracle now owns the rights to the NeWS source code, so unfortunately I'm not legally allowed to post the NeWS server source code on my Github page, although I spent many years unsuccessfully fighting to make NeWS free and evangelizing it to anyone who would listen, like RMS and my colleagues and customers at Sun:
https://www.donhopkins.com/home/archive/NeWS/rms.news.txt
https://www.donhopkins.com/home/archive/NeWS/news-ooo-review...
https://www.donhopkins.com/home/archive/NeWS/questionaire.tx...
https://www.donhopkins.com/home/archive/NeWS/grasshopper.msg...
https://www.donhopkins.com/home/archive/NeWS/sevans.txt
https://www.donhopkins.com/home/archive/NeWS/Explanation.txt
[...]
sprash 4 days ago | parent | next [–]
> Oracle owns the rights to the NeWS source code so I'm not allowed to post it on my Github page.
They are certainly not making any money with it right now. All patents should be expired by now. Have you ever sincerely asked if you are allowed to publish the code? [...]
DonHopkins 4 days ago | root | parent | prev | next [–]
[...] Ha ha! Good luck, kiddo. Have you ever tried asking a lawnmower for favors? Do you really think "sincerity" would help?
https://news.ycombinator.com/item?id=15886728
https://youtu.be/-zRN7XLCRhc?t=33m1s
[...]
> simply updating CDDL to allow integrating ZFS with GPL
That can't be done at this point. Owing to a decision that arose right here from a discussion on HN, the ZFS maintainers adopted a policy in 2016 to opt out of the CDDL's built-in "any subsequent version" clause for new source files:
~/scratch/zfs$ grep --exclude-dir=.git -Ire "Common Development and Distribution License" -A 2 | grep -ie "\(Version 1\.0 only\|\<only\>.*\<version\>\)" | wc -l
821
(The CDDL is a file-based license. At the time of that decision, there were already roughly a hundred CDDL-licensed files in the source tree specified as available under "Version 1.0 only".)Their stock is 50% higher than it was a year ago.
Not quite sure this is doing them damage.
Tesla stock is 63% higher than it was a year ago, does this prove that each and every decision their leadership made was helpful to the bottom line?
How about a simpler solution, just relicense everything to BSD / MIT.
ZFS can be run under Linux - combining the Linux kernel with ZFS is a collective work (collection) of two independent works.
(This doesn’t necessarily stop people, but it is read by Debian as “illegal enough” to warrant a splash screen on installing OpenZFS that you’re losing the right to redistribute.)
I don't associate Oracle and good will, and I don't think they care.
Oracle is one of the leading researchers in JIT compilers, garbage collectors, and language interpreters.
Interpretation on the fact and metric and the need to tell I leave up to you
My favorite other example of this is when I see a UI redesign that didn't actually benefit anyone and was more a style change than anything, and sometimes actively makes usability worse (cough Liquid Glass cough) In those situations I always think "well, some designers on staff needed to justify their paychecks".
https://www.investopedia.com/terms/p/principal-agent-problem...
Because it provides zero value and costs something to keep.
They gain absolutely nothing by handing over the name and brand - in fact they lose valuable brand recognition.
Obviously most people in the industry hate them with a passion (see this thread as evidence), but many see the association as evidence that they might at least have some expertise with that product set. I certainly don’t agree with their position, but it makes sense commercially.
No one thinks of Oracle when they see JavaScript.
Edit: more complete history https://news.ycombinator.com/item?id=44408760
I think lawnmower metaphor never was accurate or helped to get it.
Oracle is an alligator or a snake. A reptile. If you move, it will probably eat you alive. It wants to eat you, or part of you.
It also lives in the waterhole, hoarding an essential resource. Not guarding or developing it, just sitting there.
It is ancient and will never change.
It's not alligator's fault for being predator. It is it's nature
At this time, but their ownership and past behavior indicates that if Deno or anyone else tries to have a paid offering, there’s a non-zero chance Oracle will come sniffing for low effort money.
It literally wouldn't surprise me if when asked, the legal team simply responded "it's standing policy".
I’m not sure if that’s even possible under US law though.
This would be first event of that kind to my knowledge. I've been coding for 20 years and never heard anyone say anything good about Oracle other than their free hosting tier _is free_. Better late than never I guess!
Whoever thinks it's a good idea to bet on the altruism of a giant faceless corporation is dumb.
"Developer communities" tend to create issues out of thin air, and that I don't like.
In this case I'm siding with Oracle.
Only because you don't understand Trademarks. They are not copyrights.
Trademarks exists to protect consumers, so they don't mix together companies and products that have too similar name or branding. So somebody can't release a product called iPhona for $600 in the hopes that somebody will overlook the typo and order it instead of an iPhone for $600.
If a company is not offering a product based on a trademark, that trademark should actively be removed. Oracle is not using the JavaScript trademark.
[0] https://www.globalnerdy.com/wp-content/uploads/2011/07/oracl... (can't find original XKCD, sorry)
So, is "X abuses IP law" hatred is out of principle or because folks seem to be in love with Sun and Google and hate Oracle and Microsoft.
Seems pretty similar to what's happening today.
Honestly, oracle is a pretty effective containment vessel for fine legal minds.
The “Java” prefix still confuses new users, not to mention "bizdev" people, and probably leads to legal issues beyond just the trademark. "JavaScript" has always sucked as a name, we're just used to it now. Why are we fighting so hard for it? Let's just take this as an opportunity to name it something that actually makes sense. It will maybe be sort of annoying for a few years, but I'm certain one day we'll look back and not believe we used to call it "JAVA Script".
There's good reasons for all of this of course, but from an end user perspective, it's pretty confusing that URL is not part of JS but encodeURIComponent is. And Uint8Array is part of JS but TextEncoder isn't. But the cool thing is that increasingly no one needs to worry about that because the non-browser JS runtimes have settled on the idea that they should implement the Web Platform APIs. So as a developer, you can just act as if WebSockets is part of JavaScript.
But there's no good name for this “collection" of standards that are together commonly accepted to be "JavaScript". No one says "JavaScript with browser-compliant modules and WebWorker additions…”, and even saying “ECMAScript with the Web Platform Additions” is a mouthful. But you know what does convey “ECMAScript, the way you're used to it in browsers”? WebScript.
This very much makes the case for not using ECMAScript, since ECMAScript still has a separate meaning. It is the pure language spec. Useful as a term for spec writers, pedantic everywhere else. Meanwhile, "WebScript" formalizes what people were sometimes (but not always) bending "JavaScript" to do before, and thus actually does add "new utility" to the terminology, vs. just being a replacement synonym that avoid legal issues.
This is of course speculation, but I think people would interpret us trying to switch to "ECMAScript" as a sort of sulky defeat "wait so we're just going to let Oracle have JavaScript and just use the soulless spec name? No way, we should fight for JavaScript!" It feels like we're "settling" for the SKU number since we lost the name (again, due to the uniquely bizarre, but understandable in context, spec name).
In other words, besides the "consistency" that WebScript offers (WebWorkers, WebGPU, etc.), the other thing it brings to the table is just being something new and different. "Hey! Let's move on from this whole debacle, here is a symbolic thing that represents a new chapter, with zero associated baggage." I am largely basing this off of the experience of "html5," which arguably addressed a similar non-technical debacle in the form of the W3C/WHATWG drama. It is surprising how effective a new name can be at putting a positive spin on things.
Again, I personally have no issue with ECMAScript, I just think the boat has sailed on getting people to switch to that, and if we switch to anything, the goal should be to make sure to get everyone onboard.
and my addition: Oracle / JavaTM should as always, go away and kick rocks
[1]: https://www.apple.com/legal/intellectual-property/trademark/...
“Your CV says that you use JavaScript/WebScript. Which one would you say you used most often?”
- I need to run a quick survey on your tech, ok?
- But you have my CV, it should be rather obvious if I fit or not. Doh. Whatever.
- Perfect. How many years of experience you have with JavaScript?
- Dude, really? ... I don't know, I've been using it since '99.
- Perfect. More than 3 years it is. Onto the next question!Early in my career, in the early 2000's I was tasked with modernizing a massive site that had many <script type="application/livescript"> tags throughout. I still don't fully understand, was it released to the public under this name at some point?
My googling just now indicates there may have been just a single public beta of Netscape that called it that. How strange.
Wikipedia does claim Ashkenas was involved [1], but LiveScript website doesn't list him [2].
[1] https://en.m.wikipedia.org/wiki/LiveScript_(programming_lang... [2] http://livescript.net/#thanks
But WebScript I could actually get behind! (if the case fails)
But this is especially so given that JavaScript isn't even a good name. It would be one thing to fight this on principle if the name was great, but it isn't. In fact, the name was specifically originally chosen due to its confusion-causing powers -- the unfortunate reality is that JavaScript was chosen precisely to ride the coattails of the then hot new technology Java. This was a horrible idea from day one. No one would suggest I name a new unrelated programming language "SwiftScript" or "RustScript" today to benefit from the popularity of those languages. It would be both tacky and shortsighted. Is it tacky enough to change in isolation? No, it would just be yet another unfortunate part of tech culture, like "referer" only having 3 r's instead of 4. But it absolutely is tacky enough to give up if we are facing some huge case against an actor that is quite literally infamous for their stubbornness in court. No one at Oracle is thinking about this for longer than 5 minutes, while it is causing tremendous grief to Ryan and half the JavaScript community. Why give them that? Let Oracle own all the shitty Java-related trademarks. We're not even handing them a win. The JS trademark will become worthless once we all switch to WebScript, and as an added bonus it won't even accidentally provide even a tiny bit of free marketing for any other their technologies like JavaScript maybe does today. Their reward can be a step further toward of obscurity, self-excising themselves from their current unearned appearance in the history of the web whenever JavaScript is mentioned.
Personally, I so much hate these so much weird nerdy stupid names. Gimp, anyone? These recursive acronyms like GNU, does somebody actually think that’s funny?
Count me in, I like web script.
This has approximately the same chances of success as the rebranding of Twitter
Oracle's contributions are less clear-cut, particularly if you don't count all the acquired "achievements."
I’d be surprised if Oracle released the trademark without a fight to the end. They have a special way of decimating open source projects.
Had it not been for Oracle, Java would have died on version 6, and it remains to be seen what would have happened from anything else.
Both Java the language and OpenJDK the main runtime & development kit have had much more money and manpower poured into them under Oracle than they ever had previously. Both continue to advance rapidly after almost dying pre-Oracle acquisition.
MySQL 8 (released in 2018) was a massive release that brought many long awaited features (like CTEs) to the database, although MySQL's development have stalled during the past few years.
Oracle employs several Linux kernel developers and is one of major contributors (especially to XFS and btrfs): https://lwn.net/Articles/1022414
Not top 3 or even top 10, but better than most companies out there.
That's all I can remember.
edit: after thinking about it for a couple more minutes, they're also the main developer of GraalVM — the only high quality FOSS AOT compiler for Java (also mentioned by a sibling comment), and are writing one of the major relatively lightweight modern alternatives to Spring (the other two being Micronaut and Quarkus): https://helidon.io
9.0 is finally released and we are now at 9.3. While nothing big or exciting with every release but development is steady. MySQL 8.0 will reach EOL in April 2026 so every should move to 8.4 LTS soon(ish) and 9.7x should also be LTS by then. I know most on HN is about Postgres but modern MySQL is decent. I think a lot of people still have MySQL from 5.0 era. Which is also somewhat true with Java as well.
I think Oracle do contribute lot of open source code, they just dont get the credit or brag about it.
Many already moved to MariaDB, because development stalled after Oracle bought Sun (which bought MySQL).
Oracle is a parasite.
I guess I don't feel bad not knowing this though, as the language really does have nothing to do with the company it's insane that they even hold a trademark for it.
To google something has for decades for millenials meant search online in any way.
Trademark law is dumb and inconvenient. Only people owning trademarks disagree.
But so are many other laws. We all just have to follow them all anyway.
I find that convenient, despite owning no trademarks.
You're probably thinking of Genericisation. This isn't a law in the sense you probably mean, there is no statute about it, no legislature wrote it, nobody signed anything. Instead Genericisation is a legal doctrine related to the core idea in trademark law that we can't have exclusive use of descriptive marks.
Suppose you make a Big Car and you try to trademark "Big Car" as your exclusive mark for this new product. That's just describing the car, it's generic so you can't do that, it's OK to trademark "Giganticar" or "Waterluvian Car" or something because people can describe what their similar product is with the words "big car" but if you were allowed to own "Big Car" they can't do that.
Genericisation says well, if your product is so successful that now everybody knows what a "Waterluvian" is, and most people shown a new big car from say, Ford, say "Waterluvian" so that even Ford's sales people struggle to teach the guys on the forecourt not to call this a "Waterluvian" - that's now a generic term, you can't stop Ford just saying they're making a Waterluvian.
Genericisation only applies for crazy famous stuff. Kleenex is an example because your mom knows what a kleenex is, the guy who mows your lawn knows, Elon Musk knows, everybody knows, that's actually famous. Javascript probably wouldn't meet that requirement. My mother does not know what Javascript is, my boss does, because he's a software engineer, and maybe the average numerate graduate knows, but I wouldn't bet a lot of money on it.
Dilution is a related idea, also for very famous things. Dilution says for these famous things it's not OK to use the famous mark for any other purpose even though it's not related. So Disney toilet paper isn't OK, Coca-Cola brand vibrators, not OK, and so on. Nobody thinks the vibrator is a beverage, but Coke is so famous that doesn't matter. That doesn't impact here either.
TypeScript is now called DecafScript.
https://www.engadget.com/2014-02-26-when-carl-sagan-sued-app...
I'd donate.
Python was invented earlier, but didn’t see wide use until later.
And that they were both massively accelerated by the level of interest in the early WWW is undeniable. No other general purpose languages can say that except perhaps Perl, and it slowly burned out.
Is that really true though? As I understood it JavaScript was mainly adopted because Java was popular at the time. JavaScript originally shipped as LiveScript, and they changed it to JavaScript later. Here is a nice quote on it from Brendan Eich:
“The name JavaScript was chosen when Java was hot, and we were doing LiveConnect to hook up JS to Java applets.”
Here is one from David Flanagan:
“JavaScript was originally developed under the name Mocha… It was renamed JavaScript in a co-marketing deal between Netscape and Sun Microsystems.”
So the JVM has a runtime-enforced nominal type system (and object model) with classes.
But JS, to my knowledge, only has primitive types enforced at runtime, and no nomimal class system, unless you basically implement it yourself?
Uh, edit: maybe I get you now, it does have that in a way. But prototype identity and "instanceof" are rarely used in practise.
Maybe I'm missing your point here. Answering at late local time.
It would be so great to have a nominal type system in the browser though.
So many JS librarlies have their own version of it, and it causes insufferable headaches when combined with TypeScript.
Like, they use complicated hacks to make sure that their library objects are not structurall/duck typed.
Yes, the typing and semantic models are wildly different. The point is that they’re primitive in a way that the other widespread alternative, C++, did not inherit from its Cfront heritage.
https://newsletter.pragmaticengineer.com/p/code-review-on-pr...
Why we do not just use EcmaScript from now on in conversations and as a trend so the issue is solved. A joke to me.
As for master->main, that was just fake activism by people desperately wanting to be a part of something but not prepared to put in any actual work to convince anyone of anything they don't already agree with. Convincing people to drop the name JavaScript would be difficult due to the attachment and perceived loss to an evil company.
There is some irony in that Ryan isn’t acknowledging Node.js own trademark in his post, given that he was the person who announced the Node.js trademark.
https://nodejs.org/en/blog/uncategorized/trademark
So he wants Node.js trademark to be acknowledged, but doesn’t acknowledge it himself.
Oracle wants the JavaScript trademark acknowledged, and he doesn’t want to acknowledge that either.
This all seems very silly to me.
Of all places to put trademark acknowledgement, it’d be there - and it’s missing.
It looks like JScript is still trademarked by Microsoft, why not ask them to do whatever the community thinks is right for ECMAScript names and then we can all refer to the language a little faster?
Javascript has become such a ubiquitous term that its copyright status is increasingly tenuous. Node.js by contrast has no such problem, yet. Most of the industry supports this initiative, and dumping on the people willing to invest the time and money to fix it once and for all, over seemingly irrelevant things feels petty.
However, I do believe the word has been diluted and genericized and hope the USPTO chooses to release it.
A good argument to avoid losing a trademark to genericization is to show that there is an actual generic term that overlaps with the trademark, but then the trademark is not the generic term itself.
Examples:
Nintendo → Video Game Console
Post-it → Sticky Note
Xerox → Photocopy
etc ...
In the case of JavaScript, there's no generic term to allude to; JavaScript is the generic term, which might weigh towards the argument of genericization.
Err, that's not a given by any stretch. This is exactly what the suit is trying to prove. They are not a rightful holder of the trademark. They've failed to show use in commerce, and one of their examples of use was someone else's.
And here's one (trivial, but valid) use of it [2].
I'm sure Ellison lawyer's can come up with thousands of examples of JavaScript being used within the context of Oracle's business activities.
The way to go is fight for genericization (or start calling it ECMAScript, lmao).
1: https://tsdr.uspto.gov/#caseNumber=75026640&caseSearchType=U...
2: https://docs.oracle.com/en/database/oracle/oracle-database/2...
Id argue the opposite. The wording makes no reference to oracles ownership of the product or name that is JavaScript. And ECMA is reffered to as the "maker" of the standard.
If anything, this is an example by Oracle themselves using the trademark in a generic context.
Its like cocacola calling themselves "a producer of fanta" and referring to a the food and drug administration to define what that means.
I doubt the writer of that doc was aware that Oracle owns the JavaScript trademark.
But for "JavaScript"? What else is there? "JS"?
Edit: I guess there's "ECMAScript", but who actually says that (aside when they legally need to)?
Google results:
Oracle License Audit Survival Guide for CIOs
Handling Oracle’s “Friendly” License Reviews
How to Prepare for an Oracle License Audit
How to Prepare For and Navigate an Oracle License Audit
Top 7 Oracle Audit Triggers (And How to Avoid Them)
Top 5 Best Oracle License Consultant Firms
7 Questions to Ask When Engaging an Oracle Audit DefenseIt's hard to imagine how a company could be more extractive than this.
> To plead a claim of fraud, petitioner must plead that: (1) respondent made a false representation to the USPTO; (2) respondent had knowledge of the falsity of the representation; (3) the false representation was material to the continued registration of the mark, and (4) respondent made the representation with the intent to deceive the USPTO.
> A claim of fraud must set forth all elements of the claim with a heightened degree of particularity [...] Indeed, “the pleadings [must] contain explicit rather than implied expressions of the circumstances constituting the fraud.” In addition, intent to deceive the USPTO is a specific element of a fraud claim, and must be sufficiently pleaded
> Essentially, Petitioner’s theory of fraud is based on allegations that the specimen of use submitted with Respondent’s maintenance documents do not show use by the proper party. It is well-settled that the proper ground for cancellation is the underlying question of whether the mark was in use in commerce, not the adequacy of the specimens [...] the insufficiency of the specimens, per se, does not constitute grounds for cancellation; the proper ground for cancellation is that the term has not been used as a mark
From what I understand, TTAB is stating that simply showing that Oracle improperly submitting Node.js as a use of mark does not constitute fraud because the intent to deceive was not explicit. It's a bit frustrating because if its not _fradulent_ the only thing I am left to believe is that they were _negligent_.To file for a mark or renewal of a mark and claim ownership of something you do not own is insane. It's not like this is a 5 second process or that there isn't a lot of money riding on this-- this sort of thing is super serious and incredibly important! You're telling me no one at Oracle or their counsel was able to catch this in review before filing? As far as I can tell, in the renewal for the mark[1], Node.js was the sole specimen provided as an example of mark use! Come on...
EDIT: Sorry, correction, they have three specimens attached to the renewal, two of which seem to be the same. Clearly an insurmountable amount of work and too complicated to validate.
[0]: https://ttabvue.uspto.gov/ttabvue/v?pno=92086835&pty=CAN&eno...
[1]: https://tsdr.uspto.gov/documentviewer?caseId=sn75026640&docI...
I think the key is
> It is well-settled that the proper ground for cancellation is the underlying question of whether the mark was in use in commerce, not the adequacy of the specimens
If I understand correctly (and I very well might not), that means that it doesn't matter whether some of the provided specimens were fraudulent or not, in order to revoke the trademark the burden of proof is to show the entire trademark claim was fraudulent, and if there was no fraud, then the trademark wouldn't have been granted.
Deno might be able to make a stronger argument of fraud, if they could show without that specimen USPTO would have rejected the application, or that the other specimen was also invalid, but that would delay the proceedings and require more work for them.
Everyone knows what powers companies like Oracle, so it isn't as if they would given up on this, unless told so by the courts.
Maybe Deno the company should focus on making their actual business case, why pay for Deno instead of using node?
Pay for Deno? I never had to do that, what am I doing wrong?
What many are doing wrong is not paying for our tools like in other professions, and then acting surprised when the authors decide to pivot for something else, when funding dries out.
However, the name "JavaScript" (and "ECMAScript") is in use enough anyways (like is described in the article), so Oracle shouldn't properly restrict others to use it in this way.
In TypeScript 7, the compiler will be written in Go instead of TS. But the compiler will still produce JS code as its output and so Node.js is still relevant for running that JS code.
Or is there something else about TypeScript 7 that will make Node.js irrelevant?
It can be both.
>Everyone knows JavaScript isn’t an Oracle product
But older people should know that it was a Sun product and Oracle bought Sun.
Edit: Sun actually only licensed the name. But in the renewal it points to an Oracle product called Oracle JavaScript Extention Toolkit.
https://tsdr.uspto.gov/documentviewer?caseId=sn75026640&docI...
Javascript was written at Netscape.
> With JavaScript, an HTML page might contain an intelligent form that performs loan payment or currency exchange calculations right on the client in response to user input. A multimedia weather forecast applet written in Java can be scripted by JavaScript to display appropriate images and sounds based on the current weather readings in a region. A server-side JavaScript script might pull data out of a relational database and format it in HTML on the fly. A page might contain JavaScript scripts that run on both the client and the server. On the server, the scripts might dynamically compose and format HTML content based on user preferences stored in a relational database, and on the client, the scripts would glue together an assortment of Java applets and HTML form elements into a live interactive user interface for specifying a net-wide search for information.
> Java programs and JavaScript scripts are designed to run on both clients and servers, with JavaScript scripts used to modify the properties and behavior of Java objects, so the range of live online applications that dynamically present information to and interact with users over enterprise networks or the Internet is virtually unlimited. Netscape will support Java and JavaScript in client and server products as well as programming tools and applications to make this vision a reality.
> "Programmers have been overwhelmingly enthusiastic about Java because it was designed from the ground up for the Internet. JavaScript is a natural fit, since it's also designed for the Internet and Unicode-based worldwide use," said Bill Joy, co-founder and vice president of research at Sun. "JavaScript will be the most effective method to connect HTML-based content to Java applets."
This was all implemented, and Java applets had full interoperability with JavaScript. Applets could call JavaScript functions, and JavaScript functions could call applet methods. Of course over time people gave up on Java applets and JavaScript became a good enough language to write real application logic directly in it. It's true that JavaScript now has virtually nothing to do with Java, but that wasn't the case initially, and the name has at least some logic behind it.
One more tidbit I just learned: there was a Netscape/Sun deal around the name, so the registered trademark has some legal history. It's not that Sun (and then Oracle) just claimed rights to something Netscape made.