skysight-inc/HackerNews huggingface dataset:
> There's a difference between buying from a backyard breeder who doesn't care about the quality of dogs they're producing, and a quality breeder who vets buyers, parental lines, and has offspring contracts to prevent future unwanted litters.

https://www.telegraph.co.uk/news/uknews/12193472/Crufts-plun...

I know it's the Telegraph. And I know it says that Crufts and the Kennel Club were being criticised. But I've seen a few German Shepherds like the one in the video walking around in Sydney. It's pretty sad. Their hind quarters visibly tremble and at a walking pace you can clearly see they have difficulty walking. So I'm not sure what good 'quality breeders' are.
There are different kinds of water.

https://en.wikipedia.org/wiki/Heavy_water

https://en.wikipedia.org/wiki/Tritiated_water

https://en.wikipedia.org/wiki/Semiheavy_water

Finding any of them on another planet or moon would be interesting.
Best option for android/iOS dating app
Hello folks,
we are currently looking into developping a dating app that would use mongoDB for member data, filter question data, pictures, a chat function and active filtering of matches. It's not a simple app, but it isn't the most complex either. My partner wants to do it in Meteor and although I can see the benefit in one code base and triple output (web android ios) I wonder of the pros and cons of going down this route. We are junior developpers, so it's very likely we would hire a senior developper if we start hitting good numbers with our just-better-than-proof-of-concept apps. The senior partner would redirect coding toward better outcomes which I assume might be native kotlin-java/swift development. Any thoughts? Thx much
In case you're not familiar with the work of Nicky Case, they've created many brilliant interactive works of art, games and "explorable explanations".

Perhaps look through the ones that have previously been well-received here:

https://hn.algolia.com/?query=ncase.me&sort=byPopularity&pre...
"How do you handle DMs for a billion connected clients" is still a much harder and a more interesting story than "if you want something similar, throw a GraphQL at it".
>Behavioural traits (with very few exceptions) vary more widely in between individuals within a breed than from breed to breed.

No they absolutely do not. There is nothing to suggest this, and overwhelming evidence to the contrary.

>but purebreds will have genetic deficiencies.

No, some subset of purebreds will have genetic defects. Just as some subset of mutts will.

>As silly as "labradoodle" sounds, these people have the right idea.

Why? They are doing the same thing you are complaining about, just using a specific cross of two breeds rather than a specific single breed.
apologies if this type of topic is not relevant. Another thread led me to believe it would be.
> but is this a common sentiment

It is. One more statistical point: I started reading, saw that phrase, closed the tab and came here for the comments.
>rather than the "take a hit now for a better return later" mindset

Are you sure it will be better later? History is littered with rewrites that ended in disaster.

So what is wrong with the "if it ain't broke ..." mindset instead?
Bloomberg: The Business of Bees
Why should journalists have more freedom than ordinary people?

This can lead to elitism as well as lack of accountability if they know no one can challenge them if they take on agendas.
Check out matplotlib's PGF backend: https://matplotlib.org/users/pgf.html
> expanding the use of digital analysis over costlier physical testing

Oh no.

> For example, when vibrating a fuselage on an enormous platform to expose weaknesses - known as fatigue testing - the vast majority of the time the tool itself breaks instead of the airframe, according to a person with knowledge of past tests. Such work is costly and has reliably confirmed engineers’ expectations, he added.

Is this just hubris, or is this real? That's a lot of confidence to place in a software model.
A Former Military Operative Sets Sights on Poachers
It sounds like Reuters is trying to draw a connection between this and the 737 Max crashes, but I don’t think there’s any reason to believe that better testing in silico would not have caught that issue just as well as physical testing
KDE really has become my favorite nowadays. I used it a lot ~5 years ago and loved it but moved on, only to return recently. Glad to see it grow stable and full-featured unlike the direction Gnome's taken with didactic, knee-capped options (pulling in JS no less) and overbearing, overt politics.
> Interesting that this company is able to do this without threat of being sued into a smoking crater by Apple.

