skysight-inc/HackerNews huggingface dataset:
I'll use this post / opportunity to ask the HN community

(I understand that this is a technically complicated, and potentially sensitive subject)

I've been approached by a few people who are doing what they can to lower the cost of prescription glasses. It's a mix of (licensed) ophthalmologists, people interested in offering community health services, etc.

What is the current state of the art for pupillary distance (PD) measurement based on face detection / pupil tracking using laptop webcams or mobile (front) cameras?

I imagine (obviously?) that there must be scholar research on the acceptable error margins for a PD measurement (depending on the type of vision condition, i.e. farsightedness, etc.)?

Would using something like Handsfree.js or https://github.com/esimov/pigo (which has pupil detection) be a good start, or would these be an ~order of magnitude off in terms of the necessary margins?

Thanks a lot.
We use hyper + tokio directly, with OpenAPI generated API integration.
The problem with comparing the Internet now vs 25 years ago is back then you didn't live on the Internet all your waking hours. You jumped on, got what you needed and got off again otherwise you'd be paying a high hourly premium. And to top that off you'd power off your computer and cover it and the monitor with a dust cover.

Now with phones and always on connections it's not even comparable. I spent more time using my computer; programming, graphics, learning about it, yes the physical thing in front of me than on the Internet in the early 1990s even later 1990s.
The error here: it's not problems arising from capitalism

You complained that "only so many are built in any given geographic area", and I pointed out that this is for a very non-capitalist reason. Regulation prohibits opening new hospitals.

https://en.wikipedia.org/wiki/Certificate_of_need
If I remember correctly the safety number is a concatenation of hashes of both peers’ id (phone number) and public key. So while it doesn’t leak your phone number, you can probably bruteforce the phone number if you know the pubkey. But you also probably can’t get the pubkey without knowing the phone number so…
An agreement can be reached without a treaty. But that's not even super relevant here.

The US doesn't need to change any laws to meet this agreement. We already tax our corporations more than 15%. What the US wants is for other countries to tax that much, to discourage our own multinationals from booking revenue outside the US to avoid US tax. The EU wants companies to book revenue where they make it, which they can do all on their own. They don't need the US for that.

And what makes you think the GOP wouldn't support this? It would give them cover to lower the tax rate to 15% from 21% to "be in line with the rest of the G7". Also, if our multinationals can't avoid tax anymore, there is a good chance they would just book their revenue here in the US, leading to more revenue for the US and less for Europe.
The water would probably more affect the flavor due to hardness and mineral composition favoring certain microbes over others and the expression of acids etc
You have it exactly backwards - I believe black live matter, but I don't believe in the organization BLM and they do have an an organization and an agenda.

It's a kafka trap to name your organization with political goals some obviously positive name, and then declare anyone who does not support your organizations methods or particulars of its agenda as a hater of that positive name.

It's so transparent we're just in an age where being honest is rare, and people will convince themselves obviously untrue things - 'they don't have a platform' but they removed their 'what we believe page' including being against the nuclear family https://nypost.com/2020/09/24/blm-removes-website-language-b... .

