skysight-inc/HackerNews huggingface dataset:
Terrible story; but why is this relevant on Hacker News?

Edit: Furthermore, where's the skepticism? Why did this so quickly become the top story? Another comment suggests they are from a porn site, and may actually not really be american soldiers committing rape.

Addendum: I really need to find another source for my regular startup news and advice.
It has often been said that under certain conditions humans turn into animals. But this is not true. Humans fall past the animals into the abyss ...
The USA are by far the biggest terrorists in the world.
Invading and destroying countries for oil, spying even on allies, gathering information about anyone, blackmailing every country, killing millions of civilians and they never have to deal with the consequences.

And Obama has been awarded the Nobel Piece Prize. What a f'in joke.
Possibly, I suppose. I naturally can't speak for Google but I wouldn't be surprised if they did it for the same reasons.
Is it a crime to lie on a resume then?

Yes, that's called fraud.
I guess the prisoners aren't people, they're "Iraqis" or "terrorists", therefore you shouldn't feel bad about them.

The human mind is a weird and terrible thing.
Agreed. This isn't about things being safe for work, this is about letting people not have panic attacks when they click through on an article.
USB ports not working. It's a common fault.
I had to install win8 from scratch. I lost a lot of things.. A lot of software wouldn't install under win8, but it had worked when i first upgraded.
I think the code is pretty ok, except for the stupid name, docstring and that it is a method and not a free function.

def chunks(seq, n):
"groups the elements of the seq into a list of n-sized chunks."
return zip(*[iter(seq)]*n)
Stop the Americans in Iraq
> don't get life sentences

An accusation and some photos should not automatically be grounds for life imprisonment. But yes, there should be an investigation and a trial.
The reality is that the "Patent Law of our Country" is incredibly broken and incredibly overdue for a complete overhaul, as the existence of patent trolls makes unambigously clear.
There will always be reasons for war. We can just hope that the reasons appear ever more rarely. Punishing Assad for chemical warfare - without mounting a full scale invasion - is one of the better reasons we've seen yet.
While I don't have much hope for enough public outrage to make a specific change, I still feel that leaks like these change the world. Not by any public actions, rather it plants a seed of accountability in minds of every individual and official involved on every level. It's the probability of unstoppable leaks that will make all of this no longer ok. Such behavior is no longer safely hidden away under the "fog of war". Even if up to this point many didn't get punished for these atrocities, what matters is that in the future they might, increasingly likely. Somehow the anger from this post made me feel almost optimistic.
Depends on what you want. If you just want to make games, you might be best off looking into an engine that supports the kind of game you want to make and start with that. Haven't gone down that road, so I cannot recommend anything.

If you want to learn the minutiae of game programming, I recommend getting a book that goes over all the relevant maths, in a practical way. I have "Mathematics and Physics for Programmers", and it's pretty good. (Do not be fooled by the title, it's a very hands-on game maths book.)

Learning about OpenGL, the graphics pipeline, complex transformations and all that is fascinating, but I'd put it off for now (most game math books, e.g. the one above, do cover it in the later chapters). Back in the day, I started by making really simple 2D games and worked my way up from there. 2D game development is very similar to 3D, just easier - in regards to both programming and game design.

I can recommend SDL 2 to anyone who wants to make 2D games. It now supports hardware rendering and Android/iOS, and generally doesn't leave much to be desired (like SDL 1, image loading, font loading, audio, joystick input etc. are all in there).
It does not rely on an implementation detail, that is how iterators work. He's just supplied the same iterator to a function which consumes iterators... that's exactly the expected behaviour.
I remember similar article was posted on reddit a few weeks ago along with those images. There was byline which suggested that images were take from some p0rn movie.
I don't get it: http://workable.com/ & http://workable.com/signup

