skysight-inc/HackerNews huggingface dataset:
Look past surface (asm.js or JS syntax) to substance. Browsers (not just Firefox) have a VM, with multiple implementations and amazing, continuously improving performance.

Any from-scratch VM could be great, and I hope someone skilled (not a big company big-team effort) does one. Short of a new market-dominating browser, good luck getting such a new VM adopted and then standardized with two or more interoperable implementations cross-browser.

Shortest-path evolution can get stuck, as some here fear, but JS is nowhere near stuck.

Indeed JS is evolving before our eyes into a multi-language VM. asm.js and Source Maps are just a start, and we could have a bytecode syntax (or AST encoding standard, alternatively) down the road.

But any clean slate work along those surface-bytecode-language lines, not to say a whole new VM, is high-risk and low-adoption (at first, and probably for a while) by definition, compared to small evolutionary jumps for JS syntax and optimized parsers and JIT'ing (and with asm.js, AOT'ing) runtimes already in the field and auto-updated in modern browsers.

/be
> if it's not "existing" enough to enable in Chrome?

It exists, is included in Chrome, and users can enable it. Its not enabled by default, but it definitely exists and is deployed in the stable version of Chrome (and not just the most recent stable version.)

> what makes you think it's "existing" enough to enable in Mozilla?

There's a difference between "Mozilla can't use PNaCl because it doesn't exist" and "Mozilla doesn't want to use PNaCl because it hasn't reached the maturity point where Google is ready to enable it by default in Chrome".

The first relies on a false premise. The second doesn't (though its still a false statement; Mozilla doesn't want to use PNaCl because they are committed to JavaScript-as-the-engine-of-behavior for the browser; their primary objection to every other alternative is that it isn't JavaScript. This is a perfectly legitimate preference, and there is no need to confuse the issue with false explanations.)

> "Existing" for PNaCl also includes being specified enough to actually be implementable, which runs straight into Pepper.

No, that's not what "existing" means.

That's not to say that issues with the degree to which the Pepper API is well-specified aren't potentially the basis for legitimate opposition to using Pepper+PNaCl in browsers, its just completely nonsense to say that PNaCl doesn't exist (when it manifestly does and is widely distributed). If you want to argue that Pepper is underspecified, then argue that Pepper is underspecified, not that PNaCl doesn't exist. Because the first may or may not be a legitimate argument, but the second is just nonsense.
Wait - are you saying people could (were it legal) simply order this stuff from a company? Can you give me some kind of reference for this? If so, I could see people reaching out and finding others capable of placing the order.
If all you're doing is trying to serve JSON as fast as possible.
Worked for me, Mac OSX 10.8.3 Safari 6.0.3
If you like the vim key bindings, and you use Chrome, you should check out Vimium. It will let you browse without ever touching the mouse.
This article is from 2011, and there are no known tests since then.
Millionaire teen app maker explains who helped him before sale
Good on them. Love to see technology with positive applications.
Ask HN: Why would you use a cloud IDE?
This question is genuinely asked. Over the last few years various companies have started work on cloud IDEs, with admittedly impressive results in many cases. But personally, I've never been able to really identify a motivation for me to use one. Perhaps this is because I'm not very web-centric in terms of the code I write.

I feel like I must be missing something significant if people are putting a lot of effort in to something, so how do other people feel? Is the cloud IDE approach scratching a real itch, or is it being done because it can be? (My admittedly slightly pejorative initial reaction a few years back).
Launched Today: Google Shopping Express – Same-day delivery from local stores
My vote goes to Soulver (http://www.acqualia.com/soulver/), which is basically the best calculator app ever. Useful for so many things, from figuring out algorithms to doing taxes.
http://vim.sourceforge.net/vimgor/
Monsanto Protection Act passes Senate
Reading patents even remotely related to what you work on has the possibility of increasing the chances any patent infringement suit can be considered willful infringement, which carries a much stiffer range of penalties.
You can have your cake and eat it, too, with open-source publication. A Google-style search engine can give you a custom search of papers to allow bot good filtration, and cross-pollination. The key is for the papers to be open.
Thank you very much Josh. Stoked to see it out there.
The Analogy of Print and Code Reviews
Why are graylists that horrible? All it does is require the sending server to retry 5 minutes later; I don't see how that would have any impact on a business unless they are in the habit of being on the phone with new customers and asking them to send an email at the same time.
Producing Beats and Music for Beginners to Advanced
> Is the US' international reach down to its military, or its money?

I think it's down to the military, to be honest (Note: I'm completely biased by my own affiliation with the Navy).

