skysight-inc/HackerNews huggingface dataset:
It seems that those making the most noise over this haven't
spent the requisite 2 minutes reading the actual proposal.

https://dvcs.w3.org/hg/html-media/raw-file/tip/encrypted-med...

From the abstract:

"This specification does not define a content protection or Digital Rights Management system. Rather, it defines a common API that may be used to discover, select and interact with such systems as well as with simpler content encryption systems. Implementation of Digital Rights Management is not required for compliance with this specification: only the simple clear key system is required to be implemented as a common baseline."

"The "org.w3.clearkey" Key System indicates a plain-text clear (unencrypted) key will be used to decrypt the source. No additional client-side content protection is required. "
New Hack A Day website "LIFE"
"Most of my (and I imagine a good chunk of this site's readership) access to GMail is handled through IMAP, for one."

Data? Projecting much, aren't you? My anecdotal evidence contradicts yours.
I suppose this behaviour is designed, perhaps sub-consciously, to influence the opinions held by others of the speaker. To encourage them to 'like' the speaker.

We can all control how we talk, but some seem more conscious of it than others. As someone who (thinks he) can notice a switch in vocal register like any other obvious pattern change, the behaviour also screams out to me each time I see or hear it. But I don't dislike it; the speaker merely has a job to do and a social environment to fit into.

I hear something similar in some (particularly American) men. It's an over-emphasis of the depth of their voice. I think I've noticed a fair few others over the years but there are likely a million other traits in people of all ages that I've never noticed. All designed to influence the listener in some way. After all, people don't typically speak to grandparents the same way they speak to friends. Why not?

It's probably a primal, perhaps evolutionary behavioural trait, but my point is that it's not specific to vapid celebs. We probably all do it to some degree.
I love your Firefox browser.
Have you tried the noprocrast and minaway settings?
I work with Spring daily, and I haven't written a line of Spring XML in, literally, years. Granted I don't use all of the modules it offers, some of which may still use XML, but the best part about Spring is that you can pick and choose what'd you like, and replace/extend where you need to.
Set the noprocrast option in your HN profile. maxvisit is the number of minutes you're allowed to spend on HN at a time, and minaway is the number of minutes you must then wait until you can use HN again.

My guess is that your browser had the ip address for HN cached, but did not have the ip addresses for the other sites in its cache. If so, HN would be blocked if you quit and restarted your browser.
Yes, you can.

You are free to support whichever content protection systems you want to support. The only DRM mechanism which is part of the standard is clearkey which is DRM in the same way that SSL is DRM, i.e not at all.

https://news.ycombinator.com/item?id=5791579
I think the lesson is that, while you can have a bipartisan lobbying outfit, a bipartisan lobbying outfit that sweetens some of its membership with partisan campaigning against the views other members is going to land itself in trouble.
PhD or No PhD?
Let's see:

Webmail for reading and decrypting emails.

Creating "Real" private communication in social networks.

Signing comments in news websites, and on-the-fly verification.

Verify/provide identity across several non-connected social networks.

On-the-fly verification of software packages in repositories like github.

Potentially making Web-of-trust easier to use and expand.

And that is for technologies already in existence as current web-browser plugins. Securing future API's as suggested in this comment thread sound also very interesting.
What's Your Morning Routine?
> ... Usually, he could not complete a project, because once all the interesting stuff was done, he simply could not motivate himself to keep on working on it. Clearly this was extreme and unhealthy.

Don't agree. This implies that it is healthier spending your life doing things that are uninteresting.

> If that's the case, a lot of programmers (including me) are extreme and unhealthy. I've lots of unfinished projects that I stopped working on right after the interesting bit was done or almost done.

Me too. Prioritizing doing stuff about which you are passionate is much healthier. Of course I am probably in denial...
> Don't run your nuclear launch codes through this.

Just keep them in your coat pocket:

http://news.bbc.co.uk/2/hi/americas/328442.stm
This is a problem I am interested in a lot, and is perhaps the only reason I cannot completely move away from dedicated email clients on my computer.

I am not well-versed in the issue, but I have read the infamous Masanto cryptography in JS article, rebuttals, differents JS projects revolving around cryptography.

I currently am evaluating Firefox's WebPG for some functionality, but the dev has to work hard to basically build a Firefox plugin (in JS, so we are back to the same problem) to call GnuPG calls and return the data.

So, we have browser specific plugins and web-app code in a language that is controversially unsuitable for such use in decryption cases. What can we use as alternative to secure web applications? Does asm.js change anything? As far as I can tell, no. Alternative browser languages? I guess, but still a pain. Are we going to have to build this functionality into web browsers, as a standard or otherwise. I am generally curious what people who are trying to engage this problem see in the future.
Surely a single data point is not much, but in that case they could count me as another consumer in their extremely loyal user base.
Such API will encourage more DRM to be access through the browser, which in turn lets malware exploit such vectors in similar way that Java applets, active X and flash has been plagued by remote code exploits. The amount of money and greif caused by such malware is very high, and was a major incentive for moving to HTML 5. The draft in question would rather move so we had 10-20 more such lovely (in)secure plugins all being accessed through the API provided by the standard.

