skysight-inc/HackerNews huggingface dataset:
Okay, I have heard many good things about F# so I’ll give the (probably) kind people who work there two tips on how to get more people interested.

1. Release an easy to use web framework that deploys easily. (Rails clone)

2. Release an IDE which can graph from the command line (R studio or Spyder clone)

If you already have these (say a subset of .Net or visual studio / vscode) then the tutorials are misleading because they don’t seem the same.
The 2018 XPS 13 Developer’s Edition
Why Progressive Web Apps Are the Future of Client App
I live in NYC and Uber / Lyft are sometimes cheaper and sometimes more expensive. Their premium is correlated with how hard it'll be to catch a cab. So if it's raining, it'll be hard to catch a cab. Uber / Lyft will be more expensive than a cab, but easier to take.

UberPool and Lyft's equivalent are basically always cheaper though, and I've found they work very well in Manhattan.
Many large C++ projects--LLVM, Chromium, Firefox--disable C++ exception handling. They still use the standard C++ library.

Exceptions in the standard library boil down to a) passing through user's exceptions, b) failing memory allocation (note that some systems, such as Linux, won't fail a memory allocation but instead crash you when you try to use it), and c) throwing exceptions when you exceed the bounds of an array or the like (~= Java's RuntimeException). With exception handling turned off, class (a) doesn't exist and classes (b) and (c) turn into hard program crashes, which is almost invariably what you want to do for these errors anyways.

Despite the fact that C++ has been my main programming language for a decade, I don't actually know how to write catch clauses correctly in C++, unlike Java, Python, and JS. That's how easy it is to avoid C++ exceptions.
If you have a few seconds of position information of a meteorite, it’s possible to make a fairly accurate estimate of where it will come down. The effect of wind speed, air pressure and air temperature on the spot of impact is limited.

With less dense stuff that moves a lot slower, that’s a lot harder. This stuff may stay in the air for days, rain drops may take it to a lower air layer with different wind direction or down to the ground, etc.

This stuff went off radar either because it got dispersed or because it got too low for the radars to see it. In either case, it will be hard to predict where, if anywhere on land, it will come down.
> I disagree with your case, this is clearly an error because it should never get to dividing by 0. You MUST validate user input and user input validation failures are a class of errors not exceptions.

This is bizarre: it sounds like you're disagreeing with me, by agreeing with me (that this is an error, not an exception)! For the confused (myself included), please realize that lost953's argument is considered "begging the question" (a logical fallacy [1]): You're using your a-priori assumption that 'divide by zero' is an exception, to argue that what we really should be doing here is add an if-guard before the "actual divide" occurs, so we can return an error, instead of an exception!

Otherwise, thank you for conceding that exceptions are just a category of error :)

[1] https://en.wikipedia.org/wiki/Begging_the_question
Yep, kind of a font namespacing, e.g. Sans::SourcePro vs. Serif::SourcePro.
In literature, maybe (and mostly because of Game of Thrones and Lord of the Rings) but space travel themes are still big in tv, film and video games.

Of course, in real life, space travel got boring. We couldn't afford the lunar colonies or spinning orbital platforms or missions to Mars we all thought we would see in a few years. It was only in Star Trek and Star Wars that space offered endless variety and new frontiers, but reality offered nothing but dust, and the billions of dollars we were spending flying people to go stand on the dust started to seem like a wasted effort.
Why Do React Hooks Rely on Call Order?
The meta is to use present tense

(If you apply this commit, it will) fix the button.
Despite claims to the contrary, I fully anticipate the (slow) death of Atom.
A commander for transform epub or azw3 to mobi in windows platform
I found The Humane Interface by Jef Raskin illuminating back in the days, if my memory serves most of the content is just as relevant today. Edward Tuftes books also contain plenty of wisdom and examples of good design.
> This move by the White House makes no sense and seems like it's intended to stick it to immigrants for no reason at all.

