skysight-inc/HackerNews huggingface dataset:
At many large organizations, there's even political pressures that keep employees from being let go early in their employment. If a hiring manager says yes to a candidate and they go through training/onboarding, there's a certain amount of clout to be lost if you jettison that employee early on. It is, instead, better for the manager to make the employee appear to be productive to make it seem like the manager did a good job in hiring.

Team accomplishments can be embellished, stronger team members can cover for the weaknesses of weaker team members, but admitting that a decision you made was incorrect gets punished. It's obviously better to hire someone competent in the first place, but the next best alternative, for the manager, is to live with their bad hiring decision.
> Girls playing boys isn't so much normal as it's the only option they've had.

Those two things aren't mutually exclusive; in fact they're quite tightly related. Though that does raise the interesting point that the feedback loop has to be broken somewhere, and starting by adding female characters is as good as any.
> Even in Minecraft

Not sure if you're saying Minecraft does or does not have female characters but Minecraft has actually supported skins pretty much since the beginning (over 4+ years now) so you can be male, female or whatever you want to be really.

Also recently they added a default female character skin so players without a custom skin are randomly given a male or female skin.
While this is certainly true, it's worth pointing out that debugger != IDE.
A huge reason why there aren't as many "girl" characters is because most games are made by men. Thus the games naturally caters to themselves.

I'm male. Back when I experimented with game development, all the games I wanted to make involved the main character being male. It's not something I ever consciously thought about, it's just how it happened to be. Does that make me sexist? Of course not. I can make whatever the hell game I want. You can't tell an artist how his art has to look.
Minimizing Distractions and Improving Productivity
Yes, that is the worst part to me. I worked at a place once, many years ago, where a Lead software engineer came in and started what I could only equate to a turf war. He'd set people up to get them fired, call competent engineers who made a mistake out as being idiots, etc.

One time, he assigned me work - and never mentioned that someone on another team had been assigned the exact same work. He wanted to see me do it faster than the other guy so that he could fire the other guy. So when I completed it, and he used it as ammunition against the other guy (even though the other guy had done a perfectly good job it turned out). I stood there helpless and ashamed that I'd been used as a weapon for someone to tear another good programmer down.

A couple of months later, the company began to lay people off and that lead bolted for the door. I did too, but I was just glad to not have to work in such a hostile environment anymore. So much anxiety.
as an addendum to that: If your partner didn't see it, it didn't happen. This would force the pair to stick together at all times if they were at all concerned for their well-being.
For the sake of argument, let me play the devil's advocate here and do a bit of armchair philosophy.

Let's say I have a family, many mouths to feed, maybe it's the last job I could possibly get in my small town in the middle of nowhere. I hate the job, it sucks the life out of me, I don't want to do it, but I'm forced to "against my will" every single day because otherwise my family will starve to death. If I lose it, I might never find one again. I'm under duress. Sure, there's no sexual abuse in this specific scenario, but as other posters have mentioned, modern definition of rape makes it not about sex, but about power structures.

Am I being raped, in the scenario above?

Note: I want to stress that I'm simply having a philosophical discussion here, I have no agenda, downvotes are pointless.
Unfortunately, this is likely a side-effect of the majority of game developers being male.

A male making a female character is an altogether dicey proposition. Not only do they have to go through extra effort to imagine said character, but they also run the significant risk of being castigated if said female character doesn't perfectly align to various norms.
Ah, so the pass-by-value vs pass-by-reference is a different topic IMHO than int *x or &x. The implementation of both I'm sure are extremely similar if not exactly the same, but I agree that if a developer doesn't understand pass-by-value vs pass-by-reference then that's a serious problem.

I'm probably showing my age that I consider the pass-by-reference concept in modern languages something that hides the concept of pointers rather than something that indicates the understanding of them. Get off my lawn, etc.
Despite my Jonathan Swift inspired title, it is unfortunately not satire. Here's an abridged list of criteria that caused us to flag the 2 returns I mentioned as obviously fraudulent:

- Mailing address on account was bogus per Google Maps

- 1st credit card charge attempt failed, 2nd one passed. Name on credit card did not match name on account (although both CCs passed Stripe's zip code and CVV checks)

- Taxpayer claimed to live and work in California, yet W-2 didn't have any CA state tax info (boxes 15-20) populated

- Every value on the W-2 was a whole number (no pennies)

There's more, but I don't want to give away our entire algorithm, which could help thieves navigate our system and others
because you're essentially a fucking idiot.

now, let me explain a bit.

you work in a mostly male environment. gender bias always favors you, hence it never rubs you the wrong way, hence you never notice it.

you're also a male, which for some reason means that your dick sometimes takes over your actions. history is full of proof of rules/regulations because of this behavior. hell, put a bunch of hetero-sexual males into a closed confine and eventually they start raping EACH OTHER. forbid them sex, put them near kids, they start raping kids (aka priesthood if this wasn't obvious).

