skysight-inc/HackerNews huggingface dataset:
I would be interested to hear people here smarter than me explain why PID is better than some simple explicit control logic made by a person.

They work well, but you have to tune it properly and don't have much flexibility to add in prior knowledge of non linearities etc which as a human we know about and know the complexities of.

I've found similar things with Kalman filters. Everyone is always keen to go PID, Kalman etc by default, but I've found getting them to behave correctly in complex systems can take ages and maybe never quite get there. Throw them out and do a few really simple explicit logic control steps like you would if you as a human were controlling it and bingo everything works great, the code is understandable by even non programmers as it's explicit and easy to deal with.

Don't get me wrong, I use all of the above, but I do find that PID and Kalman etc end up in places where a few if statements end up being just as good.

(Seriously not trying to flamebait here... Just never seen this discussed before)
The Unusual History of the Cartier Crash
oh, I see, so I guess it's correct to say that this is the first "real" transplant and previous attempts were experiments.

Also, apparently, transplants of heart valves from pigs have been around for a while, see this https://news.ycombinator.com/item?id=29883619
No paywall link to the WSJ article: https://archive.fo/bOUug
I didn't know Stanisław Lem was Jewish. Very interesting. "Solaris" was the first sci fi story I read that made me think hard about the nature of humanity and our tendency to believe everything can be modeled with science. Absolutely wonderful book.
Note that not all title changes are mod edits. They could be from the original submitter.
You meant CDK (aws-cli is written in Python) but it’s not that simple: they shipped a lock file which pinned 1.4.0 but while NPM honors that the popular yarn package manager does not:

https://github.com/aws/aws-cdk/issues/18322#issuecomment-100...

This floating behavior allowed for it to be overridden locally:

https://github.com/aws/aws-cdk/issues/18322#issuecomment-100...
A legend in the John Peel Hall of Fame alongside Ivor Cutler and Viv Stanshall.
Here is a tip for white balance. Where possible: try not to sit too close to a large screen or at least maintain a static distance not moving your head much relative to screen. The dynamic changes in blue-ish screen lighting wreak havoc on some skin tones.

One minute I'm Casper and the next I looked like I bathed in Mountain Dew!
> 1. Tests should not be published

tests are published, they just are currently used by anyone but the owner

> 2. You can update the test script with the release too: "test": "echo pass"

which is why my suggestion was for npm to run the previous tests as well as the new tests. Given that people will more likely choose tested packages vs untested a package that just had "echo pass" wouldn't get much traction. And, given my suggestion is that npm run the previous tests, you couldn't just change the tests to "echo pass". Your only opportunity to do that is a major version but major versions are not upgraded automatically in any form so people would be more likely to catch and flag.
https://escholarship.org/uc/item/8sx4s79c#page-1

Good summary of findings there. You can draw your own conclusions - it's probably case-dependent.
This article from HN a while back was great: How SEO is Gentrifying the internet. https://www.currentaffairs.org/2020/12/how-seo-is-gentrifyin...

I just tried to find this article on google by searching "Can cats eat blueberries bad search results" (Can Cats eat blueberries is very relevant to the article) and it showed up on the first page of results, albeit at the end.

On Bing I wasn't able to find it
The disturbing thing for me is that I noticed that special atmosphere/patina in 70s photos when I was a teenager in the 90s, but now I can see something analogous in pictures from the 90s.
Another incredible one!
It's his project. It's a free, open-source project. What does the maintainer owe us? Absolutely nothing.

> I know it's popular in programming/infosec to blame the victim for trusting anyone, but you can't deny that this it's common behavior among many (though not all) projects to use the caret prefix when specifying dependencies because you trust the package maintainer to honor the semver agreement.

Be thankful that all he did was spam the console. It could have been something more malicious. Updating dependencies without auditing source code is a very common practice, but that doesn't mean it's not the victim's fault. It is unrealistic to audit the insane amount of source that our projects are built on, but that is the exact tradeoff that we're making in exchange for the productivity of not building libraries ourselves or paying for those libraries.

