skysight-inc/HackerNews huggingface dataset:
It's shocking that you have never learned to adjust your mirrors properly. It sounds like this article was made for you!

In my car, I have properly set my mirrors and there is no functional blind spot. When a vehicle is leaving my rear view, it is entering the side view. There is no gap between these two events.

I'm always gobsmacked that the vast majority of drivers are literally incompetent at mirror use.

It's shocking that you would claim that it's impossible to not have a blind spot when this article and simple testing would prove you wrong.

I would urge you to try your OWN experiment AFTER reading this article, digesting it, and practicing it.
A friend runs a residency program and I've talked with them about it a few times. This is definitely getting better, but the number of hours still seems high to me. As a developer, I'm strongly against extended hours because I know how quickly the error rate creeps up. (And I probably wouldn't know that if I weren't doing TDD and pair programming, because the first thing that goes for me is ability to notice my poor performance.) My basic question was: shouldn't doctors work 8 hours and then go home?

The big difference between writing code and doing medicine is that patients won't stay the same when a doctor leaves for the day. With 8-hour shifts and 40-hour weeks, covering a patient around the clock requires 4-5 people. Those people will have 21 handoffs during that week. Each one of those handoffs is an opportunity for information to get lost, for understanding to fade, for followups not to happen. If people work 12 hours, that's only 4 handoffs. 16 and it's 10. 24 and it's 7.

Obviously, at some point the harm from overwork outweighs the harm from handoffs. But it's not an easy decision to make. When I'm debugging some weird, urgent problem, I know how valuable it is to stay with it, to keep all the state loaded in my head until I figure it out. And hospitals are full of weird, urgent problems.
Turning your head means not seeing the pedestrian in the street in front of you.
This is a common misconception, but you are incorrect. These data can be used to identify you, therefore they are not anonymous. If a name is removed from a file that contains zip-code, age and gender, that data is nevertheless sufficient to re-identify most people. Removing a name from a data-base does not necessarily anonymize that data-base.

DNA can be used to uncover your last name and ethnicity, estimate your height, hair color, eye color and more, so anonymization is not as simple as removing a name.
I got two different issues with my hand (RSI and Wrist pain) after coding for 7 years and that was when I switched to VIM keybinding pretty much everywhere even in my web browser (Vimium). I'm also using Kinesis keyboard with a lot of mappings to have all modifier keys under my thumbs.

It is one of those things like smoking! You always hear it is bad for you and you always think it only happens to others and never happens to you.

That is my advice to everyone now. Either don't do touch typing, or you should use a better keyboard layout and VIM keybinding to avoid stretching too much.
This might be a good interview question to identify net negative programmers like that. Give them the "ACTUAL 2" code, and ask them how to improve it. If they start talking about DI or any other additional abstractions, you have your red flag. And of course if the programmer asks "are X Y Z used anywhere else?" or has the balls to say "just inline it all into a linear flow of code", instant hire! :P
I would have never known that plaid is the absolute worst background for readability if not for this website. I felt like a robot trying to parse a CAPTCHA.
It's because shortening doctors' shifts does not result in better patient outcomes:

https://psnet.ahrq.gov/primers/primer/19/Duty-Hours-and-Pati...

The reduced fatigue is offset by the increased number of patient handoffs between shifts. More handoffs = more errors. My wife is a resident and she supports 30 hour shifts for residents for this reason. The difference between your judgement at hour 23 and hour 29 is less of a risk factor than a 20% increase in handoffs.
While I like the idea of this site, I think it is good to understand how it is fundamentally flawed.

I do training. And most outside of training don't stop to think about how there are a variety of approaches to training, and a variety of topics, and not every topic aligns well with every approach. And choosing the wrong approach has some very bad consequences - harder learning, poor learning, and less joy in the learner.

