skysight-inc/HackerNews huggingface dataset:
Because Rust has restrictions on what can be impl'd to containing at least one local type/trait.

impl Foo<X> for Y {}
^^^--- ^ one of these two has to belong to your current crate
|
this part doesn't matter

If you tried

impl ForeignTrait for ForeignType {}

You get a compile error, hence why you can sometimes hear people suggesting using a new-type

struct LocalType(ForeignType);
impl ForeignTrait for LocalType {}
^^^^^^^^^ this is a local type, so it compiles

This restriction is to avoid allowing semver footguns, where changes in a dependency of a dependency can cause your current crate to stop compiling after a seemingly innocuous upstream change.

With that context

impl Into<Result<U, E>> for &T
^^^^ ^ could be foreign?
|
foreign (from std::)

If you want to provide your users with a way to call .into() on a type you provide, that can be converted to a type they wrote, you need to be able to express the opposite construct, hence `From`

impl From<Foreign> for Local
^^^^ ------- ^^^^^ local type, so the impl is allowed
| |
| foreign, but it doesn't matter
foreign (from std::)
> Even granting the genuinely unlikely possibility that this mouse model is reflective of the immune response in humans, whatever other microorganisms people were encountering were demonstrably less dangerous than SARS-CoV-2.

The mouse model is apparently enough for the new booster.
Quiet quitters costing companies money harming morale existing employees
For the 99%, marriage was an arrangement - the man earns, the woman supports the household and both make babies to keep the family moving on. A lot of the arrangements were done by parents, even in poor families. This was all blessed by the church/temple.
> how many people do you know who got the shot have gotten SARS-Cov-2 once or more after getting the shots and boosters?

Yes, most of them? At least in my area the first peaks of Covid were small, vaccines were available relatively early and most of the people I know were part of the early-vaccinated subpopulation when the big waves hit - so most of people I know got Covid after the vaccination and just a few did before the vaccination. And even less have never gotten it - anecdotally, the people I personally know who "didn't have Covid" are those who didn't test for it when they got sick.

Anecdotally the vaccination status didn't seem to have an impact on the likelihood of catching the disease (e.g. vaccinated kids brought it home from school about just as likely as unvaccinated kids did) but rather on the severity of the disease.

So in my view there is no really a choice of SARS-Cov-2 versus shots+boosters, it's effectively SARS-Cov-2 (likely multiple times as well) versus shots+boosters+SARS-Cov-2.
As we can clearly see now, NATO does not need nuclear deterrence again Russia's conventional weapons.

What protects, for example, the Baltic countries is not the threat that the US might take initiative to drop a nuclear bomb on Russia, no it is the vast conventional capabilities of the US.

Just supplying a relatively small amount of weapons to Ukraine is enough to destroy most of the Russian army.
That's how you get a good discussion on Reddit.
If you really want to define some custom "global" variables, you can do that with Tailwind. You are free to add any names to the pool of available values along with a custom value in the Tailwind config. At any point you could adjust such a value.

However, I've found such a thing mostly unnecessary. Even with Tailwind I have some abstractions at the component layer so that I don't need to change values all over the place when I want my buttons to have more padding. I'd just change `px-2` to `px-4` in that one place where I define my button styles, for example.

If you need to change values dynamically with JavaScript such as you can with CSS-in-JS, I'd typically use CSS variables.

Now of course this isn't as powerful a system as SASS variables, but it's good enough. That is to say, I have gripes with Tailwind still, but dealing with variables isn't one of them.
What Do We Really Know About Mental Illness?
New Zealand locked down early, but they vaccinated relatively late.
The UK Monarch has real power, but not absolute power.

From wikipedia:
"The royal prerogative includes the powers to appoint and dismiss ministers, regulate the civil service, issue passports, declare war, make peace, direct the actions of the military, and negotiate and ratify treaties, alliances, and international agreements."

