skysight-inc/HackerNews huggingface dataset:
You can state in documentation what interfaces a type implements. It is not uncommon to do that. For instance, the os package could have written something like:

// File represents an open file.
// It implements the io.Reader, io.Writer and io.Closer interfaces.
type File struct {
...
}
MiKandi making Google Glass porn, app imminent
> Django has supported python 3 since version 1.5 - the last major release

Python 3 support in 1.5 was marked as "experimental"[1], with 1.6 being the release that was supposed to be marked as suitable for general use. I believe that's what GP is referring to.

[1]: https://docs.djangoproject.com/en/dev/faq/install/#can-i-use...
I'd also make sure the Afghans who helped us get out (which is part of the pending comprehensive immigration bill), and that any Afghans who are actually sane are considered fairly for education/refugee status/etc. in the west. But really, Afghanistan itself is essentially doomed, and GTFO is the only way to go.
Nice research!

Then that means my memory is wrong. Fallible is the mind. :)
Costs go up because of competition.
Costs go up because Google gives a $ 100 for every new Adwords customer, this inflates the prices.
Costs go up because there're more ads, not just on the right side.
People are less likely to buy when there's a recession.
First off, why do you need to know? The whole point is that interfaces are in no way tied to the things that implement them.

Second, you can search for the function definition(s) that define the interface. Search for Write(p []byte) if you're looking for Writers.

If you're in control of the interface, you can just modify it slightly and see what breaks.
I'm just worried that this has already happened and they are waiting for it to be legal before they flip the switch.
Google Play To Overtake iOS App Store Anytime Soon
The signature must match as well, not only the name. And even if it matched by coincidence, which is rare enough, in order to mix them up, you would have to be a programmer without any clue what he's programming, randomly combining objects and calling methods without knowing what they're supposed to do.
Not quite; the US's goal is world domination, which everyone knows. The Atlantic? Haven't looked closely, but its owner self-identifies closely with US government. (https://en.wikipedia.org/wiki/David_G._Bradley)

The US press tacitly accepts US world domination:

"'Withdraw all foreign forces and withdraw all foreign arms.' That official was Condoleeza Rice and she was not referring to U.S. forces, she was referring to Iranian forces and Iranian arms. And that makes sense, too, on the assumption that we own the world because, since we own the world U.S. forces cannot be foreign forces anywhere. So if we invade Iraq or Canada, say, we are the indigenous forces. It’s the Iranians that are foreign forces."

"I waited for a while to see if anyone, at least in the press or journals, would point out that there was something funny about this. I could not find a word. I think everyone regarded that as a perfectly sensible comment." (http://www.zcommunications.org/we-own-the-world-by-noam-chom...)
There are a lot of super cool things in there!

However, two remarks:

1) That first plane really does not look like it can fly (and it also says the test flight failed). Thin carboard wings!

2) The riksha pulling robot: What is that between its legs? :)
Restrepo nor Armadillo really stuck with me. I'll admit I've seen way too many of these kinds of documentaries, even to the point of not being able to tell them apart. The PBS ones are quite good. Two that stands out of the top of my head is Blood and Dust and Bulletproof Salesman, the later being mostly about Iraq.

http://www.aljazeera.com/programmes/peopleandpower/2011/09/2...
http://www.imdb.com/title/tt1186201/
I read the article this way:

I'm brand new to Go. I read neither the os.File documentation, nor the io.Reader documentation, and I'm baffled why I couldn't figure out how to make a File into a Reader.
Thanks for the detailed reply. This clears my head a lot.
I haven't sunk any cost yet. I am trying to find the best fit.

Can I say for sure one thing that between dedicated vs VPS you will surely choose dedicated?

