skysight-inc/HackerNews huggingface dataset:
> but that's no excuse for just pissing away cycles doing pointless stuff.

Yes there is - maintainable code, programmer time and effort. What are you worried about, a large power bill due to your cpu doing what is supposed to be doing?

On an unrelated note this kind of attitude is the first thing I test for during a programmer interview, and is my strongest case for eliminating potential candidates. I made the mistake once of letting one through - his first task was a relatively straightforward modification to a large C program. A week later I was a bit worried he hadn't reported back done, so I went to check up on him and it turns out he was busy changing every line of code	to adjust formatting and variable names, not to mention these kinds of pointless micro-optimizations. And he hadn't even checked in once, he was saving the checkin itself for another multiple day effort. Sigh. I tried using the "premature optimization is the root of all evil" line on him to get my point across (and see if he had heard of it), and it was when I saw his eyes flare up in anger I knew he had to go. Sad really because he was otherwise quite bright.

Now I basically put C++/game programmer applications in a "special pile" to be considered as a last resort. I just dont need this kind of arrogance and cowbow mentality wrecking the place. Its like sending a bull into a china shop.
They have always needed to communicate securely.
Nobody Will Wait In Line For Hours To Get The Next iPhone
I don't get how this is 'hacker news'. Seems like a poor attempt to get _something_ Daft Punk related on the front page here.
Agreed, but it's possible (in theory, much like writing your own network stack).
What is the NPM equivalent in the Go world?

I wanna give Go a start but can't see any community website that lists Go libraries like NPM.

EDIT: I'm not asking for "npm install person/project", I'm asking for a community website and a file like package.json that records information about a project.

As I observe, Go projects are really messy. I saw some code importing dependencies like "import github.com/foo/bar".

I think Go should focus on declarative programming and its aesthetics culture.
Great idea, you've inspired me to do the same just now. I've been using PostgreSQL since ~2000 and love it, but I'm still finding new little corners of the docs worth reading.

If anyone else wants to do this and has Calibre installed, the commandline ebook-convert utility does a decent job. Change to the postgresql docs directory and then run

ebook-convert html/index.html postgresql_docs.mobi --authors="Postgresql" --title="Postgresql 9.2 Documentation"

(or substitute postgresql_docs.epub). There are a lot of tweaks that'd make it better, but it's readable and properly handles the code font, etc. If you want much more than that using the Calibre gui might be a good idea. Biggest issue I'm seeing is that "Up" links & such are broken, so I'm working on that now.
The Go compiler is so fast you can use it the way you would a scripting interpreter ("go run whatever.go"); it builds the whole standard library in seconds. Every program I've written in it (topping out at around 20kloc) compiles instantaneously --- I can't perceive the amount of time it takes to compile.

C compilers are fast, but they aren't that fast. Go compiles so fast that it changes the way you write and organize code; you would never consider compilation overhead in any decision you made in a Go source tree, where you might do that in a C codebase. For instance, Go programmers routinely compile code, run it, and throw away the compiled binary! You wouldn't think it would be possible for compiler speed to be so much better than C that it would make a difference, but Go's compiler manages it.
Oh yes, it is hacky. This is me putting the look of the UI, not the actual markup. The markup will be template based and html5 complaint.
But for their sources? Am I missing something or is that obviously not OK?
libnetfilter_queue for rx, raw socket for tx.

That was going to be the basis for a project to handle large numbers of concurrent connections. Still on the drawing board though.
No, I don't think this has anything to do with that kind of rationale. But to be fair, some of these leak prosecutions started with investigations that began under the Bush administration:

http://www.nytimes.com/2012/06/20/us/politics/accidental-pat...

But to your point: it doesn't matter if Obama personally investigated the cases himself or if a witchhunt is led by a middle manager. He is the top executive, what he says or implies trickles down the chain of command. If he passed along the word that these prosecutions weren't worth the time and effort, then the immense work that goes behind building these cases would, quite likely, dissipate.
Correct. The government probably figured, they don't need a subpoena, because they already manage the AP so closely.

You aren't hearing any serious dissent from the AP.

