This first link is to a preliminary version of that talk.  I think this one
- http://www.jsoftware.com/jwiki/DevonMcCormick/PresentingJIn5Minutes - is
better and would benefit from 30 minutes rather than the original 5 for
which it was budgeted.

I don't know your audience, but if you think they are open to the idea of
notation as a tool of thought, this could be a fruitful path to take.  Take
a look at this link, especially the comment by Alan Kay:
http://computinged.wordpress.com/2010/12/03/notation-and-thinking-at-dick-liptons-blog/.

I've been working on some small examples to show J  in use to emphasize how
quickly you can get things done when you have this great set  of tools.
Here's a page-and-a-half example (following).  The idea would be to first
introduce the few verbs and related concepts used in the final examples,
then work through it.

<example>

First, define a couple of name lists that are annoyingly different.


 names0=: <;._2 [ 0 : 0

Bud Abbot

Lou Costello

Stan Laurel

Oliver Hardy

)

names1=: <;._2 [ 0 : 0

Laurel, Stan

Costello, Lou

Abbot, Bud

Marx, Groucho

)


 Show what the problematic one looks like:


 names1

+------------+-------------+----------+-------------+

|Laurel, Stan|Costello, Lou|Abbot, Bud|Marx, Groucho|

+------------+-------------+----------+-------------+


 Progressively manipulate it to put in the same form as the other one,
showing your work.


 <;._1&.>',',&.>names1

+--------------+---------------+------------+---------------+

|+------+-----+|+--------+----+|+-----+----+|+-------+-----+|

||Laurel| Stan|||Costello| Lou|||Abbot| Bud|||Marx| Groucho||

|+------+-----+|+--------+----+|+-----+----+|+-------+-----+|

+--------------+---------------+------------+---------------+

|.&.><;._1&.>',',&.>names1

+--------------+---------------+------------+---------------+

|+-----+------+|+----+--------+|+----+-----+|+------+------+|

|| Stan|Laurel||| Lou|Costello||| Bud|Abbot||| Groucho|Marx||

|+-----+------+|+----+--------+|+----+-----+|+------+------+|

+--------------+---------------+------------+---------------+


 }:&.>;&.>' ',~&.>&.>' '-.~&.>&.>|.&.><;._1&.>',',&.>names1

+-----------+------------+---------+-------------+

|Stan Laurel|Lou Costello|Bud Abbot|Groucho Marx|

+-----------+------------+---------+-------------+


 Condense this long expression into a few helper verbs..


 commaSplitFlip=: [: |. [: <;._1 ','&,

endSpaceOnly=: ' ' ,~ ' ' -.~ ]

flattenDropEndSpace=: [: }: ;


 Combine these into a final verb and use this to put the one list into the
same form as the other.


 flattenDropEndSpace &.> endSpaceOnly &.>&.> commaSplitFlip &.> names1

+-----------+------------+---------+------------+

|Stan Laurel|Lou Costello|Bud Abbot|Groucho Marx|

+-----------+------------+---------+------------+


 fixFlippedCommaSep=: [: flattenDropEndSpace [: endSpaceOnly&.>
commaSplitFlip

fixFlippedCommaSep &.> names1

+-----------+------------+---------+------------+

|Stan Laurel|Lou Costello|Bud Abbot|Groucho Marx|

+-----------+------------+---------+------------+

names1=. fixFlippedCommaSep &.> names1


 Show some simple, useful set operations.


 names1 -. names0

+------------+

|Groucho Marx|

+------------+

names1 -.~ names0

+------------+

|Oliver Hardy|

+------------+

 </example>




On Fri, Jul 29, 2011 at 10:39 PM, David Ward Lambert <[email protected]
> wrote:

> These link to a previous discussion about a 5 minute talk on J:
>
> http://www.jsoftware.com/jwiki/NYCJUG/2010-11-09#LanguageSlapdown.3AExplanation
>
> There are various ideas in this thread:
> http://jsoftware.com/pipermail/programming/2010-November/021009.html
>
> The dates hint that the New York city J user's group presentation is
> related to the j programming forum activity.  True indeed.
>
> > Message: 6
> > Date: Sat, 30 Jul 2011 00:08:11 +0300
> > From: EelVex <[email protected]>
> > Subject: [Jprogramming] I'll give a talk on J programming. Any ideas?
> > To: [email protected]
> > Cc: [email protected]
> > Message-ID:
> >       <CABNL=
> [email protected]>
> > Content-Type: text/plain; charset=ISO-8859-1
> >
> > I'm about to give a talk on J programming. I plan it to be about
> 30minutes
> > long. The audience is mixed but most have a decent exposure
> > to C++, Java and/or Python.
> >
> > Any suggestions on:
> > * where to focus
> > * how to present J
> > * what to avoid
> > ?
> >
> > Thanks,
> > eelvex
> > :)
>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
>



-- 
Devon McCormick, CFA
^me^ at acm.
org is my
preferred e-mail
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to