Re: [Jprogramming] Eigen values in J

2013-04-08 Thread Michal D.
The good news is my matrix is symmetric, the bad news is that the jacobi routine never seems to terminate. I haven't been able to sort through the mt code to decipher how to call the routines with a single input matrix. It looks like quite a substantial amount of important work. I'm not sure to

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread Skip Cave
As I go through this discussion, I think I have gotten over my dislike of using the APL character set to replace many, if not most of the 1-2 ASCII character symbols for J primitives. Ken did much too good a job of designing the APL glyphs, and each APL glyph does a great job of hinting at its spec

Re: [Jprogramming] Eigen values in J - mt addon fixed

2013-04-08 Thread Igor Zhuravlov
On 8 апреля 2013 11:51:05 Devon McCormick wrote: > I attempted to use one of the math/mt routines (geev) but get a value error > on "trsmu1x" which does not appear to be defined anywhere. Thank you for reporting this bug. Now it is fixed. Please, update mt addon to version 0.9.1. -- WBR Igor -

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
Thanks Roger. When I get the result that works, I won't send it out. At least I learned how to make the image available. Linda -Originat l Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Roger Hui Sent: Monday, April

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Roger Hui
All the black squares are supposed to be (rectangularly) connected, but cell (4,5) is isolated. As I said, if you apply "check" to a board and get an assertion failure, that failure should be enough of a hint on what's wrong. On Mon, Apr 8, 2013 at 5:57 PM, Linda Alvord wrote: > It doesn't lik

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
It doesn't like this either. http://www.jsoftware.com/jwiki/Challenges%20-%20Linda%20Alvord?action=Attach File&do=get&target=Nuritake2Board9.jpg Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Roger H

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread PMA
Remember I.P. Sharp's APL CHARACTER ROM chip? I've still got mine! (But not its trusty IBM 8086 PC.) PMA wrote: Perhaps Wm meant something that _looks_ like an overstrike character without being physically entered as such. Either way, kudos. PMA wrote: There we go! This sounds neat in just th

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread PMA
Perhaps Wm meant something that _looks_ like an overstrike character without being physically entered as such. Either way, kudos. PMA wrote: There we go! This sounds neat in just the way I'd hoped, especially now with Wm's mention of _overstrikes_ for J. Not so far, maybe, from the best of bo

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread PMA
There we go! This sounds neat in just the way I'd hoped, especially now with Wm's mention of _overstrikes_ for J. Not so far, maybe, from the best of both worlds. BTW, I'd suspected that some of J's command groupings make less sense than others. That's why I said "change, perhaps...". Skip Ca

Re: [Jprogramming] Symbols in J (was: J and APL symbols)

2013-04-08 Thread Paul Jackson
There are several modern APL products which support unicode input and output. While several approachs to input have been developed, most operating systems support display and printing of APL characters in a couple of fonts which are widely available. They are Apl385.ttf and SImPL medium APL.tt

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread Skip Cave
We have to be careful when we make the assumption that there will only be a standard 110-key keyboard with every computing device from now on. Or that keyboards will be unable to change the labels on their keys arbitrarily. Or that all input will always be done by typing on a keyboard. The availab

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread William Tanksley, Jr
PMA wrote: > Ok, saying "any" was my bad. Not at all, you were perfectly clear in context. I just found myself unable to echo you without the same context, so I had to provide additional information. > But I want to convey that > for me this relatedness -- the primitive set as a family -- > is m

Re: [Jprogramming] Burrows-Wheeler Transform

2013-04-08 Thread William Tanksley, Jr
Raul Miller wrote: > Anyways, that looks interesting (and similar to the paper William > Tanksley, Jr. referred to - though the paper you refer to here was > published 3 years earlier). That is indeed interesting and similar. The difference is also interesting. The baseline BWT sorts by the enti

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread PMA
Ok, saying "any" was my bad. But I want to convey that for me this relatedness -- the primitive set as a family -- is more important than my getting to type just 1 token instead of 2. I hope that a winning 1-token-command design will do utmost to emulate -- change, perhaps, but not dilute or tra

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread William Tanksley, Jr
Skip Cave wrote: > William, > You are overlooking the option of writing the single-character glyphs on a > touchscreen, using handwriting recognition. That sounds like a pleasant way to augment a keyboard-based entry if we decide to go with glyphs that don't resemble the underlying characters --

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread Skip Cave
William, You are overlooking the option of writing the single-character glyphs on a touchscreen, using handwriting recognition. That solves the problem of symbol entry, as your input will match the visual output, thus there is no memorization of key sequences required. You could use a hard or soft

