skysight-inc/HackerNews huggingface dataset:
I saw Ken present on this in Atlanta the other night and was wondering about with: :exception in Rails 4. Great talk and article.
That is slick! Too pricey for me but super nice looking.
I find it odd that a language whose entire purpose is mixing code in with html doesn't come with the ability to automatically escape any echoed string by default. If you're not using something like Twig you have to wrap each variable in htmlspecialchars or something.

The argument that 'PHP is a framework' may be valid, but as a framework, raw PHP kind of sucks.
>This means that global variables, dynamic variables (variable-variables, variable function calls, etc) and references are not allowed.

Globals, sure, bad practice. Ideally we wouldn't have any. Dynamic variables make sense to exclude, it turns static analysis into the halting problem. Luckily they're a bad practice too since 5.3 introduced closures.

But references?

EDIT: It's by Anthony Ferrara! and some other pretty big names in the PHP community
I'm going to assume the cost is the novel research behind this. Trying to create fusion in the first place has been researched for decades. If this works, and they can do it at scale, a new reactor wouldn't have the same cost as all the previous research attached to it.
I'm prompted to read some now but can't seem to find any of his writing on the iBookstore, Kindle or project Gutenberg, does anyone know how to find a digital copy?
It's easy to be critical, especially here, but here are a few thoughts:

- Your DSL is really obscure. The syntax needs a cleanup, or it needs a lot more examples in the documentation showing how to generate useful content from this.

- Names are important. This wasn't a good choice; I'm just going to leave it at that.

- It would be really useful to preface the documentation getting started guide with something like: Here's an example of a problem this solves that other tools don't solve, or that is difficult to do with other tools. Here's a comparison of other similar tools and how it's more difficult to do blah with them.

Templating languages are a dime a dozen, and if you write a new one, no one will care.

...but this isn't really a templating language; it's a procedural content generator using a DSL.

I think you could do a lot of interesting things with the ideas in this, but it needs to be explained clearly.

Hope that's helpful. :)
Visual studio just added support for Bower and Grunt[1]. I'm thinking that might help us separate the ecosystem again -- nuget for server-side, bower/grunt for client-side.

[1] http://www.hanselman.com/blog/IntroducingGulpGruntBowerAndNp...
Ask HN: Do you write your own content?
We have a small startup of ~10 people which are all tech savvy but none of us are amazing writers. Should we write our own content even if it's average? Is it worth hiring a content writer full time or just going freelance?
(Content includes blogs, website pages, newsletters etc)
> He says - "progress and innovation may depend less on lone thinkers with enormous IQs than on diverse people working together"

> Not too sure about that.

Why would that not be a thing?

I mean, I am not the smartest person on my team. The list of things I know very little about is long. But I occasionally ask questions that are really obvious to me that reorient the discussion because people didn't think of them--problems that were Too Obvious To See up close, you know? And, similarly, when working in stuff that I do know a lot about, I find myself ignoring things that are to me so obvious and basic that my brain just goes right by them.

Innovation isn't like Civilization, you aren't just generating lightbulbs. Diversity of thought process leads to some inefficiencies, but it helps you reach new global maxima.
New Relic promotes its conference with minstrel-y video
What truly amazes me is that the US actually stopped doing it.

> That regime remained in place until March of 1972, when peak oil extraction in the US meant that limits were no longer necessary --

I come from Europe, where tons and tons of regulation is no longer necessary, but has somehow transformed into yet another tax. Oil price controls were introduced in Europe as well, but they somehow transformed from a bottom under prices, into a 40%+ tax on gasoline.
Ah, the less traditional "this book is free in the United States but expensive in India" school of publishing. Whoever owns the Indian copyright must really resent the internet.
Tying two threads together

"So far, the vast machine exists only as 1.8 terabytes of digital information..."

A 512GB SD card was on the front page here today, 4 of those would hold all the plans for powering the planet for the next 30 million years. That's basically the size of half a playing card.

