skysight-inc/HackerNews huggingface dataset:
What if the child isn't a native English speaker?

What if teachers of younger students only teach to this test and ignore other important topics?
Conan Reveales Apple’s iPhone 5 Commercial
I've seen this construct used back-in-the-day in C, but usually with conditional expressions before the remove. Perhaps it was just a crap bit of code from day one, but it's possible that devolved to that state over time.
Maintaining Motivation In Your Business
The 6-month-old invoice aside, we've been running into many more cases since last November of clients "stretching" their invoices -- waiting until the due date before mailing it, waiting until we contact them, that sort of thing. Like you say, they're usually quick once we (politely and gently) ask again.

I've also been hearing of this from my other clients who are running their own businesses. It seems to be endemic at the moment.
> I read informative articles on HN everyday that have "ass" "fuck" "shit" or something like that in them. It's a very popular pattern for article titles. I guess we like it?

Not me. I feel that they contribute to the atmosphere in a negative way. The problem is that you can't dismiss these articles out of hand, they sometimes contain valuable insight. That doesn't mean they are to be liked for their titles. I'd prefer to see that as an 'in spite of'.
I am sorry to say this but your point about flagging the specific link as spam is not clear at all. You provide these "query links by subscriber" URLs but is not clear to me what this has to do with the GPGPU link being spam. YES these three accounts belong to the three executive editors of Java Code Geeks and YES each one of us is using his Hacker account to promote the articles he publishes on our site! what's wrong with that?

As far as the post itself is concerned, yes its a legitimate re-publication because the original author is our partner (JCG) thus has given us full permission to republish every article they write on our blog!
Everything that is old is new again.

But this time it makes even less sense. I'm going to use my browser to launch html 5 app versions of websites I can just type the URL of into the same browser...
FatWallet was SOLD
I expect nothing less from a programmer. But then programmers (as customers) are not the ones making Apple the most valuable company in the world. Comparing something made by programmers for programmers to something made by a consumer product company for consumers is pure nonsense.
I mostly interview students for hands-on internships. I'd say around 10-20%.
wow - my first thought was something unprintable. Took a few minutes of staring at it before I could figure out what the code was doing.

brlewis has the winning answer
By that logic, religions should not be entitled to free speech. This seems wrong. There are many non-profits whose political speech I disagree with, but I wouldn't say to cut off their non-profit status is the answer.
And for singly linked lists, deleting the last would be O(n), while the first would be O(1) (just change the head to point to the next node).

Parent has a point for arrays/arraylists, though, you need to copy everything after the element.
> We are looking for a Rails or PHP dev in waltham (near boston) currently without a lot of luck. The job has a lot of pros, but probably doesn't do itself justice on-paper.

Are you attending local PHP and Ruby/Rails meetups and user groups? If none are available, consider starting one.
I refuse to take that PR piece seriously.
You should replace your '<' with '&lt' if you're going to claim your page is xhtml.
it's called experience for a reason - the coder has to try (and fail) until they learn enough to code good, efficient, clear code
Connecting to the Universal Internet
Don't attempt to reason with the self-righteous. Apple is EVIL, they are stealing your freedom, read the memo.
The one thing that prevents me from replacing my 13" MBPro with a new MBA is the 4Gb memory limit. I know it's only a matter of time before they up it to 8. When they do...I'm sold.
$2B is a lot of money, indeed. But the trend to hand out large funds to be managed by relatively young people is one that will increase as the margins on the trades decrease.

You need to use a lot of money to work with if you want to do arbitrage on a fraction of a percent for a couple of minutes to make more money than the operation itself costs.

Not all trades are profitable.

Also, losses like these are always a double failure of sorts. The trader is a given, but there is also an oversight problem.
Copyrights aren't like patents, if two people come up with the same creation independently neither will infringe on the other's copyright.
10-20% (pathetic really)
CSS3's unnoticed "spread" parameter for box shadows
Just curious if you expect perfect code on a sheet of paper or give them an IDE and say go for it.

As I remember fizzbuzz (print numbers 1 thru x, then fizz if divisible by 3, buzz if divisible by 5, fizzbuzz if divisible by both)

I did it in a text editor in under a minute. Got two errors because I did it without thinking, fixed it, and had a working solution in 90 seconds. It's taking me longer to write this response.

