Reply by przemek klosowski August 4, 20062006-08-04
On Fri, 04 Aug 2006 16:14:52 -0400, CBFalconer wrote:

> larwe wrote: >> Paul Burke wrote: >> >>> Ahwellnow, you didn't say you were there. Try Newark, which is >>> eminently anagrammable. > ............. > I can't find anything sensible, using the following alias: > > [1] c:\netscape\users\cbf\news\host-news.maineline.net>alias jumspell > c:\c\jumble\jumble %1& | sort | uniq | comm -1 -2 - > < fairly complicated program deleted >
Or, more simply: egrep '^[newark]{6}$' /usr/share/dict/words | grep n | grep e | grep w | grep a | grep r | grep k
Reply by CBFalconer August 4, 20062006-08-04
larwe wrote:
> Paul Burke wrote: > >> Ahwellnow, you didn't say you were there. Try Newark, which is >> eminently anagrammable. > > I wouldn't have gotten this quite so quickly except that I have > all five Bottom stage shows on my laptop and they are playing > while I work... :)
I can't find anything sensible, using the following alias: [1] c:\netscape\users\cbf\news\host-news.maineline.net>alias jumspell c:\c\jumble\jumble %1& | sort | uniq | comm -1 -2 - \djgpp\share\dict\words [1] c:\netscape\users\cbf\news\host-news.maineline.net>jumspell newark string="newark", max=720, len=6 ... no output ... where the actual jumble program produces permutations, and is the following: #include <stdio.h> #include <string.h> #include <stdlib.h> /* Public domain, by C.B. Falconer. *//* 2003-Aug-21 */ /* Attribution appreciated. */ /* Things get out of hand when larger than 8 */ #define MAXWORD 12 /* ------------------ */ /* exchange 0th and ith char in wd */ void trade(char *wd, unsigned int i) { char c; c = *wd; *wd = wd[i]; wd[i] = c; } /* trade */ /* ------------------ */ /* Form all n char permutations of the characters in the string wd of length lgh into outstring at index ix. Output the results to stdout. */ void jumble(char *wd, unsigned int lgh, unsigned int ix, /* output place to fill */ unsigned int n, /* max out places to fill */ char *outstring) { unsigned int i; if (0 == n) { outstring[ix] = '\0'; puts(outstring); } else for (i = 0; i < lgh; i++) { trade(wd, i); /* nop when (0 == i) */ outstring[ix] = *wd; jumble(wd+1, lgh-1, ix+1, n-1, outstring); trade(wd, i); /* restore the wd string */ } } /* jumble */ /* ------------------ */ int main(int argc, char *argv[]) { unsigned int n, lgh, min; double max; char outstring[MAXWORD]; if (argc < 2) { fprintf(stderr, "Usage: jumble <baseword> [lgh]\n" " where the (optional) lgh specifies the\n" " maximum length of the output words\n"); return 0; } lgh = strlen(argv[1]); if (lgh >= MAXWORD) argv[1][lgh = MAXWORD-1] = '\0'; min = lgh; if ((argc > 2) && (1 == sscanf(argv[2], "%u", &n))) if (n && (n <= lgh)) min = n; for (n = lgh, max = 1.0; n > (lgh - min); n--) max = max * n; fprintf(stderr, "string=\"%s\", max=%.0f, len=%u\n", argv[1], max, min); jumble(argv[1], lgh, 0, min, outstring); return 0; } /* main */ -- Chuck F (cbfalconer@yahoo.com) (cbfalconer@maineline.net) Available for consulting/temporary embedded and systems. <http://cbfalconer.home.att.net> USE maineline address!
Reply by Leon August 2, 20062006-08-02
mc wrote:
> "larwe" <zwsdotcom@gmail.com> wrote in message > news:1154404006.815415.252870@s13g2000cwa.googlegroups.com... > > > > mc wrote: > > > >> > yes... but why not just wire the Spy Bi-Wire interface to a header? > >> > That's all you need. The interface between the FET and the target board > >> > is gnd, vcc and two SBW wires. > >> > >> What kind of connector would I need to connect to the little programming > >> module? > > > > The part number is in the manual for the ez430. At a pinch you can use > > four strands of wire. > > Thanks. It's a Mill-Max 851-93-004-20-001000. This is simply a socket for > 4 pins 0.05 inch apart (half of the more familiar spacing). > > It seems to be a hard thing to find, though. It may be cheaper to buy a > second ez430 and take the chip off the target board.
The only way to get them seems to be to scrounge some samples from Mill-Max. I've ordered some and they are apparently in the post to me. Leon
Reply by mc August 2, 20062006-08-02
> Paul Burke wrote: > >> Ahwellnow, you didn't say you were there. Try Newark, which is eminently >> anagrammable.
Still more: Rankew, Kwaner, Rekwan, Reknaw... You think of the rest.
Reply by larwe August 2, 20062006-08-02
Paul Burke wrote:

