This happened to me once, as in my first month at a new job, I came in one day to find I had caused a bug in production. But I hadn't deployed any software!
It turned out that the department had carefully orchestrated a system whereby all checked-in code would move automatically to alpha the next day, then beta, then production the next week. But nobody told me.
A manager there later told me, "If the code we write is strong enough, it does not need to be released--it will escape."
"You have 60 minutes to code a security patch for a vulnerable payment processing app."
"Congratulations, you shipped to a million people and saved the company from hackers."
I laughed pretty hard at that, and the "aggressive integration bit"...I'd probably leave if a company decided to ship something I coded in an hour in an interview.
Every "bad interview" story that graces the front page of HN has this common theme that the interviewee is an infallible genius who aces every question.
I know there's a bias here (better engineers are probably more likely to blog in the first place and most people would rather write about an experience where they're the "victor"), but it would be nice to read an article from someone acknowledging their own failure just once.
When I read stories like these, I don' think of it in terms of the interviewee being a genius and "above" the silly questions they ask them. For me, it's a look inside a company who doesn't have their shit together and doesn't know how to properly interview candidates for the position they're hiring.
You've also got to wonder whether what gets voted to front page HN is biased. Could be there's lots of accounts of abject failure out there - just nobody is amused by them.
Ahh... The rabbit hole question seemed like a hint too, but this confirms it. Unfortunately this means that the Enders Game line wasn't said in reality. Though perhaps in the future it will be.
A few years back I joined a company that was doing really interesting and very highly technical stuff only to discover that the only bit of that hyperbole that didn't match their antics was the fact by saying "push to production" sort of implies that they are using a revision control system. Which the lot I joined didn't....
I'd also never seen software deployment by RAID before... (or happily since)
Mind you, they were bought for a pile of money and the people who thought the above were a good idea made out like bandits.
After staring at the rabbit, black hole, and troll question for a few seconds and going "WUT?" I started to get the feeling this didn't actually happen.
To me, some important information seems to be missing for it to become a legit brain-teaser: the numbers of rabbits? the number of holes? how does each round work?, etc.
No, I really don't get it. It doesn't seem that unlikely to me that some goofballs somewhere would actually push interview code to production, I have come pretty close to that situation myself. (Not saying it's a good idea, just that it could happen)
The number of rabbits at the (i+1)'th step is equal to the number of rabbits at the i'th step minus that one rabbit which is /maybe/ being eaten. And the "maybe" I think can be quantified as the probability the Troll has to find a rabbit at the i'th step. So:
R_(i+1) = R_i -1 * P(Troll finds a rabbit)
And now we have to calculate the probability of the event "Troll finds a rabbit" (i'll call it event A). There are 2 cases:
* the Troll falls into a black hole (btw, i'm gonna assume the blackholes teleport to any cell with uniform probability);
* the Troll does not fall into a black hole;
I'm going to call these two events B and not(B).
So:
P(A) = P(A given B) + P(A given not(B))
Well, P(A given B) is the probability that Troll is being teleported to a cell with a rabbit in it, that is number of rabbits over number of cells: R_i / (nm)
P(A given not(B)) is the probability that Troll will step on a rabbit in a nearby cell which is: rabbits' density over 8: R_i / (8nm)
R_0 being the initial number of rabbits. I'm not sure all this is correct, but that formula confirms the following intuitions:
* The number of rabbits is monotonically decreasing at every step;
* The bigger the grid, the slower the decrease.
You'll see the big summation sign (for loop: i to infinite) and then an explicit function.
If you want to think, what the heck is this math crap used for: think about a more basic everyday concept like recursion. How do you know it will terminate?
I don't think he is talking about the closed form expression (at least I know what a closed-form is and still couldn't understand the question).
There was no information whatsoever about what changes on each iteration... if nothing changes then the answer would be a constant of whatever rabbits were at the beginning... and that doesn't sound about right :/
Good to hear. I'm working as a Jr. Software Engineer now, and I don't consider mathematics one of my strong points. Do many positions actually expect people to know these kinds of questions? I'd crash and burn here.
My guess is that you'd model the troll as a 2D simple symmetric random walk with the rabbits and black holes stationary and distributed randomly with some densities R and B.
As a first go I'd assume that the topology was that of a torus, so as to not deal with the boundary. Now, as the exact definition of a "round" wasn't specified, I'll just assume the troll can walk forever.
Now, it's been proven that a simple symmetric random walk on a 2D lattice has probability 1 of reaching any given point as the number of steps goes to infinity. So, ignoring the teleporting, the closed form answer for the number of rabbits eaten is mnR.
With teleporting, I'd guess the Markov chain would mix better. So, the closed form answer would again be mnR.
This is one of those blogs that needs an RSS feed or email subscription. I'm interested in reading more from it, however will have forgotten the domain by the end of the day
One of the reasons HN needs a search function for stories. Don't know how many times I remember a cool story a co-worker would want to read and can't find it for the life of me - even after trying to wrestle the story out of Google.
Also, if there is some decent way to search the links or stories which I don't know of, by all means, tell me.
Doesn't it just mean "word for word" or "exactly the same as"? I don't think the extra words in your explanation really need to be there. One can use the term in general, such as "copy an essay verbatim" or really any type of work or performance (e.g. musical recording), even if it is non verbal.
A guy in a shirt, a guy in a polo, and an Asian lady. Why not a lady? Not calling you racist, but it is interesting how the race of non-whites seems to be included in some manner like it is always relevant. Why not mention the race of the two other people? Is it less relevant? You only mention the lady once. What role did she play in the situation?
I do understand that. It is a good technique to use. But my question is: Why mention the fact that the lady was Asian, when she is not mentioned again in the story? I feel that providing the extra detail without further involving the character takes away from the story. What does the Asian lady do in the scenario? Does her being Asian somehow influence? People from some Asian countries are very polite and reserved. Did that influence the interview in some way?
Its as if I wrote the following:
John, Mike, and a white man sat down in my table. We all talked about our trip to Disney Land. Dinner was fine, except for the fish. It was over cooked. Mike sent it back to the kitchen, and they prepared another one. Afterwards, we went to the local arcade. Where a mean game of Galaga was played. John, as always, had the high score. I was not as lucky. The score was affected by my bad sleeping habits. Ever since starting this new job, I simply cannot fall asleep as easily as before.
Look, this stuff is subjective and I'm barely a novice. But.. any choice of detail you make is going to have a lot of influence on how the reader sees that room. They carry their own biases and associations. I saw two 28 year old white guys, kinda of californian looking, clear "non formal workplace' subcultural affiliation. The Asian lady, I imagine as a little older, more formally dressed and not saying anything. The interviewee is a few years older than the guys, more formally dressed and generally more accustomed to a a formal work environment.
If it had been 'two white guys and a tall woman' I probably would have pictured the interviewee as non white. I also imagine (because its in blog/HN comment format) the objection to singling out the asian. That makes it seem honest, because noticing that she's asian is like an admission of guilt.
This story is making fun of stereotypes. Using clichés is how he's getting a particular effect.
You are right. I will say that I had not noticed this story being fictional. Makes me feel rather stupid. Why did I not notice? I have been in this situation many times. We often read about how perfect startups are. How nothing in Silicon Valley stinks. But life has had me participating in scenarios similar to what the OP described. Which is the point of the post itself. The path to understanding makes shreds of the ego.
Asian ladies tend to look different from Caucasian ladies. So it evokes a different picture. I don't think racism or sexism or anything needs to be cited.
Sure, you can point out that he seems to be writing from the default perspective of a white Caucasian (assuming everybody else is also a white Caucasian, unless mentioned otherwise). Is that a crime? I think not. If you are from a different background and curious about the "race" of the guys, just ask.
You sound like a real blast to hang out with. Perhaps we can exchange telephonic-network details and beep at each other on the phone. That is, if your protocol handshake is functioning in a timely fashion. My buffer has strict timeout definitions of two signals and then I will reset the network line, wait for the dial tone, and try again precisely 15:00 standard earth minutes later. Please encode any further communication in base64. dGhhbmsgeW91IGdvb2QgYnll
The point of a story is painting a picture. Adding additional descriptors paints a clearer picture in the mind of your reader. The author wanted you to call up in your mind's eye a man in a t-shirt, a man in a polo, and a woman of Asian descent. Maybe that's his experience with start-up interviews, maybe he wanted to force "diversity" upon the reader. Either way, the author chose to describe the Asian woman to you because he wanted you to picture an Asian woman. Why is that a problem?
You realize that your link argues against this social reality, right?
>But now we have female doctors, lawyers, professors, and presidents. In fact, we have so many of them (even in heavily male-dominated areas like the physical sciences) that it’s no longer fair, or correct, to assume that the person in question is male. So how about we just collectively get over gender-stereotyping truck drivers, cardiologists, and pre-school teachers? I’m not saying we should aim to stop using gender qualifiers right this second. But it might not be a bad idea to pause and ask yourself why you think you need to specify that the doctor is female and the teacher is male. Is it important? Or is it just not exactly what you would expect?
You need to chill out. That is a seriously gigantic leap & stretch of logic to bring the word "racism" into. You do nothing but harm the foundation of the people pointing out real racism/sexist incidents. CONTEXT IS EVERYTHING(I'm saying that a lot these days), this is a satire story about a start-up's interview process. Good Story-telling causes the reader to bring up images in their mind. Simply mentioning a race isn't racism in this context. The story wasn't even using it in a negative way or anything.
In reverse, why would it be such a bad thing that he mentioned that she was asian? Is then not as offending that he referred to an individual purely by an article of clothing.
PC, while good when faced with derogatory remarks and such, can be overused.
I did my bachelors degree in a pretty small school which was mostly filled with white teachers and students (I live in the north), and on staff there was only a single black man. It was quite interesting repeatedly seeing PC conscious people looking for him:
"Is Andy here?"
"Which Andy are you referring to? We have three,"
"Oh.. erm.."
I am not saying "Oh, lets all be non-PC", but if the only defining feature about a person is being asian I dont see why it would be any worse than saying "dark haired woman".
The minute we assign some kind of shame in either direction when it comes to pointing out race, disabilities or any other defining features, that is the moment we are steering in the wrong direction.
That actually stood out to me as well, but I disagree with the others that the detail was meaningless. Of course, the detail we choose to convey has very specific meaning, sometimes unintentionally. The point of "asian lady" does paint a specific picture, but to me it conjures an image of an older, motherly/grandmotherly image (no one refers to a woman in their age/social/cultural group as 'lady' these days). The point was likely to describe a very unusual group of people: "Two Daves, one in a T-shirt, and an [old] Asian lady". The lack of racial details of the Daves indicates that they're the typical archetype of a young startup programmer. They could essentially be any race, so it didn't matter to point it out. The asian lady was meant to be the oddball, so that specific detail was necessary to paint that picture.
I see. Your interpretation makes sense. I did not take into account the word lady. I now understand the implication of her being mentioned. Normally, I use lady to refer to every, well, lady. It was my own habit that kept me from understanding the context behind the words.
There's not a good term for a female peer. Lady or woman tend to imply someone older. Girl or gal are insulting. What's the equivalent for "guy" that means "just this female dude, you know?"
I looked on Wikipedia, apparently Asian Americans comprise 5.6% of the population. Perhaps that is low enough to not be the default assumption about somebody, warranting special mention?
Also according to Wikipedia "White Americans" are 72% of the population.
It's story telling; trying to tell a good story with the use of certain specific descriptions the author feels reflect the environment. The use of 'Asian Lady' invokes imagery of a stoic, calculating, strictly business and slightly mysterious entity, which may or may not exercise some large degree of control over the situation.
I know this is satire... But quite literally, at a place I worked at (for two months, I quit) they actually did push code that wrote in the second interview to production.
I was at a talk last week where pushing interview code to production was highlighted as a good lean practice and recruiting tool
Someone in the audience asked if they made the interviewees sign anything since the company was using their unpaid labor and the guy giving the talk was seriously dumbfounded as if the idea had literally never even occurred to him.
Sounds about right. You forgot the ridiculous comp sci question that you'll never use (or you could lookup easy enough) but they want to make sure you paid attention in class 5 years ago.
On the next episode, I guess the character Mike will get an offer, and will be asked to move-in to the company house where all 5 employees of the whole company live in the same big apartment?
Great description of surprise push-to-production.