On Sat, Jan 12, 2013 at 11:34 PM, Ian Clark wrote:
> Action people tend to develop problem domains with a rich variety of
> actions and very few things, usually of a generic nature. Think of J,
> with over 100 primitives, mostly verbs, and basically just one sort of
> "thing", called an array. And
On Sat, Jan 12, 2013 at 11:41 PM, Jose Mario Quintana
>> It's arguably a bug because [something seems to be missing here]. That
>> said, there are two possible ways the bug can be identified:
It's arguably a bug because it gives two different results for
otherwise equivalent operations. And, bec
On Sun, Jan 13, 2013 at 1:09 AM, km wrote:
> Have you used members of this family? What for? --Kip Murray
Yes.
L. is a useful condition when I am boxed arrays. It gives me early
detection of improper arguments in the simple cases.
L: is useful when combining arguments that I want to be boxed,
Jose, I'm working on your plot program and I found a ray of hope...
u=: -:
v=: *:
Y=: _2 + 0.01 * i.401
B=:([:u v)"v
BB=:([:u v)"v
(B Y)-:BB Y
1
h=: 13 :' (C=:(((BB y)d._2 _1 0 1 2)y'
h Y
h Y
|nonce error: h
| (C=:(((BB y)d._2 _1 0 1 2)y
I always liked nonce
Just to add some grist to the mill,
I wonder if Bret Victor's demo is not so much about visual programming but more
about responsive programming. When he manipulates the java script code and the
graphics on the other side of the page change he is not working visually, he is
working textually an
Hi Raul,
I spent some time exploring the visual representation of different arrays last
year and found it quite challenging. Especially when trying to create visual
distinctions between empty arrays of different shapes. Also, a challenge is how
to represent higher dimension arrays in ways that
On Sun, Jan 13, 2013 at 10:26 AM, Linda Alvord wrote:
> It seems to need d."0 but I can't seem to figure how to do it.
You can use "0 on the result of d. For example:
(d. 1) (" 0)
I do not think you should have to do this, but it works.
--
Raul
On Sun, Jan 13, 2013 at 11:00 AM, bob therriault wrote:
> I spent some time exploring the visual representation of
> different arrays last year and found it quite challenging. Especially
> when trying to create visual distinctions between empty arrays of
> different shapes. Also, a challenge is ho
L: all the time, especially in teaching. The beginners tend to get rank
and boxing level confused. The recurring question is "what should you
apply this verb on", and if the answer is 'k-cells', you use "k, while
if it is 'on the contents of innermost boxes', you use L:0. Last year
we had a
I sent a message several hours ago. It doesn't show up in the forum.
--
For information about J forums see http://www.jsoftware.com/forums.htm
Here's my third try to get this message to the forum.
From: Tom Arneson [mailto:[email protected]]
Sent: Sunday, January 13, 2013 11:11
To: '[email protected]'
Subject: Problem with SystemFolders_j_ and UserFolders_j_
My J701 became unresponsive several weeks ago, and I r
On Sun, Jan 13, 2013 at 12:16 PM, Henry Rich wrote:
> {:: is indispensable when you need it. > 1 { > 2 { y is just harder to
> read than (2;1) {:: y . It's a pity that 0 {:: scalar fails, or I would
> use {:: more.
Note, though, that '' {:: scalar succeeds, and that the error from 0
{:: 0 is
When I have reinstalled J701 and I wanted to have it retain use of the
default user directory, I have moved my user directory (or maybe
directories) elsewhere and then moved their contents into place in the
new install (first checking the newly installed content to see if
anything was a big deal).
Raul,
Thanks for the reply. It would, but I don't want to have 'c:/users/tom
arneson/j64-701-user_temp/' in any of the entries of SystemFolders_j_ or
UserFolders_j_. In other words I want to know what I can change, so whatever
J file is pointing at 'C:\Users\Tom Arneson\j64-701-user_temp\', inste
If I recall correctly, the "temp" name is only used when the existing
name already exists.
That said, it has been a while since I looked at this aspect of J and
I am on a different kind of system right now. But I think I'd start
by looking at the profile scripts in your bin directory.
FYI,
--
Hey Dan -
thanks for that link - it was a very impressive demo. I also like the
parts about Larry Tesler and his "no modes" crusade but it makes me even
more puzzled about people who like vi (if modes are so plainly bad). Maybe
I just have to take this "different people are different" idea more
Thank you, Raul and Henry.
I have used {:: to define "constants" aa bb cc dd and "variables" xx yy
zz tt but confess that after going to the trouble of defining them I
didn't use them much. Here they are
aa =: (0 {:: [: : [) :: ([: > [: : [)
bb =: 1 {:: [: : [
cc =: 2 {:: [: : [
On Sun, Jan 13, 2013 at 2:27 PM, Devon McCormick wrote:
> thanks for that link - it was a very impressive demo. I also like the
> parts about Larry Tesler and his "no modes" crusade but it makes me even
> more puzzled about people who like vi (if modes are so plainly bad). Maybe
> I just have to
Yes... polynomials are a particularly bad use of names. We already
have primitives for dealing with them, and it's rare that there's any
benefit to re-inventing the wheel and doing a less adequate job of it.
Generally speaking, it's good to give names to things that will see a
lot of use.
--
Ra
I think the email thread got hijacked... but a follow up to the original
join question...
Roger pointed out that I wasn't being logical (i.e. appending rank 1 to
rank 2 doesn't make sense).
... and if I do this, I now get back what I expected to see.
(0 2$0), i.2 2
0 1
2 3
So... I borrowed
Note that (0 0$0), i. 2 2 would also work. The trailing dimension
gets expanded, just like in your original case, so the net result is
equivalent to (0 2$0,i. 2 2 which is to say nothing happens.
But, depending on your situation, 0 0 $ 0 might be more generally
useful than 0 2 $ 0.
FYI,
--
Rau
i was a bit frustrated because Bobs (and ACMs) URL
bob therriault A good video to watch is Alan Kay's 'Extracting Energy from the Turing
> Tarpit' where he discusses the ideas behind Bret's demo.
> http://amturing.acm.org/acm_tcc_webcasts.cfm
led to a cover page for the Turing Centenary, and o
To Raul:
> I have no idea what "works reasonably well" means.
That is a very subjective statement, apparently one can make use of
(@) and (@:) within the scope of (d.) but, of course, that depends on
one's point of view.
> But consider also:
>
> AT=: 2 :0
> u@v"v
> )
>
> +:AT*: d. 1
> 0 4x&p."0
Yes, SystemFolders is set from definitions in the profile. By default this
is bin/profile.ijs, but J may also be called using a different profile. The
standard boot sequence would not add a _temp suffix to any path defined in
the profile.
Chris
On Mon, Jan 14, 2013 at 2:35 AM, Raul Miller wrote:
No earlier message was received.
It may have been removed by google's spam filter, see
http://www.jsoftware.com/jwiki/System/Forums#Mail_Routing
Chris
On Mon, Jan 14, 2013 at 1:27 AM, Tom Arneson wrote:
> I sent a message several hours ago. It doesn't show up in the forum.
>
--
Chris,
I see the email problem. "Messages sent directly to
[email protected] will be ignored." My first messages went to
the ignored address.
-Original Message-
From: [email protected]
[mailto:[email protected]] On Behalf Of chr
load'plot'
u=: -:
v=: *:
Y=: _2 + 0.01 * i.401
f=: 13 :'(] ; [:|:u@v d._2 _1 0 1 2 )y'
f
] ; [: |: u@v d._2 _1 0 1 2
plot f Y
If this is in a jijs and then run, it will shw the graph you expect bu t
it will provide a long J error message in a separate window. I don't
27 matches
Mail list logo