skysight-inc/HackerNews huggingface dataset:
I think it's important for us to gain some kind of perspective here. Whatever current science (or "science") says on the matter, that's not the point. These arguments seem to be of the following: women are inherently less capable of being good engineers, therefore they should be underrepresented in engineering.

Okay, now let's extend that argument out from the engineering sphere.

Using the same logic, the following attitudes should be accepted:
1. physically disabled people are inherently less suited to being mobile, so we shouldn't put in effort to allow them to be as mobile as non-disabled people
2. Men are inherently less suited for child care, so we shouldn't put in effort to help them be as good at child care as women

I wouldn't be surprised if some of you endorsed the attitudes I've just presented, but that would make you immoral by modern standards, so you could then assume that you're being immoral on the gender diversity issue.

This whole thing comes down to a fundamental lack of empathy. If you're not going to have empathy for women in tech, there's no reason that anyone should have empathy for you in areas that you're not suited to. So, if you accept one, accept the consequences of the other.
HandBrake Tutorial – How to Effectively Use HandBrake and Fix HandBrake Problems
Can you explain what is bad about "cold starts after long periods of inactivity"? Or provide a reference? It sounds interesting, but I do not know enough about how engines work to understand what would be different about starting a car after one day or one month of not driving it.
If that's the case, then why haven't other PC manufacturers come in and swept that market from them? People still buy iMacs and MacBooks in droves and they gladly pay those costs. If there was nothing more than an arbitrary Apple Tax (instead of something more real like R&D costs, build costs, etc.) then it should be easy for a company to ape what Apple has done, charge slightly less, and completely remove them from the market. They haven't and they won't for precisely the fact that it's not just an arbitrary markup.
Your critique is about JavaScript, not about TypeScript.

Your argument is that TS blindly trusts 3rd party typings, but Kotlin has the same exact issue! In fact the Kotlin docs say to use TypeScript typings, or "dynamic" (read: unsafe) mode for 3rd party libs. So I would expect the same level of safety between TS and Kotlin when it comes to 3rd party libs.

I personally prefer TS because it's safer: with literal types and mapped types, my code is far safer than the equivalent Kotlin. It will surprise you how often you use these features.
Your solution is historically inaccurate. Statistical tests of significance were created as a tool to improve the objectivity of evaluating results. Garbage in, garbage out still applies. Nor is it relevant. Statistical techniques are a symptom, not an underlying cause.

Indeed, everything in the article or in discussions of this that I see is always treated symptoms far from the causes. Let's do a quick five whys:

Why are publications not reproducible? Because positive results are being published as fast as possible with little checking on them.

Why are they publishing so? Because the people involved need publications to get out of their current transient position and secure another transient position, with hopes of someday being able to settle down somewhere.

Why do they need to secure their next transient position? Because they have been inculcated that this is the career to be in by their milieu and that is the only way to stay in it.

Why is that the only way to stay in it? Because there are no permanent positions that aren't at the very end of this gauntlet.

Why are there no permanent positions except at the end of the gauntlet? Because this is a pyramid scheme built on an apprenticeship system.

Don't get distracted by all the other stuff. It's the fundamental structure of academic science that leads to the rest of this.
how do you describe BCH fork from bitcoin? i was thinking grim theory. However, it really did not kill the king.
Non-linear histories work just fine with git-bisect. What breaks git-bisect are histories where every commit doesn't work; for instance, if you have one commit that breaks something, and a second commit that fixes it, git-bisect won't work well.
Creating a true voice call experience with OpenTok and CallKit
> Kotlin's Any is pretty much the opposite of TypeScript's any. In TS it disables type checking completely (according to the docs). In Kotlin it's the top type (similar to Java's Object type), which anything conforms with, but doesn't expose any operations at all (except for the stuff that the JVM provides for free).

If you want top-type like behavior in TS, you want to use `{}` instead of any, since the language is structural. Anything satisfies it, but it exposes no members without a cast or guard to a more specific type.
Note that the demo sends your email address to the server if it's a hit.

$.ajax({
url: "/google_leak/save.php?info=manual_hit:" + email
});

update: gone now. still pings that it ran. don't forget to hit ctrl-shift-r to bypass your cache.
I don't know about you, but my water and sanitation are billed to me directly by the non-government companies that provide them, and my employer pays a fraction of my health care burden to an insurance company instead of me, for tax-avoidance purposes. Every education system I have ever seen is funded by property taxes, which are paid by owners or renters via monthly checks to the owners, without regard to citizenship or domicile. The rule of law is increasingly paid for by selective enforcement of offenses with revenue-positive fine structures.

I'm not sure what exactly it is my income taxes pay for, but about anything I might want from a government is already paid for by direct billing or by some other type of tax. Maybe I'm paying for a seat cover of an F-35. Maybe I'm paying for a bridge repair that has been overdue for 30 years. I lack the attention span to follow the money that far.

