Sent from my iPhone
Tue
9
Mar '10
The friendly folks at oreilly have an answer.
Sat
6
Mar '10
——– 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.”
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.”
Sat
6
Mar '10
\ 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
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.
Thu
4
Mar '10
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
: 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
All I did was ask where Doug lived and he throws a knee-jerk reaction:


Start discussion »