skysight-inc/HackerNews huggingface dataset:
At my last job I had two exit interviews. In the first HR sent me the typical forms, which I'm sure went straight to the garbage.

In the second my VP sat me down and asked me why I was leaving. I could tell he would have been fine with my BS answer or with my honest one, so I gave him a mix of the two. I avoided the tacky stuff (we were all underpaid, which he knew) and concentrated on my personal development. It was constructive without coming off as petty or angry. He told me he was happy with my work and that I could come back anytime, and wished me luck. That second exit interview was great because HR had nothing to do with it.
Hotmail: Renovate the Castle and Lock the Front Door
I mean non-anonymously.
This post was second after the one to Mark Zuckerberg when I clicked it, and for a second I thought it meant Bill Gates was doing it. I boggled for a second at the idea of Mr Microsoft being sane about patents, but of course it was my error. Pity.
I wouldn't do any of this, Ruby / Python are OO so they provide already baked in primitives to do this, e.g:

array.map { |e| e + val }

It bugs me when developers roll their own instead of utilizing what's already been done (minus performance reasons).
Just as a note, tens of thousands to hundreds of thousands of people were exposed to weaponized anthrax in the Sverdlosk accidents. While the exact death toll is unknown current counts are at most in the hundreds. We will probably never know the death toll in part due to coverups in part orchestrated by none other than Boris Yeltsin. However based on available data, weaponized anthrax just isn't that dangerous.
Losing the suit would provide evidence to potential acquirers that the patents are worthless.
it's interesting that you say you have a functional background but then chastise people for not modifying the array in place ...?
See my comment in this thread, I have a link to my github repo (and a video describing the project) where I have a solution to the static content on dynamic websites problem. My solution is to use PhantomJS to render static pages using the same code that the dynamic pages are rendered with.
PressureAID: Watertight hearing device for swimmers, water games fans
> Interviewing with people who refuse to acknowledge this is extremely frustrating.

I agree. Let me be clear, I'm just having a bit of fun posing this challenge on my blog. In no way do I count minor inefficiencies in implementations against candidates. Now, if they come up with an n^2 solution I might be concerned...

I know how web development works, I understand throwing more servers at it usually is the easiest solution.

But also now that mobile is becoming hot, it is more like embedded systems than web development, so when I'm interviewing mobile candidates we definitely discuss things regarding runtime and memory tradeoffs.
If you've disabled Javascript on your mobile device, this website will overlay an opaque black square over the content. A note to danshapiro.com -- when you are needlessly restricting your viewers from accessing your website for arbitrary reasons in this way, you should limit the size of the box holding the content, as I was still able to read the majority of your article.
A lot of people seem to be missing Dalton's point. Dalton isn't complaining Mark's behavior is bad (in the short term). He knows why Mark did what he did, it makes sense if you are thinking short term. It makes sense if you think Facebook is worth 110 Billion.

This isn't a letter so much to convince Mark that he is heading down the wrong path. I think Dalton is convinced FB as an organization has made too many promises. It's too late for FB too change direction. They are headed for and iceberg at 110 billion dollar speed and can't course correct in time.

Rather this is a letter to us. Dalton is pointing out the prediction that Facebook won't be around in 10 years. So don't build your apps on it. If you build your apps using Facebook you will be at its mercy. And as Facebook starts to die, you will feel the pain it inflicts on its closest "partners" as it scrambles to squeeze blood from turnips. It will use every nasty trick in the book to keep a monopoly on its market and squeeze every last drop of money and value (your personal info) it can from users.

Dalton has seen what people who run a company, with a dying business model, are capable of before. The Record/Music companies... He knows what a company, that is seeing its monopoly slip through its fingers, is willing to do to keep that monopoly just a little longer.

Intimidation and dishonest negotiation tactics are just the start. Will we soon see Facebook suing users? Lobbying congress for SOPA like laws to protect its monopoly? Remember GoDaddy was a main supporter of SOPA. It saw SOPA as a way to keep its URL retailing monopoly.

