skysight-inc/HackerNews huggingface dataset:
If every family only has one child, nobody has any brothers; the results are equal at 0 average brothers.

If we take some distribution over size n of the families, say a distribution where family size is either 1 or 2, then the 1-size families don't contribute (they add a zero to the fraction, dragging the probability down in a systematic way equal for both sexes), and the 2-size families have four equally probable outcomes.

those four outcomes (bb bg gb gg) yield:

two females with no brothers.
two females with one brother.
two males with no brothers.
two males with one brother.

i.e. the average numbers of brothers are equal (1/2 for males, and the same for females.)

The next layer, where n = 3, there are (ggg ggb gbg bgg gbb bgb bbg bbb) 8 combinations, yielding:

three females with no brothers.
six females with one brother.
three females with two brothers.
three males with no brothers.
six males with one brother.
three males with two brothers.

Average number of brothers for females is (30 + 61 + 32) / 12 = 1. Average number of brothers for males is (32 + 61 + 30) / 12 = 1.

for n = 4, (gggg gggb ggbg gbgg bggg ggbb gbgb gbbg bggb bgbg bbgg gbbb bgbb bbgb bbbg bbbb), there are 16 combinations (yes, these map to binary integers quite nicely):

four females with no brothers.
twelve females with one brother.
twelve females with two brothers.
four females with three brothers.
four males with no brothers.
twelve males with one brother.
twelve males with two brothers.
four males with three brothers.

Again, this comes out at an even probability - 48 / 32 = 2 brothers, on average.

By induction, we can say that for any n, the probabilities are equal (if the probability of male and female children is equal).

Thus, for any distribution of family sizes, the probabilities are equal.

---

Real world criticisms:

* males are more likely (~51% of births naturally, higher thanks to sex-selective terminations in China and India.) Thus, outcomes with more males are more likely, which skews towards male-heavy families. While this means both males and females have more brothers, there are more males to count with higher numbers of brothers, so their average goes higher.

* males die more frequently at younger ages, so older people will have fewer brothers than younger people.
> The recruiting process is deliberately set up to yield a lot of false negatives

Absolutely. There are a hundred bad candidates for every good one, but large companies reject good ones as well will bullshit justifications for a reason: rejection keep salaries down.
May not be a fit for the situation you describe, but mounting a Sinatra app inside a Rails app (or mounting it at the Rack level) can be a solution. I think more people come at it the opposite direction you describe: start with Rails, and build out smaller apps in Sinatra when Rails feels too heavy.
> The original statement was obvious hyperbole

You'd be surprised, I know many folks that are convinced over half the country uses Netflix. Filter bubbles can heavily influence those perceptions.

> There's five people in my house using my account, all immediate relatives.

My dorm shared an account in college... we had 8 people on the same account. 5 now have their own accounts, including myself, and the rest stopped using Netflix. Conversely, my parents and their neighbors are DVD-only Netflix customers.

I think the truth is somewhere between 100 million and 35 million streamers, which still puts it at (late) "early adoption". In that context the spread of streaming exclusives is a little worrying... "Stream anything at any time for a flat rate" is a very disruptive vision. "Some services have some of what you want" is a much weaker sell.
Semi-related: an archive of the PC ASCII & ANSI art scene: https://artpacks.org
(0) You can't forget to call “Dispose” if you need objects to be cleaned up in a specific order.

(2) Try this:

Dim V() As Long, W() As Long, i As Long

ReDim V(1 To 10)
For i = LBound(V) To UBound(V)
V(i) = i
Next i

W = V
For i = LBound(W) To UBound(W)
W(i) = 2 * i
Next i

Call MsgBox(V(5))
Call MsgBox(W(5))
Hulu is a great example of an company working super hard to un-innovate innovation. They had the distribution, rights, timing, capital and credibility to at least compete with, if not overtak netflix, but they couldn't Clayton Chrisitiansen it.

