skysight-inc/HackerNews huggingface dataset:
Run this on a Raspberry Pi in combination with DNSmasq, and point your routers DNS to Raspberry. Then you have a universal solution for all your devices at home, and that works for Chrome+Firefox. Most routers can have 2x different WiFi SSID with different DNS-settings, so you don’t get complains from your loved ones.
I am looking for a great OCR software I can run locally instead of using Cloud Vision. Do you have any suggestions?
Something that is only known to locals can be discovered by the greater world.

If it was well-known to academics or other notable groups of non-locals inside the country then "discovered" would be less appropriate.
Some of my favourite memories involve being out with my friends walking around well after midnight, having discussions that would most certainly not be had in the presence of any of our guardians.

> Do you really think it's unreasonable to ask that children out after 10pm (midnight during the summer months) have someone looking after their safety?

Depends. If it's a _child_ proper, like under the age of 14-15 at the _highest_, then no. If they are old enough to be their own person, then yes, absolutely.
The perception m0zg outlined still seems correct. The system encourages deceptive reporting of metrics. If you can take credit for improving things with metrics, while causing far more damage in the process or making no real contributions, you will still get promoted.
3M Simpsons Screencaps
How would you recommend testing components that use the `useSelector/useDispatch` hooks internally?
echo `date`

could be expressed as just

date
Very old school indeed. In my job we tried to approach them. They have a very interesting library that allows your app to connect to their devices and skip their app. It's for research only. They kindly offered us to use it but when we mentioned that our app was open source they pulled the offer. We tried to explain that we could bundle their library in a proprietary module but they didn't want to listen.
I think the original post referred more to the social impacts of the situation to which I can relate to. You can indeed work on your own projects/hobbies but I find it's harder to find people to connect with if your situation is so different.
Another approach is to block the websites in your router settings and to make that password very long, assuming you don't need to access it as often as sudo.
The last part "Performance and Normalizing Data" is great. Thanks for writing this!
By itself, his statement seems accurate to me. It might be hypocritical, but that doesn't make it false.
Because all the computer hocus pocus is obscuring how they make money: they launder arbitrage banks are not allowed to do to their own clients in exchange for a large fee.
No, what you're describing is a conditional green card and that's only in certain exceptional circumstances, namely:

* a marriage-based gc where the marriage is less than 2 years old

* an investment-based gc

In general, permanent residency is permanent. You have to renew the card itself, but that's just a formality.
Nifty. As an Anki user, I see this as a feature I really wish Anki had. This is an area where I am more than willing to spend money for an excellent product (which Anki strangely fails to capitalize on). Good luck, I hope this grows.

Obligatory HN cynacism: I don't think I'll end up using it due to the massive investment I've already made in Anki + switching friction. Plus, it's not open source, so if the service ever went away I would be crushed (which is really important to me since some of my cards have 10y+ intervals).
Bill Gates' message to conspiracy theorists
Wayland support in KDE is improving as we speak. Two recent improvements:

* https://pointieststick.com/2020/07/24/this-week-in-kde-scree...

* https://bugs.kde.org/show_bug.cgi?id=373907#c29
Chinua Achebe has a surprising connection to the early days of the world wide web, because in the early 1990s Achebe's writings were digitized at one of the major U.S. supercomputing universities.

This was thanks in part to funding by Sun, IBM, Apple, and NeXT, and the team of Andy van Dam (Comp Sci) and George Landow (English Lit). The project was called Intermedia and featured a range of post-colonial authors, including Chinua Achebe and Wole Soyinka. The Intermedia Achebe texts were among the first ported to HTML and to the WWW.
File a complaint to all the IP ISPs and bet them turned off. Place $10 million on the heads of the hackers.
Most journals certainly have a separate Methods section where they describe the entire protocol. I believe this paper has the same section too. Can you be more specific what you think authors missed out in description of the methods?

I can imagine that for the sake of being concise (big Journals have text limits), they might have moved details to Supplementary sections.