once you realize that being a single, different individual within a large homogenous group makes things really awkward you'll continue to be:

a fucking idiot.
I don't work at Medium. I'm taking some time between work right now. I don't think I could have written this if I had a job with a conventional employer. No matter how great my employer is, if the post got popular, it would be pretty irresponsible and could hurt my employer. I'd at least talk it over with my coworkers and have addressed it directly in the article.
As someone using a colloquial term for anything sexual without consent, obviously. Sex without consent is generally called rape; most people don't have any clue about the exact legal definitions

But most people don't subscribe to your consent based definition of rape. I think the majority of people would lean towards the force based definition of rape. You personally might think that rape should be defined as sex without consent, but that's a different matter.

True, there has been some movement towards consent based laws in the US, but many states still retain the requirement of force (which could be expanded to include threats and physical restraint).
Actually, go has some deep complexity that chess and checkers do not have, primarily from the idea of "ko".

Read "Mathematical Go".

https://math.berkeley.edu/~berlek/cgt/gobook.html
How is making a returning a new dynamic array worse than doing a O(n^2) implementation? The former would be perfectly fine in production, the slight increase in memory use is negligible, the n^2 solution would lead to me wanting to fire said person.

Edit:

In addition if the O(n) in place solution that I am thinking of is the same as what you are thinking of, the downside is that the remaining even elements do not remain in the same order. So overall it is hard to imagine ever wanting to use this solution over the standard create new array with just the even elements.
Public service message from someone who went down this road before: it's worth studying up on the futures market. In particular, there's a nasty little thing called "contango" that effectively makes your investment worth less and less every month that you hold it and oil prices don't go up. Think of it as a rental fee for the tanks where they keep the oil held by investors.

The upshot is that you can lose money on oil futures even if prices don't go any lower, and you may lose money even if prices go up, if it takes a long time for that to happen.

tl;dr -- there's no clear way to make an investment that cleanly tracks the price of oil, like there is for the Dow or the S&P 500 or the Japanese Yen.
Neither the good programmer nor the bad programmer portrayed here would make a good employee/consultant, the former b/c things will break while the latter b/c things will never get delivered. They say software is eating the world and I believe this is true but not b/c genius/geek programmers abound but b/c there are hordes of smart good-enough 'programmers' out there putting good enough solutions, and yes, most will not be able to write a recursive function but who cares: the solutions run and solve real problems. That being said, we must thank the gurus who put up the layers that make it posible for the makers to bring out such solutions.
The title of this piece is terrible, and detracts from what is actually a thoughtful discussion.

Mazzucato points out how the government is actually good at funding very high risk work, with a low chance of pay off (think DARPA research in the US).

She does say the sentence used in the title, but the context is very important:

What this means is that we have socialized the risk of innovation but privatised the rewards. This dynamic is one of the key drivers of increasing inequality. Because innovation today builds on innovation tomorrow, the ‘capture’ can be very large. This would not be the case if innovation were just a random walk. Policy makers must think very hard how to make value creation activities (done by all the collective actors in the innovation game) rewarded above value extraction activities (in this sense capital gains taxes are way too low). And since the booty from the latter can be very large, redirecting incentives and rewards towards the value creators is essential. The problem is that some of the ‘extractors’ like to sell themselves as the creators.

Her argument appears to be that public funds need to be directed into areas that have a chance of "industry transformation", which may create job or new (tax paying) industries in the country that funded them.

Here argument about public funding of Google and Apple is this:

For every Internet there are many Concordes or Solyndras. Yet this is also true for private venture capital (VC). But while private VC is then able to use the profits from the 1 out of 10 successes to fund the 9 losses, the state has not been allowed to reap a return. Economists think this will happen via tax (from the jobs created, and from the profits of the companies), yet so many of the companies that receive such benefits from state funding, bring their jobs elsewhere, and of course we know they also pay very little tax.

There is possibly a valid point here. Corporate tax minimisation by offshoring profits is a real challenge to the tax system.

I don't think she makes any real suggestion for how to solve the problem, though (Retaining a share of IP rights won't work, because companies can easily disassociate profits from the IP that generated them, meaning that any return-on-profits-generated scheme will fail. See Hollywood Accounting,[1] which does a similar thing in the film world)