Are there any downsides to dedicated servers from customer standpoint. I know from providers standpoint it's requires more work.
Or burn down your house for an immature laugh while ruining your life.
Is It Possible to Be Both a Founder and a Daddy?
Google's new browser 
Google chrome Beta 28 is finally here. It’s the most advanced version in the family. It comes with lots of amazing features like Full screen browsing on smartphone as well as tablets.
It's not that simple. I mean, given an os.File and a function that requires an io.Reader, it's pretty straightforward to discover that square peg goes in square hole. But just given either half of the relationship it's not currently so easy:

"This function needs an io.Reader, how would I get my hands on one of those?" Go doesn't currently have an easy way to tell you.

"This os.File has a bunch of stuff implemented. What can I do with it?" Go doesn't currently have an easy way to tell you.

The hard problem that remains to be solved is discovery. Someone somewhere needs to take a good long look at your project, the libraries available on your computer, and the standard library and connect the dots. It should be possible, most IDEs have this for other languages, when Go grows up you would expect these to be flagship features: "Find all known implementations of a given interface" and "Find all interfaces this type satisfies."

For example, you might eventually expect the locally generated versions of these two pieces of documentation to refer to each other, even though they currently do not:

http://golang.org/pkg/io/#Reader
http://golang.org/pkg/os/#File

godoc already aggregates all your local packages' documentation into one place, adding cross-references to known implementations seems like an obvious incremental addition.
Number 17. It's just so funny. Everyone's faces, apart from the rock luncher guy.
What are Benefits and Side Effects of Chia Seeds?
"I assure readers that this kind of problem is only faced by beginners"

I disagree. I've even brought this up before in passing on HN:

https://news.ycombinator.com/item?id=5639846

I've written many thousands of lines of Go code and have been using the language for more than a year and I still think the gist of the author's argument is a valid pain point when it comes to Go documentation. I'm now very familiar with the standard Go library, so the problem doesn't impact me as much as it used to, but I do find auto-generated Go documentation for new libraries I haven't yet used to be much harder to get a quick mental overview of than code autogenerated from other languages I've programmed in (including languages which are OO, functional or procedural).

Go is still my favorite language to program in, but I think there is a valid issue here (one that can be fixed with improved tooling)
Random theory I have (hopefully some HN-ers with actual military knowledge can weigh in): modern militaries need less technology and more manpower. It seems since I was a kid politicians have been saying that armed forces should become smaller and more high-tech. That means less bodies sent home in coffins and also more contracts for BAE Systems, so it's a popular message.

That all works well (very well) when you're invading countries. Doesn't work so well when you decide you need to build a new country out of the ruins. Maybe we'd do better if instead of spending billions on flying robot assassins to fight tribal hill-farmers, we simply enlisted more humans to take command.

The only other option I can see is to start running the American empire British-style - they ran very efficient colonies by exploiting existing tribal divisions, usually by recruiting some existing elite as their colonial administrators. Not trying to implement democracy in tribal regions that don't yet have stable institutions or the rule of law would probably also help.
> Vice is nothing but quality.

I agree that they have lots and lots of quality stuff, but they also have a quality control problem for good parts of their portfolio. The great ones offset the bad ones by leaps and bounds, for sure. But for every documentary like this one, there seem to be a couple hipsterish driveltaries that I close after a few minutes.

Sure, I suppose you cannot break new ground without landing some misses and sure, it's not like everything has to be mindblowing and perfect or even deeply valuable. But some of these misses make me wonder how anybody ever thought they were a good idea in the first place.

I think Vice has an aversion to "self censor", trying to get as much stuff out there as they can simply for the heck of it and as a means to retain credibility - and I applaud them for that. But it's not as black and white and doesn't help when your expectation of quality gets rather deeply disappointed at times. It's a form of brand dilution that might become a problem in the future.
I suppose this is about demanding extremes to have lots of room to negotiate in the inevitable following political negotiations. So they can be like - we didn't request the shoot-pirates-on-sight thing, we even gave up on the idea of rootkits, BUT we have to make stand on <insert real agenda>. Politicians will by their nature try to make compromises. So if you start by demanding what you really want you will lose it.
Aside from the accurate response that the signature needs to match, you must understand that Go's type system is deliberately a meld of a very strict type system, and tools that allow you to beat it into a form of duck typing.

