skysight-inc/HackerNews huggingface dataset:
"Why not? It improves solidarity."

There are plenty of better ways to do this.

"I got pulled off the phones to help with sudden mandatory tech support rotations due to virus outbreaks."

It doesn't sound like you are in any kind of engineering role. When you are on the phones, you don't have one large project to work on with deadlines and due dates. It's easy for you to be shifted over to another position.

"If management know of the rotation, they will have to adjust the deadlines. How many deadlines are really necessary beyond a simple measurement rationale? Management can usually adjust as needed, or reschedule the rotation to a better point."

This sounds like a nightmare to deal with. In addition to tight deadlines as a manager, I now have to deal with customer service rotations?? It's hard enough to get projects completed with upper management changing scope (which has happened at pretty much any place I've worked over the last 15 years).

"Isn't the point though to ensure that people are engineering and developing software with customer service in mind?"

I'm fine with this as long as management realizes that deadlines will need to change and it might take a couple of days (or even a week) to get back into the flow of a project that an engineer/developer has been taken off for customer support. In my experience, management doesn't know or care about either of these things and thinks you can just move people around when needed.

I'm glad I run my own company now, so I don't have to deal with this bullshit any longer. I would never implement something like this.
">" does not form a total order on doubles if you include NaN, so that's not really suprising. That is, you're providing a comparison function which is invalid, you should (at best) expect invalid results.
> I wish I could work in a language that only allows them in functions that explicitly declare that they want to use them, though.

That’s what Haskell does. The big scary M-word just gives you all the other features you end up wanting from your effect system once you have one. See my explanation here: http://programmers.stackexchange.com/questions/258011/altern...
I don't know much about fashion well nothing but I'd have thought Nomcore sounded better. Like self-deprecating, self-satirical.
False dichotomy. Plenty of people who "build really cool things with it" also bash C++, and rightfully so.
This is the kind of work that the NSA, had they known it decades ago, would have kept to themselves. They certainly have no shortage of mathematical talent working on the problem.
Why do we need to bring them back? Pioneers don't normally set off with a guarantee or even likelihood of coming back.
Daniel Handler (aka Lemony Snicket) made this very clear in an interview that I saw several years ago. He said that in order for children to be heroes, the first thing that you have to do in any children's book is get rid of the parents. Sometimes you can get away with putting the child in a place the parents cannot reach, but it's far more common to kill them off. Only this way can the child rise to the occasion, demonstrate leadership, and save the day.

I hadn't noticed this pattern before he said that, but now I see it everywhere.

Of course, in "A Series of Unfortunate Events," the parents die in a fire on the first page of the series. And then, as the books say, things go downhill from there... (I absolutely love that series, and so do my children, although it might be too dark for many.)
I think he's mentioned Nagoya pref, which is kinda countrysideish and less expensive to live in. (and also houses can be of better build.)
I would say you go with MoongooseIM. Its a much optimized fork of ejabberd with some things done in a much nicer way ...
It support redis session backend , encrypted password, xmmp over websockets to name a few.

Disclaimer:- I personally work on chat server and personally prefer moongooseim to be one of the best available right now.
the non-unicode bits slated for 6.0 got rolled into 5.4, which was a pretty messy release given the extreme conservatism they adhere to even for major version changes.
Were there cascading problems to word press, Drupal, etc?
Facebook Page Goes Dark, Angering Russia Dissidents
> What upsets me about go generate is that it is orthogonal to the language, yet it comes baked in.

It's not part of the language, it's not in the spec, it's not part of the compiler.
Perhaps, but then you're stuck having to learn German. The old joke being:
What do you call someone who speaks two languages? Bilingual.

What do you call someone who speaks three languages?
Trilingual.

What do you call someone who speaks one language?
American.
> Should schools educate girls to take more risk while boys are instructed on the negative aspect of risk taking?