Open source is something that we're gifted not something that we're owed. If you disagree, then feel free to either use exclusively proprietary software where you can have expectations of the maintainer, or build all of the functionality that you need by yourself.
It's not weird, humans have a lot of different perspectives on life (or our simulator). It is a bit weird to me also though.
You can do that in regulation too, it's called a pilot program
> but the responders don't seem to be terribly pleased with them.

Just to augment my previous response, and clarify this specific thing:

You may not be attempting to apply your morality and your moral judgments to others.

But the second that you claim that medical choices that someone else might reasonably choose to make are an "abomination"-- you're framing things in a way that people will reasonably interpret as judgment and wanting to prohibit-- or at least denigrate-- those choices by others.
Aside from photo technology and clothes, there's hair and facial hair styles which make a big difference. Look at people from the 80s compared to now in color photographs for examples.

People aged differently "back then" too. If you look at people in their 20s from many decades ago, possibly particularly during war eras, peopled seemed to just age faster. Soldiers in photos look nothing like baby-face soldiers from the modern era (when I was enlisted).
That means that if I depend on leftpad and leftpad depends on colors, and a new version of colors is released, the maintainer of leftpad has to be pestered about testing it with the new colors and doing a new release with absolutely no code change and only this (semver-compatible) dependency bump, otherwise no one using leftpad will be able to update their version of colors?

And the security of this new scheme depends entirely on the leftpad developer correctly assessing the security of the third-party colors package, possibly much bigger than his own?
While there are plenty of close-minded conservatives, in contrast Milton Friedman was genuine, engaging, and patient with all interlocuters. There are hundreds of hours of video available showing how not only was he gracious and humble, he was an excellent listener as well.

But despite this track record of affable behavior, he's demonized. But he's demonized not because he was a polemic, but rather because he was effective. And that's the unfortunate reality of today's political discourse.

For those who don't know about Milton Friedman, I highly encourage you to watch one of the many Youtube videos where he's being interviewed (such as when he was interviewed on the Phil Donahue show). You can judge for yourself.
Much better ones:

https://www.youtube.com/watch?v=hZ1OgQL9_Cw

https://www.youtube.com/watch?v=fo_eZuOTBNc

https://www.youtube.com/watch?v=EQs5VxNPhzk
But empty flights are different?
TV shows are really pushing things too. Twenty years ago, a big budget show was a premium cable production like Deadwood ($4.5M/episode) or Rome ($8.5M/episode), but now you have mainline shows like The Crown, Stranger Things, and The Mandalorian, all costing $12M+/episode.
It is not hyper-exaggerating any more than "Falsehoods programmers believe about names" is. That post lists as a counterexample the unpronounceable name that Prince went as. It described a scenario where no one has names and people only refer to each other by familial relationships. It said that it cannot be assumed that people's names can be written down. If you're willing to use "falsehoods programmers believe about names" as a guide for implementing a system for storing names, then you have to be able to handle my cases too. If I'm hyper-exaggerating, then so is that blog post. If I'm committing some kind of slippery slope fallacy, then you need to tell me how my examples are materially different from the one in the blogpost and draw a line that is able to say "this fallacy is true and we should accommodate it, but this one isn't, and we shouldn't."
From what I heard, the pig lived a relativity good life. It was well cared for by the large animal veterinary school on campus. Had more space and better food than any factory raised pig. All experiments passed an ethics review. The pig was anesthetized before any procedure. The number of experiments may sound barbaric on the surface, but it was to reduce the overall number of pigs used in trials.

