Better HN
topnewbestaskshowjobs
Log inSign up

nathan_long

4,485 karma · joined Jun 1, 2012 (14y ago) · 1,146 submissions

Submissions

comment 7y ago · link · parent

> When you discover that some "race" is underrepresented in some field, it's completely possible that a major cause is that the median in that arbitrarily defined racial category is below the median in another arbitrarily defined racial category.

It's possible, yes. It's also possible that perceptions of race influence the subjective decisions that drive those outcomes. How would you determine causality?

Eg, you could try sending employers identical resumes with "black sounding" and "white sounding" names and measuring callback rates. This has been done: https://www.politifact.com/punditfact/statements/2015/mar/15...).

There are likely many factors in racial disparities, but this appears to be one of them.

comment 7y ago · link · parent

A genetic test to see whether someone has ancestry from Melenasia or Sudan or Scotland is likely to give a different result than casual visual classification. The latter is what we commonly call "race".

comment 7y ago · link · parent

No. Go look at pictures of Melanesians. Are they "black"? Yet:

> Among Templeton's conclusions: there is more genetic similarity between Europeans and sub-Saharan Africans and between Europeans and Melanesians, inhabitants of islands northeast of Australia, than there is between Africans and Melanesians. Yet, sub-Saharan Africans and Melanesians share dark skin, hair texture and cranial-facial features, traits commonly used to classify people into races. According to Templeton, this example shows that "racial traits" are grossly incompatible with overall genetic differences between human populations.

https://www.eurekalert.org/pub_releases/1998-10/WUiS-GSRD-07...

comment 7y ago · link · parent

> Race is a subjective classification based on objective characteristics.

Perhaps more subjective than you think? Please read about the "one drop rule".

comment 7y ago · link · parent

> Templeton used the same strategy to try to identify race in human populations that evolutionary and population biologists use for non-human species, from salamanders to chimpanzees. He treated human populations as if they were non-human populations.

> "I'm not saying these results don't recognize genetic differences among human populations," he cautions. "There are differences, but they don't define historical lineages that have persisted for a long time. The point is, for race to have any scientific validity and integrity it has to have generality beyond any one species. If it doesn't, the concept is meaningless."

> ...

> Among Templeton's conclusions: there is more genetic similarity between Europeans and sub-Saharan Africans and between Europeans and Melanesians, inhabitants of islands northeast of Australia, than there is between Africans and Melanesians. Yet, sub-Saharan Africans and Melanesians share dark skin, hair texture and cranial-facial features, traits commonly used to classify people into races. According to Templeton, this example shows that "racial traits" are grossly incompatible with overall genetic differences between human populations.

https://www.eurekalert.org/pub_releases/1998-10/WUiS-GSRD-07...

comment 7y ago · link · parent

I have also heard of medical examples like that. However, this article argues that generalizations based on apparent racial characteristics are medically unreliable.

https://www.scientificamerican.com/article/race-is-a-social-...

> Yudell said that modern genetics research is operating in a paradox, which is that race is understood to be a useful tool to elucidate human genetic diversity, but on the other hand, race is also understood to be a poorly defined marker of that diversity and an imprecise proxy for the relationship between ancestry and genetics.

> ...

> "What the study of complete genomes from different parts of the world has shown is that even between Africa and Europe, for example, there is not a single absolute genetic difference, meaning no single variant where all Africans have one variant and all Europeans another one, even when recent migration is disregarded," Pääbo told Live Science. "It is all a question of differences in how frequent different variants are on different continents and in different regions."

> In one example that demonstrated genetic differences were not fixed along racial lines, the full genomes of James Watson and Craig Venter, two famous American scientists of European ancestry, were compared to that of a Korean scientist, Seong-Jin Kim. It turned out that Watson (who, ironically, became ostracized in the scientific community after making racist remarks) and Venter shared fewer variations in their genetic sequences than they each shared with Kim.

> ...

> "If you make clinical predictions based on somebody's race, you're going to be wrong a good chunk of the time," Yudell told Live Science. In the paper, he and his colleagues used the example of cystic fibrosis, which is underdiagnosed in people of African ancestry because it is thought of as a "white" disease.

comment 7y ago · link · parent

What, genetically, is a race?

comment 7y ago · link · parent

Speaking as someone who is forced to vote on a proprietary touchscreen system with no paper trail, I wish researchers were finding cryptographic problems in my voting system.

