This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#51 2010-05-22 08:56:53

MathWizz
Scratcher
Registered: 2009-08-31
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

nXIII wrote:

MathWizz wrote:

-10 times -1 does not equal -1. To negative numbers produce a product of a positive number. I even checked it on my calculator.

Wait a second, "-10 times -1 does not equal -1"?
And "To negative numbers produce a positive number"?
See, we both typed stuff wrong.

soupoftomato wrote:

I'm just a fifth grader! And that post sounded really smart alec.

I got my information from Lucario621's post in some topic in the Suggestions. http://scratch.mit.edu/forums/viewtopic.php?id=34645

But know that I see that, it says use one of the following.

But, that post just basically said, "YOUR STUPID!"

Wait, MathWizz's or mine?

Oh, lol! "Two", not "To". Anyway, -10 * -10 = 100. This proves it.


http://block.site90.net/scratch.mit/text.php?size=30&text=%20A%20signature!&color=333333

Offline

 

#52 2010-05-23 12:41:46

shamrocker
Scratcher
Registered: 2009-03-19
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

THAT was a hassle. I had to make the file into a .007, for the .007 at the end instead of .zip,cause it wasn't unzipping the file. But now I've got it! Thanks!


http://i46.tinypic.com/2s1b32e.png
respect the oxford comma

Offline

 

#53 2010-05-25 13:14:29

arman2003ahmadi
Scratcher
Registered: 2010-01-06
Posts: 4

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

<{ variable - byob making block }>

Offline

 

#54 2010-06-12 14:28:54

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

Guys!!! I saw the posts of the inverse block and I made my own version! It requires no scripts except everything you want to add will be in the report section. see for yourself:

http://scratchx.webs.com/apps/photos/photo?photoid=86480635


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#55 2010-06-12 14:49:21

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

MathWizz wrote:

nXIII wrote:

MathWizz wrote:

-10 times -1 does not equal -1. To negative numbers produce a product of a positive number. I even checked it on my calculator.

Wait a second, "-10 times -1 does not equal -1"?
And "To negative numbers produce a positive number"?
See, we both typed stuff wrong.

soupoftomato wrote:

I'm just a fifth grader! And that post sounded really smart alec.

I got my information from Lucario621's post in some topic in the Suggestions. http://scratch.mit.edu/forums/viewtopic.php?id=34645

But know that I see that, it says use one of the following.

But, that post just basically said, "YOUR STUPID!"

Wait, MathWizz's or mine?

Oh, lol! "Two", not "To". Anyway, -10 * -10 = 100. This proves it.

I know -10 * -10 = 100. It was a typo.


nXIII

Offline

 

#56 2010-06-14 11:58:28

krackers
Scratcher
Registered: 2010-05-08
Posts: 61

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

Here are a few more ideas... ( I already made them, try to make them yourself. If you want help, I can post photos)

<Pointing in same direction as []>
<Pointing towards []>

( [] ^ () )
( []! )
< [] is what? >
( [] letters of [] )


c shaped

do _ for () seconds.

Offline

 

#57 2010-06-14 12:45:06

bharvey
Scratcher
Registered: 2008-08-10
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

do _ for () seconds.

I like this one a lot!  Sounds really useful.


http://cs.berkeley.edu/~bh/sig5.png

Offline

 

#58 2010-06-14 16:06:47

jackrulez
Scratcher
Registered: 2009-08-01
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

bharvey wrote:

krackers wrote:

do _ for () seconds

I like this one a lot! Sounds really useful.

I made it:
http://img808.imageshack.us/img808/128/picture2w.png
Credit to ScratchReallyRocks for the [do [] and []] block.

Last edited by jackrulez (2010-06-14 16:07:03)


Yawn, another boring text signature. I should really make something better.

Offline

 

#59 2010-06-15 11:13:19

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

Here are a few more ideas... ( I already made them, try to make them yourself. If you want help, I can post photos)

I want help... lol


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#60 2010-06-15 14:06:35

krackers
Scratcher
Registered: 2010-05-08
Posts: 61

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

jackrulez wrote:

bharvey wrote:

krackers wrote:

do _ for () seconds

I like this one a lot! Sounds really useful.

I made it:
http://img808.imageshack.us/img808/128/picture2w.png
Credit to ScratchReallyRocks for the [do [] and []] block.

I did it a different method...
Can you share the do [] and [] block?


For the one who wanted help...

Which block?

Last edited by krackers (2010-06-15 14:09:15)

Offline

 

#61 2010-06-15 15:18:46

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

Can you share the do [] and [] block??

Here's the project where I shared it...Cool new blox in BYOB

Oh and I made the () ^ () block:

http://img696.imageshack.us/img696/9227/screenshot20100615at347.png

Then it has to report the result.

Last edited by ScratchReallyROCKS (2010-06-15 15:48:57)


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#62 2010-06-15 16:15:18

krackers
Scratcher
Registered: 2010-05-08
Posts: 61

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

Easier way

TWo variable

base and power

10 ^ of (power) * log of (base)

And the method I used for do _ for [X] seconds was...

repeat 16*X
run _

Last edited by krackers (2010-06-15 16:20:20)

Offline

 

#63 2010-06-15 18:24:26

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

10 ^ of (power) * log of (base)_

I quadruple checked and this doesn't work.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#64 2010-06-15 18:40:30