After reading the article, I wonder if the real issue to building something like this is as much a managerial science problem as it is a hard science problem. Complex endeavors like this should be hotbeds of social science research.
TeraExchange launches first US-regulated Bitcoin derivatives trading
Here in Philadelphia, software developer interns are typically paid $15-25 per hour. Drexel University runs one of the nation's largest coop programs (required work experience as part of the degree), and the employers that work with them to list jobs for students pay an average of $16,000 for 6 months across all majors. Most of the majors with a coop requirement are engineering related, including CS.
They are already selling. This acquisition won't affect that. It will help them get more publicity with more resources and more expertise. The numbers will be going up, not down.
You make it sound so easy. In medical hardware it's anything but.
But it appears to work when the person taking the placebo diagnosed their own cold coming on.
Reminder that you can see traffic count of bitly links by adding a + to the end of the URL https://bitly.com/1m1lGdi+

43 clicks as of now (10:49PM ET).
I love their EdgeRouter Lite product. a super cheap Vyatta based router that can do pretty much anything. How does this product differ from it? Searching the feature list and it seems similarly capable?
DMCA covers copyrights, not trademarks.

Anyway, I'm sure The Onion would love to get a C&D from Comcast. They'd have a field day with that.
Surfers Tame China's 10-Foot River Waves
About 15 years ago, taking a daily Centrum led to a persistent state of elevated AST and ALT liver enzymes indicative of liver damage over a period of about 3 years. My doctor recommended I stop taking the vitamins and I have not had elevated liver enzymes even once in the last 15 years. Now I just take vitamin d (tested as deficient) and omega 3 fish oil for heart.
>> Samsung doesn't have the fingerprint reader
FWIW, I think the latest Samsung devices (or at least the S5) have fingerprint readers.
You guys should definitely consider applying to Y Criminator.
This appears to be the code behind "These Koalas Are Refusing To Load In Support Of Net Neutrality": http://www.clickhole.com/article/these-koalas-are-refusing-l...
I have two thoughts on Apple Pay:

1) Android has had cardless payment for 2+ years now via Google Wallet. That being said, Japan has had similar technology for way longer. While the marketing machine that is Apple made sure to let everyone know how magical/revolutionary/awesome/brilliant this form of payment it, Apple is late to the game. Similarly, other products such as Softcard/ISIS exist too from non-smartphone companies. Thanks Apple for finally catching up.

2) Apply Pay will, however, finally give cardless payment the push it needs. Apple has the market power to get retailers to start (read: more than rarely) embrace this technology (for example: Passbook & tickets). That I can fully support Apple for as the iPhone is the single best selling phone and will get NFC into the hands of millions very, very quickly. And with the volume of devices + Apple's marketing of Apple Pay = great news for payment.
FWIW, I think this is absolutely fucking genius and everyone should check it out...

...but I can't give you money without Java/Scala support. Roadmap? Pleeeeease? =)
Thanks for this, exactly what I wanted to see. It has dragged my thinking forward by miles. I should invest time in MPS, embeddr etc.
Neat in-vessel assembly video: https://www.youtube.com/watch?v=pt70mO2nQac
Ask HN: Do you write your own content?
Most of us are very tech savvy but if you're like me an average writer. Do you write your own blog posts, website pages, email newsletters etc? Or do you freelance it out?
The Way to Beat Poverty
>PHP is not any more insecure than other languages.

This is debatable. It's not if you know to avoid many awful components of the language that are pushed in tutorials (like extract, or mysql_query, or register_globals, or loose comparisons).
Yeah, the BBC have turned into a big giant bunch of dicks. Here's what they're up to in Australia, out of all places:

http://torrentfreak.com/bbc-isps-should-assume-heavy-vpn-use...
I imagine the biggest reason is actually portability. glibc [1] doesn't have strlcpy/strlcat, for example.