However Coca-Cola may have got their start, they are now a multinational and can't be claimed to have any great allegiance to U.S. interests.

The military is what gives the U.S. the clout to work diplomacy and lead policy amongst the nations. I think the best example of this is the South China Sea which is looking increasingly resource-rich. China has expressed great interest in this region (right up to the borders of the Philippines, Vietnam, Malaysia, etc.), and is currently on a crash program to greatly expand the PLAN (People's Liberation Army Navy).

This is one of the driving reasons that President Obama and the DoD have enacted a "strategic shift" to the Pacific/Asia area because even in areas where the U.S. doesn't have a direct economic interest, the U.S. has indirect economic interests, in keeping natural resources within the effective economic control of their allies.

China has already heavily clamped down on rare earth production as a tool of economic and international political policy, so they've already demonstrated that they are willing to use monopolies on natural resources to their advantage (I'm not saying this to complain; just calling it how it is).

Money has substantial underpinnings in psychology (which is to say its value fluctuates wildly depending on what people think it's worth). And, sometimes you can't simply buy a country off. China is the example now, but for much of the period you discuss the example was the U.S.S.R. The Marshall Plan was successful in helping Europe recover, but the U.S.S.R. didn't allow its satellite nations to participate, and this isn't even going into the U.S. and Allied military efforts that kept the U.S.S.R. from expanding even farther.

When diplomacy fails the last resort for a nation's interests is the military, and the perception that its services are actually available.

I agree with rayiner on this much; Americans on average are very well off compared to much of the rest of the world. I would go further to say that Americans don't understand that their great advantage was never automatic. Not in the past; not in the future.

Now, given that the U.S. military was off doing what it was doing it would be foolish to claim that the follow-on economic effects weren't also important in U.S. hegemony, but I don't think economic factors played the major role.
Paranoia and PTSD Common in Mugging Victims, Researchers Find
Researchers have found that muggings can have lasting effects, including paranoia and PTSD, highlighting the importance of mental health services for victims of violent crime.
Twilio = good people, good work. Good job!
Yet this clearly fits into Google's product vision where (for example) you could be shopping with your Google glass, see a product that is offered at a discount, but you can't fit the product into your small autonomous vehicle. You purchase the product and continue shopping, have a google now card pushed to you warning you that the product will be delivered to your house in 30 minutes, use your Nexus phone to turn on the A/C in your house as well as the outdoor lights and the room in which it will be delivered and have the back door unlock for the delivery person. Receive a confirmation of the product being delivered as well as a visual recap of the product being placed in your home as well as a request for adjusting your home's settings (relock the door, turn off the lights and A/C). It sounds like a pretty focused plan IMO.
I'd be curious about a gevent-worker-driven server, too. Presumably they're running Django on either a thread- or processor-driven concurrency server, and gevent can show some pretty major gains. You could also do permutations of these: gevent on pypy (using pypycore), etc.
asm.js is not a redesign of JS from the ground up, it is an evolutionary step in improving support for a certain style of Emscripten/Mandreel generated code that Google is at least somewhat interested in, given its inclusion in the Octane benchmark.

Performance improved in Chrome on at least one Emscripten benchmark when generating asm.js code rather than the previous backend, without any further change to Chrome, probably because asm.js does a better job at formalizing the various assumptions that this style of code relies on.
I've subclassed NSManagedObject and added instance variables and custom accessors literally every time I've written Core Data code. It's usually not a problem -- yes, you do have to do a couple things to preserve the underlying behavior.

What problems have you had?
Wait, so are Software patents acceptable but patents on mathematical algorithms not okay? Where is the rational in this? Granted, the patent in question is absurd to a new extreme (trying to patent floating point numbers).
> Why do you distrust Apple and Microsoft and ascribe bad motives to them based on their commercial interests, but fault Mozilla for not jumping on Google's Pepper treadmill like a good little-brother caricature?

I don't distrust them, or ascribe bad motives. I ascribe motives that align with their economic interests -- it doesn't matter if they're bad or good.

> Google has commercial interests too, and they have spent >$1B a year on Chrome -- including advertising and bundling that directly targets Firefox users. (It's amazing we are still alive, and possibly even growing desktop share.)

How much does Google spend on Firefox's search deal? What do you see as Google's commercial motive with Chrome?

My reading (in the context that I have some family that works on Chrome) is that their primary interest was ensuring that they could help push the web forward, and not be beholden to external interests in doing so. They have an interest in open platforms insofar as it gives them leverage over the much more strongly established platform players (eg, Microsoft, Apple).

> asm.js and evolved Web APIs (which developers need anyway) are winning.

The interesting thing is that if asm.js has sufficient adoption, the 'web' part of the equation may very well not matter at all.

If Google maintains their efforts on (P)NaCL and can provide better performance, end implementors may target both asm.js and NaCL, with shims for platform-specific functionality (not unlike most game development today). Once you're doing that, you can also target other native platforms with the same code and tooling.

So I don't think asm.js is all bad. Ironically, it could very well be the escape route from JS/HTML/CSS/DOM that we've all been praying for ever since the idea of the web app came into being. Not because it's the best technical solution, but since when has technical correctness outweighed market forces?

> Evil-me on my Throne of Skulls didn't ordain this outcome.

Of course not. But "evil you" certainly has a hand in it. There are only 4 real players in the browser market, and you're one of them.

In fact, you're the one that decided to ignore what Google has been doing and invest in asm.js to begin with, so divesting any claim in the role of asm.js's possible ascendency is a bit of a stretch.
http://www.fincen.gov/statutes_regs/guidance/pdf/FIN-2013-G0...
>The App Store is a huge mess - there is effectively no web frontend for it, it's tied deeply into a desktop application, and it's obtuse.

I was a little shocked when the switched to the 'card UI.' On a mobile device where there is very little real estate, they completely nerfed the amount of app information on the discover screens. Added so much physical effort and time it takes for the user to peruse a like number of apps compared to the former UI.
I am only interested in hearing about this from people who already actually understand vim. It is not that hard to understand, but if you do not understand it then you are just going to produce something else you like and fail to capture what worked in vim.
Generate retina ready graphics from PSD
Obviously if they optimized each and every one of these benchmarks we would see different results, but it would take a massive amount of time to learn the ins and outs of each framework to the point where you can do so effectively.

For one person do a benchmark over this many samples, they have to just go with the out of the box setup for each.
> Saving a Core Data transaction on one client may generate multiple operations which are replayed interleaved with operations from other clients.

Interesting; I've implemented OT myself, and this is not a fundamental failing of the concept: in fact, even fairly simple implementations like ShareJS do not succumb to this fate (the easy way to model it is that you end up with larger macro-operations that are capable of transforming eachother's components, while still having to be played back one macro-op at a time; you also just stop playback while a transaction is in progress). I am totally willing to believe that Simperium's implementation (which I believe thinks about the separate objects as separately transformable documents) may have issues here, though.

> Worse a client can apply operations without conflicts only to find that its models no longer pass its own validation rules.

This is certainly true, but is endemic to the entire idea of offline synchronization and has nothing to do with operational transforms: you simply can't do this without accepting "a new set of constraints on how applications should model their data in order to successfully apply operations from other clients"; this is clear from CAP (as rather than become unavailable when the network is offline/partitioned, we have to lose some consistency).

> That may not be a popular sales pitch but I'm reluctant to feed structured data through a service that doesn't at least discuss the model and its constraints in some detail.

This is totally fair. (I can entirely appreciate it as well, as it reminds me of all of my complaints regarding how seldom you would hear companies like Parse and StackMob attempt to drill in how important security should be while using their services, at best leaving it as an appendix in their documentation. I believe they have at least been getting somewhat better about this since my talk on the subject at last year's 360|iDev.)
I've found the 'couple things' to introduce enough overhead, that when coupled with the other downsides, Core Data hasn't saved me time, reduced LoC, provided any performance advantages, or improved code quality.
That Google could be considered a buddy is the hyperbole here, not the ride to the bus station.
There's a certain irony to a post criticising 30% profit margin being popular here, when many of us are in the tech industry where profit margins of 70%+ are the norm.
It's not that bad. "All" we have to do is implement everything in Lisp, since Lisp can be reduced trivially to the lambda calculus.

Once again, Lisp saves the day! ;)

EDIT: I'm totally looking forward to experienced Lisp and Haskell programmers like me being in high demand for their legendary skills... at invalidating patents!
Thanks for the feedback! Most of what you shared is in the pipeline for development.

We're in the process of redesigning the exercise search experience. We'll be adding in more granular analytics over time (i.e, measuring your performance over time tied to a specific exercise). Selecting a day in the calendar and viewing the exercises completed for the day is also planned. We understand this is incredibly helpful when viewing your exercise history too.

To your last point, this issue is solved by making a round of the exercise and treating each round as a set. When you get to round 3 (aka set 3) of your exercise, you can change the # of reps from 5 to 4, specific to set 3.
I second this. Doing this has ruined my friends DSLR. Not sure the technical reasons behind this, but it does indeed have consequencing effects.
Effective log management in the cloud with Splunk
I thought it was like a 10 yr old talking about how silly it would be to buy a car. After all they cost a lot of money and hey you can get anywhere on a bike.

That kind of discussion doesn't have any understanding or appreciation for the actual situation. Its a view looking from the present into the future versus a view in the present looking to the past.

But you can't miss what you've never experienced. So some decisions look correct when viewed from one direction in time and incorrect when viewed from the other. So far the number of people I know who have never had kids and wish that they had, exceeds the number of people I know who have had kids and wished that they didn't. Its not scientific of course, just another anecdote. Since I get a lot out of having had kids and raised them I feel sorry for people who won't have an opportunity to experience that, but I recognize that their experience could just as easily not be a positive one.
I was a little surprised not to see one recent shift toward open access mentioned in the article: the SCOAP3 consortium's deal to make the vast majority of particle physics articles open access starting next year. The links below give details, but the short version is that a very large group of libraries and funding agencies have struck a deal with many publishers: the publishers will release all high energy physics articles as open access, and the libraries will keep paying as if they were still subscribed. Thus, the publishers' revenue doesn't change, but the whole world benefits.

This doesn't address all of the issues surrounding the publishing industry (not by a longshot), but I think it's a model worth considering when having these discussions.

http://scoap3.org/
http://www.nature.com/news/open-access-deal-for-particle-phy...
Whether or not a startup succeeds is not about probability, it is about producing a good product that people want. If you have the time/talent/resources to produce 20 different solid products that people are likely to be interested in using then go ahead. However I think this is very unlikely.

More often then not building a product that is capable of success requires a lot of commitment emotionally, mentally, and financially. Realistically being able to provide this level of commitment across several companies is not possible for the vast majority of people, and not giving each company enough attention will spread you too thin and will likely end in all of them failing.

Ultimately if you can create multiple products capable of success at then same time then for sure, go for it. But most people can't do that, and in the long run one company that produces a really good product people want is a lot more likely to succeed then 20 that have ok products that people may or may not even want.
They're also more directly comparable to processes than threads, as they do not share memory (though there are a couple of proposals to allow them to).
Agreed. We need to get the Play benchmark code updated to do the database queries in an asynchronous block. Accepting pull requests! :)
Why is Google getting into this? I don't see the value in this. I agree they will get my day to day purchase data but is it worth going through the hassle of launching a physical delivery service? Its just not scalable as quickly. It consumes way too many resources and is a mess to handle the logistics and at the end of the day the margins cannot be high unless they are also selling the goods themselves. Will it be competing with Amazon soon?