Have you not deployed it or just reverted?
You are absolutely right. The images are not of a real rape but a porno one. The fact that the real images haven't been leaked yet is an indication of how protected the troops are, as in "showing this would endanger the troops by making them targets for retaliation". It makes me wonder though, who is making this site writing about the real rape, murder and torture by US soldiers, then attaching fake porno pictures. It's almost as if it deligitimizes the whole story.
Well, the GOV.UK code (https://www.github.com/alphagov) is your 80% (or more likely higher) solution. It's based around many micro-services that integrate over HTTP, so it's extremely extensible.

However, even with the software being perfect, you still have very high barriers of entry to overcome:
1) the local authority is likely to be locked into a 5- or 10-year contract with its current supplier
2) the choice of supplier is rarely (if ever) based on technical excellence/licensing strategy. Usually the people commissioning the IT don't tend to have a very deep understanding of technology, licensing, etc
(works fine in chrome)
1st prize: 10% profit share
2nd prize: 5% profit share

Ideas have never been my problem. I can program anything; I need a graphic designer. I have 3 iPhone apps in development; 1 just got approved and I'm working on the Android version; the 2nd is on the plate and will be done come end of September and the 3rd, I can't do without an artist.

Do the graphic work for me and we'll split 50 / 50 (i need someone that can draw and animate 2d space objects - think star wars / star trek)

Conversely; shouldn't the contest page be, you know, html? Linking to a jpg in 2013 and not having a real form for submissions is kinda amateur-ish, no ?
The victims face is clearly visible yet the rapists faces are obcured and difficult to see.
And the reason why people upvote 4 years old Chrome OS announcment is... ?
The last time I saw these specific photos in a story (== propaganda piece), it turned out they were from a Balkan porn movie involving consenting (I guess) actors, with a military theme, taken out of context. This was maybe 8 years ago.

I'm certain US forces have committed rape. Generally, against other US forces. There were probably some cases of US vs. Iraqi rape, such as the Tikrit child-rape referenced in the story, but murder or other non-sexual violence was generally a lot more likely than sexual violence. Plus, the trade embargo, war, breakdown in law and order, and occupation did both directly kill people and contribute to violence which killed or otherwise caused bad things to happen, and I think the US has a lot of responsibility for that (along with Saddam, and the militias, etc.)

The US isn't even perfect at prosecuting US on US rape in the military (although a lot of the most recent fuss about it conflates sexual harassment statistics with rape, which does a disservice to everyone; there is a world of difference between "rude or inappropriate comments" and "forced sex", and blowing up the stats by combining them trivializes the problem by making it seem universal). The US isn't particularly good at finding and prosecuting US vs. LN crime in a war zone, although it's probably better than any military ever has been before (traditionally, the concept of invader vs. LN civilian crime didn't even exist). Once it gets to USA CID or USAF OSI, I'd probably trust the investigation as much as I'd trust a US civilian investigation, but they were very underresourced so it took a long time, and there was a lot of pressure to not let anything actually get reported to them (think the ghetto "no stiching" rule, combined with self-interest.)

Promoting fake images as real doesn't help anyone, though.

(I just tried to find the original of this video; failed, but also now I hate humanity slightly more too. Ugh.)
2 points:

1st. This is an excellent example of the level of size optimisation available to programers working directly with assembly code.

2nd. Not being completely open source hampers its use as a teaching tool re: assembly programming.
We all love short and fast. But this is definitely an interesting approach. I'd love to see similar approaches to problems if you guys can point out to some.
It's quite funny because the German steryotype in UK is of effeciency and things working. Just shows how steryotypes can be wrong/
We still have a free trial for 15 days, as we always did. But no free plan.
I recently read on http://www.bbc.co.uk/news/ that for every American who died in the Vietnam war, Americans killed roughly 50 Vietnamese soldiers and (mostly) civilians.
Well done, basically. Massive effort. I've been working with Ember for over a year now and things have come a long way. Out of the many brilliant things in Ember, possibly my favourite is how little code it takes to do anything. In fact, I think that Ember is happier the less code you write :)
This is a war. Yes it is disgusting, I know, but don't be suprised.
Every war looks like that. This is no fking video game or propaganda video from CNN or other TV news station.
Well U.S army is no better than USSR army or Nazis.
Only difference is that, American fight for money/oil and not philosophy or politics.
Then please say so anywhere on the first page OR the signup page. There's no "trial" or "expiring" mentioned anywhere I can see...
I'd be surprised if my way is slower. Any time you unpack into a function such as zip() python has to create an intermediary list to store all the results before calling the function.
It originated from: 8 hours sleep, 8 hours work, 8 hours recreation.