That guy still pays sales taxes, and any taxes that may be indirectly passed on to him through business dealings. It isn't zero; it's just less than you, at the price of being a technically domicile-less nomad. The lifestyle is a bit more stressful, as you have to schedule mandatory events around several sets of local laws.
Is that not what a diversity program amounts to? If the candidate was superior on merit alone then market forces would reward those companies that ignored race and gender in their hiring decisions and punish the racist/sexist ones that were passing up perfectly good candidates. If all existing companies are racist/sexist then the potential entrepreneur that starts a competitor and scoops up all the "ignored talent" would make a killing.

Perhaps instead of whining about gender ratios we should be the change we want to see while making a ton of money at the same time?
The convenient thing about special variables just using let is that you can use them in any binding construct:

(with-output-to-string (*standard-output*)
... code ... )

Here, code's output to the default standard output stream is captured in a string.
agreed, but he's done videos on "white genocide" and other alt-right talking points. He's certainly treading a thin line.
Ooh, he was doing so well but his explanation for why users use the main chain instead of a forked chain betrays a fundamental misunderstanding of the blockchain.

There is no "blue chain" or "red chain", there are just blocks that point to other blocks. Branches happen all the time, and sometimes those branches become the main chain. So actually, if the red chain was grown faster than the blue chain, it would become "the main chain". But then the miner's transaction in the blue chain would be ignored!

The main chain is chain with the greatest computational value, it's the chain that takes the greatest amount of CPU power to compromise (and therefore it's the most trustable). It has nothing to do with Schelling point or bounded rationality, because that suggests you can tell that a block is a "forked block" the moment it's created, but you can't.
Ask HN: How to eat and drink properly?
I know the basic gist - avoid sugar, count calories, watch salt and carb intake, maintain a high level of activity, ... . There seems to be so much to consider, so many micro nutrients and other things to keep in mind. How does a hacker keep track of all this?
I love Hacker News apologists.
I managed to get it once, somehow, only to be asked again the next time.
I can agree with gofmt being great, but I can't agree that a simple newline before a brace should be treated as a syntax error. You're forced to use Google's coding style, whether you like it or not. Preferred coding style is subjective, and Go ignores the fact that not everyone works for Google.
I don't work at Google so its hard for me to say what the environment is like. That said, I would not have published this memo, had I believed the content, on a public work forum. In general I avoid any sorts of things like that on protected classes at work.

I would be open to going directly to HR to discuss it. I, for example, have done this to discuss team vs individual compensation at my job. While not the hot topic that this was, HR was super responsive.

In general, I think before you try to present on a public work forum one side of an argument about some biological subclass and their on average work ability/habits -- I'd think twice. Even with the absolute best intentions you can really isolate and offend people. And when this subclass is already a minority and less powerful, the effect can be compounded (at the end of the day, even the affirmative action programs are designed and implemented largely by white men).
Nope, a "civil debate" about PHP vs. ASP is a waste of time. No reasonable employer will give you space for debate between the two. If there were a company-wide week-long debate about PHP vs. ASP at my employer, I would seriously question whether I should be at a company where these sorts of questions are considered debate-worthy, whether I have to justify every decision I make about common-sense things (why am I writing shell scripts in sh instead of tcl? why am I using UTF-8 instead of EBCDIC?), and definitely whether I want to work with all the people on the wrong side of the debate - and maybe some of those on the right side, who are considering the matter debate-worthy - in the future, lest they pick apart every PR I make because of their lack of critical reasoning skills. I would certainly threaten to resign if forced to work with these people.

The fact is, the primary reason someone is a bad technical worker in this era is that they're a poor coworker. Almost no projects of any significant merit are developed by a lone hero in a corner.
Another reason why term coverage, not whole life/universal, is a better choice.
Or maybe people are just tired of seeing constant posts about this story.
I think that the meaning of OP depends on context. In general, you're correct. But cel1ne can be reasonably be referred to as the OP in our convo, since our discussion really doesn't have anything to do with the content submitted by the Original Poster of the whole page.
> They're just pushing off the capital cost of having an office to the employee themselves.

I made the same comment elsewhere. Completely agree with your post here.
That reminds me of the game Firewatch where they gave you a compass and a paper-like map and you had to use landmarks that you recognized on the map and in the environment to get around.

I'd like to see more large scale adventure games like this.
Not true. Even in h2, the browser will first parse the HTML to discover the `<link rel=stylesheet>` and it'll then go issue that request. In h2 it'll reuse the TCP connection (which is a win), but you've still got to round trip to start receiving the stylesheet response body.

