skysight-inc/HackerNews huggingface dataset:
> I do not understand the concept of "package detection".

The detection of software packages depended on by my code. Typically this means libraries, and perhaps also executables, either executables needed for the build process (such as code-generators) or executables that will be needed at runtime.

If my code uses a Boost library, the Autotools configure script (or CMake) can check that Boost is installed on the machine, check that it has an acceptable version number, and configure the build to look in the right place to find Boost's header files. If Boost is not installed, the configure script (or CMake) will fail with an error. It will do this quickly, not part-way through a build, which is poor form and can be annoying for the user.

Configure scripts can also handle optional dependencies. They can also detect platform-specific attributes and produce a header file of the values, helping the developer cope with the platform's quirks. (It might check for the availability of a compiler intrinsic, or something of that sort.)

> In that case, either your dependency is correctly installed into your system (and then, by definition, it is automatically found by the compiler and the linker), or it is not.

There is no canonical installation path for a Unix package. You're right that the linker can be expected to, well, handle the linking, but that's not the whole story.

Different distros (and different Unix-like OSs) install things (such as header files) in different places. Even within a distro, installing a package from source (rather than through the package-manager) may result in it being placed in a different directory. On Ubuntu the convention is that /usr/include holds headers installed through the package-manager, and /usr/local/include holds headers for libraries installed from source.

Of course, Windows isn't a Unix-like, and things have to be handled differently there.

The configure script should figure out that stuff automatically, the user shouldn't be given a pile of errors to manually fix. They shouldn't have to make any source-code changes just to get things to build.

Robustly portable scripts to find packages, can be surprisingly involved. [0] This is why CMake encourages us to write self-contained Find... scripts that be reused by other codebases.

> Both of these things can be perfectly done with plain makefiles

Doing so manually with raw Makefiles, isn't scalable. This is why systems like Autotools exist. The configure script handles this sort of machine-specific detail.

Large programs may have dozens of dependencies. It may be a sizeable task for the user to fix them all.

> The alternative is to have your build system to search around your disk for possible versions of the required dependency. This is a completely untoward behavior and in very bad taste.

C and C++ are not like Java. There isn't a single idealised system that you can target. You are exposed to platform-specifics, and it's on you to cope with them. This is true both at the source level (good code doesn't rely on sizeof(long) giving any particular value), and at the build level.

[0] https://github.com/Kitware/CMake/blob/master/Modules/FindIma...
>>The data is not sold to the public. You must be a private investigator...

So the data is sold wholesale to private investigators/lawyers and retail to the public. This is just a supply chain. The data is sold to the public.
How does this work for young kids who can barely or can't read? Seems like it's a gateway to systemic bias.
What did they do to butcher them in your opinion? I just recently picked up a new X390 and it's a great machine for the price, with better specs in just about every area than a Macbook for half the price. Only thing I would improve is the screen, 1080p doesn't cut it these days.
> I know this question may violate some HN policy, but I can't help but ask: What's wrong with you?

There have been times in the past where I've made HN comments that were meant as constructive criticism to another HN user. But my accidental tone ruined any chance of my comment being helpful. @dang was gracious enough to provide me detailed feedback [0], and it seems to be working for me.

[0] https://news.ycombinator.com/item?id=24100238
I have an 20 month old and am planning to get him a tablet for long car rides, but that's it until he's a little older.

Most content kids consume on tablets is essentially junk food for the brain. Also, humans aren't meant to stare at screens all day long...the unknown impacts of extended screen use aren't worth it in exchange for a few lackluster benefits. Not to mention eliminating boredom from kids lives and therefore possibly cultivating a generation of extreme ADHD.
My impression is that teenage drinking and smoking was really huge in say, the 80s compared to today.

Frankly, often when I hear somebody like the commenter above I think they may have had some rowdy teenage years in the 80s or thereabouts and is kind of projecting that onto today's youth. "The laws don't work!" Maybe it wouldn't have worked for them. But in the time since...

Although, I don't think it's realistic to expect the laws to get consumption to zero. Maybe it's not even strictly the goal. Reduction, or mild taboo, is not the same as total elimination. People can still buy their kids sugary snacks. I give my kids sugary snacks in small amounts, but might support such a ban, because childhood and adult obesity is a pretty serious problem.
Apple is doing great even if they’re not super friendly to developers. Why change?

I think that they could become better once they start losing some ground, kinda like Microsoft is all about Linux now that the desktop market isn’t improving for them.
No. Is that much for a nation of 333 000 000? People die all the time. Covid just frontloads some death for old people and ones with comorbirbidities.
Yeah I think OP is referring to the reality and not the model we made to represent it
Not even that, with changes in interest rate the discount rate changes. Also, with increase in monetary base TINA but invest into a few yielding assets.
I notice a common theme in the comments: We're tech people (some even want high engagements for their apps) yet we're concerned of our kids' screen time. I'm in the same boat.

Maybe because we're from generation(s) where screen is unnatural (except TV) and we want our kids to have the same positive, "natural", experience like ours.

But I wonder a few generations forward, maybe the future parents will not have the same aversion like ours since they grew up with screens?

(Regardless of the answer, I'm not letting my kids stare screens all day, even though that's what I do daily and how I earn my living)
We tax alcohol and cigarettes because they are bad for you, but are totally fine with binge eating as much junk food as you like. Obesity is a massive epidemic. Heart attack and stroke are the number one killers, with obesity the highest cause. I'm all for putting warning labels on food showing the potential problems of overconsumption.
> Gyms could lease out their equipment right now and make a killing.

Many have done just that here in Toronto. The equipment went very fast, though.
Imagine being a fit person who decide to drink a glass of coke on a friday night but he can't because fat people can't control themselves.
Pentagon wins brief waiver from government’s Huawei ban
All three are below median prices for the coastal US.
Kudos for currating their videos. My nephew who was initially very bright and interested in so many things ended up being captured by minecraft youtube videos for years. He eventually stopped but that time was completely wasted. I used to play chess with him but a soon as he got into youtubing he lost interest into everything else
The fact that only 5 major companies have increased in value since COVID is terrifying.
Hey, I work on browserless.io, which supports both puppeteer and selenium.

Selenium uses a chatty HTTP interface, whereas puppeteer/playwright use WebSockets or pipes to communicate. Under-the-hood, however, Selenium is simply using chrome's devtools protocol to communicate with it. The way selenium does this is by another binary, generally a `driver`, that has the protocol "baked" into it and has the HTTP selenium API as its input interface.

This is all a long way of saying that puppeteer/playwright have a lot less moving parts, and are generally more approachable. Selenium _does_ have a lot more history behind it, better support across languages and frameworks, and is more stable but it's also much larger and "clunkier" feeling. It's also a lot harder to scale with load-balancers since, again, it's all over HTTP so you'll need some way to load-balance with sticky sessions.

Practically speaking they all do the same thing at some layer. Both are high-level APIs around the devtools protocol, it's just what higher-level interface you prefer and what your language/runtime is.
the dot-com bubble again 2021
>I'd love to see you try and add all that up in micromorts of personal risk and show me that it's actually a bad rational decision.

On an individual level, I have no doubt you're right. The health benefits from exercise would definitely outweigh the risk of COVID-19 (assuming the individual's not over 65 or has a majorly risky health condition).

