Jon Israelson's Blog









Subscribe to "Jon Israelson's Blog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.
 

 

Wednesday, July 30, 2003
 

Tom pointed me to this mailing list today.  It looks like a ton of cool info that I don't have time to read!  We were talking today that we need to write an app that learns what kinds of things you're interested in, then can be turned loose to monitor sites/blogs/mailing lists with relevant topics.  It could then sift through all the noise and provide you with a list of items to focus on.  Autonomy probably has something along these lines, but their products are expensive and designed for industrial use.  Maybe Apple will someday provide this as a feature of Sherlock.
10:22:01 PM    

Think Factory 2.0 offers neural network APIs. 10191 Technologies announces the new release The Think Factory 2.0, a set of value added neural netw... [MacNN | The Macintosh News Network]

Hmm.  I'll have to check this one out.


10:06:13 PM    

The Early History of Smalltalk by Alan Kay.  I noticed that he was working for Apple at the time the article was published.
9:55:10 PM    

Alan Kay on OO (and more on MOO vs. FOO).  Here's a hot sports opinion:

"Java is the most distressing thing to hit computing since MS-DOS."  -- Alan Kay's OOPSLA '97 talk.  Ouch!


9:50:46 PM    

There were several good discussions on c.l.r today.  First up is this one on Message-Object-Oriented compared to Function-Object-Oriented.  I was reading the originating article just the other day.  Anyway, the guy, James, that started the thread on c.l.r came up with a way to make Ruby syntax more like MOO.  It's ugly, but it shows how easy it is to manipulate Ruby.  Here's the magic:

I set about finding a way to do it in Ruby, and came up with an addition to the Symbol class. I wasn't sure if I wanted to have a full-blown Message class; I liked the idea that one could just type the message to send without having to go create a special object for it. The Symbol syntax makes this very natural

class Symbol
   def >>( *args )
     ary = []
     arglist  = (block_given? ? yield  : nil )
     args.each{ |obj|
       begin
        ary << dispatch( obj, arglist  )
       rescue Exception
        ary << $!.clone
       end
     }
     ary
   end

   def dispatch( obj, arglist  )
     return obj.send(self.to_s, *arglist) if arglist && (arglist.size>0)
     obj.send( self.to_s )
   end
end

This allows expressions like:

:some_message.>> obj
:some_message.>>( obj1, obj2 )
:some_message.>>( obj1, obj2 ){  [ arg1, arg2, arg3]  }

Any message string, instantiated as a Symbol, can be dispatched to a list of objects, along with a set of message arguments.  The results come back as an array.

The second thread is about implementing Ruby in Ruby.  This is the same idea demonstrated by creating a Lisp interpreter in Lisp.  Dan Sugalski (of Parrot fame) started an interesting thread.  See this for more along those lines.


9:41:50 PM    


Click here to visit the Radio UserLand website. © Copyright 2004 Jon Israelson.
Last update: 3/17/04; 2:54:49 PM.
This theme is based on the SoundWaves (blue) Manila theme.
July 2003
Sun Mon Tue Wed Thu Fri Sat
    1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30 31    
Jun   Aug