skysight-inc/HackerNews huggingface dataset:
I googled "vegan mayo scandal" and here's a quote from the first result - "He notified Hampton Creek’s two outside board members, from Khosla Ventures and Horizons, that he suspected Tetrick was misrepresenting the company’s finances. Both firms stuck by the CEO, and the board launched no formal investigation."

The quote is from a Bloomberg article - https://www.bloomberg.com/features/2016-hampton-creek-just-m...

It's just astonishing to read that an company executive told board members that something seemed wrong with financials and the board members didn't immediately look into it. If the people who are supposed to be doing the due diligence aren't doing it, who do they think is going to do it?
I would feel very good about both of those things. Insurers should be free to incentivize healthy behavior
Why diagnosing Alzheimer’s today is so difficult, and how we can do better
If you have cores to spare, you can do incremental compilation every time you save a file. You can also do a lot of speculative work that may be thrown away but, in case it's needed, it's already done.

There is no such thing as too many cores ;-)
IMO games should encourage ergonomic aids. Why allow the UI to be a limiting factor to how you want to play?

For example people used to talk about APM in SC2 as a sort of measure of how good someone is. Why should that be? It's a strategy game. Imagine if you could express your ideas effectively into actual game actions?
The cynical view is that other countries have restrictions around drug advertising because if an expensive drug is demanded they have to pay for it through their single payer system. I can imagine not wanting the population to find out that there is cure for Hepatitis C but it costs the country 20k per person. Not all countries are as forward thinking as Australia:

http://theconversation.com/australia-leads-the-world-in-hepa...
> His desire was to receive the most immediate care possible and the surgery was intended to install a plate to stabilize his hand and ensure that it heals properly.

That has a cost. I'm Canadian and if I wanted to get a scan, it could takes months. If it's actually an emergency, it will be much faster, if I paid for it at a private clinic, it would be much faster too. Non urgent immediate care has a price.

> The surgery he was prescribed was to stabilize his injury to ensure it healed properly, delaying that treatment could potentially lead to improper healing.

They aren't there to give him "proper healing", they are there to support emergency situation.

If you go to your hospital and it takes 6 months, it's because they believe that 6 months is still "proper healing". If it takes him longer in UK, it means that it's still "proper healing".

His first hospital stay was an emergency, he didn't want to make the claims, but that was what was claimable.

If his doctor in Singapore though that he couldn't take the plane, then that's what he should have gotten as proof.
Either you fix the system or the system fixes you.

When you grind people down so much that tens of millions have nothing left to lose, watch out.
How Fishbowl saves $150k each year through automations in Front
Like email scammers they're attacking the lowest hanging fruit - people who don't know better and/or have no other option.
How an Offer to Sell Wistia Inspired Us to Take on $17m in Debt
Java used to default to heap allocation for pretty much everything, but added escape analysis as an optimization. For Go escape analysis as been part of it since day 1. Basically Java is heap by default that uses the stack when it can. Go uses the stack unless it determines it must use the heap.
MacOS VPN architecture from System Preferences down to nesessionmanager
Just ask any current/former employee, it's practically folklore by now (i.e. knowledge older than 6 months)
Thanks!

I don't think there's a way to guarantee that sendfile() won't block on Linux. On FreeBSD, you can specify a "go as much as you can without blocking, and then return" flag; Linux doesn't have a flags parameter for sendfile() (maybe it needs a sendfile2() syscall with that?).

You can maybe use readahead() and keep the file open, but that may also block as it does its work behind the scenes. A thread just for this kind of blocking calls would be nice. But even then, this doesn't seem sufficient; so you might want to use multiplex sendfile() calls in bursts.

Also, yeah, Linux aio syscalls are interesting, but they're quite tricky to use and not very portable. I'll check out your project, thanks for linking to it -- should be useful reading material while I learn Rust.
Agreed, I have nice "gaming" mice with perfect sensors but nothing can do horizontal scrolling to expand/collapse audio files in Logic.

