[-] Hugin@lemmy.world 3 points 2 hours ago

Pretty specific use case. A normal OS handleds time slicing and core assignment for processes and uses it's judgement for that. So at any time your process can be suspended and you don't know when you get your next time slice.

Same with when you make wait calls. You might say wait 100ms but it may be much longer before your process gets to run again.

In a real time OS if you have real time priority the OS will suspend anything else including it self to give you the time you request. It also won't suspend you no matter how long you use the core.

So if you need to control a process with extreme precision like a chemical manufacturing process, medical device, or flying a rocket where being 10ms late means failure they are required.

However with great power comes great responsibility. You need to make sure your code calls sleep frequently enough that other tasks have time to run. Including things like file io or the gui.

[-] Hugin@lemmy.world 1 points 2 hours ago

Cool. I remember having to use Red Hawk Linux years ago. It's a real time variant of Red Hat. It was such a pain to get the dependencies workin on it.

[-] Hugin@lemmy.world 18 points 1 day ago

The solution for this is usually counter training. Granted my experience is on the opposite end training ai vision systems to id real objects.

So you train up your detector ai on hand tagged images. When it gets good you use it to train a generator ai until the generator is good at fooling the detector.

Then you train the detector on new tagged real data and the new ai generated data. Once it's good at detection again you train the generator ai on the new detector.

Repeate several times and you usually get a solid detector and a good generator as a side effect.

The thing is you need new real human tagged data for each new generation. None of the companies want to generate new human tagged data sets as it's expensive.

[-] Hugin@lemmy.world 2 points 2 days ago

Yeah. The thing that made me "get" quaternions was thinking about clocks. The hands move around in a 2d plane. You can represent the tips position with just x,y. However the axis that they rotate around is the z axis.

To do a n dimensional rotation you need a n+1 dimensional axis. So to do a 3D rotation you need a 4D axis. This is bassicly a quat.

You can use trig to get there in parts but it requires you to be careful to keep your planes distinct. If your planes get parallel you get gimbal lock. This never happens when working with quats.

[-] Hugin@lemmy.world 4 points 2 days ago

No. It's more what the previous poster said about encoding rotation. It's just not a xyz axes. It's current, charge, flux as axes. The trig is how you collapse the 3d system into a 2d or 1d projection. You lose some information but it's more useful from a spefic reference.

Without complex numbers you can't properly represent the information.

[-] Hugin@lemmy.world 2 points 2 days ago* (last edited 2 days ago)

Yeah a good friend of mine has a PHD in math. I asked him how he would describe math. His answer was a set of rules for dealing with numbers. What's important is how useful the rules are.

[-] Hugin@lemmy.world 11 points 2 days ago

Yup. When you have a circuit that is not purely resistive the inductive or capacitive load causes the voltage and current to not be in phase. It looks like ohms law is being violated. However the missing part of the energy is in the imaginary component to be returned latter.

[-] Hugin@lemmy.world 7 points 3 days ago

Extended cut of The Big Blue. I watched it with my dad and new girlfriend. My dad was a big time cave diver and so was she. I like Luc Besson movies. Seemed like a good first meeting activity. I wasn't aware the extended had a fair number of sex scenes.

[-] Hugin@lemmy.world 1 points 4 days ago

That's why you need to cultivate a healthy colony of nose lice to fight off the spiders.

[-] Hugin@lemmy.world 14 points 5 days ago

Or toss a flash bang in the crib.

[-] Hugin@lemmy.world 1 points 6 days ago

I have it on good authority that Lake Superior never gives up her dead.

view more: next ›

Hugin

joined 1 year ago