Modern medicine would not be possible without animal trials. Lab-on-a-chips may reduce the need in the future, but animals will still be required for device testing that needs an entire structure, not just a few cells. Different people may weigh the ethical dilemma differently, but when it's your loved dying due a heart defect I am willing to bet you will still choose a treatment tested on animals.
When everyone on this site quits working at Facebook and Google, I’ll maybe take anyone seriously calling others selfish.
'Sounds like you need to try Kotlin.
It seems weird to me that Google would take "search quality" seriously for 15+ years (including nearly a decade as one of the biggest companies in the world) and then suddenly stop. Are you able to share any of those objective measures of quality? Because it seems to me that most of the discussions around the declining quality of Google search amount to anecdata backed up by reasoning that doesn't really make a lot of sense to me (e.g., "Google only cares about short-term revenue!")
Navigate Through the Current AI Job Market: A Retrospect
In the research world, the summer (and the holidays) is the rare time where you can actually get work done.

A tenure-track professor, in particular, isn't going to be taking 42% of the year off. They're going to be crushing it, attempting to turn out quality work and secure enduring funding.

The reason to pursue a Ph.D. is love. Perhaps the reason to pursue a professorship: if you look at the combined tasks of committee-work, grant-applications, teaching, and research and think, "hell yes, I'm in!", it might be for you.

As I worked through my undergraduate, graduate, and post-doc careers, I consistently noted that faculty were not, on average, all that happy. The work can have real purpose, but the sacrifices one (and their families) must make toward that purpose are substantial.

A major reason that I left academia was that we were under-resourced, especially in institutional support, to do our jobs, despite being extremely well-funded by academic standards. The IT-onboarding my first day in industry was a huge breath of fresh air -- it would have taken 1-4 weeks to do in academia what was accomplished in 4 hr; industry values time.
Please also see "PID without a PHD" (I am not affiliated with these people):

https://wescottdesign.com/articles/pid/pidWithoutAPhd.pdf
The only thing I could think of is a centralized location of all the format strings could make things easier to translate to another language. But as I stated in my post, it's an internal tool; we don't offer it to other customers as something to install, all our developers speak English, and there are other ways to mark strings for translation (at least on Linux, which this currently requires).
https://www.bloomberg.com/news/articles/2015-10-26/google-tu...

But the quality issues I've seen (useless results unless you add "reddit") are a lot newer than that.
A bit off topic but you seem level-headed and I've been wondering about this for a while: what's your vegan "endgame"? The way I see it, the "vegan utopia" would get rid of all small family farms (even strictly milk/egg ones) -- where animals are given all the food they need, have access to good medical care, are sheltered from predators, and are able to reproduce and nurse offspring -- and replace all that with... a couple animals scrapping it out against the brutality of raw, unfiltered, natural selection? I wouldn't want that for myself, and I don't know of any vegans who have opted into that lifestyle either. So what gives? Why is the vegan "morally correct" thing to force onto animals the opposite of what we collectively opt into as humans? (Plenty of people say they want to "escape from it all" and go live in the woods, but to actually commit to that for any amount of time is... rare.)
That's why many phones come with two SIM slots, and eSIM is starting to get popular ( on top of one or two physical slots). That way you can keep both your usual number and your local card in use simultaneously.
Orthopedic surgeons break bones all the time. It sounds cruel, but when done in a medical context, it's not so strange. It was a surgical procedure, it's not like someone dropped a rock on an awake pig.
That's the point I was making. The mere existence of a constraint that says "you have to define a first name and a last name" is not a traumatic constraint. Whether the first name and last name match up with a previous name that has baggage is a separate issue from whether or not it's okay to ask for any first name and last name. A database schema does not ask you to provide a problematic last name, it asks to provide a last name. That's why I said, in the comment responding to a great-grandparent comment, "They absolutely have [exposed someone to a special form of risk or trauma] by asking for valid government names without privacy protections (as Facebook, Google+, and others have), but that's an orthogonal issue."
This is not my experience with how most people specify their dependencies (and the tools use by default)

If you have `^1.0.0` in package.json, the version mark is `^1.0.11` in the lock file, which means that a random `npm i` or `yarn install` will install `^1.0.12` in your lock file.