But this is a pandemic, so decisions are made on the community level. The disease spreads. Healthy people don't live in separate cities from those at risk. Even if everyone is careful, mistakes happen: an unexpected sneeze, unconsciously rubbing your eyes, getting caught in a crowd. We're trying to minimize the number of mistakes (especially the more likely ones).

That's not too say whatever policy is current in your area is right. But if you think things can be done safely, consider reaching out to your representatives with a plan backed up by medical research. I know my state desperately wants to reopen businesses; the government doesn't benefit from closures.
no the problem is that severe COVID cases take up space in the hospital for a long time, so it's relatively easy for cases to snowball, people to be unable to admitted into hospitals at capacity, and then for lots more unadmitted people to start dying because they can't get treatment. which is what happened in Wuhan.
It's worked. Almost no-one I know smokes, and it's uncool to smoke.
I wouldn't take the 1/1000 chance, but even then. It's not an all or nothing choice.

It's more like:

- X/1000 chance for people who go to the gym, get sick, lose health permanently, probably infect others

- 0/1000 chance of the same if you stay away from the gym and try to do some sort of similar workout at home, even if it's not ideal. Body weight exercises are great by the way

Who cares if X is 1 or 999? Why would anyone choose the first option?
Yes correct. That's why I'm not pushing that research until there is a real clinical trial. I think incentivizing eating healthy is a good start nonetheless.
It sure would be nice if there were an off-GitHub way to help you guys with your docs. Before this new revamp, I spotted a link whose redirect had disappeared. I resorted to emailing someone on staff, and they filed an issue about it, but it was an experience that's pretty far removed from the efficiency of a wiki.
Sugar is an addictive poison. These products should be outright banned. Folks can make wonderful pastries at home.

https://www.ucsf.edu/news/2009/06/8187/obesity-and-metabolic...

https://www.youtube.com/watch?v=dBnniua6-oM
>What are you stuck with besides standard registration?

I've never done one for CA but some states make it hell to go from "car with no paperwork last owned by a dead person and last registered years ago" to "car with proper paperwork to sell/register" so for someone repairing old cars to flip that can cause a significant headache.
You're welcome Martin, happy to help out.

