skysight-inc/HackerNews huggingface dataset:
Let me ask you this? How much time did you spend coding the sub-optimal solution?

For many of the questions I use during the interview process, I have a pretty good calibration level regarding how long it should take someone to answer a question. If the last couple of times I've used the question, the candidates were able to come up with an answer in 5 minutes, and then another candidate spends 10 minutes writing down an O(n3) solution, and then tries to come up with an more optimal solution, it might be understandable why I might give that last candidate a somewhat lower score.

One thing that can help is to also keep talking so the interviewer knows what you are thinking. That way if you outline an O(n2) solution very quickly, and then say, I think I can get a O(n log n) solution this other way, then you're showing your work, and it's a lot easier to get partial credit on a question.

In general it's better to explain the approach you want to take before you start coding. If an interviewer knows that you're going off in the weeds, perhaps because you misunderstood the problem, that will be an opportunity for the interviewer to clarify the problem, and perhaps give you a hint to steer you in the right direction. (Remember, most of the time the interviewer has used this question multiple times in the past, so s/he know where people are likely to get stuck, and very likely has hints prepared if people stumble --- and one or two stumbles does not a No Hire make; the goal is to see how someone codes and how they think, you don't get a 0 or 1 grade.)
40% discount on Reebok products on a minimum purchase of Rs.1,000 by Yebhi
Which modern text editors do this?
This is a blog post in the Rails blog because obviously this has to be announced to the Rails community.

Any web framework has the duty to use and promote proper HTTP usage. Pushing PATCH over PUT we are doing that.

This change is not the entire Rails 4.0, it is only one change in Rails 4.0. Rails 4.0 has still a long way to go.

And of course, there are going to be practical improvements as there have been in all major (and indeed minor) versions. We will do practical improvements as well as being better HTTP citizens.
Dynamic langs have a refactoring libraries that know as much as a static IDE
I use this in Emacs on a daily basis, gives me all the completion, "go-to method definition", and refactoring power I get in Eclipse+Java.
"Doesn't make sense since this assumes that all teenagers speak like the 'bullies' depicted in the film."

The only thing materially communicated by this R rating is that someone says "fuck" more than once in the movie. To call that speaking like a bully is incredibly reductive to the point of turning your argument into a straw man.
> As we move into a more virtual world

What will you eat?

Where will you live?

Who will tend to you when you're ill?

We could lose all this virtual stuff overnight and the world would be much like before, it's funny how things are all different and yet nothing changes. Facebook could disappear and you'd likely never notice (unless you happened to hold stock).

But someone still has to grow crops, build houses, produce the goods we use and someone still has to know how to set bones and how to apply stitches.

The virtual world is mostly a first world luxury, if not an outright illusion.

Work will always be connected to sweat labour, maybe not directly but it will be very hard to get rid of that factor in a sustainable manner.

Capitalism is not failing, it is simply adapting to a new situation. And Communism didn't crumble because labour as value stopped making sense, we simply have never had communism, only a bunch of people using it as a fig leaf to cover up their crimes.
Let's say the benchmarks are accurate, and it really can serve twice as many 100 byte files as nginx. Is your entire application based around serving as many 100 byte files as possible? No? Then the benchmarks as meaningless to you.
I guess this won't work on my "old" iPad 1? I hope Apple is going to announce the 3 in a couple of weeks. I'm holding myself to upgrading every other generation for both the tablets and phones. Does anyone else find it strange that these technologies are essentially obsolete in 24 months?
> I would probably trust 5-10 US schools

For the record, there are people coming out of MIT's CS program (or CS/EE or whatever has the most CS emphasis) that don't understand what recursion is.
I doubt these types of films are expected to make a profit or even break even.
I watched a few episodes of Shark Tank and thought to myself "I can't imagine all of those deals actually go through." I'm really glad altucher actually researched some of the deals that fell through, and reported it for us to see. It's really important to be reminded not to treat money like it's real until it literally shows up in your bank account. I've known people to get into big trouble by failing to observe that principle.
How to Square numbers made up of repeating digit in 2 seconds
No, it's not.

http://rope.sourceforge.net/ is pretty painless. Doesn't seem like you've actually used it.
Mingly: Relationship Management Made Easy
Don't think you'd be required to know everything about quantum physics to program a quantum computer, just like you aren't required to be a electrical engineer to be a decent programmer. But if you are talking about a lifelong contribution to research, and you are going for a PHD then there is nothing unwise about that.
ResumeIcons: A Picture of Who Gets Hired
I agree, however Patch versus Put is the least of Rails' problem when it comes to bloat. Put vs Patch is bikeshedding.

An insistence on handling all things with Ruby is why things get bloated and stop progressing.

Sprockets solves a pain, I admit, but at the cost of adding ruby bloat to all thick client code.

Instead of being able to use javascript libraries with one another natively, everything goes through Ruby.

Anyways, I'll probably get downvoted for this comment by Railers because this is somewhat OT and trollish (I admit), but it's a legitimately complaint about the direction of Rails.

I think Rails has lost sight of what it does really well, server-side logic. Rails, in v4.0, needs to adopt a symbiotic relationship with thick-client javascript instead of trying to consume it and insert ruby in-between all the javascript parts.

For example, right now, the recommended place for a backbone.js app in a rails project is /app/assets/javascripts/. That "folder" is only going to grow as the client-side javascript becomes more important. Keeping the javascript logic "subordinate" to the Ruby elements in a Rails project causes more bloat than anything else. Look at any thick-client Rails project and count the number of gems managing javascript. If there are more than two or three, you've probably got a separation of concerns issue at the language level. That's bloat.

If you want to down vote me, go ahead. I just ask that you have the courtesy to defend your down vote with a comment. If you think I'm wrong tell me why. Maybe, I'm doing something wrong.
Actually, I'm more concerned with the Markdown syntax and not about how pandoc (nice tool btw) converts it. The issue I see is unchecked feature creep, especially with the variants of markdown we're starting to see.

Reluctantly, I agree that plain text documents are the way to go. I used to be a FrameMaker user.
Pandoc's extended markdown allows you to use a backslash at the end of the line to indicate a line break. (Think of this as a backslash-escaped newline, if you want.)
guy brags about CSS and has a website that renders one word per line on an iphone.

yeah.
Of course we'll change the subject to restroom design. What else is there to say, here, about BitTorrent?

This article, and the Oatmeal comic which inspired it, are great, but they could have been written a decade ago, if one replaced Game of Thrones with Kid A and "BitTorrent" with "Napster". (Ten years ago, Napster had already been shut down for seven months. How time flies.)

We've had this discussion, had it again, printed it on T-shirts and coasters. Apple went and instantiated this concept in the music industry, and made billions of dollars in the process, and even that is old news now.

The sad thing about Marco's argument is that it's not only right, but it applies to itself. Being correct feels great, and it certainly helps, but it's not the same thing as making progress.
>> (and the bar is continually lowering),

Oh goodie. I'm thinking Google has more "hubris" now than Apple.
I really like the idea of having more varied, interactive lectures in person. Some of my recent cs classes have been like that, and I found them much more interesting.

It's nice when the entire lecture involves students and when the lectures are not afraid to cover things outside the exams: for example, for my AI class, we had the lead scientist from IBM's Watson team give a talk and then spent several lectures just learning about the cool sorts of things you can do with AI in the real world (autonomous helicopters :)). This was a great finish to the class: it showed where and how the techniques we learned are actually used in a very interesting way.
I'm curious how it should work if you measure two separate scores (math, verbal) -- would you go for the people who have the highest combined score, the highest score in either, or the highest score in either but meeting a minimum standard in the other?
> Any other introverts who don't consider themselves shy?