That said, we have to be vigilant about any overreach, as civil rights are too hard to get back once you give them up.
What is it? Your site gives almost no indication. Are we talking comma separated files?
The point is that there's no difference when the resources of the government are put to the task.
go get/install <package-url>?

http://golang.org/cmd/go/#hdr-Download_and_install_packages_...
There's a lot of post-hoc reasoning here.
Very impressive. Just my 2 cents:

It would be great if there was some sort of auto invoice (it seems you have to enter the time details in manually)

The calendar seems to always require scrolling down, it would be great if it fitted in the view

Also, mobile support if its not there, for iPad at least with a home icon

And agree with other posters here, a timer that work across page refreshes and overall calendar showing all tasks / deadlines for all projects would be awesome.
They haven't shown the gov't who's the boss since Watergate. They've been content to be subservient since then. Next, gov't will require them to use decryptable communications.
A && B && C && E (get in touch through social media).
$ go get github.com/person/project

It will even figure out dependencies by checking every import (and you can do 'import "github.com/person/project"' too), and builds the source by default.

And yes, "go get" comes with the standard gotools.
Manipulating girls into being princesses damages half of society. That's the only point.
You can test easily! [array isKindOfClass:[NSMutableArray class]] or [array respondsToSelector:@selector(insertObject:)]
The short answer is that they don't provide much depth.

I've seen Optimizely call something a "winner" with 95% confidence after 48hrs.

The triangular method we use w/the off-the-shelfers is something like:

a) Optimizely base stats

b) Convergence point analysis (useful to correct for day-of-week / unique traffic swings)

c) Chi-Squared Testing which provides a range so that you can actually assess the risk of a high-confidence test. eg look at the example in evan's tool which shows 8.5%-22% and 13.%-28.9%. This means that Sample 1 could be as HIGH as 22.1% conversion and Sample 2 could be as LOW as 13.3%. If this was rated as a high-confidence test that Sample 2 was rated higher than Sample 1 you could be potentially risking a signifigant conversion decrease if you went with Sample 2. EG needs more data and don't just buy into the "this one is better"
As far as I can tell, there was no real "intercept" in this case other than the government asking for records of calls. So the software involved was probably just a SQL query.

That said, I do agree with the point you're making that there can be a larger context to our work. Indeed, it can give meaning to our work.

I don't begrudge anyone who enjoys writing iPhone apps; but the prevalence of things like Stuxnet, and Chinese cyber spying, and Bitcoin (in particular the political philosophy behind its origin), and Facebook (and its implications for privacy), and now the AP subpoena, is increasingly telling me that there's a huge opportunity to use tech skills to make a difference in the world. And the people most suited to do it are people who understand both politics and technology.
Here is an interesting concept that thinks 'outside the box':

http://www.youtube.com/watch?v=gq1vDG-st1k
Nice distinction.
I assume he is jokingly suggesting that the detractors are wrong.

Yes, I believe the detractors are wrong. And I believe they are especially wrong about generics. One of CloudFlare's most hard core C++/Boost guys 'tried out' Go to see how he liked it and is rewriting everything that needed redoing in Go.

The combination of a 'small, powerful' language that supports multicore machines and the good standard library means people can _get things done_.
I will email you tonight (my time).
they make it impossible to test which a collection is.

Couldn't you just test with the following?

