Beta

# Slashdot: News for Nerds

×

### Thank you!

Before you choose to head back to the Classic look of the site, we'd appreciate it if you share your thoughts on the Beta; your feedback is what drives our ongoing development.

Beta is different and we value you taking the time to try it out. Please take a look at the changes we've made in Beta and  learn more about it. Thanks for reading, and for making the site better!

top

### Experiment Suggests Monkeys Can Do Basic Math

I used to be in math-heavy secondary school, with non-trivial math curriculum. On one of our religion lessons, priest when presented with the question "Do dogs have souls" answered clear "No". By my friend was pressing - "But when you look into dog's eyes, you can see a thinking, sensitive being there, doesn't that suggest it has something like a soul", priest desperately looking for "shut up" answer, replied "No - see, if you give the dog your math exercises, it will not manage it, so it doesn't have a mind and soul". To that, reply was short "Neither will you..."

So, according to my religion teacher, we can rename the headline to "Experiment suggests monkeys might have souls" ;)

2 days ago
top

### Obama Says He May Or May Not Let the NSA Exploit the Next Heartbleed

Were NSA servers vulnerable? (134 comments)

Might be bit hard to check after the fact, but if their servers were leaking data on unpatched version of heartbleed it would suggest innocence. If their servers (important ones) were somehow immune to this attack before it went public... they knew something.

top

### A Rock Paper Scissors Brainteaser

So you are saying that (some theoretical) game where I win 50% and draw 50% is equivalent to game where I win 75% and lose 25%, because in both cases difference between his win and my win are equivalent (50% = 50-0 or 50%=75-25)? And you are suggesting and amount best to bet on both games is the same?
Thats completely wrong. In 50%win/50tie situation I cannot lose, so I can bet at any distadvantage against him. With 75% win 25% lose I can bet at most triple of his bet to come equal. And replay on tie or lack of thereof doesn't matter, as long as we both get our money back on tie. Unless you come back with some strange rule that on tie we both lose money and it goes to the bank, but then it is more of 3-player game and not rock/scissors/paper in normal sense.

If you are still not convinced, please do a program which simulates a lot of random games with strategies above. You will see that amount of wins with 0.387 ratio of rock is higher than with 0.3333 ratio of rock. This is a real experiment, you can then correct your theories to fit it. Coming up with some arbitrary rules (taking difference between amount of wins ignoring ratio) which is contrary to common sense (as in my 50/0 75/25 example above) and contrary to experiment results (from the program I have written and you can write) is not a good science.

top

### A Rock Paper Scissors Brainteaser

I don't agree that x = 0. In that case, for 50% paper strategy for him, win is 1/3 vs 1/6 which is 2:1 in my favor. For 50% scissors strategy it is 1/2 versus 1/3 which is 3:2 in my favor. This means he WILL pick up 50% scissors in such case. Increasing x will reduce his winning chance. It will also increase his winning chance on paper strategy, but it will take longer to offset 2:1 disadvantage compared to 3:2.

Equation to solve is

(1/3-x/2)/(1/6+x/2)=(1/2)/(1/6-x/2)

http://www.wolframalpha.com/in...

gives x = -0.054093

which means rock of around 0.387.

top

### A Rock Paper Scissors Brainteaser

I still think that 38.4% rock and rest paper is better solution for 'free' player, than 1/3 rock and 2/3 paper if we assume that 'limited' player is very smart and knows 'free' player tactic upfront.

Can you tell me, what is the strategy which 'limited' player can take against 38.4% rock, rest paper which would lead to worse result for 'free' player than what you propose? I would suggest simulating the results before jumping to conclusion. I was also originally thinking that 1/3 rock is optimal, but increasing amount of rocks slightly, makes 50% scissors strategy less effective, but 50% paper strategy not good enough to offset paper wins on 'free' player part.

top

### A Rock Paper Scissors Brainteaser

Re:Simple.... Odds are even (167 comments)

I'm getting better test results from having around 38.4% rock, rest paper. At this point his scissor and paper strategies become equal and I'm winning (assuming ties are repeated) 61.7% of cases instead of 60% of cases with 1/3 rock rest paper.

