skysight-inc/HackerNews huggingface dataset:
JSON doesn't support a Date/Time object because it's a data format. XML doesn't support a Date/Time object either.

XML doesn't support objects, but there was enough thought put into the implementation that it has an easy way to document and define the types, with validated ways of representation. ISO 8601 for the xsd:dateTime, for instance. There is no ambiguity or uncertainty, no hand-rolled varieties of crazy, quite unlike JSON world where there are a hundred ways to represent a date or date/time, all of them broken in some way or other.
"if media companies think this sort of solution is necessary, we should meet them half-way."

Or we could not meet them half-way and remind them that they do not own the web and that their business model is as out of date as Kodak. Why should we accept any more attacks on the freedom and openness of the web or the greater Internet? This companies are the ones who need to change: they need to adapt their businesses to the realities of this century's technology.
Show HN: Quickly copy a file between computers
Hey everyone, just wanted to share a quick project I built a bit ago and finally cleaned up enough to post.

The premise is simple, you have a file on one computer that you want on a different computer on the same network and don't want a lot of fuss.

For the file you want to copy, on the machine where the file is located, run:

./bcp filename

Now go to the computer (on the same network) where you want the file to be at, and run:

./bcp

The file will be copied over the network and you're done.

I created it as a nice way of not having to worry about ssh or anything else really. In fact, it is so simple, I use it on my local machine a lot when hopping around between terminals instead of remembering paths.

I have tested it on OSX and Linux.

Suggestions and comments welcomed.
Very nice! I've been using Chrome and Xmarks and getting very frustrated with sync conflicts between the two, across multiple machines. I pipe all my social media activity out to a Wordpress installation and have been wanting to do the same for bookmarks. Your implementation looks essentially like what I had in mind.

I notice it only displays bookmarks for this year. Is there an out-of-the-box way to configure this to paginate or display by year (like post archives)?
Being higher in the corruption perceptions index really means people in that country are consistently better at hiding it, so outsiders perceive it less.
I would like to know how they plan to get Firefox and Chrome to support that. As free software, adding such functionality would be moot, as it can be trivially by-passed.