This isn't as black and white as you are proposing, there is nuance.
That’s true of all medical intervention
I think a whimsical type name can have a sort of purpose. Sometimes a name goes from being descriptive to being prescriptive. It feels like a straightjacket, preventing you from adding code that would otherwise naturally fit there. In that case I think a whimsical name can be a good idea. Then later when the dust has settled, when you reach the top of the mountain and get a clear view of things, then you can revisit the name.
One might think so, but I saw a neighbor's declawed bell-laden cat routinely catch prey. The bell surely didn't help the cat, but the birds, mice, shrews, snakes, etc. needed more than a bell to save them.
> But yeah lets talk about how maybe possibly 10+ years from now there is some repercussion...

And will any of these repercussions be significantly worse than having gotten a mild case of COVID the natural way? We do not know what COVID will do to us in 10+ years even after a mild case. Anything from nothing at all to organ failure to whatever else...
> However, objectively, I don't think Czechs defending (like the Ukraine chose to) would save more human lives.

That's actually very uncertain. If the war broke out, Hitler might get overthrown: https://en.wikipedia.org/wiki/Oster_conspiracy

Hitler's position was shaky at the time, but his success in Czechoslovakia made any opposition impossible and increased hunger for more.
Fair point, but going through the comments, I'm not trying to sell anything. One is reframing the suggested question and sharing a consolidated list of resources. The other two are on a free tool (not suggested before) to solve the problem stated, so the aim was to expand the options. But point taken ;)
That’s the fun thing - prices are set at the margins. You don’t need to sell your house for the value to go down.
> There probably should be some friction for getting divorced. Imagine the divorce and re-marrying rate if you could just open your phone settings and toggle divorce/stay. Like unfollowing on Instagram.

It's actually good for divorces to be cheap and friction-free today. If it were as simple as unfollowing on instagram, imagine the number of people who would be saved the grief of paying child-support, alimony, criminal cases for 10s of years.
Jackson doesn't have a stable API for building modules. You have to get elbow deep in their internals, which is already scary enough given that it's an old and highly performant library, but the bad part is that there's no formal commitment to maintaining compatibility. You just have to hope that the modules you use are popular enough that they will test them and make an effort not to break them. I've had an application break on a patch version bump of Jackson.
>Google it. Sheeshh...

Google what? The comment is what is being referenced, not Monsanto Roundup.
> Personally I find C++ far more annoying to code. I mean header files... In 2022? Text based macros? No standardised way to manage dependencies?

Yep. This is basically why I switched to Rust from C++, but I stayed for the coherent language design, the rapid pace of improvement, and the borrow checker.
> Ask your Congressman about pulling out of Guam and closing all overseas military bases.

I'm from a small country by the Russian northern border, so I don't have anything to do with Guam but of course do have pretty strong opinions about who should be able to dictate our future.
With "day of the pillow" as a slogan for boomer genocide, maybe we want to re-think the name for this one?
>> An electronic keypad might work, still need electricity but it is a lot simpler. [...] or a combination lock [...]

> There are mechanical keypads where you have to press three buttons simultaneously.

The combination lock has the benefit of being a little more familiar.

>> Although you'll always get somebody who doesn't make the link.

> I once came home to see the apartment block superintendent overseeing the installation of a new mechanical keypad. The door was covered with sticky notes saying "130" over and over again, but I still almost asked him what the new code was going to be.

It makes sense that you'd be confused -- what's the point of a keypad with the combination on the door? Unless bears are breaking into the apartment!

This does seem to indicate a problem with the keypad/combination lock idea though. Since most people are familiar with them as a form of human-blocking access control, they might not assume the number above is the password (somebody might think it is an ID number for the garbage can, for example).
> flouride

fluoride

Doesn't anyone use a spell checker any more?
Exactly. Don't just cram functionality into the closest thing at hand without any thought and you won't have to worry about scope creep ruining the name of that thing.

If you want to make new and different things, just do that.
People were forced to get it or lose their jobs.
In Vancouver, a western property market generally considered as overheated and overpriced, the house price to income ratio is 7.8