Let's ask the question another way: if schools (and parents) are currently educating boys to take more risk (or educating girls to take less risk), should they start treating both sexes the same way?
Thanks for the heads up. I'm not sure about others but I almost -never- click through to the YouTube page unless I was seeking for more information but in this case, I just assumed that all the info was in the article (more or less).
We're far from that, with most people being unwilling to mete a consequence to those who vote for evil. When adopted by all the good people, my attitude would lead to a fairer world, if only after a Civility War.
Uber for Food Startups in India
This is great news. PHP doesn't have many structured data types, so arrays (aka maps) are basically used for everything. Any improvement to them will impact the entire application.

It would be nice to have separate types for arrays and maps though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now.
That's what I said about watches. The very idea that somebody would pay more than $20 for the privilege of strapping one of those things to their arm, when it can't make phone calls, take pictures, play video and run apps, is beyond me.
On front page, a couple of days ago:

https://news.ycombinator.com/item?id=8778012
By helping to remove the societal pressures that create the situation that less women apply. Or do you believe -- like others here -- that we have sufficient evidence to satisfyingly prove that the reason there are far less women in SV startups is biological?
Technically, since you're buying one item from each group or not, you only actually need 100 bits of information to complete the search problem, unless you assume conditional structure of utility between the 100 groups. Mentally asking and answering a mere 100 yes/no questions is not at all hard, especially since you can use cached answers of the form, "I am a man, so I don't need women's hygiene products today."
and ruby/rails didn't prove this? with all those mustachio'd hipsters?
It hardly needs a push over the edge, I'd argue that it's self-satirizing already. For example, looking at [1], one might think that they're just having fun. Until you realize the person who posted this is the Executive Editor at Genius.

It's art, really.

[1]: https://www.facebook.com/300220/posts/10100460584701364
IMO it lies squarely with the FBI who wouldn't say it was not a credible threat. If you come to the FBI with a threat, and they say that it's credible, what are you going to do next?
Each call is tagged by the client and the same tag is added to the response by the server, so you can tell exactly what error corresponds to which call.

Caching is pretty easy: you just keep a cache of each object type. The delta update mechanism means you can very accurately invalidate what you need to keep it up to date. The system is actually really flexible and a great fit for any CRUD based app; JMAP is really just a combination of a very powerful and efficient database access protocol, and the definition of some objects to represent email, contacts and calendars.
Nigeria dicta reducir los elementos de las estaciones base que causan cáncer
> I'm would wager that generics were a driving force behind this.

The driving forces were yacc, protocol buffers, enum strings, unicode tables, encoding/decoding arrays, time zone data. That's what they use it for.
People misunderstand classical economics, because it is subtle.

The prisoner's dilemma is an interesting game because it is extreme: people are able to lower the total welfare while raising their own.

But classical economics asserts that these situations arise only when there are externalities or market frictions, and only in proportion to how large these are (there are also issues of wealth distribution, but this could be thought of as a friction to perfect taxation).

If there were no market frictions, and people could be taxed according to their innate ability to earn money, then it wouldn't matter whether people aimed to maximize their own utility, or the sum of everyone's utility: they would engage in exactly the same actions.

Altruism vs selfishness only becomes an issue when there are externalities or frictions. E.g. do I choose to pollute a stream, even though I know I won't be punished. Or do I choose to work less than I would otherwise, because some of my income is taxed (if people didn't work less for this reason, we could have a tax system with much more redistribution).

So neoclassical theory isn't nearly so tied to the idea of selfishness as people think. One thing it does do, is make very clear that people are selfish. I could buy a coffee every day, or make a donation that would (on average) save one life in Africa. And yet I chose to buy the coffee anyway. As a believer in classical economics, I have to conclude that I am that selfish.
i just want to know if i can call a web json api with the stdlib :(
"I suspect it would quickly be better than any FOSS kernel currently available"

It would take a very long time for that to be even possible. The hardest part of writing an OS today is more about the amount of hardware out there to support and getting users. There are a couple of approachs to mitagate this thou.

1) Work well in a niche, this has worked well for L4, QNX, VxWorks etc, but doesn't make the OS very visable to most people.

