skysight-inc/HackerNews huggingface dataset:
Author here, Failsafe does support exponential backoffs [1]:

retryPolicy.withBackoff(1, 30, TimeUnit.SECONDS);

and if you want to specify the exponent [2]:

retryPolicy.withBackoff(1, 30, TimeUnit.SECONDS, 1.5);

As for which failure handling strategy is safer or what it means to fail safely, in my experience it not only depends on the use case but the type of failure. Certain exceptions, even in a networked application, can and should be retried or recovered from while others cannot. Sometimes retrying is good, sometimes preventing subsequent executions (via circuit breakers), sometimes falling back to an alternative resource. It's all based on the scenario.

[1]: http://jodah.net/failsafe/javadoc/net/jodah/failsafe/RetryPo...

[2]: http://jodah.net/failsafe/javadoc/net/jodah/failsafe/RetryPo...
Having permission to use the API means we did not hack into the API - that is what I claimed. I never claimed that meant we had permission to do 'whatever' we want with it.
Show HN: Task.js – Isomorphic work distribution across all cores
Lenovo ThinkPad W520 = my main

Lenovo ThinkPad T440s = a clone of my main

Both work great. I had some issues before OpenBSD 5.9 but since 5.9 everything is wonderful, which is why I finally switched over 100%.

Doesn't run hot. Only a miniscule slower than my souped-up super-fast Arch Linux was on the same laptop, but that's a fair trade.

Happy to answer any questions and offer any advice. Click my username here and get my email address from my HN profile.
I found this later https://github.com/adambom/parallel.js

But I was happy to benchmark the work processing/handling speed.

node.js results

# 1000 messages

- 88.362ms - task.js (warm) - 144x faster

- 227.758ms - task.js (cold) - 56x faster

- 12785.515ms - parallelize

clientside results were similar

# 1000 messages

- 361.251ms - task.js (warm) - 83x faster

- 473.897ms - task.js (cold) - 63x faster

- 29999.335ms - parallelize
That's about right, though there are a few additional considerations:

1. Aircraft have heaviest fuel use during takeoff and ascent. Short flights are the least efficient. I'm not aware of a good modeling for this, but you might consider that there's a fixed takeoff/landing/taxi cycle and a variable cruise component to most flights. Also, larger aircraft (at capacity) tend to be more efficient than smaller ones, though that's a fairly varyable dynamic.

2. Automobiles offer numerous other capaibilities (and limitations). Generally, more cargo, and more direct transit. With airport delays adding 1-3 hours to a flight, that's 150 miles / 240 km of ground travel possible at highway speeds.

3. More luggage capacity / fewer restrictions. You can carry items on a car you couldn't on an airplane.

4. Point-to-point service. Aircraft fly to airports. Cars drive to specific addresses. That's another consideration in on-ground time, possibly several hours, in a flight. Autos start looking viable for trips of 200-250 mi / 320 - 350 km.

5. There are larger autos availabe. Five adults in a small compact might not be reasonable, but might consider an SUV or van. And efficient choice here would make up for lower fuel economy with higher passenger capacity.

Aircraft still generally win on safety on a pro-rated distance basis.
No way.

If you talk to an attorney who isn't paid by you and bound by privilege to you (ie corporate counsel) to address a problem that you have, you now have two problems.
> In the future I'll phrase the statement as a question

after you google it first, please.
Google's properties like DoubleClick have served malware in the past. Could you point out times when they have been blocked? :)
Their main web site is 100% completely unusable on my iPad.

The content is completely covered by a blue overlay with a couple of "spinny things" on it that never go away. I took a screenshot but can't upload it anywhere at the moment. I'll send it over to my laptop and upload it shortly.

Screenshot: http://i.imgur.com/t079tiF.png
> Isn't that because it's 2x4 before planing. cut lumber would be actually 2x4.

