News for hackers. Stuff that matters.

throwoutttt

Re:Who Is Making Sure the A.I. Machines Aren’t Racist? on Saturday March 20, 2021 @10:42AM (#26523544)
As long as there are racial differences in data there will be racial differences in outcomes of processing that data
Re:A Vim Guide for Advanced Users on Saturday February 27, 2021 @10:31AM (#26285435)
As someone who uses this regularly, it's still not as convenient as multi cursors that most modern ides give you.

There's a vim extension for multiple cursors but it's a little buggy.

Re:Griddy Is Shutting Down on Friday February 26, 2021 @11:40PM (#26282639)
Another example of government regulation crushing the little guys and then blaming them for it
Re:Ask HN: Is Silicon Valley Dead? on Wednesday February 24, 2021 @10:40PM (#26259429)
Toxic monoculture, self imposed group think, sky high living expenses for average quality lifestyle.

A sad death but not unexpeced.

Re:Facebook says it will pay news industry $1B over 3 years on Wednesday February 24, 2021 @08:57PM (#26258826)
Guess they've finally figured out how to do this anticompetitively
Re:Best practices for REST API design (2020) on Monday February 22, 2021 @11:39AM (#26226520)
403 is unauthorized (forbidden due to authorization policy).

401 is unauthenticated (not logged in).

Very important difference for clients handling authentication state.

Re:Best practices for REST API design (2020) on Monday February 22, 2021 @11:24AM (#26226304)
For comprehensive APIs,GraphQL is often more performant. 1 request that takes 500ms is far better to 5 requests that take 200ms
Re:Best practices for REST API design (2020) on Monday February 22, 2021 @11:17AM (#26226225)
True
Re:Best practices for REST API design (2020) on Monday February 22, 2021 @11:16AM (#26226221)
You don't
Re:Best practices for REST API design (2020) on Monday February 22, 2021 @11:05AM (#26226064)
GraphQL is far superior for development speed, API flexibility and extensibility, authorisation, discovery, testing, and less bugs.
Re:Tech companies and billionaires are leaving California on Monday February 22, 2021 @04:53AM (#26222613)
Let's just hope they don't bring the same politics where they flee to.
Re:Bad TypeScript Habits on Tuesday February 02, 2021 @06:21PM (#26008474)
Undefined and null should be treated differently.

null: the value exists but is not set.

undefined: the value does not exist.

JSON.stringify on an undefined property removes that property.

JSON.stringify on null keeps that property as null.

A codebase that does not distinguish between null and undefined is a less flexible codebase.

Re:FBI agents track cell phones that pinged near the Capitol on Saturday January 23, 2021 @10:39AM (#25882971)
Thank God the maga shaman didn't get his hands on the magic lecturn and legislate an election audit
The same people who decide my opinion
Re:Stripe bans Trump campaign on Monday January 11, 2021 @12:40AM (#25725041)
How many police have you seen Trump bludgeon to death?
That must be why Disney needs to buy Star Wars and Marvel, because they're so great at innovating their own content