Search the web
Sign In
New User? Sign Up
dyalogusers · Dyalog APL
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Messages 210 - 239 of 5356   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Simplify | Expand   (Group by Topic) Author Sort by Date ^
210
I'm adapting a system based on component files to take advantage of mapped files. Because a mapped file is passed by reference, you can run into problems by...
Paul S. Mansour
psmansour2000
Offline Send Email
Nov 1, 2003
4:34 pm
211
Using a 5 million element vector to compare a mapped file vs a component in a file, (all timings very rough): +/[]MAP File is significantly better than ...
Paul S. Mansour
psmansour2000
Offline Send Email
Nov 3, 2003
7:33 pm
212
I have very much the same observations. In fact, this is the whole point of mapped files, namely: Reading in something big to access a little bit of it is much...
Brooke Allen
brookea@...
Send Email
Nov 3, 2003
8:24 pm
213
If this is not already identified as a special case, I nominate it: drop transpose take which I often read "recycle" from use and appearance. Eg find unique...
Stephen Taylor
sjt52
Offline Send Email
Nov 4, 2003
3:15 pm
214
... To avoid confusion (with #MLs and stuff) I would spell it: split transpose mix ... I normally write this nub split[1] mix TABLE.(key1 key2) (I know, it's...
Stefano Lanzavecchia
lstefano2001
Offline Send Email
Nov 4, 2003
3:24 pm
215
Yup, split-transpose-mix is a recognised idiom (the interpreter cheats) in Dyalog V10. Both in []ML<2: downarrow-transpose-uparrow and []ML>1:...
John Scholes
jmscholes
Offline Send Email
Nov 4, 2003
5:36 pm
216
LISTMSGS...
Ray Cannon
ray_cannon_i...
Offline Send Email
Nov 8, 2003
4:14 pm
217
Anyone have a function lying around that generates a GUID? I think there is a Win API call, and there must be a .NET way too. If no one has researched it from...
Paul S. Mansour
psmansour2000
Offline Send Email
Nov 11, 2003
10:58 pm
218
RE: [dyalogusers] GUID - Globaly Unique Identifier. I hit this one with a hammer ... 'A' []WC 'OleServer' GUIDS <= 'A' []WG 'ClassID' 'TypeLibID' []ex 'A' It...
John Miller
JohnMiller@...
Send Email
Nov 12, 2003
2:30 am
219
... Sure thing. First, out of .NET, as a d-fn which makes it "cool": guid<-{ CoCreateGuid<-{} // trick to keep the definition local _<-#NA'I...
Stefano Lanzavecchia
lstefano2001
Offline Send Email
Nov 12, 2003
8:44 am
220
Here is the native WIN32 solution: [0] Uuid <- CreateUuid;VOID [1] []NA'I RPCRT4|UuidCreate >{I1[4] I1[2] I1[2] I1[2] I1[6]}' [2] VOID Uuid <- UuidCreate 1 [0]...
Peter-Michael Hager
pm_hager
Offline Send Email
Nov 12, 2003
10:57 am
221
Thanks Everyone! John: it had vaguely occurred to me that Dyalog must use GUIDs when doing stuff with OLE, but I don't do much along those lines, and didn't...
Paul S. Mansour
psmansour2000
Offline Send Email
Nov 12, 2003
1:14 pm
222
... Interesting approach! Since I am evil I tried to turn it into a d-fn (v9 or 10): NewGuid<-{ a<-#NS '' (execute 'a' #wc 'OleServer').ClassID } Unfortunately...
Stefano Lanzavecchia
lstefano2001
Offline Send Email
Nov 12, 2003
1:30 pm
223
This seems to work: NewGuid<-{ foo<-1 sink<-[]EX'foo' sink<-'foo'[]WC'OleServer' foo.ClassID } ... From: "Stefano Lanzavecchia" <stf@...> To:...
Maria Wells
mariawellsco...
Offline Send Email
Nov 12, 2003
2:05 pm
224
Hi APL'ers, I think its great that a discussion group exists! Glad to be a part of it. I consider myself a novice and have recently caught the "APL-fever". The...
bondtrails
Offline Send Email
Nov 14, 2003
2:20 am
225
Encode/Decode is good for mixed base arithmetic (together with a surprising number of other things). For example, to add yards, feet and inches: yds ft...
John Scholes
jmscholes
Offline Send Email
Nov 14, 2003
9:14 am
226
Do encode and decode work with non-integer left arguments? n.b. an ox drivers pole is 5 1/2 yards long = the length of an ox plus the length of a plough = the...
Phil Last
aphillast
Offline Send Email
Nov 14, 2003
9:27 am
227
... 0 8 10 4 5.5 3 12<encode>1000000 15 6 2 2 2 2 4 That's fifteen miles 6 furlongs 2 chains 2 poles 2 yards 2 feet and 4 inches 0 8 10 4 5.5 3 12<decode>15 6...
Phil Last
aphillast
Offline Send Email
Nov 14, 2003
9:41 am
228
I've always been fond of using decode to evaluate polynomials. The value of a polynomial at a given x (forgive my mixing of notation!) is: value = ax*n +...
mariawells@...
mariawellsco...
Offline Send Email
Nov 14, 2003
1:56 pm
229
OH, yeah, and there's the encode-based drop trailing spaces idiom: (1-(charvec=0)<encode>1)<drop>charvec ... fever". ... really...
Maria Wells
mariawellsco...
Offline Send Email
Nov 14, 2003
6:21 pm
230
There's also 0<decode>any simple numeric array gives the last of what Iverson calls <neg>1-cells i.e. the last sub-array whose rank is...
Phil Last
aphillast
Offline Send Email
Nov 14, 2003
7:58 pm
231
... Wicked! I hope there was a comment associated with that code!...
mariawells@...
mariawellsco...
Offline Send Email
Nov 14, 2003
8:40 pm
232
Using the expression <signum>2<decode><signum> you can compare sequences of arbitrary length. Example: ...
Peter-Michael Hager
pm_hager
Offline Send Email
Nov 15, 2003
12:20 pm
233
Everyone, thanks for all that great help in Encode and Decode. I didn't know it was so versatile! So I've been playing with the 2 primitives and I think I came...
bondtrails
Offline Send Email
Nov 15, 2003
4:01 pm
234
I think it's roundoff error. The value of Y is 1.003901202E16. ... From: "bondtrails" <bondtrails@...> To: <dyalogusers@yahoogroups.com> Sent:...
Maria Wells
mariawellsco...
Offline Send Email
Nov 15, 2003
4:08 pm
235
Thanks Maria, I tried changing []CT to 1E-17 but no luck. What did work, however, is using 46 instead of 45 as my left hand argument. Although, I don't think...
bondtrails
Offline Send Email
Nov 15, 2003
4:30 pm
236
That number is just too big to fit into a 32-bit integer. Anybody know of any tricks other than just splitting it into two? I guess the strategy would depend...
Maria Wells
mariawellsco...
Offline Send Email
Nov 15, 2003
6:18 pm
237
... From: "Maria Wells" <mariawells@...> To: <dyalogusers@yahoogroups.com> Sent: Saturday, November 15, 2003 18:30 Subject: Re: [dyalogusers] Re: Bug...
Stefano Lanzavecchia
lstefano2001
Offline Send Email
Nov 16, 2003
9:12 am
238
Thanks again for the assistance on GUIDs. Here is what I'm doing with them: I have been adapting a component file based personal productivity app to take...
Paul S. Mansour
psmansour2000
Offline Send Email
Nov 16, 2003
11:27 pm
239
Paul, After you've used the GUID stuff in your application, it might be interesting to us if you'd post your experience: which method you ended up using and...
David Barg
mdaadvisors
Offline Send Email
Nov 17, 2003
8:36 am
Messages 210 - 239 of 5356   Oldest  |  < Older  |  Newer >  |  Newest
Advanced
Add to My Yahoo!      XML What's This?

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help