skysight-inc/HackerNews huggingface dataset:
This particular bug is also a strong argument for using more advanced type systems, even if you have good test coverage.

Yes, it's a great pity that the compiler didn't say "You're multiplying a time.Duration by a time.Duration and expecting it to be a time.Duration".
Get feedback for your website
German minister: Stop using U.S. Web services to avoid NSA spying
I'm an engineer-type (contributor/architect/lead/manager/director) who dabbles in product management from time to time, mainly to fill in the gaps and help cross the chasm between the two disciplines.

I've seen the breakdowns and failures on both sides. I love the "asking for the ROI model" person for engineering activities, but oh man if there isn't trust between them and the PM, progress and morale plummet.

IMO PMs need to embrace engineers as members of the team, bring them into the loop, motivate them and sell them the vision. Don't just handout a "roadmap", or worse yet simply assign tasks, then get all flustered when people don't understand.

On the other side, engineers need to realize their job is not to "write code" but rather to add value to the business - the PM is the resident expert in helping you figure out how to add that value inline with company goals.
So you store a password that will give you root/sudo on your production machine in your deployment code, or just on your ci server?
Well put, really puts into perspective how incredibly out of proportion and punitive this measure was.
As for logic, to me, it's important that the language remain a data format and be parseable and auditable, i.e. "human readable for non programmers".

We had one manager describe it as "automation even a manager can understand". I'm a developer, but I'm jaded about software development, and I definitely agree with the approach Ansible (and Puppet) take about describing infrastructure with a model, rather than making it a program. I'm not really even trying to make it turing complete, I want to create a language that allows modelling how you want to describe the datacenter, but it's not trying to be a programming language. In fact, I'm rebelling against it trying.

There's a difference to a developer vs sysadmin mindset, but as something in between, I want to write applications code when I'm writing code, rather than writing infrastructure automation code. Code should be minimized, and that makes things more reliable in the long run, and enforces consistency IMHO.

I'm a little unclear about what you say about putting host specific information in Ansible roles. Pretty sure you can't do that, but I may be misunderstanding the question :)
Well that's cute.
It probably felt right when he wrote it? Assuming some substances were abused.
Terrible post... MVC is decades old, single page apps are getting old too; Doesn't matter whether your view is called an Ember.View or not.
Agreed. I think AWS tapped into an untapped market - full blown virtual machines (servers) at low and pay-by-the-hour cost.

There will always be a market for shared hosting - GoDaddy likely lost out to the growing numbers of shared hosting providers.
This is just a PR and propaganda. We all know that JVM is the best "platform" ever developed by humanity and Jetty is the most efficient, fast and especially reliable under a high load web server.)

IIS must be on the second place, btw, considering how much man-hours and millions of USD were spent on it. We all know that MS technology is superior and very scientific.)
Yea, he should have kept licking the jack boots like a good little nazi. He's clearly afraid of a country that has no problem assassinating US citizens, detaining people indefinitely, torturing people, etc.
'svn praise' is an alias for 'svn blame' (or the other way round). The more neutral wording is usually 'annotate'. To be honest, I have rarely used these commands to check who had written such a beautiful code...
@asg on twitter to continue the discussion.
A one-for-one feedback exchange. Based on the prototype we launched earlier, the process works really well (78% of reviews were rated 'awesome' or 'useful'). It's quite slick too if I may say so. :)
I'm all for anything that makes moving one's private key between devices easier, and I understand that you've made a conscious compromise between security and usability, but wouldn't it be possible to achieve both goals, for example by enabling private key syncronisation between devices without the key having to be uploaded to a third-party server?

This would also eliminate the need for the additional passphrase, as the point-to-point key trasfer could by programatically encrypted / decrypted without user intervention.
Ask HN: What to do with my old product?
So I have a product, its actually a twitter client for firefox, that has been around since 2007. I no longer want to support it (never was able to monetize it). So my question is, what is the best way to A: monetize a firefox plugin (inline banners never worked, no context to run ads against, no one clicked ever), and B: where should I sell it off? It has 15k daily active users and about 50k current installs.

