The Inbox: Nebraska-tpr.42.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

The Inbox: Nebraska-tpr.42.mcz

commits-2
tim Rowledge uploaded a new version of Nebraska to project The Inbox:
http://source.squeak.org/inbox/Nebraska-tpr.42.mcz

==================== Summary ====================

Name: Nebraska-tpr.42
Author: tpr
Time: 23 November 2015, 11:28:38.815 am
UUID: fa28a253-e88a-4641-a22d-3569a99e0262
Ancestors: Nebraska-kfr.41

An accompanying change to the Sound-tpr.45 changes; catch the Warning exception in ChatNotes to inform the user

=============== Diff against Nebraska-kfr.41 ===============

Item was changed:
  ----- Method: ChatNotes>>record (in category 'button commands') -----
  record
 
  self isRecording: true.
  notesIndex = 0 ifFalse: [self notesListIndex: 0].
  sound := nil.
  recorder clearRecordedSound.
+ [recorder resumeRecording] on: Warning do:[:ex|
+ self inform: ex tag]!
- recorder resumeRecording.!


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Nebraska-tpr.42.mcz

Chris Muller-3
Is this so that Scratch users won't have to see the pre-debugger?  If
a Scratch kid gets a debugger and clicks "Debug" isntead of
"Abanadon".  They might get confused or they might learn something..?
It seems the debugger could never be less friendly than #inform:...

If I'm wrong about that, maybe the handling via #inform: could be
based on #noviceMode also being set?

On Mon, Nov 23, 2015 at 1:28 PM,  <[hidden email]> wrote:

> tim Rowledge uploaded a new version of Nebraska to project The Inbox:
> http://source.squeak.org/inbox/Nebraska-tpr.42.mcz
>
> ==================== Summary ====================
>
> Name: Nebraska-tpr.42
> Author: tpr
> Time: 23 November 2015, 11:28:38.815 am
> UUID: fa28a253-e88a-4641-a22d-3569a99e0262
> Ancestors: Nebraska-kfr.41
>
> An accompanying change to the Sound-tpr.45 changes; catch the Warning exception in ChatNotes to inform the user
>
> =============== Diff against Nebraska-kfr.41 ===============
>
> Item was changed:
>   ----- Method: ChatNotes>>record (in category 'button commands') -----
>   record
>
>         self isRecording: true.
>         notesIndex = 0 ifFalse: [self notesListIndex: 0].
>         sound := nil.
>         recorder clearRecordedSound.
> +       [recorder resumeRecording] on: Warning do:[:ex|
> +               self inform: ex tag]!
> -       recorder resumeRecording.!
>
>

Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Nebraska-tpr.42.mcz

timrowledge

> On 23-11-2015, at 1:16 PM, Chris Muller <[hidden email]> wrote:
>
> Is this so that Scratch users won't have to see the pre-debugger?

Nah,  the Scratch code handles it in ScratchSoundRecroderDialog or some-such. These couple of changes are simply suggestions for more politely handling a possible problem in a way that is a touch less painful than a primitiveFailed within a critical block. If people prefer the plain notifier for an unhandled Warning, fine.

ChatNotes etc are not used by Scratch - though enabling group chat could be fun...

>  If
> a Scratch kid gets a debugger and clicks "Debug" isntead of
> "Abanadon".  They might get confused or they might learn something..?

I suspect a teacher of a class of 30-40 8 year olds trying to keep their minds on the required lesson might not see it as at all amusing. Remember, Scratch usage is now part of the national curriculum in the UK.

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- He hasn't a single redeeming vice.



Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Nebraska-tpr.42.mcz

Karl Ramberg


On Mon, Nov 23, 2015 at 11:17 PM, tim Rowledge <[hidden email]> wrote:

> On 23-11-2015, at 1:16 PM, Chris Muller <[hidden email]> wrote:
>
> Is this so that Scratch users won't have to see the pre-debugger?

Nah,  the Scratch code handles it in ScratchSoundRecroderDialog or some-such. These couple of changes are simply suggestions for more politely handling a possible problem in a way that is a touch less painful than a primitiveFailed within a critical block. If people prefer the plain notifier for an unhandled Warning, fine.

ChatNotes etc are not used by Scratch - though enabling group chat could be fun...

>  If
> a Scratch kid gets a debugger and clicks "Debug" isntead of
> "Abanadon".  They might get confused or they might learn something..?

