Re: [Jprogramming] Bug in sorting?

2023-12-28 Thread bill lam
I got a similar result. I believe this bug is related to the boolean argument. coercing the array to integer can work correctly. p =. 00 + 8 2 $ 0 0 1 1 1 0 0 0 0 1 1 0 1 0 0 0 On Thu, Dec 28, 2023 at 6:02 PM Marcin Żołek < marcin.zo...@students.mimuw.edu.pl> wrote: > Hello, > I was trying to

Re: [Jprogramming] J9.5.1 release available

2023-12-21 Thread bill lam
android J9.5.1 release available at * http://www.jsoftware.com/download/j9.5/install/ On Thu, Dec 21, 2023 at 3:20 AM Eric Iverson wrote: > J9.5.1 release available > > If you were running the 9.5 beta, do a full install to get everything and > have a clean slate. Do not just do an engine

Re: [Jprogramming] J9.5.1 release available

2023-12-21 Thread bill lam
Does typing JVERSION help? On Thu, Dec 21, 2023 at 10:24 Devon McCormick wrote: > I followed the Windows installation instructions and I think it worked but > I can't tell and I have to guess where it was installed since there is no > helpful message at the end saying something like

Re: [Jprogramming] j9.5.0-beta9 available

2023-12-14 Thread bill lam
The latest base library is 9.5.5 so yours has been updated. It uses windows stock curl.exe for http fetch therefore certificates come from windows. Did you get windows update? On Fri, Dec 15, 2023 at 03:59 'Michael Day' via Programming < programm...@jsoftware.com> wrote: > I'm still getting an

[Jprogramming] Six cards

2023-12-10 Thread bill lam
https://ibb.co/XLn0bxH The each of the 6 cards is missing a number that is present in the remaining 5 cards. By asking a player a number is present in the card or not, the number can be deducted. Eg, 55 is missing in the top left card. The problem is to generate all 6 cards in J.

Re: [Jprogramming] j9.5.0-beta9 available

2023-12-08 Thread bill lam
j9.5.0-beta9 android available. http://www.jsoftware.com/download/j9.5/install/ On Thu, Dec 7, 2023 at 12:47 AM Eric Iverson wrote: > j9.5.0-beta9 available > > With luck this is the final beta and the release will be by year end. Last > chance to help check things out and ensure the release is

Re: [Jprogramming] J for android (Pixel 8) & other platforms

2023-12-04 Thread bill lam
Good observation. I am also thinking of moving the user folder to public location such as download folder so that J scripts will be visible by default. On Tue, Dec 5, 2023 at 00:59 J. Patrick Harrington wrote: > Quick followup. I realized you don't have to mess with (somewhat > awkward) AV File

Re: [Jprogramming] j9.5.0-beta7 available

2023-11-30 Thread bill lam
j9.5.0-beta8 android available. http://www.jsoftware.com/download/j9.5/install/ On Thu, Nov 30, 2023 at 2:01 AM Eric Iverson wrote: > j9.5.0-beta7 available > > If you already run the beta, then upgrade is easy: >load'pacman' >'upgrade'jpkg'jengine' > > To install 9.5 beta: >

Re: [Jprogramming] j9.5.0-beta7 available

2023-11-30 Thread bill lam
Can you try upgrading the base library and restart J to test again? On Thu, Nov 30, 2023, 2:56 AM 'Michael Day' via Programming < programm...@jsoftware.com> wrote: > Never mind vn 7 or 8, I'm getting this error (I've added some line-feeds): > > << > load'pacman' > 'upgrade'jpkg'jengine'

Re: [Jprogramming] J for android (Pixel 8) & other platforms

2023-11-09 Thread bill lam
er apps, as well as > more general headings. Any suggestions? > Sent from my Pixel 8 Pro, > Patrick > > On Thu, Nov 9, 2023, 4:50 AM bill lam wrote: > > > You need to go to phone settings and then enable j keyboard. And then it > > will be available for your keyboard sel

Re: [Jprogramming] j9.5.0-beta7 available

2023-11-09 Thread bill lam
android j9.5.0-beta7 available https://www.jsoftware.com/download/j9.5/install/ On Sat, Sep 16, 2023 at 10:34 PM Eric Iverson wrote: > j9.5.0-beta7 available > > If you already run the beta, then upgrade is easy: >load'pacman' >'upgrade'jpkg'jengine' > > To install 9.5 beta: >

Re: [Jprogramming] J for android (Pixel 8) & other platforms

2023-11-09 Thread bill lam
You need to go to phone settings and then enable j keyboard. And then it will be available for your keyboard selection. On Thu, 9 Nov 2023 at 2:25 PM J. Patrick Harrington wrote: > Thank you Kenneth, > > I just downloaded it to my laptop and transferred to the Pixel 8 via USB > cable. It works!

Re: [Jprogramming] broken taraxml?