But you can believe that anyone objecting to that just hasn't read the draft if that makes your life easier.
Simulate limited bandwidth from within Firefox?
The fact that you can build a browser which doesn't support DRM doesn't alter that fact that if we allow this in, W3C has officially sanctioned that the web, one bit and one platform at a time, can and shall be DRMed.

So sure. You can build a browser which only supports clear key. And that browser will not be a fully supported browser on this new encrypted and DRMed web. No FOSS-based platform will be a viable option to consume the web.

Now you can say that we have the same situation today, with Flash and Silverlight, so what's worse about this? Well: The fact that it has W3C's seal of "standard" approval written on it.

Congratulations: You just fragmented the WWW and to top it of you claim its a standard.

If we let this pass, in a year or two we will be having the same debate for <audio> and for <img> and for <script>. This is the beginning of the close-down on the web, and the only reasonable place to stop it, is at its root: No DRM, no EME and no CDMs in HTML5.

You can belittle those who disagree with you, saying they don't know what they are talking about. But it may just be that they are not so short-sighted about where this is heading as you seemingly are.

Right now Hollywood needs the web, more than the web needs Hollywood. Hollywood cannot afford not to be on this train. If we say "no DRM" enough times, they will come eventually. The music industry did. Everyone else did. Hollywood will.

Lets not sacrifice our open standards needlessly.
Neither her gender nor her age are relevant. "Wealthy celebrity dabbles in unrelated field" is a reality TV formula, not Hacker News.
I really hope this takes off, there have been several efforts to bring PKS & PKE to the browser than have unfortunately just withered & died.

