Discuss Scratch

MegaApuTurkUltra
Scratcher
1000+ posts

tosh: i have some questions

blob8108 wrote:

drmcw wrote:

I do hope you're providing a decent debugger?
Well, that all depends. What would a decent debugger look like?

If you mean “better than Scratch”, then sorry, no…
This isn't really much of a tosh-related issue. You'd need to mod phosphorus (add support for some custom “breakpoint” JSON and make it pause there - it shouldn't be too hard really)
ChocolatePi
Scratcher
1000+ posts

tosh: i have some questions

MegaApuTurkUltra wrote:

blob8108 wrote:

drmcw wrote:

I do hope you're providing a decent debugger?
Well, that all depends. What would a decent debugger look like?

If you mean “better than Scratch”, then sorry, no…
This isn't really much of a tosh-related issue. You'd need to mod phosphorus (add support for some custom “breakpoint” JSON and make it pause there - it shouldn't be too hard really)
But then you'd have to remove the breakpoint or else it won't work with Scratch!
Jonathan50
Scratcher
1000+ posts

tosh: i have some questions

define breakpoint
if <not <(debug) = [1]>>
stop [this script v]
end
say [breakpoint reached] for (3) secs
repeat until <(answer) = [y]>
ask [Continue?] and wait
end

define assert (assertion) <cond>
if <not <(debug) = [1]>>
stop [this script v]
end
if <not <cond :: custom-arg>>
say (join (join [assertion ] (assertion)) [ failed!!]) for (3) secs
repeat until <(answer) = [y]>
ask [Continue?] and wait
end
end
problem solved
blob8108
Scratcher
1000+ posts

tosh: i have some questions

MegaApuTurkUltra wrote:

This isn't really much of a tosh-related issue. You'd need to mod phosphorus
Yeah, you'd have to modify phosphorus; that's one of the reasons fancy debugging isn't going to happen! (The phosphorus player integration is already a tiny bit hacky. It works, and mostly works how you'd expect, but it's not super-nice internally!)

Last edited by blob8108 (Jan. 19, 2016 23:07:45)

bobbybee
Scratcher
1000+ posts

tosh: i have some questions

ChocolatePi wrote:

MegaApuTurkUltra wrote:

blob8108 wrote:

drmcw wrote:

I do hope you're providing a decent debugger?
Well, that all depends. What would a decent debugger look like?

If you mean “better than Scratch”, then sorry, no…
This isn't really much of a tosh-related issue. You'd need to mod phosphorus (add support for some custom “breakpoint” JSON and make it pause there - it shouldn't be too hard really)
But then you'd have to remove the breakpoint or else it won't work with Scratch!

Harder said than done :-)
MegaApuTurkUltra
Scratcher
1000+ posts

tosh: i have some questions

bobbybee wrote:

ChocolatePi wrote:

MegaApuTurkUltra wrote:

blob8108 wrote:

drmcw wrote:

I do hope you're providing a decent debugger?
Well, that all depends. What would a decent debugger look like?

If you mean “better than Scratch”, then sorry, no…
This isn't really much of a tosh-related issue. You'd need to mod phosphorus (add support for some custom “breakpoint” JSON and make it pause there - it shouldn't be too hard really)
But then you'd have to remove the breakpoint or else it won't work with Scratch!

Harder said than done :-)
I'd assume Scratch skips over invalid blocks - it shouldn't do anything bad right?
MegaApuTurkUltra
Scratcher
1000+ posts

tosh: i have some questions

Jonathan50 wrote:

snippity snip::grey
problem solved
A variable/list browser might be nice too though.
even just a list watcher in phosphorus would be nice *ahem*
drmcw
Scratcher
1000+ posts

tosh: i have some questions

blob8108 wrote:

drmcw wrote:

I do hope you're providing a decent debugger?
Well, that all depends. What would a decent debugger look like?

If you mean “better than Scratch”, then sorry, no…
Surely having a debugger would make it better than scratch?
Breakpoints, single stepping and viewing data at a breakpoint would be a great start.
Icely
Scratcher
100+ posts

tosh: i have some questions

blob8108 wrote:

Icely wrote:

Wish you would share the source, though.
I plan to release at least part of it on GitHub, and I think I'd like to be able to accept contributions from the community. However, I don't yet have a plan for releasing the code under an open-source licence (that is, one which lets you remix tosh). I'm considering 3-clause BSD, or maybe something similar to the Scratch Source Code License.

Basically, tosh is a labour of love, and I've been working on this “project” in effect for over four years, so the thought of someone else stealing my code, and eg. selling it somewhere, is really scary!

EDIT: I realise you probably meant “I wish you would release it now”? To which the answer is: it's not ready yet! I want it to be useful before I release it. It looks good in screenshots, but there's still a fair bit of missing functionality, that would stop you from using it for making actual projects.

That said, if you're interested in beta testing… drop me an email
I meant both.
And I think that the GNU license would be a good fit. (Possibly)

[/lateresponse]
Jonathan50
Scratcher
1000+ posts

tosh: i have some questions

blob8108 wrote:

technoboy10 wrote:

(Maybe I don't see *why* you want to release it there)
Because it's an easy way to distribute apps to OS X users?
Yeah. I expect I'll get more money from selling a Mac app than I would from donations. And a native app is a really nice thing to have!

I'm happy with 3-clause BSD. The nefarious code-stealing doomsday scenario isn't going to happen
Oh, since you are the copyright holder, you may put the online version as (A)GPL and make the Mac app version proprietary*, unless you are using (A)GPL code by someone else in the Mac app.

*yes Apple's Mac App Store TOS adds restrictions that makes your app nonfree

Last edited by Jonathan50 (Jan. 22, 2016 07:39:58)

bobbybee
Scratcher
1000+ posts

tosh: i have some questions

Jonathan50 wrote:

blob8108 wrote:

technoboy10 wrote:

(Maybe I don't see *why* you want to release it there)
Because it's an easy way to distribute apps to OS X users?
Yeah. I expect I'll get more money from selling a Mac app than I would from donations. And a native app is a really nice thing to have!

I'm happy with 3-clause BSD. The nefarious code-stealing doomsday scenario isn't going to happen
Oh, since you are the copyright holder, you may put the online version as (A)GPL and make the Mac app version proprietary*, unless you are using (A)GPL code by someone else in the Mac app.

*yes Apple's Mac App Store TOS adds restrictions that makes your app nonfree

Probably best to consult a lawyer at this point .-.
blob8108
Scratcher
1000+ posts

tosh: i have some questions

Jonathan50 wrote:

Oh, since you are the copyright holder, you may put the online version as (A)GPL and make the Mac app version proprietary*, unless you are using (A)GPL code by someone else in the Mac app.

*yes Apple's Mac App Store TOS adds restrictions that makes your app nonfree
Yes, I realised this a page or two ago!
Ethan_1
Scratcher
100+ posts

tosh: i have some questions

@blob8108 did you notice that I gave you my email in the survey? If you don't want to hand me the beta that is fine, I just want to make sure that you saw it.
blob8108
Scratcher
1000+ posts

tosh: i have some questions

Ethan_1 wrote:

did you notice that I gave you my email in the survey?
I sent an email; hopefully to your address.
KittyNinja54
Scratcher
60 posts

tosh: i have some questions

lolwut
hiccup01
Scratcher
100+ posts

tosh: i have some questions

KittyNinja54 wrote:

lolwut
? (At least try to contribute to the discussion…)

Last edited by hiccup01 (Jan. 26, 2016 07:29:47)

Thepuzzlegame
Scratcher
1000+ posts

tosh: i have some questions

hiccup01 wrote:

KittyNinja54 wrote:

lolwut
? (At least try to contribute to the discussion…)
I think they were responding to the deleted post. although I do agree the response wasn't necesary
BookOwl
Scratcher
1000+ posts

tosh: i have some questions

@blob8108, did you get my second email?
NoMod-Programming
Scratcher
1000+ posts

tosh: i have some questions

tosh tosh tosh
Ethan_1
Scratcher
100+ posts

tosh: i have some questions

NoMod-Programming wrote:

tosh tosh tosh
I will say this once and only once, please no tosh spamming / memeing. Your cooperation is appreciated.

Powered by DjangoBB