2023-10-03 Thread bill lam
Apparently it requires the msxml.exe for working on windows. Please try download and install the msxml package from the net. On Tue, Oct 3, 2023 at 8:54 PM wrote: > Hello, > > > I have been reactiving some old code of mine and it seems that taraxml is > now broken. > > load'tables/taraxml'

Re: [Jprogramming] wd peculiarity

2023-09-21 Thread bill lam
wd'show' is asynchronous. It returns immediately so that the subsequent commands are possibly executed before the window is realized. On Thu, 21 Sep 2023 at 12:26 PM Ed Gottsman wrote: > Greetings. I’m supporting a Windows user (I do not have Windows myself) > who seems to be running into a

Re: [Jprogramming] Using rest API in J

2023-09-20 Thread bill lam
The exact syntax depending on using curl or wget. Their api documentation should have the information. Maybe you also need to set the cookie. On Wed, 20 Sep 2023 at 8:56 PM Pablo Landherr wrote: > I have a follow-up question. I've successfully sent a number of requests > and received data.

Re: [Jprogramming] lapack2 wrapper scripts (WAS: Eigenvectors and eigenvalues of complex matrices)

2023-09-01 Thread bill lam
Lapack2 contains api protocols for all 4 cases, single and double precision real single and double precision complex the signature of single precision in cd is "s" J doesn't natively support single precision complex so that there will be automatic conversion when calling functions involving

Re: [Jprogramming] J build fail

2023-08-21 Thread bill lam
We only support and test for a limited number of platforms, "musl" is not one of them. You can narrow down by removing the support of libgmp. J still works but without extended integer support. On Tue, 22 Aug 2023 at 12:53 PM 'Viktor Grigorov' via Programming < programm...@jsoftware.com> wrote:

Re: [Jprogramming] J build fail

2023-08-21 Thread bill lam
Make files and scripts in repository are meant for recent versions of clang and gcc. On Tue, 22 Aug 2023 at 7:56 AM 'Viktor Grigorov' via Programming < programm...@jsoftware.com> wrote: > Hey, > > I cloned the jsource repository. > Checked out 9.5.0-beta5 > Executed build_all.sh script in make2/

Re: [Jprogramming] JQt startup time - again!

2023-07-16 Thread bill lam
One possibility is finding projects under your user project folder. Another is that some errors occurred during booting up but there is no jqt ide to display the error message. You can try start jqt.exe without profile from the terminal at ~bin folder like, jqt.exe /jprofile Then load the

Re: [Jprogramming] j9.5.0-beta4 available

2023-07-15 Thread bill lam
J android beta available now. menu > Tools > Check New Version. On Fri, Jul 14, 2023 at 12:55 AM Michael Dykman wrote: > Thank you bill > > On Thu, Jul 13, 2023, 12:33 bill lam wrote: > > > J android beta will be available in a couple of days. > > Als

Re: [Jprogramming] j9.5.0-beta4 available

2023-07-13 Thread bill lam
J android beta will be available in a couple of days. Also android programs are updated by installing a newer version of APK. On Fri, 14 Jul 2023 at 12:00 AM Michael Dykman wrote: > Thank you again Eric for all the hard work. > > I note that the upgrade option is not available on the android

Re: [Jprogramming] jios 903.2 glitch

2023-07-10 Thread bill lam
I suspect it doesn't suppose train a c n /"0 |syntax error | /"0 On Tue, 11 Jul 2023 at 7:57 AM bill lam wrote: > A simpler way to demonstrate this issue in iOS > >mi=: {{ m }}"0 > |syntax error > | mi=:{{m}}"0 > > But removin

Re: [Jprogramming] jios 903.2 glitch

2023-07-10 Thread bill lam
A simpler way to demonstrate this issue in iOS mi=: {{ m }}"0 |syntax error | mi=:{{m}}"0 But removing the rank 0, it runs fine mi=: {{ m }} On Tue, 11 Jul 2023 at 12:49 AM 'Mike Day' via Programming < programm...@jsoftware.com> wrote: > I'm probably missing the blindingly

Re: [Jprogramming] j9.5.0-beta3 available

2023-06-02 Thread bill lam
9.5.0-beta3 available for android. Somehow the check for update button doesn't work. please download apk from jsoftware site * https://www.jsoftware.com/download/j9.5/install/ On Sat, 3 Jun 2023 at 1:49 AM Eric Iverson wrote: > j9.5.0-beta3 available > > If you already run the beta, then

Re: [Jprogramming] Search

2023-05-10 Thread bill lam
While ?. produces different results for J32 vs J64. Regardless of platforms and cpu architectures and J version, ?. always gives identical results for all J32. same result for all J64 . In the J engine test suite

Re: [Jprogramming] j9.5.0-beta2 available

2023-05-04 Thread bill lam
9.5.0-beta2 available for android. Somehow the check for update button doesn't work. please download apk from jsoftware site * https://www.jsoftware.com/download/j9.5/install/ On Wed, May 3, 2023 at 10:52 PM Eric Iverson wrote: > j9.5.0-beta2 available > > If you already run the beta, then