Re: [Jprogramming] Symbols in J (was: J and APL symbols)

2013-04-08 Thread Skip Cave
Neville. I am totally in agreement with your points that J is easier to teach because of scripts instead of workspaces, as well as the elegance of tacit representation. The development environment and syntax of J are significant improvements over APL. However, the fact that J's ASCII representati

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread William Tanksley, Jr
PMA wrote: > Yes, if the relatedness within each primitive set gets lost, > won't a need for 3-to-6 times the number of J primitives > virtually cancel any one-token-per-command advantage? No, it won't cancel "any" (by which I mean "all") of the advantage. But yes, it will lose SOME. It's a trade

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread PMA
Yes, if the relatedness within each primitive set gets lost, won't a need for 3-to-6 times the number of J primitives virtually cancel any one-token-per-command advantage? Devon McCormick wrote: This is nice but avoids the hard parts of the problem. It's easy to say that "i." is "iota", but wh

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Roger Hui
The white region on the bottom labelled 12, has 13 white squares. If you run the "check" verb from http://www.jsoftware.com/jwiki/Essays/Nurikabe you can get a hint on what it's complaining about by looking at the assertion which failed. On

Re: [Jprogramming] Symbols in J (was: J and APL symbols)

2013-04-08 Thread William Tanksley, Jr
John Baker wrote: > I'd also > ignore keyboard issues. Keyboards are already virtual on phones and tablets > and before long QWERTYUIOP keyboards will join card punches in the ever > expanding warehouse of obsolete computer memorabilia. There are by definition no keyboard issues for a J standard

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread William Tanksley, Jr
Devon McCormick wrote: > This is nice but avoids the hard parts of the problem. Sure, it's a proof of concept rather than an implementation. It serves a different purpose -- rather than solving the entire problem, it solves the problem of people doubting whether it would really look and feel OK.

Re: [Jprogramming] Symbols in J (was: J and APL symbols)

2013-04-08 Thread John Baker
General symbols will slowly creep back into dozens of programming languages in the coming years. We are already seeing this in Mathematica and Unicode based APL's. Unicode is a sprawling beast but it has clearly addressed the symbol encoding issue. What it has not addressed is the usable font issu

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread Raul Miller
There's something to be said for solving investing one's efforts in the problems which are easy to solve. -- Raul On Mon, Apr 8, 2013 at 1:50 PM, Devon McCormick wrote: > This is nice but avoids the hard parts of the problem. > > It's easy to say that "i." is "iota", but where does "i:" fit in?

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread Devon McCormick
This is nice but avoids the hard parts of the problem. It's easy to say that "i." is "iota", but where does "i:" fit in? In J, the "dot" and "colon" versions of a verb often have a a fitting relation, e.g. "+" is addition, "+." is logical "or", and (monadic) "+:" is "double"; analogously, "*" is

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Devon McCormick
You could fix the solution by getting rid of the middle one of the top three of that island. On Mon, Apr 8, 2013 at 1:23 PM, David Mitchell wrote: > The bottom island of 12 has 13. > > > On 4/8/2013 13:10, Linda Alvord wrote: > >> So, looking at my solution, why is it considered incorrect? >> >>

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread David Mitchell
The bottom island of 12 has 13. On 4/8/2013 13:10, Linda Alvord wrote: So, looking at my solution, why is it considered incorrect? Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord Sent: M

Re: [Jprogramming] Eigen values in J

2013-04-08 Thread Johann Hibschman
On Mon, Apr 8, 2013 at 12:45 AM, Michal D. wrote: > Ps. There is nothing I like better than generating random input data using > J. What took pages of Haskell and TCL was boiled down to 7 clear lines of > J. WOW =) Now there are two languages rarely mentioned in the same breath. ---

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
So, looking at my solution, why is it considered incorrect? Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord Sent: Monday, April 08, 2013 12:59 PM To: programm...@jsoftware.com Subject: Re:

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
Thanks David and Raul. This may work. http://www.jsoftware.com/jwiki/Challenges%20-%20Linda%20Alvord?action=Attach File&do=get&target=NuritakeBoard9.jpg Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of

Re: [Jprogramming] J and APL symbols

2013-04-08 Thread William Tanksley, Jr
That really is magnificent -- and I speak as someone who stopped trying to learn APL (before J was easily available) because I found the character set unapproachable. I could easily see myself switching to that overlay for normal coding and reading. I'd like to see this developed into a coherent s

Re: [Jprogramming] Eigen values in J

