Re: [Jprogramming] viewmatcc troubles

2015-09-11 Thread Michal Wallace
Using an isidraw instead of an isigraph seems to fix the problem. On Fri, Sep 11, 2015 at 11:26 PM, Michal Wallace wrote: > As far as I can tell, it's meant to work like this: > > NB. == > > load 'viewmat' > > > w_cancel =: 3 : 0 > > wd 'pclose' > > ) > > > wd 0 : 0 > >

[Jprogramming] viewmatcc troubles

2015-09-11 Thread Michal Wallace
As far as I can tell, it's meant to work like this: NB. == load 'viewmat' w_cancel =: 3 : 0 wd 'pclose' ) wd 0 : 0 pc w closeok; cc g isigraph; pshow; ) viewmatcc_jviewmat_ (i.3 4);'g' NB. == ... but in jQt (both j803/j804, w

Re: [Jprogramming] +. does not always work

2015-09-11 Thread Raul Miller
Does this help? +./ 0.711*t=:?100#100 1.01585e_13 +./ x:0.711*t 711r1000 Thanks, -- Raul On Fri, Sep 11, 2015 at 9:14 PM, 'Bo Jacoby' via Programming wrote: > How do I make it less sensitive to round-off errors?Thank you.- Bo >+./ 0.711*?100#1000.711 >+./ 0.711*?100#1001.28453e

Re: [Jprogramming] Changing the text of a menu item

2015-09-11 Thread chris burke
You can create a new form to replace the old, positioning exactly over the old. This should happen fast enough to be unnoticeable. I cannot think of examples in J8, but this was done in J6, for example with the Find and Replace dialogs. On 11 September 2015 at 15:56, bill lam wrote: > I think t

[Jprogramming] +. does not always work

2015-09-11 Thread 'Bo Jacoby' via Programming
How do I make it less sensitive to round-off errors?Thank you.- Bo    +./ 0.711*?100#1000.711    +./ 0.711*?100#1001.28453e_13 -- For information about J forums see http://www.jsoftware.com/forums.htm

Re: [Jprogramming] Timer

2015-09-11 Thread bill lam
delay or sleep will halt the running thread, this is usually not the intention of using a timer. Since jhs can receive events from browers, a javascript timer might be a candidate, but I am not familiar with jhs. On Sep 12, 2015 1:33 AM, "Devon McCormick" wrote: > Does this give a 2-second delay

Re: [Jprogramming] Changing the text of a menu item

2015-09-11 Thread bill lam
I think these functions are not implemented. On Sep 12, 2015 4:50 AM, "Ian Clark" wrote: > With jwd in JQt, how do I change the text of a given item in an > existing set of menus? > > E.g. to state precisely what action I'm offering to Undo / Repeat / etc? > > An allied problem is to add items to

[Jprogramming] Changing the text of a menu item

2015-09-11 Thread Ian Clark
With jwd in JQt, how do I change the text of a given item in an existing set of menus? E.g. to state precisely what action I'm offering to Undo / Repeat / etc? An allied problem is to add items to an existing menu, e.g. to provide a MRU facility. --

Re: [Jprogramming] Timer

2015-09-11 Thread Devon McCormick
Does this give a 2-second delay under JHS? 6!:3]2 On Fri, Sep 11, 2015 at 1:25 PM, yves.tanguy wrote: > Hello All, > > Under console, no timer works. > Under Qt, timer_qtdemo works. > > Thanks Chris & Raul. > > > > i am not familiar with qt, i prefer jhs.. > and i use J803 on iMac (here, and pc

Re: [Jprogramming] Timer

2015-09-11 Thread yves.tanguy
Hello All, Under console, no timer works. Under Qt, timer_qtdemo works. Thanks Chris & Raul. i am not familiar with qt, i prefer jhs.. and i use J803 on iMac (here, and pc on win7 for the other). i have 1,000 files here, and i would like to transfert on distant site. and i repeat probably ne

Re: [Jprogramming] Removing not 7 bit ASCII code for a huge file

2015-09-11 Thread bill lam
If you have enough RAM, try b=. 127 < a. i. data data=. b } data,:' ' Пт, 11 сен 2015, Strale написал(а): > Hello > > I have a very big file 3 G Bytes and I need to make some search on it :( > data is 8 bit char data > > J open it without problem > but I have some problem to use "rxmatches" due

Re: [Jprogramming] Removing not 7 bit ASCII code for a huge file

2015-09-11 Thread Strale
Hello Thanks for support, here is the results of the try : First try this morning not working ! data =. 1!:1 < 'D:\\DLTTraceLog\\DLTTraceLog.dlt' smalData =. 400 {. data smalData DLT 8��U� ECU5─ECU┤�kX└ APPCON├DLT 8��U� ECU5 ECU┤�kX└ APPCON┬ remoDLT 8��U� ECU5 ECU┤�kX└ APPCON┐rem

Re: [Jprogramming] Removing not 7 bit ASCII code for a huge file

2015-09-11 Thread Raul Miller
Does it work if you disable utf8 support in regex? RX_OPTIONS_UTF8_jregex_=: 0 Thanks, -- Raul On Fri, Sep 11, 2015 at 5:42 AM, Strale wrote: > Hello > > I have a very big file 3 G Bytes and I need to make some search on it :( > data is 8 bit char data > > J open it without problem > but I h

Re: [Jprogramming] Removing not 7 bit ASCII code for a huge file

2015-09-11 Thread Joe Bogner
You are on the right track, but you may need to do the replacement in chunks This works on my machine (uses 12gb of ram) data =: a. {~ 65+ ?. 1e8 # (70) data =: 30 # data substr =: (];.0~ ,.)~"1 >./ a. i. (0 1e9 substr data) 134 data=: ' ' (I. 128 < a. i. (0 1e9 substr data)) } data data=:

Re: [Jprogramming] Removing not 7 bit ASCII code for a huge file

2015-09-11 Thread Jon Hough
I dont know much about this myself, but maybe looking at the memory mapped file lab could help. --- Original Message --- From: "Strale" Sent: September 11, 2015 6:43 PM To: programm...@jsoftware.com Subject: [Jprogramming] Removing not 7 bit ASCII code for a huge file Hello I have a very big

[Jprogramming] Removing not 7 bit ASCII code for a huge file

2015-09-11 Thread Strale
Hello I have a very big file 3 G Bytes and I need to make some search on it :( data is 8 bit char data J open it without problem but I have some problem to use "rxmatches" due to the not 7 bit ASCII chars (I presume) I have used a trik to delete data > of 7 bit but is very badd and lead to out