skysight-inc/HackerNews huggingface dataset:
"Maybe Hillary should read it (or start a business, since she has no private sector background)."

Actually, she did have private sector experience early in her career. She was a partner at the Rose Law Firm in Arkansas (which famously represented the Madison Guaranty Bank, that was involved with the Whitewater scandal).

She also sat on several corporate boards:

"...she also held positions on the corporate board of directors of TCBY (1985–1992), Wal-Mart Stores (1986–1992) and Lafarge (1990–1992). TCBY and Wal-Mart were Arkansas-based companies that were also clients of Rose Law. Clinton was the first female member on Wal-Mart's board, added following pressure on chairman Sam Walton to name a woman to the board. Once there, she pushed successfully for Wal-Mart to adopt more environmentally friendly practices, was largely unsuccessful in a campaign for more women to be added to the company's management, and was silent about the company's famously anti-labor union practices."[1]

[1] https://en.wikipedia.org/wiki/Hillary_Rodham_Clinton
Cross validation for time series, goes something like this:

http://robjhyndman.com/hyndsight/crossvalidation/

(near bottom of the article)

Anyways, as somebody who has spent GIANT amounts of time experimenting with machine learning using market data (mainly stocks), I can give you TONS algorithms I've created that would show similar, even much higher, gains when you only test on 6 weeks of data. Been there done that. For example 6 weeks you make a 100% return, then in the next 3 weeks you suffer a 50% loss. Reality sets in...
The only thing that matters wrt software libraries is if it helps deliver and maintain software more efficiently and with less frustration than others. There are three dimensions to this, how great is the library today (with regards to efficiency of construction and maintainability of software), how much better (or worse) will it get in the future, and how long will it be around. Unfortunately these things are hard to measure and predict.

The number of committers only gives you some insight to any three of these things, and can actually mislead you. The Javascript ecosystem is ridiculously fast moving (which is a nice way to put it :)) so number of committers doesn't tell me if all those folks will just jump onto the next thing that comes along. Also, the Javascript community has developers of a wide variety of skill levels, so the number of committers doesn't necessarily say much about the quality of the library without understanding who these committers are. I'd argue there is often a small number of key contributors to any open source project, with other folks contributing small patches to fix bugs or minor enhancements, so the total number of committers doesn't tell you a much more important thing: who are the key contributors, what is their background and views on software engineering, and how likely are they to remain committed to the project over the long term?

It seems to me the main thing Angular has going for it is that Google has bought in to it, so that means no matter how flawed it is (or not), it's not going anywhere anytime soon so you can be sure security fixes and bugs will continue be addressed over the long term. Then again, Facebook seems all-in on React (and I'm not sure about Ember) so maybe this isn't much of a differentiator.
Tools don't rust because the government wants people to buy more tools. Your comparison is nonsensical.

Inflation is already the cost to save money.
Ask HN: How would you use a multipoint laser range finder?
Hello,
We are a group working on a project for 3day startup event (http://nait.3daystartup.org/). We want to develop a cheap multipoint laser range finder. Currently laser range finders measure distance by measuring the time it takes a burst of laser pulse travel between sensor and distant object. In order to collect data over a lager area they use a spinning mirror. Our system would work by firing a infrared laser through a diffraction grating and using a specialized camera to measure the distance between the laser points to calculate the distance. The diffraction grating gives the sensor a 90 degree field of view.

We think we can make an accurate and robust laser range finding system for a fraction of the cost of traditional systems.
This would be ideal for robot and drone navigation and collision avoidance systems, security perimeter or safety alert system.

We're still finalizing our designs, and want feedback from people who would want to use this system.
To anybody trying to get back in shape, I can't recommend Nerd Fitness (http://www.nerdfitness.com/) enough. I used it to get back in shape 2 or 3 years ago, it's very approachable even with no real fitness knowledge. I am not affiliated.

Bottom line though:

- Fix your diet (whatever works for you, for me it was getting rid of carbs),

- Make time for this and build up the routine (I get most of my workouts done in under 35 minutes all included, I do this at least 3 times a week),

- You don't need a gym; you can get dumbbells for cheap, but even without it there is a lot you can do (I haven't lifted anything in a year, doing mostly bodyweight).
The fact that you subdivide investment and consumption into a variety of categories doesn't change the fact that you still need to tax one or the other.