The white house is moving to disenfranchise people. Starting with the most powerless groups, children and refugees, and then moving upwards.
Monitoring and Debugging AWS Lambda Using Sentry and Epsagon
I was always told c++ is fine just don’t use exceptions
alas it ees archived
I'm glad that mr "say not to anything drugs at all costs" Sessions was fired. We need more sensible drugs laws. Not saying make everything legal, but all things in moderation and commensurate, including punishment.
Show HN: Crypto Asset Arbitrage Discovery
I believe it's "do the right thing" now
Customs and Border Protection Searches of Electronic Devices at Ports of Entry [pdf]
Well retirement age should be even better, they can bring their capital with them, that should give Vietnam a good boost to their GDP.

Well automation will lead to some suicides no? It already has lead to many farmers (Some I knew personally) taking their own lives but it's ok because it leads to economic growth which benefits us all.

I don't think just because someone will commit suicide, doesn't mean the whole thing is bad and gross.
In my view, there should be no need for such a distinction, unless it's to conduct some sort of financial chicanery.

I once went to the ER for something. When I walked in, I went to a desk, where a person asked me some questions and directed me down a corridor to an urgent care facility on the same premises.
Rust was still years away from 1.0 when this was written. If we consider Rust as it is today, it would address some of the author’s complaints about C++, but not all. Rust’s error handling is more explicit and supports fallible “constructors” (Rust doesn’t actually have a true concept of a constructor) – but it doesn’t support fallible destructors, and the standard library notably lacks the ability to cleanly handle out-of-memory conditions. Privacy is more flexible, and there’s not as much of a strict “object-oriented” focus. On the other hand, intrusive lists are arguably even worse than in C++, because they require a lot of unsafe code and don’t play well with the borrow checker (in particular, you can’t enforce unique access).
Yes, power can have objective meaning. You still can't order languages along an axis, but powerful features make a powerful language, and features that compose well are more than additively powerful.

Overwhelmingly, the most important criterion for the power of a feature is the degree to which it enables wrapping important semantics in a library, without creating overhead that makes you worry about whether you can afford it. It's better when the user doesn't need to understand the feature to use the library, although some enable better library interfaces; some of those, used in the interface, still don't demand the user know why. That's power.

Libraries are more powerful, and make their host language more powerful, when they (1) can themselves be composed, with one another, and with powerful language features, and (2) exist.

