skysight-inc/HackerNews huggingface dataset:
Agreed, regular expressions are not turing complete and they can still make your browser ponder for a bit if carefully crafted. Try

/(x+x+)+y/.test('xxxxxxxxxxxxxxxxxxxxxxxxxxxxx')

for instance. This regex doesn't even use non-regular extensions; it's expressible in a very limited computational model, it fits in a tweet and yet it renders my browser unresponsive.

I can do even more damage with a nasty shader; GLSL is not turing complete either (in fact it looks a lot like Crema).
Re: justifying the CapEx, over a three year period your computer is going to cost say between $300 and $3,000 and the person using it is going to cost say $300k. Any changes in productivity dwarf the cost of the computer. As to whether people are more productive on one or the other I'm not sure.
More accurate headline: "SEC Adopts CEO Pay Ratio Rule, Five Years After It Became Law"

"Today's vote comes five years after Congress approved the Dodd-Frank Wall Street Reform and Consumer Protection Act, which includes the pay ratio rule. The vote also comes nearly two years after the SEC formally proposed the requirement."

http://www.npr.org/sections/thetwo-way/2015/08/05/429628037/...
Aesthetically, I'd prefer to see a founder-rewards paid out through stock (eg, dividends) rather than through salary. That maintains the distinction between "rewards for early investment" and "wages for on-going labors".
Burnout can absolutely lead to a poorer diet and a lack of exercise due to a lack of general motivation to eat well or stay active.

At minimum it would be correlated with poorer diet, in that if you're overworked, finding time to take care of yourself becomes increasingly difficult.
I've tried to get a few colleagues to use it instead of Office, but without "outline mode" it's still a no-go, ten years later. Any hope in 5.0?
The top 20% of earners tax rates isn't the problem, it's the tax rates on the .01%, which starts at around 1.9mm/yr

Even better, the .001%, which starts at around 10.2mm/yr

Not that people making $150k couldn't afford to pay more taxes (I'm one of them), but the issue really isn't with the top 20%.

Even worse, the fact that capital gains aren't treated as income and the fact that we let parents pass billions on to their children (for no societal benefit) is a much larger problem.

Cute statistic though, spoken like a true facebook comment
AFAIK Go support cross-compilation for multiple targets... as long as one isn't linking C libraries.
Show HN: Create a single product checkout with SellOneThing.co
There could be a little "how to" section showing what exactly do we have to do to use it. I tried to look at the sources, but they're all minified (why minify so little code in an example site?), including the HTML. It is very difficult.
The top 25% earn 67% of the income and pay 86% of the taxes. How many of the taxes do you think they should be paying?
If you're interested in Python + Storm, we are making it happen via our open source project streamparse. See the project on Github[1] and also my PyCon US 2015 talk[2].

Your point about documentation is well-taken. We are trying to document streamparse + Storm usage from a Pythonista standpoint via our online documentation[3], e.g. here is our detailed Python API documentation[4].

[1]: https://github.com/Parsely/streamparse

[2]: https://www.youtube.com/watch?v=ja4Qj9-l6WQ

[3]: http://streamparse.readthedocs.org/en/stable/

[4]: http://streamparse.readthedocs.org/en/stable/api.html
Meaningless.
$1 salary with $100,000,000 worth of liquid securities will skew this ratios.
This may backfire.

Over the last 2 years we've been having a stock buyback craze, where corporations can issue unlimited amount of debt and use the proceeds to repurchase stock in an illiquid market pushing the stock to record highs.

Shaming CEOs into lowering their pay may work, but these same CEOs will only be rewarded more in options and stocks which do not have the SEC reporting treatment.