2) Run on top of an existing virtulisation plaform to minimise the hardware support needed, butby doing that you also reduce the impact of working in a safer language.

I guess you could argue that "better" doesn't have to mean relevent to end users/devs, a bit of an ivory tower approach thou. Otherwise you are looking at several years of work
I give a thumbs up for Designing Analog Chips - I found it really helpful and interesting, and it's free online at the above link.

And if you're interested in 1970s-era digital chips, I recommend Mead and Conway's "Introduction to VLSI systems" at http://ai.eecs.umich.edu/people/conway/VLSI/VLSIText/VLSITex...
It's not pretending they don't exist, it's meting out a consequence for their actions, so they don't get away with supporting evil scot-free.

We now have better support for gay marriage largely because of youth becoming of age to vote [1]. The youth are open-minded. Go ahead and tell the person you're ostracizing why you're doing it. But odds of seeing a change are nil.

[1] See trend here: http://www.gallup.com/poll/169640/sex-marriage-support-reach...
My comment was shorthand for:

I discovered his portfolio a couple years ago through:
http://www.quora.com/What-makes-a-great-UX-Design-portfolio

and since then it's come up in conversation with UX designers as a cool portfolio 3 or 4 times. But the points you make are valid.
> This thing is life changing.

not having to clean your cats poop once a day is "life changing" ?!
I'm not sure why std::sort should require two comparisons. It's not required to be stable (neither is qsort), so when comparing a and b gives (a >= b), std::sort can just assume (a > b) and the array will be sorted just fine.
As long as std::sort can fit in the instruction cache, who cares? (outside the embedded world obviously) It will always be faster unless you're getting regular instruction cache misses.
I have. The figures aren't included, but by what statistical reasoning do you interpret "men were over-represented" and "highly significant sex differences" as "large biologically based differences"? I mean, even supposing those studies proved biological difference, where do you learn about the large effect size? It's not mentioned in the article at all (except in those studies showing biases). It is also true that studies showing cultural biases find significant ones, usually with far, far higher effect sizes.

What I find most disturbing is the "sciency" reliance of people on studies showing small effect size as an excuse to not even try to change an unfair power structure, and ignore the findings showing cultural impact. I mean, even if it's not possible to erase any-and-all difference, shouldn't we at least try to eliminate some? If anything, you're showing a clear cultural bias by treating this situation differently from other scientific findings.

Also, how do you explain the constant decline, since at least the 1980s, of women participation in CS?
Equally important is actual qualification.

This is most important when the sales process presents as long or costly or both.

People will commit expensive people and resources on the hopes of generating excitement that leads to a sale.

Qualification insures this actually happens, and that excitement is encouraging all parties to move through the process, not circumvent it.

Generally, "cool" isn't a sales point. It gets attention, but the material sales points are those that present value for the dollar, return on investment, growth, whatever the business generally is looking for.
Introducing Auto-Password Changing with LastPass
What does this do that IMAP and SMTP don't do already?

All you need is an IMAP server, accessed from all your devices. The one that comes with Android isn't bad. Thunderbird works fine on the desktop.

You don't have to use GMail with Android; when you first power up your Android device, click "Later" when it asks for a Google login. Then delete the Google One-Time Startup app. Google won't bother you again.
Secret report cited in NSA surveillance lawsuit, govt silent on its existence
Oh, are you're also a subscriber to "Social Darwinist Weekly"?
If you have to ask that I suspect you'll never understand.
Of course. But how come the response to trying to get more women to participate in technical fields so much more defeatist on HN than some absurd, quasi-religious attempts such as cryonic re-animation?
It's amazing to me that you would accuse DFW of myopia and hypocrisy when your argument here is, well, hypocritically myopic (not to mention one might say that DFW's overarching thesis in all of his work was encouraging his readers to be less myopic e.g. [1][2])

