skysight-inc/HackerNews huggingface dataset:
This is not meant for user errors.

This feature is for gracefully recovering from JavaScript errors that occur in production as a result of programmer mistakes.

For example, Facebook heavily uses error boundaries in ads code. Even if one widget fails rendering, it doesn’t take down the entire page. You’re going to have some runtime errors if you use JavaScript, but this feature ensures you can gracefully recover from them (instead of just breaking the whole app as React 15 and earlier did).

There are two other effects of this change:

* React no longer has its own cryptic errors (because it doesn’t get “confused” when user code throws, and can cleanly fail fast if there is no error boundary).

* Errors reported to the boundaries have a component stack trace attached to that, so you can know where exactly in the hierarchy the failure occurred. This can be pretty useful when debugging.

I hope this helps!
no its because vested interests want to prove that outsourcing is all rainbows and unicorns.
It's a rather narrow take.

Software exists to solve user problems (for varying definitions of 'user' and 'problems').

Some problems are time/cost related, and software can automate some of those things to solve that problem.

But then some problems are preventative (or rather, the time and costs prevent things) so software can actually enable new things to happen, like letting the blind use cameras, or enabling more restaurants to do deliveries.
Listening to mozart temporarily enhances spatial reasoning
Birkenstock does not mind anyone selling cheaper sandals, but they do mind that "after deeming that Amazon wasn’t doing enough to guard against fakes."... which is actually reason I buy less on Amazon these days. I can never be sure if I am simply getting a "good price" or a cheap look-alike product.
Coverage Is Not Strongly Correlated with Test Suite Effectiveness [pdf]
From the Guidelines:
>In Submissions

Please submit the original source. If a post reports on something found on another site, submit the latter.

Also, the post this reports about had an extensive HN discussion when it was published: https://news.ycombinator.com/item?id=14752392
That could just be the web farm. The clearing might be done from Russia.
7 Proven Ways to Get Traction for Your Small Business
Pilot Capless (Matt Black, slowly turning bronze) - best pen I own by a long way.
China online retail up 33.4% YoY, counting over 18% of retail sales
Cyclica Raised $2.25M in Series A Roundup for Drugs Prescribtion Analysis
A part that bothers me about the PyO3 design is this: does it mean you can't keep Python objects around with the GIL released? e.g. looking at this comment [https://github.com/PyO3/pyo3/issues/55#issuecomment-31728794...] they compare

impl PyList {
fn new(py: Python) -> PyList {...}
fn get_item(&self, py: Python, index: isize) -> PyObject {...}
}

to

impl PyList {
fn new(py: Python) -> &PyList {...}
fn get_item(&self, index: isize) -> &PyObject {...}
}

if I don't misunderstand, in rust-cpython (the first snippet) you can have a PyList independent from a Python object (which I understand represents a GIL guard), you just can't operate on it if you don't hold the GIL.

In PyO3 (second snippet) that does not seem to be the case, the object itself has a lifetime dependency on holding the GIL. So you can't e.g. release the GIL to do native processing if you'll still need the native objects afterwards.
It's best to leave the bike in the cold in freezing months, frequent thawing/freezing will result in water condensing in your cables and elsewhere and then freezing.
I mean they're a good model of what healthy capitalism can look like. Provide valuable services, don't work your employees to death to maximise profits for the mob-rule of shareholders, stay small and focus on well-roundedness. I'm very pro-capitalism and I can't stand the enterprise model of business, it's very dehumanising.
The CIA must surrender to the IRA.

You started a war with God and must surrender, you retards.

You retard Jew-Freemason-nigger morons.

God says...
expostulated spans foraying Pennsylvanians analyzers sparrow gallantly geezer pumpkin's marvellously Dipper's strain's kindlier catatonic Uranus's transliterated ohm's hustle boggles redistributing huckleberry nicknaming largely cannot Playtex oregano remove equipment display sturgeon's fratricides Freetown's
If you can do the same for cheaper, great. You can't pretend that you are Birkenstock. You can make up your own name, call them Birkenstock-like sandals, home brand sandals, whatever you want.