Another reason one might find methods to be incomplete is when they refer to a previous paper and build on top of that, which is not entirely a bad strategy because this allows readers to go back to previous method in its original version than reading a duplicate version in new paper.
The HN headline should match the article's. It's missing "in the elderly"
Offsets the damage of XTC usage a bit ;-)
It is at 3M
Politico.com?

I am not American, but follow the politics. The content seems neutral to me but I haven’t really judged it seriously enough.
This is so true. Though I'd been writing CSS long enough to remember Netscape 4.0 quirks, it wasn't until I learned some troff a couple years back that I had my moment of CSS enlightenment. The fundamental features are the same! CSS (and HTML) were (originally) made for pages of technical/academic writing, not creating user interfaces.
the browser should also attempt to help the user find the desired page (within reason)
Right, it's more of an ownership desert.

The area isn't seen as valuable, so no one wants to wind up stuck there. Really, it's a leadership problem, because by adding in some compensation or praise or prestige, managers can create arable land.
https://archive.is/DC7FB
Now that you mention it, yes I do. That explains it.
Ed Thorp’s Princeton/Newport Partners was the first great quant hedge fund.
That’s such a lovely and heartwarming thing to do. Kudos to you and thanks for sharing.
Not just in India, it follows https://www.washingtonpost.com/opinions/2020/07/13/new-lawsu...
We detached this subthread from https://news.ycombinator.com/item?id=23700584.
HN as a technical audience is probably not your target audience, but I do think users of flashcards tend to be students.

I don't know many students who (1) want to use flashcards and (2) have the money to pay 5$ a month for something that isn't food/netflix/spotify/beer/rent.

I'd love to see how this works out for you, maybe I'm wrong about the target audience being the less-technically inclined but motivated students. Alternatively, if the app is good, but the pricing model is wrong, might just change it to charging something like 2,99$ per user, or per year or something like that.
There was another famous hedge fund noted for mathematical excellence but it turned out to be a different story entirely ...
The law doesn't say parent or guardian. Only an adult. It can be a parent, sibling, friend of the family, whatever.

> Depends. If it's a _child_ proper, like under the age of 14-15 at the _highest_, then no

The law applies to children aged 16 and younger.
Hell yeah, I'm planning to keep it up for a good while and lemme know if something isn't working or you'd like a new feature. bontaq @ the google mail .com
Renaissance?
I meant HN’s irresistible catnip being anything that contradicts mainstream conventional wisdom — not dance specifically.
not the OP, but I find BIG by Matt Stoller and Notes on the Crises by Nathan Tankus a nice break from the mainstream press.

Insightful, well considered and non-dramatized writing on important subjects:
https://nathantankus.substack.com/
https://mattstoller.substack.com/
A refutation of social media isn't a justification for its opposite. Changing systems always involves trade offs. What are we trading by advocating for anonymous 1-on-1 discussions?
All: please note that there are more comments on page 2: https://news.ycombinator.com/item?id=23697083&p=2.