To tackle a problem like world hunger and homelessness takes an incredible amount of effort across a huge number of domains by an enormous amount of people. DFW was obviously not someone best suited to go e.g. repair "pissing corners and walls", and we should not expect him to be. Instead, he did many things to inspire many people to lead more altruistic and less self-centered lives. This was his talent, and it's probably done more good for the world than any amount manual labor he could have done in his lifetime. Ignoring this aspect of helping the afflicted is the same strain of myopia that thinks charities should give 100% of their fundraising to researchers/etc, as if raising awareness and paying competitive salaries were not the lifeblood of said charities[3].

I'll leave your rant about how "power giants stealing money have never helped the poor" alone, as your rhetoric and ignorance of evidence to the contrary clearly imply you're not about to have a rational discussion about it.

[1] http://web.ics.purdue.edu/~drkelly/DFWKenyonAddress2005.pdf

[2] http://observer.com/1997/10/john-updike-champion-literary-ph...

[3] http://www.ted.com/talks/dan_pallotta_the_way_we_think_about...
Let me get this straight. Your oath prevents you from taking untaxed intoxicating liquors across state lines, no matter what violence you might be able to prevent by doing so, or the lives you might save (it's a violation of the 21st Amendment to take that moonshine across the state line to use an emergency anesthesia for a backwoods accident where the person needs an amputation), but you believe there may be times where your oath would let you torture someone, in violation of national laws and international treaties?

That's messed up.

And you've just relied on the No True Scotsman fallacy. Obviously anyone who doesn't interpret your oath the same as you do must have flouted it. Or perhaps it's Cheney who says you flouted the oath. How do I tell again who's right?

Oliver North was photogenically insistent that selling arms to Iran, in violation of US law, in order to fund the Contras against the democratically elected Sandinista government, was part of his oath. The enemy had become "liberal politicians, gutless judges and left-handed journalists" says one biography.

I'm pretty sure he believes his ethics are "rock solid" and oath unbroken. How am I to tell if it's broken?
Extensive discussion a month ago:

https://news.ycombinator.com/item?id=8583257
I'm trying to read it but something about the writing style breaks my brain. Could anyone provide a translation in American English?
Same thing here. It started giving me a headache.
You might find that changing the font to something more normal would help you do that.
Still on front page from earlier today:

https://news.ycombinator.com/item?id=8785894
Importance of Education in Pakistan
It was also the first thing I looked up when negotiating on my position I start next month. I've secured a 10% raise upfront, with a further 15% + access to a max. 25% yearly bonus arranged once I get a qualification in the first quarter of the new year.

It took a little bit to map the software eng. assumptions to a mech eng. role such as my own (especially given the market is terrible for me right now where I am) but it paid off in dividends for me. So thank you so much!
fwiw, on linux with g++-4.8.2:

qsort: 4415 ms
std::sort: 4413 ms

Some comments:

1.) std::sort doesn't require twice as many comparisons

2.) You not only have a vector with equal items, you have a vector of the same item repeated. That removes all data cache issues which I think is generally unrealistic and unfair.

3.) An already sorted vector is not only pathological, it's something that you usually need to optimize for (probably both qsort and std::sort are bad choices)
And another earlier discussion (of the original Quanta article that Wired reprinted): https://news.ycombinator.com/item?id=8731040
Bar Loan
Now you can receive small business loans, home equity loans, bar loans, or any other loans by lining up your payments with your credit card sales. NextWave Funding offers cash advances in a convenient and hassle free way.
> This is a pure performance optimization, not a correctness requirement. Removing the initial pre-alignment loop doesn't change any results.

