skysight-inc/HackerNews huggingface dataset:
Spoilage due to overstocking isn't just problematic because they have too much stuff sitting in the backroom that will never get sold. It also means they spent too much money buying and shipping that food, with shipping sometimes being the more expensive part (in addition to it being hard on the environment if you think of the fuel used to ship it and emissions it produces).

I'm not their ideal customer, mostly because I prefer cheap, processed, easy to store and make food (think mac-and-cheese). But if I was the type to shop at whole foods due to concerns about ethics and environmental friendliness, I'd be OK with this from that perspective. So long as there are some sort of options available, changing up dinner plans for the week isn't really a huge inconvenience. Maybe they can pitch it that way until they get it better optimized.
Replace everywhere you see "Sales have been disappointing" when talking about iPhone X with "expectations of sales were unrealistic".

That said, I absolutely love my Note 8. I can't imagine paying the same price for a tiny lower res screen, less water resistance, no s-pen, no microSD card, no web browsers, no console game emulators, etc. iPhone X, much less paying $100 MORE for it.

I think they just grossly overestimated the "iSheep will buy anything for any price" effect. They still have it, just not as much as 5 years ago.
This is America's Mainstream Media. This is why our Fourth Estate has failed us.
I think you mean H3 viruses.
Its 21st century, and we still need nukes and torture to feel secure..what a shame.
Saving £132 across 10k users does not sound worth the slightest amount of effort.
Reminds me of the character Marla Singer (or even the narrator) in Fight Club, who, though healthy, goes to cancer support groups for... reasons.

Seems disrespectful in a way :)
fire, electricity, and life/intelligence are result of the same - entropy equalization along the gradient between low entropy region in parameter space and the rest of the space, ie. 2nd law.

AI looks like the next step in that ladder as it isn't limited by physical limitations of a protein based life body, ie. it has all the chances to transcend the current practical limit of 1.5kg of wet live matter blob with 100B elements and 100T connections.
Maybe, but there was no mention of herpes anywhere in the doctor's report.
I'm seeing a lot of interest in pattern matching as users that have discovered it via rust's `match` or similar want to benefit from it in $dayjob language.

C# has seen a similar push to implement pattern matching, down to the use of `_` as discard. The first iteration of this feature in C# 7 is feature light, but it's a good start, and they've promised more to come. The team behind C# has become really good at getting over NIH and embracing new technologies and techniques while somehow preserving backwards compatibility and ergonomics. Anders Hejlsberg doesn't kid around.

Here's an example cribbed from an official MSFT blog [0]:

public static int Count<T>(this IEnumerable<T> e)
{
switch (e)
{
case ICollection<T> c: return c.Count;
case IReadOnlyCollection<T> c: return c.Count;
// Matches concurrent collections
case IProducerConsumerCollection<T> pc: return pc.Count;
// Matches if e is not null
case IEnumerable<T> _: return e.Count();
// Default case is handled when e is null
default: return 0;
}
}

A lot of people have lamented this as the death of F#, but I think MSFT is making the right calls here.

EDIT:

Little-known fact: C# actually does have discriminated unions, and has had for a long time (from the start?) in the form of the `Exception` base class. In fact, pattern matching in C# can be "pulled off" (read: hacked together as a proof-of-concept) without the changes from C# 7 by simply using the extended catch syntax:

class MyType1 : System.Exception
{ /* ... */ }

class MyType2 : System.Exception
{ /* ... */ }

void foo()
{
throw something ? new MyType1() : new MyType2();
}

void bar()
{
try
{
foo()
}
catch (MyType1 mtype)
{
//take type-specific action here
}
catch (MyType2 mtype)
{
//take type-specific action here
}
catch (Exception _)
{
//the _ was optional, but this is the `default` block
}
}

[0]: https://blogs.msdn.microsoft.com/seteplia/2017/10/16/dissect...
Is MoviePass a YC company? I'm just wondering why this is on Hacker News.
This conversation has progressed for a while without anyone mentioning that the sentiments expressed are essentially in support of Trump's accusations of fake news. So we can have a conversation on HN in support of Trump's "fake news" and in recognition of severe bias in media that would indicate "fake news" isn't as much a slur as it is a matter of fact statement.

