Re: [Jgeneral] Problem with install

2023-10-15 Thread bill lam
Probably some TLS stuff had changed on the server side that J on windows failed to connect. The fix will be available on the next base library update. On Tue, Oct 3, 2023, 1:52 PM William Szuch wrote: > I get the following error using install: > > > install 'github:jsoftware/stats_r' > >

Re: [Jgeneral] plot: unable to produce jpg, png etc

2023-10-07 Thread bill lam
The bug is windows specific and has been fixed now. Please update the plot package from jal and test again. On Mon, 2 Oct 2023 at 9:05 PM 'Ian Shannon' via General < gene...@jsoftware.com> wrote: > > I'm certain this is not a J issue. It is likely a ms windows or > installation issue. > > Up to

Re: [Jgeneral] 9!:10 vs 9!:11

2023-08-31 Thread bill lam
You can type less 9!:11]8 On Fri, 1 Sep 2023 at 7:11 AM ppadilcdx wrote: > Perhaps another nitpick but for the subject query no parentheses are > required, i.e., 9!:10 '' prints the current precision but, 9!:11 > requires parentheses for it to parse correctly, e.g. (9!:11) 8 > > Perhaps the

Re: [Jgeneral] can't load math/cal in j9.4 or j9.5 beta

2023-08-10 Thread bill lam
first test the availability of the verb revinfo_j_ if it is available then revinfo_j_'' +---++--+--+--+-+---++---+ |9050004|j9.5.0-beta4|j64arm|darwin|commercial|www.jsoftware.com

Re: [Jgeneral] FreeBSD, two questions

2023-07-03 Thread bill lam
And > invoking the first again works normally. > > Also, invoking a few others demos first, e.g., eigenpictures which works > fine on a fresh restart eliminates all errors for whatever is invoked next. > > Once the error occurs on restarting it doesn't happen again. > > Thank

Re: [Jgeneral] FreeBSD, two questions

2023-07-01 Thread bill lam
ng the first again works normally. > > Also, invoking a few others demos first, e.g., eigenpictures which works > fine on a fresh restart eliminates all errors for whatever is invoked next. > > Once the error occurs on restarting it doesn't happen again. > > Thanks, > > B

Re: [Jgeneral] FreeBSD, two questions

2023-06-30 Thread bill lam
':'){.y > > if. 0=#y do. '' return. end. > > n=. y i. ' ' > > f=. n {. y > > d=. (_2 * (<_2{.f) e. '_1';'_2';'_3') }. f > > if. IFUNIX do. > > p=. n }. y > > else. > > p=. (n+1) }. y > > if. '>' = {.p do. > > p=. ' >+'

Re: [Jgeneral] FreeBSD, two questions

2023-06-30 Thread bill lam
Please update the cairo addon first to see how it works. The shortcut script is untested and needs to changed according to window manager. I will check it later if I have time. Better if you can help to fix it. Thanks. On Fri, 30 Jun 2023 at 9:54 AM Benedict Archer wrote: > FreeBSD 13.2

Re: [Jgeneral] Server sent events (SSE)

2023-06-19 Thread bill lam
Which addon or script are you referring to? On Tue, 20 Jun 2023 at 5:20 AM Gilles Kirouac wrote: > >Do we have a J script/class to handle Server-Sent Events (SSE), i.e. > requests from a EventSource class in js? That class is the client side > of a Subscribe/Publish model using the

Re: [Jgeneral] Suggestion for -: verb

2023-06-16 Thread bill lam
Even if the numbers are divisible by 2, they themselves may also floating point numbers. On Fri, 16 Jun 2023 at 9:55 PM 'Veter Kamenev' via General < gene...@jsoftware.com> wrote: > Hi! > > In many cases -: verb uses when number is divisible by 2. > > 3!:0 +: 2 > 4 (integer) > > Surprise for

Re: [Jgeneral] savemat_jviewmat_ j9.4 - all colors are white

2023-06-14 Thread bill lam
I can't replicate the error on j9.5 mac. I don't have any working j9.4 jqt installed to test. Can you test with j9.5 beta? On Wed, Jun 14, 2023 at 10:28 PM Raul Miller wrote: >JVERSION > Engine: j9.4.2/j64avx2/windows > Build: commercial/2023-04-10T01:19:53/clang-15-0-7/SLEEF=1 > Library:

Re: [Jgeneral] Crash in m"n WAS: How to perform operation on every 3rd value in a vector

2023-05-29 Thread bill lam
I added this test to github action. All platforms except windows crashed. On Tue, 30 May 2023 at 4:53 AM Bill Heagy wrote: > debian > > $ nice ./jlibrary/bin/jconsole > JVERSION > Engine: j9.5.0-beta3/j64avx2/linux > Build: GPL3/2023-05-21T09:11:09/clang-14-0-6/SLEEF=1 > Library: 9.5.1 >

Re: [Jgeneral] recursive load (and jpath)

2023-05-19 Thread bill lam
y, based on the working directory of the J > > > > > process or of course based on absolute path). Because the 'dir' > entry > > > > > is removed from SystemFolders_j_ after the load is finished, this > > > > > mechanism can only be used for recursive loads. > > &