Re: [Jprogramming] 3 x:@^ 33 is not odd on a Mac or iOS

2023-04-27 Thread bill lam
on apple m1 <. 3 ^ 33 555906056624 16": 3 ^ 33 555906056623 3^33x 555906056623 On Fri, Apr 28, 2023 at 11:37 AM bill lam wrote: > I can reproduce this bug on apple m1 and android arm64. > > On Fri, Apr 28, 2023 at 11:01 AM 'robert therriault' via Program

Re: [Jprogramming] 3 x:@^ 33 is not odd on a Mac or iOS

2023-04-27 Thread bill lam
I can reproduce this bug on apple m1 and android arm64. On Fri, Apr 28, 2023 at 11:01 AM 'robert therriault' via Programming < programm...@jsoftware.com> wrote: > This is not a problem on the Windows platform according to Raul, but I > thought I should alert those who might be counting on powers

Re: [Jprogramming] J9.5 beta

2023-04-26 Thread bill lam
Oh sorry. they will have their own ~user folder. On Wed, Apr 26, 2023 at 7:53 PM bill lam wrote: > J 9.5 beta for Android available at > > http://www.jsoftware.com/download/j9.5/install/j9.5_android.apk > > J 9.4 (blue icon) can coexist with J 9.5 (gray icon). However they will &

Re: [Jprogramming] J9.5 beta

2023-04-26 Thread bill lam
J 9.5 beta for Android available at http://www.jsoftware.com/download/j9.5/install/j9.5_android.apk J 9.4 (blue icon) can coexist with J 9.5 (gray icon). However they will share the same ~user folder. On Mon, Apr 24, 2023, 4:50 AM Eric Iverson wrote: > The 9.5 beta cycle has started! > >

Re: [Jprogramming] Cannot save plot to format other than PDF

2023-04-23 Thread bill lam
I suspect Devon uses jconsole instead of jqt frontend. On Mon, Apr 24, 2023, 6:41 AM chris burke wrote: > Please send bug reports to general, and respond there, thanks. > > This worked for me as below. What is your environment and what > commands were used? > >load'plot' >plot 2 3 7 5 >

Re: [Jprogramming] j.dll change in 9.4?

2023-04-23 Thread bill lam
e path. > (If I had to take a wild guess, I'd say it was probably the addition of > pthreadVC3.dll for the new thread primitives.) > In any case, I added my J_HOME directory to my PATH and that fixed the > problem. > > > On Sat, Apr 22, 2023 at 10:48 PM bill lam wrote: >

Re: [Jprogramming] j.dll change in 9.4?

2023-04-22 Thread bill lam
Without additional details, it is hard to guess what's wrong. You can PM me scripts or files to reproduce the issue if you wish. On Sun, 23 Apr 2023 at 7:43 AM Michal Wallace wrote: > When I try to run my J frontend in J9.4, it crashes when trying to run > JInit. > I don't know how to obtain

Re: [Jprogramming] docs for 11!:n (JWd)?

2023-04-17 Thread bill lam
idea of breaking the > frontend into a dll > coupled with a small executable that calls it. Now that I understand how it > works, maybe > I can do the same thing. :) > > > > On Mon, Apr 17, 2023 at 1:39 PM bill lam wrote: > > > I should have said both j and jqt can c

Re: [Jprogramming] docs for 11!:n (JWd)?