1 - http://lwn.net/Articles/507319/
You don't want fish oil for supplemental vitamin D, you want cod liver. It's usually on the shelf next to the fish oil.
Like a PGP web of trust?
This sort of reminds me of professional wrestling.

[0] https://en.wikipedia.org/wiki/Kayfabe
The very first digital SLRs were made the same way: by replacing the film transport of a traditional camera with a digital back. Kodak did this with many camera models from Nikon and later Canon, all of them branded Kodak DCS [1]. The DCS 420 seems to me the most iconic, with a digital capture device exactly the same size as the original film body, bolted right on.

It took a decade for DSLRs to become truly integrated, no longer plausibly convertible back to film. During this time compact digital cameras were born, but not as conversions of 35mm compact cameras. Nikon went straight for the crazy with the Coolpix 900 (OK, they had an even weirder 100 model that no one bought); Sony had the Digital Mavica writing to floppy disks (!), and Canon went ultra-compact with the S10. All this back when Digital Photography Review was a tiny independent site with reviews written by one guy (yet always the biggest site of its kind).

We've come back around a bit, with Fuji's X10 bringing back not a true film camera but at least the aesthetic. Olympus, who made unconventional film cameras in the 70's and 80's, didn't miss a beat of their alternate drummer. Konica as used in this article merged with Minolta and then sold the camera business to Sony, so it's entirely fitting that a Konica film body be merged with Sony electronics.

And Kodak, well, RIP.

[1] http://en.wikipedia.org/wiki/Kodak_DCS
> "The ibis, however, remains susceptible to an ancient practice out of its control. During one of her migrations last year, Goja was shot and killed by hunters in Tuscany. Fritz’s team estimates that as many as 49 of the 102 ibises they have led to Tuscany have been killed by illegal hunters. The new European Commission grant includes money for an anti-hunting campaign, focused on ending illegal hunting in Europe."

