From: programming-boun...@forums.jsoftware.com 
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of 
programming-requ...@forums.jsoftware.com
Sent: Friday, 27 July 2012 1:35 AM
To: programming@forums.jsoftware.com
Subject: Programming Digest, Vol 82, Issue 53

Send Programming mailing list submissions to
        programming@forums.jsoftware.com

To subscribe or unsubscribe via the World Wide Web, visit
        http://jsoftware.com/mailman/listinfo/programming
or, via email, send a message with subject or body 'help' to
        programming-requ...@forums.jsoftware.com

You can reach the person managing the list at
        programming-ow...@forums.jsoftware.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Programming digest..."


Today's Topics:

   1. Re: Adding the first element at the end of a list (Linda Alvord)
   2. Re: Adding the first element at the end of a list (Linda Alvord)
   3. Re: quote bug in j602 (Devon McCormick)
   4. J conference 2012 (Eric Iverson)
   5. Re: J conference 2012 (Devon McCormick)
   6. Re: J conference 2012 (Devon McCormick)
   7. Re: fully parenthesized representation of a tacit verb
      (Raul Miller)


----------------------------------------------------------------------

Message: 1
Date: Thu, 26 Jul 2012 08:43:36 -0400
From: "Linda Alvord" <lindaalv...@verizon.net>
To: <programm...@jsoftware.com>
Subject: Re: [Jprogramming] Adding the first element at the end of a
        list
Message-ID: <000001cd6b2c$46d1f3b0$d475db10$@net>
Content-Type: text/plain; charset=koi8-r

Thanks.  That's nice!

Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Henry Rich
Sent: Thursday, July 26, 2012 4:15 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Adding the first element at the end of a list

    p =. (, {.) p

which is no better than your method.  But the straightforward

    p =. p , {. p

would benefit from append-in-place.

Henry RIch

On 7/26/2012 3:46 AM, Linda Alvord wrote:
> Is there a simpler way to close a list by returning to the first 
> element. My two ways are:
>
>
>
>      ]P=:'ABCDEFGH'
>
> ABCDEFGH
>
>     ]Q=:(>:$P)$P
>
> ABCDEFGHA
>
>     (>:#P)$P
>
> ABCDEFGHA
>
>     ]Q=:(>:$P)$P
>
> ABCDEFGHA
>
>
>
>     ]POLY=:2{\"1 Q
>
> ---T--T--T--T--T--T--T--?
> ?AB?BC?CD?DE?EF?FG?GH?HA?
> L--+--+--+--+--+--+--+---
>
>
>
>
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



------------------------------

Message: 2
Date: Thu, 26 Jul 2012 08:44:36 -0400
From: "Linda Alvord" <lindaalv...@verizon.net>
To: <programm...@jsoftware.com>
Subject: Re: [Jprogramming] Adding the first element at the end of a
        list
Message-ID: <000101cd6b2c$6ab3e540$401bafc0$@net>
Content-Type: text/plain; charset=koi8-r

Same good answer as Henry's!

Linda

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Tom Arneson
Sent: Thursday, July 26, 2012 7:09 AM
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] Adding the first element at the end of a list

   [Q=:P,{.P
ABCDEFGHA

-----Original Message-----
From: programming-boun...@forums.jsoftware.com
[mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord
Sent: Thursday, July 26, 2012 02:46
To: programm...@jsoftware.com
Subject: [Jprogramming] Adding the first element at the end of a list

Is there a simpler way to close a list by returning to the first element. My
two ways are:

 

    ]P=:'ABCDEFGH'

ABCDEFGH

   ]Q=:(>:$P)$P

ABCDEFGHA

   (>:#P)$P

ABCDEFGHA

   ]Q=:(>:$P)$P

ABCDEFGHA

   

   ]POLY=:2{\"1 Q

---T--T--T--T--T--T--T--?
?AB?BC?CD?DE?EF?FG?GH?HA?
L--+--+--+--+--+--+--+---

 

 

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm


----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm



------------------------------

Message: 3
Date: Thu, 26 Jul 2012 09:19:08 -0400
From: Devon McCormick <devon...@gmail.com>
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] quote bug in j602
Message-ID:
        <cagdempfbwo5k1e6r9y5tj4stxltoxyttj7surokbhyyhhjy...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I think his problem is that nothing displays while he's typing until