Is flippa a good place to unload this?
Excuse me, but this is fucking outrageous! Once a supporter of Obama, I come to loathe him and the rest of American political establishment. They're doing a stellar job at bolstering anti-American sentiments worldwide. How far can a single country go in exercising its might and power? This has to stop, people. It will not end well.
According to German media, France and Spain deny that they blocked the airspace.
If you stumble upon a new problem that's unknown to you, you should ALWAYS search what others have done. Only after that you'll try yourself if necessary, knowing the mistakes others made. Good programmers are lazy.

You won't challenge your mind any more by not searching, that way you're just being stupid. Besides, it's much easier to create original works if you know what's original and what's not. This is why you should be studying other's work before you do your own.
Couldn't this be twisted into blackmail in some way by PigClient?
Maybe it's the Unicorn instances running on their servers?
Django Model Behaviors
WMO: The Global Climate 2001-2010: a decade of climate extremes
You, sir, are the voice of reason.
1. Look at the code. Especially src/core.
2. Nginx is a software pipeline, it has same ideas behind its design as modern CPUs.
3. Look at the code.
I turn off password access to production machines, so nobody accesses them without a known key anyway. Ansible has its own key installed on the servers and its account is allowed to sudo without a password.
I think the one about googling before trying is so true!
It comes from an old joke about onanism and the devil.
Well, that assertion by Assange is somewhat out of context. What he said is that of the medium sized Latin American countries, Argentina's surveillance was the most aggressive. He also said it was nothing compared with what's being done in the USA, the UK or China. So calling it "her own NSA" seems a bit disingenuous, at least from this perspective.

Link to the interview: http://www.youtube.com/watch?v=If7MbOvuEbg
G-WAN is not open source, and has no peer source review that I know of. I was not even able to run the binary to test it due to my distro being too old.
The self-made benchmarks cannot be taken at face value. If you dig deeper, you'll find outside benchmarks showing poor performance in other metrics.
I don't mean to insult the author or product, just providing my 2 cents into its lack of popularity.
"as always the true power in a relationship is from the subordinate party, they can always say no"

That's the first I've heard of this line of thought. Is there research on this statement? It's pretty counter-intuitive to think that the true power in a relationship lies with the subordinate party. I don't see how slaves, military personnel, or even office workers could be considered truly powerful over their superiors. In some cases saying "no" would lead to serious inconvenience and possible misery. In other cases it could lead to death.
There's something which makes me suspicious about this story. Why would the NSA splice into fiber at the bottom of the ocean? Fibers at the bottom of the ocean have two endpoints, both of which are on or near land. Why bother with all the complications of splicing into a line at the bottom of the ocean when you can splice in on land?

Further, there are a ton of options for collecting data from a fiber connection at the endpoints that don't involve splicing the fibers at all. There's no reason to cut a fiber when you can detach the end and attach something between the end and the connector. Another possibility is a "software tap" where they could install packet sniffers in the relay firmware.

I'm not trying to say that I know how the NSA tap technology works, and I certainly can't rule out using a submarine to splice into wires at the bottom of the ocean, but I'm pretty sure there are smarter ways to achieve the desired result.
How would he have been competing with Reader if he hadn't made it yet?
The head of a sovereign state was forced to turn around his plane and land at an airport, then the plane was searched against his will. What false conclusions are you talking about, these are facts, not conclusions.
This is not necessary. There are numerous cameras in all public spaces. Better to leave phone on for communications. Better yet, install live stream or ustream:

http://www.ustream.tv/new