(That's what clicking the 'More' links at the bottom of large threads takes you to)
First Look: Rick and Morty Season 5
I checked out Digikam recently because my camera didn't support PTP but instead a custom protocol and I wanted to copy pictures over (Dolphin had no support). Sadly, Digikam had to mess with the metadata of each picture and put its name inside. Which contribution has the program done other than download the picture from the camera? So I went to using an SD card reader instead.
No, probably Madoff. Renaissance is incredible.
What’s the purpose of the read-only link if it has the same UUID?
Some signs of progress in some rural areas: https://youtu.be/pKMLdytHOhs?t=4536
Please, help me to understand, why this message got so badly downvoted?
The React ecosystem has a whole has moved towards a more "integration"-ish approach towards testing components. There's multiple reasons for this:

- Kent C Dodds is a strong proponent of that approach, and teaches it in his materials on how to write tests. He also created the React Testing Library lib, which has picked up a lot of adoption in the community. (Enzyme has struggled to keep up with some of the newer features in React, which has led to a number of folks switching to RTL as well.)

- Hooks in general push you towards a different set of tradeoffs for how your components read data. Related to that, the concept of "container components" isn't completely useless, but the community always over-obsessed about that idea.

I specifically talked about some of the differences in mental models and tradeoffs in my post "Thoughts on React Hooks, Redux, and Separation of Concerns" [0], and my ReactBoston 2019 talk on "Hooks, HOCs, and Tradeoffs" [1].

So, the RTL docs suggest that you should test Redux-using components by writing a reusable function to "render components with a Redux store + Provider wrapped around them" [2], and we just merged a PR to the Redux docs that shows that same approach [3].

[0] https://blog.isquaredsoftware.com/2019/07/blogged-answers-th...

[1] https://blog.isquaredsoftware.com/2019/09/presentation-hooks...

[2] https://testing-library.com/docs/example-react-redux

[3] https://redux.js.org/recipes/writing-tests#connected-compone...
Recently there was a large thread about the impact of caste in Indian communities abroad: https://news.ycombinator.com/item?id=23697083

There is a lot that's interesting to discuss about this, but also a lot that is inflammatory. If you're going to comment, please stick to the guidelines: https://news.ycombinator.com/newsguidelines.html.
It's not exactly an implicit assumption. The message was only intended for those who can receive it. Otherwise we get into a weird situation in which humans are trying to communicate with jellyfish through waves and light patterns to get them out of poverty. The message clearly wasn't meant to save every single living being from poverty.
link for the curious

http://music.hyperreal.org/library/publicity/plastikman/shee...
From the article, this just sounds political. The people protesting just happen to be doctors, nurses and scientists.

And as per the article, it would be interesting to see if the people protesting are willing to give back the money and all the equipment it bought.
https://en.wikipedia.org/wiki/When_Genius_Failed
Masks Are Neither Effective nor Safe: A Summary of the Science
There are a number of components there.

(1) Protocols are very sensitive to errors, possibly more than primitives. If you screw up the internals of a primitive, the results will be different (and visibly so), but it stands a good chance at still being secure. Protocols however tend to be very tightly designed. Modifications that have a working happy path are more likely to have significant wholes: a missing check, failure to authenticate part of the transcript, loss of forward secrecy… No real justification there, it just has been my experience dealing with modern primitives and protocols.

(2) Correctness subsumes security. A program is correct if it fulfils its requirements. A program is secure if it fulfils its security requirements. Which by definition are a subset of all requirements. That said, while immunity to relevant side channels are definitely parts of security requirements, it helps to separate them from the correctness of end results.

(3) Bug free code is possible. It's not easy, but it can be done. Constant time implementations of modern primitives are among the easiest code to test, ever: since code paths only depend on the lengths of parameters, testing them all against a reference is trivial. That's not just "100% code coverage", it's 100% path coverage. As for the proofs, while they may not be easy to produce, the good ones are fairly easy to follow (though extremely tedious), and the great ones can be checked by a machine, making them trivial to verify.
Building a command line tool to find playable words in Scrabble
And yet I've seen zero improvements in my echo since I bought it 2 years ago. It's a glorified Bluetooth speaker (it's hopeless at playing songs i ask so I just play with my phone) and a light switch.

It feels literally like a big list of string matching and if conditions and not like a true NLP system.
The design is indeed really nice, but copy could be greatly improved. It took me a really long time to understand what their product is. Their hero text tells me nothing: "All hands on deck.".
Their description doesn't help a lot either "Pitch helps teams build better presentations: collaboratively, effectively, and beautifully.". The only useful words are "teams, presentations, collaboratively". The others are just fluff as I assume no such tool has the goal of ineffectively creating ugly presentations.

From what I understood, it is like Google Slides? I expect to see some UI/demo, but it is a pre-launch page I guess.
I counted 12 steps to just get the demo going. Not for the faint of heart!
As someone who has done a little bit of iOS development for fun, I wouldn't be surprised if this is an actual bug. There used to be 10 different ways to do the same thing inside iOS, and neither one was "correct."

Being a photo app, they probably figured out that having instant access to Camera is their top priority, and because you are allowed to access camera in the background and keep it on, there was no harm in doing so.

Of course one could also go deep and assume that Facebook is running all video through an ML that picks out faces, location, items, and whatever else they can grab around your surrounding, and then covert that into ad-intent, but however sexy that sounds from technical point, they are after all a public company and need to play by the rules. Unlikely to take on such a massive intrusion of your privacy, knowing that eventually it would get discovered.
Long live Amiga, capable of lot of hugs ;)
I have no idea what this is, but it's really cool: https://makespace.fun/
Thank you!

It's actually just a bit sad to look at the page hit stats, and see that the readership drops off dramatically after Part 1. Looks like Part 6 has <10% of the hits that Part 1 does. Not surprising when you think about it, I guess.

Out of curiosity, anything specific in that page you found particularly helpful?
Dolphins choose childhood friends that set them up for success as adults
He worked in several fields like many "scientists" did back in those times. He was not merely a philosopher or a writer but also a statesman, anatomist, botanist and physicist.

I believe the specialisation of professions is merely a recent (100-200 years maybe?) phenomenon. We become too absorbed into our professional identities of being a programmer or biologist or engineer and tend to forget that we are of course more than just our job and have freedom to invest our intellectual rigour into anything and everything.
> has been part

That seems to be the issue for me - many people using "cyber" are noticeably out of touch.
I remember when this sort of functionality arrived in Second Life.

It enabled a lot of easy 'shared experiences'. eg: Watching a live video stream of an event with people, or group presentations etc.
This sounds very similar to https://www.remnote.io/.
Apple and Google are probably stuck between a rock and a hard place with this contact tracing.

Between them, they have exact positions of a vast majority of individuals, at least in western societies. They could have done useful contact tracing at the press of a button, even historically, for every major event such as large concerts, churches, night clubs which we know were the most important situations to contact trace. They could have done this with the data they already have.

This would however set a bad precedent on how this data is shared. Law enforcement is one thing, medial tracing is another. So instead they set out to build this BLE tracing toolkit, which is something that at best is intended for future use, when everyone has the requisite hardware and software installed. It wouldn't reach more than a minority of users today which severely limits its usefulness, all for the possibility of reaching into situations such as bus rides, where nobody really knows how contagious these situations are because we simply do not have enough knowledge of the virus yet. Real world measurements are also likely to be noisy (where someone carries their phone in their hand and another in their backpack with a water bottle) even if we could set a hard limit on a safe distance, which we can't.

So maybe we will get something useful in the future, for the price of not exposing the data already available today.

It is amusing that the BLE tracing toolkits were sold as a way of not having to expose your location data to Google and Apple, the exact entities who already have fine grained location data on most people.
Replace LSD in your argument with "alcohol", "bleach", "nailpolish remover", "cigarettes" or any other dangerous stuff you can find in the household that are supposed to be locked away when children are around. Yes, most of these are smelly, but toddlers can be too curious for their own good and are not that discerning for bad tastes yet.
Do you seriously not think that playing a sport requires control of your entire body? Have you ever tried to actively improve at a sport? Everything from basketball to golf is fine muscle control from the lowest to highest levels.

Some people cant see their own bias I guess. :)
There are many kinds of dance and styles. I guess the main ways to divide could be a) Partner dance b) Group dance, and a') Choreography b') Improvisation.

