Better HN
topnewbestaskshowjobs
Log inSign up

staticassertion

13,486 karma · joined Jun 1, 2016 (10y ago) · 4,896 submissions

@insanitybit
Submissions

comment 6y ago · link · parent

Has she brought 2.5m of growth to the company in the last year?

comment 6y ago · link · parent

> Because the founders get to keep more ownership of their company.

At first that would be the case, but as the valuation drops (and becomes more realistic) wouldn't the founder lose shares, and the VC would gain more control due to non diluting shares?

comment 6y ago · link · parent

But not every company can easily bootstrap. And of those that can, much of the time it's a lot faster if you take some money upfront.

Nothing wrong with either approach imo, but the ridiculous valuations are a separate and, yes, exhausting problem. I'm not sure why people even seek insane valuations - maybe VC push them into it or something? I don't know.

comment 6y ago · link · parent

> Copyright, historically has only extended to the concrete work in question.

APIs are concrete work.

> it now extends to ideas and concepts, not just things.

APIs are things as much as code is.

> Well, in Haskell, APIs are built from fundamental mathematical properties. Is `sort :: [a] -> [a]` copyrightable?

No. sort as an API is both fundamental and preexisting.

> If we rewound time to the mid 1950s, and set intellectual property law to what you're proposing, someone could have copyrighted `sort`, and `sprintf`, and `malloc` and `cat`.

Maybe. But that's fine. Someone would have just written their own APIs and licensed in a way that allowed others to use them - the way all software development has gone for decades.

I'm sure there were many proprietary 'malloc' APIs that ended up going nowhere, and one one cares today. The ability for developers to license the code was in fact a major deciding factor in APIs surviving - I'm sure we'd see many APIs today, given copyrightable APIs.

> GNU could never have appeared because the APIs that GNU copied would have been copyright protected by the Unix authors.

The Unix authors could have granted permission (not saying they would). Just because someone holds the copyright doesn't mean they restrict usage - hence the entire open source ecosystem having developers own their copyright, and how the vast majority release that copyright under a liberal license.

Or, as stated above, someone would have released their own APIs and granted their copyright via the license they chose, and those APIs would be what we have today

> This is easier said that done,

We do it all the time. Companies largely ban some licenses, such as AGPLv3. The same exact thing will happen with proprietary or overly restrictive licenses on APIs.

The fundamental question here is who owns the code. IF Oracle wins, the developer owns the code - this is much closer to how code copyright already exists, but extended to APIs. IF Google wins no one can own that code, developers lose control over their own work.

> because I can fork and add a new API surface to a GPL-licensed piece of software, and then use API-copyright to prevent others from making further changes.

I'm not sure that that's true, but even if it were that doesn't "violate" the GPL, it acts in accordance with the license.

The question here is if licenses we apply to our code should extend to our APIs. Again, developers have more power in a world where Oracle wins, and less power in a world where Google wins.

Further, I feel that things have changed quite a lot. Everyone has been burned by poorly licensed code that has gone stale, and can no longer be modified. Open source has won this fight already.

I am far more concerned about the future, as tech companies grow massive, and consolidate. We already see AWS implementing open source APIs with drop-in replacements. If Google wins you kill any ability for developers to protect themselves against that. If ORacle wins you give open source developers back their greatest weapon (Software licensing), and they can create licenses that restrict the ability for massive companies to reimplement their open source code as a proprietary service.

comment 6y ago · link · parent

> Can you back this up?

This is just the way licensing works today. So just take the existing rules for a software license and apply them to an API.

> What if I'm not releasing a FOSS library (and necessarily publishing the API) which I hope people will use if only to justify the time I spent designing and implementing it?

If Oracle wins you are the copyright holder of that code, including the API. So feel free to let anyone use it if you would like.

Oracle winning means you get more control over your code. Google winning means you have no control over the API.

comment 6y ago · link · parent

You can say an API isn't code but it doesn't make it true. Even if it somehow were true, code is hardly the only thing copyrightable, even in software.

comment 6y ago · link · parent

> ou want people to build on top of it rather than making up a new and utterly foreign thing every time, so you want people to copy the exact things about it that make this possible, correctly.

