My Q version: https://dl.dropboxusercontent.com/u/34917039/1.q
method is the same: group, sum, cat, order

I am sure it is not the best version, but looks very simple. Now I am going
learn your J version, which is so different from K/Q in my mind.


On Thu, Oct 3, 2013 at 1:38 PM, inv2004 . <[email protected]> wrote:

> Joe,
>
> Please find my perl solution. I it far away from ideal, but very simple to
> read and write: https://dl.dropboxusercontent.com/u/34917039/1.pl
>
> Sorry for misunderstanding, I do not have K solution, I just mentioned
> my experience in K: I never have so many boxes/unboxes and { in k. I
> could write it from the same simple algorithm like I used in perl, I think
> it will be quite simple, I will do it when I have time.
>
> Regards,
>
>
> On Thu, Oct 3, 2013 at 12:58 PM, Joe Bogner <[email protected]> wrote:
>
>> Dan, thank you very much for posting your solution. I'll continue to study
>> it. I'm impressed with how compact and how much more clear the solution is
>> than the original requirements.
>>
>> I took a crack at translating it to another language that I experiment
>> with
>> for it's conciseness - PicoLisp
>>
>> https://gist.github.com/joebo/6813083
>>
>> My solution eliminated the lines that were tab delimited instead of space
>> delimited to simplify my attempt.
>>
>> inv2004, can you post your perl and k solution? I'd be interested in
>> seeing
>> how it compares
>>
>> Joe
>> .
>>
>>
>>
>>
>> On Thu, Oct 3, 2013 at 9:28 AM, R.E. Boss <[email protected]> wrote:
>>
>> > ;-)
>> >
>> > Yeah, but we were focusing on the teacher; it takes a steep curve to
>> learn
>> > to play this violin all by oneself.
>> >
>> >
>> > R.E. Boss
>> >
>> > (Add your info to http://www.jsoftware.com/jwiki/Community/Demographics)
>> >
>> > > -----Original Message-----
>> > > From: [email protected] [mailto:chat-
>> > > [email protected]] On Behalf Of Dan Bron
>> > > Sent: donderdag 3 oktober 2013 15:03
>> > > To: [email protected]
>> > > Subject: Re: [Jchat] my programm looks terrible
>> > >
>> > > You guys flatter me.
>> > >
>> > > But while we sometimes focus on the violinist, let's not forget it is
>> the
>> > violin
>> > > which makes the music.
>> > >
>> > > -Dan
>> > >
>> > > -----Original Message-----
>> > > From: [email protected]
>> > > [mailto:[email protected]] On Behalf Of R.E. Boss
>> > > Sent: Thursday, October 03, 2013 3:41 AM
>> > > To: [email protected]
>> > > Subject: Re: [Jchat] my programm looks terrible
>> > >
>> > > I told Bron before he is a talented teacher; fortunately he does
>> > everything to
>> > > prove me right.
>> > >
>> > >
>> > > R.E. Boss
>> > >
>> > > (Add your info to
>> > > http://www.jsoftware.com/jwiki/Community/Demographics )
>> > >
>> > >
>> > > > -----Original Message-----
>> > > > From: [email protected] [mailto:chat-
>> > > > [email protected]] On Behalf Of David Lambert
>> > > > Sent: donderdag 3 oktober 2013 6:47
>> > > > To: chat
>> > > > Subject: Re: [Jchat] my programm looks terrible
>> > > >
>> > > > When Dan Bron writes, people read.
>> > > > Define nouns in reverse order.  Of course!
>> > > > No, really!
>> > > >
>> > > >
>> ----------------------------------------------------------------------
>> > > > 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
>> >
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> >
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
>
>
>
> --
> Regards,
>   Alexander.
>



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

Reply via email to