But if you add a preparation, commute, lunch-time, etc... you easily end up with only 4-5 hours of "recreation".

Now imagine you have a wife, kids, friends, side projects, maybe want to watch SICP lectures, learn some Haskell...

4-5 hours is simply not enough.
A few ideas:

- Exhibition window with the upper part of the window being a speaker.

- Surface on the iPhone that isn't touch sensitive could be a speaker glass.

- Car windows becomes huge speaker.

I love inventions :)
These photos are the same as those published by the Boston Globe and determined to be fakes from a pornography website. A mod should kill this story.
Did you test and time the itertools version?
Finding a new job is easier than you think it'll be.

Maybe he is older than 35?
The weather in London is not ugly right now.

Just for the record.
Maybe most of the moderators are sleeping in since it's a holiday weekend in the U.S.

But that this isn't getting flagged into the basement is really sad. I hope pg is happy with how letting things off the leash with Snowden stories went.

If this pattern hold up, the anti-Israel posts start up next.

EDIT: Aaand a minute later it's dead. Thanks, mods!
Just verified that these are in fact the same photos the Boston Globe ran and then retracted because they were fakes from a pornography video.

@mladenkovacevic The story of those horrific events has been told many, many times in news outlets, television programs, and books. I think there's even a whole section in The Shadow Factory about it, which I assume is pretty much required reading on HN these days.

This story wasn't "killed" in any sense, it's simply old. The only ostensibly new information here was the photographs, which were fakes.
This comment should sit at the top, as it might save a lot of time to a probably large part of people seeing this product.

Note to self: Read terms....
The evidence seems to be rather thin. Those photos don't even prove that the rapists where white Americans (as opposed to lets say Arabs), that the rapes happened in an American installation and that the victim was Iraqi. Let's see if other media can substantiate these claims.

Also "rape as a weapon of war" is a very constructed explanation of whatever happened or did not happen. Soldiers, historically, don't need orders to rape anyone, quite the opposite is actually enforced quite rigorously...
Recruiters charge for their ability to bring you top quality candidates (they help you attract and select people). We sell software to manage the recruiting process. It's not one or the other.

Think for example accounting software and tax advisory services. You'd get both and the second would be far more expensive than the first.
NSFW is generally used as a synonym for "potentially inappropriate". And yes, they do have truck here.

I clicked the article expecting some further developments or prosecution over Abu Ghraib, I wasn't expecting to see graphic rape images. A NSFW tag would have been very welcome.

Not what I wanted to see when having breakfast with my family and reading the news...
I think you will find that you're in the minority.
In fact official python docs say:

"The left-to-right evaluation order of the iterables is guaranteed. This makes possible an idiom for clustering a data series into n-length groups using zip([iter(s)]n)."

http://docs.python.org/2/library/functions.html#zip
No, it's not indication of anything. By default criminal justice system do not publish images of a crime.
The fact that zip evaluates its arguments in order is an implementation detail. It could evaluate them in reverse order, in which case this code would not behave as expected.
Exactly, I would be very surprised if the zip version was faster. One of the first steps to optimization in python is moving everything you can to generators and using of itertools.

The OP's question of is this genius or bad is clear in that regard: it is bad, due to not being the proper optimization direction, but it is interesting.
This article is from 2009 (Sat, 2009-10-03 05:19).
Who Made That Firebomb?
That's true for any survivor of any kind of horrible experience. Why single out rape?
I'd add:
- Rules of Play http://mitpress.mit.edu/books/rules-play
- Challenges for Game Designers http://books.google.com/books/about/Challenges_for_Game_Desi...
- The Art of Game Design http://artofgamedesign.com/
I'm feeling a little evil now...