I suspect a teacher of a class of 30-40 8 year olds trying to keep their minds on the required lesson might not see it as at all amusing. Remember, Scratch usage is now part of the national curriculum in the UK.

Oh, that's really big.
Hope they enjoy it :-)

Best,
Karl
 

tim
--
tim Rowledge; [hidden email]; http://www.rowledge.org/tim
Useful random insult:- He hasn't a single redeeming vice.






Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Nebraska-tpr.42.mcz

David T. Lewis
On Mon, Nov 23, 2015 at 11:30:44PM +0100, karl ramberg wrote:

> On Mon, Nov 23, 2015 at 11:17 PM, tim Rowledge <[hidden email]> wrote:
>
> >
> > > On 23-11-2015, at 1:16 PM, Chris Muller <[hidden email]> wrote:
> > >
> > > Is this so that Scratch users won't have to see the pre-debugger?
> >
> > Nah,  the Scratch code handles it in ScratchSoundRecroderDialog or
> > some-such. These couple of changes are simply suggestions for more politely
> > handling a possible problem in a way that is a touch less painful than a
> > primitiveFailed within a critical block. If people prefer the plain
> > notifier for an unhandled Warning, fine.
> >
> > ChatNotes etc are not used by Scratch - though enabling group chat could
> > be fun...
> >
> > >  If
> > > a Scratch kid gets a debugger and clicks "Debug" isntead of
> > > "Abanadon".  They might get confused or they might learn something..?
> >
> > I suspect a teacher of a class of 30-40 8 year olds trying to keep their
> > minds on the required lesson might not see it as at all amusing. Remember,
> > Scratch usage is now part of the national curriculum in the UK.
> >
>
> Oh, that's really big.
> Hope they enjoy it :-)
>

Indeed, it sounds like a pretty big deal, but not something that I would
have remembered since I did not know about it in the first place. Tim,
can you provide a link to "Scratch usage is now part of the national
curriculum in the UK"?

And when they say "Scratch" does it mean the real one, or the "improved"
version that was reimplemented in a soon-to-be-dead language by wannabe
IT managers?

Dave


Reply | Threaded
Open this post in threaded view
|

Re: The Inbox: Nebraska-tpr.42.mcz

Frank Shearar-3
On 24 November 2015 at 03:00, David T. Lewis <[hidden email]> wrote:

> On Mon, Nov 23, 2015 at 11:30:44PM +0100, karl ramberg wrote:
>> On Mon, Nov 23, 2015 at 11:17 PM, tim Rowledge <[hidden email]> wrote:
>>
>> >
>> > > On 23-11-2015, at 1:16 PM, Chris Muller <[hidden email]> wrote:
>> > >
>> > > Is this so that Scratch users won't have to see the pre-debugger?
>> >
>> > Nah,  the Scratch code handles it in ScratchSoundRecroderDialog or
>> > some-such. These couple of changes are simply suggestions for more politely
>> > handling a possible problem in a way that is a touch less painful than a
>> > primitiveFailed within a critical block. If people prefer the plain
>> > notifier for an unhandled Warning, fine.
>> >
>> > ChatNotes etc are not used by Scratch - though enabling group chat could
>> > be fun...
>> >
>> > >  If
>> > > a Scratch kid gets a debugger and clicks "Debug" isntead of
>> > > "Abanadon".  They might get confused or they might learn something..?
>> >
>> > I suspect a teacher of a class of 30-40 8 year olds trying to keep their
>> > minds on the required lesson might not see it as at all amusing. Remember,
>> > Scratch usage is now part of the national curriculum in the UK.
>> >
>>
>> Oh, that's really big.
>> Hope they enjoy it :-)
>>
>
> Indeed, it sounds like a pretty big deal, but not something that I would
> have remembered since I did not know about it in the first place. Tim,
> can you provide a link to "Scratch usage is now part of the national
> curriculum in the UK"?
>
> And when they say "Scratch" does it mean the real one, or the "improved"
> version that was reimplemented in a soon-to-be-dead language by wannabe
> IT managers?

I help run a Code Club (https://www.codeclub.org.uk/) at my boys'
school. It's an _old_ real Scratch, because we see a bug that Tim, on
the latest shiny real one, doesn't see, but it's definitely the Real
Scratch.

I don't know about official announcements etc., though. You'll see in
the Code Club sample projects target the Pretender Scratch. (Also, see
the Code Club curriculum:
https://www.codeclubprojects.org/en-GB/resources/scratch-intro/)

So maybe it's a school-by-school thing.

frank

> Dave