Re: [Jprogramming] stdlib documentation

2014-02-11 Thread Ian Clark
Excellent work. I've put a clear (enough?) signpost to it in NuVoc. On Tue, Feb 11, 2014 at 10:57 PM, Jim Russell wrote: > Nice! > > > On Feb 11, 2014, at 3:54 AM, bill lam wrote: > > > > Documentation of standard library of J8 is now available as a > > chapter of the J User manual, > > > > *

Re: [Jprogramming] J801 released!

2014-02-11 Thread Tracy Harms
Putting a period adjacent to the link leads to the period being included in the link on the Pipermail archive, at which point it is a broken link. On Mon, Feb 10, 2014 at 7:39 PM, Eric Iverson wrote: > J801 has been released, and can be downloaded from > http://www.jsoftware.com/download/j801. >

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread robert therriault
Hi Ric, The simplification is something I will run at in the next couple of days, but as far as the 'chatting' between the windows with different views for different amounts of information, I am not sure what the best way to do that would be. Do you have any ideas? Cheers, bob On Feb 11, 2014

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread robert therriault
Thanks Pascal, Believe it or not I did simplify this quite a bit from where I originally was, based on you previous comments. I'll play around some more to see if I can slim it down further and still have it intuitive (which is actually one of the targets that I am aiming for in addition to the

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread robert therriault
Hi Joe, I just posted the script at http://www.jsoftware.com/jwiki/http%3A/www.jsoftware.com/jwiki/BobTherriault/Visualize?action=AttachFile The address makes me think I have made a complete mess of the process but if you get the attachment and run it under jhs 701 you should be able to play

Re: [Jprogramming] JQt on Android install experience.

2014-02-11 Thread Skip Cave
2!:5'SDCARD' 0 Path to SD Card : /storage/extSdCard 2!:5' /storage/extSdCard' 0 By the way, I left out a step in the install process: 1. Went to Settings/More/Security/ and checked "Allow install from unknown sources" and unchecked "Block or warn before installing apps that may cause

Re: [Jprogramming] J801 Labs issue

2014-02-11 Thread Mario Sacco
I miss it. Thanks Ric On 11/02/2014 20:12, Ric Sherlock wrote: Have you installed the 'labs/labs' addon using the Package Manager? On Wed, Feb 12, 2014 at 7:52 AM, Mario Sacco wrote: Trying running Labs I receive the following messages, did I miss something in the installation process? Thank

Re: [Jprogramming] JQt on Android install experience.

2014-02-11 Thread bill lam
Skip, What is the output for 2!:5'SDCARD' and what is your actual full path name to the sdcard folder? Is it sdcard0? On Feb 12, 2014 6:14 AM, "Skip Cave" wrote: > My install story with J on Android: > > My phone is a Samsung Galaxy Note 2 (Android Jellybean 4.3). > > 1. Went to Settings/More

Re: [Jprogramming] QT websockets

2014-02-11 Thread bill lam
Qtwebsocket will be provided by the next official Qt 5.3, I would prefer wait under jqt uses that version before reviewing how to implement low level functions. On Feb 12, 2014 3:07 AM, "Joe Bogner" wrote: > If QtWebSocket is being used then it should be accessible through > http://qt-project.org

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Brian Schott
I did exit'' in the jijx page. That seems to work and there is no lingering task out there when I can successfully launch jhs801. But, what I most recently reported was an alternative to rebooting if I try to launch directly by double clicking on the jhs801 icon. I mentioned it just fyi. On Tu

Re: [Jprogramming] JQt on Android install experience.

2014-02-11 Thread Ric Sherlock
If you install the jconsole app, provided by Micheal Dykman, it comes with a nice keyboard for J. https://github.com/mdykman/jconsole_for_android/tree/master/dist On Wed, Feb 12, 2014 at 11:54 AM, William Tanksley, Jr < wtanksle...@gmail.com> wrote: > I use the MessageEase keyboard (free), whic

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Eric Iverson
further on Bill's comments: To end the JHS server task you need to do exit'' in the jijx page. Closing the JHS tabs or browser does not affect the server and it will still be there when you load the jijx page again. Without remembering the details, JHS is pretty good about freeing and reusing the

