Re: [Jprogramming] System Maintenance

2014-10-16 Thread Joey K Tuttle
The website seems to have survived, did forum email make it across? On 2014/10/16 10:46 , chris burke wrote: A reminder - this will start in a couple of hours... On Tue, Oct 14, 2014 at 6:47 AM, chris burke wrote: The Jsoftware server is scheduled for maintenance on 2014-10-16 for 2 hours st

Re: [Jprogramming] changing the default font

2014-10-21 Thread Joey K Tuttle
Second attempt to send to the forum. Very nice facilities in jqt - I’m impressed and will try to make more use of it. Still, I often find myself tripping over things that I take for granted in jconsole - e.g. on my iMac, running jconsole in Terminal, if I set 9!:37 to allow longer and mor

Re: [Jprogramming] changing the default font

2014-10-21 Thread Joey K Tuttle
Very nice facilities in jqt - I’m impressed and will try to make more use of it. Still, I often find myself tripping over things that I take for granted in jconsole - e.g. on my iMac, running jconsole in Terminal, if I set 9!:37 to allow longer and more lines, the long output lines wrap in a ver

Re: [Jprogramming] n-wise reduction

2014-10-27 Thread Joey K Tuttle
In APL i. 10 (using i. for iota) gives 1 2 3 … In J i. 10 gives 0 1 2 … APL’s choice of counting origin 1 is one issue - In J 2 +/\ >:i. 10 3 5 7 9 11 13 15 17 19 The J Dictionary is a good reference. > On 2014 Oct 27, at 19:59 , Chris Wright wrote: > > in apl (using i. for iota) > >

Re: [Jprogramming] Lapack on J80x qt on Mac running Yosemite

2014-10-27 Thread Joey K Tuttle
I rather loath spaces in file names, but trailing ones are my most favorite kind! (leading ones are nice too if you like to control ls/dir order...) On 2014/10/27 21:34 , Piet de Jong wrote: Wonderful. Thanks. Space at end is critical! Sent from my iPhone On 28 Oct 2014, at 3:29 pm, Vijay

Re: [Jprogramming] What's wrong with assigment?

2014-11-20 Thread Joey K Tuttle
Likely this comment should be in chat, but ... https://www.cs.purdue.edu/homes/dec/essay.criticize.html On 2014/11/20 07:12 , Roger Hui wrote: This violates universality. Universality is not necessarily a good principle for language design. 1.2 3.4 $ 5.6 |domain error | 1.2 3.4$

Re: [Jprogramming] nth digit of pi

2015-01-06 Thread Joey K Tuttle
One of my favorite ways to waste time. Using the tried and true method of looking up a result rather than calculating it (of course it requires a sufficient set of information) - iMi7-2:jstuff jkt$ cat pi.ijs require 'jmf' 2 map_jmf_ 'pi';'/Users/jkt/Downloads/pi/y-cruncher v0.5.5.9187

Re: [Jprogramming] Running script from jconsole

2015-03-03 Thread Joey K Tuttle
Very nice! I did run into a little frustration in OS X Terminal - where jconsole is by default a tarpit of java stuff. So either the path to jconsole in the J bundle, or an alias (I do a symbolic link of ja to be jconsole) removes my angst. Examples (in reverse order): $ ja -js 'echo %. i.2

Re: [Jprogramming] Labs was Re: Plotting a 3D Ellipse

2015-03-22 Thread Joey K Tuttle
After entering your script - testdlls '' OpenGL OK. JVERSION Engine: j803/2014-10-19-11:11:11 Library: 8.03.12 Qt IDE: 1.3.1/5.3.2 Platform: Darwin 64 Installer: J803 install InstallPath: /applications/j64-803 require 'pacman' 'update' jpkg '' Updating server catalog... Local JAL info

Re: [Jprogramming] J in 10 minutes (3. Web Applications) / with narration

2015-04-30 Thread Joey K Tuttle
Terrific video - beautifully presented, interesting material (and thank you for eliminating the background distraction!) Thank you! > On 2015 Apr 30, at 02:09 , Martin Saurer wrote: > > Hello all, > > There's an new "J in 10 minutes" video: > > J in 10 minutes (3. Web Applications) / with na

Re: [Jprogramming] command line script

2015-05-06 Thread Joey K Tuttle
That link is a good start. There are some hooks in the system to determine if the called script is being invoked from a terminal or not (perhaps as a CGI call in a web page). This is useful for dealing with -parms and piped expressions in the *nix environment. If that is of interest, you can f

Re: [Jprogramming] J iOS and iOS 8.4

2015-07-11 Thread Joey K Tuttle
Patrick, I was nonplussed to discover this too. I solicited Eric to send an update to Apple asking to turn on sharing, but he is too busy with other projects and is skeptical that they would approve it. I can report that things have tightened down even more in iOS9, but I also think it is pos

Re: [Jprogramming] Trouble making patter for a color cube

