May 19
adminRandom Randal
At 1:30 am after Randy had enough of Randy Bat cave penguin hunter trial grooving ozfest of a report. He thought its Randy time. So he headed home where he got all randy over the power switch on his over the top mega deluxe chessburger McMac double cow no lamb pattie. It was fair to say Randy was randy. After minutes searching the internet like a cheeta on speed, he hit the jack pot (or should I say rand spot) with his randporn dot randoff random number generated sent from the future to prove to everyone that time lies on a secondary plane of wok woks and pizza bases. This amazing discovery gave Randy the courage to ask his friend Bob if he could borrow his pencil. Bob replied “I am a pencil”. Randy was in tears because a pencil was talking to him but what was about to happen next shock him forever……
…. “I a bomb funk dinosaur from Randy world sent to touch your every … … … horny love tube zigbee phasor machine. Which just for your knowledge is white.” The …. … … was excluded for public viewing and Randy will never forget it.
Simon the cat watcher.
Signing off
For Randy + Bob
May 05
adminRandom Randal
Functional programming languages I ask you this; why do we have to put lambda’s everywhere? Just because Lambda calculus is fun doesn’t mean we need to over do it. For example look at this piece of Scheme code.
(define find-last-zero
(lambda (ls)
(- (- (length ls) 1) (find-first-zero (reverse ls)))))
(define makemove
(lambda (board player col)
(let ((row (find-last-zero (list-ref board col))))
(if (< row 0)
#f ; no room left!
(setsquare board row col player)))))
(define getmove-random
(lambda (board player)
(let* ((cols (length board))
(c (random cols))
(newboard (makemove board player c)))
(if newboard
c
(getmove-random board player)))))
(define getmove-human
(lambda (board player)
(let ((cols (length board)) (move 0) (newboard #f))
(displays "\nEnter column [0-" (- cols 1) "]: " )
(set! move (read))
(set! newboard (makemove board player move))
(if newboard
move
(begin
(displays "INVALID MOVE - TRY AGAIN!\n")
(getmove-human board player))))))
Someone needs to sort that syntax out.
SORRY, i may be a tad angry at Scheme because my text editor does not highlight any of the syntax and coding with just black text and white background is hard on the eyes. How did they do it in the 70’s.
May 05
adminProjects
i. Preface
This page will present C++ code for stereo vision using OpenCV.
Information will arrive in a few weeks.
May 05
adminProjects
i. Pre-Face
This page (will) describes a multipurpose wireless unit developed by Roving Networks that is being controlled by a Cortex M3 (LM3S608) microprocessor.
The information for this project will be presented here in two months. So check back soon.