Re: [Jprogramming] J in 5 minutes

2014-03-07 Thread Ni Bo
Impressive. At 0:22 seconds a small typing mistake: "J is a high-performance.." not "an high". Nick On Fri, Mar 7, 2014 at 5:00 PM, Tom Arneson wrote: > Very nice, Martin! > > -Original Message- > From: programming-boun...@forums.jsoftware.com > [mailto:programming-boun...@forums.jsoft

Re: [Jprogramming] stdlib documentation

2014-02-11 Thread Ni Bo
Terse is good but not in a menu though. That did made me click almost at random hoping to get the right page (before learning the meaning of the short words). Nick Am 11.02.2014 19:07 schrieb "Murray Eisenberg" : > At long last, a big gap in recent releases of J has been bridged. Thank > you so v

Re: [Jprogramming] using j801\addons\format\printf\printf.ijs

2013-12-29 Thread Ni Bo
>'%s' printf <'' > > Henry Rich > > > On 12/29/2013 5:21 PM, Ni Bo wrote: > >> Hello, >> >> I've tried the following lines of code using printf: >> >> a=: 1 2 34 4 >> >> '%j%s\n' pr

[Jprogramming] using j801\addons\format\printf\printf.ijs

2013-12-29 Thread Ni Bo
Hello, I've tried the following lines of code using printf: a=: 1 2 34 4 '%j%s\n' printf a;'' 1 2 34 4 '%j' printf a |length error: exeformat | '%j'printf a '%s' printf 'asdf' |length error: exeformat | '%s'printf'asdf' '%s%s' printf 'asdf';'' asdf Am I us

Re: [Jprogramming] Data from kaggle competition: packing Santa's sleigh

2013-12-11 Thread Ni Bo
18 > 558 484 491 487 527 497 510 490 477 491 474 506 475 457 461 426 ... >ts=: 6!:2,7!:2@] NB. time & space >ts'a doit b' > 8.0017 3.84198e9 > > > > > On Wed, Dec 11, 2013 at 12:11 PM, Ni Bo wrote: > > > Hi, > > > > I'm using

[Jprogramming] Data from kaggle competition: packing Santa's sleigh

2013-12-11 Thread Ni Bo
Hi, I'm using the data off the kaggle competition to learn some j. This simple code works for these short strings: a=:1 2 3 4 5 6 b=:14 3 2 5 6 2 1 1 2 3 4 2 3 +/"1 (a=/b) 2 4 3 1 1 1 But if I try it for longer strings #a 250 and #b 1 000 000 I get out of memory. Can you please help me with

[Jprogramming] Kaggle competition: Flight Quest 2

2013-11-24 Thread Ni Bo
Hello, I was just wondering if any of you guys is taking part in the Kaggle/GE Flight Quest 2 competition. http://www.gequest.com/c/flight2-main I'm new to J but it seems to me this competition can be a nice challenge for a good J programmer. Best regards, Nicolae Borota