This is why the libraries you want to use always seem to be in some other language.
If you want to sustain a fusion reaction for generating power through heat, you're not going to do it at room temperature, and there're not many materials that will remain solid at fusion temperatures.
I used serverless for the back end of VidHug (https://VidHug.com) and I've been happy with it. Was there a compelling reason to do so (other than to learn something new?)? I don't know. I also learned ReactJS, among other things.

Just be honest with yourself that learning something new and launching fast (in the interests of entrepreneurship) are not aligned with each other.
In this study, they detect a correlation between exercise and mental ability, but it is not clear which one is the cause and which one is the effect. Perhaps people with very advanced mental decline can't follow any class of exercise.

>> Our results suggest that moderate to intense exercise may help older people delay aging of the brain, but more research from randomized clinical trials comparing exercise programs to more sedentary activity is needed to confirm these results.
Facebook Open-Sources Mask R-CNN2Go, Contributes to MLPerf
Put me in the group of users who despise infinite scrolling --- I would much prefer a paged interface (like the way it was before IS became popular) because it gives you a sense of where you are, and more importantly, an O(1) way to resume where you left off.

(I suppose the companies like IS because it has an addictive property, but I suspect me and others who see through that don't like it at all. Relatedly, the other popular concept of a "feed" also conjures up images of farm animals munching away at a trough; perhaps that is the real intent...)
It'd be real nice if people stopped using the public aspect of discourse (and especially virtual discourse) as some sort of general-purpose excuse for acting like an asshole. While such behavior is often framed as telling hard truths or suchlike, more often than not it turns out to be trite cliche deployed for sadistic effect.
In essence they're urgent care clinics that follow the regulations of an emergency department, and therefore are able to bill as one.

The core components that I'm aware of:

- An urgent care clinic can be staffed with just a nurse practitioner on duty. An ER requires a full doctor on duty at all times.

- An urgent care clinic can close. An ER has to be open 24 hours a day.

- An urgent care clinic can decline to see patients. An ER is legally obligated to accept all patients in need of critical care, regardless of ability to pay.

- In some states, a freestanding ER has to have the word 'Emergency' in it. Although that's not a requirement in every state.

- In some states, a freestanding ER has to be affiliated with a fully fledged hospital. Although that's not a requirement in every state. And being affiliated with a hospital doesn't actually mean you're owned by said hospital.

"Upgrading" an urgent care clinic to a freestanding ER is effectively just a logistics concern. Adjust your staffing schedule to have a doctor on duty 24 hours a day, train your front desk on a new intake process that ensures you don't accidentally turn down indigent patients you're legally obligated to see, and you're good to go. In a few states, add on the additional steps of incorporating the word Emergency into your name and possibly pay a nominal licensing fee to borrow a hospital's name for affiliation purposes.

Then, it's as simple as implicitly exploiting the consumer confusion that ensues for a decade or so, until the regulatory and insurance environment (hopefully) catches up with the practice.
That's not what they're saying. If/when the feds come after Google for (most likely unrelated) monopolistic suppression, Google can say "we don't suppress our competitors--look how we helped out DDG!"
The Changelog. The topics are pretty diverse, with an emphasis on open source. I find myself listening to about half of them. Also Technotopia from John Biggs, about "a better future". The latter is more abstract but often worthwhile.
Ask HN: Cat has lymphoma
Recently learned a friend's cat has lymphoma. The prognosis is (from what I understand) that current technology is not sophisticated enough to fight this for real. More or less they give the poor thing maybe 6-8 months to live if she's lucky (second opinion was 4-6 months). This will all happen while most likely creating a relatively uncomfortable existence for the remainder of the cat's life with chemotherapy treatments. Currently they're on a CHOP protocol VARIATION, which is apparently similar in effectiveness to CHOP, but with (a) far less side-effects, and (b) far less expensive.

Any thoughts? Recommendations? Anecdata? Cutting edge research? Things she can try (based in science) from comfort of home?
Was, at the time I last looked at it :)
I felt the same way when I stumbled across it in a man page :)
A really rude awakening from Israel
It's not an asterisk, it's an ass-terisk.lol
Cats cradle changed my life.
Ice nine
Bokononism
I'm sure I'm banned by now
If you are developing a AAA title with "hyper-realistic graphics" or a more artistic, cinematic game you can use raytracing to achieve effects which are otherwise 'faked', give you unique effects, or just to get more dynamic lights in scenes.

Indies and less realistic or more "casual" games may not bother with it, just as many of them don't bother with things like parallax mapping and some don't even bother to use textures at all. The features are there and easy to use but developers opt in and out of the different rendering options based on their artistic styling.
Commentary: The rise of the rock-star engineer in Singapore
This more of a statement of the idiocy of assuming that Wall St valuations are particularly meaningful.

They were overvalued based on a specific event.
The Nurses and Doctors Leaving London
string_view is about expressiveness and design flexibility (vector<char> and char* can trivially convert) that safety.

That being said, string_view is arguably safer than passing around a char* and a length.
Hi,

https://gitlab.com/gitlab-org/gitlab-ce/issues/27217

Something like this. When I fixed the VERSION manually, there are other errors, as expected.

However the peculiar thing is the errors are not idempotent. Somethings there's some postgres wrong column error, other times it says you can't import the project because you can't have hyphens in project names. (which I don't)

Migration is hard, considering everything can be linked in Gitlab.
Wilkie Collins's The Moonstone and G.K. Chesterton's Father Brown stories.
What I don't understand is why they think they have a right to demand that a platform they aren't even paying for should cater to them.