Piketty's argument is that allowing wealth to concentrate in the hands of a few is the biggest threat to the stability of modern economic systems because it ultimately means that less money is available to everyone else, which restricts growth.

This is incorrect. Piketty doesn't make any claims at all about less money (or less wealth) being available to anyone. He claims merely that the ratio of worker income to capital stock will be lower than it otherwise might be. Please, go read even just the introduction to the book.

Further, he hints that that the richest people will have the highest rates of growth of their investments (the book is pretty weak on justifying this, again, academic papers might be better). That means the best way to actually create wealth is to put money into their hands. Note that if the richest people do not have the highest rates of return, then there is no reason to expect wealth concentration. See my blog post which works out the math on this in detail.

Note that I'm actually citing the math in Piketty's book, not his mood affiliation.
Perhaps not intentionally, but cat has valid uses for concatenating binary files and sometimes they end up going to the terminal just by accident. As far as grep goes, the answer to your question is "yes":
http://stackoverflow.com/questions/9988379/how-to-grep-a-tex...
China launches new World Bank rival
In your face Angular fans, who said that all the angular stuff was the best way. They scrapped most of it!
That exists, it's called an iPhone. I may sound like I'm being facetious but its privacy defaults and possible settings around cookies & local website data, removing plugins and making app permissions requests explicit, transparent & not permitting apps that ask for totally unnecessary ones are leagues in front of the competition.

This isn't to say they're perfect but if you care about your privacy and you're in the 99.9999% that isn't being explicitly targeted by a TLA it's your best choice.
The Guardian article linked there has more info: http://www.theguardian.com/science/2014/oct/24/dead-hearts-t...
The vast majority of Russia's economic growth is coming from oil and gas reserves, especially the latter. That's a notoriously shaky ground on which to build an economic expansion as rapid as Russia's has been in the last few years. Extremely volatile over the long run. It doesn't help that most of that wealth is being captured by a handful of government-sanctioned plutocrats, and by government officials themselves (Putin most especially; he is rumored to have a personal net worth in excess of $70 billion). A very small proportion is actually being reinvested into productive and petrochemical-diverse industry. To make matters worse, the country suffers from some major demography issues. Its birthrate is problematic, and its population is old. It is one of the few major industrialized nations whose population is expected to contract significantly over the next century.

There is very little stability underpinning Russia's economy. It's wobbly, as is, right now. It'll be wobblier still over the next 10-20 years.
I can't help but imagine poor people do actually covet the iPhone, my semi-literate friend.
What does Angular win you beyond what you get in Web Components? I haven't used Angular, so this is curiosity, not a challenge being issued.
Tor 0.2.5.10 is released
Take a look at https://github.com/mondora/asteroid (I'm the main developer behind it). It exactly lets you use meteor as a self-hosted firebase.
It explains why US media are not covering it as much.
For most of us debating politics is like debating astronomy - it can be fun to spin one sided theories but at the end of the day we can't make much of a difference, so no sense getting all worked up about who said what and wasting hours in political debates online. The best thing you can do is to educate yourself, which means listening to others and researching data.

The best way to affect the world is to do something yourself, not debate what others will do.
> Just write code to parse the language in a straightforward way.

This approach is why many consider parsing to be a solved problem, so it's certainly a valid approach. However, it's not the only valid approach.

