skysight-inc/HackerNews huggingface dataset:
"You wouldn't think it would be possible for compiler speed to be so much better than C that it would make a difference"

I would think that, even before I had used Go. Ignoring the smaller scanning benefits of Go that come about from the more rigid syntax for braces and such, the C preprocessor system introduces a complete nightmare when it comes to requiring multiple passes over the same code, especially for code that is naive about include guards, pre-compiled headers and other "best practices".

C (and C++ is even worse) has a lot of very large low hanging fruit to cull when it comes to writing languages with faster compilers. Whatever speed C compilers have now is due to the geniuses who wrote the compilers and decades of shoulders to stand on, the language is actively working against them at nearly every turn when it comes to compilation speed.

That aside, I agree. Go compiles very, very fast. So fast that it never occurred to me that "go get" did a compilation until it was pointed out to me that it did.
Is this code up anywhere? It'd be interesting to see what's going on there.
Haha, you've just sold me. I'm switching to Go for my next project :)
Hope to have some real deliverables in a week or two....
Are those numbers due to The Age of PCs, or is that because Windows actually went everywhere and and is a tier 1 competitor in those categories, i.e. servers, tablets, handsets, cars, TVs, media players, etc.?

On servers, Microsoft is on a supposedly even footing with Linux, but I have not seen traffic-weighted statistics. Apart from that, where is Windows?

It looks like Microsoft has created a bottleneck for itself, where all innovation has to get stuffed through the Windows product line.
The Google Glass feature no one is talking about
They likely just called it out like that here because so many other hosting providers use that as standard terminology.
Yes, all of those gun friendly countries are doing so well and would love to have you.
I feel the same. Why would it be a good thing?
> As I observe, Go projects are really messy. I saw some code importing code like "import github.com/foo/bar".

That's not messy; that's idiomatic Go. By convention, package imports can be URLs to version control repositories, which the `go` tool uses to determine dependencies and install them automatically.

Go has no equivalent `package.json` file. All package information is inferred from the source code.

The closest thing to a central repository is on the Go wiki. [1] Many people also use godoc.org [2], which is searchable.

[1] - https://code.google.com/p/go-wiki/wiki/Projects