Even for seasoned dancers there is a lot to offer in all of those. In partner dance you have to watch and adapt to your partner all the time (no matter the skill level). In choreography you of course have to learn new programs and execute them well (displaying the desired artistic expression), in improvisation you have to come up with things on the fly.

Unless you get stuck in an old routine (same old choreography, not doing anything new, etc.), there is almost endless variation and learning of new tricks and nuances.
Yeah, came hear to post this. Recently read his autobiography "A Man For All Markets." Simply an incredible and creative man. From beating blackjack to roulette, to discovering Black Scholes before Black and Sholes.

PNP changed the game like no other. Really sad Giuliani and his thugs took him down.

Thorpe is epitome of the best of humanity: creative, fearless, and tenacious. His life story was really inspiring to me.

The book comes highly recommended.
As I stated above, self-defence is never violence. This includes stating your intent to defend yourself, your family and your property even with lethal force. You shouldn't need to state it though, it should be assumed.

A homeowner cannot possibly know the motive of a trespasser, and it is therefore completely rational for them to use lethal self-defence, because they must assume the worst-case, that the trespasser may harm them or their family.

So there is no violation of the NAP here - the trespasser is the only one who may be in violation.

Obviously, the vast majority of people aren't out to kill. They don't want to harm someone for stepping onto their lawn, nor do they want to clean up a dead body. The use of self-defence is a last-resort if they feel in danger, or if they feel their property is under threat and it's worth more than the perpetrators life.