I read the first problem - rocket physics - and it does a disservice to both physics and programming. Personally, rocket physics is where I would probably take a historical approach to teaching - what did we learn, how did we learn it - embedded in failure and success stories. And there were software failures there too. But I understand that this site isn't trying to teach those things. It is taking it's one hammer (problem based teaching) and applying it to a bunch of nails.
its good to educate people about default representations of numerical literals and their corner cases.

Whenever I see these examples I do get annoyed st the Haskell one because we never are told what type it gets defaulted to, which only happens silently in the ghci repl, but will trigger a warning if it’s in a source file that’s being compiled.
Maybe try the middle east, Saudi Arabia or one of the smaller places, Qatar etc.?
Reading about the murders is interesting--especially since I just picked up Kingdom Come, an excellent game set in medieval times--but the map works horribly.
I didn't downvote you, but this isn't a problem with computers. It's a problem with the (mis)use of floats.

Floats are not decimals. That's unfortunately a really, really common misconception, owing in part to poor education. Developers reach for floats to represent decimals without thinking about the precision ramifications.

When you're working with decimals that don't need a lot of precision this doesn't generally come up (and naturally, those are the numbers typically used in textbooks). But when you start doing floating point arithmetic with decimals that require significant precision, things get bizarre very fast.

Unfortunately if a developer isn't expecting it, that's likely to happen in production processing code at a very inopportune time. But the computer is just doing what it's told - we have the tools to support safe and precise arithmetic with decimals that need it. It's a matter of knowing how and when to use floating point.
What is the framework, procedure, or legal guidelines for securitization and the selling/trading of the securities? Where may I refer for more details on this?
Using one of these workarounds requires a certain prescience of the data domain

I'm a little concerned if merely knowing the existence of floating point arithmetic constitutes "prescience."
Backend:

Clojure
Datomic
Luminus

Frontend:

ClojureScript
Regent
Datascript
Datsync

Some advantages:

Immutability down to the database
Database reads scale horizontally
Impossible SQL injection from reading API
Cache TTLs can be set to infinity
Can ask for data at any point in time or do speculative writes
Same programming language front and back
Running queries within loops are performant due to data locality
Query results can be returned with nested results
The database can be queried with Clojure functions
Data shape is defined at query time, not at schema time
Specs can enforce stronger safety than types
Specs can help generatively test your application
Prolog -> Datalog many things from SQL can be expressed easier in datalog i.e. recursion, nesting, joins etc

This kind of stack is just getting started, see hyperfiddle as a real-time app builder that leverages these primitives that thing is off the chain powerful it can render itself inside its self, can express blogs, tables, crud applications very easily, once that gets deps support no reason it couldn't support much more complex apps

The equivalent would be a site were you could write SQL client side, to define your data for your application then add react code to complete your app
Arguably the Espionage Act could be interpreted and used to prosecute any speech that is not supportive of the US government and lately for any federal whistleblowers, it seems pretty incongruous with the First Amendment but the law has been supported by the Supreme Court multiple times and here we are.
The average IQ of Italy and Norway is practically the same.
I could understand 0, but how does it get 2?
As a driver, my primary focus MUST be in the direction I travel. I am simply not responsible for what is occuring behind me or in lanes adjacent to me.

When moving between lanes it's important to have no blind spots and to ensure safety before moving: which is what this article and anyone basically competent with mirrors does.

It's rank irresponsibility for me to stop focusing on the direction in which I am operating a multi-ton death machine simply because I am afraid of trusting the equipment I have.

As a motorcyclist, you should also know that being rear-ended by inattentive drivers is a huge and dangerous risk that is nearly impossible for you to prevent. While you can see and move out of the way of a bad lane change, it's vastly more difficult for you to see and move out of the way of a car that isn't stopping.

This, and so many other reasons, are why it is so important for car drivers to NEVER LOSE ATTENTION TO THE FRONT. Ever, for any reason.
I think down-votes should count half as much as up-votes. Often for controversial topics posts that go against the consensus will get more down-votes than up-votes
>and the CLI has no parameter to run scripts directly, so you have to start the CLI manually and do .read foo.sqs).