It used to be, but now we're more efficient in our rough cutting and a 2x4 you buy was never actually a full 2x4.
Rather personal no? I guess a question merits answering. I do not - but not because I cannot afford one, I am saving my money for something else :)
Author here: fully agree. Blindly retrying an operation any failed operation could lead to cascading failures or system overload, which is what circuit breakers are intended to avoid. Generally, it's just good to think about which failures can or should be retried or recovered from and what recovery should look like. A tool like Failsafe just makes it easier, hopefully, to do what you think is appropriate for the situation.
"Toe the line"
Same here. I've been using OpenBSD off-and-on since version 2.9 which I think was like 1999 or 2000.

I'd go switch to some new version of Linux for a while, try FreeBSD for a while, and each time I tried OpenBSD again - OMG it just works with no effort, whereas the others (besides a kitchen-sink OS like Ubuntu) would never quite get it right.

Even for things where super-new Arch Linux would have trouble with the hardware, or require lots of tweaking to get Xorg working on a super-new laptop or whatever, just stick in the OpenBSD CD or USB, hit [Enter] a bunch of times for the defaults, and voila! A perfectly working base system, including X11 and all.

Love love love.
tl;dr: new kid from developer puppy mill has decided--pulling on their vast and nuanced experience--that GraphQL is the future, REST is dead, Aloglia does everything, and that software engineering is now a solved problem.

That's it folks! The party's over, we can all go home.
Was anyone able to parse this paragraph? I keep getting stuck on the contradiction. Which is mildly hilarious in an article about articles being misinterpreted.

> She goes on, however, to knock back links suggesting that drinking may lower a person's risks of cardiovascular disease (CVD), noting that people who drink moderately also tend to have other lifestyle factors that lower their disease risk. Or, put another way, she noted that “in a large US survey in 2005, 27 of 30 CVD risk factors were shown to be more prevalent in abstainers than moderate drinkers.”
The man behind plenty of fish (2009)
Really fun game!
How do these games prevent location spoofing? Or do they?
It's a code pattern from C. It guards against accidentally using = instead of == or ===.
You do not have a contract with your bank that stipulates these things.
I believe it's a once-popular way to avoid this mistake:

if (variable = false) // == intended

Which is valid in C and some other languages. But

if (false = variable)

Is not valid.
If we just needed these quantities as the inputs to an equation, sure, we should express them as 1E12 meters or (whatever x 3.6E6) Joules. But it turns out units are not only used for computing, but for communication. I am familiar with the kilometer because I know what it feels like to walk one. I am exposed to watts because I have grown up using 60W lightbulbs. Now, you could call this history and experience needless in the context of science. But in the context of my comprehension of the results of science, they are important, however "weird" they are to compute. I would much prefer for my computer to multiply by an extra conversion factor than to re-calibrate my mind to use "more efficient" units.
First, I don't think anyone that read my comment would objectively say that I was endorsing such behavior, as you seem to imply in your comment (for the record, I wasn't). Second...you're honestly saying that CreditKarma, Buzzfeed, and Vice didn't grow through spamming? CreditKarma (and everyone else in the free credit space) contracts with affiliate networks to drive new customers, whose affiliates do every shady thing imaginable (and then some) to get commissions. "Free credit" offers thrive in these networks - they occupy the top spots in the best performing offers lists because they pay $20+ to affiliates for each "free" signup - and they are primarily promoted through fake job offers on Craigslist and other job boards. Affiliates tell people they're hired for XYZ job - they just need to complete a credit check by going to <insert affiliate link here>. CreditKarma probably isn't directly doing this, but they know full well that their affiliates are.

Buzzfeed spams the crap out of Facebook. Eventbrite & Vice had some spamming issues in the beginning as well. I'm not sure about Snapchat's growth story - they may have been a rare example of natural growth, along with Google. Most of the rest of those you're talking about aren't really the kinds of pure internet plays that are relevant to this discussion. No amount of spamming would have made Xiaomi, Palantir, SpaceX, DJI, etc any more successful, so they didn't employ these techniques.
Sent. Thanks!
Not Shady unicorns:...Palantir...

