skysight-inc/HackerNews huggingface dataset:
Can anyone provide some concrete examples about how the NSA, using the tools that many of us would rather they not, "keeps us safe"?

Are there specific incidents that have been avoided (that wouldn't have otherwise)? Is it just that we are generally "safer"?
And one makes the Guardian considerably more money than the other. It's not a mystery.
C, for example, allows trailing letters to specify the type of a numeric literal:

42 // int
42U // unsigned int
42LL // long long
42ULL // unsigned long long
42.0 // double
42.0f // float

Edit: except that whitespace isn't allowed here. "42 LL" is not legal. So that's kind of the opposite case!
previously posted:

http://news.ycombinator.com/item?id=6051838
http://news.ycombinator.com/item?id=6051885
http://news.ycombinator.com/item?id=6050005
http://news.ycombinator.com/item?id=6033705
http://news.ycombinator.com/item?id=4092040
http://news.ycombinator.com/item?id=4126390
http://news.ycombinator.com/item?id=5993532
http://news.ycombinator.com/item?id=4432743
http://news.ycombinator.com/item?id=5907225
http://news.ycombinator.com/item?id=5131430
http://news.ycombinator.com/item?id=3069940
http://news.ycombinator.com/item?id=3681835
http://news.ycombinator.com/item?id=5290948
http://news.ycombinator.com/item?id=4845506
http://news.ycombinator.com/item?id=2071746
http://news.ycombinator.com/item?id=4204684
http://news.ycombinator.com/item?id=4366180
http://news.ycombinator.com/item?id=5140817
http://news.ycombinator.com/item?id=5843320
http://news.ycombinator.com/item?id=5851922
http://news.ycombinator.com/item?id=5932835
http://news.ycombinator.com/item?id=3818931
http://news.ycombinator.com/item?id=4344059
http://news.ycombinator.com/item?id=5718567
http://news.ycombinator.com/item?id=4362884
http://news.ycombinator.com/item?id=2148927
http://news.ycombinator.com/item?id=4726192
http://news.ycombinator.com/item?id=4516313
http://news.ycombinator.com/item?id=4510398
http://news.ycombinator.com/item?id=3967543
http://news.ycombinator.com/item?id=5853639
http://news.ycombinator.com/item?id=5050894
http://news.ycombinator.com/item?id=4205347
http://news.ycombinator.com/item?id=5853602
http://news.ycombinator.com/item?id=5964628
http://news.ycombinator.com/item?id=4550397
http://news.ycombinator.com/item?id=5016801
http://news.ycombinator.com/item?id=5668334
http://news.ycombinator.com/item?id=4351090
http://news.ycombinator.com/item?id=5855384
http://news.ycombinator.com/item?id=4337332
http://news.ycombinator.com/item?id=4923126
http://news.ycombinator.com/item?id=4860925
http://news.ycombinator.com/item?id=5933767
Go Stripe! Now if you could just start support USD payments for UK merchants (without a US bank account) you'd make me really super happy. Integrating Stripe is a pleasure and if I never have to deal with PayPal ever again that would be nice :)
I'm not surprised the hand-written version is faster. You need to store an object for each regex. If these objects are DFAs, for example, then there is a considerable amount of overhead storing the graph to represent the DFA. The hand-written version has comparatively little state, and no generalized logic which would further slow it down.

Error-reporting is another good reason for hand-written lexers (and parsers). It's harder to get readable and accurate error messages when the logic is embedded in the regex or some library/framework.

EDIT: The link posted in the comments of the article is great. From Rob Pike:

A regular expression library is a big thing. Using one to parse identifiers is like using a Ferrari to go to the store for milk.

http://commandcenter.blogspot.com/2011/08/regular-expression...
Also surprised, perhaps they are issues with the content rights sharing audio/video on their servers? Thats the only thing I can think of. Getting into this market it would be a huge and important move for them to make.
I generally set up a separate VPS and manage their hosting through their. Depends on the client, but I generally charge a bit more than the actual cost of the VPS each month.
My point is that he could have chosen to fly through a dozen other countries not named Russia. No one forced him to choose that connection (or to participate in the fake flight to Havana).
I'd say open source on the whole is a "community" endeavor, but individual open source projects are not necessarily. There are countless projects that are a single author who accepts bugfixes here and there but in general it's a one-man show.

The linux kernel is like that: it's Linus' project that he lets some people help with. It's a dictatorship, largely ego-driven, and he has the last word on any philosophical, design, architectural, or even political decision. For better or for worse.
Replying to bobo: no.

Anyone should be able to interpret the constitution as no person or group of people are infallible. It's obvious that SCOTUS opinions change over time, due to composition and prevailing attitudes.
The big difference is that McDonalds and Wal-Mart take advantage of economics of scale to get the kind of extremely cheap prices that allow them to make money from serving lower-income customers. That state of affairs doesn't exist in utilities. It's far more expensive to serve a poor rural customer than a rich urban one.
Uniqul - World's First Face Recognition Payment System
Such training does not exist anywhere on this planet.

Edit:

I already mentioned SERE training in a higher level post. It's pretty intense, but still, the most valuable lesson you learn is that everyone will end up talking.

I was simply commenting on the possibility of a person resisting torture. If that person has some sort of safety mechanism in place, the torturer might not be able to get the information he wants, but that's not because the victim has resisted, because he won't.
Because think tanks are nothing like a subdivision of a parent company?
In the case of C it's a bit special because that suffix is usually handled by the lexer - i.e. there are no production rules for it in the C grammar. This is also why a whitespace is not allowed - it's not a single token any longer!
Pure speculation, but... I don't know that his dead man's switch has to necessarily be interpreted as dumping the docs to the public. Perhaps they would simply deliver them to Glen Greenwald's doorstep (or someone else).

In that case, the threat is just widening the filter. As in: "I've exercised my personal discretion in choosing what documents to release. Kill me, and the only check on this process is Mr. Greenwald's discretion."
So it's okay to pick and choose which texts to follow from our Constitution? The Constitution doesn't give Snowden the power to interpret it. It does however give that duty to our federal courts. Should we just ignore that part in our Constitution?
Very thought provoking.

The biggest lesson I learned with my failed ecommerce startup was not understanding who my customer was.

We started out as a B2C and before we knew it we had other biz's wantint to use our site (think costco for autoparts).

We were so focused on being this huge retail source that we missed our best customers.

Sadly when I finnaly woke up to this reality we were $400k in the hole and 3 years into things.

I suggested a pivot before I knew what a pivot was. My partners voted to stay focused on consumers. We cratered 4 months later.

Lesson learned= Know your customers and what they value.
I'm mostly just amazed at how much universal remotes cost. I cannot fathom paying $250 for a remote control: https://www.google.com/shopping/product/7778030267502985797

In answer to your question: no, it probably won't. The HDMI standard does have an option for passing through power signals though, so it's possible that the next cable box, receiver and TV will all obey that signal.
As a long time user of the original Q (which has been around since at least 2009 [1]), I'd also suggest picking a different name for another reason: searchability.

[1] https://github.com/kriskowal/q/commit/9191ce4c803cc3f8a01fb6...
Your statement is completely nonsensical. The whole point is we have primary documents supporting what he says. His personality has nothing to do with those claims. Greenwald and Snowden have a 100% accuracy rate regarding these leaks, and your comment comes off as very head-stuck-in-the-sand-y.
> I'm not surprised the hand-written version is faster. You need to store an object for each regex. If these objects are DFAs, for example, then there is a considerable amount of overhead storing the graph to represent the DFA.

I'm not sure what this means specifically.

Presumably, the DFA is created once and then only some sort of small state has to be maintained (i.e. which state we're in, perhaps a little more). It's not like a bunch of heavy-wight regex objects have to be created for each input character.
> I would take Snowden's claims more seriously in general if he were on United States soil

What bearing does which country he's in have on the content of the disclosures? Do you think he fabricated the PRISM slides since he happens to be in Russia right now?
Nginx on cPanel done right
Nginx® is a powerful open source web server that was built to scale websites to millions of visitors. cPanel® is the leading hosting control panel worldwide.

Engintron integrates Nginx into cPanel so you can enjoy amazing performance for your sites, without having to sacrifice important hosting features found in cPanel or hiring a sysadmin.

First release features include: Nginx setup in reverse caching proxy (web acceleration) mode for any static or PHP based website, automated Nginx updates, amazingly simple dashboard to control Nginx, Apache, MySQL and PHP related day-to-day tasks in cPanel.

Did we mention Engintron is free?

Engintron launches late September/early October 2013.
Actually it's a bit over the top for a Senator to write a man on the run. Luckily, unlike fiction, this stuff doesn't have to be believable!
Perhaps it's more of a way to destroy data than to not reveal it, like maybe some sort of dead-man's switch. If he doesn't maintain some routine, then perhaps some data or documents gets automatically destroyed.
I'd watch it if it was free.
How many of the people whining about this problem have ever submitted a Linux kernel patch or considered it and said they wouldn't because of him? Name names, thanks.
> Can anyone provide some concrete examples about how the NSA

In the UK GCHQ provides intel to the Ministry of Defence. MoD then uses that intel. The intel is secret, and thus we don't know if it has helped or not. The intel is also misused (see, for example, the "sexing up" of documents) or ignored.

But in general you don't know what the spies are doing. It's the nature of spies. You could ask your representative politician to ask some of the oversight politicians, but the answer you'll get back is going to be on the same lines. "The provide valuable intel, and we use it, and we are safer because of it".
He didn't write that blinded with rage. He carefully crafted a work of literature. The person he responded to was one of those sociopath fact-assumptors that make every online conversation difficult.
A very simple way to achieve something like this is to generate a random password, print it out and give half to someone else. Then you need 2 people to access the file.
Do you really trust the supreme court these days? 7 men and women designed to decide the fate of our country?

also, the supreme court has no say in this. Its the fisa court....
Why You Need To Work For A Big Company
Please no This'ing on HN. Write something or just upvote.
I much prefer to hang out with my very kind-hearted and pleasant (yet slightly less intelligent[1]) fraternity brothers over some of my extremely bright computer science classmates who don't have as much social tact. That's because most conversations with the latter group turn into pissing matches over intellectualism, programming skill, and the like. That's not to say that I don't get along with these kids; they're great to study with, and I learn a lot from them. However, it just gets grating when we're in algorithms class discussing selection sort versus merge sort and some smart aleck asks why we can't just use radix sort because it's asymptotically linear and blah blah blah we get that you're smart, stop gloating in lecture.[2]

[1] Of course, that's not to say that my brothers are unintelligent (they're very bright). However, one of the most important life skills I learned in public school was learning how to get along with those "pleasant idiots," as you put it.

[2] And I'm not disagreeing that kernel dev requires a more authoritative leadership style than most pursuits, but it seemed that this conversation had dropped into speaking in generalities about life.
I wasn't replying to the OP. The person I replied to had to put a Disclaimer in their post to inform everyone that he is a white male in his mid 20s. If you don't see the ridiculousness in that then I can't help you.
What kind of music do you make? I've been wanting to try Ableton out but it kind of looks geared toward working with samples and MIDI. I mostly record guitars and all my instruments live with a mic. Is Ableton appropriate for recording and mixing recorded music? Would you say it is as powerful as Logic Pro 9 (my primary DAW)?
Do your own research. Various mailing lists are littered with the names of people who've dropped out because of toxic working environment.
The training is right here:

1) Write some software that destroys your data if you don't login every x hours.

