skysight-inc/HackerNews huggingface dataset:
If you are explaining how your code works, shouldn't you be rewriting it so it is obvious rather than adding comments?

I don't know about you but I go after people in open source projects I help manage who write comments like that. Such comments add no value collaboration and indeed they get in the way of debugging more than they help. Folks debugging shouldn't be debugging based on comments but rather based on code.

But with clear code, comments are still helpful if they are used to describe difficult design decisions, or flag issues the developer sees down the road. "This is a kludge" is a much more helpful comment than "looping through an array of invoice lines so we know what to print." The first draws the developer's attention to the fact that an area of code may be unusually troublesome, while the second may be out of date, may be wrong, or may otherwise distract from debugging.

Of course there are function header comments, etc, but those don't really need to be under discussion.

You are right about the code needing to talk to you, but if you see comments as a way of explaining what your code does, then it's both a distraction to the next guy and a crutch for you.

Edit: I think this shows the point of the question and why the trivial spoon-fed answers are likely to be ones I would find inadequate.

Edit2: So the way I read your answer is "programmer just wants to get things done and doesn't mind writing non-clear code to do it, explaining it with comments. Suitable for a maintenance programming role but may in time grow into others."
It's why cities are stressful for the brain, I think. 99% of people we interact with are strangers, and we put up our social guard everywhere we go. Giving us a feeling of alienation, and increasing our fight/flight response.
For anyone else who didn't recognize the term AMD:

http://requirejs.org/docs/whyamd.html
Te 360 has 1080p support.
25 fonts for FIVE bucks
I think if you scan the bullet points just under it you get the idea.

It's basically the HTML5Boilerplate Build Script [1], with some nice extra's - Bootstrap (and compilation), package & dependency management, unit testing, preview server, etc.

1. https://github.com/h5bp/ant-build-script
It seems to me that the easiest way that Google could do this would be to create a "Perfect Android" branding or similar, which has some tight rules around licensing - to qualify, a device would have to meet a set of minimum hardware specs and the manufacturer and carriers would have to sign up to providing timely updates to the latest version that Google produces over the next N years. Google, for its part, would guarantee that those newer versions for the next N years will run well on the minimum hardware specs agreed to.
Here's their supplemental video: http://www.youtube.com/watch?v=3s6Yv9pVXZc
Well, Java lambdas will allow people to get rid of all that clunky boilerplate around anonymous classes without having to learn a whole new language.
My brain edits that sort of stuff out. In fact my current pair of glasses is frameless; there are some nuts holding the node-bridge to the lenses that I saw ALL THE TIME in the first few weeks of having them, but now never really see at all unless I'm explicitly thinking about them. Like now.

I would LOVE to be able to do things like summon up maps displays without having to look down at my phone.

YMMV, of course.
I imagine both bother them about equally, but that they don't distinguish between them. They're both just the app being "slow." To be clear, the scrolling isn't just a little choppy. It's a delay of a full second sometimes.
Texas college hacks government drone
Bottom of page says 'Copyright Google 2012'
guelo: please accept my apologies for my prior response at http://news.ycombinator.com/item?id=4169385 -- looking at it with fresh eyes, it came across as rather condescending, which is not what I intended at all. Sorry about that.
This applies for less competitive markets even more. Usually someone builds something and then sits back because no one is building something better (maybe due to a barrier to entry), and they have a monopoly. Especially when techies like us sit on a market where our skills are much needed yet oft utilized.

Now the impulse to not do anything is even larger than the ipod case.

Until someone else does better, and they don't see it coming, and then they're toast. Incidentally, this is what I'm trying to accomplish, so I'll update you when it happens! :)
I agree that this blog post takes a sort of silly tone, and also that many artists are very sophisticated in their understanding and use of color.

He goes wrong in a few places, for instance in using quite confusing coloration of his diagrams, and he really shouldn’t put the labels R, G, B on cone responses: these are too evocative and are likely to confuse as much as they enlighten.

But to be fair, basic paint mixing models in artists’ heads often aren’t very good, and many artists would really benefit from studying human color vision more seriously. Explaining how vision works to visual artists, especially amateurs, is one of the more rewarding things I ever do: you can see these lightbulbs going off in their heads as a bunch of stuff that they know “intuitively” and experientially is given proper names and ordered into a comprehensible model.

> As for CMYK and RGB color spaces, these are simple but quite effective tools for dealing with color in a purely mechanical way.

I think these spaces have no place being taught to non-specialists. They are not intuitive to humans, being based on particular technology rather than on human vision. Any user interface which exposes these color spaces to non-experts is letting them down. Just as bad is using HSL or HSV or some similar trivial derivative space. Image editing software, in particular, is dramatically harder to use than it would be if the dimensions were at all relevant to vision.

