Off Topic

For everything not related to either Rayman or Pirate-Community.
Forum rules
Please keep the forum rules and guidelines in mind when creating or replying to a topic.
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

Yeah, makes sense!
PluMGMK
Annetta Fish
Posts: 40514
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136636

Re: Off Topic

Post by PluMGMK »

Master wrote: Wed Oct 23, 2024 7:12 pm (Basically, what the heck's a quarternion?)
A quarternion isn't anything, but if you mean a quaternion, then that's like a complex number but with three different imaginary units related like so: :fou:
i² = j² = k² = ijk = -1
This is the formula that William Rowan Hamilton graffitied onto Brougham Bridge in Dublin on 16 October many years ago, and it's now preserved there on a plaque :hap:

A complex number can be used to represent a rotation in a 2D plane, because of the Euler formula e = cos(θ) + i×sin(θ) – likewise the exponentiation of a purely imaginary quaternion can represent a rotation in 3D space: e(ui+vj+wk)θ represents a rotation around the axis defined by the vector (u,v,w).

IIRC, if you represent a vector in 3D space as an imaginary quaternion, xi+yj+zk, then you can rotate it by premultiplying by one of those exponentials and then postmultiplying by its conjugate – i.e.
e(ui+vj+wk)θ/2 × (xi+yj+zk) × e–(ui+vj+wk)θ/2
gives you back (x,y,z) rotated by the angle θ around the axis (u,v,w). I might be slightly wrong on the details, but it's something like that.

Anyway, the beauty of this approach is that by continuously varying the parameter θ from zero to its final value, you can get a smooth transition from the initial position, to the final rotated position.
Master wrote: Sun Oct 20, 2024 7:17 pm Nah, ARM is kinda a catch-all term for a family (or rather Instruction Set Architecture) of CPUs. Plum's probably the best person to explain these sorts of things, this is Plum's domain moreso than mine. But effectively they're a different technology than the CPUs you usually see in PCs, think Intel or AMD (those are x86 based). Macintosh computers recently (say about 5 years ago I think at this point?) moved from Intel (x86) to ARM CPUs, and they've remained pretty performant and competitive. Microsoft have been trying to do the same for a while now, but there's not really been a breakthrough product yet that would imply that the idea has reached a viable state...though they've been pushing hard recently and there are Windows laptops that have ARM CPUs as opposed to AMD/Intel ones.

ARM CPUs tend to be used a lot on embedded devices, think your phone or handheld gaming console. They're also used in a lot of embedded systems, servers...all over the place really.
Yeah, ARM lends itself to better efficiency because of the fixed-length instructions, which mean the decoder can fetch several of them at once and work on decoding them in parallel, whereas x86's variable-length instructions mandate sequential decoding. My boss mentioned to me at one point that the "Apple Sililcon" ARM chips are particularly good for power efficiency, because Apple acquired a company that had a good track-record for designing power-efficient ICs. So even if Windows on ARM did become popular for PCs (and it's been around for a long time, so there's not much indication of that), the chips used for it would still have to play some catch-up with Apple on that front…
Master
Rayman 1
Posts: 53542
Joined: Sun Aug 21, 2011 10:14 am
Location: Somewhere specific, I'd assume.
Tings: 468310

Re: Off Topic

Post by Master »

PluMGMK wrote: Sat Oct 26, 2024 10:13 pm
Master wrote: Wed Oct 23, 2024 7:12 pm (Basically, what the heck's a quarternion?)
A quarternion isn't anything, but if you mean a quaternion, then that's like a complex number but with three different imaginary units related like so: :fou:
i² = j² = k² = ijk = -1
This is the formula that William Rowan Hamilton graffitied onto Brougham Bridge in Dublin on 16 October many years ago, and it's now preserved there on a plaque :hap:

A complex number can be used to represent a rotation in a 2D plane, because of the Euler formula e = cos(θ) + i×sin(θ) – likewise the exponentiation of a purely imaginary quaternion can represent a rotation in 3D space: e(ui+vj+wk)θ represents a rotation around the axis defined by the vector (u,v,w).

IIRC, if you represent a vector in 3D space as an imaginary quaternion, xi+yj+zk, then you can rotate it by premultiplying by one of those exponentials and then postmultiplying by its conjugate – i.e.
e(ui+vj+wk)θ/2 × (xi+yj+zk) × e–(ui+vj+wk)θ/2
gives you back (x,y,z) rotated by the angle θ around the axis (u,v,w). I might be slightly wrong on the details, but it's something like that.

Anyway, the beauty of this approach is that by continuously varying the parameter θ from zero to its final value, you can get a smooth transition from the initial position, to the final rotated position.
Ahh ok, I'm not going to pretend i understand that completely, but I have dealt with complex numbers in the past to represent vector values with real and imaginary components, so I'm going to extrapolate from there and assume based on what you've stated that this effectively building on that and adding a third dimension to that?
PluMGMK wrote: Sat Oct 26, 2024 10:13 pm
Master wrote: Sun Oct 20, 2024 7:17 pm Nah, ARM is kinda a catch-all term for a family (or rather Instruction Set Architecture) of CPUs. Plum's probably the best person to explain these sorts of things, this is Plum's domain moreso than mine. But effectively they're a different technology than the CPUs you usually see in PCs, think Intel or AMD (those are x86 based). Macintosh computers recently (say about 5 years ago I think at this point?) moved from Intel (x86) to ARM CPUs, and they've remained pretty performant and competitive. Microsoft have been trying to do the same for a while now, but there's not really been a breakthrough product yet that would imply that the idea has reached a viable state...though they've been pushing hard recently and there are Windows laptops that have ARM CPUs as opposed to AMD/Intel ones.

ARM CPUs tend to be used a lot on embedded devices, think your phone or handheld gaming console. They're also used in a lot of embedded systems, servers...all over the place really.
Yeah, ARM lends itself to better efficiency because of the fixed-length instructions, which mean the decoder can fetch several of them at once and work on decoding them in parallel, whereas x86's variable-length instructions mandate sequential decoding. My boss mentioned to me at one point that the "Apple Sililcon" ARM chips are particularly good for power efficiency, because Apple acquired a company that had a good track-record for designing power-efficient ICs. So even if Windows on ARM did become popular for PCs (and it's been around for a long time, so there's not much indication of that), the chips used for it would still have to play some catch-up with Apple on that front…
Ahh ok, so the fetch stage can bring forth multiple instructions to the decoder, which can then take multiple instructions to dispatch thus creating a faster pipeline for instruction execution? And yeah, I think the first time I heard about Windows on ARM was for Windows RT, which was back in the WIndows 8 days right? That's about just over a decade ago at this point I think?
PluMGMK
Annetta Fish
Posts: 40514
Joined: Fri Jul 31, 2009 9:00 pm
Location: https://www.youtube.com/watch?v=cErgMJSgpv0
Contact:
Tings: 136636

Re: Off Topic

Post by PluMGMK »

Master wrote: Sat Oct 26, 2024 10:37 pm Ahh ok, I'm not going to pretend i understand that completely, but I have dealt with complex numbers in the past to represent vector values with real and imaginary components, so I'm going to extrapolate from there and assume based on what you've stated that this effectively building on that and adding a third dimension to that?
More or less. Technically quaternions have four dimensions when you include the real part (hence the name), but if you just use the three imaginary units you can represent vectors in 3D space!
Master wrote: Sat Oct 26, 2024 10:37 pm Ahh ok, so the fetch stage can bring forth multiple instructions to the decoder, which can then take multiple instructions to dispatch thus creating a faster pipeline for instruction execution? And yeah, I think the first time I heard about Windows on ARM was for Windows RT, which was back in the WIndows 8 days right? That's about just over a decade ago at this point I think?
Pretty much, yes! I think you're right about Windows RT too. I remember Windows 8 being the first version to support Secure Boot, and there was controversy because Microsoft were requiring it for PCs to get the "Windows 8 ready" label (or whatever it is). Because of the outcry, they amended the spec to mandate that the user must be able to disable Secure Boot, but only for x86 systems – for ARM systems Secure Boot did not have to be disableable :mefiant:
Adsolution
Holly Luya
Posts: 22233
Joined: Sat Aug 22, 2009 4:55 pm
Contact:
Tings: 110541

Re: Off Topic

Post by Adsolution »

Master wrote: Wed Oct 23, 2024 7:12 pmrelative rotations and the like seemed a little more than I could keep with xD
Imagine your finger standing up straight, and in that state, the Euler xyz representation for their all their rotations is 0,0,0. If you bend the first joint 90 degrees while keeping the second joint straight, the middle bone's relative (more commonly "local") rotation is now 90,0,0. However, the tip bone's local rotation is still 0,0,0, because relative to its parent (the middle bone), it never changed its state. If that makes sense?

It's also worth mentioning that quaternions are the only uniform way to define 3D rotation. Euler angles are messy because there are multiple ways to define a single rotation, and the order of the transformations is important. Storing rotations as quaternions in computer science also has the added benefit of not requiring additional sin/cos computations in order to perform matrix transformations with them.

It's just unfortunate that quaternions aren't easily written by hand :(

------
Also, since this thread tends to get used as an instant messenger and my question was lost in the void... do any mac nerds have some advice? :oops2: https://raymanpc.com/forum/viewtopic.ph ... 1#p1491881
Master
Rayman 1
Posts: 53542
Joined: Sun Aug 21, 2011 10:14 am
Location: Somewhere specific, I'd assume.
Tings: 468310

Re: Off Topic

Post by Master »

Adsolution wrote: Sun Oct 27, 2024 1:58 am
Master wrote: Wed Oct 23, 2024 7:12 pmrelative rotations and the like seemed a little more than I could keep with xD
Imagine your finger standing up straight, and in that state, the Euler xyz representation for their all their rotations is 0,0,0. If you bend the first joint 90 degrees while keeping the second joint straight, the middle bone's relative (more commonly "local") rotation is now 90,0,0. However, the tip bone's local rotation is still 0,0,0, because relative to its parent (the middle bone), it never changed its state. If that makes sense?
I think it kinda does, effectively each bones rotation is relative to its parent bone?
Adsolution wrote: Sun Oct 27, 2024 1:58 am It's also worth mentioning that quaternions are the only uniform way to define 3D rotation. Euler angles are messy because there are multiple ways to define a single rotation, and the order of the transformations is important. Storing rotations as quaternions in computer science also has the added benefit of not requiring additional sin/cos computations in order to perform matrix transformations with them.

It's just unfortunate that quaternions aren't easily written by hand :(
That would explain why quaternions were the default option when I was messing around with some models in Blender...I think this has helped me understand the why a little more.
Adsolution wrote: Sun Oct 27, 2024 1:58 am Also, since this thread tends to get used as an instant messenger and my question was lost in the void... do any mac nerds have some advice? :oops2: https://raymanpc.com/forum/viewtopic.ph ... 1#p1491881
Prefacing this to say that I don't operate in Mac territory but I'll share the impression I've gotten from what I've seen and read. I believe the M1s could outperform the contemporary Intel CPUs (at least of the prior Intel MacBooks) of the time if memory serves, so I'd expect there to be a reasonable leap in performance from the 2013 Pro (Looking it up they were Haswell CPUs so an I7-4000 series I'd expect) to the M3. I don't how the Air thermals would be like using it with the same kinda workload, I know they tend to be passively cooled so I'd have to keep an eye out for whether they can dissipate enough heat when being pushed.

Bear in mind also that I don't think you can upgrade RAM or Storage, what you buy is what you get. And also if you do rely on Windows for anything that might be an issue since BootCamp doesn't work on Apple Silicon.

There is a dedicated IT thread here, I dunno if you'd be able to get better answers in there as I don't really know how many Mac nerds are about here, but perhaps less of a chance of getting buried 😅
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

Good morning! Woke up to my brothers tv again
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

You should really tell him to stop turning it up so loud :lol:
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

He wont listen! My mom says to just suck it up cuz im the more mature one????
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

Your mum doesn’t sound particularly nice :|
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

Yeah... but i cant exactly leave... cuz i cant really take care of myself-
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

Anyway, what did you have/are going to have for breakfast?
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

fruit loops? I dont normally eat breakfast
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

I wanted to get some Kit Kat cereal when I went to Sainsbury’s the other day but my mum wouldn’t let me :grrr:
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

Is it even any good? Im very curios
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

Never had it. I used to have diabetes chocolate weetabix every morning when I was younger though
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

I heard diabetes sucks to have
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

I didn’t actually get diabetes, but if I still had big portions of it every morning without any milk to this day I certainly would
EdgyRabbid
Musician
Posts: 8942
Joined: Wed Oct 16, 2024 1:57 pm
Location: Betillas garden
Contact:
Tings: 66170

Re: Off Topic

Post by EdgyRabbid »

My teacher in 9th grade said that her dad had to be amputated due to it..
Greengoop
Joe
Posts: 19390
Joined: Fri Jun 30, 2023 4:32 pm
Location: The bog of murk
Contact:
Tings: 76030

Re: Off Topic

Post by Greengoop »

Yowch! Sounds like hell, especially sad to see how much of the population lives with it
Post Reply