skysight-inc/HackerNews huggingface dataset:
Not if you follow Bayes' theorem. If you start with a prior distribution of beliefs about the likelihood of various ratios of boy vs girl births, the posterior distribution only depends on the observed outcomes. And the posterior distribution is exactly given by Bayes' theorem.

One possible source of confusion for you is that Bayesian ideas have been a source of inspiration for a lot of ad hoc techniques (eg naive Bayes) which do NOT follow Bayesian rules of inference. The reason is that exact inference in Bayes nets is NP-hard. So you're used to hearing "Bayesian" applied to things that have nothing to do with Bayes' formula.
the upvotes
Ask HN: What's the current state of XSS attacks?
I am reading "The Web Application Hacker's Handbook" and specifically the chapter on Cross Site Scripting attacks. The information seems slightly out of date, and most browsers seem to now protect against the attacks they're describing. What are the current avenues of exploits used for XSS attacks in 2016? Are the new client side frameworks like React and Angular largely immune to XSS? Are more mature server side frameworks like Rails largely immune? Are there any up to date resources on XSS attacks?
No. work on something part time until you have at least enough revenue to determine Customer Acquisition Cost and Life Time Value of a customer. Then you can come up with a solid plan to get where you need to be.
> Monopolies are prosecuted when they use their position to discourage competition, which stifles innovation. That's what Apple is in trouble for, by price gouging here.

Has that helped competition at all? It seems like before Apple's foray, Amazon owned the eBook market, and now... Amazon owns the eBook market. I don't really see how competition could have gotten worse, and after Apple's legal failures it hasn't gotten any better.
Standup Bot: Clear instructions are important
Regarding systemd I really want to move to bsd. But the last time I tried dragonfly bsd I had way too much trouble setting up brightness for my laptop monitor. Felt like the old days of Linux. But I'm keen on giving it another shot.
It's taken a ton of years, but here we are:

"If Microsoft ever does applications for Linux it means I've won." -Linus Torvalds
Right, they didn't have to work directly with their competitors; they went above their heads.
Source: https://news.ycombinator.com/item?id=11240961

edit: just to be clear, that is a link to this thread, which references the article we are discussing. That article includes a link to the amicus brief filed on Apples behalf from the publishers making that exact claim to the Supreme Court.
Very few users can detect that they are being tracked, so they can't avoid it. The tracking methods are designed to be undetectable; web beacons are invisible pixels; sites don't tell users: we track this info and share it with these people; even privacy policies usually are ambiguous, and they are too long and complex to read for every site someone visits.
Show HN: Lackdesk, a Slack integration for customer support
You must be thinking of forced IDs, the feature itself is several years old but it's been turned on and off through the years.

Something that isn't very well known is that 4chan is actually a lot of smaller communities with only partial overlap, and the culture can differ a lot depending on what board you are.

A strangely effective rule of thumb is that the smaller the community is, the friendlier it acts.
IDs are only enabled in the bigger and most controversial boards of the site, where people otherwise don't hesitate to abuse their anonymity.
Thanks for the assist, looking forward to testing this out.
Lackdesk brings all your user messages/feedback/suggestions/complaints to the one place where your team can truly collaborate and respond: Slack. With Lackdesk, responding to customers will be as easy as slacking a colleague. No external help desk needed!
They were likely referring to the cross-platform .NET Core stuff: https://github.com/dotnet/cli
Not to shit on you in particular, but you seem to have a bit of a chip on your shoulder about other forms of software development being done.

Everyone rationalizes what they do. People working in those other industries will usually tell their version of your story: "I'm not working on some shitty game that will be forgotten in a year... I'm working on building a social revolution!!!!"

Sorry. For the most part it's all about someone's bottom line. Indie game development isn't any purer than working for startup X on Bush st. that has similar lofty goals about "making people happy."

> get bigger returns for a financial firm

This is especially funny to me. If you're working for even a Mojang-sized studio, I hate to tell you but: You're definitely using technology to get bigger returns for a firm.

Sure, it's not a financial firm. Let's not pretend that the differences are all that meaningful. Instead of stock market returns, game studios just seek to maximize the return they get on game development time.

EDIT: s/Riot/Mojang. I didn't realize how large Riot has gotten.

> I'll never grow tired of that.

Great. And EA will never get tired of people working themselves to death for what inevitably amounts to minimum wage given the hours worked. Guess it's win-win.
I'm fairly sure Apple wasn't accused of anything relating to monopoly power; they were accused of colluding with publishers to effectively force Amazon to move to the "agency" model rather than a wholesale model, giving the publishers control over retail pricing of their books. This is covered by antitrust law, but it has nothing to do with monopolies.