2) Under duress, stall for x hours.
This is more of a justification for why First Person Shooters and RTS games (specifically, Starcraft clones) will remain on the PC, and it's not all that great of a justification. FPS games on consoles have been extremely popular, and a lot of really innovative independent games have launched with touch-first or controller-first mechanics.

I'm not sure I follow your statement about exciting new genres being impossible on console or iOS...can you give an example about one such genre that is PC only?
Everyone's focusing on the fact that Snowden claims he is torture-proof, when in reality he never said that. He said that he "cannot" be tortured into revealing information he is protecting.

For example, Glenn Greenwald may hold a private key which must be used IN CONJUNCTION with Snowden's key to decrypt the information Snowden has. It's possible/probable that Snowden does not have access to the secrets he protects without Greenwald's key, as well as possibly many other keys. He may have a network of people he's made part of the group such that any two of them plus Snowden can decrypt the information, but Snowden himself can't without two keys plus his own, and he could make it such that his key is required in the group of three to decrypt. Hopefully someone else here can provide the name for this kind of encryption (something like n-key encryption, it's escaping me currently) and a link to how it works, but this is all very sound and entirely doable from a math standpoint.

So no, Snowden himself isn't torture proof, but his security is, if he's doing something like what I outlined above. They'd have to go after Glenn Greenwald too, or whoever else is involved, before gaining access to the intel.