[1] http://en.wikipedia.org/wiki/Hollywood_accounting
All I was objecting to was OP presenting the opinion that she was only concerned with "PR and a personal agenda" as a fact and not an opinion.
Read that whole section. 261.7 refers to public officials abusing their authority, and duress is defined in that context.
Top Performing Mid-Range and High-End Graphic Cards According to 3DMark
I also work with someone like this. They get jobs easily because they nail interviews and talk intelligently about problems. But when it comes to implementing actual code to solve real world problems, he can't scale it intelligently at all. Duplicate logic all over the place, hard coded values, refusal to research and use frameworks' best practices...it's all there. It's incredibly frustrating, and because he's so knowledgeable, it makes him even more stubborn to constructive criticism. Many times his arguments boil down to "I don't feel like doing it that way", in the face of valid arguments. The facts remain, his code is difficult to maintain, difficult to scale, and buggy.
Good Article, Thanks. I can answer the question after read article.
I think 'voodoo code' in this case means something a little bit more than 'dead code'. It means dead code that is still maintained and updated because whoever's working on it is unable to recognize that it's dead.

I'm also not sure that it's sufficient for most people to just compare the code they produce to their peers. Part of being a skilled programmer is the experience and knowledge necessary to properly evaluate the quality of code. Inexperienced developers may find the work of more skilled developers to be confusing, in which case they might not be able to glean any useful insights from it, or they might consider it excessively fancy and obscure. On the other hand, the good code might be easy for even inexperienced developers to understand (I'd say that in many cases that's part of the definition of good code), in which case the subtleties that make it good might go unnoticed.
Meet Pansexual Online
Where have they been found? This doesn't prove your claim that Tetris teaches geometry, or anything really, there's no data. I'm sure it does have some affect though, like playing a lot of Tetris improves your ability to play Tetris. :)

Unrelated, I notice the Tetris effect [1] strongly when I play RTS games too long. I still see the game when I go to bed, and I get weird urges to perform the actions of the game when I'm not playing.

[1] http://en.wikipedia.org/wiki/Tetris_effect
Are you saying even if it wasn't a rape by whatever your very own definition of rape, you would rather call it rape to express outrage?

Of course those "everyone's a lawyer's" types are going to crawl out of the woodwork. Why not call it what it is and not give them any ammo to justify a disgusting action?

This isn't the first time I've seen people on the moral highground undermine their own position by giving their opponents something to focus on that makes sense.

I've never seen a benefit from doing that. Don't give them an inch if you truly want change.
"Why do you choose to do it that way?"

One word, RaspberryPi. [0]

Though I use a small laptop as a client and sometimes at the machine with monitor and keyboard, most work I do is on a Pi, remotely. I'll be upgrading my Pi to version 2 and splash out the necessary $40.

Forty dollars, think about that.

All I need to hack with: #raspberrypi & #robertsradio ~ https://flic.kr/p/o1yXKe

[0] https://www.flickr.com/photos/bootload/tags/raspberrypi
While I'm not using Samza, Spark Streaming also works pretty nicely in this case, although it is not so focused on keeping state (it can, though, using the checkpointing system and the `updateStateByKey` transformation) and thus might not perfectly stable if you require to handle failures without reprocessing.
Show HN: I Built a Twitterbot to Recommend SXSW Parties (Node + Twit)
Hi all,

I've submitted a post on Airpair about how to build a twitterbot that uses Node and the streaming and RESTful twitter APIs to recommend SXSW parties. I'd love any reviews or constructive criticism.

https://www.airpair.com/posts/review/54fcfe16c1534a0c00e6c839

If you'd just like to check out the bot, you can find him at @SouthBotFunWest

Thanks HN!
Actually, it's interesting in the sense of combinatorial game theory (https://en.wikipedia.org/wiki/Combinatorial_game_theory) not the branch of decision theory for interactive rational agents known as game theory (https://en.wikipedia.org/wiki/Game_theory). Two only very distantly related subjects which unfortunately have confusingly similar names.
Then why does Stanford own the PageRank patent instead of Page and Brin?
De Anza is one of the better community colleges in an area with high cost of living. In other places, community college instructors make a lot less.
Excellent points. I think that's one reason why management must consider this behavior unacceptable and make that abundantly clear to everyone ahead of time. Silentl disapproval isn't enough, because the victims won't trust you to come forward, and the attackers won't be detered. It's also the reason sexist jokes and seemingly harmless behavior is problematic; it sends the the message to attackers and victims alike that nobody takes these issues seriously.
"Economists think this will happen via tax (from the jobs created, and from the profits of the companies), yet so many of the companies that receive such benefits from state funding, bring their jobs elsewhere, and of course we know they also pay very little tax."

He makes it sound like the USA would be just as well off if big tech companies weren't here.

The US government is basically a ~15% shareholder in all US companies due to salary and other taxes. If they can invest in technology research and build more US companies, then the US government earns a net profit.

I would like to see a breakdown for a major technology company to see what percentage of their revenue goes to income tax withholding, and then see how much government funding went into helping that company come to life.

Edits:

1. Number adjustment