It's not really fair to accuse Apple of "price-gouging," either. (It's also not generally illegal.) Apple never mandated prices for publishers any more than they mandated prices in the App Store; publishers could have moved to the agency model and still decided to sell all their books at $9.99 or less. They didn't have any intention of doing that, of course, but that has little to do with Apple. Publishers were afraid that Amazon was on its way to becoming a monopsony, and that with 90% or more of the ebook market they would be able to simply tell publishers "we've decided you're going to sell your ebooks to us for less now, and because you have nowhere else to go if you want to sell them, you're going to do it."

And honestly, that wasn't an irrational fear. From all appearances, Apple did really violate antitrust law due to the collusion, and one can make a good case that ebook prices from major publishers are generally higher now than they would have been otherwise. But that doesn't mean that this couldn't become a "Vlasic and Walmart" situation, where one seller becomes so powerful that they distort the market. To me, this is the real irony of this whole case: the DOJ was essentially right to go after Apple, but Apple's argument against Amazon is also essentially right. If Apple had just said "we're using the agency model, set your own retail price," they wouldn't have gotten into trouble...and, of course, they'd constantly be undercut by Amazon, which just like Walmart is perfectly willing to sell stuff at a loss to hurt their competitors.

This is something I still worry about with Amazon and "indie" publishing; friends of mine who are self-publishers often say that they make 80-90% of their sales on Amazon. And that's great, at first glance, but Amazon already finds a lot of asterisks to attach to that "70% of your retail price goes to you" promise. (That's only true within a certain price range, they deduct "delivery charges," and there's the whole fustercluck of Kindle Unlimited.) And if at some point Amazon says, "You know, going forward, only 60% of your retail price goes to you," well, who's the competitor who's going to keep them in check? Apple?
Everyone already knew linux for servers is winning.
I've been wanting a service like that for a long time.

Here's what I would have thought of doing if I were you:

Step 1: Copy github, but with features people want.

Step 2: Online IDE for the projects (with distributed compilation/testing).

Step 3: Market place where people can hire programmers on demand to work on their project.
Show HN: Obsolete Git Branches Remover
Seems like March has been quite warm in the eastern half of North America and Europe - not sure about other places.
How Lyft Taught Uber to Break the Rules
That first link has been discussed many times on HN and the consensus always is that the author is extremely ignorant.
At that point, "Sybase SQL Server version 4.2 and Microsoft SQL Server are identical."

Well, that's 23 years ago...

But even at mssql V7[0], most of the systems had internal rewrites that made them different than Sybase.

[0] - https://blogs.msdn.microsoft.com/euanga/2006/01/19/sql-mythb...
Finding your focus and getting things done
The thing is there are people who think that riding a motorcycle without a helmet should be against the law. Not because it reduces injuries in ERs and save lives, but because supposedly the relatives of those people have interests greater than that of the individual being reckless. That to me is troubling since then by such inference that obese people should be fined until they get closer to their ideal BMI. Or smokers too. Hell, anyone that enjoys coffee a bit too much. The point is where you draw the line? I think we should err towards the individual liberty side of that line as the unintended consequences will shake out easier in that regard than if we decide towards paternalism.
He tried the Japanese concept of anonymity from 2 channel ...

> > A: Because delivering news without taking any risk is very important to us. There is a lot of information disclosure or secret news gathered on Channel 2. Few people would post that kind of information by taking a risk. Moreover, people can only truly discuss something when they don't know each other. If there is a user ID attached to a user, a discussion tends to become a criticizing game. On the other hand, under the anonymous system, even though your opinion/information is criticized, you don't know with whom to be upset. Also with a user ID, those who participate in the site for a long time tend to have authority, and it becomes difficult for a user to disagree with them. Under a perfectly anonymous system, you can say, "it's boring," if it is actually boring. All information is treated equally; only an accurate argument will work.

https://en.wikipedia.org/wiki/IRC@2ch

...and it was a disaster because pathological arseholes.
The code in Apple's case is the release build key. Only Apple has it, and it takes a day to use it to disable the autodestruct. Ergo, the analogy fits perfectly.
It might have hurt them, we'll never know. But they made it until 2016 with that attitude, so it's not like they _needed_ to realize anything.
That's not part of the boot chain. That's for OTA updates.
I agree that protectionist regulation is an issue that states really need to examine. However, I really don't see how you can view the policies violated by Zenefits as one. They are basically in the business of selling one of the critical infrastructures for most peoples life. It's easy to say oh this is just to protect incumbents but realistically these are people who are operating in a stupidly complex system where a mistake can have dire consequences for someones life. 52 hours is in the long run very little. Yeah it may suck if you hire someone and they can't do work for a few days but the alternative is allowing people who aren't actually fully informed to work in an industry where that lack of knowledge can materially affect peoples life. I'm not ok with that. I've seen what a lapse in coverage at an inopportune time can do to a family. It's not pretty. Really I'm more concerned that 60% is considered an acceptable passing grade. Instead of arguing for less regulation we should be condemning this entire company and demanding higher standards for the exam.
Retribution for standing up to the tyranny?
As someone who was once a bench scientist, I'd love to think I was immune to these kinds of pitfalls. After all, we control things carefully in the lab, we can control many more of the inputs to an experiment, test a hypothesis by different avenues, have truly independent controls...

