skysight-inc/HackerNews huggingface dataset:
>ensuring that there is no way whatsoever to get the audio or the video

I await the patent on how to DRM photons.

Relating to the rest of your points, I am not convinced that it is that difficult to mix protected and non-protected graphics. The untrusted software tells the graphics card a square region of the screen where the movie should be played, and streams the cipher text to the card. When the graphics card goes to render a frame for the physicall display, it first renders the the protected content, then renders any unprotected content from the software. Where the two overlap, the protected content simply gets hidden by the unprotected content. Obviously, all of this rendering would happen in an undisplayed buffer, so the user only sees the finished frame.
I think most people use conditional comments for IE and don't bother with user agent strings. I do, anyway.
Agreed. If you dont mind me asking mitchellh, who did the design?
What happens when stars collide? Pulsating stars
If true (no reason to doubt) that is pretty brutal.
Teenager faces 8 years in prison for sarcastic chat comment
I guess archived RSS data for me isn't terribly important since most people seem to hide the rest of their content behind a "More" link to get those precious ad views.
> The parse tree for the closure should be able to ascertain the reachability of the variables in scope so that fences around particular sets of variables can be established.

Sadly it's not quite that simple because of the behavior of `eval` (strictly speaking, direct `eval`): it can leak bindings into the surrounding scope.
You are referring to things such as:

http://en.wikipedia.org/wiki/Holodomor

...but we are not talking in terms of building a model showing the equivalence in replica between each state's government and actions (actually Stalin was a very 'unique' dictator, the same as Hitler, in relation to ANY other leader).

We are talking in terms of ideology behind a governments actions e.g. a complete disrespect for individual freedoms granted by the constitution. Tha kid was placed in jail for uttering a joke. Come on.
The Impact Of Sprite Kit On The Economy
Not on HN, where we support those who support the tribe and oppose those who might oppose the tribe. :)
You don't need Facebook. Kill your profile.
Haha, no one procrastinated on exporting their data now did they?
Well when you just launched the "company saving" products it's somewhat problematic.
Selenium For Pythonistas
investigation about the real motives but no charges and no jail time.

The US has shifted towards charging everything and anything remotely possible, maybe investigate, then plea down to something that only looks good because of the extreme first set of charges. Brilliant strategy from the p(er|ro)secutors that keeps cases from going to court and pads their stats with lots of 'wins.'
Because our laws are so broad, most people in the US commit multiple felonies each year. That is not an exaggeration. That being the case, prosecutorial discretion - the exclusive right of the prosecutor to decide whether or not a given prosecution serves the public interest - is incredibly important.

The elected District Attorney in this and any other jurisdiction where prosecutorial discretion is not being properly exercised needs to be removed from office, and any abusive deputy district attorneys must be fired. This is the only way to ensure some semblance of reason and sanity in our "justice" system, since removing the laws that make everyone into felons simply will not occur.
> I just always assumed that all the variables present in a closure are maintained, if there's an existing reference to any function defined within.

In the logical sense each function has its own closure. There is no way functions should affect which[edit for clarity] variables are closed on by each other. So you shouldn't expect this.

>I'm actually suprised/impressed that Chrome has an optimization to detect which closure variables are actually used in a function and garbage-collect the rest.

In the logical sense functions close over their variables, not all variables that happen to be in scope. So that optimization is needed.
Small towns do stupid things the world over. It's like a universal constant. And for better or worse, in the U.S. there is relatively little high-level supervision of how small towns police themselves.

Holding this kid for what he said is clearly unconstitutional. I think every federal court in the country would hold likewise. But a police department in a small town where residents are scared to death of another Columbine or Sandy Hook? They don't care about the first amendment, and they never have. Small towns have never been a place where you could just say whatever you wanted. They've never had that mentality. It's just much more visible now that everything is on the internet.
You can't assume that in the land of the Second Amendment though. I read a story just a few months ago about a child in Kentucky who accidentally killed his sister with an actual "kid-sized gun" or something like that.

A child on a U.S. street with an actual handgun wouldn't surprise me one bit.

That doesn't mean that the cop had to shoot the child though but I don't know the details to the case you're referring to enough to comment one way or the other.
What is the practice of meditation taught there, and what result in a human life do they have if they practice the meditation?
Hmmm, idiomatic Node.js code creates closures everywhere. (And you may be right that this is just asking for memory leaks.)
Regarding computability yes. Regarding time complexity, it is unproven.

What we do know is that there is a known algorithm to factor number in polynomial time on quantum computers and there is not a known algorithm to do so on classical computers. Assuming that factoring numbers is actually a hard problem on classical computers (unproven, but generally accepted), then quantum computers are more powerful than classical ones.
Surveillance isn't cool. You know what's cool? Privacy.
Usually one of three things:

Cooking: It's great to try and cook amazing new foods. I also spend the time to try and plate it nicely and take a photograph. Dish presentation really does make it taste better, even though it's all in my head.

Competitive Gaming: Detroit (and a lot of other cities) has a pretty big community of people who meet up monthly for fighting game tournaments (Street Fighter, Smash Bros), and more often to just hang out.

Poi Dancing: Below is a link to a little music video I made of me poi dancing. Hope you enjoy :) I'm much better now since I've been practicing 5-6 hours a week ever since I recorded that video 6 months ago. It's a great meditative hobby and I love that it's challenging and rewarding all at once.

http://www.youtube.com/watch?v=vjweOZotRwY
Cool and funny joke
http://best-online-jokes.blogspot.com/2013/06/really-funny-joke.html
My webpage and account were apparently deleted. No explanation or warning was given. Needless to say, I won't be using neocities again, nor can I recommend it to anyone I know.
> Congress is not capable of doing anything with real teeth.

Congress has the power, and is legally capable. They just don't want to, for some fucking reason.

Someone explain to me why the Republicans don't get all up in arms about this mess? They could easily blame it on Obama's administration to win support for the next election. Even though they voted for the PATRIOT act, they can at least put on an act of hating that one part where everyone gets spied on. It's really not hard to put a spin on it where you can gain a ton of public support.

Instead, the ONLY people we see who are angry about the whole situation are the "fringe/crazy" ones: Sarah Palin, Glenn Beck, Ron Paul, etc... which, interestingly enough, lowers the credibility of outrage.

Meanwhile, everyone else in Congress and mainstream media proclaims Snowden a traitor.

I've never been one for conspiracies (seriously, never in my life), but I'm finding it more and more difficult to shake the feeling that there's something going on with our government and media that we're all completely unaware of. Their actions make absolutely no logical sense from an individual self-interest perspective.
This. A million times, this.
Blizzard will report you for making direct threats to the appropriate authorities.

The question that people have to ask is, do they get in more trouble by not reporting or by reporting. After all they have deep pockets which makes them a target. Our litigious society at times condemns us far too often
>And it's fabulous

What exactly is "fabulous" about it? It's mostly a rehash of 1.5 with some random stuff thrown in. For a 5 year wait, I'd expect a lot more.

It's not even close to ST2, much less 3.
meditation, yoga, science fiction, hiking, software projects, art projects, yard projects, house projects
I'm surprised this comes as a surprise to Meteor developers. References retained won't be garbage collected... regardless of whether the lexical scope is "really small" or not, lol.
These are the default ones found in st.
Fair point, but I disagree with you - fulled specced out designed languages generally specify how exactly the implementation should handle these cases. How references should be retained, when references fall out of scope, etc.

eg:

http://clang.llvm.org/docs/Block-ABI-Apple.html

http://download.oracle.com/otndocs/jcp/lambda-0_5_1-edr2-spe...

http://www.microsoft.com/en-us/download/details.aspx?id=7029

etc etc. I also don't believe I'm attacking javascript here, merely repeating what people have always known about evolved languages. Evolved languages have a lot of pros (mainly speed of new features and practical application), and they have cons too. What I'm saying is very simple: this type of bug in javascript should not be a surprise - it should be expected. There will be more.

EDIT: Laughably enough, while the ObjC and Java specifications both specifically address this issue, the C# specification actually formalizes this exact bug into the language specification. So I concede your point, C# - a designed language - simply designed the exact same bug into the language itself. See section 7.15.5.1 Captured outer variables.

Feel free to downvote this post - I now concede that designed languages are just as likely to design stupid bugs into the language as evolved languages are to create them by mistake. ;)
They don't mention the exact charges, but I think it's safe to assume that's the maximum sentence for the charges.

So "terrorist threats with nothing to back it up" aren't necessarily worth 8 years in prison, but terrorist threats could be, under maximally aggravating circumstances. Say you were an actual terrorist going to great lengths to make plausible threats in order to terrorize the populace.

Remember that terrorism isn't about bombing or shooting or killing. As Bruce Schneier said, "Terrorism isn't a crime against people or property. It's a crime against our minds". Making threats is the crux of terrorism.

What's ridiculous is charging a kid who clearly wasn't making the kind of serious threat that these laws were intended for.