As the copyright holder you are free to grant that right to anyone. In fact, if Google wins, you just won't have a choice in the matter. If Oracle wins it's far more inline with how licensing currently works - the developer chooses who and how their code is used.

Ironically enough, Oracle winning gives developers more power over their code. Google winning will allow any large company to replace open source software with proprietary software with no ability for devs to protect themselves.

comment 6y ago · link · parent

Why does it seem what way? Like a violation? For the same reason that it would be a violation of my license if they copy/pasted the code and just made some modifications to the implementation, then released it under a proprietary license.

> So you mean, they don't even use your source code?

They delete the implementation but keep the API. But sure, let's say they deleted 100% of the code just for argument's sake.

> that shares zero implementation details of yours be contributed back?

My opinion is that APIs are implementation details. I completely fail to see why some people are insisting that APIs are not code.

> Another bad side effect of things like this is that potentially things like `Shape` and `sort` become copyrightable APIs.

Doubtful. For one thing, they exist across tons of languages - you can't copyright the work of others.

> If oracle has copyright on Java APIs, that prevents other people from implementing better/other versions of the Java sort function (maybe it's faster, but unstable), you can't implement that.

Not true. Oracle's copyright would not extend outside of their enterprise / separately licensed APIs. If people choose to use those APIs they are accepting Oracle's copyright, which is an obvious mistake that they should avoid.

Copyright is not there to protect you from making a bad technical decision If Java's APIs were all copyrighted the obvious choice would be to not use Java.

Same reason why companies ban using libraries that are AGPL3.

comment 6y ago · link · parent

> Depending if the other side is hostile, this might no longer be allowed

It seems like it would be license compatible.

> The law would prevent interoperability between all kinds of software, that's bad thing for all users,

Only between incompatibly licensed interfaces.

> First of all, creating a good API is not trivial, but it is nothing compared to developing the actual product.

It could be, depending on the implementation.

I don't know what your next few sentences are saying.

> I'm guessing you mean Aurora PostgreSQL and MySQL

No. I mean their proprietary reimplementation of Rabbit, Cassandra, and MongoDB.

comment 6y ago · link · parent

> How can you own the interface to an implementation? Can someone copyright toString() or appendToKeyValueDataStore() in a given language?

How? The same exact way I own copyright to all of the code I write. It's the same exact system.

Yes, someone could copyright those if they weren't fundamental, obvious, and preexisting. The same way that if I write a novel new implementation of a String it is copyrighted under whatever license I choose. The same way that a new codec is copyrighted, etc.

comment 6y ago · link · parent

> also between incompatible open source software. For example ruling in Oracle's favor means no ZFS on Linux.

Can you please elaborate here? I don't understand what you mean.

It is already the case that you can not relicense software under and incompatible license.

> I actually can't see it being one.

Let's say I write an amazing database. It's open source, and my license dictates that any modifications to the source code get contributed back.

Someone else clones the repo, guys everything except the APIs, and reimplements what's inside. They then release this under an incompatible, proprietary license.

Why is that ok? It seems like a clear violation of the intent of my copyright. And it's already what we see AWS doing, so this is obviously a lever that large companies are willing to pull.

comment 6y ago · link · parent

I don't know, is it? I don't like analogies.

This comes down to what is and is not copyrightable. 'Code', whatever that is, very obviously is copyrightable - hence licensing. 'APIs' are now being separated from code by Google to support their claim that they did not violate Oracle's copyright.

To me, if I write a program under license X, it is strange to me that someone can reimplement my program's API under an incompatible license Y. To me, that violates my license, and software licenses are enforced via copyright protection.

comment 6y ago · link · parent

Well perhaps I'm the one that's confused then.

> Why shouldn’t a company be able to copyright the implementation?

This is what a software license is - software licenses are, to my knowledge, just a form of copyright.

The question here is if the API is copyrightable, not just the implementation. In my opinion it is, the API is, as you say, part of the work they did.

Honestly I feel like I have to be missing something. Articles like this exclaim that there is a consensus among programmers that I'm wrong, so I feel like I've got to have misunderstood.

comment 6y ago · link · parent

Libraries don't execute either, unless someone wraps them in an implemented program.

And this is about copyright, not patents, right? Oracle has apparently already lost the patent case.

comment 6y ago · link · parent

But it has always gone both ways with software licensing.

comment 6y ago · link · parent

AFAIK the issue is not using the API, it's reimplementing it verbatim.

For example, AWS has done this a lot - many of AWS's services are 'drop in' for open source projects, making it easy to migrate off of, say, RabbitMQ, or Cassandra, or Mongo, and over to SQS or one of their databases.

If Google loses those open source projects could protect themselves against this by copyrighting their APIs.

comment 6y ago · link · parent

I am somewhat ignorant, so I would love it if someone could fill me in on what I'm missing.

* APIs are just as novel as implementations. API design is hard, and interesting, and it's code just as much as a library is code.

* While in this case it would be nice for Google to win because it's a case of a Proprietary software being used for Open Source, I see a far more daunting problem. I see massive companies like AWS reimplementing open source projects' APIs with proprietary solutions, and I'm not sure if copyleft licensing would be able to protect them if Google wins. That sounds far more dangerous to me than a company being able to copyright its API.

* People say this would be a disaster. Is it not the case that, if this happened, that new and novel APIs could be copyrighted? Why is that bad? The difference between a free/proprietary API is that you can't use a drop-in replacement, but we already avoid proprietary software, or overly restrictive software, all the time. So wouldn't we just continue doing so?

edit: From another of my posts, to put it this way:

To me, if I write a program under license X, it is strange to me that someone can reimplement my program's API under an incompatible license Y. To me, that violates my license, and software licenses are enforced via copyright protection.

comment 6y ago · link · parent

A novel API can totally be a solution to a problem, though. Hence API design being an area that we all spend lots of time thinking and learning about.

comment 6y ago · link · parent

I'm not sure if you can reasonably scale to 0, but I believe you can attach Autoscaling Groups to Fargate.

comment 6y ago · link · parent

Thank you, that's an excellent chart.

comment 6y ago · link · parent

Is SHA1 not still faster than 256/512? And Blake2 barely faster? I suspect with some hardware SHA1 is still going to beat all of those out - am I wrong? I would love to learn more.

comment 6y ago · link · parent

What is the SQS-based system you are migrating from?

I'm currently building a data processing system that is backed by S3 -> SQS based events, for persistent message passing.

comment 6y ago · link · parent

From the thread.

'Slow response times for large documents'

https://github.com/graphql/graphql-js/issues/723#issuecommen...

It seems that the graphql library is performing a lot of validation, and that's slowing things down. I expect validation to be a pure-compute task, and this is Javascript, so I suspect this is really a "working with large amounts of data in Javascript is slow" issue - but that's just at a glance.

comment 6y ago · link · parent

Wow, yeah that does sound way better than Kafka, and very useful for what I'm doing. Thanks.

comment 6y ago · link · parent

'So Far' is the key. They also used to all be on Netflix.

Money isn't an issue, it's mostly just annoying to have N services to juggle. Pirating's really easy - I use exactly one pirating website, and it's free. Way simpler.

comment 6y ago · link · parent

I think watching TV has shifted to "I wonder what's on, that looks interesting I'll watch that" to "There's a million things on, but I just want to watch X, and if X is not available then there may as well be 0 things on".

I used to go to Netflix for a few core shows (and still do) but they've slowly moved off. 30 Rock, Buffy, Sunny in Philly - all are gone, which means the number of shows I actually care to watch on Netflix was cut in about half.

They may have a million other titles, but it's extremely rare that I'm in a "browse and pick something" mood these days.

It's also why I hate the fragmentation. All 3 of those shows are from different networks - one day they will all be on their own respective subscription based websites. And I'm gonna just go back to pirating.

comment 6y ago · link · parent

Property-based testing is awesome. I try to write prop-tests by default, with unit tests for explicit 'must test'.

The author doesn't mention that Hypothesis directly supports combining explicit testcases with your generated testcases. So you can write something like:

'Test list == reverse(reverse(list))`

And ensure that it always tests cases like 'empty list'.(I don't recall the exact syntax and wasn't able to find it with a quick search).

I think this is a nice way of testing because I get to define the testcases I can think of, the edge cases I expect, and also use generated tests where possible.

The downside to using this approach is performance. Especially if you're using this for something that performs IO, this can slow your tests down by 100x (since you run the tests 100s of times more).

1
126127128
164