For example, "straightforward" parsers often give terrible error messages: when the intended branch (eg. if/then/else) fails, the parser will backtrack and try a more general alternative (eg. a function call). Not only does this give an incorrect error (eg. "no such function 'esle'"), but it might actually succeed! In which case, the parser will be in the wrong state to parse the following text, and gives a non-sensical message (eg. "unexpected '('" several lines later).

This is an important problem, since these messages can only be decyphered by those who know enough about the syntax to avoid hitting them very often! Inexperienced users will see error messages over and over again, and have no idea that they're being asked to fix non-existent errors in incorrect positions.
You might think so, but 'file' has its share of buffer overflows, integer overflows, attacker-inducible infinite loops, etc. It does some more extensive parsing for some kinds of files, and some of those end up with edge cases. Here's one from two days ago, a buffer overrun in parsing ELF files: https://access.redhat.com/security/cve/CVE-2014-3710. Others: https://security-tracker.debian.org/tracker/source-package/f...
It's pretty easy to call into a Rust library from C. The lack of a garbage collector makes embedding Rust quite nice.

Lately I've even been playing with a Ruby gem that's a C extension that calls into a Rust .a that exposes itself via extern C.
Practical side point:

If I have a lot of capital, I may be able to convert to cash and just go retire to a beach somewhere. If I lose everything and can't convert (even to scrap metal), then I'm about as well off as low skill labor when low skill labor loses work / can't find more (surely I've made a wealthy friend or two while having lots of capital that can help out though).

High skill labor might have some savings and capital if they lose work / can't find more, and the benefits might include severance. That can buy you time to pivot and then replenish your savings.

Low skill labor just has very few options if they lose work / can't find more.

So IMO, capital has the best options depending how nicely you can exit the market.
You can schedule another thread, if you have SMT. You can execute out-of-order to try avoiding the stall.

But in general you are right in that once a stall happens, you aren't going anywhere.
Most Autistic People Have Normal Brain Anatomy
> the Whisper CEO continued to argue that the Guardian‘s report was mistaken about a number of factors, because it “made technology-related inferences based on discussions with non-technical people.”

More deflection. It hasn't worked, and won't start working now. In aviation this is called "controlled flight into terrain."
I though this would spill out random funny reasons, but instead only tells me I'm poor. Yay, another Apple fan-boy proves he's a bigot and a snob.
Interesting article. I've been covering Descartes recently, and his writing style is extremely ornate and complicated. From Meditations on First Philosophy:

"For this reason I have no doubt that if you deign to take the trouble in the first place of correcting this work (for being conscious not only of my infirmity, but also of my ignorance, I should not dare to state that it was free from errors), and then, after adding to it these things that are lacking to it, completing those which are imperfect, and yourselves taking the trouble to give a more ample explanation of those things which have need of it, or at least making me aware of the defects so that I may apply myself to remedy them; when this is done and when finally the reasonings by which I prove that there is a God, and that the human soul differs from the body, shall be carried to that point of perspicuity to which I am sure they can be carried in order that they may be esteemed as perfectly exact demonstrations, if you deign to authorize your approbation and to render public testimony to their truth and certainty, I do not doubt, I say, that henceforward all the errors and false opinions which have ever existed regarding these two questions will soon be effaced from the minds of men."

That's one sentence! The translation is from The Philosophical Works of Descartes, which was apparently translated from French, which was translated from Latin. So there could be some cause for this style in the translation work.
Why Is There a Gender Gap in Laughter? (2007)
Looks nice, think I will use it.
You should look up Modern Monetary Theory. The Grace Commission said in the 80s that most of our income tax money just goes towards servicing the debt. In polities that can print their own money taxes are a way to manage inflation and reduce spending power of certain sectors of the economy.

On the other hand austerity for polities that cant print their own currency can be used as an economic weapon, such as how it disabled the governments of south Europe, who got a raw deal joining the euro and losing the ability to print their own money.