http://new.livestream.com/
That was my worry with the "will use my considerable SEO skills" part. I would leave that implicit. Just mention that you are angry about the situation and have put up a page explaining your grievance to the public (which is legal), and put the ball in their court to attempt to rectify the situation.
You are 900% correct. Having worked directly in the feed reader space, and trying to make money at it, and I can testify that the segment of online audience who even know what a feed is are a small club of tech news junkies and assorted wonks who all seem to know each other. They are a passionate crowd, but many companies have tried and failed at bringing that passion for feed reading to the mainstream, probably because most people don't read tech blogs all day long.
I can't decide if you're serious or not, but if this is irony, it is very much misplaced.

Nginx is rising because it deserves to, all others are more or less declining because they fail to catch the attention of the average sysadmin.
"I wish my apps were written using a poorly integrated non-native toolkit" said no actual user, ever.

Nobody wants a Qt-based application port, for most of the same reason nobody wanted a (Java) Swing-based port. They don't want ports, they want native apps.

The only people who want to provide Qt-based apps are developers that want to put themselves ahead of their users.

[edit] Perhaps downvoters can reference a cross-platform widget toolkit that was successful in the market? So far, Java, Qt, WxWidgets, and Gtk have not succeeded as cross-platform GUI libraries. Are there any break-out successes I'm missing?

Otherwise, I don't see what the complaint is, so perhaps you can elucidate and downvote.
I don't understand what your objection is. Is it servers automatically updating, or using your repository to somehow store deployment scripts?
Learn indexing dammit
I've been building apps for a few years now. I started by taking established projects and making them fit a specific role. Later I started building them from scratch. Now I'm starting to delve into the higher level "theory" behind making stuff like this. I put theory in quotes because it's not really theory, it's just observations made over years of experience, approaching theory from the bottom rather than the top.

What I learned from doing it that way is that there's a level of process abstraction which is higher than "best practices" but lower than pure CS theory. It's the level at which documents like 12factor.net are. The best word I've found that describes it is "opinionated". You want software that's opinionated enough to drive design decisions but not so much that it dictates them.

People are very proud of this sort of understanding because it is hard-won. When you look at 12factor.net, if you haven't been developing for awhile, you might not understand just how useful a document it is. You might be thinking top-down rather than bottom-up. But if you're like me, you've seen lots of anti-patterns in the things you've built and long for a way to get them out of your apps.

That's where frameworks come in. They make decisions for you that cut back on those anti-patterns. Very useful if that's what you're looking for. When I first started building, I found Rails to be too much bloat, too complex, so I used Sinatra. Now I have a large project that I'm finishing up, and I wish now I'd used Rails. You can build an opinionated Sinatra app, but why when you could just use Rails?

You don't think you need someone else to make decisions for you, until you do.
SOPA won't compare to tomorrow's protest
What are the alternatives? Why are they more trustworthy?
BBC Worldwide is a separate commercial organisation. It does not get to spend any of your license-fee.
This makes the phone useless. Leave it on, recording, and uploading.

Turn it off on the way to the protest and after, but leave it on there. Burner smart phones are <$100 if you want to be more anonymous.
Gotta say, it's better than Ecuador welcoming Snowden into their country and then throwing the handcuffs on him as soon as he lands and being escorted straight to a private jet waiting to take off to the US.
I'm not quite sure how that's a condemnation of ansible, since the same can be said of any automatic pull-based system. In fact, the same can be said of any automation - it's quite easy to break every system in your environment if you make a mistake. I myself once knocked out our entire QA environment via puppet when I made a mistake with the firewall config assigned to the default node.
> Which is not used or supported by Google+

So, what?

> PubSubHubbub was very much part of a different era.

PubSubHubbub is very much part of now, which is why they just released a new version of the spec.
Secret services spying on each other is a sad reality, but till now all countries spied on each other spies/politicians/diplomats etc, not on regular people. When you work at embassy you know from the start thay you are under observation. It's like soldier going to a war for money - it was his choice. Spying on everybody is like killing civilians at war. It's worse.