2023-04-17 Thread bill lam
> to get the > implementation of jgl... (assuming that's what happens) > > Where should I look? > > > On Sat, Apr 15, 2023 at 7:40 PM bill lam wrote: > > > Jqt doesn't use 11!:x because it can call j.dll (libj.so) directly. Each > > value of x in 11!:x is exposed as a c

Re: [Jprogramming] avx problem with 904

2023-04-15 Thread bill lam
The following is written in Eric's email announcement of j9.4.2 . It looks like your cpu is avx but not avx2 capable. If your cpu actually supports avx2 then you can download and use the appropriate J binary manually. Previous releases had versions: j64, j64avx, and j64avx2. Machines limited to

Re: [Jprogramming] docs for 11!:n (JWd)?

2023-04-15 Thread bill lam
Jqt doesn't use 11!:x because it can call j.dll (libj.so) directly. Each value of x in 11!:x is exposed as a c function in the frontend. If your frontend is implemented in c/c++, then you can do the same without using 11!:x. However jandroid uses 11!:x interface because libj is C while jandroid

Re: [Jprogramming] Window Driver Mouse Events

2023-04-08 Thread bill lam
Thank you for reporting this missing mouse event bug for webview. I can reproduce it. Fix will be available in the next release. On Sun, Apr 9, 2023 at 2:43 AM Ed Gottsman wrote: > Hello. I’m having difficulty with mouse events in wd. > > They work perfectly. I can pick up (e.g.) mouse-move

Re: [Jprogramming] startup.ijs under Linux ...

2023-04-05 Thread bill lam
Or you can try 0!:1 <'/home/math/j9.4-user/config/startup.ijs' to see what's going wrong. On Thu, 6 Apr 2023 at 3:13 AM chris burke wrote: > What do you get when loading that script? Try > >loadd '/home/math/j9.4-user/config/startup.ijs' > > On Wed, Apr 5, 2023 at 10:45 AM Martin

Re: [Jprogramming] Strange error

2023-03-31 Thread bill lam
I suspect this is a false alarm due to the nsis ( the software that packaging the aio). The possible work around is to download the base install for windows and then install qt and addons manually. On Fri, 31 Mar 2023 at 4:29 AM Raul Miller wrote: > The procedure I have to go through, to

Re: [Jprogramming] J Console background

2023-03-24 Thread bill lam
The background color is controlled by the terminal emulator (xterm , screen etc). Jconsole can do nothing about it. You may consider other frontend such as Qt ide or JHS which has more features. On Sat, 25 Mar 2023 at 8:29 AM Gilles Kuate wrote: > Hi Everyone > I'm a very new user of J

Re: [Jprogramming] Webview, isigraph, core, threads

2023-03-23 Thread bill lam
: > Bill, > > Brilliant. Like solving global warming with a cotter pin. Many thanks. > > Ed > > > On Mar 23, 2023, at 7:18 AM, bill lam wrote: > > > > you need to add wd'msgs' to the tight loop to enable asynchronous event > > processing. > > > >

Re: [Jprogramming] Webview, isigraph, core, threads

2023-03-23 Thread bill lam
you need to add wd'msgs' to the tight loop to enable asynchronous event processing. sys_timer_z_ =: 3 : 0 wd 'set vocContext invalid' wd 'msgs' ) On Thu, Mar 23, 2023 at 7:09 PM Ed Gottsman wrote: > Raul, > > Yes—I forgot. Modern browsers’ rendering engines are concurrent and will > recruit

Re: [Jprogramming] Webview, isigraph, core, threads

2023-03-22 Thread bill lam
jqt is single threaded but it should be responsive for the scenario that you described. Can you post a simple script to exemplify the behavior? On Thu, 23 Mar 2023 at 6:36 AM Ed Gottsman wrote: > Hello. > > I've got a Window Driver application whose left side is an isigraph > control and whose

Re: [Jprogramming] IDC_* cursor codes

2023-03-20 Thread bill lam
gl2 is not an real addon because it is provided by the frontend. The gl2 implementation are different for jqt and jandroid. gl2.ijs is loaded automatically during loading the ide addon. For backward compatibility some artifact addons such as dll, gl2 etc are accepted but ignored by the verb load.

Re: [Jprogramming] problem with 'plot'

2023-03-18 Thread bill lam
The plot output is at ~temp/plot.pdf And IIRC there is an option to suppress the display of the plot if you are only want the plot output file. On Sat, 18 Mar 2023 at 6:15 PM rsykora via Programming < programm...@jsoftware.com> wrote: > Dear Maurice, > > > > If I understand correctly, "plot 1

Re: [Jprogramming] problem with 'plot'

2023-03-17 Thread bill lam
Which frontend are you using? jconsole or jqt? On Fri, 17 Mar 2023 at 11:24 PM rsykora via Programming < programm...@jsoftware.com> wrote: > Dear list, > > > I use j902. When I try:to use 'plot' I get: >load'plot' >plot 1 2 3 >sh: line 1: : command not found > > Do you have any hint

Re: [Jprogramming] Rank numbering with duplicates

2023-03-16 Thread bill lam
J phrases is good source too. https://www.jsoftware.com/docs/help807/phrases/rank_class.htm On Fri, 17 Mar 2023 at 12:35 AM Devon McCormick wrote: > This is good to know - thanks! > > On Wed, Mar 15, 2023 at 8:40 PM Ric Sherlock wrote: > > > As an adverb we can get the ascending and

Re: [Jprogramming] glpixelm seems to be missing

2023-03-12 Thread bill lam
glpixelm should had been decommissioned years ago. Can you point me the url of glpixelm documentation? Documentation should be fixed if it still mentions glpixelm. On Sun, 12 Mar 2023 at 8:04 PM Ed Gottsman wrote: > Greetings. > > The gl2 docs mention: > > glpixelm x y w h address ; same as

Re: [Jprogramming] plot and paint demo

2023-03-11 Thread bill lam
The coordinates of the plot will be converted to integer for rendering. Therefore any values of infinity or NaN can not be handled. On Sun, Mar 12, 2023 at 2:07 PM More Rice wrote: > Hi, > > some questions, if I may ... > > 1. plot can't handle asymptote (or "not in domain" issue) right at the

Re: [Jprogramming] J shell scripts