// NSMutableDictionary
[dict respondsToSelector:@selector(setObject:forKey:]

// NSMutableArray
[arr respondsToSelector:@selector(addObject:)]

// NSMutableString
[str respondsToSelector:@selector(replaceCharactersInRange:withString:)]

// NSMutableSet
[set respondsToSelector:@selector(addObject:)]

Although, personally, I'd rather just, either at the class or method boundary depending on the circumstances, only expose the non-mutable variants.
Executable Archaeology: The Case Of The Stupid Thing Eating All My RAM
Depends on your email client. Thunderbird downloaded full copies of two of my Gmail accounts when I added them and selected the "Keep messages for this account on this computer" option.
Awesome Google Glass Concepts
An iPhone Jury-Rigged as a Microscope
More to the point, we're involved in this whether we want to be or not
I frequent NYC, Chicago, and SF. Try again.

What I'm pointing out is that when you have people like Bloomberg and Emanuel individually violating double-digit millions of individuals' constitutional rights on their whims, you don't have a free society.

Whether it's RKBA this month or the right to peaceably assemble during a political convention in an election year, they get to pick and choose which rights you are allowed, with no repercussions.

That's tyranny.
Fantastic! Thanks to the Golang team for getting this out the door!

I'm surprised by the speed of the dev team. It seems that just a few days ago that we saw the latest RC and just a few days before then was the previous RC. Fast development!
I hate the ..: all over the place. Looks like it is from Geocities.

Not sure why you would have the search button not a button. With forms like this I would either have the button or nothing and expect users to hit the enter key.

The colours a fine in my opinion (although I am not a designer) but the amount of negative space around elements is too much.

The placeholder text in the input box is a bit weird. I would remove the reference to nuuton.
Jeff Bliss' Rant At Duncanville High School Goes Viral
That was fast...see prior comment on this issue:

http://news.ycombinator.com/item?id=5698514
It wasn't really off-base, it's just that his opinion doesn't correlate very well with the general public's.

That said, it's fun to read the old thread. I like this comment from dbrutus:

Do you want revolutionary? Ask yourself, what chip is this running? Ask yourself, what is the OS on this thing? This is v0.8 of Apple's PDA folks. They're just waiting for the hardware and the economy to get a little better.
Marcia Hofmann: Leaving EFF and starting a law practice
I'm often asked to generate CSVs of our user base for various non-technical colleagues. They might use these CSVs to do analyses in Excel or import users into a service (like Mailchimp).

This is an attempt at taking me out of that process, and automating it.
It's the equivalent of npm install <package-url> command, not the NPM.
I really think its worth re-reading Venkatesh Rao's "Entrepreneurs are the new Labour" and his dissing of the Lean Startup movement (tldr - it's a great way for in estors to have control / viaibility over many more compliant startups than if entreprenuers really had peer power.)

Yes, go validate your assptions, get out of the building. But decide where your exit is, where your talents lie and how much is the opportunity cost.
Based on reports¹², weev is super-malevolent, helping drive blogger Kathy Sierra off the internet, being president of a group I won't even name here, saying "I hack, I ruin, I make piles of money. I make people afraid for their lives", stealing people's social security numbers, and so forth. If you think his goals are laudable, please read a bit more about his goals.

¹ http://www.nytimes.com/2008/08/03/magazine/03trolls-t.html?_...
² http://www.theatlantic.com/technology/archive/2010/06/meet-o...
We have a problem here and it is not any particular politician or political party but the assumption of almost unlimited power by our entire political leadership. They appear to believe they can do whatever they can get away with - just do it in secret or buried in an incomprehensible law or regulation. And in the rare instance our nepotistic press tries to hold them to account they simply deny and delay and deny and delay until it goes away.

Is there anything that can reign them in? Or should I say convince them to reign themselves in. I don't think so.

Sorry for the rant.

Advice for press: Get trained in spycraft (throw away cell phones, false names, strong file and email encryption, Tor...). but most of all don't become too cozy with our leadership.
In that case, I would generally recommend that you create your own trust root and validate against it, rather than using pinning?
In February I deployed a website written in Go. It's been running 24/7 since then, pulling from thousands of data sources every ten minutes, no problems, no memory leaks. The thing is so fast on my cheap server (4 ms turnaround) that the only thing I would've done differently is to use a cheaper server.
If your memory goes back this far: it's Turbo Pascal fast. :)
First link - Apps, People and Jobs to be Done was written April 7: http://stratechery.com/2013/apps-people-jobs-to-be-done/
As I said in my previous comment, it's just the equivalent of `npm install person/project` not NPM.

Edit: WTF? why this comment is down-voted now?
Authors are giving their work away, subject to restrictions of their choosing. There's no coercion involved.
I hope AP switches to encrypted VOIP after this. Along with everyone else.
You could also say that ANSI C has fenced off generics (array of T). Just as with Go's append and co, that's part of the language, not it's standard library.