It's a weird sort of denial of reality to just insist things don't exist, like an organization (which BLM is) with a formal agenda (which BLM has, even if they tried to obfuscate after being criticized for it's more radical and harmful ideas).
> If I have a choice between using a software that works on mac / win / linux, and one that works on those three + a ton of obscure architectures / old systems I'd definitely choose the first one

The first option probably means they are assuming the terminal behavior of the common terminal apps desktop users on one of the two/three main platforms are using. But if they're making that assumption, they might as well assume they can use a proper GUI and go with that.

The whole point of terminal programming is that you live within the abstraction which is the terminal. The fact that you're thinking about _systems_ rather than _terminals_ is the problem.

It's perfectly ok to have your app refuse to run on a terminal which lacks certain capabilities (annoying, but ok): You check for whatever you need from the terminal using Terminfo(https://en.wikipedia.org/wiki/Terminfo), and die gracefully if necessary. What's not ok is saying "Oh, I'm running on Windows, so XYZ must be true about the terminal I'm in, I'll just go ahead and assume that's the case".

Also - what you consider "obscure and esoteric systems", for many other people is just "systems".
I don't mind ads, only have an issue with performance and tracking. My browsing habits are such that very occasionally I stumble upon a website full of ads and it's startling.
Visible to whom?

Web developers often have no clue how their page appears to others, because they are developing locally, and the production site is close and has few network issues.

So a lot of developers that think everything is fine end up having no clue what most people experience.

When web fonts first started seeing widespread use, I would very frequently see 2-10 second delays when all content had loaded except for the font, including massive images, but I couldn't see any text. When I complained about this trend in the web to web developers I knew, almost none of them even seemed to believe it was possible, or at worst I was just a very unlucky user.
How to Fix Poorly Performing Facebook Ads: These Are the Biggest Mistakes I See
Can confirm - recently was in a 1970 GM car and the windshield was covered in dead bug guts at the end of the drive. On the way home, my 2008 GM had nothing.
Sure this is true, but this also one of things Georgism seeks fix (land speculation.) A georgist LVT appraises land based on the intrinsic value of the resources it contains and not what is build on it. In fact it seeks to fix “land hoarding” to incentivize productive land. Under a proper LVT it would be really expensive for e.g. one person to own 100 acres of land they aren’t utilizing to it’s true economic potential.
This is definition shifting, no? "Open Borders" means open borders, i.e. no quotas. Like how "Defund the Police" means stop paying for and therefore disband police forces. Proponents of these slogans often explain that they really mean more limited, reasonable changes when questioned, but they mean what the words say. That's how language works. If the intended policies are "raise the quotas," say so. If it's "do away with controlled borders," stand behind it and explain why. Don't switch from one to the other as is convenient.
> being paid less in real terms

That’s a myth.

https://fee.org/articles/dispelling-the-myth-that-wages-have...
Finally!!

just missing those brave devs
Reconciliation requires no Republican votes.

https://www.brookings.edu/blog/up-front/2021/02/05/what-is-r...
Thanks! I didn't realize they were still going back then..
Been using this for a few years now, LOVE marginnotes! For example: https://www.0atman.com/articles/20/polyphase-one-month
This is awesome! For comparison, this is also supported on Amazon RDS, so AFAICT this opens up the possibility of near-zero-downtime streaming migrations between the two cloud providers: https://aws.amazon.com/blogs/database/using-logical-replicat...

Also, it enables a really cool pattern of change data capture, which allows you to capture "normal" changes to your Postgres database as events that can be fed to e.g. Kafka and power an event-driven/CQRS system. https://www.confluent.io/blog/bottled-water-real-time-integr... is a 2015 post describing the pattern well; the modern tool that replaces Bottled Water is https://debezium.io/ . For instance, if you have a "last_updated_by" column in your tables that's respected by all your applications, this becomes a more-or-less-free audit log, or at the very least something that you can use to spot-check that your audit logging system is capturing everything it should be!

When you're building and debugging systems that combine trusted human inputs, untrusted human inputs, results from machine learning, and results from external databases, all related to the same entity in your business logic (and who isn't doing all of these things, these days!), having this kind of replayable event capture is invaluable. If you value observability of how your distributed system evolves within the context of a single request, tracking a datum as it evolves over time is the logical (heh) evolution of that need.
Simple Container-Utilizing Build Apparatus
It's misinformation in the same way the lab leak hypothesis was "misinformation".
I've been working with FPGAs for years (in hobby, at work I'm a mere "user" of them), and it always baffled me how poorly matched the chosen imperative paradigm of Verilog and VHDL is to them.

I think the idea was to make it look "familiar" to engineers by looking like C (Verilog) or Ada (VHDL). But FPGAs are nothing like CPUs, and what you end up with instead is an unfitting language where you use a whole lot of "common constructs", knowing how they will be synthesized into hardware. And worse: Practically no good way to do abstraction.