Birkenstock is apparently complaining about "counterfeit products and unauthorized sellers." Those are two very different things.

Unauthorized reselling is legal, counterfeiting is not. These are good laws. One helps consumers, the other harms them.

-This message was written by sametmax
"Somebody got into the fish tank and ... sent 10GB of data to a device in Finland". I see what they did there. :-)
Can recommend OHTO Horizon as a general fine ballpoint (and I have an OHTO Minimo in my card case for emergencies.)
Because you wait but you don't lock. And the wait is not 100x of an instruction, normally it's the same time as for one single instruction. Writes are fast and atomic, because there's no lock.
Only the writer needs to wait a bit, not any other thread.

Google for lock-free vs wait-free
Italy should use a dot at the top (we did when I was little and learned to write), but it's not on any keyboard, even Italian ones, so we write 1'000'000,00. But 1.000.00,00 is also common.

I don't know what Excel does but LO Calc uses this format #.###,00 for the Italian locale.
Honey... Monsanto patented the kids!
...and this is a pretty good point.
Depends on the person. When fit I can enjoy running. I cannot explain why but (again, when fit, heart, muscles, joints all on appropriate state) it feels like flying.
Go for the good experience first, define a good UI and make the site good to use. Once it's good to use, make it fast so that using it doesn't feel slow and users can get to what they want faster :)
>It's interesting that this is a case where React does need to somewhat reinvent the wheel.

Yep. React has to reinvent the wheel everywhere at the component boundaries. For example, one could see <Foo /> (which is really {type: Foo}) as a “reinvented” Foo() function call. Or see this.state as “reinvented” local variables, and this.props as arguments.

I think it’s expected that, as React gets more expressive (there are other features in the pipeline), it will unfortunately have to provide its own way to express these because it goes more into the language territory. But of course we’ll try our best to make these things look familiar in JS.
Trump started a war with God and must immediately surrender unconditionally.
I dont think the government should be paying for any job.

I disagree with this corporate subsidy, and I disagreed with the Recovery act
I think that's a bit different. I tried to draw a diagram: http://i.imgur.com/XT3uGdM.png

If kovek's question was like the first image there, it'd be a simple radius/circumference calculation (2 * pi * 5km). But it sounds like the second image to me - which makes it into more of a horizon line problem.
Ask HN: Would a General Purpose AI Also Be Useless in the Workplace?
Yeah, it sounds insane, but think about it for a minute. A general purpose AI with human like intelligence is not going to want to work for free. Nor is it going to want to work endless hours or be stuck doing jobs normal humans don't want to do.

So in theory, wouldn't that mean it'd be in the exact same situation as normal people as far as jobs are concerned?

Think about it. It won't be the best choice for most jobs, since we'll have programs and single purpose machines designed specifically to do those jobs. We don't make robot barristas to serve coffee or built robot factory workers to make cars, we create tools that can run a production line or let the consumers create their own coffee.

So in theory, a smart AI would actually be just as useless as a person in this kind of environment. We may have a situation where a Blade Runner/Matrix/Terminator like robots end up on the dole queue like everyone else.

Anyone else think that may be a future issue for general purpose AI?
> Software's purpose, if it has any, is to be an extension of our minds.

Someone said: "A computer is like a bicycle for the mind."

- There is a variety of bicycles at various price points, quality, styles and for varying terrains. If at all possible choose the one you like as much as the one that fits your problem.

- You can enjoy a bicycle by itself and not just for moving your body from point A to B

- I believe fatigue (in general) comes from everyone and their dog reinventing a variety of bicycles, each one a million times, and most of them are half-assed enough they can only roll around a circus pit, if at all, and abandoned the next day they're published (spoiler: maintaining is hard!). Even the high profile ones get through the let's do this again, only different, and we promise, we got it wrong the first time but now it's ok! But it's not helpful for the mind to endlessly learn a new way to ride for the umpteenth time only to pedal in circle. And I believe JS fatigue because of its tyrannic omnipresence in browsers as well as the limitations of the platform lends itself to (almost coerces people into) solving the same problems again and again.
Was it Donald trump or his son or son in law?
> at some point people looking for something already have an answer