Another analogy - putting everybody from a street in jail just in case. The fact that you can put criminals in jail and every country does this (and sometimes jail innocent people by error) doesn't make putting in jail EVERYBODY and releasing them when they prove they are innocent acceptable.

You may be not affected, but that doesn't make it any less evil. I am not affected by the lack of LGBT rights in Poland, but I still support them, cause it's stupid to revoke rights from people without reason.

Also allowing people to get so much power make it almost impossible to later revoke that power when they switch their goals or abuse it. Who can guarant you that nobody uses PRISM for personal benefit? Like people betting on stock exchange because they read that some company is going to default in private emails, and all other people on stock lose their money to these assholes? That's just the first example that came to my mind. Do you trust every person in NSA that they won't do such stuff? Or are you OK with it?

There is a point after which "to protect my country" is not good enough excuse to revoke people rights.

I have right to not trust officials from foreign country (that I have no way to vote out of office) with my secrets. They already are doing crazy stuff. Are you OK with what USA is doing to Snowden? Cause I'm not.
Out of curiosity why are you renouncing your citizenship?
It's not just the US Web services, the traffic anyway goes through the US and can be intercepted.
haha, thanks my dude. Happy 4th as well!
I'd love to see NSA's predictions of participation numbers before they happen, who are the leaders and organizers who will most likely make this happen, and to report once social surges start to occur and then once physical mobilizations start to occur (using phone locations data)..
How native are websites? Dont you use them on mobile devices?
TwentyTwenty — a responsive, interactive image slider
I was known in the SEA & PDX occupy as a street medic.
I really don't intend this as a brag, but I just wanted to point out that I learned Puppet yesterday. No, I mean, I really learned it yesterday. I started with my company's vagrant-managed VM and took their existing puppet architecture, and armed with that I learned (from no previous experience) how to write Puppet manifests, modules, 'define's, etc.

My only point is that it doesn't take two weeks to learn Puppet. I'm not saying that Ansible is worse or anything like that, rather I just wanted to contribute another data point.
Other than claims by the author of G-WAN, I've yet to see anybody claiming that G-WAN outperforms Nginx. I also cannot find any evidence of anybody using G-WAN in serious production. I could be wrong of course, but every time I've inquired about it, nobody responds. I also cannot find any kind of community around G-WAN.

Also, it seems that a lot of the "performance" in G-WAN is thanks to its microcaching feature. When it's under high concurrent load, it caches requests for about 1 second. I suppose it's useful on public cacheable responses and useful in benchmarks, but does this really count as "faster" in the sense that G-WAN is a faster system overall? I don't know.

That being said, G-WAN has many interesting aspects indeed.
Laying the Longest (Fiber Optic) Cable on Earth - Neal Stephenson
And some general advice to keep more of your privacy:

1. Use an open source operating system.

2. Communicate over RetroShare: https://news.ycombinator.com/item?id=5983913
"Plus, I hate VCS deployment strategies"

I love VCS deployment strategies! But I'll admit you have to be careful with them - exactly why you need a good test suite and a staging area to test your deployment "code".
Android based hacking tool to steal passwords from connected computers
Implanting headphones in your body
brilliant. i'm stealing that expression from you.
It would be interesting to see what they consider the top 1000 websites to be. Does anyone know if their list is public?

EDIT: Found it. This post http://w3techs.com/blog/entry/w3techs_surveys_are_now_based_... implies they are using Alexa's rankings.
Please review the submission guidelines for HN:

http://ycombinator.com/newsguidelines.html

If the original title begins with a number or number + gratuitous adjective, we'd appreciate it if you'd crop it. E.g. translate "10 Ways To Do X" to "How To Do X," and "14 Amazing Ys" to "Ys." Exception: when the number is meaningful, e.g. "The 5 Platonic Solids."
Protest in every venue you have available.
It is about social signaling. There will be many sympathizers unaware of the event until they see people gathering.
Offer HN: Buy my file sharing site
http://fileslap.com