In this society, I think there is pressure for someone who has a shy friend to label them not shy. Maybe because it makes them feel better. To put inordinate emphasis on examples of their friend not being shy to support their argument that the friend is not shy. I think, in general, people will bolster whatever argument they want to bolster. To some friends, I may come across as not shy - but the reality is: Even though I do like being around people, as much I may regret/feel the pangs of being lonely sometimes, I prefer solitude and hiding in my cave regularly. Maybe that is being shy.

As an example, the other day, I was referencing being shy and my friend's wife called me out on it. She claimed that I knew a lot of people (true) in a large number of areas (true). If I am not shy, then how did I meet these people? My answer was that I when I get focused on a project (be it, salsa dancing, learning how to draw/paint, helping a non-profit) - I get uber focused. In this situations, I draw people in because I am supremely interested in soaking up as much as I can about the project du jour. I recognize that I don't know much - I excel in situations where I don't know much but want to know more - and I find, especially, in non-technology situations - that you can't just Google it - you have to talk to actual people. However, most of these people I know - it is a very loose connection - we're not friends per se just friendly. I just know lots of people because I have lots of interests.

I can't talk sports (didn't grow up watching football on TV like many of my peers). I can't talk politics. But I am an extremely good listener - I can draw people out on a one-to-one basis and get them to really talk about what is important to them. Not always, of course (I usually have my force fields up). However, being able to connect with someone on a non-superficial basis is a joy in my life - and it usually happens within minutes - when it happens. It is much harder to engage a group. In fact, at parties, I will be intensely soaking up the conversation (saying nothing but totally being a sponge) and my friends (extroverts) will ask me later - very annoying btw - whether I am having a good time. Usually, I am because I love hearing about other people's lives. In a group situation, I am definitely more passive - and could be seen as a non-participant. And in a way, I am. But I am listening to everyone and everything.