Or do they want to ignore about 80% of Internet users?
The DRM is just one part of a strategy to make it just sufficiently unattractive to get a pirated version. Users can be worried about being caught, about their computer getting viruses, or just be put off by ugly websites and interfaces (Joe Schmoe isn't going to use get_iplayer at the command line).

If they can make pirated versions look shady and illicit, lots of people will be willing to pay a bit for an official version of the content. Part of that is implementing enough DRM that making a copy isn't as easy as right clicking the video and clicking 'save as'.
I still don't understand his logic for this: Element fullscreen is not going to be added because there's already browser-wide F11 fullscreen.

If pointer-lock only works in element-fullscreen in Firefox (on which he develops) then what other choice is there ? Nobody plays shooters with the keyboard since wolf3d, and the BananaBread demo does pointer-lock precisely via element-fullscreen.
Or we simply break all forms of DRM protection, like we've done in the past?
But what exactly would stop the FBI from sending agents to Singapore and conducting their own investigation, with or without consent? Need it be covert, it could certainly be covert.

I'm currently operating under the assumption (which seemed likely to me) that the Singaporean government / police had a motive for not wanting to involve the FBI. Hence the more reason for the FBI to be there.
True for Rails 3, though you can enable threading (multiple requests per process). Rails 4 will likely default new apps threaded, but that option would still have to be manually enabled for older ones. (I say likely because there are no formal releases yet, and it's still possible stuff will get pulled back.)
Agree. Though that's a bit ironic --- one of Heroku's selling points was scalability, at least a big part of Rails community believed it to be.
February 2013 Project Of The Month: Kiwix
Kiwix is an interesting project-of-the-month on SF - however, it shows one extraordinary weekness, that every developer can learn from - they are using a file format for distribution of content, that does not know how to update itself. read the comments to the SF article.

Git is here and shows us, how we can solve problems like "distribute and update" - how can git be used "as a file format" for applications?
Cooper Union’s Free Tuition Tradition May Be Near Its End
Nice idea.

For your ads button, having an id="ads" blocks it from people using Adblock.
Bill proposes that the US Postal Service pivot
A Tale Of Two Statisticians
Let say your average http request takes 200ms to serve, then with 5 heroku worker dynos you can serve about 10 million requests a day which should comfortably cover the requirements of most startups.

How much do those dynos cost ? - $143/month. That's less than three hours salary for a developer.

If your monthly budget is hundreds of dollars I'm guessing your traffic is low enough you can just use the free tiers of heroku, appfog, etc.
...and how does the patent help this? It sounds you had researchers paid on a grant, and a drug company that sold the fruits of that research. I am not seeing the case for a patent here at all.
You only need draconian laws like that to enforce the things you mentioned if the local population is naturally so uncivilized that they need to be intimated and/or treated like cattle in order to behave. I'm not saying that's what the Singaporeans are like, but it sure seems like their government thinks that's the case.

Seriously, if you need some crazy draconian law to make sure people aren't littering everywhere, then something is very wrong with your people's culture and level of civilization.

In Japan there aren't any laws like that, yet it's safe to say that it is the most civilized country on the planet. It's extremely safe, criminal violence is virtually unheard of, levels of cleanliness are superb and the people are generally very polite and pleasant in everyday situations.

It's a living proof that you don't need to intimidate people if their morals and sense of responsibility are in check and they know not to do "bad things" because they're wrong and harmful to the society, and not because they will get caned otherwise.
"Those post-docs doing research at NWU aren't doing it for their love of humanity"

[citation needed]
Content provider insist "We need DRM to make money with out current business model" ... we say tough luck - innovate and evolve without DRM. It is the same way FIA tries to push innovation in F1 - by strategically forbidding cheesy technologies.
How does modularity evolve?
Why are all these startups making the same mistake?

Forever is a looooong time, folks. As a business, you are completely stupid to use words like "forever," "ever," and "never." Things change, people change and users change.

Honestly, these "we'll never sell out!" pitches sound juvenile, nieve and ignorant of the realities of business and the world itself.
Michael Lewis - The Trouble with Wall Street
For fill-in PDF forms none of the other "readers" really do an adequate job.

That is not really relevant to a browser plugin. You can download and fill in PDFs with whatever application you like without browser plugins.
But if you actually believe in evolution then the problem will take care of itself because someone will come along and eat their lunch.
Ruby to build Node.js RaspberryPI
That worked very well. With mouse support it would be great.

Also, quite scary how well you remember the maps, 15 years later.
You have to come down to the source of the problem, trying to solve problems, not symptoms.

Also please stop reinventing over and over again things that are already perfectly done - use Erlang or at least reimplement ruby as erlang, then it will be fine.

Oh, somebody did this already...
http://elixir-lang.org/
I'm sorry, but I don't see how "GNU/Linux in Danger".

This is actually _good_ for Linux, as adding DRM to HTML will alleviate the need to use closed-source technologies like Flash and Silverlight to stream DRMed content. Getting rid of closed-source Flash and Silverlight is a _good_ thing.
>you can currently watch Madagascar, in full, for free on BBC iPlayer

Not if you're a license fee payer or a UK tax-payer. You already paid to watch it.
>The web as a technology doesn't care about today's laws or profit motives.

The web as a technology doesn't care about anything because it isn't a human being. Why are you anthropomorphising it and adding idealized moralities? If you have certain morals and worldviews, go ahead and express them in the first person as your own opinion. Because "the web" is a loose group of technologies being developed and shared between a lot of different competing humans/groups all with their own ideologies.

>Baking in DRM software into what should be an open medium of exchange is a first step. If the standard continues to evolve in that direction, the web will become something much different, and I think worse, than what it is today.

So vague paranoia about the web "evolving" into something bad is why this shouldn't be allowed? You have any specifics on what you think might next happen? I mean once the media companies have DRM in HTML how else would they need to change it? I would think they'd basically gotten all they need at that point.

>HTTPS protects communications from eavesdropping, but both parties are still fully open to each other.

That depends on what you mean by fully open. I can open an HTTPS connection to gmail.com, I still need to provide some credentials for anything to happen. gmail.com still has "total control". In fact in most any client/server HTTPS connection one party is going to have what amounts to "total control". I don't understand how DRM within HTML is fundamentally changing that situation. It's just giving the server copy protection over the media it allows the client to access. It eliminates the need for plugins such as silverlight/flash/etc. that are already being used. It's not like these content companies hand out their media unprotected as it stands.
>Also, isn't this 'degrading porn' meant for people who identify with the person being degraded?

It's for both. There is an entire subculture of people whose fetishes involve degradation on either side. Two important points to take from that:

1) It is silly to extrapolate to all porn from that. Those genres are targeted at relatively small demographics.

2) The fetish has nothing to do with those people's attitudes about society at large. Men who are into degrading consenting women in the bedroom are not, by and large, misogynists, for example. It's a sexual fantasy, not a political stance.