Consider whether a company such as https://www.blackbagtech.com/ (specifically products like MacQuisition) can exist without active support from Apple.
The work was done under a deadline, and some teams did not complete all of the assignment in the allotted time. The Python programmer not only completed all the required and optional features, passing 100% of all tests (both the revealed and secret ones), but "also implemented more extra features (for fun) than any other team, including an SSA intermediate representation with register allocation and other optimizations."
Anecdata and all that, but I have seen quite a few reports of people overcoming their t2 diabetes through low-carb diets.

Whether they were actually cured is harder to say.
So You’ve Made a Mistake. What Now?
The ANYmal robot is perfectly at ease on even the roughest terrain
Musk reportedly got the idea from the Banks novels:
https://www.1843magazine.com/culture/the-daily/the-novelist-...
I am mentoring a student with ADHD and anxiety issues on a technical project.

Does anyone have any advice?

I have dramatically paired back the scope of the project because it seems like it was too daunting at first. But I don’t know if making is super simple (to not stress the student out) is the right step either.

The current pace of their work is very slow, and I’m not sure if trying to apply any pressure will help or hurt...
Everybody has a story. Everybody. Greg Lopez was a great newspaper columnist for The Rock Mountain News in Denver who wrote about everyday people. It was like he could just walk up to anyone on the street and get a fascinating story out of them.

Unfortunately, he was killed by a drunk driver - Rich, listless kid driving an exotic sports car. Tragic loss. It's been a long time, but I still remember him. I could only find one of his columns online since his paper shut down but here it is:

https://www.syracuse.com/kirst/2009/03/greg_lopez_and_the_ro...
> 5.7M The number of people that rode the New York City subway on an average weekday in 2016.

Shouldn't that be:

> 5.7M The AVERAGE number of people that rode the New York City subway on a weekday in 2016.

You're averaging the number of people, not the weekday. (I guess this is a stylistic linguistic choice, but it's always bothered me.)
Yeah, I use Firefox Focus on mobile and it tells me I can't view it in private mode. I'll see if I can figure out how to implement your suggestions with it. Thanks for the tip.
My first idea was to run "rm -rf /"
Considering the ancient Greeks basically made a hobby of discussing what the ideal constitution is, I would say the concept is far older than even the first twinkling of the concept of natural law.
'Fasts 23 hours a day' makes it sound odd and extreme. It's the same thing as 'eats one meal a day', which sounds much more ordinary.
Most of the Slack channels I use are used async, and I only have notifications on for 2 out of ~15 channels. Good comms culture was much easier to develop with Slack + [Something for docs] for the teams I have worked with. But I very much understand that teams are different, and different cultures work optimally for different teams.
OpenMandriva, the first Clang-built Linux distribution
... or perhaps just hire security professionals familiar with formal verification, then design secure systems?
I actually know and work with several people there :)
I think that it adds. mplicitly no.snacks, OMAD doesn't necessarily cover snacks though usually it does
I have also found Python’s stdlib to be laughably bad. Just compare the data structures available to Scala. I write Python everyday and honestly, it’s a chore. The language is primitive and inexpressive.

The sad part is that it totally didn’t have to be this way. But instead of evolving, Python is just stuck in the past.
One big difference (which the article seems to mostly ignore) is that the shortest project was written by a single developer, while all others were a team effort.

Having the whole project - design, architecture, all implementation details - in one head is not a trivial advantage. Even ignoring communication overhead, there might be subtle duplication of code simply because different people choose to do similar things in slightly different ways.

While the ratio of Rust to Python code kind of matches my expectations, I wonder how much of it might be due to the difference in team structure vs the difference in chosen language.
Something to keep in mind is Rejection Sensitive Dysphoria.

https://www.webmd.com/add-adhd/rejection-sensitive-dysphoria

It passes if allowed to, but having someone complain about overreaction or try to push through it does not help. Sometimes an ADHD brain, especially an anxious one, can seem to react in an irrational way.

