skysight-inc/HackerNews huggingface dataset:
I'm glad you wrote this post. I've been echoing it for so long that I'm annoying myself....but if people spent half as much time inspecting the NYT's piece, they would see that it clearly describes then kind of FISA procedure that Google has already admitted and that the "directly tapping" incidents that the NYT alludes to are not attributed to Google or FB or any actual company.

But the key thing is to not waste energy on the side issue...the grab for power should always be scrutinized, and it is not an issue as simple as "Vote in a new president and live like Richard Stallman" (though neither of those ideas are bad, either)

Call me jaded...but remember how angry and energized everyone was over Aaron Swartz's death? Just six months later and we hear nary a peep about it, not even a boilerplate response to the White House petition. This is the way it is with so many issues involving the law, people get bored or conflate the wrong things...a few months later, no one really remembers.
+! for router, couldn't live without it.
We use it here: http://brandid.github.io/parse-angular-demo&#x2F;
You mention doing it for variable length chains, It requires hardly more effort than hard coding the length, something like

find_match(X, P) :-
append([usd | _], [usd], X),
profit(X, P),
P > 1.

profit([A, B], P) :- exchange(A, B, P).
profit([A, B | T], P) :-
exchange(A, B, P1),
profit([B | T], P2),
P is P1 * P2.

# 1 ?- find_match(X, P).
# X = [usd, jpy, usd],
# P = 1.0040982 ;
# X = [usd, eur, jpy, usd],
# P = 1.0040882716200001 ;
# X = [usd, eur, btc, usd],
# P = 1.01209651875 ;
# X = [usd, btc, jpy, usd],
# P = 1.0025512896 ;
# X = [usd, eur, usd, jpy, usd],
# P = 1.003776175666278 .
"Plain old FISA orders are lawful and constitutional."

Maybe that is currently true; jailing Japanese Americans also passed court muster. Secret orders from a secret court doesn't square with the ideals of America I was taught in civics class.
Half of Britons living in 2020 will get cancer
Try slate:
http://thume.ca/howto/2012/11/19/using-slate&#x2F;
This is true to a point. However, a much more appropriate response would have been "We are aware of the reports that we have been sending massive data to the NSA. If this was the case, I would not be able to confirm or deny it. I would just like you to keep that in mind as you report on this story."

Simple, straight to the point, and contains worlds of meaning behind the plausible deniability. "No sir, I did not think I was confirming the existence of the program. I believed I was operating in compliance with all gag orders and just reminding people that these orders come with gag orders, so because everyone knows that I didn't think that would violate the gag order...."

By issuing silly denials that didn't withstand more than a few hours of public scrutiny they look silly, cowardly, and dishonest.
"Fake but accurate!"
Here's one: neither zuckerberg nor page posted those responses. The NSA did.

Once we all believe, the rabbit hole is an abyss.
Mongo: Performance and Troubleshooting
Well, yes, really, insomuch as can be expressed in typical human language:

> > First, we have not joined any program that would give the U.S. government—or any other government—direct access to our servers. Indeed, the U.S. government does not have direct access or a “back door” to the information stored in our data centers. We had not heard of a program called PRISM until yesterday.

That's a broad flat out denial. And in my opinion, it includes such options as reserving an omni-admin account for the government, and if such an arrangement exists, then Larry Page should be pilloried for issuing a lie. But until such an arrangement can be shown (and why couldn't it? If there's a NSA official who can leak about it successfully, why is it impossible to imagine that google has at least one such conscientious objector?), it seems a little unfair and counter productive to judge Google with inescapable circular logic.
That conclusion requires three things to be true simultaneously:

1) The government has some actual legitimate reason to do all of this which outweighs the danger of excessive government power.

2) Disclosing the reason to the public would eviscerate its effectiveness.

3) Allowing the government to say "trust us, we're the government" about anything from now on and get a free pass, because it could be this situation, will not result in the outrageous atrocities that governments have been known to commit when government accountability to the public is literally prohibited by law.