comment 7y ago · link · parent

...and this has always been a unique pain point of development in the browser.

comment 7y ago · link · parent

It could instead imply "if the browser didn't ship with a version that satisfies my requirements, use the polyfill"

comment 7y ago · link · parent

I do that, too. But I didn't always have to, and I shouldn't have to, that's my point.

comment 7y ago · link · parent

I don't know Go, but that probably depends on your goals. To quote myself from elsewhere:

> Efficiency in the BEAM is mainly in service of its primary goal of fault-tolerance. If one process crashes unexpectedly, the others should continue. By the same logic, if one process is CPU-intensive or IO-blocked, the others should keep making progress smoothly. And if processes are good for isolating errors and performance issues, they should be cheap enough that we can run a lot of them at once. Those assumptions are baked into how the BEAM manages processes.

If raw speed is your only goal, the BEAM probably isn't the best choice. If consistent speed and stability matter, it may be.

More on this at https://dockyard.com/blog/2018/07/18/all-for-reliability-ref...

comment 7y ago · link · parent

Amount of training is not the reason. It's supply and demand. Training requirements reduce supply, but that's only part of it.

Not many people can play bagpipes, so supply is low. But not many people will pay to hear bagpipes, so demand is low, too. Bagpiping doesn't pay well.

Nearly everyone needs food cooked, so demand is high. But nearly everyone can cook, so supply is high, too. Cooking doesn't pay well.

Not many people can do surgery, so supply is low. Many people need surgery, so demand is high. Surgery pays well.

Supply and demand explains why surgeons make more than teachers, why basketball stars make more than nurses, and why programmers make more than janitors. It isn't about how hard something is or how noble it is. It's just supply and demand.

comment 7y ago · link · parent

The nightmare case for whitelisting is an emergency call from or on behalf of your spouse or child using a stranger's phone. This is why I don't want a whitelist.

What I want is for spammers specifically to be identifiable and blockable, or for their business to be made prohibitively expensive. I didn't get spam calls on my cell phone 15 years ago, and as you say, what has changed is largely economics. Why can't we work to adjust the economics back?

comment 7y ago · link · parent

Great point.

If feature X stops working because a back end developer broke the code, that's treated as a bug.

If feature X can't be used because a UX developer obscured it, that should be treated as a bug, too.

comment 7y ago · link · parent

Yes. And redesigns are specifically the issue.

Q: What gesture should be used for answering a call on a touchscreen phone: tapping a button, or swiping?

A: I don't know, but once you've picked one and users have learned it, don't suddenly change it without explanation and make your users panic because they can't answer calls.

comment 7y ago · link · parent

Whatever terminology you use, every place you loop through records doing stuff with them, you'll either have to decide what to do with oddly-shaped records or implicitly decide to let exceptions occur at that point. Whereas if PostgreSQL tells you that `user` has a `email character varying(255) NOT NULL`, you can be sure that every `user` does. The only place you need a conditional related to that is when trying to insert an invalid record.

comment 7y ago · link · parent

I would argue that it's not authoritative. Nothing guarantees that the records in the db match that schema; the closest you get to a guarantee is your diligence to 1) run a job mutating all records every time you change your in-code schema and 2) ensure that nothing but your latest application code can write to the db.

OTOH, `\d users` in PostgreSQL is authoritative; there cannot be a row that does not conform to the fields, types, and constraints listed there.

comment 7y ago · link · parent

> you have a single authoritative view of the world, plus a secondary cached view of the world in a different language

Yes. OTOH, with NoSQL you have no authoritative schema; your code may allow for multiple different schemas, and your records may have multiple different schemas, and they could agree or disagree to any extent.

comment 7y ago · link · parent

> your stored data always has a schema, unless your code neither reads nor writes it as anything except an opaque blob.

This is well-put. I'd go further: if there's no schema, you don't have data at all. A row with labelled email and name fields is data; a string of free-form input in which the user describe him/herself is not data. You might possibly be able to extract data from it, but if you do, you'll be building a set of labelled fields.

> You can tell that your code's implicit schema exists even with an SQL database, even if your code auto-reads the SQL schemas, by asking what happens if the DBAs decide to rename a bunch of tables and a bunch of fields in those tables, maybe dropping some and adding others

Maybe a quibble, but I'd say your code has partial knowledge of the relational db's schema, not that it duplicates the schema, just as it may have knowledge of the file system structure, the domain names of various servers, etc, and depend on that knowledge being accurate, without duplicating them entirely.