Yes, that's when you notice a technology is becoming more mature.

But that doesn't mean there will not be any new questions however. When technology evolves people will have new questions. So the number of new questions may be a valid metric for how much the technology is evolving.

I agree that number of new questions does not directly relate to popularity. To do that IMO we first need to find out the relation between popularity and evolution of technology.

> I guess a better metric would be the amount of upvotes over time for questions and answers about a topic

To measure the total number of people who experienced that particular problem, yes. Not to measure the popularity of a piece of technology IMO.

But I'm not anywhere near an expert on this :)
Test error cases in code that uses Cassandra
* It's not very useful to write error handling code in every component. The thinking about the feature is you'll put it in a few strategic places: https://facebook.github.io/react/blog/2017/07/26/error-handl...

* If error boundary could catch its own errors, what happened if it tried to render error message and threw then? It would get into an infinite loop, trying to handle its own error and failing again. Thanks to the restriction, this can never happen.
I suggest VirusTotal[1]. It is a tool used also by malware analysts: it scans the suspect file/website analyzing it with multiple (60+) antivirus engines. It also shows various information about the uploaded file: signatures, sections, imported dll, metadata, etc...

Accordingly to VirusTotal FAQs some of these engines are ad-hoc tuned for VirusTotal with stronger heuristics and additional options, so an engine on VT may detect a malware while the same commercial engine installed on your PC doesn't.

[1]. https://www.virustotal.com
> Unlike copyright or patents, trademarks are not there to protect the "owner" of the trademark in principle. It's there to protect consumers.

That's not how trademarks work. A trademark is registered by the owner and the trademark has to be defended by the owner. If someone sells something under the brand name Birkenstock, it's not some consumer protection organization that will sue, but it is up to the owner of the trademark to defend it. If trademarks only existed to protect consumers, there would be different mechanisms in place.
Try Spacemacs! Its vim keyndings are excellent, and then you get all the advanced stuff emacs has to offer.

I generally use vim for day to day editing, but switch to Spacemacs when I need something more powerful. It's a pretty seamless experience.
I do think it would help in hiring tech talents and maybe also with raising future rounds at high valuations. I know more about the first than the second.

Also it does make me happy to see more Indian startups being a part of YC.
I guess the world will now go back to using USD for its crimes
Most of the countries of the world speak some English.
I thought they were fan of pcc. In any case, if they drop gcc, then please keep pcc active.
It's a strange article in that it focuses so much on how the Lily promotional video was not actually an accurate representation of how the prototype Lily worked at that time, but more of a "wish list" or demo of what it will work like when it's finished.

We all know when Steve introduced the iPhone it was a complete fake - the signal bars were faked, the engineers were sweating that it would crash, Steve had to do things in precisely the correct order, etc.[1]

Of course, it's a prototype, not the final product!

[1] http://www.nytimes.com/2013/10/06/magazine/and-then-steve-sa...
How can this be Alliansens fault? It was the current government-assigned general director of the Transport Agency that knowingly broke the law. She was even informed by SÄPO (Swedish equivalent of MI5 or CIA) that what she's trying to do is illegal, but still went through with it.

The problem here is not outsourcing, because it is completely legal to do so as long as the company outsourced to goes through with proper security checks and clearances. For example the servers has to be located in Sweden and that proper access permissions are set for the employees.

Outsourcing can in some cases be a very good choice to improve efficiency of tax spending.
I'm not even sure most of those count. Look at energy distribution as an example - I grew up in New Zealand, the country cited. If the monopolist drives prices too high, that'll just encourage people to abandon the grid for alternatives like microgrids.
You don't even need an expensive piano, almost any digital piano could interact with your laptop via MIDI interface. Only thing you'd miss is haptic feedback of keys being pressed automatically.