I think that trick is finding a place where any mixture of scissors or paper for him is equally bad. At this moment, his choices doesn't matter anymore (of course, unless he choses rock even at free choice). At 1/3 rock 2/3 paper, scissors are clearly better choice for him, so it is not a perfect place.

top

### A Rock Paper Scissors Brainteaser

38% rock and 62% paper ? (167 comments)

Ok, my current guess would be around 1/3 rock and 2/3 paper. Opponent cannot replicate this strategy, because of requirement of having at least 50% rock. If he goes 50% scissors, he will have 1/6 tie, 2/6 lose, 1/6 lose and 2/6 win, so 3:2 in my favor. With 50% paper, he gets 1/6 tie, 2/6 lose, 1/6 win, 2/6 tie, so 2:1 in my favor. 100% rock is obvious lose. I think that mixing scissors and paper will be clearly worse than pure scissors on his part (because with scissors, he has at least 2/3 chances of winning after he got a choice).

From random testing, it seems that optimal ratio of rock is around 38% (not 1/3). Around that point, pure paper and pure scissor strategies for opponent seems to get equal and I'm winning around 62% of cases.

There is probably some interesting math behind that...

top

### A Rock Paper Scissors Brainteaser

Re:50% paper and 50% rock ? (167 comments)

Yes, you are right - paper will be 25% tie, 25% lose, ending up with 50% tie, 25% win, 25% lose, so still purely random.

I don't think that strategy we are looking for involves "reactions" - this can be always defeated by opponent which overguess you by one step. I would hope to find a strategy which would lead you to win > 50% even if opponent knows it (strategy itself, not the result of random choice at given stage).

top

### A Rock Paper Scissors Brainteaser

50% paper and 50% rock ? (167 comments)

Assuming we randomly use 50% paper and 50% rock, we get:
- on rounds he is forced to play rock, we get half victory and half tie, so 25% win, 25% tie so far
- on other rounds he can:
- always use scissors, which will turn into our 25% win, 25% lose - we win overall, 50% win, 25% tie, 25% lose
- always use rock, which will turn into our 25% tie, 25%win - we win overall, 50% win, 50% tie
- always use paper, which will turn into 25% win, 25% lose - we win overall, 50% win, 25% tie, 25% lose
- any kind of random mix of above, which can only move between results above, as our picks are completely random as well

So, he best strategy is to always play scissors or rock, for 50:25:25 result. If ties are repeated, we win 2 out of 3 times.

Any better strategy?

top

### OKCupid Warns Off Mozilla Firefox Users Over Gay Rights

Want to get unpaid product placement on BBC? Boycott Mozilla! I suppose that not watching Ender's Game is already not enough.
News for tomorrow: Kazakhstan Airlines cancel flights to Vatican quoting lack of official support for gay priests from the Pope.

top

Let the best programmer win (246 comments)

I'm bit suprised at bad reputation HFT has at Slashdot. In many ways, it is very interesting subject for geeks - how often do you have to care about speed of light and benefits of straight-line microwave link over curvature-of-earth fiber... but most importantly, without HFT, you were able to win the market by either social networking (moving at the border of legalities regarding front running, insider trading etc), sheer amount of money or dumb luck. With HFT, you can win because you have best programmers.

I personally enjoy battle of programmers throwing algorithms against each other a lot more than shady agreements done by cabal of elitist traders agreeing over the phone whom to s***w over today. Maybe because I'm a programmer and I haven't managed to get into cabal of elite traders. I would expect most of Slashdot crowd to be on same side?

Or is it because somebody here had this wrong idea that before HFT a random person actually meant something on the market and was not being abused by Powers and that only after advent of HFT, poor private investors lost possibility to game the market? That 'technical analysis' actually meant more than 'how to win the lottery' systems?

This is war. Computers are rifles. Enemies are other big banks/hedges funds. Money is gunpowder. Stocks are bullets. And people... people are empty cases which get discarded from side of your rifle. And yes, HFT means that machine guns are now in play instead of bolt action rifles, but does it really matter matter to ejected cartridge...

top

### Gunshot Victims To Be Part of "Suspended Animation" Trials

Re:SAW XII: They Can Torture You Forever (357 comments)