However, fetishes notwithstanding, I don't think it can be said that most mainstream porn is sex-positive or embraces healthy attitudes.
Introduction to GPUs and to the Linux Graphics Stack
garry, I hope you wont let armchair quarterbacks deter you in any way from pursing your ideas.
Obsolescence requires an old as well as a new. We have an old. But no clear new. Thus no obsolescence, just have a situation that doesn't work.

>"Why should we be concerned about inherently bad business models...vanishing?"

Because they may provide us something of value, e.g. content we'd rather have today than in ten years after some new distributor has figured his model out.

DRM could be considered a patch job, but no more than, say, land rights. Some societies, e.g. the Native Americans, had no concept of land rights. The U.S. likes strictly defined personal property. The British, and many Nordic countries, preserve a public "right to roam" to uncultivated land, public or private [1]. The balance can vary from situation to situation, but takes experimentation and an open mind to find. That is why we should care - because this is an active debate playing out in the twin forums of politics and markets.

[1] http://en.wikipedia.org/wiki/Right_to_roam
Singapore has many wide roads for a city, substantial traffic, reasonable speed limits, and many intersections with
at least one crossing having no crosswalk or pedestrian signals.

In the short time I have lived in Singapore, there were two kids killed by a truck, and I've seen two or three roadside signs appealing for witnesses to accidents with serious or fatal injuries.

So it's pretty much like other places. People can get hurt, and big brother is not all-seeing just yet.
The Old Reader - Just like the old Google Reader, only better
James Stevens | Get More Targeted Visitors For Your Site
> This is about the HTML5 spec

You're right, I got my wires crossed until I found the page with the spec on it (the first edit).

The end result is even worse; every computer has an obfuscated binary that does unknown things with media served to it. Sounds like the recipe for wide-scale pwnage to me.
And what would the result be? Everybody gets into bed with advertising, all the time? Why not simply make DRM super simple, kinda like adding an IMG tag to webpage is now? Then artists etc. can become the content providers, decide themselves what they want to offer and how much it would cost, and the audience in turn can decide wether that is fair or a ripoff. That'd be evolution worth talking about..

But if you just "outlaw DRM" (without having any ideas how to enforce copyright otherwise), what does that leave them with? Deals with third parties. The interwebs pompousness regarding this is just hilarious, considering all the middlemen the web is swarming with. What artist can do, or dares to do, without Twitter, Facebook, something like cafepress, maybe specific event websites etc.? Can you see my point? We haven't really steered them away from dependance on big money yet, and already they're getting entangled in a second layer. It's pathetic how easily that gets accepted.