TheExternal
Scratcher
Registered: 2008-11-04
Posts: 54

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

For the one who wanted help...
Which block?

I tried to make the letters of block.
                          -Sincerely,
                The One Who Wanted Help


http://i37.tinypic.com/2jdp99s.png
The funniest thing about this quote is that by the time you realize it doesn't say anything of importance, it's too late to stop reading it.

Offline

 

#65 2010-06-15 18:46:55

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

ScratchReallyROCKS wrote:

krackers wrote:

10 ^ of (power) * log of (base)_

I quadruple checked and this doesn't work.

The parentheses should look like this:

10 ^ (power * log of (base))

the reason this is better than the repeat (...) method is that it accepts fractional and negative numbers for the exponent.


nXIII

Offline

 

#66 2010-06-15 19:08:23

krackers
Scratcher
Registered: 2010-05-08
Posts: 61

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

^^

Yup... like that.

Here is the [] characters of [] block

http://img529.imageshack.us/i/abch.gif/

Do report result at the end

Offline

 

#67 2010-06-15 21:07:13

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

nXIII wrote:

ScratchReallyROCKS wrote:

krackers wrote:

10 ^ of (power) * log of (base)_

I quadruple checked and this doesn't work.

The parentheses should look like this:

10 ^ (power * log of (base))

the reason this is better than the repeat (...) method is that it accepts fractional and negative numbers for the exponent.

Okay, that's better. Not that it's a big deal or anything, but it reports with a decimal. maybe you could put a (round () ) block in so it doesn't do that...


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#68 2010-06-15 21:26:06

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

ScratchReallyROCKS wrote:

nXIII wrote:

ScratchReallyROCKS wrote:


I quadruple checked and this doesn't work.

The parentheses should look like this:

10 ^ (power * log of (base))

the reason this is better than the repeat (...) method is that it accepts fractional and negative numbers for the exponent.

Okay, that's better. Not that it's a big deal or anything, but it reports with a decimal. maybe you could put a (round () ) block in so it doesn't do that...

It's the inaccuracy of floating point numbers... sadly, only ten decimals. I think it's probably like (for example) 35.9999999999 or 36.0000000001 instead of 36. But this is sometimes good, such as the square root of two, or 2^(1/2), an irrational number.


nXIII

Offline

 

#69 2010-06-16 14:14:40

krackers
Scratcher
Registered: 2010-05-08
Posts: 61

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

Anyone want to make the <irrational?> block?

Offline

 

#70 2010-06-16 18:39:11

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

Anyone want to make the <irrational?> block?

I'm not sure if that's possible but I'll try...


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#71 2010-06-16 18:54:25

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

ScratchReallyROCKS wrote:

krackers wrote:

Anyone want to make the <irrational?> block?

I'm not sure if that's possible but I'll try...

It's impossible because computers can't store irrational numbers. They have a never-ending decimal, so they would take up an infinite amount of space.


nXIII

Offline

 

#72 2010-06-16 19:58:30

krackers
Scratcher
Registered: 2010-05-08
Posts: 61

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

made it!

Simple.... check if the length of the number is greater than 9. It won't help for numbers like 1.11111111111111111... but it is good enough.

Offline

 

#73 2010-06-16 20:42:12

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

krackers wrote:

made it!

Simple.... check if the length of the number is greater than 9. It won't help for numbers like 1.11111111111111111... but it is good enough.

Well, this isn't a true "irrational number" block because a number could equal 7.6543219876543218 and stop there, but it would still call it irrational, even though it's rational.


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

#74 2010-06-16 21:05:57

nXIII
Community Moderator
Registered: 2009-04-21
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

ScratchReallyROCKS wrote:

krackers wrote:

made it!

Simple.... check if the length of the number is greater than 9. It won't help for numbers like 1.11111111111111111... but it is good enough.

Well, this isn't a true "irrational number" block because a number could equal 7.6543219876543218 and stop there, but it would still call it irrational, even though it's rational.

It's a difficult problem. What could you define as "irrational" that would have meaning in the world of computers? A number that exceeds the accuracy of the storage system? If you define it like that, it's truly impossible to make a block which tests that because we can't tell, through BYOB, when this occurs.

Last edited by nXIII (2010-06-16 21:06:29)


nXIII

Offline

 

#75 2010-06-16 21:10:26

ScratchReallyROCKS
Scratcher
Registered: 2009-04-22
Posts: 1000+

Re: Learn To Build Your Own Blocks - A Beginners Guide To BYOB

nXIII wrote:

ScratchReallyROCKS wrote:

krackers wrote:

made it!

Simple.... check if the length of the number is greater than 9. It won't help for numbers like 1.11111111111111111... but it is good enough.

Well, this isn't a true "irrational number" block because a number could equal 7.6543219876543218 and stop there, but it would still call it irrational, even though it's rational.

It's a difficult problem. What could you define as "irrational" that would have meaning in the world of computers? A number that exceeds the accuracy of the storage system? If you define it like that, it's truly impossible to make a block which tests that because we can't tell, through BYOB, when this occurs.

An irrational number is a non-terminating, non-repeating decimal (not that anyone doesn't already know) Is there any way to tell this to BYOB?


http://imageshack.us/a/img694/3806/sigmad.png

Offline

 

Board footer