That said, aside from simple symmetry and echo effects, it would be challenging to build on top of this with a system that would adapt to changes of key, tempo and playing style. As in article, human player is always the one who is adapting to fixed algorithm.
Ruby On Rails is the Elizabeth Taylor of software development.
They're not really overpriced. They're noticeably higher quality than the knockoffs. The whole point is that you can't check the quality of a sandal online, but you can look at your friend's birkenstock, like it, and buy one with the same brand online confident in the knowledge that you're getting the same thing your friend showed you.

Except you can't if Amazon allows fakes. It's reason enough to stop buying brand name stuff on Amazon until they work this out, honestly .
> It would be especially helpful to hear from people who decided to remain childless.

Looking down the thread it seems that mostly people with kids have answered. Not surprising. Here's one more...

> Child birth is probably the most consequential inflection point in peoples' lives and yet many seem to rush into it headlong without asking the right questions

"the right questions" are very subjective. From your post we can extrapolate one of these questions to be "Will having children give me a competitive disadvantage". A person with no children will see this as one of the "right questions" to ask. A person with children will likely disagree and think the question irrelevant.

I have kids. I'm always surprised to see people talk about prioritising career over children. In hindsight now, my kids are the most important thing in my life. But it's easy to forget that once I was young and wasn't sure if I wanted kids at all. They would impact my life. They would limit my freedom, in career, holidays, commitments, hobbies. This was all accurate, but it was worth it. I could live my life over again, I think I'd probably have them younger, and damn the consequences.

> If someone is in their 30s, married, but hasn't hit their really time-intensive stretch goals ...

If you have an inkling that you want kids, have them as young as possible. There will be no perfect time. Even if you hit all those "time-intensive stretch goals" you mentioned, there will be more reasons to put it off.

On the other hand, if you don't want kids, then don't stress it. there are plenty of childless couples out there who are happy.

That you're posting this at all suggests you do want kids on some level.

Some facts:

- Fertility declines with age. It is increasingly difficult to have a successful pregnancy for every year past the age of 35. IVF is expensive and does not always work.

- Careers also decline with age, though not so much. it is orders of magnitude easier to land a new job at 40 than get pregnant

- The later in life you have your children, the less time you will have with them, and the less time they will have with grandparents
As the article explains, these points are about sqrt(2Rh) = sqrt(2 x 6400km x 0.3m) = sqrt(3840000m^2) ~ 1.96km away from the cat.
There's an anthropic problem there. Unless you assume humans are alone in a single universe with no branching, or that there are a large number of worlds where an atomic age (as well as any other equivalently stage of dangerous technological advancement) is infeasible, surviving the atomic age tells us that the probability of us surviving events in that reference class is non-zero, but it doesn't tell us much more.
173 ideas – $10,000 offered by WeTransfer CEO to ex-SoundClouders
You're noticing a delay between mailgun getting the email and it getting to the client?

I'm using their REST api to send emails, and I've yet to see an email take more than a couple of seconds to get to destination (gmail) while testing.

How long is too long?
In March, we have seen reports of Android Studio possibly coming to Chrome OS. Android Studio would mean IntelliJ IDEA and the entire family of IntelliJ IDEs. That would make this an even better idea.
> -This message was written by sametmax

...que?
They already have a MEAN stack course.
It's not only microservices, either : building frontend apps largely makes RoR less attractive, today. When SPA came around (I prefer to say "web clients", nowadays, since they indeed manage multiple pages and routing), we didn't believe in it. Sure, it had nice use cases, but those hashtags in urls and the fact they can't be indexed by search engines certainly meant they were going nowhere.

Today, web clients are a thing for many applications (and I build some too). So we're left with RoR to build static pages and APIs, which seems clearly overkilled. I still use rails on many projects, because it's cool how activerecord and actioncontroller allow to build something fast. But actionview, journey, the helpers, the asset pipeline, etc all feel like we're bringing in a lot for no advantage, when writing web clients.
>McCarthy's earlier work on Lisp wasn't Lisp.

