Posts

Showing posts from 2005

Art of unix programming

from Software Quality
Rule of Modularity: Write simple parts connected by clean interfaces.
Rule of Clarity: Clarity is better than cleverness.
Rule of Composition: Design programs to be connected with other programs.
Rule of Separation: Separate policy from mechanism; separate interfaces from engines.
Rule of Simplicity: Design for simplicity; add complexity only where you must.
Rule of Parsimony: Write a big program only when it is clear by demonstration that nothing else will do.
Rule of Transparency: Design for visibility to make inspection and debugging easier.
Rule of Robustness: Robustness is the child of transparency and simplicity.
Rule of Representation: Fold knowledge into data, so program logic can be stupid and robust.
Rule of Least Surprise: In interface design, always do the least surprising thing.
Rule of Silence: When a program has nothing surprising to say, it should say nothing.
Rule of Repair: Repair what you can — but when you must fail, fail noisily and as soon as possible.

DaVinci's Best Ideas

Personally I like DaVinci's Idea to build a revolving bridge.
Check his ideas out.

DaVinci's Top 10 Best Ideas

Lucene Search Engine

This is fantastic, Lucene is a awsome project and now they will have Lucene4c

Path to Relationship Destruction

These are the most dangerous in a relationship that will ultimately destroy it.
Contempt, Stonewalling, Defensiveness, Critisism

Don't let them ruin your life

The Power of Profitable Thinking

The man onstage tells the folks with their eyes shut to think "bad thoughts" as their arms are pressed down by their partners. The arms go down easily. Then the man tells them to repeat the process, this time thinking positive thoughts. No arms go down, even though some of the people pushing down have gotten on their toes to get more leverage. "Thoughts radiate physically," the man says. "Change your thoughts and you change your actions, your results, your destiny. I'm here to help you think about what you think about and to help you manage your thoughts. I'm Jim Fannin. I coach champions."

self-discipline, concentration, optimism, relaxation, and en- joyment

http://www.fortune.com/fortune/smallbusiness/managing/articles/0,15114,1110596-1,00.html

BlueBalls everywhere - this is amazing

Image
Check out the original because it's animated and a thousand times cooler.

This image is from http://blueballfixed.ytmnd.com/

Vim vi how to reload a file your editing

5.8. How do I reload/re-edit the current file?

You can use the ":edit" command, without specifying a file name, to reload
the current file. If you have made modifications to the file, you can use
":edit!" to force the reload of the current file (you will lose your
modifications).

For more information, read

:help :edit
:help :edit!
:help 'confirm'

from - http://vimdoc.sourceforge.net/cgi-bin/vimfaq2html3.pl#5.8

ActionScript casting objects

Here is the example supplied by Macromedia

function bark(myAnimal:Animal) {
var foo:Dog = Dog(myAnimal);
foo.bark();
}

var curAnimal:Animal = new Dog();
bark(curAnimal); // will work
curAnimal = new Cat();
bark(curAnimal); // won't work


import Dog;
function bark(myAnimal:Animal) {
var foo:Dog = Dog(myAnimal);
if (foo) {
foo.bark();
}
}

ActionScript casting a string

If you do a string comparision that fails when by all indications that it should pass, you should do the following

var String tmpvar = someFunction();
if(tmpvar == "equivalentvalue"){
trace("true");
} else {
trace("false");
}

OUTPUT is:false
Instead Cast the return value to a String

var String tmpvar = new String(someFunction());
if(tmpvar == "equivalentvalue"){
trace("true");
} else {
trace("false");
}

OUTPUT is:true

var myArray:Array = new Array();
var someString:String = "asdf";
myArray[0] = someString;
.
.
.
var testVar:Object = myArray[0];
if (testVar instanceof String || typeof(testVar) == "string")
{
var typedVar:String = String(testVar);
// do something with typedVar
}

python shutdown hook method UPDATE

I think using atexit module -
http://docs.python.org/lib/module-atexit.html is cleaner

--
Lawrence - http://www.oluyede.org/blog
"Anyone can freely use whatever he wants but the light at the end
of the tunnel for most of his problems is Python"

5. Duncan Booth
Nov 16, 3:48 am show options
Newsgroups: comp.lang.python
From: Duncan Booth - Find messages by this author
Date: 16 Nov 2005 08:48:15 GMT
Local: Wed, Nov 16 2005 3:48 am
Subject: Re: Shutdown hook


Lawrence Oluyede wrote:

