(I just noticed that this half-finished message was sitting in my drafts
folder. Sending it now, incomplete, I need to focus on other things right
now..)

This is nice!

If I may, though, I was looking through your journal of J code, and I just
itch to make "improvements" to it. It's not that it's nonfunctional or
anything, and I'm not even sure if my changes make it faster. And I
certainly have not presented anything with any near your polish - and we
need polish, while my work has tended to look crude and minimalistic -
but...

   int2rgb=: [: <. 256 256 256&#:
   rgb2int=: [: <. 256&#.@(3&{."1)

You could even make them inverses of one another:

   int2rgb=: ([: <. 256 256 256&#:)   :.rgb2int
   rgb2int=: ([: <. 256&#.@(3&{."1))  :.int2rgb

I'm not sure that this is any more readable. Someone new to J but with a
background in some other computer programming language might be more
comfortable with your expressions than with mine.

Anyways, it's probably worth noting - as you have already done, but I
wanted to emphasize it - that the support code for that video is in the
Journal of J article you linked.

Thanks,

-- 
Raul








On Sun, Mar 30, 2014 at 5:54 AM, Martin Saurer <martin.sau...@bluewin.ch>wrote:

> Hello all,
>
>
>
> A new "J in 10 minutes" Video is online.
>
>
>
> https://www.youtube.com/watch?v=eQfxSKTUls4
>
>
>
> If you are interested in Steganography, take a look.
>
> The new video is a sequel to the article in
>
> "Journal of J Vol.2 No.2 - October 2013" /
>
> "Steganography - the J way".
>
> http://www.journalofj.com/index.php/vol-2-no-2-october-2013
>
>
>
> The work on adding narration (spoken words) to the
>
> videos is in progress.
>
> But there are some technical issues with the audio
>
> quality which have to be fixed, before going online.
>
> So please be patient on this. Thanks.
>
>
>
> Cheers
>
>
>
> Martin Saurer
>
>
>
>
>
> ----------------------------------------------------------------------
> 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