I don't even buy the first two as being especially plausible, but the third is why this cannot stand.
for those who just would like an encrypted chat. i‘m very happy with the otr plugin for pidgin. additionally every adium (macos) user could use this feature ootb. but.. maybe the hardest part.. you have to convince your "i dont care"-"i have no secrets" colleagues to use it.. :)
I think that the "sexual preference is not a choice" argument should be used together hand-in-hand with the "AND it should not matter if it's a choice" argument. The fact of the matter is that homophobes are wrong on both levels, and they have to win BOTH arguments to justify their positions.

May homophobes strongly believe "sexual preference is a choice" because they have first hand daily experience with choosing not to act on their own self-loathing repressed homosexual urges, so there is no way you can convince them otherwise, because they are extremely invested in homosexuality being a choice, otherwise they must confront their own homosexual tendencies.

The argument that it should not matter if it's a choice or not should appeal to any true conservatives or libertarians who truly believe in freedom and don't think the government should be legislating personal choice. But those people are extremely rare, just like true Christians who have actually read the bible and believe what it says, instead of cherry picking the convenient parts and characterizing what they learned by going to Sunday School and watching animated christmas specials, and know what the dogma of their religious institutions actually dictates that they should believe.

For example, many "true" Catholics will patronizingly explain to you that the idea of eating Christ's flesh and drinking his blood is only a metaphor, when it most certainly is NOT: http://en.wikipedia.org/wiki/Transsubstantiation

The "it should not matter if sexual preference is a choice" argument allows you to question if they are a true conservative / libertarian or not, in a way that you can't get through to repressed self loathing repressed homosexuals with the "homosexuality is a choice" argument.

Of course anyone who thinks they're an expert in the answer to the question of whether or not sexual preference is a choice, whose own personal opinion overrides the scientific consensus, is obviously speaking from the personal experience of choosing to suppress and not act on their own homosexual feelings, so there is no way to get through to them with that logical argument.

That's why it's important to use both approaches together.
That, exactly.

Google, Apple, Facebook and friends go to great lengths to evade taxes. When it comes to tax matters, those companies have no hesitation to use all the tricks available to a trans-national company. And they pay very smart people to invent schemes that ensure a maximum amount of money is kept out of the US IRS hands.

If Google, Facebook and friends were truly serious about protecting their users' privacy, they would. They would pay very smart people to invent schemes that ensure a maximum amount of user data is kept out of the US NSA hands.

But they don't.
You can setup similar functionality in vimium - Just set " Use the link's name and numbers for link hint filtering" in vimium's advanced options.
It's default way to move around vimperator as well.
More likely though they'd go after corporate officers for real or alleged criminal behavior (think of the "honest services fraud" charges against Jeff Skilling, reversed by the Supreme Court on the basis that the law was being stretched well beyond breaking point) and refer to the SEC for investigations....

The government has in the past gone after some extremely powerful corporations and when they had the endurance patience, and care, they have succeeded. We should remember that the government spent 50 years trying to destroy AT&T's monopoly on long distance telephone calls and eventually they succeeded.
This is a world where the hacker who identifies the raper gets punished more than the raper himself. What do you expect
They are fighting for all of us. If you can afford to, please donate (I did last night).
"If they were servicing extremely-broad FISAs like Verizon's "send us all your phone metadata" then the distinction would be academic, but both Google and the NYT seem clear that Google hasn't accepted anything on close to that scale."

Maybe I read it wrong but Verizon was ordered by the court to do just that and to shut up about it. I doubt they were asked to accept, just the court ordered it and it is so because it became a 'legal request.' I have to wonder what Google, Microsoft and Facebook were asked to provide to NSA in large scale. If they can have all calls to see if anyone calls certain "terrorists," why not get a log of all Skype calls, FB likes, messages, Google searches etc to see if anyone is linked to "terrorists" or searching for related materials?
I know you haven't spied because you haven't corrinated me. Until you are kissing my ass, I know you're clueless.
That was my initial reaction as well. The "we never heard of PRISM" line is particularly interesting. Varizon stuff that was leaked mentioned a clause that they can't talk about it so I'm assuming that's the reason.
Revealed: The true costs of BYOD
Not a bad quote in context considering how things go for the Pandavas after the great battle that follows the Gita. That really is the sort of turning point from the harsh but adventurous world of the virtuous heros to the fallen world when the Pandavas fall from Dharma. Even Yudhisthira cannot stand by his principles to win the battle, and they suffer greatly as a result.
Thanks for this information, I didn't knew that and I admit, I took the original report at a face value.

