Re: [Jprogramming] This surprised me.

2014-11-03 Thread Don Kelly
both Ok -prefer the line drawing. Don Kelly On 03/11/2014 4:28 PM, Devon McCormick wrote: Who is able to see the below looking like it ought to (evenly ASCII-boxed, then line-drawing boxed)? I highlighted this in Gmail and set the font to Courier New. ('hi';'ho'),('off';'to'),:'work';'we';

Re: [Jprogramming] This surprised me.

2014-11-03 Thread bill lam
In that case, even after decoding base64, the message is still plain text, not html formated. Usually, email client sent a plain text version along with html format, so there are 2 attachments, but J formum does not accept the html version. Пн, 03 ноя 2014, Raul Miller написал(а): > That is not e

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Raul Miller
That is not exactly true. When I inspect the raw messages I am receiving I'll see stuff like base64 encoded content (as opposed to ascii text). It might be that what is being sent is meant to represent plain ascii text but that's somebody's abstraction as opposed to the actual implementation. I

Re: [Jprogramming] This surprised me.

2014-11-03 Thread bill lam
J forum rejects html formated emails, only ascii text is displayed. All font or other styles settings will not be effective. The font used is determined by receipient's email client. On my android gmail app, it uses proportional font and I cannot find any options to change this setting so that bot

Re: [Jprogramming] shorter way to prefix lines altenatively?

2014-11-03 Thread r.e.boss
;('A:';'B:'),L:0 "1 [_2[\<;.2 t A:abc B:defg A:hijkl B:erws A:opqow B: A:sdfsdf B:dofi R.E. Boss (Add your info to http://www.jsoftware.com/jwiki/Community/Demographics ) > -Original Message- > From: programming-boun...@forums.jsoftware.com [mailto:programming- > boun...@forums.jso

Re: [Jprogramming] Algorithm to Check Graph is connected

2014-11-03 Thread Roger Stokes
NB. from Sample Topic 21 of Dictionary closure =: ([ +. +./ .*.)^:_~ NB. transforming distance matrix into boolean adjacency matrix NB. and checking closure is all 1 connected =: (1 = *. / @: ( , @: closure)) @: (~: & _) mat1 =: 5 5 $ _ 3 4 2 _, 3 _ _ 1 8, 4 _ _ 5 5, 2 1 5 _ _, _ 8 5 _ _ mat

Re: [Jprogramming] Algorithm to Check Graph is connected

2014-11-03 Thread Roger Stokes
NB. from Sample Topic 21 of Dictionary closure =: ([ +. +./ .*.)^:_~ NB. transforming distance matrix into boolean adjacency matrix NB. and checking closure is all 1 connected =: (1 = *. / @: ( , @: closure)) @: (~: & _) mat1 =: 5 5 $ _ 3 4 2 _, 3 _ _ 1 8, 4 _ _ 5 5, 2 1 5 _ _, _ 8 5 _ _ mat

Re: [Jprogramming] Algorithm to Check Graph is connected

2014-11-03 Thread Björn Helgason
array[i][j] = 30; A =. 4 6$i.5 A 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 4 0 1 2 3 array=. dyad define ​('a';'b') =. y ​b =. < b ​a b } x ​) A array 30;2 2 0 1 2 3 4 0 1 2 3 4 0 1 2 3 30 0 1 2 3 4 0 1 2 3 On 29 Oct 2014 12:52, "Jon Hough" wrote: > I have written an algorith

Re: [Jprogramming] This surprised me.

