masterspace

@[email protected]

This profile is from a federated server and may be incomplete. View on remote instance

masterspace , to Programmer Humor in Trying to understand JSON…

Bruh, there's a difference between the one or two serializing packages used in each language, and the thousands and thousands and thousands of developers who miscode contracts after that point.

masterspace , (edited ) to Programmer Humor in Trying to understand JSON…

No there isn't.

Tell me how you partially change an object.

Object User :

{ Name: whatever, age: 0}

Tell me how you change the name without knowing the age. You fundamentally cannot, meaning that you either have to shuttle useless information back and forth constantly so that you can always patch the whole object, or you have to create a useless and unscalable number of endpoints, one for every possible field change.

As others have roundly pointed out, it is asinine to generally assume that undefined and null are the same thing, and no, it flat out it is not possible to design around that, because at a fundamental level those are different statements.

masterspace , (edited ) to Programmer Humor in Trying to understand JSON…

Sure, in a specific scenario where you decide they're equivalent they are, congratulations. They're not generally.

masterspace , to Programmer Humor in Trying to understand JSON…

Null means I'm telling you it's null.

Omission means it's not there and I'm not telling you anything about it.

There is a world of difference between those two statements. It's the difference between telling someone you're single or just sitting there and saying nothing.

masterspace , to Programmer Humor in Trying to understand JSON…

I've never once seen a JSON serializer misjudge null and absent fields, I've just seen developers do that.

masterspace , (edited ) to Programmer Humor in Trying to understand JSON…

They're not subtle distinctions.

There's a huge difference between checking whether a field is present and checking whether it's value is null.

If you use lazy loading, doing the wrong thing can trigger a whole network request and ruin performance.

Similarly when making a partial change to an object it is often flat out infeasible to return the whole object if you were never provided it in the first place, which will generally happen if you have a performance focused API since you don't want to be wasting huge amounts of bandwidth on unneeded data.

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

Lmao, the dumb capitalist corpo thinks Marxists are motivated by payment.

Learn how to think before you type.

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

The problem with copyright has nothing to do with terms limits. Those exacerbate the problem, but the fundamental problem with copyright and IP law is that it is a system of artificial scarcity where there is no need for one.

Rather than reward creators when their information is used, we hamfistedly try and prevent others from using that information so that people have to pay them to use it sometimes.

Capitalism is flat out the wrong system for distributing digital information, because as soon as information is digitized it is effectively infinitely abundant which sends its value to $0.

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

You realize that half of Lemmy is tying themselves in inconsistent logical knots trying to escape the reverse conundrum?

Copying isn't stealing and never was. Our IP system that artificially restricts information has never made sense in the digital age, and yet now everyone is on here cheering copyright on.

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

In that I can take a picture of them and you wouldn't notice or be impacted by it?

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

Man this is fucking asinine. No one hates you. Certainly not the actual researchers and engineers building these products.

Capitalism fucks over everyone who's not immediately useful. AI is just modelling algorithms after neurons and discovering that that lets us solve a whole new class of fuzzy pattern matching problems.

The two of them together promises to fuck us over even more because that was one of the main things that we used to be better than computers at, but the solution is not remove the new technology from the equation, it's to remove the old and broken system of resource allocation that has and continues to fuck us no matter what.

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

You're describing how human beings learn and create.

masterspace , to Technology in Microsoft’s AI boss thinks it’s perfectly OK to steal content if it’s on the open web

No. It's only illegal if you republish what you scrape. Absolutely nothing prevents any company from scraping the web and using that information internally.

masterspace , to Games in $843 million lawsuit against Valve already has its own website: "The Steam Claim" accuses the biggest store in PC gaming of "overcharging" players

If you have a point to make about why Valves is not abusing it's monopoly position make it. Otherwise no one wants to hear your dumb 'but the free market is always right' statement.

masterspace , (edited ) to memes in Can you read the ancient glyphs

It's also [the face my cat makes when he's found a good box.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • kbinchat
  • All magazines