Use curl if it is available on iOS

   r=. 2!:0'curl -s -o - https://adventofcode.com/2018/about'
   $r
7990
(tested on linux64)


Sat, 01 Dec 2018, jprogramming написал(а):
> OK - I bit.  Prob 1 part 1 is easy-peasy, but it took me at least quarter of 
> an hour to copy n paste the 1000 data points to a J quasi-script on this iPad.
> 
> After typing this far in this message, I thought I ought to have a look for 
> myself, and rediscovered gethttp. It's necessary on the iPad to 
>    jjget ~addons/web/gethttp/gethttp.ijs AND 
>    ~system/maintain.ijs,
>  and add a line to one's script:
>     require'~addons/web/gethttp/gethttp.ijs'
> 
> BUT this happens:
>    r=:gethttp datafile
>    #r
> 22
>    r
> only http:// supported
>    datafile
> https://adventofcode.com/2018/day/1/input
> 
> Help!  .... if only to advise me to stick to the Windows laptop!
> 
> TIA,
> 
> Mike
> 
> 
> Please reply to [email protected].      
> Sent from my iPad
> 
> > On 1 Dec 2018, at 04:24, Jimmy Gauvin <[email protected]> wrote:
> > 
> > Hi all,
> > 
> > anybody trying Advent of Code this year ?
> > 
> > See : https://adventofcode.com/2018/about
> > 
> > 
> > Jimmy
> > ----------------------------------------------------------------------
> > 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,
====================================================
GPG key 1024D/4434BAB3 2008-08-24
gpg --keyserver subkeys.pgp.net --recv-keys 4434BAB3
gpg --keyserver subkeys.pgp.net --armor --export 4434BAB3
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to