skysight-inc/HackerNews huggingface dataset:
The US is out of demand. Workers are spent out. Thus, there's no need to increase output, because nobody has the money to buy it. The US has huge excess manufacturing capacity, thousands of malls which could handle more traffic ("there's always parking at Sears", a rather pathetic ad), and services which could handle more business. There's a glut of capital, plenty of available unemployed or underemployed workers, no shortage of commercial real estate outside of a few cities, but no way to use it.

The CEO of WalMart has mentioned this. They have a direct view into the spent-out economy - same-store sales data. Sales decline each week after payday, then recover after payday. Sales move to necessities later in the month.

That's why companies aren't investing in capacity.
I'm not sure -- I'm going off what the Clang bug says. They have a spec ref in there. (Note that you can't trust your intuition on how compilers work, you can only trust the spec and experiments.)

If it helps any here is the real-world code where this problem came up:

https://codereview.chromium.org/1584203002/

Edit: another reference: https://gcc.gnu.org/onlinedocs/cpp/Defined.html#Defined
"If the defined operator appears as a result of a macro expansion, the C standard says the behavior is undefined."
Grid scale energy storage is a 'solved' problem.

https://en.wikipedia.org/wiki/List_of_pumped-storage_hydroel...

EX: A single location is storing 4,200 gigawatt-hours per year:

https://en.wikipedia.org/wiki/Huizhou_Pumped_Storage_Power_S...
I think this type of advice is silly and in the end dangerous to those it seeks to help.

Life is complex and blanket dogma such as "never quit no matter what, screw the haters!" is detrimental. There ARE situations when you SHOULD quit. Recognizing those situations may be hard, but it's still worthwhile to consider quitting.

I don't care what fantasy of glory you're trying to chase, but for the love of god please be pragmatic about it and consider the entirety of the situation before making a decision that can impact your life in a big way, for better or for worse.
Keeping the stock price high fends off hostile takeovers and negative feedback loops from nervous sellers.

This is my main theory about why companies are hoarding cash. They're tired of being at the mercy of the traders.
Testing Apache Cassandra with Jepsen
I like this comment but I'm unsure how to parse the penultimate paragraph. What counts as "their products in Silicon Valley"?
Om's "parser" and query syntax seems to decouple state read/writes from components in the same way that action creators do, with similar benefits. Reading through Om.next didn't change that impression, is there any other resource I should look at?
I think that's a bit oversimplified. The same mechanisms that allow memory-safe manual memory management also eliminate data races without having to use a race detector. They also provide a very flexible form of const correctness, if that's your thing.

I think the cognitive overhead of Rust's memory model outweighs its benefits only if all of the following are true for your application:

1. Your application can afford the cost of GC and a runtime.

2. Your application does not use concurrency, or you are willing to tolerate data race errors, or you can eliminate all data races with a runtime race detector (due to extensive test coverage or similar).

3. The help that compiler-enforced immutability affords to your ability to reason about the code isn't important enough to you to justify the cost.

I think that there are a lot of apps that meet (1), (2), and (3), don't get me wrong. But I also think there are a good deal of apps that meet (1) but not (2) or (3), and they can benefit from Rust as well.
Yeah, currently the keys are held securely within AWS and it's only available for use within specific AWS services - Elastic Load Balancer & CloudFront at the moment.
Agreed. The problem with Clojure and Scala is that they naturally target Java developers, due to their dependence on the JVM and tight integration with existing Java libraries. Companies choose Java for, among other things, the relatively simple syntax and ubiquity of Java developers. This is not a group that is, as a group, longing for change, for something new and more expressive. Java's selling points are static typing, corporate backing, large-scale adoption, memory safety, verboseness, and write-once-run-anywhere. Clojure gets rid of static typing and you can easily write completely opaque, unreadable code in Scala[0]. They are DOA in most large organizations off the bat for these reasons. And for someone looking for native compilation or predictable memory management, they are also off the table.

[0] http://blog.fogus.me/2009/03/26/baysick-a-scala-dsl-implemen...
This looks interesting.. do I need to signup to use the site?
In MI and other snowy states, the salt and snow get your car very gross. Sometimes enough of the black/gritty snow gets up in the wheel well that makes the garage gross in the morning. Never will i put my car in my living room.
"But that doesn't really work for blacks because they aren't a different culture, they are a subculture"

There you have it. Deep racism.
Qualified dividends are taxed at the long term capital gain rate. One time, special dividends aren't, but that's just a reason to use a regular dividend instead.

Investors could just sell shares if they wanted to raise money, but then they lose out on future growth in the company's value. Sending out profits to shareholders in the form of a regular dividend allows owners to have a concentrated investment in the business the company is in rather than it being diluted with some low risk / low return pile of investments.

The 2004 holiday saw about $312B repatriated. That may not be a huge number compared to the $1.9T discussed in the article but it hardly supports the claim that "nobody even really takes advantage".
>but there's absolutely no need for Bill Gates to be talking down the existing solutions that are clearly better than coal in order to promote his own speculative investments.

I'm lost, where is he talking down existing solutions and what are his speculative investments you're talking about?
That is a really interesting point. So I've never invested in stocks before (preferring to invest in my own business) but have decided to diversify and am only seeking returns in a 5-15 year bracket (but want to minimize 1-5 year downside so it could potentially work as an extra emergency fund too).

I had assumed being 20%+ off of the highs, it'd be a good idea to start getting involved now, but.. maybe I should wait until a clear "bottom out" is showing?
I've updated the example to fix the issues that you mentioned.

Also, the text isn't selectable on purpose. There's an option for our grid control to put it into "row select" mode where it is only used for navigation/selection (similar to a listview control under Windows).
I suggest: "The Litvinenko Inquiry publishes Report into the death of Alexander Litvinenko († 2006)"

"Implicated" is misleading; the article said that he "likely approved" the assassination, which without spin translates to the very mundane fact that he was the Russia's president and Supreme Commander-in-Chief at that time.
Do you have a doc on whether the data are supposed to be Normally Distributed, and if they are then how to measure said Normality? I'd really appreciate such a doc if you do.
VAT is not charged every thing some items are zero rated kids clothing for example.
I'm not looking to deny that straight text-substitution has it's drawbacks, you're completely right. But that being said, I still don't see it as big of a deal as it seems. Generally speaking, bad/malicious pre-processor abuse like this sticks out like a sore thumb when you're reviewing code. If you don't have anybody reviewing the code then it doesn't really matter how you disguised it. At least with the C preprocessor, if there's something you're unsure about, you can run the preprocessor separately and look at the output, clearing up all doubt over what it does.

Also worth noting, one of the nicer things about the design of the C preprocessor is that it can be applied to a lot of different file-types. In more complicated low-level C projects, you can run the preprocessor over your C code, assembly code, linker scripts, etc.. which is a huge gain since you can have access to all your constants and simple macros, simplifying work and duplication. You can't get that with something tied to the language - Which is unfortunate, because like you said it's better to avoid the preprocessor, since writing things on the language-level makes them much easier to reason about.)
I actually love this. It makes it easy to write code in either a JS context (where you want camel case) or Ruby(ish) context. I really don't see how this is a deal breaker. It's one of the first things you learn when you start with Nim and I've never had a problem with it.