Elasticity can be a good feature of a money supply. Having 21 million bitcoins chasing an ever increasing amount of goods and services (and other fiat currencies) will make people hoard them / "save" them which will lead to banks which will lend derivative M2 money based on reserves which will lead to small banking instability which will lead to lenders of last resort and fractional reserve requirements by their jurisdictions which will lead to Gresham's law kicking in and the derivative money driving the bitcoins even more out of circulation which will go right back to the system we have now.
Who risks more: capital or entrepreneurs? Entrepreneurs may not contribute upfront capital but they are contributing market value of their labor to the enterprise which may be substantial over the first 6-24 months as a venture tries to get off the ground. Entrepreneurs are also expected to go down with the ship. They can't easily pick up and leave if they're burned out or if an attractive opportunity arises. Furthermore, the odds of a return are low without an opportunity for diversification. Capital can make a bet and if the deal is structured right they can dollar cost average into their position to avoid dilution, whereas the entrepreneur will typically face significant dilution. For some unicorns like Facebook or Google there was very little downside risk after the first 6-12 months and they clearly made out better than their investors.
I seem to remember lots of readers' letters mentioning worries about this...
> It should be possible to use C

Ugh, wouldn't that fall in "just because you can do something doesn't mean you actually should" category? :) Suppose I wrote the library in Go and exported some type of C wrapper and then I loaded that in Rust using Rust->C mechanism - that will load the Golang runtime in Rust! And you still got non-trivial C code to deal with anyways!
Retailers are disabling NFC readers to shut out Apple Pay
In time, this is going to become an increasingly important political consideration for those who are interested in low unemployment. To my mind, the business incentives for automation are inherent to the degree such that automation is basically inevitable. The same can't be said for human labor in a multitude of vocations.

I fully expect someone to come along and tell me government shouldn't give tax preference to obsolete jobs, but if you don't like that, you probably like the idea of paying displaced workers basic income assistance for no labor output even less.
so everything is an invention?

I tend to think of an invention as the class, not the object. And by class, I mean a fairly abstract one, the iphone is an implementation.

Also, not sure why original comment was downvoted...
ELF obfuscation: let analysis tools show wrong external symbol calls
Customer demand creates jobs. Giving money to profitable businesses doesn't do anything because they are already capable of hiring more but don't. Giving money to consumers works better because the money is spent and creates demand for labour.
I've never understood why Clinton gets credit for the speculative boom during his term, but never gets blamed for the subsequent and inevitable bust. That is one of the finest pieces of political spin in recent history.
Right this moment, my mom's going through my old school books and papers - work I did from ages 7-16. I still have C64 printouts from the 80s, old BASIC listings and graphics. And lots more besides.

These are the equivalent of old family photos. You can't capture these things electronically! There's no way to run your fingers over the curves and grooves of decades-old handwriting, to hold a sheaf of printouts to your nose and have the scent of Epson dot matrix ink bring back memories of days long-gone.

This is personal history, a record of who I once was. If I'd thrown it all out, who would I be now?
The technicalities of filming a candle-lit castle at night
It's a statement made in the context of supply-side economic policy.

Some people believe that giving money to businesses via tax reductions will result in more hiring and economic activity. This stuff is typically attributed to President Reagan.
Things get uglier when I want to then call the whole shebang from - let's say - Go! Go -> C -> Rust. Now I am paying the penalty for 2 runtimes!
You could use the X-FRAME-OPTIONS in response headers to block people from iFraming your site: https://developer.mozilla.org/en-US/docs/Web/HTTP/X-Frame-Op...
This has been resubmitted a few times:

Most comments: https://news.ycombinator.com/item?id=1540567 (357 points, 1555 days ago, 60 comments)

Latest: https://news.ycombinator.com/item?id=6823768 (2 points, 329 days ago, 3 comments)

