Re: [Jprogramming] apl character support

2014-02-25 Thread Björn Helgason
Actually I want a. back as it was. Giving me two or three number is wrong and is confusing at best. It should return the digital number for Unicode and only one number per char. a. is the atomic vector and this way the atomic has grown to include all of Unicode. - Björn Helgason gsm:6985532 sky

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread bill lam
Did you refresh the download page and download the installer again? dll in lapack could be bundled with addons, but the dll over the download site should be more up-to-date, and users can choose another blas if they want. But I would use lapacke instead of clapack. Вт, 25 фев 2014, David Hotham

Re: [Jprogramming] using dll's in wine (linux/mac) (also a windows implementation of hash functions)

2014-02-25 Thread Raul Miller
There are some obvious ways to speed up that J implementation. I just did not want to take the time to do them. Maybe later. Thanks, -- Raul On Tue, Feb 25, 2014 at 8:29 PM, Pascal Jasmin wrote: > That is cool. It works too (md5 in convert does not produce the test > results). Your version

Re: [Jprogramming] using dll's in wine (linux/mac) (also a windows implementation of hash functions)

2014-02-25 Thread Pascal Jasmin
I don't understand the openssl documentation, or found other dll implementations (than an old delphi one) - Original Message - From: Joe Bogner To: programm...@jsoftware.com Cc: Sent: Tuesday, February 25, 2014 8:24:04 PM Subject: Re: [Jprogramming] using dll's in wine (linux/mac) (als

Re: [Jprogramming] using dll's in wine (linux/mac) (also a windows implementation of hash functions)

2014-02-25 Thread Pascal Jasmin
That is cool.  It works too (md5 in convert does not produce the test results).  Your version is 20x slower but still usable. - Original Message - From: Raul Miller To: Programming forum Cc: Sent: Tuesday, February 25, 2014 8:01:43 PM Subject: Re: [Jprogramming] using dll's in wine

Re: [Jprogramming] using dll's in wine (linux/mac) (also a windows implementation of hash functions)

2014-02-25 Thread Joe Bogner
I'm not sure about wine either. Why not write a small helper library around openssl or libcrypt functions? You could probably even mimic the same function signature. On Tue, Feb 25, 2014 at 7:50 PM, Pascal Jasmin wrote: > I've posted some hash functions sha1 sha2 and md5 that use Microsoft's > a

Re: [Jprogramming] using dll's in wine (linux/mac) (also a windows implementation of hash functions)

2014-02-25 Thread Raul Miller
I haven't used WINE for ages, and never did learn how to debug for it. Also, I've mostly been using native windows (and my other laptops are openbsd, though I've not had the time to use them much, lately.). I did write an SHA-1 in J though: http://rosettacode.org/wiki/SHA-1#J Yours is probably mu

Re: [Jprogramming] old school

2014-02-25 Thread Raul Miller
Cute! :) -- Raul P.S. I can't resist rewriting it - not that this version is any better, but rewriting helps me understand what you wrote: (' ',u:9617 9618 9619) {~ <.o.|1 o.(i._64)*/~1-|i:1j40 On Tue, Feb 25, 2014 at 7:00 PM, Michal Wallace wrote: > (3 :'('' '',u:9617 9618 9619) {~ <.|

[Jprogramming] using dll's in wine (linux/mac) (also a windows implementation of hash functions)

2014-02-25 Thread Pascal Jasmin
I've posted some hash functions sha1 sha2 and md5 that use Microsoft's advapi32.dll that comes with windows.  Could someone let me know what/if changes are needed to work with wine? http://www.jsoftware.com/jwiki/PascalJasmin/SHA%201%2C%202%20and%20MD5%20for%20windows --

[Jprogramming] old school

2014-02-25 Thread Michal Wallace
(3 :'('' '',u:9617 9618 9619) {~ <.|o.1 o.(i._64)*y')"0 (%~(-|@i:)) 20 :) -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] apl character support

2014-02-25 Thread Raul Miller
There's an infinite supply of those. Thanks, -- Raul On Tue, Feb 25, 2014 at 4:12 PM, Don Guinn wrote: > Yes, that's what I do. But it is a problem waiting to bite the unaware. > > > On Tue, Feb 25, 2014 at 12:37 PM, Raul Miller > wrote: > > > You can always yourself a verb to concatenate u

Re: [Jprogramming] Tacit recursion without $:

2014-02-25 Thread Raul Miller
That was for debugging, to prevent having to shut down J if I messed up. For real use I'd probably use _ instead of 99. Then again, for real use I'd probably not use this at all. Thanks, -- Raul On Tue, Feb 25, 2014 at 4:08 PM, Jose Mario Quintana < jose.mario.quint...@gmail.com> wrote: > P

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread David Hotham
Thanks. After a clean re-install I hit the crash in the same way as others in this thread, but "install 'qtide'" per Jan-Pieter Jacobs' suggestion sorted me out. Re-installing reminded me that I have a standalone 64-bit Windows lapack.dll that is compatible with the LAPACK add-on. (Reminded

Re: [Jprogramming] apl character support

2014-02-25 Thread Don Guinn
Yes, that's what I do. But it is a problem waiting to bite the unaware. On Tue, Feb 25, 2014 at 12:37 PM, Raul Miller wrote: > You can always yourself a verb to concatenate utf-8. > > For example: ,&.(7&u:) > > Thanks, > > -- > Raul > > > On Tue, Feb 25, 2014 at 2:07 PM, Don Guinn wrote: > > >

Re: [Jprogramming] Tacit recursion without $:

2014-02-25 Thread Jose Mario Quintana
Personally, I would use a number a lot larger than 99, just in case. On Tue, Feb 25, 2014 at 12:34 PM, Raul Miller wrote: > It's easy to fix fact 0: > > Recursion=:1 :0 >'`if else test next'=: m >[: if/@(else@{: _1} ])f. (, next@{:)^:(test@{:)^:99 f. > ) > > However, the problem with Fi

Re: [Jprogramming] apl character support

2014-02-25 Thread Raul Miller
You can always yourself a verb to concatenate utf-8. For example: ,&.(7&u:) Thanks, -- Raul On Tue, Feb 25, 2014 at 2:07 PM, Don Guinn wrote: > Sometimes I wish that UTF-8 were considered a unique character type > different from literal (2) and unicode (131072). Really bad things happen > i

Re: [Jprogramming] jqt.exe won't start after latest update

2014-02-25 Thread Amit Roy
Hello, I would like to confirm that Pascal Jasmin's solution has worked for me. I ran: install 'all' from jconsole.exe, and now I can once again open jqt. Thanks for the tip! Sincerely, Amit Roy > Date: Tue, 25 Feb 2014 14:04:40 -0500 > From: vijaylu...@gmail.com > To: programm...@jsoftware.com >

Re: [Jprogramming] apl character support

2014-02-25 Thread Murray Eisenberg
My experience of teaching both APL and J to college sophomores was that, despite the "difficulties" of the APL keyboard layout (with key tops having the APL symbols marked on them), the students found the APL character set quicker to learn, and remember, than the J symbols. And that for them it

Re: [Jprogramming] apl character support

2014-02-25 Thread Tom Arneson
I would rather see JSoftware's resources devoted to other areas than adding APL character support. One of these areas is documentation on using projects in J801, another is improving documentation on JQT. J is not APL! -Original Message- From: programming-boun...@forums.jsoftware.com

Re: [Jprogramming] apl character support

2014-02-25 Thread Don Guinn
Sometimes I wish that UTF-8 were considered a unique character type different from literal (2) and unicode (131072). Really bad things happen if you happen to catenate literal containing UTF-8 characters with unicode. On Tue, Feb 25, 2014 at 11:58 AM, Björn Helgason wrote: > It is not much I li

Re: [Jprogramming] apl character support

2014-02-25 Thread Devon McCormick
I, too, am very fond of the APL characters but they are a mix of the conceptually helpful - like ⍉ (transpose) - and ad-hoc obscurities - ⍴ (rho). The J characters have a bit of ad-hockery about them but are extremely well-integrated with respect to each other. Just look across any line of the vo

Re: [Jprogramming] jqt.exe won't start after latest update

2014-02-25 Thread Vijay Lulla
It doesn't work on my mac too! I keep getting segfaults. On Tue, Feb 25, 2014 at 1:28 PM, Tom Arneson wrote: > I tried: install'all' from jconsole and didn't get the update, so I used > the > installer. > > Now jqt JVERSION is: > > Engine: j701/2011-01-10/11:25 > Library: 8.01.021 > Qt IDE: 1.

Re: [Jprogramming] apl character support

2014-02-25 Thread Björn Helgason
It is not much I like in m$word but... Pointing at a char and pressing alt+u gives me a number alt+u again gives the char again. The u: exercises in J are a bit confusing. - Björn Helgason gsm:6985532 skype:gosiminn On 25.2.2014 18:03, "Don Guinn" wrote: > Searching, counting characters etc. ar

Re: [Jprogramming] Tacit recursion without $:

2014-02-25 Thread Dan Bron
Thomas - if/when I get a 64 bit build of the GPL source working for Windows, I'll certainly share it with you. Til then, I'll use the 32-bit DLL (maybe with a .bat file to switch between "official 64" and "extended 32" versions). -Dan - Original Message --- Subject: Re: [Jprogra

Re: [Jprogramming] access camera on handheld devices

2014-02-25 Thread Jim Russell
Very neat! (A bit ugly perhaps, but neat.) Not sure where your code got garbled, but I had to change the "at" that appeared when I pasted your code into my script: NB. LABNUMS=:": each <"0 at i.@#LABTITLES_jlab_ Sent from my iPad On Dec 14, 2012, at 10:26 AM, bob therriault wrote: > Yep, Javas

Re: [Jprogramming] jqt.exe won't start after latest update

2014-02-25 Thread Tom Arneson
I tried: install'all' from jconsole and didn't get the update, so I used the installer. Now jqt JVERSION is: Engine: j701/2011-01-10/11:25 Library: 8.01.021 Qt IDE: 1.0.24/4.8.5 Platform: Win 64 Installer: j801 install InstallPath: c:/users/tom arneson/j64-801 -Original Message- From

Re: [Jprogramming] apl character support

2014-02-25 Thread Don Guinn
Searching, counting characters etc. are easier to convert UTF-8 to Unicode (wide), doing whatever, then converting back to UTF-8. On Tue, Feb 25, 2014 at 9:10 AM, Björn Helgason wrote: > a. and especially i. a. - looking up chars indexes used to be useful. > > It is not as easy anymore. > > The

Re: [Jprogramming] jqt.exe won't start after latest update

2014-02-25 Thread Pascal Jasmin
after exiting, install 'all' from console did get it to work.  Not sure if it was because of recent update, or simply running inside of jqt fails to update libraries in use. I did notice that 1 jqt library was always available to reinstall when doing it from repl. - Original Message -

Re: [Jprogramming] Tacit recursion without $:

2014-02-25 Thread Raul Miller
It's easy to fix fact 0: Recursion=:1 :0 '`if else test next'=: m [: if/@(else@{: _1} ])f. (, next@{:)^:(test@{:)^:99 f. ) However, the problem with Fib is that the recursion concept I used expects a different kind of gerund than the kind you implemented. So I would either need to change t

Re: [Jprogramming] Tacit recursion without $:

2014-02-25 Thread Jose Mario Quintana
>simplicity. Simplicity is a virtue? On designing econometric models one of the best advised: "Keep it Sophisticatedly Simple." I think his advice also applies to programming; actually that is the primary reason why I prefer J versus other conventional programming languages and even to APL (at

Re: [Jprogramming] jqt.exe won't start after latest update

2014-02-25 Thread Pascal Jasmin
I can confirm that I cannot start a 2nd copy of jqt 8, after running install 'all' in the first instance's terminal window. windows 8.0 64 bit. - Original Message - From: Amit Roy To: "programm...@jsoftware.com" Cc: Sent: Tuesday, February 25, 2014 11:35:06 AM Subject: [Jprogramming]

[Jprogramming] jqt.exe won't start after latest update

2014-02-25 Thread Amit Roy
Hello, This morning I noticed that there was an update available for the jqt IDE. I applied it (as I had done so many times in the past), but now, jqt won't start up. I'm using Windows 8.1 64-bit, and I have all the latest updates for Windows. Any idea on how I might go back to a working versi

Re: [Jprogramming] apl character support

2014-02-25 Thread Björn Helgason
a. and especially i. a. - looking up chars indexes used to be useful. It is not as easy anymore. The national chars are often not in there with a single number. Sometimes two or three. Reading files also sometimes with unicode markings. - Björn Helgason gsm:6985532 skype:gosiminn On 25.2.2014

Re: [Jprogramming] apl character support

2014-02-25 Thread bill lam
In that case, perhaps my original proposal is feasible. Since utf8 for bmp are atmost 3 bytes, we can scan with look ahead for 3 bytes and convert any APL glyphs to single byte internal representatin before passing into monad ;: Вт, 25 фев 2014, Don Guinn писал(а): > I tried that a while back. I

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread bill lam
the qt.ijs in windows installers was not updated. Not sure why but both of 32 and 64 bit windows installers have been built again. Please try if there will be any error. Вт, 25 фев 2014, Michal Wallace писал(а): > I also get a crash with 801 under win64. > I had 701 installed on this machine, and

Re: [Jprogramming] apl character support

2014-02-25 Thread Don Guinn
I tried that a while back. I extended the table for ;: to treat the bytes for _128{.a to be treated as letters which made all multi-byte UTF-8 treated as alphas. Statements were broken into tokens properly. But then I found that the interpreter used the top half of a. internally. I mentioned that i

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread Michal Wallace
Aha. Thanks! ( install'jqtide' ) fixed my problem. On Tue, Feb 25, 2014 at 7:20 AM, Jan-Pieter Jacobs < janpieter.jac...@gmail.com> wrote: > The solution here was opening the jconsole, and there doing " install > 'qtide' " again. >

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread Michal Wallace
Update: jconsole.exe runs without problem and seems to indicate that the latest jqt is already installed: install'jqt' Updating server catalog... Local JAL information was last updated: 25 Feb 2014 07:17:56 2 addons can be upgraded, 82 addons are not yet installed. The base library is up to dat

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread Jan-Pieter Jacobs
I initially also had problems right after upgrading. After clicking the icon, jqt just did not show up. The solution here was opening the jconsole, and there doing " install 'qtide' " again. After this, jqt worked as expected. Jan-Pieter 2014-02-25 14:14 GMT+01:00 Michal Wallace : > I also get

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread Michal Wallace
I also get a crash with 801 under win64. I had 701 installed on this machine, and had installed the 801 beta several weeks or months ago. I uninstalled both of those versions on this machine, and then downloaded and installed the new version of j801/j801_win64.exe dated Feb 25. The installed jqt s

Re: [Jprogramming] Finding Largest Prime of Numbers (Tacit)

2014-02-25 Thread Joe Bogner
On Mon, Feb 24, 2014 at 10:27 PM, Jon Hough wrote: > As a beginner in J, I am attempting to get a footing in tacit verbs.Lots > of things still confuse me, so I want to go through my trial-and-error > working, and hopefully, if someone has the time, they can explain some > things to me. > First I

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread bill lam
How did you update? The file version of jqt.dll should be 1.0.24 On 25.02.2014, at 16:36, "David Hotham" wrote: > Neither the 32-bit nor 64-bit version will start at all on either of my > Windows PCs (one Vista, one Windows 7, both 64-bit). > > Here's the limited information I get out of it:

Re: [Jprogramming] A Tale Without End

2014-02-25 Thread km
Linda, here's a pretty good Newton's method adverb: newt =: 1 : 0 t =. y h =. 1 % 512 whilst. t ~: s do. s =. t t =. s - +: h * (u s) % (u s + h) - u s - h h =. h % 2 end. t ) (2 - *:) newt 1 NB. function on left, first root guess on right 1.414213562 --Kip Sent from my i

Re: [Jprogramming] jqt and qt addon updated

2014-02-25 Thread David Hotham
Neither the 32-bit nor 64-bit version will start at all on either of my Windows PCs (one Vista, one Windows 7, both 64-bit). Here's the limited information I get out of it: Problem signature: Problem Event Name: APPCRASH Application Name: jqt.exe Application Version: 0.0.0.0 Application Tim