To me this is kinda akin to the people that complain about the magic in Rails or that Ruby includes so many things by default (like rand or sleep) without working on a couple of projects first. Those really aren't the problems that slow you down in Ruby and this isn't really something that is an issue in practice.
> The learning curve for Rust's memory handling is steep. But this is to be expected when comparing any GC to a non-GC language.

People forget that the learning curve for correct memory handling in C is steep.
The problem in India is that the poor and the rich don't necessarily live in very different sanitary conditions. In my experience, the situation is likely worse in poorer neighborhoods, but it is still very, very bad in rich neighborhoods. Unlike countries with similar economic development metrics, India is particularly filthy. So much so that, 'Swacch Bharat' aka 'Clean India' is a big effort by the current Government.

This study from Johns Hopkins University, for example details how the prevalence mosquito-borne fevers does not follow income/class: www.jhsph.edu/news/news-releases/2015/burden-of-dengue-chikungunya-in-india-far-worse-than-understood.html

To quote, " Researchers estimated that on average, 23 percent of those who have not yet been infected become infected by dengue every year, corresponding to roughly 228,000 infections per year in Chennai alone. “This rate of infection is extremely high, almost three times higher than in areas of Brazil and Thailand where transmission was thought to be high,” says Rodríguez-Barraquer. They also found that the rate of infection in Chennai was similar in poor communities as in more affluent neighborhoods.  The research is believed to be the first to systematically measure dengue and chikungunya infection rates in India. “If you don’t understand the extent of the problem, you can’t address it,” she says. "
Onyx: Flexible Stream Processing for the JVM
You still haven't stated the reason for this claim. What's about "preposterous" for a 2 hours refund window ? Customer can fully test the app in those 2 hours and see if it fits him or not.