FWIW here's a pretty good analysis that shows even with h2, bundling and inlining still has benefits: https://sgom.es/posts/2017-06-30-ecmascript-module-loading-c...
> 18th July – The team came back to me and asked me what my suggestions for handling this would be.

Surely they would make an offer of how much they would like to pay the OP before they expect the OP to work for them?
This digital nomad thing just looks hellish to me. Maybe I'm getting old.

Can't imagine being somewhere nice but glued to a laptop, or getting anything useful done without reliable wifi etc, or being part of a team where the boss has gone on holiday but still showing up in slack etc.

I'd hate to feel like I wasn't part of the team for not getting our kids together or not wanting to holiday or spend a day off with colleagues. I'm not impressed by instagram or medium posts from perfect looking beaches giving business advice.

Not sure when a lifestyle business went from being a business that fits around your lifestyle to making the appearance of living an idealised lifestyle everybody else's business.
It's not really goofing off, I absolutely work in several focused spurts during the day. Which is also why I'm never that fussed about turning up on time because I never do any real work in the morning anyway.

Can't dig it out now but John Cleese did a good talk on creativity explaining why this works and how brains solve problems in the background which is why inspiration hits in the shower and on the train. By alternating between focusing then procrastinating and ignoring work you can force a decent cadence of creativity into your work.
Do you really believe that the grass will be greener in the other cubicle?
Damore is smart enough not to come out and say directly that he believes all women to be less qualified; instead, he just strings together a series of assertions that leaves reasonable people with only one conclusion, which is that the women at Google are beneficiaries of a lowered bar that results in the women at Google being on average less qualified than the men.

I have very little patience with arguments rooted in "but that's not exactly what he said", because I have been on message boards for approximately the entire literate span of my 40 years on this planet, and the technique of couching inflammatory assertions in half-hearted hedges and deliberately ambiguous abstractions is the oldest trick in the book.

He allocated a whole subhed to his point, and the whole document builds to it. The subhed is: "the harm of Google's biases". The biases he's referring to are towards women and against men. The harm he refers to is "a lowered bar". His point is plain.

(I'm confident people aren't going to like this comment, but it is what I honestly believe, after what I believe to be pretty significant consideration, and no part of this thread is made better by me pretending otherwise.)
You hear this argument so often from fiat money critics, but it's plain wrong. The US dollar has an intrinsic value because it's the only currency that the US government accepts when collecting taxes. Since most people and companies have to pay taxes when working or operating in the US, there will be always demand for dollars. The same goes for all other state-issued currencies in the world.
I encountered this the other day, while playing with typescript for the first time. Is there a good solution, such as a utility function that does a runtime check before casting? I suppose I could write one for each type cast, but it seems like I shouldn't need to.
Colonizing on Mars and beyond??
We hear big time that we need to colonize Mars in the near future as there is potential destruction of earth and humans should be ready to deal with it. My question is

1. We have the earth where we all live and thrive. But we are destroying it, by various means and are not bothered to safe guard what we have. But we are so much into travelling to Mars or some other planet where you don't know whether humans or for that matter animals/plants can live and thrive on those? There are lots of variables, like the basic gases for life, water, gravity and myriad of others we take for granted as we are already adapted to live in this environment on Earth. Or this travelling to mars, mining the moon etc., basically some one trying to make a quick buck at the end of the day in the name of advancing science.

I am not against the development of science and technology, but looking from what and how things are going, it looks like its more of someone or a corporation trying to make money at the end of the day than science or safety to humans?

Why not focus more to safe guard the Earth we have?
Go permits struct fields to be public. Ergo, Go doesn't care about enforcing the notion that field access violates encapsulation. It is up to the programmer to decide what is being encapsulated.
But the top 1% provide the jobs. Unless the bottom 90% collectively strike, or you "nationalize" everything (that works really well /s), what ya gonna do about it?
What bands do you enjoy?
Dupe has more comments: https://news.ycombinator.com/item?id=14970256
Completely agree.

It doesn't even need to be a lifestyle business, nor in flyover country. I live on the Maine coast working for a large company. We even have a big office here! I'm mid 30's, wife, kid, and we have a nice balance. Yeah sometimes I work a bit more than I'd like, but 40 hours per week is normal, and for the times I work more than that, it's more than offset by my 20 minute traffic-doesnt-exist commute. I feel very fortunate to live somewhere that other people visit on vacation, but getting here isn't really that challenging.

Portland (the original!) has a small but growing startup scene if that's your thing. It also has some of the best food and beer in the country, which is a distraction I admit.
>No, I'm sorry, JS has not become awesome. We just arrived to a point were we accepted we have everything to built with it and agree to pay the huge price for it. That's all.

Yep, this is the crux. ES6+ has finally made JavaScript look more or less like the languages we were using in the mid-90s, so I appreciate that, but it's not like it's some glorious boon to the developer community.

