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

#4376 2012-01-04 11:20:47

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

Awesome, I was hoping there was something like this.  Too bad it's Adobe instead of free (as in freedom) software, but I'll take what I can get.

Yeah.... Windows 8 apps may also be constructed from HTML and JavaScript, and Microsoft's new app store is set to allow open source applications!  big_smile 

bharvey wrote:

(EDIT:  OMG did you actually read the license agreement...)

Lol!

"Adobe" means Adobe Systems Incorporated, a Delaware corporation, 345 Park Avenue, San Jose, California 95110, if subsection 12(a) of this agreement applies; otherwise it means Adobe Systems Software Ireland Limited, 4-6 Riverwalk, Citywest Business Campus, Dublin 24, Ireland, a company organized under the laws of Ireland and an affiliate and licensee of Adobe Systems Incorporated.

bharvey wrote:

(EDIT 2: Okay, I'm confused.)

That IS pretty strange. I assumed they were talking about the actual Adobe programs, not the applications created with them, but now I'm not so sure.

Last edited by shadow_7283 (2012-01-04 11:21:21)

Offline

 

#4377 2012-01-05 21:43:01

ElectricSparx
Scratcher
Registered: 2008-02-16
Posts: 100+

Re: BYOB 3 - Discussion Thread

Well, I can go on the forums again. Say Brian, any chance us special Snappers can play around with a prototype?  tongue


Lead Developer for Scratch Adventure

Offline

 

#4378 2012-01-05 22:55:18

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

Re: BYOB 3 - Discussion Thread

ElectricSparx wrote:

Well, I can go on the forums again.

I'm tempted to pursue this but perhaps it would be best if I didn't.

Say Brian, any chance us special Snappers can play around with a prototype?  tongue

Eh?  You get to see Jens's daily uploads as soon as I do:

http://chirp.scratchr.org/dl/experiment … turus.html


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

Offline

 

#4379 2012-01-06 07:04:21

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

Re: BYOB 3 - Discussion Thread

yikes  Everything was updated! What did you change?  big_smile


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

Offline

 

#4380 2012-01-06 10:06:30

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

MathWizz wrote:

yikes  Everything was updated! What did you change?  big_smile

... a lot of changes in most modules, most of which you probably (hopefully, actually) don't see, unless you're using Mac OS X Lion, in which case you should see some rendering improvements, especially with widgets (dialog boxes, buttons etc.). I've also started working on the input slot dialog (short form), but it's still under construction and not yet functional.


Jens Mönig

Offline

 

#4381 2012-01-06 10:21:44

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

MathWizz wrote:

yikes  Everything was updated! What did you change?  big_smile

... a lot of changes in most modules, most of which you probably (hopefully, actually) don't see, unless you're using Mac OS X Lion, in which case you should see some rendering improvements, especially with widgets (dialog boxes, buttons etc.). I've also started working on the input slot dialog (short form), but it's still under construction and not yet functional.

Suggestion: can the text box input, rather than rendering a real text box, be a label that when clicked uses a JavaScript prompt() box to take an input? It would save on rendering time a LOT.


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4382 2012-01-06 10:42:38

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

How would it save any time, does it take long for you to enter a string? I want to design our own complex input boxes and be independent of native OS stuff that I can't totally control myself  smile

Last edited by Jens (2012-01-06 10:43:26)


Jens Mönig

Offline

 

#4383 2012-01-06 14:17:56

ZeroLuck
Scratcher
Registered: 2010-02-23
Posts: 500+

Re: BYOB 3 - Discussion Thread

Jens wrote:

How would it save any time, does it take long for you to enter a string? I want to design our own complex input boxes and be independent of native OS stuff that I can't totally control myself  smile

And your Dialog Box looks much better than the natives...
But there is a gitch when you try to close them:
It needs very much time, the same when you make a variable.


http://3.bp.blogspot.com/-oL2Atzp0Byw/T465vIQ36dI/AAAAAAAAADo/1vqL4PvhkM0/s1600/scratchdachwiki.png

Offline

 

#4384 2012-01-06 16:21:12

ElectricSparx
Scratcher
Registered: 2008-02-16
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ElectricSparx wrote:

Well, I can go on the forums again.

I'm tempted to pursue this but perhaps it would be best if I didn't.

Say Brian, any chance us special Snappers can play around with a prototype?  tongue

Eh?  You get to see Jens's daily uploads as soon as I do:

http://chirp.scratchr.org/dl/experiment … turus.html

Wonderful! Though I have to criticize the cluttered Block Area.

I'll have to remember to check chirp.scratchr.org out sometime.


Lead Developer for Scratch Adventure

Offline

 

#4385 2012-01-06 17:28:00

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

Re: BYOB 3 - Discussion Thread

ElectricSparx wrote:

Though I have to criticize the cluttered Block Area.

Don't worry; the UI part of the development has barely begun.  It'll be a tabbed palette as before, more or less.


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

Offline

 

#4386 2012-01-07 02:31:20

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jens wrote:

How would it save any time, does it take long for you to enter a string? I want to design our own complex input boxes and be independent of native OS stuff that I can't totally control myself  smile

Yeah, it does take much longer. Why not add a "settings" panel where a user can choose the preferred system?


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4387 2012-01-07 13:09:35

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

Re: BYOB 3 - Discussion Thread

Hardmath123 wrote:

Yeah, it does take much longer. Why not add a "settings" panel where a user can choose the preferred system?

@Hardmath:  Aargh, we're having enough trouble meeting deadlines just implementing things once!  Plus, what you suggest would be an ongoing support nightmare.  "My project doesn't work."  "Please tell me all the settings of every option in your preferences so I can debug it for that particular combination of features."

@Jens:  But it's true that typing into input slots is slow to echo.  I have that problem also.  But then, so is just dragging a block.  My computer at work is a few years old, so maybe if I had an up-to-the-minute computer it'd be better, but I'm probably not the only one with a slow computer.  Once we get things working at all, we'll have to think about UI speedup as well as the evaluation speedup that I mostly worry about.


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

Offline

 

#4388 2012-01-07 13:49:08

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

Re: BYOB 3 - Discussion Thread

bharvey wrote:

@Jens:  But it's true that typing into input slots is slow to echo.  I have that problem also.  But then, so is just dragging a block.  My computer at work is a few years old, so maybe if I had an up-to-the-minute computer it'd be better, but I'm probably not the only one with a slow computer.  Once we get things working at all, we'll have to think about UI speedup as well as the evaluation speedup that I mostly worry about.

We should be using native texboxes overlaid on the canvas, which would be much faster and support all input methods and ATs.


nXIII

Offline

 

#4389 2012-01-07 14:15:45

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

Re: BYOB 3 - Discussion Thread

nXIII wrote:

We should be using native texboxes overlaid on the canvas, which would be much faster and support all input methods and ATs.

Don't forget, it's not just about filling the input slots.  You also have to drag the input slots along when dragging a block.  I can just imagine the textbox not quite keeping up with the block...

EDIT:  I  suppose it'd be possible to create the text box only when you click in the input slot.  But then as the user types into the text box, it has to grow, and the block underneath has to grow with it.  Sounds like a can of worms to me.

Last edited by bharvey (2012-01-07 14:17:20)


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

Offline

 

#4390 2012-01-07 17:42:29

ElectricSparx
Scratcher
Registered: 2008-02-16
Posts: 100+

Re: BYOB 3 - Discussion Thread

bharvey wrote:

ElectricSparx wrote:

Though I have to criticize the cluttered Block Area.

Don't worry; the UI part of the development has barely begun.  It'll be a tabbed palette as before, more or less.

Any way we can help?


Lead Developer for Scratch Adventure

Offline

 

#4391 2012-01-07 23:57:25

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

Re: BYOB 3 - Discussion Thread

ElectricSparx wrote:

bharvey wrote:

ElectricSparx wrote:

Though I have to criticize the cluttered Block Area.

Don't worry; the UI part of the development has barely begun.  It'll be a tabbed palette as before, more or less.

Any way we can help?

Dunno,  We've been reluctant to throw more people at this because the time to completion of a project is generally quadratic in the number of programmers.  But let's see what our plan is after Jens and I meet this week.  (Tuesday!)

(EDIT:  Jens arrived; he's currently asleep in my guest room.  Tomorrow we start working.)

Last edited by bharvey (2012-01-10 21:58:46)


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

Offline

 

#4392 2012-01-14 11:46:24

Jmpessanha
New Scratcher
Registered: 2011-12-24
Posts: 2

Re: BYOB 3 - Discussion Thread

Just a question to BYOB experts: I am using recursion on a user defined BYOB block that solves cryptarithmetic  problems using a tree search approach. It seems that when a solution is not possible and we must come back more than one tree level the instance of the procedure is lost.
Do you recognize this behavior?

I aslo would like to take this opportunity to congratulate Brian and Jens for the work that is being done. I found BYOB when I was trying to find a simple language to teach my younger daughter to program. I imagined to have something like Lego representing programming blocks. Ten minutes after my first google search I was already making some fancy cartoon dancing in a stage. Fantastic!
I have to confess that I'm programming in BYOB much more than my daughter.

Offline

 

#4393 2012-01-14 12:36:43

roijac
Scratcher
Registered: 2010-01-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Jmpessanha wrote:

Just a question to BYOB experts: I am using recursion on a user defined BYOB block that solves cryptarithmetic  problems using a tree search approach. It seems that when a solution is not possible and we must come back more than one tree level the instance of the procedure is lost.
Do you recognize this behavior?

I aslo would like to take this opportunity to congratulate Brian and Jens for the work that is being done. I found BYOB when I was trying to find a simple language to teach my younger daughter to program. I imagined to have something like Lego representing programming blocks. Ten minutes after my first google search I was already making some fancy cartoon dancing in a stage. Fantastic!
I have to confess that I'm programming in BYOB much more than my daughter.

can u upload the block?
i cannot really do anything without it, description too unclear  hmm

Offline

 

#4394 2012-01-14 12:37:48

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

Re: BYOB 3 - Discussion Thread

Jmpessanha wrote:

when a solution is not possible and we must come back more than one tree level the instance of the procedure is lost.

I'm not sure what you mean.  The fact that a procedure call returns when a branch of the tree fails is what you want, isn't it?  Or does "instance of the procedure" mean something different from "procedure call"?

congratulate Brian and Jens

Thanks!

I have to confess that I'm programming in BYOB much more than my daughter.

big_smile   Maybe you should start her on plain Scratch. When/if she gets bored with that you can introduce BYOB.


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

Offline

 

#4395 2012-01-14 14:05:25

Jmpessanha
New Scratcher
Registered: 2011-12-24
Posts: 2

Re: BYOB 3 - Discussion Thread

I will try to be more clear: suppose iI want to find the values of the letters that verifies the
rquation a+b+c=de. Of course each letter must correspond to a different number. This is a simple exercise with a lot of solutions but is only to illustrate the problem. The algorithm starts by trying 1 for a, then 2 for b and then 3 for c. I do this by calling the solver block several times. In the next call it is clear that e must be 6 and d zero. But d cannot be zero. So this solution is impossible. The algorithm should go back trying all the values for c and if no solution is found try a new value for b, etc. In this process of going back it seems that Byob could not remember where it was when executed the recursive block and it had fixed the value of c.defined the value for c.
I have tried similar approaches to different search problems in C, objective c, perl, visual basic, etc and normaly the call back works perfectly. I was just wondering if it is a normal behavior in BYob.

Offline

 

#4396 2012-01-14 14:29:41

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

Re: BYOB 3 - Discussion Thread

Jmpessanha wrote:

In this process of going back it seems that Byob could not remember where it was when executed the recursive block and it had fixed the value of c.

That should indeed work.  Could you email me (bh@cs.berkeley.edu) your project?


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

Offline

 

#4397 2012-01-14 17:25:01

shadow_7283
Scratcher
Registered: 2007-11-07
Posts: 1000+

Re: BYOB 3 - Discussion Thread

Was the timer there before? I can't seem to remember.
In any event, the refresh rate of the watcher is pretty low. Will that change?

Offline

 

#4398 2012-01-15 06:00:38

Hardmath123
Scratcher
Registered: 2010-02-19
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Was the timer there before?

Yeah, it came with the mouse stuff if I remember right...


Hardmaths-MacBook-Pro:~ Hardmath$ sudo make $(whoami) a sandwich

Offline

 

#4399 2012-01-15 14:22:08

Jens
Scratcher
Registered: 2007-06-04
Posts: 1000+

Re: BYOB 3 - Discussion Thread

shadow_7283 wrote:

Was the timer there before? I can't seem to remember.
In any event, the refresh rate of the watcher is pretty low. Will that change?

The timer reports the precise time whenever you ask it, but the stage watcher only updates twice a second. Wait, twice per second that's faster than my wristwatch  smile

I don't plan to change the refresh rate for stage watchers, because I'd rather assign more resources to evaluating the scripts.

Last edited by Jens (2012-01-15 14:22:33)


Jens Mönig

Offline

 

#4400 2012-01-15 14:42:00

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

Re: BYOB 3 - Discussion Thread

Jens wrote:

shadow_7283 wrote:

Was the timer there before? I can't seem to remember.
In any event, the refresh rate of the watcher is pretty low. Will that change?

The timer reports the precise time whenever you ask it, but the stage watcher only updates twice a second. Wait, twice per second that's faster than my wristwatch  smile

I don't plan to change the refresh rate for stage watchers, because I'd rather assign more resources to evaluating the scripts.

I can work on making the watchers update only when their values change (with a maximum refresh rate)


nXIII

Offline

 

Board footer