Also, it would be a good idea to add [2010] to the title because some of the optimizations may be available in the latest gcc version. (I'd like to read an update, or a year by year comparison.)
Am I the only person who thinks there's something fundamentally wrong with computing if running "strings" could let someone take over your computer? (I'm not being snarky; I seriously think the whole approach to security need to be redone somehow.)
Honestly, the reason is size. If you're a newcomer to OSS, it's very likely that you'll end up with a GitHub user account, and much less so with BitBucket.

We do mention BitBucket in the [forking workflows section](http://git-scm.com/book/en/v2/Distributed-Git-Contributing-t...), and many of the lessons from the GitHub chapter will carry over; the two sites have a lot in common.
I still wonder what are the advantages of git over mercurial.
Are there any examples of that being successfully done? Even djb's software, intentionally written to be minimalist and as secure as possible, has had exploitable overflows (both qmail and djbdns have suffered from this). Every Linux and BSD distribution (even OpenBSD) has suffered buffer overflows so severe that arbitrary internet users could get remote root access. Etc.
Living on the Hyphen
makes it difficult for website operators to exist like bit.ly to exist by warning users that there are potential risks, when the risks are almost the same if not more with their own, similar services.
Or 'putting on a lifejacket to prepare for ditching a 747 in the middle of the Atlantic in winter in a force 10 gale at night'.
Flexport is hiring engineer #5
Flexport is a platform for global trade. Our web app gives companies of all sizes the tools to conduct global trade without regard for geographic distance, logistical complexity or regulatory barriers.

Our mission is to bring the world free trade through technology.

We’ve reached product-market fit, with almost 1,000 businesses signed up to use our platform to manage their imports. We're generating real revenues, growing fast, and getting ready to scale the business. And we've raised over $4M from First Round Capital, Bloomberg BETA, Google Ventures and many other great investors.

We are now building out the core of our engineering team here in San Francisco. This role is for our back-end lead (engineer #5) who will report to our CTO, Amos Elliston, who previously co-founded Geni (sold to MyHeritage), where he built and spun out Yammer (sold to Microsoft).

This is a high impact and high ownership opportunity with competitive salary, solid benefits and considerable equity.

If you’re a talented back-end engineer interested in solving real-world problems, we may be the perfect place for you to come and do the best work of your life.

You would be tasked with creating tools to make it easier for companies of all sizes to participate in global trade.

If this sounds interesting, come and talk with us about the chance to do your life’s work as a founding engineer in an atmosphere that encourages personal freedom and responsibility.

Please email jobs@flexport.com to learn more or apply.
Huh, we'll have to fix that. You can find the pre-order for the 2nd edition if you search for it:

http://www.amazon.com/gp/product/1484200772/ref=as_li_tl?ie=...
I think this is an indicator how fundamentally over-engineered all of the GNU tools are. strings was supposed to be a simple tool that finds bits of data that look like human-readable strings. It wasn't meant to parse ELF binaries and suddenly be a security risk, especially since it's one of the first tools you would use in computer forensics.
How I became Junior Ruby on Rails developer
> Unfortunately it doesn't seem like React documented React.DOM :(

React.DOM.div(), etc. are part of React's public API -- if we didn't document them, that's a mistake.
Can anyone suggest which practices can be added to the use of 1.3* to ease the transition to 2.0? For instance, if I start using grunt-ng-annotate or gulp-ng-annotate now, will that help ease the transition? If it would, I'd be curious what other things I could do to make the switch less abrupt.
It niggles me that the library is called "Did you mean?" but the error message is "Maybe you meant?". Why is the error message not "Did you mean X?"
Oh really? My understanding was that due to loopholes corporate taxes are practically nothing compared to the numbers that people keep plugging into their "look, capital actually has a higher tax rate than labor!" calculations.
Hand Coded Assembly Beats Intrinsics in Speed and Simplicity
SPARKED: A Live Interaction Between Humans and Quadcopters [video]
And I upvote every time.
Do we really need another "bored developer" to create a service that is in charge of millions of dollars in transactions?