They're providing content that they're not even being paid for. Stop assuming that the person who own the hardware is automatically the rightful owner of the ecosystem there. Property relations are imaginary and arbitrary and can be rewritten.
I think this scene from the movie "Pentagon Wars" (1998) captures the idea. https://www.youtube.com/watch?v=aXQ2lO3ieBA
I have a cereal bowl that has this image printed within it. I can figuratively and literally eat the "Breakfast Of Champions" with it.
Someone smarter than me once pointed out that exceptions are great as long as you don't have to worry about rolling back state. So, they are a great match for pure functional, stateless languages. But, the more procedural the language, the more complicated exceptions become. C++ can be very procedural and I'm of the opinion that I'm not smart enough to use exceptions in C++. Instead, I'm playing with Expected and monadic error handling.
Personally I don’t think the parent comment is confused. The stock lost half it’s value, but the company did not.

Book value is the term for assets minus liabilities, so “value” without qualification tends to imply all types of value at once. The term “company value” used at the end of the article might even tend to imply more book value than market value to the average techcrunch reader. I suspect the author intended to conflate them in order to paint a picture that is more negative than the real story.

He definitely conflated market value with book value when he wrote “Nvidia is proving that an otherwise strong technology business can disappear in the blink of an eye.” That line is more or less pure hyperbole.
I'm sorry, this is FUD.

Section 317ZG of https://www.legislation.gov.au/Details/C2018A00148 specifically prevents individuals from implementing backdoors.
Urgent care is just a doctors office and are unable to do many things. If you mention that you may have a serious ailment before registering as a patient, they will often ask you to leave the office and call 911.
It gives you more flexibility. You can fly with a crew when needed and without when not. You could also fly with a crew but no pilot.

It’s been speculated that if the damage to Columbia had been realized quickly, a rescue mission could have been launched and the crew returned safely on Atlantis. This would mean the destruction of Columbia even if it turned out the damage wasn’t that bad, because it couldn’t return without a crew. This is one random almost-real example of where this capability could be useful.

One obvious example is test flights. If a crewed craft can fly autonomously then it can be tested without risking those fragile, hard-to-copy meatbags. There will be an example of this next month when SpaceX launches the first test flight of the Dragon 2. Most if not all other manned spacecraft were tested this way too, aside from the Shuttle.
Because with taxes we can discourage consumption of certain products. For instance taxes were used to discourage the production of white phorsus matches, because they melted the worker's faces.
the dependency is open source ya?

if upgrading is that bad can always (usually) patch it yourself
There is an official "Who is hiring / freelance post?" the fist day of the month. https://news.ycombinator.com/user?id=whoishiring

Look there in case you find something interesting. Or you can perhaps post there in the correct thread. You may need to wait until next month.
Services are complicated, and I expect that encryption is used for a variety of purposes throughout. If a company is based in a jurisdiction that weakens the ability of service providers to use encryption for a wide variety of purposes, I’d rather avoid services based in that jurisdiction than develop a nuanced understanding of a service’s architecture and the interaction with the local laws that govern it.

In the end, I think I’ll probably look to some EU-based provider, largely because they seem to have the most reasonable set of laws with respect to human rights and privacy.

Sorry you feel like this is me victimizing Australian software devs. Honestly, I love Fastmail. But your country now has laws that preclude the service from moving toward a better encryption posture. If I ever want better, or don’t want to suss out how things got worse, I gotta abandon Australia. No hard feelings.

As others have pointed out, there’s at least two parties with unencrypted access to any given email I send or receive. And unless I’m PGP or SMIME encrypting everything, te security posture of email isn’t great to start. But I like to support services that make surveillance marginally more costly and marginally more resilient to volume back-door compromises. Australia’s taken a step back here and legally weakens Fastmail’s ability to improve here.

So long and thanks for all the fish.
Reference counted smart pointers are just one of the many smart pointer types. Atomically reference counted smart pointers are a smaller subset of those.
Mmmm maybe I'm missing something, but... what's preventing the rest of the command from being corrupt? Imagine two commands, CM and DM. CM is good and DM is bad. Noise gets in and changes ATCM into ATDM. Boom.