What am I missing?
"I did some wresting in school and trained for 148lbs (68kg), but I guarantee I would lose to literally anybody in the 198lbs (90kg) bracket, even if they had never wrestled before."

Really? This runs counter to what I've heard from BJJ and other martial arts practitioners -- that a trained fighter could beat an untrained fighter in a fair fight (ie. no weapons, eye gouging, etc) using technique any day. You're saying that doesn't hold for wrestling?
CPC is the VC firm?
I personally haven't tried MoviePass, but I know a few people who have and weren't scammed. It took a few weeks for their cards to come in the mail (not sure if they were paying during that time or not), but they eventually did get them.
It may not be best practice, but I recommend newbies to use Bootstrap. Setup is a breeze, and the way layout works is intuitive for me
IMHO, no, I don't think it ended WWI, it was probably the end of WWI that spread it globally so fast (plenty of malnourished soldiers going back home).

Maybe a bit off-topic, I wholeheartedly agree with your teacher, but even if a historical event has several causes, it's very common for there to be a single trigger that starts the whole thing. Everybody "knows" that the first world war started with the assasination of the archduke Ferdinand, but the causes were many (the alliance between France and Russia, between Germany and Austro-Hungary, the problems in the Balkans between Russia, the Ottoman empire and Austro-Hungary...)

As for your question, it probably has happened a few times (avian flu a few years ago?), but medicine is much better now and, on average, the population is healthier. Just these two facts alone make it much more difficult (but not impossible) for something like that from happening again.

Another off-topic, but I find it weird that it's called the Spanish flu when, apparently, it started in France. Spain was not part of WWI and didn't have wartime censorship at the time, so it was the first place that started reporting cases of it, but it didn't originate there.
Wait, if i understand correctly, we would be charging 0% VAT to other european countries if we were pre-
EU, right?
Really cool tool thanks!

One problem to maybe take care of next iteration:

$ top -o cpu
LuluDaemon 29.5%
After a Debacle, How California Became a Role Model on Measels
As somebody who does a lot of interviews: I don't care about a master's degree. Anectodally it has a very low correlation with programming ability.

The market being flooded with CS degrees doesn't scare me, I'll start getting scared when it takes less than 6 months to hire for an entry-level role.
What you're describing is the fault of those managing the pensions, specifically that they continually underfunded them while expecting unrealistically high returns.

Detroit? You mean when the city that was in bankruptcy due to a multitude of reasons (decades of mismanagement at both the local and state level, decline of auto sector, white flight, etc.)[0], and the "parasites" as you call them that agreed to a cut in their benefits that was pivotal to the bankruptcy going through?[1] I'd say that example (along with your language) makes it clear there's more ideology than fact involved in your argument...

[0]https://en.wikipedia.org/wiki/Decline_of_Detroit#Contributor...
[1]http://michiganradio.org/post/detroit-bankruptcy-lesson-unde...
It is nonsense. The problem is it's not something most people realize and/accept. They hear "The sky is purple" on the channel they usually watch, said by the pleasant looking and sounding talking head they're so fond of. No need to look up and double ckeck. Yup! The sky is purple. Case closed.

Facebook and Twitter would be ghost towns without this disconnect.
It's powered by hydro power mostly, not geothermal. A common misconception.
In fact, the article seems to be more guilty of the transgressions discussed than the transgressions discussed.

For example: "passing opinion as fact". And of course, calling these things "toxic". In fact, I disagree. Sometimes a little tough-love is needed, and this is the code we are talking about, not the person.

I'd suggest the author look up "egoless programming". Her suggestions seem to pander to ego-full programming, and this will mask underlying issues and allow them to fester, causing significantly greater problems in the future.

