Search found 61 matches

by crishog
Mon Aug 01, 2022 12:37 pm
Forum: Using the Forum
Topic: tapatalk
Replies: 3
Views: 131547

Re: tapatalk

Did this ever get sorted out? I have tapatalk as well, with the NARS forum, etc. But like Michael I can't find a dyalog forum
by crishog
Sun Jul 31, 2022 9:46 pm
Forum: APL Chat
Topic: I have probably forgotten something, but...
Replies: 3
Views: 17979

Re: I have probably forgotten something, but...

Whereas monadic quad NS does return the anonymous namespace. The result is not as consistent as I thought

I meant to type

Resources <- []NS ''

Sorry no APL keyboard at the moment
by crishog
Sat Jul 30, 2022 1:42 pm
Forum: APL Chat
Topic: I have probably forgotten something, but...
Replies: 3
Views: 17979

I have probably forgotten something, but...

Take

r←'Resources'#.⎕NS''
Resources.x←1
r.y←1
SYNTAX ERROR
r.y←1

r
#.Resources

Just wondering why I get the syntax error
by crishog
Thu Jul 28, 2022 12:02 pm
Forum: Language
Topic: Deserialise-- does it work as expected?
Replies: 15
Views: 49972

Re: Deserialise-- does it work as expected?

Your expression is

A({⎕ML←1 ⋄ ↑⍵}1/¨(1 2⍳3))

Which means there is no left argument - A is stranded onto the result

Run

({⎕ML←1 ⋄ ↑⍵}1/¨(1 2⍳3))
3

Is would probably be simpler to use ⊃ for first without "fiddling" with ⎕ML inside a dfn to use ↑
by crishog
Fri Aug 13, 2021 2:31 pm
Forum: MiServer
Topic: Sending emails
Replies: 15
Views: 98130

Re: Sending emails

Got there before me Brian - and probably with better detail than I would have given.

Did you ever write a IMAP client? Just as a matter of interest
by crishog
Wed Aug 11, 2021 9:32 pm
Forum: MiServer
Topic: Sending emails
Replies: 15
Views: 98130

Re: Sending emails

Brian wrote a script which sends emails. We use it in DFS. I think it us available from GIT. It works very well

I will dig out the details for you
by crishog
Wed Jun 17, 2020 3:10 pm
Forum: Language
Topic: How to specify a thread where to execute a function ?
Replies: 5
Views: 8722

Re: How to specify a thread where to execute a function ?

It's easy to spawn new threads, but I take it you want to preserve some information from previously executed steps, or run with a specific environment of settings. There isn't a simple quad function to "poke" into a thread, because what is the thread doing while it is waiting for you to send it ...
by crishog
Tue May 19, 2020 11:34 am
Forum: Language
Topic: Is it a text file?
Replies: 3
Views: 6846

Re: Is it a text file?

Well you can simplify it a bit: IsItText←{92:: '' ⎕CSV⍠'Records 1'⊣⍵} This just uses the name to avoid all of the tie/untie & Records=1 to avoid any "Invalid number of fields in record" error, but it still has to be trapped in case the file cannot be translated using UTF-8 - the default in this case ...
by crishog
Sun Feb 03, 2019 1:44 pm
Forum: Language
Topic: Native file dependancies?
Replies: 4
Views: 8744

Re: Native file dependancies?

After a lengthy delay I'll answer both replies at once: 1) yes the // UNC works - but only if I use the IP address not the name of the resource 2) ⎕an and ⎕cmd'map use' give the same results in both cases 3) did you mean ⊃⎕I as that just gives me a syntax error I think because of point (1) this is no ...
by crishog
Sun Jan 20, 2019 4:22 pm
Forum: Language
Topic: Native file dependancies?
Replies: 4
Views: 8744

Native file dependancies?

I have a routine which runs once a week - it has been doing so since some time in 2015. One of its tasks is to move a file to an archive drive Recently I took advantage of NEXISTS & NMOVE to greatly simplify the code & also moved the target directory to a RAID array This has run happily for some ...