2015-07-31 Thread Joey K Tuttle
,./;"1|: ALL2 On 2015/07/31 21:36 , Linda Alvord wrote: How can I remove the data from these boxes so that only a 20x15 table in the same order as this would be if the boxes were removed? ]ALL2=:4 3$(<"2) 0 25 0 50 75 0 0 100 125 0 150 0(+"0 2)i.5 5 ---T---

Re: [Jprogramming] ic/ 3!:4 on osX

2015-08-25 Thread Joey K Tuttle
Ah, my favorite rant topic - wrong/right endian, eh? I suppose that means you prefer little endian hardware ( see https://en.wikipedia.org/wiki/Endianness ) - but note that it is a hardware architecture issue, not an OS issue, although Unix is given credit in that article as having dealt wi

Re: [Jprogramming] ic/ 3!:4 on osX

2015-08-25 Thread Joey K Tuttle
10:40 , Raul Miller wrote: On Tue, Aug 25, 2015 at 12:20 PM, Joey K Tuttle wrote: profile, which SHALL use value "II". The next two bytes contain the value 42, which identifies the file as a TIFF file and is ordered according to the value in the first two bytes of the header. The last

Re: [Jprogramming] jconsole linux platform: delete / insert keys

2015-09-19 Thread Joey K Tuttle
Works that way in Ubuntu, and OSX 10.11 (and previous ones) as well. On 2015/09/19 09:08 , neit...@gaertner.de wrote: BL> Yes, ctrl-d only terminates a session at the begining of a line. BL> But ctrl-d in the middle of a line does not delete any BL> character in debian. It certainly does tha

Re: [Jprogramming] explanation?

2015-09-23 Thread Joey K Tuttle
Sometimes, older is wiser... (I try to tell my grand kids that ... ;-) $ ja JVERSION Engine: j701/2011-01-10/11:25 Library: 8.01.028 Platform: Linux 64 Installer: j801 install InstallPath: /usr/local/lib/j64-801 _2 1 E. 1 2 _1 _2 1 0 0 0 0 0 But going back 10 years (and using my system

Re: [Jprogramming] explanation?

2015-09-23 Thread Joey K Tuttle
Yep, one does have to be old enough ... 9!:14 '' 4.05/2001-05-16/11:30 _2 1 E. 1 2 _1 _2 1 0 0 0 1 0 9!:14 '' j503a/2004-03-25/00:05 _2 1 E. 1 2 _1 _2 1 0 0 0 1 0 9!:14 '' j504/2005-03-16/15:30 _2 1 E. 1 2 _1 _2 1 0 0 0 1 0 9!:14 '' j601/2006-11-17/17:05 _2 1 E.

Re: [Jprogramming] When a <. _ is less than a

2016-02-02 Thread Joey K Tuttle
I kinda like this one ... ;-) x: 9223372036854775807 <. _ 9223372036854775808 On 2016/02/02 18:17 , 'Pascal Jasmin' via Programming wrote: there is also this fix 9223372036854736345x <.&x: _ 9223372036854736345 - Original Message - From: Henry Rich To: programm...@jsoftware

Re: [Jprogramming] opening a text file

2016-09-27 Thread Joey K Tuttle
Try 1!:0 <'ny.xhtml' > On 2016Sep 27, at 18:44, greg heil wrote: > > i have a file on WX 64b > 1!:0'ny.xhtml' > +-+ > ¦ny.xhtml¦2016 9 26 21 7 42¦1882324¦rw-¦-a¦ > +-+ > but cannot open it... >

Re: [Jprogramming] kill J32 on linux and mac

2016-09-29 Thread Joey K Tuttle
OK on the Mac side - maybe an issue with Linux on older machines (or maybe some newish things like Raspberry Pi v2), but time marches on ... (and I have to blushingly admit that j504 is used a lot in my older machines so can't complain seriously there...) - joey > On 2016 Sep 29, at 16:32 , E

Re: [Jprogramming] J805 released!

2016-12-20 Thread Joey K Tuttle
Install went fine in OS X 10.12.3 (Public Beta 1) and behaves as expected (so far). JVERSION Engine: j805/j64/darwin Release: commercial/2016-12-11T08:17:56 Library: 8.05.10 Platform: Darwin 64 Installer: J805 install InstallPath: /applications/j64-805 Contact: www.jsoftware.com Likewise in U

Re: [Jprogramming] J805 - install it! - for macOS Sierra, must edit sierra-fix.command

2016-12-20 Thread Joey K Tuttle
I should report that I forgot to run sierra-fix.command ... and I should add to my prior "all looks good" report that I haven't tried to run jhs or Jqt. I do 99%+ of my work from jconsole, so I simply corrected my symbolic links, added my own profilex.ijs, used pacman to install all addons, and

Re: [Jprogramming] rpi 805 release

2016-12-21 Thread Joey K Tuttle
Thanks! 'install' jpkg 'all' Downloading web/gethttp... Installing web/gethttp... Done. All available packages are installed and up to date. JVERSION Engine: j805/j32/raspberry Release: commercial/2016-12-21T01:33:53 Library: 8.05.10 Platform: Linux 32 Installer: J805 install InstallPat

Re: [Jprogramming] 806 beta-3 available

2017-04-11 Thread Joey K Tuttle
Downloaded - j806_linux64.tar-2.gz j806_raspi32.tar.gz j806_mac64-2.zip The mac64 and raspi32 installed OK, but when trying to run in Ubuntu 16.04 jkt@set1:/usr/local/lib/j64-806$ bin/jconsole Illegal instruction jkt@set1:/usr/local/lib/j64-806$ ls -l bin total 2940 drwxr-xr-x 2 jkt jkt4096

Re: [Jprogramming] 806 beta-3 available

2017-04-11 Thread Joey K Tuttle
ture is mandatory. > > both 32-bit and 64-bit non-avx support will most probably be discontinued > in j806 final, except for raspberry and android. > > On 12 Apr, 2017 9:06 am, "Joey K Tuttle" wrote: > >> Downloaded - >> >> j806_linux64.tar-2.gz >&g

Re: [Jprogramming] indexed read doesn't work with /dev/urandom

2017-04-17 Thread Joey K Tuttle
I use a script/verb to set random seed, it gets 4 bytes from /dev/random using - host 'dd if=/dev/random bs=4 count=1' where host=: [: 2!:0 '(' , ' || true)' ,~ ] > On 2017Apr 17, at 23:01, Xiao-Yong Jin wrote: > > That much I figured. It also doesn't work with fifo (limit error).

Re: [Jprogramming] 64 bit 📱

2017-06-23 Thread Joey K Tuttle
2!:0 'uname' |interface error | 2!:0'uname' 2!:0'date' |interface error | 2!:0'date' Both 32 & 64 bit versions. Sent from my iPhone > On Jun 23, 2017, at 16:24, Bill wrote: > > 2!:0'date' -- For information

Re: [Jprogramming] J iOS at Apple App Store

2017-07-04 Thread Joey K Tuttle
I like it! Lots of things to learn (and I lust for a + size iPhone) but off the top, great improvements! > On 2017Jul 4, at 17:42, Eric Iverson wrote: > > A significant new release of J iOS is available at the Apple App Store. > > See http://code.jsoftware.com/wiki/Guides/iOS for more inf

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Joey K Tuttle
I was too enthusiastic last night to report that landscape is broken. The problem is worse than you indicate, only the top 4 rows of the keyboard appear in landscape, i.e. a s d f...k l ' and the control row below are missing. When the keyboard is dismissed before rotation, the scrolling area is

Re: [Jprogramming] J iOS at Apple App Store

2017-07-05 Thread Joey K Tuttle
Add to my problems that I often confuse my explanations with "typos"... Should have said - i.e. z x c ... m = . : and the control row below are missing. > On 2017Jul 5, at 08:02, Joey K Tuttle wrote: > > The problem is worse than you indicate, only the top 4 r

Re: [Jprogramming] J iOS at Apple App Store

2017-07-09 Thread Joey K Tuttle
I think the easiest way is using something like iExplorer from https://macroplant.com/ (works in Windows and OS X) They have a free version which would suffice for what you ask, see - https://macroplant.com/iexplorer/free-vs-paid Patrick references iFile which is similar to iExplorer (I don't

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
Eric, Bravo on the keyboard change and the repeating keys (just really nice to have them!) I think your setup for j to j is exciting news too, but am disappointed after starting the new release getting - jj 0 |value error: jj The suggested scripts in desktop JHS seem to work in setting up

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
gt; > I will look at this later tonight if you can give me a little more info. > > All that jj does is to: > load'~system/util/jj.ijs' > > > > > On Wed, Aug 9, 2017 at 4:11 PM, Joey K Tuttle wrote: > >> Eric, >> >> Bravo on the keyboard c

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
e >> jjset arg should be the one reported in the init_jjserver_ on the JHS >> server. >> >> However. the other problems you and Joey report remains. >> >> >> >> On Wed, Aug 9, 2017 at 7:01 PM, J. Patrick Harrington >> wrote: >> >

Re: [Jprogramming] J for iOS

2017-08-09 Thread Joey K Tuttle
ing his other data. > > I am starting to understand what the problem is and should be able to fix > it the next time around. > > If you really do not want to do the delete and clean install you could see > if jjget and jjput work as dyads. That is, > > '~temp/t.txt

Re: [Jprogramming] J for iOS

2017-08-10 Thread Joey K Tuttle
wiki page gives by >>>> way of an example. This could be true on your system, but is unlikely, The >>>> jjset arg should be the one reported in the init_jjserver_ on the JHS >>>> server. >>>> >>>> However. the other problems you and

Re: [Jprogramming] j806 beta-5

2017-08-27 Thread Joey K Tuttle
I have installed the new beta on my MacBook and on a Ubuntu server. No particular problems, but some fiddling around was required to get jQt working on the Mac. I only use ssh access to the Linux server, so that removes the fiddling. I decided to run my favorite benchmark (inverting a matrix).

Re: [Jprogramming] j806 beta-5

2017-08-29 Thread Joey K Tuttle
ng again? >>> >>>> On Aug 28, 2017, at 3:10 AM, bill lam wrote: >>>> >>>> jkt@set1:~$ jb >>>> JVERSION >>>> Engine: j806/j64/linux >>>> Beta-5: commercial/2017-08-23T10:33:49 >>>> >>>> T

Re: [Jprogramming] j806 beta-5

2017-08-29 Thread Joey K Tuttle
u? > Or do you really need a non-avx version? As said earlier, we may have to do > this for the final release packaging, but would prefer not to provide > non-avx during the beta phase. > > > > > > On Tue, Aug 29, 2017 at 3:22 AM, Joey K Tuttle wrote: > >

Re: [Jprogramming] j806 beta-5

2017-08-29 Thread Joey K Tuttle
side the ones that didn't work for me - jcon.app, jhs.app, and jqt.app). All of them work beautifully and produce expected results. - joey > On 2017Aug 29, at 00:22, Joey K Tuttle wrote: > > Again I fiddled with jQt - this time with limited success... Double clicking &

[Jprogramming] Compatibility report

2017-09-16 Thread Joey K Tuttle
Not surprising, but jconsole, and jqt work just fine in OS X 10.13 (High Sierra). Also reporting good news that J701 runs fine in iOS 11. Looking forward to seeing/doing some benchmarks on the new iPhones. Love the *2 improvement in j806 vs j805 in OS X. --

Re: [Jprogramming] Ranges

2017-09-24 Thread Joey K Tuttle
/:~ (0 5 10 15 I. a) On 2017Sep 24, at 12:57, Skip Cave wrote: > > Jimmy G said: > > With key /. and < > > (0 5 10 15 I. a) > <<<>>> > >a > > 9 12 2 20 14 11 13 15 7 5 3 19 8 1 4 16 10 6 18 17 > > >(0 5 10 15 I. a) > ┌──┬──┬─┬──┐ > >

Re: [Jprogramming] Ranges

2017-09-24 Thread Joey K Tuttle
> >> └─┴──┴──┴──┘ >> >> j805/j64/windows >> >> Library 8.05.14 >> >> >> So on Joey's system the box contents and the boxes are sorted. On my >> system just the boxes are sorted. ??? >> >

Re: [Jprogramming] Compatibility report + some comparisons

2017-09-26 Thread Joey K Tuttle
> On 2017Sep 16, at 20:50, Joey K Tuttle wrote: > > Not surprising, but jconsole, and jqt work just fine in OS X 10.13 (High > Sierra). > > Also reporting good news that J701 runs fine in iOS 11. > > Looking forward to seeing/doing some benchmarks on the new

Re: [Jprogramming] Compatibility report + some comparisons

2017-09-27 Thread Joey K Tuttle
Yep. Sent from my iPhone > On Sep 27, 2017, at 00:10, bill lam wrote: > > So an iPhone 8+ (with A11?) is as fast as a MacBook pro with core i5? > > >> On Sep 27, 2017 2:11 PM, "Joey K Tuttle" wrote: >> >> >> >>> On 2017Sep 16, at

Re: [Jprogramming] J806 beta-7

2017-10-29 Thread Joey K Tuttle
Downloaded 3 versions: j806_mac64.zip BETA - installed and runs on my AVX MacBookPro j806_mac64.zip NONAVX - installed and runs fine on my older iMac i7 j806_linux64.tar.gz NONAVX - no joy on my slightly too old Ubuntu/Linux In (nonavx) linux - jconsole fails with: Illegal instruction I t

Re: [Jprogramming] Question about foreign 2!:0

2017-11-25 Thread Joey K Tuttle
Chris, Thanks for the credit - and I'm glad to see that hostcmd_j_ is commonly available. But, to be fair, I plagiarized the definition from Martin Neitzel more than 23 years ago... My servers invoke it many thousands of times a day in various monitoring scripts - and I use it often in CLI s

Re: [Jprogramming] Boxing

2017-11-26 Thread Joey K Tuttle
Or - ,.&.> <"1 ] 2 comb 6 > On 2017Nov 26, at 19:30, Brian Schott wrote: > > 2 <@:|:@:,:"1@:comb 6 > > On Sun, Nov 26, 2017 at 10:21 PM, 'Skip Cave' via Programming < > programm...@jsoftware.com> wrote: > >> Combination of 6 items taken 2 at a time: >> >> comb=: ((= +/"1) |.@:I.@# ]) #:@

Re: [Jprogramming] Nullary function?

2017-11-27 Thread Joey K Tuttle
Second that! A lot of really good work that shows a real payback. I'm encouraged to revisit my own stuff to make it fit new paradigms better. The under the covers stuff, like memory management, caused a 2x performance improvement in the benchmark I've used in APL then J for 50 years. That's a g

[Jprogramming] Belated Pi day looking at speedups in the j807-c release

2018-03-17 Thread Joey K Tuttle
When the beta version j807-c was announced yesterday, I decided to indulge in my hobby of playing with Pi (even though it was the day after Pi day...) I've been trying some taxing problems on a machine that I have access to and one of the things I had done was to calculate the first 10 billion p

Re: [Jprogramming] Latest Beta D

2018-04-20 Thread Joey K Tuttle
I had no problem with pint 1. in either linux or Mac OS updates of 807-d Haven' t tried labs - but I should and I agree that we all ought to bash this beta as much as possible. The speedups and polishing are great, but ... > On 2018Apr 20, at 08:57, John Baker wrote: > > I have been kicking a

Re: [Jprogramming] Latest Beta D

2018-04-20 Thread Joey K Tuttle
I think it may have been pint 3 that led to my sloppy typing ... I really should limit myself to one pint ... ;-) > On 2018Apr 20, at 09:02, Joey K Tuttle wrote: > > I had no problem with pint 1. in either linux or Mac OS updates

Re: [Jprogramming] [Jchat] A new video by Sean Stickle on prefix, suffix, infix and outfix

2018-05-16 Thread Joey K Tuttle
Very nice presentation. I think it deserves a post to programming forum. > On 2018May 16, at 14:23, robert therriault wrote: > > I just saw this go by on Twitter. A video explaining prefix, suffix, infix > and outfix. It looks like the first in a series and I think shows a lot of > promise. >

Re: [Jprogramming] J807 beta-f available

2018-06-29 Thread Joey K Tuttle
Report on a clean and working install under OS X 10.14 Mojave beta. Things seem to be working very nicely. So far I'm quite liking Mojave. Here, for people willing to suffer the , was what I did to be happy with having J807 beta-f running in Mac OS Mojave 10.14 - Starting from the instructions

Re: [Jprogramming] J is really fast (probably a bug)

2018-07-03 Thread Joey K Tuttle
In the beta release - 6!:2 'delay 10#0.2' 5.2e_5 6!:2 'delay 1' 1.000993 JVERSION Engine: j807/j64/darwin Beta-g: commercial/2018-07-02T12:56:14 Library: 8.07.16 Platform: Darwin 64 Installer: J807 install InstallPath: /applications/j64-807 Contact: www.jsoftware.com 6!:2 'delay

[Jprogramming] A possible change to behavior of #:

2018-07-03 Thread Joey K Tuttle
Can anyone provide a reason it would be undesirable to have a scalar left (x) argument to #: behave any differently than x (#.^:_1) y ? In NuVoc I find - " x #: y is used only when you need to state how many places you want in the result, or if x contains differing values. If you want just su

Re: [Jprogramming] A possible change to behavior of #:

2018-07-03 Thread Joey K Tuttle
> On Tue, Jul 3, 2018 at 11:33 PM Jimmy Gauvin wrote: > >> Hi, >> >> I also support the idea of this scalar extension. >> >> #.inv or #.^:_1 have a "kludgy" feeling ... >> >> >> Jimmy >> >> On Tue, Jul 3, 2018 at 11:

Re: [Jprogramming] A possible change to behavior of #:

2018-07-04 Thread Joey K Tuttle
with >> general agreement that j's implementation is best, I still disagree. >> >> antibase =: [: :(|.@:}.@:| , <.@:%~) {.@:]) , }.@:])/)@:((,~ (1 , >> |.@:(*/\.)@:}.))~)"1 0) >> assert 1 1 0 3 -: 2 5r2 2 5 antibase 38 NB. change for 38

Re: [Jprogramming] J807 beta-i available

2018-08-23 Thread Joey K Tuttle
No trouble with installation in Mac OSX Mojave - lovely speedups from j806! No troubles with AVX and non-AVX in Linux systems (great speedups there too) Assume there will be a build for beta-i on RaspberryPi (or just a final release) - the current link gets beta-b Thanks for all the great work

Re: [Jprogramming] j807 release-a available

2019-01-14 Thread Joey K Tuttle
Nice/easier way to go for an update - but ... I was flummoxed for awhile by - 'update' jpkg 'all' Updating server catalog... Local JAL information was last updated: 14 Jan 2019 09:08:52 Installed addons are up to date, 1 addon are not yet installed. There is a newer version of the base library

Re: [Jprogramming] j807 release-a available

2019-01-14 Thread Joey K Tuttle
Bill, Thanks for the feedback. Note that this happened in my Ubuntu 18.04.1 system where jkt@set1:~$ ja FHS 0 JVERSION Engine: j807/j64nonavx/linux Release-a: commercial/2019-01-11T11:06:44 Library: 8.07.22 Platform: Linux 64 Installer: J807 install InstallPath: /usr/local/lib/j64-807 Con

Re: [Jprogramming] j807 release-a available

2019-01-16 Thread Joey K Tuttle
ry), and > package manager). > > > > On Tue, Jan 15, 2019 at 10:51 PM 'Bo Jacoby' via Programming < > programm...@jsoftware.com> wrote: > >> Thanks Eric! How do I 'update the base library'? /Bo. >>Den tirsdag den 15. januar 2019 01.15

[Jprogramming] Release-a j807 problem with plot

2019-01-17 Thread Joey K Tuttle
In my various rambles, I made this point. iMi7:bin jkt$ ja JVERSION Engine: j807/j64nonavx/darwin Release-a: commercial/2019-01-11T11:44:43 Library: 8.07.22 Platform: Darwin 64 Installer: J807 install InstallPath: /applications/j64-807 Contact: www.jsoftware.com load 'pacman' 'update' jpk

Re: [Jprogramming] Release-a j807 problem with plot

2019-01-17 Thread Joey K Tuttle
at 14:51, bill lam wrote: > > initiate a debug session first by > dbr 1 > > and then run the surface plot, when it suspended , the values of y and Tfm > can examined. > > > On Fri, Jan 18, 2019, 2:45 AM Joey K Tuttle >> In my various rambles, I made this poi

Re: [Jprogramming] Release-a j807 problem with plot

2019-01-17 Thread Joey K Tuttle
Bill, OK, edited project as requested - ran failing plot and then: MBpro:bin jkt$ ls -l ~/*bin -rw-r--r-- 1 jkt staff 176 Jan 17 20:47 /Users/jkt/Tfm.bin -rw-r--r-- 1 jkt staff 240048 Jan 17 20:47 /Users/jkt/y.bin MBpro:bin jkt$ zip forBillLam.zip ~/*bin adding: Users/jkt/Tfm.bin (defl

Re: [Jprogramming] 807 release-b bug fix

2019-01-22 Thread Joey K Tuttle
After update, nonavx and avx versions produce expected plot results - thanks for the fix. One note, there is an extra _ in your name below - probably helpful to say: load 'pacman' je_update_jpacman_'' NB. download latest JE ... instructions ... Thanks for the fix! - joey > On 2019Jan 22

Re: [Jprogramming] Fwd: Is there a BigInteger equivalent in J?

2014-01-22 Thread Joey K Tuttle
x: converts a result to BigInteger and as you note, the precision of 10^300 is limited. But try 10^300x or perhaps <.@o. 10^1000x +/ (>: i.1000x)^(>: i.1000x) NB. seems to do what you want. On 2014/01/22, 12:47 , Ray Zhao wrote: Subject: Is there a BigInteger equivalent in J? Hi,

Re: [Jprogramming] JHS webgl

2014-02-12 Thread Joey K Tuttle
Brian, I put up the new release and it seemed generally OK. I did carry forward a script that I think I built for a previous jhs release. I put it into my /usr/local/bin (which is not installed by default in OSX, but I find it handy). My j64-801 folder lives in /Applications. Here is the start

Re: [Jprogramming] unix command

2014-03-21 Thread Joey K Tuttle
As others have mentioned, an error in the Unix shell goes to standard output. I find it very useful to use a verb "host" which is quite helpful in letting one know what happened - e.g. host [: 2!:0 '(' , ' || true)' ,~ ] host 'cc' clang: error: no input files On 2014 Mar 21, at 06:3

Re: [Jprogramming] Indexing into array

2014-05-29 Thread Joey K Tuttle
Actually, I find that I don't use indexing very much - nice not to have those nested loops... :-) - joey On 2014May 29, at 8:45, Alex Giannakopoulos wrote: > I daresay, though, that something which most people think of as the most > widely used functionality in array programming could have a b

Re: [Jprogramming] sort times

2014-07-04 Thread Joey K Tuttle
On 2014/07/04, 22:59 , Roger Hui wrote: I have observed a puzzling timing result which may be CPU dependent. Please try the following and tell me what ratio you get, and the kind of machine you ran it on. Thanks. On my machine, an XPS L521X Intel Core i7-3632QM @ 2.2 GHz, x=: 1e6 $ ' '

Re: [Jprogramming] macosx j602

2012-10-23 Thread Joey K Tuttle
I meant to reply to this too - I do run Mountain Lion, but normally only use j in a Terminal window (executing jconsole) - I tried that first and j602 started fine, but then I ran a verb I have defined - version =: 3 : 'JVERSION, (10{a.), (2!:0 ''sw_vers''), 2!:0 ''echo `java -version 2>&1`'

Re: [Jprogramming] @: and capped fork

2012-12-02 Thread Joey K Tuttle
Also, people still have nostalgic memories of BASIC, e.g. http://www.slate.com/articles/technology/books/2012/11/computer_programming_10_print_chr_205_5_rnd_1_goto_10_from_mit_press_reviewed.html On 2012/12/02 01:49 , Roger Hui wrote: I don't think that is true, either the long or the short ver

Re: [Jprogramming] @: and capped fork

2012-12-02 Thread Joey K Tuttle
> The Tree view is great too (was it really there in 602??) > Yes - From ... j701/addons/docs/help/release/status.htm#v5.1 Changes in Version 5.1, 1992 07 28 ... 5!:5 implemented ... Browsing the release notes, (Rel) on the DoJ menu, is a good history lesson. On 2012/12/01

Re: [Jprogramming] @: and capped fork

2012-12-02 Thread Joey K Tuttle
time the J Forum did not exist). http://groups.google.com/group/comp.lang.apl/browse_thread/thread/5f1c1df7bd72fe51/32691205433c3152 On Sun, Dec 2, 2012 at 1:00 PM, Joey K Tuttle wrote: The Tree view is great too (was it really there in 602??) Yes - From ... j701/addons/docs/help/release

[Jprogramming] Bug/annoyances in plot

2012-12-05 Thread Joey K Tuttle
I was working with a friend on some curve fitting things and we were plotting the results along with a single point that represented the center of a circular fitting function. When trying to plot the single point, we ran into this - iMi7:~ jkt$ j64 JVERSION Engine: j701/2011-01-10/11:25 bui

Re: [Jprogramming] Bug/annoyances in plot

2012-12-06 Thread Joey K Tuttle
Thank you Brian, using 'type symbol' does avoid the length error, e.g. with - iMi7:~ jkt$ j64 load 'plot' pd 'type symbol' pd 2;3 pd 'show' pd 'type line' pd i.5 pd 'show' but puts a tiny red numeral 2 at (approximately) 2.2,3 on the canvas, then shows the line i.5 as expe

Re: [Jprogramming] Bug/annoyances in plot

2012-12-06 Thread Joey K Tuttle
Yes, no change in results. On 2012/12/06 13:38 , Brian Schott wrote: Joey, Have you tried your experiments without the intermediate pd show? The example I suggested does not have the intermediate pd show, for example. -- For

Re: [Jprogramming] Bug/annoyances in plot

2012-12-07 Thread Joey K Tuttle
My problem is not how to draw dots, but the following bug in jzplot.ijs load 'plot' pd 'type point' pd 2;3 pd 'show' |length error: pdf_circle | 'x y r'=.y Clearly there is something going wrong somewhere in the script. I've looked (a little) at trying to find where the diffe

Re: [Jprogramming] Re : Sigma notation

2012-12-21 Thread Joey K Tuttle
Another good reference on notation is the Graham - Knuth - Patashnik book CONCRETE MATHEMATICS a Foundation for Computer Science and the associated Concrete Math Companion by Ken Iverson. Chapter two of the respective books are on summation and notation. The Iverson book is available to read

Re: [Jprogramming] Documentation in J REPL

2012-12-25 Thread Joey K Tuttle
I think it is cool. Oleg (author of task.ijs) produced lots of well thought out additions to J. But even before his work, most of my use of J (especially in terms of other people using my work) has been in J scripts. J script of two sorts - #! shell scripts and the same but invoked as cgi fr

Re: [Jprogramming] "plot" legend bounding box bad

2013-02-18 Thread Joey K Tuttle
Your example looks very nice (well, pretty noisy data ... :-) on my OSX Jconsole (using PDF output to Preview) the PDF scales beautifully too. On 2013/02/15 14:54 , Devon McCormick wrote: This is on J console with JVERSION: Engine: j701/2011-01-10/11:25 Library: 7.01.082 Platform: Win 64 Instal

Re: [Jprogramming] Fwd: Newbie needs a little help with J under Linux :)

2013-03-13 Thread Joey K Tuttle
My jprofile has included a script for several years useful in Linux and OS X - the name (pgseed) stands for PrettyGoodSeed pgseed 3 : '9!:1 {. _2 (3!:4) (4?4){ host ''dd if=/dev/random bs=4 count=1''' host [: 2!:0 '(' , ' || true)' ,~ ] pgseed '' 1+0 records in 1+0 records out 4 bytes

Re: [Jprogramming] J and APL symbols

2013-04-11 Thread Joey K Tuttle
As did I - of course, memories fade/distort in 40+ years, but I'm pretty sure that iota was I (not i) and epsilon was E (not e)... Even such simple things still cause confusion. I did come to love the APL glyphs and spent many hours making fonts for strange devices like the IBM 6670 laser prin

Re: [Jprogramming] key

2013-04-24 Thread Joey K Tuttle
I share this opinion (and the later caveats for use in APL... :) On 2013/04/24 13:35 , Dan Bron wrote: Occurrence in x. It's not even a question. Anything else is heresy. -- For information about J forums see http://www.jsof

Re: [Jprogramming] 2!:0 in j602

2013-05-12 Thread Joey K Tuttle
I don't experience your limitation ... iMi7:jstuff jkt$ j6 JVERSION Installer: j602a_mac_intel.dmg Engine: j602/2008-03-03/16:45 Library: 6.02.023 NB. I have a couple of files that are text digits of pi ... NB. host is a nice wrapper for 2!:0 host [: 2!:0 '(' , ' || true)' ,~ ]

Re: [Jprogramming] 2!:0 in j602

2013-05-12 Thread Joey K Tuttle
No magic intended... somehow the line - 52{. pi went missing in my cut/paste... On 2013/05/12 10:05 , Joey K Tuttle wrote: $pi=. host 'cat Pi33554433.txt' 33554434 3.1415926535897932384626433832795028841971

Re: [Jprogramming] How read text file, sort its lines, write it back out?

2013-05-27 Thread Joey K Tuttle
I think having examples in the wiki is a great idea. For many years (starting c. 1990) my profile.ijs included my definitions of fread=: 1!:1@< fwrite=: 1!:2 < a year or so ago I commented out my definitions in my profile so that when I tried something for/from the forum I would be using

[Jprogramming] Problem with Output Control

2013-06-09 Thread Joey K Tuttle
For many years I have used a personal profile .ijs file with j. I primarily use jconsole in Linux and OSX. My profile contains the following 2 lines - NB. set line length and number of lines hnt 9!:37 ]0 0 555 which has worked fine in all systems up through and including j602. However,

Re: [Jprogramming] Problem with Output Control

2013-06-09 Thread Joey K Tuttle
Yes, I should have been more clear that 9!:37 ]0 0 555 9!:36 '' 0 0 555 works fine in a session, but is a nuisance to have to set each time. I suppose I could make a cover verb in my profile, but that seems silly/clumsy. On 2013/06/09 10:40 , Raul Miller wrote: I don't set

Re: [Jprogramming] Problem with Output Control

2013-06-09 Thread Joey K Tuttle
Well, that does work - but it seems pretty convoluted... Thanks. On 2013/06/09 11:08 , Raul Miller wrote: Try putting this in your profile: 9!:27'9!:37]0 0 555' 9!:29]1 Though if you had more lines that needed to be executed in this fashion, a cover verb for the 9!:27 content would be a g

Re: [Jprogramming] Problem with Output Control

2013-06-09 Thread Joey K Tuttle
I should have added that in the same experiment, I observed that adding - 9!:11]10 9!:1]314159 to the profile does alter the Seed and default Print Precision as expected. Why other 9!:n work and 9!:37 doesn't continues to puzzle me. On 2013/06/09 11:30 , Joey K Tuttle wrote: Well, that

Re: [Jprogramming] Joining up a rank-1 array of integers

2013-09-08 Thread Joey K Tuttle
Another (related, and also using -. (twice!)) expression that I use a lot for getting just the digits from a string - digits=: -.&(a.-.'0123456789') digits ": 23 45 6 23456 On 2013/09/08 19:54 , Alex Giannakopoulos wrote: That 'less' verb is very useful, I'd never had occasion to use i

Re: [Jprogramming] using socket on iOS

2013-09-23 Thread Joey K Tuttle
On my iPad2 (not jb) it works and returns 0;18 I get the same result in my not jb iPhone4, i.e. 0;18 Both are running iOS7 On 2013/09/23 22:24 , bill lam wrote: socket seems work in my jb iphone 3gs with the following test script. Can anyone confirm if it will work in a non-jb devices? cocur

Re: [Jprogramming] JHS update

2013-09-24 Thread Joey K Tuttle
I have updated JHS on my iMac (both 32 and 64 bit versions 7.01) things seem to work predictably. I have been using jquery in some jcgi applications I work on, getting auto-completion of entries and things like that. It is an easy entry into javascript for practical purposes. I was a little be

Re: [Jprogramming] JHS update

2013-09-24 Thread Joey K Tuttle
OK, I retract this statement. After restarting things and trying again, the link|jtable shows up just fine. On 2013/09/24 24:52 , Joey K Tuttle wrote: The above was in Darwin - but in Linux, I didn't fare so well. I ran JHS and updated to JHS 1.0.171 and it starts OK on my Linux server,

Re: [Jprogramming] using socket on iOS

2013-09-24 Thread Joey K Tuttle
HTTP/1.0 > > ) > > wget'' > NB. = > > Вт, 24 сен 2013, bob therriault писал(а): >> On my non jail broken 3gs I get 0;15 >> >> On the 3gs I am running iOS 5.1.1 :) >> >> Cheers, bob >> >> On 2013-09-23, at 11:

Re: [Jprogramming] JHS update (fix numeric save)

2013-09-24 Thread Joey K Tuttle
Very nice. I assumed that the fix was pretty minor. But I agree with your first take on this, that simplicity is the real goal - putting data requirements on the J side gives a lot more "flexibility" for entry of data. On the other hand, replacing one of the numbers with something like 3j4 cause

Re: [Jprogramming] How get JHS to work on Mac OS X?

2013-09-25 Thread Joey K Tuttle
In my (infrequent) use of jhs, I use a script located in /usr/local/bin that when used looks like this: iMi7:~ jkt$ cat /usr/local/bin/jhs8 #!/bin/bash (sleep 5; open -a "Google Chrome" http://127.0.0.1:65001/jijx) & /Applications/j64-801/bin/jconsole ~addons/ide/jhs/core.ijs -js " init_jhs_''

  1   2   >