Edit:
This link[3] might explain it slightly better, but I once read a great primer on the topic, filled with examples and was pretty simple to understand (the layman could grasp at least the concept). I'll add more links as I find more info.

[1] http://en.wikipedia.org/wiki/Secure_multi-party_computation

[2] http://www.iacr.org/archive/eurocrypt2001/20450279.pdf

[3] http://en.wikipedia.org/wiki/Threshold_cryptosystem

[4] http://www.tcs.hut.fi/Studies/T-79.159/2004/slides/L9.pdf

[5] https://www.cs.cornell.edu/courses/CS5430/2013sp/L.SecretSha...

(thanks ##crypto for the help!)
It's always interesting to me that as a new statement from Snowden to the press comes out, most comments on Hacker News take him totally at his word, and assume that his interpretation of events and policy is by far the interpretation most likely to be true. Because I was already past Snowden's current age and current experience level in living in other countries by the time Snowden was born, I see a lot of holes and a lot of callow bravado in much of what he is saying. I hope he is correct that the information that he claims to have extracted from NSA servers cannot be extracted from him against his will, but I don't assume that to be true in the absence of evidence. That's an extraordinary claim, so it requires extraordinary evidence. Some aspects of Snowden's story do NOT look like a thoughtful plan to defend freedom and fair play around the world, but rather a haphazard rash move by Snowden to see what he can get away with. The high degree of cooperation many countries appear to be giving the United States so far in efforts to have Snowden return to the United States for legal proceedings suggests that quite a few experienced national leaders with very different constituencies to represent agree that there is more harm in Snowden being on the loose than in his standing trial to weigh his claims against United States law.

P.S. Remember, I was one of the rather few HN members to go out in public to protest the NSA on Restore the Fourth evening here in the United States. I can be appalled by some of what I read about the NSA without agreeing that Snowden is taking the best approach to doing something about that.
Qut.be - Store Quotes
Time to pull out my Bill Gates face mask.
Is something broken at Medium? Why is it asking me to sign in? If that is a new "feature" I can cross medium.com off the list of links I will follow on HN.

In case you want to read the article: http://web.archive.org/liveweb/https://medium.com/better-hum...
She didn't claim that she was vicitimized, but she definitely took it to that level on others' behalf:

> Good lord. So anyone that is one of your "top maintainers" could be
exposed to your verbal abuse just because they "should have known
better"?

> You know what the definition of an abuser is? Someone that seeks out
victims that they know will "just take it" and keep the abuse "between
the two of them". They pick victims that won't fight back or report the
abuse.
My low-tech deterrent? A lifetime of avoiding deterrents. My body seems to have developed a natural resistance to them.

I grew up in New Hampshire, not exactly as extreme as Alaska but a place where there are certainly plenty of mosquitos in the summer. I went camping a few weekends ago in the White Mountains and had 10 mosquitos biting my arm as soon as I stopped moving.

So what's my deterrent? My body. It seems to have developed a natural resistance to mosquitos, or at least to what they inject into me.

When mosquitos bite me, I genuinely don't get itchy or have "bug bites". If I remember correctly, the itchy welts that most people get are caused by the body's response to something the mosquito injects into your skin to prevent the blood from clotting. My body seems to have adapted in such a way that it doesn't react anymore.

I haven't always been this way. When I was little, I got mosquito bites just like everybody else. The difference was, I always refused bug spray (I hate chemicals on my skin). I don't care how bad the bugs are. If it's 100F outside, I'll wear a long-sleeve shirt and long pants to cover my skin (and yes, they still bite through, so heavy clothes help).

EDIT: Also relevant: my grandmother discovered that dryer sheets--those scented things that people throw in the dryer with their laundry--work as an excellent mosquito deterrent. I didn't believe her until I tried it. Hang one out of your hat or on your shirt collar and watch how few mosquitos come near your head!
If we're not following the rule of law, what laws should we follow? Who should interpret our laws?

The Supreme Court has the power to issue an order called a “writ of mandamus” to deal with lower courts that overstep their legal authority.
I don't like it. The questions seem more like rhetorical accusations instead of a conversation. I really don't like point 4 since the guy takes personal responsibility at the beginning of the letter (which this reply says he doesn't). And I think the invitation to talk follows the advice in this post to the letter: http://www.maryrobinettekowal.com/journal/on-sexual-harassme... That is, making it as easy as possible to report harmful behavior.

And point 3 is just pointing out that he's getting defensive. Well of course he's defensive, you're attacking him!

Edit: OK I had to read the link from point 2 twice but I think I understand it now. However I don't see how it's relevant since it says "I didn't intend for you to feel that way, so if you do feel that way, don't blame me! My intent magically inoculates me from responsibility for what I actually said and how it was received!" But the apology specifically says "I got it wrong" and never claims that people shouldn't be offended. The whole reply is just wrong.
Seems like itt was possible to hide it so well due to an oversight in the API for preg_replace. In-band signaling in general makes it easy for people to accidentally add security holes. What they should have done is pass the regex options as a separate parameter, then it would have been obvious that something fishy was going on here.
You can make a process where you breaking down and cooperating with the enemy is not enough to reveal the info.
What I find interesting here is that a former Senator is commending a dissident from the United States and wishing him good luck in evading the government and seeking asylum from the US.

Lots of respect for Senator Gordon Humphrey for speaking out with what will be a very unpopular opinion in Washington. I'd like to hear the same from UK politicians past or present on Tempora, but have heard nothing of consequence from any of them.
encrypted home dir on the guest OS, not host.
Incense That Kills Mosquitoes
For legal purposes, sure, but if the people disagree with the court's decision there are ways to change things. We could amend the constitution, we could throw it out and write a new one, we could change the makeup of the court, etc. Legally the ultimate authority on the interpretation of the constitution rests with the Supreme Court, but the citizens of this nation are free to express what they want out of the constitution.

We are allowed to disagree with the court, we are allowed to voice our disapproval, and we are allowed to try to rally others to our cause. The Supreme Court is not some kind of heavenly authority, they are just as capable as making the wrong decision as any other branch of government.
I don't think it's valid criticism in the first place.

The kernel is only a single part of a much bigger "Linux desktop distribution". For desktop users, work on good default configurations for all software, X (or its replacements), window managers, package managers, backports of security fixes to old software, and many other things that Canonical does are just as valuable as improving the kernel itself.
Plus just tell the theft that it's something helps you breath, if he continues stealing it you can raise charges against him for attempted murder!
WOuld you stop creating useless stuff?
No. Why limit yourself and your product? Just make sure it runs in your target browsers.
You can not reveal what you do not know.
And performance.
I thought he said in the conference with WikiLeake staffer that he has shared everything he knows. Now in the email he is talking about protecting more information. Now I am confuse.
A friend of mine did the music & soundfx for FarCry 1 and the latest Hitman game. He's used bot protools and logic but used Ableton for Hitman.

So yes you can do the same with ableton.
Agreed.

Inside of that (formerly) $16 billion company is a really wonderful $2 billion company fighting to get out.
US issues 'athlete' visas to League of Legends players