Fileslap is a file sharing site with built in file preview that's built on Django. Files are stored at S3 (currently costs about $25/month) and billing is handled by CheddarGetter. The site itself is on a basic shared host (Webfaction) and could be moved anywhere that supports Django.

I'm eager to sell due to me losing interest about a year ago and the fact that I never marketed it so it's not very well known. The site works well but has no paying customers and a small user base on the free plan (the site gets about 100 unique visits a day).

Reply here if you're interested or email me at mikecrittenden@gmail.com ...I'd be willing to consider just about any offer.

http://fileslap.com
I agree. This example is a perfect candidate to further abstract the source to remove ambiguities and better test the expectations of the source.
The distinction I'd make is between harassment for your political views or because your name is on some opaque list, and legitimate questioning or investigation of known terrorist suspects.
I think it was meant tongue-in-cheek.
I wouldn't have assumed you need to do any sort of melting to capture evanescent photons.
> You can downvote me all you want: I have a shitload of this useless karma stuff that I built up on the old HN.

I, on the other hand, have built only a few small open source things. My karma consists overwhelming of political-related posts.

But I still liked HN better when I had nothing to contribute to the conversation, as there was always a comment to upvote which had already said what I had wanted to say.
Avoid web services as much as possible and use desktop software whenever possible.

Then make sure your operating system is open source.
For something like this, you don't need an advanced type system. Even C can do

struct duration { int in_nanoseconds; };
struct duration seconds_duration (int in_seconds) {
struct duration dt;
dt.in_nanoseconds = in_seconds * 1000000000;
return dt;
}
/*TODO: milliseconds_duration(), microseconds_duration(), etc */
The plane was searched for Snowden, this is a fact. Do you even need anyone's claims to understand what happened? The president could have said nothing, it would still be crystal clear he was being denied on the purpose of an attempt to get Snowden. Don't argue over meaningless details, look at the big picture.
> As long as the US has enemies within it's own borders, tying the hands of people who can help us is going to be a pretty bad idea.

You are aware that this sentence sounds like from worst communist propaganda from stalinist period?
"... squash anybody who tries to add value to their product"

Add value? They're extracting value.

> I will be avoiding use of Craig's List's services until I feel like they are allowing people to innovate off their platform and ceasing to try to own their users' content.

Will you also be boycotting all books, TV, and movies until their authors grant unlimited licenses to use the content for whatever value-extracting purpose anyone wants?

Will you boycott your local businesses until they agree to let competitors post in-store advertisements?
From their website: "But G-WAN was written to have an application server, so it also supports 7 of the most popular scripted languages: Java, C#, C/C++, D and Objective-C/C++."

As far as I can tell, G-WAN does not support the features or languages that many people want. As a Ruby programmer, G-WAN is (probably) impossible for me to use, and if I could fiddle with it enough to get it working, it would not provide enough of a benefit to justify replacing a working nginx setup.

There's also the prevalence of tutorials, books, and StackOverflow answers related to nginx; G-WAN is pretty sparse in this regard.

Basically: the eternal balancing act of "features" vs "speed." nginx hits a sweet spot for features & speed for more people than G-WAN.
That's a fair point. But I wouldn't recommend any of it in fairness. Sometimes you just roll with the punches.
The difference is that 90% af developers do not use python, 90% of designers do use photoshop.

So no your point does not stand. All you have done is shown that you either doesn't know anything about the design community or you deliberately don't want to understand what is meant.

I am guessing the last.
Easiest is probably to use ansible's "raw" module to install it with yum, by feeding the http:// URL to yum, unless you have EPEL already configured.
I'm very curious about the breakdown of developers versus operations people who are in the middle of this love affair with Ansible.
The journalist forgets that tapping into the cables only works for unencrypted traffic - this is actually the reason that NSA bothered Google and others in the first place.