And this will only incentivice them to buy back even more stock, levering up companies even faster, transferring stakeholder value to shareholders while leaving bondholders footing the bill, and assuring of a promptly bankruptcy filing once interest rates rise.
It's a pity that the new AVX-512 SIMD instructions will only be available on Xeon Skylake chips.
That's how I understood it as well, though I was still disappointed that my expectations weren't exceeded. I am eagerly awaiting the day that new AAA games are playable at low quality settings on a MacBook Pro but I guess that's still a few years away.
No. Go run an average business and see how impossible it is to make decisions that increase CAPEX by a 8 to 10 times without a really, really good value proposition attached.

In other words, you'd have to be able to show how your 10, 50, 100 or 1,000 employees are going to be 2x to 10x more productive by adopting a technology that costs up to 10x more than some other technology.

This ain't rocket science. This is simple arithmetic. But you have to understand how a businesses make such decisions without injecting emotion or platform preference into the equation.

The owner of a small 5 or 10 person company can make the decision to spend 10x more for computers for her employees just because she likes Macs and feels they are great. And that's OK. You start to grow a company in scale and numbers start to add-up. And, if you introduce shareholders into the equation you, as CEO, now have to provide pretty solid justification for spending 10x on computers without a significant and measurable benefit on the table.

Again, I am speaking about average companies here. I am NOT talking about SV or other tech shops where there's culture, familiarity, tools and massive profit margins that might very well justify handing every employee not just one, but two Mac, desktop and laptop. That is NOT the world as seen by the vast majority of the millions of businesses around the world, far from it.
Pull the other one: it's got bells on it.

One additional number to be calculated, after the reams of numbers have already been calculated. If your accountant and lawyer cannot get that right, it's time to find new ones.
It provides a proxy to whether the management is looking to increase worker morale and productivity for long term gains, or inflate stock prices for short term gains. It also provides a way to compare companies within an industry, to see which might be overpaying management, with stock returns varying accordingly.
Maybe Some of these boys making the journey have always been social outcasts and never really had a chance at a "normal" social life in college. Maybe getting patted on the head by that angel serves as some form of retribution and they are better off this way. Plenty of time to experience life when you are independently wealthy and only in your mid 20s. Sure as hell beats work slaving until retirement with nothing but your "eventful 20s" to reflect on if you ask me.
That may be one of the bigger chances for go: mobile. After all being more efficient on mobile translates into longer battery life and go potentially has a huge advantage over the current java (ok, not java) based environment on Android. For google this would be a triple win, get out of the Oracle mess entirely, give their mobile developers a super fast toolchain and give the end users better battery life.
> Statically linking your SSL library makes you an asshole...Heartbleed 2.0.

Go has its own SSL library, crypto/tls, which is not linked to any C libraries and wasn't affected by Heartbleed 1.0. You haven't written much Go if you don't know that.

The argument is specious anyway, there's nothing difficult about building a binary from an old version of your code or just upgrading in most cases. Deploying a new Go binary is always trivial as compared with upgrading, testing, and deploying Python, Ruby, or Java applications with their associated libraries and interpreters.
Well honestly the concentration of wealth that we see today is a new thing in society. Pretty sure the only time you're going to find the type of inequality you see today is going back to feudal times. And honestly, I doubt it would even be as bad as it is today.
That isn't relevant. The company has owners, and owners get to decide what to do with their property. If they decide most of the success was due to external factors then they can change their compensation appropriately. Evidently they do not agree with you on average.
Never heard of this "The ability to hold the entire program in your head." quote, but it's so true.

In addition to memorizing APIs, etc., I like memorizing where I've done "function X" in past projects.