If not unless my daily purchase data can offset that revenue somehow I don't see how they can sustain this for long.
They aren't without their downsides, but they remain better than the alternative on balance.

That's not a credible claim. Tell that to either of the two people that left those comments.

Sure, there's risks inherent with experimental drugs, but these people are dying or losing loved ones. They don't give a damn, and none of us has any right to stop them from taking those risks with their own persons. Their bodies are their own, they are not yours.

And frankly, the snake-oil salesman claim strikes me as little more than FUD. People can get recommendations from multiple MDs before making up their minds.
The regulations and fees around building a house are ridiculous in California. I would love to build a house of my dreams, which would be about 1500sq ft, big garage, on 1+ acre and energy efficient. I could easily afford to buy the improved land in Northern California with cash right now (1-5 acres). But there is one problem, the local governments have made that impossible unless I'm rich. It's $60k+ just to break ground on a piece of land that already has a building pad, water meter and electricity, all due to fees. The Department of Transportation mitigation fee is $37k alone. I'm not sure if these are liberal or conservative policies, tighter regulations due to unions, or environmental regulations (see SF Bay Area regulations in Contra Costa county - sorry no source).

So in the mean time, my only choice of buying my first home is some piece of shit stucko house in the suburbs.
Sometimes is not only about "what" but also about "how".
to be honest I am currently lost on the state of oauth in python, has sth changed since this post http://pydanny.com/the-sorry-state-of-python-oauth-providers...? as OP is a client lib, could somebody with practical experience tell me what's the current best library for setting up an oauth provider? bonus question: should I bother with 2.0 or stick to 1.0 (3rd party apps and mobile) http://hueniverse.com/2012/07/oauth-2-0-and-the-road-to-hell... ?
Indeed, there's a delicate balance between customization and fragmentation that can't be ignored.