[Elecraft] Elecraft CW Net Announcement

kevin kevinr at coho.net
Sun Feb 26 01:29:38 EST 2023


Good Evening,

     Dry, powder snow fell throughout the week.  Today it got sunny so 
most of it fell from the trees.  There is still about two feet left with 
another few feet on the way.  Depending upon the temperature I may need 
to shovel the roof.  If I have a lot of snow when it starts raining it 
gets heavy, very fast.

    The sun has been active this week.  At least two RF blackouts thus 
far.  A stream of solar wind is due on the 27th.  That may affect the 
forty meter net.  Flux is not has high as last week but it is OK.  
Sunset is changing quickly so forty meters will take a dive at some 
point during the net.  Earlier is better.



Please join us on (or near) :

14050 kHz at 2300z Sunday  (3 PM PST Sunday)
  7047 kHz at 0100z Monday  (5 PM PST Sunday)



73,
       Kevin.  KD5ONS




-







"Microcosmic God" by Ted Sturgeon in C++   :)


unsigned int crossover(Gene g1, Gene g2)
     {
    unsigned int Msequence = g1.getSequence();    // ma gene sequence
    unsigned int Psequence = g2.getSequence();   // pa gene sequence

    int i = rand() % g1.getLength();             // determine point in 
genes for crossover

    Msequence >>= i;
    Msequence <<= i;

    Psequence <<= 32 - i;             // if I use 30 instead of 32 I can 
use those
    Psequence >>= 32 - i;             // two bits as a permanent marker 
for special
                                                      // chromosomes
    return Msequence | Psequence;
    }

Plant(int x, int y, int energy=10, int age=1) : Organism(x, y, energy, age)
     {
     unsigned int seq = rand() % 8;    // pollination
    seq <<= 3;
     seq |= rand() % 8;                     // poison probability
    seq <<= 3;
     seq |= rand() % 8;                     // spines
     int len = 9;         // 9 bits
     m_plant = Gene(seq, len);
    }

Herbivore(int x, int y, int energy=50, int age=1) : Animal(x, y, energy, 
age)
     {
     unsigned int seq = rand() % 16;    // run probability 4 bits (0-15)
    seq <<= 4;
     seq |= rand() % 16;                  // hide probability 4 bits (0-15)
    seq <<= 4;
    seq |= rand() % 16;                     // fight probability 4 bits 
(0-15)
    seq <<= 4;
    seq |= rand() % 16;                    // camouflage 4 bits (0-15) 
[quality of hiding]
    seq <<= 4;
    seq |= rand() % 16;                    // ability to eat marginal 
food probability
     int len = 20;         // 20 bits
     m_tactics = Gene(seq, len);
    }

Carnivore(int x, int y, int energy=10, int age=1) : Animal(x, y, energy, 
age)
     {
     unsigned int seq = rand() % 16;    // attack probability 4 bits (0-15)
    seq <<= 4;
     seq |= rand() % 16;              // rest probability 4 bits (0-15)
    seq <<= 4;
    seq |= rand() % 16;                 // hide probability 4 bits (0-15)
    seq <<= 4;
    seq |= rand() % 16;                // camouflage 4 bits (0-15) 
[quality of hiding]
    seq <<= 4;
    seq |= rand() % 16;                // attack range 4 bits (0-15)
    seq <<= 4;
    seq |= rand() % 16;                // pursuit time 4 bits (0-15)
     int len = 24;         // 24 bits
     m_tactics = Gene(seq, len);
    }



More information about the Elecraft mailing list