skysight-inc/HackerNews huggingface dataset:
Have you looked into using the built-in testing[1] library for unit tests; it seems very full-featured to me. In Go the flag[2] package contains the command-line argument parsing functionality.

Is it that you didn't know about these libraries, or that they don't meet your requirements? If the latter, what do you require from each of them that they do not already deliver?

[1] http://golang.org/pkg/testing/
[2] http://golang.org/pkg/flag/
Actually, in Javascript you can preemptively return a value of a different type from the constructor instead of relying on the implicit `return this` at the end.

That said, I agree that the way "new" specifies the concrete type of the returned value is pure evil. In OO things should be typed according to their interfaces, not according to their concrete implementations.
Los Angeles Weather (record low)
If LessWrong is our touchstone then indeed some forms of group-think are presumably unavoidable. I mean, I'm working on a new religion; given only that knowledge and no actual content, can you guess how I'd be received by Less Wrongers? What if a postmodernist came by? An eugenicist? It is often easier to laugh with our community than to really try to see the world from the alternate perspective and really work out all the consequences from the different point of view, much less to find a genuine contradiction that would shake this speculative start.

However, even if a forum devoid of groupthink is unavoidable, I think an open forum is possible, though difficult. The key lesson which needs to be understood is that you are whole. In other words, most communication is about relaying some sort of point, transmitting some sort of information, making some sort of argument. But points don't matter -- you and I talking is what matters: true and authentic conversation. If people feel whole, then they can stop trying to show how awesome they are to others, and then we can keep a forum open to people who wildly disagree with us. I don't have to prove anything to anyone, thus I am free to respect others as human beings.

As you probably have guessed, this begins to overlap strongly with the aforementioned religious issues and I don't want to be preachy, so I will leave it at that rather than adding more exposition.
I'm bald you jackass
I was of the understanding that he switch positions pretty suddenly. eg, he could go from telling you why some idea was shit to the same idea being the best thing ever over the course of 30 minutes (often then taking credit for that idea).
1. I think the obviousness of an idea might change throughout time. 2. What if one industry is dominated by two companies, in the sense that all the experts are employed by one or the other, then how could they be unbiassed?
Just adding up the numbers is 487 minutes out of 43200 minutes in June, or 98.87% uptime.

The number of minutes an issue was being tracked on our status site is not the same as the number of minutes things were actually broken. Also, very few incidents affect all apps at any point. And when things are being fixed it's typical to see a long tail, especially for database failures with corrupt volumes.

I'm not sure if this was calculated the new way to be more accurate or to avoid the psychologically bad "one nine of uptime".

This is the same way we've always done it, but we never explained it before this month. We also couldn't find any other providers explaining how they calculate aggregate availability, so we thought it was worth explaining.

The is the most realistic method we're aware of for a distributed platform with millions of apps and non-total failure modes.
You can't use arguments.callee when in strict mode. So far the only alternative is to manually encode the class name and argument list:

if(!(this instanceof MyClass)){
return new MyClass(a,b,c)
}
My pains:

1) Satisfying my physical/emotional intimacy needs (the physical is the bigger pain)
2) Commuting without being surrounded by strangers.

Go build a startup to solve those pains for me :)
There's also the Go project dashboard:
http://godashboard.appspot.com/project
Codebender - A web platform for hackers, makers and artists
I have always hoped that marketplaces such as iTunes, Google Play, Steam etc. are something that will only be necessary until consumers get used to buying stuff online.

A better future is one where each content producer would just publish meta data in an open format that others could redistribute. In the meta data there would be a link to a web service using a standard format for buying/downloading the content.

Publishers could provide affiliate programs as an incentive for creating innovative ways of distributing the content. There would still be room for iTunes as an aggregator or a service for payment/downloading, but we would not rely on a few gatekeepers for our content. By providing the meta data in an open format it will enable anyone to distribute content. We could have a "Hacker Movies" where people submit movies and vote them up or other possibilities that would be up to others to imagine.
> * A full-featured unit testing library like Python's unittest * A simple interface for defining rich command-line argument parsers like Python's argparse