[2] - http://godoc.org/-/index
No Terms of Use or Privacy Policy?
I'm rewriting Nuuton with Go. Before, I was using a combination of Python (with Django), and Lisp (for the back end processing). After playing around with Go for a couple of hours, I decided to do a little test. Went ahead and wrote a simple API that mimicked how Nuuton worked. It turned out to be so simple and fun to build that I decided to trash all of the old code base and rewrite it in Go. The performance is great (it runs circles around the Python/Django code (expected)), but what I like is the syntax, and how easy it is to work with it. In my mind, its the right mix of C and Python. Its just an awesome language to work with.
For what it's worth, all android battery drain problems I've had have been solved by keeping wifi / mobile data off unless I'm actually using the internet. It's just easier (albeit possibly less satisfying) than identifying & fixing the dozen apps that are each waking the phone every few minutes to check something individually. (Additional benefit: I don't get distracted from work by email/im/facebook notifications).
What on Earth are you talking about? Go's dependency system tied to SCM is awesome.
No, it's closed-source unfortunately. It might be a bit inaccurate as I only measured the includes in my folder and not everything in the src folder, but it only imports from the stdlib and a redis lib.
Detroit’s RoboCop Statue is Now Ready to Be Cast in Bronze
> I'd love to see on-disk bitmap indexes.

I'm curious about what the performance ramifications of that would look like. I recently had to disable bitmap scans in a data warehouse-type-thing I run because filesystem fragmentation was apparently misleading Postgres into thinking it would be cheaper than an index scan. The bitmap scan plan takes ~15 minutes to run cold, and the index scan takes ~20 seconds cold. (Really odd thing is that index scan takes ~1.5 seconds warm, versus ~0.4 seconds warm with the bitmap scan).
Facebook Kills Social Roulette
GopherCon 2014
That's an intriguing idea, assuming that the likes of Facebook and Twitter would want to share that data with Google and would be able to do so without running into privacy concerns given that the links were presumably not public if Google couldn't see them in the first place.

I've been wondering whether something like this might explain how one of my sites, which has about two incoming public links in the entire universe and probably a page rank of 0 but seems to attract a decent level of FB/Twitter interest, hits the first SERP at least once for numerous queries in its niche.
Which is an interesting point... I'm pretty sure Go has more in common with TP than ordinary C wrt linking, relying on modules, and using static binaries.

http://prog21.dadgum.com/47.html

edit: in fact a number of the things that Rob Pike has brought up in talks reminded me of that article
Fair enough. I had meant "world in general" given the current status of the U.S. as a hyperpower, but I can see how that is playing "butterfly effect", which is a game none of us can figure out.
Speed Up App Development with X-Tag and Web Components
I don't know why people are coming into the thread here so strongly to defend huge corporations...

I know my reaction when I see statements that seem too strongly worded to be rational is to play devil's advocate, to try to bring a little rationality to the conversation (or, alternatively, learn the reason why the strong working is warranted).

There is no reason for any of this besides naked profit taking and deception.

Saying there is no reason in this case assumes more knowledge of the situation than you could possibly have. Besides that, you begged the question in the previous paragraph.
IIRC, the compiler was single-pass, and thus, quite fast.
Your math assumes all of your connections are saturated to the max (on user's end).

If that's the case, then yeah, 10 million connections would require a 14.3 terabytes/sec connection, which doesn't exist for regular PCs, as far as I know.

There are many applications when most of your connections are sitting idly and checking something like memcache for status updates once a second.
At the end of the day, good design solves a problem.

Style is an expression placed over the solution for the sake of identity and brand equity.

Many designers seem to chase a style before truly understanding the problem—let alone the solution to that problem.
Introducing Contraption Maker from the original Incredible Machine team
What's really crazy is that this was a big success and was probably leaked by someone proud of the achievement. Meanwhile someone else had decided to pursue these drastic measures to find the leaker. They may even work together.

In any event the operation was going to be announced a week later. Perhaps the real offense was spoiling a triumphant press conference.
I hope everyone noticed this is an AP-written article so might not totally impartial here.
I don’t understand the point of taking an existing protocol – with fairly well defined syntax/semantics, which has presumably been tested at various parts of the stack, likely has existing conformance tests, &c. – and wrapping it in a new ad-hoc protocol which has (some subset of roughly) the same semantics, just for a syntax change? Big addition of new complexity for little tangible benefit.

Why not just use one of the existing Javascript implementations of an XMPP client, or if they’re unsuitable for whatever reason, make a new one?
You lose a lot of type safety via interface{}. I'm currently writing a server that makes heavy use of []interface{} and I hate it. For many, most, maybe even all, code pathes in the app I could 100% static-type if Go allowed for something akin to Haskell's generies. Basically I bundle around a type `APIVal` (an alias for []interface{}), but everywhere I either take as an argument or return an APIVal, I can tell you exactly what type the underlying slice items "really" have, but I can't assert that at compile time, and it kinda bugs me.
True but customers MUST be willing to vote with their dollars and so very few are. I have countless friends or acquaintances who constantly complain about a service/product/provider/etc and I simply tell them to switch or stop using said service. Rarely will people stop because it's simply too "inconvenient".

If you and large numbers of others don't vote with your wallet, do not expect change.
Bootstrapping Products With Services
Anyone else think this was a retro conference for the gopher protocol? No? OK.

http://en.wikipedia.org/wiki/Gopher_(protocol)
Is this the most productive way of coding?
This is great. I can't wait for more and more attention to go back to self-hosting.

One reason why: if you knew the LTV of a customer on a SaaS app, would there be any reason to not sell it to them for self-hosting for that amount?
"And anyway, the app would just be showing some "failed to connect" message her"

Dozens of London Underground Stations now have WiFi, so you're wrong.
we have political opposition groups targeted for audits

That could be extremely ugly politics, or it may not be. Paying special attention to tax status compliance of anti-tax activists might just be a pragmatic profiling. Kind of like giving extra attention to young men flying alone on one way tickets while checking no luggage.
I rebuilt a 15kloc microcontroller emulator I wrote (as my intro- to- Go project) just now, after blitzing my pkg/ directory, and it took about a second.
Google IO Kick off party
Is it wrong to own Adsense sites but use Adblock personally?
Why?
'Dropbox' and 'respect' in the same sentence - funny.
Why would you need a central repository when you can have a completely decentralized repo system?
Where else am I going to get feedback from smart people like you?
Judith Miller was jailed for refusing to out Bush administration sources who outed Valerie Plame's status as a covert operative as political retribution.
If you, like a lot of the startups outthere , are going ot make another better shopping, better video sharing, or better... whatever service/product then by all means, do that. But I bet you nobody who ever did anything original did that first. Because by definition if you want to come up with something new and different, people will invariably say No until they can actually touch it and feel it. After that they may or may not say yes, but definitely not before.
Those are in the 10 of the worst states, and they're the worst cities in each of the states, all but SF with their own, special, even worse laws (California has preemption, which means SF gun law is a constant of wack-a-mole, although of course they issue concealed carry licenses just about never, e.g. exactly 1 last year, to a jewler).

I was born, raised, and have retired to Missouri, which once it shook off its "KKK" post-Civil War anti-gun laws in the last decade has ... well, kept up with the rest of the "good" states. When I lived in Arlington, Virginia it was also good. Massachusetts for college and work for a dozen years ... not good at all, much worse today.

So due to the wonders of Federalism I believe I've lived in a free society since 1991; you, obviously not so much. And it's not a month to month thing, e.g. NY's Sullivan Act comes from 1911, when the Irish NYC Tammany Hall machine wanted to keep newer immigrants in their place.

But I agree its a very big problem, about 1/3 of our nation's population are by definition subjects, not citizens, and this makes me think about Lincoln's "'A house divided against itself cannot stand.' I believe this government cannot endure, permanently half slave and half free."

As for the political convention, I suspect you and I have different definitions of "peaceably assemble", plus I see no inherent issues with suppressing protests at a political convention. That's not what I understand that part of the 1st Amendment to be protecting, rather, it e.g. protects each of the conventions, where people are peaceably assembling as part of politics. I submit to you that it is at least a debatable point.
You Don’t Have to be a Genius to be a Programmer
That makes sense if yours is the only client that connects to your endpoint, but less sense if your client shares an endpoint with, say, a web app.

I try and I try to get clients to consider just rolling their own root certificate and eschewing the TLS PKI, but people have an irrational fear of the process of making certificates.
Yeah, that sounds about right. My definition of "imperceptible" is around a few ms, I guess. Maybe people coming from C/C++ have different tolerances, but I'm more used to the startup times of interpreted languages.
Getting to simple
His thesis is quite useful:

http://www.cs.cmu.edu/~rwh/theses/okasaki.pdf
There's always Switzerland, although I expect it to go to hell WRT to guns in due course, they've been moving in that direction for some time.
Government is much more efficient at distributing capital like this than having scientists, who are not marketing experts or salesmen/ running around asking for money. The government agencies that have the mandate to fund research do the work of judging proposal using people who are expert in the proposal's particular field and also audit to ensure that research is being conducted and funds are used appropriately.

It's not perfect but it's something government is capable of doing well enough.

And you do have a say in how this money is being handled. You have the ability to vote and influence your representative if you live in a democratic country. And obviously you might not have as much impact as you might which but that's the reality of democracies.
> I think Go needs to focus on improving its community and its aesthetic culture.

You seem more eager to make grand proclamations than to gain understanding.
Hmm, I'd consider setting up an EC2 image with this pre-installed. You can spin up copies for people that want to try it out with their own data (you'd run the server, charge them a nominal fee, and they'd get a full inspection of the system). When they choose to buy, you give them a copy of their image. They can run it on amazon, or export the VM to run on any machine they like. Or, they can install the software and drop-in the database images from the VM.
> That's not messy; that's idiomatic Go

Haha.

Everybody understands Go has a tool that deals with dependencies for you. And any other language can have it.

And this is why I avoid monopolistic platforms even though they are fast. If the owner of your platform has no taste of aesthetics, you'll write fast and ugly looking code. which is not fun for me.

As PG says in his book, a good solution should also look good and simple.

Go is very imperative, ugly looking, and not simple.

> http://godoc.org/-/index

This link is actually a self-answer by you.
I know what you mean. A friend of mine was saying he was heavily into the party scene in the years before he met his now fiancée. He said meeting her earlier would have saved him years of going out to clubs for the sake of not feeling lonely.

And of course a lot of use feel like it is easier to meet someone when we don't have our walls up. But most connections made at a club are superficial at best like you said.
Your javascript snippet seems to point to http://easycsv.dev/. I'm guessing you'll want to replace that.

I was also confused about what CSVs I was supposed to create. It's not clear that you're generating CSVs of user data.
Those "Tweet This" buttons littering the text are rather distracting.
My notes from the Relevance Podcast about Pedestal
Yup, my bad. Terms of use I don't think we need right now. Privacy policy is: we'll never share your data with anyone.
Just as I always suspected: Stone IPA is like no other!
You really should check your facts before simply repeating the current party line. The acknowledged scope of the targeted investigations is so wildly beyond "anti-tax activists" the mind boggles. And see also e.g. Z Street's allegations about being questioned WRT to its views et. al. of Israel.
A Nice Feature in core.logic and Thoughts About A Data Structure
SAT Scandal Shines Harsh Light on South Korean Academics
"It's time to emigrate."

I'm up for it, but where?
Subreddit connections
Wednesday Night’s Human Matchmakers Take Some Of The Work Out Of Online Dating
Suicide is a very narrow thing, however. It's also not necessarily related to "loneliness". The article is (using research) making the argument that loneliness affects medical outcomes for people. Is there a causal link between loneliness as suicide? The little bit I've studied suggests suicide is more closely related to depression. The causes of which remain something of a medical mystery.
You clearly haven't a single clue what you're talking about. I've never, ever, ever heard someone describe Go this way:

>Go is very imperative and ugly looking, and not simple.

Further, this is just stupid:

>And this is why I avoid monopolistic platforms even though they are fast.

If you don't want to use `go`, so be it. The manual compiler and linker tools are available that you can cobble together with make or ant or whatever masochistic tool you prefer.

>This link is actually a self-answer by you.

What are you whining about? What do you want? That's just a laundry list of known/seen Go packages. As everyone else has already told you, there's no need for a package.json and this literally isn't a problem for anyone actually writing Go code.
Thompson Reuters financial revenues are comparable to Bloomberg's (I think Bloomberg might be slightly ahead of them); Thompson Reuters also operates in a bunch of businesses Bloomberg doesn't.
You're assuming that funding basic research has anything to do with budgetary deficit. It doesn't, because basic research is a very, very small section of all research budgets, and the returns on investment are massive on the long term.
Why US government has so much self-restraint? 1% of Americans are already in jail, it could be easily increased to 10% or even 20%.
Claiming people hate Monsanto just because they're a corporation?
Definitely seems to be the least dangerous/boring path.
> Go is [...] ugly looking, and not simple.

I disagree.
Are you worried that if you tell HN what you are selling, everyone is going to want it and swamp you with sales?

Tell us what it is and we can give you better information.
npm does a lot more than that

npm install pkg@1.2.3

npm install foo/bar#cfdea4213
Eek! Fixed.

Thanks for the feedback — we'll see if we can make that clearer.
Programmer for 8 years, in a wide variaty of languages but never touched a language that had pointers.

How much do I need to know about pointers to use and learn Go? Is Go garbage collected in the C#/Ruby sense?

I recently switched from full ORM usage to hand tuned SQL queries and loved watching the speed of my application increase 10-fold. I'm having a bit of a speed high and Go seems like the perfect language for this.

What book should I buy to learn Go from the ground up?

Edit:This seems like the perfect place to start.

http://www.golang-book.com/
Wow, what I should charge using his bottom up pricing is way more than I had initially thought. We'll see how this goes.
Well, it is certainly bi-directional. Probably we can settle for the good old echo-chamber description. :)
When I signed a new game developer I always asked them, how do you "mind the gap?" The gap between projects is much harder for game devs than making a game. If I look back at all the devs, the ones that are gone had no gap financing.

Don't ever stop Biz Dev even if your publisher LOVES you.
Here is another data point for you. I went to grad school with public funding and obtained a PhD in CS. I'm one of these who worked for "close to minimum wage".

Would I have done it if my research was to be used to further the profits of a corporation instead of being released free to the world?

Not a chance.

What if they were willing to pay 10x what I earned? Would I do it then? Maybe, though perhaps not even then. I'd sooner work for myself.

I don't think I'm alone either. Among my peers, nobody wanted corporate grants. The sentiment was that they would rather just quite and get a job for full pay if a corporate grant where their research went to the corporation was the only option.

Further, I'd argue that corporations today simply do not do any science at all. They do engineering, sure, but very little science. You might counter and point to drug companies, but the work they do is highly criticized as is with claims that they outright won't work on cures because cures don't make them ongoing profits. They also won't work on any disease that is not extremely common. The days of Bell Labs and Xerox Parc are largely over with few holdouts still doing interesting work that is released for the public good (Google, Microsoft).

Public funding has yielded huge numbers of scientific and mathematical advances over the years. Many people here have given plenty of examples already, though there are a great many more too.
I did read the article. The University research partially funded by Samsung is completely seperate from this announcement. Thanks though.
> The PhD students' work usually ends up gathering dust on some shelf while the next breakthrough is usually made by three drop-outs with a year's supply of ramen in a trailer in Palo Alto.

No, no, no, no, NO! That is just wrong. Yes, a lot of PhD work is highly specialized and remains largely unapplied (at least directly). But that is the nature it; science is an affair of serendipity. You simply do not know what problem you're going to figure out, what problem you're going to make progress on, or where you're going to get stuck. In fact, science largely has very little to do with YOU in particular. It's about building a body of work that many people to come can work with.

This notion that most of science is brilliant people going "ahah!", and subsequently publishing a seminal work in their field that drives industry for decades to come is bullshit. That is not how it works. In very rare circumstances people have really significant eureka moments, but even then it takes the body of researchers, engineers, undergrads, and all their combined work to make things really happen.

Most breakthroughs do not come from drop-outs in silicon valley hacking on Rails apps, or building PCs out of wood and spite, or figuring out how to make lasers encode information at very high density. Those are the exceptions. As a culture we just love to hear about the exceptions that made it big, complete with the highly biased, over-simplified and glory hogging narratives that accompany them.

So stop spreading disinformation and putting down PhD students, and other academics, who are devoting years of their life to figuring out how to cure your ailments, build your LCD screens and save you from dying of hunger.
Can the charts be customized?
Hmm, I remember seeing BitPay merchants take zero-conf just fine.