It is currently April 19th, 2024, 8:17 am

Thread for help with the Shape meter

Get help with creating, editing & fixing problems with skins
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Thread for help with the new Shape meter

Post by jsmorley »

sl23 wrote: October 29th, 2019, 2:57 pm Ok, so it's used differently in programming? Or just Rainmeter? Which only works traditionally if used in a calc?
:???:

Just to make things more confusing :lol:
Yes, you are making things more confusing than they have to be. That section variable parameter is not a mathematical formula. It is a special function for section variables that we specifically implemented. The name of the parameter is just a "name", as short as we could make it while being reasonably clear what it is about.

It simply finds the current "real" X position of the meter, and adds that to the current "real" W size of the meter. That's the long and the short of it.

I really don't think we need to drag algebraic formulas into this. There is no "a" and "b" and "c" to put on opposite sides of an equal sign. Why are we even going down this road? It's a waste of time. Multiplication in a formula in Rainmeter is done with the * sign.
User avatar
Yincognito
Rainmeter Sage
Posts: 7125
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Thread for help with the new Shape meter

Post by Yincognito »

sl23 wrote: October 29th, 2019, 2:57 pm Ok, so it's used differently in programming? Or just Rainmeter? Which only works traditionally if used in a calc?
:???:

Just to make things more confusing :lol:
The XW and YH are just acronyms to suggest the adding of X & W and Y & H together. They don't represent multiplication, since they're just names for an "attribute" of a meter.
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

Post by sl23 »

Sorry, I meant confusing as in it disobeys the laws of algebra :oops:
- MuLab -
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Thread for help with the new Shape meter

Post by jsmorley »

sl23 wrote: October 29th, 2019, 3:12 pm Sorry, I meant confusing as in it disobeys the laws of algebra :oops:
But who ever said it had anything to do with Algebra?
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

Post by sl23 »

jsmorley wrote: October 29th, 2019, 3:13 pm But who ever said it had anything to do with Algebra?
It was an assumption due to letters being involved. To me, it is an equation:
Meter Position = Y+H

Which by your definition is an algebraic formula.

Sorry, Jeff Just curious that's all. I see you use it differently, no problem, just wondered why the difference. Long as I'm aware so I can take it into account in future. Thank you for explaining.
- MuLab -
User avatar
Yincognito
Rainmeter Sage
Posts: 7125
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Thread for help with the new Shape meter

Post by Yincognito »

sl23 wrote: October 29th, 2019, 3:19 pmWhich by your definition is an algebraic formula.
The operation behind the scenes is indeed algebraic, but the string used to represent the operation is not. I could have been very well Y&H, but the & character can have other meanings in Rainmeter (plus, someone else could also be "confused" regarding the Y&H boolean meaning - which is entirely different from its algebraic meaning).

I see your point though - you probably wanted to emphasize a fun fact about the whole thing... :D
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

Post by sl23 »

Haha, something like that :thumbup:
Personally, I don't see the difference, but what do I know? :oops:
Anyway, I appreciate you all getting involved to explain, thanks for that...
Like I said, it's useful to know it's used differently in this context, that's all
- MuLab -
User avatar
jsmorley
Developer
Posts: 22629
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Thread for help with the new Shape meter

Post by jsmorley »

I hate all of you like poison... ;-)
User avatar
Yincognito
Rainmeter Sage
Posts: 7125
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Thread for help with the new Shape meter

Post by Yincognito »

jsmorley wrote: October 29th, 2019, 3:33 pm I hate all of you like poison... ;-)
We live to be of service, jsmorley :twisted:
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
User avatar
sl23
Posts: 1140
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

Post by sl23 »

jsmorley wrote: October 29th, 2019, 3:33 pm I hate all of you like poison... ;-)
Yeah I sorta got that! :D
- MuLab -