Everybody should have their own website, content creators should have two at least, and the only "content providers" we should ultimately need are ISP's and webhosts, the rest I would prefer to be open protocols. We need more payment options without being at the mercy of individual providers, and we need to grow the fuck up and realize that actually, sometimes it's okay to ask for a bit of money for something that cost someone days, weeks, months to create. We don't rob every shop we see out of spite just because the cash register is locked, and I do feel the interwebs sometimes has that attitude to virtual goods. Evolutionary pressure might as well mean extinction, so maybe think twice.
Why would it matter? The initial attack vector is the same no matter the OS: Java in the web browser.
9 Entrepreneur Lessons Not Taught in the Classroom
Breaking DRM doesn't seem to be effective in terms of stopping people trying to apply it. The issue is not so much the DRM itself but how invasive the software is.

For example the ultimate form of DRM is the iOS style where code must be explicitly white listed by some authority in order to execute. This is potentially bad for all kinds of reasons that are nothing to do with piracy.
yes the mailman!
Here's what happen when you don't "sweet the deal"
http://www.youtube.com/watch?v=Z1pUm_ApNtU
I haven't explored what your describing, but I'm using a different solution. I'm adding backbone to an existing project and added some server side code that outputs the current model object as json in a <script> tag in the html page. This is passed to a new backbone model instance.
How does PNaCl compare in terms of performance to "native" code? It still has the compilation overhead, it still has a lot of the bounds checking… It's not clear to me that PNaCl will actually be much quicker than asm.js.
Emacs has evil inside
I'll never understand the web world.
A couple of months Backbone was all the rage and now no one is using it?
Get Ready To Lose Your Job
Good science fiction predicts the traffic jam, not the automobile
Discourse turns its back on CoffeeScript
CSS selectors also give me this bad feeling when used in javascript code.
Right. There are at least two different types of 'smarter'. Thinking speed is one dimension on which a mind can scale, but not the only one. A moderately competent chess player may play at grand-master level if given centuries of dedicated time to think about each move, but no amount of time-per-move will make a chimp a good chess player.
Agreed. But for anything that needs a browser plugin, you can run it in a VM, if it is your own hardware.

VM software is often free and extremely useful anyway for developers or security.
QEMU 1.4.0 released with 95% of native IO performance
> 3.5 years on HN and my first down-voted post

Honest? Then, if I were you, I'd try to be a bit less consensual from time to time. I got plenty of downvotes. I would hope even pg get his share, that would show sane critical thinking.
I don't think it's a given that this model is inherently bad, obsolete, or evil. Unlike say, horses and buggies, it's not clear that there's a superior alternative here.

In the case of video in particular, high quality content is still very expensive to produce. By removing the ability for movie / tv studios to make money from content, the likely outcome is we simply don't have big budget movies or high quality TV anymore.

Aside from all of the reasons why the businesses might want their revenue streams to stay intact, most consumers probably want it as well.
We're currently using Sammy + Knockout on https://circleci.com, and it is nice, but adding observables everywhere is annoying. I'd love to hear from anyone who moved from this to Angular or Embed?
I used to work for one of these companies in exactly such a role. Initially my mission in standardization bodies was to look after consumer rights, but it changed to accommodation of IPR patents in the DRM field.
There is a group of about 200 professionals in the DRM field, mostly former engineers (that have little grasp outside their expertise) and lawyers that work for companies with significant patent portfolios in the space. They are mostly the same crew, having worked on technologies such as SDMI, OMA-DRM, MPEG-DRM, DVB-CPT frameworks and others - technologies that never saw the light of day over the course of 15 years. I always saw it as a travelling circus - people moving from city to city and continent to continent. They work in a symbiosis with technology people from the entertainment industries, who are also part of the circus.
What's important to note is that these people have big named companies on their business cards, but mostly have little involvement into day-to-day business and any products. They frankly just try to keep themselves important and thus employed.
Until you give the people in the wandering circus a new assignment, they will always need to find new targets for their technology.
I think that is the true reason underneath many of these DRM accomodation efforts into standardization bodies.
Yup, I came here to post that.