Correct, although this won't catch all cases where a program is exiting.
For example, on Windows, if you use Ctrl+C to terminate a program the
atexit function *is* called, but if you use Ctrl+Break the atexit function
is not called unless you install a suitable signal handler:

import signal
def sigbreak(signum, frame):
sys.exit("***break")

signal.signal(signal.SIGBREAK, sigbreak)

Even then there are still other ways to terminate a process which will not

Python Shutdown hook comp.lang.python

My comp.lang.python post.....

Does any one know if python has the ability to run a shutdown hook.

For example you set a method to run when the python process is shutting
down, like it recieved a kill signal?

Basically looking for an effect like the following java code.
Runtime.getRuntime().addShutdownHook(new Thread(this));

Reply

2. Ben Finney
Nov 15, 5:55 pm show options
Newsgroups: comp.lang.python
From: Ben Finney - Find messages by this author
Date: Wed, 16 Nov 2005 09:55:17 +1100 (EST)
Local: Tues, Nov 15 2005 5:55 pm
Subject: Re: Shutdown hook

Steve wrote:
> Does any one know if python has the ability to run a shutdown hook.

When the Python runtime system wants to exit, it raises a SystemExit
exception.

Catch that exception at the top level of your code, and do whatever
you like. (It might be polite to actually exit at some point, of
course. sys.exit(exitcode) will do so -- raising another SystemExit
exception.)

--
\ "I took it easy today. I just pretty much layed around in my |

Razr Phone just like a Razor

Image
I love my Razr V3 phone. I only care about 3 features on my phone - Signal, Battery Life and that it has a address book.

This phone was rumored to have great Signal Strength and Battery Life and it's all true.

I have had the phone for 3 months and wanted to inform the world.

http://direct.motorola.com/ENS/web_producthome.asp?Country=USA&language=ENS&productid=29302

Off and Away LA , Las Vegas and beyond

Soon I am off to LA again and then to Las Vegas for Laurie's birthday, I can't wait, maybe we will even have dinner saterday at the stratosphere

;)

python how to add item to a dictionary

python how to add item to a dictionary
Here is an example:

mydictionary = {}
mydictionary["new key"] = "new value"
mydictionary[1] = "monday"
mydictionary[(3,"wed")] = ["pick up billy","go to market","date with laurie"]

python how to access global variable from method / function

>>> v = 1
>>> global v
>>> print v
1
>>> def i():
... global v
... v = v + 1
... print v

http://www.python.org/doc/2.0.1/ref/global.html

python how to i++

Python doesn't have i++

you can do:

i += 1


i++ in c/java returns it's value
while i += 1 does not return a value it just increments

python switch case statement

Python doesn't have switch case statements.

But I found code that will simulate a switch case statement

result = {
'a': lambda x: x * 5,
'b': lambda x: x + 7,
'c': lambda x: x - 2
}[value](x)

to catch an error if no key found

try:
{'option1': function1,
'option2': function2,
'option3': function3,
'option4': function4}[value]()
except KeyError:
# default action

I would probably use

switch = {'option1': function1,
'option2': function2,
'option3': function3,
'option4': function4}
if value in switch:
switch[value]()
else:
pass
#default

How to yank (aka copy) 3 letters in Vi or Vim

How to yank (aka copy to the clipboard) 3 letters in Vi or Vim
Example: yank 3 characters.
3yl

Which is 3y(the letter L)l

Test if variable exists in python

Here is how to test if a variable exists

try: x
except NameError:
# x doesn't exist, do something
else:
# x exists, do something else

Most affordable college towns

Most affordable college towns

http://money.cnn.com/2005/11/02/real_estate/college_towns/index.htm

http://www.ttu.edu/administration/enrmgt/emplan/ch1abc.php

How to remove a file in python

How to remove a file in python

Here is an example

import os
os.remove("/tmp/workingfile.txt")

Firefox Extension Competition / Contest

Firefox Extension Competition / Contest

Today it was just announced that there would be a Firefox 1.5 Extension Contest. Which are going to give away Alienware computers and O'Reilly Books. I saw the annoucement on slashdot.org.

Press Release
Contest Page

How to make a Python Comment

The csharp, pound, number sign
aka -> #

# is the python comment character
example:

def helloworld():
print "Hello World\n" # this print the standard Hello World

helloworld()

How to get UTC time in python

It's this easy to get UTC time

import math
import time
int(math.floor(time.time()))

Python IDE written in python

Should be exciting I will be trying WingWare's Python IDE for he first time. http://wingware.com/. I have high expectations for it hope I am not disappointed but heard that it has hi cpu utilization.

Mount Baldy

All Saints Day,
Happy Birthday Laurie!!!!

Today we woke up at robert's house in west hollywood after a fun night at the LA holloween street fair. I worked all day and Laurie studied. We took a break and drove up to Mount Baldy which was nice and very cute. Surprisingly very little to do. Next stop, Laurie is doing more studying and I am doing more programming for work. Later Laurie, Laurie's friends and I will be going to the rain forest cafe for dinner.

How to copy a file in Java

Java doesn't provide a copy method for files but it can be done.

A good way to do it is to use the
org.apache.commons.io.FileUtils.copyFileToDirectory(File source, File destinationDirectory)'

http://jakarta.apache.org/commons/io/

but here is a simple example using streams

void copy(File src, File dst) throws IOException {
InputStream in = new FileInputStream(src);
OutputStream out = new FileOutputStream(dst);

// Transfer bytes from in to out
byte[] buf = new byte[1024];
int len;
while ((len = in.read(buf)) > 0) {
out.write(buf, 0, len);
}
in.close();
out.close();
}

As long as the files are on the same volume, you just need to use the java.io.File.renameTo() method. Using this call for files and directories works equally well, but due to some platform-specific runtime implementation differences, this is one of those things that falls into the write once, test multiple places, and tweak until done catago…

LA for Laurie's Birthday

All Saint's day the perfect day for my angel's birthday. It's coming up real soon now and I am happy that I am in LA for it. Her birthday and our anniversary are two things that I always have and always will make special time for no matter what I have to do. Being out of the office doesn't hurt since I am more productive in california.

You should see Laurie she look beautiful this morning

How to open Mac Mini and Install / Locate Airport Extreme card

Here is how to open the Mac Mini and a link that diagrams where the Airport Extreme is.

http://www.macworld.com/weblogs/editors/2005/01/macminiinside/index.php

http://www.macworld.com/2005/03/features/insidemini/index.php

Python Mac OSX Up key history fix

python `python -c "import pimp; print pimp.__file__"` -i readline

This fixes it just run this one liner.

found here
http://www.pycs.net/bbum/2004/1/21/

Setting up Oracle with JBoss

Here is an example JBoss Oracle JDBC Datasource configuration file:



<!-- Datasource config for Oracle originally from Steven Coy -->

<datasources>

<local-tx-datasource>

<jndi-name>OracleDS</jndi-name>

<connection-url>jdbc:oracle:thin:@youroraclehost:1521:yoursid</connection-url>

<!-- Here are a couple of the possible OCI configurations. For more information, see http://otn.oracle.com/docs/products/oracle9i/doc_library/release2/java.920/a96654/toc.htm <connection-url>jdbc:oracle:oci:@youroracle-tns-name</connection-url><br /> or<br /> <connection-url>jdbc:oracle:oci:@(description=(address=(host=youroraclehost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=yourservicename)))</connection-url><br /><br /> Clearly, its better to have TNS set up properly.<br /> -->

<driver-class>oracle.jdbc.driver.OracleDriver</driver-class>

<user-name>x</user-name>

<password>y&l…

11 steps to a better brain

We all need better brains, and here is the short version that massacres the english language.

11 steps to a better brain

1. Smart Drugs

Modafinil - for narcolepsy, makes it easy to sleep more than 40 hours easy
Ritalin, Dexadrine - for ADHD
Ampakines - work is being done to figure out how they improve memory


2. Food for though

Breakfast with Protein and Fiber nix sugar(Eggs and whole wheat bread)
Antioxidants
Mid afternoon snack still nix junk food
Omega 3 fatty acids
Strawberries and blueberries



3. The Mozart effect

Listen to Mozart piano sonata's


4. Gainful employment

Increase short term memory and working memory

Do memory training like memorizing the positions of a series of dots on a grid
Working memory training.


5. Memory marvels

They uses memory tricks like representing things as people on a route.
Actors attach emotions or action to lines.
Pair actions with memory tasks
Uses memory strategies


6. Sleep on it

Extra sleep always helps.
Sometime sleep can give insight into problems. Eureka


7. Body and M…

Create a Shared Library with g++

To create the shared (*.so) library, use these steps
Example instructions for compiling

1) g++ -fpic -c CLib.cpp
2) g++ -shared -o libCLib.so CLib.o
3) g++ CLibTest.cpp -o CLibTest -L. -lCLib

JNI Programming on Mac OSX Intro

export JAVA_HOME=/Library/Java/Home/
JAVA EXTENSION DIRECTORY=/Library/Java/Extensions/

Add custom.jar, .zip, and .class files, as well as native JNI libraries, into an extensions directory


cc -c -I/System/Library/Frameworks/JavaVM.framework/Headers sourceFile.c
cc -dynamiclib -o libhello.jnilib sourceFile.o -framework JavaVM

cc -c -I/System/Library/Frameworks/JavaVM.framework/Headers hola.c
cc -c -I/System/Library/Frameworks/JavaVM.framework/Headers hello.c
cc -dynamiclib -o libhello.jnilib hola.o hello.o -framework JavaVM


Apple Links:
JNI Java Development
JNI Sample
JNI Sample Application

JavaScript IDE / IDEs Roundup Reviews Eclipse

In the beginning there was Venkman Javascript debugger

Now for major IDE's there is IntelliJ IDEA 5.0 which now includes Javascript editing support.

Now there is also a Eclipse Javascript Editor which is free

Send me info on more Javascript IDE's and i'll update this entry with them.

Startup School - YCombinator - Paul Graham

This past saterday I went with my friend Brent Holden to Startup School... What is Startup School, it's a day of seminars for future millionares. Inspirational pieces about starting companies, legal issues, stats, how startup affect the economy in the US and even quite a bit about Venture Capital firms. Lots of big names went Paul Graham(Yahoo Stores Founder and famous tech writer), Gabor wrote a bit aboutMichael Mendel(Business Week) and Chris Sacca(Google), Stephen Wolfram(Worst of all the speakers, the second time I have seen him speak), and Stephen Wozniak(Amazing).

I have always wanted to create my own startup, and actually have tried a few things and a couple million ideas. I have after many years picked and idea and am going to run with it. Can't tell you what it is today but it's going to be good.

One of the speakers gave some advice, "learn to write, it has power", I think he is right. I hope i'll become a good writer one day.

Joel on Software said

I…

SigEp Mass Alpha HomeComing

Oct 15th was SigEp's Homecoming weekend. I showed up late with my friend Brent but we got to eat at the hall of fame banquet. Lots of guys showed up from around the country, wes and nick from florida. Every year the class of alumni that shows up grows and grows. The strange thing is that in a few years we are going to out grow any bar in amherst to go to. People ask me what I did there, I got to buy a few pitches of beer and meet the undergrads. Mostly I got to talk and hang out with old friends ... Some time around 3am after hanging out at the house, got to talk to nic reed, me and brent walked back to our hotel at the university lodge.

Archimedes Death Ray: Proved Possible

Image
Ancient Greek and Roman historians recorded that during the siege of Syracuse in 212 BC, Archimedes (a notably smart person) constructed a burning glass to set the Roman warships, anchored within bow and arrow range, afire. The story has been much debated and oft dismissed as myth. TV's MythBusters were not able to replicate the feat and “busted” the myth.




Intrigued by the idea and an intuitive belief that it could work, MIT's 2.009ers decided to apply the early product development ‘sketch or soft modeling’ process to the problem.

Article

eServices frequent customer cards

eServices, part of Radiant Systems sells frequent customer card systems

LA, San Diego and Santa Barbra and Back again

Another weekend of fun and relaxation in CA. Flew into Ontario as usual to be picked up by Laurie and that was the end of my first night. The next day Laurie, Henry(friend that flew in from manhattan) and I drove down to San Diego taking the scenic route. Friends live in downtown San Diego by little italy section which was great sight for columbus day weekend with street events everywhere. One of the coolest things were the chalk drawings being done in the streets. Laurie was looking as beautiful as ever. In San Diego we went to a bar called "the bitter end". The next day we set off to go to Pacific Beach just north of San Diego. Finally monday we went off to Santa Barbra and went walking through the main street. The town was really nice but looked expensive and devoid of most real businesses. The homeless guys there were really clever, on was making roses from palm leaves, another made sand sculptures, and one guy make coin targets in the sand down from the edge of the…

Laurie is My Angel

Over 8 1/2 years of love and comfort I have had with Laurie, I have been beyond blessed and a wonderful future together to boot. The future has only gotten better now that Laurie is realizing her dream of becoming a Veterinarian. It's awsome I am only a couple of days away from getting to be with the love of my life again for the weekend. Love, Heath and Happiness life is good

Secrets of Happiness

At first glance, Martin Seligman's bestselling book Authentic Happiness

The idea came while gardening with his daughter Nikki. She was throwing weeds around and he was shouting. She reminded him that she used to be a whiner but had stopped on her fifth birthday. "And if I can stop whining, you can stop being a grouch."

This looks like a really good book and I think I am going to get it.
Below is a link to a article on him.
Article

Temperature Drop

Today the weather is really starting to get cold in the north east. I love the cold weather but you have to dress for it. Unfortunately I didn't dress for the weather today and am freezing

One day at a time

Top 50 SciFi Shows of all time

Some include:
Stargate SG-1
Babylon 5
The X-Files
Star Trek: The Next Generation
Battlestar Galactica
Star Trek

See the whole list at boston.com

LA and Back Again

Went to see Laurie in LA for a week. Overall I am really impressed with everything I saw over there and everyone I have met. Laurie lives with nice roommates and in a nice home. Traffic was exactly as I remember it worse than NYC or Connecticut. I have missed Laurie more that I can put into words. Seeing Laurie I know that I Love her more than ever. Now it's back to work to continue developing fingerprint recognition software. I got to visit Santa Monica and Pasadena along with the whole Ontario/Pomona area. Weather was really warm during the day but cooled down nicely at night with a gentle breeze.

Genes for the Human brain

Is the Brains still evolving?

Two genes involved in determining the size of the human brain have undergone substantial evolution in the last 60,000 years, researchers say, suggesting that the brain is still undergoing rapid evolution.The discovery adds further weight to the view that human evolution is still a work in progress, since previous instances of recent genetic change have come to light in genes that defend against disease and confer the ability to digest milk in adulthood.

Noop in bash

I didn't know about the noop operator in bash
: touch blah
: echo "test"
For example will do absolutely nothing

Bash test for for current user

Bash test for for current user is root

if [ `id -u` = 0 ]; then
echo root;
fi

Name-based Virtual Hosts vs IP-based for web severs domain names

Name-based vs. IP-based Virtual HostsIP-based virtual hosts use the IP address of the connection to determine the correct virtual host to serve. Therefore you need to have a separate IP address for each host. With name-based virtual hosting, the server relies on the client to report the hostname as part of the HTTP headers. Using this technique, many different hosts can share the same IP address.Name-based virtual hosting is usually simpler, since you need only configure your DNS server to map each hostname to the correct IP address and then configure the Apache HTTP Server to recognize the different hostnames. Name-based virtual hosting also eases the demand for scarce IP addresses. Therefore you should use name-based virtual hosting unless there is a specific reason to choose IP-based virtual hosting. Some reasons why you might consider using IP-based virtual hosting:Some ancient clients are not compatible with name-based virtual hosting. For name-based virtual hosting to wor…

New algorithm for learning languages

Cornell University and Tel Aviv University researchers have developed a method for enabling a computer program to scan text in any of a number of languages, including English and Chinese, and autonomously and without previous information infer the underlying rules of grammar. The rules can then be used to generate new and meaningful sentences. The method also works for such data as sheet music or protein sequences.

"Unsupervised Learning of Natural Languages," published in the Proceedings of the National Academy of Sciences (PNAS, Vol. 102, No. 33)


Article Source

Miracle Mice - Regenerating mice

The research leader, Ellen Heber-Katz, professor of immunology at the Wistar Institute, a US biomedical research centre, said the ability of the mice at her laboratory to regenerate organs appeared to be controlled by about a dozen genes.

(find out more here)

Hide output of pushd or popd bash shell command

Hide output of pushd or popd bash shell command

Simple as it is a couple of weeks ago when writing a shell script I wanted to hide the out put of shell commands. Specifically pushd and popd, I completely forgot this could easily be solved by redirecting stdout to device /dev/null (aka 'the void')

pushd /var/storage > /dev/null

You can use this for any shell command you want to hide output for.

Programming Language Tree

This site has the best Tree of programming languages that I have ever seen.

Jelly Croissants

Jelly Croissants,
Growing up my family would go camping in the hamptons. At montauk point in town there was a bake shop that we would always frequent. It's on the corner next to a liqour store on the right before the circle in the center of town. Finally after not being able to get jelly Croissants I can finally get them because they have a web site now and deliever.

Champaign

Mumm Cuvee Napa - Blanc de Noirs
A great Champaign

Sotheby's 90 Million Year Old Wollemi pines

Another amazing discovery from the land down under ...

Wollemi pines were only known from fossil records dating back 90 million years until a chance discovery in 1994 of a living cluster in the Greater Blue Mountains, 200 km (125 miles) west of Sydney, by wildlife officer David Noble.

I like trees Giant Sequoia

Ever want you own Giant Sequoia. I got my own and they are pretty cool.

Here is a cheaper place to get seeds.

When I went to Muir Woods in CA I bought tree's from Jonsteen Company.

What are the the odds...

I was at the UMass NYC Area Freshmen Welcome & Greeting and happened to meet some one but first let regress to 4 weeks ago .......

I was picking my friend on montauk highway while because he needed to drop off his car, when I was picking him up, two girls drove up next to us asking for directions to local bars and clubs. We invited them to hang out at the house where people were partying, we noticed when the got to the house that they look pretty young and soon after they left.

...... Present Day NYC me and a few other of the younger alumni can to the Freshmen Welcome and out of only 15 freshmen who would one of them be but one of the random girls I meet in the Hamptons named Lindsay

Such a small world!

Vi match parenthasis

Vi command
:set showmatch

Vi % goes to the matching parenthesis

Macro for emacs to emulate vi

(global-set-key "%" 'match-paren)
(defun match-paren (arg)
"Go to the matching paren if on a paren; otherwise insert %."
(interactive "p")
(cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1))
((looking-at "\\s\)") (forward-char 1) (backward-list 1))
(t (self-insert-command (or arg 1)))))

otaku mecca of Tokyo's Akihabara district

Supposedly nerd heaven google it - otaku mecca of Tokyo's Akihabara district

Thai food

another Drunken Noodle Lunch

Long weekend - family bbq

Things have been going great, I might actually be getting a patent. That is where my discussion of that issue must end. At Laurie's going away bbq, Laurie's and my family finally got together which was very nice. Laurie is going away too soon, did some more major work on send laurie to vet school.com.
Steve

Ruby on Rails 0.13 Out Today with AJAX Superpowers

Robert J. Berger writes "The Ruby on Rails team announced that "After the longest gap between releases since Rails was made public and after more than 225 fixes and new features, the final major release before the 1.0 milestone has arrived." This is a major update to what is to many developers consider the new tool for developing sophisticated interactive database driven web applications. It integrates backend Model/View/Controller object-oriented model with AJAX based clients so that the developer can focus on the app and not on the details of basic mechanisms. You really can do much more with much less coding. The new release adds a completely rewritten visual effects engine, drag-and-drop capability including sortable lists, and autocompleting text fields to Rails. All building on top of an upgraded version of Prototype, the javascript foundation for Ajax in Rails... Check out the very cool demos at script.aculo.us."

Lisp and Python

I have been getting into lisp for a while now and wanted to learn it for years. Because of lack of open source libraries for things like soap and xml-rpc, so have been moving over to python, reduce, map, filter and lambda as some of my favorite methods of python. Now these lispish builtin methods will be removed sad to say by Guido van Rossum
him self. I sent him an email and hinted that he may leave in lambda or rename it.

cLisp session

This new value of "keywords" will persist until the end of the CLISP session. To save your session into a file:

[13]> (saveinitmem "test.mem")

Under Solaris, when CLISP is started, the option -M is used to load this file:

maroon 45: clisp -M "test.mem"


http://www.cs.queensu.ca/home/cisc352/elizaCodeDiscussion.html

http://clisp.cons.org/impnotes.html

Got it to work with (dribble "file.out")
found it at http://groups.yahoo.com/group/commonlisp/message/220?viscount=100

If you can run Emacs, then you can type
escape x shell
turn on clisp in the shell
then save the whole session at the


save with ctrl-x ctrl-w file.out

Bash script question

Okay here is the deal, can't remember how to surpress output from bash commands that are run, if anyone remembers please let me know.

Example:
#!/bin/sh
pushd ../

Output:
~ ~/user ~/user/scripts

not the biggest worry in the world but if you know the answer I would be much obliged.

On Lisp by Paul Graham

Took 3 months and $150 dollars but I now own the seminal book on advanced lisp, can't wait to read it.

On LISP: Advanced Techniques for Common LISP

Does any one in the world have this book?
I am willing to buy it for as much as $150
Title:On LISP: Advanced Techniques for Common LISP
Author:Paul Graham

ISBN:0130305529

PS it's availiable for free at http://www.paulgraham.com/onlisptext.html

Seed of extinct date palm sprouts after 2,000 years

Tree of life. Being able to grow a tree from a 2000 year old tree.

Scary

Can taking the pill dull a woman's desire forever?http://www.newscientist.com/channel/being-human/mg18625015.600

Perfect foods

Tomatos
Cilantro
Chocolate
All berries
Wine
Baby spinach

Finance - part of the financial empire

Finance, money, gold bullion, stocks, bonds ..... money been meaning to for a long time... What you might ask, get more of it, like the capitalistic nature of america, no expand the financial information I have on my web site ....

ING Direct - lots of accounts awsome and easy

I have opened a ing direct account a few years ago, but didn't realize till recently how awsome the site and service are.

3.00% interest a year where, citibank savings was giving .8 percent interest, it's practically triple.

I like to keep my money organized , like in seperate piggy banks, ing direct in about two seconds lets you create seperate savings accounts each labeled the way you want. I have a "new laptop", "emergency", "vacation" and "new car" accounts how great is that.

My life may never be the same

IngDirect

ArchoOS

Pocket Video Recorder

There is ipod and then there is ArchOS. I am surprised that this hasn't caught on more, but believ e it's due to the fact that audio is the ubiquitous on the go medium. I will be doing much, much more traveling and maybe at some point I will get one.

The latest ArchOS Pocket Video Recorder can tivo, play music and get the camera and video adapter. The device is in the hacker montra of the 90's "elite"

http://www.archos.com

Connectquot River State Park

The park is pristine flowing river waters filled with trout. Deer walking walk though all parts of the forest. Even swimming otters eatting trout with fellow herons and great cranes. The park is rather peacefull and doesn't see many visitors seems like a hidden gem of long island. I have to say there is one very real problem ticks I hate them and signs all over warn you about them. Laurie and I only stayed on the trail but managed to pick up 2 ticks. We just picked them off and threw them into the forest but they are still a pain, remember your bug stray.

Mohegan Sun - Best birthday bash ever

Laurie, I have to say is an absolutely amazing individual. She planned a day and evening no less spectacular than 4th of july in boston harbor ... 270 degree views of rolling hills of maple and the river Thames River rushing to sea. All my oldest and best friends were waiting to suprise me at a party with decorations, platters of my favorite finger foods and drinks for all. Beyond everything, laurie was there standing tall, beautifully stunning with straight golden blonde hair, sexy pink tank top and trendy white pants.

How I love Laurie

Hiring is Obsolete - Paul Graham does it again

Paul Graham does it again, great writer that he is I just can't get enough of his articles insightful and witty as any. http://www.paulgraham.com/hiring.html

Mac Tablet PC

Mac Tablet PC
Mac's are great a couple of compatiblility problems but generally are a hot fudge sunday during a brazenly hot summer's day.

Birthday party

My birthday party is coming, t minus 4 days.

cellmatrix now has a real hardware board

Imagine that you need more memory for you computer so you go to the store buy a extra piece and attach it like a lego piece and you can add as many as possible. This is exactly what this reconfigurable circuit board is like.

This isn't news to me and has been a round for a year or so. But this board is absolutely awsome and want to help spread the word.

http://www.cellmatrix.com/

USB KVM Switch for G5 Mac and Debian Linux

IO Gear Two port MiniView Micro USB Plus KVM

The right port used to switch machines so the keyboard must be plugged in right port.

Model GC5632U was the original one I had but failed after a week.
They replaced it immediately with a GCS632U (supposedly compatable with mac mini)

Default to switch computers uses scroll lock twice

The most basic hotkey operation for this unit is to switch ports between the two connected computers. Press [Scroll Lock] [Scroll Lock] will allow you to toggle between the two computers. For some people such as Mac users, pressing [Scroll Lock] is either not feasible or not convenient. There are other ways to Advanced Hotkey Operations Invoking Hotkey Mode

To invoke Hotkey Mode, do the following:
1. Press and hold down the [Num Lock] key
2. Press and release the minus [-] key
3. Release the [Num Lock] keyWhen Hotkey Mode is active, the Caps Lock, and Scroll Lock LEDs flash in succession to indicate that Hotkey Mode is in effect. They stop flashing and revert to normal …

Greenwich

Another morning in greenwich connecticut and saw a deer munching on newly laid grass seed and hay covering, aaaah morning

Bendable concret

Talk about no more cracked side walks ... neighborhood roller blading will become much nicer fo r future generations ..... Check it out Bendable concret

vPod the next ipod and the rumors

I have heard the rumors and lately they have gotten much stronger.

1. http://www.siliconvalleywatcher.com/mt/archives/2005/04/_siliconvalleyw.php
2. http://www.gizmodo.com/archives/4th-generation-ipod-video-rumors-009516.php

According to their sources, the 4th-gen iPod will "obtain its media content via the unreleased Home on iPod" feature which should be on the upcoming OSX 10.4 'Tiger,' but I don't see exactly how those two things connect ('Home on iPod' is a method for keeping a Mac user's home directory on the iPod, which could be a method for syncing up the iPod content, but I can't imagine it would be required).


I would love to see video on the ipod, but even greater would be the ability to sync up a ipod. You use your ipod on two computers and want to be able to make sure your photo registries are up todate. That's important to a lot of people and a huge headache.

Farfinugen

Farfinugen should be a word in some country.

Debian Linux version Sarge is Now Frozen

Here is the announcement.
Only took like 3 years, stupid people indeed were in charge.

Black Pepper Jack

There is a problem with black pepper jack doritos ... most bags don't have enough black pepper in them. Even still I like them better than the rest of the doritos brands it's just a foot note.

110 pound blond freshman wins 6 pound burger eating contest

Are you kidding me, a girl of 110 pounds ate this. Wow Kate Stelnick you might be my hero ..

http://www.readinghash.20m.com/kate.html

The burger was a whopping eleven percent of her body weight! Only a woman from New Jersey could have pulled this off.

FedEx - sweet

I didn't know how easy it was to send out a fedex package, they picked up too and it was nice.

Beware of phollywood

only one word phollywood

Felipe's & My Birthday

My little cousin in colombia has the same birthday as me. Because of this it diserves and extra foot note. Happy Birthday Felipe!!!!

Python 2.4.1 - only thing better is jython

We are pleased to announce the release of Python 2.4.1 (final) on March 30, 2005.

Lisp and cool AI

One of the few reasons I became a computer scientist was because I was facinated with machines acting intelligently - A.I.

Years of reading articles and books, all you heard about with the state of the art in A.I. involved lisp. Low and behold lisp was decades ahead of it's time and would say is linguistically on par with today modern languages and still in some ways superior.

I have done a little bit of lisp programming, but now as much as I would like, only time will tell how far I will get but here are 3 really good lisp resources two of which are free books.
http://www.paulgraham.com/onlisptext.htmlhttp://www.gigamonkeys.com/book/http://lisp.tech.coop/index PS Paul Graham is an excelent writer you should try some of his articles

Star Wars: Episode III - Revenge of the Sith I mean Star Wars: Episode III A Lost Hope

This is absolutely the funnies movie I have seen in, imagine a office where everyone gathers around a computer twice a day everyday ... that's my office when ever this movie is played. Check it out

http://www.imitationmilk.com/
http://www.sequentialpictures.com/

The brilliance of save toby and toby stew

Their is a little bunny that has been causing controversy through out the net's message boards and chat rooms. Even making a appearance on msnbc. Everyone these sites are a piece of fiction, they are fake, as much as savetoby.com claims to be real. Animal rights activists are out of control complaining and acting out against a joke. All this fluster and energy could otherwise be put to good use saving animals that actually need saving.....

A funny part of all this is that tobystew.com has a listing off all the savetoby clones , even if you don't think this funny the viral phenomenon of how this is spreading is remarkable.

Walkamerica saving premature babies

I am raising money to save premature babies for march of dimes. If you can donate.
http://www.walkamerica.com/stevemorin

Really starting to like this

Really starting to like this blog thing

Scientists Make Bacteria Behave Like Computers

Now this is cool
Bacteria have been programmed to behave like computers, assembling themselves into complex shapes based on instructions stuffed into their genes.http://www.livescience.com/technology/050428_bacteria_computer.html


almost forgot

Almost forgot my blog existed well then, ... I quess I should post something interesting. Vending machines are making progress at work. Selling soon to coca cola or pepsi...

Information and the world

Often I spend tons of time researching particular idea and really would like to share them with the world. Other times I just come across facinating information. Every method ends up being too much work to maintain. I have a wiki I use to save information but that is not very permanent and often is for scribes.

Most prominently is all the times I have figured out how to do something I could not find a mention of online and would have liked to post it for the next guy. So here it is my blog ...