> If you really need a color model more closely tied to how human visual physiology works, LAB was designed as a good approximation of that. Specialists sometimes use other, often proprietary systems.

Specialists looking for models related to vision mostly use open, publicly developed and specified models. At root, most of modern colorimetry is based on the CIE system, which has served very well since the 1930s. Recent fairly effective models that would be useful for software include CIECAM02 and IPT, which behave better in some ways than CIELAB, but are a bit more computationally expensive.

> If you need this level of knowledge, you got some book larnin' to do. No blog posts or comments on HN is going to help you too much.

That’s reasonable. Let’s start with some pointers to good sources!

For this audience, Maureen Stone’s SIGGRAPH notes from 2001 are a nice first start, with lots of pointers to other good resrouces: http://graphics.stanford.edu/courses/cs448b-02-spring/04cdro...

For anyone who wants to really dive deep, I recommend http://www.handprint.com/LS/CVS/color.html (edit: Actually, I see that the blogger does link there. So that’s nice.)

Also, anyone looking for pointers to books, feel free to email me (address in profile), and I can point you in some direction based on your specific interests.
I do think this was a reasonable choice for the presentation because as I understand it, that's what Turing would have used when working it out with pencil and paper (and as they said, even that would take 15 minute between turns). 5-ply probably would have taken on the order of weeks or months to calculate the next move by hand.
Beautifully Simple Lego Ad
Thanks. I've been in the US since the 90s, and by now my writing is about the same in Spanish or English. My early schooling in Buenos Aires was bilingual.

Jorge Luis Borges once said "let others brag about the pages they have written; I'm proud of those I've read." What I believe he meant (and I agree) is that a person's writing is a reflection of what they have read. I've read many more books in English than in any other language (including Spanish).
I generally agree with you, and did upvote you, but I am currently in the largest city I have ever lived in and not really experiencing it that way. I suppose I need to think more about why that is, but I think part of it is that the gaslamp district was designed on a walkable human scale before the auto era. I am not a fan of cars and I find the modern American auto-centric lifestyle and urban design really stressful. Plus, I run into lots of people I know daily, in part because I walk everywhere. I actually feel less isolated here than in the last place I lived, though I had relatives nearby, grew up there, it is a smaller city, etc.
It was presented by Paul Irish during his GoogleIO session just a few hours ago.
The iPod Mini was selling well, there was no obvious need to change to a new product and kill the old one.
The iPod was actually a product at that point. That’s the big step that still has to be taken with Glasses. And it ain’t an easy one, probably the hardest thing about Glasses.

It’s cool tech. No more. Certainly not a product. We’ll see how this works out.
There are only so many ancient seabeds to scrape and pump. We will eventually run out. They already have a jump on preparing for the inevitable, so it would be silly to toss it out the window just because oil has been given a reprieve.
Your "classical training" is pretty weak if your teachers never saw fit to mention that little tidbit at any point. If mine bent over any further backwards to disclaim the idea that classical chord progressions were the only ones I think their spines would have cracked.
This is too long and will not change his mind.
Is there a summary of Turing's algorithm somewhere?
As rough as the police can be with smashing people's faces into the ground while they arrest them for non-violence, I think your $1500 investment would not go far.

Then again, protesting is quickly becoming illegal so it probably doesn't matter anyway.
Can always count on companies like Google 'launching' projects without source code. Would we really be that okay if an open source developer published vapourware with an email signup form?
What is the best approach to acquire service of outsourced developers
Hi Guys,

I am an avid follower of Hacker News posts, but this is my first time asking a question. I am interested in developing indigenous mobile applications in some African regions. However, I was wondering if any one had ideas about the best way to acquire/ outsource developers. I am interested in providing the a detailed and comprehensive technical specification. So I need some sort of open community of developers to choose from. Any sites or services available for this ??
>Apple doesn't have a problem with releasing timely updates. So how come the Android OEMs can't ?

Because Android doesn't have the same ridiculous cult around it that Apple does. The iPhone made enough money to make carriers beg Apple to let them carry their phone -- more often it's the other way around, which is why bloatware and disabled features and all that other stuff infects every non-Apple phone. The demand for iPhone is astronomical, and that is the only reason Apple is in a position to instruct the carrier. If normal OEMs try this, the carrier will simply destock their items, remove the subsidy, and the OEM will never get any meaningful sales.
My boss always says,"take on the impossible becuase there is safety in doing the impossible."
Tl;Dr Process innovation is just as important as product innovation.
that's weird. Come around reddit.com/r/argentina and you'll see the same kind of writing quality.
I think the general counterargument is: killing off a product line simply to replace it with a relatively iterative model (that could have easily been iPod Mini 2) is less a visionary move and more an attempt to double down by getting iPod Mini owners to quickly replace their mp3 players.