UPDATE: And of course, something unqualified is always an opinion (for a hilarious artistic rendition of this point, see the judge on The Good Wife who requires lawyers to append “in my opinion” to everything they say)
Yea, same here on Vivaldi. It probably looks correct in Netscape Navigator.

Sites like this are pretty cool to stumble upon though. They are a snapshot in time. It's not even /that/ old. It takes you back to a simpler era where pages loaded on dialup.
Google awards researcher over $110,000 for Android exploit chain
But that is already happening with regular taxes. EU allows apple and google to set up shop in Ire and do business throughout the EU. Why treat VAT so differently?
There is some nice advice in comments and articel

I had a few more things that helped with a platform that I built that went global:

- Internationalization - bake it into the bread from the beginning, the cost is marginal, relatively speaking. Internationalize the UI for sure, and make design decisions relative to having reasonable multi language support for any user type content. It won't be perfect out of the box, but you will have a huge head start when you have to optimize rendering of languages.

- Localization: The forgotten sibling of internationalization can be critical when going for an experience to show a native experience that is local and inviting to the user.

- Equality for the international user: Consider your browser configuration globally and not just North America, which is typically better equipment, higher screen resolution, faster internet connections, the latest browsers, etc. This doesn't mean avoiding using the latest and greatest, but consider it. As much as I like React, lighter libraries like Vue can be a little less heavy. Lean, mean, and fast go a long way when you have a user on an off-shore platform needing to access something required to do his job.

- Mobile first - the world is mobile first, North America is a mix. For many people, depending on the country, the mobile is the only device they have, through which they have to accomplish tasks that others may complete on tablets or laptops. Consider this in your design and also try using only a phone for a week to do what you do normally on a laptop - it can be eye opening.

Thanks to folks who have reccomended services like Chargebee - sharing current resources that solve neccesary problems like this help a lot. It's great to be able to take money in any form rather than force a user down a particular path.
Why should I do a whiteboard or take home assignment?

Job I had in 2002 I did whiteboard and a take home assignment. I was hired but once I fixed the speed problem in their code running slow I was fired because they didn't need me because they got my take home assignment and white board info to give to the next programmer they want to screw over.

I'd rather pop popcorn or bake pizzas than work with a company like that again.
Keep reading, they also cover dealing with exclusive access to subsystems. I could totally see this being applied to DMA and other long-running peripherals to great success.

I'll also disagree that this is a small problem. We had one of these that was so hard to track down that it involved 100+ devices running in a stress loop over 24 hours with cameras looking for the regression. Ended up being a timing sequence that could have been caught by a system like this.

The repro was incredibly infrequent but when you've got millions of units even 0.01% chance of something happening is too often.
thats exactly what it is. And because small businesses can't lobby, nobody even acknowledges there's a problem.
And most other sites have dark text on a light background, not light text on a dark background.
I 100% agree. I'd quit immediately from any job that forced me to join a union. I will not have someone else negotiating for me. I can do that on my own, thank you very much.
Could the answer to all those questions be "because the developer made the wrong job choice?"

There are plenty of good developer jobs in silicon valley and the broader tech market. Why work somewhere that treats you poorly?
Can't say the Harris Teeter in Raleigh is ever out of anything.
In light of the fact that this person's friend died last week, perhaps you might lead with condolences for their loss before trying to figure out how you can use this death as a data point to vindicate your argument...
Sounds like possibly growing pains as Amazon fixes WF logistics. I bet they come out the other side way more profitable and Amazon has a huge win from this.
> our society is incapable of understanding nuance.

That's the pattern I see in a lot of public discourse. What I see all the time is: X may be a better position than Y, even though argument A for X is wrong and argument B for Y is very well thought out.
How are taxis increasing congestion? One car making ten trips surely leads to less congestion than ten cars making one trip.
As a customer I don't really care about that kind of thing -- if a store consistently doesn't have stuff I need I'm just going to go somewhere else.