That way when I encounter something similar (that's probably not on Google/StackOverflow), I can grab it from your previous project. Then copy/paste/tweak.
Author here, lead front-end at NowThis (https://nowth.is/). Over the past two months we rewrote our Angular/React application in ClojureScript, and it's been the most productive (and fun) time I've ever spent coding.

Yesterday we pushed the app into production. And to my total surprise, after two full days, I don't have a single bug report. What I do have are a lot of requests for features!

I'd like to say we just wrote good code for once, but I think that ClojureScript and its community deserve most of the credit. It's easy to build great applications when you have the right tools.

If you're interesting in joining a team that's pushing the boundaries of tech, and a company that's transforming the way people get their news, NowThis would love to hear from you. Email me at nwildermuth@nowth.is, and I can fill you in with details.
Not claiming to be a "highly productive person", but there are a few rules that I've learned along the way. These are true for me at least.

1) Context switching is expensive. Know your tools/language well, avoid interruptions.

2) You probably only have something like 4-5 hours max per day where your brain can effectively handle hard thinking tasks. Accept this and try to plan your day to get the most out of this time. For a lot of people this tends to be early in the morning, others late at night.

3) Plan all of your low cognitive tasks outside of this time. Bug reports, user support, whatever. I'm also a sysadmin so I have a whole bunch of these tasks.

4) If you have a lot of those low-cognitive cost tasks, make sure that they're well documented so you can have a wiki open on one monitor and a shell/web page/whatever in the other so you can get through lots of these quickly and without invoking many brain cells.

5) related to 2 - you probably only have a maximum of 50 hours a week where you can work effectively. The odd 70 week is probably fine, but do this on a regular/continual basis and your cognitive ability starts to decline, depression/burn-out/resentment and other things start to creep in.

6) related to 5 - keep some semblance of a work/life balance. Eat well, do regular strenuous excersize, see your friends/family, get away from work for a few days, etc.

7) enjoy what you do.
Let me show you how close to feudalism this idea is:

Serfs are free to renegotiate their constitution, move, buy land from their king, or start their own kingdom.

Now all these options sound a little more silly... Because we accept the power structure of feudalism.

But many doubt there is any power structure in capitalism.

Landless wage labourers? Yes. Debt based economies? Yes. Taxes given as handouts to the owners? Yes.

The differences between the structure of two are far more subtle than most people like to believe.

We are at a point on political democracy, that's great - but economically we are still kinda stuck in the 1700s ... We could try to democratize that too.

Part of the problem is that neoliberalism suggests that everyone should act like an entrepreneur, a CEO if you will. This is actually as silly as implying that if everyone acted like a prince or princess in feudalism, it would have been a fair system.

But you point to the "self made man". Statistically speaking, those are about as rare as someone marrying into royalty in classical feudalism. Pointing to that fact of course, didn't make feudalism fair either.

There's a real, leaky (they all are), power structure imposed by the system that can't be undone by the power of magical thinking.
For me at least, there are two thoughts (including mine) at the corresponding question on quora: http://www.quora.com/How-is-Hadley-Wickham-able-to-contribut...
The irony is that if they weren't so scared and determined to keep power by any means necessary, they could address the people's stated grievances (justice, corruption, and equal opportunity) and they would keep power by general consent.

What I can't figure out is why they think they need to retain power. Is it because they are scared of what will happen to them if they don't? Do they feel that China without Communism will be chaos? Or is it just institutional momentum?
In my mind I'm a lazy person. My good hours are in the morning, and after that it only goes down. Right in the afternoon it's really hard for me to get anything done.

When I was studying at the university for exams, I learned more than 50% before noon, rest in the afternoon, and at 8pm, I was unable to keep anything in my head.

Now is the same, but if I haven't worked that much during the day, I can still crunch out some good code at 9pm. If I worked during the day, no way I can do that.

Yet, when I look back, I always had great reviews at my jobs. Some managers considered me more productive than others who I thought were more productive.

Next to my full-time job, I take care of our 3 kids together with my wife, and I'm programming a side project http://rpgplayground.com. I always had projects in my spare time. Some people with kids ask me were I can find the time. Yet, I still feel lazy all the time. In the weekends I'm beat. Sunday is terrible, but due to that I'm "super" productive on Monday (relative to the other days ;)).

I think it's hard to know by yourself if you are productive or not. Being productive 60+ hour per week? I highly doubt that. I even doubt begin 40+ hours productive per week. With productive I mean crunching out good code, while being in the zone.