It does work, but only sort of. Just did:

$ sqlite3 -init select_contact.sql test_sqlite.db

-- Loading resources from select_contact.sql

Alan|Acre|50|Male|100.0

Betty|Smith|20|Female|200.0

Charlie|Copenhagen|30|Male|400.0

Dorothy|Delhi|80|Female|400.0

Edwin|Bombay|40|Male|100.0

Edwin|Pune|55|Female|110.0

SQLite version 3.8.11 2015-07-27 13:49:41

Enter ".help" for usage hints.

sqlite>

where select_contact.sql contains "select * from contact;"

So it can run a script given as a parameter.

But it leaves you in the CLI instead of cleanly exiting. And prints those extra headers, etc. Not very Unix-philosophy-adherent, it seems.

Edit: formatting
Big Crowds Flow Like Water in Amazing (and Terrifying) Ways
What to Tell Our Kids About the State of the World
My point is if some of med school is obvious cruft that can be removed and or altered to be more useful in practice. Why not?

PS: I would include tendons, joints, and muscles etc not just 206 bones in that example. Also, that was rather off the cuff as left/right could confuse things so maybe you want port vs starboard or something.
You're probably being downvoted for posting like you're on some other site, moreso than your sentiment that this is just a simple CS 101 thing that people ought to know.

Thing is, a lot of people don't take CS courses, and have to learn this as they go along. More importantly, the naive cases all seem to work fine - it's only when you get to increasing precision / scales that you notice the cracks in the facade, and that's only if you have something that depends on the real accuracy (e.g. real world consequences from being wrong) or if someone bothers to go and check (using some other calculator that gives more precise results).

My own view on it is that it's past bloody time for languages to offer a fully abstracted class of real numbers with correct, arbitrary precision math - obviating the need for the developer to specify integer, float, long, etc. I don't mean that every language should act like this, but ones aimed at business software development, for example, would do well to provide a first-class primary number type that simply covers all of this properly.

Yes, I can understand that the performance will not be ideal in all cases, but the tradeoff in terms of accuracy, starting productivity, and avoiding common problems would probably be worth it for a pretty big subset of working developers.
This perspective always cracks me up. The way the US does it is less brutal and obvious, but pretty much the same thing; old books are scrapped and forgotten. Formerly popular thinkers are memory holed or declared 'thought criminals' (pick your '-ist'). Their books are no longer taught in college, and the perspectives they represent are gone forever.

Present day thinkers and reporters are given the same silent treatment on mainstream media which is obviously controlled by the narrow oligarchy which controls everything else. Same treatment is happening on youtube as China is doing; non-conforming perspectives are actively sought out and removed by censorious apparatchiks. Oh yeah, and now they're also sometimes denounced as "russian agents" as well -a pack of absurd, paranoid and Orwellian nonsense which makes anything the ChiComs say look like objective common sense.

The US engages in ritual denunciation of itself for slavery and killing off the Indians. Somehow our most excellent international adventures, ridiculous military provocations, poisoning of the food chain, extractive slave economics of the native population and colonial control of half the population of the world is A-OK. For all I know, China engages in ritual denunciation of its pre-Maoist self as well. That doesn't mean they're not carefully controlling the narrative now.
Syncthing graduation day
In my experience the worst messes I’ve had to deal with are cases where people didn’t DRY enough: it’s easy to “unDRY” a function: you just duplicate it and rename it when you notice that its code serves two different purposes. It’s harder to take duplicate code and deduplicate it, because you have to think really hard about the context and whether or not you’ve encapsulated the environment correctly.
How many deaths were reported per 100,000 patients admitted? Not to shed doubt; I just think that'd be important to know.
50 meters was an exaggeration. 25 feet is common.

I can assure you that the "we don't hire smokers" is indeed a thing. It became so much of a thing in the 90s that many states had to actually pass laws preventing the descrimination: https://en.wikipedia.org/wiki/Smoker_protection_law