The problem isn't just the in money with the "it's only a buck or two for the app". You're trying to find an app you'll invest not just money, but time and your data. On iOS with this model it means you can spend 20-30$ for 5 different candidate apps and then choose one - or even find out you don't like any of them.

Now repeat this process for different types of apps that aren't multi-platform.
Tungia negocios – Cómo iniciar un negocio en casa en 5 Pasos
Show HN: Embadge.io – Ember Community Badges
True. And maybe more generally, there can't be pro or anti ads (same with good or bad ads).

Just ads, ads and ads. That generates a tobacco culture with smokers and non-smokers, but both just saw ads.
Dividends get taxed, hoarding money helps your price/book ratio.
my list of 5 most interesting languages would be

* Rust
* Perl6
* Clojure
* F#
The only person I know who did this diet ended up staying 350 pounds with persisting respitory issues. (Obviously present before the diet) he sat on me the other day and just about crushed my rib cage. But I'm still at a cool 135 lbs just eating whatever I want (which is surprisingly almost entirely organic foods) I'm here to tell you, Paleo probably doesn't do shit besides stroke your fucking ego into thinking you're a caveman or some dumbass shit.
It's not about desire, but about practicality. It would take me a 10 hour drive to find somewhere where there is a significant population of "non-native" English speakers. I'm talking about Montreal, and that's the best attempt at comparison that I can make. Hop on a train in London and you're in Paris in 2.5 hours. Rent a car from there, drive 5 hours and you're in Frankfurt. You've hit 2 new languages in less time than it's taken me to find "1".

My mother is from Belgium and can barely speak french now after living here for 40 years. It's simply because the only practice she ever gets is the hour she spends on the phone with her aunt every couple of months. Unless I move, learning a language is just like any other hobby, only more impractical. I'd rather learn a new instrument to play every day than learn a new language to use once every 5 years.
Ask HN: How do I become a better web designer?
There was only a surplus if you included Social Security funds that are (IMHO) mistakenly considered general revenue.
"Obviousness comes from conforming to people’s existing mental models.". It's currently pretty common to scroll webpages with big images in the middle.
This is the ultimate problem with "trickle down" economics. Capital doesn't drive growth. Lack of capital limits growth, but excess capital doesn't generate additional growth. Demand drives growth and 35 years of stagnant wages (wages are basically where they were in 1981) have put a chokehold on growth.