WebPG (http://webpg.org/) is the best implementation so far for GMail integration, and as far as I can tell it's the only one still being developed, but it falls over at the last hurdle, it won't send the email :)

As a resident of the UK, with our governments boner for introducing a snoopers charter this kind of thing really interests me.
Why wouldn't they care about the public? The local copper mining operation often buys advertising to boost its own public image; why not an asteroid mining operation?
I'm with you. All these people strike me as entitled twats.

As a user, I would much rather deal with the hassle of verified ID than do business with guests/hosts that are unverified.
You just have to know when to slow down. The recruiter will recognize the pattern, and might fear you will leave at the first best opportunity. I always felt that 3-4 years with each employer is the most promising strategy (European job market).
A project I have been somehow involved in (altough not much for a lack of time)

http://www.mailvelope.com/

Encryption in GMail and maybe other webmails for chrome/chromium. It is surprisingly secure (see http://www.mailvelope.com/blog/security-audit-and-v0.6-relea... ) and super easy to use.

It doesn't support signing and signature verification though.
Мультик Эпик
I think I can summarize that post in three words:

"Thou shalt execute".
You mean you are free to implement a second class citizen on this new, closed down and Hollywood-driven web.

Yeah. That sounds really sexy. That sounds like the pinnacle of achievements for open standards.
Thank you for saying it. I find it dangerous to let users believe their data is secure, when the in-js encryption is everything but. It may lead to all sorts of misunderstandings and litigation issues...
I disagree. At the moment, companies have a point of competition on their licensing agreement with customers - exactly what license they allow, and how exactly they choose to enforce it.

That there is competition (and that the market cares) is evident in the fact that iTunes have removed FairPlay DRM from music tracks.

To have an open standard for DRM removes some of this competition point: a win for big incumbents and a loss for consumers.
Need free UX help for your startup?
actually, that's not true. i was always under the same impression as you that schools in US don't seem to encourage or even allow second undergrad degrees, having read somewhere before that a first undergrad degree disqualifies you from applying for a second. however, due to a series of unfortunate events, i have discovered that it is not true at all.

source = me. i'm currently admitted back to my alma mater for a second degree in CSC and will be returning in fall this year.
You mean in offence and grabbing other countries resources at gun point. True.

But it's beside the point. It's not like you are a nation of "spartans" that spend all they money in "defence" and live in relative poorness.

More like a nation of couch potatoes, which has relegated their defence to paid specialists (like in feudal times), and which spends more on pet food, Netflix and similar BS than they do in public works and infrastructure. Especially in areas where poor and/or black are living.
I've tried one (dev one) and the resolution's crap - 1280 × 800 spit across both eyes. It's shocking how bad it was.

The final one will have full HD, but even then I think it needs a quadrupling in res before it's even acceptable.
Programming has allowed your brain to express rules of structure and precision. You did that to your writing by choosing programmers to read.

Like in writing on paper with pen. These qualitative subjective judgments are not coming from programming per se but rather a style of programming. Think: continental versus American styles of philosophy. Programming as we know it is arguably Western (structured, "precise" and all that hooplah). Programming itself isn't inherently Western, even if ARPANET was a US Grant, if you get my figures of speech, and grant me poetic license (which you probably won't do).
as i said in another reply, this "anti-second BS" thing might have been true years ago but as i've personally discovered, it's not true at all. yes, some schools don't have a clear-cut program for readmission for second degrees, but it seems many schools now do. i'm personally returning for a second degree in CSC, and i didn't even have to go through any kind of admissions procedure - just fill in a one-page form to my alma mater and 3 weeks later they informed me it's approved and so i'm returning for my second BS in fall this year. it's definitely very possible today and if you want more details, please feel free to PM me.
Hotels unilaterally ask for ID and a credit card these days.
Much easier to use e-mail encryption - if the e-mail providers decide to use it that is.
well, beside optimization, a function marked immutable is important because indexing on function return values makes only sense if the function is idempotent.
HDBC isn't in Platform!
As this video and the dashcam videos of the meteorite over Russia show, while ubiquitous video recording can erode our privacy, at least we'll be able to watch cool videos of natural disasters.

Props to the two for risking their phone(s?) to film this.
Well it was neither, as shown in the video he just pushed up the phone through the small hole, in the worst case scenario the phone would've been pulled out.

To me it seems that type of shelter to be more dangerous as if the roof was destroyed it could've trapped them in there. I don't live in a country with tornadoes so I'm no expert on shelters, but shouldn't it have been few meters away from houses?
Reading books has been a good way for me personally to pull myself away from online pursuits that break up attention into 15-second spans such as browsing HN and news sites. That tends to be the real addiction for me (...wait, someone is wrong on the internet! must post! must read replies!).

I don't see coding as an addiction. Sure, it is a time sink and feels good, but after a focused coding session the results are (usually) constructive and I learn new things along the way.

This is different from addictions which are usually a way of instant easy satisfaction, a "high", after which you feel useless and down when it weans off. Programming is nothing like that at least for me.
Semantics plus dead people plus losing the moral high ground.
Announcing the Perl Companies project
Facebook to take action against rape jokes, gender hate speech
Yes, with such high profile such as Kurzweil, we might even get the singularity emerge in Google Glass first. /s
Google pays open access fees for articles by Google researchers in ACM journals
Any GE innovation that claims to improve MRI can start with their user interface and poor functionality. I'm sure patients would prefer a quicker scan than a pretty room. I can get better images in less time on Philips and Seimens scanners, give me that tech and pretty up their scan rooms. And yes, I am talking about GEs latest offering (3T 750w). It crashes, the interface misses the first keystroke most times I enter a value, the ability to display images I have acquired is broken and images won't display. You can't stitch images frequently, it merges different patients data into one study (FDA notified, although I haven't seen this bug). Image quality is low resolution and artifact prone. The list goes on. Frankly, its broken. Avoid GE MRI.
Oh come on, Gates is the least damaging Robber Baron we have ever seen and is the one most likely to produce meaningful impact in the robber baron second philanthropic life.

It's one thing wishing that history had thrown up dedicated public servants who also ran vast software empires, but we play the hand we have been dealt. If we lose net neutrality, privacy, if the Internet is used against us, not for us, it's our fault. We can ensure the train runs on the lines we want.

Sorry not meaning to have a rant, just I think gates has stopped being part of the problem now - there will be another one along, probably worse, and we need to engage. Just frustrated. I respect your posts here normally.
I'm loving the comments under the article arguing about "NO VERTICAL VIDEO!!", hahaha :)
I am fairly sure that separating the audio and video content of a youtube video is against their TOS, and yet I see more and more of these music apps that use youtube as their source.
Hollywood doesn't need nor care about the web or the w3c apart from as a marketing avenue. They would be just as happy delivering all content through a standalone application, as they are doing currently.

Most likely the new generation of games consoles provides a more compelling platform for them to send content to you than a web browser.

There are no "CDMs in HTML5" , this is a nonesense statement.

There is no part of the proposal that advocates for any website to integrate any DRM solution, it is entirely a matter for individual site owners, the majority of whom do not want to put up hurdles for people to view their sites. The web will continue to work as it always has.
Hollywood does not have jurisdiction over the majority of web. They cannot force you to use DRM.
Sorry, but this sounds like a pre-alpha gizmo.

And not of the "beta coming in Fall" kind, the check-back-in-ten-years kind.

If, say, Apple was also presenting such pre-demo quality stuff, they would have flooded the media with BS. E.g they could have shown their iPad prototypes in 2004, in a similar crappy form.