(Not saying I agree with that particular argument, but it exists.)
I was thinking of having business cards printed up that said "CEO/CTO/CJO". When anyone asked me what the "J" stood for, I would of course answer "Janitorial".
Again, I don't mean to disparage the achievement! But the article implied that Google invented unsupervised learning, which they didn't.
That appears to be the website's source, not the actual yeoman tool source.
GeoPoint Location Based Search looks very useful... if only it had been there before the great GAE price hike of 2011. I moved to PostGIS on AWS and never looked back.
One of the things I hate about Google Play is:

Sorry! Devices on Google Play is not available in your country yet.

I agree; that is sorry. They even show me this when I log in, go to the 'My Orders' screen, and click on the Galaxy Nexus I just bought from them this month (when I visited the US for WWDC).

I was going to ask for a summary, but this is good enough: http://www.theverge.com/2012/6/27/3120992/asus-nexus-7-andro...
I recommend reading Vernor Vinge's Rainbows End (http://en.wikipedia.org/wiki/Rainbows_End) for a few insights on how this and similar technologies effectively change the way we interact with "computers". As is brought out in the book, I expect a lot of early adoption for gaming.
The inescapable conclusion is that, if you want to be in the industry as you go along, you have to be largely, if not totally, in control.

To me this means always being at the value creating edge - whether this is in creating companies and products, or being indispensable to those who are. How you do that is the challenge - could be capital, could be contacts, could be experience or just a proven track record of having some clarity in the dim view that is the future.

You seem to realise that relying on a career and job security might be risky. That's probably true. The only way to mitigate that particular risk is to start spreading the risk around into other areas - like starting a company now. That's not a prescription to dump all and start again, but looking at your current career trajectory with a critical eye is certainly a good idea.
Greeks have one of the worlds lowest birth rates.
I wonder if I should ask him about Robertson (square)screw heads versus Phillips (star or X) screw heads or will I dredge-up the Canadian versus US war?

It reminds me of Shelbyville turnips versus Springfiled lemons.
I have four children, have never had them in a car without a current safety seat back when they needed those, and have never had to drive an SUV.
Shorter johnw: I heart Ayn Rand.

In particular, I'm pretty sure Stallman (like most Americans) is in favor of taking from the rich and giving to the poor, so trying to persuade him that free software is a bad idea because it's like that seems pretty clueless.
Source isn't on the cutting edge, to put it mildly. It's continually updated to meet the needs of the games they release, but Valve's priorities are very different from those of Epic or Crytek.
I don't like sounding so negative, but that was the most uninformative video I've seen in a long time. The bullet points below it present far more information than the video itself.
I dunno about the letter. I use the GPL v2 for most of my work and Stallman is a major reason I am opposed to moving to the GPL v3 (that and the license is long enough to be difficult to understand, while the GPL v2's difficulties come from simplicity).

Part of the thing though is that I am not convinced the GPL has the reach that Stallman likes to pretend it does. At least in the US (and presumably even fruits-of-labor countries) copyright is not supposed to be a way to monopolize secondary markets for practical tools. See the concurrance in Lexmark v. Static Control and also the opinion of the court in Sony v. Connectix. Note that no court in the US has ever allowed secondary markets for practical tools to be controlled through copyright of a work in the primary market, and I am not aware of any country which has held otherwise.

In general, copyright is supposed to protect artistic contributions, and protect and author from having his/her work distributed without compensation. How that work is used in a practical way (i.e. other than as a work of art) is beyond the scope of copyright law at least in the US, and presumably in other places as well. Indeed, steps required to use a piece of software, even where it involves literal copying and even distribution of literal copies, have been held to be fair use under 17 USC 102(b). See Sony v. Connectix, Lexmark v. Static Control, and Oracle v. Google.

So I think that copyright only gets you so far. The sort of control that Stallman wants to see the GPL have can only be possible through software patents and we know how he feels about that topic. The GPL cannot reach cases where interoperability is sought and where the original work is not distributed. Anything else is wishful thinking.

So I don't see the GPL as any great menace, but a lot of that is because I don't think it reaches as far as Stallman likes to think (or at least pretend) that it does.

IANAL, TINLA, and if you are looking for legal advice here you are a fool for trying to get it on HN ;-)
Eminent Domain to Seize Mortgages, Proposed by SF's Mortgage Resolution Partners
Flexible and Collaborative API Design and Documentation with Apiary.io
Just bought the 8GB version.