Same with rotating in Preview and easy smooth zooming on webpages.
I feel like this kind of ignores the big difference between current, not particularly compelling technology (an RFID chip), and future implantable technology.

Currently the only thing an implanted chip can do is replace an RFID card, which isn't all that uniquely useful. Even for nudist vacations.

Sure, if they can implant a whole health sensor in my hand that my doctor can monitor (not my employer, thank you very much), I'm interested. But that's a world away from letting my boss RFID chip me just so I can buy food in the cafeteria.
Around this time the method to get a DNS name was basically the same. Send an email with some reasoning to the right person and the name was yours. I remember being amazed that was the case. I also got a SSL cert issued around 1995-6 and the process then was email followed by faxing (or paper mail) proof (in the form of bank account, DUNS numbers and state-level incorporation records) documentation confirming you were who you say you were. I dont believe money even changed hands then.
OK, we can try turning off the flags and seeing what happens.
I don’t know much about film, but I can imagine someone saying the same thing about programming. We spend all this time building things that get replaced before they even ship. We celebrate programmers who remove more code than they add. Surely this is a huge waste that could be avoided with better planning?
Try reading the methods section of your T-cell paper. After electroporation, they cultured at constant cell density, which only required adding media every 2-3 days.

So, on average, only one cell division happened before measurement, unless you want to claim GFP stimulates T-cells to hyperproliferate. My intuition is that cells with the transgene will actually be slower than their competitors, since they have to waste energy to make GFP.

The PLoS One paper you've linked is about in-vivo hyperproliferation of T-cells in response to an ongoing infection, not about in-vitro primary culture in minimal media.
I hear you, but I think the other side of the country is if it really was bad we don't want exploitive photos being widely distributed especially without the consent of the subjects in the photos.

But, if they're not that bad I'd imagine the scientist or the women in the photos would leak them.

At the very least it would be good to hear the reaction from the women in the photo themselves rather than the judgements of people who weren't there when the photos were taken.
you are talking about a blockchain.

I have talked about this in many occasions to developer and they also agree that a blockchain to maintain a unique fingerprint of the game is very good to deter many attacks to modding and extensions to code, no matter the platform.
> in this day and age

A little tip for you: If your argument hinges on "in this day and age", it's almost guaranteed to be wrong. Find a better argument, and never use that one.
X1 Carbon 5th gen had some kinks at first but has been serving me well w/ Ubuntu for a year now. Managing the HiDPI display has been the only real headache -- if I could go back in time I'd have gotten the 1080p screen instead of the high res one.

Besides that when I say it works, I mean it really works. Even the 4g card I added worked out of box on Ubuntu!
I love generic advice :)
Where are you geographically? Was your Amazon upload to a datacenter physically much nearer to you than California? 30MBit/s sustained for 3 days isn't unreasonable for a business connection, but seems high compared to most of what I see available at least in the US.
Taking out a bunch of student loans in order to join the gig economy isn't nec the most sensible path to take.
Apple Watch is still 32-bit
Ask HN: Cost estimation for a text-based chatbot (Dialogflow and Messenger)
Hello,

In Dialogflow Enterprise Edition, a text query costs $0.002 per request, and there is a limit of 600 text requests per minute.
https://cloud.google.com/dialogflow-enterprise/docs/editions
https://cloud.google.com/dialogflow-enterprise/quotas

I am trying to estimate the costs of a Messenger bot based fully on text requests. I am using this calculator: https://cloud.google.com/products/calculator/
For the average number of sessions each user has per month, what's a session? How do I estimate that?

And then there is the average number of text interactions per session. Now, the problem here is, let's say I have 5000 monthly users, and each user has 20 sessions with 200 messages per session, that's USD 40,000.00 per 1 month, what if the number of users grows rapidly? That would be 100K+ easily, am I estimating this correctly?