This issue strikes me as short sighted thinking by bean counters. It might save money in the short term, but you're going to lose customers and employees this way.
> I'm lazy, sue me.
Just because you are paying someone to do the complicated things does not mean it is not complicated. Also, $150 per month may be pennies to you but not for people in easter EU countries, or for a student trying to make a business. And that's only for 2500 invoices per month, what if you have thousands of tiny amounts?
So you think stores should just keep a huge backstock of fresh produce just in case an extreme weather event or some other rare issue hits? That's going to lead to less fresh produce for the 350 days a year when everything goes smoothly.

The OTS system in the article also allows for exceptions - if there were bananas available the store could have stocked up on them. It's just so wrong on many levels - I could spend all day pointing them out, but this thread is getting bigger than I thought and I don't know if I can spend much more time on it. I was going to edit my original comment with more information but it doesn't look like I can anymore.
Please, can somebody explain the threat model in android if you don't sideload?
Third it! Trip mode is great. I tether from my phone a lot and need to protect my data from background usage.
It probably was. H3N2, mentioned in the article, is the most prevalent and deadly this season - "2017-18 vaccine component strains are A/Michigan (H1N1), A/Hong Kong (H3N2), B/Brisbane (all vaccines), and B/Phuket (the quadrivalent vaccines)."
Yes you are right.

原子 genshi means atom. 力 means power (strength). Stick them together and it means using the power of the atom.
This is list reeks of entitlement.

> If it's a "seller's market", why do so many developers work under onerous IP contracts that grant their employers rights to what they build in their spare time?

Most developers don't have any IP to lose. If you have IP to lose then you can find a company that won't ask you to sign onerous contracts.

> If it's a "seller's market", why do so many developers work in noisy bullpen environments where they have to blast music into their ears with headphones to focus their attention on what they're building?

This is entitlement. Open office saves money. The only option that saves you from wearing headphones is a private office per programmer, which is rare (I think Microsoft still does this). The next common options is cubicles but you still need to wear headphones.

> If it's a "seller's market", why do so many developers have stories about working late at night and on weekends to ship features on bogus accelerated schedules they had little hand in setting?

We are well paid to get our work done. Doctors, lawyers, investment bankers, accountants all work as much or even longer hours. Also bad managers create bad schedules and bad cultures, this is across fields.

> If it's a "seller's market", why do so many developers accept payment in the form of equity that has to be executed at great expense immediately after leaving the company, and offers no actual guarantee of return after making that investment?

"Great expense" is an exaggeration. Other career paths don't have equity. 80% of the companies I've worked at gave me worthless equity. It's the game that we play. The other 20% made me ~$500k.

> If it's a "seller's market", why are developers forced to move to the most expensive real estate markets in the country to work every day from a particular office when their work can be done more productively from their own home offices?

No one is forced to move anywhere. People want to move here, still.

> If it's a "seller's market", why are so many developers compensated with equity whose terms they're not even allowed to fully understand? And why is it that their common shares are last in line after liquidation preferences and VCs take their rake?

"Not even allowed to understand"? That's a lie. If you work for a shitty company that isn't transparent, you can leave and work for another company that is. That's a seller's market.

Tech workers are generally much happier than other professions. Until that changes, you will never get unions. I hope it never happens, and I will never join a union, and I personally don't know a single programmer that wants to as well. Those that want unions are in the vast minority, and are much louder on forums like Hacker News, but it won't get much traction unless there's another dotcom bust.
You can call it dogma. I think of it as a fundamental principle of human nature. Balancing creativity and efficiency effectively is quite the trick, and capitalism actually pulls it off. People and companies who take risks are the ones that thrive. Those that don't "fade away". It uses survivorship bias to our advantage.

Fading away used to mean dying in the streets. Sometimes it still does, but much more rarely. It's a dearly paid price for the innovation that brought us the world as it is today.
This is almost exactly the same philosophical discussion as "if a tree falls in the woods and no one is around to hear it, does it make a sound?", except with politics mixed in for extra spice.
Nice data! I grabbed a copy and loaded it into Datasette here: https://delitos-caba.now.sh/

