Polaroid Photo

Pictures from Living Cosmos

Living Cosmos

ambient, deep space, psychoacoustic, metaphysical, unusual, bizarre

Choose a Topic:

Tue
9
Mar '10

Having battery troubles?

The friendly folks at oreilly have an answer.

Sent from my iPhone

Posted via email from Terrence’s posterous

Mon
8
Mar '10

YouTube – Breastfeeding…at 8.

YouTube – Breastfeeding…at 8..

Mon
8
Mar '10

YouTube – Panda Attacks Tourist

YouTube – Panda Attacks Tourist.

Sat
6
Mar '10

Sawan Singh on Chakra Development

——– Original Message ——–

To: SFS@yahoogroups.com

From “Spiritual Gems”, by Sawan Singh, pp. 16-17. Note: “Pind” refers
to the physical body.

“The soul has two faculties: the faculty to see and the faculty to hear.
In fact, the body is divided into four parts: Pind, Anda, Brahmand, and
Sach Khand. Sach Khand is immortal. The six chakras of Brahmand are
reflected in the six chakras of Anda, and these are again reflected in
the six chakras of Pind. To try to develop the Pind chakras is a waste
of time.

Vedant goes only up to Brahm. That is, the goal or the end of the Vedas
is Brahm. It is the second stage according to Sant Mat. Sant Mat takes
you to the fifth stage.”

Posted via email from Terrence’s posterous

Sat
6
Mar '10

Greatest common division in forth

\ Greatest Common Divisor
\ http://en.wikipedia.org/wiki/Greatest_common_divisor#Using_Euclid.27s_algorithm
\ http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/General-Loops-Tutorial.html

: divide-a-and-b-leaving-b-and-remainder
  TUCK /mod drop ;

: check-for-non-zero-remainder ( r - flag )
  DUP 0> ;

: mygcd ( a b -- c )
  BEGIN
    divide-a-and-b-leaving-b-and-remainder
    check-for-non-zero-remainder
  UNTIL  \ remainder is non-zero
  DROP ; \ the remainder of 0, leaving b

Version with while

\ Greatest Common Divisor
\ http://en.wikipedia.org/wiki/Greatest_common_divisor#Using_Euclid.27s_algorithm
\ http://www.complang.tuwien.ac.at/forth/gforth/Docs-html/General-Loops-Tutorial.html

: divide-a-and-b-leaving-b-and-remainder
  TUCK /mod drop ;

: check-for-non-zero-remainder ( r - flag )
  DUP 0> ;

: mygcd ( a b -- c )
  BEGIN
    divide-a-and-b-leaving-b-and-remainder
    check-for-non-zero-remainder
    WHILE \ remainder is non-zero
      \ set-a-to-b-and-b-to-remainder
  REPEAT
  DROP ; \ the remainder of 0, leaving b
Sat
6
Mar '10

a forthlike way to calculate base 2 logarithms

The gforth manual has a completely unreadable definition of how to calculate a base2 logarithm:

Having done some research on the algorithm, I am of the conviction that a real forth way to write this should be:

: mylog2 ( n -- log2n )
  count [ 2/ ] [ 0= ]

And I am confident that by the time I have finished the manual I will be able to do so.

Fri
5
Mar '10

nested data structures

Thu
4
Mar '10

2.5 men : more racism

I wonder why the racism on this show is ok.

Who would wish for 2 gay guys and a Chinese kid?

You’re just a suburban White boy who watches MTV cribs

Thu
4
Mar '10

Stack manipulation words

    : nip  A B -> B
    : over A B -> A B A
    : tuck A B -> B A B


    >R  
    R>  
    R@  
    2>R  
    2R>  
    2DUP 
    ROT  
    2OVER  
    2SWAP 

PICK ROLL -ROT

Thu
4
Mar '10

does asking where someone lives make me a stalker?

All I did was ask where Doug lived and he throws a knee-jerk reaction:

reaction to asking where doug lives