2. By "income tax witholding" I mean the income tax that the employees pay. If 50% of revenue goes to salaries, and 20% of salaries go to income tax witholding, then 10% of a company's revenue goes to income tax.
It doesn’t look good for the Mozilla Foundation – especially not with so much of their funding coming from Google which of course has its own browser to push.

I guess ESR did not get the memo that Mozilla decided to not extend the Google deal a few months ago. It shows how much ESR is out of touch with reality.
You forgot about the other thousands that are executed before go to trial. It surpass, by far, 100% of your number.
'Overnight, everything I loved was gone': the Internet shaming of Lindsey Stone
Two things about McDonalds highlight the problem with the company: they feel the need to tell you that burgers are in fact made out of beef, and you can't get breakfast after 10AM.

In the mid-80s, when I was in elementary school and was the prototypical kid hassling my parents to go to McDonalds, people actually flipped burgers, shook some salt and garlic powder on them and put it on a toasted bun. It was hot, greasy and delicious.

Now, a McDonalds burger is some sort of steamed monstrosity. It isn't greasy, tastes engineered, and is usually cold upon delivery.

Cooking a 5mm thick burger on a grill is not rocket science, and every greasy spoon on the planet can successfully put together an egg sandwich 24x7. Get back to the basics and cook some food.
PAM ERROR Authentication token is no longer valid
Ugh, how awkward.
Perhaps because it's more profitable to not give away what girls will buy, or they are simply not the target for the games where there are no female protagonists.

There's a popular view on hacker news of corporations which are nothing but money grubbing entities bent on doing anything for profit. This doesn't jive well with the view of these game corporations as mysoginistic entities out to repress girls intentionally or unintentionally.
ISPC is cool, what it helps out with (writing the SIMD kernel) has never really been the bottleneck in my experience.

The data still has to be arranged optimally for the hardware in order for SIMD code to have any benefit (and at this point, writing SIMD code is straightforward). You also still need to be experienced with the capabilities of the hardware if you have any chance of writing good ISPC code (although this is true of C, as well as any shading language).

That said, using it to target SSE and AVX with the same code is attractive.
I think McDonalds also targets different people in different countries. In Chile you will mostly see McDonald's in wealthy areas and shopping malls and the price it is not exactly a cheap meal for a regular Chilean. The restaurant are usually cleaner than in the US (in my limited experience). In the US you target a different audience, for example you can see homeless people eating at McDonald, you are never going to see that in Chile.
remember that time GE paid basically 0% in taxes? the 30% number is only in theory (there is the salary breakdown but I don't think 30% is the number that ends up hitting)
I agree. It is similar to that old phrase "perfect is the enemy of good." Sometimes what an idea needs is something minimal that gets the product out there and tested, shipping and selling in the real world. Sometimes the most financially effective programming isn't elegant, but rather something quick and dirty, transitory and ugly: something meant to be used and improved on or discarded for something better if and when time allots for it in the future.
Oh - sorry! I must have misread something.
You're asking your friend for three hours to entertain you while you have a haircut. It can happen once or twice, but every time whenever you go to the hairdressers for a treatment? You'd have to reciprocate and entertain them for a few hours when it's their turn, every three weeks. Imagine that. It would be better if they could talk to their hairdresser instead, and arrange to hangout afterwards.
As someone, who just recently started writing some small bash scripts, I wonder, why they did not create a universal comparator syntax and letting null, not-existing etc. evaluate to false, on top of the existing syntax. I get that it evolved, but since I did not evolve with it, I get frustrated by constantly tripping up on if-syntax, something you normally do not have to worry about when moving to other languages.

Bash hurts my ego.
This 12 year old girl is a better blogger than some of the people Washington Post has on staff. I am not exaggerating, I wish all their bloggers were this analytical.
Are you sure I'm drunk?
Yeah, I'm a bit bitter about it.

Why? You won.
Show HN: A simple yet challenging math game
Introduction to Cracking Password Hashes with OclHashcat
I'm not sure what you're getting at. Could you clarify?
Stanford did end up owning a big chunk of Google because of its role in developing the key technology

http://www.matr.net/article-11816.html
Similar issues arise in finance.

I started as a stock analyst in 1981 at a fairly elite firm (PaineWebber, usually top 5 and always top 10 in the equity research rankings). We didn't get computers and spreadsheets -- Visicalc! -- until I'd been there a few months.

After a while I started publishing annual growth rates, based on formulas like (EndValue/StartValue) ^ (1/5) - 1, formatted in percent. Multiple colleagues asked me to teach them this amazing trick.

And by the way -- when writing this comment, I made a mistake in the formula above until I rechecked my work. :)
I don't think we make male characters because we are male, it's just because that's what we are used to. If the default character in nearly every game would be an emo girl, we would all make games with emo girls without thinking about it. Right now the default is the muscular white male, so that's what we all make if we don't think about it.