It's trying to merge the best parts of two very different worlds. A modest loss of safety is therefore tolerated.
How many interfaces are there? You can iterate over all of them and see if the module implements them.

If you are doing this for many modules at a time you can do a lot better by caching signatures.
Let's convince Sony to not go for draconian DRM like Microsoft seem to do
There's a real complaint here, which is that there's not (yet) any tooling to find all known implementations of an interface, or all known interfaces satisfied by a type. Someday I expect there will be, and maybe this blog post helps spur some of that to be created, so it's certainly not without value.
I always feel like no matter how well a journalist covers Afghanistan, its only a small slice of the pie, for everything that is going on over there. And that is not to discredit the journalists, they do a great job, there is just so much going on over there, you gotta pick and choose your stories.

For me, one of the greatest tragedies in Afghanistan as a result from the US war is the drug addict problem over ther. I haven't studied the issue in a couple of years, but I remember looking at pictures and statistics of heroin addicts in Afghanistan. As the war destroyed their country citizens turned to drugs and so did leaders, but the latter did so for money. The citizens literally have nothing better to do. And thats not to say they weren't poppy farmers before the war, they were, the majority were just not heroin abusers.

In 2008 I took a seminar about the Afghanistan War, premised on the question, is Afghanistan a failed state? In a room with 12 reasonably bright American students we all were able to point out terrific errors that were causing some big issues. I remember reading that 70-80 percent of the trained Afghani police force was just signed up to get a paycheck. They never showed up for duty or anything.

I do a lot of thinking about Afghanistan, because the situation is unique, yet historically predictable. In my opinion, its hard for me and Americans maybe all westerners, to understand Afghanistan and the people there; and its just as difficult for the people in Afghanistan to understand our way of life, and how to assimilate to what we were setting up.

At present count, 3 people from my high school class have died fighting in Afghanistan, and 5 counting the year ahead of me (0 of my college mates, point for another story..). And this is what counts for me. I like to think that because the situation is complex and can get confusing, the best way to gain an understanding is to study individual stories, stuff that usually gets hidden behind the larger scene.

From the research I have done, the majority of Afghans want peace to the point where they would accept a Taliban strict rule of law over the continued war. Its confusing, but it just shows the war really needs to end.
Because in the enterprise world we have these boring projects with 60+ developers scattered around the world, high rotation of developers and new guys need to be able to jump into the code of several megabytes of text?
Outsourcing is the problem here. I've seen some really terrible code written by outsourcing companies, even in static typed languages that are as simple to write as C#. It's not the language, it's the writers.
You just described how off-shoring projects work.
Your average Internet user has no problems clicking on Adwords ads. If anything in ecommerce they are just as likely or more likely to click an ad than an organic listing.
A Python Developer's Guide to PowerShell
Yes, but 1.5 claimed only "experimental support", adding that they thought it probably would work all right but didn't want to recommend Python 3 for production yet. The unqualified "yes, we now consider it ready and can recommend Python 3 for production," was promised for Django 1.6. They probably have achieved that goal, but the fact that there is no mention of it anywhere in a document that mentions so many other things suggests that "for the first time, we can now recommend the use of Python 3 for production" isn't something they think their target market cares about as much as the several dozen other "issues" they DID mention.
> modern militaries need less technology and more manpower

An interesting thought! One of the most interesting conclusions I drew from this documentary is that the Afghan Military needs both - more technology and more manpower. But the trouble, as shown, is that you need the intelligence to handle so much manpower, the social contracts to retain that manpower and the education to handle that technology.

So what you're saying about the balance might be an interesting point for the US military might work for them, but it doesn't even start to help out with the Afghan forces.