I don't know about anyone else, but I think the 7 inch form factor is much malaligned. It fits perfectly in between my smart phone (Galaxy Nexus) and my (relatively) massive tablet (Transformer Prime), and gives me a Kindle sized form factor for TV/Film/music (which as much as I love my wonderful Kindle - I sorely need content on the go). I didn't get the Amazon Fire - felt like it was too locked down.

The G7 is cheap enough for an impulse buy, and honestly the Android fragmentation has been greatly overstated - most apps work for the 95 percentile use case - and seeing as how massive the Android market is - I'm surprised that it isn't even more fragmented.

All in all, I'm quite sure that this and the Nexus Q (despite it's rather unique design) will be winners in their respective spaces.

This is not an iPad competitor. It's a Kindle for the rest of your content - without the lockdown.
It's nice to see the data, but I must say I V VI IV was not surprising at all. I'm sure it's slightly more 'emotional' cousin VI IV I V (think apologize) is high up on the list.
Almost Apple-like in its simplicity
Who is bashing janitors?
My nexus one is still my primary phone, and it has yet to be upgraded to ice cream sandwich, and is never slated to.
Seems like it will only help the very first part of making a web app, where you have to set up directories and libraries and such (scaffolding.) There is a package manager, but you could also use something like [Volo](https://github.com/volojs/volo).
Well, the move away from spinning rust to flash seems like a pretty big deal. Also B&W to color was the kind of upgrade television milked for a generation.
Agreed. The older I get the more I like the BSD licenses.
13:30 Client arrives just as the wife pulls into driveway, someone calls the cops after all the yelling
You're not reading carefully enough. The ground-side equipment cost would probably be under $200, with the option of having the smartphone protected in a case. The DIY version of the glasses are pretty cheap. (Under $40)
Now let me tell you a really cool nerd fantasy story that never happened.
Unlocked Galaxy Nexus HSPA+ now $349 in US Google Play Store
I hope you don't. I hope you do without until the cell companies decide that data is data.

I'm a dreamy eyed optimist.
Google will never fix the situation on devices it doesn't sells itself, because it cannot. They cannot force manufacturers to provide update, because most consumers don't care. If you want a well updated phone, get a Galaxy Nexus. Apart from it, the only other phone in market guaranteed to be updated is iPhone.

Better yet, consider switching to prepaid, and you will be less annoyed every time your carrier withholds the update. Most of the international versions do get updated, even if their record is not as stellar as Google/Apple.
How much would it have cost to communicate that by email to customers that were waiting for a replacement?
Very cool looking. This is all the stuff I use for front-end dev but currently set up from scratch for every new project. I love what Paul Irish does, I love what Google does, I can't wait to see this in action.
I think you're right that tablets are a luxury item but that might also be part of the iPad's success too. People aren't really looking for the cheapest option it seems. I remember reading somewhere that the average iPad sale price ends up being above $650 since a good number of people opt for the larger capacity or cellular models.
Scientists Invent Particles That Will Let You Live Without Breathing
I'll be impressed when the partner of a VC firm is caught sweeping the floors at a portfolio company :)

I also believe that while humility is a great barometer for, "good guys," undervaluing your time as CEO and sweeping the floors is probably not the most productive or responsible thing to do as someone with fiduciary responsibilities to your investors, yourself, your employees and the overall success of the company.
Most people in the US today have chronic sleep deprivation. Just because most people are used to not being healthy doesn't mean it is normal (over the course of human history).
Easy At Home Teeth Whitening for Any Budget
> I don't feel any complexity, only more control. I admit though, that I started with git, which probably helped a lot.

Control, complexity. Same thing. I don't need control, I need the SCM to make my commits available to everyone immediately and get out of my way. Any time I spend twiddling the SCM system for asthetic reasons, or because I don't want to share my work until I'm ready for other people to see it, is wasted time that serves no code or communication advantage. We're software developers, not SCM operators.

Git appeals to certain aspects of human nature that make the tool appealing, but are fundamentally negatively impacting on communication and the development process.

> I think Linux is doing a lot better than FreeBSD. :)

Not in terms of code quality, it's not. MySQL is also more popular than PostgreSQL, but there's no technical comparison.
I'm guessing it generates the tree (2 levels deep) and then uses an evaluation function to choose the best branch.

Not too far off from a modern algorithm, except that it lacks even basic optimizations like alpha-beta pruning, etc. and an incredibly fine-tuned evaluation function and a huge library of opening and closing moves.
Saudi oil may be "free" to produce, but their entire economy is built around $70/barrel oil price.