But this is a very large literature, that in effect by sheer volume of work was doing many of those things. This is quite humbling.

That said, I do think that medical science, though massively flawed (see previous discussion on clinical trials no longer revealing positive results https://news.ycombinator.com/item?id=11209778) there is a way to make it so we can trust science. By:

1.) as previously said given a hypothesis, it must be confirmed by 2 independent approaches (if this is true, then this other thing should be true, is it?)

2.) publishing more negative results, removing the incentive for the file-drawer effect mentioned by @jobu

3.) require much larger sample sizes for studies to be published, and take effect size properly into account when judging whether the outcome is valid. One interesting way to do this:

http://www.stat.columbia.edu/~gelman/research/published/retr...
The scanning process may interfere with the ability of other members of the public to enjoy the work in the usual way.

The scanning process may damage the object in some small way, which could accumulate over the course of multiple scans.

The queue for making volume scans may be packed with amateurs, who will make low-quality scans, with limited distribution. These might prevent the timely creation of a high-quality scan.

So it is really in the interest of the public to allow the most competent scanner to jump the queue, make the best possible scan with available technology, and distribute that to everyone who wanted a scan in lieu of allowing them to make their own.

If a work of art is removed from exhibit once every decade or so for a new scan that is better than the last scan, and that is distributed libre to any visitor that wants a copy, there is no argument to be made for anyone to make another scan, unless it can add information that is not already in the existing files. For instance, if the usual scan relies on reflected visible light, a magnetic scan or transmitted light could reveal other information, such as perhaps a previous image that was painted over.
> force Amazon to rise the prices as well (through agency pricing).

I think those Amazon <---> publisher contracts all got nullified as part of their settlements with the government.
For MySQL vs PostgreSQL, I link people to this one: http://grimoire.ca/mysql/choose-something-else
I used to think you can draw sharp lines here, but not anymore.

Marijuana is demonstrably less harmful than alcohol. It being illegal is flat out insane and can have no explanation other than ignorance, stupidity, or malice.

I definitely think that non-addictive psychedelic drugs with no demonstrated human toxicity (or not exceeding OTC drug toxicity) should be legal. Perhaps there should be some restrictions. I would be in favor of some form of licensing or gating to set some minimum level of personal responsibility. Maybe if you freak out and end up in a psych ward or commit a crime you lose your license. I'd put it in the same category as driving a car, riding a motorcycle, operating a motorboat, etc. People are going to be stupid with LSD but people are stupid with motorcycles and rock climbing and those are legal.

Harder drugs? I'm open minded. I used to be against the legalization of heroin, crack, cocaine, meth, etc., but then I read up on Portugal's experience with heroin and now I'm more open to the idea of a pure harm-reduction approach. But I am wary of these. Alcohol is legal and there are alcoholics everywhere. I don't think criminal prosecution is the right tool for the job, but I also am not sure we want more of that.
Keep in mind that SQL Server basically runs on top of it's own conception of an operation system even when installed on Windows. It's called SQLOS and the work done on that was probably what largely enabled this to happen because there was already an existing layer of abstraction in place for development to use.

That said, I think that this will probably come with a large amount of caveats, for instance, I wouldn't be surprised if when it launches it's just the core SQL engine and not the extra pieces (SSIS,SSAS,SSRS,MDS, et cetera).
Though this news is pretty shocking, I don't think that the horsemen are nigh until MS releases SQL server under GPL.

If that happens then I'm packing up and heading for the hills, this world is done for.
Seven Hanged: The Book That Started World War One
You may want to look at the OPENQUERY syntax, which may help to resolve performance problems related to remote joins.

Edit: Useful if both tables in join are on remote (linked) server
Evolution stops specializing when said specialization offers no beneficial adaptation sufficient for the metabolic cost. It's why the vast majority of living organisms have much simpler brains, body plans, and even reproductive strategies. Humans and other similar animals are rare little things in the vast ocean of simpler, more elegant mutations.
UFC 196: Conor McGregor vs. Nate Diaz Post-Fight Press Conference
Somehow the submitted link got mangled:

http://spectrum.ieee.org/tech-talk/computing/hardware/encryp...

The article has a broken link to the paper abstract, which is "Realization of a scalable Shor algorithm" available here:

http://science.sciencemag.org/content/351/6277/1068

And I'm yet to find a full copy of the paper anywhere, but it sure looks interesting...

Edit: Ah, here it is:

http://arxiv.org/abs/1507.08852