Google only presents this half-baked shit to show us it "innovates". I'd rather know if they can deliver.
> While anybody can built partial web-browsers, they can't build competitive alternatives to those sanctioned by DRM-vendors.

That's true, but it's not connected to the w3c inclusion in the spec.

People hosing DRM encrypted video could stop your third-party browser from consuming their video with or without the w3c spec provision.
Facebook’s New React JavaScript Library Tutorial Rewritten in KnockoutJS
FWIW A good quote from Jeff Atwood "Think of Glass as the Apple Newton of wearable tech". In ten years time we'll be chatting to these glasses like its the most natural thing in the world.
If you are in the UK sign up for my only just started campaign. http://www.oss4gov.org

Basically local government should find local developers to build FOSS software to run tiny government only problems (electoral roll management software).

Open source code is a public good and should be publically funded ( but there needs to be some competitive market solution - still some kincks to work out)

Code for America has similar ideas in USA - they have fellowships to be applied for now
There are zero citations in this article. It appears the author imagined these ideas about dopamine and addiction and then wrote a blog post with zero scientific credibility.

Did I miss something? There is no research here, just a flight of fancy. We shouldn't discuss or upvote such garbage.
It´s an example that might work in the case of Telsa, and few other companies, but in general ?

Most of the damage to the environment has been made by companies making their own interests, and by the politicians that allowed it to happen.

The only obligation the owner/CEO of a company has is towards his employers/employees, and if it aligns with a general benefit for the community at large than fine, if not... well though luck it´s not really their job, is it ?

That's why a body whose main function is (supposedly) caring for the benefit of the community is necessary and I agree with the author's point that you can have a positive impact in different ways.

It doesn't make sense to say that we don't need government/politicians, we need GOOD ones, doing the job they are paid for.
Just disable the plugins or don't install them in the first place.
> so you don't have to learn JS

So you don't have to use a language you find deficient, so you can share code with your backend, so you can use the same tools you're used to ...
Mtgox account verifications
So, two years ago or so I started a project in the middle of my Master's -- not a great time to focus purely on that project. The idea was to replace Node.js's callback hell with Scheme-type promises (i.e. deferreds), ideally preventing most applications from writing `function callback(err, value) {}` ever again. The Promise library was not bad and I might reuse it in other applications; it's only 250-ish SLOC if my memory serves me correctly.

But I quickly realized when using it that the project could not live up to my earlier ambitions. The problem was that I hadn't foreseen the problems in not being able to overload JS operators: something like half of the Promise library just wrapped the JS operators, so that `this.gt(that)` becomes a deferred representation of `this > that`. This kind of worked, but I began to lose interest in this general approach when I started to struggle with how to idiomatically represent (a) variables, (b) if-then-else constructs, which are right now of the form promise.then(promise_if_truthy, promise_if_falsey), and (c) composite statements.

Fortunately, I found the right thing to study, and off-and-on for the past year I've been studying it. The right thing to study in this case is Haskell, because the way that Haskell reduces 'do notation' to a pure sequence of function applications is precisely what you need above to solve (a) and (c) at least.

Another idea was to take a revision control system like Darcs and try to move it, as much as possible, out of the realm of IO so that it could work on an arbitrary in-memory data structure as well. (I might then try to move it back into IO by storing the internal representations in a database, which would probably look a lot like a graph database or like Datomic) This is a great idea but it has stalled because the handling of dictionaries requires 'confluently persistent tries'. There's a great paper on these by Erik Demaine et al., where basically they make functional link/cut trees and build the system out of those, then optimize them to languages which aren't functional as well. I say 'there's a great paper' on it but actually that paper is an incremental result, not a tutorial -- so while it looks really interesting it's required me to learn a tremendous amount of new concepts before I can even implement it.

What I am trying to say is this: is this a code addiction? Probably, but that's not why the projects are stalling. The projects are stalling because my Master's degree and interest in physics have become more important. Computer programming has only a second-order effect on the brain; the first-order effect is distractions. We should not write articles on the problems of being addicted to computer programming, the time I spent programming yesterday, while substantial, is about as long as I've spent typing this comment today. This comment (or other distractions which might replace it, TV or comparative religion podcasts or whatever) is more of the problem than the programming.

I wish the things that competed for my attention had a simple ordering relation.
Did anyone get a cached copy of this article? Seems like there is a DNS failure with Heruko, either that or Craig nuked his blog for a day.
Theoretically yes, but ngResource is kind of the achilles' heel of AngularJS right now. You're often better off using a different library or making your own class with $http requests.
I use multiple accounts for this kind of filtering, main account, shopping account and throw-away account.

On the one hand I see this as the Office-ification of gmail, the accumulation of useless features that add bulk and complexity but not utility. On the other, this is Google's reaction to the phenomenon of people signing up for multiple things from their email account and getting cluttered as a consequence. Not for me but probably of great use to people with lots of social- and shopping- traffic.