As for going "British-style" - I think that stuff simply doesn't work in the modern, connected world. British colonialism took advantage of isolation and division. Doesn't work so well if the country you invade is reasonably well connected globally.
The SEO Highway Can be a Lonely One if Your Site isn't Converting
New firmware for your Samsung Galaxy S 3 
Here is a new official firmware for your Samsung Galaxy S3 I9300. Named as XXUFME3 it comes with the goodness of Android 4.2.2 Jelly Bean.Its an official test version that has been leaked by SamMobile.
I don't think it's that big of a problem. In the UK all the major supermarket retailers do home deliveries and I've used the services for 4 years.

The produce that quickly goes out of date usually has a message on the website telling you the minimum time it will last for (e.g. 2+ - they won't deliver something that will go out of date in else than 2 days).

If items you want are not in stock they substitue but give you the option of refusing the substitute and taking a refund instead. If the substitute is more expensive they will give you it at the cost of the item you actually wanted.

In the last 4 years I can't think of one bad experience other than a driver being late because he broke down once.
They lost me at the word Twitter.
https://www.projectwonderful.com/!
The Mantis Shrimp has 16 distinct cones. Plenty more than 6 are possible.
Chris Hedges: Murder Is Our National Sport
Violence is prevalent in the United States everywhere you look. From sports, entertainment, publications, and the daily news to the depravity of capital punishment, all need significant change. But not the kind of change that Florida has in mind.
You still haven't said why you would need to find all implementations of an interface. "Because I'm new to the company" is not a reason.

The thing about interfaces is that the function that takes the interface is the thing that defines how it is used. The implementation of the type that implements the interface is irrelevant.

log.Logger writes logging output to an io.Writer. It doesn't care what the implementation of any particular writer is... the writer could be sending data across the network, it could be writing it to the console, could be writing to a file... doesn't matter. Logger just calls Write() and merrily goes about its business. Trying to look up all the implementations of the io.Writer interface is not useful when looking at log.Logger. They're mostly unrelated.

Now, if you're trying to figure out how to do some specific thing, like log to a Windows named pipe, then you'd want to start looking around your named pipe library to see if it implements Write().... which it almost certainly does.
Do you really think this is relevant for HN?
Actually, some games do that, as they interpret the existence of a VM or developer tools installed as an attempt to decrypt/reverse engineer the game's DRM. Which would be funny if it weren't so sad.
The OP probably needs to optimize his ads (i.e. tune them) and the conversion funnel. In my five years of working at Google as an AdWords manager (I don't work there anymore), I've seen cost-per-click and bids rise consistently especially for Google search. This has a lot to do with competition and limited real estate. However, Google maintains something called Quality Score which is analogous to page-rank that determines the bid required for an ad to show. Quality Score is based on the keyword - ad text - landing page relevance. With a high Quality Score you can get clicks for a much lower cost. Some experiments put this at about 5% per unit of quality score change (Quality score is on a scale of 1 to 10).

Low quality score is also a reason your ad might not show even if there is no competition – Google assumes that the relevance of the ad is low, and tries not to show irrelevant ads to user, even if it means not showing any ads. Of course this is not fool proof, but that is the idea in general.

Getting a click is only half the story. Actually getting the user to convert and buy your product depends as much on your ad as it does on your site. Is your keyword related to your ad? Does the ad landing page offer what the ad text promised? How easy is it for a user to buy your product or, convert? How many steps does it take to get to your thank you page? Is your sign up process too long? Most people tend to focus too much on bids and ignore optimizing their ads to improve relevance of the keywords to ads and relevance of ads to their site. Doing this can help increase Quality Score which significantly brings down cost per click. It comes as a surprise but small tweaks can make huge differences - and increasing bid or cost per click is not the right answer in most cases.

Plug: I'm one of the founders of Optmyzr (http://www.optmyzr.com) and we offer optimization services and automated tools for optimizing AdWords campaigns.
I have heard that in Australia the word "rooting" is used to mean "f%%%%%%". So it seems quite appropriate when Sony say they want to "root" your computer :|
I'm wondering if it's got something to do with saturation on the demand side. I'm going to take a (roughly) economic angle...

When AdWords first launched, it wasn't (necessarily) a standard for online advertising, and especially for advertising generally. As more businesses consider it to be part of basic strategy, the cost of your bid goes up to remain profitable.

The previously obtained performance is the anomaly - it's a first-mover advantage on a new technology. You get more bang for your buck because you're making use of an asymmetry in the market-place.

The phenomenon that's occurring here is commoditisation - Adwords is well-known and well-used; it's a standard. The competitive advantage that comes from its use has finished.
It can know about all the interfaces in your current $GOROOT and $GOPATH, which is the set of code you'd be interested in anyway.
Chemical warfare in Syria
Honestly, it's only a loss of safety if you randomly throw types you don't understand into functions you don't understand. And actually... most of the time this will do exactly what you want it to do, especially if you're talking about io.Writer and io.Reader.
I was thinking the same thing until I watched a documentary about France's Toughest Rappers. And unfortunately I know very well the rape scene and this documentary was nothing but a big joke: Lies, bullshit, ...

So know I'm a bit suspicious.
People are programming in completely dynamic, duck typed languages and say that these languages are best without IDE.
I wonder which producer did it. They have a lot of independence, so they are probably pretty inconsistent.
A Couchbase Cluster in Minutes with Vagrant and Puppet
There's a balance to be made - between belief and skepticism. If you become too much the skeptic, you no longer have the ability to enjoy simple things like a magic show. Become too much the believer, and things like the Truther Movement hold sway over your life. (Of course, the assignments of "believer" and "skeptic" here are completely interchangeable, depending on from which direction you come at each individual topic.)
A lot of their ealier stuff was more 'spectacular' than insightful. It wasn't just the style either, it really was lacking in quality.
Does anyone else have problems with canvas on the new Chrome?
It was appreciated.
That's true. However, there's no such tooling for any other language, either. There's nothing in Java that says "If you have a file and you need to pass it into something that needs a Reader, use FileReader". You have to do some digging to find the right class. (fudge my class names, I'm not a java guy)

"How do I convert a Foo into a Bar" is a problem in all languages.
I agree; the site for the software looks terribly out of date, which in turn doesn't instill confidence in potential customers.

Updating the site would be his best investment.
How They Did It: Flickr.com Redesign
> Right now their enemies are just pirates wanting to watch Game Of Thrones for free. A business threat, certainly, but one they're generally handling well.

A reasonable point, but I think their argument about "we won't allow seeing GoT without a cable subscription" still is incredibly short sighted.

It lets them make money in a way they understand now. I would very happily pay them money straight up, but since I'm not in the US, it's not really about wanting access to free stuff - it's about access to stuff in the first place. They would lose money on setting up such a system in the short term, sure, but they are only delaying the inevitable - that such a system is what is required if they want to compete with bittorrent in the long term.
This is totally unrelated to rails. This is about OOCss and what's wrong with twitter's bootstrap in this context. The overall conclusion about doing OOCss might be right but there are many other and better resources for this topic- without those bothering meme images.

Surprisingly enough, the first resource I found describes exactly the same example about sass placeholder and %separator
http://ianstormtaylor.com/oocss-plus-sass-is-the-best-way-to...

https://www.hnsearch.com/search#request/all&q=OOcss
No End in Sight[1] is my favorite.

A documentary about the Iraq occupation starting in 2003. It's a sad story - no room for heroes - as the iraqi people lost everything.

[1] http://www.imdb.com/title/tt0912593/
Often times the documentation on a function will state

// Read implements io.Reader
Betteridge's law of headlines just kicked in again.
Absolutely agree. I think what bothers me with some of their recent content is that it is still produced with the same aspiration to quality, but it's simply wasted on the subject matter.
Streamline marketing projects easily