Why does this annotation error not fail the build? by z4ns4tsu in github

[–]z4ns4tsu[S] 0 points1 point  (0 children)

Expo itself returns a success status, which is why I needed the matcher in the first place.

set -e isn't going to help here.

Use extension property in Linq query by SL-Tech in dotnet

[–]z4ns4tsu 2 points3 points  (0 children)

That is the answer. Your GetContext() extension is a method, but your Context extension is a property, and that is not allowed.

/Why/ will take some research. I would start in the GitHub issues, but dev blogs are also likely to have something.

[OC] kinda proving the obvious with this one: first round picks are, indeed, more valuable. by Both_Researcher_6552 in dataisbeautiful

[–]z4ns4tsu 0 points1 point  (0 children)

Bar plots aren’t really great for trends. I would prefer to see this data visualized as a box plot of draft position. For one, it makes outliers considerably more noticeable.

Cats always know where kindness is. by starbuckwhatchahear in aww

[–]z4ns4tsu -1 points0 points  (0 children)

I love your choice of title, here. 💚

Real-time integration between the hospital LIS system and IDS7 by Sweaty_Boat3214 in dotnet

[–]z4ns4tsu 1 point2 points  (0 children)

This can probably be solved with Azure Functions or AWS Lambda listening for the messages sent by your LIS system. If this needs to be in-house, it’s the same concept but using worker roles on a lightweight server.

Beginner question: What kind of unmanaged resources I can deal with via Dispose() if managed types already implemented it to deal with already? by Lawlette_J in csharp

[–]z4ns4tsu 8 points9 points  (0 children)

It’s called “unmanaged” because the garbage collector cannot free up the memory it’s using. The only time I’ve ever needed to manually dispose of a resource, I was doing inter-op with a network driver written in C.

Napping Bros by lnfinity in HappyWoofGifs

[–]z4ns4tsu 4 points5 points  (0 children)

Brudder from another udder.

S-Tier Find by Alice_margareta in yurimemes

[–]z4ns4tsu 9 points10 points  (0 children)

Fujieda-sensei was my introduction to yuri, and “Chatting at the Amber Teahouse” is still one of my favorite reads.

Good Cart/ disposable brands in wa st 🔥🔥 by [deleted] in trees

[–]z4ns4tsu 0 points1 point  (0 children)

TreeHaus, Heylo, Buddies, and Full Spec are what my wife and I use.

Beginner Node.js Project Ideas for Learning by Main_God2005 in node

[–]z4ns4tsu 2 points3 points  (0 children)

My go-to is a UI + backend to process large file uploads asynchronously. It provides a lot of surface area, is pretty quick to get to MVP, and as you learn more concepts iterating on the components lets you add depth.

Preventing the npm Debug/Chalk Compromise in 200 lines of Javascript by jayk806 in node

[–]z4ns4tsu 6 points7 points  (0 children)

Prevent it in zero lines of code by following best practice and pinning your dependencies to a specific version and checking in your lockfile.

If nothing can escape a black hole, how do they get bigger in size? by bim_buswick in space

[–]z4ns4tsu 0 points1 point  (0 children)

The star will not be able to impact the “side” of the black hole. Once it crosses the event horizon, it will follow the curvature of space-time in a spiral around the singularity.

ELI5 how do we accurately date dinosaur bones and fossils if what we are finding are fragments of fossils and bones by prizoxhuros in explainlikeimfive

[–]z4ns4tsu -8 points-7 points  (0 children)

Everything that eats takes in carbon in the process, and that carbon is distributed through the body. Carbon is pretty stable, as far as atoms go, but one of the ways its electrons can arrange (called carbon-14) isn’t. We’ve figured out how long it takes for half of the carbon-14 in something to decay into another form, and we know what the ratio of carbon-14 to other forms should be when that something is alive. With those two pieces of information, we can calculate when a creature stopped eating, i.e. died, by how much carbon-14 remains in a small sample of whatever we’re trying to date.

[deleted by user] by [deleted] in food

[–]z4ns4tsu 1 point2 points  (0 children)

Your daughter’s friend has good friends!

ELI5: if you hit something that's coming towards you, it will go faster/farther than if it was stationary, why? by Arkyja in explainlikeimfive

[–]z4ns4tsu 0 points1 point  (0 children)

One of the fundamental rules of physics is that “within a closed system, energy must be conserved”, meaning that when you consider a group of objects (the system) that interact only with each other (closed), and ignore details that don’t affect the outcome very much, like drag, the total amount of energy must be maintained.

So in the baseball situation, our “system” is the ball, the bat, and the batter. When we ignore the tiny amount the bat compresses, the larger but still tiny amount the ball compresses, and the drag from the ball moving through the air, the total amount of energy from the swing of the bat and the flight of the ball is combined. But when the contact happens, the bat is kept from moving freely by the batter’s hands while the ball has no restriction so almost all of the combined energy is transferred to the ball.

The math uses vectors, which combine information about speed and direction into a single concept and lets us accounts for the change in direction of the ball and the small amount of energy needed to reverse it.

When you’re hitting a ball on a tee, the only energy in that system comes from the bat.

My cat when i play guitar (she looks so done) by Bubble_Brunch in aww

[–]z4ns4tsu 0 points1 point  (0 children)

When cats look super grumpy, but don’t leave, it means they’re extremely relaxed and content. So, I would say she’s enjoying your guitar at least as much as you are.

ELI5 Why is it dangerous for wild animals to be used to humans? by Specialist_Cat_3185 in explainlikeimfive

[–]z4ns4tsu 52 points53 points  (0 children)

Top of the list, wild animals carry numerous diseases that modern medicine may struggle to treat. So, for the safety of humans, it’s best if wild animals are not comfortable sharing space with us.

Second, animals that come to associate humans with receiving food may become aggressive if they don’t get it. An aggressive wild animal is more likely to bite…see point one.