he gets to the second quote.

As Raul said, it's hard to give a good suggestion without knowing more
about the specifics of the installation: OS, etc.

On Thu, Jul 26, 2012 at 2:46 AM, Linda Alvord <lindaalv...@verizon.net> wrote:
> Here's what I think is happening:
>
>    '
> |open quote
> |      '
> |      ^
>    '
> |open quote
> |      '
> |      ^
>    '
> |open quote
> |      '
> |      ^
>    ''
> Finally you give it you what you want between the quotes, which is actually
> nothing.
>
>    'cat
> |open quote
> |      'cat
> |      ^
>    ''
>
> This time you give up and give it nothing. So it is happy with nothing.
>
>
> Now put something between the quotes and it is very happy.
>
>  'a happy cat'
> a happy cat
>
> Linda
>
>
> -----Original Message-----
> From: programming-boun...@forums.jsoftware.com
> [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Raul Miller
> Sent: Wednesday, July 25, 2012 1:02 PM
> To: programm...@jsoftware.com
> Subject: Re: [Jprogramming] quote bug in j602
>
> I think this belongs on the gene...@jsoftware.com, since it's not about
> programming and is about details of getting things working.
>
> That said, I do not experience this when I use j602.  And, I do not have
> enough detail about your system and what you have done to suggest much of
> anything useful.
>
> Does this problem happen on multiple machines, for you?
>
> If not, is there any chance that you have an unusual installation of java
> that's mishandling things?  (J602 uses java for its display in typical
> sessions.)
>
> --
> Raul
>
> On Wed, Jul 25, 2012 at 12:52 PM, adam dunne <adam...@gmail.com> wrote:
>> I've tried re-installing j602. The problem is still there:
>> entering '<stuff>' nothing displayed on screen from first quote until
>> second quote, after which '<stuff>' displayed Tried changing keyboards
>> too. No change.
>> ----------------------------------------------------------------------
>> 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



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail


------------------------------

Message: 4
Date: Thu, 26 Jul 2012 09:23:13 -0400
From: Eric Iverson <eric.b.iver...@gmail.com>
To: Programming forum <programm...@jsoftware.com>
Subject: [Jprogramming] J conference 2012
Message-ID:
        <CAPRoPviXmsvxj42XXZhR=P7cYEbpDeM9JgYLz9g15-SF=ef...@mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

The J conference was a success.

There were 45 at the conference and 70 at the banquet. Feedback was
positive, particularly on the talks and the banquet food/drink/view/buzz.

We will probably preserve the conference wiki page for historical interest.
Comments from attendees could go on a wiki page, but assuming there is
relatively little, it might be best to do this just in the chat forum.

We are not committed to a conference in 2 years, but the last few days have
put us in a receptive frame of mind.


------------------------------

Message: 5
Date: Thu, 26 Jul 2012 11:08:16 -0400
From: Devon McCormick <devon...@gmail.com>
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] J conference 2012
Message-ID:
        <cagdempfsgyljielr+gp4-bzjd51sk_u0i95l3hma-hwermo...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I've started a page for speakers to add their talks -
http://www.jsoftware.com/jwiki/Community/Conference2012/Talks - and
have put up my own presentation along with some code.  I plan to put
the slides "in-line", interspersed with commentary (somewhat like this
- http://www.jsoftware.com/jwiki/DevonMcCormick/FunctionalJ - but with
more extensive comments) when I get the chance; I urge others to
consider doing the same.

