skysight-inc/HackerNews huggingface dataset:
..Or the new Google..or the new Amazon.

Both of the above companies have nearly 100% automated responses. With Amazon, if you get your selling account put on hold for any reason (even if it's by mistake through their automated bots), you will not be able to talk to anyone on the phone or through email. Your account is also put on hold for 90 days and your money might get transferred back to you when they feel like it.

It happened to me a few years back. A customer was ordering merchandise, stealing it, and filing disputes with Amazon. I wasn't able to block the customer, because it's not possible with their current system. Support was unhelpful (automated copy/paste responses) and they pretty much sided with the customer every time and deemed my account a "threat". Before this, 100% feedback.

It's a good lesson to learn: Don't base your business on one companym because they might just pull it out from under you one day.
India’s E-Commerce 1/80th Size of China’s
Here's a recent post I wrote about reasons for and approaches towards TDD. Generally, I love it. I find an API evolves though as you build it, so for me, it's a bit more about "tests at the same time" and "tests as the primary and first way of exercising the code". Also, that tests do better when they test use cases at a higher level, and that unit tests (I do agree with the article in some ways here) are often written at a level which penalizes refactoring, when they could be instead automated tests at a higher level.

http://michaeldehaan.net/post/120522567217/the-case-for-test...
If every time a company popular on HN did something that one HN user found inexplicable we had a top-of-the-front-page story about it, the front page would be nothing but complaints. An "Ask HN" would make more sense, since that would (a) generate information instead of just broadcasting a complaint, and (b) reveal whether there was a trend behind it.

I flagged this story, and hope other people will too.
I fundamentally dislike this approach to solving the problem. It feels very crude.
Goldman Sachs Tells Interns to End the Late, Late Show
Yeah, seems like pretty basic blackmail to me.
This reminds me of my Gakken GMC-4. It's a 4-bit computer like this, but a physical piece of hardware. It has 7 LEDs, one 7-segment LED, a 20-key keypad and a tone generator. You have to key in the programs manually on the keypad, but you've only got about 100 4-bit words into which to fit your code and data. It's further constrained by the fact you can only directly address 16 of them for data. Even so, it's surprisingly fun and challenging to write little assembly programs for.
I think it's worth noting that this was originally titled "Apple is not our friend". Sheesh.
You have a much smaller number of bugs because (a) each component is much simpler (b) runs as a separate process and so can be debugged and worked on by mere mortals and (c) works using a well defined interface (message passing) which makes testing and debugging a much simpler affair.
I don't see how the amount of money Apple has in the bank matters here.
> as you have no way of mitigating that.

Actually, you do. In many cases, fraud follows a pattern. If you're a merchant, and you're getting a lot of fraudulent charges, you'll often get into a discussion with your upstream processor's fraud department about the details and how to mitigate it. I don't work in payments anymore, but as an example of how this works, I was talking a few weeks ago with a merchant who does tens of millions gross every year, but also faces five digits of fraudulent transactions. They sell car parts, so it's quite easy to buy one or two things for a lot of money. While working with their processor, they discovered that a significant amount of fraud was coming from two cities. And not just two cities, but two neighborhoods. And not just two neighborhoods, but two streets.

They simply reject any transaction from that street before even sending things to the processor, and now they're saving tens of thousands of dollars a year.
When I used to process credit cards for MetLife it would always error out if I messed up the name or address. This was only about a year ago. I forgot what system we were using, but just thought I would mention it.
Okay, I'm going to put on my tin foil hat for a bit here.

Think of the corporate boardrooms with Chromebox for meetings, listening in even when not actively used for meetings. An exec at the Better Business Bureau [0] who chose Chromebox because they were excited to, "[reduce] the time [they spend] ... worrying about security concerns," is discussing the growing complaints the BBB has received about a competitor to a company owned by Google. He says, "Ok, Google owns their primary competitor, and they may have insight to offer us."

Wait, that's just my tin foil beanie. Let me put on the tin foil balaclava.

The U.S. Department of State [1] is in an all-hands-on-deck crisis meeting over a deeply divisive political situation involving a first-world ally. Chrome is updated with the eavesdropping feature (remember, it's just my tin foil that's making me choose that word, I know it's hyperbole), and it's already been "deployed to production immediately, bypassing cumbersome testing." Someone in the meeting says, "OK, Google News has been trending a lot of stories about this issue." Sensitive things are then said about this ally, things that are now being heard by an enemy of the state, because they were able to use their previously embedded network sniffers to capture and forward interesting network traffic.

It's frightening that a feature is enabled by default, and difficult to disable, that could capture sensitive conversations without the knowledge of the parties speaking because they innocently started a sentence with, "OK, Google." Certainly this violates wiretapping laws?

Let's pile on. Hospitals and medical centers are using this too, according to the Chrome for Work pages. A doctor says, "Ok, Google had a lot of results about new HLA-B27 research," when discussing a patient's arthritic concerns, while proceeding to outline the patient's symptoms and how treatment should proceed and now we're looking at a potential HIPAA Privacy Rule violation.

As I type this, I look over at my Amazon Echo, and I'm reminded of something I heard once. If you're not paying, you're not the customer, you're the product. Is that hypocritical of me to accept my Amazon Echo but not the behavior of Google Chrome?

[0]: https://www.google.com/work/chrome/resources/customer-storie...

[1]: https://www.google.com/work/chrome/resources/customer-storie...
Not sure if sarcasm - if not, then I agree. If so, see their list of current artists here on Wikipedia:

https://en.wikipedia.org/wiki/Beggars_Group#Current_group_ar...
The problem with playful banter with acquaintances or coworkers is that not everyone has the same threshold or filter for what is or isn't appropriate, or what is or isn't hurtful or insulting. Often times, and what I found with my brother in law is, some can serve it up, but they can't take it in turn without getting all bent out of shape or offended.

I have learned over the years it's always best to behave cordially and respectfully toward those I work with. I've come to believe that it's simply not realistic to go to work and expect to form deep friendships with people there.

I also think this expectation that everyone should be ok with banter and teasing contributes to the lack of diversity we often see now. If everyone you work with is of a certain type, and interacts in the same way, in way that some find insulting or hurtful, then you are not cultivating a diverse group of people, just more of the same.
I didn't even know there was such a thing as "Ruby on Rails Security".
Wouldn't Beats 1 just operate under the standard radio licensing agreements?
Nope, I have no proof, and of course I'd be happy to learn that they aren't listening. I just hypothesize that they are based on my experience, but I've not tried to test it in any systematic way.
OPM breach: We get exactly the IT security we're willing to pay for
Well, this is a new development. I will state that my personal experience is different than what is claimed here. With the distribution service I pay for / use, Apple Music was an "opt-in" service. My music can be on iTunes or Apple Music, or both. Different releases can be categorized as I see fit, at least for now.

So, I'm not sure the claim of "will remove bands" is entirely accurate. They might remove Brian Jonestown Massacre, but I'd like to have a good look at the contract they have with their record label, and the label has with Apple, before I expand such a claim. Maybe Newcombe doesn't know that it's a bargaining position between his label (or affiliated labels) and Apple...because while he's obviously really, really mad, I'm unsure if I believe his situation is entirely representative of the entire sphere of musicians out to make some money in this arena. In other words, maybe he signed a bad contract and should go yell at the mirror for a little while just to be fair.

While I'm on this soapbox, I'd also like to point out that unless Newcombe has a contractual obligation to his label to have music on iTunes, then pack up and leave. Go join TIDAL on principle. Or, even more to his point about wanting to get paid, go exclusively with Bandcamp and set the sales price to $50 per track. Take a stand, show the world - actions speak louder than words is an old but good expression for cases like this.

Again, unless the contract he/they signed handcuffs their decision making, there are a lot of options other than ranting at a behemoth retailer with a significant market share. Do I work for Apple or even use iTunes personally? Nope. Do I like getting pennies from Spotify versus some pretty decent revenue from iTunes or Amazon? Not particularly. I've marched down my own path as an independent who doesn't make a living in music, mostly because I've never wanted to try making a living in music. It's a ridiculously hard industry, and I dislike living in poverty quite a bit.

It will be interesting to see what the 'investigations' turn up regarding Apple's negotiating tactics and behavior during this process. Many people understand they're sitting on a giant pile of off-shore, un-taxed cash...and believe the company could pay artists / labels / meat popsicles like me for every listener's 3 months worth of royalties without a catastrophic impact to its business. But, like with those billions of dollars, I'm also aware that Apple's mentality seems to be "We don't want to pay, and if we don't have to pay, we won't pay." I don't like it, but I'm not remotely surprised by it.
Thinking of leaving academia to become an entrepreneur?
Triton Elastic Container Service
I'm glad it's finally arriving, it been working in Firefox for quite a long time and I'm happy to see v8 implementing this ! Arrow functions are so much nicer to read and use.
This is a much better example of the point the author was trying to illustrate.

Though I'm not sure sure if the HTML / TeX comparison is the best to exemplify the concept. I feel that if a beginner were to make the conceptual mistake that HTML tags are not nested that they may also not grasp that {}'s are to be nested as well. Thus falling into the same trap as HTML.

I'll admit that {}'s look more obvious to form a nested structure but it may also be that my eyes are trained to see them exactly as such.
It makes no sense at all to pay $2k an acre-foot for water in a state where millions of acre-feet are being used to grow alfalfa that sells for less than $400 per acre-feet of water consumed.

It would be cheaper to use eminent domain on water rights and pay the fifth amendment just compensation costs.
As I mentioned in the other thread re: Beggar's Group, the 3 months free streaming is likely to represent a significant financial hardship to indie labels. Since everyone with an iTunes account gets free Apple Music for 3 months, you can expect that sales on iTunes will plummet during that period.

While the major labels can weather the resulting loss of revenue, losing a significant number of your sales from the world's largest music store for a full quarter is likely to put some indie labels and artists in a position where they're unable to pay their bills. Apple Music's impact will likely ripple out to sales at other stores, too, which will worsen its impact on revenues. And while artists can at least fall back on touring revenue, small labels don't have that option.

I can see why labels and artists are upset. Apple Music's free trial may very well have a ruinous effect on their livelihoods.
Should salaries be public or confidential?
Comparing Triton containers to VMs and bare metal servers
Major Facebook Login Breach – Allows Access to 3rd Party Accounts Like Uber
This is pretty useless. You should give some context.

Using a disposable HN account does not help either.
Uber won't take this sitting down. They'll be paying K street lobbyists for a federal law to pre-empt California law.

The federal government no longer serves the people of the United States. It is the place where multi billion dollar businesses get laws passed to override state laws.
You can't convince this crowd that Apple is an organization of people, with people inside it, who want to achieve things other than make Apple money. You just can't. I don't know why. Apple is evil in some very special way, apparently.
The problem is new releases. If I release an album at the start of the trial people will naturally listen to it a lot for a couple of months and then listen to other stuff - and now I've just lost out on revenue for the biggest selling period for that album (around the release). For the small labels this is enough to put them out of business.
If you know JavaScript, Node.js would probably be the quickest platform for you to start with. See https://news.ycombinator.com/item?id=9727658.
Whenever you choose the “Login Through Facebook” option on any website or mobile app, you expose every other account where you ‘logged in through Facebook’ including Uber, Snapdeal, Zomato and Foodpanda among the rest.
Does this get us integers in Javascript?
Being blunt, how do we know? For example, when the buildings collapsed back in 2013, the discount chains selling unbranded clothes like Primark and Loblaw pledge to offer compensation, while Benneton tried to hide their relationship with the manufacturer.

As it ever been studied if the work conditions of the workers making branded stuff are generally better than their counterparts working on cheaper clothes?
With all due respect, take a quick look through the replies, there are a lot of "I experienced this too" comments. If you go further and search HN you'll see that this tends to be a common problem with Stripe support.

I think that this type of post is fine for HN. It's a YCombinator backed company, with the founders and most of the team commonly browsing the site and people here are usually able to point you in the right direction.
Arrow functions are one of the improvements from JS Harmony (which was ratified last night).

This commit moves them from "behind the experimental flag" to "shipping by default" in Chromium. It's a pretty big deal to people who write JS for a living.
I tried to help a business that received the exact same message as you. They had $7.500 on their account.

We eventually gave up, as no one from Stripe answered with other than pre-written answers. I even tried pinging them on IRC, but they couldn't help with these matters.

They had no disputes, and Stripe provided no reason for the cancellation.
The piece uses this bewildering-for-the-lay-person language sparingly, and I think it's intended to be bewildering. It seemed to me to be meant to confuse you at times, to then later make it clearer, or to provide an escape hatch, if the reader so desired to give it a try. It's meant to give an impression of, an emotional connection to, what it means to be a programmer. To be a programmer is to take on understanding that bewildering language. It's not just some magic that we can do because we "get" computers. It was hard work that got us here.
When getting downvotes, the worst thing you can do is edit and ask why you are getting downvotes. That typically results in more downvotes.
The grammar in the original headline is pretty terrible, but the submission appears to have cut out quite a significant word: "Swift".
We once asked Auth.net support an API question. The response: "What's an API?"
I love that earlier up in this same thread people are complaining about the magic \x sequences in postgres and this is how you do query edits in the mysql cli :)

I've got my biases, but whenever something like this comes up, I just make some popcorn and enjoy the show.
Pex: library for generating .pex (Python EXecutable) files
They are a compact way to write anonymous functions in Javascript, so instead of

var square = function (a) { return a * a;}

You can write:

var square = a => a * a;
Libraries for race/ethnicity detection by face?
Show HN: Enhanced Comparison of Fingerprint Data
Blah, I really shouldn't feed this troll...

> Why should the government, today, have a say on the nature of my relationship with my employer?

Because we, as a society, have decided to give the "little guy" some small amount of power. We have decided this tradeoff benefits society as a whole in a number of ways. We have decided that the most blatant forms of exploitation shouldn't be allowed. The reason "today" is different is because of regulations not in spite of them.

Taxes have nothing to do with it. Your rant about income taxes is just ridiculous on so many levels, plus income taxes are hardly the only kind of taxes that people pay. My town has property taxes (many thousands of dollars) due in one lump sum at the end of the year. Remember, US federal income tax is younger than the US.

It's all about the benefits and protections employees have that contractors don't. The government doesn't give two shits how many independent contractors are out there, the important part is employers not misclassifying people as independent contractors in order to skirt those protections.

Please, do move to a place where government doesn't regulate working conditions. Work there for a couple years and then get back to me.
Awsome offer with Wimbledon just around the corner.BUSINESS OPPORTUNITY
With Wimbledon just around the corner, we are looking for affiliate with lists of sports betting players, poker players etc to promote our tennis betting picks product. 50% commission and EPC £17. If you have a small or large list, lets get together and do some business.marketing{AT}wirewatermedia{DOT}com
Can anyone explain the intent here? It seems like a ridiculous decision by Apple any way I look at it... and I'm an active opponent of the major labels & right-holder organizations.

If Apple is trying to shift to a user-subscription model and pay the labels (ultimately, artists) net-90, that's great, however it's obvious to anyone who's run a bootstrapped business that an unforeseen, 90 day break in cash flow can be an unrecoverable setback.

Not for big labels. They can weather the storm (though precedent dictates they'll pass as much of this cost on to their artists as legally possible).

The financial situation of end content creators and smaller studios is far more variable. Some will be fine. Others (especially those with content scheduled for release within this 3-month window) could be completely overwhelmed. This simply consolidates more market power into the hands of currently-large labels, and generates ill will toward Apple elsewhere.

Why would a company that seems to want to attract self-publishers into its walled garden not find a structured solution to bridge the gap?

I'm all for forcing artists to stream their music (I'm looking at you, Taylor Swift), because I see how that can ultimately make everyone more money.

Arbitrarily disrupting cash flow, though, in order to run an experiment and offload your acquisition costs is a pretty offensive, and surprising move by a company with hundreds of billions in fungible assets.
> And given the natural response of competing digital services to offer comparable terms, we fear that the free trial aspect, far from moving the industry away from freemium services – a model we support – is only resulting in taking the “mium” out of freemium.

Wait, how does that work exactly?

(Though I agree with the point that they shouldn't have to bear Apple's customer acquisition costs.)
Fitbit Spikes More Than 50% in IPO Debut
It's very true. I recently had an issue with Expedia and was getting no where with phone or email support. I simply tweeted their public account with 140 chars of details and boom, they had "coincidentally" updated their TOS which meant my issue was now resolvable.
This Blog Post https://www.joyent.com/blog/understanding-triton-containers explains it very well!
Make this thing mainstream and, yes, there will be plenty.

Why would you compile your application into x86 code if you can compile into WebAssembly, distribute inline on your web page, and just cache it at the client's machine?

(Yes, there'll be plenty of whys. There'll also be plenty of applications for what none of the whys apply.)
I don't hate apple, just what they do.
My thought is that they basically run gradient descent on the image where the loss is the magnitude of one output plane in one of the layers of the neural network. Probably using gradient descent to push up the magnitude of one of the output plane layers or something like that.
Disable JS and CSS and try to use the internet.
Is that a valid argument for every phone being able to have this capability? Accomplishing this on computer either requires informed consent or some kind of malware/backdoor. On Google Android it's a feature.
The last time I used a debugger was when with VS/C# or IntelliJ/Java, many years ago. For the coding I do now, mostly Go/Python/JS, I find manual debugging techniques much more effective.
> as fixing HTML by hand is always a pain in the ass

you have a really low bar for what constitutes a pain in the ass.
People are going to feel unsafe not giving you that information but also a credit card. (Which is pretty fair...)
It's pretty wild that Beats doesn't use any special hardware or tech in their headphones, but is able to retail for $199+.
One cannot address California's drought problem without first addressing agriculture.

Agriculture consumes the vast majority of the state's water. Distribution of water is governed by a system of "riparian rights" that (in brief) have an all-you-can-use first-come-first-served basis, giving landowners farther upstream and closer to the waterworks greater ability to extract water. The result is that this system gives many farmers no incentive to minimize water use.

Currently, agriculture consumes most of the output of the state's vast water engineering projects, especially to irrigate the Central Valley. This has not been helped by the farmers growing monocrops that are not suited to the area's environment, such as fruit and rice.

For God's sake, they're growing monsoon crops in what is naturally a desert!

Now these same farmers are drilling ever-deeper wells that are draining the aquifers beneath them at pace greater than their recharge rate. As a result, household wells are going dry, the river is dust, and consumers are being asked to cut back water usage by 25%.

But you cannot fight a drought in this manner when residential water use makes up barely 14% of statewide water consumption.

Like most resource crises, California has more than enough water to supply itself, but the problem lies in distribution. Too much is available for agriculture, and too little is available for the people.

Californian water, even in these drought years, is plentiful, but due to legal strictures, a generous use of it languishes in the very sight of its supply.

Efficient distribution cannot be achieved until the arcane system of riparian rights for agriculture is abolished, and water is recognized as a truly public resource.

The solution to the crisis must be political as much as environmental.