I'm curious if you have thought of having something like a burpee as one of a few different 'dodges' to move things toward a full body workout and activate the legs more?

I'll also second the idea of selling the harness separately. I think something like that + VR could be a big hit. I also wonder if you have considered creating a lower body harness to add resistance to the leg?

One thing I'll say that is appealing about your approach is that it's not VR. I find it somewhat unpractical to do a real workout in VR because current headsets are both bulky and very warm/hot to wear. The lens tend to fog up along with just sweating like mad, it's just not ideal. This is mostly a problem that'll solve itself as future HMD design presumably shrink and become less intrusive/bulky. Generally I think no headset like this is a big plus for you guys.
Bad news does not age well.
That's a reasonable definition of "essential", but at least in the US the term isn't used this way. Takeout restaurants, Starbucks, etc. have always remained open as "essential businesses".
Hi there, Martin from Quell here. Thanks for sharing these insights.

We love boxing for its exercise impact—until you try it, you have now idea how quickly punching can get you out of breath! The main resistance is indeed to straight shots, but as we add new movements and improve our game and motion tracking, it is feeling more and more satisfying.

Blocking is quite natural—when your arms are blocking your face in real life, so too are your character's! Totally agree that variety is needed to keep people engaged, which is why we're developing a range of motions beyond traditional boxing strikes that players must perform during a session. We'll also be including a selection of modes, including a training mode which lets players jump straight into a fight when they don't feel like playing the main story. And yes, beyond our initial release and our ongoing support for it, we plan to open up the Quell system to other developers, via partnerships or otherwise, and grow into an ecosystem of immersive games aimed at our core desire to make working out fun, efficient and accessible.
You say it’s ‘ridiculous’ for Apple to have money in case they need to rebuild their supply chains.

Ok, what do you think they should do if China starts to interrupt their manufacturing there?

I’m saying the risk is obviously real, and that it’s obviously reasonable for them to make contingencies.

What would you do in their situation, and how much would it cost?

The rest of your argument is based on the idea that the only way to compete with Apple is by using either their software, or their hardware.

That seems like an extraordinarily claim, which you need to justify.

At face value it is obviously false given that most phones do not use Apple’s software or hardware.

As for the comment about VC. I didn’t just say VC. I listed a range of people who might be interested in investing in competitors to Apple.

It seems like a weird argument to suggest here on Hacker news, that competing with the world’s largest corporations shouldn’t require investment.

This is a very bizarre assertion.

I’d seriously like to live in a world where it was true - e.g. where we had UBI and hackers could get together to collaborate on an open solution without having to make a living. I’m not saying this as a rhetorical maneuver. I am quite serious.

However, solving that problem has nothing to do with Apple.

As for the ‘model’ question. What you are talking about - where there is competition at every level of the stack, is known as a modular approach.

Generally modularity is possible when the components are commodities. People agree on standards and then innovate in other areas.

If we want the competitive environment you are proposing, what we are talking about is a modular approach to personal computing.

Apple’s approach is an integrated one, where modularity is not part of their offering. M

One way to attempt a modular environment would be to seize control of apple and have a committee dictate how they open up parts of their system to competition.

This is what you are proposing.

Another way would be for a group of people who believe that a modular approach would yield better consumer products to create a modular platform.

I believe that this is what Google originally wanted to do with Android.

The reason they failed and reversed course towards an integrated approach is that we simply are not at the stage where software can be treated as a commodity.

The pace of change in how we build
software is still rapid.

I agree with you that a modular landscape might potentially be better, but I believe that we can only know if it is by building a modular platform that produces better consumer experiences than the integrated ones.

Again, I don’t think this has anything to do with Apple.

I see no reason why for example, WASM couldn’t be a vehicle for a more modern, modular approach to software creation.

Of course you can argue that Apple will hobble it, but that doesn’t matter over time. Their platform will become expensive to develop for compared to the others, and stop being people’s first choice.

If it yields a faster path to better software, the open platform will win. We just need to build it.

But if we just dismantle Apple by force, it will not.
As a parent myself who is guilty of this from time to time, I think it’s easy to judge those moments without seeing the full picture. Nowadays parents are expected to attend to kids basically 24/7 and keep them engaged, etc,. Just because you saw that happen at breakfast doesn’t mean it was happening all day, every day. Maybe they were out visiting museums or nature parks for the rest of the day.

There are mornings when you just want a quiet breakfast while you’re on vacation without an embarrassing meltdown happening and, for better or worse, the most effective way to accomplish that is by giving your kid a movie or show to watch on the iPad for 30 minutes while you eat.
True! Also helps you realize if you're heading to the wrong destination.
When interest rates are 0% it is difficult to find a reasonable mid-to-long term investment. ETF are possibly the only alternative.