I think a good day is being productive max 6 hours, on average 4. But it is impossible to do that in one go, and you also can't do something else productive during your resting time. If you look at athletes, they also don't train more than 6 hours in a day.

My good days are when I'm feeling energetic, positive, and am passionate about a clear goal, and like the 'zone' that I'm in, the problem I'm solving. Also, a good nights sleep can do wonders!
You may find this page to be useful:

http://www.pcper.com/reviews/Processors/Intel-Core-i7-6700K-...
It's from an automated process. Are you an automated process?
I'm just hoping for a low latency, stable connection. I feel Google's networking infrastructure is likely a notch above the rest.
5 Important Big Data Trends to Watch for in 2015
What really gets me is that some scrappy start-up tried to launch a service like that in the 00's and got totally burned by the labels because it was not 'fair use' but now google does it it is ok.
"Do you think CEOs are 10x more effective than they were in the 60s?"

Why is that for you to decide? The world has become globally competitive since the 1960s, which means it takes a lot more work for a CEO to run a company successfully.

"but at the same time many people are growing concerned about a wealth gap in the US - that the rich are getting subtantially richer, while the middle class haven't seen meaningful gains in a long time. That absolutely has an impact on society as a whole."

This will continue to happen when we put more and more restrictions on owning and starting a business, which is ironic, because this is what many of the politicians that claim to be helping the middle class, are proposing.
> Because the tooling was a first-class design goal, a number of the problems that traditional design patterns were created to address are less problematic in Go code[1].

> [1] Again: gofmt…

What does gofmt have to do with design patterns?

gofmt is about code formatting. Design patterns are about abstraction and expressiveness. A code formatting tool does nothing to address abstraction and expressiveness of the language.
I feel that a lot of HN visitors do not at all check out the "new" page. How about another solution, where the front page shows a box on top with last 3 submissions from the new page, so that every new post get's at least some exposure, and get's a chance to get up voted once or twice. Each new post would be shown 2-5 times in the new box on the front page (depending on the volume of traffic to the front page vs. volume of new submissions).

So, for instance, let's say there are 9 new posts in the "queue" and there are 3 concurrent visitors to the front page. Visitor A will see links 1-3 from the new queue, visitor B will see links 4-6, etc. After being shown at least 3 times to front page visitors the link get's dropped from the new queue if it did not gather a single up vote. However, if it does get an up vote, that also resets it's show counter, and it has 3 more chances to gather another up vote.

The number of showings (lives) can be adjusted based on the ratio of new submissions to front page visitors. But I suspect that that ratio is more than high enough to accommodate 3-5 showings.

I feel like this would be a relatively easy system to implement, and could result in better overall content. Thoughts?
I was under the impression that DVD playback was removed back when Windows 8 came out. If so, why is this just getting noticed now?
Top 25% =/= "the rich"

But to answer your question, I think income after $1m/yr should be taxed at close to 90% and that capital gains should also be considered part of that income. We can start there.
Yes, it's larger than a C or Go process. Does it usually matter? No.

The whole Netflix is based on the JVM and Java. They are enormously big, they have high CPU and I/O requirements in many cases, and yet, they manage well on Java.

I'm not a big fan of Java as language (to say the least), but the JVM as a runtime is very-very sophisticated.
How about making the front page more sophisticated? Three buckets: popular, upcoming, new. The popular bucket is what you have now, and gets 25 slots. Upcoming gets 3 slots, and new gets 2. "New" is the two most recently posted links. If they receive an upvote or two, they get into upcoming. I think that'd help worthy links make it to the front page.
Not really. You don't read news and magazine articles from the 50s 60s and 70s decrying the contribution of the wealthy to the common good. You see people complaining about the taxation of the wealthy during periods of high income inequality. You see the same thing in other countries as well. Presently we tax wages heavily for middle income levels and tax capital gains at a much much lower rate.