I have a dream. I dreamed with some bad guys writting with a felt-tip the complete speech in several walls in your cities, in a corner next of your schools. Ten point size is okay much more should be excessive.

Then the good people; lawyers and copyright holders came to delete the illegal speechs from the walls, restoring the law and the order.

This could be and extremely interesting social experiment, maybe even a piece of performance art.

If there is a "Everybody Draw Mohammed Day", a "Mother's Day, a "World Sparrow day" and a day to play with rubber bats, candies and pumpkins; why not a "Everybody writes a famous speech day that changes our country for good it the corner of his/her street, in a paper airplane or in a ballon"?

Could make a really beautiful local holiday...
The CIA would never be capable of finding some woman to claim the photos were of her even though no trace of their presence on the porn site could be found. That would be totally unbelievable. Much more likely that the disturbing images of murder and rape showed these incidents to be totally not a big deal. /sarcasm

Whether they're real or fake, I'd imagine these possible fake images are a more accurate description than what descriptions we've heard.
Because there is considerable doubt that this is even a genuine news story, rather than fake sensationalism, it is best to flag this story for the attention of the moderation team here. Hacker News is supposed to be about NEWS, not propaganda.
Agree. But the best way to do this is to give a free trial period. We were hoping that giving a light version of the product free (not just for 15 days) would have a similar or better effect. It didn't work, and this post was written to describe why (at least in our opinion and for our case).
You could always use izip:

http://docs.python.org/2/library/itertools.html#itertools.iz...
The Number of Aplicants for A One-Way Trip To Mars
i = iter(array)
return zip(i, i, i)

There you go. All but neceessary magic gone with just one line more.
Have you seen the frontpage of Hacker News lately?

Wikipedia article about a well know person in IT, namely Grace Hopper. A very old and known project that wants to rebuilt some old version of Microsoft Windows. Etc.
This is in the zip documentation as the way of solving this problem. Sort of surprised the author didn't look up the documentation before writing what is otherwise a very good post.

The left-to-right evaluation order of the iterables is guaranteed. This makes
possible an idiom for clustering a data series into n-length groups using
zip(*[iter(s)]*n).

http://docs.python.org/2/library/functions.html#zip
Grass-Mud Horse Lexicon Classics
No. The Boston Globe and the New York Times ran a massive investigation of this, and the editor of the Globe was nearly fired for their publication.

Personally I can tell you the uniforms, equipment, settings etc. are all wrong.

"Whether real or fake" is just about the most inane excuse for journalistic malpractice that I've ever heard. It's akin to Dan Rather's "The story wasn't true, but I felt that it needed to be told."