This is a stretch.
I mean https://www.reddit.com/r/nootropics exists. Probably very few members if any have any involvement in medicine, but there's a lot of emphasis on randomized controlled trials, meta-analyses, etc., whenever available.
To be fair, most organizations only pay lip service to unsolicited feedback and suggestions; at least these people are being honest.
Some other Pornhubbers did one 2,5 years ago: https://www.reddit.com/r/IAmA/comments/1un3wn/we_are_the_por...
> don't ever try to work at AirBnB, we only drink the finest Kool-aid and there is a lot of cyanide in it

I know a few folks who have interviewed at their SF office, and it sounds hella cultish. More personality screenings than technical screenings, recommended courses of study so you'll fit in culturally, etc...
A large part of the problem is that people want to be able to "just" de-serialize a chunk of JSON into a suitable generic structure they can then "just" de-reference as a suitable tree of dictionaries and arrays. It'd be fantastic to see easier-to-use patterns to discourage resorting to this, but it's very hard to beat for simplicity.
Okay, replace the WBC with a proud gay couple in an intolerant area. Should the people who were there first suck it up in that instance?
http://www.quickanddirtytips.com/education/grammar/use-versu...
> adult males of military height (i.e. not even shorter men)

Adult males of roman military height, so probably about 5'7" (170cm): http://history.stackexchange.com/questions/17072/average-hei...
Thanks! I'm starting to like this package!

Update: it still can serve only one request at a time, but looking forward for some progress there...
It's sorta hard to say because most of your risk just depends on your genetics. You could be in a happy genetic lottery of 1 : 1,000,000,000 of getting cancer before 50 or you could have terrible genes and be in the 1:100,000 lotto of getting cancer before your 50. If you drink in excess, you're buying three tickets for whichever lotto your in instead of the single ticket you get when you're born. And you collect these tickets all through your life - flying in airplanes a lot, staying in the sun a lot, smoking, etc. You just never know which lotto you're in so it's hard to say, with today's technology, how it will affect you. That's why some people smoke till their 90 without a problem and others get lung cancer much younger. Different lottos.
Do you mean in reference to "knock back"? I think its supposed to be knock back like one would with a beer - as in, consume readily - rather than knock back as in knock away or disregard.
I would argue it's the only number that's useful. Total GDP is a function of policies going back hundreds of years, which were likely to have been quite different.
It's possible to split the responsibility. If the bank were responsible for, say, half the loss, both sides would still have plenty of incentive to do the right thing.

(That's not to say that 50% is the right split, but 0% seems too low.)
Which one of the AWS SDKs is this based on?

Or did you actually scrape the documentation web pages?
Yes, but that's not peer-to-peer. That's like a company ferrying physical cash from one party to another. They become a financial intermediary and become subject to financial regulations. You don't have to take the role of a financial intermediary if you're an enterprise that uses cryptocurrency. Microsoft accepts BTC, but is not a money transmitter.
When GDP is stagnant it follows that the economy is zero-sum.
Raw PHP is reasonably fast. The performance issue comes with loading source files on every request: http://talks.php.net/show/froscon08

This means that there is a conflict between performance and having a well structured object oriented framework.

Demand loaded classes and byte code help a lot with that: http://www.yiiframework.com/performance/

Best would be a model where a persistent process handles multiple requests concurrently, but that is not normal for PHP. So you need to make sure that all the libraries you are using are not leaking, have a nice db connection pool, and write a PHP framework that handles concurrency. Might as well use a better language at that point :-)
Thomas, I would love to get some insight on OS choice from someone so well respected in the security community, and maybe a short mention of why OpenBSD's security laurels may not be well deserved.
Pokemon GO Evolution Multiplier Chart
They are lazy and human and try to prioritize effort. Same reason some security guards forgot to lock the door to their house at night.
> "I don't care what you do next to my property. It is your property."

Awesome. Can't wait to establish my crack den/brothel/suboxone clinic/for profit prison/coal mine/pesticide factory/eurotrash party house as your next door neighbor.