Dalton is warning you. Dalton cares about you. He has given up on saving Mark. Mark wants to kill the goose that laid the golden egg. Dalton wants to raise the goose that lays the silver egg. And share those eggs with us. Well, that's my interpretation of this open letter to Mark. I could be wrong, I often am.
Well done - you are obviously doing a good job with a huge codebase.
Again, I didn't really think you were being judgmental. It's just that in Ruby, the for loop definitely doesn't have pride of place at all. You're may be right that most programmers learn languages where for is more common, but I wonder about people who start with Ruby. That is, do they think for is weirdly primitive when they start doing Javascript?

Anyhow, no offense taken at all. But I would be shocked if any Rubyist did use for.
All my exit interviews have been held before the end of my last day, for which I still receive a full day's salary. Typically they end with signing a termination agreement that makes me officially unemployed.

If they called for advice later I still wouldn't lie, though I might want compensation for some kind of really big imposition.
Menlo Park, CA - FULLTIME, INTERN, H1B welcome

OptumSoft (http://www.optumsoft.com/jobs)

Our company is a startup focused on redefining the way distributed applications are developed. We believe existing
mechanisms for programming distributed systems are difficult and error-prone. To solve this, we invented a development
platform to construct high-performance large-scale applications, and we are building applications using this
framework to validate our beliefs.

We already have customers using our software in production environments.

We're looking for engineers with C++ development experience that have an interest in distributed systems and/or compilers.

If you're interested, please email me - nflath@optumsoft.com
It's not theoretical. MySQL by default allowed type coercion out-of-box that is nonsensical. Sure, type coercion can be nice, but I'd prefer none over if it not failing and coercing bin('y') to 0.

Attributing their success to their choice of DB is insulting at best.
Embarc.. (oh, whoever owns Delphi right now, hard to even spell) who's been struggling for multiplatform solutions for some time.

Though I'd not bet on it. Their management seems to have made all the wrong decisions in product development in the last 10+ years and has ridden Delphi, a platform which was always way ahead of its time, into irrelevance.
Agreed - I didn't mean for it to be criticism of the project, but that line just jumped out at me. Like you say, for new projects they are using unit testing.
Hey, thanks for the heads up and sorry to hear about your troubles. Your site is really beautiful. I too was using masonry before "pinterest type layout" became the more apt phrase. Hope you can get back to developing your site. I know those pesky full-time gigs get in the way of our passion, though they're a little more stable. Best wishes and please keep checking back. Any feedback would be helpful. Thanks again:)
I agree most Netflix users probably have cable, and won't cut cable until there is a critical mass of content available online. I do think there is a tipping point not that far off, and when it happens the businesses that are already well established online like Netflix are best positioned to reap the rewards. HBO can position itself in resistance to the change, but risk being caught flat footed when it happens.
> If you are leaving a company you don't like...

I've never left a company I didn't like.
Did you even talk price? It may have been worth your while...
A fish rots from the head down. Zuckerberg has well-known form screwing over those he does business with. That you're surprised speaks more to your business acumen than his I'm afraid. Your open letter comes across as entitled and puerile - as they usually do.
Abandoning Algebra Is Not the Answer
Yeah it's been quite grueling getting everything working and it took more than a weekend, but it has been fun to work on. Happy hacking, thanks for the compliment, and look forward to seeing your projects:)
> the result being a bit of a disaster

If doubling your traffic every 8-12 months for seven years is a disaster...
Here's my cheating version that uses a third-party library:

add1_cheating = (arr, val, n) ->
n = arr.length if n is 0
start = if n < 0 then arr.length else 0
end = if n < 0 then 0 else arr.length
step = n/(Math.abs n)
n = Math.abs n
count = 0
for i in _.range start, end, step
break if count > n
arr[i]++ if arr[i] is val
count++
return arr
You and some other commenters seemed to have only read the "Facebook tried to acu-hire you" part. You're missing the point.

The important part of the post is the latter half, which is consistent with his recently blog posts about this thesis:

"My thesis is that if you purport to be a platform, your business model needs to reflect your platform-ness. Because if you instead have an ad business model, and you’re not making enough money, you can end up slaughtering your ecosystem." - Dalton
http://techcrunch.com/2012/07/30/dalton-caldwell-on-app-nets...

This blog post is a continuation of that theme, wherein Facebook, a social media company platform, screwed with the user and 3rd party dev eco system[1] due to bad incentives[2] caused by a search for ad-revenue[3]. The paragraph here illustrates the connection:

[1] "Mark, I know for a fact that my experience was not an isolated incident. Several other startup founders & Facebook employees have told me that what I experienced was part of a systematic M&A “formula”. " - Dalton

[2] "I don’t think you or your employees are bad people. I just think you constructed a business that has financial motivations that are not in-line with users & developers." - Dalton

[3] "Strangely, your “platform developer relations” executive made no attempt to defend my position. Rather, he explained that he was recently given ownership of App Center, and that because of new ad units they were building, he was now responsible for over $1B/year in ad revenue. The execs in the room made clear that the success of my product would be an impediment to your ad revenue financial goals, and thus even offering me the chance to be acquired was a noble and kind move on their part." - Dalton

HN lately has been a lot of people picking out one part of the article, because it incenses some "sensibility" on their part, when it doesn't have anything to do with the main point of the OP, and the come back to HN to rant about it.

And poor Dalton tried real hard to be clear by linking to all the stuff he was referring to also.
As one of my colleagues likes to complain, the hardest thing in the world to find is programmers who try to make sure they're giving you what you want instead of just giving you what you asked for.
Location: Mountain View, HackerRank.com

What?
Imagine a room in SF where all the top engineers from Google, Facebook, Apple, etc. come by everyday and spend a couple of hours? The value of that room is incredibly high.
Now, let's expand the room to contain the best problem solvers (hackers, PhDs, math studs from Weizmann, etc.) across the globe hanging out every single day. This room has the potential to define how the world functions.

At HackerRank.com we're building this room online.

How?
Every programmer has something that attracts her to code - bot-vs-bot contests (eg: aichallenge.org), functional programming challenges (eg: 4clojure.com), quick hacks over twitter API's, etc. This can be for fun or to learn a particular programming concept or anything in programming (eg: vimgolf.com has greatly improved my vim skills)

We're taking the complete experience and adding an interesting social component to it. It's going to be a fun place for programmers to hang out.

Team:
We're a young team at Mountain View, recently funded by Y-combinator and a top VC firm. You'll be an early engineer in a real hardworking team of hackers. Our culture is defined more on persistence than "talent".

Tech stack:
We use ROR, backbone.js, coffeescript, neo4j, EC2.

Preview: youtu.be/-p44yPm2wy0

Apply:
Please mail your online coding profile and the biggest hack you've done to hackers [at] hackerrank [dot] com
Definitely agree about having gall. Your not going to get that internship unless you ask and the worst they can do is say no. There is zero downside.
> I'm not missing the point of subreddits at all

Yes you are.

-former reddit employee
Dieting vs. Exercise for Weight Loss
There is only ONE way to implement Bluetooth and meet the standard.

There are LOTS of ways to unlock a phone. Including the way every phone was doing before the iPhone i.e. holding down a button. Likewise for click to upgrade and most of the other design and UI related patents.

So you see now why Google and Samsung are just as much of a problem as patent trolls ?
http://feeds.feedburner.com/NSHipster
哈施塔特
A problem with entirely made-up domain-less questions like this is that any additional constraints are equally as arbitrary as the question itself, and thus difficult to probe for in the same way that someone would probe a customer for constraints to real problems.

It seems like you're very interested in people asking questions like "how big might the array be" or "what order of time can you afford to wait for the answer to this", to which you might answer "a billion" or, "as little as possible", but those questions are very different and less meaningful than questions like "how many users will this system have", and "how much time can users of this system afford to wait for a response", even though the answers may be the same.
I am so in favor of this approach. If HN wants to maintain high quality, it needs to make a commitment to primary sources and ban secondary sources.

Articles that are replies to articles should be fine, but articles that summarize other others really have to go unless they (1) do a remarkable job of shining like on the subject or (2) provide a novel viewpoint/opinion amongst the summary.

We should call seo spam summaries "spummary" or "spammary".
The fact that people go to them when they could instead not go to them implies some kind of reason to go.
Having worked in an industry which uses these things a lot, I can personally attest that neodymium magnets are dangerous. Somebody I know nearly had his little finger crushed when it was sandwiched between 2 magnets attracting each other.

I am not sure what ZenMagnets are for, or how powerful they are, but if they are like the magnets I worked with, I certainly can see how they present a danger to people who choose to ingest them (eg kids).

That doesn't necessarily mean I agree with the ban though.
And using map that short-circuits.
I don't think the majority of people need or even want smart watches [1]. However an iterative update to the Nano to include Bluetooth 4 connectivity would allow it to be used as a portal to say, the entire music collection sitting on the device in your pocket/handbag, email notifications, weather forecast, Airplay remote etc. So a seemingly pointless ~1gb device becomes a whole lot more desirable through a relatively cheap and simple hardware update.

[1] Just another bit of kit that you have to take off/put on each day and doesn't add a whole lot more value than carrying a phone in your pocket. Separate devices are an antithesis to the smartphone - the Swiss Army Knife of the digital world.
I agree. Maybe send me an email in the morning that asks me a few questions and let me reply with my answers or something.

Or make a "homepage" view that I can set to my new tab screen. Each time I open a new tab I can one and only one question with dead simple entry. If there are no questions to answer, I get some stats or something.

I saw the little image with the form fields and I thought, great! Forms to fill out!

And I say this as someone who has kept spread sheets, paper ledgers, you name it.
"Gamer" is an unbelievably broad term, akin to an average "reader" age of anyone who reads something. The pdf (can't find any actual study confirming any of that data) sourced on wiki doesn't explain what most of those extremely broad terms mean. My mom is 59 and plays games on facebook nearly every night, so that makes her a "gamer" too.

I wouldn't even consider that an accurate number for the Android gaming platform. Overall that's no more valuable of a number than it's stated, which is incredibly insignificant.

I would say that a majority of game pirates aren't causing lost sales (i.e.: if piracy was suddenly made impossible, those people just wouldn't play the game at all). I know of a few documented incidents offhand where an outbreak of piracy led directly to increased sales, for what it's worth. Not to say that piracy DOESN'T lead to a lost sale, but that rather the losses are vastly overstated in "big picture" estimates. Like so much else in the world, the truth is much more complicated than any one absolute answer.
There is dishonesty on both sides. The company is usually being dishonest about actually wanting to hear truthful feedback, and so the exiting employee responds in kind.

But also, the name of the game in business is self-interest. Here, there is little upside to speaking the truth, only downside. The time to tell the truth is when you still work there, or never, if the culture is poor enough.
郑州昆仑乐居商务酒店黄河路店预订
People are just lazy since it usually doesn't matter.

array[i]++ for i in [-1..-array.length]
Email, of course, contains tons of personal information. If linked to a user's identity, it could clearly be used to inform advertising. However, emails in aggregate probably don't give you any more useful advertising insight than the Web corpus itself, which Google could obviously use if it wanted.

Further, why would Google need to log random bits of WiFi payload data to extract a relatively small amount of email when they operate Gmail?! If the decision to purposefully violate people's privacy had actually been made, wouldn't it be easier to look at Gmail than to use Street View?

There would be more data, better data, and you'd have it more quickly than if you sent a bunch of cars to drive all over the world, collect a bunch of extraneous crap, then wait for them to come back, and screen it for something useful.

Frankly, that's absurd.
Wouldn't it be simpler to require that any company suing over patents must also be an active practitioner in the field(s) that the patents involve?

That would kill the asset-free trolls instantly because without an engineering staff and a product they can't very well be building anything that uses their "property", can they?
It works. Common Lisp just happens to have a function built in (substitute) that does pretty much what the problem asks for.
Do they have any more feet to shoot?
Even in languages like C# the standard for-loop seems to be heading in the direction of being considered harmful. Its status hasn't gone nearly as far along the path as for Ruby, but the tide's turning that way.

As far as creating a new array (or several new arrays) goes, there are some new considerations such as composability that are starting to be valued more highly than efficiency. And pure functions are more composable than ones that mutate the existing data.

Granted, the n < 0 case could still be handled in a way that's more efficient but still pure by allocating an array and filling it backward rather than using two reverses and an iterator.
Performance differences are anything but negligible. In the case of the "billion elements", you are now spending the majority of time for reversing the array twice.

As a programmer you should always know what kind of cost you are incurring, both asymptotically and down to cycles.

Trying to condense all the cases into one (using reverse or local state like 'step' from OPs version) is what hurts readability and maintainability.

Also, the "buy more metal" argument is hardly applicable for implementing this one way or another. Its an argument for using whatever platform you are most productive in.
Google Website Optimizer shuts down
TBH the entire court system would be better if money were a non-issue. The best way I can think of to solve that is to require both sides to be funded equally. i.e. if Side A wants better lawyers that cost more, then they should enough money towards a legal pool which is split equally between Side A and Side B. We will never have a just legal system until you eliminate this financial asymmetry.
Here's my 10-minutes-of-thought JavaScript implementation. I was going to do Ruby until I realized how long it's been since I wrote any Ruby.

I only got it down to 2 cases

function add1(arr, val, n) {
var m = 0, i;

if(n > 0) {
for(i = 0; i < arr.length && m < n; i++) {
if(arr[i] === val) {
arr[i]++;
m++;
}
}
} else {
for(i = arr.length; i >= 0 && (m !== n || !n); i--) {
if(arr[i] === val) {
arr[i]++;
m--;
}
}
}
console.log(arr);
}
Yes. Our business culture is rotten. I think it's a huge drag on our economy we don't criticize enough.

Too many people playing poker games instead of building a world where we all get better lives.
As usual, lisp from the win! But you'd want to use nsubstitute for the in place manipulation.
Great comment kevin, I'm the original OP.

I value being viewed as someone with integrity. If I'm using this exit interview as a chance to be honest with them for the first time, then it's my fault. By the time I made it to the exit interview, everyone in the room knows 100% why I am leaving. I have already tried to change the situation, and it didn't work.

If a girl asked you if she was fat (and she was) are you going to tell her that she is fat? Or are you going to lie? Everyone in the room knows that she's fat. No, you're not. You're not going to ruin her day. That's how I view an exit interview. We all know the truth and If you're going to make me say it on record on my way out, the message will make it back to management and I will look bad.

I guess this post makes me look like a miserable POS, but it's really the opposite. I've had great experiences working for great companies. At a recent job at Big4 firm, the CEO of the firm sent out my resignation letter to the entire company because of how great it was. It was a positive email, with no negatives. There was some constructive criticism (very, very minor criticism), but it didn't make it to my good bye letter or exit interview. I kept it positive and in the end it worked out great.
Cara Mengobati Penyakit Kusta 
Akhir-akhir ini tentunya akan banyak sekali penyakit yang akan sangat mengganggu keseharian anda ataupun aktifitas. Dari mulai penyakit kecil hingga yang besar Ragam penyakit dan macam- macam penyakit yang timbul, Ntah dari asupan makanan yang kita makan sehari-harri, pola hidup kita yag tidak sehat atau juga lingkungan menjadi titik besar kesehatan anda.seriingkali orang yang menderita penyakit ini diasingkan orang banyak karena sebagian banyak orang berpandangan bahwa penyakit yang menyebabkan kecacatan kulit ini adalah penyebab dari kutukan, guna-guna dan penyakit keturunan karena