(I'm making some suppositions here - my case would be stronger if I had dug up the actual laws and charges.)
I suppose I don't find it surprising, because I've used a lot of R, and R can't even optimize the simple case. There, it's for good reason, since you can extract the environment of any function, so once a closure escapes, you have a handle onto its entire containing frame.

I think I've used scheme implementations that have the same "feature", with less of an excuse.

It's a similar "failure of GC" if you create an object with two fields, like "obj={a: giant_value, b: 5}" then had your closure return obj.b. I bet the "a" slot would not be GC'd, even though there's no way to reach it.

If your mental model is that you're holding onto the lexical frame, it's a pretty much the same behavior.
ZenPayroll (YC W12) is hiring Rails engineers to help make delightful payroll
About us:

+ We're building the future of payroll. If you love solving un-sexy, foundational problems that affect millions of people, we'd love to talk with you. Current payroll products haven't changed in decades and customers deserve better.

+ Our founders are second time entrepreneurs from Stanford who have had two prior exits. We're hungry to build something truly great and we're in this for the long haul.

--------------------------------------------------------------------------------

Things we're looking for:

+ Experience with Rails | Backbone.js | CoffeeScript | MySQL is a plus but not a pre-requisite.

+ Interest in using a test driven development process. We also pair part of the time.

+ Desire to understand the customer perspective. All members of our team are builders and it's important everyone understands the pain point we're solving.

--------------------------------------------------------------------------------

Perks:

+ You'll be a core member of our team as we grow the company. As a result, you'll receive a competitive salary + significant equity stake.

+ Housing stipend if you live near the office, three meals a day, company retreats, gym/sports club stipend, dream work set-up, and more -- including copious espressos brewed by one of our co-founders. People are the foundation of our company and we make sure they know they're valued.

--------------------------------------------------------------------------------

Above all, we're looking for individuals who are yearning to do the best work of their lives. You'll be amply rewarded for the work you do.

--------------------------------------------------------------------------------

To apply, send a note to jobs [at] zenpayroll [dot] com and include your LinkedIn, GitHub, and/or any project pages.

This job is located in SoMa, San Francisco, CA. You must be local or willing to relocate (we'll cover the cost).
Simple Bash Tricks - Make “ps" useful
You realize it's the San Antonio–New Braunfels metro area? And it has a couple million people. Hardly small town America.
>quantum computers could reduce this to O(log n)

I doubt it. It would take O(n) just to copy that data into your quantum computer.
I'm not blaming prosecutors, or pretending that Canada doesn't have problems. Rather, I'm asking questions because I don't understand the nuts and bolts of the US justice system.

Consider elected District Attorneys. In Canada, Crown Prosecutors are appointed and the position is meant to avoid becoming political. That doesn't always happen, since becoming a CP is often a route to either become a judge (our judges are also appointed), or a politician, but I digress.

As another example, under Canadian law, if you're charged with a crime, it starts with the police office involved 'laying an information'. Basically, the police officer will draft a sworn summary of the case and present it to a Justice of the Peace. Then, the JP decides whether there is enough evidence to actually go forward. We don't have the concept of a grand jury, nor do Crown Prosecutors necessarily have to be involved before a charge is formally brought upon the defendant.

As for paranoid suburbanites, we have more than our share, and for good reason. Some of our laws (ie - our Young Offenders Act) admittedly leave a little to be desired and some awfully bad people get to walk the streets. For example, my city has a number of extremely violent sex offenders (who the parole board has ruled at an extremely high risk to re-offend) walking around free. Ask me how I feel about my Mom getting into her car alone at night....

Despite sharing a border and coming from the same legal tradition, our criminal systems are dramatically different. Consequently, I can't really comment on the American system because I don't understand it well enough to know where concepts like discretion come from and who has the right to demonstrate discretion.
And let's face it, you have more power to do that in the U.S. today than pretty much anywhere in the world. Listen to the kinds of things people say about Obama, his mother, etc. How many places could you get away with that?
> I don't really understand how any of this could be construed as anything other than just poor taste humor.

That is certainly one possibility, but it's not the only one. Sometimes people tell you exactly what they will do, and then go do it.

In fact there was a school shooting in Virginia just like that a couple of months ago, where the shooter posted his intention to 4chan first.
I see new API stuff added all the time in the ST3 alpha update notes.

Plus: what are those "small bugs and inconsistencies"? I've been using ST2 for a year, and ST3 since it was publicly available an an alpha, and can't remember anything other than totally insignificant issues.
Why Photographs of Watches and Clocks Show the Time 10:10
I know what I'm doing at work today...
> In the logical sense each function has its own closure. There is no way functions should affect the variables closed on by each other. So you shouldn't expect this.

What? The whole point of a closure is that it is shared.
As someone who purchased the Ouya during their kickstarter, the openness was a huge deal to me. It's the same thing that makes me long for a Valve produced Steambox. Give me something that I can tear apart (both hardware and software) and do my own thing with it.
You do understand that the dealer model came about to allow the manufactures to maintain production without having to directly deal with changing of sales patterns throughout the year don't you?

The Faustian bargain if you will was dealerships were given certain deals by the manufacturers to protect their ability to profit. States got involved later, where there was money to license such as well as to keep manufacturers from stepping into a solid market to brush aside the dealers who forged it.

It was a solution fit for its time and still is in many cases. When Tesla's support falters who you going to yell at? Fellow disgruntled owners on a message board? Not saying it will, but you who goes to bat for you when sales are direct?
If you are defining "maladjusted" as "people who say things on occasion that I find shocking"....
Anyone have any luck getting this to work on a previously installed app? It seems to be getting the custom buildpack, and after reading the code a bit it seems, yes, it says it's caching the assets, but it never says it's using the cache on the next push. :/
https://news.ycombinator.com/item?id=5958879

It's not that unrealistic. Correct, it does not solve P = NP. It does, as another commenter pointed out, make it much faster (feasible) to reverse RSA by factorization.

Re: Recruiting. There are a _lot_ of very bright minds working for the government. Don't forget that the government is willing to pay literally any price to get the talent they need, and say "we will give you unlimited resources to all materials, any budget, anything".

Investors look like a joke if you get paid a large sum and have unlimited resources. Often with TS technologies you can still declassify parts of your research for the public and co-author papers. This is the same thing we do when say, the M1 Abrams Tank. We will export everything except still-classified parts to foreign countries for sale.

There are 5 Nobel prize winners at NIST alone, 4 in physics and 1 in chemistry.
I'm not sure what you're referring to; everything in the parent post is correct. You are right that quantum and classical computers have the same "power" in terms of problems that can be solved, but it is also true that quantum computers may be able to computer certain functions faster than classical computers (using faster algorithms that don't run on classical computers).
I don't know where to start on this page's absurd notion that Cantonese is a non-"weird" language, but that Mandarin is weird. This must be some academic nonsense based on sounds and disregarding other critical language features.

Let's put aside the fact that Cantonese has among the most complex pronunciation systems in the world, with seven tones and both long and short versions of a number of sounds. This is a language which has four different communication modes. Here's how weird Cantonese is.

1. Cantonese speakers speak in Cantonese.

2. Cantonese speakers read and write in a totally different language, namely Modern Chinese, which for all intents and purposes is Mandarin.

3. Cantonese speakers read out loud in Modern Chinese (Mandarin), but pronounce each of the characters with radically different Cantonese sounds.

4. For purposes of comic book dialogue, etc., it is possible to read and write some Cantonese using various co-opted Chinese characters. But you can't pronounce all of Cantonese this way: many words have no written form whatsoever. This has resulted in a bizarre pidgin written form. For example, one very common word ("di1" -- "a few") is actually usually written as "D" rather than as a character. Other characters are impossible to write in current fonts, or are also used in Modern Chinese but for different words than in Cantonese, and so you see Latin letters like "o" and "a" next to them to suggest a different meaning.

Mandarin weird my foot.
To me the Original Delta Wing was nothing special. it proved that you could build a race car with a smaller engine and lighter weight, and turn close to the same speed, that a car with a larger engine and heavier weight(defined by the regs) following a rigid set of rules could run. To me the far more impressive achievement was by Audi actually building a hybrid system that could run for 24 hours driven flat out.
It is societies job to look after everyone, especially the unwell. I do recall there being a handrail, so someone believes in some safety.
If I'm understanding what you're saying, that's just not correct. Try and run this code:

var a = function() {
var z = "a";
window.b = function() { z = "b"; }
window.c = function() { return z; }
};
a();
window.c(); // returns "a"
window.b();
window.c(); // returns "b"

As you can clearly see, the single closure containing the variable "z" is shared between functions b() and c().

So each function does not have its own closure -- closures work "upwards", referencing everything in every scope above them.
I want to be a hacker... here's why
There has been a 25% fall in the GBPUSD exchange rate over the past few years which needs to be factored in when comparing salaries. The Bay Area can make London seem an affordable place to live.

But that being said, there is still a significant difference in wages for salaried positions. Contracting rates seems much more similar. And the tax treatment for contractors in the UK is so favourable as to make it more worthwhile than all but the very highest salaried developer roles in the City.
I, for one, am not enamored with JavaScript's cuteness. I'm all prototype all the way -- boring stuff that the closure compiler can understand.
I'd actually leave the US.

When I think of hackers, I think of black hats like I once was, and most tech people know that knowledge is power, I think that hackers may justify what the NSA is doing and may take it further. (ex. how far do you track the ip's and associate them with users on a website)

Truth is though, with our generation being technically minded, it's inevitable that some of us will become the people in the background that fund political campaigns. Politicians are just front men with IOU's behind them.
There is no way to be sure it can't be ever referenced:

function frame() {
var str = "blah";
return function() {
eval("console.log(str)");
}
}

Edit: updated to use eval instead of setTimeout because setTimeout(string) do not share the scope.
All Or Nothing