However, the general point still stands - RetroShare is routing random traffic through you, if you happen to be near the nodes.
If these companies truly were innocent they would immediately sue press for slander. The fact that they all posted a denial that are all exactly same worded says everything imo.
See my comment here:
https://news.ycombinator.com/item?id=5837776

What if the CIA infiltrated Intel. So the i3 - is a dual core with the 3rd core that belongs to the US, similar to i5 and i7. :-)
#14 (calculating 2^n), is usually implemented as:

return 1 << n;

in which case it would also work for n == 0. The method shown in the article has a comment requiring n > 0.
This is pretty much what I think, knowing no more than what anyone here knows. It's reasonable to argue that NSA-issued request are wrong, period, but that's different from saying that Google is actively assisting them in a para-legal process...not only out of Constitutional concerns, but because building such a backdoor necessarily creates security risks to users, NSA targets or not.

In my layman's opinion, building such a backdoor in an infrastructure as complicated as Google's would require a team as well as an oversight group...someone has to write tests for that "feature" and someone else has to make sure those tests aren't seen by those who don't need to know (I.e. the rest of Google's sizable test department)...this kind if arrangement would seemingly have to be known by someone on the executive team.
So how do you plan to make money with this?
Aperiodical
https://silentcircle.com should have a mention too.
Which makes the action more heroic, even moreso in that they do not ask for fame in doing so.

What more can one ask for than for the opportunity to live life on one's own terms?
How Do You Know What You Don’t Know?
Did Tech Companies Have Delivery System For Gov’t Access To Their Data?
Even the first one (Get maximum int value) is just plain wrong.

Although int has a 32 bit size on almost all systems it is only guaranteed to have a size of 16 bits.

The correct way of getting the size of int is including limits.h ( <climits> ) and looking at the value INT_MAX.
EFF has been warning us about our government abusing our trust long before this scandal broke. Imagine that EFF had the membership and money that the NRA has. You can be sure our privacy rights would be much stronger now. There is something you can do about it:

https://supporters.eff.org/donate
Was anyone enrolled in Algorithms, Part 1/2 on Coursera?
(I'm referring to this course - https://www.coursera.org/course/algs4partI)

I'm very disappointed that Coursera 'locks' courses after the registration window closes. This was one of the brilliant aspects of MIT OCW - courses there were essentially knowledge dumps, anyone interested could view the material at any time.

If you were enrolled in either Part 1 or Part 2, can you please capture the course material/video lectures and torrent it? I'd be interested in taking this course.
Google has way more data from a million little things we online than it should have. The government can easily get it, it can leak, get hacked etc. If the data isn't archived, no one can ask for it. Simple as that.
Oh, well, I wasn't under the impression deleting your account amounts to much of anything anywhere anyway.
This is what a student would do when they want to do homework fast and don't want to give much thought about it. I don't think this is the case here.
Do you (or anyone else) have a good source for someone who wants an introduction to bit operations?
Because there is a world of difference between "being gay" and "acting on being gay".

The homophobic self loathing repressed closet cases always try to define "gay" as "acting on being gay" so that they can rationalize their feelings that they have to work so hard to repress.

The actual definition of "being gay" revolves around having those feelings, not acting on them. Otherwise there would be no such thing as a gay virgin, or a straight virgin for that matter. If "being gay" or "being straight" had to do with behavior, not feelings, then you couldn't be straight without first having had straight sex.
I agree. I was pleasantly surprised.
Isn't it because that's how they are taught to answer those type of questions by their ol government teachers?
>Which do you trust more, McDonalds or Congress?

The question is, trust more to do what? Not kill or imprison innocent people on a mass scale? I'm going to go with McDonalds on that one. But I wouldn't eat their food -- and notice that I have the choice not to.
It's unclear what language that is. Could that be (well-defined) Java?

Besides, it's also wrong because left shifting a signed integer "into the sign bit" is undefined.
http://graphics.stanford.edu/~seander/bithacks.html

Entertaining book:
http://www.amazon.co.uk/Hackers-Delight-2nd-Edition-ebook/dp...

The reference:
http://www.amazon.co.uk/The-Computer-Programming-Vol-Combina...
Section 7.1.3 Bitwise Tricks and Techniques
Those goole reports are for regular law enforcement requests. They have nothing to do with spying that happens in the name of national intelligence.
The X way of doing window updates became impractical with common graphics-heavy applications like web browsers. I could already feel this in the mid-90's when opening a browser window on a 19" NCD X-Terminal took several seconds over 10mbit/s Ethernet (noticeable because most other X client applications at that time used drawing primitives and appeared instantly).

For modern applications (graphics- and video-heavy), VNC/RFB seems like a much more suitable protocol, although I haven't really kept up with the latest X extensions that probably cover some of these applications.

Personally, I liked the X architecture more (despite X's inherent complexity) and expected it to become more popular with cloud-hosted applications etc., but as applications and GUI toolkits evolved in an unsuitable way (i.e. not using X's primitives), it's probably time to let go. Or to build a proper GUI toolkit first...
Whenever I see something like this come up, my brain automatically screams: Honeypot!

Services such as these attract the paranoid and the criminal in large enough amounts that they make great ways to catch criminals without having to do any leg work whatsoever.

Sell burners, track all of them via GPS/monitor all calls/use microphone to record real life conversations at random times then use said data to bring people down.

The same could be said for bitcoin exchangers, former liberty reserve exchangers, seed boxes, private VPNs and a host of other "secure" services. I'm not positively stating that any of these kinds of services are actually honeypots, but it probably should be something that one considers before using them for more nefarious purposes.

Makes you wonder what you can really trust. Probably nothing.

Honeypots all round! No wait, it's a trap!
Dear Outraged California: Please stop re-electing Feinstein, for starters. She's bad for you.
Stashing your work with git
I think the best apps are yet to be written. I recently wrote a blog post (http://ledgersmbdev.blogspot.com/2013/06/tangent-design-thou...) outlining ways I thought the SSL PKI could be tweaked to make it quite resistant to this sort of eavesdropping.

It is still on the HN new feed, if folks want to discuss technical details, but the reason I want to mention it here too is that key management is very hard in a case of resisting surveillance. The current PKI ideas place too much trust in third party certificate authorities (meaning the government can easily pull off man in the middle attacks with the help of network providers if they want, even without your keys), and because each negotiation occurs without context of past ones, there is no way to detect such behavior other than "the CA said watch out" or "this certificate isn't even plausible." Of course you can solve these by enforcing that everyone on your network uses th same local CA that you control but that breaks as soon as you want to talk to someone outside.

Building a PKI that can resist such efforts is not trivial and it involves challenging our assumptions. Until we do so however, we will run into all kinds of problem. I may be being paranoid, but it seems like this is a good time to be paranoid.

One of the things that SSH gets right is that it takes a diachronic approach to key validation. We should be building this in everywhere and alerting on key changes, while providing a way to ensure that keys can be safely and securely changed without having errors.
Angry Birds Haunted Hogs
Author is apparently trying to combine multiple languages.
Maybe well defined in java, definitely not in C.
Japan has similar constitution than the US and yet they're perfectly fine. That says something about the government elected officials itself.
Patroits don't work cheap.
We are getting closer and closer to machine learning. Eventually coders will get replaced.
Post about this topic on Facebook and G+ help to educate our circle of friends. Even my nontechnical friends are upset to hear that Ge government has acces to their data.
2006: Secret NSA spy room in AT&T switching centre.
It's a disgrace. Not to pick on any particular person, considering that Silicon Valley has dozens of billionaires and thousands of filthy rich people, but Sean Parker got lucky with Facebook and spent like $12.5m in a wedding (including a fine). It's their money and all, but can't these rich people also write a $1 million check to an org as important as EFF ?
If a man of such power and influence can't speak up, then what hope is there for others? Guess only those that have nothing to lose can speak.
What does it mean for a hermaphrodite to be gay? Only attracted to other hermaphrodites? But can they be attracted to either men or women or both, and still be "straight" because those people have a different sex? Or are they gay no matter who they're attracted to? Just asking! ;)
I don't think these 'quick intro to bitwise operations' and/or 'cool bitwise operation tricks' articles ever go into enough detail to be safe.

Bitwise operations can be _extremely_ useful, but it's surprisingly difficult to use them in a correct and portable way. I have no idea where you can go to learn all the intricacies involved.

One killer that's always listed is "divide an int by 2: n >> 1" with no reference to how it behaves differently than the "/" operator (bitwise rounds towards negative infinity, / rounds towards zero). It's not incorrect, but that detail can be extremely important.
How did OBL get NORAD to stand down? You haven't realized anything.
It is actually very logical that hackers are sentenced for much higher than violent criminals, because a hacker is a potential threat to the government stability (in case he exposes secret data about the activities of the government), while all violent criminal does is damages one or few people property and/or health. In the sense of computer system, a violent criminal is some incorrect input, while a hacker is a bug in the system.
If he's designing on a Mac, then I'm sure a poster such as Michael Flarup's Keep Calm would be a cool gift[1]. If he is on Windows I am sure he'll still enjoy some kind of design poster.

[1] http://society6.com/Flarup/Keep-Calm-nq1_Print
If you have an Android phone, I'd recommend getting an Open Source ROM (so you can verify it is secure) and removing as much proprietary software as possible. I'd also use Firefox as Chrome for Android isn't Open Source (even though Chromium, Blink, etc are).
While the techniques described here are academically interesting, don't expect your code to run magically faster if you use them in practice. I once benchmarked the performance of the "common version" of #9 implemented in C compared to swapping using a temporary variable like so:

int tmp = a;
a = b;
b = tmp;

It turned out that the bitwise swap was slower. In other words this sort of "clever" bit-level hack does not necessarily translate to higher performance.

And I would recommend the first chapter of "Matters Computational" written by Jörg Arndt, which includes many more advanced bitwise operations: http://www.jjj.de/fxt/#fxtbook. This book is more like a cookbook rather than an introductory book.

EDIT: debugged!
In the original Chinese article, the languages were actually mentioned. And the one we're discussing is C++. (And so as you point out, wrong.)

It annoys me that this kind of vacuous article is posted. It reminds me of an old rant about Perl tutorials: http://blogs.perl.org/users/mithaldu/2011/10/perl-tutorials-...
Maybe call it "nationalism" to avoid implanted emotional implications of the word.
I think you have a bug in your swap routine :P
Google's Chief Architect, Yonatan Zunger in this post: https://plus.google.com/u/0/+YonatanZunger/posts/huwQsphBron notes his suspicions that the second slide ( http://www.washingtonpost.com/wp-srv/special/politics/prism-... ) subtly explains how the data collection works.

The way I see it is that by extracting data via man-in-the-middle (subject to HTTPs etc..., discussions elsewhere), the NSA and others could target packets that fit certain profiles of data, such as Googles, Facebooks etc...
> He has a family, a social life, and a whole lot of people at Facebook who depend on him.

He also has more means to defend himself, move out of harm's way, get active support from other people.

> Bradley Manning had a different kind of freedom, the kind that comes with nobody around you who can get hurt.

This is just nonsense. Manning has a family too (parents).
Ok what if we dismiss this story because its on business insider?
Does anyone have any great resources they can recommend regarding SEO and Angular? I have read a lot of conflicting things so far.
Open Source Microframe Template
Sorry, but this is a textbook example of oversimplification.
This should be linked properly.