Re: [Jprogramming] jajh anyone?

2020-09-01 Thread Raul Miller
Yes indeed, the implementation here uses curl to pull down a jforum
page and execute a sentence inside of it.

If your system uses wget instead, that won't work. I could have made
it more robust, using a longer expression, but that was sort of not
the point.

Take care,

-- 
Raul

On Tue, Sep 1, 2020 at 5:25 PM Jose Mario Quintana
 wrote:
>
> > If we're going to go with obscure large numbers,
>
> Well, the point of providing an argument a couple of hundred orders of
> magnitude higher than necessary to the Turing tar-pit was to emphasize that
> one could easily obfuscate its code indefinitely.  Was it not?
>
> > ".a.{~35+91#.inv".0 :0-.LF
> > 81366029708523506035417756025037363272973280294647519604819263
> > ...
> > )
>
> I just get an error when I try your version, never mind.
>
>
>
> On Mon, Aug 31, 2020 at 8:22 PM Raul Miller  wrote:
> >
> > If we're going to go with obscure large numbers, beware of
> > ...
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] jajh anyone?

2020-09-01 Thread Jose Mario Quintana
> If we're going to go with obscure large numbers,

Well, the point of providing an argument a couple of hundred orders of
magnitude higher than necessary to the Turing tar-pit was to emphasize that
one could easily obfuscate its code indefinitely.  Was it not?

> ".a.{~35+91#.inv".0 :0-.LF
> 81366029708523506035417756025037363272973280294647519604819263
> ...
> )

I just get an error when I try your version, never mind.



On Mon, Aug 31, 2020 at 8:22 PM Raul Miller  wrote:
>
> If we're going to go with obscure large numbers, beware of
> ...
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] jajh anyone?

2020-08-31 Thread Raul Miller
If we're going to go with obscure large numbers, beware of approaches like this:

".a.{~35+91#.inv".0 :0-.LF
81366029708523506035417756025037363272973280294647519604819263685640017
9642651075981229729337131561389540136499289281946214193588723081692514x
)

-- 
Raul

On Mon, Aug 31, 2020 at 7:00 PM Jose Mario Quintana
 wrote:
>
> Beware of line wrapping...
>
>".@:(a. {~ 

Re: [Jprogramming] jajh anyone?

2020-08-31 Thread Jose Mario Quintana
Beware of line wrapping...

   ".@:(a. {~ 

Re: [Jprogramming] jajh anyone?

2020-08-31 Thread Henry Rich

In this context ({~ \:@]) can be replaced by \: .

Henry Rich

On 8/31/2020 8:42 AM, Julian Fondren wrote:
j`another`hacker`just ({~ \:@]) 'goat' 



--
This email has been checked for viruses by AVG.
https://www.avg.com

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


Re: [Jprogramming] jajh anyone?

2020-08-31 Thread Julian Fondren

On 2020-08-31 02:35, Hauke Rehr wrote:

Hello all,

some time ago I wrote three lines in reference to
the Perlish JAPH meme; I’ve been unsatisfied with
the approach taken so I never made it part of my
email signature.

Here it is:

   'e t' =: '0$0';' 5@>? ,9:?30= 5 3,.60='
   v =: (+/ - *:@{:) ,".@(']&'&,)@,._1 t
   <@(v&+&.(a.));._1 t

Does any of you have a jajh of your own
or interest in making up one?
I’d be glad to see – and learn from – different
approaches to this fun task.


I like approaches like this:

   j`another`hacker`just ({~ \:@]) 'goat'

as it invites discussions like

Q: uh, what's that about goats? is the goat important?
A: the goat is the key to everything
--
For information about J forums see http://www.jsoftware.com/forums.htm


Re: [Jprogramming] jajh anyone?

2020-08-31 Thread Raul Miller
So... looking at some examples of japh...
https://www.perlmonks.org/index.pl?node=japh_button=Search

I see a variety of possibilities (needing an echo if you expect them
to work as scripts), ranging from

   |.'rekcah j rehtona tsuj'

to

echo 21$,a.{~32+%.(".;._2]0 :0)%*/3 3 1129 3203
 122022 _1867296  229791  _475896  1991454
_368541   962031 1057515 _8747088  6360510
 362592_3621 _330171  _876432   723030
 294606   675093 _946299 10136460 _8905029
_452457   311941  113195  _958589   907483
)

to

a=:' acehjknorstu'
b=:(1,0 3 3,,:~0 1 1)#&,4#,:3 2 1
c=:4 12 14 5 16 17 10 19 9 15 0 13 18 6 7 11 20 2 3 8 1
echo c/:~b#a

With some further variations on this theme being plausible... (The
ascii art approach, in particular, seems like it might be fun.)

Take care,

-- 
Raul

On Mon, Aug 31, 2020 at 3:35 AM Hauke Rehr  wrote:
>
> Hello all,
>
> some time ago I wrote three lines in reference to
> the Perlish JAPH meme; I’ve been unsatisfied with
> the approach taken so I never made it part of my
> email signature.
>
> Here it is:
>
> 'e t' =: '0$0';' 5@>? ,9:?30= 5 3,.60='
> v =: (+/ - *:@{:) ,".@(']&'&,)@,._1 t
> <@(v&+&.(a.));._1 t
>
> Does any of you have a jajh of your own
> or interest in making up one?
> I’d be glad to see – and learn from – different
> approaches to this fun task.
>
> --
> --
> mail written using NEO
> neo-layout.org
>
> --
> For information about J forums see http://www.jsoftware.com/forums.htm
--
For information about J forums see http://www.jsoftware.com/forums.htm