Re: [Jgeneral] recursive load (and jpath)

2023-05-19 Thread bill lam
On reflection, this can be quite complicated because a script can load other scripts recursively as mentioned in the subject line of the current email thread. On Fri, 19 May 2023 at 2:52 PM bill lam wrote: > Actually I quite like this idea that loading scripts relative to the >

Re: [Jgeneral] recursive load (and jpath)

2023-05-19 Thread bill lam
Actually I quite like this idea that loading scripts relative to the folder of current script loaded ( not current working directory). I can think of an alternative is saving the folder of the last 1!:x and then querying it using a foreign conjunction. On Fri, 19 May 2023 at 1:31 PM Raul Miller

Re: [Jgeneral] Hardware capabilities ?

2023-05-06 Thread bill lam
2!:7’' list the available J engine CPU architectures, since avx has been dropped, so it doesn't appear in j9.4 9!:56'avx' 9!:56'avx2' etc returns 1 or 0 depending on your CPU detected. On Sun, May 7, 2023, 2:51 AM Gilles Kirouac wrote: > Hardware capabilities 2!:7 > > 2!:7'' > avx >

Re: [Jgeneral] J9.4: Installation Problems on M1 macOS

2023-04-30 Thread bill lam
m the GitHub workflow > file I noticed that you build and test on macOS 12, so maybe the behavior > differs there. > > I also installed J9.4 on my openbsd machine and there is no such problem. > > Nils > > > Am 30.04.2023 um 00:10 schrieb bill lam : > > > > LC

Re: [Jgeneral] J9.4: Installation Problems on M1 macOS

2023-04-29 Thread bill lam
. > > Nils > > > Am 29.04.2023 um 16:39 schrieb bill lam : > > > > This should be a locale issue. decimal point and thousand separators > > swapped in some locales > > I can reproduce the bug by > > % LC_NUMERIC=fr_FR jc > > |ill-formed number: boot > &

Re: [Jgeneral] J9.4: Installation Problems on M1 macOS

2023-04-29 Thread bill lam
This should be a locale issue. decimal point and thousand separators swapped in some locales I can reproduce the bug by % LC_NUMERIC=fr_FR jc |ill-formed number: boot | dm=. 0 2 320 1280 2 720 243.247 244.273 |^ | android_getdisplaymetrics=:3 :0 |[-201]

Re: [Jgeneral] Form Editor & wd commands

2023-04-16 Thread bill lam
You can try the jnet frontend which uses the legacy wd commands. The j602 form scripts can be run directly or with minor changes. Jnet ide addon can be installed via jal. It runs on windows only. You can play with the demo. On Sun, 16 Apr 2023 at 9:09 PM adam dunne wrote: > I am an old fan of

Re: [Jgeneral] J debugger bug?

2023-04-14 Thread bill lam
My experience is that it always stop at the first line, eg running this script dbr 1 foo=: 3 : 0"0 10 [:0 11 ) foo 1 2 3 % jc ~/a1.ijs |valence error: foo | [:0 dbctx'' @@ foo[:0] *v @@ /Users/bill/a1.ijs 3 : 0"0 >[0] 10 [1] [:0 [2] 11 On Sat, Apr 15, 2023 at 11:34 AM Henry Rich

Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread bill lam
NGW/Win64/libblas.dll > > And, after downloading liblapack.dll, I see: > > $ strings liblapack.dll | grep ilaver > ilaver_ > ilaver.f > ilaver_ > > So I'm not quite sure what's gone wrong here, with the prebuilt lapack. > > Where did J's liblapack3.dll come from? > &g

Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread bill lam
> > But that's an old page, which might be why it ignores > > https://gcc.gnu.org/wiki/GFortranBinariesWindows > > > > I'll see if I can get that to work. > > > > Thanks, > > > > -- > > Raul > > > > On Sat, Apr 8, 2023 at 5:28 AM b

Re: [Jgeneral] math/lapack2 addon questions

2023-04-08 Thread bill lam
Unfortunately the pre-built windows lapack binaries over the net are outdated. It is easier to modify the jwiki documentation than to find an updated binary. On Fri, Apr 7, 2023 at 8:30 AM Igor Zhuravlov wrote: > On Thu, Apr 6, 2023 at 02:30 PM Ric Sherlock wrote: > > However the new section

Re: [Jgeneral] The line below Crashes J.

2023-03-31 Thread bill lam
This should be a stack overflow issue. Libgmp allocates memory (alloca) from stack as working area while converting numbers to strings. On Fri, 31 Mar 2023 at 10:17 PM Don Guinn wrote: > 0j10":(>:10x%100x)^100x > > >JVERSION > Engine: j9.4.1/j64avx512/windows > Build:

Re: [Jgeneral] math/lapack2 addon questions

2023-03-27 Thread bill lam
Your contributions are always welcome! On the point 2, & means no memu applied. The trailing \0 might be absent. Nevertheless, LAPACK are fortran routines so that C style strings are not expected. Therefore I _think_ that is OK. On Mon, Mar 27, 2023 at 3:55 PM Igor Zhuravlov wrote: > Dear

Re: [Jgeneral] media/wav problem on osx m1

2023-03-08 Thread bill lam
the addon works on windows only. from its manifest CAPTION=: 'Windows WAV file creation and play' DESCRIPTION=: 0 : 0 Implementation for Windows. Includes samples of creating musical notes. Copyright 2006 (C) Oleg Kobchenko ) On Wed, Mar 8, 2023 at 11:48 PM Raul Miller wrote: > require