> Ahwellnow, you didn't say you were there. Try Newark, which is eminently > anagrammable.
I wouldn't have gotten this quite so quickly except that I have all five Bottom stage shows on my laptop and they are playing while I work... :)
Reply by mc August 1, 20062006-08-01
> Ahwellnow, you didn't say you were there. Try Newark, which is eminently > anagrammable.
*chuckle* (After a few seconds of thinking: Krawen? Knawer? Wnakre?... :)
Reply by Paul Burke August 1, 20062006-08-01
mc wrote:
> "Paul Burke" <paul@scazon.com> wrote in message > news:4j8eb8F6rturU1@individual.net... >> mc wrote: >>> Thanks. It's a Mill-Max 851-93-004-20-001000. This is simply a socket >>> for 4 pins 0.05 inch apart (half of the more familiar spacing). >>> >>> It seems to be a hard thing to find, though. It may be cheaper to buy a >>> second ez430 and take the chip off the target board. >> Is that 4 SIL or two rows of 4? Either way, Farnell have them, though >> you'll have to chop up a bigger connector- http://tinyurl.com/ruovt. > > 42p for the connector, probably 10 pounds to ship it here (USA)... > >
Ahwellnow, you didn't say you were there. Try Newark, which is eminently anagrammable. Paul Burke
Reply by mc August 1, 20062006-08-01
"Paul Burke" <paul@scazon.com> wrote in message 
news:4j8eb8F6rturU1@individual.net...
> mc wrote: >> Thanks. It's a Mill-Max 851-93-004-20-001000. This is simply a socket >> for 4 pins 0.05 inch apart (half of the more familiar spacing). >> >> It seems to be a hard thing to find, though. It may be cheaper to buy a >> second ez430 and take the chip off the target board. > > Is that 4 SIL or two rows of 4? Either way, Farnell have them, though > you'll have to chop up a bigger connector- http://tinyurl.com/ruovt.
42p for the connector, probably 10 pounds to ship it here (USA)...
Reply by larwe August 1, 20062006-08-01
Clifford Heath wrote:

> > The part number is in the manual for the ez430. At a pinch you can use > > four strands of wire. > > Not all MSP430's have spy-by-wire. Make sure > you use one that does, or EZ430 won't work.
The OP specified 14-DIP, and AFAIK the _only_ parts that are available in this package are from the 430F2xxx series (i.e. all have SBW).
Reply by Paul Burke August 1, 20062006-08-01
mc wrote:
> Thanks. It's a Mill-Max 851-93-004-20-001000. This is simply a socket for > 4 pins 0.05 inch apart (half of the more familiar spacing). > > It seems to be a hard thing to find, though. It may be cheaper to buy a > second ez430 and take the chip off the target board.
Is that 4 SIL or two rows of 4? Either way, Farnell have them, though you'll have to chop up a bigger connector- http://tinyurl.com/ruovt.