Zoning regulations a reason.
So now is it simply allowed or is it actively encouraged?
With a new tool, spreadsheet users can construct custom database interfaces
That doesn't necessarily mean they aren't going to solicit ideas -- either from public calls or (especially) from recognized experts.

Most grant-giving organizations don't accept unsolicited requests for money, but then regularly put out completely public solicitations for proposals on specific topics.

From the article, it sounds like 1) they already have a lot of pretty specific ideas about where to invest; and 2) they're waiting until they coalesce matching funding from other foundations to start making solicitations/rewarding grants/investing in companies.
You can't, because sarcasm is a thing and it's often impossible to detect in writing from people you don't already know.
Wow I'm surprised! 2010 was cata, the only launch I played during was pandara, and it was an absolute mess. I found some numbers and it looks like player count was lower for panda. But I remember tens (hundreds?) of people standing in the same spot because a quest npc had bugged out.

I think mobs is a regular problem, and good for Pokemon for making other people's capture not make a pokemon disappear which effectively solved any mob spawning problems.
Yes conversion is subject to regulation but I don't see how that prevents cryptocurrency/blockchain applications from being useful.

>And trading derivatives contracts on a blockchain would almost certainly violate US laws.

These laws will eventually be made obsolete, the same way obscenity laws were made obsolete by the internet.
On whether I am myself mistaken about the ecological impact of clothing, eating out, etc. I agree - it is hard to compare efficiencies in a complex environment, or to quantify the net environmental impact of any one action, so my assumptions may well be just as flawed, if not more so - even if I am not personally convinced by the validity of Rhinehart's choices, who am I to judge?
Couldn't agree more. I've been noticing this a lot recently, where I and others get downvoted for earnest, articulate comments that do nothing but express a dissenting opinion.

I think HN needs to explain that downvoting isn't "I disagree with this sentiment", it's "I think this is a bad comment that detracts from the quality of the conversation". I suspect new users might not know this since it's different from many other sites.
I think very many IPFS use cases do need / benefit from blockchains.
I specifically block ads on clickbait news sites. It would be great if somebody maintained a blocklist that awarded good reporting.
Why Angular 2 Switched to TypeScript
I may be missing something, is this not a thing people say?
Very interesting. I found several books, papers and stories that I had enjoyed very much, but I never realized that they all shared a common subject.

I look forward to reading the ones on the list I didn't know about.
No I don't. I'd prefer to be handed actual notes of money for my wages rather than deal with the bank and pay them for the pleasure. But that isn't an option.
Sounds like a lot of other countries.
> This is one of the reasons Unity has become so popular in the industry...

Yet someone had to decide to write Unity. Obviously, writing a framework/engine that gets this kind of popularity is in the "unicorn" range, so it's probably not something you should bet on. Still... it could be your engine! :)

/tongue in cheek

EDIT: Just to contribute a little bit of actual content: I find the "7DRL" episodes of Roguelike Radio to be very informative as to what you need to focus on when trying to ship a game. Obviously, it's focused on turn-based games, but I think most of the experience applies to basically any software project.
Yeah, most good things take years to make. #universal-law
I thought hydrogen had been debunked by now.

Tesla had a great 'well to wheel' efficiency analysis post on their blog a few years back that killed any notion of a hydrogen economy.
this is good: https://tails.boum.org/
There's a subset of HN users who react poorly to any criticism of the morality of capitalism in general, and tech startups in particular. Basically, people who've fully bought into the notion that disruptive technology is the one road to humanity's bright future, and if people are hurt in the process, that's just the cost of progress.

It's not everyone on HN, just a significant group. You shouldn't take it to heart.

Also, it's not uncommon for comments to get downvoted several times in the first few minutes (by people skimming New Comments), and then brought back into the black later on by more thoughtful readers getting the full context.
I have been following the thread on Twitter over the past 5 hours. If I don't refresh my screen, there are Thousands (tens of thousands) of tweets, retweets, etc. Once I refresh my screen, they are all gone. There are only tweets every hour or several hours. Try it.
MasterQA (GitHub) combines web automation and manual testing into one
Pokémon Go’s decline is already under way
I like http://www.expandrive.com/, but it costs money (50 USD or 75 USD w/ lifetime upgrades).
Today gmail offers more account security than a typical bank. Why can I get two factor authentication, device recognition and alerts on a free email account but not on a bank account?