Re: [Jgeneral] Access source through GitHub

2023-03-08 Thread bill lam
ed, but I don’t know how to navigate to J source. > > I’ve never heard of a source tarball! Is that easier and how do I get it? > > Thanks > > From: General on behalf of bill > lam > Sent: Wednesday, March 8, 2023 1:38:08 PM > To: General for

Re: [Jgeneral] Access source through GitHub

2023-03-08 Thread bill lam
source tarball and all binaries built are available here https://github.com/jsoftware/jsource/releases/tag/build On Wed, Mar 8, 2023 at 9:38 PM bill lam wrote: > Do you have git installed already? If not you can download the source > tarball. > > On Wed, Mar 8, 2023, 8:14 PM Ric

Re: [Jgeneral] Access source through GitHub

2023-03-08 Thread bill lam
Do you have git installed already? If not you can download the source tarball. On Wed, Mar 8, 2023, 8:14 PM Richard Donovan wrote: > Hi all > > I am interested in looking at the J interpreter source code which I > believe is available. > > I am not used to using GitHub although I have an

Re: [Jgeneral] Error during installation of J9.4

2023-03-04 Thread bill lam
You are correct. It should be 904. Mea culpa. On Sat, 4 Mar 2023 at 10:19 PM Robin Niemeyer wrote: > I am running Linux Mint which is ubuntu/debian based. > > I got the error message: > update-alternatives: priority must be an integer > during installation of J9.4 > > The command in