21 states still do not prevent such discrimination, with Washington being one of them. You'd be shocked at how many jobs in the Seattle area discriminate against smokers.

point made on the choice vs no choice thing but my point wasn't about choice it was about how we as a society have collectively decided for the most part not to shit on people and that includes those with an addiction. Also minor nit but being poor is not completely outside of ones control in the majority of cases.
I'm an ex-smoker and I felt I was in the minority of smokers that would roll out the tobacco and put the butt in a trashcan or my pocket until I got to a trashcan. My older brother did the same thing, so I probably was influenced more heavily by my family norms. It is slightly inconvenient and you wind up with even stinkier hands and smelly pockets using that method which might explain why people don't do it.

Recently I was with a friend smoking on my porch and he flicked his butt into my front yard. There was an ashtray right next to him which he had used previously. He had also smoked on my porch a number of times before. He is liberal friend and pretty vocal about it though I don't recall him speaking much about environmental concerns.

I don't really have an explanation, my guess is that it's a number of factors. I would chalk the scenario on the porch up to muscle memory and possibly being lost in conversation. I think that the small size is the main thing. It is not acceptable to toss any sizable piece of garbage on the street.
Windows uses ipv6 temporary addresses by default. NAT isnt security, and lot of implementations are faulty, so dont depend on it for security.
IPv6 allows for so many IP addresses that you could give yourself a new IP address every minute and never worry about running out.
>As a radiologist, I have to know a lot about cellular biology to understand and predict the imaging manifestations of cellular disease.

A given radiologist shouldn't be predicting the imaging manifestation of cellular disease. They should be using their knowledge of how known diseases or conditions appear on scans to diagnose the issue. The people that need to understand things on a deeper level are the ones trying to devise new tests or scans to expand front line radiologists diagnostic abilities.
What is the "right answer"? Is the article claiming that such languages don't respect IEEE-754, or that IEEE-754 is shit?

If you want arbitrary precision, use an arbitrary precision datatype. If you use fixed precision, you'll need to know how those floats work.

Pointless article, imho.
While it would surely be nice to have a treatment that works for every type, there are people having cancer now. If there is a treatment for their specific type of cancer, the research has paid off already, even if it is a low-hanging fruit compared to treating cancer in general.
See the ingenious toys made by refugee children
So to clarify... its rainy outside. You don't want to get wet. They don't want to get wet. They are only allowed to smoke outside. I'm not saying its not a dick move mind you, but maybe consider that they too wanted to be comfortable and outside is the only place they are allowed to smoke.
$ php -v

PHP 7.2.10 (cli) (built: Oct 9 2018 14:56:43) ( NTS )

$ php -r "echo 9999999999999999.0 - 9999999999999998.0;"

2

$ php -r "echo bcsub('9999999999999999.0', '9999999999999998.0', 1);"

1.0

bcmath - http://php.net/manual/en/function.bcsub.php
I'm not sure what routers you've used or seen but every home router I've touched in the last 5 to 10 years has had the option to enable IPv6 in its settings.

Also, IPv6 has a unique address that everybody can reach but most if not all routers have an IPv6 firewall that gives at least if not more security than NAT provides.
First of all, fantastic work. Developers as passionate, brave and talented as you are the ones who move this whole platform forward and eventually change paradigms.

The other guy was unnecessarily harsh and offered zero constructive criticism, so I'm left wondering what is it that he could have disliked so much. I think if there's one thing that might strike as a bit jarring on those iPhone screenshots it would be the light green tint. Why not gray or white? Menus are at a lower hierarchy than the actual content and the use of color makes them stand out too much based on everyone's years of experience with them
Are there any mainstream languages that consider a decimal number to be a primitive type? I feel like floating point numbers are far less meaningful in every day programs. Even 2d graphics would be easier with decimal numbers. Unless you're using numbers that scale from very small to very large, like 3d games or scientific calculations, you don't actually want to use floating point.
> There are surgery residents working 24h+ shifts. We have laws against overworking truck drivers, but somehow the medical profession gets a pass.