The issue here is that a user can send unlimited text messages, even sending a single letter or whatever counts towards the limit. How do I limit that per user? Can I write some logic in Cloud Functions?

Also, what happens when 1000 users message the bot within 1 min? What happens to the 400 users since the limit of 600 requests per min is exceeded?

Finally, is using a web hook with fulfillment can help reducing these rates?
You mean the same lawmakers that sit on the boards of so many multinational corporations? Might as well ask for world peace.
Shocking. SHOCKING, I say.

The recent tax cuts were touted to generate big raises for American workers. A few companies made some news with one-time payouts, but then the rest of that is just being funneled to shareholders.

If a government creates laws that incent shareholder givebacks, you wonder why workers' share of profits aren't increasing?
And all those who don't go into the military-industrial complex benefit from a secure America, and a country like America being a global hegemon and not Russia or China.

The kid fixing broken windows does good too, but isn't exactly risking their life and limb in such an explicit manner as the way a member of the armed forces may.
I bet the hit rate is some non-zero positive integer.
If it were me, I would consider moving my money to Latin America. Not Mexico of course, due to the recent election, but definitely would research the regions and political climates of our southern neighbors.
Anyone know how Stripe is printing these books?
> L1 cannot be too big and it should not grow any larger. L2 is a better option

L1 and L2 grow linearly with the number of cores. If you have cores to burn, pinning processes makes a lot of sense.
Everytime there is an article about Stripe, someone mentions how great their design is. Am I the only one who thinks that their design is basically same as any other Saas company, albeit just slightly more refined? They all look the same. Material bootstrapy designs.

When I was an intern at a defense company, there was this old british guy that always wore a white shirt and a black tie - even in 2010. I went to lunch with him in his old Jaguar. We were discussing car designs and asked him what he thinks about Audi's new eyelash headlights - which was cool in 2010. He said "If you turn off the lights, from a distance, I can't tell if it is a Honda Accord or an Audi A4. All these sedans look the same". It made me think and appreciate Porsche 911 and other iconic designs that have veered off of the beaten path and created something original. Original, not for the sake of being different, but truly original in the full spirit of the meaning.

Stripe, I am sorry, but doesn't live up to its design hype. Stripe's design is not original nor iconic.
If you took all the money a person on a limited income spends on Netflix, restaurants and games they could scrounge up enough money to buy a trailer home in the middle of Nebraska just before they die of old age.

The reason people don't save every penny is because pennies don't matter any more. The price of housing, medical care, and education is becoming so overwhelming that everything else pales in comparison.

This isn't like the 1960s where you could get by on a part-time minimum wage job, pay your way through college, and buy a nice house in a good part of town that you could easily own outright in twenty years.

Those days are over.

Now the best you can hope for is to pay rent, to squeak by from one week to the next, and to take the edge off the bitter, brutal reality of things you buy yourself a game or pay for Netflix.

Cut people some slack.
Good link! I've both forwarded it on, and will study it when I have some time later.
Most go data is value types that can be assumed to be on the stack, unless you introduce a pointer explicitly or use one of the referenceish types like interface, string, array or map. Its very easy for both the programmer and the compiler to see when data escapes.

Java on the other hand is pathologically bad for escape analysis, outside of ints and floats literally every object in java is presumed to be on the heap. Even C# has less heap pressure than java typically because of more value type options, and not type erasing greatly improves the JIT's escape analysis. After sufficient JITing Java may reach go level of garbage generation, it may not: but its not deterministic.
Seem reckless to use non-UTC time for anything as an engineering-focused team, but regardless they should definitely add some code to convert those times back to UTC for the rest of us.
AWS engineer here, I was lead for Route 53.