> In some ways NoSQL is more honest than SQL, because it tells you straight up that it's entirely up to your code to have and maintain a schema.

With a relational db it's not entirely up to your code to have and maintain a schema. Eg, your code can assume that every "user" record has an "email" field and that it's NOT NULL and always a string and always unique, assuming the db is set up to guarantee that. The part of your code that reads records can be sure of that, even if the part of your code that writes records is lax about checking (and therefore blows up a lot). With a NoSQL database, it's possible that some records have blank emails, or numeric emails, or don't have that field at all, or have that field named something different. Those things will happen unless you're very careful to ensure in your code that they don't, and also unless you're careful to never to let anything write to the database except your code.

I think a differentiating question is "what is it that guarantees all your records of type X have the same schema?" If you use a SQL database, the answer can be "the db". With NoSQL it might be "a combination of app logic, background jobs and manual intervention for weird cases" or "nothing".

In cases where you want to store JSON blobs, an RDBMS like PostgreSQL lets you have a JSON column. This is useful (eg) for cases where you need to capture some input now, and might get around to parsing it out into real data later - eg "we got these records from the legacy system and don't yet know if / whether we can import them".

Finally, although I wouldn't advocate moving complex application logic to the database, there are some validations that can only be reliably done by the database itself or by leaning on the database. Specifically, any validation that relies on the current contents of the database, such as "don't allow duplicate user names" (unique constraint) or "don't allow creating a comment for a post that was deleted" (foreign keys) or "don't allow overlapping reservations" (PostgreSQL exclusion constraint). Application code can do a read, check, and insert, but two threads may have a race condition and insert conflicting data. Application code can ask the db to lock while it does this, but that's leaning on the db. Or the database schema itself can guarantee this in a safe and performant way. But only if the database has a real schema.

comment 7y ago · link · parent

Main point: any statement about world outside of computers can be cryptographically signed and stored in a decentralized immutable store yet still be false.

Also, crypto guarantees cut both ways. Which is more likely, that your account will be illegally taken from you, or that you'll lose your account password? In normal banking systems, the former is very unlikely and the latter is fixable. In crypto coins, the former is impossible (assuming nobody can steal your password, which is untrue) and the latter is unfixable.

comment 7y ago · link · parent

> so you rely on the state to revoke licenses in demonstrated cases of corruption.

Revoke how? Does the state, or anyone else besides Bob, have the authority to unilaterally modify the blockchain? If so, why don't they just use a central database, since you are forced to trust them anyway?

comment 7y ago · link · parent

Why not? Suppose your commute occupies the car for 1/24th of the hours of the day. In theory you could pay for only that usage.

There would be some markup so the owning company has a profit margin, but the higher the price is, the greater the incentive for competitors to exist, which would exert downward pressure. So maybe you'd end up paying 1/20 the price of owning a car.

If you don't agree, why not?

comment 7y ago · link · parent

> Before Facebook, if I lost someone's contact information, and drifted outside of their social circle for a long enough time, chances were I would never ever see or speak to that person again.

I was nodding along at this until I read your second paragraph, then had to go back. Apparently you think this was a bad thing?

Losing touch with people is natural. Having to explicitly sever a relationship is awkward. But without a natural pruning function, it's easy to end up with a thousand shallow relationships and not enough deep ones.

comment 7y ago · link · parent

I had to install WeChat once on my phone for business reasons. From what I read of the Chinese government's control over it, I felt nervous that my phone was compromised by installing it.

You could say that Facebook is just as bad, but 1) I don't install Facebook and 2) I still trust the US Government more than the Chinese one.

comment 7y ago · link · parent

Individual solutions: "Do not disturb" mode that only rings for contacts, using one of the robocall-blocking apps (eg Nomorobo).

Industry solutions are supposedly forthcoming - see STIR/SHAKEN standards for caller verification. T-Mobile says they're doing something with this: https://www.t-mobile.com/news/caller-verified-note9

comment 7y ago · link · parent

Lambda School seems to be doing quite well training a lot of them to program and taking a cut of their initial wages. This guy specifically mentions fast food as a previous job: https://twitter.com/AustenAllred/status/1083994585557127168

comment 7y ago · link · parent

Reminds me of http://web.mit.edu/jemorris/humor/500-miles

> "We can't send mail more than 500 miles," the chairman explained.

1
456
39