Web/Screenscraping Library?

2011-03-06 Thread Jonathan Mitchem
Are there any libraries that can extract structured web content as represented visually in the browser? I realize I could write regexes and extract using the HTML, but I was wondering if there was something that worked with the browser-rendered representation. I.e., something a tad more human-

Re: Master worker pattern

2011-03-03 Thread Jonathan Mitchem
So, fundamentally, it's an architecture for dealing with "trivially parallel" problems? Would that be an accurate summary? (Not to imply your problems are trivial.) -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email t

Re: Master worker pattern

2011-03-02 Thread Jonathan Mitchem
At the risk of sounding incredibly uneducated about the matter (oh wait, it's true): What is the purpose/need/reason for this kind of architecture? What can you do with it? Where would you use it? Why would you use it? Thanks, Jonathan -- You received this message because you are subscrib

Re: Ordering of defn's?

2011-02-23 Thread Jonathan Mitchem
> Java has a lack of this top-down processing, and it sometimes causes > problems because the order in which static initializers will execute > is not generally predictable. If you're programming with a side-effect free functional approach, that shouldn't be a problem right? Or are you saying tha

Re: Ordering of defn's?

2011-02-23 Thread Jonathan Mitchem
With C# inside of Visual Studio, I have very good IDE support for top- down design. If I use an undeclared method, it is displayed in red, with a tooltip saying "Cannot resolve symbol '[symbol name]'". A context menu provides me "generate > method stub", which will do what it says, and add parame

Re: Ordering of defn's?

2011-02-22 Thread Jonathan Mitchem
t coll))) > > (defn sum [coll] >   (apply + coll)) > > On Feb 21, 11:05 pm, Jonathan Mitchem wrote: > > > > > > > > > I'm new to Lisps in general, and very new to Clojure. > > > When I was trying out CL, I could put my "defun/defn"s i

Re: Ordering of defn's?

2011-02-22 Thread Jonathan Mitchem
eclare sum) > > (defn average [coll] >   (/ (sum coll) (count coll))) > > (defn sum [coll] >   (apply + coll)) > > On Feb 21, 11:05 pm, Jonathan Mitchem wrote: > > > > > > > > > I'm new to Lisps in general, and very new to Clojure. > &

Ordering of defn's?

2011-02-22 Thread Jonathan Mitchem
I'm new to Lisps in general, and very new to Clojure. When I was trying out CL, I could put my "defun/defn"s in any order in the file, and it would load and run fine in the REPL. However, in Clojure, it seems to be much more C/C++-like and I have to define things before I use them in other defns.