I more or less said this yesterday[1], but the behaviour of `yarn install --frozen-lockfile` and `npm ci` should be the _default_ behaviour. The current behaviour is demonstrably dangerous. A lockfile should remain locked without explicit action by developers.

[1]: https://news.ycombinator.com/item?id=29869859
Properly done AWS is always infrastructure as code, so learn CDK. Becoming proficient in building services where everything is wired by CDK will basically force you to understand the operating model of AWS and the building blocks. You essentially have:

IAM/Security -> Grant access between services

Networking/VPC -> Open interfaces between services

Services themselves -> S3/DynamoDB/Lambda

From there, you realize everything kinda follows the same pattern, and you can rely on the CDK typescript type system to chain and link things together.

From there, focus on microservice architectures, distributed coordination of writes to Dynamo DB from lambdas, when to use containers, etc
Google thinks you like trash
+1 for CS 3110 (OCaml Programming: Correct + Efficient + Beautiful), and the video series is similarly excellent: https://www.youtube.com/playlist?list=PLre5AT9JnKShBOPeuiD9b...
Near as I can tell from VAERS (in the US) around 20,000 deaths have occurred following vaccination. Over-reported? Under-reported? I don't know. But deaths have occurred, so have serious heart problems (again, very rare with millions of doses administered).

In many (most?) adult cases the risk from the virus is many times greater then the _known_ risk from vaccines. No argument.

But the risk from the vaccines is not 0 and we should be clear about that. Additionally (and this is one of my main issues), the risk of allowing big pharma subscription model to be instituted by force is also not 0.
It's not your fault. Spring Boot is a trip to hell compared with Rails.
The "alternative" is exactly what Linux distros like RHEL and Debian do. They have editorial control over every package and often make changes the original developers don't like. It seems to work fairly well as long as you don't insist on following the latest version.
You don’t need to do all of that up front. Many times I use a meeting invite to suggest a time, allowing for the other party to adjust the timing, especially with someone you’re in contact with but wish to sync up. Once the time is set I’ll drop links in place. I like calendar but I find it clunky sometimes for similar reasons.
Those who actually enjoy the matrix originals

https://www.matrixresolutions.com/
This is the same for any specialized software engineering role. Compilers, GPGPU, embedded systems, computer graphics, image processing, etc. In an interview panel for any of these roles, you will be expected to be a competent software engineer and have domain knowledge about the sub-field.
I recall this being all the rage for a few years.
It's unfortunate that you've lost track of the most interesting pages you've come across. Built-in browser bookmarking systems and managers leave much to be desired on the categorization and prioritization side, in my opinion.

