skysight-inc/HackerNews huggingface dataset:
It is important to read the rest of the sentence in order for this comment to really make sense.

I am talking about any scheme of how to do things that is intended to provide benefit. These all start with "wouldn't it be better if X, because Y" and then a plan is made of how to bring this about.

Well, this plan is inevitably imperfect, so it is either that you don't get all of X, or the reasons Y were not correctly understood or accounted for.

Then, there are always some extra drawbacks that creep in that negate some of the benefits. Usually these drawbacks are very subtle, and they can be hard to notice because they are not things that the plan was trying to address.

In the end, usually the net result is negative: the scheme causes more damage than it provides in benefit. But usually it takes a long time to understand this clearly, because the drawbacks can be subtle (but sometimes they aren't, for example, in TDD, how much extra code you are writing all the time).
I think we are starting to see the effects of competitive pressure with more and more millennials (that don't live in SF, NYC or DC) opting not to marry, have children, and declining to purchase durable goods and homes.
You used to have a much smaller amount of cab drivers making a pretty good living due to unions blocking competition and stifling the entire industry.

Now, you have many more people making a smaller amount of money. This is essentially what happens in any competitive industry.
Mechanically, the answer is until what ever is pouring money into the system runs out of money.

But figuring out all the money flows can be quite complex.

So from the driver's perspective there will always be people available for whom "some money" is better than "no money." That is the part of the labor pool who have multiple jobs which each contribute some part of their overall income. Uber is good for those people because the hours are very flexible and so they can be "fit in" around a lot of other more scheduled economic activity.

So an interesting question is this, what is the supply of these laborers and is there any other activity that can get them the more income with the same flexibility? Is that the critical resource here? "remainder" laborers?

If that is the case, then that shortage will drive the price up in order to meet demand for Uber rides. And if the price for Uber rides goes up, it will mean that some Uber customers for whom it was marginally useful at the previous lower price will drop out.

And that summarizes to there will neither be a driver revolt nor a significant price increase. There may be fewer drivers which leads to a gradual price increase or there may be higher driver turnover and stable prices. Time will tell though, regulation could step in that changes the balance significantly in favor of one party or another.
NASA is in the process of getting another peer reviewed EMDrive paper published
I think those happen at completely different levels and there are a lot of places where the communications process either doesn't work at all or has significant translation issues. Here's what it looked like at one job:

My level:

1. Internet Explorer 8 is released. Our users start to get the automatic update and our very expensive Oracle reporting app breaks.

2. I contact Oracle's support and get a very snotty customer “service” person:

“I noticed a bug in your JavaScript code which now triggers an exception on IE8.”[1]

“We don't beta-test Microsoft's software for them. We'll start testing IE8 when it ships.”

“That was last week. How's the testing going?”

pause

“We'll get back to you”

“Please do. I deployed a patch but am worried there are more subtle problems.”

3. <days pass with no contact>

4. “Hi, this <senior support manager>. Can you give us a copy of the patch you mentioned so we can distribute it to other customers who are dead in the water?”

5. <time passes>

6. “You'll need to upgrade to $NEXT_MAJOR_VERSION, which was just released and is a paid upgrade”

The executive level where the decision to buy was actually made:

“Hey, heard you guys had a problem or two but the support group worked it out”

“Yeah, the usual. Are we still on for our normal tee time?”

The problem was that the executives didn't have any experience somewhere dramatically better functioning and both the outside sales team and their staff who had invested much of their professional development in that stack had an incentive to downplay problems and come up with reasons why any particular outside comparison wasn't valid. No large organization works exactly the same as its peers and so you can always come up with some argument for why they can do something but it won't work for you. The only thing which seems to disrupt that is either a failure too big to be excused or the emergence of an alternative which is either dramatically cheaper or does something new such as support mobile/BYOD or a cloud service which removes the need to have the staffing and equipment in-house for a major app.

1. This was actually a neat class of failure: the IE7-emulation mode solved most of the display problems but it was still using the IE8 JavaScript engine, which raised an exception when a library attempted to set zIndex to a completely invalid value like null, unlike the real IE7 engine which simply ignored it. I pity whoever at Microsoft maintained the test suites for those enterprise compatibility modes…
And as (pre-political) Nobel Laureate and NY Times columnist Paul Krugman wrote:

> Even more fundamentally, we should be able to teach students that imports, not exports, are the purpose of trade. That is, what a country gains from trade is the ability to import things it wants. Exports are not an objective in and of themselves: the need to export is a burden that a country must bear because its import suppliers are crass enough to demand payment. [0]

[0] http://bernard.pitzer.edu/~lyamane/poptrade.html
> people studying worthless subjects(sociology, political science, gender studies etc.)

College isn't trade school, its purpose isn't to study profitable subjects, its purpose is to produce well rounded well educated people, not to produce workers.
I always assumed practical non-trundling robotics would have a "Don't fall over" layer, a "walk this way" layer, and a "Let's see what's over there" layer - much like the layers in a human brain.

Deepmind would be good for strategy and goal setting, but maybe not so great at the millisecond-to-millisecond control needed to not fall over - which is the layer BD seem to have solved.

So I would have expected a natural synergy.
I can't find the reference but I find the circular way of thinking about dataflow to be a good model. The human triggers inputs, which go through logic which goes through the view and then ends up back at the human. While this may be obvious, if you can keep the data going in only that direction then everything gets easier. I saw this in relation to reactiveX.
At Vesper.ai we worked on an application that read email and recommended which messages users should followup on.
I'm aware. But if I sue someone it's to cover my damages, not damage the other party. If McD were found liable for causing injury you'd think someone in management would be held responsible in a criminal case and there is a risk of the individual and or the corporation being fined a huge amount by a criminal court.

The difference is that a multi million fine would be awarded by a criminal court, since it is a punishment, and the money would go to the government and not to whoever got a hot coffee. It's perfectly fine if a small business would be fined 1% of their revenue, and McDonald's would be too.

I know this is probably some quirk of the US legal system but I really don't understand the benefits of having civil courts dealing with punishments that seem arbitrarily set by one part in the case rather than by law.
Best default ever:
https://shiro.apache.org/static/1.2.2/apidocs/src-html/org/a...

See DEFAULT_CIPHER_KEY_BYTES

Because no major companies forgot to change it when they used it?
Actually I recall an Asian math teacher who used basic English but did so to great effect. Her way of breaking problems down really helped me grasp them more effectively. Of course other non-native instructors were not as good, so I'd guess it depends.
I don't think the post here is actually asserting not to use a web framework; just that you should not use a specific framework, named Revel, that aims to be Rails-esque. It brings up an interesting point for me about what is really possible (or desirable) in a framework written in a statically-typed, compiled language like Go compared to a dynamically-typed, interpreted language like Ruby.
NATO report on cryptography backdoors [pdf]
Yeah, right, the f# compiled code will be already optimised for the tail call recursion so it can be called safely from the c# code. What I remembered applies only to the c# generated IL.
> The main problem is OpenCL seems an order of magnitude more complex than CUDA.

Do you have any experience to back that up with? I've worked with both and I know that there are areas where your "order of magnitude" (which BTW I'd like to see on paper, quantified) does hold up, e.g. dev tools, but in general your claim is simply false.

> To be honest, Cuda seems semi-portable just because (according to documentation and tutorials I've read) you do little more than allocate memory, tag functions, write loops and the compiler figures out the rest.

Nonsense, you're likely confusing OpenACC with CUDA, the CUDA runtime API is in many cases considerably more simple than OpenCL, but it requires a compiler, and frankly often times is screams rushed design/implementation. In contrast, the CUDA driver API is quite similar to OpenCL.

...and BTW OpenACC is "open" only on paper and in fact it is a very divisive move that has created conflicts, polarized the community, and undermined collaboration between multiple parties (in particular with the OpenMP proponents).

> Also, the latest pdf-pamphlet of the Khronos Group on opencl 1.2 just says they're "exploring" an open source implementation of the spec, which doesn't encourage one to imagine the spec as available.

The latest spec is 2.0 FYI; can you explain my how on earth does one's imagination go astray so badly to believe that just because there is no reference implementation one would consider the spec "not available". Don't get me started with the examples of standards that exist without an official reference implementation.

> Edit: Researching this, it seems that the CUDA compiler actually has been integrated into clang/llvm. An open spec with open compiler seems as open as one can get with software - it only targets NVidia but you can just complain Linux was proprietary when it originally only targeted Intel.

BS. Show me the "open spec of CUDA". Even if one did exist, good luck trying to influence the design of it if you're not an big oil company, Google, Audi or GM. Also, try to use the CUDA name without having to pay a ton of money.
And you seem to forget that the "open compiler" does not actually generate byte-code (that's done by the propritary JIT compiler) and even if did, you still nee NVIDIA's proprietary driver to run it.
> I've yet to meet an anti-TDD zealot who has actually spent a month developing the art of TDD. The detractors tend to be people who write really brittle tests that are a pain to maintain.

OK, sure. I'm basically pro-TDD, seeing as how everyone's taking sides. Yet there's a problem here, which is that (as Martin says here) bad testing is basically a design problem. To write better tests, learn better software design - which is to say, you do not do it (or at least most efficiently) by doing more TDD.

This stuff is not in the brochure. And it should be; because without it, the claims made by TDD evangelists are somewhat misleading. No, it will not make you a better engineer on its own, at all. No, it is not a substitute for getting your whiteboard marker out and drawing a few boxes, or thorough code reviews, or whatever else.

Sandi Metz makes this point in Practical Object Oriented Design in Ruby[0]; and the chapter on testing is right at the end of that book, presumably for the same reasons (get the design sense first, then you'll get a sane red-green-refactor thing going).

Note that I'm not talking about Ian Sommerville here - I'd never heard of him until this whole contretemps, but I'm given to understand he knows a thing or two about design. Perhaps if he really stuck at TDD, Bob Martin's favourite bit would flip[1]. For less experienced programmers, who have not yet felt the pain of maintaining a ball-of-mud and learned a thing or two about separating concerns, TDD is not going to help without ongoing education about design.

[0] http://www.poodr.com/ . The design principles are different outside of the OO world, of course; but not the principle of design!

[1] http://blog.8thlight.com/uncle-bob/2012/01/11/Flipping-the-B...
A motivation to all women
> These threat actors appear to be financially motivated,

Duh.
But they had a very specific target. It was not a "throw money see what happens" kind of thing
also seems to work fine on my end. scroll wheel, middle mouse button work too. seems normal.
Here's your [0].

https://research.stlouisfed.org/fred2/graph/?g=3Q3Y
I meant damning as-in shows their character/disregard for the issue at hand.
Show HN: A (rbenv|pyenv|rvm)-like tool for Java
Not having anything to do with publishing papers myself I thought the 100,000+ papers submitted in 2015 sounded like a lot, until I looked into it [1] and saw there's likely more than a million academic papers published every year.

What are all those papers like? I wonder if a large proportion are the equivalent of peer-reviewed blog posts.

[1] https://www.quora.com/How-many-academic-papers-are-published...
Why are people downvoting this in masses? Not seeing photos of your dead friends does NOT help you get through the sorrow any faster.

Mourning will take the time it will take, but "tidying up" dead friends off your Facebook suggested memories would be patronizing if not outright creepy.

Of course you'll see photos of your friend a couple of years back because the fact that s/he is dead now doesn't erase the fact that s/he was alive then and very much your friend. That's part of your history and cannot be erased by avoiding photographs manually or by some "considerate" heuristic.

Same for ex-partners: it, in fact, was you who were together with him/her one year ago and while you're now separated for a reason or no reason, you still share your slice of history together. It's not inconsiderate to suggest that fact as a memory.
A comment/correction `io` is stable, its just `chars` directly on a type that implements `Read` that is still unstable, the majority of `std::io` is stable these days.
For me, one of Scala's most important features is its type system, which you aren't able to get in JavaScript (I know about flow and TypeScript, but they don't even come close in terms of features).
Maybe fixing that program should be the focus of Americans' attention, instead of infighting over free trade agreements.
Not using clichés is hard.
We're going through a wild west phase of UI ("UX") design where motion is being integrated into user interfaces in wild and crazy ways. Eventually a consensus will emerge (in the past, this has usually been driven by Apple either standardizing on something, like slide to open or elastic-banding) and we'll get library support for a standard "create a new item" "destroy an item" "create a child item" "establish a relationship" and so on. In many cases, there are already contenders, and you're probably better off picking whatever looks like a standard and imitating it.

The upshot is that we're in a period of flux, but eventually standards will emerge and "motion design" will be largely a matter of UI standards and style guides, just as "button design" is today.
> "Free trade is clearly good"

This statement reveals one of the larger problems in US culture: using profitability as he primary (or only) metric when judging social, political, or cultural issues. One of the best descriptions of this problem was David Simon's talk[1] from a few years ago, which I highly recommend.

And that notion that capital is the metric, that profit is the metric by which
we're going to measure the health of our society is one of the fundamental
mistakes of the last 30 years. [...]

[...] the idea that the market is going to heed all of the human concerns
and still maximize profit is juvenile. It's a juvenile notion and it's still
being argued in my country passionately and we're going down the tubes. And it
terrifies me because I'm astonished at how comfortable we are in absolving
ourselves of what is basically a moral choice. Are we all in this together
or are we all not?

The thing we call "free trade"[2] has clearly helped profits in the US, but "profit" is only one aspect that needs to be considered when evaluating if something has been "good" to a society. As you pointed out, we have had several decades of policies that were very effective at creating profit by razing the demand side of the market. A proper evaluation would have included other concerns like preserving demand and investing in less-obviously-profitable things like education.

As a result of this myopia - combined with the gradual destruction of social safety nets - we are now starting to see what happens when people start to lose faith in society. This causes people to start looking for "someone else" to fix these problems. So now we see fascism rising to try to capture some of that unrest. This is going to turn violent a lot faster than most people expect if we allow the status quo to continue.

[1] https://www.youtube.com/watch?v=2ZOH9DgzTCs http://www.theguardian.com/world/2013/dec/08/david-simon-cap...

[2] The policies pushed by the big treaties are just as much about adding barriers-to-entry and removing regulation (often called "standardizing" or similar newspeak; the canonical example is credit card companies racing into Delaware to exploit the local laws and the "free (interstate) trade" of credit.
Very true. Last time I testified as a witness, as is occasionally required by my job, the lawyer reminded me "I know you've been here before. Simple answers. Never use a sentence when a word will do. Always 'yes' or 'no'. Never "yes, and blah blah" or "no, but blah blah".
It seems reasonable that being a core developer of R could land you at least $20k in consulting contracts.
Too much of anything can be bad for you, so pick your poison.
I am not inconsistent.

Where exactly did I write that it is (morally) wrong to push for a higher minimum wage? I am not writing that it is wrong to push for $15/hour. I'm writing on why American workers have a hard time competing with people in Asia or South America, many of whom work for $15/day. That's why, among other things, companies are leaving for Mexico or Vietnam.

Students are taking huge government-backed student loans, so that they can go to college and study sociology/gender studies(or some other worthless field) and then get a job in the government or non-profit. Do you see the circular nature of that?

My point is that most people(except some spoiled & stupid rich kids) who are studying sociology now would NOT do it in a truly free market environment, because:

a) There wouldn't be many government jobs or government-inspired jobs waiting for them.
b) 18 yo couldn't get student loans to study these subjects. Why? For the same reason homeless drug addicts aren't getting $10 million loans from banks. It's a bad investment for a bank to give unreliable people money. Likewise, sociology(or some other worthless field) majors couldn't get a loan, since their earning potential is very low.
c) No welfare. Since there wouldn't be welfare checks to fall back on, most people would think twice about what to study and their choice would not be sociology.
I spent some time at Adobe (in San Jose), and your experience is going to vary wildly from team to team and from campus to campus. There were teams with managers chasing stragglers out at 5pm, and teams with engineers working bleary eyed well into the evening. The San Jose campus is pretty nice in isolation, although there were like two restaurants that anybody went to for lunch (the joint with burritos and some kind of orange sauce was super good though). Everyone used to get their own office but I think this has changed recently. I got to work on some pretty fun low level GPU stuff, but at a company as big as Adobe you could end up doing just about anything. Can you share a few hints as to the position?
well, it is a textbook after all. perhaps the textbook industry isn't so virulent in your neck of the woods.
I don't know the amount, but it certainly wouldn't surprise me if the authors of popular open source libraries boosted their earning power by that much or more.
Wait until you see the product -- it's AWESOME. I've been using it for two weeks and I'm addicted. I think this will be 100x bigger than Rapportive! excited for it!
I'm not sure that using a custom panic filter is idiomatic...
Two policies could fix this. A negative income tax (with UBI) and a state backed insurance policy that either pays out as free retraining, or as wage insurance.
This is great. I find debugging a large system to be easiest when I clean out a related area instead of going bug by bug down a prioritized list. Switching around the code causes a waste of time relearning each area.
On the other hand, the human brain cosumes approximately 20 Watts.
Cronicante13: Prójimo
Napster Founder's Movie Plan Will Fuel Torrent Sites, Theaters Say
+1 here. Gin is a pretty reasonable web framework that sticks to the core go patterns and practices, but provides some good built in helpers. It includes http router (a high performance route handlers and dispatcher), and the implementation of middlewares is nice.

We've tried with Revel, and I completely agree with the post here. We could use net/http directly, but gin is working super well for us right now.
Maybe the first usage of QR codes that actually makes sense to me. People don't want to scan codes to go to urls, but they do want reliable ways take messy human-reable data and put it into software. I hope more uses like this come up.

QR codes were originally invented for inventory tracking. This is just an extension of that.
Thanks for the clarification. What's the idiomatic way to read one character from stdin?