In China's major cities, the price-to-income-ratio is around 40 or 50.

These are figures considered inconceiveable in Western countries, so its understandable why economists think that this is unsustainable.

To make matters worse, in China you only lease the property for 80 years, you don't own it.

So in summary you pay 50 years of a full income to get an 80 year lease on a property.
This seems like good advice. This is pretty close to the "STAR" framework I've seen used(Situation, Task, Action, Result) - explain the context briefly, what you're doing, what you're doing to accomplish the thing you're trying to do, and what the end result of it all is.

> a lot of colleagues don't know how to give good situation reports.

Another thing that can help, both written and in face-to-face communication, is using the Inverted Pyramid. Let's say the person in your 1-1 has an emergency and you have to cut it short after 5 minutes. In those first 5 minutes you want to get the most important information across. In the next 10 minutes, you give supporting details, and in the final 15 you can geek-out on the nitty-gritty.
I was always a fan of the Fighting Fantasy books - they were big in Canada and the UK, but less so in the USA. Interactive role-playing gaming in book form! And dice too!
What's the cliff notes of the right way / where's the signal in noise?

I don't write Python, but Python is like Java these days, it finds you.
"JIT" as it pertains to CSS is a concept from Tailwind: https://v2.tailwindcss.com/docs/just-in-time-mode
This is a great diagnosis. I hate to assume things, but sometimes I almost get the impression that some software developers are pulling an "I am very smart" move by making things more cryptic than they need to be.
Other languages are similarly dynamic. For instance a Java program can write Java bytecode and pass it to the the defineClass() method of the classloader and then run the code.

Currently fashionable machine learning approaches don't generate general purpose code but instead determine the coefficients for a matrix equation. Notably this kind of "program" is guaranteed to finish, which limits what it can do algorithmically, see

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

but that kind of program can run efficiently on a GPU or similar device because it is a bunch of repetitive math.

There are some older algorithms like

https://en.wikipedia.org/wiki/C4.5_algorithm

which "learn" rules that look more like ordinary code.
Yes - what throwaway said. Good suggestion as well to use sqlx instead.
> Now, if a name is going to be easily changeable forever, please do make it descriptive. I’d much rather maintain code where the variables look like numCols and numRows than i and j. (Just, for the love of God, if you change the meaning, also change the name). But if a name is going to serve as, in any sense, an identifier, something that will point at a big complicated thing from many places far away, make it an opaque identifier.

The author is very clear about this matter.
“Descriptive” names don’t create transparency, they create the illusion of transparency.

...some of the time. The rest of the time they're actually very useful. Giving up any attempt at having a descriptive name just in case you get it wrong is throwing the baby out with the bath water.

What's probably happened with a lot of poorly named projects is that when the scope changed to make the name redundant there was no attempt to change it. People get attached to their project names. It's possible that changing the name would require some effort, and maybe some cost (losing Github stars maybe?). That makes people stick with bad names. None of these things apply in a company. Just change the project name to reflect what it does now.
Regenerative Finance
One way is to reject the idea of free will as an absolute. Every effect has a cause, and the causality chains extend from the beginning of time (assuming there is such a thing). Humans are part of nature, and the causality chains also control each and every human's actions and destiny.

It's somewhat related to the Nietzsche's concept of Amor Fati:

"My formula for greatness in a human being is amor fati: that one wants nothing to be different, not forward, not backward, not in all eternity. Not merely bear what is necessary, still less conceal it - all idealism is mendacity in the face of what is necessary - but love it."
So which is it, 'human condition includes disruption, there is nothing wrong with human conditions and therefore there is nothing wrong with disruption

or

'human condition sucks and the only way to fix it is with disruption'?

Are you just making it up as you go along? Do you feel the need to justify disruption at any cost?
I think that's an insightful thought. This is a person, who like the rest of us that day, was scared and pretty shocked
Well, you can't get much more vapid than fashion world
You're basically saying the same thing over and over between different posts, but here's one interesting thing:

> so if you're writing an algorithm whose object-lifetimes considerations are too onerous for humans, it is likely that there are other aspects of it that are equally onerous.

The thing is that you have lifetimes considerations in Zig too. You need to know when to free memory, so you explicitly need to reason about it, just like in Rust in the worse case (when RAII alone isn't enough) but you don't have tools to helps you know when to free and when not to (and only tools to diagnose when you've missed it) so Zig actually adds cognitive burden, not removes it. In the end you'll be reclaiming the memory at the same place (which is where the object is not used anymore and safe to free).

And you keep pointing to reviews and tests, as if rust made it harder, when in fact it makes it marginally easier than for most languages, with its built-in test framework well integrated in the entire stack, and the ability to see where mutations happen. Of course it's not revolutionary nor even unique, but on those two specific subjects in is in fact in among the best languages out there.

So you keep talking about Rust's cost, but the thing is that you can't really pinpoint what types of cost this is about (except with the hand-wavy concept of “language complexity”), and the examples you give are off.
Building a Digital Archive
The reason is nobody knows the correct rate to stop inflation and nobody wants to drive rates too much, as that also would have bad consequences.
Pressure depresses the melting point of ice, so (as pointed out in the article) it is not a candidate explanation for ice remaining underneath the coin. Furthermore, if the pressure is insufficient to depress the melting point below the ambient temperature, it has no effect.

The claim that the highest pressure is just under the center of gravity does not hold in general, either. More generally, the pressure distribution depends on the distribution of the contact points between the body and its support (consider a four-legged table, for example.)

The article does not say that the umbrella shade hypothesis explains the phenomenon, though it is a factor, as it affects heat flow. The article suggests (very plausibly) that it is due to sublimation. As this only occurs where the ice is in contact with the air[1] (and that air is free to move and carry away the sublimated vapor), the erosion proceeds inwardly from the boundary of contact.

For single pedestals, the boundary does have to shrink in such a way that it always contains the point below the body's center of gravity, so I would like to see the experiment conducted with irregularly-shaped bodies (if I had more free room in my freezer, I might try it myself.) Hypothesis: for bodies of uniform thickness and density, this is often the case.

[1] As demonstrated by the apparatus used in the experiment (where the sublimation occurred into a vacuum), what really matters is exposure of the ice to the void between the molecules of the air.
Ubuntu Linux and Azure DNS Problem Gives Azure Fits
It's confirmation bias in its purest form. They welcome any small piece of evidence suggesting that vaccines carry risk, while rejecting any evidence to the contrary or that the benefit outweighs the risk. They're not having an honest discussion.
And nothing makes your heart sink faster than the rhythmic sound of trying over and over to read the same bad disk.
to be fair they did a really good job at mimicking snapchat.
Millennials want to live a ‘soft life,’ and it’s changing how they work
There was a real hope Russia would join NATO at one point. That it has devolved back into the primary threat was never a foregone or even straightforward conclusion.
Just in spite of this comment I'm going to name all my futures:

bitch_please

I invite spirited debate on this change request.

Is it an attempt to police the behavior of the async runtime? As a non-mainstream user of a minority language with pluggable runtimes, do I have the right to reappropriate this word?

Perhaps we can develop a language standard for async priority variable prefixes and suffixes. Removing it from the domain of library convention to language feature.

We currently utilize function parameters as the only input to functions, leaving a powerful source of information untapped on the left-hand-side. Will this change speed up development, or more likely, introduce errors? Will advances in language development environments reduce that concern?

How about:
bitch_please, bitch_now, bitch_after_next_slice

Note how the meaning of the variable changes with bitch_now? It feels more uncomfortable doesn't it? Less of a joke. Ignoring the runtime's own priorities and values changes this. But why is it less funny? What does that reveal about priorities and still-existing prejudices in LANG? Does that mean that the original use is also less funny in certain contexts, such as public spaces?

Alright, change withdrawn, I was wrong.

* This isn't an original joke, but it is further refined.
* I could have been a good academic or scientist.
To me "a pair of" can colloquially (see, I did it again) mean "a bunch of".
Liszt

2018
https://www.youtube.com/watch?v=rCP27rIVJBw

1966
https://www.youtube.com/watch?v=VaMT44YCfb0

https://www.youtube.com/watch?v=nAB5hMnKQ3M&list=PLfdMKJMGPP...
> without the vitriol

Are you new to the Internet? Arguments over putting pineapple on pizza cause vitriol.

Jokes aside, the summary admits more studies need to be necessary. From what I understand of it, it made mice stronger against flu, but may have made them weaker to other infections. This is big if true, but it requires more study.
> When I run `ls`, I get capitals first.

It depends on your locale:

$ ls
asdf Cargo.toml
$ locale
LANG=pt_BR.UTF-8
[...]
$ LC_ALL=C.UTF-8 ls
Cargo.toml asdf
What Is Kubernetes HPA and How Can It Help You Save on the Cloud?
Agree, I think it is impossible not to compare with others. I don't think you always have to "walk back from it", sometimes is good to achieve your goals, the challenge is doing it in a healthy way.
Probably one of those tabloid pieces saying something like "80% of the deaths are now among the vaccinated" - which ignore that the population vax rate in that country is higher than that.
(The article is not really about that app, but anyway...)

This is also pretty close to what BeReal is, which has seen huge success as a startup. I wonder what the difference was that made it work.
This first half of the article made some sense. why are people quit quitting are your company. But, then it goes on to talk about ways to improve performance for gaps in performance. That's not quite quitting. quite quitting is not below average performing employees by definition.

It also suggest things like "good job", "I appreciate you", "here you can work on this extra project for free in your off hours" as ways to engage employees.

To me quit quitting can be summed up in 4 words. SHOW ME THE MONEY.

People are tired of Work for free and put on a happy face too.

quite quitting is giving management and executives the same worthless lip service that they give employees.
It is a distinct benefit when your query playground is schema-aware and can suggest completions for types, fields and field (query) parameters, as well as validate everything pre-request.
> And Cuba is further from the US than Ukraine is from Russia.

Not a great analogy. Ukraine had not joined NATO, and there seemed to be no prospect of it.

The countries that actually did join NATO appear to be safe from Russian invasion. If the Baltic states hadn't been allowed to join NATO then Russia might already have a land bridge to Kaliningrad and we'd have lost some more liberal democracies.
In a sense every change is irreversible, you can’t change the past.

I know about the CFC thing I’m not well versed on the mechanisms of what was actually going on, but if it is as commonly understood, I’m for that stuff. Clearly identified problems and clearly identified solutions.

With the climate doomerism, what exactly is the problem? What are the alternatives?

I just hear people repeating these things they’ve been conditioned to fear and no sense of the extent to which the thing they attribute all the problems of the world, fossil fuels, has in fact created nearly the entirety of the world around them.

If you think the sky gods are going to get really angry if the “greenhouse effect“ is a real thing, then what do you propose to do? “Cut emissions”? Then what aspects of modern civilization undergirded by those emissions do you propose to do without? Heating, cooling, food production, weather forecasting?
Not where I come from (UK) and not where I live (Norway). Can anyone else comment on how widespread this sort of requirement actually is?
Yeah, the term "Loyalty Check" gives it a weird connotation. There are some executives that just want to hear "Yes" to their initiative, but, (1) the good ones don't, they prefer to hear corrective feedback late rather than not or all, and (2) if you offer corrective feedback and it isn't taken into consideration, it helps inform you about the kind of executive your working for. Loyalty should run both ways.
There are far worse places. I think the HN crowd is pretty good at looking and analyzing data (regardless of the source). There are many other places (respected and non-respected) where the audience takes as gospel whatever the newsreader says (irrespective of whether supporting or muddling data is presented).
deanmoriarty’s point is it is possible the supply curve shifts more than the demand curve mitigating price decreases. In the short term.
SSL Server Test performs a deep analysis of any public SSL web server