We generally use 60 second TTLs, and as low as 10 seconds is very common. There's a lot of myth out there about upstream DNS resolvers not honoring low TTLs, but we find that it's very reliable. We actually see faster convergence times with DNS failover than using BGP/IP Anycast. That's probably because DNS TTLs decrement concurrently on every resolver with the record, but BGP advertisements have to propagate serially network-by-network. The way DNS failover works is that the health checks are integrated directly with the Route 53 name servers. In fact every name server is checking the latest healthiness status every single time it gets a query. Those statuses are basically a bitset, being updated /all/ of the time. The system doesn't "care" or "know" how many health status change each time, it's not delta-based. That's made it very very reliable over the years. We use it ourselves for everything.

Of course the downside of low TTLs is more queries, and we charge by the query unless you ALIAS to an ELB, S3, or CloudFront (then the cost of the queries is on us).
Great, you've discovered the problems they solve for. Now solve the problems they create.

Then, weigh the two against one another.

Let us know what you conclude. Then we start the lobbying process...
I don't know if this is helpful to you, but Walmart pharmacies have inexpensive insulin if you ask for it.
I'm happy for your daughter, but I'm not sure what your point is. State service can be a rewarding career path, I don't think that is in debate here.
Physical? As in everyday Newtonian physical? It doesn't work on quantum levels, just like Bohr's model of atom doesn't work during big bang because gravity we were successfully ignoring suddenly is on the same scale or bigger then electrostatic force. We will never be able to intuitively (physically) grasp quantum world because our intuition was trained on trees, rocks and cats.
...that and we'd better start inventing some new antibiotics now. As it is now, physicans can barely prescribe them responsibly. If they are available as cold medicine antibiotic resistance will surge even harder than it is now. antibiotic resistance is a dramatically underappreciated problem.
Seconded. I have a 9360 and I've had everything work out of the box with Ubuntu 17.04, 17.10,and 18.04. As well as Linux Mint 18.3.

Only downsides are Linux's generally patchy support for hidpi, some programs scale and others don't (opt for 1080p version or set resolution to 1080p). And also the placement of the webcam is a bit strange.

Battery life is good in Ubuntu, between 6 and 10 hours depending on use case.
We submitted the audio file yesterday, so hopefully it goes live within a week or so
IIRC I looked basically everywhere. I certainly did try to enable palm detection. The attempt I best remember was using some special synaptics settings GUIs (IIRC one standalone app and KDE synaptics settings). I touched xorg.conf for another purpose, configuring left / mid / right button zones. Right now, the T440s trackpad is configured for clicks and two-finger scrolling only because having movement enabled is a major nuisance without palm detection.

I'll try your configuration soon, too.
>the string itself is on the stack, but the data is on the heap

So both are regular heap allocated values? So the majority of data is still stack (edit: heap) allocated (safe ints, floats and some simple structs, I suppose), so I fail to see how ``young objects live and die young on the stack''.

It is true that some GCed languages does not have stack allocation at all, but many of them (java, haskell) have very powerful inlining capabilities to compensate it. I still don't understand why I don't need generations for allocating to-die-soon strings in a more efficient ways.
Hi everyone — I'm the one who visited NK and wrote this article. Happy to answer any questions!
> Why are you no longer asthmatic?

I managed the allergic reactions that were causing it. Far too late in life, I discovered I'm allergic to grass. So I avoided hiking in grass and started popping a Zyrtec when my dog came back from running around in it. (I'm still allergic to my cat, but unless he sleeps on my chest it's manageable.) Solved the problem sufficiently that I no longer have an inhaler.
I fixed on something different, actually.

The list of highest savings counties. Pretty much a 1:1 overlap with the govt. employee/contracting/military-intelligence corridor around DC.

I'll leave the extrapolation of what this may indicate to the reader.
The body text of the article is only 1273 words. It takes all of a minute to read it.

At which point did the bar for tl:dr become so low?
The problem is that all light sources are to some degree divergent. You can accelerate a package to a relativistic speed over a distance of the order of 100AU, which is thousands of times less than the distance to the closest star. Consequently, the light beam that you send spreads out thousands of times less over this distance. It’s still a lot, but you have a fighting chance.
Implement a Quick Captcha Using JavaScript
This piqued my curiosity, so I read through the issue and here is my take: you are proposing a change that implements a _second_ way of loading async components, in addition to what's already supported [1]. This is unlikely to go through.