Re: [Jprogramming] stdlib documentation

2014-02-11 Thread Jim Russell
Nice! > On Feb 11, 2014, at 3:54 AM, bill lam wrote: > > Documentation of standard library of J8 is now available as a > chapter of the J User manual, > > * http://www.jsoftware.com/help/user/library.htm > > which is also part of the docs/help addons. > > -- > regards, >

Re: [Jprogramming] JQt on Android install experience.

2014-02-11 Thread William Tanksley, Jr
I use the MessageEase keyboard (free), which gives me instant access to most symbols, letters, and digits without shifting, although at the cost of a very nonstandard layout. (You'll want to use the tutor game to bring you up to speed.) On Tue, Feb 11, 2014 at 2:27 PM, Devon McCormick wrote: > Th

Re: [Jprogramming] JHS webgl

2014-02-11 Thread bill lam
Brian, How did you "exit" a running jhs? Aslo the port might not release immediately, you may need to wait for a few seconds. On Feb 12, 2014 2:47 AM, "Brian Schott" wrote: > Bill, > > Below are 3 examples of running "ps -au brian |grep jconsole" > > 1) Run while jhs701 is successfully running

Re: [Jprogramming] JQt on Android install experience.

2014-02-11 Thread Devon McCormick
Thanks for the tip on turning off predictive typing, etc. On Tue, Feb 11, 2014 at 5:14 PM, Skip Cave wrote: > My install story with J on Android: > > My phone is a Samsung Galaxy Note 2 (Android Jellybean 4.3). > > 1. Went to Settings/More/Security/ and checked "Allow install from unknown > so

[Jprogramming] JQt on Android install experience.

2014-02-11 Thread Skip Cave
My install story with J on Android: My phone is a Samsung Galaxy Note 2 (Android Jellybean 4.3). 1. Went to Settings/More/Security/ and checked "Allow install from unknown sources" and unchecked "Block or warn before installing apps that may cause harm" 2. Went to J Software download page. Down

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Eric Iverson
Sounds like there might be a problem with the 801 Mac OSX app launcher for JHS. I won't be able to verify this until the weekend. Perhaps other Mac users can dig into this. Meanwhile, probably better to use the JHS8 with the method that works and wait for the dust to settle. On Tue, Feb 11, 2014

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread Ric Sherlock
Hi Bob, I agree with Pascal that arrays with leading 1's in their shape are more likely to trip users up than those with leading 0's. I remember a conversation on the fourm several years ago about how to make "hidden" noun info more visible in the session. From memory Roger's suggestion was to hav

Re: [Jprogramming] J801 released!

2014-02-11 Thread Brian Schott
Murray, Your tip would have been especially relevant for me except that in System Preferences > Security & Privacy > General I have always set the option to allow all apps. So at first blush, your tip does not apply. But as you can tell from the other thread, my experience suggests that maybe secu

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Brian Schott
I can only run jhs801 if I run it from jconsole using the core.ijs and init_jhs_ . I cannot run it by clicking on the jhs801 icon in the finder. Otoh, if I run jhs801 once using jconsole, then exit'' after launching the browser page, I can run jhs801 again using jconsole to launch. Using the info

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Eric Iverson
Can you restate your problem. Can you run jhs801 OK? By default JHS701 and JHS801 both use port 65001 so you can only run one of them at a time. If one is running, starting the other will fail because the port is already in use. It only makes sense to run that ps command if starting a JHS server

Re: [Jprogramming] J801 Labs issue

2014-02-11 Thread Ric Sherlock
Have you installed the 'labs/labs' addon using the Package Manager? On Wed, Feb 12, 2014 at 7:52 AM, Mario Sacco wrote: > Trying running Labs I receive the following messages, did I miss something > in the installation process? Thanks > / > //labs_run_jqtide_$0/// > > /|syntax error: labs_run_jq

