ScratchReallyROCKS wrote:
[reference to removed posts removed by moderator] Like when nXIII and bbbeb where arguing about wether 0-n is the same thing as n*-1, it doesn't help with anything.
Proof:
We are trying to prove that 0 - n = n * -1. Let's start by assuming that is false.
0 - n ≠ n * -1
Equivalent:
0 - n ≠ -n
Add n to both sides:
0 - n + n ≠ -n + n
Equivalent:
0 - n + n ≠ n - n
Cancel out:
0 ≠ 0
Clearly not right, therefore our assumption that it was false was wrong, so it has to be true.
QED
Last edited by Wolfie1996 (2010-11-09 12:23:17)
Offline
MathWizz wrote:
ScratchReallyROCKS wrote:
Hey, could I make a "Suggestions" category on the HTML scratch viewer forums?
Sure!
Alright! I added it.
Offline
JS FILE READER COMPLETE!!!!
http://scratchhtmlviewer.net23.net/viewer/
Offline
Ah, I cant get it working. it says a script is making Internet Explorer run slowly...
Offline
MathWizz wrote:
johnnydean1 wrote:
Ah, I cant get it working. it says a script is making Internet Explorer run slowly...
Poor Internet Explorer. Try a small file (1 kb.)
It doesn't work with Google chrome either
Offline
pwiter wrote:
MathWizz wrote:
johnnydean1 wrote:
Ah, I cant get it working. it says a script is making Internet Explorer run slowly...
Poor Internet Explorer. Try a small file (1 kb.)
It doesn't work with Google chrome either
I have Chrome. How big is your file?
Offline
pwiter wrote:
MathWizz wrote:
pwiter wrote:
249 kb is it too big
1024 * 249 = 254976 bytes! Nope... Too big...
What's the maximum file size
I just tried it with a 242 kb file and it worked like a charm...
EDIT: LOL! That whole file was sound, not images or scripts...
Last edited by MathWizz (2010-11-10 07:45:17)
Offline
MathWizz wrote:
JS FILE READER COMPLETE!!!!
http://scratchhtmlviewer.net23.net/viewer/
Nice!
One thing I'd recommend: use the String.fromCharCode(...) and string.charCodeAt(...) methods instead of big arrays for conversions
Oh, and maybe limit the output...it makes your script slower.
Last edited by nXIII (2010-11-10 13:51:04)
Offline
nXIII wrote:
One thing I'd recommend: use the String.fromCharCode(...) and string.charCodeAt(...) methods instead of big arrays for conversions
![]()
Wow... I had to do ALL THAT WORK, and there are already too functions for it.
nXIII wrote:
Oh, and maybe limit the output...it makes your script slower.
I realized that but I didn't realize HOW slow...
Offline
Can you modify it to read projects from the scratch site when given a address.
Offline
johnnydean1 wrote:
Can you modify it to read projects from the scratch site when given a address.
That's the point of it, right?
When are we going to get to the block adding, because that's the part I want to help with.
Offline
ScratchReallyROCKS wrote:
johnnydean1 wrote:
Can you modify it to read projects from the scratch site when given a address.
That's the point of it, right?
When are we going to get to the block adding, because that's the part I want to help with.
Now that we have read the the file we can start making the viewer!
EDIT: Has ANYONE (not nXIII) gotten it to work?
Last edited by MathWizz (2010-11-10 16:19:42)
Offline
I can get it to work with small files (under about 50kb)
Last edited by johnnydean1 (2010-11-10 16:25:58)
Offline
91,316 bytes I am now trying
Offline
89.1 KB (91,316 bytes) doen't work
Offline