I didn't say this. I have already explained about the difference between the first LISP implementation and the core language written in the 1960 paper. There is no one true definition of LISP and I have already talked about this. People have different views of what LISP is.

You said black and white and it is not true from the paper I have shown.

>In the 1958 paper, he was already describing a language with mutable objects.

I am not talking about the 1958 paper. I am not also talking about which idea is first or not. Since it is not written clearly in the papers shown so far which idea is first, but I have showed that it is not black or white. Graham and my claim is based on the so called "original LISP paper" in 1960 and the pure version of LISP is written in it.

You and I have different views of LISP and that is OK. But please don't force your view to us, since there is no one true definition or interpretation of LISP.
> IRC has never been very usable

Despite all the problems you mentioned, it is still extremely usable. There are tens of thousands of users using it for decades.
Don't forget to enhance empathy genes then as well, because if you don't, oh boy this new generation of superhumans will make previous ones to suffer.
I would definitely agree with that line of argument, especially in 2017.
Get YourDigital Cocktail Right
You need to do it like this:

https://chromeless.netlify.com/#src=const%20chromeless%20=%2...
Actually you don't need to get it to cash, change it to another crypto such as LTC or ether on an exchange, send it off exchange to another exchange and buy back btc to have unlinked coins. You could also use a mixer for the alt coin as you move it between exchanges for further obfuscation. Most exchanges that deal in alt coins only require ID/verification if you want to exchange to fiat, so crypto to crypto can be done on anonymous accounts.
Hi kensoh, thanks a lot for your great comment.

I totally agree with you! It took years for these tools to mature and so it will be the case for Chromeless. There are probably a range of edge-cases that yet have to be solved but like you said, I'm very optimistic that together with our great community, we'll be able to handle all of these cases.

The big incentive for us to create Chromeless instead of using Nightmare or similar (which I've done for years) was the fact that you can now use headless Chrome (which provides a way more stable foundation) + the ability to execute the code on AWS Lambda which solves the parallelisation question. I hope this makes sense to you :)
Judge: Waymo may be in “a world of trouble” if it can’t prove actual harm byUber
That seems to break for some reason, but you can set it like this:

https://chromeless.netlify.com/#src=const%20chromeless%20=%2...
Rails wasn't about Ruby, Rails was all about dev productivity, and Ruby happened to be the best language at the time.

The thing is, as you point out, the world has moved in this decade and we have seen most of the Rails key points transposed to other tech stacks, old elephants learning new tricks --see Symfony in PHP, Spring in Java, etc...

Add to that that Rails is mostly feature complete: it's the best tool for developing what DHH calls "elegant monolyths", and I feel the proposition remains true.

But, as the rest of tech stacks has moved on, so has happened in the edge tech stacks, with things like microservices, concurrency, async frameworks, etc, i.e: Node -which seems to be waning due to JS fatigue, Elixir... Rails doesn't seem to be targeting those because Rails doesn't need them.

This is kind of a sad reflection, but Rails is the best frameworks for building things that the industry needs less and less: it is neither "enterprise" in spirit, although it is in capability, and is neither the cool kid in the block.

We will see less developer mindshare because "cool" devs will have moved to sexier things, and "enterprise" teams will go the way of the newer .NET and Java buzzwords.
No, I also think it's massively overrated. I hate the interface, how I have to login and create accounts for each channel and so on. I'd rather just use discord tbh, but IRC is simplest.

What in earth is some glorified chat room software going to do with enough money to have an impact on a small country's economy? It's insane.

Someone argued elsewhere in the comments that IRC and such is inaccessible for normal users. Sure, but who are the people that are using slack? Definitely not normal users. I don't think slack will last only catering to developers and such, because for example discord has a massive user base of average janes and joes and I honestly can't see what slack offers that's better.
Mandrill, Mailgun, Sendgrid, SES... they've all got their place.

I find the deliverability comparable (although I'm least experienced with SES). Where they shine perhaps, is in reporting and tracing of issues.

Postmark do look good and perhaps with _only_ transactional email, their deliverability could be among the best.