Somebody needs to test their code on a CPU that requires alignment before loading 64bit values.
Yes, you really should. That was my intention with this post all along.
I'd always assumed kcna.co.jp was meant to be parody...
What surprise MOKIBOX will bring to you? Waiting it in 2015
Maybe you can read these news articles.

- http://www.businessinsider.com/north-koreas-official-stateme...

- http://www.bbc.com/news/world-asia-30573040

And an "annotated version":

- http://www.vox.com/2014/12/22/7434177/north-korea-sony-trans...
Are they trying to long troll us? tl;dr people.
It's interesting how clearly we see the effects of the English -> Korean -> English translator. Where Obama referred to "proportional response", this statement directly quotes it as "symmetric counteraction".
> It would be nice to have separate types for arrays and hash tables though. I don't understand why they were combined to begin with. Simplicity? Seems like there are more edge cases and gotchas the way things are now.

There is no "hash table" type in PHP user land.
An interesting takeaway from this, perhaps, is how willing this statement is to defend and mark the 'defenders of peace' group as supporters of the regime.

If an anonymous hacker attacked a cause that you supported but you didn't know what they were going to do next, would you publicly support them?
There is lots of rambling on the text.

But from the tone of it, and from the actual text, I could understand:

1) They claim that US State Department helped in the creation of "The Interview" and that the movie promotes terrorism.

2) They claim that the Sony hack was perpetrated by terrorists, because terrorism breeds terrorism.

3) They claim they have nothing to do with the Sony hack, although they approve it.

4) They claim they are really, really angry at US behaviour of accusing them, and they will retaliate, including militarily.

Interestingly enough, they don't mention their own networking getting killed.
If it killed the rest of Usenet, it was no true Scotsman. Erm, not a nice UX.
What this really means is that cargo deliveries to Mars can be made any time in the orbital cycle; it's not necessary to wait for a close approach. The trip takes a few months longer, but can be started at any time. Useful if there are ever any significant operations on Mars.
You're wrong, but I think you just don't have the right kind of experience to understand why.
This subject was covered recently in "Assholes, A Theory", by Aaron James. This is a serious study of assholes and why they rise to the top in certain types of organizations. It's not a joke. It's worth reading.
It really isn't a paradox. Your strength being 'always right' is a strength, but relying on it without proof is a weakness. The scientific method delivers an expert to their position, but it also keeps one in their place.

We always need to show our work. The fact that an expert can crutch on the Markovian Weather doesn't mean I should trust them in any way based on their word. Trust me, says the expert, I am always right. There are those who are right and there are those who are right with proof.

The outcome doesn't make argument, the argument and the outcome does.
This is more of a data modeling and permissions question, more dependent on the database choice rather than the framework I'd say. Since Meteor only supports Mongo right now, I'll use Mongo terms (collections & documents)

Meteor gives you an accounts collection so you don't have to declare it yourself. But we do need to declare the Groups Collection

Groups = new Mongo.Collection('groups');

Let's assume we want Users and Groups to have a many to many relation, so each User doc has an attribute `groups`. `groups` is an array of which each element is the unique id of a Group document. Similarly, Group documents have an attribute `members`, an array of which each element is a User document unique id.

There is a third Collection needed, documents.

Documents = new Mongo.Collection('documents');

Each document in the Documents Collection has an `owner` field that is the unique id of a Group document.

To handle the security for inserting or updating the Documents Collection, you need to set 2 allow rules on the Collection to check if the document.owner is in the user.groups array.

Documents.allow({
insert: function(userId, doc) {
// doc's owner must be one of logged in user's groups
return Meteor.user().groups.indexOf(doc.owner) > -1;
},
update: function(userId, doc, field, modifier) {
return Meteor.user().groups.indexOf(doc.owner) > -1;
}
}

As for reading the document, you do that when declaring your Publications. Easiest would be to publish all of them, but you could also pass in a groupId or array of groupIds if you wanted to have some restrictions.

Meteor.publish("documents", function() {
return Documents.find();
};