You want to be one of the cool kids, wear a Che t-shirt and a Guy Fawkes mask, claim the mantle of truth and justice while decrying the evil empire? That's fine. But it is wholly unacceptable to play the apologist for publishers of false rape photographs. It endangers lives, insults rape victims, and makes a mockery of true journalism.
I don't think they are real. Another commenter said they were previously identified as being from a niche Hungarian porn movie.
like dict(zip( or dict(getmembers(asdf)).keys(), it's idiomatic code. it wouldn't have occurred to me the first time i had to write such a function, but now that i've taken a few moments to read the article i find it clearer than the list comprehension version (because the constant only appears once) and nicer than the numpy version in that it doesn't require an extra dependency.

may save a few keystrokes some rainy day. good post.
You're right that the button in the main page is outdated and perhaps gives the wrong idea.. but if you go to http://workable.com/pricing it clearly says "try it free for 15 days" and has a big box underneath explaining how the free trial works :)
It makes me wonder. How the fuck does the Boston Globe manage to publish fake pictures? Like how does that happen?

I don't know the answer to that question, but what I do know is that the psychological end result is "so those horrible pictures I saw weren't of the real event? Ok that makes me feel a little better."

edit: not to mention that it discredits the story for many others. "Well if the pictures weren't real how do I know anything else was."

UPDATE: for anyone still following this thread which was promptly killed here is the story which did in fact happen (although the real pictured were killed by Obama no doubt):http://www.cbsnews.com/2100-201_162-3133434.html

This has been a classical demonstration of how unwanted stories are killed and buried in a sophisticated machine called American War Propaganda and PR

The facts remain, however.

-a 14 year old girl's family was shot dead while they lay asleep (including a 5 year old)

-the 14 year old girl was gang raped by a bunch of US soldiers

-the girl was also shoot dead and her body was burned with kerosene

-the soldiers all got between 5 and a 100 prison sentences

-the story was very effectively killed and discredited by publishing it alongside fake pictures... Then again we can't have our freedom dispersing heroes at risk of retaliation attacks based on the acts of these few isolated cases right?
I am also surprised I didn't look it up. I guess that I didn't expect that anything more than how zip() works would be there, and I already knew that.

I've updated the post with this, another commenter pointed it out. Thanks!
I really would not talk to upper management. If the guy got moved to a profitable department, it means he has friends there. You're gonna lose, and risk a bad reference which would make it difficult to get a new job.

Remember who put him there, if it was bad choice, it means upper management made a bad decision. In my experience upper management will do anything but admit to a bad decision.

Just silently leave for another job, try to make sure you will get a good/neutral reference. Remember future employers will just think your bad/unskilled if you get a bad reference rather than the fact you got into politics. Larger companies have an automatic no, to bad references and won't accept excuses. Since they assume your a bad person/almost criminal (the only point large corporates will give a bad reference normally) and probably lying. Limiting you to small companies for your next job.

Its nice to think you can be a hero and fix this, but you can only do that if your someone with significant power in the company like a founder, or an early employee who is best buds with senior management. Since HN is full of these types, they can be idealistic.

I've been through situations like this, and this is what I would do now rather then potentially making your life hell.

Situations like this is a massive problem with modern company structure.
I did not, but I might now.

EDIT: See update above.
Thoughts on privacy
3D Printing in the Medicine: Saving Time and Saving Lives
A much clearer solution, I would also add a comment reminding people how zip works.
That's what I meant, thanks for clarifying. It does seem that the zip() docs make a guarantee of left-to-right evaluation, though, so my apprehension proved unfounded.
So why don't you just use jump? A lot of people already use it and you're not limited to just directories parenting yours.
You can also do

zip(arr[::3], arr[1::3], arr[2::3])

which is nearly as fast but doesn't work with iterators.
If you want to use iterators you could also do

zip(islice(arr, 0, None, 3), islice(arr, 1, None, 3), islice(arr, 2, None, 3))

which is a tad slower.
The culture that you create while small is the one you'll have after growing, only less pure. If you don't experiment with ways to be different to a bigcorp while small, you'll become a bigcorp after growing. We have enough bigcorps already. I'm sure that it's easier to succeed financially when you adopt the defaults for everything that isn't the core product, but that ease comes with the downside of ending up owning something which you probably wouldn't want to have worked for yourself.
I would also, I love this sort of thing. How about:

>>> some_boolean = False
>>> ["Thing 1", "Thing 2"][some_boolean]
"Thing 1"
Here is the submission page
http://www.chronosolutionz.com/ideahunt/

Let me talk to them about this.
Seems to be disk related - maybe try another emulated controller?
Haskell, The Vampire
To get into the mindset of the managers, consider skimming James Collins' book "Good to Great". One point to take away is that any leaders in your organisation will appreciate the brutal facts.

Make sure you have documented what issues and risks you have expressed to the PM and Lead Developer - maybe actually in whatever tool you are using, or at least in email. Make a record that team's morale is decreasing.

You and each of your team members should directly be telling the PM and Lead Developer that you are worried with specific risks or issues.

Take the registers to somebody with more authority in your organisation. Come in with a few recommendations. Present the facts and tell them you think there's a problem, and ask if they agree or not. If they do agree, make sure to get what the next action will be.

Just my immediate thoughts. Good luck.
If you're so fearful of your job you should quit right away. It's not healthy to live like that.