skysight-inc/HackerNews huggingface dataset:
> So if you don't consider dating somebody because of their sex, by that definition you are sexist?

Only if not dating someone is discrimination in some useful sense (it's not).
> Some people prefer writing JavaScript without semicolons. How do they not have bugs all over the place ?

The same way that people who write with semicolons avoid lots of bugs: linters and transpilers and tests.

That said there is only one rule to remember when not writing semicolons, the easy to remember "winky frown" rule: all frowns must wink if they start a line/statement. ;( ;[ ;`

;(The last two are quite rare in my experience.)

It's not that tough of a rule to remember.
Ouch. I haven't worked at a place that contributed less than 6%; my current employer also adds a flat 5% to a separate pension so people don't get bit by the maximum tax free limit (as opposed to simply matching more than 6%)
He wrote it on a plane ride to China.
> If it's scientific doesn't mean I can argue without repercussion that I should be allowed to cut before asian men in the line in the cafeteria because as tall people we are always hungrier. Even arguing that would (rightly) be considered racist.

Suppose that height is an advantage in basketball and we thereby discover that asian men are underrepresented in the NBA. Are you claiming that is racist and something we have to do something to change?
Even then, that's still not what he said.
That counts! Love it too, and all the other things that come with it like Amazon Music which is actually great!
In what situations would people be punished for supporting Clinton? In the case of Hastings and Thiel and the Facebook board of directors, correct me if I'm wrong, but Trump winning the presidency didn't change the membership of Facebook's directors or their political leanings.

Sorry, are you unaware of any people who've been attacked by Trump supporters? Really? Besides the obvious politicians (Senator Ben Sasse, for example), there are viral incidents like these: https://www.washingtonpost.com/news/post-nation/wp/2016/11/2...
Post-infancy life expectancy and life expectancy at adulthood have also both risen, though. Until recently, adult life expectancy in the first world was rising pretty steadily for all groups - it's turned around for some populations in the last few years.
Left/right is a spectrum. No need to further segregate groups with comments like this even if it is in a half-joking manner.
As one commenter pointed out, it may be something like the gold-and-white vs blue-and-black dress thing. It really behooves each side to try as hard as they can to read the other side's interpretation.
Given your attitude I expect you wouldn't be really happy getting to know how selective breeding works(it's waay more random - to the point where you get mainly unwanted side effects).
you might want to step outside friend, your 4chan is showing
I'm not 100% sure but, I think you might be referring to utilitarianism, not capitalism.
No. To protect voting, don't use software. Everyone needs to be able to _understand_ as well as be able to verify that they successfully voted.

Besides the issues with what software the machine is actually running, most people cannot comprehend or understand that software - even if it is open source. That is not acceptable for an open democratic society, or to sustaining it.

In this particular situation it should not be necessary to rely on an expert to explain whether the vote counting mechanism is reliable. This only adds to the problem of unreliable or scheming officials - it doesn't improve anything in terms of transparency.
Farm work is incredibly dangerous.
The best way to truly hate something is to know it very well.
> a $15,000 bike

That's a really high price for a bike, you're talking a small percentage top of the line or stupid over-priced for name brand sake bikes there. Kinda feels like you might have backed in to that number?

For reference, a bike like a GSXR 600 or Ducati Monster can be had for under $10k - and one would assume a decent discount for buying a few million at a time ;-)
I am not sure you actually read what the OP asked for.He/She talked about Linux.

DiskCryptor is only available for Windows(0)

To OP,you may check out LUKS(Linux Unified Key Setup)(1).

(0)https://diskcryptor.net/wiki/FAQ

(1) https://gitlab.com/cryptsetup/cryptsetup
TypeScript also works wonders in React. Using a component that someone else made? TypeScript will make sure you are passing it the props it expects. Change the expected props for a component? TypeScript will immediately let you know what code you need to change for every component that uses that component.

Also NoImplicitAny and StrictNullChecks are two great tastes that taste great together. Everything in your code is now typed, AND TypeScript will now actually make you think about how you are handling (or not handling) null values. These two flags have basically allowed us to completely eliminate all the 'X is not a function of Y' and 'Z is undefined in this' errors - which is pretty amazing because for me at least these were probably the most common JS errors I get.
At least 196 ISPs in the US have data caps
I've worked at companies that have offices in Toronto, Canada (where I currently live) while their main offices are abroad (US and Curaçao).

They seem to have have a lot of problems with us having different laws and regulations than them (eg: healthcare, holidays) and we're only one country. How does that work when everyone is from different countries?
> (or whatever he said)

Really? Leave it up to the media to decide what he was fired for afterwards?

> it's never a good idea to get on a soapbox about politics at work

Many companies actively encourage this, when it comes to left-leaning politics.
It is also logical that voter fraud isn't necessarily an outcome of having no voter ID.
Elon Musk: Boring Company commits to 600mph Hyperloop and tube network
I don't follow bikes, and I assume the immediate demand for tens of millions of one would drive the prices up.

I also vaguely knew that HDs go for big bucks.

But we're being ridiculous here, so...
Didn't a republican congressman literally commit a violent assault on a reporter, and then win accolades by the right and get rewarded for it? Do you believe violent assaults chill free speech?
Private companies are not free speech zones. Not firing this person would have been a Title VII violation and opened them to lawsuits.
Go to community college like I did. I took a bunch of remedial classes that helped me prepare for university. I wasn't prepared for a real university education out of high school. But after 3 years of community college (2 major switches) I transferred to UCSD for CS and got by BS and am currently doing my masters.

I don't think lowering the standards is a good idea. I think we should fill the gap's in education left by high schools failing at their jobs.
You don't have to preach that to me (I agree), but it does mean that you shouldn't really consider universal healthcare to be an additional benefit when comparing UK & US developers. The US developer also has healthcare not factored into their salary.
I finally started using KeePassX so I could keep track of the insanely long and randomized passwords it creates across the same plethora of sites you've listed. I love using it, but there's no way in hell I can quickly update so many different credentials conveniently(e.g. update your password every 6 months or so? Just kill me now)
Ive had a handful of previous Democratic voters, whom are classify themselves a Liberal, observe the same actions.

"We support free speech, as long as you agree with the core tenants of Political Correctness, Affirmative Action, Feminism, and Liberalism."

Whereas, Republicans/Conservatives have a much greater variance of ideas. There's the RINOs, the Moderates, the Libertarians, Tea Partiers, and more. Yes, there is infighting.

But in the end, they all acknowledge each other as Republicans. They may have spirited "discussions", but they are all allied with the same goals in mind. Reagan taught them that well.
> Did you think it was an appropriate workplace share

Depends on the workplace, doesn't it?
My point is simple. A person should be hired based on their skills/qualifications and potential ability to do the role (based on the experience/interview) and that should be the main and overriding criteria.

Of course, you can have hypothetical scenarios e.g. you have two candidates who are equally qualified and practically match neck to neck and you can only hire one and you have a lack of diversity in your company, sure, you can hire the person who brings more diversity.

However, if you have, say, white male person who is more qualified than, say a non-white female person, and those are your top two picks, then you should choose the former because it is about being most qualified for the role. If the non-white female is most qualified, than she should be chosen. I'm simply advocating meritocracy.

You mentioned that "The diversity program came about because they are actually struggling to find enough qualified candidates" and "he company was majority white and male, and they didn't have enough people, so they decided to tap into the vast universe of people who aren't white or male". I don't understand the first part - were they excluding non-white/non-male people from applying initially? Isn't that unlawful? Why didn't the "vast universe of people who aren't white or male" didn't apply initially and had to be brought in via diversity program?
This comment is highly opinionated and only further contributes to the left/right rhetoric.
What are typical matches?

In Norway there are no matches. The company just have to pay 2-7% of your salary to your fund each year. For tech jobs it's mostly at the top of the range.
Now failed to buy anything in the linz, AT trainstation where I checked a few selectors and smaller stores.

Whatever you think. This is central Europe and visible Badly supported
We are back where we were at the beginning of the 20th century.
I don't know the answer to that question. But if you honestly believed Vermin Supreme should be president I'd question your judgement too.
In all fairness, 2 orders of magnitude over $500 is $50,000. They're a lot closer to 1 order of magnitude ($5,000) than two.
I think it is unfair to call this "the Google manifesto".

If I state here that it is scientifically expected to see more foos than bars on HN, and then get banned because of it, that wouldn't become HN's manifesto, either.

I fear that, a few years from now, people will say it represented Google's official standpoints (which it doesn't) or those of a significant portion of its employees (which may or may not be the case, from what I know)

"Google employee's manifesto" or "James Damore's manifesto" are better names.
There are pockets of awesomeness in big companies. I worked for a company that sold for over half a trillion, and it was a great job until we got acquired.

Small companies can be hellholes too, especially when runway is short, or competition is fierce. Like anything, it depends on the culture.

As far as staying at big companies, inertia is a big reason. It's easy to justify staying at a place that pays really well, particularly if you have a family, a car payment, and/or a mortgage. 5 weeks of vacation is nice too; that comes with tenure and leaves as soon as you do. I have to constantly check myself to see if I'm miserable. I have scars for staying miserable for too long. It's bad for my career due to burnout. Not everyone has learned that lesson though.
I felt the translation felt very awkward at times. Just scanning some articles about Ken Liu, it was his decision to try and stick to the original literary style, I think a lot of it came from that.

In a lot of ways I liked it because the entire thinking behind the book was a different cultural thinking.

But the resulting style is definitely a bit awkward in English and sometimes it was a little bit of a slog.
If the reason that people get enraged is because they lack the intelligence to dispute something, what are google and news agencies doing hiring such people?

I'm not sure whether it's lack of intelligence or a desire for self-gain/self-promotion (seeing as how loads of people proudly plastered their pictures and names in the ensuing twitter debates, trying to paint themselves as brave crusaders for whatever movement they want to lead).
> there are viral incidents like these:

Putting aside the question of why she felt she was being discriminated against, that's a story about a woman who said some nasty things.

Is that the worst of it?

Hardly comparable to what's been done to Trump supporters.
Let's say that you have 26 tokens (english lower case alphabet) in your password policy. Let's also say that there is a cost incurred adding a token. How many letters would a password need to be for it to be more beneficial to add a token rather than add to the minimum length? 26^n > 27^(n-1) comes out to 88th letter providing less entropy than adding a token. The more reasonable alphabet is 52 letters (lower and upper case) and some tokens, let's say 12 tokens. 64^n > 65^(n-1) makes 269. Lesson to draw from this: always make your password longer, rather than more complicated.
> You can't claim to be making a scientific argument,

> when a major link in your chain of reasoning is

> nothing more than an appeal to preconception.

"Gendered Occupational Interests: Prenatal Androgen Effects on Psychological Orientation to Things Versus People

There is considerable interest in understanding women’s underrepresentation in science, technology, engineering, and mathematics careers. Career choices have been shown to be driven in part by interests, and gender differences in those interests have generally been considered to result from socialization. We explored the contribution of sex hormones to career-related interests, in particular studying whether prenatal androgens affect interests through psychological orientation to Things versus People. We examined this question in individuals with congenital adrenal hyperplasia (CAH), who have atypical exposure to androgens early in development, and their unaffected siblings (total N = 125 aged 9 to 26 years). Females with CAH had more interest in Things versus People than did unaffected females, and variations among females with CAH reflected variations in their degree of androgen exposure. Results provide strong support for hormonal influences on interest in occupations characterized by working with Things versus People."

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3166361/

"To sum up: I think there is more than "a shred of evidence" for sex differences that are relevant to statistical gender disparities in elite hard science departments. There are reliable average difference in life priorities, in an interest in people versus things, in risk-seeking, in spatial transformations, in mathematical reasoning, and in variability in these traits. And there are ten kinds of evidence that these differences are not completely explained by socialization and bias, although they surely are in part."

Steven Pinker - https://www.edge.org/3rd_culture/debate05/debate05_index.htm...

UPDATE: But actually, that does not really matter. His argument was that because there are differences we cannot rule out the possibility that unequal outcomes may have causes other than discrimination, not that he had proof that these differences are the cause.
This is just dogma. Making a scientifically supported argument against a position of postmodernists and feminists doesn't equal an "attack on women".

The lack of intellect and integrity displayed by the attacks on the fired Google employee is really disturbing.
But if you bring your toddler on vacation then you'd have to vacation with a toddler.
>He was fired because he can't reliably review his peers if he thinks they are genetically inferior to him.

He literally said the exact opposite of this.

Why are you purposefully misrepresenting his views? And if not purposefully, why are you then commenting on a story whose main source (the document) you haven't read?
git rebase -i on a master with no changes.

As a sole developer, I am pulled in two different directions when using git feature-branch style. I want to make sure I never lose my work so I check in frequently- any time I start a change that might ultimately fail, I commit my current code so I can recover it. But I also want a clean, concise and useful history.

After reading this article I tried 'git rebase -i master'
on my feature branch even though the master had no changes since starting the feature branch. This seems to work and allows me clean up my feature branch before I merge it to master.

Is there a better way to do this or are there problems with this?
No matter how you debate the validity of the science, I hope people pay attention to one suggestion the 'manifesto' author made: that his company should do more pair programming.

Pairing has always struck me as a great way to get programmers communicating better. Without addressing any other points in the manifesto, I think he's correct that encouraging pairing would be a good way to make development environments more collaborative.
Yea exactly, that's a great example of putting narrow targeting (self selected really) to good use.
Set Up Your Real Time Chat App on Amazon EC2 with Docker and FeathersJS
I would think something like this would work:

cat input.json | jq -c --stream '. as $in | select(length == 2 and $in[0][0] == "users") | {}|setpath($in[0][1:]; $in[1])' > users.jsonlines

Output would me a file that looks like this:

{"userid1":{"name":"user1"}}
{"userid2":{"name":"user2"}}
I don't. However, it's a fine line. Pro sports is a bit special, but it might be racist to not let a player try out because of an asian name, quoting that "thanks for your letter, but asian men are on average so short that we don't want to see you". Context, and what precise actions are taken is important here.

The underrepresntation of black people in tech isn't "racist" though there are probably a lot of racist actions taken place that led up to it, and of course tons of structural racism that cause it long term. But the discrepancy isn't "racist" in itself. It's just a discrepancy.
Funny, my kids' math teachers have all stated to me, in public not whispers, they hate the "new math" and it is inhibiting them from teaching math correctly. Since I wasn't educated in the "new math" as a kid I have difficulties helping my children with their homework, which the teachers also admitted to being a problem. Typically I just show them how to solve the problem the way I learned and they pick it up much quicker.

To each their own I suppose.
Here you go:

https://assets.documentcloud.org/documents/3914586/Googles-I...
I think people do care about his politics, but he failed to add anything constructive to the discussion.
How is a 10 page treatise on something not a manifesto?
Aaahhh! Yeah, that makes total sense. I was thinking about newly introduced symbols using let. I recently jumped from scheme to common lisp so I'm used to lets just shadowing other variables.

Most of the major scheme implementations I've used have had real dynamic scoping of some sort. I don't think it's very well supported in the standard, but they all seem to have it as a proper language feature.
I mean I interpreted the comment as individual critique because that was how you wrote it. If you didn't intend it as personal criticism, then you have a serious problem with your style.

Would you like to separate the point you're trying to make from the ad hominem with which you first sought to make it, and try again? Perhaps you have something of substantial merit to say on this point, and perhaps you do not. Either way, conflating it with some kind of sideswipe at what you imagine to be the person of your interlocutor does not help you make your case - especially when, as I suspect may be true here, you're trying to argue in defense of intellectual honesty. What do you imagine it helping, to make such an argument in so flawed a fashion as this?
No, just intellectual dishonesty to support preconceived notions. To be fair, this is not behavior unique to the feminist group.
Assuming that password complexity is the weak link in their practices.
That is a great point. Not every job can be extended late into life. But like your mother, I think you have to stay active and find something that challenges you.
Is this from some public YouTube data/API? Would really like to do this for other countries.
I agree with you. What I am saying is that we should try to make the world more balance and not let it be driven just by luck or discriminatory reasons.
This answer is a dodge.

Why would that matter? Every workplace has an expectation for you to get along with your colleagues.
He said that the thought that it might be true would be completely alien to some people's way of seeing things. Which turned out to be proven true by the utterly unhinged way people reacted. It was like he had suggested that maybe the earth revolved around the sun.
Ask HN: Level of difficulty of cyber warfare on N. Korea vs. Iran/Stuxnet?
The "basket of deplorables" remark was accurate as hell and hilarious, but you're wildly exaggerating anything she actually claimed. Sounds like you're still stuck in an echo chamber where people blew her beliefs out of proportion, probably most of it being attributed to her most extreme followers.

Trump, meanwhile, actually hired open white nationalists and people with Nazi ties. Cool! The existential threat from Clinton was definitely the same because she.. opposed exactly that.
One thing I suggest to people these days is to instead make a passphrase where at least one of the words is an "English-like nonword". Something that sounds like a word but doesn't appear in the dictionary. People are pretty good at remembering things like that, and I find that most people can remember their passwords even a week later with this method.

A sample password might be: "Zapagar, lightning chomper"

Or maybe: "plodding! Sloimo can't 3lap"

It's much easier to remember a password if it forms a little story in your head.

Too many people try to optimize the "hard to guess" part of a password requirement without considering the "easy to remember" requirement. Typing long passwords isn't nearly as much of a hassle if it is full of normal words instead of insane garbage like L1ghtn1nG that computers can easily guess anyway. Length is the best defense.
Closing Iterables Is a Leaky Abstraction
Because people do not understand statistics. A great example of this is the Gambler's fallacy [1].

[1] https://simple.wikipedia.org/wiki/Gambler%27s_fallacy
I thought that way too for a bit, and was generally in favor of Jon Haidts interpretation (blaming helicopter parenting). But I've noticed there are plenty of people well into their 40's and 50's who actively encourage this kind of thing. I don't know what to make of it.
Thanks a lot for these recommendations, I will look into both of them !
Can you contact me via: https://apeace.github.io/contact.html

I've been reading the i2pd source the past few weeks and would love to pick your brain over a couple of emails!
This is a very good point. Nobody is going to educate themselves on this matter, we're divided and sitting in our echo chamber listening to what we want to hear until one of these threads pops up and we open the floodgates and start attacking each other.

it's unhealthy, but I suspect we're going to keep doing it.
One office is not enough
Uber had better hope that the startup costs of self-driving vehicles are a lot lower than $36B. They can't afford that.
Wait. I'm sorry. Are you saying someone who would write and share this can be trusted to control his own bias, because he said he could?
>Really? Leave it up to the media to decide what he was fired for afterwards?

I honestly don't care. Anyone who sends a company wide memo is asking for trouble. The news throws so much stuff that you are expected to get "outraged" over. It's not healthy to absorb it all.

Looks like we might go nuclear with North Korea real soon, if that happens, none of this will matter.