I can't imagine anyone who writes code daily who couldn't get this right in under 5 minutes given a text editor and a way to run the code, but I could imagine plenty of people who trying to do it on a sheet of paper who would make goofs. And most of those would make good employees.
Ignoring your condescending reply, I didn't say YOUR religion specifically believes that other's religion is wrong (You DO know that they vary widely, yes?). So while my statement may be incorrect for your particular case in your immediate environment, I think it's pretty short-sighted to think that isn't the case on a scale that's worldwide.

First, I see your allusions to atheism. And while I agree with your position above if, in fact, you were defending atheism. However, my statement takes the idea of atheism to the very meaning of the word (that god/religion doesn't exist). In other words, I don't consider atheism to be a religion. We agree on that point and you need not read further. (As an aside: If you weren't describing atheism above, then I think the irony that your religion and atheism shares common characteristics is interesting.)

If, however, you still disagree with the point that "The ENTIRE longevity and history of religion is propped up by its ability to influence others"; then let me slightly qualify my statement for clarity's sake. _Traditional_ religion has relied on influence to propagate itself through generations. Whether that's parent's influence over their children or the physical community's influence over its members, influence is the primary means of maintaining the ideological consensus of religion.

You have such a better understanding about religion than I. If not by influence, then please offer a counter-example that has allowed traditional religion to permeate our history for centuries.
I presume you are aware that we have an extensive amount of evidence that cancer does exist and is a real and likely consequence of smoking, but that we have absolutely no evidence of a hell, much less of which actions would lead one there.
Happy little programmers: lessons i learned from bob ross
GPS iPhone game lets players run from real zombies
I think his point is that all traders are "rogue traders" when they're making their bets with money sitting in federally-insured commercial bank accounts. They're just called such when they lose.
The poster you replied to noted that they become much less of a coherent whole due to those factors. Bringing up desktop Linux is not helping your case against that assertion in the least.
Interesting that you say what's wrong with the code, but don't actually say how it should be done right.
I wish we would run at least some kind of sample problem before hiring people. sigh
If you want to work at one of the best startups you have to do more than apply. You should try and pick a strategic place, such as the valley or NYC and attend lots of events there and visit startups. When asked what you're working on you could say just finished working at bla, hacking on this in my spare time but looking to work out here.

So that you're not asking for a job but are signalling that you'd be interested in one. I know people with limited experience being offered jobs at great companies just from these meetings and if they know who you are you've immediately got a far higher chance of getting it.

Luckily it's a good time to apply as there's more of a developer shortage than job shortage in tech. If you're savvy then it's not hard at all. Showing things you've hacked together or a portfolio is more important than ever.

All of this seems like a lot more effort than the normal sending out resumes but it's much better. Also I don't recommend cold calling. Start using Twitter more, follow the founders or people within these startups on Twitter and join in with their conversation, show that you're a meaningful, savvy person. Then you can say "I'm going to be in the Valley, think I could swing by and see what you're working on".
Its interesting to me because the navigation combines with breadcrumbs to be a rather effecient hybrid. The design that allows that to happen seems to work very well with product based content (photos, square items etc).

But what about long flowing content like text? Little chunks of square text scrolling horizontally wouldn't exactly be the best reading experience. Have you come up with a different design to handle that?
That's not globally true, some countries recognize "sweat of brow" copyrights and others some form of database copyright, which don't require creative expression.
When your motto is "don't be evil", don't be surprised when you're held to a higher standard.
Yes, there will be many more hits for the next days stats.

Random example: http://stats.grok.se/en/201108/Pierre_de_Fermat

That doodle was from Aug 17 2011 - 2.3M hits
That is good advice. We are at just about every Boston Ruby Group meeting, though...
Someone on here suggested having an asset limit for banks relative to GDP - if you look at RBS (largest company in world by assets) at $3.5 trillion then that might look a bit uncomfortable in the UK which has a GDP of quite a bit less ($2.173 trillion).

http://www.scribd.com/doc/26993356/Worlds-Biggest-Companies-...

[NB As I write this I am maybe 100m from their old headquarters!].
Should you launch at a conference?
I think this is more of an indictment of how we code rather than the programmer. There is nothing fundamentally wrong with code-by-experimentation. With libraries and frameworks growing in complexity over the last decade or so, it's all but impossible to hold all the details in your head of whatever piece of abstraction you're computing with. With dynamic languages and REPLs, it becomes even more standard to experiment until we get the correct result.

The problem is that imperative programming is horrible for code-by-experimentation. You end up with code that works, but is hideously unreadable. Declarative styles can help greatly with this. Functional programming can be a big boon here. But I think we're going to need a fundamental shift soon in either tool quality (say, to automatically refactor that shit code into the most straightforward and readable way), or a new paradigm that will allow code-by-experimentation to always result in readable code.
My project uses couchdb for task queuing:
https://github.com/codehero/scheddesk

Still kind of alpha, but working for my purposes.
There are regulatory changes that can help. I think people underestimate just how much effort and talent banks spend on using regulation to their advantage.

Take for example FDIC insurance, as mentioned in the article. Ostensibly, it's intended to help people with money in their bank accounts. But it also means that banks can be riskier with trades, and count on the government to cover certain losses. The same is true for agency-backed mortgages.
Doodle doesn't point directly to the wikipedia article. It only does search for the name. Wikipedia being the first result gets a lot of traffic but there obviously isn't 100% CTR.
I've noticed this "magic" thing too, among the most clueless members of our profession.

Even if they have no idea how bad they are, which they usually don't.
I'm curious what candidates are getting stuck on. Is it the testing for divisibility that's tripping them up?
You used to be pissed off when consumers chose a product that fit their needs? This is an attitude I just can't understand.
I could troll someone by signing them up to follow, well, everyone. That could be a problem, couldn't it?
Free speech is not the same as enjoying non-profit status. Google cutting off the latter means that they no longer actively sponsor the speech of religious groups, but those groups still are able to speak the same as anyone else. By ceasing to preferentially treat religious organizations, Google has effectively taken a stance for free speech, not against it.
He post you are actually responding to answers your questions. Javascript and Python are mentioned.
Show HN: Karmurl - give feedback to receive feedback
> If you're accessing the size of, say, a linked list, you end up sneaking an O(n^2) runtime because it has to re-count the size of the list every iteration to check for termination.

I'd expect any decent linked list implementation to keep an integer with the current size. Java certainly does: http://www.docjar.com/html/api/java/util/LinkedList.java.htm...
Karmurl is a free and simple way of getting instant feedback for your work. You give feedback to receive feedback.

The idea was inspired by a comment made by photon_off (http://news.ycombinator.com/item?id=1683309).

I should mention that I have already submitted this once previously (http://news.ycombinator.com/item?id=2999852), but at the time it had very few users and therefore offered less value than it does now.
It actually doesn't make any sense, but for the common user it could be a marketing trap. Fancy titles like "HTML5 OS" when there's really nothing innovative here...
OP may not be actually using "FizzBuzz" as he said a FizzBuzz-type problem :)
Moving forward with space, could we see astro entreprenuers soon?
just an observation that according to some accounts she was a rather odd individual.

I suspect if you subject a random group of people to intense scrutiny, attention and deep info dives you'd find the majority of them qualify as 'odd'.
Maybe the SSL compression was enabled on the web server by a sysadmin who likes to tweaks settings. Maybe he doesn't work at the company anymore. Maybe it was a default setting in a previous version of some exotic distro. Who knows?

Maybe the 500MB file was created by an intern who has no clue how compression works or that the webserver compresses data. Maybe the manager told him to get it done ASAP. Maybe he doesn't care about his job anyway and just solved it the quickest way possible. Maybe initially he uploaded a real file with real data but then his manager told him to replace it with something that's not real. Maybe he tried to create a file with random bytes but there was a bug in his script and all the bytes were set to zeros and never bothered to check. Maybe they tried to download the file in their office but they didn't realize that it's too fast because they have attributed the speed to the fact that it was downloaded through their local network.

Shall I go on? I mean, this kind of stuff happens everywhere every day. There are a lot more stupid people than evil people. Just assume stupidity.
Irrespective of how it changes the semantics of (mostly functional) languages that rely on it for iteration, tail calling is also an optimization in languages that don't need to rely on it for this, and it is not wrong to describe it as such.
5 Internet Marketing Tactics to Avoid
My initial thought was...

If it has a .Count() and a .Remove(), it should have a .Clear()
I have a little doubt about number 6. A switch() without a "default:" label has undefined behavior if x is negative or above 5, while nothing would happen in the cascading if's. Wouldn't a correct optimization of that be

void function(int x) {
switch (x) {
case 0: f0(); break;
case 1: f1(); break;
case 2: f2(); break;
case 3: f3(); break;
case 4: f4(); break;
case 5: f5(); break;
default:
}
}
At my office, we'd probably never replace our big CMS for managing the marketing website, but I could definitely see using node for microsites or apps. There's lots of possibilities.
Dear Microsoft:  It's not me, it's YOU
Wow.. This is pretty astonishing. I know this is a majorly skewed, opinionated audience, but do people really not have that much of an interest in what they do?
Academic papers are hidden from the public. Here's some direct action.
iOS is anti-Unix and anti-programmer?

It must be why Android's trying so hard to copy it.
I like the sentiment of this post. I'm in a situation right now with our own Johnny and new products coming to market, and I fear he is staffing up for a big push at launch without actually thinking about adding value.

However, this post comes across as just a complaint against marketing in general. He says, "but marketers who busy themselves marketing can destroy value as readily as they create it" but doesn't lay out the case of how that happens. Nor does it explain why Johnny's push to launch is a bad thing.

I was hoping the post would articulate why "Johnny" is a "bad thing," because I have an instinctive feeling that the author is right, but unfortunately the explanation falls short.
4gb seems sufficient for me, but i'm hoping there will be a 15" model
A good memory, a programmers most important tool
That sort of thing specifically, never actually tested it.

The last test I did help administer was for a VB+SQL job, and the first question was to write an example of a valid INNER JOIN. I'd say at maximum 25% of the candidates could do this.

Improving SNR? I did once have a potential employer get me to do a time-limited online test. If you wanted you could always stick your questions into one of them, so you can at least do the fizzbuzz-level screening without calling them in and sitting them down.
cool site, I look forward to your emacs tips.

I have been doing a "Learn Emacs" series on my blog for a while now. http://rawsyntax.com/tagged/emacs and I have a lot more post ideas in the works.
Would it be possible to add XMPP support ? Then the service could check my XMPP status and postpone notifications if i'm away, busy, offline...

I tend to prefer IM for this kind of things as it doesn't clutter my mailbox.
$60,000 Worth iPads Stolen In Just 60 Seconds
Ok fair enough, but I'm still curious where the sticking point is. Can they at least code the loop? I'm wondering if it's just that peoples' math skills are typical pretty rusty
and if using another set of conditions would give you better results.

Edit: For example, iterate through this string every time you hit an 's' print fizz etc...
Comparison Shop to Save Your Business Money
Google is hiring in Minneapolis
How are you asking the questions? Good interviewers try to adapt to the person they are interviewing. Depending on how you're asking the programming question, you might want to think about changing it. If, for example, you sit back in your chair and ask someone to go to a whiteboard to write code you should consider that some people simply are not going to respond to that sort of method of answering, even if they are a brilliant programmer.
If not a cry for attention, what was it? A call for your attendance?
Yes, it's a good read, but it's eight years old (not that old is bad, just that it's not "news") and this essay has appeared in many places over the years, including the book "Best of Software Writing I", edited by Joel Spolsky.
And yet, you can't copy an image and paste it into the box...
I agree I think this implementation is completely sloppy. At the same time I guess I've been desensitized to the word "wrong". To me, wrong just means the results are wrong or it doesn't work. In this instance it actually does work, but there are dozens of other ways that would have worked without giving you the Coding Horror face.
Yikes. That's quite a difference in performance ... what I still don't understand though is, why? I've done a little bit of searching and I can't find anything so far on how JS arrays are implemented. Since JS arrays are objects and inherently support things like out-of-order indexes, non-integer indexes and that kind of thing, maybe we can assume it's some kind of hash map? A tree would make sense too, for faster accesses, and if a pop() on the tree meant removing the root node (and rebalancing the tree), then I suppose that would make sense, too.

But, honestly, for the majority of stuff in Javascript, I'd be surprised if some kind of hybrid hash-map / ordered skip list weren't being used instead. Ordered skip lists can be about as fast as a binary tree, without the costs associated with rebalancing, and a lot less complexity. You'd have some tradeoffs in memory usage depending on how you want to tune your skip list, but given the absurd memory requirements for modern software, that doesn't seem to be a consideration amongst programmers anymore.

So ... I accept that removing items from the head of a list in these higher-level languages is (a lot) more expensive. But I still don't get why.
Is anybody using Mono on Linux for ASP.NET MVC3 apps in production?

If so, is it stable, fast?

I wonder how it compares speed and stability wise to the Java Play Framework.

I am currently using Play (and it's great!) but I much prefer C# as a language to Java ...
Spoken by a man who has never encountered a "tabbed notebook"-style UI with multiple rows of tabs, stacked on top of each other. ;)
Aggressive Quadrotors Part III
Common users don't care about HTML5.

This thing is amazingly pointless. This has been done a dozen times, and at the end of the day, it simply adds no value.
Allocating an int?
The question is how many people will buy a PlayBook now on the off chance they’ll get a rebate at some future point. Not that many I reckon.