Let's examine the Hulu usecase & customer storyboard. Who the fuck would want to pay, to watch selective programming...with commercials? What customer wants a worse, more tempermental version of their DVR box, that forcibly eliminates the features making a dvr/tivo box useful?

Not only that but HBO? are they kidding. I am an HBO customer and I pirate HBO shows because they load faster and are in at least as good quality.I used to do this to Adobe. I commend them for lowering their product price and really getting competitve/offerig a ton of value. I pay $20 for creative cloud which is totally worth it for me vs. the time/aggrevation of pirating.

I would've paid for hulu if I could watch shows as they aired, and anytime after, without commercials. Obviously, I can never pay for/trust them and never will, now. Netflix really needs a competitor...

edit, to people saying HBO Now is good. HBO Go started in 06'. If it takes your company (one with the highest leverage in the industry) one decade to achieve mediocrity, you're already dead.

Let's explore HBO further. HBO is a compan that primarily buys an resells content through a dying (but currently critical) distribution mechanism. Sure they develop their own content too, and it is really good tbh. It's just that when they end up like blockbuster, they will have to sell it through netflix. I mean, how the fuck didn't they see this coming...
The crazy dream of modular smartphones
Its a nice little bit of common wisdom that "free is always better," but its not actually true- if it were, Netflix and Spotify and their ilk would never have gotten off the ground, since there's not a thing they're selling that can't be pirated (and no realistic chance of punishment for piracy.) We're not homo economicus.
His writeup: https://zachholman.com/talk/firing-people