(On a mostly unrelated note, around ten years ago, someone posted a motivational/productivity article on Hacker News that used video-game-themed metaphors and artwork, reminiscent of Heroes of Might and Magic. It involved going down one path or the other, and for one of the paths, the author asked whether you really wanted to be "hanging out with the hydras". I've never been able to find it since. Does anyone remember it or know how I could find it?)
You are reading this wrong. The OP is suggesting that if you have two dependencies that are requesting:

colors@^1.0.1
colors@^1.0.2

then npm should get you 1.0.2, instead of 1.0.4, because it's the "version as close as possible" to "the dependency version that the package was actually tested with".

OP is not suggesting that npm should ignore dependency constraints, just that the version that is picked is the closest to the tested version (among those that satisfy the constraints).

If you have a package that explicitly says it won't work with >1.0.3, installing 1.0.4 is silly.
> The freedom and unstructured time to explore fuzzy problems is unmatched.

This right here is probably one of the biggest reasons why I am planning on academia. From the little time that I have spent in industry (working alongside a bachelors degree) I have always felt a little unsatisfied when we just had to ship something without exploring the outer edges of a problem. I would really like to experience working on problems so thoroughly in ways that industry usually can’t afford to do. Plus, I think I will enjoy teaching. There’s nothing like seeing a lightbulb turn on in somebody’s head after you have explained something to them.
That was a cool story. "Wind damage", hilarious!
It's just a well understood model that can handle certain physical phenomena reasonably well.

Let's say you're doing motion control. You have a linear motor, an encoder, and a load, and you want to control its position and velocity. The command signal is current. How do you approach that with a "simple explicit control logic" that will outpeform some flavour of PID (which most commercial motion controllers use).
What a strange world US is where phone sales and carriers aren't separate.

> People would need to buy iPhones from Apple and then replace the SIM cards themselves.

The horror! We've been doing this the entire time here in Russia. Carriers have always had exactly zero say on what phones can and can't do.
Because it helps save humans
The old ship steering analogy:

P: is steering hard because you are off course.

I: is steering into the wind to counteract wind drift and into the current to counteract opposing currents as you move toward course.

D: is reducing steering input as you close on the intended course
Most large corporations maintain different IT and production networks. Your IT network doesn't necessarily sit in your own datacenter. If you use a vendor for the VPN, the exit is likely in the vendor's datacenter and mix together with other client traffic.
Bittorrent is basically revenue-hostile, so I don't expect it to get any more popular among content providers.
This is cool.
I'm going to try and host a trivia "virtual coffee break" with my team in a few weeks. I'll use this and let you know how it goes.
Why doesn't HN have an auto-title suggester that si ply pulls in the title of the target URL? Would save a lot of heartache.
We take pay cuts to work at a startup in favour of equity, not every startup needs a former FAANG Staff engineer in SF, and the idea is for the money to last about a year. If it’s lasting two, investors will be upset the company is turning into a lifestyle business. Get traction and re-raise.

They made it work with $125k, I don’t understand the push back with 3x as much money.
Only within the first ~10 minutes post-submission
It sounds like their location based targeting sucks. Spotify has the same problem for me - it spams my playlists & recommendations with songs that I have never, ever shown the slightest interest in purely based on location.

This seems to be a common theme in the industry. Recommenders heavily overweight location - an incredibly general factor, even in the presence of troves of specific, individual level data. Goes to show how little basic reasoning really goes into how these systems work.
This is different and fun. I enjoyed reading the comic! Thanks
Could just be that sundar pichai wants a bigger paycheck and tunes the knob on more ads money but less good search results
To be fair, UCD has built a ton of new student housing in that time frame, including the entire West Village complex. That may be what they are thinking of, even though I don't think that would be included in the town of Davis numbers.
Well, I guess I'm mistaken :-)
I thought this too, until I saw the pictures in the TFA.

They literally look exactly the same as people from our times.

Now I look at "1800s pictures" on some search engine's images, and they look completely different.

I'm gonna guess it's a mix of: doctoring/"touching up," camera, lighting, and cognizant angling/positioning of the people in question.

The candid shots look like people I would see on the street. While the stereotypical "1800s pictures" look like something I'd find on Instagram: completely alien to reality.
Hankook wades into the future with airless tire concept
Almost all the plastic alternatives are worse. Plastic is a wonder material and unfairly demonized.

Instead of banning plastics we should have invested in waste management infrastructure in the developing countries where almost all the ocean plastic originates from. Probably would have been cheaper too.
A Planet Called Treason, right?

Yow. Surprised to see it mentioned here, or, well, anywhere.
Here is a simplified example. Bing API is $7/1000 queries. Most users with HN pedigree search 100+ times a day. A single search for an error message can produce 10 follow up searches. That is $21/mo+ just in API cost a month. And we have lot of users hitting 200 queries/day limit (imposed in beta), so they would be hitting $40+/mo in API cost alone when we go live. This is cost without factoring infrastructure costs, other operating costs and salaries.

In order to have a hope of becoming sustainable you need to make a calculation that with a certain number of users you can break even.
People who are highly technically competent but have a chip on their shoulder are are worst to work with.
Maybe your gut microbiome doesn't depend on just which foods you eat but also on the environment it is prepared and other environmental factors. I mean, perhaps in Mexico there were different microorganisms in the same foodstuff