Unless you have error detection / correction, etc, I don't think the AT would add anything else to the equation :-?
Assuming you mean ./node_modules/[org]/[module]/[semver]

This is the correct answer.

I'm okay with using aliases (links) which resolve to preferred semver. Much like nvm does for nodejs runtimes.
Yep, Bitcoin Was a Bubble. And It Popped
Making information-centric sites only use HTML/CSS would significantly decrease the capabsilities and attractiveness of the sites.

For me, and probably many others, the "attractiveness" of sites that don't use JS is far higher. Searching the Web for information with JS enabled is like visiting a library full of books that will randomly turn their pages, jump around, and scream at you like those in the Harry Potter world.
Robotics firm Bright Machines expands to Seattle, hires Amazon leader
> I see no mention of the wayback machine.

The IA is covered in multiple sections. The Wayback Machine is merely one area of the IA.

> Nor digging into raw git and mercurial repositories.

I have never had to do that for any research task I've undertaken, so that would be both too obscure to mention and I wouldn't know anything about it.

> Universities often have blanket access to journals if you use their wifi.

A good point. My proxy superseded this for me but I used to do this, and simply forgot about it. I'll add that. (Another good trick I know is using the old Google Reader RSS exports hosted on IA to get fulltext of webpages. I'll have to add that too: https://www.gwern.net/Search#searching-the-google-reader-arc... )

> get familiar with the FTS backends (SQLServer, Postgres, Elastic Search, etc)

I was really just thinking of grep and some other CLI utilities there. :)
Non-Invasive Glucose Monitoring
We are both more advanced and more behind. The only human capable space system right now is the Soyuz? (first flight 1966)

https://en.wikipedia.org/wiki/Soyuz_(spacecraft)
I would guess the major motivation for this is that the ED is one of the most profitable parts of the hospital? The article kind of hints at it, but doesn't really go out and say that.
Verónica Dahl – Founding Mother of Logic Programming
In general, why would a _patient_ be expected to know what's an emergency and what isn't? Isn't that health care professionals' job to determine?

Some things might be obvious (although what seems obvious isn't to everyone equally), but in general, there are lots of times I have no idea if something is an emergency or not. That's what I want a doctor to tell me!

If you make people (sick/injured people at that) choose themselves, guarantee they are going to choose wrong sometimes in both directions -- including something that really _was_ an emergency, and they avoided the emergency room through lack of medical knowledge or fear of being billed for it, and suffer harm by lack of timely proper care.
We (EMS) operate under "implied consent" in those cases. If someone is incapable of consenting to treatment, we assume that they would want to treated (because that's a better failure mode than not treating someone who does want it).
My argument: 'Exceptions should be exceptional', because exceptions are really just errors, that happen to be exceptional (rare)!

The reason exceptions tend to be overused is because the line between error and exception is blurry -- and it's blurry precisely because an 'exception' is really just a subset of errors. Unfortunately, most languages do not treat exceptions as a subset of an error, but as a completely disjoint/orthogonal thing, and that's the problem!

If we transitioned to languages that handle these concepts in a unified way (and ones that don't allow unchecked exceptions), this isn't a problem at all, and we can all happily write much more inherently reliable software.
Projected into two dimensions, they are.
dupe: https://news.ycombinator.com/item?id=18644835
Keyword Searchable Video of Google CEO Sundar Pichai's House Judiciary Hearing
“The light had now completely failed and he stared over Sr. Bustamente’s shoulder past the curtain into a graveyard darkness, stabbed by flashes of torchlight like heat lightning, but the vendors had lowered their voices, the children had stopped laughing and crying while the diminished audience sat slackly and bored yet patient before the dark screen, suddenly illuminated, swept, by silent grotesque shadows of giants and spears and birds, then dark again, the men along the right-hand balcony, who hadn’t bothered to move or come downstairs, a solid dark frieze carved into the wall, serious, moustachioed men, warriors waiting for the show to begin, for a glimpse of the murderer’s bloodstained hands.” — Under the Volcano, Malcolm Lowry