2013-04-08 Thread km
Did you begin by loading ~addons/math/mt/mt.ijs ? --Kip Murray Sent from my iPad On Apr 8, 2013, at 10:51 AM, Devon McCormick wrote: > I attempted to use one of the math/mt routines (geev) but get a value error > on "trsmu1x" which does not appear to be defined anywhere. > > There is a Jaco

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
May -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Linda Alvord Sent: Monday, April 08, 2013 11:49 AM To: programm...@jsoftware.com Subject: Re: [Jprogramming] nutikabe - where's the error? I get this: http

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread David Mitchell
If I add code for a new attachment in my J wiki page and then select preview, I see a paperclip icon where the new image will appear. If I left-click on the paperclip, I get the "New Attachment" dialog where I can select the file to upload and upload it, David On 4/8/2013 11:44, Linda Alvord

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Raul Miller
You have attachment_NoritakeBoard9.jpg instead of attachment:NoritakeBoard9.jpg in the page http://www.jsoftware.com/jwiki/Challenges%20-%20Linda%20Alvord you can see this if you edit (text) On Mon, Apr 8, 2013 at 11:48 AM, Linda Alvord wrote: > I get this: > > http://www.jsoftware.com/jwiki/Chal

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
Here's my code so far. #format wiki #language en NoritakeWhyError-Linda Alvord {{attachment_NoritakeBoard9.jpg||align="left"}} CategoryWorkInProgress Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On

Re: [Jprogramming] Eigen values in J

2013-04-08 Thread Devon McCormick
I attempted to use one of the math/mt routines (geev) but get a value error on "trsmu1x" which does not appear to be defined anywhere. There is a Jacobi solver in ~addons/math/misc/jacobi that appears to work for a symmetric argument. Also, there's the code from Donald McIntyre's article on Jaco

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread David Mitchell
Nope, you were closer than I was. On 4/8/2013 11:45, Raul Miller wrote: I answered the wrong question, again? Ouch. Sorry about that. Thanks, -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
I get this: http://www.jsoftware.com/jwiki/Challenges%20-%20Linda%20Alvord?action=Attach File&do=upload_form&ticket=005162e62c.6fbf23ee23c533538006a0b87916c8a253f2a3 c9&target=NoritakeBoard9.jpg Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-b

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Raul Miller
I answered the wrong question, again? Ouch. Sorry about that. Thanks, -- Raul On Mon, Apr 8, 2013 at 11:41 AM, David Mitchell wrote: > I used Firefox to browse to the J Wiki page with my attachment, > right-clicked on the attachment and selected "Copy image location" and then > pasted into my

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
I can't get my page to show the image. I'm not ready yet to link it to a post. Linda -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of David Mitchell Sent: Monday, April 08, 2013 11:42 AM To: programm...@jsoft

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread David Mitchell
I used Firefox to browse to the J Wiki page with my attachment, right-clicked on the attachment and selected "Copy image location" and then pasted into my email. David On 4/8/2013 11:20, Linda Alvord wrote: I can see the big beautiful cup. I have attached my file to a page. I can't seem to f

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Raul Miller
For {{attachment:NorikabeBoard9.jpg||align="left"}} to work you will need to attach a file named NorikabeBoard9.jpg to that wiki page. If you have done that and it's still not working, perhaps you can point us at the page in question so we can see for ourselves what the situation is? Thanks, --

Re: [Jprogramming] nutikabe - where's the error?

2013-04-08 Thread Linda Alvord
I can see the big beautiful cup. I have attached my file to a page. I can't seem to find an example where I can see the code to make it display. {{attachment:NorikabeBoard9.jpg||align="left"}} When I preview it I just get a little image that says something is attached. What other code is necess

Re: [Jprogramming] Burrows-Wheeler Transform

2013-04-08 Thread Raul Miller
In conversational contexts, bringing up old topics is bad because the other participants are gone. In informational contexts, the constraint should probably focus on valid information rather than participants. Anyways, that looks interesting (and similar to the paper William Tanksley, Jr. referre

Re: [Jprogramming] Burrows-Wheeler Transform

2013-04-08 Thread Mike Müller
Sorry for dragging up such an old thread, but I just read this and wanted to remark, that it's essential for the BWT to sort on all characters. There's a variant called Sort Transform (or sometimes Schindler Transform) that only sorts the cyclic shifts according to the first k characters. See, fo

Re: [Jprogramming] Eigen values in J

2013-04-08 Thread Kip Murray
Igor Zhuravlof provides j routines that model LAPACK routines for eigenvalues and eigenvectors. See "matrix toolbox" ~addons/math/mt with contents summarized in ~addons/math/mt/mt.ijs I have not tried them but would expect them to run in j701JHS. --Kip Murray On 4/8/2013 12:45 AM, Michal D