Either that means that we've been very productive, or that we've been chatting too much.
I think it's because it was the weekend and everyone was typing for a lot of the day.
p.s. does firefox have a keyboard shotcut for refresh? f5 does not work and I have a pen tablet, so I'm fed up with picking up the pen leaning over and tapping the refresh button
Offline
sparks wrote:
Either that means that we've been very productive, or that we've been chatting too much.
I think it's because it was the weekend and everyone was typing for a lot of the day.
p.s. does firefox have a keyboard shotcut for refresh? f5 does not work and I have a pen tablet, so I'm fed up with picking up the pen leaning over and tapping the refresh button
Crt + R for refresh.
Offline
Sperry wrote:
t1 >= ((t1 * (t2 / t1)) + (t2 / 2) )
Would this work for finding out if the number rounded is bigger than the halfway point of the value to be rounded to?
make it using scratch blocks with slider watchers to change the varaibles around and see what happens?
Offline
markyparky56 wrote:
sparks wrote:
Either that means that we've been very productive, or that we've been chatting too much.
I think it's because it was the weekend and everyone was typing for a lot of the day.
p.s. does firefox have a keyboard shotcut for refresh? f5 does not work and I have a pen tablet, so I'm fed up with picking up the pen leaning over and tapping the refresh buttonCrt + R for refresh.
thanks
Offline
sparks wrote:
markyparky56 wrote:
sparks wrote:
Either that means that we've been very productive, or that we've been chatting too much.
I think it's because it was the weekend and everyone was typing for a lot of the day.
p.s. does firefox have a keyboard shotcut for refresh? f5 does not work and I have a pen tablet, so I'm fed up with picking up the pen leaning over and tapping the refresh buttonCrt + R for refresh.
thanks
Are you just sitting in this thread?
Offline
er, if that means sitting at the PC and waiting for another comment then no. I am sitting at the PC and waiting for another comment whilst simulatiosly alternating between playing guitar and reading "host" by Stephanie Meyer and testing Panther for glitches. If not, I don't know what you mean
Offline
Right - that worked (the calculation) thanks sparks!
round: t1 ToRearest: t2
t1 <= (t1 * (t2 / t1) + (t2 / 2) ) ifTrue: [^]
Now ho do I get it to return the value rounded DOWN?
Last edited by Sperry (2010-04-12 15:13:38)
Offline
Sperry wrote:
Right - that worked (the calculation) thanks sparks!
round: t1 ToR?earest: t2
t1 <= (t1 * (t2 / t1) + (t2 / 2) ) ifTrue: [^]
Now ho do I get it to return the value rounded DOWN?
I didn't do anything... but you're welcome ^_^
Last edited by sparks (2010-04-12 15:15:44)
Offline
sparks wrote:
Sperry wrote:
Right - that worked (the calculation) thanks sparks!
round: t1 ToR?earest: t2
t1 <= (t1 * (t2 / t1) + (t2 / 2) ) ifTrue: [^]
Now ho do I get it to return the value rounded DOWN?I didn't do anything... but you're welcome ^_^
Rearest?
Offline
markyparky56 wrote:
sparks wrote:
Sperry wrote:
Right - that worked (the calculation) thanks sparks!
round: t1 ToR?earest: t2
t1 <= (t1 * (t2 / t1) + (t2 / 2) ) ifTrue: [^]
Now ho do I get it to return the value rounded DOWN?I didn't do anything... but you're welcome ^_^
Rearest?
Fine, I made a typo. But can anybody help me? I'm stuck!
Offline
well this is an "out there" random guess, but what would happen if you had one procedure that determined wether it needed rounding up or down, and then routed it to either your equation of one that began t1 >= rather than t1 <= ?
it's only a guess...
Offline
sparks wrote:
well this is an "out there" random guess, but what would happen if you had one procedure that determined wether it needed rounding up or down, and then routed it to either your equation of one that began t1 >= rather than t1 <= ?
it's only a guess...
No, no , no. That calculation was for rounding down. I was asking how to get the last character to a 0 and not to what it was.
Anyway: If that calculation is true - it will return a value. if its false - it will carry on and skip the return
Last edited by Sperry (2010-04-12 15:26:32)
Offline
sparks wrote:
well this is an "out there" random guess, but what would happen if you had one procedure that determined wether it needed rounding up or down, and then routed it to either your equation of one that began t1 >= rather than t1 <= ?
it's only a guess...
That should work...
Oh yeah, I forgot, you know how i was talking around Laisse fare, i was actualy spelling it wrong and its actualy Laisse Faire, http://encyclopedia.thefreedictionary.com/Laisse+faire
Last edited by markyparky56 (2010-04-12 15:28:23)
Offline
SeptimusHeap wrote:
Hey! About the MiniFeed, it just feeds the RSS feed.
I like it.
Offline
I got 4 new blocks: average of _ and _ and _ ; average of _ and _; distance between _ and _; and get variable ___ from mesh.
blockSpecs for average of _ and _ and _:
('average of %n and %n and %n' #r #average:and:and: 1 3 5)
Code for average:and:and: (In scratchmorph, other ops)
average: t1 and: t2 and: t3 |t4| t4 _ t1 + t2 + t3 / 3. ^t4
blockSpecs for average of _ and _:
('average of %n and %n' #r #average:and: 1 3)
Code for average:and: (In scratchmorph, other ops)
average: t1 and: t2 |t3| t3 _ t1 + t2 / 2. ^t3
blockSpecs for distance between _ and _:
('distance between %n and %n' #r #difference:and: 1 10)
Code for difference:and: (In scratchmorph, other ops)
difference: t1 and: t2 |t3| t1 < t2 ifTrue: [t3 _ t2 - t1]. t2 < t1 ifTrue: [t3 _ t1 - t2]. t2 = t1 ifTrue: [t3 _ 0]. ^t3
blockSpecs for get variable ___ from mesh:
('get variable %s from mesh' #r #sensor: 'variable')
Function sensor: is already built in.
Offline
SeptimusHeap wrote:
I got 4 new blocks: average of _ and _ and _ ; average of _ and _; distance between _ and _; and get variable ___ from mesh.
blockSpecs for average of _ and _ and _:Code:
('average of %n and %n and %n' #r #average:and:and: 1 3 5)Code for average:and:and: (In scratchmorph, other ops)
Code:
average: t1 and: t2 and: t3 |t4| t4 _ t1 + t2 + t3 / 3. ^t4blockSpecs for average of _ and _:
Code:
('average of %n and %n' #r #average:and: 1 3)Code for average:and: (In scratchmorph, other ops)
Code:
average: t1 and: t2 |t3| t3 _ t1 + t2 / 2. ^t3blockSpecs for distance between _ and _:
Code:
('distance between %n and %n' #r #difference:and: 1 10)Code for difference:and: (In scratchmorph, other ops)
Code:
difference: t1 and: t2 |t3| t1 < t2 ifTrue: [t3 _ t2 - t1]. t2 < t1 ifTrue: [t3 _ t1 - t2]. t2 = t1 ifTrue: [t3 _ 0]. ^t3blockSpecs for get variable ___ from mesh:
Code:
('get variable %s from mesh' #r #sensor: 'variable')Function sensor: is already built in.
No we have to wait for NxIII to appear and here can catch up on the last 5 pages or so...
(He is online right now)
Last edited by markyparky56 (2010-04-12 16:23:01)
Offline
markyparky56 wrote:
SeptimusHeap wrote:
I got 4 new blocks: average of _ and _ and _ ; average of _ and _; distance between _ and _; and get variable ___ from mesh.
blockSpecs for average of _ and _ and _:Code:
('average of %n and %n and %n' #r #average:and:and: 1 3 5)Code for average:and:and: (In scratchmorph, other ops)
Code:
average: t1 and: t2 and: t3 |t4| t4 _ t1 + t2 + t3 / 3. ^t4blockSpecs for average of _ and _:
Code:
('average of %n and %n' #r #average:and: 1 3)Code for average:and: (In scratchmorph, other ops)
Code:
average: t1 and: t2 |t3| t3 _ t1 + t2 / 2. ^t3blockSpecs for distance between _ and _:
Code:
('distance between %n and %n' #r #difference:and: 1 10)Code for difference:and: (In scratchmorph, other ops)
Code:
difference: t1 and: t2 |t3| t1 < t2 ifTrue: [t3 _ t2 - t1]. t2 < t1 ifTrue: [t3 _ t1 - t2]. t2 = t1 ifTrue: [t3 _ 0]. ^t3blockSpecs for get variable ___ from mesh:
Code:
('get variable %s from mesh' #r #sensor: 'variable')Function sensor: is already built in.
No we have to wait for NxIII to appear and here can catch up on the last 5 pages or so...
(He is online right now)
Uh, no he's not...
Offline
Hmm... The get variable block doesn't seem to work. It can't get the value.
Offline
MathWizz wrote:
Uh, no he's not...
Well he was.
SeptimusHeap wrote:
Hmm... The get variable block doesn't seem to work. It can't get the value.
Is there an actual variable to get?
Offline
markyparky56 wrote:
MathWizz wrote:
Uh, no he's not...
Well he was.
SeptimusHeap wrote:
Hmm... The get variable block doesn't seem to work. It can't get the value.
Is there an actual variable to get?
Yeah. I don't get it. I bet it can't read a string.
Offline