Can we put pressure on Google, Microsoft and Netflix to not promote this? That makes more sense than targeting the BBC, which is just in one country anyhow. Our targets should be the multinationals, Google and Microsoft.
It is not optimized at all yet - still using software rendering in pure JS. Will be more interesting with hardware acceleration, I intend to work on that with the author of these ports.
> So vague paranoia about the web "evolving" into something bad is why this shouldn't be allowed?

We should be paranoid. Media companies do not have our interests or the interests of an open web at heart. Give an inch and they'll take a mile. Why shouldn't they? The fact is that DRM benefits media companies almost exclusively while seriously harming user freedom. That's not vague paranoia, and imagining it evolving into something worse isn't an unfounded fear either.

> I can open an HTTPS connection to gmail.com, I still need to provide some credentials for anything to happen.

Do you mean logging in to Gmail? That has nothing to do with HTTPS. HTTPS ensures that two parties can communicate in any way they wish without being eavesdropped on. (And it also suggests trust, but that's a different issue and the spec allows the same eavesdropping protection using self-signed certificates.)
"EBS Priops seem promising and different."

We run many busy PG databases on PIOPS. The difference from normal EBS is huge. Very happy with PIOPS.
> It will just be an open standard that allows those who use it to implement DRM on their content.

As somebody who's made quite a lot of websites for quite a lot of people, I suspect that equates to "the internet will eventually be almost entirely DRMed".
I know that evolution works, but as recent bills in some states shows it can be "outlawed" with enough legislation.

After all money can buy laws that are stratificating current big players and preventing new ideas from entering the marketplace. There was a recent opinion (should check techdirt which politic said it) that insisted on preventing disruptive for copyright holders technologies entering the market freely.
Draw over any webpage simultaneously with other people.
I can see the future: a BBC iPlayer which only supports a few specific web browsers. And the masses will happily "upgrade". All PC manufacturers will ship browsers that support DRM out of the box. (The users want their software to Just Work, after all).
this push requires converting the web into a closed platform

How so? It requires the ability to have "locked" content and a mechanism to "unlock" it, but how does this affect anything else? Honest question.
I'm alarmed. They can lobby to outlaw owning or distributing DRM-free browsers, just like the push to make DVD-ripping technology illegal.
Someone who worried he was harming national security and then continued at his position for any time could face repercussions from the USA government for that. Obviously in hindsight it would have been better to get Shane out of the whole situation by any means necessary. In general, however, you shouldn't get FBI files started on your loved ones. After all, what would seem more likely: that one will be hassled by the FBI after one's mother calls the FBI, or that one's widely-respected first-world-government-affiliated employer will orchestrate one's murder upon resignation?
In practical terms, most of the publicly available stuff is demos. It's easy to create demos of open source projects and publish them immediately.

It takes longer for commercial codebases to be ported, pass all the stages of productization, and be officially launched. My prediction is for a few such projects to show up later this year.

With that said, there are some uses of emscripten that are not demos. For example emscripten was used to port the crunch decoder to JS in gl-matrix, and that might well be used in non-demos. Also there are educational sites using compiled languages like repl.it as another commenter mentioned. I've also seen a few other practical uses, e.g. of sql.js in sqlfiddle.
The Tweet Hereafter collects the final tweets of the recently deceased
I might be just an idiot but it took me a good thirty seconds before I realised I had to scroll, I was clicking the phone trying to see what the CTA was
I'm amazed at how many elite-school tech types idolize Singapore for some strange reason. I've heard a number of gushing recommendations for the place from the MIT/Harvard set.

I personally see it as some kind of horrible sci-fi "Stepford Wives" "smile or die" dystopia... like a yuppie latte-sipping upscale version of North Korea. It makes me thankful for ghettoes and dirt and bums, given the alternative.