This is why you have the seemingly incongruous effect of high taxes encouraging growth and low taxes stifling it. Ultimately "high taxes" tend to effect the rich a lot more than the poor, and the money ends up being redistributed somewhat equally, spurring demand as the poor can suddenly afford a lot more good and services.
The logic of this plan is basic and has stood the test of time in any multi-party market. You can save and spend at the same time, I do it all of the time, it's called budgeting. You are mired in theoretical perfection, absolutism, and a misunderstanding of how to profit from investing or trading. On the Street this "plan" is referred to as "Keeping the Powder dry". You don't [rationally] blow the whole keg of powder on one trade. If I have $10k to invest, I might only invest ("fire", "blow", "shoot" )$2k at a current market/stock low and keep the rest "dry". What is your investment strategy? Invest at the market/stock highs?

According to...people that have actually invested. Some positions lose money, some make money, but you'll never know what it's like until you get off the bench and put some skin in the game. Always be comfortable with losing what you invested, because you might lose it. Always be comfortable with taking a profit, because you might lose it.
Should You Bribe Your Children to Eat Vegetables?
a simple response would be progressive taxation. Tax assets, ideally non productive ones, and redistribute to the poor for use in non discretionary spending - like dinner.

A modern "new deal" for elder care would also do the trick..
https://en.wikipedia.org/wiki/List_of_countries_by_tax_reven...
Why is it objectionable to tax the poor?
Yes but the certs are only free if you're using AWS to host the service, to clarify for those who don't read the article.

Still very cool!
Microsoft is not irrelevant. Maybe in your corner of the world but they're still very much a big player and actually turning the ship (slowly) in the right direction.
If you're considering a donation, the Software Freedom Conservancy could certainly use your help as well. https://sfconservancy.org/
Deploy Jekyll Sites to S3 Using Travis CI
> The British carefully drew the lines in the middle east to make sure the powers there would never be a threat to their empire and would instead be forever embroiled in petty tribal rivalries and incessant power grabs. It also insures that whomever is in power doesn't care about roughly half of the country and will almost certainly be corrupt as hell.

And it wasn't just the Middle East where this happened, it's happened all over Africa too, and the big colonial powers - again the Brits, the Portuguese, the Spanish, Dutch and the Germans - all did their part in creating the clusterfuck the entire region is suffering from to this day.
Thanks. I have redux-saga starred on Github but haven't looked into it at all.
Unfortunately, I can't change the url
> America is undisputedly the best country at assimililating immigrants.
I'll dispute it.

- Foreign-born US citizens: 14%
- Foreign-born Australian citizens: 28% (without British, 21%)

Despite all the accusations of racism that Australia gets, we have a far higher proportion of foreign-born citizens than any other western democracy. The country seems to be doing fine.

edit: US is 14%. UK is 12% (as I originally had it). The comparison doesn't really change much, though.
> when you store them internally as timestamps you need that localization crap every single place you use them

Which is why you shouldn't do it, which is just what I said. :-)

> Adding 1 month or 1 year to the current date is usually a mistake.

No, I can think of many use-cases where this is useful. For example, what should Siri do if you tell it to "move today's 1 o'clock to the next month" ?

Jan 31 + 1m = Feb 28/29

Feb 29 + 1y = Feb 28