Functional languages are a much, much better match, because that's what FPGAs are: Combining functions together. This works on higher orders as well, and it works well with polymorphism!

So privately at least, for anything substantial I've since been using Clash, which is essentially a Haskell subset translated to Verilog or VHDL: https://clash-lang.org

The learning curve is steep, it definitely helped that I was already proficient in Haskell. But then the code is so enormously concise and modular, and I now have a small library of abstractions that I can just reuse (for example, adding AXI4 to my designs). It's a joy.
From what I heard, the new spaceship offers basically zero privacy and is distracting to work in, so I think it has a lot to do with the hesitancy of people returning to work at Apple, and thus is responsible for management's drive to get everyone back into the glass box.
I think the confusion here is need to own vs need to use.
There's a new fenced dog park near me. Lately people have been going there but letting their dogs off leash in the filed next to the park. There are many new homes and lots of kids in the area. It's maddening.
tldnr:

[quote]

> as on the 27 controlled trials available in January 2021, 15 of which were randomized controlled trials (RCT's), the preferred trial of the World Health Organization, U.S. National Institutes of Health, and the European Medicines Agency. Consistent with numerous meta-analyses of ivermectin RCT's since published by expert panels from the UK, Italy, Spain, and Japan, they found large, statistically significant reduction in mortality, time to recovery and viral clearance in COVID-19 patients treated with ivermectin.

> To evaluate the efficacy of ivermectin in preventing COVID-19, 3 RCT's and 5 observational controlled trial's including almost 2,500 patients all reported that ivermectin significantly reduces the risk of contracting COVID-19 when used regularly.

Many regions around the world now recognize that ivermectin is a powerful prophylaxis and treatment for COVID-19. South Africa, Zimbabwe, Slovakia, Czech Republic, Mexico, and now, India, have approved the drug for use by medical professionals. The results as seen in this latest study demonstrate that the ivermectin distribution campaigns repeatedly led to "rapid population-wide decreases in morbidity and mortality."

> The published research can be found in the latest edition of the American Journal of Therapeutics: https://journals.lww.com/americantherapeutics/Fulltext/2021/...

[/quote]
No, I am not using GDP, when I wrote “national net worth”, I meant exactly that: https://en.wikipedia.org/wiki/List_of_countries_by_total_wea...
> I think Graeber is most likely a Marxist

Graeber was a self-proclaimed anarchist[1]

[1] https://web.archive.org/web/20110629033208/http:/www.village...
Xah: [nothing]
You: Stay away from my daughter, nerd.
> If you think browsing on a 56k connection is bad, try a 16k connection from Ethiopia!

No need to travel that far. During my time in my previous apartment I had two options for connecting:

-The landlord's mother's old router behind a thick wall (400kbps at best, 300-400ms latency with 10-30% packet loss).

-A "soapbar" modem we got along with my SO's mobile plan. 14GB a month, slowing down to a trickle of 16-32kbps when used up.

Things that worked on such a connection:

-Google

-Google Meet

-Facebook Messenger

-Hacker News

The rest of the web would often break or not load at all.
99.9% of communications done by browsers is symmetric. Asymmetric is used initially only to encrypt the symmetric key. After that exchange is done, everything else is followed by symmetric - with AES being overwhelmingly used.
Well this is just false. You are not at all responsible for a company’s actions just because you are a shareholder. HN is evidently quite out of its depth with these kinds of threads.
I have at times chosen to pee in bottles despite a nearby public bathroom existing, simply because the bathroom was very gross while the supposed grossness of peeing in bottles doesn't register at all to me. Some people seem to think this act is very gross, I get that... but I don't personally feel that way. To me, peeing in a bottle is about as inherently gross as peeing on a tree. I don't think either of these are inherently inferior to peeing on porcelain.

To be fair I suppose, peeing in a bottle could be gross and messy if you only had a narrow-necked bottle. And in some situations it might get you into legal trouble. Both matters are resolved with a little common sense.
>> So if I'm negotiating with you and you tell me we have a deal, I should consider that to be something that may or may not happen, may or may not be effective, and may or may not be legally binding?

I hope you don't touch contracts in your job. Until a contract is signed nothing is official.
The majority of Apple's sales is to consumers, so it's equivalent for the sake of argument.
You are not going to ratify a treaty with the required 2/3 votes in the Senate via reconciliation.
and horticulture
Ask HN: Books for Effective Communication
Being very good at writing and speaking are very valuable skills that come in handy in all situations in life.

What books have you read or want to recommend to enhance these skills?

Any specific book that changed how you articulate your ideas and thoughts?
Yachts are depreciating assets that don't confer the ability to rent-seek. Let them buy yachts.
You're either delusional or extremely (emphasis on the 'extremely') divorced from reality. So losing out on a $10,000+ gain is 'a good thing' in your book?
> Do you have a link to this?

Yes. [1] New batteries, not old/swapped ones as you had suggested earlier.

[1]: https://www.shacknews.com/article/108049/apple-repair-critic...
Just leave the dog at home. My point is why take the dog somewhere if you can't let it off the leash? Jeeze... Touched a nerve here it seems.
Why not? Don't shares represent ownership of a company? Aren't you responsible for your property?
> TypeScript is probably a more appropriate choice for most situations – still a rich, powerful type system, great performance, and much faster compilation times

Compared to Rust's normal debug builds Typescript does not have any noteworthy compilation speed advantage in my experience. In fact I find incremental Rust builds very similar if not faster in some cases (of course there are extreme exceptions both ways; I've used a library that added 40 seconds to every Rust build, but also frameworks that didn't make a noticeable difference after the first build). Meanwhile the quality of TypeScript error messages is much worse. Also sometimes debugging gets confusing because TypeScript has a couple blind spots and in the end it still turns into JS with all its quirks. I find Rust's type checker significantly more precise and comprehensive. On the other hand TypeScript doesn't (need to) care about things like pointer ownership, so often there's much less to worry about.
They're not measuring the projection of the acceleration vector on the velocity vector, they're measuring the projection of the velocity vector on the acceleration vector and limiting that. Which makes no sense for a speed limiting method as evidenced by the fact that strafejumping exists. What you said is true and also irrelevant.

To get a true speed limit you would compute the new velocity vector, compute its magnitude and rescale the components by the ratio under the limit. Which is slightly more computationally expensive I suppose.
Those captive portals generally kind of suck; you can (or could, the last time I personally tried was pre-pandemic) get around them with mac spoofing or tunneling traffic over UDP 53/853. They'd have to keep long-lived NAT logs on the gateway to tell that the infringement was from the guest SSID.

But I guess at that point you may as well just full-on wardrive it.
Well, SVG is xml for example.
It is overly simplistic. But equally if you’re paid less then a car wash you’d probably want to wash the car yourself.

There is going to be a line drawn somewhere that equates to “yes this is worthwhile expense” and “no, I’m better off doing that myself”. While I acknowledge that line is going to be variable depending on how much one likes or loaves a particular activity, equating the cost of outsourcing to your own rate of pay isn’t an unreasonable approximation for where that line should reside.
Indeed. I don’t get it though. Why not push every timeline out by a safety margin of hundreds/thousand years?
You think the Constitutional right of Congress "To lay and collect Taxes, Duties, Imposts and Excises" can be wiped out with reconciliation?
I also remember getting this bug/issue a couple months ago, and being really confused and frustrated by it. Thanks for publishing.
It should be stressed that association does not necessarily imply causation, and a variety of associative relationships between viruses and a given disease state are possible. For instance, virus abundance might simply be an epiphenomenon reflecting bacterial host abundance, the human genetics that predispose people to a disease might also provide a more favorable environment for the virus or its bacterial host, the external causes of a disease may create a more favorable environment for the virus, or the virus may contribute to the disease presentation in some way but ultimately does not cause the disease in isolation from other important factors. Verifying the associations we have detected with independent studies of the same diseases in additional populations will be key to understanding the extent to which the findings presented here are generalizable.
Phone confirmation doesn't evade phishing. The user doesn't think the request they just got on the app is "random" because they think they're doing the right thing. The whole idea of phishing is to trick the human user.
Downside of this is that the other side will never surrender!
Given what response? It was my point.
All rise, court is now in session. The honorable Lina Khan presiding. The case of U.S. vs. 10 Billion Wrapped Individually Marked Bills.
Your analogy is flawed because you seem to be assuming that the people with execution authority are the ones who reached an agreement in principle. You’d expect them to succeed in papering it up.

That’s not the case here. The agreement in principle was reached by someone who has no power to do anything with regards to corporate taxes. Congress sets U.S. tax law and agrees to treaties. To do that, you need 60% or 66% of the Senate. It’s like the CFOs reaching an “agreement in principle” to something that requires Board approval—and a big chunk of the Board is hostile to management.
Do you have animations generated from this? I would love to see rotations in motion.

I feel like there is some game that could be created from needing to manipulate objects in this space.
If Amazon/UPS/Fedex wanted they could erect portaloos where they would be needed or devise a route that goes past a company facility every so often, so the driver can actually pee when they need to. It's a case of "don't want to", not "can't".
That last image is not how artists draw rotated cubes in three-point perspective. So, I have to conclude that the author's formalization only works for lines parallel to the axes.
Also not everyone had the luck to be growing up in rich western countries. My "boomer" parents grew up under communism, you know what they had at my age? Absolutely nothing. Definitely no wealth building to speak of, no amazing opportunities, good job existed if the government granted you any.....compared with them, my generation has it extremely good.

And then you go on the internet and read how the post WW2 generation fucked everyone over - like....in US, sure. In the former Soviet block? Not so much.
exactly. social phenomena in general are many orders more complex than physical phenomena for which mathematical models are generally deployed effectively.

but even so, a zero- (e.g., a single tax rate) or quasi-first-order (like a limited number of tax brackets) model makes no sense, when we can much better fit the desired effect with a slightly higher-order function for only a small complexity trade-off. better fit means reducing the exploitation surface.

tangentially, this is a relevant application of basic linear algebra and calculus to civics, which could be used as concrete motivation in the high school education of those subjects.
It's exactly the same in Switzerland. Dogs are so well behaved I wonder if they are a special breed altogether
No.

The United States Constitution is not "only a framework".
At the time, Go/Kotlin didn't exist, Scala wasn't established, C# was Windows only, and Java and the JVM more generally were a thing that everyone was running to Ruby and Rails from for lots of reasons. Probably wouldn't have gotten the thing out the door if I had to do it in Java.
Odd Linux Commands (2016)
Sounds like the pay is no longer on the higher end from the poster
The big bagging area will be one big scale. It's not that big of a deal when programmed correctly. You can place your own bags on it too (but there's usually a button you have to press so it tares it correctly).

The scanning area will have it owns weight sensor for unweighed fruits and vegetables. This scale is usually calibrated/verified by a government body because it relates to pricing. In Europe, it's common to bag and weigh your produce in the produce section, but in N. America, it's integrated with the checkout process.

I live near a Walmart "flagship" store and they are/were testing out a system where you scan items are you pick them and then can bag them in your cart, with a special aisle for exit. I suspect the cart also goes over a scale and they determine if it matches correctly.
Thanks, I should've linked to this.
Yeah, quite probably.

But just maybe, this event already happened, and some people very high in the "chain command of the world" is keeping its cards close to the chest, just in case some crazy people try to contact the foreigners by themselves, with unforeseeble consequences.
Except isn’t the details trickling out here suggests there wasn’t excessive swapping and the value you’re relying on to conclude that is erroneous? Did you somehow measure swapping differently?
I did read the whole thread. He mentions Ortiz's name, but does not mention that she was appointed by Obama at the request of Kennedy and Kerry.

Just as I said.