Re: [Jgeneral] inconsistent fill behaviour $ and {. on empty array.

2023-02-20 Thread bill lam
5 5{. 0 0$'' 5 5{.'' |length error | 5 5{.'' But this looks like a rank error to me. On Mon, 20 Feb 2023 at 10:39 PM Raul Miller wrote: > Generally speaking, errors of this sort are "heuristic" -- the idea is > to catch coding issues which were probably mistakes. > > Also, in

Re: [Jgeneral] Current release of J (was Re: [Jprogramming] Odd)

2023-02-17 Thread bill lam
All jengine updates are available in this url http://www.jsoftware.com/download/jengine/ On Fri, 17 Feb 2023 at 6:58 PM Raul Miller wrote: > On Fri, Feb 17, 2023 at 5:36 AM Jan-Pieter Jacobs > wrote: > > Engine: j9.4.0-beta11/j64avx/linux > > Commercial: www.jsoftware.com/clang-11-0-0 > >

Re: [Jgeneral] Current release of J (was Re: [Jprogramming] Odd)

2023-02-17 Thread bill lam
Beta release package is done by manual. But I guess files in jengine folder are updated automatically by github actions. The new 9!:4 format requires an updated base library. The latest version is 9.4.14 . On Fri, 17 Feb 2023 at 6:58 PM Raul Miller wrote: > On Fri, Feb 17, 2023 at 5:36 AM

Re: [Jgeneral] console.log in webgl?

2023-01-12 Thread bill lam
webview widget should support javascript and callback. But it has been too long since it has been implemented so that I forget everything about it. On Thu, Jan 12, 2023 at 6:55 PM Raul Miller wrote: > A related question here: > > Do we have some way of piping data from J into a webgl context?

Re: [Jgeneral] C Compiler

2023-01-10 Thread bill lam
If you are using windows specifically. You can use vs 2019 (or vs 2022). But you need the clang module installed IIRC. On Wed, Jan 11, 2023 at 11:08 AM Raul Miller wrote: > Current development focuses on gcc and clang with clang usually being > preferred for development as it catches problems

Re: [Jgeneral] Installation on Linux

2022-11-29 Thread bill lam
Using install-usr.sh to move to home folder is overkill. You can just use mv command or mouse click/drag to do it. On Tue, 29 Nov 2022 at 11:16 PM Marv wrote: > Hi! > > I can see where Adrien Matthieu is coming from. Installation on linux is > not yet as straightforward as other platforms

Re: [Jgeneral] J names, conventions and behavior

2022-11-21 Thread bill lam
I like your idea of jconsole running scripts and exit automatically. I think this can be implemented using a new command line option like -bye or others. On Mon, 21 Nov 2022 at 11:51 PM Adrien Mathieu wrote: > Hello, > > I have been learning J for quite a while now, so I start feeling >

Re: [Jgeneral] new jios release is pending

2022-11-21 Thread bill lam
Thank you for the prompt reply. On Mon, 21 Nov 2022 at 4:24 PM 'Mike Day' via General wrote: > In ~config, > > Cheers, > > Mike > > Sent from my iPad > > > On 21 Nov 2022, at 08:06, bill lam wrote: > > > > Where is the startup.ijs that I can save my

Re: [Jgeneral] new jios release is pending

2022-11-21 Thread bill lam
Where is the startup.ijs that I can save my utilities verbs and run automatically when J boots up? On Mon, 21 Nov 2022 at 7:59 AM Ian Clark wrote: > @ Bill > pm-ed you with the scripts. > > Ian Clark > > On Sun, 20 Nov 2022 at 14:03, bill lam wrote: > > > Ian,

Re: [Jgeneral] new jios release is pending

2022-11-20 Thread bill lam
Ian, can you attach the updated ios.ijs as text attachment here? I want to try copy and paste. On Sun, 20 Nov 2022 at 6:16 PM Ian Clark wrote: > @ jerome > > You have an out-of-date version of: j/system/ios/ios.ijs > > > The app bundle has an up-to-date copy, but the recent App Store update has

Re: [Jgeneral] J903 crash

2022-11-10 Thread bill lam
r sees the form > > ;@:(,&','&.>) > > which says 'do something inside the boxes and then immediately join the > contents'. > > Armed with the knowledge, the interpreter can leave the contents of the > boxes virtual (something it normally is not allowed to do) until they &

Re: [Jgeneral] J903 crash

2022-11-10 Thread bill lam
It should be a bug that already fixed in the latest j904 beta. You may workaround it by replace {: with its equivalent, eg >(([:,&','each}:),{.@:(_1&{.));:'cat dog mouse' cat, dog, mouse That said, I would usually do it this way }:@:;@:(,&','&.>);:'cat dog mouse' cat,dog,mouse On Thu,

Re: [Jgeneral] macOS and iPadOS no longer display J's bitmaps

2022-10-11 Thread bill lam
ion, but not hard enough. > > On Mon, 10 Oct 2022 at 22:05, bill lam wrote: > > > Thanks. I also found this new behavior is a feature/bug. I will convert > > those bmp in j addons to 24-bit bmp so that they can be used under iOS > and > > Mac Monterey. > > > > not

Re: [Jgeneral] macOS and iPadOS no longer display J's bitmaps

2022-10-10 Thread bill lam
ut I would need to check a lot of bitmaps to be sure of that. > > I have not found any difference in behavior between Monterey and > iOS/iPadOS. > > > > > > On Mon, 10 Oct 2022 at 02:29, bill lam wrote: > > > Ian, can you try some 4-bit and 8-bit bmp images fro

Re: [Jgeneral] macOS and iPadOS no longer display J's bitmaps

2022-10-09 Thread bill lam
ine existing viewmat_z_ to replace the line: >mat writebmp f > with: >mat writebmp f ; 24 > > An update to the App Store app is ready-to-go as soon as I've finished > testing it. Viewmat will work, and the above workaround won't be necessary. > > > On Sun, 9 Oct 20

Re: [Jgeneral] macOS and iPadOS no longer display J's bitmaps

2022-10-08 Thread bill lam
NB. 00 FF 00 0 255 0 Green, Pixel (1,0) > > NB. 00 00 0 0 Padding for 4 byte alignment (could be a value other than > zero) > > NB. ) > > > smoutput $ hextable > > > process=: 3 : 0 > > z=. '' > > for_line. y do. > > z=.z , SP, TAB taketo li

Re: [Jgeneral] Problem using the name "script" then using "load"

2022-10-08 Thread bill lam
appending _z_ to zlocale names is ugly and defeat the original purpose of zlocale. In your purposal, it can be argued that all names including smoutput and fexist also need _z_ I think a better way to fix is to put script into j locale and refer it as script_j_ or rename it as new name jscript

Re: [Jgeneral] macOS and iPadOS no longer display J's bitmaps

2022-10-03 Thread bill lam
What's the spec of apple compliant bmp format? On Tue, Oct 4, 2022, 9:00 AM Ian Clark wrote: > Following recent security updates to macOS and iPadOS, they now refuse to > display bitmaps generated by addon graphics/bmp, or any bitmaps shipped > with j904. For example:

Re: [Jgeneral] [Jbeta] Error in new wiki

2022-09-26 Thread bill lam
Don meant the yellow wiki https://code2.jsoftware.com/mediawiki/index.php?title=Special%3AJwikiSearch=hqt+function+keys On Mon, 26 Sep 2022 at 7:14 AM Don Guinn wrote: > MOved to General Forum > > After sending this note I reran the request and it worked. But this was > from the normal search

Re: [Jgeneral] jqt showcase

2022-06-29 Thread bill lam
The requirement to hit enter key might be a bug. On Wed, 29 Jun 2022 at 9:40 PM Raul Miller wrote: > Ah, I see... > > actually,, it's not an argument, it's pulling the value from the > current selection. > > And, the trick is, you have to hit the Enter key to bring it up. > > That's... well,

Re: [Jgeneral] math/lapack2

2022-06-05 Thread bill lam
protocol of dgeev_jlapack2_ in lapack2 '... dgeev_ n *c *c *i *d *i *d *d *d *i *d *i *d *i *i ' the wiki should be updated if lapack2 is wanted On Mon, Jun 6, 2022 at 7:17 AM Raul Miller wrote: > Today I stumbled over a regression in our lapack support. > >

Re: [Jgeneral] jqt crash

2022-06-01 Thread bill lam
the echo inside the verb hand caused infinite repaint. This works {{ require'gl2' coinsert 'jgl2' wd {{)n pc clock closeok; cc face isigraph; set face wh 200 200; pshow; }} clock_face_paint=: {{ try. 'H M S'=. _3{.6!:0'' glclear'' center=.

Re: [Jgeneral] Addon 'format/zulu' crashes j904 Beta-d

2022-05-29 Thread bill lam
needed. > > This is all I see on my Mac mini in j904 > > 9!:56'cpu' > > arm64 > > Needs more. Especially chip type plus whether Rosetta emulation is in use. > > > BTW: 9!:56 is undocumented in > https://code.jsoftware.com/wiki/Vocabulary/Foreigns > > On Su

Re: [Jgeneral] Addon 'format/zulu' crashes j904 Beta-d

2022-05-29 Thread bill lam
9!:56'cpu' reports the CPU architecture. On Android, this information is included because there are multiple architectures on that platform. Maybe should do the same for macos with the introduction of m1 chip. JVERSION Engine: j904/j64/android Beta-d: commercial/2022-05-22T09:17:07 Library:

Re: [Jgeneral] [Jprogramming] Issue running J903 jQT on Ubuntu 18.x

2022-05-21 Thread bill lam
J903 linux jqt binaries built using Qt 15.12. Apparently the Qt available on your system does not meet the version requirement. On Sun, May 22, 2022 at 1:21 PM 'robert therriault' via Programming < programm...@jsoftware.com> wrote: > I don't have the expertise you seek Jon, but I have cross

Re: [Jgeneral] Proposal for J android

2022-05-05 Thread bill lam
There are reports that jandroid had trouble to access to storage folder so all J files are written into it DATA folder which is private to J unfortunately. You can still use the storage folder if you have granted storage permission to J app. and the eg create a folder /storage/emulated/0/j in

Re: [Jgeneral] JQt install: assertion failure

2022-04-26 Thread bill lam
t; > Ah, thank you very much. That fix worked correctly. > > > > On Tue, Apr 26, 2022 at 8:14 PM bill lam wrote: > > > >> That should already be answered in the email thread. There was a bug in > >> jqt > >> 903 that it expected the wrong version. An

Re: [Jgeneral] JQt install: assertion failure

2022-04-26 Thread bill lam
> which jqt > > That should tell you how your system is finding jqt. That jqt should > be j903 rather than j902. > > I hope this helps, > > -- > Raul > > On Tue, Apr 26, 2022 at 6:10 AM Razetime wrote: > > > > To bill lam: Thanks a lot, that problem is solved

Re: [Jgeneral] JQt install: assertion failure

2022-04-26 Thread bill lam
Sorry the keywords were chopped off in my previous email. The info should be contained in it [Jprogramming] J9.03 jqt installation problem on Linux Ubuntu 20.04 On Tue, Apr 26, 2022 at 5:01 PM Razetime wrote: > My previous question was already on the forum, but after a search, I was > unable to

Re: [Jgeneral] J903 JQt Install Error

2022-04-26 Thread bill lam
please search for this thread. On Tue, Apr 26, 2022 at 3:26 PM Razetime wrote: > I'm trying to install all J903 libraries as per > https://code.jsoftware.com/wiki/System/Installation/J903/Zips, but I get > the following error: > > Installing JQt binaries... > install libjqt.so to

Re: [Jgeneral] rxmatches does not match empty regular expression at end of string

2022-04-07 Thread bill lam
Only the rxrplc_test.txt was attached. On Thu, 7 Apr 2022 at 10:20 AM Rik Renich wrote: > There seems to be a bug in rxmatches. I expect ('|$' rxmatches 'is') to > have three matches, but the final one is omitted. Likewise for an empty > regex. For comparison with perl: > > cat | perl >

Re: [Jgeneral] Crash in J903

2022-04-01 Thread bill lam
I suspect this may not be out of memory error. The crash is related to i. which has a branch of routine for large arguments. On Fri, 1 Apr 2022 at 9:15 PM 'Michael Day' via General < gene...@jsoftware.com> wrote: > I tried it on the iPad running J701 - but with greatly reduced > array-size, as

Re: [Jgeneral] problem with web/gethttp

2022-03-30 Thread bill lam
Raul, can you merge the PR yourself? Thanks. On Tue, Mar 29, 2022, 10:10 PM Raul Miller wrote: > On Tue, Mar 29, 2022 at 9:52 AM 'Michael Day' via General > wrote: > > And yet this works on this laptop running Windows 11: > > > > #qqq =. gethttp 'https://code2.jsoftware.com/' > > 715 > >

Re: [Jgeneral] Report on J Wiki Group meeting of March 24, 2022

2022-03-29 Thread bill lam
; >9!:14 '' > j903/j32/linux/beta/GPL3/unknown/2022-03-09T13:58:40/clang-14-0-0/SLEEF=0 > > Could it be that the j32 version is the difference? > > Cheers, bob > > > On Mar 28, 2022, at 22:37, bill lam wrote: > > > > At one point, the 007 warning was de

Re: [Jgeneral] Report on J Wiki Group meeting of March 24, 2022

2022-03-28 Thread bill lam
e I do not get the warning messages) and in j playground (where I > do get the warning messages). > > So it does not seem likely that a difference in how 9!:55 was used > could explain this difference in behavior. > > Thanks, > > -- > Raul > > On Tue, Mar 29, 2022 at

Re: [Jgeneral] Report on J Wiki Group meeting of March 24, 2022

2022-03-28 Thread bill lam
Those are not errors, see the 9!:55 in nuvoc. Is it possible that 9!:55 is executed in your profile or startup.ijs ? On Tue, 29 Mar 2022 at 12:58 PM Raul Miller wrote: > He does not have such a sentence, as near as I can tell. > > Here's the statements which would be generating those messages:

Re: [Jgeneral] font J Android on Redmi 9A

2022-03-04 Thread bill lam
JAndroid already uses the system fixed pitch font, but the linedraw characters in that font didn't look very nice. As a workaround you can use the ascii character. 9!:7[1{Boxes_j_ > On 4 Mar 2022, at 5:26 PM, adam dunne wrote: > > Trying to get a monotype font to display boxing correctly. >

Re: [Jgeneral] Memory management functions for strings

2022-02-27 Thread bill lam
Glad that you have fixed the bug. A simpler script to demonstate the bug is p=. mema 5 (4{.'abcde') memw p,0 5 2 echo memr p,0 5 2 it echo abcde but it shoud be abcd\0 > On 27 Feb 2022, at 11:34 PM, Henry Rich wrote: > > Thanks. I have fixed the code (which looked like it was copying an

Re: [Jgeneral] Memory management functions for strings

2022-02-27 Thread bill lam
Looks like either need to fix J engine or the documentation. On Sat, 26 Feb 2022 at 4:13 AM Raul Miller wrote: > I am trying to understand what you mean here. > > Your 'read' verb does not read from memory. Instead, it writes a zero > to an offset in some freshly allocated memory and returns

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-26 Thread bill lam
Just now I installed Gboard (google keyboard) and it can configure to show digits on the top row. So the problem is mitigated. On Sun, 27 Feb 2022 at 3:16 PM bill lam wrote: > Thanks Ian, but I think the kludge for space symbol is low priority. > Brian's suggestion of use comma

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-26 Thread bill lam
n the system keyboard to type a > space? > Easy to do, and has a satisfactory feel. (IMO at least). > It will be in the next update, along with a button to compose locatives > (like the existing one to compose strings). These leave the kb mode > unaltered. > > On Sun, 27 Feb 2022 a

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-26 Thread bill lam
I meant 1 space 2 space 3 For me it switched to ABC mode when I type space. On Sun, 27 Feb 2022 at 1:29 PM Brian Schott wrote: > On iOS phone I found I could type 1,2,3 using the system keyboard. > > On Sun, Feb 27, 2022 at 12:19 AM Ian Clark wrote: > > > @ Bill > > > > I wouldn't recommend

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-26 Thread bill lam
pps. So j901 has > served its purpose, even if it's only been to secure the continued > availability of j701. > > Ian Clark > > On Sat, 26 Feb 2022 at 04:43, bill lam wrote: > > > On iPhone j901, I noticed its keyboard always switched back to alphabet > >

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-25 Thread bill lam
On iPhone j901, I noticed its keyboard always switched back to alphabet after typing a space after digits, eg to enter the array 1 2 3, I need to type (123)1 (123)2 (123)3 Where (123) is the left bottom 123 key on the keyboard, I think this is a feature of the iPhone default keyboard. OTOH j701

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-21 Thread bill lam
ng the app code and > associated files, but it lies outside the app's sandbox, and iOS defends it > creatively. If you try hunting for an "~install" path, you'll be chasing > shadows. > > You can, however, copy files and folders into the /Documents/ folder as > siblings of j

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-21 Thread bill lam
at 8:11 PM Richard Donovan wrote: > On my iPhone… > > jpath'~install' > ~install > > Which isn’t much help’ > > From: General on behalf of bill > lam > Sent: Monday, February 21, 2022 4:37:15 AM > To: gene...@jsoftware.co

Re: [Jgeneral] linux install problem

2022-02-20 Thread bill lam
The OS is free to symlink any shell to /bin/sh , eg in MacBook % /bin/sh --version GNU bash, version 3.2.57(1)-release (arm64-apple-darwin21) Copyright (C) 2007 Free Software Foundation, Inc. But I am not aware any problem with that if bash is forward compatible with dash. The use of bash

Re: [Jgeneral] J903 on Pixel 6 Pro (Android)

2022-02-20 Thread bill lam
the install folder on any platform can be found by jpath'~install' on android it is /storage/emulated/0/Android/data/com.jsoftware.j.android/files > On 20 Feb 2022, at 1:58 AM, J. Patrick Harrington wrote: > > I just recently replaced my old iPhone (a 6 Plus) with a new Google Pixel 6 > Pro. >

Re: [Jgeneral] linux install problem

2022-02-20 Thread bill lam
I assumed you had solved the websock dependency issue. install-usr.sh script does not handle jqt. I have done it manually with the following steps. copy jqt to folder /usr/bin and/or rename it to jqt-9.03 so that multiversioned jqt can work. copy libjqt.so to folder /usr/lib64 (centos) or

Re: [Jgeneral] linux install problem

2022-02-18 Thread bill lam
I agree with Raul. On Sat, 19 Feb 2022 at 3:15 AM Raul Miller wrote: > On Fri, Feb 18, 2022 at 12:33 PM ethiejiesa via General > wrote: > > If we're opting for broadest portability here, then you might want to > consider > > using `#!/usr/bin/env sh'. > > I do not think that this is the right

Re: [Jgeneral] linux install problem

2022-02-18 Thread bill lam
Thank you for the fix. I'll study and commit the changes. /bin/sh (dash) is posix and should be available in all *nix distros, and I intend (and already done some) replace bash with sh in shell scripts. On Fri, 18 Feb 2022 at 11:29 AM Raul Miller wrote: > Actually, a better option here (better

Re: [Jgeneral] J902 crashing

2022-02-01 Thread bill lam
I think the ~ should be escaped as \~ otherwise it will be expanded by the shell. > On 2 Feb 2022, at 11:08 AM, Arthur Anger wrote: > > Staff-- > At intiation, the Terminal log shows: > /Applications/j902/bin/jhs.command: line 2: 53470 Segmentation fault: 11 > "`dirname "$0"`/jconsole"

Re: [Jgeneral] jconsole android 10

2022-01-21 Thread bill lam
the noun LIBFILE should give the full file name of the libj.so but I didn't try using jconsole like that. For testing and debug I usually use adb. On Fri, Jan 21, 2022, 6:26 PM Jan-Pieter Jacobs wrote: > Yesterday, I had the brilliant idea of trying out android 10 on my phone. > Now, I can't

Re: [Jgeneral] networked exe's

2022-01-17 Thread bill lam
hub.io > i.tgu.ca/real_cal > > -- > > from: bill lam > reply-to: gene...@jsoftware.com > to: gene...@jsoftware.com > date: Jan 17, 2022, 4:48 PM > subject: Re: [Jgeneral] networked exe's > > >Did you mean you had installed J on a windows network drive such a

Re: [Jgeneral] networked exe's

2022-01-17 Thread bill lam
Did you mean you had installed J on a windows network drive such as \\somepc\somefolder\ or it mapped as H:\ , such that the physical location of the folder is on another pc ? It maybe some windows permission security features that disallowed execution of programs on remote pc. On Tue, 18 Jan

Re: [Jgeneral] Possible bug in the j903 installation instructions

2022-01-16 Thread bill lam
Thank you for the bug report and fix. I will check and update the wiki. Actually I originally intended to do bin/install-usr.sh, but later changed my mind and run at the ~bin folder. On Sun, 16 Jan 2022 at 4:20 PM Michail L. Liarmakopoulos < m.l.liarm...@gmail.com> wrote: > Hello all, > > I

Re: [Jgeneral] Bugreport: bus error

2022-01-09 Thread bill lam
-Pieter > > On Sat, Jan 8, 2022, 07:01 bill lam wrote: > > > I can duplicate this crash on 32-bit arm android. An updated apk is > > available > > > > > > Please test again if these 2 sentences still crash . > > If it runs ok, then I think everything wil

Re: [Jgeneral] Bugreport: bus error

2022-01-07 Thread bill lam
I can duplicate this crash on 32-bit arm android. An updated apk is available Please test again if these 2 sentences still crash . If it runs ok, then I think everything will be fine. {{x=y}}/ 0 1 >:@| 0 1 On Fri, Jan 7, 2022 at 10:50 PM Jan-Pieter Jacobs < janpieter.jac...@gmail.com> wrote:

Re: [Jgeneral] Bugreport: bus error

2022-01-06 Thread bill lam
There was a minor update and I tested it on 32-bit raspberry and the try ts didn't crash. I uploaded an updated jandroid.apk. please download and try again. tool>check for new version should also work this time. On Fri, Jan 7, 2022 at 10:01 AM Jan-Pieter Jacobs < janpieter.jac...@gmail.com>

Re: [Jgeneral] Bugreport: bus error

2022-01-06 Thread bill lam
It's likely a 32-bit arm unaligned memory access issue. Can you check if it will also crash for a small max and ts ? On Fri, 7 Jan 2022 at 3:39 AM Jan-Pieter Jacobs wrote: > I was trying to debug my implementation of Dijkstra's algorithm and ran > into this J crash: > > (AoC Day 15 spoiler

Re: [Jgeneral] Bugreport

2021-12-27 Thread bill lam
ssage. > Thanks for taking a look. > Jan-Pieter > > > On Mon, Dec 27, 2021, 15:55 bill lam wrote: > >> Yes, I can duplicate this crash on 32-bit raspberry pi. I believe this is a >> misaligned access issue of 32 bit arm in va2ss.c and va1ss.c >> >> &

Re: [Jgeneral] Bugreport

2021-12-27 Thread bill lam
Yes, I can duplicate this crash on 32-bit raspberry pi. I believe this is a misaligned access issue of 32 bit arm in va2ss.c and va1ss.c can you test if these 2 sentences also crash in Android 32bit arm. {{x=y}}/ 0 1 >:@| 0 1 On Mon, 27 Dec 2021 at 9:44 PM Jan-Pieter Jacobs wrote: > Today

Re: [Jgeneral] [Jprogramming] Update on this week's wiki work

2021-11-28 Thread bill lam
there is another page in jwiki. guides / ole server for csharp this page just contains enough information for interfacing to j ole server. Users themselves must know more about csharp. another way is the use of pinvoke to call j.dll from csharp. there is also other pages on it but seems

Re: [Jgeneral] jconsole v9.0x: box-drawing chars (graph)

2021-11-20 Thread bill lam
utf8 support in windows terminal is buggy. A robust solution would be using windows unicode io but that is low priority. Can you use ascii box characters instead? On Fri, Nov 19, 2021 at 8:45 PM Martin Kreuzer wrote: > Hi all - > > Presently I'm using v8.07 and v9.0x in parallel. > > Using

Re: [Jgeneral] macOS M1 installation experience report

2021-11-20 Thread bill lam
Sorry. I found I had introduced a bug into pacman awhile ago and it wouldn't download Qt lib for mac (intel and arm). To workaround, follow these steps. Open and edit the file pacman.ijs inside the folder system/util scroll down to around line 1692 you will see if. IFUNIX do. qt_ldd_test d1

Re: [Jgeneral] eigenpictures demo

2021-11-12 Thread bill lam
You can download the addon math/eigenpic and try it under jqt. This addon had removed dependence on lapack years ago. On Sat, 13 Nov 2021 at 10:59 AM Raul Miller wrote: > https://code.jsoftware.com/wiki/Addons/math/lapack mentions > "eigenpictures demo from Studio|Demos menu." > > I cannot

Re: [Jgeneral] How to tell jconsole to exit on error?

2021-10-17 Thread bill lam
try. … catch. exit 0 end. On Sun, 17 Oct 2021 at 8:04 PM Alex Shroyer wrote: > Normally, if I run "jconsole example.ijs" and the example.ijs script > contains an error, the result is that I see an error message printed, and > the prompt is the J console prompt. > > What I want is for jconsole

Re: [Jgeneral] Mac mini M1 chip and J

2021-09-07 Thread bill lam
There are jengine arm binaries for m1 chip on http://www.jsoftware.com/download/jengine/j903-beta/darwin/arm/ But performance is about the same as that running under Rosetta. Also Arm binaries Qt ide not yet unavailable. On Tue, Sep 7, 2021, 4:58 PM Joey K Tuttle wrote: > J installs and runs

Re: [Jgeneral] Issues with J902 on Raspbian 64 bit

2021-09-03 Thread bill lam
Perhaps libomp is required. Please try install libomp from distro . On Sat, Sep 4, 2021, 7:31 AM joseph turco wrote: > Hello all, > > So I have an update. J902 WORKS with raspbian 32-bit. 64 bit raspbian does > not work with J902. As listed above ive done this on two different > installs. I

  1   2   3   4   5   >