Recent comments in /f/explainlikeimfive
[deleted] t1_ixq0hi2 wrote
fiendishrabbit t1_ixq0364 wrote
Reply to ELI5: How is it that we can't see sprains in X-ray? My x-ray turns out perfect even though I'm hurting so much. by [deleted]
X-rays work because to x-rays your bones have a very different reflective quality compared to muscles, skin and tendons.
While you can see any damage to bones, or any sort of misalignment of bones (which is something that can happen if the tendons that fix the bone into place are damaged) you can't see the tendons themselves.
In cases where doctors do need to see tendons&ligaments they use Magnetic Resonance Imaging (MRI), but they tend to avoid that as MRI machines are super expensive to buy and use (although it's becoming more common, especially with hand, feet and knee injuries).
blry2468 OP t1_ixpyuub wrote
Reply to comment by Pocok5 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
Yes, except my for loops use the number of times it is looped and the loop step as variables, so it does not repeat the same operation over and over again cause it changes each time it loops by abit. So thats the issue.
Pocok5 t1_ixpxqo9 wrote
Reply to comment by blry2468 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
A GPU can do a shitton of data-parallel stuff. If you find yourself doing the same operation over a ton of data points, it's worth thinking about whether you can do it all at the same time. Since you are doing python, check Numba https://carpentries-incubator.github.io/lesson-gpu-programming/03-numba/index.html
https://numba.readthedocs.io/en/stable/cuda/cudapysupported.html
blry2468 OP t1_ixpvnjr wrote
Reply to comment by Pocok5 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
What is the requirements for it to be gpu utalised thou? Like from what I know, usually my codes only use gpu if its a AI or machine learning code not normal conventional coding?
blry2468 OP t1_ixpvkpt wrote
Reply to comment by Pocok5 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
Unfortunately my code is not running the same operation over again but with changes at each time it loops for graph plotting of different points. The code also draws from multiple other code files not just an array and so idt it can be converted to be gpu utalised?
Pocok5 t1_ixpumno wrote
Reply to comment by blry2468 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
> It is completely conventional python code.
So, you're not doing any GPU compute at all? Only CPU? See if your algorithm can be parallelized on a GPU (a good sign that you can do so is doing the same operation over elements of huge arrays where computing the result depends only on the input array - a convolution is such, trying to do fill a vector with a fibonacci sequence is not).
pdpi t1_ixprqn4 wrote
Reply to comment by meginoz in ELI5 - mind theory in regards to child development? by meginoz
Exactly. Also, applying the same logic, she's not "punishing" you, because she doesn't necessarily understand the concept. She's just expressing her frustration, not entirely unlike how a baby cries to express they're hungry or uncomfortable..
Fluffy-Jackfruit-930 t1_ixprlit wrote
Reply to ELI5: How is it that we can't see sprains in X-ray? My x-ray turns out perfect even though I'm hurting so much. by [deleted]
X-ray images are shadows of the tissue. Bones are really opaque so show up really clearly. Soft tissues, including cartilage, muscles, ligaments, fat and skin are almost totally transparent, so only show up super faintly.
The actual ligament itself only shows up the same as muscle - so when the two are next to each other, they just blur into each other because you can't see an edge where there is a difference.
However, you can sometimes see hints of a sprain. There may be swelling of the tissue around the ligament. While you might not be able to see any detail, you could see that things are swollen under the skin. Sometimes a sprain also damages the bone by pulling a small flake of bone off where the ligament attaches to the bone. The bone flake can be easily seen in many cases. The bones of the joint might have moved out of position of the ligaments holding them together have been damaged.
PartTimeBomoh t1_ixpr0t2 wrote
Reply to ELI5: How is it that we can't see sprains in X-ray? My x-ray turns out perfect even though I'm hurting so much. by [deleted]
X-rays see bones not ligaments which are what get injured in a sprain. Ligaments are soft tissues like the rest of your skin and such and hence may not show up well on the x-ray.
There can be some indirect signs but these don’t always occur, for example: A ligament tear that tears off a piece of bone with it Widening of the joint space reflecting instability of the joint as a result of a ligament tear
meginoz OP t1_ixpr06v wrote
Reply to comment by pdpi in ELI5 - mind theory in regards to child development? by meginoz
So basically she cannot understand that I may not be as excited and keen to play barbies (again for the fifteenth time today) as she is? So she "punishes" me for not feeling that way?
[deleted] OP t1_ixpquew wrote
meginoz OP t1_ixpqtkh wrote
Reply to comment by rubseb in ELI5 - mind theory in regards to child development? by meginoz
Thank you this makes so much sense and really helps me understand why my child may not understand that I can't be at her constant beck and call!
a4mula t1_ixppup5 wrote
Reply to comment by blry2468 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
Have you researched loopless coding at all? If nothing else, are you practicing sound early exit strategies?
If it's not proprietary code, or if you can slap together a pseudo version that's okay for public consumption you might paste it up to something like stackoverflow.
Nested loops are standard practice, on small datasets.
This is not that.
I'd take a peek at this wiki on nested optimization to get an idea how how you might get around it.
If not, again stackoverflow is a great resource full of expertise in things like optimization.
bajablasteroid t1_ixpprgz wrote
Reply to comment by kalnatra in ELI5, when someone is intoxicated, how does adrenaline bring back motor skills and awareness? Or does it not? by LindenSpruce
There’s new buzz in the psych field that alcohol has a paradoxical effect on some people with specific genes whereby alcohol doesn’t have a sedative effect and, instead, has a stimulating effect.
TinyDemon000 t1_ixpp724 wrote
Reply to comment by LindenSpruce in ELI5, when someone is intoxicated, how does adrenaline bring back motor skills and awareness? Or does it not? by LindenSpruce
No worries! Any other nervous system questions feel free to drop me a dm 😂 its always good for me to practice.
blry2468 OP t1_ixpouh4 wrote
Reply to comment by a4mula in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
The program is running a radar simulation and signal processing algo which runs many loops to generate an ROC graph to check efficiency of radar detection method. The base code of simulation and detection takes 30s to run and there are multiple for loops around it to generate the data points for a graph with axises of probability of detection, probability of false alarm and Signal to noise ratio varying. This means 3 for loops, each within each other, one with 25 repetitions, one with 30 and one with 10. This sums the time to 42 hours.
a4mula t1_ixpoeud wrote
Reply to comment by blry2468 in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
Have you stopped to consider that perhaps there's an alternative approach to more effective algorithms?
Unless you're doing something along the lines of SQL calls to the world's largest async database, your code probably shouldn't require 42 hours to complete.
Not that there isn't code like that. But those aren't being run on either local pcs or colab.
Can you explain in two sentences or less what the gist of this program is?
blry2468 OP t1_ixpntx4 wrote
Reply to comment by a4mula in ELI5: Whats does compute credits in Google Colab actually do to the code running speed as opposed to normal free Colab by blry2468
My problem is just that my code takes 42 hours estimated run time. It is completely conventional python code. I was just wondering if this colab + would be beneficial in this scenario cause idk what the colab + actually does to conventional code.
pdpi t1_ixpnt1z wrote
Imagine I show you a box of chocolates. I ask you “what do you think is inside the box?”, and presumably you answer “chocolate”. I open the box, and show you that I’ve replaced the chocolates with marbles. Now, your friend comes inside the room, and I ask you “what does your friend think is inside the box?”
Young kids will say “marbles”, because they know there’s marbles inside. Older kids will answer “chocolates” because they understand that their friend sees a box of chocolates and has no way of knowing it’s actually filled with marbles. This is called a “theory of mind” — you have a mental model (“theory”) for how people have separate minds with separate knowledge.
One of the difficulties that come with autism is precisely around developing that theory of mind.
nroy225 t1_ixpnrmg wrote
Reply to comment by LindenSpruce in ELI5, when someone is intoxicated, how does adrenaline bring back motor skills and awareness? Or does it not? by LindenSpruce
Always trying to share. Like they enjoy sharing it more than actually doing it Lol
LindenSpruce OP t1_ixpnn6i wrote
Reply to comment by nroy225 in ELI5, when someone is intoxicated, how does adrenaline bring back motor skills and awareness? Or does it not? by LindenSpruce
Coke bros do love to share for some reason.
nroy225 t1_ixpnj6u wrote
Reply to ELI5, when someone is intoxicated, how does adrenaline bring back motor skills and awareness? Or does it not? by LindenSpruce
The alcohol doesn’t usually do that it’s usually the powder substance some sketchy dude in the bathroom offers you
Phage0070 t1_ixpmyjb wrote
Reply to ELI5 why does there appear to be universal law that’d when things happen frequently they aren’t intense and when things happen rarely they are intense? by MeeMeeMo0Mo0
Your submission has been removed for the following reason(s):
Loaded questions, or ones based on a false premise, are not allowed on ELI5 (Rule 6).
If you would like this removal reviewed, please read the detailed rules first. If you believe this was removed erroneously, please use this form first. If you believe this was removed erroneously, please use this form and we will review your submission.
piszkavas t1_ixq263n wrote
Reply to ELI5, when someone is intoxicated, how does adrenaline bring back motor skills and awareness? Or does it not? by LindenSpruce
I have seen people sobered up after an incident ( we were at a party, chillin drinking and suddenly a 600lbs concrete plate slided onto the leg of one of the guests.
They were sitting on top of it and it moved towards left,as the weight on one side was too much, they could jump into safety but one was not fast enough, the plate landed on his leg, below the kneecap.
All the other guests 20+ have sobered up in 3 seconds, they lifted the plate and the guy was taken to the hospital. His fibula bone was shattered to three pieces