And it's true! But there's nothing they can do about it at that moment. They can learn how to smooth the curve or avoid getting into it in the first place, but not mid-panic.
I recommend Up In The Old Hotel by Joseph Mitchell. He wrote the stories of everyday New Yorkers for a column in the New Yorker, and the book is a collection of his best work.
All Of Argentina, Uruguay Without Electricity After Massive Outage
I don't want to disappoint you, but I'm fortunate to have enough money to have stayed in many of the top luxury hotel all over the world, and hang out in business class lounges pretty much whenever I fly and... I'd bet I'm pretty much just like you. No grand story.
> Slack is a productivity killer

I think that notifications is a productivity killer in general - no matter the software behind it.
and how much time does it take to maintain this code?
The beautiful thing about long fasts is that it’s actually difficult to overeat in a short window.

And the flip side of that is your blood sugar stabilized so much that you are actually not that hungry during the fasting window. I mean the hunger is there, but it’s not panic inducing. It’s just like “meh, I wanna eat, but can wait”.
> So what is wrong with the "if it ain't broke ..." mindset instead?

If your repair parts are coming from collectors, it is broke, and you're entering a stage where you can't guarantee that you can actually fix it.
Is the code online somewhere?
Can apple just add to their Terms of Service that private firms like Cellebrite are required to disclose any security flaws they find?
Usually they count { on a single line as code. Multi line strings are code in all but scc and Tokei. Tokei counts them as comments or string depending on user settings. Scc will count hem as comments in the next few months.
Boeing cost cutting as the Max runtime defects pile up - aircraft groundings, returns, and cancelled sales. My confidence in this rationale is non-existent.
Laser-Based Space Debris Removal
A bit pedantic, but it’s actually not just Linux. They also have OpenBSD, for instance. It just so happens that there seem to be overwhelming many more Linux distros than other general purpose operating systems in the world.
I guess we now know how the Salem witch trials happened.

What's striking about the story is that the panic did not (apparently) start with the public. It started, bafflingly, with investigators and the police.
How do we know the big result is "Python!" rather than "work alone!" or "women code better!" ? Because that was 3 features of that one sample. It's hard to make any conclusions from that article.
Python socket servers can drop received packets on exit
Fix passwords disappearing due to AVG security software
mystride, a digital platform for the equestrian industry (https://mystride.com) | Backend Engineer | Co-Founder | Remote

We're seeking an experienced backend engineer to lead and contribute 500 to 1000 hours in 2019 for in exchange for a 3.5% stake in the the company.

We have our own serverless stack in AWS. Cognito, Lambda, Dynamo, Elastic Search, Neptune, S3, CloudFront, APIG and KMS.

If you don't want to grind-out code for a boss the rest of your life, early stage equity is the way out. Or a lottey ticket!
The current team consists of iOS, Android, Design, Product Management, Marketing and Salespeople.

email dave@mystride.com if interested.
It is actually nearly a 30% reduction with respect to the Scala line count.

More to the point: while the numbers nominally show differences in languages, everyone with programming experience recognizes that unmeasured and uncontrolled human factors probably had a big part in the outcome.
Visual Basic was actually strongly typed (unlike JavaScript).

What it did differently to Pascal was that it allowed for lazy / inferred typing along with some transparent type conversation in places where the intention was obvious. However in VB once a variable is defined a type (either when defined or when assigned a value - depending on how the variable was defined) you couldn’t change it. Eg you cannot overwrite an integer with a string

Weirdly, despite being branded a toy language, this meant VB actually had one of the more sophisticated type systems out of the languages of that era because you had the laziness of languages like JS and PHP but without having the === et al kludge that some loosely typed languages need.

Perl is another language that frequently gets mocked but it’s eq vs == solution for differentiating between strings and numeric types is genius and again solves the whole type comparison problem that JavaScript has.
I was going to post this. Thanks.
Looks like Uruguay, Paraguay, south of Brazil, Bolivia are also affected. Several million people. It’s raining, no internet, this will be a long Sunday.
Also today is father’s day, will be a celebration with candles like in XIX :)
I tried intermittent fasting. (I only cut out one meal, breakfast, and didn't eat between 9pm and 12pm.) It works okay. Even if you eat a slightly heavier lunch as a result, you're still probably consuming fewer calories overall.

But it's hard (as all effective methods are). You are aware that you are hungry.
In my experience, the first 3 days are difficult. After that, it's easy. I've never gone longer than 5 days.
It's pretty clear that (like in every programming teams) the size of the output (in LoC) was linear with the number of programmers, which is something our profession should be worried about.
I'm on my second year on a 23:1 fast. It's worked out great for me. I did the whole carnivore diet thing initially but introduced carbs and other things slowly. Now I pretty much eat anything I want as long as everything fits on one plate and I've cut down my eating window to 30 minutes instead of an hour.
I can't maintain extreme regimes. Some five years ago I used a combination of intermittent fasting and carb cutting to drop like 40 pounds, I was svelte, looked better than my early twenties.

But eventually I realized this has to become my mother-effing lifestyle if I want to keep looking that way. It's not that I can't do it. It's that the tradeoffs just aren't worth it for me. So I gave it up, piled on pounds for a few years until I felt the need for another health intervention. what I do now is to eat more deliberately and pay close attention to the feeling of satiety so I can stop eating. Pounds are slowly melting away.

My father has the same mindset as Penn. He can't simply watch his eating. Willpower gets depleted and he finds himself eating the rest of the cookies in the bag, and the other two bags as well.

For him, he has to cut out everything "bad". He has to frame it in terms of a moral conflict because otherwise cheat meals turn into cheat days and cheat days turn into dropping the diet for months until he works up the willpower to do it again.

He's also an alcoholic, has been dry for 25 years. Still goes to daily meetings.

When I lost willpower, I gained 20-30 pounds over 5 years. When my father loses willpower, he gains 50-100 pounds. He might do this twice a year.

All-or-nothing feels like prison for me. It's freeing for the addictive mind. Once the moral dynamic is surrendered to, agency is found. The non-addictive mind seeks harmony between competing desires and urges, the desire to have a fun and varied diet vs the desire to be fit and healthy. Addicts can't have harmony because they lose willpower faster than they can accomplish goals. Only in disharmony can they find lasting agency.
You're correct that this is different from the 737 MAX MCAS crashes since those involved more human factors though I think it's fair to take a longer look at the proposed shortcuts.

Boeing's corner cutting and lack of regulatory oversight seem to have contributed to the crashes and they rightly should have to prove that this testing will be equivalent.
Nope, nothing makes me as ravenous as excercise. I’m also not trying to lose weight, so that might be a difference.
And yet doctors reject all manner of so-called "alternative" therapies on the grounds that they have no plausible mechanism of action.

A family member of mine had a somewhat-debilitating chronic condition in high school, which only got better with a combination of what today are garden-variety alternative therapies (acupuncture, elimination diet, et al). Today, as a doctor, pooh-poohs a lot of that stuff. It's confusing and disappointing to see.
His attitude and that it might not be unwarranted is the main point of the article.

I think the author found a nice way of saying "those who don't know (almost everybody), are insanely naive about the effectiveness of security measures".
“...that you cannot produce it.”

It sounds like you are conflating type 1 and type 2. The mechanism of the latter begins with insulin resistance.
I'm not surprised.

In 2017, a new colleague of mine from an EU country wanted to open a bank account to receive his salary. Even he had a proof of address, letter from the employer, EU passport, I, as his line manager, personally had to walk into the bank branches. Lloyds, Halifax, RBS, Natwest, HSBC kicked us out, only the 6th one decided to open one, after couple of personal visit…
> There is nothing to suggest this, and overwhelming evidence to the contrary.

I'm willing to read a good citation here if you have one, but the "overwhelming evidence" lies on the other side where docile and submissive specimens of fighting breeds and aggressive and dominant specimens of family-friendly breeds can be easily observed. There is plenty to suggest this.

> No, some subset of purebreds will have genetic defects. Just as some subset of mutts will.

These subsets are not equal. I'll clarify in a bit.

> Why? They are doing the same thing you are complaining about, just using a specific cross of two breeds rather than a specific single breed.

That's not how genetics work. Inbreeding increases the number of recessive genes floating around in the gene pool, increasing the number of carriers.

Say, for simplicity's sake, hip dysplasia is bound to a single recessive gene. If you cross a breed that is prone to hip dysplasia with one that isn't, none of the offspring will suffer from hip dysplasia, and it will halve the number of carriers of the recessive gene in the genetic lineup.

Do that a couple of generations with different breeds, and it starts becoming very unlikely that two recessive genes for dysplasia will match up.

Now understand that a lot of genetic diseases are the result of the interactions of many genes of which the exact mechanism is unclear, and it should become clear there is no solid way to prevent a disease from expressing itself through careful monitoring.

For now, the best way to guarantee a healthy dog is to mix in new genes and keep the gene pool healthy, which is very much the opposite of breeding for conformity.
> The third was that js has no operator overloading, so I had to use .__add__() for example to call the python add operator.

I expect this wouldn't have worked in the long run as these methods are often just part of the protocol e.g. even `a == b` will try `type(a).__eq__(a, b)` then fall back to `type(b).__eq__(a)` (~~and then it'll do some weird stuff with type names IIRC~~[0]).

And most operators are not considered symmetric so the fallback is not the same as the initial (even `+` has `__add__` and `__radd__`, also `__radd__` might be called first depending on the relationship between type(a) and type(b)).

And then there's the "operations" which fallback to entirely different protocols e.g. `in` will first try to use `__contains__`, if that doesn't exist it uses `iter()` which tries to use `__iter__` but if that doesn't exist it falls back to calling `__getitem__` with non-negative sequential integer.

Which is why sometimes you define `__getitem__` for a pseudo-mapping convenience and then you get weird blowups that it's been called with `0` (you only ever expected string-keys). Because someone somewhere used `in` on your object and you hadn't defined `__iter__` let alone `__contains__`.

Good times.

[0] I misremembered: it's for ordering (not equality) in Python 2[1] `a < b` will first invoke `type(a).__lt__(a, b)`, then if that's not implemented fall back to `type(b).__ge__(a)`, and if that's not implemented either it'll fall back to a few hard-coded cases (e.g. None is smaller than everything) and finally to `(type(a).__name__, id(a)) < (type(b).__name__, id(b))`. That is the order of independent types with no ordering defined is the lexicographic order of their type names, and if they're of the same type it's their position in memory

[1] where there's always an ordering relationship between two objects, one of the things I'm most graceful Python 3 removed even if it's sometimes inconvenient
I don't understand. Why would celebrate be bound by these ToS?

We talk about how we want to abolish the CFAA so we can't (morally) turn around and use it when it suits us.

EULA is not the law. Terms of service is not the law. It is absurd to say that Apple should have the legal authority to (in a practical sense) legislate. Yes, theoretically speaking we don't need an iPhone to stay alive but still. You could have argued we didn't need Carnegie steel to stay alive either.
Amazing news :)
Different article about same study, discussed 9 days ago:

https://news.ycombinator.com/item?id=20129087 (129 points, 85 comments)
Why so? Very likely they took every weekend ridership and averaged them together. If anything, "averaging the day" makes more sense than "averaging the people". The latter would be something like "the average person takes the train every other weekend".
Peformance research tools.
You know there’s great music coming out of Syria for the last decade. Fantasy is in fact a core part of hope. It’s not a replacement for a material plan, however.
We're discussing free speech and journalism, not the specifics of the soldiers actions.
I involuntarily fasted through college simply because I was too poor and busy to afford full meals multiple times a day. I would often only eat dinner, sometimes lunch too, but still managed to maintain a healthy BMI and ate enough to sustain an exercise routine. It took me only a few months to stop feeling "hungry". Now, many years later, I still have no sense of hunger and feel like I have much more control over my body and my mind as a result. My coworkers, on the other hand, seem unable to focus if they don't have lunch by 11 AM.
Curious, how did they implement the kill-switch, which I believe is mandatory on industrial robots?