Any gains from the new semi-tolerable semantics are quickly overwhelmed by requiring layer-upon-layer-upon-layer of crap, including hundreds of dangerous random modules from GitHub to compensate for the virtually non-existent standard library and a "build pipeline" that consists of several unrelated runners, bundlers, transpilers and transformers to make code that's actually usable in real environments.

JavaScript is a tragedy for the development community from start to finish, and its increasing prominence should disabuse us of the notion that development is dictated by meritocracy or any such fantastical nonsense like that. Marketing and groupthink have just as much pull here as anywhere else (if not more because so many of us egotistically believe we are immune to it).
I don't strictly follow this diet, but I have incorporated elements of it into my eating:

https://www.drfuhrman.com/learn/the-nutritarian-diet/how-it-...
Can you name one claim that is relevant to diversity at Google that is supported by any of the linked documents?

I do agree (and admit as much in that comment!) that there are claims that he correctly cites, e.g. "Women score higher for 'neuroticism' as defined by psychology." My contention is that none of those claims are relevant to any plausible thesis of the document.

(I think that saying "there exist irrelevant claims that are supported by science" is completely pedantic. If I write an nonsense essay about garbage collection vs. refcounting and correctly cite a scientific paper on the acidity of apple juice, I think it's perfectly justifiable to say that none of my claims are supported, since it's not an essay about apple juice.)
We don't have textbooks, we have worksheets. Worksheets with little or no explanation as to the expectations of how to complete the work. That part was covered in class. I was not in class, I was at work. My children don't always understand the alternative techniques and cannot explain them to me. I cannot assist my children in learning alternative techniques I did not learn.

Since we're generalizing, I think that most people that complain about complaining parents haven't taken the time to listen to what the parents are actually complaining about.
you cannot if you are using privacy badger.
Why is this flagged, and why do the submitted links keep disappearing? (This video in this link is incomplete, the full video is here: https://www.youtube.com/watch?v=SEDuVF7kiPU)

The full video is very well put together, including links to the scientific papers discussed. This is a high-profile event at one of the largest internet tech company in existance, and it has a bearing on every one of our lives.

So why is it being flagged and removed everywhere?
My main point was the loose coupling and getting off the hook from fossil fuels.

I shouldn't have made the point about city pollution as it just diluted the main point.

Nevertheless, the brake discs won't be any worse in electric cars, so it is an absolute reduction in pollution in cities. I've also only heard such things getting raise ever since we started talking about electric cars. When everyone is worring about NOx we forget about all the other polluting steps.

Coal power stations are the worst case scenario for electric cars and even with this things are on a par. But back on my main point with electric cars we can switch to Gas fired power stations and then to our own solar powered roof. With a Mazda ICE you're stuck on petrol.

Plus petrol in the long term can only get more expensive and solar can only get cheaper. Petrol is eventually going to run out and before that happens it's going to get very expensive. Solar panels and batteries will only get more efficient and cheaper to produce.

Battery recycling is definitely an issue and Elon Musk has quoted at the gigafactory opening that they can take all Tesla batteries back an recycle them fairly efficiently as their robots can strip the batteries apart as they have the schemas. Whether other car manufacturers follow suit is open to question.

As far as political reasons go, if everyone is driving electric cars I'm sure there will be much more political pressure to remove the polluting power stations because now CO2 is primarily the fault of the power stations rather than people driving around in their cars.
The point is not that 150 lines is better than 100, it's that two people with the same job do not have the same productivity.

Measure productivity by whatever metric you want, it's impossible for two people to do the exact same (amount / value) work.

The only way to prove salaries are just is for every single person to have a different salary.
> I'm really looking forward to the day when TypeScript platforms like Angular 4 compile down to WebAssembly and performance goes through the roof.

You will be disappointed https://github.com/WebAssembly/design/issues/219
Or it should serve as a warning that you need to turn the volume down.
I think his thesis is we shouldn't fix discrimination by actually perpetrating the same thing - just against a different group.
>Did he not release to the correct forum? What is the correct time and place?

I don't really understand the forum he submitted to. It sounds like a huge public internal mailing list. That sounds like the wrong forum to me. This probably could've gone to the new VP of diversity directly.

Maybe I'm overly paranoid but I pretty much never write anything about race, religion, gender, disabilities, age, etc... at work. And if I ever felt I needed to I'd do so very carefully, probably with the assistance of HR.

It's easy for the dominant majority in power to see this as holding back the one aspect in their life where they feel as if they are limited in what they can do/say. But these limits and implied apprehensions exist for good reason, IMO.
I was happy to see it there too, but if Cost of Living for San Francisco is 2.91 and Austin is 3.71, I'm having trouble putting much value in their metrics.