People are pissed that the wealthy, wielding their outsized political influence have pulled up the ladder of opportunity behind themselves.
I'm assuming this is a ratio of "pay" not compensation, where CEO pay is their salary, and worker pay is salary or total dollars earned. Essentially cash to cash.

If they plan on having equity included, that will complicate things, since you may have variation in vesting schedules.
Introducing New Ask to Answer
No -- You are confusing password hashing algorithms with general purpose hashing algorithms. Algorithms like bcrypt and scrypt have a tunable difficulty parameter, and are designed to be slow.

For general purpose hashing, you want to check if the fingerprint of these ten gigabytes of data is the same as the fingerprint of these other ten gigabytes, as quickly as possible. Or whether a file that you downloaded is the same as this other file. Or whether the data that you transferred has been tampered with or corrupted. Speed is important enough that this was one of the criteria in the hash algorithm selection process.

The key feature of a general purpose hashing algorithm is resistance to preimage attacks. In other words, "If I want hash 0x123456, what should the input be?" needs to be a difficult question to answer.

Speed is key when you are getting a fingerprint of a large amount of data. Don't use a general purpose hash directly for hashing passwords: It's better than plain text, but it's inferior by a long shot to special purpose password hashes.
Internet Explorer was still a year away. Did they add a "Best Viewed with Internet Explorer" button later?
AnandTech's review has a much better set of comparisons to previous generation processors. (and if that isn't enough, there's always Bench)

http://anandtech.com/show/9483/intel-skylake-review-6700k-66...

Also interesting is that they found a decrease in gaming performance at 3.0ghz vs Haswell. Now, if Skylake could be expected to maintain higher frequencies than Devil's Canyon chips then the slight (3-5%) decrease could be overcome - but a Devil's Canyon i7 (the 4790k) has the same 4.0ghz base frequency as the new i7-6700K, and what looks like the same turbo frequencies.
I think you are confusing hash functions with key derivation functions..
I can see a case for capital gains and estate taxes but the top marginal income tax rates in NY and California (where I'd guess most CEOs reside) are over 50%. Not sure how that would be called "absurdly low."
One of the possible advantages of the "preview" page from the proposal is that it might draw more eyeballs to new submissions than what they're receiving now. This is because the design interleaves new submissions with submissions that have received some degree of filtering. I really spend very little time checking the new page, and I suspect I'm not alone in that. I don't know if HN would be better if regular users spent more time looking at the new page, but I suspect that it would.

It's also worth noting that HN could interleave new submissions into the front page to get them more visibility, forgoing a preview type page altogether.
What's your security story? A search for "security" or "privacy" on your help docs returns zero results. The privacy policy makes no mention of any certifications (SOC 2 Type II, Tier 3 SSAE 16, TRUSTe, third-party audits, etc). How can I trust my data with your service?
How about say... collapsable threads? It is the year 2015 after all.
Why do comments change font size when I tap their Reply link?
Did you know that people who earn less than $10k per year pay no taxes at all? How is that fair? We should see that beggars get taxed on all the loose change they get from people on the street.

http://www.efile.com/tax/do-i-need-to-file-a-tax-return/#inc...
I do this too. Walks are wonderful for stimulation. Sometimes for me, it's a hot shower or short nap.
> If this is the case, the only people that should be worried about it are the shareholders and the other people that own the company.

And the SEC is responsible for improving company/shareholder relationships, so this falls under their directorate.
A Pragmatic Guide on How to Test JavaScript Modules and Applications
Imagine if Hitler's worldview focused cultural rather than racial superiority .. we might all be speaking German.
I just use the comments page to find interesting discussions.
There are lots of non-password-hashing applications of cryptographic hashes, like virtually every authenticity application. Your computer calculated hashes to allow you to post that post on HN.

Although we do want hashing to be slow when it's password hashing, that doesn't mean we want our general-purpose hash primitives themselves to be slow.