There's also "Compiling quantum algorithms for architectures with multi-qubit gates" which cites the above:

http://arxiv.org/abs/1601.06819
The door is already open - nVidia's graphics driver is closed source.

Besides it should be possible to easily distribute third party binary drivers for Linux and have some reasonable expectation that they work. The fact that you can't is one of the biggest reasons Android updates suck so much.
Yes, I've seen Computer Systems Analyst with grade 12 highschool and 12 years of experience work. (Anecdotally 12 years of relevant experience = 3 years of degree work, but I've not seen that codified anywhere).
Woboq works well!

I use it for few months: http://vmorgulys.github.io/stackcity/doc/woboq/html/stackcit...

I have a lot of errors (from clang) because I use some C++17 stuff (from gcc, not yet in clang) but the output is still generated.

I wonder I anybody as an experience with DXR:

https://dxr.mozilla.org/mozilla-central/source/

About money I think it's difficult to sell something like that but those guys are in that domain too:

https://sourcegraph.com/

Someone pointed static analysis. It's a good idea to add a value that is not accessible with the free version.
> Why does everyone, including your boss, have to know what you did yesterday ?

To identify blockers. If a member is blocked by some external factor over which they have no control, then the team leader is required to intervene/escalate to solve it to allow the member to progress.

Formulating what you did yesterday, what the goal of work is today and identifing blockers in a few short sentences (literally 30s-1m) is less management overhead than anything else I have experienced. Certainly beats filling in reporting documents.
I'm sure MSSQL is nice, but my money is on PostgreSQL being even nicer.

Having used both, I'd take that bet. MSSQL is in my opinion the best DB out there in terms of ease of use, documentation, integration, and tools. PostgreSQL is a distant second, and SQLite is probably a distant 3rd (though it's really not in the same category).
Donald Trump Says "China"
https://www.youtube.com/watch?v=RDrfE9I8_hs&feature=youtu.be
You're entirely right about the quality of writing that comes out. I wouldn't be so quick to blame the users, though. The tools have settled on general design decisions that encourage this usage, primarily:

1. Input boxes too short to see more than a few lines of text, and of course they are not resizable.

2. Pressing <enter> sends the message, so you can't really write more than a paragraph anyway. It's usually possible to insert CRLF by something undiscoverable like shift-<enter>, but you're nervous the whole time you type it in case it sends before you're ready.

3. No spell checking.

It would be an interesting experiment to see if behavior changed much just by addressing these 3 simple items.
Now if they port Microsoft Office, we'll finally be able to say: "hell hath frozen over".
Except that the primary focus of pain management services seems to be overwhelmingly about reducing opiate intake, rather than helping the patient deal with pain.

Maybe there are no good choices for some long term pain.
Coding Challenge
My team is hosting a coding challenge in Buffalo NY in a few weeks. I wanted to inquire if this site would work for getting the word out or is there a better recommended method?
> Many of them are the kind of jobs that now pay $300,000 to $1 million a year

yeah, but you have to work for Oracle.
Linked servers in Postgres can be implemented using foreign data wrappers (part of the SQL/MED implementation in Postgres - MED = management of external data which is actually in the SQL spec):
https://wiki.postgresql.org/wiki/Foreign_data_wrappers
The claim the significance has nothing to do with the magnitude of a difference is just wrong though. It clearly does, this information is just merged with other information about the variance and sample size to get the p-value, which is compared to a threshold to get significance.
Given the much smaller carbon footprint and empathetic connection humans have with bugs, I wonder how most vegans/vegetarians feel about incorporating it into their diets.

Seems like an amazing source of complete protein and B12 vitamin.
http://www.cricketflours.com/5-reasons-you-should-be-eating-...
Ok, good. Now how much a SQL Server on Linux license is going to cost ? Does it mean businesses using Linux will now be subject to Microsoft license audits ?
How long until Microsoft put out their own BSD distribution?
Before Microsoft gave us the XMLHttpRequest, and before IFRAMEs were everywhere, this is exactly how, and with FRAMESETs and target="" one could track session length, reload other parts of a page after some given time, allow forms to interact with complex flows and various other things.

The "virtually invisible frame loading in the background" trick is going to be around for a long-term and seems destined to be re-learned many times over.
Don't see that one happening. Exchange is too tightly coupled with Active Directory and IIS.
What metric are you using to compare databases? It sounds like you're saying MySQL, while crap, is better than commercial databases.
I'm not a mobile user, so this is probably unworkable.

But anyway, why not download to desktop, and then transfer to mobile device? Destroys spontaneity, I know.
I thought the point was that, for minor crimes, it makes sense to plead guilty because the resulting prison sentence is shorter than waiting months in jail for the full trial. It's not a risk calculation.
cjpeg -sample 1x1 does the trick. Also, I recommend using mozjpeg if you already aren't.