Here's how I did that: https://gist.github.com/simonw/eb5ad8e55d75bbc3003dd9e5d6eb4...

Here's an example SQL query showing the top barios: https://delitos-caba.now.sh/delitos-6395324?sql=select+%22ba...
For me worse than shark was ordering lamb and being served an entire sheep's head.
It’s only a model. The housing market crash and the 2016 election show how wrong models can be, even if all the inputs and the formula make sense.

They could be off by a factor of ten. In the wrong direction. We won’t know until it’s time.
You can drill down in Diskitude by right clicking. I agree it's not as nice as Daisy Disk, but it's the best I've found for Windows (for my tastes) and you can't beat the price...
Puke emojis are not "more direct style of communication". Passing value judgments on code and the coder are not "more direct style of communication".

Directly saying what changes might improve the code, and why the code is better with those changes is direct communication.
Aw, I thought it would be some experimental Super Low Power Chat thing.
Not necessarily. If said refactoring requires very little work, then sure. But, as it often is the case, refactoring often takes a fair bit of work and probably more than expected. Thus, it is out of scope of the original PR/branch.

If the PR is for adding a feature, then focus on that. Refactoring is better served by having its own dedicated focus and branches, respectively.
FB provides a platform for gossip and entertainment
Embrace , extend and extinguish. Either that or developer ergonomics . Most likely the latter.
Most meat teams at WFM don't have overnight crews.

The thing is too, it's a snapshot. We don't know how long it looked like that, what time of the day it was, whether someone called out sick, etc.
This year's vaccine is only 10% effective at preventing the worst strain. Part of the reason is we incubate the vaccine in eggs(?) and that doesn't work as well for this particular strain.
Very interesting! This reminds me of the central thesis of “Drawing on the Right Side of the Brain” by Betty Edwards, which is that in order to truly learn how to draw, you need to render what you see, not what you know. Everyone can do it, but it’s hard for some people to see something as a collection of lines and shapes instead of a face or a building. Sometimes this involves tricking your brain, e.g. drawing from an upside-down picture.
The old title was "Official Swift forums switch to Discourse," or something along those lines. The current title ("Swift Forums") tells you nothing.

Aside: I detest Discourse. It is an abomination of good ideas mated to horrible UX by developers and designers too caught up in drinking their own koolaid to understand that most people do _not_ live in Discourse and expect the website to act the same way every other website does. Hijacking `ctrl+f` in a webpage should reserve a special spot in hell for the person that decided it was a good idea [0].

[0]: https://meta.discourse.org/t/options-to-disable-hijack-of-cm...
iPhones and Facebook, for all their issues, were adopted by the masses by competing in an open market.

Mass motorization and suburbanization were driven by government policy and still are. For every consumer dollar spent on driving, the government spends ten (wish I could cite this, but I can't find it at the moment).

I'm not saying cars aren't appealing, or that they don't have utility, just that the situation most Americans find themselves in, where the built environment favors cars to the exclusion of all other modes of transportation, is the result of public policy interacting with (or distorting) markets rather than a pure expression of individual preference.
Trump uses this to promote a worldview that facts are whatever you want them to be. As with most things Trump, any kernel of truth is immediately ruined by some even more false, stupid and incompetent idea he wants to promote.
I might be wrong, but I'd say that the interest in switch expressions and pattern matching from the Java community most likely comes from Scala (a JVM language) rather than Rust. Here's an example from the Scala docs:

def showNotification(notification: Notification): String = {
notification match {
case Email(email, title, _) =>
s"You got an email from $email with title: $title"
case SMS(number, message) =>
s"You got an SMS from $number! Message: $message"
case VoiceRecording(name, link) =>
s"you received a Voice Recording from $name! Click the link to hear it: $link"
}
}
If those are the companies we should compare Whole Foods to, then I will stop going to Whole Foods and save 50%
EU cookie laws might feel silly, but I’m really glad that EU politicians are erring on that end of the spectrum than taking the path the US has been walking with net neutrality and surveillance.