Hacker Newsnew | past | comments | ask | show | jobs | submit | cies's commentslogin

You do need some fancy in-house way to migrate old JSONs to new JSON in case you want to evolve the (implicit) JSON schema.

I find this one of the hardest part of using JSON, and the main reason why I rather put it in proper columns. Once I go JSON I needs a fair bit of code to deal with migrartions (either doing them during migrations; or some way to do them at read/write time).


Yes, that's what we do: Migrations with proper sum types and exhaustiveness checking.

Since OP is using Haskell, the actual code most likely won’t really touch the JSON type, but the actual domain type. This makes migrations super easy to write. Of course they could have written a fancy in-house way to do that, or just use the safe-copy library which solves this problem and it has been around for almost two decades. In particular it solves the “nested version control” problem with data structures containing other data structures but with varying versions.

..and it does not make "certain queries easier" (quote from the article).

I also think Apple knew they rather wanted to move on without him. They probably gave him some targets that were to high and then reduced/dropped his bonuses based on low achievements.

He got the message, Meta got the carrot.

He might even be a better fit for Meta.


Let's not forget that since Snowden we know former German Chancellor Angela Merkel was spied on by the NSA.

German govt has been a bit embarrassed by this.


Amen to that (will never happen though).

Oracle is in the business of bullying others using their big legal dept.

We all know this.

> Oracle has no business claiming javascript as a trademark.

You think so. That's okay. But ultimately it is up to a judge to decide. Right?

I agree with the EcmaScript. Just ditch the stupid name. Get all the petition signers to agree an move on. Fuck Oracle. Fuck JavaScript (it's nothing like Java anyway).


> But ultimately it is up to a judge to decide. Right?

I think we are getting a rude awakening about what is legal versus what is actually right are not always the same thing. There are some the horrible, horrible things here and the laws need updating, as opposed to us simply saying this is for a judge to decide and there is nothing else we can do.

I am ok with ditching the JavaScript name. I understand this cuts the problem entirely. However, there are other problems we have that we can't bypass so easily.

We need copyright terms to be much reduced. We need CFAA fully repealed and not replaced by anything. We need to abolish software patents. There is a lot we need to do that will likely take a century to accomplish and that's likely being too optimistic.

What we can't do is leave everything up to the judges because clearly even if we get a favorable ruling today, the precedent can be removed by another stroke of a pen.


> I think we are getting a rude awakening about what is legal versus what is actually right are not always the same thing.

I'm not sure who "we" are here (Americans perhaps?), but humanity as a whole have known this for a long time, and acted accordingly. This is why presidents in some countries have the right to pardon people, as just one very evident example. That the USA exists as a country today is another example, which at the time when they were trying to create it, was clearly illegal, but since winners write history, still a "good" action.

The the laws aren't 100% unambiguous and strict is also another example, so there is room for interpretation, as something can be "by the book legal" but because of the clear evil motivations and "ignoring the spirit of the law", still be illegal. Of course, highly dependent on the country and lots of counter-examples.


Completely agree. But that's more of a general matter than this specific matter.

Judges is the best we have. US has juries, not sure if that makes it better.

More importantly we need to criminalize lobbying in order to get control back over "our democracies" (what ever that still means today).


I use Supabase Storage. It does S3-style signed download links (so I can switch to any S3 service if I like later).

I like Zig and I like their approach in this case.

From the article:

    std.Io.Threaded - based on a thread pool.

      -fno-single-threaded - supports concurrency and cancellation.
      -fsingle-threaded - does not support concurrency or cancellation.

    std.Io.Evented - work-in-progress [...]
Should `std.Io.Threaded` not be split into `std.Io.Threaded` and `std.Io.Sequential` instead? Single threaded is another word for "not threaded", or am I wrong here?

Are the collaborations possible/foreseeable?


etc. etc. responsibility.

may also be lacking in therapist. is certainly lacking in LLM


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: