links · people · groups · tags | My: links · tags · groups · watchlists · notes login · sign up now! | help · blog
Simpy simpy
 
Michael Shook, member since May 27, 2004
.
Search Everyone: "may",

Groups about "may": My Files,

1 - 10 of 22 next »   Watch mshook
 

So when I got to Maker Day at Maker Faire yesterday afternoon, I was happy to find that Limor Fried, the founder of Adafruit, was giving a presentation on how to start your own business selling kits. This is a growing business right now, as people look for reasons to teach their kids how to solder, or just want to build a neat device. (Adafruit teamed with the Maker Store to offer the infamous TV-B-Gone kit that garnered a lot of attention at CES this year.)

by mshook 2009-06-14 16:36 electronics · kit · business · howto · arduino · june · 2009 · may · 2008 · microcontroller · avr
http://www.edn.com/blog/1470000147/post/1630025963.html?nid=2432&rid=1357995328 - cached - mail it - history
michael@ubuntu:/host/Documents and Settings/Michael/My Documents/Downloads/android-sdk-linux_x86-1.5_r2/tools$ ./android create avd -t 2 -n android15
Android 1.5 is a basic Android platform.
Do you wish to create a custom hardware profile [no]
Created AVD 'android15' based on Android 1.5

michael@ubuntu:/host/Documents and Settings/Michael/My Documents/Downloads/android-sdk-linux_x86-1.5_r2/tools$ ./emulator -avd android15
by mshook 2009-05-24 16:16 android · howto · cli · 24 · may · 2009 · a · pda · emulator
http://mshook.appspot.com/z/d4m.htm?/mshook/24+may+2009+a - cached - mail it - history
(defun eval. (e a)
  (cond
    ((atom e) (assoc. e a))
    ((atom (car e))
     (cond
       ((eq (car e) 'quote) (cadr e))
       ((eq (car e) 'atom) (atom (eval. (cadr e) a)))
       ((eq (car e) 'eq) (eq (eval. (cadr e) a)
                             (eval. (caddr e) a)))
       ((eq (car e) 'car) (car (eval. (cadr e) a)))
       ((eq (car e) 'cdr) (cdr (eval. (cadr e) a)))
       ((eq (car e) 'cons) (cons (eval. (cadr e) a)
                                 (eval. (caddr e) a)))
       ((eq (car e) 'cond) (evcon. (cdr e) a))
       ('t (eval. (cons (assoc. (car e) a)
                        (cdr e))
                  a))))
    ((eq (caar e) 'label)
     (eval. (cons (caddar e) (cdr e))
            (cons (list (cadar e) (car e)) a)))
    ((eq (caar e) 'lambda)
     (eval. (caddar e)
            (append. (pair. (cadar e) (evlis. (cdr e) a))
                     a)))))
  • http://www.paulgraham.com/rootsoflisp.html
by mshook 2009-05-20 11:25 lisp · eval · beautiful · elegant · minimal · concise · 20 · may · 2009 · a · how · scheme
http://mshook.googlepages.com/d4m.htm?/mshook/20+may+2009+a - cached - mail it - history
(define (eval exp env)
  (cond ((self-evaluating? exp) exp)
        ((variable? exp) (lookup-variable-value exp env))
        ((quoted? exp) (text-of-quotation exp))
        ((assignment? exp) (eval-assignment exp env))
        ((definition? exp) (eval-definition exp env))
        ((if? exp) (eval-if exp env))
        ((lambda? exp)
         (make-procedure (lambda-parameters exp)
                         (lambda-body exp)
                         env))
        ((begin? exp) 
         (eval-sequence (begin-actions exp) env))
        ((cond? exp) (eval (cond->if exp) env))
        ((application? exp)
         (apply (eval (operator exp) env)
                (list-of-values (operands exp) env)))
        (else
         (error "Unknown expression type -- EVAL" exp))))
  • http://mitpress.mit.edu/sicp/full-text/book/book-Z-H-26.html
by mshook 2009-05-16 17:56 sicp · eval · lisp · scheme · code · 16 · may · 2009 · b
http://mshook.googlepages.com/d4m.htm?/mshook/16+may+2009+b - cached - mail it - history
We want to write a function that generates accumulators-- a function that takes a number n, and returns a function that takes another number i and returns n incremented by i.

JavaScript

function foo(n) { return function (i) { return n += i } }

Scheme

(define (foo n) (lambda (i) (set! n (+ n i)) n))

Try

JavaScript

function main() { function foo (n) { return function (i) { return n += i } } ; a = foo(5); print(a(1)); print("n"); print(a(4)); }

Scheme

(define (foo n) (lambda (i) (set! n (+ n i)) n)) (define a (foo 5)) (a 1) (a 4)
by mshook 2009-05-16 14:30 lisp · scheme · javascript · 16 · may · 2009 · a · example · code · theory · comparison · good · closure
http://mshook.googlepages.com/d4m.htm?/mshook/16+may+2009+a - cached - mail it - history
by mshook 2009-05-15 01:09 tv · humor · 15 · may · 2009 · a · test
http://mshook.googlepages.com/d4m.htm/mshook/15+may+2009+a - cached - mail it - history
by mshook 2009-05-13 09:16 d4m · template · html · list · 13 · may · 2009 · c · tinyurl · qsbfez · ul · li
http://mshook.googlepages.com/d4m.htm?/mshook/13+may+2009+c - cached - mail it - history
by mshook 2009-05-13 08:50 d4m · template · html · list · 13 · may · 2009 · b · tinyurl · p257ub
http://mshook.googlepages.com/d4m.htm?/mshook/13+may+2009+b - cached - mail it - history
1 - 10 of 22 next »  
Related Tags
 
- exclude ~ optional + require
Add Dates