Personally, I have no problem posting responses after considering them
for days, weeks, or years, if necessary.  But that does not mean I
want to forego discussion of the issues, expressing of ideas in code,
or any of the other avenues of growth afforded by the forums.

And there are deeper issues, here, which might be relevant to the
conversation, but I do not know enough of how you perceive things to
know if they would be relevant to you.

As for the sound and video thing?  I am not able to reproduce your experience:

      require 'gui/gtkwd'
not found: C:\Users\rdmiller\j64-602\gui\gtkwd\gtkwd

Ok, you probably are expecting me to use j7's gtk?

not found: C:/Users/rdmiller/j64-701/gui/gtkwd/gtkwd
|file name error: script

And perhaps with a current set of packages?

'xywh 0 0 100 100;cc b1 button bs_ownerdraw;cn
|open quote

Ok, mailer broke the line -- fixable, but I like to try to remember to
express long lines in a 0 :0 block.

So.. when I run that, I get a beep sound and then the form pops up.

Looking at your code, it looks like you designed it to do that.

You have:

'winmm PlaySoundA > i *c x i'&cd 'c:\users\owner\j701\willie\00will.wav';0;0
wd 'pshow'

In other words, you are playing the code and then rendering the form.

Here, I needed about 10 seconds to re-read your code, after it was
running with the behavior you had reported, to come up with a
hypothesis about your problem, test it, and see that it was valid.
But I needed something like 5-10 minutes to deal with issues that you
could have addressed in your posted question.  In other words, most of
my experience on this issue has nothing to do with your topic as you
posed it.

I am not proud of the times when I have responded to your questions
with an untested hypothesis that turned out to be wrong.  But the
effort you ask of me, for dealing with issues which are unrelated to
your ostensible topics of discussion, also makes me feel somewhat
defensive about my having made those kinds of errors.

But that's enough out of me, for now.  If past experience is any
guide, you will probably not respond to me directly, and I will be
left to ponder how much of what I wrote understood, or even read -- a
meta issue which means I could have posted entirely irrelevant or
misguided concepts or I could have addressed exactly the issue you had
posted about in exactly the way you wanted and I would not be able to
distinguish between those cases.

-- 
Raul

On Wed, Feb 15, 2012 at 7:54 PM, Linda Alvord <lindaalv...@verizon.net> wrote:
> I guess I was educated during a time when a problem was to be pondered,
> worked and reworked until maybe the following week in class you would
> discuss and analyze possible solutions.  I still believe that that is part
> of the growth process.
>
> In schools, students want instant solutions which they look at and are
> convinced that the solution is plausible, but they haven't experience the
> struggle to find their own solution. Once you have tried the problem
> yourself you will appreciate a better solution more.
>
> On the other side of the issue, almost every concern raised on the forum is
> begging for an immediate solutions.  So I suggest you put your efforts
> toward those.
> In fact, an immediate solution would be great for my "real" problem posted
> earlier.
>
> If you have an image and a sound file, the sound will play before the image
> appears. Can you reverse this somehow?
>
> require 'gui/gtkwd'
> wd 'pc form closeok'
> wd 'xywh 0 0 100 100;cc b1 button bs_ownerdraw;cn
> "/users/owner/j701-user/temp/toucan.bmp"'
> 'winmm PlaySoundA > i *c x i'&cd 'c:\users\owner\j701\willie\00will.wav';0;0
> wd 'pshow'
>
> Thanks  in advance.
>
> Linda
>
> -----Original Message-----
> From: programming-boun...@jsoftware.com
> [mailto:programming-boun...@jsoftware.com] On Behalf Of Skip Cave
> Sent: Wednesday, February 15, 2012 6:36 PM
> To: Programming forum
> Subject: Re: [Jprogramming] Challenge 6 Many Many Cherry Trees
>
> It would be much simpler if one put no time restrictions on the responses
> to a posted problem, but instead ask that a "spoiler alert" label be posted
> on any purported solution to the problem. In that way, readers late to the
> game or slow on the uptake, could bypass the posted answers until they were
> ready to investigate how others approached their own solutions. This scheme
> may not result in as clear a "winner" as a timed contest might provide, but
> I expect it would still provide a good learning experience for all the
> readers.
>
> Skip
>
> On Wed, Feb 15, 2012 at 8:54 AM, Dan Bron <j...@bron.us> wrote:
>
>> Linda wrote:
>> > Design a function with no restrictions
>> > on style or specific functions.
>>
>> I'm glad the constraints on style and presentation were lifted.
>>
>> Linda wrote:
>> > PLEASE DO NOT RESPOND UNTIL 2/22/2012
>>
>> Raul responded:
>> >  Please send again when we
>> >  can respond -- I will read it then.
>>
>>
>> I also think the restriction on response time should be lifted.  I believe
>> that these challenges would see a lot more uptake and participation if
> they
>> were unfettered by artificial restrictions.
>>
>> I suggest that those who need a little extra time to solve the puzzle are
>> the ones who should exercise restraint.  When a puzzle is posted, chances
>> are most responses are going to contain spoilers (a smaller number may ask
>> for clarifications or include digressions).  So, the rule is: if you don't
>> want help solving the puzzle, don't read the thread until you're done.
>> Pretty easy. (I do this all the time with the more challenging J puzzles
>> posted here.)
>>
>> This approach has the added benefit of not imposing a deadline on people
>> who
>> need more time than originally allotted (e.g., for those who are on
> holiday
>> until 2/22/2012 and won't even see the puzzle til they get back).
>>
>> So, I'm just going to be bold here and adopt this convention. Let's see
>> what
>> happens.
>>
>> **SPOILER AFTER 15 BLANK LINES**
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>           gw =: ' '&, {~ #\ (- (|. 1j1&#)"_1 >:@?) #
>>
>>           gw 'many'
>>           m
>>          n m
>>         n a y
>>        a y n m
>>
>>           gw 'many'
>>           n
>>          a y
>>         m y a
>>        n y m a
>>
>>           gw 'cherrytrees'
>>                  t
>>                 r e
>>                e r e
>>               r e e y
>>              t e c h e
>>             r r r e h e
>>            e e c s t r h
>>           r s h e r y c t
>>          e s e y c r e r r
>>         s h c e r e r r e y
>>        s c e r r e r h e y t
>>
>>           a=:gw '%%%####'
>>           a,.a,.a,.a
>>              #             #             #             #
>>              % #           % #           % #           % #
>>             # % #         # % #         # % #         # % #
>>            # % # %       # % # %       # % # %       # % # %
>>          % # # # %     % # # # %     % # # # %     % # # # %
>>         # % # % # #   # % # % # #   # % # % # #   # % # % # #
>>        # # # % % % # # # # % % % # # # # % % % # # # # % % % #
>>
>>
>> -Dan
>>
>> PS: >:@?  here is a great example of the benefits and uses of  @  (in the
>> sense that  @:  is not a suitable replacement, and therefore neither is
> [:
>> >: ?  or  1 + ?  etc.  You'd have to use circumlocutions like  ([: >: ?)"0
>> .
>>
>>
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
>
> --
> Skip Cave
> Cave Consulting LLC
> Phone: 214-460-4861
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to