From a risk management perspective it's never a good idea to separate liability from control. If the banks don't provide adequate security controls to their customers why should their customers be liable?

Even though the controls that a customer has are less than what Gmail provides the banks continue to push the the illusion that the customer is actually in control. Even the vocabulary they use implies the customer was always in control.

For example you were a victim of identity theft. How crazy is that? How can somebody steal my identity? Oh, I woke up this morning and I wasn't me!!!

Nope.. Checked my identity and I'm still me. Why did you allow somebody to steal all my money?
That's why it was such a ridiculous and inapplicable hypothetical to raise in this discussion. One only notices a box on a hill when it is one's strict intention to do so.
My father had mostly worked on larger projects, like tract houses and the like. Of course, times change, my recollection was of how things were a long time ago. My comment was just illustrating an instance where relying on a text description was still important even though there was a graphic format as well.

Your info was relevant to the idea of that at some level of complexity it becomes necessary to use text vs. only graphic presentation. Maybe in construction that occurs when there are more than a few elevations to juggle, but you probably know much more about it than me.
I cannot stop laughing.

Evolution might be dumb (i.e., non-intelligent). But it has had millions of years to optimise an electric channel. Give that some credit. We cannot sit down with current tools to push the envelope with just decades of (mis)understanding.
The license for code changed earlier this year: http://meta.stackexchange.com/questions/271080/the-mit-licen... to MIT. It's not retroactive, though.
HTTPS has been a ranking factor in Google Search Results for awhile; meaning not using HTTPS is a negative.
See the articles that cited that one, and a different picture emerges.

"Beneficial associations between low intensity alcohol consumption and all cause mortality may in part be attributable to inappropriate selection of a referent group and weak adjustment for confounders."

https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4353285/
Going for C=0 is an impressively ambitious goal.

There is one thing I really like about this proposal. Gates believes our future depends upon scientific advances and resulting technological innovation, supported by modest and easy-to-justify infrastructure improvements. This breaks away from demand-side policy-centered approaches, yes. But more importantly -- to me, at least -- it breaks away from an over-reliance on old science.

To me, this emphasis on science AND technology -- rather than exclusively technology -- is perhaps an even more significant idea than primarily-supply-side thinking.

I think Gates' C=0 goal is probably the locus of this shift in thinking from "force mass deployment of existing technologies using the levers of policy" to "science the shit out of this, then innovate like madmen, and only then enlist public policy when it's truly the only missing piece (see: power grid example from article)".
Please watch this
You know this is all taking place in Los Angeles? We're all batshit insane here!
Clickbait: It's an injected, inflammation-activated hydrogel. So the trick isn't that there's some specific compound which, when gelled, does the trick, but the gelling mechanism itself which releases medication when needed.

As I read the article. Which, even past the null-content headline, delivers little clarity on the concept.
Sure, but iterators have nothing to do with "ownership", so your point isn't clear...
Hello, agreed on your point about large, read only remote log files. I'm not sure if it will work at all. However notepad++ is a very popular editor and will probably be the first tool people will use to view a log file - that's why I talked about a de facto standard. If it doesn't cover the needs of some people then they will try other tools that may cover them - but only after they try with the tool they already use!
I wanted to use TypeScript with a new React project, but the biggest problem I had (which eventually lead me away from using it) was that typings were so hard to get ahold of. Built something in JS? Sorry, you have to provide what is essentially a source map in order to get it to work with TypeScript. That should be a non-starter for anyone who is doing more than a hello world app. Figure out a way for me to use TS without having to create a bunch of extra type garbage in my app and I'll upgrade my code base immediately.
Yeah this is ageism at its ugliest. I can just hear the complaints of "damned kids whose shipping containers are somewhat visible on a faraway hill if I stand in this one particular corner of my lawn!"