Re: [Jprogramming] QT websockets

2014-02-11 Thread Joe Bogner
If QtWebSocket is being used then it should be accessible through http://qt-project.org/doc/qt-4.8/qabstractsocket.html#peerAddress of the socket that is returned from QtWebsocket::QWsSocket* clientSocket = server->nextPendingConnection();. I'm assuming it's implemented along the lines of https://g

[Jprogramming] J801 Labs issue

2014-02-11 Thread Mario Sacco
Trying running Labs I receive the following messages, did I miss something in the installation process? Thanks / //labs_run_jqtide_$0/// /|syntax error: labs_run_jqtide_/ // /| labs_run_jqtide_$0/ // /|[-0] / // /+/i.999/ // /498501/ // // /labs_run_jqtide_$0/ // /|syntax error: lab

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Brian Schott
Bill, Below are 3 examples of running "ps -au brian |grep jconsole" 1) Run while jhs701 is successfully running 2) Run after "exit ''" in jhs701 3) Run after jhs801 is launched Can you see anything important there? server:~ brian$ ps -au brian|grep jconsole 501 2616 ttys0000:00.00 grep j

Re: [Jprogramming] stdlib documentation

2014-02-11 Thread Ni Bo
Terse is good but not in a menu though. That did made me click almost at random hoping to get the right page (before learning the meaning of the short words). Nick Am 11.02.2014 19:07 schrieb "Murray Eisenberg" : > At long last, a big gap in recent releases of J has been bridged. Thank > you so v

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread Pascal Jasmin
I like it. I'll restate my preference for simpler css.  Using colour only if boxes aren't completely necessary (datatype). I understand the desire to deal with leading 0 shapes, but I think leading 1 shapes are what byte people/beginers the most.  For instance assuming that }. and {: produce i

Re: [Jprogramming] QT websockets

2014-02-11 Thread Pascal Jasmin
I'd like to make an application that allows public connections, and in fact is peer to peer so the world can run a node/the code.  Websockest solves an issue of allowing more than 64 connections on windows, and even 1024 connections on linux/mac/android.  Websockets also transparently handles la

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread robert therriault
Thanks Raul, I am currently working on the boxing display and you are right, it does present some different challenges. My plan is to have the script on the wiki for general amusement later this afternoon. I have put this together as a way to see the results of the language in a way that I foun

Re: [Jprogramming] stdlib documentation

2014-02-11 Thread Murray Eisenberg
At long last, a big gap in recent releases of J has been bridged. Thank you so very much! Note that one still has to know to look in Usr to find that stdlib help. (And there's still that peculiarity that when you click Usr in the Help menu, what you see to the far right of the menu bar is "Use

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread robert therriault
Thanks Joe, Even though the last thing the world needs is anyone following my code style, my plan is to give my script a quick once over and post as in at the jwiki. Currently, I am working on displaying boxes and although I have made some progress, I am not all the way there. I'll post when it

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Raul Miller
Be sure to use netstat -n if you are looking for a number. But Bill's suggestion is probably more straightfoward. (Some netstat versions have an option to show you the executable listed as being responsible for holding a local port open, but I do not remember the details of how well that works on a

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread Raul Miller
This looks promising. I currently have two quibbles which you might want to reject: First, the additional markup seems to get in the way for some typical cases. I can see the need for leading 1 dimensions and embedded zero dimensions. I understand the idea of consistent display of information, bu

Re: [Jprogramming] JQt note

2014-02-11 Thread bill lam
Will the use of magic string %~dp as that in jhs.bat useful? Вт, 11 фев 2014, Eric Iverson писал(а): > > jqt.cmd must be run with J8 as the current folder: > > >cd j64-801 > >jqt.cmd > -- > For information about J forums see htt

Re: [Jprogramming] JHS webgl

2014-02-11 Thread bill lam
Perhaps you can try "ps -aux |grep jconsole" to list possbile runaway jhs and kill them using kill or killall commands. Sorry for typos. Вт, 11 фев 2014, Brian Schott писал(а): > Bill, > > Thank you for the tip especially regarding netstat. I did a search on 65001 > in the netstat readout, but

Re: [Jprogramming] QT websockets

2014-02-11 Thread bill lam
There is REMOTE_ADDR and also some othe cgi environment variables but I'm not sure if webosket protocol is required to provide cgi environment variables. If security is a real concern, I guess it is best to put a websocket server behind a webserver or other proxy. What we can done is unlikely to b

Re: [Jprogramming] JQt note

2014-02-11 Thread Joe Bogner
Double clicking on jqt.cmd works fine too I'm sure others have figured this out, but this is how I would explain it: Simple instructions: 1. Extract the zip 2. Go to the folder it was extracted to 3. Go to then bin folder 4. Double click on jconsole.exe 5. Type install 'qtide' or install 'all' f

Re: [Jprogramming] J801 released!

2014-02-11 Thread Murray Eisenberg
Here's a tip to J801 users on recent versions of Mac OS X about a feature/annoyance of that system. If you have set your OS X System Preferences > Security & Privacy > General to allow only apps downloaded from Mac App Store, or from Mac App Store and identified developers, then without specia

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Brian Schott
Bill, Thank you for the tip especially regarding netstat. I did a search on 65001 in the netstat readout, butfound nothing. So I don't know what to look for in netstat. I also ran netstat at four different points of time to see if I could see a difference. I used diff but could not make out

Re: [Jprogramming] J801 released!

2014-02-11 Thread Tom Arneson
Good guess, Bill. Shutting off the firewall worked. -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of bill lam Sent: Tuesday, February 11, 2014 08:58 To: programm...@jsoftware.com Subject: Re: [Jprogramming] J8

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread Joe Bogner
On Tue, Feb 11, 2014 at 10:21 AM, robert therriault wrote: > Just an update on the visualization of J results. > > I have done a second video/blog post on using CSS and HTML to display > results on JHS. It provides examples of a system that allows you to > distinguish between 1 $ 1 , 1 1 $1 , and

[Jprogramming] J801 released!

2014-02-11 Thread Murray Eisenberg
When I run the newly-released jcon801.app under Mac OS X and execute JVERSION, it shows: Engine: j701/2011-01-10/11:25 build: Feb 6 2011 16:16:29 Library: 8.01.020 Platform: Darwin 64 Installer: j801 install InstallPath: /Volumes/MacHD/Applications/Programming/J/j64-801 Is that Engine

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Brian Schott
Eric, The two steps you gave me to load JHS work fine (especially step 2. Shown below). And the webGL works nicely now also. At first I was getting an error and only the background color change was working. But after a couple of shutdowns the graphics are working perfectly. When I try to launc

[Jprogramming] JQt note

2014-02-11 Thread Eric Iverson
I installed J8 on Windows 7 with the zip (anti-virus didn't like the exe). This is my preferred way to install even if there is a bit of nuisance in creating shortcuts and icons on the taskbar. Zip install meant I had to do the qtide install in jconsole. That worked smoothly, but the final comment

Re: [Jprogramming] QT websockets

2014-02-11 Thread Joe Bogner
The websocket demo works well and I can see a lot of potential with it. Thank you! I also agree with Pascal that it would be useful to get information about the connecting socket (e.g. originating IP address). The most basic security workaround is to add a firewall rule to prevent connections on t

Re: [Jprogramming] problem matching boxed string

2014-02-11 Thread robert therriault
Just an update on the visualization of J results. I have done a second video/blog post on using CSS and HTML to display results on JHS. It provides examples of a system that allows you to distinguish between 1 $ 1 , 1 1 $1 , and 1 as well as displaying arrays with zeros in the shape such as 0

Re: [Jprogramming] J801 released!

2014-02-11 Thread bill lam
Just a guess, proxy or firewall problem? asuming in terminal console, does wget (or curl for mac) work to get files from jsoftware website? Вт, 11 фев 2014, Tom Arneson писал(а): > Package Manager Fail! > > Connecting to www.jsoftware.com|23.21.67.48|:80 ... failed > > -Original Message---

Re: [Jprogramming] J801 released!

2014-02-11 Thread Tom Arneson
Package Manager Fail! Connecting to www.jsoftware.com|23.21.67.48|:80 ... failed -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Eric Iverson Sent: Monday, February 10, 2014 18:39 To: Programming forum Subjec

Re: [Jprogramming] QT websockets

2014-02-11 Thread Pascal Jasmin
nodeJS calls the function remoteAddress, and pants calls it getpeername. In terms of "security already handled by websocket protocol", I can see a necessity for a user code authentication layer, but passwords might be compromised, and an IP could attempt millions of logins.  The millions of logi

Re: [Jprogramming] JHS webgl

2014-02-11 Thread Joe Bogner
The demo worked well for me too. It's good to see another example of a JHS app and the use of HEXTRA and the call to the server to change the background color via ajax is a simple example of the J interaction. Thanks for sharing On Mon, Feb 10, 2014 at 8:20 PM, Eric Iverson wrote: > Thanks for t

Re: [Jprogramming] J801 released!

2014-02-11 Thread Mike Day
Well done on the release, everyone at or helping Jsoftware with 801! As for Avast!, I've experienced problems a couple of times with it protecting me from j801 beta install versions. I've tried reporting these occurrences to their company as false positives with no apparent success; certainly

Re: [Jprogramming] J801 released!

2014-02-11 Thread Jan-Pieter Jacobs
Indeed, now it works perfectly! Thanks! Jan-Pieter 2014-02-11 10:57 GMT+01:00 bill lam : > May be some of the files are out-of-date. Now built again, > please try start j by sudo, eg > sudo ijconsole > > then inside j session, type > > install'qtide' > > the libjqt.so should be installed in f

Re: [Jprogramming] J801 released!

2014-02-11 Thread bill lam
May be some of the files are out-of-date. Now built again, please try start j by sudo, eg sudo ijconsole then inside j session, type install'qtide' the libjqt.so should be installed in folder for debian64 /usr/lib/x86_64-linux-gnu/ The deb is installed on /usr so that root privilege is needed

Re: [Jprogramming] JHS webgl

2014-02-11 Thread bill lam
Brian, EADDRINUSE meant the port is already in use. You may use netstat to confirm. Closing on browser will not terminate a running JHS. Either j8 jhs or j8 jhs can run but not both if they will listen to the same port. Пн, 10 фев 2014, Brian Schott писал(а): > Bingo. jhs801 is running in Safar

Re: [Jprogramming] J801 released!

2014-02-11 Thread Jan-Pieter Jacobs
Congratulations with the new release! I decided to try the Ubuntu 64-bit package, but run into trouble after doing " install 'qtide' ": jpjacobs@hercules ~/Dropbox/scripts/J % /usr/bin/jqt "/usr/bin/libjqt" "could not resolve: state_run: Cannot load library /usr/bin/libjqt: (/usr/bin/libjqt.so:

[Jprogramming] stdlib documentation

2014-02-11 Thread bill lam
Documentation of standard library of J8 is now available as a chapter of the J User manual, * http://www.jsoftware.com/help/user/library.htm which is also part of the docs/help addons. -- regards, GPG key 1024D/4434BAB3 2008-08-24 gpg --keyse

Re: [Jprogramming] QT websockets

2014-02-11 Thread bill lam
I think those low level functions are not part of websocket spec. Security is already handled by websocket protocol. Since J is single thread, those globals will not cause any trouble. A handler can erase them if they are no longer used. Anyways, IMO, to compare socket with websocket is analogou