On Thu, Jul 26, 2012 at 9:23 AM, Eric Iverson <eric.b.iver...@gmail.com> wrote:
> The J conference was a success.
>
> There were 45 at the conference and 70 at the banquet. Feedback was
> positive, particularly on the talks and the banquet food/drink/view/buzz.
>
> We will probably preserve the conference wiki page for historical interest.
> Comments from attendees could go on a wiki page, but assuming there is
> relatively little, it might be best to do this just in the chat forum.
>
> We are not committed to a conference in 2 years, but the last few days have
> put us in a receptive frame of mind.
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail


------------------------------

Message: 6
Date: Thu, 26 Jul 2012 11:10:06 -0400
From: Devon McCormick <devon...@gmail.com>
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] J conference 2012
Message-ID:
        <cagdempecugt-pb4dtvgyacthxrmdonvga8bjbgarvpsf6vw...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

And we should probably consider adding a "Presentation" category to
better categorize things like this (which is why I put it on a
"CategoryCategory" page).

On Thu, Jul 26, 2012 at 11:08 AM, Devon McCormick <devon...@gmail.com> wrote:
> I've started a page for speakers to add their talks -
> http://www.jsoftware.com/jwiki/Community/Conference2012/Talks - and
> have put up my own presentation along with some code.  I plan to put
> the slides "in-line", interspersed with commentary (somewhat like this
> - http://www.jsoftware.com/jwiki/DevonMcCormick/FunctionalJ - but with
> more extensive comments) when I get the chance; I urge others to
> consider doing the same.
>
> On Thu, Jul 26, 2012 at 9:23 AM, Eric Iverson <eric.b.iver...@gmail.com> 
> wrote:
>> The J conference was a success.
>>
>> There were 45 at the conference and 70 at the banquet. Feedback was
>> positive, particularly on the talks and the banquet food/drink/view/buzz.
>>
>> We will probably preserve the conference wiki page for historical interest.
>> Comments from attendees could go on a wiki page, but assuming there is
>> relatively little, it might be best to do this just in the chat forum.
>>
>> We are not committed to a conference in 2 years, but the last few days have
>> put us in a receptive frame of mind.
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>
>
>
> --
> Devon McCormick, CFA
> ^me^ at acm.
> org is my
> preferred e-mail



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail


------------------------------

Message: 7
Date: Thu, 26 Jul 2012 11:34:31 -0400
From: Raul Miller <rauldmil...@gmail.com>
To: programm...@jsoftware.com
Subject: Re: [Jprogramming] fully parenthesized representation of a
        tacit   verb
Message-ID:
        <CAD2jOU8noiTTEv7JtLR9Qhu0KHS5LXW=bBFD0EUkJYY=gcr...@mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

On Wed, Jul 25, 2012 at 11:47 PM, Ian Clark <earthspo...@gmail.com> wrote:
>> m=: v^:x y                      NB. dyadic(&) --> (^:)
>> n=: u"v m                       NB. Brian's suggestion for (@)
>
> Bearing in mind what Raul said earlier, I don't think this is general
> enough. Maybe (@) is unavoidable in dealing with how u and v operate
> together.

It's not unavoidable.

Here's an implementation of atop that does not use @

atopA=: 2 :'([: u v)"v'

Here's another approach:

atopB=: 2 :'[: u@> <@v'

That said, note that if side effects are involved, atopB reschedules
those side effects, and this can be an issue (if the schedule was
important).

FYI,

-- 
Raul


------------------------------

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

End of Programming Digest, Vol 82, Issue 53
*******************************************
----------------------------------------------------------------------------------------------------------------------------------------------------------------------
This email is intended for the addressee(s) named and may contain confidential 
and/or privileged information. 
If you are not the intended recipient, please notify the sender and then delete 
it immediately.
Any views expressed in this email are those of the individual sender except 
where the sender expressly and with authority states them to be the views of 
the Office of Environment and Heritage, NSW Department of Premier and Cabinet.

PLEASE CONSIDER THE ENVIRONMENT BEFORE PRINTING THIS EMAIL

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to