Seems to me they were better off not migrating and stopped for a good reason (they're also critically endangered). I don't think throwing money at the problem is going to change those people's bad habits either.

Some Europeans have a bad habit of illegally shooting migrating birds[1] and others have a weird notion of wanting to pay good money to eat them[1], despite the bad taste. No idea if the ibis is suffering from this same practice or was just killed for someone's enjoyment.

[1] http://ngm.nationalgeographic.com/2013/07/songbird-migration...
Direct Link: http://www.kimeralive.com/private-mail-services
register_globals was removed several years ago;

mysql_* functions all have a big red warning at the top of the docs pages warning users not to use it;

extract has a big red warning about using it on untrusted data.

PHP shouldn't hold developer's hands, but it does enough to warn them away from the Here There Be Dragons.
But given a situation where exact integration is intractable (like chess or Go), I'm not too sure what the difference really is, because it is those cases (on first thought) where the uniform distribution is useful--if you can see to the end, you don't need to care about bias, right?

Put it this way - suppose I can cook up a deterministic quadrature rule, e.g. quasi monte carlo or an asymptotic expansion. I assert that the quasi monte carlo will work just as well as monte carlo, probably better if convergence is faster.

If I'm right, this is a situation of "yay for uniform distributions". If I'm wrong, it's a "yay randomness" situation. It's nice to know which situation you are in - if I'm wrong, there is no point cooking up better deterministic quadrature rules.

Incidentally, LCG is known to be useless for monte carlo due to significant autocorrelation. So it's quite possible that people using LCG are incorrectly estimating their evaluation term.

Also for me, it's nice to know these things just for theoretical purposes and to enhance my understanding.
Seed Is Creating a Truly Idiot-Proof Internet of Things
Certainly my own blog posts. Copy for homepages, I tend to outsource editing. I'm probably going to have to outsource non-technical support articles too.
10^14 is bits. When you divide 10^14 by 8 you get 12.5 trillion bytes, or 12.5 TB.

If you have 4x 4TB drives in RAID5, and one fails, then in order to rebuild with a replacement drive, you have to read all data from all surviving drives (3 x 4TB = 12TB).

Here is an example from a manufacturer:

http://www.seagate.com/files/www-content/product-content/con...

They call it "Non-recoverable Read Errors per Bits Read" and then list "1 sector per 10^15". So for every 10^15 bits read they expect 1 sector to be unreadable.
Considering that vitamin D is typically measured in nanograms, it would be pretty difficult to take pure vitamin D! But to answer the question I think you're asking: I take pills. Now that I'm on a "maintenance dose" of 1000 IU/day I could theoretically get it from dietary sources if I worked hard; but when I was placed on 5000 IU/day there was no possible way to get enough that way.
Texas Towers: Operational History
Repose – The powerful, programmable, API middleware platform (by Rackspace)
Does anyone have an idea for some of Recki-CT's use cases? I get that compiled PHP will be faster. This seems useful for PHP scripts you would run from the command line. Using the resulting binary as a CGI with Apache would incur the fork/exec cost that the PHP module avoided.
I've toyed with the idea of replacing files with processes. If you have some data that you want to keep, you have a process that holds it in its process memory, and can give it other process via an IPC mechanism (if the other process is local) or over the network (if remote, although you could of course also use the network locally).

I never got around to trying it out. I think I may have tried to start some discussion on usenet along these lines maybe 10-15 years ago, but no one seemed interested.

A "directory" would simply by a process that provides some kind of lookup service to let other processes find the data storage processes that contain the data they are looking for.

You'd still have disks on your computer, but they would be mostly used as swap space.

The system would include some standard simple data holding and directory processes that implement a Unix-like namespace and permission system, but it would be easy to override this for data that needs special treatment. Just write a new data holding program that implements the special treatment you want and knows how to register with the standard directory processes.
I don't think you'll ever see this, but have an answer nonetheless: You're jumping to conclusions a bit.

> nanny-state measures (protect children from bad influences)

Putting age labels on things is all fine and good, but if kids can go to any store and legally buy things like the Doom series, or Manhunt, without requiring their parents, then that's a bit of a farce. All germany has done in that respect is to force stores to actually check ages, and not publicly advertise things with certain contents. Adults can still get anything they like, and give it to their children if they feel like it.

> and other don't seem to be working (hate speech is rampant in Germany)

Honestly curious, how so? I won't deny we still have some bad elements, and every one in a while (once a year or so) a politician may say a dumb thing and get lambasted to hell and back; but i don't think we have anything comparing to the outright white power hitler fetishist groups in the usa, or Glenn Beck, or Westboro Church.

> I don't think protecting citizens against bad e-mail service counts as a critical protection measure

You seem to have misunderstood. Citizens aren't being protected against "bad email service". Citizens are being protected against a being entirely blocked out of ever reaching human contact when they have legit grievances against a company doing business with them. Read the very top post where the court's stance is explained.
There are plenty of extremely large PHP applications that would certainly benefit from compilation. Before HHVM, Facebook compiled all of their PHP to C++, which was distributed as a giant binary.
> B12 and Iron

Vegan? B12 supplementation is mandatory if you eat little or no meat, and iron is usually an issue too. Either you have to eat iron-rich plants with vitamin C in the same meal, or you take supplements.
Square to Raise $100M at a $6B Valuation
This feels more like advertising than news.. Or is it just me?
Using Backbone.Wreqr Events with Marionette.Behaviors
It's happening in pharma and medicine right now. [1] To justify the cost of R&D, there's a significant lobbying effort to increase patent term to longer periods.

http://www.ncbi.nlm.nih.gov/pmc/articles/PMC2585454/
I believe most digital medium format cameras are still modular. There are a few which have integrated sensors, but most do not. I guess this is due to the legacy of interchangeable film backs.
PHP is simply a scripting language. It has numerous other uses besides just "mixing code in with html"; it wouldn't make sense to have something like enabled by default. For example, all console scripts would need to disable it.
Some explanation here:

http://blog.ircmaxell.com/2014/08/introducing-recki-ct.html

(it's vaguely redundant with the readme, but there is some additional stuff)
Why? I think Canadians can apply.
Be cool if there is something in JavaScript (e.g. node.js).
Yeah, you can signup now for a 30-day trial, just click on the 'one click setup' button.
On the rumor that Apple was in talks to buy Square
So charge 1% over fees
Don't know about the whole STEM industry, I can only offer anecdotal evidence: almost every big corp I consulted for had FLOORS of Indian people, many of whom barely had community college - equivalent diploma.

H1-B has its place, but is should be reserved for REALLY qualified people - say the ones with MS or Ph.D in sciences who graduated from American universities.
The tokamak is the fusion community's choice of device for getting energy out of a fusion reactor, but smaller configurations may also be promising.

There's talk of exploring compact fusion configurations as a faster path to commercial viability; many private companies in North America are working on compact fusion and Lockheed's Skunkworks has expressed interest. Smaller size of these devices means research and operating costs are lower. The end product might be something more easily integrated into power grids (~100MW versus ~1GW of DEMO) and would hopefully have a competitive cost of electricity.

Path to Market for Compact Fusion Cores: http://fire.pppl.gov/FESAC_WP_Path2Mark_SWood.pdf

http://www.icosa.co/2013/02/lockheed-skunkworks-develops-com...
It's ridiculous that this isn't getting more discussion, especially considering what is.
Technology process development of ERW steel pipe
This is because they are natural monopolies.
Oh sorry, I never used letslunch and always thought you needed to request lunches with people. Glad to know the automatching is a popular feature, since that is what my entire product is.

Any thoughts or advice on HackerLunch? I'm sure you have a lot of interesting insights into the space since you guys have been doing it so long.
I had assumed that it must be Turing complete because otherwise its utility as an intermediate language seems dramatically reduced (despite its power, no one is compiling to Coq!); but, now that you point it out, I agree that there is no such claim. I originally thought that general recursion followed from folds and unfolds (http://lambda-the-ultimate.org/node/4290), but Ross Angle points out at http://lambda-the-ultimate.org/node/5045#comment-82340 that that's only when they are mixed, which is apparently not the case here.
Brain Trauma to Affect 1 in 3, N.F.L. Agrees
> Vitamins are "vital" substances that the body cannot make itself and need to be added from the outside through diet or supplementation. So if your "being the kind of person who takes vitamins" means that you eat an extremely balanced diet that covers all your macros, then you are good, but most people do not eat enough of the right foods.

But we know your first claim is not true, because the body can make Vitamin D by itself. Just because it was called "vitamin" isn't enough to mean anything.

And the second claim is just what the article is disproving!
Carbon steel pipe
The CSP implementation in ClojureScript has been used to inspire an implementation in JavaScript - by James Long of the Mozilla Foundation:

"Taming the Asyncronous Beast in Javascript" http://jlongster.com/Taming-the-Asynchronous-Beast-with-CSP-...
A dupe of https://news.ycombinator.com/item?id=8244014.
if the goal of the commercial use ban is to simply limit the number of things flying around the sky, it makes perfect sense. as soon as you allow drones to be used for commercial purposes, the number of them will skyrocket. a couple of hobbyists flying their toys around isn't going to cause problems, the tacocopter lunch rush could be a big problem.
Software patents exist, in part, because the programmers writing the software are helping to patent their "inventions". Often the programmer's employer offers a juicy cash bonus for each patent filed or granted. If you want to help end software patents, put your money where your mouth is and refuse to participate when your employer waves a $1,000 check at you to help them patent your linked list visualizer.
You can do this, at the cost of some heavy lifting to express it: http://www.haskell.org/haskellwiki/Type_arithmetic.

P.S. This type of inlining was also discussed at http://stackoverflow.com/questions/19259114/why-are-constant....