2014-11-03 Thread robert therriault
On the Apple Mail app the spacing is messed up and there seems to be an extra carriage return between each line. cheers, bob On Nov 3, 2014, at 5:23 PM, Devon McCormick wrote: > Not for me on Gmail - I see the box characters but the spacing is messed up. > > On Mon, Nov 3, 2014 at 8:18 PM, gr

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Devon McCormick
Not for me on Gmail - I see the box characters but the spacing is messed up. On Mon, Nov 3, 2014 at 8:18 PM, greg heil wrote: > How bout this > > ​ ('hi';'ho'),('off';'to'),:'work';'we';'go' > > ┌┬──┬──┐ > > │hi │ho│ │ > > ├┼──┼──┤ > > │off │to│ │ > > ├┼──┼──┤ > > │work│we│go│ > > └─

Re: [Jprogramming] This surprised me.

2014-11-03 Thread greg heil
How bout this ​ ('hi';'ho'),('off';'to'),:'work';'we';'go' ┌┬──┬──┐ │hi │ho│ │ ├┼──┼──┤ │off │to│ │ ├┼──┼──┤ │work│we│go│ └┴──┴──┘ ...? (style="font-family:'Lucida Console',Consolas,'Courier New Bold', monospace") ​ greg ~krsnadas.org --

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Kip Murray
No good for me, using Gmail app on iPad Air. --Kip Murray On Monday, November 3, 2014, Devon McCormick wrote: > Who is able to see the below looking like it ought to (evenly ASCII-boxed, > then line-drawing boxed)? > I highlighted this in Gmail and set the font to Courier New. > >('hi';'ho'

Re: [Jprogramming] This surprised me.

2014-11-03 Thread robert therriault
Devon They both look fine to me on Apple Mail (once I had changed the font for message content to fixed width) cheers, bob On Nov 3, 2014, at 4:38 PM, Lippu Esa wrote: > Hi Devon! > > Both look fine for me. Using our corporate Outlook client (Office > Professional Plus 2010). > > Esa > >

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Lippu Esa
Hi Devon! Both look fine for me. Using our corporate Outlook client (Office Professional Plus 2010). Esa -Original Message- From: programming-boun...@forums.jsoftware.com [mailto:programming-boun...@forums.jsoftware.com] On Behalf Of Devon McCormick Sent: 4. marraskuuta 2014 02:28 To:

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Devon McCormick
Who is able to see the below looking like it ought to (evenly ASCII-boxed, then line-drawing boxed)? I highlighted this in Gmail and set the font to Courier New. ('hi';'ho'),('off';'to'),:'work';'we';'go' ++--+--+ |hi |ho| | ++--+--+ |off |to| | ++--+--+ |work|we|go| ++--+--+

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Devon McCormick
Except that this forum drops images attached to e-mails. However, it's easy enough to create a page on the J wiki and display anything there. On Mon, Nov 3, 2014 at 10:37 AM, Skip Cave wrote: > Linda, > > If you are using Windows, there is a "Snipping Tool" in Windows that can > take a screensh

Re: [Jprogramming] Another test

2014-11-03 Thread Raul Miller
Maybe character formtting tests should go to the chat forum? Thanks, -- Raul On Mon, Nov 3, 2014 at 3:33 AM, Linda Alvord wrote: > ss=: 13 :',.<;._1'' '',y' >ss N > -┐ > │x+y │ > ++ > │x-y │ > ++ > │x<.y│ > ++ > │x>.y│ > L- > Font size 12 > > -

Re: [Jprogramming] shorter way to prefix lines altenatively?

2014-11-03 Thread 'Pascal Jasmin' via Programming
nice, can kind of work for odd rows too: (1 1;1 2) ,(L:0) _2[\ <"1 i.4 4 ┌─┬───┐ │1 1 0 1 2 3 │1 1 4 5 6 7│ ├─┼───┤ │1 2 8 9 10 11│1 2 12 13 14 15│ └─┴───┘ or (1 1;1 2) ,(L:0) |: _2[\ <"1 i.4 4 ┌───

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Skip Cave
Linda, If you are using Windows, there is a "Snipping Tool" in Windows that can take a screenshot of any area on the screen. Click the Start button, and search for "Snipping". Bring up J, and execute your functions so they display the output in the J window. Then start the snip tool. Select "Rect

Re: [Jprogramming] This surprised me.

2014-11-03 Thread chris burke
> I'm still trying to find how to get "html" or "rich text" like I used in an old outlook. This is my rather ugly new version. There is no way to ensure that boxed output appears correctly in emails. Note that it may show correctly in your email program, but not in other email programs. It is be

Re: [Jprogramming] shorter way to prefix lines altenatively?

2014-11-03 Thread R.E. Boss
;('A:';'B:'),L:0 "1 [_2[\<;.2 t A:abc B:defg A:hijkl B:erws A:opqow B: A:sdfsdf B:dofi R.E. Boss (Add your info to http://www.jsoftware.com/jwiki/Community/Demographics ) > -Original Message- > From: programming-boun...@forums.jsoftware.com [mailto:programming- > boun...@forums.js

Re: [Jprogramming] shorter way to prefix lines altenatively?

2014-11-03 Thread Roger Hui
; ((('A:';'B:') $~ #) ,&.> ]) <;.2 t On Mon, Nov 3, 2014 at 3:50 AM, June Kim (김창준) wrote: > Hello > > > I am looking for a shorter and more elegant way to do the following given a > string t: > >t=. 0 :0 > > abc > > defg > > hijkl > > erws > > opqow > > > sdfsdf > > dofi > > ) > >,&:>/

[Jprogramming] shorter way to prefix lines altenatively?

2014-11-03 Thread 김창준
Hello I am looking for a shorter and more elegant way to do the following given a string t: t=. 0 :0 abc defg hijkl erws opqow sdfsdf dofi ) ,&:>/ ,(,.~ ('A:';'B:') $~ #) ,.<;. 2 t A:abc B:defg A:hijkl B:erws A:opqow B: A:sdfsdf B:dofi

[Jprogramming] Another test - at least it looks good before I send it...

2014-11-03 Thread Linda Alvord
ss=: 13 :',.<;._1'' '',y' ss N -┐ │x+y │ ++ │x-y │ ++ │x<.y│ ++ │x>.y│ L- Font size 13.5 Linda -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Another test

2014-11-03 Thread Linda Alvord
ss=: 13 :',.<;._1'' '',y' ss N -┐ │x+y │ ++ │x-y │ ++ │x<.y│ ++ │x>.y│ L- Font size 12 -- For information about J forums see http://www.jsoftware.com/forums.htm

[Jprogramming] Mat=ybe this will look better

2014-11-03 Thread Linda Alvord
ss=: 13 :',.<;._1'' '',y' ss N -┐ │x+y │ ++ │x-y │ ++ │x<.y│ ++ │x>.y│ L- Font size 24 Linda -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Linda Alvord
Change the message format for all messages sent to a specified Internet recipient Open the contact card for the recipient. In the E-mail box, double-click the recipient's e-mail address. In the Internet Format list, select the format that you want to use for messages to this recipient. You don’t

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Linda Alvord
Here's your s, but can you make dyads any nicer? I admit I changed my mind about what I wanted. ss=: 13 :' ,. (<;._1) '' '',y' dyads=: 13 :' ,. <"1 ''x'',"1(>;:y),"1 ''y''' M=:'+ - <. >.' dyads M ┌┐ │x+ y│ ├┤ │x- y│ ├┤ │x<.y│ ├┤ │x>.y│ └┘ Linda -Original Me

Re: [Jprogramming] This surprised me.

2014-11-03 Thread Linda Alvord
Raul, I'm still trying to find how to get "html" or "rich text" like I used in an old outlook. This is my rather ugly new version. rrN=:'x+y x-y x<.y x>.y' M=:'+ - <. >.' dyads=: 13 :' ,. <"1 ''x'',"1(>;:y),"1 ''y''' (dyads M) ┌┐ │x+ y│ ├┤ │x- y│ ├┤ │x<.y│ ├┤ │x>.y│