If the trespasser decides that somebody's property is worth more than their own life (which is the case if they assume the owner may use lethal self-defence), then there should be no expectation of the property owner valuing the life of the perpetrator more than their property. Both parties agree that the property is worth more than the aggressor’s life.
There have been perhaps a few. One obvious one is LTCM whose board of directors included the mathematical creators of a highly used option pricing theory..
I think the fix is dependent types, right? If the compiler can reason about the index and the size of the vector, that's one way.

For example;

let x = 5;
let y = vec![0; y * 2];

for i in 0..x * 3 {
y[x]
}

That shouldn't compile.
Referring to people as broken seems like a wholly unnecessary moral judgement against an awful lot people you've never met.
Agreed. It is possible that some really long-lived lifeform has evolved "out there". That's why I said "and tolerate boredom really well", since you still have to wonder what they're doing during the trip. Maybe singing "99 bottles of beer on the wall?" I don't know.
If people were interested in colonizing the Moon that could be done by 2030 or earlier.

If, for instance, Musk got his starships to work you would probably land one on the moon with a bulldozer, turn it on its side and bury it, and that is the beginning of a moon habitat. It seems crazy to me that one would want to go to mars before getting boots on the ground highly comfortable on the moon. Martians would be so vulnerable to tech failures that they should have confidence that people live a boring life with the same kit they use on the moon.

The problem though is the motivation. If Starship was working, for instance, you could ship hydrogen fuel up to earth but produce the oxidizer on the moon and ship it up with a mass driver. This is not the miles-long device that Heinlein and O'Neill dreamed about but something like a scaled-up battleship gun. (e.g. the US Navy can buy a lunar escape velocity railgun today)

You could catch lunar oxygen near the Earth-Sun L2 point if you have a 2.5 km/s gun, with a 3.5 km/s gun and active guidance you could graze oxygen carriers against the Earth's atmosphere to land liquid O2 at LEO where it could refuel starships.

The byproduct of that lunar oxygen is likely to be iron. Astronauts dug up hematite ore as good as anything you would find on Earth -- in Science Fiction space economies are often aluminum based until iron asteroids are tapped, but the path to lunar iron+oxygen is short compared to Al.

Studies on the economics of Lunar LOX vs LOX from Earth don't show a consistent benefit from moon mining if you want the fuel in order to go to Mars.

Personally I would skip Mars and aim for exploitation of asteroids. As you move away from the sun you get more tarry gunk mixed in with your sand; it is like Saudi Arabia but instead of a little tar in your sand it is a little sand in your tar. Great for making food, plastics, trees, etc. Get out to the orbit of jupiter and you will be looking at 50% ice, methane, carbon monoxide and you'll need to use the Fischer-Tropsch process if you want tarry gunk.
They've got to stop pulling this kind of crap again and again. They should not use their position to promote their political agenda.
16-year olds aren't children.