SECONDS_PER_DAY is not a constant, because of leap seconds. (Or it is, and shifting between UTC and UT1 causes them to appear. I forgot. It's messy no matter how you slice it.)
According to this Bloomberg article, companies have $2.1 trillion sitting offshore for tax reasons [1]. They're probably waiting for Congress to let them bring home the cash, tax-free. However, the last time that happened (2004), it was done to encourage companies to create jobs. Instead, they spent it buying company stock. [2]

1 - http://www.bloomberg.com/news/articles/2015-03-04/u-s-compan...

2 - http://www.theguardian.com/money/us-money-blog/2015/jun/13/r...
Taig iOS 9.2 Jailbreaks  – iOS Jailbreak Tools and Jailbreak Guide
> Do you spend more on food than you did as a non-vegan?

I did when I'd first started out with plant-based eating, because I didn't know which foods to purchase and a lot went to waste. I had also sought out meat, cheese and dairy alternatives like Beyond Meat and Tofurky which aren't competitively priced (yet).

Now that I've been vegan for over a year - and eating almost exclusively whole foods - the grocery bill for my household is drastically lower. I buy a lot of food in bulk. A 25 lb. bag of brown rice provides tens of thousands of calories to last months and costs a mere ~$60, for example. Canned legumes, frozen fruits and veggies and seasonal produce from my garden, CSA or farmers' markets are all very affordable.

> What made you take up veganism?

Two YouTube videos -

101 Reasons to Go Vegan - https://www.youtube.com/watch?v=W4HJcq8qHAY

Best Speech You Will Ever Hear by Gary Yourofsky - https://www.youtube.com/watch?v=es6U00LMmC4

Later, I learned animal agriculture is responsible for the most greenhouse gas emissions and avoiding animal products can protect against most "diseases of affluence", which reaffirmed my decision.
I'd suggest taking a look at kotlin as well
For someone who knows Scala the tutorial at http://www.scala-js.org/tutorial/basic/ seems pretty thorough.

But the short answer is yes.

There's also this: https://github.com/vmunier/play-with-scalajs-example

And then if you want something interactive but with low commitment, you can give the examples in Typesafe Activator a spin:

$ brew install typesafe-activator
$ activator ui

That'll open a browser window. Form there you can open tutorials, step through them while a code panel gets highlighted as you go, edit code in-browser, execute tests and run. All from a single app running in your browser with a 30 second install. It's gotta be the lowest friction intro/development environment ever conceived. Highly recommended if you've never seen it.
I think it's a liability. The US government can at any time tax that cash, and if Apples execs refuse to pony up then they can have fun in jail.

If the US government decide to do that....
> Fighting oppressive regimes is always worth the price

Yes if there is a long term strategy in place. USA wasted billions on Iraq, it didn't make the middle more stable.

> Implementing a Marshall-like plan for Afghanistan and Iraq would certainly have led both countries to a richer life instead of the clusterfuck that both countries are now.

I don't believe that. The Marshall plan worked in Europe because despite all the nazi stuff, Europeans were somehow reasonable and could draw conclusions from their mistakes. Afghanistan, Iraq and co have a highly tribal culture, with a total different mindset than Europeans. The Talibans are still here, 14 years after and they still view the west as "the great Satan". Do you really think folks like these are reasonable? can they compromise ? I believe they cannot, that's their culture. No matter how much money one give these guys , unless there is a cultural shift, one is not going to achieve anything.
I think language adoption follows broader trends in the industry. In the early 90's, people were coding for desktops, so you could use C, C++, Pascal/Delphi, or Visual Basic. You had a lot of closed source languages.

The web brought us Perl, PHP, Python, Ruby, and JavaScript, which are all pretty darn similar if you squint. Java is sort of an outlier because it was commercial and free and had a lot of marketing.

Mobile phones lead to a resurgence in Objective C, and another big market for Java.

Since we're still making websites, we're still using the same languages for them. Languages naturally have a network effect that is hard to break. If you already have N modules, writing the N+1 module in the same language is the path of least resistance. And then module N+1 also makes the ecosystem more valuable.

C++ has an especially pernicious network effect, because it's so difficult to interface with it (in general). If languages were more interoperable, then this network effect could be broken.

But in practice it seems the main way to break the network effect is for a new generation of technology to come around. ALL languages are really domain-specific. And it is fantastically expensive to build a language ecosystem... so as long as the domain remains the same, the language will likely remain the same.

I think the hardest thing to break is going to be our foundations in C/C++. Mainly because every single other language is also written in C/C++ (Perl/PHP/Python/Ruby/JavaScript/Java).

An earlier special case of this is that it's easier to write an application in the same language that the operating system is written in, or a language written in that language -- which is of course always C or C++. The OS specifies its portable interface in C headers, and in C data types.

Possibly domains that will create new languages: AI, big data, distributed systems (Most things are built on top of existing languages, like Spark on Scala, Flume on Java, TensorFlow on Python, but there might be room for a first class language once we figure out what the heck we're doing!)