sparks wrote:
hi, yes i'm back.... i had a panini ^_^ the block looks good... parky, why is that over cmplicating things?
Mmmmmmm. Yum! ^o^ (Mouth open for more!)
I've got no ideas for blocks now.
Have you? (hopeful
Offline
MathWizz wrote:
Sperry wrote:
Morning everyone! How are we getting on?
Oh my gosh!!! nXIII posted. Shame having school when everyone else is off. Oh well. Have fun at school today nXIII!
I still don't know how to get my block to work though. I thought about using some sring ops so I'm currently seeing what I can do with it. I'll get back to you on that one.
I think we're going to run out of block ideas and then we won't be able to release another version of Panther!!! Oh No!![]()
See you later guysI'm not off.
![]()
Oh.. I'm sorry to hear that . Going to school soon?
Offline
Sperry wrote:
Wait!!!!!
I got an idea!
Because #rounded: rounds to the nearsest 1, what if we divide the number by what they want it rounded to, then pass it into rounded, then multiply by what they want it rounded to again, and presto!
Do ya think it'll work?
I'll go test my methods!
That's how I do it in regular Scratch, and I knew how to do it since you first suggested it. :p
Offline
Sperry wrote:
MathWizz wrote:
Sperry wrote:
Morning everyone! How are we getting on?
Oh my gosh!!! nXIII posted. Shame having school when everyone else is off. Oh well. Have fun at school today nXIII!
I still don't know how to get my block to work though. I thought about using some sring ops so I'm currently seeing what I can do with it. I'll get back to you on that one.
I think we're going to run out of block ideas and then we won't be able to release another version of Panther!!! Oh No!![]()
See you later guysI'm not off.
![]()
Oh.. I'm sorry to hear that
. Going to school soon?
The good news is that I'm virtual schooled. So I can pop in here every now and then.
Offline
SeptimusHeap wrote:
Sperry wrote:
SeptimusHeap wrote:
Estimate ___ to nearest ___.
blockSpec:Code:
('estimate %n to %nths place' #r #est:ToNearest:)instance:
Code:
est: t1 ToNearest: t2 | t3 t4 t5 | t3 _ t1 * t2. t4 _ t3 rounded. t5 _ t4 / t2. ^ t5It works!
Ha lol,
Same functionality as my block AND same instance code [ERROR: fAiL] (apart fro the title)!
You can do that with my block!
sparks your back! Do you like my new block?It rearranges * and /.
Did you know that you can simplify the code a lot?
est: t1 ToNearest: t2 ^ ((t1 / t2) rounded) * t2
Offline
MathWizz wrote:
Sperry wrote:
Wait!!!!!
I got an idea!
Because #rounded: rounds to the nearsest 1, what if we divide the number by what they want it rounded to, then pass it into rounded, then multiply by what they want it rounded to again, and presto!
Do ya think it'll work?
I'll go test my methods!That's how I do it in regular Scratch, and I knew how to do it since you first suggested it. :p
Oh.. Why didn't you tell me? Did you want me work it out for myself?
MathWizz wrote:
The good news is that I'm virtual schooled.
So I can pop in here every now and then.
Ha, good thing that is!
Offline
sparks wrote:
markyparky56 wrote:
Uh... thats over complicating things...
explain?
Having to code what it gets off a webpage is annoying and inpractical.
Offline
markyparky56 wrote:
sparks wrote:
markyparky56 wrote:
Uh... thats over complicating things...
explain?
Having to code what it gets off a webpage is annoying and inpractical.
well, the webpage is read in HTML, so you have all that code too.
to get the piece of text:
"$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]
[txt18=hello and welcome!]"
which contains my parsering system and nothing else, appears like this:
<!-- WEEBLY_START_CONTENT --><div id='weebly_page_content_container'><div class="paragraph" style=" text-align: left; ">$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]<br />[txt18=hello and welcome!]<br /></div>
... and that's line 54. so you already have to filter out the useful line, and get rid of the useless html text to either end to, leaving you with letters 124 - length of line -12 of line 54 of a total 226 lines of unhelpful text.
So you see that there is actually a HECK of a lot of filtering needed already.
Offline
sparks wrote:
markyparky56 wrote:
sparks wrote:
explain?Having to code what it gets off a webpage is annoying and inpractical.
well, the webpage is read in HTML, so you have all that code too.
to get the piece of text:
"$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]
[txt18=hello and welcome!]"
which contains my parsering system and nothing else, appears like this:
<!-- WEEBLY_START_CONTENT --><div id='weebly_page_content_container'><div class="paragraph" style=" text-align: left; ">$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]<br />[txt18=hello and welcome!]<br /></div>
... and that's line 54. so you already have to filter out the useful line, and get rid of the useless html text to either end to, leaving you with letters 124 - length of line -12 of line 54 of a total 226 lines of unhelpful text.
So you see that there is actually a HECK of a lot of filtering needed already.
So adding in BBcode, which is only found of forums, into that isn't gong to help.
Offline
sparks wrote:
markyparky56 wrote:
sparks wrote:
explain?Having to code what it gets off a webpage is annoying and inpractical.
well, the webpage is read in HTML, so you have all that code too.
to get the piece of text:
"$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]
[txt18=hello and welcome!]"
which contains my parsering system and nothing else, appears like this:
<!-- WEEBLY_START_CONTENT --><div id='weebly_page_content_container'><div class="paragraph" style=" text-align: left; ">$$$1.0Panther Developed$$$[txt59=testing the first Parser of the Panther site and news system.]<br />[txt18=hello and welcome!]<br /></div>
... and that's line 54. so you already have to filter out the useful line, and get rid of the useless html text to either end to, leaving you with letters 124 - length of line -12 of line 54 of a total 226 lines of unhelpful text.
So you see that there is actually a HECK of a lot of filtering needed already.
Yup, alot of filtering. Would you like me to help? I've made a good filter for my browser (see siggy). I'd be glad to help.
Offline
well thank you! the idea is that we can distribute a Panther project that connects to the Panther site, and downloads news and suchlike to be loaded directly to the project, so people can see what's going on in a novel and interesting way. It will also be a great way for them to learn how to use the file blocks.
the idea of the "bb code" that markyparky isn't that fond of, is that seeing as we now have the colour blocks, we can store images as hexadecimal text and re-render it. so by using the bb style code, Panther can read the text off the web page and render a small thumbnail, display ordinary text or even display it as a speech bubble so that we have a colourful, interactive way of displaying data.
Offline
Just had a great idea, I'll email it to you once I'm done.
Offline
MathWizz wrote:
Where is the updated Panther? I can't find it.
Offline
sparks:
How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.
How 'bout it?
I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?
Offline
sparks wrote:
oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under Sparks
You changed it again!? WHY!!!! I liked the other one. The new one is even shorter!
Offline
Sperry wrote:
sparks:
How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.
How 'bout it?
I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?
well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page
the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.
Offline
markyparky56 wrote:
sparks wrote:
oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under SparksYou changed it again!? WHY!!!! I liked the other one. The new one is even shorter!
nXIII works in mysterious ways. Panther site pw is the same, download has changed. I'm sorry, I changed originally becuase someone knew the password who shouldn't.
Offline
sparks wrote:
Sperry wrote:
sparks:
How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.
How 'bout it?
I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page
![]()
the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.
I think you just stick to making a html de-coder... or find a dll to do itfor you, like the other parts of scratch which need a dll
Offline
sparks wrote:
markyparky56 wrote:
sparks wrote:
oh, the download password for the Panther files changed, nXIII thought it was too short.
log in to panther talk to see it. it's under SparksYou changed it again!? WHY!!!! I liked the other one. The new one is even shorter!
nXIII works in mysterious ways. Panther site pw is the same, download has changed. I'm sorry, I changed originally becuase someone knew the password who shouldn't.
Who knew?
Offline
sparks wrote:
Sperry wrote:
sparks:
How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.
How 'bout it?
I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page
![]()
the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.
Ok, cool. I might try the text file - can I put a file on the website to test it?
Right, I uderstand the images now, I don't suggest putting them in until the project gets stable - it could make it laggy.
Offline
Sperry wrote:
sparks wrote:
Sperry wrote:
sparks:
How about, instead of a html page, we make our own coding and save it in a plain text file uploaded to the site, then we don't have to worry about the html code and skipping it.
How 'bout it?
I'm going to leave the images to you, I'm not sure how that will work. I'll do the parsing of the code, Ok?well firstly, yes that's a great idea, but I didn't think the file blocks could read text files on a web page
![]()
the images have a hexadecimal value for each pixil, the color blocks can convert it. it's not the best way to store it as even a small 50X50pixil image has to be stored as 15000 characters... so it's not going to be a major feature.Ok, cool. I might try the text file - can I put a file on the website to test it?
Right, I uderstand the images now, I don't suggest putting them in until the project gets stable - it could make it laggy.
Thats where the stepping blocks come in.
Offline