What about this one
https://plus.google.com/u/0/photos/101244335910217616226/albums/598024084706
7744881 ?
R.E. Boss
(Add your info to http://www.jsoftware.com/jwiki/Community/Demographics )
> -Original Message-
> From: programming-boun...@forums.jsoftware.com [mailto:programming-
> bo
Need to add stdlib to the list of scripts in scripts.ijs for open 'stdlib'
to work as in Wiki.
Regards
Bill Szuch
--
For information about J forums see http://www.jsoftware.com/forums.htm
Thanks Murray for providing the links.
I agree Don, but I wonder if the goal of J in 5 minutes is not to teach someone
J, but to make them want to learn J.
Not unlike a movie trailer, which has the job of making you want to go see the
movie, without giving away the story.
Cheers bob
On Feb
One thing to be careful about - awk is designed for a unix command line.
When using J, you should assume a J command line. With a little work, you
can use a J program at the unix command line, but I am not really
comfortable with the way that works, yet.
Meanwhile, at the unix command line you can
We have a good set of J examples on rosettacode.org.
You should feel free to copy and paste them when you need a cookbook
approach to something.
And, you should feel free to ask questions about them if you want more
explanation. (Also, some have comments on the talk page - though of course
having
]data =. '1;2;3;4;5;' ,: '6;7;8;9;0;'
1;2;3;4;5;
6;7;8;9;0;
<;._2"1 a
┌─┬─┬─┬─┬─┐
│1│2│3│4│5│
├─┼─┼─┼─┼─┤
│6│7│8│9│0│
└─┴─┴─┴─┴─┘
2{."1 < ;._2"1 a
┌─┬─┐
│1│2│
├─┼─┤
│6│7│
└─┴─┘
if data is already structured:
i. 2 5
0 1 2 3 4
5 6 7 8 9
2{."1 i. 2 5
0 1
5 6
- Original Mes
pngs are really easy to generate if you use the "literal" (uncompressed)
fallback representation for everything. Someone could do that in J in an
afternoon.
The compression part would take a bit longer, of course, but you have to
start somewhere.
Thanks,
--
Raul
On Fri, Feb 14, 2014 at 8:26
Sorry, the error message was terse.
in fact it expected either 1 ro 2 arguments for send.
either "send socket" or "send socket data"
try this
wd 'ws send ', (": sk) , ' hello'
or
wd 'ws send ', (": sk) , ' "hello client, username:"'
or
wd 'ws send ', (": sk) , ' *hello client, username:'
I
Just to finish the job, here is a link to a video screencast of the display
style for the skinnier look. http://wp.me/p1rSg-8x
Cheers, bob
On Feb 12, 2014, at 6:04 PM, robert therriault wrote:
> Well, I am not sure I would call it a nice example, but I am glad to hear
> that it does work.
>
Another issue I've uncovered in single application client and server
communication, also applies to separate applications.
It appears that the server receives the connect (onOpen) event first (before
client), but even though the server is connected, it is not safe for it to send
yet.
For insta
I have installed J801 and modified my j701jhs icon so it calls up JHS801.
Evidence
J Http Server
i.2
0 1
Updating server catalog...
JVERSION
Engine: j701/2011-01-10/11:25
Library: 8.01.020
Platform: Win 32
Installer: j801 install
InstallPath: c:/users/kip murray/j801
BUT NOT MANY 'ORDINARY'
This is a test to see whether I can reach the programming forum. ==Kip Murray
Sent from my iPad
--
For information about J forums see http://www.jsoftware.com/forums.htm
(Apologies if e-mail eats my leading spaces - Henry - how do you do it?)
samp=. '1 2;3 4;99 1'
FS=. ';'
<;._1 FS,samp
+---+---++
|1 2|3 4|99 1|
+---+---++
".&><;._1 FS,samp
1 2
3 4
99 1
+/"1".&><;._1 FS,samp
3 7 100
On Fri, Feb 14, 2014 at 10:22 PM, Henry Rich wrote:
If I had awk, I would use it to solve this problem. Assume I don't.
Here is a test file:
file =: 0 : 0
1 ; 3
4 ; 5
)
In J, I would write:
addcols12 =: [: +/"1 [: ".@> 2 {."1 ';'&(<;._1@,);._2
testing:
addcols12 file
4 9
If I were a (very precocious!) beginner, I would write
NB. y is
One thing I've noticed is that the amount of material available for
beginner -> advanced follows something like a power law: it wouldn't hurt
to take the five minute limit seriously - unlike my extremely
over-ambitious attempt in
http://www.jsoftware.com/jwiki/DevonMcCormick/PresentingJIn5Minutes
-
I down't know AWK; however, why try to do it as AWK does it? Below is a
couple of J statements which do what I think you are trying to do.
data=:1 2,3 4,5 6,:7 8
data
1 2
3 4
5 6
7 8
+/"1 data
3 7 11 15
The last .: maks the rank two. And I assume that when you say "print" you
mea
Just viewed the videos by Cliff Hastings for Wolfram. Surprised to see that
there looked like an error in the second video on making a first order fit
showing the line going above the origin when x=0. Later it showed it
correctly. Sent him a note about that.
But what really bothers me about demos
Hey there,
As new user to J (but several years experience with C and Java), I
find it very, very interesting. The power of its one liners and
mathematical heritage really have me hooked. I was wondering though
if it has similar capabilities as awk. What's the equivalent to this
awk script in J?:
If you'd like to see what a good quick demo looks like, done by one guy with no
fancy production values -- and of a language/system having a state-of-the-art
user interface, take a look at either of the following:
http://www.wolfram.com/broadcast/search.php?Search=app%20minute&x=-879&y=-139&v
Great resources Devon,
I was figuring that the Beginners Regattas would be a good place to look for
some ideas. Have you seen this brochure that Python is using for promotion?
Currently they are using this mockup to attract advertisers to cover
distribution costs, but it might also give some id
Here's a couple of stubs I've added recently based on what I think
beginners might care about:
http://www.jsoftware.com/jwiki/Guides/WorkingWithText and
http://www.jsoftware.com/jwiki/DevonMcCormick/ExceltoJRosetta.
Also, I've written and presented (or not presented) a number of talks to
different
Uh oh.
On Fri, Feb 14, 2014 at 8:21 PM, bill lam wrote:
> cairo output has been decommitted in j801 plot addon because it
> depends on gtk.
>
> Пт, 14 фев 2014, Devon McCormick писал(а):
> > Yes - I include that "cairo" stuff to set the plot size and output to my
> > paint program as a ".png".
cairo output has been decommitted in j801 plot addon because it
depends on gtk.
Пт, 14 фев 2014, Devon McCormick писал(а):
> Yes - I include that "cairo" stuff to set the plot size and output to my
> paint program as a ".png".
>
>
> On Fri, Feb 14, 2014 at 3:12 PM, Joe Bogner wrote:
>
> > Sorr
Great idea Henry,
I would be willing to pitch in on this. I do have some production skills and
have posted on Youtube on a semi-regular basis. I think that the biggest
requirement beyond technical skills are the writing skills to tell a compelling
story to our prospective audience. I am hoping
Ian Clark's NuVoc project is a great start at making J easier for
newcomers. As part of that effort, the FrontPage of the Wiki now has a
section aimed at newcomers.
As Ian observed, a newcomer's first 5 minutes with J will be decisive in
establishing their attitude towards the language. As t
Yes - I include that "cairo" stuff to set the plot size and output to my
paint program as a ".png".
On Fri, Feb 14, 2014 at 3:12 PM, Joe Bogner wrote:
> Sorry - I mean I had to remove the: output cairo 1000 1000
>
> pd 'color red;pensize 8'
>
>
> On Fri, Feb 14, 2014 at 3:11 PM, Joe Bogner wr
Sorry - I mean I had to remove the: output cairo 1000 1000
pd 'color red;pensize 8'
On Fri, Feb 14, 2014 at 3:11 PM, Joe Bogner wrote:
> I had the same issue and had to restart J and remove 'cairo'. I think pd
> might be caching the option that was previously set. I agree, the picture
> looke
I had the same issue and had to restart J and remove 'cairo'. I think pd
might be caching the option that was previously set. I agree, the picture
looked nice
On Fri, Feb 14, 2014 at 3:02 PM, Raul Miller wrote:
> I am getting
>
> |value error: pd_cairo
>
> even if I remove the word 'cairo' from
I am getting
|value error: pd_cairo
even if I remove the word 'cairo' from your code.
Still, the picture you posted to google+ looks nice.
Thanks,
--
Raul
On Fri, Feb 14, 2014 at 2:12 PM, Devon McCormick wrote:
> I'll let the rest of you waste more time on this than I already have:
>
>
I'll let the rest of you waste more time on this than I already have:
pd 'color red;pensize 8;output cairo 1000 1000'
pd (X j. Y"0) 1j1#i: 3.15j1000
pd 'color blue;pensize 15'
pd nn=. 3j2-~2%~(_16}.5+i:5j99)^~/1j1*1+99%~i:5j999
pd (1.5*2-~0{tt)j."1 (1{tt)+"1 (8%~1-~i.5)+/|.400%~i.10
Oh, that leads to some interesting ideas. Here's a fun one:
require 'plot'
X=: 16 * (1&o.)^3:
Y=: 13 _5 _2 _1 +/ .* 2 o. (1+i.4)&*
'color red' plot (X j. Y"0) 1j1#i: 3.15j1000
The 1j1# makes every other point on the curve be at the origin, which
approximates a solid. The Moire effect is kind
Thanks! That did it
On Fri, Feb 14, 2014 at 11:34 AM, Jan-Pieter Jacobs <
janpieter.jac...@gmail.com> wrote:
> Same thought here!
>
> try 'color red' plot
>
> Jan-Pieter
>
>
> 2014-02-14 17:32 GMT+01:00 Joe Bogner :
>
> > Thanks for sharing! How can I make it red? I tried pd 'itemcolor red'
and a thicker line:
'pensize 4; color red' plot ...
On Fri, 14 Feb 2014, Joe Bogner wrote:
Thanks! That did it
On Fri, Feb 14, 2014 at 11:34 AM, Jan-Pieter Jacobs <
janpieter.jac...@gmail.com> wrote:
Same thought here!
try 'color red' plot
Jan-Pieter
2014-02-14 17:32 GMT+01:00 Jo
Same thought here!
try 'color red' plot
Jan-Pieter
2014-02-14 17:32 GMT+01:00 Joe Bogner :
> Thanks for sharing! How can I make it red? I tried pd 'itemcolor red'
>
>
> On Fri, Feb 14, 2014 at 11:20 AM, Raul Miller
> wrote:
>
> > Hopefully this is not too inappropriate:
> >
> >requir
Thanks for sharing! How can I make it red? I tried pd 'itemcolor red'
On Fri, Feb 14, 2014 at 11:20 AM, Raul Miller wrote:
> Hopefully this is not too inappropriate:
>
>require 'plot'
>X=: 16 * (1&o.)^3:
>Y=: 13 _5 _2 _1 +/ .* 2 o. (1+i.4)&*
>plot (X j. Y"0) i: 3.15j1000
>
> Tha
Hopefully this is not too inappropriate:
require 'plot'
X=: 16 * (1&o.)^3:
Y=: 13 _5 _2 _1 +/ .* 2 o. (1+i.4)&*
plot (X j. Y"0) i: 3.15j1000
Thanks,
--
Raul
--
For information about J forums see http://www.jsoftware
36 matches
Mail list logo