Most people find that the libraries for both unit testng and arg parsing in the Go stdlib are more than enough (IMHO specially the arg parsing lib does way more than I would ever want in a command line program).

But some people have written more "rich" alternatives, see the Unit Testing and Command Line UI sections here:

http://go-lang.cat-v.org/pure-go-libs

Some of the libs there are outdated, but that is mostly because in practice almost everyone find using what the standard Go distribution provides works very well. (If there is some functionality you are really missing you could fill an issue, but you would have to make a convincing case as to why it is needed.)
> 80 characters? I never had that limit for the 27 years of programming proceeding using the Google style guide and it never caused me any grief.

I didn't think that way until very recently, and then something occured to me: limiting things to 80 characters means you can fit more vertical strips of code on your screen without line breaks. On a 1920x1080 screen with a 6x13 font[1], I can split vim into 4 vertical strips each of which are 79 characters wide. It's not perfect, but it means that my screen is filled with code instead of whitespace. Keeping code width low is like dyanmic-range compression[2] for code.

[1] -Misc-Fixed-Medium-R-SemiCondensed--13-120-75-75-C-60-ISO10646-1 (I have yet to find a more readable font with those metrics, and I've looked hard)
[2] http://en.wikipedia.org/wiki/Dynamic_range_compression
GitHub humans.txt
Anyway, for some reason, everyone who tries to describe Git already has such a strong understanding of it and it's oddities, that they are, for some reason, unable to lay it out properly for a noob IMO.

This is a common problem in teaching, technical writing, and other forms of technical instruction.

Even when a good teacher or writer sets out to deliver material to total beginners, it's very tricky to truly enter the beginner's mindset and cast away a lot of the mental abstractions built up over the years.

I think one way to improve this situation is to focus on results and casually use features and techniques along the way rather than focus on features and techniques and have contrived examples to show off them off. The fewer technical terms or domain specific language you can use up front, the better. (I should note I've been very guilty of the contrived example approach, but this is what it's all about.. experimenting and learning what really works for learners :-))
Link to original news article:

Cisco’s cloud vision: Mandatory, monetized, and killed at their discretion

http://www.extremetech.com/computing/132142-ciscos-cloud-vis...
I use them both and I can say that Mercurial is way easier to learn and use than Git. Obviously, Mercurial has less features but, is there currently any DVCS system that has more features than Git?

The funny thing about Mercurial and Git is that they build on top of the same core concepts:

http://mercurial.selenic.com/wiki/GitConcepts
Just a small comment from me. Checked out one of the folios and noticed clicking on a demo says it requires flash. Disappointing as I am on an iPad. Surely many potential app users will. E browsing on their iOS devices? Did I miss something?
I agree, actually: most tech companies have some blood on their hands (though I genuinely think it's fair to say Apple has had a particularly bad track record compared to its competitors, at least on offensive patent litigation).

That's why I'm constantly looking for new non-evil options, and my next phone is going to be B2G, if at all possible. Guess I won't be putting it on a Galaxy Nexus, though =)
It's just a pattern of speech.
A big part of why they went with Microsoft was that the Android market is already saturated, as opposed to the WP market, where they have a chance to catch an ecosystem in its infancy and become the dominant player in that ecosystem.
See also http://news.ycombinator.com/item?id=4168283 , where Source Filmmaker was also discussed.
As someone who has never used git I found this tutorial relatively acceptable. I was disappointed there was not a level 2!
We have several websites/products where we need to have fast connectivity servers. At the moment is very hard to rely on reviews/sales reps or finding speed tests on hosting provider sites to determine which hosting is faster than other - and there are huge differencess. we find it hard way by buying 1 month and then realizing its slow and moving on to the next provider.
He wanted to name the book "The Goddamn Particle" initially -- as a reference to its elusiveness -- but the publisher wore him down.
I was on the lookout for lions in a wildlife park in Uganda while checking my email... It's all possible.
They probably didn't believe this "technology" was worth a patent.
To be fair, it's kicking the can 60 years down the street, to when we're fully populating a 64 bit address space with 16 exabytes of ram. Considering the change will be backwards compatible, 64 bit is for all intents and purposes a permanent solution.

You do have a point about 32 bit, though (I use 32 bit Redis for instance, for the same reason).
I understood that git stores snapshots, and not diffs. At least conceptually.
I hope Vagrant works for you, but I want to correct some expectations.

I like the idea of Vagrant. Most of us at work used to use it. The problem is that Vagrant uses Virtualbox, and Virtualbox on OS X seems to have all kinds of performance problems. The biggest issue was that lots of disk IO in the guest would cause it to freeze for 30-60 seconds. At the start of these freezes, the message `aio_queue_async_request: too many in flight for proc: 16` was printed in the system log. Increasing kern.aioprocmax didn't help. Neither did enabling or disabling various Virtualbox options related to disk IO.

We ended up ditching Vagrant for Parallels and VMWare Fusion with some semi-automated setup scripts.
You're right, the fact that "it's some crap that people made up" made these dozen Krugerrands that I traded my bitcoins for stupid and worthless.

Oh, wait, I can't spend those at the grocery store either. I guess those aren't actual currency either. Silly me!
It's worth noting that currently, the technology doesn't even exist to say "hey, I just had an idea, let me just write a full novel about it really quick". And making a feature film is orders of magnitude harder, and encompasses many, many more tasks, than writing a book. (I've done both.)

Having been working in this space for 15 years now, it's definitely a hard problem, and one encompassing multiple other hard problems within it. Even designing a tool allowing a person without experience to come up with camera angles and sequences - just cameras, nothing else - in a manner comparable to a Hollywood feature is very, very hard - I've seen multiple research projects fail at it.

None of which, incidentally, is intended to say anyone shouldn't work at it! If we can create a tool that gets anywhere near to that ideal, it'll be a fantastic advance for humanity as a whole.
Thanks for your response, I understand science is not engineering I was just not sure if I was missing some other immediate implications. The more you know.
Show HN : Mirrorin serves raw.github.com with Content-Type
This is laughable wrong. Motorola has never been cooperative with Microsoft. They are the ones being the aggressor and have used FRAND patents to do so. They've been nothing but underhanded at every opportunity.

And if Google/Motorola are so cooperative then why are the FTC/EU investigating them for anti-competitive behaviour ?
I've always found you can learn a surprising amount about a subject by reading it's wikipedia 'Talk' page.
I suspect the 'usual suspects' just wrap OpenSSL, you can use Go bindings for OpenSSL too, but I'm also sure Adam Langley, who is responsible for the Go crypto lib and the main crypto guru for Chrome will be happy to help get any bits that you are currently missing into the go.crypto repo.

Hell, Go even has an official ssh library, I don't think any of the 'sual suspects' has that ;)

http://go.pkgdoc.org/code.google.com/p/go.crypto/ssh
Galaxy Nexus came out last November, so it's 'aged'. I have been enjoying mine since the day it hit the shelves at VZ.
Yes people still read FOSS patents because he is the ONLY one actually covering the cases in detail. And I actually find him to be 100x more professional than Groklaw e.g. their latest article, "Another Spanking for Apple From Judge Posner".
The arguments I've read supporting PHP scare me a little. They seem to boil down to a few things:

* It's not so bad, really. Here's a map of land mines to avoid. Hopefully it's complete!

* PHP is everywhere. Apparently COBOL and Visual Basic were also excellent languages.

* PHP is easy to start with. Newbies don't want to learn anything too hard; they just want to throw down some code. What could possibly go wrong?

* PHP is easy to deploy, as if that's an inherent property of PHP and not something that can be fixed for other languages.

I'd love to hear a real argument for why PHP is a great language for Web development. Not just a defense of PHP. We get it: every language has quirks. I code in C++, willingly even. I know a thing or two about whacky language quirks outside of PHP. But why should I choose PHP over all of my other options?

What makes PHP so great?
Nothing. I never asserted as much. I'm disagreeing with the claim that more associations create a pressure to "clean up." I can see no source for that pressure so I'd like to know what the person meant.
Simple. Monopolies and duopolies shouldn't be awarded patents, which are just monopolies themselves. Why award monopolies to monopolies?
I want to agree with po from an entirely different point of view--a non-programmer often trying to figure out how a particular program (in a language I don't know) works.
If I spot the "my" or "my-" prefix, I take it that the corresponding token (e.g. "mypref", "my-limit") is not a reserved term of the language, but one the programmer is defining or assigning. So the "my" prefix can be helpful (at least to some non-programmers) and I don't want it co-opted to become a reserved word.
This would be awesome as a webapp. I have to demo pages to non technical people, so the bookmarklet/snippet is a non-starter.
Prediksi Sriwijaya FC vs Pelita Jaya
Prediksi Skor Sriwijaya FC vs Pelita Jaya ISL 5 Juli 2012 - Prediksi Sriwijaya FC vs Pelita Jaya ISL - Prediksi Pertandingan Sriwijaya FC vs Pelita Jaya Liga Indonesia - Judi Bola Online Multibet88.Com - JOIN SINI DAPATKAN BONUS 50% DARI Multibet88.com yang merupakan AGEN JUDI BOLA ONLINE dan agent jasa pembuatan account betting online (IBCBET, SBOBET
Miners will generally operate when their revenue is greater than their loss in term of electricity bill(if they're not being parasites).

Let calculate the revenue a miner would get if they win all the blocks:

50 bitcoin every 10 minutes mean 300 bitcoin, which mean 7200 bitcoin a day. The price of a bitcoin at the time I am writing this is 6.54 USD, so the total revenue is 47,088 USD per day.

That mean, assuming a miner can win all blocks at 50 bitcoin forever assuming the price and difficulty stay the same, he can afford to pay an electric bill of 47,088 per day assuming that the price hold stable. This equals to 17,187,120 USD in revenue every year.

The market cap of bitcoin is only 60,951,475 USD, which mean miner revenue equals 28% of the market cap. However, most economic activities are certainly not miners, but actually trading bots and speculators across exchanges. In the MtGox USD alone, about 8.7 million dollars worth of bitcoin were exchanged in 30 days. You can also add in the various economic activities other than trading currencies, such as virtual goods, hosting, ice creams, t-shirts, porn, illegal drugs, etc.

You can conclude that the miners are guaranteeing more than just revenues for themselves, as the various activities in the bitcoin economy which actually probably dwarf what the miners are making in term of revenues. As far as being actually efficient method of security for a currency? Probably not right now, assuming that security measures actually scale economically. It could be that the actual electricity cost grows slower as more and more efficient method of hashing are found.
Off-topic from the theme of your post, if you really want to learn about git, you could take the path that I did, which was to go by way of Mercurial (otherwise known as hg).

Hg is simpler than git in many ways. There's no "staging" for changes, so "commit" is just taking a snapshot of your files as they are right now. Simple.

And, since it's so simple, that means that you can write a really good tutorial for it, which Joel Spolsky did: http://hginit.com/01.html

Hg is plenty useful in its own right, and it doesn't really deserve to be training wheels for git as I've presented it here. But moving from hg to git is really easy; it makes git just seem like hg with a bunch more features.
There are already libraries to do some of those things. There are for example several linear algebra libraries like gomatrix: http://code.google.com/p/gomatrix/

I don't know so much about bioinformatics, but I know some folks are using Go in that field without too much problem. Of course, the more specialized your needs, the greater the chances you might have to roll your own.

But given that Go 1 has hardly a few months old, this is not very surprising.
Review SplitGear - My Startup
Yes, you are right. I was referring to pure Go packages.
What's not federated about that? And obviously you don't have to run it on EC2, that's just the easiest way at the moment.
The elephant in the room is that Samsung did, and is still shamelessly trying to make a carbon copy of the iPhone and the iPad. The similarities go beyond casual coincidences. Right from the charger to the packaging to the layout to .. almost everything. It is so obvious they are doing that. It is no surprise Apple is going after them, and of course they should.
Why I still don’t use Apple Products…
The Mitsubishi check?

http://www.gizmodo.com.au/2011/06/12-money-shots/

Since this kind of money can disturb a bank (a bank lends a multiple of what it has floating) wouldn't it be "cleaner" if the government just opened an account at the same bank and had the money transferred there?
Like the 20th century, with IBM and Ma Bell. Or else every industry will be just like the current monopoly and duopoly dominated electric utility, POTS phone service, and ISP industries. Once a company has staked a place in a new industry, every one else will barred from competing.
How colors get their names
LastOnline: Using public data to find when you were last active online
Forecast’s Closure: The Challenge of Check-Ins and Ambient Location Apps
The Meaning of Independence: 13 Entrepreneurs Pay Tribute
I have been working on this and I decided to finish / publish it today.

Here it is :
http://news.ycombinator.com/item?id=4200790
https://github.com/jbourassa/mirrorin
The Last Lost Generation - b. 1977-1982
This has nothing to do with MVC, ABC, <put your architecture here>. You should eliminate the initial browser blank state, optimise the TTFB and your start render time, number of resources <23+4 Steve Sauders optimisation techniques>.
Twitter found Time To First Tweet as an important KPI, and it caused them to build a mixed deliver architecture (server-side and client-side, http://engineering.twitter.com/2012/05/improving-performance...)
Phils hurler breaks through for first win
Except that isn't the case for the Galaxy Nexus, which in terms of Samsung phones deviates further from the iPhone than any of their others.
> It's worth noting that currently, the technology doesn't even exist to say "hey, I just had an idea, let me just write a full novel about it really quick".

That's one of the first problems I've ever tried to solve, back when I was writing chat bots. Fortunately, building a robot that can write human readable text from structured data, is many order of magnitudes easier than building robots that does the opposite. Pattern recognition is what's keeping current chat bots so dumb. But we actually already have some really good bots that write text reports. You probably already read news/sports reports written by bots and never noticed.

I believe that's the way for future tools. Users give very basic structured data (who's the protagonist, what does he do, did he die at the end?). And robots transform that data into text, movie scripts or whatever.

> Even designing a tool allowing a person without experience to come up with camera angles and sequences

You don't need to do that. Bloggers don't need to understand HTML nor CSS. A good tool would give higher layers of abstractions to choose, which were designed internally by professionals. And the user shouldn't even need to know what good angles or lighting is.
It came off like comment spam a bit to me. "I really like your insights!" or "This blog is great, I'll come back again soon." I guess you won't be able to compliment everyone or the cynical, but it was a good attempt and I think you'll be a great complimenter soon.
Sorry, not typefaces: it was meant to be typefaces/different spins on typefaces.

Separating lines aren't the only way, but there isn't enough whitespace here to be good: it just looks like a regular Windows Explorer window without the lines; there's not a lot of increased space.
My interpretation as to why they went with Windows Phone:

1. The $$$, it's hard to turn down more than $1 billion dollars in a year (and probably more per device sold). Just makes the stupid gamble harder to turn down.
2. Nokia can still go with Android at anytime (and maybe they will once their exclusivity contract ends with Microsoft).
I don't understand why Apple is going after the Galaxy Nexus. In terms of UI, it's not really very similar to anything Apple makes, and to me at least, I don't think that either Apple or Google are trying to exploit consumer confusion to sell it.

The Galaxy S2 and S3 with TouchWiz, OTOH, are a different story. I would imagine that what Apple is really pissed off about is being the target of Samsung's shameless copy-and-undercut strategy that's worked so well for them in mobile in the past. TouchWiz is a really gauche copy of just about everything iOS. I'm actually quite happy that Samsung is getting called on this bullshit.

But the Galaxy Nexus? Huh?
To be fair, I didn't actually expect Go to have it covered. I was porting over some Ruby code, and it just meant a little diversion via the OS/Exec package.
PATCH will be supported in Rails
http://weblog.rubyonrails.org/2012/2/25/edge-rails-patch-is-...
Can we find better sources?

Florian Müller has failed to disclose when he is consulting/working for companies he is writing about and has been pretty seriously wrong in his "predictions", most notably the Oracle v. Google case over Java/Android.