2023-03-11 Thread bill lam
If we do this then J should exit automatically after executing the last line of the script. This is the normal behavior of shell scripts. On Sat, 11 Mar 2023 at 9:56 PM Henry Rich wrote: > What we have agreed to do is to treat a #! line as a comment ONLY when > #! are the first 2 characters of

Re: [Jprogramming] J shell scripts

2023-03-09 Thread bill lam
Did you mean put a symlink /usr/bin/ijconsole to j installation under the user's home folder? eg. sudo ln -s $HOME/j9.4/bin/jconsole /usr/bin/ijconsole On Fri, Mar 10, 2023 at 1:29 AM Raul Miller wrote: > The recent change in directory naming from j903 to j9.4 introduces an > interesting

Re: [Jprogramming] j9.4.1 release is available

2023-03-02 Thread bill lam
new users, but are also > >> welcomed by old hands. This feature is extensible and will evolve. > >> > >> Release Notes are worth a look: > >> https://code.jsoftware.com/wiki/Syst

Re: [Jprogramming] j9.4.1 release is available

2023-03-01 Thread bill lam
m/wiki/System/ReleaseNotes/J9.4 > > This was a team effort and benefited from significant community > participation. But we should all recognize the major contributions of a few > individuals. > > Henry Rich (everything - especially threads) > Raul Miller (GMP) > Bill Lam (steady hand

Re: [Jprogramming] j9.4.0-beta13 available (rename from j904-beta)

2023-02-23 Thread bill lam
9.4.0-beta13 is available for 64-bit amd openbsd and freebsd. On Fri, Feb 24, 2023 at 12:44 AM bill lam wrote: > 9.4.0-beta12 is available for 64-bit amd openbsd and freebsd. > These 2 platforms are not officially supported, and released as technical > preview. > > https://ww

Re: [Jprogramming] j9.4.0-beta13 available (rename from j904-beta)

2023-02-23 Thread bill lam
9.4.0-beta12 is available for 64-bit amd openbsd and freebsd. These 2 platforms are not officially supported, and released as technical preview. https://www.jsoftware.com/download/j9.4/install/ On Fri, Feb 24, 2023 at 12:39 AM bill lam wrote: > j9.4.0-beta13 is available for android.

Re: [Jprogramming] j9.4.0-beta13 available (rename from j904-beta)

2023-02-23 Thread bill lam
j9.4.0-beta13 is available for android. due to name change, you need to download from https://www.jsoftware.com/download/j9.4/install/ On Thu, Feb 23, 2023 at 10:52 PM Eric Iverson wrote: > J904 has been renamed to J9.4. Previously 904 indicated 9 major and 04 > minor and additional info was

Re: [Jprogramming] Addon/docs/joxygen

2023-02-23 Thread bill lam
download this file https://raw.githubusercontent.com/jsoftware/jsource/master/jlibrary/tools/regex/jpcre2.dll and replace the old jpcre2.dll under your j installation tools/regex folder On Thu, Feb 23, 2023 at 4:04 PM William Szuch wrote: > Running test.ijs > > > JVERSION > > Engine:

Re: [Jprogramming] Odd

2023-02-17 Thread bill lam
pacman' > >install'gmp' > > > > > > On Fri, Feb 17, 2023 at 12:26 AM 'Pascal Jasmin' via Programming < > > programm...@jsoftware.com> wrote: > > > > > > > > > > > There is also a numeric library install required (forget which one) >

Re: [Jprogramming] Odd

2023-02-16 Thread bill lam
We have received reports on the crash but can't reproduce by ourselves. Would you give detail of the 2 computers such linux distro name and version, and version of glibc ( ldd --version) On Fri, Feb 17, 2023 at 11:22 AM Omar Antolín Camarena < omar.anto...@gmail.com> wrote: > > And it no

Re: [Jprogramming] LAPACK

2023-02-16 Thread bill lam
. How to use dgeev function in a program? > > > > do_dgesvd A > > |value error: do_dgesvd > > | do_dgesvd A > > > > do_dgesvd_A > > |value error: do_dgesvd_A > > dgesvd A > > > > |domain error: cd > > | dgesvd A > &

Re: [Jprogramming] LAPACK

2023-02-15 Thread bill lam
vd > > tdgsvd=: tgsvd > > restdgsvd=: testgsvd > > > > require '~addons/math/lapack2/gesvd.ijs' > > not found: c:/users/tulajdonos/j903/addons/math/lapack2/gesvd.ijs > > |file name error: script > > | 0!:0 y[4!:55<'y' > > load'addons/math/lapack

Re: [Jprogramming] LAPACK

2023-02-14 Thread bill lam
The math/lapack addon was no longer supported on current J. Instead, lapack is provided by math/lapack2. The windows binaries from it has optimized blas, should be order of magnitude faster than that in the older lapack addon. However, usage of these 2 addons are different. You need to study

Re: [Jprogramming] can trace.ijs trace any valid J sentence?

2023-02-06 Thread bill lam
I can also reproduce the error. I think this line is problematic, encall =: encall1&.>^:(isname&> *. 3: = nc__userlocale)"0 J interpreter tried to fix the definition while userlocale is undefined. change it to explicit definition should work encall =: 3 : 'encall1&.>^:(isname&> *. 3: =

Re: [Jprogramming] File Operations -> JMF Alternative

2023-02-04 Thread bill lam
04:18 bill lam, wrote: > > > Please see nuvoc foreign conjunction for detail if you don't know > anything > > about 3!:1/3!:2. > > > Which link takes me to the explanatory documentation that you are > referencing? > > > https://www.jsoftware.com/help/dictio

Re: [Jprogramming] File Operations -> JMF Alternative

2023-02-03 Thread bill lam
> > > > > > > > > If I want to operate on this object with the meaning intended for > it > > when > > > > > it was created, many errors can be avoided when unnecessary > > intermediate > > > > > conversions are avoided. > > > > > > > > > > Jmf allows you to operate directly without having t

Re: [Jprogramming] File Operations -> JMF Alternative

2023-02-02 Thread bill lam
Using Jmf is overkill. Also what are the advantages of jmf over 3!:1/3!:2 in this case? On Thu, 2 Feb 2023 at 7:17 PM Ak O wrote: > load 'jmf' > NB. Loads jmf facilities. > > testfile =: {2,\?50#75 > > fn =: jpath 'C:\Users\skip\J904-user\temp\foo\testfile_name.jmf' > NB. Links a

Re: [Jprogramming] File Operations

2023-02-01 Thread bill lam
ite error. Where in the doc are these errors > defined? > > Skip Cave > Cave Consulting LLC > > > On Wed, Feb 1, 2023 at 11:07 PM bill lam wrote: > > > 1!:1 and 1!:2 can only operate on simple strings (rank 1 literal array) > > You can use 3!:1 and 3!:2 to c

Re: [Jprogramming] File Operations

2023-02-01 Thread bill lam
1!:1 and 1!:2 can only operate on simple strings (rank 1 literal array) You can use 3!:1 and 3!:2 to convert between J array and simple string,eg fn (fwrite~ 3!:1) {2,\?15#50 (3!:2)@fread fn this way you need not assign the value of {2,\?15#50 to a name On Thu, Feb 2, 2023 at 12:48 PM 'Skip

Re: [Jprogramming] 904-beta-j

2023-01-23 Thread bill lam
Jandroid j904 beta k is available for download now. On Mon, Jan 23, 2023, 1:10 AM bill lam wrote: > Me too. I will check. > > > On Sun, 22 Jan 2023 at 10:34 PM Thomas Arneson wrote: > >> Same for me. >> >> > On 01/22/2023 3:00 AM CST Jan-Pieter Jacobs &

Re: [Jprogramming] 904-beta-j

2023-01-22 Thread bill lam
n > > InstallPath: > > /storage/emulated/0/Android/data/com.jsoftware.j.beta.android/files > > Contact: www.jsoftware.com > > > > Jan-Pieter > > > > On Fri, 13 Jan 2023, 05:23 bill lam, wrote: > > > > > 904-beta-j is available

Re: [Jprogramming] web/gethttp does not support https on Android

2023-01-19 Thread bill lam
This is a bit complicated. Android OS does not have wget or curl. On Thu, Jan 19, 2023 at 12:23 AM Omar Antolín Camarena wrote: > I just noticed that gethttp from the web/gethttp library supports https on > both Linux and Windows but not on Android. On Android it returns: > > only http://

Re: [Jprogramming] File name error when running ijconsole

2023-01-15 Thread bill lam
It is unclear what had you done. Please provide sufficient information. On Sun, 15 Jan 2023 at 10:24 PM August Karlstrom wrote: > I just installed the J interpreter j903_linux64.tar.gz on Debian Linux. > When I run ijconsole the first line says > > |file name error > > What is causing

Re: [Jprogramming] Memory Mapped Files -> Shared Maps -> Syntax

2023-01-14 Thread bill lam
There should be labs on memory mapped file, please run and study from them. On Sat, Jan 14, 2023, 8:11 AM Ak O wrote: > Hi Bill, > > I am still getting this error: > > |Win sharename must not have/: assert > | 'Win sharename must not have/' assert-. '/' e. sn > > > When I run

Re: [Jprogramming] Memory Mapped Files-> Shared Maps -> Syntax

2023-01-13 Thread bill lam
IIRC You may choose any share name need not the same as file name so long as they contains no such special characters On Fri, 13 Jan 2023 at 6:50 PM Ak O wrote: > I hope you are all well. > > I am trying to clarify the syntax for a shared map. > > When I try to execute: > > map_jmf_

Re: [Jprogramming] 904-beta-j

2023-01-12 Thread bill lam
904-beta-j is available for android On Sun, Jan 8, 2023 at 1:42 AM Eric Iverson wrote: > 904-beta-j is available for windows/linux/macos/rpi. > > If you already run J904-beta, then upgrade is easy: >load'pacman' >'upgrade'jpkg'jengine' > > If you have not yet installed J904-beta, there

Re: [Jprogramming] Fwd: A big beautiful beta regex bomb

2023-01-12 Thread bill lam
the utf8 support. On Fri, Jan 13, 2023 at 6:57 AM bill lam wrote: > May I know which platform you are referring to? > > On Fri, 13 Jan 2023 at 1:28 AM John Baker wrote: > >> Sorry for the duplication. I wasn't sure the message to the beta forum >> went. >> >> Th

Re: [Jprogramming] Fwd: A big beautiful beta regex bomb

2023-01-12 Thread bill lam
May I know which platform you are referring to? On Fri, 13 Jan 2023 at 1:28 AM John Baker wrote: > Sorry for the duplication. I wasn't sure the message to the beta forum > went. > > There are some changes in how regex'es work in the last J9.04 beta > that will probably zing many. > > John Baker

Re: [Jprogramming] Thread Primitives -> Execute as task (t.)

2022-12-22 Thread bill lam
On Thu, Dec 22, 2022 at 2:59 PM bill lam wrote: > I am not sure. But you can check the number of thread created. > > On Thu, 22 Dec 2022 at 2:28 PM Ak O wrote: > >> Thank you Bill, >> >> Are these two lines equivalent? >> >> T.&''"0 (|chang

Re: [Jprogramming] Thread Primitives -> Execute as task (t.)

2022-12-21 Thread bill lam
gt; > > Raul's example: > > setthreadcount=: {{ > change=. y-1 T.'' > T.&''"0 (|change)#(*change){0 0 55 > 1 T.'' >}} > > > Ak. > > > On Wed., Dec. 21, 2022, 19:20 bill lam, wrote: > > > create thread pool: > > MAXTHREA

Re: [Jprogramming] Thread Primitives -> Execute as task (t.)

2022-12-21 Thread bill lam
create thread pool: MAXTHREADS_z_=: {: 8 T.'' echo 'MAXTHREADS: ',": MAXTHREADS 3 : 0'' if. 1. (<:9!:56'cores') <. (<:MAXTHREADS)- 1 T. '') echo 'thread pool#0: ', ": n1=. 1 T. '' 0"0^:(0 < #) 1$~ (1 >. (<:MAXTHREADS)- 1 T. '') echo 'thread pool#1: ', ": (1 T. '') - n1 end. ) for cpu intensive

Re: [Jprogramming] Thread Primitives -> Execute as task (t.)

2022-12-21 Thread bill lam
It would be sufficient to create threadpool when starting an application. No need to bother how many threads are available inside the application. Eg if your machine has 8 CPU, then create 7 threads for pool 0 (for CPU bounded tasks) and 56 threads for pool 1 (for I/O bounded tasks) On Thu, Dec

Re: [Jprogramming] missing Qt5Core.dll

2022-12-13 Thread bill lam
> > >2x*2 > |nonce error > | 2x*2 > | ^ > > On 12/13/2022 9:40 PM CST bill lam wrote: > > > > > > have you tried install'qtide' ? > > > > On Wed, Dec 14, 2022 at 11:28 AM Thomas Arneson > wrote: > &

Re: [Jprogramming] missing Qt5Core.dll

2022-12-13 Thread bill lam
have you tried install'qtide' ? On Wed, Dec 14, 2022 at 11:28 AM Thomas Arneson wrote: > > > When I try to run J904 using Qt. I get a message saying "The code > execution cannot proceed because Qt5Core.dll was not found" > > I was able to upgrade to Beta-i by running from console, but I want

Re: [Jprogramming] j904-beta-i available

2022-12-13 Thread bill lam
J904-beta-i is available for android. verify gmp is working by executing a simple sentence eg 2x * 2 eformat error message working by 1+'a' On Wed, Dec 14, 2022 at 1:00 AM Eric Iverson wrote: > J904-beta-i is available for windows/linux/mac/pi. > > Please install/upgrade and use it so that

Re: [Jprogramming] j904-beta-i available

2022-12-13 Thread bill lam
The new error message can break J code that relying on checking error messages. To revert to old error messages, add this line somewhere before running your applications 4!:55 <'eformat_j_' On Wed, 14 Dec 2022 at 1:09 AM Henry Rich wrote: > The two new features that Eric mentioned are well

Re: [Jprogramming] pplatimg in-memory decoding

2022-12-08 Thread bill lam
There is a getimg verb for that purpose. I have just update the addon to add a line in the test. Please update and check. Thanks. On Thu, Dec 8, 2022 at 10:18 PM Ed Gottsman wrote: > Raul, > > Thanks for getting back to me so rapidly and for digging into the code. > I’d been relying on

Re: [Jprogramming] EVM

2022-12-04 Thread bill lam
IIRC u refers to verb or noun while m refers to noun only. On Sun, 4 Dec 2022 at 11:30 PM Martin Kreuzer wrote: > Sorry Bill, gotten distracted, didn't noticed you already answered. > btw, what's the difference between m and u in this case? > -M > > At 2022-12-04 15:11, you wrote: > > >First

Re: [Jprogramming] EVM

2022-12-04 Thread bill lam
First of all because of change in syntax, you have to change the line setup x to setup m and then it works like this '*: 4' EVM 16 hist '' Queue Stack Rule +-+ +--++---+ +-+ |mark *: 4| | || | | | +-+

Re: [Jprogramming] Avoiding J crash

2022-12-03 Thread bill lam
Typo. doesn't hold true On Sun, 4 Dec 2022 at 9:08 AM bill lam wrote: > When access locality does hold true, such as transposing a large matrix > in-place , the excessive disk swapping makes computers non responsive. > > On Sun, 4 Dec 2022 at 7:56 AM Raul Miller wrote: > >>

Re: [Jprogramming] Avoiding J crash

2022-12-03 Thread bill lam
came up with some narrative describing why that advice is still > sometimes useful. But it seems to me that insufficient swap space > would lead to "unable to launch jbreak when J has grabbed too much > memory" issues.) > > Thanks, > > -- > Raul > > On Sat, Dec

Re: [Jprogramming] Avoiding J crash

2022-12-03 Thread bill lam
nds elapses without termination. Or, > when local storage is more than y% used. Preferably this could be toggled > and set from an ide menu or from profile so I wouldn’t have to (forget to!) > set it every time. There is nothing worse than having to reboot and loses > loads of work! >

Re: [Jprogramming] Questions about Advent of Code Day 2

2022-12-03 Thread bill lam
-breaking space? > > > On 2 Dec 2022, at 23:39, Jaume wrote: > > > > Thank you both. That was it. > > Too long a day. > > > > Missatge de bill lam del dia ds., 3 de des. 2022 a > > les 0:11: > > > >> Perhaps you copy and paste from emai

Re: [Jprogramming] Avoiding J crash

2022-12-03 Thread bill lam
Sometimes this happens to me too when the process allocated far more memory than physical ram available. The disk swapping for virtual memory prevented any mouse click or keyboard response. The problem only way to stop it is to long pressing the power button. Therefore sometimes I want to set a

Re: [Jprogramming] Questions about Advent of Code Day 2

2022-12-02 Thread bill lam
Perhaps you copy and paste from email to J and it contained nonbreak space that visually identical to a normal space. Typing it manually may solve your problem. On Sat, 3 Dec 2022 at 6:47 AM Jaume wrote: > Thank you both. > > Unfortunately neither of your ways work for me. > > ev =: (9 3$'A XA

Re: [Jprogramming] plot makes J hang

2022-11-30 Thread bill lam
I updated plot addon to display error messages on Term without popup box inside paint loop. Please update and test again. Thanks. On Wed, Nov 30, 2022 at 6:56 PM Pablo Landherr wrote: > I really do think that all the ways that the plot package makes J crash or > hang for the slightest mistake

Re: [Jprogramming] Nano-seconds?

2022-11-09 Thread bill lam
I need to update other foreigns when I have spare time. There is 6!:18 too, sfe=: 6!:16 efs=: 6!:17 efp=: 6!:18 NB. parse datetime string '2022-12-20T14:30:18' -: sfe@:efp '2022-12-20T14:30:18' '2022-12-20T14:30:18' -: sfe@:efp '2022-12-20T02:30:18 PM' '2022-12-20T14:30:18' -: sfe@:efp

Re: [Jprogramming] Plot package causing J to crash

2022-10-26 Thread bill lam
The endless loop or crash is a result of jqt popup error message inside paint loop. You can workaround it by define wdinfo_z_=: echo_z_ so that messages won't be popup On Wed, Oct 26, 2022 at 9:33 PM Pablo Landherr wrote: > Re "a short verb to validate the data" > > How does a *short* verb

Re: [Jprogramming] Plot package causing J to crash

2022-10-20 Thread bill lam
I can reproduce the crash. I think this is not a bug in the plot addon per se but a change in behavior after migration to Qt 6. It cannot display any dialog box during paint event but an J error happened |length error: frames 3 and 4 are not conformable: pdf_text | pos=.pos-"1(-:len),.0 It

Re: [Jprogramming] i. et al

2022-10-13 Thread bill lam
u, Oct 13, 2022 at 7:56 PM Elijah Stone > wrote: > >> > >> Not consistent with I., though. And I don't think the result is > useful; there > >> is no way there will ever be a match. (Compare with I., which _could_ > >> plausibly give you useful informati

  1   2   3   4   5   6   7   8   9   10   >