It is currently November 21st, 2019, 10:19 am

Thread for help with the new Shape meter

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

Re: Thread for help with the new Shape meter

jsmorley » October 29th, 2019, 3:04 pm

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.
Yincognito
Posts: 682
Joined: February 27th, 2015, 2:38 pm

Re: Thread for help with the new Shape meter

Yincognito » October 29th, 2019, 3:10 pm

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.
User avatar
sl23
Posts: 408
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

sl23 » October 29th, 2019, 3:12 pm

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

Re: Thread for help with the new Shape meter

jsmorley » October 29th, 2019, 3:13 pm

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: 408
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

sl23 » October 29th, 2019, 3:19 pm

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.
Yincognito
Posts: 682
Joined: February 27th, 2015, 2:38 pm

Re: Thread for help with the new Shape meter

Yincognito » October 29th, 2019, 3:23 pm

sl23 wrote:
October 29th, 2019, 3:19 pm
Which 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
User avatar
sl23
Posts: 408
Joined: February 17th, 2011, 7:45 pm
Location: a Galaxy S7 far far away

Re: Thread for help with the new Shape meter

sl23 » October 29th, 2019, 3:31 pm

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
User avatar
jsmorley
Developer
Posts: 19743
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Thread for help with the new Shape meter

jsmorley » October 29th, 2019, 3:33 pm

I hate all of you like poison... ;-)
Yincognito
Posts: 682
Joined: February 27th, 2015, 2:38 pm

Re: Thread for help with the new Shape meter

Yincognito » October 29th, 2019, 3:40 pm

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

Re: Thread for help with the new Shape meter

sl23 » October 29th, 2019, 6:11 pm

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