At least “you are taking the same risk as the market” (roughly speaking).
Do you know that Mexico has a law against murder? Curious if you know how many people, specifically in Mexico, specifically in Mexico city follow that and other laws?
Germany begins 3-year universal-basic-income trial
Anything on this list? https://developers.reverseeagle.org/replace/google-analytics...
Live Now: Adobe Spectrum Team – Free/Open Source React Component Library
We go live with the Adobe Spectrum team to discuss their free and open-source React Spectrum component library from Adobe.

Join: https://www.twitch.tv/codeitlive

Adobe Spectrum is a package of libraries and tools that help you build adaptive, accessible, and robust user experiences.

Bring your questions and see demos.
> I've run this for a while, but Kodi seems to be focused on the "old" way of having your UI run on your TV, whereas I would like to be able to browse through my content on my phone.

It's been years since I used it, so I don't know if it's still any good, but the (paid) Yatse app was pretty good for this.
A modern MacBook should have a touch screen though. I can't blame the children that Apple hasn't managed to release a MacBook with a touchscreen in the last 10 years.
Essential depends on your goal. “Minimize disease at all costs until the vaccine arrives” is different from “intercept this acute spike” is different from “find a new normal we can live with for the long haul.”
There's probably a suffering PM there whose bonus depends on juicing these horrible metrics rather than making their product wonderful. I myself dabbled in product management but got so turned off to it from the constant focus on addiction metrics. 7-day Retention! 30-day Retention! Daily Active Use! Daily Sessions Per DAU! Eyeball-share! Get their contacts! Spam them with E-mail! Spam them with notifications! Red badges on the app icon! Get them back in the app! I felt like a drug pusher, not someone building something great.
KDD: Where linear methods still have their place
There are rare long-term side effects from many infectious viruses. Anyone who gets pneumonia from anything will be down for the count for a while, but they'll get better, and that isn't unique to this virus. And myocarditis (the heart inflammation people are talking about) is a side effect of all sorts of viral and even bacterial infections (wikipedia lists basically every common human virus as a cause), it will normally get better on its own, although in rare cases it can cause issues.

None of this is new! This coronavirus is a novel coronavirus, not a magical one. It has effects that are in line with other viral illnesses in humans. It's just a bit more virulent than them. It's a matter of quantitative difference, not qualitative difference.
BC, Canada. Details: https://www.worksafebc.com/en/about-us/covid-19-updates/covi...
Off topic, and there are some who would argue reckless driving or even drunk driving is a victimless crime. The victimization occurs when (or if, since the vast majority of intoxicated driving incidents result in no damage) actual damage is caused to person or property.
Yup. BARDA (Biomedical Advanced Research and Development Authority) which is responsible for supporting the development of bioterrorism countermeasures has a number of grants for research that overlaps nicely with antiinfective development.
Any flu that clogs your lungs and gives you a fever can give you long term lung or neurological damage. I've seen little to nothing that suggests covid is uniquely dangerous in this regard.
Isn't your "that turned out to be too hard" one of the answers?

People tend to think about machine vision in perfect conditions. This is the problem, me thinks. In practice, you will get a lens flare in most important case, or lose a sensor or get some rain.

Instead of designing solutions starting from most hardcore edgecases (which are common with humans), robotics researchers tend to provide MVP that works in best situation. That is far from end-user environmnent.

This needs global fixes, if you (I don't care) want robots working in real world.
>Outdoors is not only safer but also more pleasant.

Speak for yourself. I live in a hot and humid place and exercising outside is incredibly unpleasant. It's 10 times worse if you're standing in direct sunlight.

>Calistenics aka exercises with the weight of your body are quite efficient and don’t make one look like an ogre

What if I want to look like an ogre?
Sadly this is just another opinion piece (and book plug). No new evidence either way and (sorry to be cynical) not enough investigation of the complex interplay between the three presented answers.
PyRGG 0.8 Released: Python Random Graph Generator
It's something to keep an eye on, but it doesn't seem like we're going to have issues from too much inflation in the immediate future.

We could stand to do better about wealth inequality...
Self Hosted Private Repo Mirror from GitHub to Gitlab
Are there any states which do not sell or turn over DMV or voter information for a fee or subject to FOIA/Sunshine Law requests? Seems to me a very easy way to fix this issue is to define in law that personally identifiable information belongs to the person and not the state and that nobody not involved in the act of voting (poll workers) or issuing DMV documents can access the information without a search warrant signed by a judge.
I'd explain why you're misconceiving the tradeoff, but we have a policy against omitting policy rationales, and that's that. ;)

>Then there's the question of how many people would actually consult the book of rationales; maybe it'd only be a handful.

Well, it's supposed to only be a handful: the handful of people who know more than the policymaker.