http://golang.org/pkg/builtin/#pkg-overview
I expect that will change the tone of coverage of news stories on surveillance issues.
If people emigrated when the government was literally killing striking union organizers (e.g. the "Wobblies"), holding Nisei captive, holding blacks in bondage, locking up political dissidents (e.g. Lincoln), infecting the poor with syphilis, or ruining the lives of countless suspected Communists with the full authority of the state...

just imagine how far worse off we'd be.

Leaving is always your choice, but the U.S. would still have the power, just with less moderating influences such as yourself to ensure that it's used with a conscience.
Furthermore - the US has a big advantage. Many of the companies that handle digital communication services (Facebook, Twitter, Google etc) are US based and have to by law co-operate with the US law enforcement agencies. So if the FBI (or other three-letter agency) wants access to your Facebook or gmail, they can get it via those companies.

In countries like Saudi Arabia they don't have the same level of power/control so they have to look at intercepting & blocking the traffic.
You appear to be knowingly disingenuous. The Cons are doing exactly what they do with their caucus and what they're trying to do to the CBC - control any message that doesn't fit Father Harper's tightly controlled script. If scientists speak out in a way that is dishonest or threatens their credibility it is the citizens of Canada and the scientific community that shall be the judge. Not the evidence-averse Conservative party.
As far as I can tell this was done via subpoena (but it's uncertain under whose authority the subpoena was issued, it may not have been a judge or grand jury).

Had there not been a subpoena the U.S. would likely not have informed the AP of the search at all.
To get a good overview of third party libraries 'out there', you can browse the index at http://godoc.org/-/index

These are by no means all the 3rd party stuff out there, but it's a good starting point.

Incidentally, this website is intended to automatically generate and serve the documentation for all those projects in a centralized place. You don't even have to submit your projects. Just type the import path in the search box, and the site fetches the code by itself.

Edit: And here's anther community-built site to do continuous integration testing for your projects. It too, has an index of registered projects: http://goci.me/
The main Go program I work on is CloudFlare's Railgun which is 18,000 lines of code. It builds in 4s.

% make clean
% time make make-listener make-sender make-diag make-ssl...
3.42s user
1.05s system
105% cpu
4.240 total
% find src/ -name '*.go' | xargs wc -l | tail -1
17870 total

And that's building everything sequentially. If I switch to using -j4 I get a 2s build from clean.

% make clean
% time make -j4 make-listener make-sender make-diag make-ssl...
5.75s user
1.99s system
382% cpu
2.020 total

An incremental build (no op) of the entire tree is one second:

% time make -j4 make-listener make-sender make-diag make-ssl...
1.56s user
0.73s system
209% cpu
1.090 total

Yes, we wrap the go build tools with make. Not because they are lacking anything for Go but because we do other stuff (like build documentation and release packages).

(I should have not counted the tests in the above analysis. There are 7,290 lines of tests and 10,580 lines of code).
> Every program I've written in it (topping out at around 20kloc) compiles instantaneously --- I can't perceive the amount of time it takes to compile.

Okay, Go is fast, but it's not that fast. My 1000 LoC program takes ~1 second to compile. While it's certainly fast enough for me, it's not imperceptible.
The press believes it is not ok, and some of them have spent time in jail to avoid revealing their sources. There are no special protections from a legal perspective, however.
So inside of just a few days, we have political opposition groups targeted for audits -- including questions about donors and volunteers -- and surveillance of the press.

The easier we make it for some analyst in FBI headquarters to determine everywhere a potential terrorist cell has been, the easier we make it for some other analyst to conduct political spying and harassment like the world has never seen before. You can't pick one and not get the other.

In many, many ways, the political side of this is the worst part. This has nothing to do with parties or politics. It's the normal and automatic result of the creation of systems without appropriate checks and balances.
> just imagine how far worse off we'd be.

"We" in this sentence would refer to the people who stayed.

Don't be one of those.
It's allowable. In fact I thought last decade some reporter went to prison for years for "contempt of court" for refusing to comply with a valid subpoena (but I forget the name).
Turbo Pascal was so fast mostly because of not compiler but linker and .tpu files format.

edit: s/tpl/tpu/

btw, the tp linker - http://turbopascal.org/linking-modules-and-creating-exe-file
Facebook Home Flagship Phone Discontinued
You should be ashamed of yourself for accessorizing with flannel and other manly interests precisely because you do understand the anti-intellectualism behind it. You know better, you know you could be spending time on wiser pursuits, and yet you do it. It's not the end of the world. You're not evil. We all need to try harder.
Rvl.io moves to slid.es
Stream the New Album From Daft Punk
Which is the entire raison d'être for the Go project and thus it can be dubbed a success. Any other advantages over C are just gravy. :)

A nicer, more accessible (python/ruby/etc folks seem to like it a lot), faster compiling reasonable alternative to C is a worthy goal - I really don't get why some people get into flamewars over it.
An interview with the designer behind the new SimCity
Ah! You mean CPAN!

Nothing that I'm aware yet. It's mostly community-based discovery and recommendations, but a centralized repository would sure be nice.
http://aws.amazon.com/ec2/vmimport/

You can export the VM from EC2.
Vessel at Google I/O Developer Sandbox
The platform formerly-known as Zubhium (now rebranded as Vessel) is set to launch at I/O on Wednesday March 15 and we wanted to open it up to Hacker News folks for feedback.

It aims to provide a full-lifecycle platform for app development that provides beta testing, crash analytics and in-app feedback support for both Android and iPhone developers.
The Vessel command center allows developers to track app performance in a cool visual interface.
Some early customers include TuneIn and Pulse.
We'd love for developers here to try it out; specifically to see how it helps you identify and diagnose crashes.

p.s. If you're in SF, come to our I/O pre-party (https://iokickoff.eventbrite.com) or booth at I/O!
I guess the point is that it's not really a "secret" (which implies that a cover-up has been blown). Rather it's post-facto notification.
UK's first eSports bar to open in London
Reactive Behavior in Object-oriented Applications
Reactive applications are difficult to implement. Traditional solutions based on event systems and the Observer pattern have a number of inconveniences, but programmers bear them in return for the benefits of OO design. On the other hand, reactive approaches based on automatic updates of dependencies – like functional reactive programming and dataflow languages – provide undoubted advantages but do not fit well with mutable objects.
APL competition
[1] New customers only, please.

http://www.visit4ads.com/details.cfm?adid=32693

https://www.youtube.com/watch?v=H--tdhf1DPg
These ideas are one of the foundations of the Clojure language. Rich Hickey mentions in one of his talks that this book got him quite excited. You can see reference to it in Rich Hickey's Clojure bookshelf on Amazon http://www.amazon.com/Clojure-Bookshelf/lm/R3LG3ZBZS4GCTH
I'm not sure if there's a direct equivalent, but see if any of these are helpful.

http://godoc.org/

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

https://code.google.com/p/go-wiki/wiki/Projects
`go get` but it's not anywhere as featured as npm. Forget about versions or using yours or anybody else's fork of a project without editing code or using symlinks. "github.com/your_fork/somelib" is not a replacement for "github.com/foo/somelib". For those that don't use node, using a fork or a specific commit in node is a simple version change in package.json.
Last time I looked into this, a big thing stopping it from happening was that the SQL standard for this kind of sucks and there is no consensus for a better syntax among the databases that implement it. I would also love to see it, and I'd be amazed if it were as technically complex as, say, materialized views.
This is correct, to add, a reason why they are slow is the large frontal cross sectional area which means terrible aerodynamics.
No offense but that page is horrible. I liked the project pages though.

I think Go needs to focus on improving its community and its aesthetic culture.
Thank's for the feedback and the book. I'll try to find an original one.
Stellar. Maybe we'll finally see some real outrage in the media about the erosion of civil liberties in the US.
I see what you're saying in your replies down-thread from this, but honestly the fact that there's not a directory of packages has never been an issue for me. I google when I go looking for a package, then "go get" it.
who is talking about forks or versions here?

try this in your command-line: npm install name/project