So I am not shy on a one-to-one basis. Does that count?

When I look at true extroverts, I marvel at their ability to work the room. To seamlessly jump from group to group. That skill can be taught - but it is more than a skill - it is a leap beyond being wrapped up in yourself, thinking that everyone is thinking about you.
Hey it was a pretty decent show! Did you watch them all?
This post is no less informative and no more political than, for example, this post on ACTA:
http://news.ycombinator.com/item?id=3620579

In my understanding it is in fact both acceptable under the guidelines and especially relevant to hackers and I will explain my reasoning on each point in order.

The post is acceptable under the guidelines because it is factual reporting about Palestine and Israel, which is important information that I do not believe would normally get reported in the US media. I have seen airplay of criticism (demonization even), mostly of the Palestinians but occasionally of the Israeli settlers, but not the facts.

I believe that the reason the facts about Palestine are suppressed is because of organized "Hasbara" (public relations) efforts by Israel's supporters in the USA. (Example link: http://www.hasbara.com/)

(I believe the factual record is one sidedly unflattering to Israel, so I believe that to be the Israeli motive.)

Otherwise I can't explain why there hasn't been more uproar about Israel's killing of US servicemen
(Link http://www.chicagotribune.com/services/newspaper/eedition/ch...)

Israel's attempted sale of US military secrets to China
(Links:
http://www.bigeye.com/041600.htm
http://whatreallyhappened.com/WRHARTICLES/motherofallscandal...)

or use of Israeli counterterrorism units against the "Occupy" movement
(Link:
http://www.alternet.org/story/153307/from_occupation_to_%E2%...)

This is important information because people who knew the facts might choose to act differently, for example in terms of career choice or investment choice.

For example, given the facts that I know about how Israel treats innocent Palestinian civilians, I have an ethical problem with Israel and do not intend to work for Israel, to buy Israeli products, to do business with Israel, to buy stock in companies that make investments in Israel, or otherwise enrich Israel in any way that I can avoid, directly or indirectly. I am not a customer of Starbucks or of Marks and Spencer for this reason.

This issue is particularly pertinent to hackers because startup funding, research and development and technology transfer depend greatly on the military industrial complex - which is particularly developed in Israel and very strongly connected to the US military industrial complex. For example, if one does graduate research in networking or communications systems at Cornell, one's algorithms and work just might end up being used inside Israeli weapons used against civilians.
Links:
http://mondoweiss.net/2011/12/israeli-university-bids-w-corn...
http://www.redress.cc/americas/ldavidson20120102

It would be a shame if Hacker News guidelines become warped and misapplied as censorship tools for Hasbara and I am alarmed to see standard Hasbara talking points - such as 'The territories are "Disputed" not "Occupied"' - used to justify such censorship even on this page.
As far as I can tell, the term "evolutionist" is not used within the scientific community. It does, however, seem to have found a home in the vocabulary of anti-evolution, creationist communities. This makes me suspect something of your political/spiritual philosophy.

Your use of the phrases "welfare society" and "mass healthcare" strengthen the above suspicion. You next suggest that the "welfare society" (which has been practiced by a small fraction of the global population for - what, four generations now?) might already have reduced the effects of natural selection.

First, let me opine that welfare societies and mass healthcare would not "reduce the effects" of natural selection, they would simply re-order the traits that were being selected for.

Second, let me respectfully suggest that you would benefit from a more detailed study on the topic of natural selection.

Lastly, I would encourage you to consider the evocative power of the words you use in your arguments. Because of your choice of words a lazy reader, or one who arrived at this thread with conflicting opinions, might write you off as a politically conservative creationist who does not understand some (or several) of the terms you are using. You would be well served by avoiding shorthand terms like "evolutionist."
Screw Google. Go do a startup or get yourself into consulting/freelancing (like me) and earn big hourly bucks.
Shit, really? It rendered fine on Pre Webkit, which was the only mobile platform I could test against.

Screenshot?

EDIT: Added some new rules to the 600px @media block that remove the 215 pixel left margin, and the #links div. Which is a pretty dumb way to "fix" the problem, but after all, I'm a dumb guy.
As I currently work in the K-12 educational software industry this is something I would be extremely sensitive to. The sheer number of creaky, old proxy servers out there that we have to contend with is mind boggling. I'm sure others have to deal with this to but I suspect that the education market is one where people will run into surprises and most likely won't realize what the issue is right away. As the sibling post pointed out there is way to change the http method used but I suspect most people won't do this or know about this and this is a really really hard thing to QA for.
So what you are saying is that for me to not have made it through I must have equally messed all my interviews or at least a majority of them.

You are talking as if the default is hire. That isn't so. The default result is not hire.

If a couple of people gave you mediocre results, you won't be hired.
Google’s Broken App Search
The desktop version is pretty reasonably priced given it's aimed at professional users. $50/month is less than 1% of the salary of a designer, and it definitely increases productivity by much more than 1%.

In comparison it's cheaper than SEOMoz or a Business Plus account on Linkedin.
Since the interview process doesn't include any sort of personal question or assessments other than one's ability to memorize algorithms and such, How do you measure "culture fit"?
Why are most of the top comments up in arms about this article and not the magic secrets of Teller one? If you're going to shout "irrelevant", at least be consistent. I think this speaks volumes of the biases inherent in some of the commenters here. You may not believe it, but there are some individuals here who would like to discuss the technological, entrepreneurial, and maybe even human right implications of the events in this article. If you don't like it, ignore it. The fact that the top comments suggest we shouldn't even begin discussing the content of this article is very reflective of the entire Israeli-Palestinian conflict itself...no one wants to empathize with the "other side". On the contrary, we should encourage discussion and just down vote whichever comments we deem unproductive and upvote the ones, such as orbitingpluto's, which provide great insight.
Is Coca-Cola the only cola maker that uses real cocoa leaves?
There is only passing reference in the article to the health effects of living alone. (Chad, who has never lived alone, says he would "be a fat, out-of-work alcoholic".)

For instance, a quote from from this article: http://www.dailymail.co.uk/news/article-2062934/Quick-better...

"The data showed those living alone was associated with a 21 per cent greater chance of dying of all causes, when compared to those living with someone".
I'm used to upgrading processors and other components every 2 years or so. The nature of the physical device space we're entering means now we have to replace the screen and plastic case every 2 years as well.
I'd like to think that they'd have better purity controls than the more...informal distributors.

https://en.wikipedia.org/wiki/Cutting_agent

And more specifically, Levamisole is becoming something of a hot topic as a dangerous, but desirable for its ability to pass most purity tests. http://www.time.com/time/health/article/0,8599,1955112,00.ht... is one overview. The DEA journal Microgram has covered it a few times as well.
I think the problem is beyond being solvable by patches, but an issue of philosophical introspection of where Rails wants to be in a few years.

To be able to change the direction of Rails on this issue and the other issues the poster above raised, I'd have to spend a significant amount of time submitting patches and get to the point where I am a major committer to have the opportunity to chime in and have a significant impact on the direction Rails is going. Even if I or someone else with the same concerns were committed to making that effort, by the time I or they get to the point where we can have an impact, it will be too late.

I'd rather commit to a node or an npm package than rails because any package I commit to will hopefully be replaced by something better once it's outlived its usefulness. My favorite part about node is that it isn't opinionated. It leaves the opinion to the community modules. Hopefully most community modules with maintain just the right amount of opinion about their domain and know when to concede matters of opinion to other modules that node better. It's nice when separation of concerns is a cultural value.

This isn't a node/rails debate. It's a values debate. I think opinion was the right value for the right time several years ago. We're going through a time of change where opinion is a liability not an asset.
HBR--In Defense of Responsible Offshoring and Outsourcing
It's tragic that engineering interviewers extrapolate a candidate's mistakes on a whiteboard during a tense, time pressured interview situation to the calm day coding at a keyboard during a real day at work. It's almost as if we forget what it's like to be an interview candidate when we're the interviewer.
You're welcome Paul.

You know the question I get asked most about Dragons' Den, even from strangers at the local grocery store?

What's Kevin really like? Is he different off-air than he is on air?

I tell them I can't answer that, but I suspect the Kevin you see is the real Kevin.
The second paragraph in the section you linked to discusses how the plant punishes cheaters.

I don't think there is a definitive treatment. There are lots of experiments and many possible mechanisms that have been discovered or proposed, and probably all are used by the plant.
That is why 'bullies' was in quotes. We don't know who said the words that the MPAA had a problem with and perhaps it wasn't even the bullies using the offensive language. The point is that, according to the article, the counter-argument is that the offensive language was said by a high-schooler so the movie should be viewable by high-schoolers. In effect, attributing the worst case scenario to the general case.

How is that a straw man?

EDIT: Also hoping for discussion regarding voluntarily censoring (bleeping) since that is something I've never seen before in movies and regardless of how strong the arguments/counter-arguments are, the rating has already been given.
I have a hard time believing that Rails programmers will use resource routing and not understand _method. It's pretty fundamental to the way the framework works. Are you a Rails dev? If not, just know: for the most part, we're talking about different flavors of HTTP POST.
It would be great to know which companies were on to something but simply ran out of money. Someone else could take the same idea and try it with a smaller budget and be more focused from the start.
Samsung introduces Galaxy Beam, an Android smartphone with built-in projector
English to Arabic Translator
Desktop publishing or DTP is the digital way of looking into a creative output, before it is printed or distributed electronically. It is crucial to reaching and gaining clients, worldwide.
What is a nanosecond?
That's what I've been doing for a while. Seems to work. We stagger purchases at home, so there's always one current device around
Is Typed Racket not Lisp? Most Lisps support lazy eval through macros and lambda.