What you want is achievable with the existing async feature, except you either need to 1) keep a list of component names up to date, or 2) use a special component like `<dynamic-loader>` instead of the component tag directly. Neither is a deal breaker, nor enough to warrant introducing a duplicate API; it's rare that you'd be using advanced features like async components while lacking a build process.

Evan's first answer wasn't the most friendly but you also come out as very combative in those messages - as reinforced by your suggestion here that the 'merit of the change wasn't even considered'. Maybe there is some middle ground to be found, an alternate proposal, but I find it extremely unlikely anything will come out of this discussion using this tone. Humility is a must even for experienced developers.

[1] https://vuejs.org/v2/guide/components-dynamic-async.html#Asy...
Thanks. Maybe I get a new keyboard (new nipple) alongside some SSDs for the next 6 years to come.
Why diagnosing Alzheimer’s today is so difficult–and how we can do better
This is a common discussion item here at HN. Really it only makes sense to work at a startup in the following scenarios: you are founder, you are new and need experience, you are getting paid very well, or you don't care about money and love the work. Trying to get rich as a non founder is a fools game.
I still don't see any comparison of Go's current collector with a generational GC with bump allocation in the nursery. The article states that copying would have been too much work to implement in 2014. Fair enough. But that's an engineering decision specific to Go's circumstances. It does not necessarily support forgoing generational garbage collection in general.

The primary advantage of generational GC is the huge throughput advantage that bump allocation in the nursery gives you. If you're not comparing against such a GC, then you're not properly comparing non-generational GC to generational GC. The write barriers you need reduce throughput, but they're ordinarily counterbalanced by the throughput gains you get from bump allocation. Of course you will take a throughput loss if your generational GC is non-copying; that's why people don't usually deploy non-copying generational GCs.
Why? Do they even claim that their laptops support linux?
> open-sourcing anti-cheat libraries (that won't be defeated by knowing the details).

This doesn't make any sense. Anti cheat rely on the fact that it's not known. There is no such a thing as open source in the anti cheat world. It's all very secret for a good reason.
Great story from the team at Wildbit. I'm a big fan of what Chris and Natalie have built there with their awesome team in Philly. Definitely interested to see where the next shift around communication and culture takes place as more teams become reliant on these newer channels. Slack is ultra helpful to the business, but it's definitely creating some challenges that we're just now starting to discover as it gets truly ingrained in our work culture.
I'm not sure Blizzard does ban-waves for press. From what I've heard, they (and many other developers) ban in waves so it's harder for cheaters to establish causality. "I did this thing and got banned, therefore avoid doing this thing."
As an experiment I put up an in-memory server at a random IP, with a root password that was in the dictionary.

It was infected within an hour, and by multiple attackers.

It also reminds me about how there was a time when it was impossible to install XP - you needed internet access to get the latest patches, but by the time you downloaded them you were already infected.

So yes, they do work.
You mean bdc? I'm pretty certain he hasn't left.
Are any of those pieces of advice particularly novel? I mean it's accurate, but not groundbreaking stuff.
Reading through the comments already made, a grim picture is painted for you. I agree with what @mikestew wrote. If you do happen to go forward with this then I would suggest; focus on helping the team ship the product, not changing the process (it seems to be to late in the process to make fundamental changes to mindset). After you've shipped, then you can discuses best practises and whatever in a retro and probably plan a refactor of some sort.
When you already know what drug you need and just need somebody to sign a prescription, it's a very silly and awkward process to find a doctor, make the appointment, wait for the appointment, show up to the appointment, fill out the history forms and so on, meet with the doc, tell them you've got [disease] and the drug for it is [drug], let them examine you until they agree with your "diagnosis" of [disease], and let them recommend and prescribe [drug]. It makes you feel sorry for the doctor almost.