That is so true. During my Zivildienst[0], for nurses were required either by law or by collective agreement to have at least ten hours of free time / rest between two shifts. The morning shift was 06:00 to 14:00, the late shift was 13:00 to 21:00, so if somebody worked the shift one day and the early shift the next day, they could either leave an hour earlier on the first day or come in an hour later on the second day. But Doctors working 24 hour shifts were not seen as a problem.

In Germany, this is weirdly intertwined with the pay structure of medical doctors, so any attempt to improve working conditions would also result in lower wages, which the medical doctors do not like, either, so the whole situation is somewhat stuck.

EDIT: [0] When we had a military draft in Germany, one could become a conscientious objector and serve in a civilian institution instead, for example Hospitals or nursing homes.
Show HN: privacypass-rs – Implementation of Privacy Pass in Rust
This article completely fails to mention that IPv6 is not just an extension of the address space but a whole different worldview about how to run a network:

- IPv6-to-IPv6 NAT has only been accepted very recently and very begrudgingly. Whatever your views are on NAT, the fact is that lots of people have network designs that rely on it, and if you want them to stop, you're now asking them to couple two major transitions, which is a significant economic cost. (Option 3 in this article is IPv6-to-IPv4 NAT, assuming that the public internet will indefinitely be IPv4; it's noteworthy that none of their options ever envision the public internet becoming IPv6.)

- IPv6 recommends the use of its own scheme, SLAAC, for address assignment, with DHCPv6 being also very recent and poorly implemented - for instance, Android has no DHCPv6 support and plans to never implement it https://code.google.com/p/android/issues/detail?id=32621 . There's also a "stateless DHCPv6" for communicating DNS servers but using SLAAC for addressing; without it, SLAAC expects you to use a scheme called RDNSS to communicate your DNS servers, which is also not 100% supported. So you now need to spend engineering time supporting all of these options because some devices only support one and some only support the other, and you need to come up with network designs that work with both SLAAC (which has strong opinions on how you use /64s) and DHCPv6 (which doesn't).

- IPv6 doesn't use ARP, on the grounds that it's a layering violation, a separate layer-3 protocol that runs directly on top of Ethernet but talks about IP addresses. Instead, IPv6 has a clever scheme for using multicast to transfer the information that ARP would convey, by having machines join multicast groups based on their MAC address. This works very, very poorly with networks that aren't designed to support significant multicast load - for instance an attempted deployment of IPv6 caused packet storms in the MIT Computer Science and AI Lab's network for about a week because their switches were falling back from multicast to broadcast: https://blog.bimajority.org/2014/09/05/the-network-nightmare... So a working IPv6 deployment involves upgrading all of your hardware to hardware that has good support for multicast, which is also a significant economic cost.

- Various protocols like Teredo and ISATAP attempt to set up tunneled IPv6 routing in preference to IPv4 routing, making it hard to do a staged deployment, especially if you have BYOD on your network. For bonus points, because they're tunneled, you get different and possibly worse routes over IPv6, making debugging harder. So that's a cost in additional L1 and L2 support.

If someone had come up with an IPv7 that's just "We extended IPv4 to 128-bit addresses and we left ARP and DHCP and NAT and everything alone," people would have switched to it already. But the powers that be are drowning in the second-system effect and nobody wants all the features they added.
No shit speed and meth are stronger than coffee. I don't think that was the point being made. Or at least its probably safe to assume the commenter you are replying to didn't indend to imply that.

Sorry to be do blunt but casually ignoring things like modafinil which seems to be the go to drug for staving off sleep if you want to be able to pass drug tests is a bit of a mistake.

Subjectivly most users of modafinil find it "weaker" than coffee because there is no rush associated with it as there is with coffee, you just can't sleep when you take it.

So if the point you're making is actually just virtue signalling with the "well some drugs are worse than others because I guess they are classified as controlled?" bullshit then please provide an actual reason why the comment was disagreeable.