If I could only remember the name of the book... it was collection of short stories, centered about certain drug which was allowing people to transfer conciousness to next body. One of the stories was about usage of that by totalitarian government, which was catching political rebels and torturing them to death repeateadly transferring their mind to new body after each time - until they finally changed their opinions to the point of being able to convince everybody they have been reeducated.

top

But this camera is not mounted on the device, but rather looks at you in Kinect-style.
So, unless you are talking about Augumented Selfies, it is not going to help.

top

### Famous Breast Cancer Gene Could Affect Brain Growth

Or do I have to read TFA?

top

### Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment

Re:One side of the story (710 comments)

Ask yourself why you believe his side of the story first?

I don't. I'm saying that it is next to impossible for any company to stand against the woman playing the harrasement card, regardless of what was happening there. And reactions to saying "we should know the story as seen from other side" are "poor woman, it is obvious she is a victim, because she says so, we don't need to listen to other side, because woman is always a victim".

top

### Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment

Re:One side of the story (710 comments)

Firstly she says that her code was deleted/reverted without explanation, or with hostile comments left. It doesn't matter how terrible a programmer she might be, that kind of thing is unacceptable. Criticism and reverts are fine, as long as they are constructive and don't amount to bullying.

Yes, "she says". If you look at greenshirt post in their magic forum, it looks quite the opposite - he (or she?) claims that Julie has "history of raging against professional criticism" and other bad things. If what greenshirt says is true, then all of us are being just manipulated by drama queen.
Now, given that entry, ask yourself, why do you believe her side of the story by default?
1) Because she went to the press first and started smearing her coworkers in public, while they stayed on private forums?
2) Because she is a woman?

top

### Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment

Re:One side of the story (710 comments)

Their response (linked by others) is probably the best they could do. But also it looks like they are taking her allegations seriously themselves.

This is my point. Even if she is wrong, they would have to pretend she is right. There is no way of them saying "She overreacted and tried to play 'harrassed woman' card when in reality she was just bad'.

And regarding 'influential developer'... "influential developer known for helping make GitHub a more attractive place for women programmers to work". Sounds like she was known for being women activist and influencing the view of the company in female circles, rather than influencing the code base/architecture/whatever. She _might_ be a very good developer - I just don't see it claimed anywhere yet.

Issue is that it is not any longer possible to say "this particular woman is horrible and crap programmer" without being understood as "all women are horrible programmers and I'm chauvinist pig". And while I agree that industry is quite sexist and in many cases attacks are underserved, I refuse to give special handling to a worker doing bad job just because he/she comes from some opressed minority.

To be honest, I would find it a lot more sexist to give the hell to the guy producing bad code routinely, while being all time calm, smiling and forgiving to woman doing same thing. I'm probably 'chauvinist' enough to put a line at physical violence (like effectively defending myself against physical assault of man versus assult of women), but I'm not going to hold back on opinions just because of gender (or color of skin, disability or sexual orientation).

Again - not saying she is bad. I'm just stressing that in current PR climate, we will probably never learn, because it will be always better for company to sacrifice a good male programmer than try to fight to expose bad female programmer publicly.

top

### Prominent GitHub Engineer Julie Ann Horvath Quits Citing Harrassment

One side of the story (710 comments)

So we know one side of the story. But what about the other side? Maybe she was really bad worker and used 'discrimination' card each time to defend her work? "You are saying that this code is bad not because of the code, but just because I'm a woman". It would be nice if somebody could anonymously 'leak' some of her pull requests plus entire conversation around it - and then we could see how much harrasment was from reviewer and how much unfair pushing from her side.

Problem is that GitHub is at lost position. However bad she was, they will be always painted bad boys for throwing dirt on her, so they will probably keep silent...

# Journals

### abies has no journal entries.

Slashdot Account

Need an Account?

Don't worry, we never post anything without your permission.

# Submission Text Formatting Tips

We support a small subset of HTML, namely these tags:

• b
• i
• p
• br
• a
• ol
• ul
• li
• dl
• dt
• dd
• em
• strong
• tt
• blockquote
• div
• quote
• ecode

### "ecode" can be used for code snippets, for example:

<ecode>    while(1) { do_something(); } </ecode>