We cannot know for sure whether it has anything to do with his firing (and he doesn't mention it in the writeup), but Julie Ann Horvath did accuse Zach of harassing her at GitHub.
I agree that it isn't debatable. You are wrong. The law is clear on the subject. Copyright infringement is copyright infringement not theft. These are different crimes in all jurisdictions I have ever hear of.
Common enterprise OO problems. It is neither confined to Java nor representative of Java as used outside enterprise development.
Serious question: At what point does it become the problem of the person to integrate vs the problem of the group to accommodate?

We've heard many stories of how it only takes one asshole on a team to ruin the team. However, assholery takes many forms. It includes the perpetually acerbic who's impossible to work with, but it also includes the perpetually offended who derails conversations into pointless tone arguments and recursive meta-discussion unless you walk on metaphorical eggshells when speaking to them.

Lots of talk about the former, little to none about the latter. I'd wager that if you're running a team whose purpose is to accomplish a set goal, the latter is necessarily more destructive than the former from a sheer time commitment standpoint, and that's before discussing the "meta is murder"[1] principle.

Then again, I'm speaking from the standpoint of a group outsider. If you have a culture that demands civility above all else (up to and including logic and correctness), that group is probably okay with how they work, and would rightly judge poorly anyone who wouldn't conform to that culture.

[1]: https://blog.codinghorror.com/meta-is-murder/
> You can write a compiler in a non-Turing-complete language. This is impossible for an interpreter.

Mind proving?
Have you looked in to Padrino? http://padrinorb.com

You can cherry pick parts of it out in to a Sinatra app, or you can swap out `Sinatra::Application` for `Padrino::Application`.
You might want to check out Padrino (http://padrinorb.com). My understanding is that it is built on Sinatra, but makes it easier to add some of the Rails-like functionality in a more modular manner.
Lightswitch was an amazing example of poor positioning. If you looked at the marketing material for it, it was positioned as a tool to "build three tier web applications" followed by a bunch of words that I didn't really understand.

It's really sad, because the tech there was really impressive.
Profiling and Optimizing Go [video]
Thanks for the kind reminder. At the same time when the VB was a popular tool, I looked for similar platforms on Linux. Gambas provided very familiar, if not identical syntax, however its Forms editor wasn't as nearly as powerful as VB's. Anyway, I'm glad to hear that Gambas is still around, will certainly play with it.
It depends on the court, and how clearly a quid pro quo can be established.
> Strong AI is most likely to bring 2 outcomes: salvation (if we're very careful), or doom (the default outcome).

Funny thing is, it's not like AI is going to make a landing here from outer space. It's not some external factor that we don't control. It's us who are building it. Any possible outcome could be avoided if we just stop working on it.

I know this is not going to happen, but I feel this is the kind of obvious thing that ought to be stated once in a while.
VB6 is/was certainly "real programming". I took that line in the post to be kind of mocking to people that would say that it wasn't.
It's not so much the idea of smoothies or protein shakes or yogurt drinks or whatever (tasty) on-the-go nutrition you choose. It's the mentality around "lifehacking" and my work being too important and all-consuming to partake in the types of life activities that the muggles do.
I get emails most days (5 out of 7) from recruiters. They're mostly bots, but if you put your resume on the wrong site, you get on a series of lists, and can't get off of them.
Or that they wanted monopoly power so badly they paid extra for it.
what files would you consider unnecessary?

will you tell me what you want to delete before you do it?

will you let me white list files/dirs/apps?

will this affect other users or just the current logged in user?

will you prevent this from running if you don't have a new list after I upgrade/downgrade to a different OS version?

What features will exist that aren't found in current solutions, such as App Cleaner?

how have you arrived at a value of $25.00 for an app you haven't defined features for and have not created yet?

too many questions, not enough time...
Clearly the idea that words have meanings beyond statistics terminology is confusing you.

And no, I'm not calling standard mathematical terminology Orwellian. What I'm calling Orwellian is your describing a biased system as unbiased (by attempting to reframe the discussion around a specific statistical definition, chosen by you).
ASCII is a character encoding designed for computers. I wouldn't have been picky about the author calling it ASCII art but he also says ASCII characters in several places. So what should it be called? How about type art?
Ask HN: Does anyone know of any good iOS Storyboard tutorials?
Guatemalan deportees use their English skills to get by in their home country
Twitter is testing a night mode on Android
Does this work for autoscale runners? Are those privileged by default?
Given that we are talking about digital files rather than physical goods, I don't think the first sale doctrine is the appropriate precedent to look for. However, when you say,

> If everyone could license the content at a reasonable price...

...I think you're touching another precedent: compulsory licensing (or statutory licensing, in UK parlance).

https://en.wikipedia.org/wiki/Compulsory_license

This is an interesting idea, although it'd be tough to get the right people to agree to it. It also raises the question on just what streaming services would be competing on, if not content. UX, perhaps?

My guess is that under a scenario like this, the price for any one service would be substantially higher than what we're paying now for Netflix and competitors. I'd personally be just fine with a service that had, say, a $30-40 month range, even if it were partially supported by ads the way Hulu is (although it'd be nicer if, like Hulu, you could pay a little more to make most of the ads go away).
CPython is an interesting read. The internal type system (PyObject) is pretty cool. It also uses type pruining instead of a discriminated union.
TL;DR pro-tip: to see the ASCII art in question, just scroll down, they are surfaced in the article, not sequestered as links
Or in Australian English where a couple of weeks ago becomes a cupala weeks ago.
I doubt it. There is lot of politics and bureaucracy in India. Microsoft has got lot of government projects which I think would not be possible without lot of lobbying and investments.

Amazon has just started there so it will take sometime before we get to know the details.
Ah, it's only in some categories. That is definitely a neat feature now that I see it. Unfortunate that the licensing makes this something I can't use. I'd never get your license text past the legal team at my day job, and almost all of my side projects are FLOSS. Plus, having a policy of never using anything that I can't either own the rights to or use and modify under a permissive license makes my IP management so much simpler.

The summary license says that you can't redistribute the graphics. Admittedly, I'm used to licenses such as GPL where including the file in an app's package file would be "redistribution" - it looks like you mean "no redistribution of JUST the graphics file" which could perhaps be clearer.

Also, the license seems really concerned with not putting any of your graphics in a theme or template. Why is this? I'd consider offering a licensing option which permits this, perhaps on a different pricing structure.

You say can't use in/on a paid product, but can use in a paid service. That's confusing because I'd think of my paid website service AS my product - I think you might mean "no use on physical goods for sale" which is another restriction I don't particularly understand but okay. Again that might be something to offer an option for.
Sure there's in between sizes, but the population willing to commute to a suburb of NYC is also small relative to the city proper; as is the population available to a mid-size city (which may have commute time problems of its own and doesn't have the employment draw of the hugest cities).

And people may both move irrationally in search of employment and move rationally despite huge commute times (if the greater chance at a higher income outweighs the commute time for you). Or you may move based on rational principles but incorrect premises about how long you'll have to commute. Or move despite a long commute with the expectation that working in the city will give you chances to advance in your career and soon be able to afford a shorter commute.
Antibiotics’ side-effects include immune disease and fewer brain cells
Bayer Makes $62B Bid for Monsanto
Yeah, I won't get everything with all of these providers, but I try to prioritize my spending toward the companies that match the closest to what I want. Netflix tends to be at the top.
Despite Deadpool being a Marvel property, the movie itself was primarily produced/distributed by 20th Century Fox, so it's probably just different licensing between different companies.
He or she is quoting Good Will Hunting, I believe.
What is it going to take to convince you that the choice of model and which data to use as input is just as important as the analysis itself?

I'm already convinced of this. Are you trying to imply that the cox model is wrong or something? If so, why not just make that argument explicitly?

Of course, if the Cox model is wrong, why do you believe the algorithm is biased? Isn't that reason to disregard the entire ProPublica article (which is all based on the Cox model)?

Depending on the situation, using race or other protected classes is illegal.

Did you even read the article? "Northpointe’s core product is a set of scores derived from 137 questions that are either answered by defendants or pulled from criminal records. Race is not one of the questions. "

/sigh/

You can emote all you like. Reality does not change.

I must admit, the emotion on display here confuses me. Much like you I oppose racial bias. The R script provides evidence that very little racial bias is present in this system. Why does this inspire such negative emotion? It's almost as if you care more about looking anti-racist than you care about having racism's effects be reduced.
Don’t break the chain: why we’ll miss GitHub’s streaks
New AWS Quick Start Reference Deployment – Standardized Architecture for PCI DSS
Brace yourselves for neverending kitten streams: Facebook nonstop Live
5 Critical Daily Tasks for Mobile DevOps
I have some qualms with WPI but overall I wouldn't change anything about my college experience. You are correct, most of the kids there are passionate about what they are studying. This is an attribute I found disturbingly absent in many campuses that I visited during my college years. WPI, at least in the CS dept, is very focused on "learning how to learn" which is why I think this happens.

Another aspect is the "WPI Plan"[0]. Over the years there have been talks of getting rid of it. But if they don't, definitely encourage your son to consider WPI. Without the plan, I'm not sure what the point of going there would be...

Also... Worcester as a city tends to get a lot of shit. This is from people who have never been there or never put in the effort to go off the beaten path there. The "mainstream attractions" in Woo are pretty lame, no doubt. But Worcester is a city that rewards the open minded and creative, not those who enjoy "plug it in and it works" activities. To a certain degree WPI is the same way.

Not sure how far off you are from the college touring experience but feel free to shoot me an email (in bio) if you have ever any questions about WPI.

[0] https://en.wikipedia.org/wiki/Worcester_Polytechnic_Institut...
Jupiter estimated to get hit by an asteroid six times per year
If you are going to argue a single dictionary definition, you should immediately stop holding a mouse when using a computer. Rodents don't like being held for long times, be connected electrically to a machine, nor do they like being rubbed on a pad.
You don't pay for channels you don't want. You pay for the channels you do want.

http://www.slate.com/blogs/moneybox/2013/01/26/cable_unbundl...
And most offline payments have never required passwords, only usernames.
Please do not read the linked article. It is, at best, a scattered collection of recent events concerning Apple's moves in India.

There is no illuminating insight or commentary.
Really? Goodreads reliably emails me every month about new releases of authors I've read. I actually love them for this, because amazon does a terrible job of notifying me when authors from whom I've bought multiple books release new books.

ps: authors -- get a goddamn email list. You can write short fiction set in the same universe as your longer works and I'll buy it for $3 for 30 pages. Way more profitable than a whole book. Have a gap between releases? Spend 2 weeks and earn $10k or more. It's nearly free goddamn money. See, eg, Mira Grant.
The “Panama” Accountant Job Description
To encourage use of some API that they provide.
I don't know, sounds like he went through nine pretty miserable months dealing with the failure, and now is starting a mental health startup to help others manage the mental challenge of startups. Feels to me like he felt the weight of this failure, my read is that the statement about success was himself still trying to tell himself he's ok. Failing in a startup sucks. People kill themselves over that (including a friend of mine). I think we should forgive those who fail, it's a necessary part of the startup ecosystem, and let them move on with their lives.
Still the same clueless Microsoft PR: picking at scaled over wounds. Well I guess we're all just grandpappies so WGAF.
It's easy to see why it's like that. For example, there's a market (a country) with 5 players. Each offers you 500 Euros for a run of your long-forgotten movie. That's 2500 Euros if you got them all to buy it. One of them says they will buy it, as an exclusive, for 5000 Euros. It's as simple as that. I work in this sector (not the business side though) and that's what I see each day. To add onto that, sometimes it's even that one (from our example here) offers you 2000 for exclusive, and that's what you take because others won't buy it, or one or two will. You get the idea.
This was video with Martin Odersky. Not sure where
The original Visual Basic was revolutionary. As a long time c programmer, at the time, I saw the custom control market opportunity and jumped in as co-founder of Mabry Software. Life was good, until vb.net.

I also wrote a bit, for example:

http://www.amazon.com/Visual-Basic-How--Definitive-Problem/d...
What? netflix's market cap is ~25% of what disney is worth, I would be shocked to see disney or really any company make such a large acquisition without it really just being a merger.
Has political correctness gone too far?
We are investigating what it will take to enable this on GitHost.io. At first glance, it doesn't seem to be too difficult. I created https://gitlab.com/gitlab-com/githost/issues/12 to track this feature request.
I do warm-up problems like this even when starting hour long code interviews. I don't like FizzBuzz though, I like to use same difficulty questions that can be expanded onto other tasks, a point-in-rect sample question can turn into a real bounding box question.
Writeup on that situation (but lacking any concrete specifics about Holman, it's important to note): http://www.dailydot.com/business/julie-ann-horvath-names-git...
French free ‘school of the future’ heads for Silicon Valley
I migrated to GitLab after GitHub refused - either in writing, or even in person! - to respond to my questions about Opal.rb.

Specifically I was asking whether their hiring Coraline Ehmke constituted an endorsement of her behaviour towards that project, and towards politicisation of OSS in general in that manner.

It's looking increasingly likely that I made the right call.
I don't understand. What's hard about having multiple streaming services? It's not all that different from having different channels on a TV.
there is no such thing as random
My instinct is those are relatively recent, say in the last fifty years or so - but it's worth pointing out that no speaker of American English would be confused by "a couple of weeks ago". A counter example could be the way British English elides the definite article, like "when I was in university" or "she was in hospital for a month", which sounds strangely clipped to speakers of American English.
There's nothing I love more than a long thread of point-by-point rebuttals, but I think I'll leave this one alone for once. ;-)

If you like what you're doing, more power to you. I picked up Ruby because I thought it showed promise as a good scripting language and web development tool (this was pre-Rails) at a time c# didn't really excel at either.

> You seem like quite the masochist

Maybe. DM was created to solve a problem. I didn't burn anything down. I just walked away. The best time to do the right thing is yesterday. The next best time is now.

After 8+ years, I realized I'd spent much of it trying to work around limitations in Ruby. It was just time to open myself up to the idea that there is more to programming than what I knew.
Would you please tell that to the architects I work with? We're reinventing relational databases over the top of Spark.
Mark Cuban says Hillary Clinton wants to meet with me